/* UI/UX Pro Max audit · 2026-09-10. Canonical brand assets are unchanged. */
:root { --text-body:1rem; --text-support:.875rem; --text-caption:.75rem; --touch-target:44px; }
body,input,textarea,select { font-size:var(--text-body); }
.prose { font-size:var(--text-body); max-width:72ch; }
.eyebrow,.section-summary>.small,.product-name,.section-count,.material-copy .small,
.metric-row span,.footer,.next-meta,.lesson-meta,.side-card .eyebrow,.outcome .eyebrow,
.history-row,.section-heading .small { font-size:var(--text-caption); }
.material-copy strong,.section-body>p,.side-link,.badge,.side-card .row strong,
.section-summary strong,.field>label,.stack>label,.button,.back,.small,
.form-section>div>p,.criteria,.mentor strong,.next-card p:not(.eyebrow):not(.next-meta) { font-size:var(--text-support); }
.section-summary,.row>*,.next-content>div { min-width:0; }
.next-card h2,.material-copy,.notice,.side-card,.history-row,.section-summary,.preview-row { overflow-wrap:anywhere; }
.badge,.section-count { white-space:normal; }
.row { flex-wrap:wrap; }
.account summary,nav>a,.side-link,.text-button,.history>summary,.advanced>summary,.inset>summary { min-height:var(--touch-target); }
nav>a,.side-link { display:flex; align-items:center; }
a,button,summary { touch-action:manipulation; }
.button:active,.material-row:active,.path-section>summary:active { opacity:.8; }
.button[aria-disabled=true] { opacity:.6; cursor:wait; }
.field input[aria-invalid=true],.field textarea[aria-invalid=true],.field select[aria-invalid=true] { border:2px solid #941b31; }
.notice.warning { color:#941b31; background:#fff1f3; border-color:#f1b5c0; }
.password-control { position:relative; }
.password-control input { padding-right:100px!important; }
.password-toggle { position:absolute;right:4px;top:2px;min-width:84px;min-height:42px;border:0;background:transparent;color:#343b49;font-size:var(--text-support);border-radius:5px; }
.program-scope-note { margin-top:14px;padding-top:14px;border-top:1px solid var(--line); }
.ui-icon { display:inline-block;width:20px;height:20px;vertical-align:middle;flex-shrink:0; }
.big-stat,.metric-row strong,.section-count { font-variant-numeric:tabular-nums; }
.dashboard-grid { grid-template-areas:"next side" "path side";align-items:start; }
.dashboard-grid>.next-card { grid-area:next; }
.dashboard-grid>.side-column { grid-area:side; }
.dashboard-grid>.path-column { grid-area:path;min-width:0; }
.path-column>.section-heading { margin-top:0; }
@media(max-width:760px) {
 .dashboard-grid>.path-column {order:3;}
 .path-column>.section-heading {margin:12px 0 16px;}
 nav {height:auto;min-height:44px;}
 .section-count {display:inline;flex-basis:auto;max-width:95px;}
 .section-summary strong {font-size:.875rem;}
 .section-heading .small,.material-copy .small {font-size:.75rem;}
 .shell {padding-inline:max(20px,env(safe-area-inset-left));}
 .footer {padding-bottom:max(22px,env(safe-area-inset-bottom));}
}
@media(max-width:420px) {
 .path-section>summary {flex-wrap:wrap;}
 .path-section .section-summary {flex-basis:calc(100% - 48px);}
 .path-section .section-count {margin-left:30px;max-width:none;}
 .path-section .chevron {margin-left:auto;}
}
