:root{--bg:#f6f7f9;--card:#fff;--text:#1a1d21;--muted:#6b7280;--line:#e3e6ea;--accent:#2563eb;--ok:#16a34a;--bad:#dc2626;--warn:#d97706;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-size:17px;font-weight:500;line-height:1.45;padding:24px;max-width:1100px;margin-inline:auto;-webkit-font-smoothing:antialiased}
.top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:14px;margin-bottom:20px;border-bottom:2px solid var(--line)}
footer{margin-top:24px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:14px;text-align:center}
h1{font-size:30px;font-weight:900;margin:0;letter-spacing:-.5px}
.sub{color:var(--muted);font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px}
.dot{width:11px;height:11px;border-radius:50%;background:var(--muted)}
.dot.on{background:var(--ok);animation:p 1.6s infinite}
@keyframes p{50%{opacity:.35}}
.zones{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:20px}
.zt{font-family:inherit;text-align:left;background:var(--card);border:2px solid var(--line);border-radius:14px;padding:12px 14px;cursor:pointer;color:var(--text);display:flex;flex-direction:column;gap:2px;transition:border-color .15s,transform .15s}
.zt:hover{transform:translateY(-2px)}
.zt.on{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.zn{font-size:18px;font-weight:900}
.zv{font-size:32px;font-weight:900;font-variant-numeric:tabular-nums}
.zs{font-size:15px;font-weight:700;color:var(--muted);display:flex;align-items:center;gap:6px}
.zs i{width:10px;height:10px;border-radius:50%;background:var(--muted);display:inline-block}
.zs.ok{color:var(--ok)}.zs.ok i{background:var(--ok)}.zs.bad{color:var(--bad)}.zs.bad i{background:var(--bad)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(380px,100%),1fr));gap:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px}
.head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:12px}
.loc{font-size:26px;font-weight:900}
.id{font-size:14px;font-weight:500;color:var(--muted);word-break:break-all}
.m{display:flex;justify-content:space-between;align-items:baseline;padding:8px 0;border-top:1px solid var(--line)}
.m .l{color:var(--muted);font-size:18px;font-weight:800}
.tank svg{display:block;margin:6px auto 2px;width:340px;max-width:100%;height:auto;overflow:visible}
.bat svg{display:block;margin:4px auto 0;width:100%;max-width:150px;height:auto}
.low{animation:pl 1.2s ease-in-out infinite}
@keyframes pl{50%{opacity:.55}}
.ant{text-align:center;flex:none}.ant svg{width:62px;height:67px;display:block;margin:0 auto}.al{font-size:17px;font-weight:900;margin-top:-2px}
.sig{animation:pl 2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.sig{animation:none}}
@media(prefers-reduced-motion:reduce){.low{animation:none}}
.bb{animation:bb 3s ease-in infinite;opacity:0}.bb.b2{animation-delay:1s}.bb.b3{animation-delay:2s}
@keyframes bb{0%{transform:translateY(0);opacity:0}25%{opacity:.7}100%{transform:translateY(-60px);opacity:0}}
@media(prefers-reduced-motion:reduce){.bb{animation:none}}
.loc{display:flex;align-items:center;gap:6px}
.mapbtn{display:inline-flex;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--bg);align-items:center;justify-content:center;flex:none;transition:transform .15s}
.mapbtn:hover{transform:translateY(-1px);border-color:var(--accent)}
.mapbtn svg{width:28px;height:28px;transition:transform .2s}
.mapbtn:hover svg{transform:rotate(-12deg) scale(1.1)}
button.mapbtn{cursor:pointer;padding:0;color:inherit}
.pm{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}
.pm[hidden]{display:none}
.pb{background:var(--card);border-radius:16px;max-width:760px;width:100%;max-height:90vh;overflow:auto;padding:18px}
.pb img{width:100%;border-radius:12px;display:block}
.ph{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:21px;font-weight:900}
.px{border:0;background:var(--bg);color:var(--text);font-size:18px;width:38px;height:38px;border-radius:50%;cursor:pointer;flex:none}
.pe{color:var(--muted);text-align:center;padding:48px 10px;font-size:17px;font-weight:700}
.pu{margin-top:12px;padding:11px 20px;border:0;border-radius:10px;background:var(--accent);color:#fff;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit}
.t{color:var(--muted);font-size:15px;font-weight:700;margin-top:10px}
.t.stale{color:var(--bad)}
.empty{color:var(--muted);text-align:center;padding:36px 0;font-size:14px}
.grid{grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),480px));justify-content:center}
.card{text-align:center}
.head{flex-direction:column;align-items:center;text-align:center;gap:8px}
.loc{justify-content:center}
.m{justify-content:center;gap:14px;text-align:center}
.m .l{display:block;text-align:center}
.t{text-align:center}
.bs{display:inline-block;margin-top:8px;padding:5px 18px;border-radius:99px;font-size:18px;font-weight:900;color:#fff;background:var(--ok)}
.bs.bad{background:var(--bad);animation:pl 1.2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.bs.bad{animation:none}}
.mt svg{display:block;margin:6px auto 0;width:240px;max-width:100%;height:auto}
.bs.off{background:var(--muted)}
.shake{animation:sk .12s linear infinite}
@keyframes sk{50%{transform:translateX(1px)}}
.flow{stroke-dasharray:5 6;animation:fl .5s linear infinite}
@keyframes fl{to{stroke-dashoffset:-11}}
@media(prefers-reduced-motion:reduce){.shake,.flow{animation:none}}
body{letter-spacing:-.1px}
.card{border-radius:22px;padding:24px}
.zt{border-radius:18px;position:relative;overflow:hidden}
.zt::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--accent),transparent);opacity:0}
.zt.on::before{opacity:1}
.brand{display:flex;align-items:center;gap:14px}
.logo{width:46px;height:46px;flex:none;filter:drop-shadow(0 6px 16px rgba(56,189,248,.45))}.logo svg{width:100%;height:100%;display:block}
.logo.big{width:64px;height:64px;margin:0 auto 14px}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:2.4px;color:var(--accent)}
.hr{display:flex;align-items:center;gap:14px}
.lo{font-family:inherit;font-size:14px;font-weight:700;color:var(--text);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:99px;padding:7px 16px;cursor:pointer}
.lo[hidden]{display:none}
.dot.on{box-shadow:0 0 10px var(--ok)}
.bs.off{box-shadow:none}
.lg{display:none}
body.locked .lg{display:flex;min-height:90vh;align-items:center;justify-content:center}
body.locked>:not(.lg):not(script){display:none!important}
.lgc{width:100%;max-width:400px;padding:40px 32px 28px;border-radius:26px;text-align:center}
.lgc h2{margin:6px 0 22px;font-size:26px;font-weight:900}
.lgc input{display:block;width:100%;margin-bottom:12px;padding:14px 16px;border-radius:12px;font-size:17px;font-family:inherit}
.lgc input:focus{outline:2px solid rgba(56,189,248,.6);border-color:transparent}
.lgc button{width:100%;margin-top:6px;padding:14px;border:0;border-radius:12px;font-size:17px;font-weight:800;font-family:inherit;cursor:pointer}
.lgc button:disabled{opacity:.5}
.le{min-height:22px;font-size:14px;font-weight:700}
.lf{margin-top:22px;font-size:12px}

/* water background (deep sky, bright center) */
html{background:#2386cc}
body{background:none}
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%20900%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%20%3Cdefs%3E%20%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2386cdf6%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%234cafe9%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232386cc%22%2F%3E%3C%2FlinearGradient%3E%20%3CradialGradient%20id%3D%22c%22%20cx%3D%22800%22%20cy%3D%22440%22%20r%3D%22760%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23c9efff%22%20stop-opacity%3D%22.95%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%239fe0ff%22%20stop-opacity%3D%22.45%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%239fe0ff%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%20%3ClinearGradient%20id%3D%22r%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%20%3ClinearGradient%20id%3D%22w1%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%236cc3ee%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232f93d4%22%20stop-opacity%3D%22.4%22%2F%3E%3C%2FlinearGradient%3E%20%3C%2Fdefs%3E%20%3Crect%20width%3D%221600%22%20height%3D%22900%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221600%22%20height%3D%22900%22%20fill%3D%22url%28%23c%29%22%2F%3E%20%3Cg%20fill%3D%22%23fff%22%20fill-opacity%3D%22.6%22%3E%3Cellipse%20cx%3D%22240%22%20cy%3D%22120%22%20rx%3D%22150%22%20ry%3D%2236%22%2F%3E%3Cellipse%20cx%3D%22340%22%20cy%3D%2298%22%20rx%3D%22110%22%20ry%3D%2240%22%2F%3E%3Cellipse%20cx%3D%221000%22%20cy%3D%22170%22%20rx%3D%22130%22%20ry%3D%2230%22%2F%3E%3Cellipse%20cx%3D%221080%22%20cy%3D%22150%22%20rx%3D%2290%22%20ry%3D%2234%22%2F%3E%3Cellipse%20cx%3D%221440%22%20cy%3D%22300%22%20rx%3D%22120%22%20ry%3D%2228%22%2F%3E%3C%2Fg%3E%20%3Cpolygon%20points%3D%221050%2C0%201180%2C0%20700%2C900%20380%2C900%22%20fill%3D%22url%28%23r%29%22%20opacity%3D%22.55%22%2F%3E%3Cpolygon%20points%3D%221300%2C0%201380%2C0%201100%2C900%20900%2C900%22%20fill%3D%22url%28%23r%29%22%20opacity%3D%22.45%22%2F%3E%3Cpolygon%20points%3D%22780%2C0%20840%2C0%20420%2C900%20260%2C900%22%20fill%3D%22url%28%23r%29%22%20opacity%3D%22.35%22%2F%3E%20%3Cpath%20d%3D%22M0%20580%20C220%20520%20420%20640%20700%20580%20S1180%20520%201400%20590%20S1560%20580%201600%20560%20V900%20H0Z%22%20fill%3D%22url%28%23w1%29%22%2F%3E%20%3Cpath%20d%3D%22M0%20670%20C260%20620%20480%20740%20780%20670%20S1260%20610%201600%20680%20V900%20H0Z%22%20fill%3D%22%233b9ddb%22%20fill-opacity%3D%22.5%22%2F%3E%20%3Cpath%20d%3D%22M0%20760%20C300%20710%20520%20810%20860%20755%20S1320%20720%201600%20770%20V900%20H0Z%22%20fill%3D%22%232386cc%22%20fill-opacity%3D%22.6%22%2F%3E%20%3Cg%20fill%3D%22%23fff%22%20fill-opacity%3D%22.3%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.85%22%3E%3Ccircle%20cx%3D%22220%22%20cy%3D%22700%22%20r%3D%2222%22%2F%3E%3Ccircle%20cx%3D%22270%22%20cy%3D%22640%22%20r%3D%2211%22%2F%3E%3Ccircle%20cx%3D%221320%22%20cy%3D%22610%22%20r%3D%2228%22%2F%3E%3Ccircle%20cx%3D%221380%22%20cy%3D%22540%22%20r%3D%2213%22%2F%3E%3Ccircle%20cx%3D%221240%22%20cy%3D%22680%22%20r%3D%229%22%2F%3E%3Ccircle%20cx%3D%22760%22%20cy%3D%22780%22%20r%3D%2216%22%2F%3E%3Ccircle%20cx%3D%22820%22%20cy%3D%22720%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%221500%22%20cy%3D%22800%22%20r%3D%2218%22%2F%3E%3Ccircle%20cx%3D%2290%22%20cy%3D%22520%22%20r%3D%2214%22%2F%3E%3C%2Fg%3E%20%3Cg%20fill%3D%22%23fff%22%3E%3Ccircle%20cx%3D%22520%22%20cy%3D%22260%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%22880%22%20cy%3D%22110%22%20r%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%221180%22%20cy%3D%22420%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22420%22%20r%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22160%22%20cy%3D%22380%22%20r%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%221500%22%20cy%3D%22190%22%20r%3D%222.4%22%2F%3E%3C%2Fg%3E%20%3C%2Fsvg%3E") center/cover no-repeat}
body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:24vh;z-index:-1;pointer-events:none;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20200%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2090%20C150%2050%20300%20130%20450%2090%20S750%2050%20900%2090%20S1200%20130%201200%2090%20V200%20H0Z%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.38%22%2F%3E%3Cpath%20d%3D%22M0%20120%20C200%2085%20350%20160%20600%20120%20S1000%2085%201200%20120%20V200%20H0Z%22%20fill%3D%22%23d9f6ff%22%20fill-opacity%3D%22.5%22%2F%3E%3C%2Fsvg%3E") repeat-x;background-size:1200px 100%;animation:drift 26s linear infinite}
@keyframes drift{to{background-position-x:-1200px}}
@media(prefers-reduced-motion:reduce){body::after{animation:none}}
.card,.zt,.pb,.lgc{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:linear-gradient(160deg,rgba(236,249,255,.92),rgba(200,235,255,.76));border:1px solid rgba(255,255,255,.9);box-shadow:0 14px 40px rgba(56,128,190,.22),inset 0 1px 0 #fff}
.top,footer,.empty{background:rgba(222,243,255,.8);border:1px solid rgba(255,255,255,.95);border-radius:20px;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 10px 30px rgba(56,128,190,.18)}
.top{padding:16px 22px}
footer{padding:12px 16px}
.empty{padding:28px 16px}
.alb{margin-bottom:16px;padding:14px 20px;border-radius:16px;font-size:18px;font-weight:800;animation:pl 1.6s ease-in-out infinite}
.alb[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.alb{animation:none}}
/* wide layout */
.grid{grid-template-columns:1fr;justify-content:stretch}
.card{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 28px;align-items:start}
.card>.head,.card>.t{grid-column:1/-1}
.card>.m{border-top:0;padding:14px 0 0}
.tank svg,.bat svg,.mt svg,.sg svg{display:block;width:100%;max-width:none;height:230px;margin:6px 0 0;overflow:visible}
.tank,.bat,.mt,.sg{text-align:center}
/* zones + phone */
#wrap{container-type:inline-size}
.zbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.zbar input,.zbar select{padding:9px 12px;border-radius:10px;font-size:16px;font-family:inherit}
.zbar input{flex:1 1 160px;min-width:0}
#zc{font-size:14px;background:rgba(255,255,255,.78);padding:5px 12px;border-radius:99px}
.zones{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));max-height:330px;overflow-y:auto;padding:4px;margin-bottom:20px;scrollbar-width:thin}
.zt{padding:10px 12px}.zv{font-size:26px}.zn{font-size:16px}.zs{font-size:13px}
html.phone body{max-width:394px;padding:14px;margin:18px auto;border:9px solid #0b1220;border-radius:40px;box-shadow:0 30px 80px rgba(0,0,0,.55)}
@media(max-width:600px){body{padding:14px}}
@container (max-width:640px){
h1{font-size:21px}.eyebrow{font-size:10px;letter-spacing:1.6px}.logo{width:38px;height:38px}
.top{padding:12px 14px;gap:10px}.hr{width:100%;justify-content:space-between;flex-wrap:wrap}
.sub{font-size:14px}
.zones{grid-template-columns:repeat(2,1fr);max-height:260px}
.card{padding:16px;grid-template-columns:1fr 1fr;gap:6px 10px}
.loc{font-size:21px;flex-wrap:wrap}
.m .l{font-size:15px}
.tank svg,.bat svg,.mt svg,.sg svg{height:150px}
.bs{font-size:14px;padding:4px 12px}
.al{font-size:14px}.ant svg{width:52px;height:56px}
.alb{font-size:15px;padding:12px 14px}
.t{font-size:13px}
footer{font-size:12px}
}
.hc{margin-top:12px;text-align:left;cursor:pointer}
.hc svg{display:block;width:100%;height:64px;border-radius:8px;border:1px solid rgba(14,116,184,.18);background:rgba(255,255,255,.75)}
.hx{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:3px}
.hcap{font-size:13px;color:var(--muted);margin-top:4px;text-align:center}
.xa{display:flex;gap:10px;flex-wrap:wrap}
.xa .pu{flex:1 1 140px;margin-top:6px}
/* text: bold black */
:root:root:root{--bg:#d9f0ff;--card:#ffffff;--text:#000;--muted:#0a0a0a;--line:#cfe6f7;--accent:#0ea5e9;--ok:#0e9f6e;--bad:#e11d48;--warn:#d97706}
body{font-weight:700}
.id,.t,.hx,.hcap,.sub,.zs,.lf,.le,#zc{font-weight:800}
.id{font-size:15px}
.zs{font-size:14px}
.zn,.zv,.m .l,.loc,.ph,.bs,.al,#zc,.eyebrow{font-weight:900}
.eyebrow{font-size:12px}
input,select,textarea,button{font-weight:800}
input::placeholder{color:#333;font-weight:700}
footer{font-size:15px;font-weight:800;color:var(--text)}
svg text{font-weight:900;fill:#000}
h1,.zv{background:none;-webkit-text-fill-color:#000;color:#000}
.eyebrow,.lf,footer .fn,footer .co,.zs,.zs.ok,.zs.bad,.al,.le,.t.stale,.simtag{color:#000!important}
.zbar input,.zbar select,.lgc input{background:rgba(236,249,255,.92);border:1px solid #bfdcf2;color:#000}
.lo{color:#000;background:rgba(255,255,255,.8);border:1px solid #bfdcf2}
.lo:hover{background:#fff}
.mapbtn{background:rgba(255,255,255,.85);border-color:#bfdcf2}
.pm{background:rgba(15,42,71,.45)}
.simtag{font-size:13px;font-weight:800;background:#fef3c7;border:1px solid #fcd34d;border-radius:99px;padding:5px 12px}
.simtag[hidden]{display:none}
.tank svg,.bat svg,.mt svg,.sg svg{filter:drop-shadow(0 10px 16px rgba(30,90,150,.28))}
/* light sky panels */
.card{background:#e6f5ff;border:1px solid rgba(14,116,184,.2)}
.zt,.zt.on{background:#e6f5ff}
.zt{border:1px solid rgba(14,116,184,.2)}
.zt.on{border:2px solid #0ea5e9;box-shadow:0 0 0 2px rgba(14,165,233,.25)}
.card>.head{position:relative;padding:0 76px}
.card>.head .ant{position:absolute;right:0;top:50%;transform:translateY(-50%)}
@container (max-width:640px){.card>.head{padding:0 62px}.card>.head .ant{top:0;transform:none}}
.bs{color:#000;background:linear-gradient(135deg,#86efac,#4ade80);box-shadow:0 4px 14px rgba(34,197,94,.3)}
.bs.bad,.bs.stop{background:linear-gradient(135deg,#fca5a5,#f87171);box-shadow:0 4px 14px rgba(239,68,68,.35)}
.bs.off{background:#e2e8f0;box-shadow:none}
.pu,.lgc button{color:#000;background:linear-gradient(135deg,#7dd3fc,#a5b4fc);box-shadow:0 6px 18px rgba(99,102,241,.25)}
.alb{color:#000;background:linear-gradient(135deg,#fecaca,#fca5a5);border:1px solid rgba(220,38,38,.4);box-shadow:0 8px 22px rgba(220,38,38,.2)}
/* fold button */
.zk{flex:none;width:40px;height:40px;border-radius:12px;border:1px solid rgba(14,116,184,.4);background:#e6f5ff;color:#000;font-size:18px;font-weight:900;cursor:pointer;font-family:inherit;padding:0}
.zk:hover{background:#fff}
html.zfold .zbar>:not(.zk),html.zfold .zones{display:none}
footer{display:flex;justify-content:space-between;align-items:center;gap:6px 16px;flex-wrap:wrap;padding:8px 16px;font-size:14px;text-align:left}
footer .co{font-weight:900}
footer .fn{font-weight:800}
/* viewer */
.pbw{max-width:1000px}
.vsum{font-size:16px;font-weight:800;margin-bottom:10px}
.vw{display:flex;gap:14px;align-items:flex-start}
.vd{flex:0 0 200px;max-height:58vh;overflow:auto;display:flex;flex-direction:column;gap:6px}
.vdb{font-family:inherit;font-size:15px;font-weight:800;text-align:left;color:#000;background:rgba(255,255,255,.7);border:1px solid #bfdcf2;border-radius:10px;padding:8px 12px;cursor:pointer;display:flex;justify-content:space-between;gap:8px}
.vdb small{font-size:13px}
.vdb.on{background:linear-gradient(135deg,#7dd3fc,#a5b4fc);border-color:transparent}
.vt{flex:1;max-height:58vh;overflow:auto;border-radius:10px;border:1px solid #bfdcf2;background:rgba(255,255,255,.6)}
.vt table{width:100%;border-collapse:collapse;font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}
.vt th{position:sticky;top:0;background:#bfe3fb;color:#000;padding:8px 10px;text-align:left;font-size:14px}
.vt td{padding:6px 10px;border-bottom:1px solid rgba(15,42,71,.08)}
.vt tr:nth-child(even) td{background:rgba(15,42,71,.04)}
.vt tr.hit td{background:rgba(14,165,233,.35)}
.vt td.bad{background:rgba(248,113,113,.35)}
@media(max-width:700px){.vw{flex-direction:column}.vd{flex:none;flex-direction:row;max-height:none;overflow-x:auto;width:100%}.vdb{flex:none}}
/* inline download bar */
.xbar{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;background:rgba(255,255,255,.78);border:1px solid rgba(14,116,184,.25);border-radius:12px;padding:8px 12px}
.xbar label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:800}
.xbar input{padding:5px 8px;font-size:14px;border-radius:8px;border:1px solid #bfdcf2;background:#fff;color:#000;font-family:inherit;font-weight:800}
.xl{font-weight:900;font-size:15px}
.xq2{display:flex;gap:6px}
.xq2 button{font-family:inherit;font-size:13px;font-weight:800;color:#000;background:#fff;border:1px solid #bfdcf2;border-radius:99px;padding:5px 12px;cursor:pointer}
.xbar .pu{margin:0;padding:7px 16px;font-size:14px;flex:none}
.xbar .pu:disabled{opacity:.4;cursor:not-allowed}
.xc2{font-size:14px;font-weight:800}
.xn2{font-size:13px;font-weight:700}
/* key list */
.kt{width:100%;border-collapse:collapse;font-size:14px;font-weight:800}
.kt th,.kt td{padding:6px 8px;border-bottom:1px solid rgba(15,42,71,.1);text-align:left}
.kt th{background:#bfe3fb;position:sticky;top:0}
.kt code{font-size:15px;letter-spacing:1px}
.kn{font-size:14px;line-height:1.55;margin-bottom:10px;word-break:break-all}
.pf input{display:block;width:100%;margin:6px 0 10px;padding:10px 12px;border-radius:10px;border:1px solid #bfdcf2;font-size:16px;font-family:inherit}

/* FHD 1920x1080 layout */
@media (min-width:1600px){
html:not(.phone) body{max-width:1880px;padding:20px 24px 14px;font-size:18px;min-height:100vh;min-height:100dvh}
html:not(.phone) #wrap{display:grid;height:calc(100vh - 34px);height:calc(100dvh - 34px);min-height:760px;grid-template-columns:300px minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:12px 18px;align-items:start}
html.zfold:not(.phone) #wrap{grid-template-columns:56px minmax(0,1fr)}
html:not(.phone) #wrap>.top{grid-column:1/-1;grid-row:1;margin:0;padding:8px 18px}
html:not(.phone) #wrap>.alb{grid-column:1/-1;grid-row:2;margin:0}
html:not(.phone) #wrap>.zbar{grid-column:1;grid-row:3;margin:0}
html:not(.phone) #wrap>.zones{grid-column:1;grid-row:4;max-height:none;min-height:0;align-self:stretch;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;grid-auto-rows:min-content;align-content:start;margin:0}
html:not(.phone) #wrap>.grid,html:not(.phone) #wrap>.empty{grid-column:2;grid-row:3/5;min-height:0;align-self:stretch}
html:not(.phone) #wrap>.grid{grid-template-rows:minmax(0,1fr)}
html:not(.phone) #wrap>footer{grid-column:1/-1;grid-row:5;margin:0;padding:5px 16px}
html:not(.phone) h1{font-size:30px}
html:not(.phone) .logo{width:40px;height:40px}
html:not(.phone) .zbar input,html:not(.phone) .zbar select{padding:6px 10px;font-size:14px}
html:not(.phone) #zc{font-size:12px}
html:not(.phone) .zt{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;padding:5px 8px;border-radius:10px}
html:not(.phone) .zt .zs{order:-1;font-size:0;gap:0}
html:not(.phone) .zt .zn{font-size:12.5px;white-space:nowrap}
html:not(.phone) .zt .zv{font-size:14px;text-align:right}
html:not(.phone) .card{height:100%;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto minmax(0,1fr) auto auto;gap:6px 12px;padding:12px 16px}
html:not(.phone) .card>.head{grid-row:1;flex-direction:row;justify-content:center;gap:48px;text-align:center}
html:not(.phone) .card>.head>div:first-child{text-align:center}
html:not(.phone) .loc{font-size:32px;justify-content:center}
html:not(.phone) .card>.m{grid-row:2;display:flex!important;flex-direction:column;align-items:center;text-align:center;min-height:0;padding-top:4px}
html:not(.phone) .card>.m>.l{width:100%;text-align:center;font-size:22px}
html:not(.phone) .card>.t{grid-row:3;grid-column:1/-1;text-align:center;margin:0;align-self:center}
html:not(.phone) .card>.xbar{grid-row:4}
html:not(.phone) .tank,html:not(.phone) .bat,html:not(.phone) .mt,html:not(.phone) .sg{flex:0 1 auto;aspect-ratio:9/10;max-height:clamp(260px,50vh,560px);min-height:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:center}
html:not(.phone) .tank svg,html:not(.phone) .bat svg,html:not(.phone) .mt svg,html:not(.phone) .sg svg{flex:1 1 0;min-height:0;width:100%;height:auto;margin:0}
html:not(.phone) .hc{flex:1 1 auto;width:100%;min-height:clamp(110px,16vh,200px);display:flex;flex-direction:column;margin-top:10px}
html:not(.phone) .hc svg{flex:1 1 auto;height:auto;min-height:80px}
html:not(.phone) .bs{font-size:19px}
}
