/* Workspace-only density. Document/PDF layouts and the main website are separate. */
@media screen{
 :root{--cm-text-size:11px;--cm-control:28px;--cm-field-height:26px;--cm-nav-section-font:12px;--cm-nav-button-height:27.2px;--cm-dense-control-y:4px;--cm-dense-control-x:10px;--cm-section-ink:var(--site-ink);--cm-major-width:201.6px;--cm-sub-width:181.8px;--cm-brand-width:189.2px}
 #corporate-workspace{font-size:var(--cm-text-size)}
 /* Semantic headings retain their established hierarchy; all other UI text
    shares one size, including tables, hints, metrics, dialogs and controls. */
 #corporate-workspace :where(:not(h1,h2,h3,h4,h5,h6)){font-size:var(--cm-text-size)}
 #corporate-workspace .nav-group h2{color:var(--cm-section-ink)}
 #corporate-workspace .manager-brand{margin-inline:-6px;padding-left:0}
 #corporate-workspace .manager-brand img{width:var(--cm-brand-width);max-width:100%}
 #corporate-workspace #company-heading{font-size:calc(var(--cm-identity-size) - 8px)}
 #corporate-workspace .corporation-subtitle{font-size:16px;font-weight:700}
 #corporate-workspace :where(button,.utility-button){min-height:var(--cm-control);padding:var(--cm-dense-control-y) var(--cm-dense-control-x);line-height:1.5}
 #corporate-workspace :where(input,select,textarea){min-height:var(--cm-field-height);padding:4px 8px;line-height:16px}
 #corporate-workspace .field-label>input,#corporate-workspace .field-label>select{height:var(--cm-field-height)}
 #corporate-workspace input[type=file]{height:auto}
 #corporate-workspace textarea{min-height:64px;height:auto}
 #corporate-workspace .field-label>.toggle{min-height:var(--cm-field-height);padding:4px 10px}
 #corporate-workspace .navigation-shell nav button{display:block;min-height:var(--cm-nav-button-height);padding:4px 14px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #corporate-workspace .navigation-shell .major-rail nav button{padding-left:var(--cm-nav-major-indent);font-weight:400}
 #corporate-workspace .navigation-shell .major-rail button[aria-current=true],
 #corporate-workspace .navigation-shell .submodule-rail button[aria-current=page],
 #corporate-workspace .module-tabs button[aria-selected=true]{font-weight:700;color:var(--site-ink)}
 #corporate-workspace .module-tabs{min-height:var(--cm-control)}
 #corporate-workspace .module-tabs button{min-height:var(--cm-control);padding:4px 12px}
 #corporate-workspace .dashboard .metric .metric-link{min-height:19.2px;padding:0}
 #corporate-workspace .table-actions button{min-height:26px;padding:4px 8px}
 #corporate-workspace th,#corporate-workspace td{padding:8px 12px}
 #corporate-workspace .utility-actions{grid-template-columns:repeat(2,minmax(72px,1fr))}
 #corporate-workspace dialog header button{width:28px;height:28px;min-height:28px;padding:0;font-size:16px}
 #corporate-workspace .document-drop{min-height:80px;padding:16px}
 #corporate-workspace .document-drop.drag-over{padding:15px}
 #corporate-workspace .document-open{padding:0;min-height:0}
 #corporate-workspace .date-range input{width:128px}
 #corporate-workspace .date-range label{min-width:0}
 /* Keep child buttons aligned with the first major button without a title. */
 #corporate-workspace .submodule-rail nav{margin-top:calc(var(--cm-nav-heading-height) + 28px)}
 #corporate-workspace .workspace-top~.view-note{margin-top:16px}
}
@media screen and (min-width:1001px){:root{--cm-nav-section-font:11px}}
@media screen and (min-width:1001px) and (max-width:1250px){:root{--cm-major-width:172.8px;--cm-sub-width:160.2px}}
@media screen and (max-width:1000px){#corporate-workspace #company-heading{font-size:clamp(19px,calc(4vw - 8px),30px)}}
@media screen and (max-width:1000px){:root{--cm-nav-button-height:28px}#corporate-workspace .navigation-shell nav button{padding-right:10px}}
@media screen and (max-width:1000px){#corporate-workspace .submodule-rail nav{margin-top:calc(var(--cm-nav-heading-height) + 22px)}}
