:root{--bg:#08121f;--bg2:#0c1a2b;--panel:#0f2236;--panel2:#132b43;--line:#24425c;--line2:#33597a;--ink:#e9f2f7;--muted:#9db3c4;--dim:#6f879a;--gas:#3fe6d6;--gas-ink:#04312d;--water:#5aa8ff;--frac:#ff9a3c;--prop:#f4d58a;--flowback:#b48cff;--cement:#efe6cf;--foam:#f4fbff;--warn:#ffc27a;--radius:12px;--font:"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--ink);font-family:var(--font);margin:0}body{-webkit-font-smoothing:antialiased;min-width:1180px;overflow:hidden}button,input,output{font:inherit;color:inherit}button{cursor:pointer}svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}:focus-visible{outline:3px solid var(--frac);outline-offset:2px;border-radius:6px}kbd{opacity:.6;border:1px solid;border-radius:4px;margin-right:6px;padding:2px 4px;font:600 10px/1 ui-monospace,monospace}.skip{z-index:50;background:var(--gas);color:var(--gas-ink);border-radius:8px;padding:8px 12px;position:absolute;top:8px;left:-999px}.skip:focus{left:8px}.app{grid-template-rows:auto 1fr auto;height:100vh;display:grid}.topbar{border-bottom:1px solid var(--line);background:linear-gradient(#0d1d30,#0a1727);grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:12px 20px;display:grid}.brand{align-items:center;gap:12px;display:flex}.mark{width:40px;height:40px;color:var(--gas);background:#0f2a3d;border:1px solid #2a5a63;border-radius:11px;place-items:center;display:grid}.mark svg{stroke-width:2.6px;width:26px;height:26px}.mark .o{stroke:var(--frac)}.eyebrow{letter-spacing:.14em;color:var(--gas);margin:0;font-size:11px;font-weight:700}h1{letter-spacing:.02em;margin:2px 0 0;font-size:20px}.now{background:var(--panel);border:1px solid var(--line);border-radius:999px;justify-self:center;align-items:center;gap:14px;min-width:0;max-width:640px;padding:6px 18px 6px 8px;display:flex}.now-no{color:var(--gas-ink);background:var(--gas);border-radius:999px;padding:6px 10px;font:700 12px/1 ui-monospace,monospace}.now-text{flex-direction:column;min-width:0;display:flex}.now-text strong{font-size:15px}.now-text span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.transport{align-items:center;gap:8px;display:flex}.btn{border:1px solid var(--line2);background:var(--panel2);border-radius:10px;align-items:center;gap:6px;height:38px;padding:0 14px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.btn svg{width:18px;height:18px}.btn:hover{background:#1a3a58;border-color:#4a7898}.btn:disabled{opacity:.4;cursor:default}.btn.icon{justify-content:center;width:38px;padding:0}.btn.primary{background:var(--gas);color:var(--gas-ink);border-color:var(--gas);justify-content:center;min-width:92px}.btn.primary:hover{background:#7af2e6}.btn.primary svg{fill:currentColor;stroke:currentColor}.btn.ghost{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0a1828bf}.btn .i-play{display:none}.btn.paused .i-play{display:block}.btn.paused .i-pause{display:none}.seg{background:var(--bg2);border:1px solid var(--line);border-radius:10px;gap:2px;padding:3px;display:inline-flex}.seg button{height:32px;color:var(--muted);background:0 0;border:0;border-radius:7px;align-items:center;padding:0 10px;font-size:13px;font-weight:600;display:inline-flex}.seg button:hover{color:var(--ink);background:#15304a}.seg button[aria-checked=true]{color:var(--ink);background:#1f4a66;box-shadow:inset 0 0 0 1px #3c7a9a}.workspace{grid-template-columns:minmax(0,1fr) 380px;min-height:0;display:grid}.viewport{background:radial-gradient(120% 90% at 50% 0,#1b3550 0%,#0b1828 55%,#070f1a 100%);min-width:0;min-height:0;position:relative;overflow:hidden}#gl{width:100%;height:100%;display:block;position:absolute;inset:0}.labels,.labels>div{pointer-events:none;position:absolute;inset:0}.labels>div[hidden]{display:none}.viewport.picking #gl{cursor:pointer}.hud{pointer-events:none;z-index:3;position:absolute}.hud-tl{max-width:46%;top:14px;left:16px}.hud-tr{gap:8px;display:flex;top:14px;right:16px}.hud-bl{bottom:58px;left:16px}.caption{border:1px solid var(--line2);border-left:3px solid var(--gas);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#06101cd1;border-radius:8px;padding:9px 14px;font-size:15px;font-weight:600;line-height:1.45;display:inline-block}.caption:empty{display:none}.badge{border:1px solid var(--line2);color:#cfe0ea;background:#06101ccc;border-radius:7px;padding:5px 10px;font-size:12px;font-weight:600}.badge.warn{color:var(--warn);border-color:#6b5233}.legend{border:1px solid var(--line2);color:#d5e3eb;background:#06101ccc;border-radius:9px;flex-wrap:wrap;gap:6px 14px;max-width:520px;padding:8px 12px;font-size:12px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.shape{width:11px;height:11px;display:inline-block}.s-gas{background:var(--gas);border-radius:50%}.s-mud{background:var(--water);border-radius:6px;width:7px;height:13px}.s-cut{background:#a9a59a;width:9px;height:9px}.s-cement{background:var(--cement);width:13px;height:8px}.s-frac{background:var(--frac);width:9px;height:9px;transform:rotate(45deg)}.s-prop{background:var(--prop);width:7px;height:7px;box-shadow:5px 2px 0 var(--prop);border-radius:50%;margin-right:5px}.s-foam{background:var(--foam);border-radius:50%;box-shadow:inset 0 0 0 2px #8fb3c8}.s-data{background:#c8fff6;width:8px;height:8px;transform:rotate(45deg)}.s-cmd{border-top:11px solid #ffb347;border-left:6px solid #0000;border-right:6px solid #0000;width:0;height:0}.s-fb{border-left:6px solid #0000;border-right:6px solid #0000;border-bottom:11px solid var(--flowback);width:0;height:0}.viewbar{z-index:4;align-items:center;gap:10px;display:flex;position:absolute;bottom:12px;left:16px}.viewbar .seg{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#081422d9}.hint{color:var(--dim);pointer-events:none;z-index:3;margin:0;font-size:12px;position:absolute;bottom:14px;right:16px}.minimap{border:1px solid var(--line2);pointer-events:none;z-index:2;border-radius:10px;width:280px;height:168px;display:none;position:absolute;bottom:40px;right:16px;box-shadow:0 6px 24px #0006}.minimap span{color:var(--gas);background:#06101ccc;border-radius:5px;padding:2px 6px;font-size:11px;font-weight:700;position:absolute;top:6px;left:8px}.minimap.on{display:block}.hotspot{pointer-events:auto;color:#e6f0f5;white-space:nowrap;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#06121ed1;border:1px solid #a0c8dc73;border-radius:999px;align-items:center;gap:6px;margin-left:-6px;padding:4px 9px 4px 6px;font-size:12px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.hotspot:hover{background:#143248f2;border-color:#8fd0e6}.hotspot .dot{background:#cfe0ea;border-radius:50%;flex:none;width:9px;height:9px;box-shadow:0 0 0 3px #cfe0ea33}.hotspot.tone-gas .dot{background:var(--gas);box-shadow:0 0 0 3px #3fe6d640}.hotspot.tone-water .dot{background:var(--water);box-shadow:0 0 0 3px #5aa8ff40}.hotspot.tone-frac .dot{background:var(--frac);box-shadow:0 0 0 3px #ff9a3c40}.hotspot.tone-warn .dot{background:var(--warn)}.hotspot.tone-optional{border-style:dashed}.hotspot.tone-optional .dot{background:0 0;border:2px dashed #cfe0ea}.labels.compact .hotspot .txt,.hotspot.mini .txt{display:none}.hotspot.mini{opacity:.85;margin-left:-9px;padding:4px}.hotspot.mini:hover .txt,.hotspot.mini:focus-visible .txt,.labels.compact .hotspot:hover .txt,.labels.compact .hotspot:focus-visible .txt{display:inline}.hotspot.mini:hover,.hotspot.mini:focus-visible{opacity:1;z-index:10;padding:4px 9px 4px 6px}.labels.compact .hotspot{margin-left:-9px;padding:4px}.zoom-badge{border:1px solid var(--gas);color:var(--gas);white-space:nowrap;background:#061e1ee6;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:700}.panels{z-index:3;pointer-events:none;flex-direction:column;gap:10px;display:flex;position:absolute;top:56px;right:16px}.dpanel{border:1px solid var(--line2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#081422e6;border-radius:11px;width:300px;padding:10px 12px 8px;animation:.35s both pin;box-shadow:0 8px 28px #00000059}.dpanel h4{justify-content:space-between;align-items:baseline;margin:0 0 6px;font-size:13px;display:flex}.dpanel h4 small{color:var(--warn);font-size:11px;font-weight:600}.dpanel svg{stroke-width:1.6px;width:100%;height:auto;display:block}.dpanel .foot{color:var(--dim);margin:4px 0 0;font-size:11px}.dpanel .rows{grid-template-columns:auto 1fr auto;align-items:center;gap:6px 10px;font-size:12px;display:grid}.dpanel .rows .bar{background:#1d3850;border-radius:3px;height:6px;overflow:hidden}.dpanel .rows .bar i{background:var(--gas);border-radius:3px;height:100%;display:block}.dpanel .st{color:#7ef0c0;background:#12392f;border-radius:5px;padding:2px 6px;font-size:11px;font-weight:700}.dpanel .st.warn{color:var(--warn);background:#3d2c12}.dpanel .st.alarm{color:#ff9a9a;background:#4a1416}.scada-banner{color:#7ef0c0;background:#12392f;border-radius:6px;margin-bottom:8px;padding:6px 8px;font-size:12px;font-weight:700}.scada-banner.alarm{color:#ffb4b4;background:#4a1416;animation:.8s steps(2,end) infinite blink}.scada-banner.warn{color:var(--warn);background:#3d2c12}.scada-banner.ok{color:#7ef0c0;background:#12392f}@keyframes blink{50%{opacity:.55}}.reduced .scada-banner.alarm{animation:none}.dpanel .st.off{color:var(--muted);background:#222f3b}.chain{flex-wrap:wrap;align-items:center;gap:4px;font-size:12px;display:flex}.chain span{background:#142c43;border:1px solid #27486a;border-radius:6px;padding:4px 7px}.chain span.opt{color:var(--muted);border-style:dashed}.chain span.on{border-color:var(--gas);color:#dffcf8;background:#0f4c48}.chain i{color:var(--dim);font-style:normal}.mlist{flex-direction:column;gap:3px;margin:0;padding:0;list-style:none;display:flex}.mlist li{color:var(--dim);border-radius:6px;grid-template-columns:38px 1fr;align-items:baseline;gap:6px;padding:4px 6px;font-size:12px;display:grid}.mlist li b{font-size:12.5px}.mlist li.done{color:#a9c0cf}.mlist li.on{color:#dffcf8;box-shadow:inset 3px 0 0 var(--gas);background:#0f4c48}@keyframes pin{0%{opacity:0;transform:translateY(-6px)}}.explain{border-left:1px solid var(--line);background:linear-gradient(#0d1d30,#0a1626);flex-direction:column;gap:14px;padding:20px 22px;display:flex;overflow-y:auto}.explain:focus{outline:none}.ex-head{justify-content:space-between;align-items:center;display:flex}.kicker{letter-spacing:.16em;color:var(--gas);font-size:11px;font-weight:800}.pill{border:1px solid var(--line2);color:var(--muted);border-radius:999px;padding:3px 9px;font-size:11px}.explain h2{margin:0;font-size:22px;line-height:1.3}.lead{color:var(--muted);margin:-6px 0 0;font-size:14px}.steps{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.steps li{color:var(--dim);border-radius:7px;padding:6px 8px 6px 28px;font-size:13px;line-height:1.5;transition:color .2s,background .2s;position:relative}.steps li:before{content:"";border:2px solid;border-radius:50%;width:8px;height:8px;position:absolute;top:12px;left:9px}.steps li.done{color:#a9c0cf}.steps li.done:before{background:currentColor}.steps li.cur{color:var(--ink);background:#133048}.steps li.cur:before{border-color:var(--gas);background:var(--gas);box-shadow:0 0 0 4px #3fe6d633}.ex-body{border-top:1px solid var(--line);padding-top:12px;transition:opacity .4s,transform .4s}.ex-body.pending{opacity:.18;transform:translateY(6px)}.ex-body h3,.cards h3{letter-spacing:.08em;color:var(--gas);margin:0 0 4px;font-size:12px}.ex-body p{color:#cddbe4;margin:0 0 12px;font-size:13.5px;line-height:1.7}.ex-body .key{border-left:3px solid var(--frac);color:#ffe1c2;background:#ff9a3c14;border-radius:0 8px 8px 0;padding:9px 12px}.ex-body .env{border-left:3px solid var(--water);color:#d4e7ff;background:#5aa8ff14;border-radius:0 8px 8px 0;padding:9px 12px}.ex-body .env:empty{display:none}.cards{border-top:1px solid var(--line);padding-top:12px}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--line2);background:var(--panel);border-radius:999px;padding:5px 11px;font-size:12.5px;font-weight:600}.chip:hover{background:#1a3a58;border-color:#4a7898}.chip.optional{border-style:dashed}.bottombar{border-top:1px solid var(--line);background:#0a1626;grid-template-columns:1fr;gap:10px;padding:12px 20px 14px;display:grid}.timeline ol{grid-template-columns:repeat(10,1fr);gap:5px;margin:0;padding:0;list-style:none;display:grid}.tstep{text-align:left;border:1px solid var(--line);background:var(--panel);border-radius:9px;width:100%;padding:8px 10px 10px;transition:background .15s,border-color .15s;position:relative;overflow:hidden}.tstep:hover{background:#15304a}.tstep .n{color:var(--dim);margin-bottom:4px;font:700 10px/1 ui-monospace,monospace;display:block}.tstep .l{color:var(--muted);font-size:13px;font-weight:700}.tstep .bar{background:var(--gas);width:0;height:3px;position:absolute;bottom:0;left:0}.tstep.done .l{color:#c3d4df}.tstep.done .bar{opacity:.45;width:100%}.tstep[aria-current=step]{border-color:var(--gas);background:#0f3340}.tstep[aria-current=step] .l{color:var(--ink)}.tstep[aria-current=step] .n{color:var(--gas)}.tstep.s5 .n:after{content:" · 压裂";color:var(--frac)}.scrub,.settings{color:var(--muted);align-items:center;gap:12px;font-size:13px;display:flex}.scrub label{white-space:nowrap}.scrub input{flex:1}.scrub output{text-align:right;width:40px;color:var(--ink);font:600 12px ui-monospace,monospace}input[type=range]{accent-color:var(--gas);height:20px}.settings{flex-wrap:wrap;gap:18px}.field{align-items:center;gap:8px;display:inline-flex}.field input{width:110px;accent-color:var(--frac)}.field output{color:var(--frac);width:14px;font-weight:700}.check{cursor:pointer;color:#cddbe4;align-items:center;gap:6px;display:inline-flex}.check input{width:16px;height:16px;accent-color:var(--gas)}.disclaimer{color:var(--warn);margin-left:auto;font-size:12px}dialog{width:min(520px,92vw);color:var(--ink);background:linear-gradient(160deg,#13304a,#0b1b2d);border:1px solid #4a7898;border-radius:16px;padding:0;box-shadow:0 30px 80px #0000008c}dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#02081099}.dlg{padding:20px 22px 18px}.dlg-head{justify-content:space-between;gap:16px;display:flex}.dlg-tag{letter-spacing:.14em;color:var(--gas);font-size:11px;font-weight:800}.dlg-tag .opt{color:var(--warn);border:1px dashed var(--warn);letter-spacing:0;border-radius:5px;margin-left:8px;padding:1px 6px}.dlg h2{margin:4px 0 10px;font-size:22px}.close{border:1px solid var(--line2);background:var(--panel2);border-radius:9px;flex:none;place-items:center;width:36px;height:36px;display:grid}.close svg{width:18px;height:18px}.dlg p{color:#d4e2ea;margin:0 0 10px;font-size:14px;line-height:1.75}.dlg-why{border-left:3px solid var(--gas);padding-left:10px}.dlg-note{color:var(--warn)!important;font-size:12.5px!important}.dlg p:empty{display:none}.dlg-diagram{border:1px solid var(--line2);background:#081726;border-radius:10px;margin:4px 0 12px;overflow:hidden}.dlg-diagram:empty{display:none}.dlg-diagram svg{width:100%;height:auto;display:block}.flowdash{stroke-dasharray:6 8;animation:1.1s linear infinite dash}.spin{transform-box:fill-box;transform-origin:50%;animation:1.4s linear infinite spin}.bob{animation:1.2s ease-in-out infinite bob}@keyframes dash{to{stroke-dashoffset:-28px}}.plunger-move{animation:3.2s ease-in-out infinite plunger}.pig-move{animation:4s linear infinite pig}@keyframes pig{0%{transform:translate(0)}to{transform:translate(250px)}}.valve-turn{animation:3s ease-in-out infinite valve}@keyframes valve{0%,30%{transform:rotate(90deg)}60%,to{transform:rotate(0)}}@keyframes plunger{0%,12%{transform:translateY(0)}45%,55%{transform:translateY(86px)}85%,to{transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes bob{50%{transform:translateY(-3px)}}.reduced .flowdash,.reduced .spin,.reduced .bob,.reduced .dpanel,.reduced .plunger-move,.reduced .pig-move,.reduced .valve-turn{animation:none}@media (prefers-reduced-motion:reduce){.flowdash,.spin,.bob,.dpanel,.plunger-move,.pig-move,.valve-turn{animation:none}.ex-body{transition:none}}
