

.navigation-toggle{grid-area:menu;align-items:center;justify-content:center;gap:8px;justify-self:start;min-height:44px;padding:8px 14px;border:1px solid var(--control-border);border-radius:var(--radius);background:var(--surface);color:var(--ink);font-size:.875rem;font-weight:600;cursor:pointer;list-style:none;}
.navigation-toggle::-webkit-details-marker{display:none}
.navigation-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;}
.navigation-toggle:hover,.site-nav-secondary[open]>summary{border-color:var(--accent);background:var(--accent-soft);}
@media (max-width:1024px){
  .header-inner{gap:6px 12px;min-height:0;padding-block:8px;}
  .navigation-toggle{display:inline-flex;}
  .header-preferences{justify-self:end;}
  .site-nav{justify-self:stretch;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;overflow:visible;padding-block:8px;font-size:.87rem;}
  .site-nav a{min-width:0;padding:10px 8px;white-space:normal;}
  .site-nav a span{overflow-wrap:anywhere;}
}

/* UX 2026-10-04: assessment */
/* Compact assessment introductions;the scale meaning remains visible. */
.test-heading h1{font-size:var(--h1-size);line-height:1.15;}
.test-heading{padding-bottom:20px;}
.test-heading .test-expectations-note{margin-top:12px;}
.test-expectations{margin-bottom:24px;padding:0;border:0;background:transparent;}
.test-expectations > summary,.catalog-about > summary,.scale-explanation > summary{display:list-item;min-height:44px;padding-block:10px;color:var(--accent);font-weight:700;cursor:pointer;}
.test-expectations > summary:focus-visible,.catalog-about > summary:focus-visible,.scale-explanation > summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px;}
.test-expectations-content{padding:20px;border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);}
.test-expectations-content h2{font-size:1.55rem;}
.catalog-about .lede{padding-block:4px 16px;}
.likert-guidance-block{margin:-12px 0 20px;}
.likert-guidance-block .likert-guidance{margin:0;}
.scale-explanation{font-size:.875rem;color:var(--muted);}
.scale-explanation > summary{font-weight:600;}
.scale-explanation p{max-width:760px;margin:0 0 12px;line-height:1.45;}
.assessment-review .review-actions{margin-top:14px;}
.assessment-shell[data-assessment-state="result"] .assessment-progress{display:none;}
.assessment-shell[data-assessment-state="result"] .result-panel{margin-top:0;padding-top:8px;}
.result-summary-actions{flex-wrap:wrap;margin-top:20px;gap:14px;}
@media (max-width:650px){
  .test-expectations-content{padding:16px;}
  .test-expectations-content .dashboard-reading-guide-list{grid-template-columns:1fr;}
  .assessment-review h2{font-size:1.8rem;}
  .result-summary-actions{align-items:stretch;}
}
.result-panel > h1{font:700 clamp(2rem,3vw,2.5rem)/1.15 var(--cc-font-ui);letter-spacing:-.035em;}
.result-panel > h1:focus{outline:none;}
.result-panel > h1:focus-visible{outline:3px solid var(--focus);outline-offset:5px;}
@media print{.result-panel > h1{font-size:28pt;}}
/* Keep focused review/result titles below the sticky two-row navigation. */
#result-title{scroll-margin-top:112px;}
@media (max-width:1024px){#review-title,#result-title{scroll-margin-top:132px;}}

/* UX 2026-10-04: data */
.data-tool-groups{min-width:0;display:grid;gap:24px;}
.data-downloads{border:1px solid var(--line);border-radius:var(--radius);padding:0 20px;}
.data-downloads > summary{min-height:48px;padding-block:12px;cursor:pointer;font-weight:600;}
.data-downloads[open] > summary{border-bottom:1px solid var(--line);}
.data-download-options{display:grid;gap:20px;padding-block:20px;}
.data-download-option{display:grid;justify-items:start;gap:8px;}
.data-download-option p,.data-restore p,.data-danger p{margin:0;}
.data-restore,.data-danger{display:grid;justify-items:start;gap:12px;}
.data-restore h3,.data-danger h3{margin:0;font-size:1rem;}
.data-danger{border-top:1px solid var(--line);padding-top:24px;}
.data-tools .form-status{margin:0;}
.favorite-empty .text-link{display:inline-block;margin-top:8px;}
@media (max-width:760px){.data-download-option,.data-restore,.data-danger{justify-items:stretch;} .data-download-option .button,.data-restore .button,.data-danger .button{width:100%;}}

/* UX 2026-10-04: account */
.account-page:not(.account-page-profile){padding-block:var(--page-intro-gap) 72px;}
.account-page:not(.account-page-profile) h1{margin:14px 0 16px;font-size:var(--h1-size);line-height:1.15;}
.account-page:not(.account-page-profile) .account-lede{margin-bottom:24px;}
.account-switch a{display:inline-flex;align-items:center;min-height:44px;}
.account-switch + .account-switch{margin-top:4px;}

@media (max-width:600px){
  .account-form{padding:20px;}
}

/* UX 2026-10-04: articles */
/* Article navigation and optional model background. */
.article-toc summary,.article-methodology > summary{min-height:44px;padding-block:10px;color:var(--ink);font-size:.88rem;font-weight:700;cursor:pointer;}
.article-toc summary:focus-visible,.article-methodology > summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px;}
.article-toc ol{gap:0;}
.article-toc a{display:flex;align-items:center;min-height:44px;padding-block:10px;}
@media (max-width:1024px){
  .article-body h2[id],.article-body h3[id]{scroll-margin-top:132px;}
}
.article-methodology{margin-top:40px;padding-block:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.article-methodology .methodology-grid{margin-block:20px;}

/* UX 2026-10-04: home-profile */
/* Home timing and compact profile overview (UX-04/16/18). */
.hero-copy .home-duration{max-width:38rem;margin:20px 0 0;color:var(--muted);font-size:.88rem;line-height:1.6;}
.profile-page{padding-bottom:64px;}
.profile-page .profile-hero{gap:32px;padding-block:var(--page-intro-gap) 32px;}
.profile-page .profile-hero h1{margin:10px 0 16px;font-size:var(--h1-size);line-height:1.15;}
.profile-page .profile-status{margin-top:18px;}
.profile-page .profile-card{min-height:0;padding:24px;}
.profile-page .profile-card h2{font-size:clamp(1.375rem,2vw,1.5rem);line-height:1.3;}
.profile-page .profile-stats,.profile-page .profile-benefits{margin-top:24px;}
.profile-page .profile-card-action{margin-top:20px;}
.profile-page .profile-next{margin-top:24px;padding-block:24px 0;}
@media (max-width:700px){
  .profile-page .profile-hero{gap:24px;padding-bottom:24px;}
  .profile-page .profile-card{padding:20px;}
}

/* UX 2026-10-04: controller */
/* Functional headings follow the shared page scale. */
@media screen{
  .page-heading{padding-block:var(--page-intro-gap) 24px;}
  .page-heading h1,.account-page h1{margin-block:14px 16px;font-size:var(--h1-size);line-height:1.15;}
  .account-page{padding-block:var(--page-intro-gap) 72px;}
  .profile-page .profile-hero h1{margin-top:14px;}
  .account-logout-button,.account-dialog-close{min-width:48px;min-height:48px;}
  .dashboard-section-nav a{min-width:44px;min-height:44px;padding-inline:8px;}
  #dashboard-results{scroll-margin-top:112px;}
}
@media screen and (max-width:1024px){
  #dashboard-results{scroll-margin-top:132px;}
}
@media print{
  .assessment-shell[data-assessment-state="result"] .result-panel{padding:8mm;}
}

@media (min-width:1025px){
  .site-header .site-nav{justify-self:stretch;justify-content:flex-end;flex-wrap:wrap;gap:0 16px;}
}

.site-nav .nav-ai{font-weight:600}

.question-answer-error{margin:14px 0 0;font-weight:700}.review-all>.review-list-heading{min-height:44px;padding-block:10px}

@media (max-height:780px) and (min-width:640px){.test-heading{padding-block:12px 4px}.test-heading h1{margin-block:4px}.test-expectations{margin-bottom:6px}.assessment-progress{margin-bottom:12px}.question-card legend,.likert-guidance{margin-bottom:10px}.question-flag{margin-top:12px}.assessment-actions{margin-top:10px}}
