/* Full control labels use the shared type scale and grow vertically when needed. */
html body.personal-chat{--chat-control-text:12px;--chat-control-line:1.35}
html body.personal-chat :is(button,select,.pc-account,.ct-who,.pc-sign-in){font-size:var(--chat-control-text)!important;letter-spacing:normal!important;line-height:var(--chat-control-line)!important}
html body.personal-chat button:not(.ct-btn):not(.cs-ib):not(.jp-ib):not(.pt-c):not(.jp-send):not(.cs-stop):not(.pc-row-more):not(#pc-sidebar-toggle):not(#pc-rename){white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip!important;overflow:visible!important;min-height:32px;height:auto}
html body.personal-chat #jp .pt-ctrl .pt-pill{font-size:var(--chat-control-text)!important;line-height:var(--chat-control-line)!important;letter-spacing:normal!important;white-space:normal!important;height:auto!important;min-height:36px!important;max-width:min(220px,100%)!important;flex:0 1 auto!important;padding:7px 10px!important;gap:6px!important;box-sizing:border-box}
html body.personal-chat #jp .model-pill .ml{font-size:inherit!important;line-height:inherit!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;text-overflow:clip!important;min-width:0!important}
html body.personal-chat #jp .pt-pill :is(svg,.dot,.md){flex-shrink:0!important}
html body.personal-chat #jp :is(.cw-mode,.cw-mode-label){white-space:normal!important;text-overflow:clip!important;overflow:visible!important;font-size:var(--chat-control-text)!important;line-height:var(--chat-control-line)!important;height:auto!important;min-height:32px}
html body.personal-chat .pc-starters button{font-size:var(--chat-control-text)!important;line-height:var(--chat-control-line)!important;min-height:36px;height:auto!important;padding:9px 12px!important;max-width:100%}
html body.personal-chat .pc-row-title{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.4}
html body.personal-chat .pc-conversation{height:auto!important;align-items:flex-start!important}
html body.personal-chat .pc-conversation svg{margin-top:2px}
/* Account foot, proportion locked (Owner, 18 Oct 2026): two fixed rows, the name on one line in full view, controls never squashed. */
html body.personal-chat .ct-foot{min-width:0;width:100%;box-sizing:border-box;display:flex;flex-wrap:wrap;row-gap:4px;column-gap:0}
html body.personal-chat .ct-who{flex:1 1 100%!important;min-width:0;gap:8px;padding:4px 6px!important;overflow:hidden}
html body.personal-chat .ct-name{flex:1 1 auto!important;min-width:0!important;font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;overflow-wrap:normal!important;line-height:1.35}
html body.personal-chat .ct-plan{display:none!important}
html body.personal-chat .ct-av{width:28px;height:28px;flex:none;font-size:12px!important}
html body.personal-chat .ct-chev{display:none}
html body.personal-chat .ct-right{flex:1 1 100%;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 2px}
html body.personal-chat .ct-seg{flex:none}
html body.personal-chat .ct-seg .ct-btn{width:28px!important;height:28px!important;flex:none}
html body.personal-chat .ct-search{width:34px!important;height:34px!important;flex:none}
html body.personal-chat .ct-item{font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:600px){
 html body.personal-chat #jp .pt-ctrl{flex-wrap:wrap!important;gap:6px!important}
 html body.personal-chat #jp .pt-ctrl .pt-pill{max-width:min(210px,100%)!important;flex:0 1 auto!important}
 html body.personal-chat #jp .pt-ctrl .pt-pill:not(.model-pill){display:inline-flex!important}
 html body.personal-chat #jp .pt-ctrl .sp{display:none!important}
 html body.personal-chat #jp .pt-ctrl .jp-send{margin-left:auto!important;flex-shrink:0!important}
 html body.personal-chat .ct-bar{gap:1px!important;padding:2px!important}
 html body.personal-chat .ct-bar .ct-btn{width:28px!important;height:32px!important}
 html body.personal-chat .ct-bar .ct-sep{margin:0 3px!important}
}
