/* Shared reading scale and accessible control sizes. Scoring protocols are unchanged. */
html{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:1rem;line-height:1.65}
p,li,label{line-height:1.65}p{overflow-wrap:break-word}
main p,main label,main li,.document-main p,.app-panel p,.app-panel label{font-size:1rem}
small,.caption,.nx-note,.notice,.data-small,.metric-label,.pro-notice,.hero-foot,.footer-bottom,.app-footer{font-size:.875rem;line-height:1.65}
.eyebrow,.tag,.engine-label,.sidebar-label{font-size:.8rem;line-height:1.55;letter-spacing:.08em}
.desktop-nav,.footer-links,.side-nav,header nav,.record-button small{font-size:.9375rem;line-height:1.5}
.button,button,input,select,textarea{font-size:1rem}.button.small,.text-link{font-size:.9375rem}
button,.button,summary{min-height:44px}input,select,textarea{min-height:44px}
h1,h2,h3{overflow-wrap:break-word}h2{line-height:1.23}h3{line-height:1.35}
article,.app-panel,.content,.metric,.card{min-width:0}
.cards>article,.nx-benefits>article{display:flex;flex-direction:column;align-items:stretch}
.cards>article>.button,.nx-benefits>article>.button,.nx-benefits>article>.text-link{margin-top:auto;align-self:flex-start;text-align:start}
.site-header{height:auto;min-height:104px;gap:20px;padding-block:20px;flex-wrap:wrap}.desktop-nav{gap:clamp(14px,2vw,28px);flex-wrap:wrap;align-items:center}
header a,.footer-links a{overflow-wrap:break-word}.header-account{flex-wrap:wrap}
.site-footer{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:32px 48px;padding-block:40px;align-items:start}
.site-footer>.footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;align-content:start}
.footer-links a{min-height:44px;display:flex;align-items:center;font-size:.9375rem;line-height:1.45;color:#d0ded5}
.site-footer>div:first-child p{font-size:.9375rem;color:#b7cabe;max-width:32ch}
.site-footer .footer-bottom{grid-column:1/-1;width:100%;margin:0;padding-top:22px;border-top:1px solid #405449;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#b7cabe}
.site-footer .footer-bottom span,.site-footer .noetryx-contact-links{font-size:.875rem;line-height:1.65}
.site-footer .noetryx-contact-links{grid-column:1/-1;margin:0;color:#c0d3c7}.site-footer .noetryx-contact-links a{text-decoration:underline;text-underline-offset:4px}
footer:not(.site-footer){font-size:.9375rem;line-height:1.7}footer a{display:inline-block;padding-block:6px}
.nx-pdf-status{position:fixed;inset-inline:20px;bottom:20px;max-width:640px;margin:auto;z-index:1000;border:1px solid #7ca18d;border-radius:12px;padding:16px 20px;background:#14261d;color:#f2f7f4;box-shadow:0 12px 50px #0006;font:16px/1.6 system-ui}
.nx-export-help{font-size:.875rem!important;color:#bfd2c5;line-height:1.7}.nx-export-help button{font-size:.875rem;text-decoration:underline;text-underline-offset:3px;padding:8px;background:transparent;color:inherit}
html[dir=rtl] .eyebrow,html[dir=rtl] .tag,html[dir=rtl] .engine-label,html[dir=rtl] .sidebar-label{letter-spacing:normal}
@media(max-width:900px){.site-footer{grid-template-columns:1fr;gap:24px}.site-footer>.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.site-header{min-height:80px}.wrap{width:calc(100% - 40px)}.footer-bottom{align-items:flex-start}}
@media(max-width:480px){.wrap{width:calc(100% - 32px)}.site-footer{padding-block:32px}.site-footer .footer-bottom{flex-direction:column}.button{white-space:normal;gap:14px}main p,main label{font-size:1rem}input,select,textarea{font-size:16px}.nx-pdf-status{inset-inline:12px}.hero-actions{align-items:stretch}}
@media print{.nx-pdf-status,.nx-export-help{display:none!important}}
/* Override the older compact dashboard scale at its original specificity. */
body.app-body .side-nav,body.app-body .sidebar-bottom>a,body.app-body .back-home,body.lab-shell .desktop-nav a,body .lab-subnav a,body .header-account a,body .header-account .button{font-size:.9375rem;line-height:1.5}
body.app-body .button,body.app-body .workspace-heading>.button,body.app-body .task-stage-panel .assessment-actions>.button,body.app-body .panel-heading .text-link{font-size:.9375rem;line-height:1.5;white-space:normal}
body.app-body :is(.workspace-heading,.panel-heading,.app-panel,.card,.metric,.program-banner,.agent-step,.agent-audit,.agent-results,.focus-intro,.cognitive-intro,.cognitive-aside,.data-panel,.privacy-panel,.connections-panel,.methodology-panel) p{font-size:1rem;line-height:1.65}
body.app-body :is(.filter-bar,.cognitive-setup,.program-form,.agent-controls,.form-grid) label,body.app-body :is(select,input,textarea),body .account-panel label{font-size:1rem;line-height:1.5}
body.app-body :is(.metric-label,.sidebar-label,.version-tag,.local-banner,.local-label,.breadcrumb,.chart-note,.section-footnote,.app-footer,.cog-protocol,.ledger-values span,.focus-results-grid span,.agent-state,.agent-kind,.agent-status,.program-status,.program-metrics span,.program-metrics small,.program-roadmap span,.program-day span,.program-day small,.plan-note,.trial-progress),body :is(.engine-fine,.engine-stats dt,.account-status,.pro-notice){font-size:.875rem;line-height:1.65}
body.app-body :is(.task-intro,.cog-instructions,.focus-instructions,.cog-summary,.focus-result,.session-debrief){font-size:1rem;line-height:1.65}
body.app-body .workspace-heading .eyebrow,body.app-body .cognitive-aside .eyebrow{font-size:.8rem;line-height:1.6}
body.app-body :is(th,td,td small,td .open-session),body .engine-main :is(th,td){font-size:.875rem;line-height:1.65}
body.app-body .filter-bar{flex-wrap:wrap;gap:16px}body.app-body .panel-heading{gap:16px;flex-wrap:wrap}
body.app-body .metric-value{overflow-wrap:break-word}body.app-body :is(.metric-label,.program-metrics span,.program-metrics small){display:block}
body .site-footer p{font-size:.9375rem;line-height:1.65}body .footer-links button{font-size:.9375rem}
body .site-footer>div:first-child{min-width:0}body .site-footer .brand{max-width:100%}
/* Small metadata remains subordinate without dropping below a readable size. */
body main :is(small,.caption,.metric-label,.data-small,.status-text,th,td){font-size:.875rem;line-height:1.65}
body main :is(label,.field label,.app-panel p,.card p){font-size:1rem;line-height:1.65}
.nx-pdf-status .button,.nx-pdf-status button{margin:12px 12px 0 0;padding:9px 16px;border:1px solid #8aa997;border-radius:7px;background:#203e2e;color:#f2f7f4;line-height:1.5;font-size:14px;text-decoration:none;display:inline-flex;align-items:center}
