:root { color-scheme: light; --bg:#f4f3ef; --surface:rgba(255,255,255,.86); --solid:#fff; --ink:#18211e; --ink-2:#52605b; --ink-3:#79837f; --line:#dce1dd; --line-2:#c5cec8; --accent:#176b55; --accent-dark:#0f4c3d; --accent-soft:#e1f1eb; --warning:#fff5d8; --danger:#a73c37; --radius:22px; --shadow:0 18px 60px rgba(24,33,30,.09); --shadow-sm:0 7px 24px rgba(24,33,30,.055); --content:1180px; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-optical-sizing:auto; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { min-height:100vh; margin:0; color:var(--ink); background:radial-gradient(circle at 78% 4%,#e2eee8 0,transparent 30rem),var(--bg); }
a { color:inherit; } button,input { font:inherit; } h1,h2,h3,p { margin-top:0; }
.skip-link { position:fixed; z-index:100; top:-80px; left:1rem; padding:.75rem 1rem; border-radius:12px; background:var(--ink); color:white; }.skip-link:focus{top:1rem}
.site-header { position:sticky; z-index:50; top:0; border-bottom:1px solid rgba(197,206,200,.72); background:rgba(244,243,239,.82); backdrop-filter:blur(20px) saturate(150%); }
.header-inner { width:min(calc(100% - 2.5rem),var(--content)); min-height:70px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:1.5rem; }
.brand { display:flex; align-items:center; gap:.72rem; text-decoration:none; }.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:var(--accent);color:white;font-size:.7rem;font-weight:800}.brand>span:last-child{display:grid;gap:.05rem}.brand strong{font-size:.92rem}.brand small{color:var(--ink-3);font-size:.66rem}
nav{display:flex;align-items:center;gap:.25rem}nav a,nav button{padding:.64rem .78rem;border:0;border-radius:11px;background:transparent;color:var(--ink-2);text-decoration:none;cursor:pointer}nav a:hover,nav button:hover{background:var(--surface);color:var(--ink)}nav form{margin:0}
.site-main{width:min(calc(100% - 2.5rem),var(--content));min-height:calc(100vh - 200px);margin:auto;padding:clamp(2.5rem,6vw,5rem) 0 6rem}.site-footer{width:min(calc(100% - 2.5rem),var(--content));margin:auto;padding:2rem 0 2.8rem;display:flex;justify-content:space-between;gap:2rem;border-top:1px solid var(--line);color:var(--ink-3);font-size:.78rem}.site-footer div{display:grid;gap:.2rem}.site-footer strong{color:var(--ink)}.site-footer p{max-width:38rem;margin:0;text-align:right;line-height:1.5}
.eyebrow,.section-label{color:var(--accent);font-size:.7rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.page-header,.form-page-header,.diagnostic-result-header,.diagnostic-take-header{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:1.5rem}.page-header h1,.form-page-header h1,.diagnostic-result-header h1,.diagnostic-take-header h1{margin:.28rem 0 .4rem;font-size:clamp(2.45rem,6vw,5.3rem);line-height:.96;letter-spacing:-.06em}.page-header p,.form-page-header p,.diagnostic-result-header p,.diagnostic-take-header p{max-width:760px;margin-bottom:0;color:var(--ink-2);line-height:1.55}
.button{min-height:44px;padding:.75rem 1rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:13px;font-weight:700;text-decoration:none;cursor:pointer;transition:transform .1s ease-out,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.button:hover{transform:translateY(-1px)}.button:active{transform:scale(.97)}.button-primary{border-color:var(--accent);background:var(--accent);color:white;box-shadow:0 8px 22px rgba(23,107,85,.16)}.button-primary:hover{background:var(--accent-dark);box-shadow:0 11px 26px rgba(23,107,85,.2)}.button-secondary,.button-quiet{border-color:var(--line);background:var(--surface);color:var(--ink)}.button-block{width:100%}.button:disabled{opacity:.45;cursor:not-allowed;transform:none}
.auth-layout{min-height:calc(100vh - 250px);min-height:calc(100dvh - 250px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.68fr);align-items:center;column-gap:clamp(2rem,7vw,6rem);row-gap:1rem}.auth-context{grid-column:1;grid-row:1}.auth-context h1{max-width:720px;margin:.3rem 0 .55rem;font-size:clamp(2.7rem,5.4vw,4.85rem);line-height:.95;letter-spacing:-.06em;text-wrap:balance}.auth-context>p{max-width:650px;margin-bottom:.55rem;color:var(--ink-2);font-size:1rem;line-height:1.58}.auth-layout>.form-panel{grid-column:2;grid-row:1/span 2}.auth-details{grid-column:1;grid-row:2;align-self:start}.form-panel{padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);backdrop-filter:blur(20px) saturate(150%)}.form-panel h2{font-size:1.45rem}.field{margin-top:1rem;display:grid;gap:.4rem}.field label{font-size:.78rem;font-weight:700}.field input{width:100%;min-height:48px;padding:.7rem .8rem;border:1px solid var(--line-2);border-radius:12px;background:var(--solid);color:var(--ink)}.field input:focus{outline:3px solid rgba(23,107,85,.16);border-color:var(--accent)}.field span,.validation-summary{color:var(--danger);font-size:.75rem}.password-control{position:relative}.password-control input{padding-right:5.6rem}.password-control button{position:absolute;right:.35rem;top:50%;min-height:36px;padding:0 .58rem;border:0;border-radius:9px;background:transparent;color:var(--accent);font-size:.72rem;font-weight:750;transform:translateY(-50%);cursor:pointer}.password-control button:hover{background:var(--accent-soft)}.password-control button:active{transform:translateY(-50%) scale(.96)}.form-actions{margin-top:1.4rem;display:flex;justify-content:flex-end;gap:.6rem}.check-row{padding:.8rem 0;display:flex;align-items:flex-start;gap:.7rem;color:var(--ink-2);line-height:1.5}.check-row input{margin-top:.28rem;accent-color:var(--accent)}.check-row.compact{font-size:.78rem}
.pilot-banner,.notice{padding:.9rem 1rem;display:flex;gap:.6rem;border:1px solid #e8d59a;border-radius:15px;background:var(--warning);color:#615321}.pilot-banner{margin-top:1rem}.pilot-banner span{line-height:1.45}.notice{margin-bottom:1rem;border-color:#acd4c4;background:var(--accent-soft);color:var(--accent-dark)}
.auth-instrument{max-width:700px;margin:1rem 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;list-style:none}.auth-instrument li{min-height:88px;padding:.8rem;display:grid;align-content:end;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.62);box-shadow:var(--shadow-sm)}.auth-instrument span{color:var(--accent);font-size:.62rem;font-weight:850;letter-spacing:.08em}.auth-instrument strong{margin-top:.25rem;font-size:.8rem}.auth-instrument small{margin-top:.12rem;color:var(--ink-3);font-size:.65rem;line-height:1.3}
.diagnostic-section{margin-top:2.4rem}.section-head{margin-bottom:.85rem;display:flex;align-items:end;justify-content:space-between;gap:1rem}.section-head h2{margin:.2rem 0 0;font-size:1.65rem;letter-spacing:-.035em}.section-head>span{color:var(--ink-3);font-size:.78rem}.diagnostic-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.diagnostic-card{min-height:230px;padding:1.15rem;display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.diagnostic-card-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.8rem}.diagnostic-card code,.diagnostic-study-header code{color:var(--accent);font-weight:800;letter-spacing:.09em}.diagnostic-card h3{margin:1.2rem 0 .4rem;font-size:1.25rem}.diagnostic-card p{color:var(--ink-2);font-size:.82rem;line-height:1.5}.diagnostic-card .button{margin-top:auto}.status-pill{padding:.35rem .55rem;border-radius:999px;background:#eef0ee;color:var(--ink-2);font-size:.67rem;font-weight:800}.state-published{background:var(--accent-soft);color:var(--accent-dark)}.state-draft{background:var(--warning);color:#756421}.diagnostic-empty{min-height:190px;padding:2rem;display:grid;place-content:center;justify-items:center;gap:.4rem;border:1px dashed var(--line-2);border-radius:var(--radius);text-align:center;color:var(--ink-3)}.diagnostic-empty p{margin:0;color:var(--ink);font-weight:750}.diagnostic-empty .button{margin-top:.8rem}.diagnostic-form-panel{max-width:680px}
.diagnostic-progress,.profile-mark{width:110px;height:110px;flex:0 0 auto;display:grid;place-content:center;border-radius:50%;background:var(--accent-soft);color:var(--accent);text-align:center}.diagnostic-progress strong,.profile-mark strong{font-size:2rem;line-height:1}.diagnostic-progress span,.profile-mark span{margin-top:.2rem;color:var(--ink-2);font-size:.65rem}.diagnostic-questionnaire{display:grid;gap:.75rem}.diagnostic-question{margin:0;padding:1.25rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.diagnostic-question legend{width:100%;padding:0 0 .9rem;display:flex;align-items:flex-start;gap:.8rem;font-weight:680;line-height:1.45}.diagnostic-question legend>span{width:32px;height:32px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;background:var(--accent-soft);color:var(--accent);font-size:.78rem}.diagnostic-scale{display:grid;grid-template-columns:repeat(6,1fr);gap:.45rem}.diagnostic-choice{min-height:82px;padding:.6rem .35rem;display:grid;place-items:center;align-content:center;gap:.2rem;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.68);text-align:center;cursor:pointer}.diagnostic-choice:has(input:checked){border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.diagnostic-choice input{position:absolute;width:1px;height:1px;opacity:0}.diagnostic-choice span{color:var(--ink-3);font-size:.62rem;line-height:1.2}.diagnostic-confirmation{margin-top:1rem;padding:1.4rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.diagnostic-submit-bar{position:sticky;z-index:20;bottom:1rem;margin-top:1rem;padding:.75rem .85rem .75rem 1.1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.9);box-shadow:var(--shadow);backdrop-filter:blur(18px)}.diagnostic-submit-bar>div{display:grid}
.profile-chart{display:grid;gap:.65rem}.profile-row{padding:1rem;display:grid;grid-template-columns:44px 1fr;gap:.8rem;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.profile-rank{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--accent);color:white;font-weight:800}.profile-copy>div:first-child{display:flex;justify-content:space-between;gap:1rem}.profile-copy h2,.profile-copy h3{margin:0;font-size:1.05rem}.profile-copy p{margin:.5rem 0 0;color:var(--ink-2);font-size:.8rem;line-height:1.5}.profile-bar{height:8px;margin-top:.6rem;overflow:hidden;border-radius:999px;background:#e4e7e4}.profile-bar span{height:100%;display:block;border-radius:inherit;background:var(--accent)}.diagnostic-explanation{max-width:820px;margin:1.2rem auto 0;padding:1.5rem}.diagnostic-explanation p{color:var(--ink-2);line-height:1.6}.diagnostic-summary{margin-bottom:1rem;display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}.diagnostic-summary>div{min-height:112px;padding:1rem;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.diagnostic-summary span{color:var(--ink-3);font-size:.66rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.diagnostic-summary strong{font-size:2rem}.participant-profiles{display:grid;gap:.55rem}.participant-profile{padding:.8rem 1rem;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.participant-profile summary{display:flex;justify-content:space-between;cursor:pointer}.participant-profile summary>span:first-child{display:grid}.participant-profile ol{padding:.8rem 0 0;margin:0;list-style:none}.participant-profile li{padding:.5rem 0;display:grid;grid-template-columns:28px 1fr auto;border-top:1px solid var(--line)}.task-recommendation{margin-top:.7rem;padding:.75rem;display:grid;gap:.2rem;border-radius:12px;background:var(--accent-soft);font-size:.78rem;line-height:1.45}
@media(max-width:850px){.auth-layout{grid-template-columns:1fr;row-gap:1.25rem}.auth-context,.auth-layout>.form-panel,.auth-details{grid-column:1;grid-row:auto}.auth-context{order:1}.auth-layout>.form-panel{order:2}.auth-details{order:3}.diagnostic-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.diagnostic-scale{grid-template-columns:repeat(3,1fr)}.site-footer{flex-direction:column}.site-footer p{text-align:left}}
@media(min-width:851px) and (max-height:820px){.site-main{padding-top:2rem}.auth-layout{min-height:calc(100dvh - 190px);gap:3.5rem}.auth-context h1{font-size:clamp(2.65rem,4.9vw,4.3rem)}.auth-context>p{font-size:.92rem;line-height:1.48}.auth-instrument li{min-height:72px;padding:.65rem}.form-panel{padding:1.35rem}.pilot-banner{padding:.7rem .8rem;font-size:.78rem}}
@media(max-width:580px){.header-inner,.site-main,.site-footer{width:min(calc(100% - 1.4rem),var(--content))}.brand small,nav a{display:none}.site-main{padding-top:1.5rem}.page-header,.form-page-header,.diagnostic-result-header,.diagnostic-take-header{align-items:flex-start;flex-direction:column}.diagnostic-card-grid,.diagnostic-summary{grid-template-columns:1fr}.diagnostic-scale{grid-template-columns:repeat(2,1fr)}.diagnostic-progress,.profile-mark{width:88px;height:88px}.auth-context h1{font-size:clamp(2.25rem,11vw,3.2rem)}.auth-context>p{font-size:.92rem;line-height:1.5}.auth-instrument{grid-template-columns:1fr}.auth-instrument li{min-height:auto;grid-template-columns:34px 1fr;align-items:center;align-content:center}.auth-instrument span{grid-row:1/3}.auth-instrument strong,.auth-instrument small{margin:0}.pilot-banner{align-items:flex-start;flex-direction:column}.form-panel{backdrop-filter:none}}

/* Focused questionnaire */
.questionnaire-controls [hidden]{display:none!important}
.diagnostic-questionnaire--stepper{max-width:960px;margin-inline:auto}.questionnaire-heading{max-width:960px;margin-inline:auto}.questionnaire-progress{position:sticky;z-index:15;top:82px;padding:.8rem 1rem;border:1px solid rgba(197,206,200,.76);border-radius:17px;background:rgba(255,255,255,.84);box-shadow:var(--shadow-sm);backdrop-filter:blur(18px) saturate(150%)}.questionnaire-progress-copy{display:flex;justify-content:space-between;gap:1rem;color:var(--ink-2);font-size:.78rem}.questionnaire-progress-copy strong{color:var(--ink)}.questionnaire-progress-track{height:5px;margin-top:.65rem;overflow:hidden;border-radius:999px;background:#e4e8e5}.questionnaire-progress-track span{width:0;height:100%;display:block;border-radius:inherit;background:var(--accent);transition:width .35s cubic-bezier(.22,1,.36,1)}.questionnaire-stage{min-height:460px;display:grid;align-items:center}.diagnostic-question--step{padding:clamp(1.2rem,4vw,2.4rem);box-shadow:var(--shadow)}.diagnostic-question--step[hidden]{display:none}.diagnostic-question--step legend{padding-bottom:1.4rem;font-size:clamp(1.15rem,2.8vw,1.7rem);font-weight:720;letter-spacing:-.025em;line-height:1.32}.diagnostic-question--step legend>span{width:38px;height:38px;border-radius:12px;font-size:.82rem}.question-kicker{margin-bottom:.9rem;display:flex;justify-content:space-between;gap:1rem;color:var(--ink-3);font-size:.7rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.question-kicker span:first-child{color:var(--accent)}.question-note{margin:1rem 0 0;color:var(--ink-3);font-size:.75rem;line-height:1.45}.diagnostic-question--step .diagnostic-scale{gap:.55rem}.diagnostic-question--step .diagnostic-choice{min-height:100px;padding:.7rem .4rem;gap:.3rem;border-radius:15px;transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.diagnostic-choice:hover{transform:translateY(-2px);border-color:var(--line-2);box-shadow:var(--shadow-sm)}.diagnostic-choice:active{transform:scale(.97)}.diagnostic-choice:has(input:focus-visible){outline:3px solid rgba(23,107,85,.2);outline-offset:2px}.diagnostic-question--step .diagnostic-choice strong{font-size:1.15rem}.diagnostic-question--step .diagnostic-choice span{font-size:.66rem;line-height:1.25}.diagnostic-scale.needs-answer{animation:answer-nudge .28s ease}.diagnostic-questionnaire--stepper .diagnostic-confirmation{margin:0;padding:clamp(1.25rem,4vw,2.3rem);box-shadow:var(--shadow)}.diagnostic-confirmation h2{margin:.35rem 0 .5rem;font-size:clamp(1.6rem,4vw,2.4rem);letter-spacing:-.04em}.diagnostic-confirmation>p{color:var(--ink-2)}.questionnaire-controls{position:sticky;z-index:20;bottom:1rem;padding:.75rem;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.9);box-shadow:var(--shadow);backdrop-filter:blur(18px)}.questionnaire-controls-status{display:grid;justify-items:center;color:var(--ink-3);font-size:.67rem}.questionnaire-controls-status strong{color:var(--ink);font-size:1rem}.step-enter-forward{animation:step-forward .34s cubic-bezier(.22,1,.36,1)}.step-enter-back{animation:step-back .34s cubic-bezier(.22,1,.36,1)}

/* Interactive value rose */
.radar-card{margin-top:1.2rem;padding:clamp(1rem,3vw,1.6rem);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.radar-card-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem}.radar-card-heading h2,.radar-card-heading h3{margin:.2rem 0 0;font-size:clamp(1.45rem,3vw,2rem);letter-spacing:-.04em}.radar-card-heading>span{color:var(--ink-3);font-size:.72rem}.radar-layout{min-height:500px;display:grid;grid-template-columns:minmax(420px,1.1fr) minmax(260px,.7fr);align-items:center;gap:clamp(1rem,4vw,3rem)}.radar-visual{width:100%;max-width:600px;margin:auto}.radar-svg{width:100%;height:auto;overflow:visible}.radar-grid polygon{fill:none;stroke:var(--line);stroke-width:1}.radar-grid line{stroke:var(--line);stroke-width:1}.radar-area{fill:rgba(23,107,85,.2);stroke:var(--accent);stroke-width:3;stroke-linejoin:round;filter:drop-shadow(0 8px 12px rgba(23,107,85,.15));transform-origin:center;animation:radar-materialize .55s cubic-bezier(.22,1,.36,1)}.radar-points circle{fill:var(--solid);stroke:var(--accent);stroke-width:3;cursor:pointer;transition:r .18s ease,fill .18s ease,filter .18s ease}.radar-points circle:hover,.radar-points circle:focus,.radar-points circle.is-active{r:10;fill:var(--accent);filter:drop-shadow(0 4px 7px rgba(23,107,85,.28));outline:none}.radar-label{width:100%;height:100%;padding:0;border:0;background:transparent;color:var(--ink-2);font-size:10px;font-weight:700;line-height:1.1;text-align:center;cursor:pointer}.radar-label:hover,.radar-label:focus-visible,.radar-label.is-active{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.radar-insight{min-height:240px;padding:1.2rem;display:grid;grid-template-columns:56px 1fr;align-content:center;gap:1rem;border-radius:18px;background:var(--accent-soft)}.radar-insight-rank{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;background:var(--accent);color:white;font-size:1.35rem;font-weight:800}.radar-insight h3{margin:.25rem 0 .15rem;font-size:1.35rem;letter-spacing:-.03em}.radar-insight strong{color:var(--accent);font-size:1.1rem}.radar-insight p{margin:.65rem 0 0;color:var(--ink-2);font-size:.82rem;line-height:1.55}.radar-caption{max-width:780px;margin:.5rem auto 0;color:var(--ink-3);font-size:.72rem;line-height:1.5;text-align:center}

@keyframes step-forward{from{opacity:0;transform:translateX(20px) scale(.99)}to{opacity:1;transform:none}}@keyframes step-back{from{opacity:0;transform:translateX(-20px) scale(.99)}to{opacity:1;transform:none}}@keyframes answer-nudge{50%{transform:translateX(5px)}}@keyframes radar-materialize{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
@media(max-width:850px){.radar-layout{grid-template-columns:1fr}.radar-visual{max-width:520px}}
@media(max-width:580px){.questionnaire-heading .diagnostic-progress{display:none}.questionnaire-progress{top:72px}.questionnaire-stage{min-height:520px}.question-kicker{align-items:flex-start;flex-direction:column;gap:.25rem}.diagnostic-question--step{padding:1.1rem}.diagnostic-question--step legend{font-size:1.15rem}.diagnostic-question--step .diagnostic-choice{min-height:86px}.questionnaire-controls{grid-template-columns:auto 1fr auto}.questionnaire-controls-status span{display:none}.radar-card{padding:.8rem}.radar-card-heading{align-items:flex-start;flex-direction:column}.radar-card-heading>span{display:none}.radar-layout{min-height:auto}.radar-visual{margin-block:.5rem}.radar-insight{min-height:190px;grid-template-columns:46px 1fr}.radar-insight-rank{width:44px;height:44px;border-radius:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,.diagnostic-choice,.questionnaire-progress-track span,.radar-points circle{transition:none}.button:hover{transform:none}.step-enter-forward,.step-enter-back,.radar-area,.diagnostic-scale.needs-answer{animation:none}}
@media(prefers-reduced-transparency:reduce){.site-header,.form-panel,.questionnaire-progress,.questionnaire-controls{background:var(--solid);backdrop-filter:none}}

/* Classroom management and profile switching */
.header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.6rem}.header-actions form{margin:0}.diagnostic-summary--four{grid-template-columns:repeat(4,1fr)}
.roster-list{display:grid;gap:.5rem}.roster-row{padding:.8rem 1rem;display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(150px,auto);align-items:center;gap:1rem;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.roster-person{display:flex;align-items:center;gap:.75rem}.roster-person>span:last-child{display:grid}.roster-person small,.roster-row>small{color:var(--ink-3)}.roster-avatar{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-weight:800}.state-progress{background:#e7f0fb;color:#315e87}.state-invited{background:#f0efea;color:var(--ink-2)}
.participant-tools{margin-top:1rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.participant-tools details{padding:1rem;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.participant-tools summary{font-weight:760;cursor:pointer}.participant-tools form{margin-top:.7rem}.participant-tools textarea{width:100%;padding:.75rem;border:1px solid var(--line-2);border-radius:12px;background:var(--solid);color:var(--ink);font:inherit;line-height:1.45;resize:vertical}.participant-tools .button{margin-top:1rem;width:100%}.field small{color:var(--ink-3);font-size:.7rem;line-height:1.4}
.profile-tabs{margin:1.2rem 0 .3rem;display:flex;justify-content:center}.profile-tab-list{padding:.3rem;display:inline-grid;grid-template-columns:repeat(2,minmax(170px,1fr));gap:.25rem;border:1px solid var(--line);border-radius:14px;background:rgba(226,230,226,.72)}.profile-tab-list button{min-height:42px;padding:.6rem .9rem;border:0;border-radius:10px;background:transparent;color:var(--ink-2);font:inherit;font-size:.78rem;font-weight:760;cursor:pointer;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .1s ease}.profile-tab-list button:active{transform:scale(.98)}.profile-tab-list button[aria-selected=true]{background:var(--solid);color:var(--ink);box-shadow:var(--shadow-sm)}
.radar-comparison{fill:rgba(89,106,125,.06);stroke:#677889;stroke-width:2.5;stroke-dasharray:8 7;stroke-linejoin:round}.radar-legend{margin-top:.8rem;display:flex;justify-content:center;gap:1rem;color:var(--ink-2);font-size:.72rem}.radar-legend span{display:flex;align-items:center;gap:.4rem}.radar-legend i{width:22px;height:3px;display:inline-block;border-radius:999px;background:var(--accent)}.radar-legend .legend-group{height:0;border-top:2px dashed #677889;background:transparent}.radar-insight small{display:block;margin-top:.25rem;color:var(--ink-3)}
.preview-question-title{padding:0 0 1.3rem;display:flex;align-items:flex-start;gap:.8rem;font-size:clamp(1.15rem,2.8vw,1.7rem);letter-spacing:-.025em;line-height:1.32}.preview-question-title>span{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:.82rem}.preview-scale{display:grid;grid-template-columns:repeat(6,1fr);gap:.55rem}.preview-scale>span{min-height:92px;padding:.6rem .35rem;display:grid;place-items:center;align-content:center;gap:.25rem;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.68);text-align:center}.preview-scale strong{font-size:1.05rem}.preview-scale small{color:var(--ink-3);font-size:.6rem;line-height:1.25}.preview-actions{max-width:960px;margin-inline:auto}
.validation-summary{margin-bottom:1rem;padding:1rem;border:1px solid #e0b5ad;border-radius:16px;background:#fff0ed;color:var(--danger)}.validation-summary ul{margin:.5rem 0 0;padding-left:1.2rem}.credential-notice{margin:1rem 0;padding:1rem;display:flex;align-items:baseline;gap:.5rem;border-radius:16px;background:var(--accent-soft);color:var(--accent-dark)}.credential-notice strong{font-size:1.7rem}.credentials-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.credentials-table{width:100%;border-collapse:collapse}.credentials-table th,.credentials-table td{padding:.8rem 1rem;border-bottom:1px solid var(--line);text-align:left}.credentials-table th{color:var(--ink-3);font-size:.68rem;letter-spacing:.05em;text-transform:uppercase}.credentials-table tbody tr:last-child td{border-bottom:0}.credentials-table code{font-weight:750}.privacy-note{color:var(--ink-3);font-size:.75rem;line-height:1.5}.participant-profile>.radar-card{box-shadow:none}

@media(max-width:980px){.diagnostic-summary--four{grid-template-columns:repeat(2,1fr)}.participant-tools{grid-template-columns:1fr}.roster-row{grid-template-columns:1fr auto}.roster-row>small{grid-column:1/-1}}
@media(max-width:650px){.header-actions{width:100%;justify-content:stretch}.header-actions .button{flex:1}.diagnostic-summary--four{grid-template-columns:1fr 1fr}.profile-tab-list{width:100%;grid-template-columns:1fr 1fr}.preview-scale{grid-template-columns:repeat(2,1fr)}.roster-row{grid-template-columns:1fr}.roster-row .status-pill{justify-self:start}.credentials-table th,.credentials-table td{padding:.65rem}.radar-legend{align-items:flex-start;flex-direction:column}.participant-profile{padding:.7rem}}
@media(prefers-reduced-motion:reduce){.profile-tab-list button{transition:none}}

/* Research methodology */
.methodology-header h1{max-width:820px}.methodology-overview{padding:clamp(1rem,3vw,1.6rem);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.methodology-overview .section-head{margin-bottom:1rem}.methodology-link-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.methodology-link-grid a{min-height:132px;padding:1rem;display:grid;align-content:start;gap:.35rem;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.72);text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.methodology-link-grid a:hover{transform:translateY(-2px);border-color:var(--line-2);box-shadow:var(--shadow-sm)}.methodology-link-grid span{color:var(--accent);font-size:.68rem;font-weight:850;letter-spacing:.08em}.methodology-link-grid strong{font-size:1rem}.methodology-link-grid small{color:var(--ink-3);line-height:1.4}.methodology-link-grid--toc{margin-bottom:1.2rem}.methodology-content{display:grid;gap:1rem}.methodology-section{scroll-margin-top:90px;padding:clamp(1.15rem,3vw,2rem);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.methodology-section-heading{margin-bottom:1.4rem;display:flex;align-items:center;gap:1rem}.methodology-section-heading>span{width:48px;height:48px;flex:0 0 auto;display:grid;place-items:center;border-radius:15px;background:var(--accent);color:white;font-size:.8rem;font-weight:850}.methodology-section-heading p{margin:0;color:var(--accent);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.methodology-section-heading h2{margin:.15rem 0 0;font-size:clamp(1.7rem,4vw,2.6rem);letter-spacing:-.045em}.methodology-copy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem}.methodology-copy-grid>div,.methodology-note{padding:1rem;border-radius:17px;background:var(--accent-soft)}.methodology-copy-grid h3,.methodology-note h3{margin-bottom:.4rem}.methodology-copy-grid p,.methodology-note p{margin:0;color:var(--ink-2);line-height:1.65}.methodology-subtitle{margin:1.6rem 0 .8rem}.methodology-scale-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.methodology-scale-grid article{padding:1rem;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.66)}.methodology-scale-grid code,.methodology-key-table code{display:block;color:var(--accent);font-size:.68rem;font-weight:800;letter-spacing:.06em}.methodology-scale-grid h3{margin:.45rem 0 .3rem}.methodology-scale-grid p{margin:0;color:var(--ink-2);font-size:.8rem;line-height:1.55}.methodology-scale-grid--readiness{grid-template-columns:repeat(4,minmax(0,1fr))}.methodology-response-scale{margin-bottom:.8rem;display:grid;grid-template-columns:repeat(6,1fr);gap:.45rem}.methodology-response-scale span{min-height:82px;padding:.6rem .4rem;display:grid;place-items:center;align-content:center;gap:.25rem;border:1px solid var(--line);border-radius:14px;text-align:center}.methodology-response-scale strong{color:var(--accent);font-size:1.1rem}.methodology-response-scale small{color:var(--ink-3);font-size:.66rem;line-height:1.25}.methodology-question-set{margin-top:.65rem;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.58);overflow:hidden}.methodology-question-set summary{padding:1rem;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;cursor:pointer}.methodology-question-set summary span{color:var(--accent);font-size:.7rem;font-weight:800;text-transform:uppercase}.methodology-question-set summary small{color:var(--ink-3)}.methodology-question-set ol{margin:0;padding:0 1rem 1rem 3.6rem}.methodology-question-set li{padding:.75rem .5rem;border-top:1px solid var(--line);color:var(--accent);font-weight:800}.methodology-question-set li span{color:var(--ink);font-weight:500;line-height:1.55}.methodology-note{margin:1rem 0;background:var(--accent-soft)}.methodology-key-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:17px}.methodology-key-table{width:100%;border-collapse:collapse;background:rgba(255,255,255,.6)}.methodology-key-table th,.methodology-key-table td{padding:.8rem 1rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.methodology-key-table th{color:var(--ink-3);font-size:.68rem;letter-spacing:.05em;text-transform:uppercase}.methodology-key-table tbody tr:last-child td{border-bottom:0}.methodology-key-table td:nth-child(2),.methodology-key-table td:nth-child(3){color:var(--ink-2)}
@media(max-width:980px){.methodology-link-grid{grid-template-columns:repeat(2,1fr)}.methodology-scale-grid--readiness{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.methodology-overview .section-head{align-items:flex-start;flex-direction:column}.methodology-link-grid,.methodology-copy-grid,.methodology-scale-grid,.methodology-scale-grid--readiness{grid-template-columns:1fr}.methodology-link-grid a{min-height:auto}.methodology-response-scale{grid-template-columns:repeat(2,1fr)}.methodology-question-set summary{grid-template-columns:1fr}.methodology-question-set summary small{display:none}.methodology-question-set ol{padding-left:2.8rem}}
@media(prefers-reduced-motion:reduce){.methodology-link-grid a{transition:none}}

/* Three-part instrument */
.profile-tab-list{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(170px,1fr)}
.diagnostic-scale--nine{grid-template-columns:repeat(9,minmax(0,1fr))}
.methodology-response-scale--nine{grid-template-columns:repeat(9,minmax(0,1fr))}
.diagnostic-scale--nine .diagnostic-choice{padding-inline:.2rem}.diagnostic-scale--nine .diagnostic-choice span{font-size:.57rem}
.study-workflow{margin:1rem 0;display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem}.study-workflow a{padding:.9rem;display:grid;gap:.25rem;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-decoration:none}.study-workflow span{color:var(--accent);font-size:.66rem;font-weight:850}.study-workflow small{color:var(--ink-3);line-height:1.35}
@media(max-width:850px){.diagnostic-scale--nine,.methodology-response-scale--nine{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.study-workflow{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.profile-tab-list{overflow-x:auto;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr)}.study-workflow{grid-template-columns:1fr}}

/* Legal documents */
.footer-legal{display:flex;flex-wrap:wrap;gap:.35rem 1rem}.footer-legal a,.auth-legal-note a,.legal-document a{color:var(--accent);font-weight:700}.auth-legal-note{margin:.9rem 0 0;color:var(--ink-3);font-size:.7rem;line-height:1.55}.legal-document{width:min(100%,980px);margin:0 auto 4rem}.legal-header{padding:clamp(1.4rem,4vw,2.7rem);border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,var(--solid),var(--accent-soft));box-shadow:var(--shadow)}.legal-header h1{max-width:850px;margin:.45rem 0 .8rem;font-size:clamp(2rem,5vw,4rem);letter-spacing:-.055em;line-height:1.03}.legal-header p{margin:0;color:var(--ink-2)}.legal-nav{margin:1rem 0;padding:.5rem;display:flex;flex-wrap:wrap;gap:.4rem;border:1px solid var(--line);border-radius:17px;background:var(--surface)}.legal-nav a{padding:.65rem .8rem;border-radius:12px;color:var(--ink-2);font-size:.78rem}.legal-nav a:hover{background:var(--accent-soft);color:var(--accent)}.legal-content{padding:clamp(1.3rem,4vw,3rem);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.legal-content h2{margin:2.5rem 0 .8rem;font-size:1.65rem;letter-spacing:-.03em}.legal-content h3{margin:1.9rem 0 .65rem;font-size:1.15rem;letter-spacing:-.02em}.legal-content h2:first-child,.legal-content h3:first-child{margin-top:0}.legal-content p,.legal-content li{color:var(--ink-2);font-size:.9rem;line-height:1.75}.legal-content p{margin:.65rem 0}.legal-content ul{margin:.5rem 0 1rem;padding-left:1.4rem}.legal-content li+li{margin-top:.35rem}.legal-consent-callout{margin-top:1.4rem!important;padding:1rem;border-radius:16px;background:var(--accent-soft);color:var(--ink)!important;font-weight:650}.legal-source{padding:1rem;color:var(--ink-3);font-size:.72rem}.legal-source p{margin:0}
@media(max-width:700px){.site-footer{align-items:flex-start;flex-direction:column}.footer-legal{flex-direction:column}.legal-nav{flex-direction:column}.legal-nav a{width:100%}.legal-content{padding:1.2rem}.legal-content p,.legal-content li{font-size:.84rem}}

/* Compact application rhythm */
.site-main{padding:clamp(1.8rem,3.5vw,3.2rem) 0 4rem}
.page-header,.form-page-header,.diagnostic-result-header,.diagnostic-take-header{margin-bottom:1.1rem;gap:1.25rem}
.page-header h1,.form-page-header h1,.diagnostic-result-header h1,.diagnostic-take-header h1{font-size:clamp(2.15rem,4.2vw,3.8rem);line-height:1}
.auth-layout{min-height:calc(100dvh - 210px);column-gap:clamp(2rem,5vw,4.5rem)}
.auth-context h1{max-width:680px;font-size:clamp(2.35rem,4.15vw,3.7rem);line-height:.99}
.auth-context>p{font-size:.94rem;line-height:1.5}
.auth-instrument li{min-height:72px}
.diagnostic-section{margin-top:1.6rem}
.diagnostic-card{min-height:205px}
.questionnaire-stage{min-height:390px}
.radar-layout{min-height:420px}
.methodology-section{padding:clamp(1.1rem,2.2vw,1.6rem)}
.methodology-section-heading{margin-bottom:1rem}
.methodology-section-heading h2{font-size:clamp(1.55rem,3vw,2.2rem)}
.methodology-subtitle{margin:1.2rem 0 .65rem}
.legal-document{margin-bottom:2.5rem}
.legal-header{padding:clamp(1.25rem,3vw,2rem)}
.legal-header h1{font-size:clamp(1.9rem,3.8vw,3.2rem)}
.legal-content{padding:clamp(1.2rem,3vw,2.2rem)}
.legal-content h2{margin-top:1.8rem}

@media(max-width:580px){
  .site-main{padding:1.25rem 0 3rem}
  .auth-layout{row-gap:1rem}
  .auth-context h1{font-size:clamp(2rem,9.5vw,2.7rem);line-height:1.01}
  .page-header h1,.form-page-header h1,.diagnostic-result-header h1,.diagnostic-take-header h1{font-size:clamp(2rem,10vw,2.8rem)}
  .diagnostic-section{margin-top:1.25rem}
  .questionnaire-stage{min-height:340px}
  .radar-layout{min-height:auto}
  .methodology-section-heading h2{font-size:1.8rem}
}

/* Dense application layout */
.site-main{padding:1.8rem 0 3.25rem}
.page-header,.form-page-header,.diagnostic-result-header,.diagnostic-take-header{align-items:flex-start;margin-bottom:.9rem;gap:1rem}
.page-header h1,.form-page-header h1,.diagnostic-result-header h1,.diagnostic-take-header h1{max-width:27ch;font-size:clamp(2rem,3vw,2.8rem);line-height:1.05;letter-spacing:-.045em}
.auth-context h1{font-size:clamp(2.15rem,3vw,2.9rem);line-height:1.04}
.diagnostic-section{margin-top:1.25rem}
.diagnostic-card{min-height:0}
.methodology-section{padding:1.25rem}
.methodology-section-heading h2{font-size:clamp(1.45rem,2vw,1.9rem)}
.legal-header h1{font-size:clamp(1.9rem,3vw,2.8rem)}

@media(min-width:1600px){
  .page-header h1,.form-page-header h1,.diagnostic-result-header h1,.diagnostic-take-header h1{font-size:2.8rem}
  .auth-context h1{font-size:2.9rem}
}

@media(max-width:580px){
  .site-main{padding:1.1rem 0 2.5rem}
  .page-header h1,.form-page-header h1,.diagnostic-result-header h1,.diagnostic-take-header h1{font-size:clamp(1.85rem,8vw,2.15rem)}
  .auth-context h1{font-size:clamp(1.9rem,8vw,2.15rem)}
}

