/* Readability refinement for the local CrowQ companion. Existing palette and layout retained. */
#root .cgv6:has(.cdr-live) {font-size:16px;line-height:1.55}
#root .cgv6 .cdr-live :is(.crowq-mode-nav button,.cdr-newchat,.cdr-recent-btn,.cdr-agent-btn,.vh-ptog,.xc-quick button,.xc-model-btn,.xc-suggest-toggle,.cb-spot-dismiss,.cb-spot-cta){font-size:14px}
#root .cgv6 .cdr-live :is(.xc-in textarea,.xc-msg,.xc-msg-body){font-size:16px;line-height:1.65}
#root .cgv6 .cdr-live .cb-spot-txt{font-size:15px;line-height:1.6}
#root .cgv6 .cdr-live .cb-spot-txt strong{font-size:16px}
#root .cgv6 .cdr-live :is(.xc-model-sub,.xc-more-hint,.xc-memp-sub){font-size:13px;line-height:1.5}
#root .cgv6 .cdr-live .vh{gap:12px;flex-wrap:wrap}
#root .cgv6 .cdr-live :is(.vh-lead,.vh-side,.xc-inwrap,.xc-shell,.xc-hero){min-width:0}
#root .cgv6 .cdr-live .crowq-mode-nav{max-width:100%;flex-wrap:wrap}
#root .cgv6 .cdr-live .xc-bar{gap:8px;flex-wrap:wrap}
#root .cgv6 .cdr-live .xc-modelwrap{min-width:0;max-width:100%}
#root .cgv6 .cdr-live .xc-model-btn{max-width:100%;white-space:normal;text-align:left}
#root .cgv6 .cdr-live .xc-quick{gap:10px;flex-wrap:wrap}
#root .cgv6 .cdr-live .cb-spot{flex-wrap:wrap}
#root .cgv6 .cdr-live .cb-spot-txt{min-width:0;flex:1 1 220px;text-align:left}
#crowq-workbench .crowq-workbench{font-size:16px;line-height:1.55}
#crowq-workbench :is(.cq-topbar nav button,.cq-topbar nav a,.cq-contextbar,.cq-sidebar button,.cq-button,.composer-controls select,.terminal-tools button,.terminal-tools select,.terminal-tab button,.code-tabs button,.file-row){font-size:14px}
#crowq-workbench :is(.work-composer>textarea,.cq-chat-composer textarea,.cq-chat-message,.markdown-output,.task-goal,.code-welcome>p,.work-hero>p,.cq-chat-empty p){font-size:16px!important;line-height:1.65}
#crowq-workbench :is(.template-card p,.section-heading p,.work-empty p,.sidebar-card p,.modal-intro,.field-label,.brief-layout label,.brief-layout p,.access-note){font-size:15px;line-height:1.6}
#crowq-workbench :is(.work-table-row small,.task-facts,.progress-step p,.work-access-strip small,.code-environment-summary,.code-environment-summary small,.local-label,.context-caption,.cq-art-caption,.tiny){font-size:13px;line-height:1.5}
#crowq-workbench :is(.template-card strong,.work-table-row strong,.work-empty strong,.cq-chat-panel>header strong){font-size:17px;line-height:1.4}
#crowq-workbench :is(.sidebar-heading,.eyebrow){font-size:12px}
#crowq-workbench :is(.cq-main,.cq-topbar,.cq-contextbar,.cq-workspace,.cq-content,.cq-chat-panel,.composer-controls,.work-table-row,.code-toolbar){min-width:0}
#crowq-workbench .cq-topbar{gap:12px;flex-wrap:wrap;height:auto;min-height:70px}
#crowq-workbench .cq-topbar nav{min-width:0;max-width:100%;overflow-x:auto}
#crowq-workbench .composer-controls{flex-wrap:wrap;gap:10px}
#crowq-workbench :is(.work-table-row,.work-access-strip,.section-heading){gap:16px}
#crowq-workbench :is(p,small,.work-table-row strong){overflow-wrap:anywhere}
#crowq-workbench .code-toolbar{flex-wrap:wrap;height:auto;min-height:44px}
@media(max-width:900px){
 #root .cgv6 .cdr-live .crowq-mode-nav{justify-content:flex-start}
 #crowq-workbench .cq-topbar nav{flex:1 1 100%;order:3}
}
@media(max-width:650px){
 #root .cgv6 .cdr-live :is(.crowq-mode-nav button,.cdr-newchat,.cdr-recent-btn,.cdr-agent-btn,.vh-ptog,.xc-quick button,.xc-plus,.xc-model-btn,.xc-suggest-toggle,.cb-spot-dismiss,.cb-spot-cta){min-height:44px}
 #root .cgv6 .cdr-live .xc-hero{max-width:100%;padding:24px 16px}
 #root .cgv6 .cdr-live .cb-spot-act{flex-basis:100%;justify-content:flex-end;flex-wrap:wrap}
 #root .cgv6 .cdr-live .vh-side{max-width:100%;flex-wrap:wrap}
 #root .cgv6 .cdr-live .xc-modelwrap{max-width:calc(100% - 52px)}
 #root .cgv6 .cdr-live .xc-model-sub{overflow-wrap:anywhere}
 #crowq-workbench :is(.cq-topbar nav button,.cq-topbar nav a,.cq-button,.file-row,.cq-chat-empty>button,.composer-controls select){min-height:44px}
 #crowq-workbench .cq-topbar{padding:12px;gap:10px}
 #crowq-workbench .cq-contextbar{flex-wrap:wrap;height:auto;min-height:48px;gap:8px}
 #crowq-workbench .work-hero>p{font-size:16px!important}
 #crowq-workbench .work-table-row{flex-wrap:wrap}
 #crowq-workbench .work-access-strip{align-items:flex-start}
 #crowq-workbench :is(.cq-dialog,.cq-modal){max-width:calc(100vw - 24px)}
}
