src/style.css
:root{font-family:Inter,"Segoe UI",sans-serif;color:#183b38;background:#f3f2eb;font-synthesis:none;font-size:15px;--ink:#183b38;--muted:#5c706a;--line:#d7ddd1;--paper:#fcfcf7;--accent:#e4ed95}
*{box-sizing:border-box}body{margin:0}button,select,textarea{font:inherit}button,select{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #61843b;outline-offset:3px}button{transition:background .15s}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit;text-decoration:none}.topbar{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px)}.brand{display:flex;gap:12px;align-items:center;font-weight:700;font-size:24px;letter-spacing:-1px}.brandmark{background:var(--ink);color:var(--accent);width:38px;height:38px;border-radius:10px;text-align:center;line-height:34px;font-family:Georgia,serif;font-size:32px}.edition{font-size:10px;letter-spacing:1.7px;font-weight:500;margin-left:10px;color:var(--muted)}.session{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.session i{width:7px;height:7px;background:#668449;border-radius:50%}main{max-width:1310px;margin:auto;padding:0 42px}.hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:56px 0 38px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;margin-bottom:18px}h1{font-size:clamp(40px,4.2vw,61px);letter-spacing:-2.5px;line-height:1.07;font-weight:500;margin:0}h1 em{font-family:Georgia,serif;font-weight:400}.intro{font-size:15px;line-height:1.7;color:var(--muted);margin:20px 0 0}.promise{width:300px;background:#e8ecd9;border:1px solid #d6ddc4;padding:26px 25px;border-radius:3px;transform:rotate(2deg)}.promise-icon{display:block;font-size:37px;margin-bottom:14px}.promise strong{font-family:Georgia,serif;font-size:22px;font-weight:400}.promise p{font-size:12px;line-height:1.75;color:var(--muted);margin-bottom:0}.controlbar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 0}.mode-control,.device-control{display:flex;align-items:center;gap:12px}.mode-control label{font-size:12px;color:var(--muted)}select{background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:8px;color:var(--ink);font-size:12px}.device-control{font-size:12px}.subtle{background:transparent;border:1px solid var(--line);border-radius:5px;padding:8px 11px;color:var(--ink);font-size:12px}.subtle:hover{background:#e8ecd9}.rehearsal{font-size:12px;margin:14px 0 22px;color:var(--muted)}summary{cursor:pointer}summary span{margin-left:14px;opacity:.85}.sim-controls{display:flex;align-items:center;gap:24px;padding:12px 0}.sim-controls label{display:flex;align-items:center;gap:6px}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:8px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 23px;gap:10px}.panel-heading>div{display:flex;align-items:center;gap:12px}.step{font-size:11px;color:#788576;font-family:monospace}h2{font-size:16px;letter-spacing:-.3px;font-weight:600;margin:0}textarea{display:block;width:calc(100% - 46px);margin:0 23px;min-height:267px;resize:vertical;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;background:transparent;color:var(--ink);line-height:1.8;font-family:"Consolas",monospace;font-size:12px}.note-meta{display:flex;justify-content:space-between;align-items:center;margin:12px 23px;font-size:11px;color:var(--muted)}.hint{font-size:11px;color:var(--muted);line-height:1.6;margin:12px 23px 20px}code{background:#eef0e5;padding:2px 4px}.tag{background:#e7edcf;color:#43542f;font-size:10px;padding:5px 8px;border-radius:20px;white-space:nowrap}.panel-copy{font-size:12px;color:var(--muted);line-height:1.6;margin:0 23px 14px}pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 23px;padding:15px;background:#f0f2e7;border:1px dashed #c9d1b9;font-family:Consolas,monospace;font-size:11px;line-height:1.7;max-height:225px;min-height:185px;overflow:auto;border-radius:5px}.consent{display:flex;gap:10px;margin:18px 23px 12px;font-size:12px;align-items:flex-start;cursor:pointer}.consent input{accent-color:#254f43;width:16px;height:16px;margin:0}.consent strong{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:6px}.privacy-line{display:flex;gap:8px;font-size:10px;color:var(--muted);margin:0 23px 21px;line-height:1.5}.runbar{display:flex;align-items:center;justify-content:space-between;padding:25px 0}.runbar strong{font-size:13px;font-weight:600}.runbar>div>span{display:block;font-size:11px;color:var(--muted);margin-top:5px}.primary{padding:15px 25px;border-radius:6px;border:0;background:var(--ink);color:#f5f7dc;font-size:13px;min-width:185px}.primary span{margin-left:25px}.primary:hover{background:#28534b}.result-panel{margin-bottom:30px}.route{display:flex;align-items:center;gap:15px;margin:0 23px 15px;color:var(--muted);font-size:9px;letter-spacing:1px}.route b{font-weight:400}.source-badge{background:var(--accent);color:var(--ink);border-radius:3px;font-weight:600;font-size:11px;letter-spacing:0;padding:7px 10px}#status{margin:0 23px 22px;font-size:12px;color:var(--muted);line-height:1.7}#cards{margin:0 23px}#cards>p{font-size:13px}.action-card{display:flex;gap:18px;padding:18px 0;border-top:1px solid var(--line)}.action-number{font-size:11px;color:#7f8c75;font-family:monospace;padding-top:4px}h3{font-size:14px;font-weight:500;margin:0;line-height:1.5}.action-meta{font-size:10px;color:var(--muted);margin:6px 0}blockquote{margin:7px 0 0;border-left:2px solid #d2dabd;padding-left:10px;font-size:11px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted);padding:0 0 30px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){main{padding:0 24px}.promise{width:240px}.controlbar{align-items:flex-start;flex-direction:column}.device-control{flex-wrap:wrap}.workspace{gap:14px}.panel-heading{padding:18px 16px}.panel-heading h2{font-size:14px}.sim-controls{flex-wrap:wrap}}
@media(max-width:650px){.topbar{height:70px;padding:0 20px}.edition{display:none}.session{font-size:10px}.hero{padding:32px 0 24px}.hero h1{font-size:43px}.promise{display:none}.intro br{display:none}.workspace{grid-template-columns:1fr}summary span{display:block;margin:5px 0 0 14px}.sim-controls{gap:12px}.mode-control{flex-wrap:wrap}.runbar{gap:12px}.runbar>div{max-width:45%}.primary{min-width:150px;padding:14px}footer{flex-direction:column}.route{flex-wrap:wrap;font-size:8px;gap:9px}}
/* The workspace stays readable at 200% zoom and on a narrow phone. */
[hidden]{display:none!important}
.skip-link{position:fixed;top:10px;left:-10000px;z-index:20;padding:12px 20px;background:var(--ink);color:white;border-radius:6px}
.skip-link:focus{left:10px}
.start-guide{background:var(--paper);border:1px solid var(--line);border-left:4px solid #446345;border-radius:8px;padding:18px 22px;margin-bottom:20px}
.start-guide>strong{font-size:14px}.start-guide ol{display:flex;gap:30px;flex-wrap:wrap;margin:12px 0 0;padding-left:20px;font-size:12px;line-height:1.65;color:#425b51}
.notice{background:#e7edcf;border:1px solid #bac8a3;border-radius:6px;padding:12px 16px;font-size:12px;line-height:1.6;color:#30462b}
.network-state{font-size:12px;line-height:1.6;padding:12px 2px;color:#425b51}.network-state.offline{color:#714015;font-weight:600}
.setup{font-size:12px;line-height:1.75;color:#425b51;margin:14px 0}.setup p{overflow-wrap:anywhere;max-width:90ch}.setup summary{min-height:28px}.setup summary span{margin:0;font-size:11px}
.rehearsal{margin-bottom:24px}.rehearsal summary{min-height:28px;line-height:1.6}
.panel{box-shadow:0 3px 16px #183b3806}.workspace>*{min-width:0}.panel-heading>div{min-width:0}.step,.action-number{color:#526549}
textarea{font-size:13px;line-height:1.8;min-height:282px}pre{font-size:12px;line-height:1.8;min-height:210px;max-height:260px}
.hint,.panel-copy{font-size:12px}.consent{font-size:13px;line-height:1.65;min-height:44px}.consent input{flex-shrink:0;margin-top:3px}.consent strong,.privacy-line{font-size:11px;line-height:1.65}
.subtle,select{min-height:40px}.subtle{font-size:12px}.primary{min-height:48px}.sim-controls label{min-height:44px}.sim-controls input{width:18px;height:18px;accent-color:#254f43}
.execution{margin:0 23px 16px;padding:15px;background:#f0f2e7;border-radius:6px}.execution-label{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#425b51}.execution .route{margin:10px 0 0;font-size:12px;line-height:1.6;letter-spacing:0}.execution p{margin:10px 0 0;font-size:12px;line-height:1.7;color:#425b51}
.source-badge{font-size:12px}#status{font-size:13px}.action-meta,blockquote{font-size:12px}.action-card h3{font-size:15px;overflow-wrap:anywhere}.action-card>div{min-width:0}.action-number{flex-shrink:0}
.empty-state{padding:20px 0 28px;color:#425b51;font-size:13px;line-height:1.8}.empty-state p{margin:7px 0 0}.input-error{margin:12px 23px;color:#903b29;font-size:13px;line-height:1.6}
.recovery{margin:0 23px 20px;padding:14px;background:#fff1de;border:1px solid #d8b68a;border-radius:6px;color:#714015;font-size:12px;line-height:1.8}
button:disabled{opacity:1;color:#637066;background:#e9ece4}#prepare:disabled{background:transparent}.runbar>div>span{font-size:12px;line-height:1.6}footer{font-size:11px;line-height:1.6}
@media(max-width:650px){main{padding:0 16px}.topbar{padding:0 16px}.brand{font-size:21px;gap:8px}.session{max-width:110px;text-align:right;font-size:11px}.hero h1{font-size:clamp(35px,10vw,43px);letter-spacing:-1.8px}.start-guide{padding:16px 18px}.start-guide ol{display:block}.start-guide li+li{margin-top:7px}.panel-heading{flex-wrap:wrap;gap:12px}.panel-heading h2{font-size:15px}textarea{width:calc(100% - 32px);margin:0 16px;font-size:14px;min-height:305px}.panel-copy,.hint,.note-meta,.consent,.privacy-line,.input-error{margin-left:16px;margin-right:16px}pre{margin:0 16px;font-size:12px}.runbar{align-items:stretch;flex-direction:column;gap:14px}.runbar>div{max-width:none}.primary{width:100%}.execution,#status,.recovery,#cards{margin-left:16px;margin-right:16px}.device-control{gap:8px}select{max-width:100%}.action-card{gap:12px}.setup summary span{display:block;margin-left:15px}.sim-controls{align-items:flex-start;flex-direction:column}.sim-controls label{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}