/* Shared semantic colors keep every workspace view in the same theme. */
:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --paper: #ffffff;
  --ink: #243a30;
  --green: #234c3b;
  --green-hover: #32604a;
  --on-accent: #ffffff;
  --muted: #5d6e63;
  --line: #dce3da;
  --line-strong: #a5b6a6;
  --soft: #eef3ec;
  --input: #fafbf8;
  --sage: #b8c6a8;
  --gold: #805c1d;
  --gold-bg: #faf2df;
  --gold-line: #e5d6af;
  --red: #984b3e;
  --red-bg: #faeeeb;
  --red-line: #eacdc5;
  --neutral-bg: #eef0ed;
  --focus: #668c71;
  --backdrop: #16241cd9;
  --shadow: #152c1d14;
  --mono:ui-monospace,SFMono-Regular,Consolas,monospace;--sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--serif:Georgia,"Times New Roman",serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141b18;
  --paper: #1c2620;
  --ink: #e4ebe4;
  --green: #afd8bc;
  --green-hover: #c1e4cb;
  --on-accent: #17271e;
  --muted: #acbdb0;
  --line: #35473b;
  --line-strong: #6f8b76;
  --soft: #243329;
  --input: #18221c;
  --sage: #637f68;
  --gold: #e8c681;
  --gold-bg: #392f1f;
  --gold-line: #635133;
  --red: #efa99a;
  --red-bg: #3a2927;
  --red-line: #68483f;
  --neutral-bg: #2a352d;
  --focus: #a3d1b1;
  --backdrop: #0b100de6;
  --shadow: #00000030;
}

*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.65;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea,summary{touch-action:manipulation}
button{cursor:pointer}
a{color:var(--green);text-underline-offset:3px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
button:disabled{cursor:default;opacity:.5}
[hidden]{display:none!important}
p{margin:0 0 12px}
h1,h2,h3,h4{line-height:1.3;margin:0}
img,svg{max-width:100%}
.shell{max-width:1450px;margin:auto;padding:0 52px}
.topbar{min-height:106px;display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid var(--line)}
.brand{display:flex;gap:14px;align-items:center;text-decoration:none;color:var(--green)}
.brand>span{font-size:23px;letter-spacing:2.2px;font-weight:650;line-height:1.15}
.brand small{display:block;font-size:9px;letter-spacing:1.25px;font-weight:500;color:var(--muted);margin-top:8px}
.brand-mark{flex:none}
.top-actions{display:flex;align-items:center;gap:18px}
.connection{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}
.status-dot{display:inline-block;width:6px;height:6px;background:var(--sage);border-radius:50%;flex:none}
.connection.ready .status-dot{background:var(--sage)}
.connection.error .status-dot{background:var(--red)}
.text-button{border:0;background:none;padding:5px 0;font-size:11px;color:var(--green);text-decoration:underline;text-underline-offset:4px}
.hero{display:flex;align-items:center;justify-content:space-between;gap:80px;padding:53px 0 35px}
.eyebrow{font-size:10px;font-weight:650;letter-spacing:2.3px;color:var(--green);margin:0 0 15px}
.eyebrow.small{font-size:9px;letter-spacing:1.7px;margin-bottom:10px}
h1{font-family:var(--serif);font-weight:400;font-size:58px;line-height:1.09;letter-spacing:-2px}
h1 em{font-weight:400;color:var(--green)}
.hero-copy{max-width:580px;color:var(--muted);line-height:1.75;font-size:14px;margin:21px 0 0}
.hero-note{min-width:230px;padding-left:38px;border-left:1px solid var(--line);color:var(--muted);font-size:18px;line-height:1.6}
.hero-note p{margin:14px 0}
.hero-note strong{font-weight:600;color:var(--green)}
.mini-rule{display:block;width:27px;height:2px;background:var(--sage)}
.note-caption{font-size:10px;letter-spacing:.3px;color:var(--muted)}
.notice{display:flex;gap:11px;align-items:flex-start;border:1px solid var(--line);border-radius:7px;background:var(--soft);padding:10px 14px;color:var(--muted);font-size:11px}
.notice p{margin:0}
.notice-icon{border:1px solid var(--line-strong);display:inline-flex;justify-content:center;align-items:center;border-radius:50%;font-family:var(--serif);font-style:italic;font-size:10px;height:15px;width:15px;flex:none;margin-top:2px}
.tabs{display:flex;gap:35px;align-items:center;border-bottom:1px solid var(--line);margin-top:21px;overflow-x:auto;scrollbar-width:thin}
.tab{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);padding:17px 0 15px;display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:12px}
.tab[aria-selected=true]{color:var(--green);border-bottom-color:var(--green);font-weight:600}
.tab-number{font-family:var(--mono);font-size:9px;color:var(--muted)}
.tab[aria-selected=true] .tab-number{color:var(--green)}
main{padding:25px 0 0}
.example-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:21px;font-size:11px;color:var(--muted)}
.example-strip>div{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid var(--line);background:transparent;border-radius:20px;padding:6px 11px;color:var(--green);font-size:10px;display:flex;gap:15px;align-items:center}
.chip:hover{background:var(--soft);border-color:var(--line-strong)}
.assessment-layout{display:grid;grid-template-columns:minmax(335px,.88fr) minmax(0,1.12fr);gap:23px;align-items:start}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:27px}
.panel-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:23px}
.panel-heading h2{font-size:18px;letter-spacing:-.35px;font-weight:550}
.step-pill,.count-pill{font-size:9px;letter-spacing:.4px;border:1px solid var(--line);color:var(--muted);border-radius:5px;padding:3px 7px;white-space:nowrap}
.step-pill{margin-top:4px}
.field{margin-bottom:21px}
.field label,label{font-size:12px;font-weight:500;display:block;margin-bottom:8px}
.field-number{font-family:var(--mono);font-size:9px;display:inline-block;width:24px;color:var(--muted)}
input,select,textarea{display:block;width:100%;background:var(--input);border:1px solid var(--line);border-radius:6px;color:var(--ink);padding:11px 12px;font-size:12px;line-height:1.65;min-height:43px}
select{cursor:pointer;padding-right:25px}
textarea{resize:vertical;min-height:93px}
textarea::placeholder,input::placeholder{color:var(--muted);opacity:1}
.optional{margin:0 0 21px;border:0;padding:0}
.optional summary{font-size:11px;color:var(--green);cursor:pointer;display:list-item;list-style:disclosure-closed}
.optional[open] summary{list-style:disclosure-open}
.optional summary span{color:var(--muted);margin-left:5px;font-size:10px}
.optional textarea{margin-top:12px;min-height:72px}
.assessment-service{border-top:1px solid var(--line);padding-top:13px}
.field-help{font-size:10px;line-height:1.7;color:var(--muted);margin:9px 0 0}
.privacy-note{font-size:9px;color:var(--muted);line-height:1.75;margin:13px 0 18px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:1px solid transparent;border-radius:6px;min-height:40px;padding:9px 15px;font-size:11px;font-weight:500;text-decoration:none}
.button.primary{background:var(--green);color:var(--on-accent)}
.button.primary:hover:not(:disabled){background:var(--green-hover)}
.button.secondary{background:var(--paper);border-color:var(--line);color:var(--green)}
.button.secondary:hover{background:var(--soft)}
.button.small{min-height:33px;padding:6px 11px;font-size:10px}
.assess-button{width:100%;justify-content:space-between;min-height:45px;padding-left:17px;padding-right:17px}
.result-column{display:grid;gap:20px}
.result-panel{min-height:640px}
.empty-report{border-top:1px solid var(--line);padding:31px 12px 10px;text-align:center}
.orbit{position:relative;width:61px;height:61px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;margin:0 auto 20px}
.orbit:after{content:"";position:absolute;inset:8px;border:1px solid var(--line);border-radius:50%}
.orbit span{font-family:var(--serif);font-size:23px;color:var(--muted)}
.orbit i{width:6px;height:6px;background:var(--sage);border-radius:50%;position:absolute;right:0;top:10px}
.empty-report h3{font-family:var(--serif);font-size:23px;font-weight:400;color:var(--green);letter-spacing:-.4px}
.empty-report>p{font-size:12px;color:var(--muted);max-width:375px;margin:11px auto 28px;line-height:1.9}
.output-preview{list-style:none;text-align:left;margin:0;padding:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 25px}
.output-preview li{display:flex;gap:12px;padding-top:23px}
.output-preview li>span{font-family:var(--mono);font-size:9px;color:var(--muted);margin-top:2px}
.output-preview strong{display:block;font-size:11px;color:var(--muted);font-weight:500}
.output-preview small{display:block;color:var(--muted);font-size:10px;line-height:1.8;margin-top:4px}
.small-note{display:flex;gap:13px;padding:0 15px;color:var(--muted);font-size:10px}
.small-note>span{font-size:17px;color:var(--muted)}
.small-note strong{display:block;color:var(--muted);font-size:10px;font-weight:500;margin-bottom:3px}
.small-note p{margin:0;line-height:1.9}
.subtle{font-size:12px;color:var(--muted)}
.global-message{padding:11px 15px;border:1px solid var(--line);border-radius:7px;background:var(--soft);margin-top:15px;color:var(--green);font-size:12px}
.global-message.error,.inline-error{color:var(--red);background:var(--red-bg);border:1px solid var(--red-line);border-radius:6px;padding:10px 12px;font-size:11px;margin:12px 0;overflow-wrap:anywhere}
.loading{text-align:center;padding:60px 18px;color:var(--muted)}
.spinner{display:block;width:25px;height:25px;border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;margin:0 auto 18px;animation:spin 1s linear infinite}
.loading p{font-size:13px}
.loading small{font-size:11px;color:var(--muted)}
@keyframes spin{to{transform:rotate(360deg)}
}
.report-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:9px;color:var(--muted);border-top:1px solid var(--line);padding-top:15px;margin-bottom:18px}
.mode-badge{border:1px solid var(--line);padding:2px 6px;border-radius:4px;color:var(--muted);font-size:9px}
.mode-badge.simulation{background:var(--gold-bg);color:var(--gold);border-color:var(--gold-line)}
.stale-note{font-size:10px;background:var(--gold-bg);color:var(--gold);border-radius:6px;padding:8px 10px;margin-bottom:13px}
.result-section{border-top:1px solid var(--line);padding:20px 0 18px}
.result-section h3{font-size:11px;font-weight:550;color:var(--muted);margin-bottom:12px;display:flex;gap:10px;align-items:center}
.result-section h3>span{font-family:var(--mono);font-size:9px;color:var(--muted)}
.result-section p{font-size:12px;line-height:1.85}
.risk-heading{display:flex;align-items:center;gap:11px;margin-bottom:9px}
.risk-heading strong{font-family:var(--serif);font-weight:400;font-size:27px;letter-spacing:-.6px;color:var(--green)}
.badge{display:inline-flex;align-items:center;border-radius:4px;padding:3px 7px;font-size:9px;background:var(--soft);color:var(--green);white-space:nowrap;line-height:1.6}
.badge.medium,.badge.review,.badge.modify,.badge.pending,.badge.revise{background:var(--gold-bg);color:var(--gold)}
.badge.high,.badge.prohibited,.badge.declined{background:var(--red-bg);color:var(--red)}
.badge.unknown,.badge.clarify,.badge.not_requested{background:var(--neutral-bg);color:var(--muted)}
.risk-heading strong.medium{color:var(--gold)}
.risk-heading strong.high{color:var(--red)}
.risk-heading strong.unknown{color:var(--muted)}
.outcome-result{border-left:2px solid var(--line-strong);padding:7px 0 7px 13px;margin-top:12px}
.outcome-result>div{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.outcome-result h4{font-size:11px;font-weight:500;color:var(--green);line-height:1.6}
.outcome-result p{font-size:11px;color:var(--muted);margin:6px 0 0}
.small-label{font-size:9px!important;color:var(--muted);margin:12px 0 0}
.rationale-item{padding:11px 0;border-top:1px dashed var(--line)}
.rationale-item:first-of-type{padding-top:0;border-top:0}
.rationale-step{font-size:11px!important;color:var(--green);border-left:2px solid var(--line-strong);padding-left:10px;font-style:italic;margin-bottom:8px}
.rationale-item p{font-size:11px;margin-bottom:8px}
.rationale-labels{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:9px;color:var(--muted)}
.evidence-ref{border:1px solid var(--line);background:var(--soft);border-radius:3px;padding:2px 5px;font-family:var(--mono);font-size:8px;color:var(--muted);overflow-wrap:anywhere;max-width:100%;text-align:left}
.rationale-labels .rule{font-family:var(--mono);color:var(--muted)}
.decision-heading{display:flex;gap:10px;align-items:center;margin-bottom:9px;font-size:16px;font-weight:500}
.suggestion-list{padding-left:20px;margin:0 0 13px;font-size:12px;line-height:1.85;display:grid;gap:7px}
.next-action{padding:11px 13px;background:var(--soft);border-radius:6px;font-size:11px!important;color:var(--green);margin-bottom:0}
.next-action strong{display:block;font-size:9px;letter-spacing:.5px;margin-bottom:4px}
.clarification{background:var(--gold-bg);padding:15px 16px;border:1px solid var(--gold-line);border-radius:7px;margin-bottom:15px;color:var(--gold)}
.clarification h3{font-size:13px;margin-bottom:7px}
.clarification ul{padding-left:17px;font-size:11px;line-height:1.8;margin:0}
.report-details{border-top:1px solid var(--line);padding-top:13px;margin-top:13px}
.report-details summary{cursor:pointer;font-size:11px;color:var(--green)}
.report-details>div{padding-top:13px}
.uncertainty-list{padding-left:18px;font-size:11px;color:var(--muted);line-height:1.8;margin:0;display:grid;gap:6px}
.evidence-hit{background:var(--soft);border:1px solid var(--line);border-radius:7px;padding:16px;margin-bottom:11px;min-width:0}
.evidence-hit:target{outline:2px solid var(--focus)}
.evidence-hit h4{font-size:12px;font-weight:550;line-height:1.6;margin:6px 0 9px}
.evidence-hit .evidence-kind{font-size:9px;color:var(--muted);font-family:var(--mono);overflow-wrap:anywhere}
.evidence-hit .evidence-text{font-size:11px;line-height:1.9;color:var(--green);white-space:pre-wrap;overflow-wrap:anywhere}
.evidence-limit{font-size:10px;color:var(--gold);border-top:1px solid var(--line);padding-top:9px;margin:12px 0 0;line-height:1.8}
.source-link{display:inline-flex;font-size:10px;margin-top:10px;text-decoration:none;gap:10px;color:var(--green)}
.source-link:hover{text-decoration:underline}
.record-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px;padding-top:19px;border-top:1px solid var(--line)}
.record-actions button{flex:1}
.review-status{border:1px solid var(--line);background:var(--soft);padding:11px 13px;margin-top:15px;border-radius:6px;font-size:11px;color:var(--muted)}
.review-status p{margin:6px 0 0;white-space:pre-wrap}
.record-provenance{font-size:9px;color:var(--muted);line-height:1.9;margin:15px 0 0;overflow-wrap:anywhere}
.view-header{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:11px 0 27px}
.view-header h2{font-family:var(--serif);font-size:33px;font-weight:400;letter-spacing:-.6px;margin-bottom:12px}
.view-header p:not(.eyebrow){color:var(--muted);font-size:12px;max-width:730px;line-height:1.85;margin:0}
.view-header .button{flex:none}
.count-pill{font-size:11px;padding:7px 12px}
.search-form{display:flex;gap:10px;margin-bottom:26px}
.search-form input{background:var(--paper);flex:1;min-width:0;min-height:45px}
.search-form button{flex:none}
.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.source-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:24px;min-width:0}
.source-card .source-meta{font-size:9px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.source-card h3{font-family:var(--serif);font-size:21px;font-weight:400;color:var(--green);line-height:1.45;margin:12px 0}
.source-card .source-summary{font-size:11px;color:var(--muted);line-height:1.85}
.source-card .evidence-limit{border-color:var(--line)}
.search-heading{display:flex;align-items:center;gap:12px;font-size:13px;margin:0 0 14px}
.search-clear{margin-left:auto;border:0;background:none;color:var(--muted);font-size:10px;text-decoration:underline}
.search-note{font-size:11px;color:var(--muted);margin-bottom:15px}
.search-warning{font-size:11px;color:var(--gold);margin-bottom:10px}
.history-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid var(--line);background:var(--paper);padding:22px 24px;border-radius:9px;margin-bottom:12px}
.history-card h3{font-size:14px;font-weight:550;margin:7px 0}
.history-card p{font-size:11px;color:var(--muted);margin:0;max-width:700px;overflow-wrap:anywhere}
.history-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:9px;color:var(--muted)}
.empty-list{text-align:center;padding:65px 25px;border:1px dashed var(--line);border-radius:10px;color:var(--muted)}
.empty-list h3{font-family:var(--serif);font-size:25px;font-weight:400;color:var(--green);margin-bottom:10px}
.empty-list p{font-size:12px;margin-bottom:0}
.instructor-login{max-width:440px;margin:10px auto 70px;padding:30px}
.instructor-login h3{font-size:18px;margin-bottom:8px}
.instructor-login input{margin-bottom:15px}
.instructor-login button{width:100%;justify-content:space-between}
.review-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;align-items:start}
.review-card{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:8px;padding:17px;background:var(--paper);color:var(--green);margin-bottom:10px}
.review-card.selected{border-color:var(--line-strong);background:var(--soft)}
.review-card strong{display:block;font-size:12px;font-weight:550;margin:8px 0}
.review-card p{font-size:10px;color:var(--muted);line-height:1.7;margin:5px 0 0;overflow-wrap:anywhere}
.review-card .review-meta{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:9px;color:var(--muted)}
.review-input{border-top:1px solid var(--line);margin-top:16px;padding-top:15px}
.review-input h4{font-size:11px;color:var(--green);margin-bottom:5px}
.review-input p{font-size:11px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:15px}
.review-form{background:var(--soft);border:1px solid var(--line);padding:20px;border-radius:8px;margin-top:23px}
.review-form h3{font-size:14px;margin-bottom:7px}
.review-form>p{font-size:11px;color:var(--muted);margin-bottom:17px}
.review-form select,.review-form textarea{background:var(--paper);margin-bottom:13px}
.review-form button{width:100%;justify-content:space-between}
footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:25px;margin-top:62px;padding:23px 0 29px;color:var(--muted);font-size:9px}
footer>div{display:flex;gap:14px;align-items:baseline}
footer strong{font-size:10px;letter-spacing:1.5px;font-weight:600;color:var(--muted)}
footer p{margin:0;white-space:nowrap}
dialog{border:1px solid var(--line);border-radius:14px;max-width:420px;width:calc(100% - 32px);padding:34px;background:var(--paper);color:var(--ink);box-shadow:0 20px 100px var(--shadow)}
dialog::backdrop{background:var(--backdrop);backdrop-filter:blur(8px)}
.dialog-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:11px;background:var(--green);color:var(--on-accent);font-family:var(--serif);font-size:26px;margin-bottom:24px}
dialog h2{font-family:var(--serif);font-size:28px;font-weight:400;margin-bottom:13px}
dialog p:not(.eyebrow){font-size:12px;color:var(--muted)}
dialog input{margin-bottom:17px}
dialog button{width:100%;justify-content:space-between}
.skip-link{position:absolute;top:-70px;left:15px;background:var(--green);color:var(--on-accent);padding:10px 18px;z-index:100}
.skip-link:focus{top:10px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.noscript{position:fixed;inset:auto 15px 15px;background:var(--gold-bg);border:1px solid var(--gold-line);border-radius:8px;padding:20px;z-index:20;color:var(--gold);font-size:13px}

@media(min-width:1550px){.shell{max-width:1450px}
h1{font-size:65px}
.hero{padding-top:61px;padding-bottom:43px}
.hero-copy{font-size:15px}
.panel{padding:30px}
}

@media(max-width:1150px){.shell{padding:0 30px}
.hero{gap:35px}
h1{font-size:52px}
.hero-note{min-width:210px}
.assessment-layout{grid-template-columns:minmax(320px,.94fr) minmax(0,1.06fr);gap:17px}
.panel{padding:22px}
.panel-heading h2{font-size:17px}
.example-strip{align-items:flex-start;flex-direction:column;gap:9px}
.output-preview{grid-template-columns:1fr;gap:0}
.output-preview li{padding-top:17px}
.empty-report{padding-top:24px}
.result-panel{min-height:650px}
.review-layout{grid-template-columns:260px minmax(0,1fr)}
}

@media(max-width:850px){.shell{padding:0 23px}
.topbar{min-height:90px}
.hero{padding-top:35px;gap:35px}
h1{font-size:48px}
.hero-note{font-size:15px;min-width:165px;padding-left:24px}
.hero-copy{font-size:13px}
.tabs{gap:27px}
.tab{font-size:11px}
.assessment-layout{grid-template-columns:1fr}
.form-panel{padding:25px}
.result-panel{min-height:0}
.output-preview{grid-template-columns:1fr 1fr;gap:0 20px}
.output-preview li{padding-top:22px}
.empty-report{padding-bottom:18px}
.hero-note .note-caption{font-size:9px}
.review-layout{grid-template-columns:1fr}
.review-card{margin-bottom:9px}
.source-card{padding:21px}
.source-card h3{font-size:19px}
footer{margin-top:44px;font-size:8px}
footer>div{display:block}
footer strong{display:block;margin-bottom:4px}
.view-header h2{font-size:29px}
.view-header p:not(.eyebrow){font-size:11px}
}

@media(max-width:540px){.shell{padding:0 16px}
.topbar{min-height:82px;gap:15px}
.brand{gap:9px}
.brand-mark{width:36px;height:36px}
.brand>span{font-size:19px;letter-spacing:1.6px}
.brand small{font-size:7px;letter-spacing:.6px;margin-top:6px}
.top-actions{gap:8px;flex-direction:column;align-items:flex-end}
.connection{font-size:8px;gap:5px}
.text-button{font-size:9px;padding:0}
.hero{padding:30px 0 26px}
.hero-note{display:none}
h1{font-size:44px;letter-spacing:-1.7px}
.eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:13px}
.hero-copy{font-size:12px;max-width:350px;margin-top:17px}
.notice{font-size:10px;padding:10px 11px;line-height:1.75;gap:9px}
.tabs{margin-top:15px;gap:22px}
.tab{font-size:10px;padding:15px 0 13px;gap:5px}
.tab-number{font-size:8px}
main{padding-top:20px}
.example-strip>span{font-size:10px}
.example-strip>div{gap:6px}
.chip{font-size:9px;padding:5px 9px;gap:8px}
.panel,.form-panel{padding:19px;border-radius:10px}
.panel-heading{margin-bottom:19px}
.panel-heading h2{font-size:16px}
.eyebrow.small{font-size:8px;letter-spacing:1.4px}
.step-pill{font-size:8px}
.field{margin-bottom:18px}
.field label{font-size:11px}
.field-number{width:21px}
input,select,textarea{font-size:16px;padding:10px;min-height:44px}
.field textarea{font-size:16px;min-height:114px}
.field textarea::placeholder{font-size:12px}
.privacy-note{font-size:10px}
.field-help{font-size:10px}
.optional textarea{font-size:16px}
.optional textarea::placeholder{font-size:12px}
.empty-report{padding:22px 1px 12px}
.empty-report h3{font-size:22px}
.empty-report>p{font-size:11px}
.output-preview{grid-template-columns:1fr;gap:0}
.output-preview li{padding-top:16px}
.output-preview small{font-size:10px}
.orbit{width:54px;height:54px}
.small-note{padding:0 9px;font-size:10px}
.source-grid{grid-template-columns:1fr}
.view-header{flex-direction:column;align-items:flex-start;gap:17px;padding:6px 0 21px}
.view-header h2{font-size:28px}
.view-header .button{font-size:10px}
.view-header p:not(.eyebrow){font-size:12px}
.search-form{flex-direction:column;gap:9px}
.search-form input{font-size:16px}
.search-form input::placeholder{font-size:11px}
.search-form .button{justify-content:space-between}
.source-card{padding:21px}
.source-card h3{font-size:22px}
.source-card .source-summary{font-size:12px}
.evidence-text{font-size:12px!important}
.history-card{padding:18px;grid-template-columns:1fr;gap:12px}
.history-card .button{justify-self:start}
.history-card h3{font-size:13px}
.history-card p{font-size:11px}
.history-meta{gap:6px}
.result-section p{font-size:12px}
.result-section h3{font-size:11px}
.outcome-result h4{font-size:11px}
.outcome-result p{font-size:11px}
.outcome-result>div{flex-wrap:wrap;gap:5px}
.record-actions{flex-direction:column}
.record-actions button{width:100%}
.record-provenance{font-size:9px}
.risk-heading strong{font-size:26px}
.evidence-hit{padding:13px}
.rationale-labels{font-size:9px}
.instructor-login{margin:4px auto 30px}
.review-form{padding:17px}
.review-layout{gap:14px}
.review-card{padding:16px}
footer{flex-direction:column;gap:8px;margin-top:36px;padding:21px 0;font-size:8px}
footer>div{display:block}
footer strong{font-size:9px;margin-bottom:3px}
footer p{white-space:normal}
dialog{padding:27px}
.count-pill{font-size:10px}
.global-message{font-size:11px}
.report-meta{gap:6px}
.suggestion-list{font-size:12px}
.search-heading{flex-wrap:wrap}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}
}

@media(prefers-reduced-motion:no-preference){button,a,input,textarea,select{transition:background-color .14s,border-color .14s}
.view{animation:fade-in .2s ease-out}
@keyframes fade-in{from{opacity:.75;transform:translateY(3px)}
to{opacity:1;transform:translateY(0)}
}
}


/* Source-grounded course context and homework workflow. */
.course-panel{border:1px solid var(--line);border-radius:10px;background:var(--soft);padding:21px 24px;margin-bottom:22px}
.course-panel>.subtle{margin:0}
.course-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.course-heading .eyebrow{margin-bottom:6px}
.course-heading h2{font-size:20px;font-weight:500;letter-spacing:-.4px}
.course-heading p:not(.eyebrow){font-size:10px;color:var(--muted);margin:6px 0 0}
.course-status{font-size:9px;line-height:1.6;max-width:150px;text-align:right;color:var(--muted)}
.course-rule-strip{display:flex;gap:10px 23px;flex-wrap:wrap;margin-top:17px;color:var(--muted);font-size:10px}
.course-rule-strip b{font-weight:550;margin-right:7px;color:var(--green)}
.course-details{border-top:1px solid var(--line);margin-top:16px;padding-top:11px}
.course-details summary{font-size:10px;color:var(--muted);cursor:pointer}
.course-details>div{padding-top:15px}
.course-details p,.course-details li{font-size:11px;line-height:1.85;color:var(--muted)}
.course-details ul{padding-left:20px;display:grid;gap:5px}
.course-details h3{font-size:11px;margin:16px 0 7px;color:var(--green)}
.course-details .course-rule{padding-left:13px;border-left:2px solid var(--line-strong);margin:12px 0}
.course-rule strong{font-weight:550;display:block;color:var(--green)}
.course-rule small{display:block;font-size:9px;color:var(--muted)}
.course-source-links{display:flex;gap:25px;flex-wrap:wrap}
.course-details .course-limit{font-size:10px;color:var(--muted);margin:12px 0 0}
.demo-examples{padding:0 0 18px;margin-top:-9px}
.demo-examples summary{font-size:10px;color:var(--muted);cursor:pointer}
.demo-examples .example-strip{margin:12px 0 0}
.tool-context{border:1px solid var(--line);border-radius:7px;background:var(--soft);padding:16px;margin:0 0 20px}
.tool-context .field{margin-bottom:16px}
.tool-context .field:last-of-type{margin-bottom:11px}
.tool-context label{font-size:11px}
.tool-context select{font-size:11px}
.tool-context textarea{font-size:11px;min-height:83px}
.tool-boundary{font-size:10px!important;color:var(--muted)!important;line-height:1.8;margin:12px 0 0;padding-top:11px;border-top:1px solid var(--line)}
.source-type{display:table;font-size:9px;line-height:1.7;background:var(--soft);color:var(--muted);padding:2px 7px;border:1px solid var(--line);border-radius:4px;margin-bottom:10px}
.source-type.curated{background:var(--gold-bg);border-color:var(--gold-line);color:var(--gold)}
.count-pill strong{display:block;font-size:12px;font-weight:500;color:var(--green)}
.count-pill small{display:block;font-size:9px;margin-top:4px;white-space:nowrap}

@media(max-width:850px){.course-panel{padding:20px}
.course-rule-strip{gap:9px 19px}
.course-status{max-width:140px}
.course-heading h2{font-size:19px}
.course-source-links{gap:17px}
}

@media(max-width:540px){.course-panel{padding:17px;margin-bottom:20px}
.course-heading{gap:13px}
.course-heading h2{font-size:18px;line-height:1.4}
.course-status{max-width:90px;font-size:8px}
.course-rule-strip{display:grid;gap:7px;margin-top:13px;font-size:10px}
.course-rule-strip b{display:inline-block;min-width:63px;margin:0}
.course-details{margin-top:13px}
.course-details summary{font-size:10px;line-height:1.8}
.course-details p,.course-details li{font-size:11px}
.course-heading p:not(.eyebrow){font-size:9px}
.course-source-links{gap:9px 18px}
.demo-examples{margin-top:-6px}
.example-strip>div{gap:7px}
.tool-context{padding:13px}
.tool-context select,.tool-context textarea{font-size:16px}
.tool-context textarea::placeholder{font-size:11px}
.tool-context select{max-width:100%;min-width:0}
.tool-context label{font-size:11px;line-height:1.75}
.count-pill small{white-space:normal}
}

.policy-checks{margin:16px 0 0;padding:14px;background:var(--soft);border:1px solid var(--line);border-radius:7px}
.policy-checks h4{font-size:10px;font-weight:550;color:var(--green);margin-bottom:12px}
.policy-check{padding:12px 0;border-top:1px solid var(--line)}
.policy-check>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.policy-check>div>span:last-child{font-size:9px;color:var(--muted)}
.policy-check p{font-size:11px;line-height:1.8;margin:8px 0 0}
.policy-check .policy-check-step{font-size:10px;color:var(--muted);font-style:italic}
.policy-check:last-child{padding-bottom:0}

/* A quieter workspace: the plan and its four-part assessment take priority. */
.shell{max-width:1360px;padding:0 40px}
.topbar{min-height:84px}
.brand{gap:11px}
.brand-mark{width:38px;height:38px}
.brand-mark path[fill]{fill:var(--on-accent)}
.brand-mark circle{fill:var(--green)}
.brand-mark path[stroke]{stroke:var(--green)}
.brand>span{font-size:21px}
.brand small{margin-top:6px;letter-spacing:.7px}
.top-actions{gap:16px}
.hero{padding:30px 0 22px;gap:24px}
h1{font-size:38px;letter-spacing:-1px;line-height:1.2}
.hero .eyebrow{margin-bottom:9px;letter-spacing:1.5px}
.hero-copy{font-size:13px;margin-top:10px;max-width:720px;line-height:1.65}
.notice{padding:9px 12px;font-size:11px;border:0;background:var(--soft)}
.tabs{margin-top:12px;gap:28px}
.tab{font-size:12px;padding:14px 0 12px}
main{padding-top:20px}
.course-panel{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 14px;margin-bottom:14px}
.course-overview>summary{cursor:pointer;list-style:disclosure-closed;color:var(--muted);font-size:12px;line-height:1.8}
.course-overview[open]>summary{list-style:disclosure-open;margin-bottom:15px}
.course-heading h2{font-size:18px}
.course-overview .course-rule-strip{margin-top:12px}
.course-overview .course-details{margin-top:12px}
.demo-examples{margin:0 0 19px;padding:0}
.demo-examples>summary{font-size:12px;line-height:1.8;color:var(--muted)}
.demo-examples .example-strip{margin:12px 0}
.panel{padding:24px;border-radius:10px}
.panel-heading{margin-bottom:20px}
.panel-heading h2{font-size:19px}
.field{margin-bottom:19px}
.field label{font-size:13px;margin-bottom:7px}
.field-number{font-size:10px}
input,select,textarea{font-size:13px}
textarea{min-height:88px}
.badge{font-size:10px}
.optional summary{font-size:12px}
.field-help,.privacy-note{font-size:11px;line-height:1.65}
.button{font-size:12px}
.button.small{font-size:11px;min-height:36px}
.button.primary{color:var(--on-accent)}
.result-panel{min-height:0}
.empty-report{padding:24px 0 8px;text-align:left}
.empty-report h3{font-family:var(--sans);font-size:17px;font-weight:500;letter-spacing:-.25px}
.empty-report>p{margin:10px 0 21px;max-width:410px;font-size:13px;line-height:1.75}
.output-preview{grid-template-columns:1fr 1fr;gap:0 24px}
.output-preview li{padding-top:19px;gap:10px}
.output-preview strong{font-size:12px}
.output-preview small{font-size:11px;line-height:1.6}
.result-section{padding:19px 0 15px}
.result-section h3{font-size:12px;font-weight:600;color:var(--ink)}
.result-section p{font-size:13px;line-height:1.8}
.result-section .small-label{font-size:10px!important}
.outcome-result h4,.outcome-result p,.rationale-item p{font-size:12px}
.rationale-labels,.report-meta{font-size:10px}
.suggestion-list{font-size:13px;line-height:1.8}
.next-action{font-size:12px!important}
.report-details summary{font-size:12px}
.readiness-details .small-label{font-size:10px!important}
.provenance-details .record-provenance{margin-top:0;font-size:10px;line-height:1.8}
.report-details>div>p{font-size:12px}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;min-width:79px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);font-size:12px;line-height:1.2;white-space:nowrap}
.theme-toggle:hover{background:var(--soft);border-color:var(--line-strong)}
.theme-toggle svg{width:16px;height:16px;flex:none;stroke:currentColor}
.theme-icon-sun{display:none}
:root[data-theme="dark"] .theme-icon-sun{display:block}
:root[data-theme="dark"] .theme-icon-moon{display:none}
footer{margin-top:38px}
@media(max-width:1150px){.shell{padding:0 28px}.panel{padding:22px}.output-preview{grid-template-columns:1fr}}
@media(max-width:850px){.shell{padding:0 23px}.hero{padding:26px 0 20px}h1{font-size:35px}.output-preview{grid-template-columns:1fr 1fr}.assessment-layout{gap:20px}}
@media(max-width:540px){.shell{padding:0 16px}.topbar{min-height:79px;gap:10px}.brand-mark{width:32px;height:32px}.brand>span{font-size:18px}.brand small{font-size:7px}.top-actions{display:grid;grid-template-columns:auto auto;gap:5px 10px;align-items:center}.top-actions .connection{grid-column:1/-1;justify-content:flex-end;font-size:9px}.theme-toggle{min-width:68px;min-height:34px;font-size:11px;padding:6px 9px}.top-actions .text-button{font-size:10px}.hero{padding:24px 0 18px}h1{font-size:30px;letter-spacing:-.8px}.hero-copy{font-size:12px;margin-top:9px}.tabs{gap:22px}.tab{font-size:11px}.notice{font-size:10px}.panel,.form-panel{padding:19px}.panel-heading h2{font-size:18px}input,select,textarea,.field textarea{font-size:16px}.field textarea{min-height:96px}.output-preview{grid-template-columns:1fr}.theme-label{display:inline}.course-panel{padding:0 0 12px}.course-overview>summary,.demo-examples>summary{font-size:11px}.source-grid{grid-template-columns:1fr}.tool-context select,.tool-context textarea{font-size:16px}}
.course-overview{border-top:0;margin-top:0;padding-top:0}
.course-overview>summary span{font-size:10px;color:var(--muted);margin-left:7px;font-weight:400}

/* Homework stays separate from the optional research collection. */
.homework-list{display:grid;gap:12px}
.homework-set{min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--paper);overflow:hidden}
.homework-set>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:17px 20px;color:var(--green)}
.homework-set>summary::-webkit-details-marker,.homework-problem>summary::-webkit-details-marker{display:none}
.homework-set>summary::before,.homework-problem>summary::before{content:'';display:block;flex:none;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}
.homework-set[open]>summary::before,.homework-problem[open]>summary::before{transform:rotate(45deg)}
.homework-set>summary h3{font-size:16px;font-weight:550;line-height:1.5;margin:0;overflow-wrap:anywhere}
.homework-set-count{font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}
.homework-set>summary:hover,.homework-problem>summary:hover{background:var(--soft)}
.homework-set>summary:focus-visible,.homework-problem>summary:focus-visible{outline:2px solid var(--focus);outline-offset:-3px}
.homework-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:20px;padding:0 20px;border-top:1px solid var(--line)}
.homework-problem{min-width:0}
.homework-problem>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;min-height:65px;padding:13px 0;color:var(--ink)}
.homework-problem>summary::before{width:5px;height:5px;color:var(--muted)}
.homework-problem-title{flex:1;min-width:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.homework-problem>summary .badge{flex:none;font-size:9px;white-space:normal;text-align:center}
.homework-problem-details{padding:0 0 16px 18px}
.homework-problem-details p{font-size:12px;line-height:1.75;color:var(--muted);margin:0 0 7px;max-width:850px}
.homework-problem-details .small-label{font-size:10px;color:var(--muted)}
.homework-actions{display:flex;align-items:center;gap:18px;min-height:65px}
.homework-actions .source-link{margin:0;font-size:11px}
.homework-actions .button{white-space:nowrap;font-size:11px;min-height:32px;padding:6px 10px}
.reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.reading-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:23px}
.reading-card h3{color:var(--green);font-size:18px;font-weight:550;line-height:1.45;margin:9px 0 11px;overflow-wrap:anywhere}
.reading-card p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:15px}
.reading-grid{margin-bottom:27px}
.reading-kicker{font-size:10px;letter-spacing:.7px;color:var(--muted);font-weight:500}
.reading-card .source-link{margin-top:auto;font-size:11px}
.reading-card .source-meta{font-size:10px;color:var(--muted);line-height:1.6;margin-bottom:10px}
.materials-library{border-top:1px solid var(--line);padding-top:18px}
.materials-library>summary{cursor:pointer;color:var(--green);font-size:15px;font-weight:550;list-style:disclosure-closed;line-height:1.6}
.materials-library[open]>summary{list-style:disclosure-open}
.materials-library-body{padding-top:20px}
.materials-library-header{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;margin-bottom:20px}
.materials-library-header>p{max-width:740px;color:var(--muted);font-size:12px;line-height:1.8;margin:0}
.materials-library-header .count-pill{flex:none}
@media(max-width:850px){.reading-card{padding:20px}.reading-card h3{font-size:17px}.homework-row{column-gap:14px}.homework-actions{gap:12px}.homework-problem>summary{flex-wrap:wrap;gap:6px 10px}.homework-problem-title{flex-basis:calc(100% - 20px)}.homework-problem>summary .badge{margin-left:17px}}
@media(max-width:540px){.reading-grid{grid-template-columns:1fr;gap:13px;margin-bottom:23px}.reading-card{padding:19px}.materials-library-header{flex-direction:column;gap:13px}.materials-library>summary{font-size:14px}.homework-set>summary{padding:14px 15px}.homework-set>summary h3{font-size:15px}.homework-row{grid-template-columns:1fr;padding:0 15px}.homework-problem>summary{min-height:0;padding:13px 0 9px}.homework-actions{min-height:0;padding:0 0 13px 17px;gap:17px}.homework-problem-details{padding-bottom:12px}}
