@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root{font-family:'IBM Plex Sans',system-ui,sans-serif;color:#c8fbd8;background:#07130c;font-synthesis:none;--bg:#07130c;--panel:#0b1c11;--panel2:#0e2516;--line:#27583a;--line-soft:#1b3a27;--green:#7bf0a4;--bright:#b9ffca;--muted:#88b99a;--amber:#ecc96c;--red:#e88b70}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(circle at 50% -10%,#143321 0%,#07130c 50%);line-height:1.45}.screen-grain{position:fixed;inset:0;pointer-events:none;z-index:5;opacity:.2;background:repeating-linear-gradient(to bottom,transparent 0,transparent 3px,#8affb00b 4px);mix-blend-mode:screen}.shell{max-width:1024px;margin:0 auto;padding:38px 32px 30px}.masthead{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:25px;margin-bottom:28px}.eyebrow,.section-id,.header-chip,.result-card small,footer,.chart-title-row>span{font-family:'IBM Plex Mono',monospace;letter-spacing:.055em}.eyebrow{display:flex;align-items:center;gap:10px;color:var(--green);font-size:12px;font-weight:600;margin-bottom:8px}.status-led{height:8px;width:8px;border-radius:50%;background:var(--green);box-shadow:0 0 14px var(--green)}.eyebrow-sep{color:#4e8f63}h1,h2,h3,p{margin-top:0}h1{font-family:'IBM Plex Mono',monospace;font-size:clamp(30px,4vw,43px);line-height:1.12;letter-spacing:-.045em;margin-bottom:9px;color:var(--bright);text-shadow:0 0 22px #56f28538}.title-mark{font-size:.78em;color:var(--amber);vertical-align:4px}.intro{color:#a0c6a9;font-size:15px;margin:0}.header-chip{white-space:nowrap;color:var(--green);font-size:12px;padding:11px 14px;border:1px solid var(--line);background:#0b2114;box-shadow:inset 0 0 16px #3acc6e13}.chip-icon{font-size:15px;margin-right:7px}.top-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:31px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:15px}.section-heading h2{font-size:19px;line-height:1.25;font-weight:700;color:var(--bright);margin:0}.section-id{font-size:11px;color:#6ea57d;white-space:nowrap}label,.mini-heading{display:block;color:#a8d7b5;font-size:14px;margin-bottom:7px}input[type=text],input[type=number]{width:100%;height:42px;padding:8px 12px;background:#091a10;border:1px solid #38694a;border-radius:4px;color:var(--bright);font:500 15px 'IBM Plex Mono',monospace;outline:none}input::placeholder{color:#608b6d}input:focus-visible,button:focus-visible{outline:2px solid var(--amber);outline-offset:2px}.input-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:17px}.mini-heading{margin:20px 0 9px}.scenario-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.scenario,.pattern{font:inherit;text-align:left;color:#a6d2b2;border:1px solid #315d40;background:#0a1d11;border-radius:4px;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}.scenario:hover,.pattern:hover{background:#12331e;transform:translateY(-1px)}.scenario.active,.pattern.active{border-color:var(--green);background:#173b24;box-shadow:inset 0 0 0 1px #79ef9f35;color:var(--bright)}.scenario{display:flex;flex-direction:column;min-height:104px;padding:9px}.scenario-glyph{font-size:22px;color:var(--amber);line-height:1.1;margin-bottom:5px}.scenario span:not(.scenario-glyph){font-weight:600;font-size:13px}.scenario small{font-size:11px;color:#87ae91;line-height:1.3;margin-top:4px}.slider-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.slider-heading label{margin:0}.slider-heading strong{font:600 16px 'IBM Plex Mono',monospace;color:var(--bright);white-space:nowrap}input[type=range]{appearance:none;width:100%;height:7px;border-radius:100px;border:1px solid #397850;background:linear-gradient(to right,var(--green) 0,var(--green) var(--progress,20%),#15311e var(--progress,20%),#15311e 100%);cursor:pointer;margin:17px 0 5px}input[type=range]::-webkit-slider-thumb{appearance:none;width:19px;height:19px;border:3px solid #0b2114;border-radius:50%;background:var(--green);box-shadow:0 0 0 1px #70d994,0 0 12px #77e99a6b}input[type=range]::-moz-range-thumb{width:13px;height:13px;border:3px solid #0b2114;border-radius:50%;background:var(--green);box-shadow:0 0 0 1px #70d994}.range-ends{display:flex;justify-content:space-between;font:12px 'IBM Plex Mono',monospace;color:#679273}.pattern-title{margin-top:24px}.pattern-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.pattern{height:77px;padding:10px 11px}.pattern>span:last-child{display:block;font-size:13px;margin-top:6px}.spark-bars{height:22px;display:flex;align-items:flex-end;gap:2px}.spark-bars i{flex:1;display:block;max-height:100%;min-height:2px;background:#68d58e99}.pattern.active .spark-bars i{background:var(--green)}.forecast-section{margin-bottom:27px}.forecast-heading{margin-bottom:3px}.hint{font-size:12px;color:#7fa88b;margin:0 0 13px}.table-scroll{overflow-x:auto;scrollbar-color:#396a48 transparent}.table-scroll table{width:100%;border-collapse:collapse;font:12px 'IBM Plex Mono',monospace;min-width:720px}.table-scroll th,.table-scroll td{text-align:right;border-bottom:1px solid var(--line-soft);padding:7px 4px;white-space:nowrap}.table-scroll thead th{color:#83ad90;font-weight:500}.table-scroll tbody th{text-align:left;color:#a5d3b3;font-family:'IBM Plex Sans',sans-serif;font-size:12px;font-weight:500}.table-scroll td{color:var(--bright);font-weight:600}.table-scroll tr:last-child th,.table-scroll tr:last-child td{border-bottom:0}.text-button{background:none;border:0;color:var(--green);font:13px 'IBM Plex Mono',monospace;text-decoration:underline;text-underline-offset:3px;padding:8px 0;margin-top:9px;cursor:pointer}.text-button:hover{color:var(--bright)}.advanced-panel{max-width:500px;border-left:2px solid var(--line);padding:12px 0 1px 18px;margin-top:8px}.advanced-panel .hint{margin-top:5px}.protection-section{padding-top:19px;border-top:1px solid var(--line);margin-bottom:31px}.protection-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.protection-grid .hint{margin:7px 0 0}.results-section{padding-top:19px;border-top:1px solid var(--line)}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 29px}.result-card{min-height:118px;padding:14px 16px;border:1px solid #316744;background:linear-gradient(145deg,#102719,#0a1c11);border-radius:4px;display:flex;flex-direction:column;box-shadow:inset 0 0 24px #5dfa8220}.result-card.featured{border-color:#7bea9e;background:linear-gradient(135deg,#164126,#0c2415)}.result-card span{color:#9dcaaa;font-size:13px}.result-card strong{font:700 clamp(22px,2.8vw,30px) 'IBM Plex Mono',monospace;color:var(--bright);line-height:1.15;margin-top:9px;letter-spacing:-.04em}.result-card.featured strong{color:var(--green);text-shadow:0 0 15px #7bf0a457}.result-card small{font-size:11px;color:#7ca988;margin-top:auto}.meter-track{height:6px;border:1px solid #356b45;border-radius:10px;margin-top:auto;background:#07170d;overflow:hidden}.meter-track div{height:100%;background:var(--green);width:0;transition:width .25s}.charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:27px}.chart-panel{min-width:0}.chart-title-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:7px}.chart-title-row h3{font-size:15px;font-weight:600;margin:0;color:var(--bright)}.chart-title-row>span{font-size:11px;color:#70a07d}.chart-key{display:flex;gap:16px;margin-bottom:8px;color:#92bd9e;font-size:12px}.chart-key span{display:flex;align-items:center;gap:5px}.chart-key i{display:block;width:10px;height:10px;border-radius:2px}.key-outside{background:var(--amber)}.key-inside{background:#5fc889}.key-daily{background:#4acb7a}.key-total{background:var(--amber)}.chart{width:100%;border:1px solid var(--line-soft);background:#091a10;padding:8px;min-height:240px}.chart svg{display:block;width:100%;height:225px;overflow:visible}.chart text{font:11px 'IBM Plex Mono',monospace;fill:#7da98a}.chart .gridline{stroke:#24462f;stroke-width:1}.chart .axisline{stroke:#4a8059;stroke-width:1}.chart .outside-bar{fill:var(--amber)}.chart .inside-bar{fill:#5fc889}.chart .daily-bar{fill:#4acb7a}.chart .total-line{fill:none;stroke:var(--amber);stroke-width:2.5;stroke-linejoin:round}.chart .total-dot{fill:var(--amber)}footer{display:flex;justify-content:space-between;gap:18px;padding-top:29px;margin-top:35px;border-top:1px solid var(--line);color:#6b9a78;font-size:11px}footer span:first-child{white-space:nowrap;color:var(--green)}.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:760px){.shell{padding:26px 18px}.masthead{display:block}.header-chip{display:inline-block;margin-top:17px}.top-grid,.protection-grid,.charts-grid{grid-template-columns:1fr;gap:29px}.result-grid{grid-template-columns:repeat(2,1fr)}.section-id{font-size:10px}.scenario-grid{grid-template-columns:repeat(3,1fr)}.chart{min-height:225px}footer{display:block}footer span{display:block}footer span+span{margin-top:9px}}
@media(max-width:450px){h1{font-size:30px}.section-heading{align-items:flex-start;flex-direction:column;gap:4px}.scenario{min-height:108px;padding:7px}.scenario span:not(.scenario-glyph){font-size:12px}.scenario small{font-size:10px}.result-card{min-height:105px;padding:11px}.result-card strong{font-size:23px}.pattern{height:74px}.chart-title-row h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* A weathered protective glass pane sits over the terminal. The texture stays
   out of the way of controls, and the middle remains clear for reading. */
body{background:radial-gradient(circle at 48% 15%,#1c3b28 0%,#091a10 43%,#040b07 100%)}
.shell{position:relative;min-height:100vh;background:linear-gradient(112deg,#102a1a77 0%,#091b11ac 47%,#07170de3 100%);border-left:1px solid #9bd6a42b;border-right:1px solid #9bd6a422;box-shadow:inset 0 1px #c7ffd441,inset 0 0 80px #80df8b12,0 0 80px #000a}
.shell::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(113deg,#d2ffdb0b 0%,transparent 17%,transparent 72%,#d2ffdb06 100%),radial-gradient(ellipse at 60% 0%,#f1f6d609,transparent 52%);z-index:0}
.shell>*{position:relative;z-index:1}
.screen-grain{z-index:20;opacity:.72;mix-blend-mode:normal;background-image:url('glass-overlay.png'),repeating-linear-gradient(to bottom,transparent 0,transparent 3px,#8affb008 4px);background-size:100% 100%,auto;background-repeat:no-repeat,repeat}
.scenario,.pattern,.result-card,.chart{backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);border-color:#81c5975c;box-shadow:inset 1px 1px #beffca15,inset -1px -1px #0007,0 4px 14px #0003}
.scenario,.pattern{background:linear-gradient(140deg,#173823a3,#091d11d9)}
.scenario.active,.pattern.active{background:linear-gradient(140deg,#225432c7,#102b1be6);box-shadow:inset 1px 1px #beffca42,inset -1px -1px #0009,0 0 16px #64ea8030}
.result-card{background:linear-gradient(135deg,#1a3b26a8,#091d12dc)}
.result-card.featured{background:linear-gradient(135deg,#245538bc,#0c2918e8);box-shadow:inset 1px 1px #d7ffdc38,inset -1px -1px #0009,0 0 20px #65ed8223}
.chart{background:linear-gradient(130deg,#10291ac2,#081c11ed)}
input[type=text],input[type=number]{background:linear-gradient(135deg,#122c1ba8,#091b10d9);box-shadow:inset 1px 1px #b9f8c31b,inset 0 0 20px #0003}
@media(max-width:760px){.shell{border-left:0;border-right:0}}
