:root{
  --ink:#183047;
  --muted:#40566b;
  --teal:#145a91;
  --teal2:#1d6ca6;
  --mint:#e4f0fb;
  --bg:#f3f6f9;
  --paper:#fff;
  --line:#c8d5e1;
  --warm:#fff5e5;
  --warn:#784314;
  --red:#a33830;
  --shadow:0 8px 28px rgba(20,60,100,.06);
}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",Arial,sans-serif;
  font-size:18px;
  line-height:1.7;
}
button,input,select{font:inherit}
a{color:#12558b;text-underline-offset:3px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{
  outline:4px solid #db8b24;
  outline-offset:3px;
}
.shell{max-width:1120px}
.topbar{
  height:auto;
  min-height:84px;
  border-top:5px solid #be493d;
  border-bottom:1px solid var(--line);
  padding-top:8px;
  padding-bottom:8px;
  box-shadow:0 2px 12px rgba(21,59,90,.04);
}
.brand{gap:13px}
.brand strong{font-size:22px;letter-spacing:0}
.brand small{font-size:12px;letter-spacing:.07em;color:#4f6680}
.mark{
  width:48px;
  height:48px;
  border-radius:7px;
  background:var(--teal);
  color:#fff;
  font-size:25px;
  font-weight:700;
}
.header-right{gap:15px}
.demo-pill{
  border-radius:4px;
  border-color:#cad9e8;
  background:#eef5fc;
  color:#24516f;
  font-size:14px;
  font-weight:700;
  padding:7px 11px;
}
.language{
  min-height:48px;
  border:1px solid #8badc8;
  border-radius:6px;
  background:#fff;
  color:var(--teal);
  font-size:17px;
  padding:7px 15px;
}
.language:hover{background:#eef5fc}
.intro{padding-top:34px;padding-bottom:26px}
.eyebrow{
  color:#335e83;
  font-size:15px;
  letter-spacing:0;
  text-transform:none;
  margin-bottom:8px;
}
h1{font-size:clamp(30px,3vw,40px);line-height:1.35;letter-spacing:0;max-width:900px;margin-bottom:10px}
h1 em{color:var(--teal)}
.lead{font-size:19px;color:var(--muted);max-width:900px;margin-bottom:16px}
.notice{
  max-width:none;
  border:1px solid #cfdbeb;
  border-left:5px solid #4382b4;
  border-radius:6px;
  background:#edf5fc;
  color:#284b68;
  padding:12px 16px;
  font-size:16px;
}
.notice span{font-size:22px;color:var(--teal)}
.workspace{padding-bottom:52px}
.steps{
  gap:0;
  padding:0;
  border:1px solid var(--line);
  border-bottom:0;
  border-radius:9px 9px 0 0;
  background:#eaf0f6;
  overflow:hidden;
}
.step{
  justify-content:center;
  gap:12px;
  border-radius:0;
  border-right:1px solid var(--line);
  min-height:70px;
  padding:12px;
  font-size:18px;
  color:#36566f;
}
.step:last-child{border-right:0}
.step:hover{background:#dae9f6}
.step.active{
  background:var(--teal);
  box-shadow:none;
  color:#fff;
}
.step.active:hover{background:var(--teal)}
.step-num{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  flex:none;
  border-radius:50%;
  background:#d4e3ef;
  color:#244f71;
  opacity:1;
  font-size:14px;
  letter-spacing:0;
}
.step.active .step-num{background:#fff;color:var(--teal)}
.panel{
  min-height:0;
  border-color:var(--line);
  border-radius:0 0 9px 9px;
  padding:34px 40px 40px;
  box-shadow:var(--shadow);
}
.section-title{margin-bottom:24px}
.section-title h2{font-size:30px;letter-spacing:0;margin-bottom:4px}
.section-title p:last-child{color:var(--muted);font-size:18px}
.icon-badge{border-radius:7px;background:#e7f1fa;color:var(--teal)}
.form-grid{gap:18px}
label{font-size:18px;color:var(--ink)}
label span{margin-bottom:8px}
label small{font-size:15px;color:var(--muted);line-height:1.55}
select,input{
  height:58px;
  border:2px solid #a9bfd1;
  border-radius:7px;
  background:#fff;
  font-size:18px;
}
input::placeholder{color:#63788a;opacity:1}
label.full{margin-top:22px}
.primary,.secondary{
  min-height:56px;
  border-radius:7px;
  padding:12px 22px;
  font-size:18px;
}
.primary{background:var(--teal);border-color:var(--teal)}
.primary:hover{background:#0c4878}
.secondary{border:2px solid #8eaec8;color:var(--teal)}
.secondary:hover{background:#edf5fc}
.text-button{min-height:52px;color:var(--teal);font-size:17px;font-weight:700}
.divider{color:#51677b;font-size:16px;margin:30px 0 18px}
.scenario-grid{gap:14px}
.scenario{
  min-height:156px;
  border:2px solid var(--line);
  border-radius:8px;
  background:#fff;
  padding:18px;
}
.scenario:hover{border-color:var(--teal2);background:#f3f9ff}
.scenario-icon{font-size:24px;color:var(--teal)}
.scenario strong{font-size:18px}
.scenario small{font-size:15px;color:var(--muted);line-height:1.5}
.scenario>span:last-child{color:var(--teal)}
.results h3,.case-banner h3{font-size:22px}
.results p,.case-banner p,.result-card small{font-size:16px;color:var(--muted)}
.result-card,.check-card,.study-prompt,.chictr-handoff{border-color:var(--line);border-radius:8px}
.result-card{padding:20px}
.result-card strong{font-size:19px}
.tag{font-size:14px;border-radius:4px}
.checks{gap:16px}
.check-card{padding:22px}
.check-card h3{font-size:20px}
.check-card p,.check-card small{font-size:16px;color:var(--muted)}
.redflag-box{
  border-color:var(--line);
  border-radius:8px;
  background:#fbfdff;
  padding:22px;
}
.redflag-box h3{font-size:21px}
.redflag-box>p,.flag-choice{font-size:17px;color:var(--muted)}
.flag-choice{min-height:56px;align-items:center}
.flag-choice input{width:24px;height:24px}
.guardrail{
  border-left:5px solid #d89431;
  border-radius:6px;
  background:#fff5e5;
  color:#664219;
  padding:18px 22px;
}
.guardrail p{font-size:17px}
.study-question-section{
  border-color:#cbdbea;
  border-radius:8px;
  background:#f2f7fc;
}
.study-question-section h3{font-size:24px}
.study-question-section>p:not(.eyebrow){font-size:17px;color:var(--muted)}
.study-prompts{gap:14px}
.study-prompt{padding:18px}
.study-prompt small{font-size:14px;color:#285b80;letter-spacing:0}
.study-prompt .study-evidence{font-size:16px;color:var(--muted)}
.study-prompt strong{font-size:18px;line-height:1.6}
.study-source{font-size:16px;text-decoration:underline}
.general-heading{font-size:23px}
.topic-list,.topic-column{gap:12px}
.topic{border:2px solid var(--line);border-radius:8px}
.topic button{
  min-height:68px;
  padding:16px 20px;
  background:#fff;
  font-size:18px;
}
.topic button:hover,.topic button[aria-expanded="true"]{background:#edf5fc}
.topic button span:last-child{color:var(--teal);font-size:26px}
.topic-body{padding:18px 20px;font-size:17px;line-height:1.7;color:var(--ink)}
.topic-body strong{color:var(--teal)}
.questions-box{border-radius:8px;background:#edf5fc;padding:26px}
.questions-box h3{font-size:24px}
.questions-box ol{font-size:17px;color:var(--ink)}
.questions-box li{margin:10px 0}
.chictr-handoff{background:#f1f7fc;padding:20px}
.chictr-handoff h4{font-size:20px}
.chictr-handoff p{font-size:17px;color:var(--muted)}
.chictr-actions a{
  min-height:48px;
  border-color:#96b3cb;
  border-radius:6px;
  padding:10px 14px;
  font-size:17px;
  text-decoration:underline;
}
.sources{gap:48px;padding-bottom:56px}
.sources h2{font-size:27px}
.sources p:last-child{font-size:17px;color:var(--muted)}
.source-links a{
  border:2px solid var(--line);
  border-radius:7px;
  color:var(--teal);
  font-size:17px;
  padding:15px 18px;
  text-decoration:underline;
}
footer{font-size:15px;color:var(--muted)}
@media(max-width:760px){
  body{font-size:18px}
  .shell{padding-left:16px;padding-right:16px}
  .topbar{min-height:72px;padding:8px 16px}
  .brand strong{font-size:19px}
  .brand small{font-size:10px}
  .mark{width:42px;height:42px;font-size:23px}
  .header-right{gap:7px}
  .language{font-size:16px;min-height:44px;padding:5px 10px}
  .intro{padding-top:24px;padding-bottom:20px}
  h1{font-size:30px;line-height:1.35}
  .lead{font-size:18px}
  .notice{font-size:15px}
  .step{min-height:72px;gap:3px;padding:8px 3px;font-size:15px;line-height:1.3}
  .step-num{width:23px;height:23px;font-size:12px}
  .panel{padding:24px 18px 28px}
  .section-title h2{font-size:27px}
  .section-title p:last-child{font-size:17px}
  .icon-badge{display:none}
  .form-grid,.checks,.topic-list,.sources,.study-prompts{grid-template-columns:1fr}
  .scenario-grid{grid-template-columns:1fr}
  .scenario{min-height:90px;padding:14px 35px 14px 54px}
  .scenario-icon{left:16px;top:22px}
  .scenario strong{font-size:18px}
  .scenario small{font-size:15px}
  .form-actions,.panel-actions{align-items:stretch}
  .form-actions .primary,.panel-actions .primary{flex:1 1 100%}
  .result-card{align-items:stretch}
  .result-card button{white-space:normal}
  .questions-box{padding:20px}
  .questions-box button{white-space:normal}
  .sources{gap:18px;padding-bottom:38px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}
