/* A readable story above the existing evidence workspace. */
.story-mode .workspace{display:block}
.story-entry .workspace{display:block;max-width:820px}
.story-entry #journeySteps,.story-entry #decisionSummary,.story-entry #edition,.story-entry #stepControls{display:none}
.story-mode #journeySteps,.story-mode #currentScope,.story-mode #decisionSummary,.story-mode #stepControls,.story-mode #edition{display:none}
.story-mode .journey{max-width:1120px}
.story-mode .journey-top{margin-bottom:24px}
.story-mode #journeyKicker{color:var(--fg-3);letter-spacing:.06em}
.case-story{--story-rule:var(--line-3);max-width:100%;color:var(--fg-1)}
.case-story h1{font-size:clamp(36px,5.8vw,66px);line-height:1.06;max-width:850px;letter-spacing:-.045em;margin:18px 0 26px;text-wrap:balance}
.story-hero{padding:20px 0 42px}
.case-story .story-lead{font-size:clamp(18px,2vw,22px);line-height:1.55;color:var(--fg-2);max-width:740px}
.story-hero .btn{margin-top:10px}
.story-nav{position:sticky;top:0;z-index:3;display:flex;gap:16px;justify-content:space-between;padding:16px 0;border-block:1px solid var(--story-rule);background:var(--bg-1)}
.story-nav a{color:var(--fg-2);font-size:15px;text-decoration:none;padding:8px 0;min-height:44px;display:flex;align-items:center;gap:10px}
.story-nav a:hover{color:#90dfb3}
.story-nav a[aria-current]{color:#90dfb3;text-decoration:underline;text-underline-offset:8px}
.story-section{padding:64px 0;scroll-margin-top:105px;outline:none;border-bottom:1px solid var(--story-rule)}
.case-story h2{font-size:clamp(28px,3.6vw,40px);max-width:760px;text-wrap:balance;line-height:1.15;margin-bottom:24px}
.story-parts,.story-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;list-style:none;margin:32px 0 24px}
.story-parts li,.story-checks li{border-top:3px solid #70c994;padding:22px 0 0}
.case-story h3{font-size:22px;line-height:1.3;letter-spacing:-.02em}
.story-parts p,.story-checks p{color:var(--fg-2);margin-bottom:0}
.case-story .story-note{font-size:15px;line-height:1.55;color:var(--fg-3);max-width:760px}
.story-evidence{border-top:1px solid var(--story-rule);margin:26px 0;padding:10px 0}
.story-evidence summary{min-height:44px;font-size:16px;color:#90dfb3;padding:12px 0}
.story-evidence p{max-width:760px}
.case-story .source-links{font-size:15px}
.story-trade{border-left:3px solid #82b4df;padding:8px 0 8px 24px;margin:32px 0}
.story-trade>p:first-of-type{font-size:21px;max-width:720px}
.story-trade .story-number{font:600 clamp(42px,6vw,64px)/1.1 var(--font-display);margin:24px 0 8px;letter-spacing:-.03em;color:#a0cdf0}
.story-number span{display:block;font:400 17px/1.5 var(--font-body);letter-spacing:0;margin-top:6px;color:var(--fg-2)}
.story-trade .story-evidence{margin:12px 0 0}
.story-trade .source-links{margin-top:12px}
.case-story a[data-story-anchor]{text-underline-offset:5px}
.story-system{display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:center;gap:25px;padding:36px 0;margin:24px 0}
.story-system>span{text-align:center;font:600 22px/1.3 var(--font-display)}
.story-system>span:first-child{color:#a0cdf0}.story-system>span:last-child{color:#edba80}
.story-machine{border:1px solid var(--story-rule);border-radius:14px;padding:28px 18px;position:relative;background:var(--bg-2)}
.story-machine::before,.story-machine::after{content:'';position:absolute;top:50%;width:25px;height:2px;background:var(--fg-3)}
.story-machine::before{left:-26px}.story-machine::after{right:-26px}
.story-insight{padding:26px 30px;background:rgba(112,201,148,.06);border-left:3px solid #70c994;margin:24px 0}
.story-insight h3{font-size:clamp(24px,3vw,32px);max-width:750px}
.story-insight p:last-child{margin-bottom:0;max-width:740px;color:var(--fg-2)}
.story-next{margin-top:30px}
.story-checks li{border-color:#ddb581}
.story-resources{margin-top:36px}
.story-conclusion{margin-top:40px;max-width:740px}
.story-conclusion>p:last-child{font-size:23px;line-height:1.5;margin-bottom:0}
.story-create{margin-top:48px;padding:36px;background:var(--bg-2);border:1px solid var(--story-rule);border-radius:12px}
.story-create p{max-width:650px;color:var(--fg-2);font-size:19px}
.story-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;padding-top:28px}
.story-foot p{margin:0}
.story-return{margin-bottom:24px}
.story-route{display:flex;flex-wrap:wrap;gap:8px 24px;color:var(--fg-2);padding:0;list-style:none;margin:24px 0}
.story-route li{display:flex;gap:9px}.story-route span{color:#70c994}
@media(max-width:600px){
  .story-hero{padding:6px 0 32px}.case-story h1{font-size:38px}
  .story-nav{gap:12px;padding:8px 0}.story-nav a{font-size:13px;line-height:1.35;flex:1;align-items:center}.story-nav a span{display:none}
  .story-section{padding:40px 0;scroll-margin-top:95px}
  .story-parts,.story-checks{grid-template-columns:1fr;gap:20px}.story-parts li,.story-checks li{padding-top:16px}
  .case-story h3{font-size:21px}.story-system{gap:12px;padding:20px 0}.story-system>span{font-size:16px}.story-machine{padding:20px 10px}
  .story-machine::before,.story-machine::after{width:12px}.story-machine::before{left:-13px}.story-machine::after{right:-13px}
  .story-insight{padding:22px}.story-create{padding:24px 20px;margin-top:32px}
  .story-create .button-row{display:grid}.story-conclusion>p:last-child{font-size:21px}
  .story-trade{padding-left:18px}.story-route{display:grid;gap:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{
  .story-nav,.story-hero>.btn,.story-next,.story-create,.story-foot button,.case-story button,.case-story a[data-story-anchor]{display:none}
  .story-mode .journey{padding:0}.story-section{padding:24px 0;break-inside:avoid}.case-story h1{font-size:32pt}
}
