/* Application-wide readable type scale; spacing remains in compact.css. */
:root{--text-body:16px;--text-control:15px;--text-small:14px;--text-title:32px;--text-section:23px;--text-subheading:19px}
body{font-size:var(--text-body);line-height:1.5}
h1,.page-heading h1,.login-card h1,.registration-wrap h1,.public-planning header h1{font-size:var(--text-title);line-height:1.2;font-weight:700;overflow-wrap:anywhere}
h2,.card>h2,.management-top h2,.management-dialog h2,.planning-palette h2,.planning-inspector h2{font-size:var(--text-section);line-height:1.3;font-weight:650;overflow-wrap:anywhere}
h3{font-size:var(--text-subheading);line-height:1.35}
.button,button,.button.small,button.small,.planning-assigned button{font-size:var(--text-control)}
.action.action-compact{font-size:0}
.field,.stock-sort,.event-selector,.settings-tabs,.sidebar nav a{font-size:var(--text-control)}
.field input,.field select,.field textarea,input:not([type=checkbox]):not([type=radio]),select,textarea,.rich-editor{font-size:var(--text-body)}
th,td,.management-table th,.management-table td,.documents-page th,.documents-page td{font-size:var(--text-control)}
small,.field small,.brand small,.public-header .brand small,.management-sub,.management-caption,.management-help,.management-status,.management-email-warning,.management-mapping-sample,.management-privacy,.management-form-options summary,.management-inline-link,.response-status,.badge,.link-code,.recipient-row small,.job-notice,.planning-small,.planning-people,.planning-overlaps,.sidebar-bottom .app-version{font-size:var(--text-small)}
.brand,.sidebar .brand{font-size:var(--text-small)}
.planning-company .company-name,.planning-assigned{font-size:var(--text-control)}
.management-stat strong{font-size:30px}
@media(max-width:720px){
 :root{--text-title:28px;--text-section:22px;--text-subheading:18px}
 .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .sidebar nav a{font-size:var(--text-control);padding:7px 6px}
 .sidebar .brand{font-size:13px}.brand small{font-size:12px}
 .sidebar-bottom .app-version{font-size:12px}
 .management-stat strong{font-size:28px}
}
