/* Shared type roles. Marketing display headings and chart geometry remain local. */
:root{
 --plano-font:Inter,"Segoe UI",Arial,sans-serif;
 --plano-text:13px;
 --plano-label:12px;
 --plano-caption:11px;
 --plano-page-title:24px;
 --plano-section-title:18px;
 --plano-record-title:22px;
 --plano-reading:15px;
 font-family:var(--plano-font);
 -webkit-text-size-adjust:100%;text-size-adjust:100%;
}
body,button,input,select,textarea{font-family:var(--plano-font)}
/* Working screens */
#app{font-size:var(--plano-text)}
.project-header h1,.daily-header h1,.cabinet-header h1,.workbench-heading h2{font-size:var(--plano-page-title);line-height:1.3}
.header-meta,.daily-header>div>p:not(.daily-eyebrow),.project-context-note{font-size:var(--plano-label);line-height:1.6}
.sidebar .sidebar-text,.sidebar .project-shortcut-name,.sidebar .sidebar-group summary .sidebar-text{font-size:var(--plano-text);line-height:1.5}
.sidebar .side-user>strong,.sidebar .side-user .sidebar-text,.sidebar .project-directory-more{font-size:var(--plano-label)}
.sidebar .nav-label,.sidebar .project-shortcuts-heading .nav-label{font-size:var(--plano-caption)}
.dialog-header h2,.daily-section h2,.cabinet-panel h2,.org-management-main h2,.server-admin-content h2{font-size:var(--plano-section-title);line-height:1.4}
.notebook-title h2 button,.summary-plan-heading h2{font-size:var(--plano-record-title);line-height:1.4}
.dialog .field,.form-grid .field,.notebook-index label,.notebook-checklist label,.notebook-check,.notebook-share-files label,.summary-tools label{font-size:var(--plano-label);line-height:1.6}
.dialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.notebook-index :is(input,select),.toolbar :is(input,select),.daily-controls :is(input,select){font-size:var(--plano-text)}
.dialog-actions>button,.notebook-detail-actions>button,.notebook-title>button,.notebook-tabs button,.tabbar button,.server-admin-nav button,.cabinet-nav button,.workbench-tabs button{font-size:var(--plano-text)}
.notebook-description,.notebook-history p,.project-chat-message p,.access-member strong,.admin-user-table,.grid-table td,.summary-data-cell,.summary-title{font-size:var(--plano-text)}
.grid-table th,.admin-user-table th,.summary-time-head .summary-data-cell{font-size:var(--plano-label)}
.notebook-meta,.notebook-kicker,.notebook-private,.notebook-file small,.notebook-history small,.notebook-list-item small,.notebook-files>.muted,.summary-plan-heading p,.summary-footnote,.summary-tools>span,.admin-hint,.admin-chip,.admin-chart-legend,.project-nav-empty,.file-sidebar-note,.file-sidebar button small,.file-main small,.file-date,.file-size,.file-version,.file-version-row small,.upload-item small{font-size:var(--plano-label);line-height:1.6}
.notebook-private h3,.notebook-section-heading h3,.notebook-checklist h3,.notebook-history h3,.summary-view-popover strong{font-size:var(--plano-text)}
.file-filterbar select,.file-list-head{font-size:var(--plano-label)}
.workbench-eyebrow,.workbench-legend,.chart-grid,.chart-axis,.heat-legend,.heatmap-table,.heatmap-table th small{font-size:var(--plano-caption)}
.bar-text,.dep-label,.summary-time-head .summary-time-cell span{font-size:var(--plano-caption)}
.daily-stats strong,.daily-stats>button strong,.server-kpis strong,.workbench-kpi strong,.cabinet-metrics strong{font-size:26px;line-height:1.25}
/* Authentication and documents share readable copy, not application microtext. */
.auth-card p,.auth-form-note{font-size:var(--plano-text);line-height:1.7}
.auth-card label,.auth-card .field{font-size:var(--plano-label)}
.help-page.document-page,.help-page:has(#support-root){font-size:var(--plano-reading);line-height:1.8}
.help-page.document-page>h1,.help-page:has(#support-root)>h1{font-size:28px;line-height:1.3}
.document-page h2{font-size:20px;line-height:1.4}
.help-page.document-page header,.help-page:has(#support-root) header{font-size:var(--plano-text)}
.help-article p,.help-article li{font-size:var(--plano-reading);line-height:1.85}
.help-tools label,.help-clear,.help-quick button,.help-contents summary,.help-screenshot figcaption{font-size:var(--plano-label)}
.help-contents nav button{font-size:var(--plano-text)}
.support-chat,.support-chat textarea,.support-chat input,.support-chat button{font-family:var(--plano-font);font-size:var(--plano-text)}
/* Reading pages retain display headings, while copy and captions use stable roles. */
.digest-copy>p,.digest-copy>ul,.welcome-section p{font-size:var(--plano-reading);line-height:1.8}
.digest-section figcaption,.digest-nav,.footer-meta p,.help-footer nav{font-size:var(--plano-label)}
@media(max-width:700px){
 :root{--plano-page-title:22px;--plano-record-title:21px}
 .auth-card input:not([type=checkbox]),.auth-card select,.dialog input:not([type=checkbox]):not([type=radio]),.dialog select,.dialog textarea,.notebook-index input,.notebook-index select,.daily-controls input,.daily-controls select,.help-tools input{font-size:16px}
}
.admin-chart svg text{font-family:var(--plano-font);font-size:var(--plano-caption)}
.help-article h2,.dialog #plano-help .help-article h2{font-size:24px;line-height:1.35}.help-article h3,.support-card h2,.workbench-card h3{font-size:var(--plano-section-title)}.project-card h3,.summary-card h2,.organization-card h2{font-size:var(--plano-section-title);line-height:1.4}

/* Main section headers share the same hierarchy and spacing. */
.main .section-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:28px 32px;background:#fff;border-bottom:1px solid #e1e7f2;flex-shrink:0}
.section-header .page-heading{min-width:0}
.section-header .page-heading .page-eyebrow{margin:0 0 6px;font-size:11px;line-height:1.5;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#315bd6}
.section-header .page-heading h1{margin:0;font-size:var(--plano-page-title);line-height:1.25}
.section-header .page-heading .page-description,.section-header .page-heading>p:last-child:not(.page-eyebrow){margin:6px 0 0;font-size:var(--plano-label);line-height:1.6;font-weight:400;letter-spacing:normal;text-transform:none;color:#62728c}
.section-header>.actions{flex-shrink:0;flex-wrap:wrap}
@media(max-width:700px){.main .section-header{padding:20px 16px;gap:14px;flex-wrap:wrap}.section-header .page-heading{flex:1 1 220px}.section-header>.actions{max-width:100%}}
