:root{--bg:#171b1d;--panel:#202629;--ink:#eff1e9;--muted:#b4bebc;--line:#64716f;--accent:#ff977e;--mint:#a9dbc9;--field:#30393b;color-scheme:dark}*{box-sizing:border-box}body{margin:0;font-family:Geist,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer;min-height:42px;padding:10px 15px;font-size:12px;border-radius:4px;line-height:1.4}button:hover{background:#35403f}button[aria-pressed=true]{background:var(--ink);color:#152320;border-color:var(--ink)}button:disabled{opacity:.55;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button span{margin-left:12px}a{color:inherit;text-underline-offset:5px}h1,h2,h3,p{margin:0}h1,h2{font-weight:500;line-height:1.03;letter-spacing:-.055em}h3{font-weight:500}button:active{transform:translateY(1px)}[hidden]{display:none!important}main,header,footer{max-width:1640px;margin:auto;padding-left:52px;padding-right:52px}header{height:104px;display:flex;align-items:center;gap:30px}.brand{font-weight:650;font-size:37px;letter-spacing:-2px;text-decoration:none;position:relative;width:150px;flex-shrink:0}.brand span{font-weight:300;position:absolute;right:0;font-size:30px;color:var(--accent)}.edition{font-family:GeistMono,monospace;font-size:8px;letter-spacing:.035em;border-left:1px solid var(--line);padding-left:26px;line-height:1.8}.studio{margin-left:auto;font-size:10px;white-space:nowrap}.source-strip{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 52px;font-family:GeistMono,monospace;font-size:9px;background:#232b2b;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:41px}.source-strip b{font-size:8px;font-weight:400;color:var(--accent);margin-right:8px}.source-strip>span:last-child{color:var(--muted)}.eyebrow{font-family:GeistMono,monospace;font-size:9px;letter-spacing:.06em;line-height:1.5}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:47px 0 40px}.intro h1{font-size:clamp(48px,5.9vw,92px);height:2.06em;margin-top:19px;letter-spacing:-.065em}.intro h1 span{color:var(--accent)}.intro-note{font-size:13px;line-height:1.8;padding-bottom:5px;max-width:280px}.intro-note button{margin-top:22px;border-color:var(--accent);color:var(--accent);text-align:left;font-size:11px}.text-button{border:0;text-decoration:underline;text-underline-offset:4px;padding:8px 0;font-size:10px;min-height:38px}.lab{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--panel)}.scene-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 20px;border-bottom:1px solid var(--line)}.scenarios{display:flex;gap:6px}.scenarios button{font-size:11px;border-color:transparent;white-space:nowrap;width:133px}.scene{position:relative;height:590px;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#424b4d 0%,#2b3336 62%,#22292c 100%);isolation:isolate}.scene canvas{display:block;width:100%;height:100%;touch-action:pan-y pinch-zoom}.scene-legend{position:absolute;top:23px;left:25px;display:flex;flex-direction:column;gap:7px;pointer-events:none}.scene-legend>span:first-child{font-size:8px}.scene-legend>span:last-child{font-size:10px;color:#d1dcd7;max-width:350px}.layer-controls{position:absolute;right:23px;top:21px;display:flex;gap:3px;background:#202729;padding:4px;border:1px solid var(--line);border-radius:5px}.layer-controls button{font-size:10px;min-height:32px;border:0;padding:8px 12px;width:83px}.camera-controls{position:absolute;bottom:46px;right:22px;display:flex;gap:5px}.camera-controls button{font-size:10px;min-height:34px;height:34px;padding:6px 11px;background:#22292c}.scene-foot{position:absolute;bottom:16px;left:24px;right:24px;display:flex;justify-content:space-between;gap:14px;font-family:GeistMono,monospace;font-size:7px;color:#c4d0cb}.scene-foot span:last-child{color:var(--accent)}.spot{position:absolute;transform:translate(-50%,-100%);display:flex;align-items:center;gap:6px;min-height:28px;height:28px;padding:5px 8px;font-size:9px;background:#202829ed;color:#edf5ec;border:1px solid #869b95;border-radius:3px;white-space:nowrap}.spot span{font-family:GeistMono,monospace;margin:0;color:var(--mint);font-size:8px}.spot[aria-pressed=true]{background:#f3f0e7;color:#17201d;border-color:#fff}.spot[aria-pressed=true] span{color:#795447}.spot.alarm{border-color:var(--accent);color:#ffc2b3}.spot.alarm[aria-pressed=true]{color:#34221a}.transport{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:16px 22px}.transport-buttons{display:flex;align-items:center;gap:9px}.transport button{font-size:11px}.transport #play{background:var(--accent);color:#211917;border-color:var(--accent);width:122px}.transport label{display:flex;align-items:center;gap:9px;font-size:9px;color:var(--muted);margin-left:12px}select{border:1px solid var(--line);color:var(--ink);background:#252f31;padding:9px;border-radius:4px;font-size:11px;max-width:100%}.time-read{display:flex;align-items:center;gap:14px}.time-read>span{font-family:GeistMono,monospace;font-size:7px;color:var(--muted)}.time-read output{font-family:GeistMono,monospace;font-size:26px;width:93px;letter-spacing:-.04em}.time-read button{font-size:20px;width:36px;min-height:36px;padding:3px}#pause-note{font-size:10px;padding:0 22px 16px;color:var(--muted);height:33px}.ledger{border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);padding:24px 0}.ledger>div{display:flex;flex-direction:column;padding:0 27px;min-width:0}.ledger>div+div{border-left:1px solid var(--line)}.ledger span{font-size:11px;color:var(--muted)}.ledger strong{font-family:GeistMono,monospace;font-size:32px;letter-spacing:-.065em;font-weight:400;margin-top:7px}.ledger small{font-family:GeistMono,monospace;font-size:8px;color:var(--muted)}.workbench{display:grid;grid-template-columns:1.2fr 1fr;gap:65px;padding:66px 4px 60px;border-bottom:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-head>span{font-family:GeistMono,monospace;font-size:9px;color:var(--muted)}.machine-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:25px 0}.machine-tabs button{font-size:9px;min-height:32px;padding:6px 10px;flex:1;white-space:nowrap}.machine-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.machine-heading h2{font-size:41px}.machine-heading>span{font-family:GeistMono,monospace;color:var(--mint);font-size:10px;padding:6px 9px;border:1px solid var(--line);border-radius:4px;min-width:110px;text-align:center}.machine-heading>span.alarm{color:#ffc2b3;border-color:#ca7d68}#machine-description{font-size:12px;color:var(--muted);line-height:1.85;height:73px;padding-top:20px;max-width:52ch}.machine-metrics{margin:18px 0 25px}.machine-metrics>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:11px}.machine-metrics dt{color:var(--muted)}.machine-metrics dd{margin:0;text-align:right;font-family:GeistMono,monospace;font-size:10px}.cause{background:#252f30;padding:20px;border-left:2px solid var(--accent);min-height:160px}.cause>.eyebrow{color:var(--accent);font-size:8px}#cause-text{font-size:12px;line-height:1.8;margin-top:10px;min-height:65px}.chain{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.chain button{font-size:9px;min-height:30px;padding:5px 8px;border-color:#829c93}.actions-panel h2{font-size:39px;margin:25px 0 20px}.actions-panel>p:not(.eyebrow){font-size:12px;line-height:1.85;color:var(--muted);max-width:45ch}.action-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:27px;font-size:12px}.action-row>div{display:flex;flex-direction:column;gap:5px}.action-row span{font-size:10px;color:var(--muted);line-height:1.6}.action-row strong{font-weight:450}.action-row output{font-family:GeistMono,monospace;font-size:22px;color:var(--accent)}.action-row button{font-size:11px;min-width:106px;flex-shrink:0}.actions-panel input[type=range]{margin-top:15px}input[type=range]{width:100%;height:25px;margin:0;accent-color:var(--accent);touch-action:pan-y pinch-zoom;cursor:pointer}.what-button{margin-top:32px;width:100%;padding:17px;background:var(--accent);border-color:var(--accent);color:#211917;text-align:left;display:flex;justify-content:space-between;align-items:center;font-size:13px}.what-button:hover{background:#ffb39d}.hint{font-size:10px!important;line-height:1.8!important;color:var(--muted);margin-top:15px}.timeline{padding:53px 4px 47px;border-bottom:1px solid var(--line)}.timeline h2{font-size:36px;margin-top:13px}.timeline .section-head button{font-size:10px}.history-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:65px;margin-top:32px}.history-grid h3{font-size:12px;margin-bottom:18px}.history-grid h3>span{font-size:9px;color:var(--muted);margin-left:20px}#events{list-style:none;padding:0;margin:0;max-height:235px;min-height:135px;overflow:auto;border-top:1px solid var(--line)}#events li{display:flex;gap:20px;font-size:10px;line-height:1.8;padding:13px 0;border-bottom:1px solid var(--line)}#events time{font-family:GeistMono,monospace;color:var(--accent);flex-shrink:0;min-width:48px}#snapshots{display:flex;gap:8px;flex-wrap:wrap}#snapshots button{font-family:GeistMono,monospace;font-size:9px;min-height:35px;padding:7px 10px}.export-row{padding:42px 4px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line)}.export-row h2{font-size:34px;margin-top:14px}.export-row p:last-child{font-size:10px;color:var(--muted);max-width:56ch;margin-top:14px}.export-row>div:last-child{display:flex;gap:9px}.export-row button{font-size:11px;white-space:nowrap}.closing{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;padding:63px 4px 65px}.closing p{font-size:clamp(25px,2.9vw,44px);line-height:1.2;letter-spacing:-.04em}.closing span{color:var(--accent)}.closing a{font-size:11px;white-space:nowrap}footer{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:8px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;padding-bottom:20px}footer .text-button{font-size:9px}dialog{border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);padding:28px;width:min(760px,calc(100% - 28px));max-height:90svh;overflow:auto}dialog::backdrop{background:#080d10c9;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-top button{font-size:23px;width:41px;height:41px;min-height:41px;padding:0}dialog h2{font-size:43px;margin:22px 0}dialog p,dialog li{font-size:12px;line-height:1.85}dialog p{margin:15px 0}dialog ul{padding-left:18px}dialog li{margin:11px 0}dialog>button{margin-top:12px}#what-dialog{width:min(1000px,calc(100% - 28px))}.what-controls{display:grid;grid-template-columns:1.4fr 1fr;gap:15px 25px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px}.what-controls>div{grid-row:span 2}.what-controls label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}.what-controls input[type=range]{margin-top:14px}.what-controls output{color:var(--accent);font-family:GeistMono,monospace}.what-controls label.check{justify-content:flex-start}.what-controls input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent);margin:0}.comparison-table{overflow:auto;margin-top:24px}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}caption{text-align:left;font-size:10px;color:var(--muted);caption-side:bottom;padding-top:13px}th,td{padding:13px 10px;border-bottom:1px solid var(--line);font-weight:400}thead{font-size:10px;color:var(--muted)}td:nth-child(n+2){font-family:GeistMono,monospace;font-size:13px;white-space:nowrap}td:last-child{color:var(--accent)}.chart-head{display:flex;justify-content:space-between;gap:15px;font-family:GeistMono,monospace;font-size:8px;margin-top:25px}.chart-head i{display:inline-block;width:17px;height:2px;vertical-align:middle;margin:0 5px}.base-line{background:var(--mint)}.action-line{background:var(--accent)}#comparison-chart{width:100%;height:150px;display:block;background:linear-gradient(transparent 49.5%,#64716f44 50%,transparent 50.5%);border-bottom:1px solid var(--line);margin-top:10px}#comparison-chart path{fill:none;stroke-width:2.5}#chart-base{stroke:var(--mint)}#chart-action{stroke:var(--accent)}#what-result{font-size:12px;color:var(--accent);min-height:43px}.what-footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.what-footer button{font-size:11px}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;top:8px;left:8px;z-index:50;background:var(--panel);padding:12px}
@media(max-width:1050px){main,header,footer{padding-left:28px;padding-right:28px}.source-strip{padding-left:28px;padding-right:28px;font-size:8px}.intro h1{font-size:64px}.intro-note{max-width:210px;font-size:11px}.scene{height:560px}.workbench,.history-grid{gap:35px}.machine-heading h2{font-size:34px}.actions-panel h2{font-size:32px}.ledger strong{font-size:28px}.ledger>div{padding:0 20px}.time-read>span{display:none}.transport label{margin-left:0}.scenarios button{width:auto}.machine-tabs button{flex-basis:28%}#machine-description{height:90px}.machine-metrics dd{font-size:9px}.closing p{font-size:30px}.scene-legend>span:last-child{max-width:230px;font-size:9px}}
@media(max-width:700px){main,header,footer{padding-left:16px;padding-right:16px}header{height:81px}.brand{font-size:32px;width:131px}.brand span{font-size:26px}.edition{display:none}.studio{font-size:9px}.source-strip{font-size:7px;padding:8px 16px;flex-direction:column;align-items:flex-start;gap:3px;min-height:48px}.source-strip>span:last-child{font-size:6.5px;letter-spacing:-.02em}.intro{padding:29px 0 25px;display:block}.intro .eyebrow{font-size:7px}.intro h1{font-size:47px;height:2.06em;letter-spacing:-.07em;margin-top:17px}.intro-note{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:none;padding:0;margin-top:22px;font-size:10px}.intro-note button{font-size:9px;margin:0;padding:9px 11px;max-width:165px;min-height:43px}.intro-note button span{margin-left:6px}.scene-top{padding:10px;display:block}.scenarios{gap:2px;justify-content:space-between}.scenarios button{font-size:8px;min-height:36px;padding:8px 6px;flex:1}.scene-top>.text-button{display:block;margin-left:auto;font-size:8px;min-height:28px;padding:4px 0}.scene{height:460px}.scene-legend{top:14px;left:13px;gap:5px}.scene-legend>span:first-child{font-size:6px}.scene-legend>span:last-child{font-size:8px;max-width:250px}.layer-controls{top:62px;right:12px;left:12px;padding:3px;justify-content:space-between}.layer-controls button{font-size:9px;min-height:30px;flex:1;width:auto;padding:6px 9px}.camera-controls{bottom:45px;right:12px;left:12px;justify-content:flex-end}.camera-controls button{font-size:9px;min-height:33px;height:33px;padding:6px 10px}.scene-foot{left:12px;right:12px;bottom:13px;font-size:5px;flex-direction:column;gap:4px}.scene-foot span:last-child{font-size:6px}.spot{font-size:7px;min-height:25px;height:25px;padding:4px 6px;gap:4px}.spot span{font-size:7px}.transport{display:block;padding:13px 12px}.transport-buttons{flex-wrap:wrap;gap:6px}.transport button{font-size:10px;min-height:36px;padding:8px 11px}.transport #play{width:119px}.transport label{width:100%;margin-top:7px;justify-content:space-between;font-size:9px}.transport select{font-size:10px;padding:7px;width:150px}.time-read{margin-top:14px;justify-content:space-between}.time-read>span{display:block;font-size:6px}.time-read output{font-size:23px;margin-left:auto;width:82px}.time-read button{min-height:30px;height:30px;width:32px;font-size:19px;padding:1px}#pause-note{padding:0 12px 14px;font-size:9px;height:47px;line-height:1.7}.ledger{grid-template-columns:1fr 1fr;padding:0}.ledger>div{padding:18px 15px}.ledger>div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.ledger>div:nth-child(4){border-top:1px solid var(--line)}.ledger span{font-size:9px}.ledger strong{font-size:27px}.ledger small{font-size:7px}.workbench{display:block;padding:38px 2px}.machine-tabs{margin:20px 0;gap:5px}.machine-tabs button{font-size:9px;min-height:34px}.machine-heading h2{font-size:35px}.machine-heading>span{font-size:8px;min-width:95px;padding:6px}.section-head .eyebrow{font-size:8px}#machine-description{font-size:11px;height:82px;line-height:1.8}.machine-metrics>div{font-size:10px}.machine-metrics dd{font-size:9px}.cause{padding:16px;min-height:176px}#cause-text{font-size:11px;min-height:70px}.actions-panel{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}.actions-panel h2{font-size:34px;margin:22px 0 17px}.actions-panel>p:not(.eyebrow){font-size:11px}.action-row{margin-top:23px;font-size:11px}.action-row span{font-size:9px}.action-row output{font-size:20px}.action-row button{font-size:10px;min-width:93px;padding:8px 11px}.what-button{font-size:12px;padding:15px;margin-top:27px}.hint{font-size:9px!important}.timeline{padding:34px 2px}.timeline .section-head{align-items:flex-start;flex-wrap:wrap}.timeline h2{font-size:31px}.timeline .section-head button{font-size:9px;min-height:35px}.history-grid{display:block;margin-top:27px}.history-grid>div+div{margin-top:30px}.history-grid h3{font-size:11px}#events li{font-size:9px;gap:15px}.export-row{padding:32px 2px;display:block}.export-row h2{font-size:31px}.export-row>div:last-child{margin-top:22px}.export-row button{font-size:10px}.closing{display:block;padding:38px 2px}.closing p{font-size:26px}.closing a{display:inline-block;font-size:10px;margin-top:23px}footer{flex-wrap:wrap;gap:8px;font-size:7px;padding-top:15px;padding-bottom:15px}footer>span:nth-child(2){order:3;width:100%;font-size:7px}footer .text-button{margin-left:auto;font-size:8px}dialog{padding:19px;max-height:92svh}dialog h2{font-size:35px}dialog p,dialog li{font-size:11px}.dialog-top .eyebrow{font-size:7px}.what-controls{display:block}.what-controls>div{margin-bottom:15px}.what-controls>label{margin:12px 0}.what-controls select{font-size:10px}.what-controls label{font-size:10px}table{font-size:10px}th,td{padding:11px 4px}td:nth-child(n+2){font-size:10px}caption{font-size:8px}.chart-head{font-size:6px;gap:10px}.chart-head i{width:12px;margin:0 3px}#comparison-chart{height:110px}#what-result{font-size:11px}.what-footer button{font-size:10px}.what-footer{gap:9px}.what-footer button:last-child{width:100%}}
@media(max-width:350px){main,header,footer{padding-left:12px;padding-right:12px}.source-strip{padding-left:12px;padding-right:12px}.intro h1{font-size:40px}.intro-note{font-size:9px;gap:10px}.intro-note button{font-size:8px;max-width:150px}.studio{font-size:8px}.intro-note button span{margin-left:2px}.machine-heading h2{font-size:31px}.machine-metrics dt{max-width:47%}.scenarios button{font-size:7px}.source-strip>span:last-child{font-size:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:active{transform:none}}
@media(min-width:701px) and (max-width:1050px){.intro{display:block}.intro-note{display:flex;justify-content:space-between;align-items:center;max-width:none;margin-top:24px}.intro-note button{margin-top:0}}
@media(max-width:700px){.intro h1{font-size:clamp(32px,10.4vw,54px)}}
.studio{width:155px;text-align:right}.scene-top>.text-button{width:145px;text-align:right}.camera-controls button:first-child{width:130px}.camera-controls button:not(:first-child){width:35px}.time-read output{width:115px;font-size:24px}.time-read>span{max-width:105px;font-size:7px}.scene-legend>span:last-child{height:34px}.spot{justify-content:center}
@media(max-width:700px){.studio{width:150px}.camera-controls button:first-child{width:118px}.time-read output{width:102px;font-size:21px}.time-read>span{max-width:130px;font-size:6px}.scene-top>.text-button{width:140px}}
.intro-note button{position:relative;width:280px;padding-right:32px}.intro-note button span{position:absolute;right:12px;top:50%;transform:translateY(-50%);margin:0}.source-strip>span:last-child{width:460px;text-align:right}.scene-foot>span:last-child{width:400px;text-align:right}.transport #step{width:100px}.transport-buttons>label{width:230px;justify-content:space-between}.transport select{width:145px}
@media(min-width:701px) and (max-width:850px){.transport{flex-wrap:wrap}.time-read{margin-left:auto}}
@media(max-width:700px){.source-strip>span:last-child{width:100%;text-align:left}.scene-foot>span:last-child{width:100%;text-align:left}.transport-buttons>label{width:100%}.transport select{width:150px}}

.spot:active{transform:translate(-50%,calc(-100% + 1px))}

@media(max-width:700px){.source-strip{font-size:9px}.source-strip>span:last-child{font-size:9px}.scenarios button{font-size:10px}.scene-legend>span:first-child{font-size:8px}.scene-legend>span:last-child{font-size:10px}.scene-foot,.scene-foot span:last-child{font-size:8px}.time-read>span{font-size:8px}}

#laboratorium,#scene,.workbench{scroll-margin-top:72px}
