@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600&display=swap');
:root[data-theme=dark]{--bg:#0c0c0c;--ink:#f0f0f0;--muted:#a6a6a6;--panel:#131313;--paper:#1a1a1a;--line:#2f2f2f;--button:#c6c6c6;--button-text:#1d1d1d;--accent:#c6c6c6}
body{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.wrap{width:min(1248px,calc(100% - 96px))}.demo-page header{height:89px;border-bottom:1px solid var(--line)}.demo-hero h1{font-weight:450}.demo-label,.step-number,.boundary span{color:#c6c6c6}.role-switch button[aria-pressed=true]{background:#c6c6c6;color:#1d1d1d}.chapter-nav button[aria-current=step]{border-left:2px solid #c6c6c6;border-radius:0}.button{border-radius:4px}.demo-page nav{letter-spacing:0}.demo-hero{padding-top:55px}.demo-hero h1{font-size:clamp(40px,5.4vw,70px)}.demo-page footer a:last-child{font-size:12px;margin-left:auto}.demo-page :focus-visible{outline-color:#c6c6c6}
@media(max-width:1100px){.wrap{width:calc(100% - 60px)}}@media(max-width:800px){.wrap{width:calc(100% - 40px)}.demo-page header{height:72px}.demo-page header nav{gap:18px}.demo-page header nav a{font-size:11px}.demo-hero{padding-top:36px}.demo-hero h1{font-size:44px}.demo-page footer a:last-child{margin-left:0}}@media(max-width:420px){.demo-page .brand{font-size:21px}.demo-page header nav{gap:12px}.demo-page header nav a{font-size:10px}.demo-hero h1{font-size:38px}}
:root[data-theme=dark]{--bg:#090909;--ink:#fafafa;--muted:#aaa;--panel:#111;--paper:#191919;--line:#333;--button:#fff;--button-text:#111;--accent:#fff}
.demo-hero{padding:32px 0 24px;max-width:900px}.demo-hero h1{font-size:clamp(32px,3.8vw,48px);margin:12px 0}.demo-hero>.intro{font-size:16px;margin-bottom:10px}.demo-disclosure{font-size:11px;margin-bottom:0}.demo-page .brand{display:flex;align-items:center;gap:10px;font-size:25px;letter-spacing:-1px}.demo-page .brand img{filter:brightness(0) invert(1)}.chapter-intro.compact{margin-bottom:20px}.chapter-intro.compact h2{font-size:27px;margin-top:0}.chapter-intro.compact>.eyebrow{display:none}.role-description{margin:14px 0;font-size:12px;min-height:0}.demo-shell{gap:28px;padding-top:24px}.decision-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.secondary-decision{background:none;color:var(--ink);border:1px solid var(--line);padding:12px 16px;border-radius:4px;font-size:12px;cursor:pointer;min-height:44px}.queue-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.queue-summary>div{padding:14px;border:1px solid var(--line);font-size:11px;color:var(--muted)}.queue-summary strong{display:block;color:var(--ink);font-size:24px;font-weight:500}.demo-page footer{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-block:30px}.role-switch button[aria-pressed=true]{background:#fff;color:#111}.status-badge,.decision-result{background:#171717;border-color:#444;color:#eee}.chapter-nav button[aria-current=step]{border-left-color:#fff}.demo-label,.step-number,.boundary span{color:#eee}
@media(max-width:800px){.demo-hero{padding-top:27px}.demo-shell{gap:20px}.chapter-nav{display:flex;flex-direction:row;overflow-x:auto;white-space:nowrap;max-width:100%;padding-bottom:6px}.chapter-nav .chapter-counter{display:none}.chapter-nav button{flex-shrink:0;font-size:11px}.chapter-nav button span{display:none}.demo-page .brand{font-size:21px}.demo-page header nav a{font-size:10px}.demo-hero h1{font-size:36px}.queue-summary{gap:6px}.queue-summary>div{padding:10px}}
@media(max-width:420px){.demo-page .brand{font-size:19px}.demo-page .brand img{width:24px;height:24px}.demo-page header nav{gap:10px}.demo-hero h1{font-size:32px}.role-switch{flex-direction:row}.role-switch button{font-size:10px;padding:9px 5px}.case-list{display:block}.case-button{min-height:54px}.demo-hero>.intro{font-size:14px}}
.mobile-case-picker{display:none}
@media(max-width:420px){.mobile-case-picker{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:12px;margin:20px 0 12px}.mobile-case-picker select{width:100%;min-height:46px}.case-list{display:none}.role-switch button{font-size:11px}.case-heading h3{font-size:19px}}

.chapter-intro h2,.journey h3{margin-top:0}
.journey+.button{margin-top:28px}
