:root{--ink:#202b3c;--sub:#708095;--bg:#f6f8fb;--line:#e4e9f0;--blue:#315ad5;--pale:#f0f4ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,'Segoe UI',Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}.shell{min-height:100vh;display:flex}.sidebar{width:243px;background:#10223d;color:#d6e0f0;padding:28px 19px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;flex-shrink:0}.brand{display:flex;gap:12px;align-items:center;font-size:19px;font-weight:450;letter-spacing:-.7px}.brandmark{width:37px;height:37px;background:#4877e5;color:white;border-radius:12px;display:grid;place-items:center;font-size:28px}.brand small{display:block;font-size:10px;letter-spacing:.9px;color:#99aec9;margin-top:4px}.sidecap{font-size:10px;letter-spacing:2px;color:#859ab4;margin-top:55px;margin-bottom:15px;padding-left:13px}nav{display:grid;gap:6px}nav a{display:block;padding:13px;border-radius:9px;color:#b8c9e0;text-decoration:none}nav a:hover,nav .active{background:#263e62;color:#fff}.sidefoot{margin-top:auto;font-size:11px;color:#8398b0}.sidebox{background:#203653;color:#dce6f7;border-radius:12px;padding:15px;margin-bottom:22px}.sidebox p{font-size:12px;color:#9eb4d0;line-height:1.6;margin-bottom:0}main{flex:1;min-width:0}.top{height:67px;border-bottom:1px solid var(--line);background:white;display:flex;justify-content:space-between;align-items:center;padding:0 6.5%;font-size:11px;font-weight:700;letter-spacing:1.5px;color:#8997a9}.crumb span{padding:0 10px;color:#c6cfdb}.topright{letter-spacing:0;font-size:12px;font-weight:500;color:#71839c}.dot{display:inline-block;width:7px;height:7px;background:#64b69f;border-radius:100%;margin-right:7px}.mainspace{max-width:1050px;padding:45px 45px 100px;margin:auto}.eyebrow{color:#4a66c9;letter-spacing:2.2px;font-weight:800;font-size:10px;margin-bottom:11px}h1{font-size:42px;line-height:1.17;letter-spacing:-1.8px;margin:0 0 14px}h2{font-size:22px;letter-spacing:-.7px;margin:0 0 5px}h3{font-size:15px;margin:0 0 8px}.lede{color:#708095;font-size:16px;line-height:1.7;max-width:700px;margin:0}.steps{display:flex;flex-wrap:wrap;gap:15px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:34px 0 42px;padding:15px 0;color:#a5afbe;font-size:12px;font-weight:650}.steps span{padding-right:14px}.steps .selected{color:var(--blue)}.sectiontitle{display:flex;justify-content:space-between;align-items:start;gap:18px;margin:35px 0 17px}.sectiontitle p{color:var(--sub);margin:5px 0 0;line-height:1.5}.tag{background:#e9efff;color:#4965b9;border-radius:5px;padding:7px 9px;font-size:10px;font-weight:750;white-space:nowrap}.panel,.uploadcard{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 18px rgba(22,44,76,.025)}.panel{padding:23px;margin-bottom:16px}.fieldgrid,.uploadgrid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.uploadgrid{margin-bottom:16px}label{display:block;font-size:12px;font-weight:700;color:#42516a;margin:0 0 18px}label:last-child{margin-bottom:0}input:not([type=file]):not([type=checkbox]),select,textarea{width:100%;margin-top:9px;background:#fff;border:1px solid #dce3ee;border-radius:8px;padding:12px 13px;font-size:13px;font-family:inherit;color:#26364b;outline:none;transition:border .2s}input:focus,textarea:focus,select:focus{border-color:#5781e2!important;box-shadow:0 0 0 3px #e9efff}textarea{resize:vertical;line-height:1.6}.muted{font-weight:400;color:#98a5b7}.uploadcard{padding:23px}.uplabel{font-size:27px;color:#5071ce;margin-bottom:16px}.uploadcard p,.options p{color:var(--sub);font-size:12px;line-height:1.7;margin:0 0 16px}.uploadcard input{max-width:100%;font-size:12px;color:#61748e}.fileinfo{font-size:11px;color:#92a1b3;margin-top:14px;overflow-wrap:anywhere}.inlineactions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hint{font-size:11px;color:#96a2b2}.primary,.secondary{border:0;cursor:pointer;font-family:inherit;font-weight:700;border-radius:8px}.primary{padding:16px 22px;background:#315ad5;color:white;font-size:13px;box-shadow:0 6px 15px rgba(49,90,213,.16)}.primary:hover{background:#234bbd}.primary:disabled{opacity:.55;cursor:wait}.secondary{background:#eef2fa;color:#3e5a9c;padding:11px 15px;font-size:12px}.secondary:hover{background:#dfe7f8}.options{background:#f9fbff}.pw{margin:10px 0 18px}.check{display:flex;align-items:flex-start;gap:10px;font-weight:500;line-height:1.6}.check input{margin:4px 0}.actionbar{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:21px 0 40px}#status{color:#687d99;font-size:12px;line-height:1.6}.hidden{display:none}.report{border-top:1px solid var(--line);padding-top:20px}.reportcard{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:15px}.reportcard h3{font-size:17px;color:#22334c;margin-bottom:14px}.reportcard p,.reportcard li{line-height:1.75;color:#53647d}.reportcard ul{padding-left:20px}.reportcard li{margin-bottom:13px}.reportcard strong{color:#263a56}.reportcard small{color:#7a8ca5}.summarycard{background:#f0f4ff;border-color:#dce6ff}.mini{background:#f6f8fb;border:1px solid #e9edf4;padding:15px;border-radius:8px;margin:10px 0}.mini p{margin:7px 0}.confidence{display:inline-block;color:#5269a5;background:#edf1fc;border-radius:4px;padding:3px 7px;font-size:10px;text-transform:uppercase;margin-left:7px}.guide{margin-top:50px;border-top:1px solid var(--line);padding-top:25px}.guidegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:20px}.guidegrid>div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px}.guidegrid p,.smallprint{font-size:12px;color:#7a889d;line-height:1.7}.smallprint{margin-top:25px}button:focus-visible,a:focus-visible{outline:3px solid #83a6ff;outline-offset:2px}@media(max-width:860px){.sidebar{display:none}.top{padding:0 22px}.mainspace{padding:32px 20px 70px}h1{font-size:34px}.fieldgrid,.uploadgrid,.guidegrid{grid-template-columns:1fr}.sectiontitle,.actionbar{flex-direction:column}.steps{gap:8px}}@media print{.sidebar,.top,.steps,.uploadgrid,.panel,.actionbar,.guide,.report .secondary,.lede,.eyebrow:first-child{display:none!important}.mainspace{padding:0}.report{display:block}.reportcard{break-inside:avoid}body{background:#fff}}

/* v3.7 — debrief facilitator-first report layout */
.pearls-report,.reportcard:has(.inquiry-item){background:#fff}
.section-intro{margin:0 0 20px;color:#6c7c91;font-size:13px}
.pearls-phase{display:grid;grid-template-columns:45px minmax(0,1fr);gap:16px;padding:18px 0;border-top:1px solid #e8edf4}
.phase-number{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#eaf0ff;color:#315ad5;font-weight:800;font-size:12px}
.phase-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.phase-heading h4{font-size:15px;color:#172d4b;margin:0}.phase-time{font-size:10px;font-weight:800;color:#637b9e;background:#f1f5fb;border-radius:30px;padding:5px 9px;letter-spacing:.5px}
.phase-goal{color:#7b8798!important;font-size:12px;margin:8px 0!important}.phase-script{font-size:14px;line-height:1.85;color:#253c5b!important;margin:10px 0 0!important}
.prompt-list{margin:8px 0 0;padding:0 0 0 22px;display:grid;gap:9px}.prompt-list li{padding-left:5px;margin:0!important;color:#253c5b!important}
.facilitator-item,.inquiry-item{padding:20px!important;background:white!important;border:1px solid #e0e7f0!important;margin:13px 0!important;border-radius:12px!important}
.facilitator-item h4{margin:0 0 12px;color:#233b62;font-size:15px}.spoken-script{background:#edf4ff;border-left:3px solid #4267cf;padding:13px 16px;border-radius:5px;margin-bottom:15px}.spoken-script p{font-size:14px!important;color:#20385a!important;line-height:1.7;margin:8px 0 0!important}.script-label,.inquiry-label{font-size:10px;font-weight:800;letter-spacing:1px;color:#5879a7}
.inquiry-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.inquiry-time{font-size:11px;color:#486bad;background:#eef3ff;border-radius:7px;padding:6px 10px}.inquiry-eyebrow{font-size:10px;font-weight:800;color:#889bb0;letter-spacing:1px}
.inquiry-evidence,.inquiry-advocacy,.inquiry-question{padding:12px 15px;border-radius:8px;margin:10px 0}.inquiry-evidence{background:#f4f6f9}.inquiry-advocacy{background:#f7f7f3}.inquiry-question{background:#edf4ff;border-left:3px solid #315ad5}.inquiry-question p{font-weight:650;color:#18345a!important;font-size:14px}
.inquiry-evidence p,.inquiry-advocacy p,.inquiry-question p{margin:7px 0 0!important;line-height:1.6}.transcript-quote{font-style:italic;color:#60718b!important}
@media(max-width:600px){.pearls-phase{grid-template-columns:34px minmax(0,1fr);gap:9px}.phase-number{width:30px;height:30px}.facilitator-item,.inquiry-item{padding:14px!important}}
@media print{.pearls-phase,.inquiry-item,.facilitator-item{break-inside:avoid}.spoken-script,.inquiry-question{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.stageprogress{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px;margin-top:14px}.stage-entry{border:1px solid #dae1ed;background:#f8faff;border-radius:10px;padding:12px;display:flex;align-items:flex-start;flex-direction:column;gap:6px;font-size:13px}.stage-status{font-weight:650;color:#345b98}.stage-error{font-size:11px;color:#a52d40;overflow-wrap:anywhere}.stage-retry{font-size:12px;padding:6px 10px!important}.stage-entry button{margin-top:3px}#recoverypanel .inlineactions{margin-top:10px}

.modebar{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin:1rem 0;padding:.85rem 1rem;background:#f1f5fb;border:1px solid #dce5ef;border-radius:12px;font-weight:600;color:#173657}.modebar label{display:flex;align-items:center;gap:.3rem;font-size:.88rem;cursor:pointer}.modebar input{accent-color:#2f5fbc}.hidden{display:none!important}@media print {.modebar{display:none!important}#quickcontent.hidden,#reportcontent.hidden{display:none!important}}

/* v4.7: transcript-first, optional complexity hidden until needed */
.advanced-panel{margin:12px 0 16px;border:1px solid #dce4ee;border-radius:12px;background:#fff;overflow:hidden}
.advanced-panel>summary{padding:16px 20px;cursor:pointer;color:#314a6c;font-weight:700;font-size:13px;list-style:revert;background:#f8fafd}
.advanced-panel[open]>summary{border-bottom:1px solid #e5ebf2}
.advanced-panel>.panel,.advanced-panel>.uploadgrid{margin:12px;border:none;box-shadow:none}
.advanced-panel .panel{padding:16px}
#transcript{min-height:250px;font-size:13px;background:#fcfdff}
#stageprogress:empty{display:none}
.progress-title{display:block;margin:14px 0 4px}
@media(max-width:860px){.advanced-panel>.uploadgrid{display:grid;grid-template-columns:1fr}}

/* v4.7.1: quieter header and simplified landing area */
.brandmark{font-size:17px;font-weight:800;border-radius:10px}.brand small{letter-spacing:.2px;font-size:11px}.sidebar nav{margin-top:45px}.top{letter-spacing:0;padding-top:0;padding-bottom:0}.top-name{font-size:14px;font-weight:700;color:#283c5c}.mainspace{padding-top:36px}.mainspace>h1{font-size:35px;letter-spacing:-1.2px;margin-bottom:7px}.mainspace>.lede{font-size:14px;line-height:1.6;max-width:650px;margin-bottom:28px}.mainspace>.sectiontitle:first-of-type{margin-top:28px}@media(max-width:860px){.mainspace>h1{font-size:30px}}

/* v4.7.2: color-coded report sections and nicer segment styling */
.reportcard{position:relative;overflow:hidden}
.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid #edf1f6}
.section-head h3{margin:0;font-size:18px;line-height:1.35}
.section-kicker{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;background:#eef2fa;color:#536987;white-space:nowrap}
.title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:2px}
.inline-badge{margin-left:0;margin-top:7px}
.confidence{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;margin-left:8px;border:1px solid transparent}
.confidence.is-high{background:#eaf7ef;color:#1f7a42;border-color:#caead4}
.confidence.is-moderate{background:#fff6e8;color:#9a6515;border-color:#f6ddb2}
.confidence.is-low{background:#fff0f0;color:#b44545;border-color:#f3c9c9}
.confidence.is-neutral{background:#eef3ff;color:#4767ae;border-color:#d8e1fb}
.theme-summary{background:linear-gradient(180deg,#f1f5ff 0,#ffffff 100%);border-color:#dce6ff}
.theme-summary .section-kicker{background:#dfe8ff;color:#3f63c8}
.theme-timeline{border-top:4px solid #4f7cff}.theme-timeline .section-kicker{background:#ebf1ff;color:#416ac6}.theme-timeline .mini{background:#f8fbff;border-color:#dfe8ff}
.theme-clinical{border-top:4px solid #1ea6a8}.theme-clinical .section-kicker{background:#eaf8f8;color:#137c7e}.theme-clinical .mini{background:#f7fcfc;border-color:#d7efef}
.theme-strengths{border-top:4px solid #2fa36b}.theme-strengths .section-kicker{background:#ecf9f1;color:#1f7c4f}.theme-strengths .mini{background:#f8fcf9;border-color:#d7efdf}
.theme-moments{border-top:4px solid #ef9b24}.theme-moments .section-kicker{background:#fff5e8;color:#a86812}.theme-moments .mini{background:#fffbf6;border-color:#f7e4c7}
.theme-nts{border-top:4px solid #8a57d7}.theme-nts .section-kicker{background:#f3edff;color:#6a3db6}.theme-nts .mini{background:#fbf9ff;border-color:#e5dbfa}
.theme-priorities{border-top:4px solid #db5a6b}.theme-priorities .section-kicker{background:#fff0f3;color:#b14453}.theme-priorities .mini{background:#fff9fa;border-color:#f6d9df}
.theme-patterns{border-top:4px solid #5e76b4}.theme-patterns .section-kicker{background:#edf1fa;color:#45609d}.theme-patterns .mini{background:#f9fbff;border-color:#dfe6f5}
.theme-pearls{border-top:4px solid #4057d6}.theme-pearls .section-kicker{background:#edf1ff;color:#3349c1}
.theme-guide{border-top:4px solid #3b82b2}.theme-guide .section-kicker{background:#eef8fd;color:#2d6990}.theme-guide .mini{background:#f9fcff;border-color:#dcedf6}
.theme-inquiry{border-top:4px solid #0f94a6}.theme-inquiry .section-kicker{background:#ebfbfd;color:#117686}
.theme-actions{border-top:4px solid #2f9a78}.theme-actions .section-kicker{background:#ebf9f4;color:#207558}.theme-actions .mini{background:#f8fcfa;border-color:#d6eee5}
.theme-objectives{border-top:4px solid #4d70d9}.theme-objectives .section-kicker{background:#edf1ff;color:#3c58b9}.theme-objectives .mini{background:#f8faff;border-color:#dce4fb}
.theme-safety{border-top:4px solid #cc5565}.theme-safety .section-kicker{background:#fff1f3;color:#a33d4d}.theme-safety li{color:#6b3d44}
.theme-quick{border-top:4px solid #5d78d4}.theme-quick .section-kicker{background:#edf1ff;color:#445fbf}
.theme-limitations{border-top:4px solid #7e8795}.theme-limitations .section-kicker{background:#f1f3f6;color:#596273}
.theme-pearls .phase-number{background:#eef1ff;color:#3349c1}
.theme-pearls .phase-time{background:#eef2fb;color:#566f9f}
.theme-pearls .prompt-list li::marker{color:#4861d0}
.theme-guide .spoken-script{background:#eff8fc;border-left-color:#3b82b2}
.theme-inquiry .inquiry-question{background:#eefbfd;border-left-color:#0f94a6}
.theme-inquiry .inquiry-time{background:#edf9fc;color:#0b7484}
.theme-inquiry .inquiry-evidence{background:#f6fbfc}
.theme-inquiry .inquiry-advocacy{background:#f5faf8}
@media print{
  .theme-summary,.theme-timeline,.theme-clinical,.theme-strengths,.theme-moments,.theme-nts,.theme-priorities,.theme-patterns,.theme-pearls,.theme-guide,.theme-inquiry,.theme-actions,.theme-objectives,.theme-safety,.theme-quick,.theme-limitations{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* v4.7.2 polish: compact faculty guide, legible NTS cards, robust PDF printing */
.report{max-width:960px;margin:0 auto}
.reportcard{padding:23px 26px;margin-bottom:20px;box-shadow:0 3px 14px rgba(31,52,89,.035)}
.reportcard>.mini{position:relative;padding:17px 18px;border-radius:10px;margin:12px 0;border-left:3px solid var(--theme-accent,#c8d5e9)}
.reportcard .mini p{margin:9px 0;font-size:13px;line-height:1.65}
.reportcard .mini>strong,.reportcard .title-row strong{display:inline-block;color:#21314b;font-size:14px;font-weight:760;line-height:1.5}
.reportcard .mini strong{color:#334a67}
.reportcard .mini p strong{color:#2b3e5a}
.section-head{align-items:center;padding-bottom:14px;margin-bottom:18px}
.section-head h3{flex:1;font-size:18px;font-weight:760;letter-spacing:-.3px}
.section-kicker{order:2;margin-left:auto;letter-spacing:.65px}
.theme-timeline{--theme-accent:#4f7cff}
.theme-clinical{--theme-accent:#1ea6a8}
.theme-strengths{--theme-accent:#2fa36b}
.theme-moments{--theme-accent:#ef9b24}
.theme-nts{--theme-accent:#8a57d7}
.theme-priorities{--theme-accent:#db5a6b}
.theme-patterns{--theme-accent:#5e76b4}
.theme-guide{--theme-accent:#3b82b2}
.theme-inquiry{--theme-accent:#0f94a6}
.theme-actions{--theme-accent:#2f9a78}
.theme-objectives{--theme-accent:#4d70d9}
.evidence-note{font-size:10px;font-weight:650;color:#7357a6;background:#f2edfd;border-radius:999px;padding:4px 9px;letter-spacing:.2px}
.modebar{background:white;box-shadow:0 2px 12px rgba(30,51,83,.035);border-radius:12px;justify-content:flex-start;gap:18px}
.modebar>span{font-weight:750;color:#2c4363;margin-right:6px}
.modebar label{font-size:12px;font-weight:650;margin:0;white-space:nowrap}
#quickcontent .reportcard{padding:20px 24px;margin-bottom:14px}
#quickcontent .reportcard .mini{padding:14px 16px;margin:10px 0}
#quickcontent .reportcard p{line-height:1.6;margin:7px 0}
#quickcontent .reportcard .mini p{line-height:1.55}
#quickcontent .theme-quick{background:linear-gradient(145deg,#f2f6ff,#fff)}
.theme-pearls .pearls-phase{padding:15px 0}
.facilitator-item,.inquiry-item{margin:12px 0!important}
@media(max-width:600px){.reportcard{padding:16px}.section-head{flex-direction:column;align-items:start;gap:7px}.section-kicker{order:0;margin-left:0}.reportcard .mini{padding:13px}.modebar{gap:9px}.modebar>span{flex-basis:100%}}
@media print{
  @page {size:A4;margin:12mm 13mm}
  .mainspace{max-width:100%;padding:0!important;margin:0}
  .report{max-width:100%;margin:0;padding:0;border:0!important}
  .reportcard{break-inside:auto!important;page-break-inside:auto!important;box-shadow:none!important;padding:12px 15px;margin-bottom:12px;border:1px solid #dce4ec}
  .reportcard .mini{break-inside:avoid;page-break-inside:avoid;padding:10px 13px;margin:9px 0}
  .reportcard .mini p{font-size:11px;line-height:1.4;margin:5px 0}
  .reportcard p,.reportcard li{font-size:11px;line-height:1.45}
  .section-head{break-after:avoid;page-break-after:avoid;padding-bottom:6px;margin-bottom:10px}
  .section-head h3{font-size:15px}
  .reportcard h4{font-size:12px}
  .reportcard .mini>strong,.reportcard .title-row strong{font-size:12px}
  .reportcard .mini .confidence{font-size:9px}
  .pearls-phase{break-inside:avoid;page-break-inside:avoid}
  #report{display:block!important}
  .modebar{display:none!important}
  #quickcontent.hidden,#reportcontent.hidden{display:none!important}
}

/* v4.7.3 — formal report headings and report-only PDF printing */
.print-only{display:none}
@page{size:A4;margin:12mm 13mm 14mm}
@media print{
  html,body,.shell,main,.mainspace{height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important}
  .sidebar,.top{display:none!important}
  .mainspace{max-width:none!important;width:100%!important}
  /* The report is nested inside the setup page; hide everything except the report. */
  .mainspace > :not(#report){display:none!important}
  #report{display:block!important;border:0!important;padding:0!important;margin:0!important;width:100%!important}
  #report > .sectiontitle,#report > .modebar{display:none!important}
  .print-only{display:block!important}
  .print-heading{margin:0 0 14px!important;padding:0 0 10px!important;border-bottom:2px solid #dce4f2}
  .print-heading h1{font-size:22px!important;font-weight:800!important;letter-spacing:-.5px!important;margin:0 0 4px!important;color:#23334c!important}
  .print-heading p{font-size:11px!important;color:#62758b!important;margin:0!important;font-weight:650}
  .reportcard{break-inside:auto!important;page-break-inside:auto!important;padding:15px!important;margin:0 0 12px!important;overflow:visible!important;box-shadow:none!important}
  .reportcard .mini{break-inside:auto!important;page-break-inside:auto!important;padding:12px!important;margin:8px 0!important}
  .pearls-phase,.inquiry-item,.facilitator-item{break-inside:auto!important;page-break-inside:auto!important}
  .section-head,.reportcard h3,.reportcard h4,.title-row,.inquiry-meta{break-after:avoid!important;page-break-after:avoid!important}
  .reportcard p,.reportcard li{orphans:3;widows:3;line-height:1.5!important}
  .section-head{margin-bottom:10px!important;padding-bottom:7px!important}
  .section-head h3{font-size:15px!important}
  .section-kicker{font-size:9px!important}
  .confidence,.phase-number,.phase-time,.reportcard,.mini{print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}
  #quickcontent.hidden,#reportcontent.hidden{display:none!important}
}

/* v4.7.9 focused faculty report: avoid excessive PDF whitespace; maintain screen spacing. */
@media print{
 #reportcontent .reportcard{padding:13px 16px;margin-bottom:9px;}
 #reportcontent .section-head{padding-bottom:7px;margin-bottom:9px;}
 #reportcontent .reportcard>.mini{padding:9px 12px;margin:6px 0;}
 #reportcontent .reportcard .mini p{font-size:11px;line-height:1.43;margin:5px 0;}
 #reportcontent .reportcard h3{font-size:15px;}
 #reportcontent .inquiry-evidence,#reportcontent .inquiry-advocacy,#reportcontent .inquiry-question{padding:8px 11px;margin:7px 0;}
}

/* Local diagnostic panel: never included in printed faculty report */
.evidence-audit{margin:12px 0 16px}.evidence-audit[hidden]{display:none!important}
@media print{.evidence-audit{display:none!important}}
/* v4.8.4 — design-only refresh; existing IDs and interactions are preserved. */
:root{
  --ink:#18283d;--sub:#65758b;--bg:#f4f7fb;--line:#dfe7f0;
  --blue:#305bc7;--pale:#f1f5ff;--surface:#ffffff;
  --shadow:0 7px 26px rgba(21,41,72,.045);
}
html{scroll-padding-top:22px}
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
.sidebar{width:252px;padding:28px 17px;background:linear-gradient(165deg,#152942 0%,#102039 100%);border-right:1px solid #20344e}
.brand{padding:0 9px 22px;gap:11px;font-size:17px;font-weight:600;letter-spacing:-.35px}
.brand strong{font-weight:760}
.brandmark{width:40px;height:40px;flex:0 0 40px;background:#ecf2ff;color:#264caa;border-radius:12px;
  font-size:23px;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.brand small{font-size:10px;letter-spacing:.3px;text-transform:none;line-height:1.45;color:#a5bad0}
.sidebar nav{margin-top:15px;gap:6px}
.sidebar nav a{font-size:13px;font-weight:620;border-radius:10px;padding:12px 14px;transition:background .2s,color .2s}
.sidebar nav a:hover,.sidebar nav a.active{background:#263d59;color:#fff}
.sidefoot{padding:15px 10px;border-top:1px solid #2b415c;letter-spacing:.2px}
.top{height:62px;padding:0 clamp(24px,5vw,72px);letter-spacing:.2px;color:#4f6280;font-size:12px}
.top-name{font-size:13px;font-weight:760;color:#203452;letter-spacing:0}
.topright{font-size:12px}
.mainspace{max-width:1050px;padding:40px clamp(20px,4vw,48px) 92px}
h1{font-size:clamp(30px,4vw,40px);font-weight:800;letter-spacing:-1.2px;margin-bottom:10px;color:#142a46}
h2{font-size:21px;font-weight:750;letter-spacing:-.55px;color:#1e314a}
h3{font-size:15px;font-weight:750;color:#203653}
.lede{font-size:15px;line-height:1.75;color:#6b7d92;max-width:730px;margin-bottom:28px}
.sectiontitle{margin:30px 0 13px;align-items:center}
.sectiontitle p{font-size:12.5px;line-height:1.65;color:#71839a}
.tag{background:#e9effe;color:#3d5ca5;border:1px solid #dee8fd;border-radius:999px;
  letter-spacing:.8px;padding:5px 11px;font-size:10px;font-weight:800}
.panel,.uploadcard{border:1px solid #e0e7ef;border-radius:15px;box-shadow:var(--shadow)}
.panel{padding:24px 26px;margin-bottom:16px}
.panel>h3{font-size:16px;margin-bottom:8px}
.fieldgrid,.uploadgrid{gap:18px}
label{font-size:12px;font-weight:730;color:#334861;letter-spacing:.05px;margin-bottom:18px}
label .muted{font-weight:450}
input:not([type=file]):not([type=checkbox]),select,textarea{
  border:1px solid #d7e0ec;border-radius:10px;background:#fff;color:#1b3049;
  padding:12px 14px;font-size:13px;line-height:1.6;margin-top:8px;
  transition:border-color .15s,box-shadow .15s;background-color .15s;
}
input::placeholder,textarea::placeholder{color:#91a0b2;opacity:1}
input:focus,textarea:focus,select:focus{border-color:#5b81d7!important;box-shadow:0 0 0 3px rgba(62,103,201,.12)!important}
textarea{min-height:82px}
#transcript{min-height:230px}
#groqcustomprompt{min-height:150px}
#aimodel{font-weight:600}
button{transition:background-color .16s,transform .15s,box-shadow .16s}
button:active:not(:disabled){transform:translateY(1px)}
.primary{border-radius:10px;padding:14px 24px;font-size:13px;font-weight:760;background:#315dcc;
  box-shadow:0 7px 18px rgba(49,93,204,.18)}
.primary:hover{background:#254eae;box-shadow:0 10px 22px rgba(49,93,204,.22)}
.secondary{border-radius:9px;border:1px solid #e0e7f2;background:#f0f4fb;color:#36568d;font-size:12px;font-weight:700;padding:10px 14px}
.secondary:hover{background:#e5edfa;border-color:#cfdbed}
.hint{font-size:11.5px;line-height:1.65;color:#8292a6}
.muted{color:#74859b}
.inlineactions{row-gap:10px}
.advanced-panel{margin:14px 0 16px;border-color:#e0e7ef;border-radius:13px;box-shadow:0 3px 10px rgba(23,45,79,.02)}
.advanced-panel>summary{font-size:13px;padding:17px 20px;font-weight:680;background:#fbfcfe;color:#314765;line-height:1.6}
.advanced-panel>summary:hover{background:#f2f6fc}
.advanced-panel[open]>summary{background:#f4f7fc}
.advanced-panel>.panel{padding:19px 20px}
.subtle-summary{font-weight:450;color:#8091a8}
.options{background:#fbfcfe}
.options p{font-size:12px;line-height:1.8}
.check{font-weight:500}
.analysis-progress-heading{margin-top:28px;margin-bottom:7px;display:flex;justify-content:space-between;align-items:center;gap:14px}
.analysis-progress-heading h3{margin:0;font-size:15px;font-weight:760}
.analysis-progress-heading .progress-title{margin:0;font-size:11.5px;text-align:right}
.stageprogress{grid-template-columns:repeat(auto-fit,minmax(188px,1fr));gap:10px;margin-top:12px}
.stage-entry{padding:14px 15px;min-height:74px;border-radius:12px;border-color:#e1e8f2;background:#fff;box-shadow:0 2px 9px rgba(19,41,75,.025);gap:5px}
.stage-status{font-size:12px;color:#385f9e}
.stage-error{font-size:11.5px;line-height:1.6}
.actionbar{padding:20px 0 30px;border-bottom:1px solid #e1e8f1}
#status{font-size:12px;color:#627994}
.audit-disclosure{background:#fff}
.audit-disclosure .evidence-audit{margin:12px!important;box-shadow:none;background:#fff}
.evidence-audit h3{margin-bottom:8px}
.report{padding-top:10px;max-width:950px}
.report>.sectiontitle{margin:28px 0 18px}
.modebar{background:#fff;border:1px solid #dfe7f1;padding:12px 16px;gap:18px}
.modebar>span{font-size:12px}
.modebar label{font-size:12px}
.reportcard{padding:23px 26px;margin-bottom:16px;border-color:#e0e7f0;border-radius:14px;box-shadow:var(--shadow)}
.reportcard h3,.section-head h3{font-size:17px;color:#1a314c;letter-spacing:-.3px;line-height:1.4}
.section-head{margin-bottom:15px;padding-bottom:12px}
.section-kicker{font-size:10px;letter-spacing:.6px}
.reportcard p,.reportcard li{color:#485d74;line-height:1.68}
.reportcard>.mini{padding:15px 17px;margin:10px 0;border-radius:10px;border-color:#e0e7ef}
.reportcard .mini p{font-size:12.5px;line-height:1.7;margin:7px 0}
.reportcard .mini>strong,.reportcard .title-row strong{font-size:13.5px;letter-spacing:-.1px}
.reportcard strong{font-weight:740}
.inquiry-evidence,.inquiry-advocacy,.inquiry-question{padding:12px 15px;margin:9px 0}
.inquiry-question p{font-size:13.5px;line-height:1.65}
.inquiry-label{font-size:10px;letter-spacing:.6px}
.inquiry-eyebrow{font-size:10px;letter-spacing:.65px}
.confidence{font-size:10px;letter-spacing:.45px}
.guide{margin-top:45px}
.guide h2{font-size:19px}
.guidegrid>div{padding:17px 18px;box-shadow:var(--shadow)}
.guidegrid strong{color:#29405e}
.smallprint{line-height:1.8}
@media(max-width:960px){
  .sidebar{width:215px}
  .mainspace{padding:34px 27px 65px}
  .panel{padding:21px}
}
@media(max-width:860px){
  .sidebar{display:none}
  .top{padding:0 22px;height:58px}
  .mainspace{max-width:730px;padding:26px 18px 72px}
  .sectiontitle{flex-direction:row;align-items:start}
  .actionbar{flex-direction:column;align-items:stretch}
  .actionbar .primary{width:100%}
}
@media(max-width:600px){
  .mainspace{padding:23px 15px 60px}
  h1{font-size:31px}
  h2{font-size:19px}
  .lede{font-size:14px;margin-bottom:24px}
  .topright{display:none}
  .panel{padding:17px 16px}
  .sectiontitle{gap:9px}
  .sectiontitle p{font-size:12px}
  .tag{padding:4px 8px;font-size:9px}
  .analysis-progress-heading{align-items:start;flex-direction:column;gap:3px}
  .analysis-progress-heading .progress-title{text-align:left}
  .stageprogress{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .stage-entry{padding:11px;min-height:72px;font-size:12px;overflow-wrap:anywhere}
  .inlineactions{align-items:stretch}
  .inlineactions button{max-width:100%}
  .reportcard{padding:17px 15px}
  .reportcard>.mini{padding:13px 13px}
  .section-head{align-items:start;gap:8px}
  .modebar{align-items:start}
  .modebar label{white-space:normal}
  .guidegrid{grid-template-columns:1fr}
}
@media(max-width:360px){.stageprogress{grid-template-columns:1fr}}
@media print{
  body{font-size:11px!important;background:#fff!important}
  .reportcard{box-shadow:none!important;border-radius:8px!important;margin:0 0 9px!important;padding:12px 14px!important}
  .reportcard>.mini{margin:7px 0!important;padding:9px 11px!important}
  .section-head{padding-bottom:7px!important;margin-bottom:9px!important}
  .section-head h3{font-size:15px!important}
  .reportcard p,.reportcard li{line-height:1.46!important}
  .reportcard .mini p{font-size:11px!important;line-height:1.46!important;margin:4px 0!important}
  .reportcard .mini>strong,.reportcard .title-row strong{font-size:12px!important}
  .inquiry-item{padding:10px!important}
}

/* ==============================================================
   v4.8.5 — STUDIO EDITION / creative clinical workspace
   Presentation only. Never hides inputs, stage controls or reports.
   ============================================================== */
:root{
 --ink:#14263c;--sub:#5b7088;--bg:#f4f7f9;--line:#dee7ec;
 --blue:#216d81;--pale:#e7f7f5;
 --studio-navy:#0c2133;--studio-teal:#09a89c;--studio-mint:#baf5de;
 --studio-shadow:0 10px 28px rgba(18,47,67,.045);
}
body{font-family:Inter,'Aptos','Segoe UI',system-ui,sans-serif;background:radial-gradient(circle at 81% 2%,#e5f7f2 0,transparent 33%),#f4f7f9;color:var(--ink);font-size:14px}
.sidebar{width:257px;background:linear-gradient(158deg,#081c2e 0%,#102c3d 59%,#153c45 100%);border-right:1px solid rgba(255,255,255,.07);padding:27px 20px 25px}
.brand{gap:11px;letter-spacing:-.45px;font-size:16px;font-weight:700;color:#fff;align-items:center;margin-bottom:35px}
.brandmark{width:45px;height:45px;min-width:45px;border-radius:15px;background:linear-gradient(145deg,#51e6c2,#11bbaa 59%,#078b9c);color:#063d44;font-size:27px;box-shadow:0 8px 22px rgba(7,168,156,.24)}
.brand strong{font-weight:800;letter-spacing:-.5px}
.brand small{letter-spacing:1.35px;font-size:8.5px;color:#86abb4;font-weight:800;margin-top:7px}
.sidebar nav{gap:9px}
.sidebar nav a{display:flex;align-items:center;gap:13px;padding:12px 11px;border-radius:13px;font-size:12.5px;font-weight:650;color:#b2c7d0;transition:background .15s,color .15s,transform .15s}
.sidebar nav a:hover{background:rgba(255,255,255,.08);color:white;transform:translateX(2px)}
.sidebar nav a.active{background:linear-gradient(90deg,rgba(13,183,161,.20),rgba(10,175,163,.055));color:#d8fff2;box-shadow:inset 3px 0 0 #44dbbb}
.nav-number{font-size:10px;letter-spacing:.5px;border:1px solid rgba(205,234,231,.2);color:#8eafbc;border-radius:8px;min-width:30px;height:30px;display:inline-grid;place-items:center;font-weight:750}
nav a.active .nav-number{border-color:rgba(94,226,197,.45);color:#73e8c9;background:rgba(40,202,172,.09)}
.sidebar-insight{margin-top:auto;margin-bottom:22px;background:linear-gradient(140deg,rgba(21,179,158,.18),rgba(128,177,197,.08));border:1px solid rgba(111,221,205,.2);border-radius:19px;padding:20px 18px;color:#effff9;position:relative;overflow:hidden}
.sidebar-insight:after{content:'✳';position:absolute;right:-13px;top:-32px;color:rgba(105,245,196,.08);font-size:100px}
.sidebar-insight .insight-symbol{font-size:25px;display:block;color:#68e9c6;margin-bottom:13px}
.sidebar-insight strong{display:block;font-size:13px;line-height:1.4;position:relative;z-index:1}
.sidebar-insight p{font-size:11.3px;color:#aac8cb;line-height:1.65;margin:8px 0 14px;position:relative;z-index:1}
.insight-foot{font-size:9px;letter-spacing:.4px;color:#60bbaa;font-weight:700}
.sidebar .sidefoot{margin:0;color:#739ba5;font-size:9px;font-weight:800;letter-spacing:.8px}
main{background:transparent}
.top{height:72px;padding:0 clamp(24px,4vw,58px);background:rgba(255,255,255,.73);backdrop-filter:blur(18px);border-bottom:1px solid #deeaeb;letter-spacing:0;color:#526b7f}
.breadcrumb{display:flex;align-items:center;gap:11px;font-size:11px;letter-spacing:1.15px;font-weight:760}
.breadcrumb strong{font-size:12px;letter-spacing:.1px;color:#183b4b}
.crumbslash{color:#aabec7}
.topright{font-size:11px;letter-spacing:.1px;color:#698491}
.live-dot{width:8px;height:8px;border-radius:50%;background:#22bca3;box-shadow:0 0 0 4px #dbf7f0;display:inline-block;margin-right:8px}
.mainspace{max-width:1175px;padding:38px clamp(25px,4vw,64px) 100px}
.hero{background:linear-gradient(113deg,#0e273a 0%,#103948 63%,#12685e 100%);color:#fff;min-height:311px;border-radius:28px;position:relative;overflow:hidden;padding:39px clamp(25px,4vw,47px);box-shadow:0 24px 48px rgba(18,53,62,.16);display:flex;align-items:center}
.hero:before{content:'';position:absolute;left:-85px;bottom:-210px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(72,222,184,.12),transparent 69%)}
.hero-copy{max-width:650px;position:relative;z-index:3;width:70%}
.hero-eyebrow{font-size:10px;letter-spacing:2.4px;color:#87e5d0;font-weight:850;display:flex;align-items:center;gap:10px;margin-bottom:20px}
.eyebrow-pulse{width:9px;height:9px;border-radius:50%;background:#65e7be;box-shadow:0 0 0 5px rgba(101,231,190,.16)}
.hero h1{color:white;font-weight:800;font-size:clamp(34px,4vw,50px);letter-spacing:-2.15px;line-height:1.11;margin-bottom:17px}
.hero h1 em{font-style:normal;color:#7ae8c8}
.hero .lede{color:#b3ccd0;font-size:13.5px;line-height:1.72;max-width:560px;margin:0}
.hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:25px}
.hero-chips span{padding:7px 11px;color:#c8e8e4;background:rgba(255,255,255,.08);border:1px solid rgba(206,255,241,.13);font-size:10px;font-weight:650;border-radius:100px}
.hero-art{position:absolute;top:0;bottom:0;right:0;width:43%;pointer-events:none;overflow:hidden}
.art-ring{position:absolute;border:1px solid rgba(123,245,205,.21);border-radius:50%;top:50%;left:54%;transform:translate(-50%,-50%)}
.ring-one{width:245px;height:245px}.ring-two{width:335px;height:335px;border-color:rgba(126,227,205,.11)}
.art-pulse{position:absolute;top:50%;left:54%;transform:translate(-50%,-50%);height:195px;width:195px;background:radial-gradient(circle,rgba(69,247,190,.23),rgba(73,193,187,.05) 63%,transparent 70%);border-radius:50%}
.art-center{position:absolute;left:54%;top:50%;transform:translate(-50%,-50%);height:132px;width:132px;background:linear-gradient(145deg,#1cbda8,#0b657a);border:1px solid rgba(187,255,233,.32);border-radius:38px;box-shadow:0 20px 48px rgba(4,33,42,.25),inset 0 0 28px rgba(136,255,209,.12);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}
.art-center .art-star{font-size:55px;line-height:1;color:#cfffe4}.art-center span:last-child{font-size:9px;font-weight:850;letter-spacing:3.5px;color:#e6fff4}
.art-floating{position:absolute;background:rgba(234,255,248,.14);border:1px solid rgba(185,250,230,.23);backdrop-filter:blur(9px);border-radius:13px;padding:11px 14px;color:#e3fff8;font-size:9px;letter-spacing:1.3px;line-height:1.5;font-weight:750;box-shadow:0 10px 35px rgba(4,21,33,.15)}
.art-floating b{font-size:20px;color:#79ffcd;position:absolute;right:13px;top:15px}.float-one{width:140px;left:3%;top:16%}.float-two{width:142px;right:3%;bottom:16%}
.art-orbit{position:absolute;width:12px;height:12px;background:#83f9d2;border:3px solid #155a64;border-radius:50%;box-shadow:0 0 0 5px rgba(81,240,201,.14)}.dot-a{left:18%;bottom:23%}.dot-b{right:13%;top:23%}
.work-path{display:flex;align-items:center;gap:14px;padding:22px 8px 9px;color:#8398a5;font-size:11px;font-weight:720;letter-spacing:.1px}
.work-path>div{display:flex;align-items:center;gap:8px;white-space:nowrap}.work-path i{height:1px;flex:1;background:linear-gradient(90deg,#bdd2d6,#e3ecee)}
.path-index{width:26px;height:26px;display:inline-grid;place-items:center;border:1px solid #d3e6e5;background:#eaf9f4;color:#218d80;border-radius:9px;font-size:10px;font-weight:900}
.sectiontitle{margin:32px 0 15px;align-items:center}
.sectiontitle h2{font-size:22px;letter-spacing:-.65px;color:#163344;font-weight:820}
.sectiontitle p{font-size:12px;color:#8296a1}
.tag{color:#12867d;background:#e5f5ef;border:1px solid #d0ede3;border-radius:9px;font-size:10px;padding:8px 12px;letter-spacing:1px}
.panel,.uploadcard{border:1px solid #e0e9e9;background:#fff;border-radius:20px;box-shadow:var(--studio-shadow)}
.panel{padding:29px 30px;margin-bottom:16px}
.panel h3{font-size:15px;color:#203d4f;font-weight:800}
label{color:#3d5666;font-size:12px;font-weight:735}
input:not([type=file]):not([type=checkbox]),select,textarea{background:#fbfdfd;border:1px solid #d8e6e7;border-radius:12px;padding:13px 15px;font-size:13px;color:#17364a}
input:not([type=file]):not([type=checkbox]):hover,select:hover,textarea:hover{border-color:#9bcac5}
input:focus,textarea:focus,select:focus{border-color:#19ab9e!important;box-shadow:0 0 0 4px rgba(37,184,161,.13)!important}
input::placeholder,textarea::placeholder{color:#93a8ad}
textarea{line-height:1.7}
#transcript{background:linear-gradient(180deg,#fafefe,#fff);min-height:235px}
.primary{background:linear-gradient(120deg,#04897e,#0ab5a0);border-radius:13px;padding:16px 26px;font-size:13px;box-shadow:0 12px 24px rgba(8,146,130,.22);color:#fff}
.primary:hover{background:linear-gradient(120deg,#057d75,#009a8e);box-shadow:0 16px 24px rgba(8,146,130,.27)}
.secondary{border:1px solid #d6e9e7;border-radius:11px;background:#edf7f6;color:#18766f;font-weight:750}
.secondary:hover{background:#dff2ee;border-color:#b7deda}
.advanced-panel{background:#fff;border:1px solid #dce8e9;border-radius:16px;box-shadow:0 4px 18px rgba(17,58,70,.025)}
.advanced-panel>summary{font-size:12.7px;color:#285462;background:#fff;padding:17px 20px;font-weight:760}
.advanced-panel>summary:hover,.advanced-panel[open]>summary{background:#f4fbf9}
.privacy-ribbon{display:flex;align-items:center;gap:15px;background:linear-gradient(105deg,#ecf9f5,#f6fcf9);border:1px solid #d2eae2;padding:17px 19px;border-radius:16px;margin:19px 0 12px}
.privacy-ribbon-icon{font-size:27px;color:#0c998c;line-height:1}.privacy-ribbon strong{font-size:12px;color:#215b54}.privacy-ribbon p{font-size:11px;color:#72938c;margin:4px 0 0}.privacy-lock{margin-left:auto;font-size:10px;color:#759f95;font-weight:700}
.privacy-disclosure{margin-top:9px}.privacy-lead{font-size:12px;color:#637e85;padding:0 20px;line-height:1.6}.privacy-interior{padding:10px 20px 19px}.privacy-interior p{color:#728998;font-size:11px;line-height:1.7}
.privacy-interior .pw{margin:14px 0 0}.privacy-interior input{background:#fff}
.stageprogress{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.analysis-progress-heading{margin-top:33px}
.analysis-progress-heading h3{font-size:16px;color:#163746}
.stage-entry{border:1px solid #dce9e7;background:linear-gradient(145deg,#fff,#f8fcfb);border-radius:14px;min-height:77px;padding:16px 17px;box-shadow:0 3px 13px rgba(20,53,65,.024)}
.stage-status{color:#139385;font-size:12px;font-weight:775}
.stage-error{color:#bf4a4f}
.actionbar{border:1px solid #daebe7;background:#fff;padding:18px 20px;margin:23px 0 30px;border-radius:18px;box-shadow:0 10px 24px rgba(14,48,61,.035)}
.actionbar .primary{white-space:nowrap}
#status{color:#6a8791}
.report{max-width:100%}
.reportcard{border-color:#dfe9e9;box-shadow:var(--studio-shadow);border-radius:17px}
.reportcard h3,.section-head h3{color:#173d47}
.reportcard p,.reportcard li{color:#47616c}
.reportcard .mini{border-radius:13px;border-color:#e1eaed}
.inquiry-question{background:#e5f8f3!important;border-left-color:#08a58f!important}
.inquiry-question p{color:#0c524b!important}
.modebar{border-radius:13px;border-color:#dbeae7;background:#fafdfe}
.guide{margin-top:46px}
.guidegrid>div{border:1px solid #ddebe8;border-radius:17px;box-shadow:var(--studio-shadow);padding:23px}
.guidegrid strong{color:#125d5b}
@media(max-width:1050px){.hero-copy{width:75%}.art-floating{display:none}.hero-art{opacity:.7}}
@media(max-width:860px){
 .top{padding:0 18px;height:58px}
 .mainspace{padding:25px 18px 75px}
 .hero{min-height:280px;border-radius:22px;padding:28px 30px}
 .hero-copy{width:85%}.hero-art{right:-95px;opacity:.5}
 .work-path{gap:6px}.work-path>div{gap:5px;font-size:10px}
 .stageprogress{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .mainspace{padding:15px 13px 65px}
 .hero{min-height:0;border-radius:21px;padding:30px 24px 27px}
 .hero-copy{width:100%;max-width:100%}
 .hero h1{font-size:34px;line-height:1.14;letter-spacing:-1.5px}
 .hero .lede{font-size:12.5px;line-height:1.7}
 .hero-art{opacity:.12;right:-132px;width:90%}
 .hero-eyebrow{font-size:9px;letter-spacing:1.8px}
 .hero-chips{margin-top:22px;gap:6px}.hero-chips span{font-size:9px;padding:6px 8px}
 .work-path{margin:6px 0 14px;padding:11px 0 0;gap:4px;overflow-x:auto}
 .work-path>div{gap:4px;font-size:9px}.path-index{width:22px;height:22px;min-width:22px;font-size:9px;border-radius:7px}
 .work-path i{min-width:9px}
 .sectiontitle{margin:26px 0 12px}.sectiontitle h2{font-size:19px}
 .sectiontitle p{font-size:11.2px}
 .tag{font-size:9px;padding:6px 8px;letter-spacing:.35px}
 .panel{padding:18px 16px;border-radius:15px}
 .privacy-ribbon{padding:13px 12px;gap:9px}.privacy-lock{display:none}
 .stage-entry{min-height:72px;padding:11px}
 .actionbar{padding:15px 13px;gap:11px}.actionbar .primary{width:100%}
 .guidegrid>div{padding:18px}
 .topright .top-mode{display:none}
}
@media(max-width:365px){.work-path>div{font-size:8px}.hero h1{font-size:31px}}
/* Print should contain ONLY the generated report, not decorative website branding. */
@media print{
 .hero,.work-path,.privacy-ribbon,.privacy-disclosure,.sidebar-insight,.breadcrumb,.sidebar,.top,.guide{display:none!important}
 .mainspace{padding:0!important;margin:0!important;max-width:100%!important}
 .reportcard{box-shadow:none!important;background:#fff!important}
 .actionbar,.advanced-panel,.stageprogress,.analysis-progress-heading{display:none!important}
 .report{border:0!important}
}
/* Compact, finger-friendly workspace navigation for iPhone. */
.mobile-dock{display:none}
@media(max-width:860px){
 .mobile-dock{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;justify-content:space-around;align-items:center;gap:2px;padding:8px max(8px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right));background:rgba(250,255,252,.96);backdrop-filter:blur(15px);border-top:1px solid #d8ebe6;box-shadow:0 -12px 28px rgba(19,62,64,.075)}
 .mobile-dock a{display:flex;flex:1;align-items:center;flex-direction:column;gap:3px;text-decoration:none;border-radius:10px;font-size:10px;font-weight:770;color:#6c8385;padding:4px 2px}
 .mobile-dock a span{font-size:19px;line-height:1.2;color:#088e84}
 .mobile-dock a:focus-visible,.mobile-dock a:hover{background:#e8f8f3;color:#156e67}
 .mainspace{padding-bottom:115px}
}
@media print{.mobile-dock{display:none!important}}

/* v4.8.6 — Editorial Motion: crafted interactions without decorative SaaS gradients */
:root{--editorial-ink:#18343d;--editorial-accent:#bd694f;--editorial-paper:#f7f6f2;--editorial-line:#e5e6e0}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{background:#f7f6f2}
.sidebar{background:#17323b!important}
.brandmark{background:#d8e6df!important;color:#17323b!important;border-radius:10px!important}
.sidebar-insight{background:transparent!important;border-top:1px solid rgba(255,255,255,.14)!important;border-bottom:1px solid rgba(255,255,255,.14)!important;border-radius:0!important}
.sidebar-insight .insight-symbol{color:#e6b08c}
.editorial-hero{display:block!important;min-height:365px!important;padding:0!important;background:#eaece5!important;border:1px solid #dce1d8!important;border-radius:18px!important;color:var(--editorial-ink)!important;box-shadow:none!important;overflow:hidden;position:relative}
.editorial-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#9baaa0 0.6px,transparent .6px);background-size:20px 20px;opacity:.19;pointer-events:none}
.editorial-topline{position:relative;z-index:2;display:flex;align-items:center;gap:14px;padding:22px 29px 0;font-size:9px;font-weight:800;letter-spacing:1.6px;color:#657b78}
.editorial-index{font-weight:900;color:#a35d48;white-space:nowrap}.editorial-rule{height:1px;flex:1;background:#c8d3ca}
.editorial-content{position:relative;z-index:2;display:grid;grid-template-columns:1.2fr .8fr;min-height:295px;align-items:center}
.editorial-copy{padding:26px 12px 33px 43px}
.editorial-kicker{font-size:11px;color:#a35d48;font-weight:750;letter-spacing:.7px;margin:0 0 13px}
.editorial-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(40px,4.3vw,66px);font-weight:500;line-height:1.05;letter-spacing:-2.5px;color:#193943;margin:0 0 17px}
.editorial-hero h1 em{font-style:italic;color:#a85e48;font-weight:400}
.editorial-hero .lede{font-size:12.7px;line-height:1.75;color:#536b6b;max-width:450px;margin:0 0 22px}
.editorial-link{display:inline-flex;align-items:center;gap:18px;font-size:12px;font-weight:800;color:#224b4b;text-decoration:none;border-bottom:1px solid #9aaea5;padding-bottom:7px;transition:gap .25s,border-color .25s,color .25s}
.editorial-link:hover{gap:27px;color:#ad6049;border-color:#ad6049}
.editorial-art{position:relative;height:100%;min-height:275px;overflow:hidden}
.art-rail{position:absolute;top:28px;right:25px;display:flex;gap:15px;font-size:9px;font-weight:800;letter-spacing:1.4px;color:#8b9e98}
.art-trace{position:absolute;top:57px;left:-3%;width:108%;height:180px;transform:rotate(-6deg)}
.art-trace svg{width:100%;height:100%;overflow:visible}
.trace-guide{fill:none;stroke:#b8c8c0;stroke-width:1;stroke-dasharray:3 7}
.trace-line{fill:none;stroke:#b86c53;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:530;stroke-dashoffset:530;animation:draw-trace 2.4s cubic-bezier(.24,.75,.25,1) .25s forwards}
@keyframes draw-trace{to{stroke-dashoffset:0}}
.art-note{position:absolute;top:225px;left:7%;display:flex;align-items:center;gap:8px;font-size:10px;color:#55736c;font-weight:700}
.note-dot{width:7px;height:7px;background:#b86c53;border-radius:50%;box-shadow:0 0 0 5px rgba(184,108,83,.12)}
.art-number{position:absolute;right:30px;bottom:12px;font-family:Georgia,serif;font-size:58px;color:#cad5cc;letter-spacing:-4px}.art-number span{font-size:18px;color:#8fa49b;letter-spacing:0}
.editorial-footer{position:relative;z-index:2;display:flex;justify-content:space-between;padding:12px 29px;border-top:1px solid #d3ddd3;font-size:10px;font-weight:700;color:#778d83}
.work-path{padding-top:27px}
.path-index{background:#f3ede6;border:1px solid #e5d9cc;color:#9b624c}
.sectiontitle .tag{background:transparent;border:1px solid #dfdfd7;color:#8a776b}
.panel,.uploadcard,.advanced-panel,.reportcard{border-radius:12px!important;box-shadow:0 4px 22px rgba(25,50,48,.035)!important;border-color:#e2e6e0!important}
.panel{transition:box-shadow .25s,border-color .25s}
.panel:focus-within{border-color:#b9cbc3!important;box-shadow:0 7px 26px rgba(30,76,70,.085)!important}
input:not([type=file]):not([type=checkbox]),select,textarea{border-radius:8px;background:#fdfdfb}
input:focus,textarea:focus,select:focus{border-color:#719d90!important;box-shadow:0 0 0 3px rgba(92,143,125,.13)!important}
.primary{background:#1e5657!important;border-radius:9px!important;box-shadow:none!important;transition:transform .2s,background .2s,box-shadow .2s}
.primary:hover{background:#174749!important;transform:translateY(-2px);box-shadow:0 9px 19px rgba(25,79,75,.18)!important}
.primary:active{transform:translateY(0)}
.secondary{background:#f5f7f3;border-radius:8px;color:#315c57}
.secondary:hover{background:#e9f1ea}
.advanced-panel>summary{transition:background .2s,color .2s}
.advanced-panel>summary:hover{color:#a35d48;background:#f7f7f3}
.privacy-ribbon{background:#f0f4ee;border-color:#dfe8df;border-radius:10px}
.stage-entry{border-radius:10px;background:#fff;transition:transform .2s,border-color .2s,box-shadow .2s}
.stage-entry:hover{transform:translateY(-2px);border-color:#b7d3c8;box-shadow:0 7px 18px rgba(29,74,66,.07)}
.reportcard{transition:border-color .2s}
.reportcard:hover{border-color:#c8d8d0!important}
:focus-visible{outline:2px solid #ad7059!important;outline-offset:3px}
@media(max-width:860px){.editorial-content{grid-template-columns:1fr .6fr}.editorial-copy{padding-left:28px}.editorial-hero h1{font-size:clamp(37px,5.5vw,55px)}}
@media(max-width:600px){.editorial-hero{min-height:0!important}.editorial-topline{padding:18px 20px 0;font-size:8px}.editorial-content{display:block;min-height:300px}.editorial-copy{position:relative;z-index:3;padding:28px 22px 35px}.editorial-hero h1{font-size:43px;letter-spacing:-1.9px}.editorial-hero .lede{max-width:310px}.editorial-art{position:absolute;inset:0;opacity:.16;pointer-events:none}.art-trace{left:33%;top:60px;width:100%}.art-note,.art-number,.art-rail{display:none}.editorial-footer{padding:12px 20px;font-size:9px}.mobile-dock{background:rgba(250,249,245,.97);border-top-color:#e0e4de}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.trace-line{animation:none;stroke-dashoffset:0}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
@media print{.editorial-hero{display:none!important}.stage-entry,.reportcard{transform:none!important}}

/* v4.8.7 — Cohesive Studio: one deliberate palette across navigation, workspace and report */
:root{--ink:#243a3a;--sub:#6b7d79;--bg:#f5f6f2;--line:#dfe5df;--blue:#32796e;--pale:#edf5f0;--studio-dark:#263e3d;--studio-mid:#416e65;--studio-warm:#b67e67}
body{background:var(--bg)!important;color:var(--ink)}
.sidebar{background:#263e3d!important;color:#e8efeb!important;border-right:1px solid #35524c}
.sidebar .brand{color:#fff}
.sidebar .brandmark{background:#e2ebe4!important;color:#2b5a51!important;box-shadow:inset 0 0 0 1px rgba(42,88,77,.12)}
.sidebar .brand small{color:#b9ccc3!important}
.sidebar nav a{color:#c2d5cd!important;border:1px solid transparent;transition:background .22s,border-color .22s,transform .22s}
.sidebar nav a:hover{background:#34554e!important;color:#fff!important;transform:translateX(3px)}
.sidebar nav a.active,.sidebar nav .active{background:#3c6157!important;border-color:#547b6f!important;color:#fff!important}
.sidebar .nav-number{color:#a9c9bc!important}
.sidebar .sidefoot{color:#a9bfb5!important}
.sidebar-insight{color:#e8efeb!important}
.sidebar-insight p,.sidebar-insight .insight-foot{color:#b3c9be!important}
.sidebar-insight .insight-symbol{color:#dfac91!important}
.top{background:#fafbf8!important;border-color:#e1e6df!important;color:#6e8279!important}
.top .breadcrumb,.top .breadcrumb strong,.top .top-name{color:#38554e!important}
.topright{color:#72877d!important}
.mainspace{background:transparent}
.editorial-hero{background:#e8eee8!important;border-color:#d7e1d9!important;box-shadow:0 15px 40px rgba(33,66,57,.045)!important}
.editorial-hero:before{background-image:radial-gradient(#76988b .55px,transparent .55px)!important;opacity:.14}
.editorial-hero h1{color:#2b4b46!important}
.editorial-hero h1 em{color:#a46b55!important}
.editorial-kicker,.editorial-index{color:#a46b55!important}
.editorial-topline,.editorial-footer{color:#6e8a7d!important}
.editorial-rule{background:#c4d3c8!important}
.editorial-hero .lede{color:#58716a!important}
.editorial-link{color:#315f55!important;border-color:#94b1a3!important}
.editorial-link:hover{color:#a46b55!important;border-color:#a46b55!important}
.editorial-art{min-height:285px}
.art-trace{top:27px;left:-9%;width:118%;height:255px;transform:none}
.art-trace svg{width:100%;height:100%;overflow:visible}
.flow-ghost,.flow-secondary,.flow-primary{fill:none;stroke-linecap:round;stroke-linejoin:round}
.flow-ghost{stroke:#afc8b9;stroke-width:1.5;opacity:.7}
.flow-secondary{stroke:#98b9a8;stroke-width:1.7;opacity:.75;stroke-dasharray:5 8;animation:flow-drift 22s linear infinite}
.flow-primary{stroke:url(#flow-ink);stroke-width:3.4;stroke-dasharray:650;stroke-dashoffset:650;animation:flow-reveal 2.6s cubic-bezier(.33,.8,.3,1) .15s forwards;filter:drop-shadow(0 3px 3px rgba(61,123,116,.08))}
.flow-orb{fill:#b47c66;opacity:0;animation:orb-reveal .7s ease 2.1s forwards}
@keyframes flow-reveal{to{stroke-dashoffset:0}}
@keyframes orb-reveal{to{opacity:1}}
@keyframes flow-drift{to{stroke-dashoffset:-130}}
.art-rail{color:#72978a!important}
.art-note{color:#53766a!important;top:225px}
.note-dot{background:#b47c66!important;box-shadow:0 0 0 5px rgba(180,124,102,.13)}
.art-number{color:#c4d6c9!important}.art-number span{color:#8eaa9a!important}
.work-path .path-index,.path-index{background:#eaf2eb!important;border-color:#d5e3d8!important;color:#427568!important}
.sectiontitle h2,.guide h2{color:#2d4c46}
.sectiontitle p,.muted,.hint{color:#6d8179}
.sectiontitle .tag,.tag{background:#eff3ee!important;color:#5c766a!important;border-color:#dce5dc!important}
.panel,.uploadcard,.reportcard,.guidegrid>div,.advanced-panel{background:#fffefa!important;border-color:#dfe7df!important;box-shadow:0 5px 20px rgba(36,68,54,.035)!important}
.panel:focus-within{border-color:#9ebfaf!important;box-shadow:0 7px 25px rgba(37,91,72,.09)!important}
label{color:#38564e}
input:not([type=file]):not([type=checkbox]),select,textarea{color:#2c4942!important;border-color:#d8e3d9!important;background:#fff!important}
input:focus,select:focus,textarea:focus{border-color:#548f7a!important;box-shadow:0 0 0 3px rgba(76,143,114,.13)!important}
.primary{background:#356f61!important;color:white!important}
.primary:hover{background:#285a4f!important}
.secondary{background:#edf3ed!important;color:#356d5d!important}
.secondary:hover{background:#e1ece2!important}
.privacy-ribbon,.options{background:#f0f5ee!important;border-color:#dce8dc!important}
.advanced-panel>summary{background:#f5f8f3!important;color:#42685b!important}
.advanced-panel>summary:hover{background:#eaf2e9!important;color:#315d50!important}
.stage-entry,.mini{background:#f6f9f5!important;border-color:#e0e9df!important}
.stage-status,.section-kicker{color:#3c7869}
.reportcard h3,.reportcard strong{color:#2d4c46}
.reportcard p,.reportcard li{color:#4c655b}
.summarycard,.theme-summary{background:#f1f6f0!important;border-color:#dce8da!important}
.theme-summary .section-kicker,.theme-quick .section-kicker{background:#e3eee5!important;color:#467a64!important}
.theme-timeline,.theme-clinical,.theme-strengths,.theme-moments,.theme-nts,.theme-inquiry,.theme-quick{border-top-color:#77a694!important}
.theme-timeline .section-kicker,.theme-clinical .section-kicker,.theme-strengths .section-kicker,.theme-moments .section-kicker,.theme-nts .section-kicker,.theme-inquiry .section-kicker{background:#eaf3e9!important;color:#4b7968!important}
.theme-timeline .mini,.theme-clinical .mini,.theme-strengths .mini,.theme-moments .mini,.theme-nts .mini{background:#f7faf5!important;border-color:#e0e9df!important}
.inquiry-question,.spoken-script{background:#eff5ed!important;border-left-color:#659b83!important}
.inquiry-time,.phase-time{background:#edf4ec!important;color:#467568!important}
.inquiry-item,.facilitator-item{border-color:#dce7dc!important}
.phase-number{background:#e8f0e8!important;color:#3d7866!important}
.modebar{background:#f0f5ee!important;border-color:#dce7db!important;color:#3d6858!important}
.modebar input{accent-color:#427f6b!important}
.live-dot,.dot{background:#6aa88b!important}
@media(max-width:600px){.editorial-art{opacity:.23}.art-trace{top:56px;left:20%;width:115%;height:220px}.mobile-dock{background:rgba(250,251,247,.98)!important;border-top:1px solid #dce6dc!important}.mobile-dock a{color:#4d7364!important}}
@media(prefers-reduced-motion:reduce){.flow-primary{animation:none;stroke-dashoffset:0}.flow-secondary{animation:none}.flow-orb{animation:none;opacity:1}}
