:root{color-scheme:dark;--bg: #0b0d10;--surface: #13171c;--surface-2: #1a2027;--text: #eef1f4;--ink: #eef1f4;--muted: #a2acb8;--line: #2a323b;--money: #6cb6ff;--danger: #ff8a80;--warn: #f5c04a;--ok: #5fd38d;--radius: 8px;--gutter: 16px;--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}@media (prefers-color-scheme: light){:root:not([data-theme=dark]){color-scheme:light;--bg: #f7f5f0;--surface: #ffffff;--surface-2: #efece5;--text: #14181d;--ink: #14181d;--muted: #4d5560;--line: #cfcabf;--money: #0b5cad;--danger: #b3261e;--warn: #7a4b00;--ok: #0f6b3a}}:root[data-theme=light]{color-scheme:light;--bg: #f7f5f0;--surface: #ffffff;--surface-2: #efece5;--text: #14181d;--ink: #14181d;--muted: #4d5560;--line: #cfcabf;--money: #0b5cad;--danger: #b3261e;--warn: #7a4b00;--ok: #0f6b3a}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-padding-top:8px}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 var(--font);font-variant-numeric:tabular-nums}h1,h2,h3,h4{line-height:1.25;margin:0 0 8px}h2{font-size:1.3rem}h3{font-size:1.1rem}h4{font-size:1rem}p{margin:0 0 12px}a{color:var(--text);text-underline-offset:3px}code{font:.85em var(--mono);background:var(--surface-2);padding:1px 5px;border-radius:4px;overflow-wrap:anywhere}button,input,select{font:inherit;color:inherit}button{min-height:44px;padding:6px 14px;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);cursor:pointer}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--text);color:var(--bg);border-color:var(--text);font-weight:600}:focus-visible{outline:3px solid var(--text);outline-offset:2px}.muted{color:var(--muted)}.loading{min-height:90vh}.small{font-size:.85rem}.money{color:var(--money)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.skip{position:absolute;left:8px;top:-60px;z-index:50;background:var(--text);color:var(--bg);padding:10px 14px;border-radius:var(--radius)}.skip:focus{top:8px}.app{min-height:100vh;display:flex;flex-direction:column;padding-bottom:64px}.top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:10px var(--gutter);background:var(--surface);border-bottom:1px solid var(--line)}.brand{display:flex;flex-direction:column;line-height:1.2}.demo-tag{font-size:.75rem;color:var(--muted)}.top-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.role{display:flex;align-items:center;gap:6px;font-size:.85rem;color:var(--muted)}@media (max-width: 519px){.role>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.pill{padding:0 10px;font-size:.85rem}.top-tools{gap:6px}.top-tools .theme{padding:0 10px}.role select{max-width:112px}}.role select{min-height:44px;padding:4px 8px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius);color:var(--text)}.pill{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:999px;text-decoration:none;font-size:.9rem}.pill[aria-current=page]{background:var(--text);color:var(--bg)}.theme{font-size:.85rem}main{flex:1;width:100%;max-width:980px;margin:0 auto;padding:12px var(--gutter) 24px;outline:none}.foot{padding:16px var(--gutter);font-size:.8rem;color:var(--muted);text-align:center;max-width:760px;margin:0 auto}.role-line{margin:0 0 8px}.disclaimer{margin:0 0 12px;padding:6px 10px;border-left:3px solid var(--line);background:var(--surface-2);color:var(--text)}.tabs a{color:var(--muted);text-decoration:none;display:flex;align-items:center;justify-content:center;gap:6px}.tabs a[aria-current=page]{color:var(--text);font-weight:700}.bottom-tabs{position:fixed;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);background:var(--surface);border-top:1px solid var(--line);z-index:10}.bottom-tabs a{flex-direction:column;gap:0;padding:6px 2px;font-size:.75rem;min-height:56px;border-top:3px solid transparent}.bottom-tabs a[aria-current=page]{border-top-color:var(--text)}.ico{font-size:.7rem;opacity:.8}.top-tabs{display:none}@media (min-width: 760px){.app{padding-bottom:0}.bottom-tabs{display:none}.top-tabs{display:flex;gap:4px;max-width:980px;width:100%;margin:0 auto;padding:8px var(--gutter) 0}.top-tabs a{padding:10px 16px;border-bottom:3px solid transparent;min-height:44px}.top-tabs a[aria-current=page]{border-bottom-color:var(--text)}.top-tabs .ico{display:none}}.decision{margin:4px 0 12px;color:var(--muted);max-width:70ch}.decision strong{color:var(--text);font-size:1.05rem}.hero{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 16px;margin-bottom:16px}.hero-label{font-size:.95rem;font-weight:600;color:var(--muted);margin:0 0 4px}.hero-number{font-size:clamp(3rem,14vw,5.5rem);font-weight:700;line-height:1.05;margin:0 0 4px;overflow-wrap:anywhere}.hero-unit{font-size:.4em;font-weight:600;margin-left:.1em}.hero-number .hero-unit:first-child{margin:0 .04em 0 0;font-size:.6em}.hero-consequence{font-size:1.05rem;max-width:60ch;margin-bottom:12px}.hero-foot{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:16px}.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}@media (min-width: 760px){.tiles{grid-template-columns:repeat(4,1fr)}.tiles.three{grid-template-columns:repeat(3,1fr)}}.tile{background:var(--surface-2);border-radius:var(--radius);padding:10px 12px;min-width:0}.tile-label{font-size:.78rem;color:var(--muted)}.tile-value{font-size:1.05rem;font-weight:600}@media (min-width: 760px){.tile-value{font-size:1.25rem}}.tile-note{font-size:.78rem;color:var(--muted);margin-bottom:2px}.link-button{min-height:44px;padding:0;border:0;background:none;text-decoration:underline;text-underline-offset:3px;font-size:.85rem;color:var(--text);display:inline-flex;align-items:center}.notice{padding:10px 12px;border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--line)}.notice.danger{border-color:var(--danger)}.status{display:inline-flex;align-items:center;gap:5px;font-weight:600;font-size:.85rem;margin:1px 6px 1px 0}.status svg{flex:none}.status.ok{color:var(--ok)}.status.warn{color:var(--warn)}.status.danger{color:var(--danger)}.planned{display:inline-flex;align-items:center;gap:4px;padding:0 8px;min-height:22px;border:1px dashed var(--muted);border-radius:999px;font-size:.75rem;font-weight:600;color:var(--muted);margin:1px 4px 1px 0}.controls{display:flex;flex-direction:column;gap:10px;margin:10px 0}.segmented{display:flex;flex-wrap:wrap;gap:6px}.segmented button[aria-pressed=true]{background:var(--text);color:var(--bg);border-color:var(--text);font-weight:600}.field{display:flex;flex-direction:column;gap:4px;font-size:.9rem}.field input,.field select{min-height:44px;padding:6px 10px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}.form{display:grid;gap:12px}@media (min-width: 760px){.form{grid-template-columns:1fr 1fr}.form .wide{grid-column:1 / -1}.controls{flex-direction:row;align-items:end;justify-content:space-between}}input[type=range]{width:100%;accent-color:var(--text);min-height:44px}.slider{display:flex;flex-direction:column;gap:2px;margin-bottom:8px;font-size:1.05rem}.scale{display:flex;justify-content:space-between;margin-top:-10px}.pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:.85rem;color:var(--muted)}.check{display:flex;gap:8px;align-items:center;font-size:.85rem;min-height:44px}.check input{width:24px;height:24px;accent-color:var(--text)}details{margin:8px 0}summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);margin:8px 0}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{padding:8px 10px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}thead th{background:var(--surface-2);font-size:.78rem;white-space:nowrap;color:var(--muted)}tfoot th,tfoot td{border-top:2px solid var(--line);border-bottom:0;font-weight:700}tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}table.dense td,table.dense th{white-space:nowrap}table.dense tbody th[scope=row],table.dense td[data-label=Day]{white-space:normal;min-width:7.5em}.cards-on-phone table.dense{font-size:.85rem}td.num,th.num{text-align:right}tr.hl th,tr.hl td{background:var(--surface-2)}tr.hl th[scope=row]{box-shadow:inset 4px 0 0 var(--text)}@media (max-width: 719px){.cards-on-phone{overflow:visible;border:0}.cards-on-phone table,.cards-on-phone tbody{display:block}.cards-on-phone thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.cards-on-phone tr{display:block;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:10px;padding:6px 0;background:var(--surface)}.cards-on-phone tr.hl{box-shadow:inset 4px 0 0 var(--text)}.cards-on-phone tr.hl th[scope=row]{box-shadow:none}.cards-on-phone th[scope=row]{display:block;border:0;font-size:1rem;padding:6px 12px 2px}.cards-on-phone td{display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;padding:4px 12px;white-space:normal;text-align:right}.cards-on-phone td:before{content:attr(data-label);color:var(--muted);font-size:.8rem;text-align:left}.cards-on-phone table.dense td,.cards-on-phone table.dense th{white-space:normal}}dialog.drawer{border:0;padding:0;background:var(--surface);color:var(--text);margin:0;max-width:none;max-height:none}dialog.drawer::backdrop{background:#0009}dialog.drawer[open]{position:fixed;top:0;right:0;bottom:0;left:auto;width:min(560px,100%);height:100%;border-left:1px solid var(--line);overflow-y:auto}.drawer-body{padding:16px}.drawer-body header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.drawer-body header h2{font-size:1.1rem}.steps{list-style:none;padding:0;margin:12px 0;display:grid;gap:8px}.steps li{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding-bottom:8px;border-bottom:1px solid var(--line)}.steps li code{grid-column:1 / -1;background:none;padding:0;color:var(--muted)}.result{font-size:1.15rem;padding:12px;background:var(--surface-2);border-radius:var(--radius);border-left:4px solid var(--text);display:flex;justify-content:space-between;gap:12px}@media (max-width: 719px){dialog.drawer[open]{top:auto;left:0;right:0;bottom:0;width:100%;height:auto;max-height:88vh;border-left:0;border-top:1px solid var(--line);border-radius:16px 16px 0 0}dialog.drawer[open]:before{content:"";display:block;width:40px;height:4px;background:var(--line);border-radius:2px;margin:8px auto 0}}.lines{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:10px}.line{border:1px solid var(--line);border-radius:var(--radius);padding:10px 12px}.line-head{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}.pairs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px 12px;margin:8px 0}.pairs dt{font-size:.75rem;color:var(--muted)}.pairs dd{margin:0}.reason{font-size:.85rem;margin:4px 0 0}.lean{border-width:2px}.formula{background:var(--surface-2);border-radius:var(--radius);padding:10px 12px;margin:8px 0;overflow-wrap:anywhere}.formula p{margin:0 0 4px}.sev{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}.chart{width:100%;height:auto;display:block}.chart .grid{stroke:var(--line);stroke-width:1}.chart .ref{stroke:var(--muted);stroke-dasharray:4 3;stroke-width:1}.chart .axis{fill:var(--muted);font-size:11px}.pat-bg{fill:var(--surface)}.pat-ink{fill:var(--ink)}.chart-figure{margin:8px 0 0}figcaption{font-size:.85rem;color:var(--muted)}.legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin-bottom:4px;color:var(--text)}.legend svg{vertical-align:-2px}.playbook{font-size:1.02rem;max-width:70ch}.radar-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.clock{font-size:1.1rem;margin-left:auto}.scrub{display:block;margin-top:4px}.strip{display:grid;grid-template-columns:repeat(40,1fr);gap:2px;margin:8px 0;height:32px}.cell{display:flex;align-items:flex-end;cursor:pointer;border-bottom:1px solid var(--line)}.cell i{display:block;width:100%;background:var(--ok);height:24%}.cell.amber i{background:var(--warn);height:62%}.cell.red i{background:var(--danger);height:100%}.cell.future{opacity:.35}.cell.now{outline:2px solid var(--text);outline-offset:1px}.key{display:inline-block;width:10px;vertical-align:middle;margin-right:4px;background:var(--ok);height:6px}.key.amber{background:var(--warn);height:12px}.key.red{background:var(--danger);height:18px}.status-row{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;margin:4px 0}.status-row .status{font-size:1.1rem}.open-alerts,.lifecycles,.defs{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px}.feed-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center}.feed{display:grid;gap:10px;margin-top:10px}.kind{margin:0 0 2px}.card-msg{border:1px solid var(--line);border-left:5px solid var(--muted);border-radius:var(--radius);padding:10px 12px;background:var(--surface-2)}.card-msg.danger{border-left-color:var(--danger)}.card-msg.warn{border-left-color:var(--warn)}.card-msg.ok{border-left-color:var(--ok)}.card-msg header{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted);margin-bottom:4px}.card-msg h4{margin-bottom:2px}.card-msg p{margin-bottom:6px}.card-msg dl{margin:0;display:grid;gap:2px;font-size:.85rem}.card-msg dl div{display:flex;gap:8px;flex-wrap:wrap}.card-msg dt{color:var(--muted);min-width:64px}.card-msg dd{margin:0}.story{min-height:320px}.source{font-size:.85rem;color:var(--muted);margin-bottom:4px}.story-title{font-size:1.4rem}.story-big{font-size:1.35rem;font-weight:600;max-width:40ch}.story-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.dots{list-style:none;display:flex;flex-wrap:wrap;gap:4px;padding:0;margin:4px 0 12px}.dots button{width:44px;min-height:44px;padding:0;position:relative;border:0;background:none}.dots button:after{content:"";position:absolute;left:6px;right:6px;top:20px;height:4px;background:var(--line);border-radius:2px}.dots li.done button:after{background:var(--text)}.dots li[aria-current=step] button:after{height:8px;top:18px}.prose{max-width:72ch}.prose h2{font-size:1.2rem;margin-top:20px}.prose h3{font-size:1.05rem;margin-top:16px}.prose blockquote{margin:12px 0;padding:8px 12px;border-left:4px solid var(--text);background:var(--surface-2);border-radius:0 var(--radius) var(--radius) 0}.prose ul{padding-left:20px}.defs li{max-width:70ch}.narrow-only{display:none}@media (max-width: 519px){.wide-only{display:none}.narrow-only{display:inline}}.bc-h{font-size:1.15rem;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.bcase>section:first-of-type .bc-h{margin-top:4px}.bc-changes{list-style:none;padding:0;margin:12px 0;display:grid;gap:8px}@media (min-width: 760px){.bc-changes{grid-template-columns:1fr 1fr}}.bc-scenarios{display:grid;gap:12px}.bc-scenario{border-top:1px solid var(--line);padding-top:12px;display:grid;gap:4px}.bc-scenario h3{margin-bottom:4px}.bc-assume p{margin:0;max-width:60ch}.bc-tiles{margin:4px 0 0;grid-template-columns:1fr 1fr}@media (min-width: 760px){.bc-scenario{grid-template-columns:1fr 1fr;gap:16px;align-items:start}.bc-tiles{grid-template-columns:1fr 1fr}}.bc-steps{padding-left:20px;margin:0}.bc-steps li{margin-bottom:8px;max-width:70ch}.p-case-wrap{overflow-x:auto}.p-case{width:100%;border-collapse:collapse;margin:4px 0}.p-case th[scope=row]{font-weight:400}.p-case th,.p-case td{text-align:left;padding:2px 6px 2px 0;border-bottom:1px solid var(--line);vertical-align:top;font-size:.85rem}.p-case td.num,.p-case th.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.print-page{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;max-width:210mm;margin:0 auto}.print-page h1{font-size:1.3rem}.print-page h2{font-size:1rem;margin-top:12px;border-bottom:1px solid var(--line);padding-bottom:2px}.p-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 16px;margin:12px 0}.p-hero{border-top:3px solid var(--text);padding-top:4px}.p-label{font-size:.8rem;color:var(--muted);margin:0}.p-number{font-size:2rem;font-weight:700;line-height:1.1;margin:0}.p-cons{font-size:.8rem;margin:2px 0 0}.p-planned{margin:4px 0 0;display:flex;flex-wrap:wrap;gap:4px;font-size:.75rem}.p-block p,.p-block li{font-size:.85rem;margin-bottom:4px}.p-block ol{padding-left:18px;margin:4px 0}@media (prefers-reduced-motion: no-preference){.card-msg{animation:slide-in .4s ease-out both}dialog.drawer[open]{animation:drawer-in .22s ease-out}.story-title,.story-body{animation:fade-in .3s ease-out}}@keyframes slide-in{0%{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}@keyframes drawer-in{0%{transform:translate(24px);opacity:0}to{transform:none;opacity:1}}@media (max-width: 719px) and (prefers-reduced-motion: no-preference){dialog.drawer[open]{animation-name:sheet-in}}@keyframes sheet-in{0%{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media print{@page{size:A4;margin:10mm}:root{color-scheme:light;--bg: #fff;--surface: #fff;--surface-2: #f2f2f2;--text: #000;--ink: #000;--muted: #333;--line: #999;--money: #0b4a8a;--danger: #a00;--warn: #6a3f00;--ok: #0a5a30}body{font-size:9.5pt;background:#fff}.top,.tabs,.foot,.no-print,.skip,.role-line{display:none!important}.app{padding:0;display:block;min-height:0}main{padding:0;max-width:none}.print-page{border:0;padding:0;max-width:none}.print-page h1{font-size:15pt;margin-bottom:2px}.p-grid{grid-template-columns:repeat(3,1fr);gap:6px 12px;margin:8px 0}.p-number{font-size:22pt}.p-cons,.p-block p,.p-block li{font-size:8.5pt}.p-case-wrap{overflow:visible}.p-case th,.p-case td{font-size:8pt;padding:1px 6px 1px 0}.print-page h2{margin-top:8px;margin-bottom:4px}.p-block .planned{min-height:16px;font-size:7.5pt;padding:0 6px}}
