/* Platinum HMI. Copyright 2026 Platinum LLC dba Platinum Site Solutions. All rights reserved. Copying, modifying or reusing this code is prohibited. */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: block; }

:root {
  --green: #30d158;
  --green-soft: rgba(48, 209, 88, 0.16);
  --amber: #ff9f0a;
  --red: #ff453a;
  --blue: #0a84ff;
  --text: #f2f4f7;
  --muted: #9aa3ad;
  --dim: #6b7480;
  --ink: #15181d;
  --ink-2: #4b535d;
  --glass: rgba(16, 18, 22, 0.66);
  --glass-strong: rgba(18, 20, 25, 0.86);
  --edge: rgba(255, 255, 255, 0.10);
  --edge-2: rgba(255, 255, 255, 0.16);
  font-family: Inter, -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #060708 url("bg.jpg") center / cover no-repeat; }
body { color: var(--text); user-select: none; -webkit-user-select: none; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }

#stage {
  position: absolute; left: 50%; top: 0; width: 1600px; height: 900px; overflow: hidden;
  transform: translateX(-50%) scale(var(--s, 1)); transform-origin: top center;
  background: #060708 url("bg.jpg") center / cover no-repeat;
}
.bgdim { position: absolute; inset: 0; background: radial-gradient(1200px 700px at 20% 30%, rgba(0, 0, 0, 0.18), transparent 70%), linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22)); pointer-events: none; }
#scene { position: absolute; inset: 0; width: 1600px; height: 900px; }
#labels { position: absolute; inset: 0; pointer-events: none; }
#labels > * { pointer-events: auto; }

.glass { background: var(--glass); border: 1px solid var(--edge); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 40px rgba(0, 0, 0, 0.35); }


.top { position: absolute; left: 0; top: 0; width: 1600px; height: 64px; display: flex; align-items: center; padding: 0 24px; gap: 22px; z-index: 5; }
.glass-bar { background: linear-gradient(rgba(10, 11, 14, 0.82), rgba(10, 11, 14, 0.62)); border-bottom: 1px solid var(--edge); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.brand { width: 190px; }
.brand .bn { font-size: 17px; font-weight: 750; letter-spacing: 2.2px; }
.brand .bs { font-size: 10.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--edge); }
.seg button { height: 34px; padding: 0 15px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: #c3c9d0; }
.seg button.on { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 4px rgba(0, 0, 0, 0.3); }
.alarm-btn { margin-left: auto; height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 10px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(255, 255, 255, 0.05); font-size: 13.5px; font-weight: 600; color: #c3c9d0; max-width: 430px; }
.alarm-btn .n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 750; background: rgba(255, 255, 255, 0.12); color: #fff; }
.alarm-btn.hot { background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05)), rgba(255, 69, 58, 0.88); border-color: rgba(255, 140, 130, 0.6); color: #fff; }
.alarm-btn.hot .n { background: #fff; color: var(--red); }
.alarm-btn .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hlights { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 4px 0 12px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(255, 255, 255, 0.05); font-size: 13px; font-weight: 650; color: #d6dbe0; }
.wx { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #d6dbe0; }
.wx small { color: var(--muted); font-weight: 500; }
.clock { text-align: right; min-width: 92px; }
.clock #time { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.clock #date { font-size: 11px; color: var(--muted); margin-top: 2px; }


.steel path, .steel rect, .steel circle, .steel ellipse { fill: url(#steel); }
[data-eq] { cursor: pointer; }
.flow { fill: none; stroke: var(--green); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; filter: url(#glow); opacity: 0.95; }
.flow-dash { fill: none; stroke: rgba(225, 255, 232, 0.9); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1.5 15; animation: flow 0.9s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16.5; } }
.flow.fault { stroke: var(--red); }


.lbl { position: absolute; height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 11px 0 10px; border-radius: 14px; background: rgba(13, 15, 19, 0.74); border: 1px solid var(--edge); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); font-size: 12.5px; font-weight: 620; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); }
.lbl .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.lbl .v { font-size: 11.5px; font-weight: 550; color: var(--muted); font-variant-numeric: tabular-nums; }
.lbl.run .v { color: #cfe9d6; }
.lbl.fault { background: rgba(70, 12, 10, 0.82); border-color: rgba(255, 69, 58, 0.65); }
.lbl.fault .v { color: #ff8a80; font-weight: 700; }
.led { width: 8px; height: 8px; border-radius: 4px; background: #3a4048; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.led.on { background: var(--green); box-shadow: 0 0 8px rgba(48, 209, 88, 0.9); }
.led.fault { background: var(--red); box-shadow: 0 0 8px rgba(255, 69, 58, 0.9); animation: blink 1s steps(2) infinite; }
.led.amber { background: var(--amber); box-shadow: 0 0 8px rgba(255, 159, 10, 0.8); }
.led.blue { background: var(--blue); box-shadow: 0 0 8px rgba(10, 132, 255, 0.8); }
@keyframes blink { 50% { opacity: 0.35; } }

.feed { position: absolute; border-radius: 14px; padding: 4px; background: rgba(13, 15, 19, 0.74); border: 1px solid var(--edge); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); }
.feed .fr { width: 100%; height: 26px; display: flex; align-items: center; gap: 8px; padding: 0 9px 0 8px; border-radius: 9px; font-size: 12.5px; font-weight: 620; }
.feed .fr:active { background: rgba(255, 255, 255, 0.06); }
.feed .nm { flex: 1; text-align: left; }
.feed .v { font-size: 11.5px; font-weight: 550; color: var(--muted); font-variant-numeric: tabular-nums; }


.bt { position: absolute; transform: translateX(-50%); text-align: center; white-space: nowrap; color: #000; pointer-events: none; }
.bt.nm { font-size: 14px; font-weight: 700; letter-spacing: 0.2px; }
.bt.pct { font-size: 42px; font-weight: 300; letter-spacing: -1px; line-height: 1; font-variant-numeric: tabular-nums; }
.bt.pct small { font-size: 20px; font-weight: 400; margin-left: 1px; letter-spacing: 0; }
.bt.sub { font-size: 12.5px; font-weight: 550; color: #000; }
.bt.lit { color: #000; }   
.bt.sub.lit { color: #000; }
.chip { position: absolute; transform: translateX(-50%); height: 22px; padding: 0 10px; border-radius: 11px; background: rgba(12, 14, 17, 0.88); color: #fff; font-size: 11.5px; font-weight: 650; display: flex; align-items: center; gap: 6px; white-space: nowrap; pointer-events: none; }
.chip .led { width: 7px; height: 7px; }
.fanrow { position: absolute; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #000; white-space: nowrap; pointer-events: none; }
.fanrow.lit { color: #000; }
.fan { width: 15px; height: 15px; }
.fan.on { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lo-bar { position: absolute; transform: translateX(-50%); width: 104px; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.14); overflow: hidden; pointer-events: none; }
.lo-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--green); }


.oh { display: flex; align-items: center; gap: 10px; margin: 0 2px 10px; }
.oh b { font-size: 15px; font-weight: 700; flex: 1; }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.tile { min-width: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); padding: 11px 12px 12px; position: relative; cursor: pointer; }
.tile.run { background: linear-gradient(rgba(48, 209, 88, 0.10), rgba(48, 209, 88, 0.03)); border-color: rgba(48, 209, 88, 0.35); }
.tile.keep { background: linear-gradient(rgba(255, 159, 10, 0.12), rgba(255, 159, 10, 0.03)); border-color: rgba(255, 159, 10, 0.4); }
.tile.fault { background: linear-gradient(rgba(255, 69, 58, 0.14), rgba(255, 69, 58, 0.04)); border-color: rgba(255, 69, 58, 0.5); }
.tile .k { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.tile .k .st { margin-left: auto; letter-spacing: 0.2px; text-transform: none; font-size: 11.5px; font-weight: 650; color: #d8f5df; display: flex; align-items: center; gap: 6px; }
.tile .k .st.amber { color: #ffd59a; } .tile .k .st.off { color: var(--muted); } .tile .k .st.red { color: #ff9a92; }
.tile .tt { font-size: 17px; font-weight: 700; margin-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .tt span { color: var(--dim); font-weight: 400; margin: 0 6px; }
.tile .ss { font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .row { display: flex; align-items: center; gap: 10px; margin-top: 10px; min-width: 0; }
.tile .row .ss { min-width: 0; }
.prog { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.10); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #2c7ef0, #4aa2ff); }
.prog.hi i { background: linear-gradient(90deg, #ee7600, #ffb24d); }
.pv { font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; color: #d6dbe0; min-width: 34px; text-align: right; }
.btn { height: 30px; padding: 0 14px; border-radius: 9px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.06)), #3a4049; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 2px 6px rgba(0, 0, 0, 0.25); white-space: nowrap; }
.btn.go { background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.06)), #22a447; border-color: rgba(120, 255, 160, 0.35); }
.btn.stop { background: linear-gradient(rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.06)), #d6362c; border-color: rgba(255, 150, 140, 0.35); }
.btn.lg { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 11px; }
.btn:active { transform: translateY(1px); filter: brightness(0.92); }
.toggles { display: flex; gap: 10px; margin-top: 10px; }
.tg { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 0 6px 0 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 12.5px; font-weight: 650; }
.mini { display: flex; padding: 2px; border-radius: 9px; background: rgba(0, 0, 0, 0.35); }
.mini button { height: 26px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 650; color: var(--muted); }
.mini button.on { background: rgba(255, 255, 255, 0.16); color: #fff; }
.mini button.on.g { background: #22a447; }
.mini button.on.a { background: #c97a06; }


.drawer { position: absolute; right: 16px; top: 76px; width: 408px; bottom: 16px; border-radius: 22px; padding: 18px; background: var(--glass-strong); z-index: 8; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.drawer[hidden] { display: none; }
.dh { display: flex; align-items: flex-start; gap: 12px; }
.dh .tt { flex: 1; }
.dh h2 { margin: 0; font-size: 22px; font-weight: 750; }
.dh .ss { font-size: 13px; color: var(--muted); margin-top: 3px; }
.x { width: 34px; height: 34px; border-radius: 17px; background: rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; font-size: 16px; color: #cfd5db; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 13px; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, 0.08); color: #d6dbe0; white-space: nowrap; }
.pill.g { background: var(--green-soft); color: #9ef0b4; }
.pill.r { background: rgba(255, 69, 58, 0.18); color: #ff9a92; }
.pill.a { background: rgba(255, 159, 10, 0.16); color: #ffd08a; }
.card { border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07); padding: 13px 14px; }
.card .ct { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.card .ct .r { margin-left: auto; letter-spacing: 0.2px; text-transform: none; font-size: 12px; }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; font-size: 13.5px; }
.kv + .kv { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.kv .k { color: #c7cdd3; font-weight: 550; }
.kv .v { font-weight: 650; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; border-radius: 10px; border: 1px solid var(--edge-2); overflow: hidden; }
.stepper button { width: 34px; height: 32px; background: rgba(255, 255, 255, 0.07); font-size: 17px; }
.stepper span { min-width: 66px; text-align: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.switch { width: 46px; height: 28px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); position: relative; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 11px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); transition: left 0.15s; }
.switch.on { background: var(--amber); } .switch.on::after { left: 21px; }
.bigv { display: flex; align-items: baseline; gap: 6px; }
.bigv b { font-size: 56px; font-weight: 250; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.bigv small { font-size: 20px; color: var(--muted); }
.segbar { display: flex; gap: 3px; height: 14px; margin-top: 12px; position: relative; }
.segbar i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.09); }
.segbar i.g { background: var(--green); } .segbar i.a { background: var(--amber); } .segbar i.r { background: var(--red); }
.segbar .mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--amber); border-radius: 1px; }
.scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 7px; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.acts .btn { height: 42px; font-size: 14px; }
.spark { width: 100%; height: 54px; margin-top: 8px; }
.levelviz { display: flex; gap: 16px; align-items: center; }
.levelviz svg { width: 86px; height: 120px; flex: none; }



.leg .belt { stroke: rgba(70, 76, 84, 0.35); stroke-width: 1; }
.leg .bk { fill: #9aa1aa; }
.leg .gr { fill: transparent; }
.leg .ring { fill: none; stroke: transparent; stroke-width: 2.4; stroke-linejoin: round; }
.leg.run .lane.up { animation: bkUp 0.42s linear infinite; }
.leg.run .lane.down { animation: bkDown 0.42s linear infinite; }
.leg.run .bk { fill: #7c838c; }
.leg.run .ring { stroke: var(--green); filter: drop-shadow(0 0 5px rgba(48, 209, 88, 0.85)); }
.leg.loaded .lane.up .gr { fill: #e2a43c; }
.leg.loaded .lane.up .bk { fill: #8a6b3a; }
.leg.fault .ring { stroke: var(--red); filter: drop-shadow(0 0 5px rgba(255, 69, 58, 0.85)); animation: blink 1s steps(2) infinite; }
@keyframes bkUp { to { transform: translateY(-13px); } }
@keyframes bkDown { to { transform: translateY(13px); } }


.note { color: var(--muted); font-size: 13px; }
.green { color: var(--green); } .orange { color: var(--amber); } .redt { color: #ff6b61 !important; } .grey { color: var(--muted); }
.warn { color: #ffcf7a; font-weight: 600; } .err { color: #ff8a80; font-weight: 700; }
.pill.b { background: rgba(10, 132, 255, 0.18); color: #8cc4ff; }
.chip.warn { background: rgba(70, 45, 5, 0.9); color: #ffd08a; }
.fanrow .hot { color: #000; font-weight: 800; }   
.fanrow .hot::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e0261b; margin-right: 4px; vertical-align: 1px; }
.fanrow.lit .hot { color: #000; }
.alarm-btn.warm { background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05)), rgba(201, 122, 6, 0.85); border-color: rgba(255, 190, 90, 0.55); color: #fff; }
.alarm-btn.warm .n { background: #fff; color: #b56b00; }
.stepper .val { min-width: 66px; height: 32px; width: auto; background: transparent; font-weight: 700; font-size: 14px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.demo-link { margin-top: auto; align-self: center; font-size: 12px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.field { height: 36px; min-width: 140px; padding: 0 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--edge-2); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.field.wide { width: 100%; text-align: left; margin-top: 4px; font-weight: 600; color: #dfe3e7; }
.linkbtn { color: #8cc4ff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn[disabled] { opacity: 0.35; pointer-events: none; }


.page { position: absolute; inset: 0; display: none; }
.page.on { display: block; }
.page .body { position: absolute; left: 24px; top: 78px; width: 1552px; height: 808px; }
.pcard { position: absolute; border-radius: 20px; padding: 16px 18px; background: var(--glass-strong); border: 1px solid var(--edge); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 40px rgba(0, 0, 0, 0.35); overflow: hidden; display: flex; flex-direction: column; }
.pcard.run { border-color: rgba(48, 209, 88, 0.55); box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.25), 0 18px 40px rgba(0, 0, 0, 0.35); }
.pcard.keep { border-color: rgba(255, 159, 10, 0.55); }
.pcard.fault { border-color: rgba(255, 69, 58, 0.65); }
.pcard .ch { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 6px; }
.pcard .ch h3 { margin: 0; font-size: 21px; font-weight: 750; white-space: nowrap; }
.pcard .ch .sp { flex: 1; }
.pcard .kv { min-height: 44px; }
.pcard .kv .k { font-size: 14px; }
.ln { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; }
.lab { width: 52px; flex: none; font-size: 11px; font-weight: 750; letter-spacing: 1.3px; color: var(--muted); padding-top: 13px; }
.opts { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; min-height: 40px; }
.opt { height: 40px; min-width: 88px; padding: 0 14px; border-radius: 11px; font-size: 14px; font-weight: 650; color: #dfe3e7; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.10); white-space: nowrap; }
.opt.sel { background: linear-gradient(rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.05)), #22a447; border-color: rgba(120, 255, 160, 0.4); color: #fff; }
.opt.sel.blue { background: linear-gradient(rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.05)), #1d6fd1; border-color: rgba(140, 196, 255, 0.45); }
.opt.sel.blue i { font-style: normal; margin-left: 6px; opacity: 0.8; }
.opt.ghost { background: transparent; border-style: dashed; color: var(--muted); }
.opt[data-lock] { opacity: 0.55; }
.opt.sel[data-lock] { opacity: 0.9; }
.fixed { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 11px; background: var(--green-soft); color: #9ef0b4; font-weight: 700; font-size: 14px; }
.pcard .foot { margin-top: auto; border-radius: 12px; background: rgba(255, 255, 255, 0.05); padding: 11px 14px; font-size: 13px; line-height: 1.55; color: #c9cfd5; }
.pcard .foot b { color: #fff; }
.srow { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); margin-top: 8px; }
.srow.sm { min-height: 44px; margin-top: 0; }
.srow .gr { flex: 1; min-width: 0; }
.srow .nm { font-size: 15px; font-weight: 700; }
.srow .ds { font-size: 12px; color: var(--muted); margin-top: 3px; }
.srow .v { font-size: 14px; font-weight: 650; color: #dfe3e7; min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.steps { display: flex; gap: 4px; padding: 3px; border-radius: 11px; background: rgba(0, 0, 0, 0.35); }
.steps span { padding: 6px 11px; border-radius: 8px; font-size: 12.5px; font-weight: 650; color: var(--dim); }
.steps span.done { color: #9ef0b4; }
.steps span.on { background: rgba(48, 209, 88, 0.2); color: #fff; }
.loadnum { display: flex; align-items: baseline; gap: 14px; margin-top: 10px; }
.loadnum b { font-size: 76px; font-weight: 250; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.loadnum span { font-size: 18px; color: var(--muted); }
.prog.big { height: 12px; border-radius: 6px; margin-top: 18px; flex: none; }
.prog.big i { background: linear-gradient(90deg, #22a447, #30d158); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.stats div { border-radius: 12px; background: rgba(255, 255, 255, 0.05); padding: 10px 14px; }
.stats small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.stats b { display: block; font-size: 20px; font-weight: 650; margin-top: 4px; font-variant-numeric: tabular-nums; }
.lo-svg { width: 100%; flex: 1; min-height: 0; }
.stream { stroke: #e2a43c; stroke-width: 18; stroke-dasharray: 3 9; animation: pour 0.4s linear infinite; }
@keyframes pour { to { stroke-dashoffset: -12; } }
.lvlrow { display: flex; align-items: center; gap: 16px; margin: 2px 0 6px; }
.lvlrow b { font-size: 58px; font-weight: 250; letter-spacing: -2px; line-height: 1; flex: 1; font-variant-numeric: tabular-nums; }
.lvlrow b small { font-size: 22px; color: var(--muted); letter-spacing: 0; }
.vbar { width: 22px; height: 64px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.vbar i { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(#4aa2ff, #1b62d6); }
.vbar i.hi { background: linear-gradient(#ffb24d, #ee7600); }
.vbar s { position: absolute; left: 0; right: 0; height: 2px; background: var(--amber); }
.pcard .spark { margin: 4px 0 2px; }


.mbar { position: absolute; left: 0; top: 0; right: 0; height: 44px; display: flex; align-items: center; gap: 10px; }
.mbar .tg { height: 30px; flex: none; padding: 0 12px; border-radius: 15px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--edge); display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; }
.mbar .sp { flex: 1; }
.sec { position: absolute; left: 2px; font-size: 11px; font-weight: 750; letter-spacing: 1.4px; color: var(--muted); text-transform: uppercase; }
.mc { position: absolute; height: 150px; border-radius: 16px; background: var(--glass-strong); border: 1px solid var(--edge); padding: 14px 15px; text-align: left; display: flex; flex-direction: column; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.mc.sel { border-color: rgba(255, 255, 255, 0.45); }
.mc.fault { border-color: rgba(255, 69, 58, 0.7); background: linear-gradient(rgba(255, 69, 58, 0.14), rgba(255, 69, 58, 0.04)), var(--glass-strong); }
.mc .hd { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.mc .hd .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc .hd .w { font-size: 11.5px; font-weight: 650; flex: none; }
.mc .amps { font-size: 34px; font-weight: 250; letter-spacing: -1px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.mc .amps small { font-size: 15px; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.mc .bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); margin-top: auto; position: relative; }
.mc .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--green); }
.mc .bar s { position: absolute; top: -3px; width: 2px; height: 11px; background: var(--amber); }
.mc .ft { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 9px; }


.scroll { position: absolute; left: 18px; right: 18px; bottom: 16px; overflow: auto; }
.al { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); margin-bottom: 8px; }
.al .tx { flex: 1; font-size: 15px; font-weight: 650; }
.al.ev .tx { font-weight: 500; color: #c9cfd5; }
.al .tm { font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); font-size: 15px; padding: 10px 4px; }


.modal { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 20; }
.modal[hidden] { display: none; }
.modal-card { width: 520px; border-radius: 22px; padding: 22px 24px; background: var(--glass-strong); display: flex; flex-direction: column; gap: 12px; }
.modal-card h3 { margin: 0; font-size: 20px; font-weight: 750; line-height: 1.3; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.acts2 { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.acts2 .btn { height: 44px; min-width: 110px; font-size: 15px; }
.kp-disp { height: 70px; border-radius: 14px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--edge-2); display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 20px; font-size: 40px; font-weight: 300; font-variant-numeric: tabular-nums; }
.kp-disp small { font-size: 18px; color: var(--muted); }
.kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kp .btn { height: 58px; font-size: 22px; font-weight: 600; }
.txt { height: 48px; border-radius: 12px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--edge-2); color: #fff; font: 600 16px Inter, sans-serif; padding: 0 14px; user-select: text; -webkit-user-select: text; outline: none; }
.txt:focus { border-color: rgba(10, 132, 255, 0.7); }
.toast { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 13px 20px; border-radius: 14px; background: rgba(214, 54, 44, 0.96); font-size: 14.5px; font-weight: 700; z-index: 30; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); max-width: 900px; }
.toast[hidden] { display: none; }


.cv .pad { fill: #a3a9b1; }
.cv .chain { stroke: rgba(70, 76, 84, 0.35); stroke-width: 1; }
.cv .bed, .cv .gp { fill: transparent; }
.cv .ring { fill: none; stroke: transparent; stroke-width: 2.2; stroke-linejoin: round; }
.cv.run .pad { fill: #737a83; }
.cv.run .pads.r { animation: padR 0.55s linear infinite; }
.cv.run .pads.l { animation: padL 0.55s linear infinite; }
.cv.run .ring { stroke: var(--green); filter: drop-shadow(0 0 5px rgba(48, 209, 88, 0.85)); }
.cv.hid.run:not(.fault) .ring { stroke: transparent; filter: none; }
.cv.loaded .bed { fill: rgba(226, 164, 60, 0.75); }
.cv.loaded .gp { fill: #e2a43c; }
.cv.loaded .pad { fill: #6d5530; }
.cv.fault .ring { stroke: var(--red); filter: drop-shadow(0 0 5px rgba(255, 69, 58, 0.85)); animation: blink 1s steps(2) infinite; }
@keyframes padR { to { transform: translateX(10px); } }
@keyframes padL { to { transform: translateX(-10px); } }


.steel .ring { fill: none !important; stroke: transparent; stroke-width: 2.2; stroke-linejoin: round; }
.steel .run .ring { stroke: var(--green); filter: drop-shadow(0 0 5px rgba(48, 209, 88, 0.85)); }
.steel .fault .ring { stroke: var(--red); animation: blink 1s steps(2) infinite; }
.feed .fr { font-size: 12px; gap: 7px; padding: 0 8px; }
.feed .fr.fault .nm { color: #ff8a80; }
.feed .fr { white-space: nowrap; }


:root { --run-empty: #9df5b5; --run-loaded: #12a83c; }
.leg.run .ring, .cv.run .ring, .steel .run .ring { stroke: var(--run-empty); filter: drop-shadow(0 0 4px rgba(157, 245, 181, 0.7)); }
.leg.loaded .ring, .cv.loaded .ring, .steel .loaded .ring { stroke: var(--run-loaded); stroke-width: 2.6; filter: drop-shadow(0 0 5px rgba(18, 168, 60, 0.9)); }
.leg.fault .ring, .cv.fault .ring, .steel .fault .ring { stroke: var(--red); filter: drop-shadow(0 0 5px rgba(255, 69, 58, 0.85)); }

.feed .fr { height: 24px; }

.steel .seam { fill: none !important; stroke: rgba(80, 88, 98, 0.35); stroke-width: 0.9; }


.cv .ring { stroke-width: 3; stroke-linecap: round; }
.cv.loaded .ring { stroke-width: 3.4; }


.steel .cyl { fill: url(#cyl); }
.steel .roof { fill: url(#roof); }
.steel .md { fill: #b9bfc6; }
.steel .dk { fill: #8a929b; }
.steel .gear { fill: #6c737b; }
.steel .motor { fill: url(#motor); }
.steel .perf { fill: url(#perf); }
.steel .ln { fill: none !important; stroke: rgba(40, 46, 54, 0.26); stroke-width: 0.8; }
.steel .lt { fill: none !important; stroke: rgba(255, 255, 255, 0.6); stroke-width: 0.8; }

.steel .fl { fill: #d9dde1; }
.steel .hl { fill: #fff; opacity: 0.35; }


.leg .ring, .steel .ring { stroke-width: 1.1 !important; }
.leg.loaded .ring, .steel .loaded .ring { stroke-width: 1.3 !important; }
.cv .ring { stroke-width: 1.5 !important; }
.cv.loaded .ring { stroke-width: 1.7 !important; }
.leg.run .ring, .cv.run .ring { filter: drop-shadow(0 0 2px rgba(157, 245, 181, 0.6)); }
.leg.loaded .ring, .cv.loaded .ring { filter: drop-shadow(0 0 2.5px rgba(18, 168, 60, 0.8)); }
.leg.fault .ring, .cv.fault .ring { filter: drop-shadow(0 0 2.5px rgba(255, 69, 58, 0.8)); }

.spinp { animation: none; }


.csteps { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.csteps i { flex: 1; height: 2px; background: rgba(255, 255, 255, 0.12); border-radius: 1px; }
.cs { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; color: var(--muted); }
.cs .n { width: 34px; height: 34px; border-radius: 17px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 750; color: #c9cfd5; }
.cs.done .n { background: #22a447; color: #fff; }
.cs.on { color: #fff; }
.cs.on .n { box-shadow: 0 0 0 2px #fff inset; }
.cmeas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.cmeas > div { border-radius: 16px; background: rgba(255, 255, 255, 0.05); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.cmeas small { font-size: 11px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.cmeas b { font-size: 64px; font-weight: 250; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.cmeas em, .field.big em { font-style: normal; font-size: 20px; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.field.big { height: 64px; font-size: 40px; font-weight: 300; text-align: left; padding: 0 16px; }
.field[disabled] { opacity: 0.45; }
.calres { margin-top: 18px; border-radius: 14px; background: rgba(48, 209, 88, 0.12); border: 1px solid rgba(48, 209, 88, 0.35); padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; }
.calres b { font-size: 17px; } .calres span { font-size: 13.5px; color: #c9cfd5; }
.calres.dim { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
.cacts { margin-top: auto; display: flex; gap: 12px; }
.btn.xl { height: 64px; flex: 1; font-size: 18px; border-radius: 14px; }
.selrow { background: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 0 10px; margin: 0 -10px; }
.seg button { padding: 0 13px; }
.drawer { gap: 10px; } .drawer .kv { min-height: 31px; } .drawer .card { padding: 11px 14px; } .drawer .levelviz svg { height: 104px; }


.seg2 { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 11px; background: rgba(0, 0, 0, 0.4); }
.seg2 button { height: 32px; border-radius: 8px; font-size: 13.5px; font-weight: 650; color: var(--muted); }
.seg2 button.on { background: rgba(255, 255, 255, 0.16); color: #fff; }
.drawer .opts { gap: 6px; min-height: 0; }
.opt.sm { height: 36px; min-width: 0; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.switch.sm { width: 40px; height: 24px; margin-left: 8px; vertical-align: middle; } .switch.sm::after { width: 18px; height: 18px; } .switch.sm.on::after { left: 19px; }
.rfoot { font-size: 12.5px; line-height: 1.55; color: #c9cfd5; padding: 0 4px; }
.rfoot b { color: #fff; }
.drawer .card .ct .r { display: flex; align-items: center; }


.caltabs { position: absolute; left: 0; top: 0; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--edge); }
.caltabs button { height: 36px; padding: 0 20px; border-radius: 9px; font-size: 14px; font-weight: 650; color: #c3c9d0; }
.caltabs button.on { background: rgba(255, 255, 255, 0.16); color: #fff; }
.rrow { display: grid; grid-template-columns: 1.3fr 0.8fr 0.7fr 1.2fr 1.2fr; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); margin-top: 10px; }
.rrow .rn { display: flex; flex-direction: column; gap: 4px; } .rrow .rn b { font-size: 18px; }
.rv { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.rv small { font-size: 10.5px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.rv b { font-size: 26px; font-weight: 300; font-variant-numeric: tabular-nums; }
.rv .field { min-width: 150px; height: 40px; font-size: 18px; }
.linkbtn.sm { font-size: 12.5px; }

.rrow { grid-template-columns: 1.15fr 0.9fr 0.7fr 1.25fr 1.25fr; }
.rrow.rej { border: 1px solid rgba(255, 69, 58, 0.55); }
.rv b em { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 4px; }
.rv .ma { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rset { display: flex; gap: 6px; }
.rset .field { min-width: 120px; height: 40px; font-size: 17px; }
.btn.set { height: 40px; padding: 0 16px; font-size: 14px; }
.tagr { display: inline-flex; align-self: flex-start; height: 22px; padding: 0 9px; border-radius: 11px; background: rgba(255, 69, 58, 0.18); color: #ff9a92; font-size: 11.5px; font-weight: 700; align-items: center; }



.lbl.pitbtn { height: 26px; padding: 0 10px 0 9px; font-size: 12px; gap: 7px; }
#ops { position: absolute; right: 16px; top: 76px; width: 318px; border-radius: 18px; padding: 8px; z-index: 2; }
#ops[hidden] { display: none; }
#ops.left { right: auto; left: 16px; }
#ops.ops-top { right: auto; left: 16px; width: 960px; }   
#ops.ops-top .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#ops .tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
#ops .tile { padding: 9px 11px 10px; }
#ops .tile .tt { margin-top: 4px; font-size: 16px; }
#ops .tile .row { margin-top: 6px; }
#ops .tile.pt { padding: 8px 11px 9px; }
#ops .tile.pt .row { margin-top: 4px; }

#drawer .stepper .val { width: 82px; min-width: 82px; }

.hit { fill: transparent; stroke: transparent; stroke-width: 2; stroke-linejoin: round; pointer-events: all; cursor: pointer; transition: stroke 0.15s; }
.hit:hover { stroke: rgba(74, 162, 255, 0.6); }
.hit.sel { stroke: #4aa2ff; filter: drop-shadow(0 0 6px rgba(74, 162, 255, 0.75)); }

#labels > .bt, #labels > .chip, #labels > .fanrow, #labels > .lo-bar { pointer-events: none; }

body::before { content: ''; position: fixed; left: 0; right: 0; top: 0; height: calc(64px * var(--s, 1)); background: linear-gradient(rgba(10, 11, 14, 0.82), rgba(10, 11, 14, 0.62)); border-bottom: 1px solid var(--edge); }

.leg .ring, .cv .ring, .steel .ring, .leg.run .ring, .cv.run .ring, .steel .run .ring, .leg.loaded .ring, .cv.loaded .ring, .steel .loaded .ring, .leg.fault .ring, .cv.fault .ring, .steel .fault .ring { filter: none !important; }

.install { position: absolute; right: 16px; bottom: 16px; z-index: 12; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px; background: var(--glass-strong); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45); }
.install[hidden] { display: none; }
.install img { width: 40px; height: 40px; border-radius: 10px; }
.install .it { display: flex; flex-direction: column; gap: 2px; margin-right: 6px; }
.install .it b { font-size: 14px; }
.install .it span { font-size: 12px; color: var(--muted); }
.install .btn { height: 36px; padding: 0 14px; }


:root { --bg: #0d1014; --card: #161a20; --card-2: #1c2128; --line: #252b34; --line-2: #2f3640; --accent: #3b82f6; --accent-soft: rgba(59, 130, 246, 0.16); }
.top, .glass-bar { background: #12151a; border-bottom: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; gap: 18px; }
body::before { background: #12151a; border-bottom: 1px solid var(--line); }
#stage.sub { background: var(--bg); }
#stage.sub .bgdim { display: none; }
.brand { cursor: pointer; width: auto; min-width: 150px; }


.crumb { display: flex; align-items: center; gap: 14px; }
.crumb:empty { display: none; }
.back { height: 38px; display: inline-flex; align-items: center; gap: 4px; padding: 0 14px 0 8px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line-2); font-size: 14px; font-weight: 650; color: #dfe3e7; }
.ptitle { font-size: 20px; font-weight: 750; white-space: nowrap; }
.alarm-btn, .hlights { background: var(--card-2); border-color: var(--line-2); }
.wxb { height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 12px 0 9px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line-2); text-align: left; }
.wxb span { display: flex; flex-direction: column; line-height: 1.15; }
.wxb b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wxb small { font-size: 11px; color: var(--muted); font-weight: 550; }
.wxb.stale b { color: var(--muted); }
.menu-btn { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 15px 0 12px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: #e6e9ec; }
.menu-btn.on { background: var(--accent-soft); border-color: rgba(59, 130, 246, 0.55); color: #fff; }
.menu { position: absolute; right: 16px; top: 70px; width: 360px; padding: 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); z-index: 15; display: flex; flex-direction: column; gap: 2px; }
.menu[hidden] { display: none; }
.mi { display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 12px; border-radius: 10px; text-align: left; color: #aeb6bf; }
.mi svg { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--card-2); color: #9fc2ff; }
.mi span { display: flex; flex-direction: column; gap: 3px; }
.mi b { font-size: 15px; font-weight: 700; color: #f2f4f7; }
.mi small { font-size: 12px; color: var(--muted); }
.mi:active, .mi.on { background: var(--accent-soft); }
.mi.on svg { background: var(--accent); color: #fff; }


.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.22); padding: 16px 20px; }
.pcard.run { border-color: rgba(48, 209, 88, 0.5); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.22); }
.pcard .ch h3 { font-size: 18px; font-weight: 700; }
.pcard .foot, .stats div, .al, .rrow, .cmeas > div { background: var(--card-2); }
.kv + .kv { border-top-color: var(--line); }
.btn { background: #262c35; border: 1px solid var(--line-2); box-shadow: none; }
.btn.go { background: #1f9d46; border-color: #27b552; }
.btn.stop { background: #d23a30; border-color: #e5554b; }
.btn.primary { background: var(--accent); border-color: #5b98f8; }
.btn[disabled] { opacity: 0.32; }
.field { background: #0f1216; border-color: var(--line-2); }
.mini { background: #0f1216; }
.mini button.on.b { background: var(--accent); color: #fff; }
.mini.wide button { height: 34px; padding: 0 14px; font-size: 13.5px; }
.steps { background: #0f1216; }
.mc { background: var(--card); border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 14px; }
.mc.fault { background: linear-gradient(rgba(255, 69, 58, 0.12), rgba(255, 69, 58, 0.03)), var(--card); }
.mbar .tg, .caltabs { background: var(--card); border-color: var(--line); }
.caltabs button.on, .seg2 button.on { background: var(--accent); }
.modal { background: rgba(0, 0, 0, 0.6); }
.modal-card { background: var(--card); border: 1px solid var(--line-2); backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.modal-card.wide { width: 1320px; height: 760px; }
.txt { background: #0f1216; border-color: var(--line-2); }
.txt.sm { height: 42px; width: 340px; font-size: 14px; }
.txt:focus { border-color: var(--accent); }


.tbl { flex: 1; min-height: 0; overflow: auto; margin: 2px -6px 0; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { position: sticky; top: 0; background: var(--card); text-align: left; font-size: 11px; font-weight: 750; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 0 12px; height: 34px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; color: #dfe3e7; }
.tbl td b { color: #fff; font-weight: 650; }
.tbl .n { text-align: right; }
.tbl td.empty { color: var(--muted); height: 60px; }
.tbl .pill { height: 22px; font-size: 11.5px; padding: 0 9px; }
.tbl.tall { margin-top: 8px; }
.mh { display: flex; align-items: center; gap: 12px; }
.mh .sp { flex: 1; }


.lgrid { display: grid; grid-template-columns: 372px 1fr; gap: 26px; flex: 1; min-height: 0; margin-top: 6px; }
.lset { display: flex; flex-direction: column; gap: 14px; padding-right: 26px; border-right: 1px solid var(--line); }
.lf { display: flex; flex-direction: column; gap: 7px; }
.lf small { font-size: 11px; font-weight: 750; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); }
.lf.row { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 2px; }
.field.pick { height: 46px; width: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 17px; text-align: left; }
.field.pick i { font-style: normal; font-size: 22px; color: var(--muted); }
.field.pick.need { border: 1.5px dashed rgba(59, 130, 246, 0.8); color: #9fc2ff; background: rgba(59, 130, 246, 0.07); }
.tgt { display: flex; gap: 8px; align-items: center; }
.tgt .field { flex: 1; height: 38px; text-align: left; }
.lrun { display: flex; flex-direction: column; min-width: 0; }
.lrun .loadnum { margin-top: 0; }
.lrun .loadnum b { font-size: 64px; }
.lrun .prog.big { margin-top: 14px; }
.lrun .stats { margin-top: 16px; }
.lrun .stats b { font-size: 18px; }
.lrun .foot { margin-top: auto; }
.fanline { display: flex; align-items: center; gap: 7px; }
.fanline.on { color: #9ef0b4 !important; }
.notruck image { opacity: 0.2; }
.ledc { fill: #3a4048; } .ledc.on { fill: var(--green); } .ledc.fault { fill: var(--red); }
.trucks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.trucks .opt { height: 54px; font-size: 17px; font-weight: 700; }
.addrow { display: flex; gap: 10px; }
.addrow .txt { flex: 1; }


.wxbig { display: flex; align-items: center; gap: 22px; margin: 22px 0 8px; padding: 0 4px; }
.wxbig b { display: block; font-size: 76px; font-weight: 250; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.wxbig em { font-style: normal; font-size: 28px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.wxbig span { display: block; font-size: 18px; color: #c9cfd5; margin-top: 6px; }
.stats.three { grid-template-columns: repeat(3, 1fr); }
.tlist { display: flex; flex-direction: column; gap: 8px; overflow: auto; flex: 1; min-height: 0; margin: 8px 0 14px; }
.trow { display: flex; align-items: center; gap: 16px; min-height: 58px; padding: 0 12px 0 18px; border-radius: 12px; background: var(--card-2); }
.trow .tn { font-size: 17px; font-weight: 700; min-width: 110px; }
.trow .sp { flex: 1; }

.modal-card.mid { width: 720px; }
.trucks .opt { height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.trucks .opt b { font-size: 17px; font-weight: 700; }
.trucks .opt small { font-size: 12px; font-weight: 600; color: var(--muted); }
.trucks .opt.sel small { color: rgba(255, 255, 255, 0.8); }
.tform { display: grid; grid-template-columns: 1fr 1.25fr auto; gap: 12px; align-items: end; }
.tform .txt { width: 100%; }
.capin { display: flex; align-items: center; gap: 8px; }
.capin .txt { width: 120px; flex: none; }
.capin .u { color: var(--muted); font-weight: 600; }
.capin .mini button { height: 36px; padding: 0 11px; }
.tform .btn.lg { height: 48px; }


.menu { width: 230px; padding: 6px; right: 76px; top: 72px; }
.menu::before { content: ""; position: absolute; top: -7px; right: 46px; width: 12px; height: 12px; background: var(--card); border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); transform: rotate(45deg); }
.menu .mi { height: 42px; gap: 12px; padding: 0 12px; }
.menu .mi svg { width: auto; height: auto; padding: 0; background: none; border-radius: 0; color: var(--muted); }
.menu .mi b { font-size: 14.5px; font-weight: 600; }
.menu .mi.on svg { background: none; color: #9fc2ff; }
.menu .mi:hover { background: var(--card-2); }


.avatar { width: 42px; height: 42px; flex: none; border-radius: 21px; background: var(--accent-soft); color: #9fc2ff; border: 1px solid rgba(59, 130, 246, 0.45); font-size: 15px; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; }
.avatar.out { background: var(--card-2); color: var(--muted); border-color: var(--line-2); }
.avatar.on { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35); }
.umenu { right: 16px; width: 280px; }
.umenu::before { right: 15px; }
.uhd { display: flex; align-items: center; gap: 12px; padding: 10px 10px 8px; }
.uhd b { display: block; font-size: 15px; }
.uhd small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.usess { padding: 0 10px 8px; font-size: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.av { width: 30px; height: 30px; flex: none; border-radius: 15px; background: var(--accent-soft); color: #9fc2ff; font-size: 12px; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; }
.av.lg { width: 44px; height: 44px; border-radius: 22px; font-size: 15px; }
.av.sm { width: 28px; height: 28px; font-size: 11px; margin-right: 12px; vertical-align: middle; }
.ulist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.utile { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line-2); text-align: left; }
.utile span:last-child { display: flex; flex-direction: column; gap: 2px; }
.utile b { font-size: 15px; } .utile small { font-size: 12px; color: var(--muted); }
.utile:active { background: var(--accent-soft); }
.pinhd { display: flex; align-items: center; gap: 14px; }
.pinhd h3 { margin: 0; }
.pindots { justify-content: center; letter-spacing: 10px; font-size: 26px; }
.tbl td.uacts, .tbl th.uacts { text-align: right; width: 120px; }
.ibtn { width: 38px; height: 34px; border-radius: 9px; background: var(--card-2); border: 1px solid var(--line-2); color: #dfe3e7; display: inline-flex; align-items: center; justify-content: center; margin-left: 6px; }
.ibtn[disabled] { opacity: 0.3; }
.utbl td { height: 52px; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.roles div { border-radius: 12px; background: var(--card-2); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.roles b { font-size: 14px; } .roles span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.ugrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.ugrid .txt { width: 100%; }
.field.sitef { min-width: 320px; text-align: left; font-weight: 600; }
#setBody .opts { gap: 8px; }


.brand { display: flex; align-items: center; gap: 14px; min-width: 0; flex-shrink: 0; }   
.brand .farm { min-width: 0; }
.brand .farm .bn { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.brand .logo { height: 50px; width: auto; display: block; }
.brand .bdiv { width: 1px; height: 34px; background: var(--line-2); }
.brand .farm .bn { font-size: 16px; letter-spacing: 2px; white-space: nowrap; }
.alarm-btn { min-width: 0; flex: 0 1 auto; }


.hlist { display: flex; flex-direction: column; gap: 2px; }
.hlist .mi { height: 48px; gap: 12px; padding: 0 12px; color: #aeb6bf; }
.hlist .mi svg { width: auto; height: auto; padding: 0; background: none; color: var(--muted); }
.hlist .mi b { font-size: 15px; font-weight: 600; }
.hlist .mi.on b { color: #fff; } .hlist .mi.on svg { background: none; color: #9fc2ff; }
.hsteps { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.hsteps li { counter-increment: s; position: relative; padding: 12px 16px 12px 58px; border-radius: 12px; background: var(--card-2); font-size: 15.5px; line-height: 1.5; color: #dfe3e7; }
.hsteps li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 14px; background: var(--accent-soft); color: #9fc2ff; font-size: 13px; font-weight: 750; display: flex; align-items: center; justify-content: center; }
.hnav { margin-top: auto; display: flex; align-items: center; } .hnav .sp { flex: 1; }
.cbrand { display: flex; justify-content: center; padding: 18px 0 10px; }
.cbrand img { height: 96px; }
.crow { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 12px; background: var(--card-2); margin-bottom: 8px; text-decoration: none; color: inherit; }
.crow small { font-size: 11px; font-weight: 750; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); }
.crow b { font-size: 18px; font-weight: 650; color: #9fc2ff; }


.menu-btn { height: 36px; font-size: 13px; padding: 0 13px 0 10px; gap: 7px; }
.menu-btn svg { width: 17px; height: 17px; }
.avatar { width: 36px; height: 36px; font-size: 13px; }
.avatar svg { width: 17px; height: 17px; }
.menu { width: 196px; padding: 5px; top: 66px; right: 66px; }
.menu::before { right: 42px; }
.menu .mi { height: 34px; gap: 10px; padding: 0 10px; border-radius: 8px; }
.menu .mi svg { width: 14px; height: 14px; }
.menu .mi b { font-size: 13px; font-weight: 600; }
.umenu { right: 16px; width: 240px; }
.umenu::before { right: 13px; }
.uhd { padding: 8px 8px 6px; gap: 10px; }
.uhd b { font-size: 13.5px; } .uhd small { font-size: 11.5px; }
.uhd .av.lg { width: 36px; height: 36px; font-size: 13px; }
.usess { font-size: 11.5px; padding: 0 8px 7px; }
.caltabs { padding: 3px; border-radius: 10px; }
.caltabs button { height: 30px; padding: 0 13px; font-size: 13px; border-radius: 7px; }
.back { height: 34px; font-size: 13px; padding: 0 12px 0 7px; }
.back svg { width: 16px; height: 16px; }
.ptitle { font-size: 18px; }
.hlist .mi { height: 38px; gap: 10px; padding: 0 10px; border-radius: 8px; }
.hlist .mi svg { width: 14px; height: 14px; }
.hlist .mi b { font-size: 13.5px; }
.hsteps { gap: 10px; }
.hsteps li { font-size: 14px; padding: 11px 14px 11px 52px; }
.hsteps li::before { width: 24px; height: 24px; left: 14px; top: 10px; font-size: 12px; }


#setBody .csteps { margin-top: 10px; }
#setBody .cs { font-size: 13.5px; }
#setBody .cs .n { width: 28px; height: 28px; font-size: 12.5px; }
.cal1 { display: grid; grid-template-columns: 1fr 1.15fr 150px; gap: 12px; margin-top: 16px; }
.cbox { border-radius: 12px; background: var(--card-2); padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.cbox small { font-size: 11px; font-weight: 750; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); }
.cbox b { font-size: 42px; font-weight: 250; letter-spacing: -1px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cbox em, .cbox .field.big em { font-style: normal; font-size: 16px; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.cbox .field.big { height: 50px; font-size: 28px; }
.cbtns { display: flex; flex-direction: column; gap: 8px; }
.cbtns .btn.lg { height: 38px; font-size: 14px; }
#setBody .pcard .foot.okfoot { background: rgba(48, 209, 88, 0.12); color: #c9f2d5; }
.selr td { background: var(--accent-soft); }
.rtbl td { height: 52px; }
.rtbl .rset { display: flex; align-items: center; gap: 6px; }
.rtbl .rset .field { min-width: 110px; height: 34px; font-size: 15px; }
.rtbl .btn.set { height: 34px; padding: 0 13px; font-size: 13px; }
.rtbl .ma { font-size: 12px; color: var(--muted); margin-left: 6px; }
.rtbl tr.rej td { background: rgba(255, 69, 58, 0.08); }


.tbl { overflow: hidden; }
.tbl.tall { overflow: auto; }
.tbl.tall::-webkit-scrollbar { width: 8px; }
.tbl.tall::-webkit-scrollbar-thumb { background: #2f3640; border-radius: 4px; }
.tbl.tall::-webkit-scrollbar-track { background: transparent; }
.ctbl td { height: 34px; }
.ctbl .linkbtn { font-variant-numeric: tabular-nums; }
.ibtn.sm { width: 30px; height: 28px; }
.ibtn.sm svg { width: 15px; height: 15px; }
.mini.wrap { flex-wrap: wrap; }
.ugrid.two { grid-template-columns: 1.5fr 1fr; }
.rtbl td { height: 46px; }
.ctbl td { height: 33px; }
.rtbl td { height: 44px; }
.rec td { height: 31px; }
.field.pick .pk { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #ffd08a; }
.field.pick .pk i { color: var(--muted); font-size: 22px; font-style: normal; }
.crow b.plain { color: #dfe3e7; font-size: 16px; line-height: 1.4; }
.cbrand { padding: 14px 0 22px; }
.field.locked { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; opacity: 0.75; cursor: default; }
.field.locked svg { color: var(--muted); flex: none; }


.lic-btn { margin-left: auto; height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 13px; color: #fff; white-space: nowrap; flex: none; }
.lic-btn b { font-weight: 750; }
.lic-btn span { font-weight: 550; opacity: 0.85; }
.lic-btn.hot { background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05)), rgba(255, 69, 58, 0.88); border-color: rgba(255, 140, 130, 0.6); }
.lic-btn.warm { background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05)), rgba(201, 122, 6, 0.85); border-color: rgba(255, 190, 90, 0.55); }
.lic-btn:not([hidden]) + .alarm-btn { margin-left: 0; }
.pcard.locked .lockbody { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--muted); padding: 0 24px; }
.pcard.locked .lockbody p { margin: 0; max-width: 560px; font-size: 15px; line-height: 1.55; color: #c9cfd5; }
.sublist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.sublist > div { border-radius: 14px; background: var(--card-2); padding: 14px 16px; }
.sublist b { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.sublist ul { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.45; color: #dfe3e7; }
.card.manual { border-color: rgba(255, 69, 58, 0.45); }
.lic-btn[hidden] { display: none; }

.wxb, .hlights { flex: none; white-space: nowrap; }
.wxb b, .wxb small { white-space: nowrap; }
.subacts { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.subacts .sp { flex: 1; }
.pcard .wxbig { margin: 10px 0 6px; }
.pcard .wxbig b { font-size: 60px; }
.elist .kv { min-height: 34px; font-size: 13.5px; }
.elist .kv .v { font-weight: 500; }
.acts2 .sp { flex: 1; }
.acts2 .suplink { font-size: 13px; color: var(--muted); padding: 0 4px; min-width: 0; }
.mini.sess { margin-right: 6px; }
.mini.sess button { padding: 0 11px; }
.utbl tr.uclick { cursor: pointer; }
.utbl tr.uclick:hover td { background: rgba(255, 255, 255, 0.04); }
.utbl td.chev { text-align: right; width: 40px; font-size: 22px; color: var(--muted); }
.modal-card .mini.sess { margin-right: 0; }
.utbl tr.uclick { cursor: pointer; }
.utbl tr.uclick:hover td { background: rgba(255, 255, 255, 0.04); }
.utbl td.chev { text-align: right; width: 40px; font-size: 22px; color: var(--muted); }
.modal-card .mini.sess { margin-right: 0; }

.btn.pause { background: #c97a06; border-color: #e0951f; color: #fff; }
.steps.paused span.on { background: rgba(255, 159, 10, 0.25); }
.bt.sub.amber { color: #000; }

#loRotary .dk { fill: #22a447; }
#loRotary.full .dk { fill: #e0443a; }


#leSvg { position: absolute; inset: 0; width: 1600px; height: 900px; touch-action: none; }
#leLabels { position: absolute; inset: 0; pointer-events: none; }
#leLabels .lbl { pointer-events: auto; transform: translate(-50%, -50%); cursor: grab; touch-action: none; }
#leLabels .lbl.l { transform: translate(0, -50%); }
#leLabels .lbl.sel { border-color: rgba(74, 162, 255, 0.85); box-shadow: 0 0 0 1px rgba(74, 162, 255, 0.5), 0 6px 16px rgba(0, 0, 0, 0.3); }
.lsteel path, .lsteel rect, .lsteel circle, .lsteel ellipse { fill: url(#le-steel); }
.lsteel .cyl { fill: url(#le-cyl); }
.lsteel .roof { fill: url(#le-roof); }
.lsteel .md { fill: #b9bfc6; }
.lsteel .dk { fill: #8a929b; }
.lsteel .gear { fill: #6c737b; }
.lsteel .motor { fill: url(#le-motor); }
.lsteel .perf { fill: url(#le-perf); }
.lsteel .ln { fill: none !important; stroke: rgba(40, 46, 54, 0.26); stroke-width: 0.8; }
.lsteel .lt { fill: none !important; stroke: rgba(255, 255, 255, 0.6); stroke-width: 0.8; }
.lsteel .fl { fill: #d9dde1; }
.lsteel .hl { fill: #fff; opacity: 0.35; }
.le-ghost { opacity: 0.55; pointer-events: none; }
.le-hit { fill: transparent; stroke: transparent; stroke-width: 1.6; pointer-events: all; cursor: move; transition: stroke 0.12s; }
.le-hit:hover { stroke: rgba(74, 162, 255, 0.6); }
.le-sel { fill: none; stroke: #4aa2ff; stroke-width: 1.4; stroke-dasharray: 5 4; pointer-events: none; }
.le-tgt { fill: rgba(48, 209, 88, 0.08); stroke: #30d158; stroke-width: 2; pointer-events: none; }
.le-h { fill: #fff; stroke: #0a84ff; stroke-width: 2; }
.le-port { cursor: crosshair; }
.le-port circle { fill: #30d158; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)); }
.le-port text, .le-badge text { fill: #fff; font: 800 10.5px Inter, sans-serif; text-anchor: middle; pointer-events: none; }
.le-flow { fill: none; stroke: #4aa2ff; stroke-width: 2; stroke-dasharray: 7 5; stroke-linejoin: round; opacity: 0.9; }
.le-flow.sp { stroke-dasharray: none; stroke-width: 2.2; }
.le-flow.gt { stroke-dasharray: 3 4; }
.le-flow.dim { stroke: #a7b2bf; opacity: 0.35; }
.le-flow.hot { stroke: #30d158; stroke-width: 3.2; stroke-dasharray: none; opacity: 1; filter: drop-shadow(0 0 4px rgba(48, 209, 88, 0.7)); }
.le-badge circle { fill: #0a84ff; stroke: #fff; stroke-width: 1.5; }
.le-badge.hot circle { fill: #1f9d46; }
.le-rubber { fill: none; stroke: #30d158; stroke-width: 2.4; stroke-dasharray: 6 4; pointer-events: none; }


.le-bar { display: flex; align-items: center; gap: 6px; margin-left: auto; }
#stage:not(.lay) .le-bar, .le-bar[hidden] { display: none; }
#stage.lay .alarm-btn, #stage.lay .hlights, #stage.lay .wx, #stage.lay .lic-btn { display: none !important; }
.le-bar .btn { height: 38px; padding: 0 10px; font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; }
#stage.lay .brand { flex-shrink: 0; }   
#stage.lay .brand .farm .bn { max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
.le-bar .btn.ic { width: 38px; padding: 0; justify-content: center; }
.le-bar .btn.on { background: var(--accent-soft); border-color: rgba(59, 130, 246, 0.6); }
.le-bar .sep { width: 1px; height: 24px; background: var(--line-2); margin: 0 1px; }
.le-bar .le-pv { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-right: 6px; }
.ldot { width: 8px; height: 8px; border-radius: 4px; background: var(--green); }
.ldot.a { background: var(--amber); } .ldot.r { background: var(--red); }


.le-pal, .le-props, .le-over { position: absolute; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 14px 34px rgba(0, 0, 0, 0.4); z-index: 4; }
.le-pal[hidden], .le-props[hidden], .le-over[hidden] { display: none; }
.le-pal { left: 16px; top: 76px; width: 158px; padding: 8px; display: flex; flex-direction: column; gap: 1px; }
.le-pal .h { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); padding: 4px 8px 6px; }
.le-pi { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 8px; border-radius: 9px; font-size: 13px; font-weight: 650; color: #dfe3e7; text-align: left; touch-action: none; cursor: grab; }
.le-pi:hover { background: var(--card-2); }
.le-pi svg { width: 32px; height: 30px; flex: none; }
.le-hint { font-size: 11.5px; line-height: 1.45; color: var(--muted); padding: 8px 8px 2px; }
.le-props { right: 16px; top: 76px; bottom: 16px; width: 344px; padding: 14px 16px 18px; overflow-y: auto; }
.le-props h4 { margin: 16px 0 7px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.le-kind { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8cc4ff; margin-bottom: 6px; }
.le-in { height: 32px; min-width: 0; border-radius: 8px; background: #0f1216; border: 1px solid var(--line-2); color: #fff; font: 600 13px Inter, sans-serif; padding: 0 9px; outline: none; user-select: text; -webkit-user-select: text; }
.le-in:focus { border-color: var(--accent); }
.le-in::placeholder { color: #5f6873; font-weight: 550; }
.le-in.w { width: 100%; }
.le-in.nm { height: 40px; font-size: 17px; font-weight: 700; }
.le-in.n { width: 100%; text-align: right; font-variant-numeric: tabular-nums; padding: 0 7px; }
.le-in.n.sm { width: 54px; flex: none; }
.le-in.a { width: 96px; flex: none; font-variant-numeric: tabular-nums; }
select.le-in { padding: 0 6px; cursor: pointer; }
.le-in[type=number] { -moz-appearance: textfield; }
.le-in[type=number]::-webkit-inner-spin-button, .le-in[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.le-acts { display: flex; gap: 8px; margin-top: 10px; }
.le-acts .btn { flex: 1; height: 34px; }
.le-g4, .le-g3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.le-g3 { grid-template-columns: repeat(3, 1fr); }
.le-g4 + .le-g4 { margin-top: 7px; }
.le-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.le-f small { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.le-row { display: flex; align-items: center; gap: 10px; min-height: 38px; font-size: 13px; }
.le-row .k { flex: 1; color: #c7cdd3; font-weight: 550; }
.le-row select.le-in { width: 170px; }
.le-row .btn { height: 32px; }
.le-tag { padding: 7px 0 8px; border-top: 1px solid var(--line); }
.le-tag .tl { display: flex; align-items: center; gap: 8px; min-height: 26px; font-size: 13px; color: #dfe3e7; font-weight: 600; }
.le-tag .tl small { color: var(--muted); font-size: 11px; font-weight: 550; margin-right: auto; }
.le-tag .tl .switch { width: 40px; height: 24px; flex: none; }
.le-tag .tl .switch::after { width: 18px; height: 18px; }
.le-tag .tl .switch.on::after { left: 19px; }
.le-tag .tl .switch.on { background: var(--accent); }
.le-tag.off .tl > span { color: var(--muted); }
.le-tag .ti { display: flex; gap: 6px; margin-top: 5px; }
.le-tag .ti .le-in:first-child { flex: 1; }
.le-sp { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.le-sp small { font-size: 12px; color: var(--muted); font-weight: 600; }
.le-sp .ar { color: var(--muted); }
.le-sp select.le-in { flex: 1; }
.le-props .x { width: 30px; height: 30px; flex: none; border-radius: 8px; color: var(--muted); font-size: 13px; }
.le-props .x:hover { background: var(--card-2); color: #fff; }
.le-add { width: 100%; height: 34px; margin-top: 2px; }
.le-sub { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.le-link { display: flex; align-items: center; height: 36px; padding: 0 4px 0 11px; border-radius: 8px; background: var(--card-2); margin-bottom: 6px; font-size: 13.5px; font-weight: 600; }
.le-link span { flex: 1; }
.le-path { font-size: 12.5px; line-height: 1.5; color: #c7cdd3; background: var(--card-2); border-radius: 9px; padding: 8px 11px; margin-bottom: 6px; }
.le-path b { color: #fff; margin-right: 4px; }
.le-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.le-stats div { background: var(--card-2); border-radius: 9px; padding: 8px 9px; display: flex; flex-direction: column; gap: 2px; }
.le-stats b { font-size: 16px; font-variant-numeric: tabular-nums; }
.le-stats small { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.le-iss { display: flex; gap: 9px; align-items: flex-start; width: 100%; padding: 8px 10px; border-radius: 9px; background: var(--card-2); font-size: 12.5px; line-height: 1.45; color: #dfe3e7; text-align: left; margin-bottom: 5px; }
.le-iss i { width: 8px; height: 8px; border-radius: 4px; margin-top: 5px; flex: none; background: var(--muted); }
.le-iss.err i { background: var(--red); } .le-iss.warn i { background: var(--amber); }
.le-iss:not([data-lesel]) { cursor: default; }
.le-ok { padding: 10px 12px; border-radius: 9px; background: var(--green-soft); color: #9ef0b4; font-size: 13px; font-weight: 600; }
.le-over { left: 186px; top: 76px; right: 376px; bottom: 16px; padding: 14px 18px; display: flex; flex-direction: column; }
.le-over .ch { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 6px; }
.le-over .ch h3 { margin: 0; font-size: 18px; font-weight: 700; }
.le-over .ch .sp { flex: 1; }
.le-over .ch .btn { height: 34px; }
.le-over .tbl td { height: 42px; }
.le-over .tbl .le-in { height: 30px; }
.le-over .tbl table[style*="fixed"] .le-in { width: 100%; min-width: 0; box-sizing: border-box; }
.le-over .tbl table[style*="fixed"] td { overflow: hidden; }
.le-over .tbl .le-rc { white-space: normal; font-size: 12.5px; line-height: 1.35; }
.le-pl { font-weight: 650; color: #8cc4ff; text-align: left; }

.modal-card.le-modal { width: 640px; }
.modal-card.le-modal.sm { width: 520px; }
.le-exp { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 11px; background: var(--card-2); }
.le-exp > div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.le-exp b { font-size: 15px; }
.le-exp small { font-size: 12px; color: #8cc4ff; font-weight: 650; font-variant-numeric: tabular-nums; }
.le-exp span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.le-warn { padding: 10px 12px; border-radius: 10px; background: rgba(255, 69, 58, 0.14); color: #ff9a92; font-size: 13px; font-weight: 600; }
.le-list { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow-y: auto; }
.le-li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: var(--card-2); }
.le-li > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.le-li small { font-size: 12px; color: var(--muted); }
.le-li.cur { box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.55); }
.le-li .btn { height: 32px; }

.lsteel .rotary .dk { fill: #22a447; }
.lsteel .rotary.full .dk { fill: #e0443a; }
.lv-demo { position: absolute; left: 24px; bottom: 18px; height: 28px; display: flex; align-items: center; padding: 0 12px; border-radius: 14px; background: rgba(13, 15, 19, 0.74); border: 1px solid var(--edge); font-size: 12px; font-weight: 600; color: var(--muted); pointer-events: none; }
#leLabels .lbl.nolbl { opacity: 0.45; }
.le-row .switch.on { background: var(--accent); }
.kv.lv-tag { min-height: 46px; }
.kv.lv-tag .k { display: flex; flex-direction: column; gap: 2px; }
.kv.lv-tag .k small { font-size: 12px; color: var(--muted); font-weight: 550; }
.kv.lv-tag .v { color: #c7cdd3; font-weight: 600; }

.lbl.sm { height: 22px; padding: 0 8px 0 7px; gap: 6px; font-size: 11px; border-radius: 11px; }
.lbl.sm .v { font-size: 10.5px; }
.lbl.sm .led { width: 6px; height: 6px; }

.lsteel .pipe { fill: none !important; stroke: #8a929b; stroke-width: 9; stroke-linecap: round; }
.lsteel .pipe-hl { fill: none !important; stroke: #d9dde1; stroke-width: 5; stroke-linecap: round; }
.lsteel .spt { fill: none !important; stroke: #8a929b; stroke-width: 8; stroke-linecap: butt; }
.lsteel .spt-hl { fill: none !important; stroke: #dfe3e7; stroke-width: 4.5; stroke-linecap: butt; }

.le-zoom { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); z-index: 4; }
.le-zoom[hidden] { display: none; }
.le-zoom .btn { height: 32px; padding: 0 12px; font-size: 13px; }
.le-zoom .btn.ic { width: 32px; padding: 0; font-size: 18px; font-weight: 600; }
.le-zoom .zv { min-width: 58px; height: 32px; border-radius: 8px; font-size: 13px; font-weight: 700; color: #dfe3e7; font-variant-numeric: tabular-nums; }
.le-zoom .zv:hover { background: var(--card-2); }
.le-out { fill: rgba(0, 0, 0, 0.55); }
.le-frame { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; stroke-dasharray: 8 6; vector-effect: non-scaling-stroke; }
.le-hdr { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; stroke-dasharray: 4 4; }
.le-hdrt { fill: rgba(255, 255, 255, 0.28); font: 600 13px Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
#leSvg { cursor: grab; }
#leSvg:active { cursor: grabbing; }

.le-over .tbl { overflow: auto; }
.le-over .tbl::-webkit-scrollbar { width: 8px; }
.le-over .tbl::-webkit-scrollbar-thumb { background: #2f3640; border-radius: 4px; }
.le-over .tbl::-webkit-scrollbar-track { background: transparent; }


.pcard .ch .tg { flex: none; height: 30px; padding: 0 12px; border-radius: 15px; display: inline-flex; gap: 8px; background: var(--card-2); border: 1px solid var(--line); }
.pcard .ch .btn { height: 32px; padding: 0 14px; font-size: 13px; }
.fmap { position: absolute; left: 18px; top: 70px; width: 1064px; height: 722px; border-radius: 12px; border: 1px solid var(--line); background: #0c0c0c; }
.fmapw { position: absolute; left: 43px; top: 149px; width: 1062px; height: 720px; border-radius: 11px; overflow: hidden; }
#page-fleet:not(.on) .fmapw { display: none; }
#fleetGl { position: absolute; inset: 0; }
.fnomap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--muted); font-size: 14px; }
.fplace { display: flex; align-items: center; gap: 7px; pointer-events: none; }
.fplace i { width: 12px; height: 12px; border-radius: 3px; background: #c9ced4; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.55); flex: none; }
.fplace b { font-size: 12.5px; font-weight: 700; color: #e4e8ec; text-shadow: 0 1px 3px #000, 0 0 8px #000; white-space: nowrap; }
.fplace.site i { background: #30d158; border-radius: 6px; }
.fplace.site b { font-size: 13px; font-weight: 800; letter-spacing: 1.6px; color: #fff; }
.fplace.yard i { background: none; border: 1.5px dashed #c9ced4; }
.fpin { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 3px; border-radius: 13px; cursor: pointer;
  background: rgba(13, 15, 19, 0.9); border: 1px solid var(--line-2); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5); }
.fpin .dot { position: relative; width: 20px; height: 20px; border-radius: 10px; background: #3a4048; flex: none; }
.fpin.c-on .dot { background: var(--green); }
.fpin.c-blue .dot { background: var(--accent); }
.fpin.c-amber .dot { background: var(--amber); }
.fpin .dot i { position: absolute; inset: 0; }
.fpin .dot i::before { content: ''; position: absolute; left: 6px; top: 3px; border: 4px solid transparent; border-bottom: 8px solid #fff; border-top: 0; }
.fpin.sel { border-color: #fff; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.6), 0 6px 14px rgba(0, 0, 0, 0.5); }
.maplibregl-marker:has(.fpin.sel) { z-index: 3; }
.fpin.park { opacity: 0.9; }
.fdet { position: absolute; z-index: 5; right: 14px; top: 14px; width: 330px; padding: 12px 16px 6px; border-radius: 14px; background: rgba(18, 20, 25, 0.95); border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.fdet .fdh { display: flex; align-items: center; gap: 10px; }
.fdet .fdh b { font-size: 17px; }
.fdet .fdh .x { margin-left: auto; width: 30px; height: 30px; border-radius: 15px; background: rgba(255, 255, 255, 0.08); color: #c3c9d0; font-size: 13px; }
.fdet .ds { font-size: 13px; color: #d6dbe0; margin: 4px 0 4px; }
.fdet .kv { min-height: 34px; }

.fmapw .maplibregl-ctrl.maplibregl-ctrl-attrib, .fmapw .maplibregl-ctrl.maplibregl-ctrl-attrib.maplibregl-compact-show { background: rgba(10, 12, 15, 0.8); color: #9aa3ad; font-size: 10.5px; }
.fmapw .maplibregl-ctrl.maplibregl-ctrl-attrib a { color: #c3c9d0; }
.fmapw .maplibregl-ctrl.maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button { background-color: rgba(255, 255, 255, 0.85); }
.flist { display: flex; flex-direction: column; gap: 6px; }
.fsec { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin: 8px 2px 2px; }
.fsec:first-child { margin-top: 0; }
.frow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); text-align: left; color: #fff; }
.frow.sel { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.frow .gr { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.frow .nm { font-size: 14.5px; font-weight: 700; }
.frow .nm i { font-style: normal; font-weight: 550; color: var(--muted); font-size: 12.5px; margin-left: 8px; }
.frow .ds { font-size: 12.5px; color: #d6dbe0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow .ds.dim { color: var(--muted); }
.frow .rv { text-align: right; flex: none; }
.frow .rv b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.frow .rv small { display: block; font-size: 11.5px; color: var(--muted); text-transform: none; letter-spacing: 0; }

/* website demo */
#avatar, #licBtn, #install, #umenu, .wxb { pointer-events: none; }
#avatar, #licBtn, #install { display: none !important; }
#nl-badge-frame { display: none !important; }
.demo-tag { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; margin-left: 18px; border-radius: 15px; flex-shrink: 0;
  border: 1px solid rgba(206, 166, 88, 0.75); background: rgba(206, 166, 88, 0.14); color: #f2d9a6; font-size: 13px; white-space: nowrap; pointer-events: none; }
.demo-tag b { font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; font-size: 12px; color: #e9c27a; }
.demo-tag span:last-child { color: #e8e3d8; font-weight: 500; }
.demo-tag .led { width: 7px; height: 7px; animation: demoPulse 1.6s ease-in-out infinite; }
@keyframes demoPulse { 50% { opacity: 0.35; } }
.card:has(.lv-tag), [data-tousers], [data-page="settings"]:not(.wxb) { display: none !important; }
/* a thin gold frame so the demo reads as a live screen, not a picture */
#stage::after { content: ''; position: absolute; inset: 0; z-index: 900; pointer-events: none; border: 2px solid rgba(233, 194, 122, 0.85); box-shadow: inset 0 0 22px rgba(233, 194, 122, 0.22); }
/* start screen */
.demo-start { position: absolute; inset: 0; z-index: 950; display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: radial-gradient(ellipse at center, rgba(6, 7, 9, 0.45), rgba(6, 7, 9, 0.78)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); transition: opacity 0.35s; }
.demo-start.gone { opacity: 0; pointer-events: none; }
.ds-card { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.ds-tag { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #e9c27a; }
.ds-tag .led { width: 9px; height: 9px; animation: demoPulse 1.6s ease-in-out infinite; }
.ds-go { display: flex; align-items: center; height: 84px; padding: 0 56px; border-radius: 42px; font-size: 30px; font-weight: 700; color: #1a1408; letter-spacing: 0.3px;
  background: linear-gradient(#f3d79c, #e0b866); border: 1px solid #f6e2b6; box-shadow: 0 0 0 8px rgba(233, 194, 122, 0.16), 0 18px 40px rgba(0, 0, 0, 0.5); animation: dsGlow 2.2s ease-in-out infinite; }
@keyframes dsGlow { 50% { box-shadow: 0 0 0 16px rgba(233, 194, 122, 0.06), 0 18px 40px rgba(0, 0, 0, 0.5); } }
.ds-sub { font-size: 19px; font-weight: 500; color: #e8e3d8; text-shadow: 0 2px 8px #000; }
/* first-step hint on the Receiving Pit */
.demo-hint { position: absolute; z-index: 940; width: 0; height: 0; pointer-events: none; }
.demo-hint .ring { position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%; border: 3px solid #e9c27a; animation: dhRing 1.6s ease-out infinite; }
@keyframes dhRing { 0% { transform: scale(0.55); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.demo-hint .tip { position: absolute; right: 64px; top: -17px; height: 34px; display: flex; align-items: center; padding: 0 16px; border-radius: 17px; white-space: nowrap;
  background: #e9c27a; color: #1a1408; font-size: 14px; font-weight: 700; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); }
.demo-hint .tip::after { content: ''; position: absolute; right: -7px; top: 11px; border: 6px solid transparent; border-left: 7px solid #e9c27a; border-right: 0; }
