/* 운영창 */
.ot{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}
.ot button{font-family:inherit;font-size:15px;font-weight:900;color:#000;background:#fff;border:1px solid #bfdcf2;border-radius:99px;padding:7px 16px;cursor:pointer}
.ot button.on{background:linear-gradient(135deg,#7dd3fc,#a5b4fc);border-color:transparent}
.og{font-size:15px;font-weight:900;margin:14px 0 6px;padding-bottom:4px;border-bottom:1px solid rgba(15,42,71,.15)}
.or{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center;padding:4px 0;font-size:14px}
.or input,.oa input,.oa select,.ou input{width:100%;padding:7px 10px;border-radius:8px;border:1px solid #bfdcf2;font-size:14px;font-family:inherit;font-weight:700;background:#fff;color:#000}
.or input.ch{background:#fff7d6;border-color:#f5c542}
.os{max-height:52vh;overflow:auto;padding-right:4px}
.oq{display:flex;gap:8px;margin-bottom:8px}.oq input{flex:1}
.ob{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}
.ob .pu{margin:0}
.on2{font-size:14px;font-weight:800;min-height:20px}
.oa{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;align-items:end;margin:8px 0 14px}
.oa label{font-size:13px;font-weight:800}
.ou{width:100%;border-collapse:collapse;font-size:14px;font-weight:800}
.ou th,.ou td{padding:6px 8px;border-bottom:1px solid rgba(15,42,71,.1);text-align:left}
.ou th{background:#bfe3fb}
.ou .sb{font-family:inherit;font-size:13px;font-weight:800;border:1px solid #bfdcf2;background:#fff;border-radius:8px;padding:5px 10px;cursor:pointer;color:#000}
.ou .sb.del{background:#fee2e2;border-color:#fca5a5}
.ou input{width:130px;display:inline-block}
#simtag,#ky{display:none!important}
/* 고딕체 */
body,button,input,select,textarea,.zt,.lgc button,.lgc input{font-family:"Noto Sans KR","Malgun Gothic","맑은 고딕","Apple SD Gothic Neo",sans-serif!important}
.logo{filter:drop-shadow(0 4px 10px rgba(14,165,233,.35))}
#hm{flex:none}
/* 지역 머리말 */
.zh{grid-column:1/-1;font-size:18px;font-weight:900;padding:8px 4px 2px;border-bottom:2px solid rgba(14,116,184,.25)}
/* 첫 화면: 구역 아이콘만 가운데 */
html.home #grid,html.home #empty,html.home #zk,html.home #zhm{display:none!important}
html:not(.home) #zhm{flex:none}
html.home .zbar{justify-content:center}
html.home .zones{max-height:none;overflow:visible;max-width:1500px;margin:0 auto 20px;grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
html.home .zt{align-items:center;text-align:center}
html.home .zt .zs{justify-content:center}
@media (min-width:1600px){
html.home:not(.phone) #wrap>.zbar{grid-column:1/-1;justify-self:center;width:100%;max-width:1500px}
html.home:not(.phone) #wrap>.zones{grid-column:1/-1;grid-row:4;justify-self:center;width:100%;max-width:1500px;overflow:auto;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
html.home:not(.phone) .zt{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 14px;border-radius:14px}
html.home:not(.phone) .zt .zs{order:0;font-size:13px;gap:6px}
html.home:not(.phone) .zt .zn{font-size:16px;white-space:normal}
html.home:not(.phone) .zt .zv{font-size:26px;text-align:center}
}
/* 구역 이름 탭 */
.oz{display:grid;grid-template-columns:70px minmax(0,1fr) minmax(0,1.4fr);gap:8px;align-items:center;padding:4px 0;font-size:14px}
.oz input{width:100%;padding:7px 10px;border-radius:8px;border:1px solid #bfdcf2;font-size:14px;font-family:inherit;font-weight:700;background:#fff;color:#000}
.oz.hd{font-weight:900;border-bottom:1px solid rgba(15,42,71,.15)}
.mapbtn.kmap{background:transparent;border:0;width:34px;height:34px}
.mapbtn.kmap svg{width:30px;height:30px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.18))}
.card .id{font-size:15px;font-weight:700;color:#334155}
.logo.custom{filter:none;width:auto;max-width:200px}
.logo.custom img{display:block;height:100%;width:auto;max-width:200px;object-fit:contain}
.logo.big.custom{height:72px;max-width:260px;margin:0 auto 14px}
.logo.big.custom img{max-width:260px}
.lgp{display:flex;align-items:center;justify-content:center;min-height:110px;background:repeating-conic-gradient(#f1f5f9 0 25%,#fff 0 50%) 0 0/16px 16px;border:1px solid #bfdcf2;border-radius:12px;padding:12px}
.lgp img{max-height:90px;max-width:100%;object-fit:contain}
.lgp span{font-size:14px;font-weight:700;color:#334155}
/* 물탱크 용량 · AI 예측 */
.capr{display:flex;justify-content:center;gap:10px;align-items:center;font-size:15px;font-weight:800;color:#0f172a;margin:4px 0 6px;flex-wrap:wrap}
.capr .cp{background:linear-gradient(135deg,#0ea5e9,#1d4ed8);color:#fff;border-radius:99px;padding:3px 12px;font-weight:900}
.fcl{display:block;width:100%;margin:4px 0 8px;padding:8px 12px;border-radius:12px;border:1px solid #c4b5fd;background:linear-gradient(135deg,#f5f3ff,#ede9fe);color:#3b0764;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;text-align:center}
.fcl b{color:#6d28d9;font-weight:900}.fcl span{color:#7c3aed;margin-left:4px}
.fcl:hover{border-color:#7c3aed}
.mapbtn.aibtn{background:transparent;border:0;width:34px;height:34px;padding:0;cursor:pointer}
.mapbtn.aibtn svg{width:30px;height:30px;filter:drop-shadow(0 2px 4px rgba(79,70,229,.35))}
.fct{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:6px 0 4px}
.fct>div{background:linear-gradient(135deg,#f5f3ff,#e0f2fe);border:1px solid #ddd6fe;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.fct small{font-size:13px;font-weight:800;color:#475569}
.fct b{font-size:32px;font-weight:900;color:#4c1d95;line-height:1.1}.fct b i{font-style:normal;font-size:16px;margin-left:3px}
.fct span{font-size:13px;font-weight:700;color:#334155}
.fcc{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:8px}
.fcc svg{display:block;width:100%;height:auto}
/* 모터 강제 동작 */
.mfb{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:6px 0 8px}
.mf{font-family:inherit;font-size:14px;font-weight:900;border-radius:10px;padding:7px 12px;cursor:pointer;border:1px solid;background:#fff}
.mf.mon{color:#047857;border-color:#6ee7b7;background:#ecfdf5}.mf.mon:hover{background:#d1fae5}
.mf.moff{color:#be123c;border-color:#fda4af;background:#fff1f2}.mf.moff:hover{background:#ffe4e6}
.mf.mcx{color:#334155;border-color:#cbd5e1}
.mf:disabled{opacity:.5;cursor:wait}
.fz{margin:4px auto 2px;padding:7px 10px;border-radius:10px;background:#fef3c7;border:1px solid #fcd34d;color:#78350f;font-size:13.5px;font-weight:800;text-align:center;line-height:1.4}
.fz small{font-weight:600;color:#92400e}
/* 수신 데이터 창 */
.rxb{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;font-weight:800;margin-bottom:8px}
.rxb .pu{margin:0 0 0 auto}
.rxd{width:11px;height:11px;border-radius:50%;background:#94a3b8}
.rxd.on{background:#10b981;box-shadow:0 0 0 0 rgba(16,185,129,.6);animation:rxp 1.6s infinite}
@keyframes rxp{0%{box-shadow:0 0 0 0 rgba(16,185,129,.6)}100%{box-shadow:0 0 0 10px rgba(16,185,129,0)}}
.rxw{max-height:58vh}
.rxt td{font-size:13px;vertical-align:top}.rxt code{word-break:break-all;font-size:12.5px}
.rxt tr.err td{background:#fff1f2}.rxt tr.err b{color:#be123c}
.rxt tr.cmd td{background:#eff6ff}.rxt tr.cmd b{color:#1d4ed8}
.rxt tr.tst td{background:#f8fafc}
.rxt tr.nw td{animation:rxn 2.5s ease-out}
@keyframes rxn{0%{background:#fde68a}100%{}}
.kt tr.err td{background:#fff1f2}
/* 문자 알림 창 */
.smt input,.smt select{width:100%;min-width:80px;padding:6px 8px;border-radius:8px;border:1px solid #bfdcf2;font-size:14px;font-family:inherit;font-weight:700;background:#fff;color:#000}
.smt input[type=checkbox]{width:18px;height:18px;min-width:0}
.smt td{white-space:nowrap}
.okb,.nob{font-size:12.5px;font-weight:800;border-radius:99px;padding:2px 10px;margin-left:8px}
.okb{background:#d1fae5;color:#047857}.nob{background:#fee2e2;color:#be123c}
.oz{grid-template-columns:70px minmax(0,1fr) minmax(0,1.4fr) 90px}
/* ===== 카드 배치: 수위 그래프 한 줄 + 버튼 한 줄 ===== */
.act{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%;max-width:980px;justify-self:center;margin:4px auto 2px}
.act>button{height:58px;margin:0;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:16px;font-family:inherit;cursor:pointer;text-align:left;padding:0 14px;box-shadow:0 4px 14px rgba(15,23,42,.08);transition:transform .12s,box-shadow .12s}
.act>button:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,23,42,.14)}
.act>button span{display:flex;flex-direction:column;line-height:1.2;font-size:15.5px;font-weight:900}
.act>button small{font-size:12.5px;font-weight:700;opacity:.8}
.act>button small b{font-weight:900}
.act .fi{width:30px;height:30px;flex:none}
.act .fcl{width:auto;border:1px solid #c4b5fd;background:linear-gradient(135deg,#faf5ff,#ede9fe);color:#3b0764}
.act .mf i{font-style:normal;width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:13px;color:#fff;flex:none}
.act .mf.mon{border:1px solid #6ee7b7;background:linear-gradient(135deg,#f0fdf4,#d1fae5);color:#065f46}.act .mf.mon i{background:#059669}
.act .mf.moff{border:1px solid #fda4af;background:linear-gradient(135deg,#fff1f2,#ffe4e6);color:#9f1239}.act .mf.moff i{background:#e11d48}
.fz .mf.mcx{margin-top:6px;padding:4px 12px;font-size:12.5px;border-radius:8px}
@container (max-width:640px){.act{grid-template-columns:1fr 1fr;gap:8px}.act .fcl{grid-column:1/-1}.act>button{height:54px}}
.wgr{grid-column:1/-1;width:100%}
.wgr>.l{font-size:18px;font-weight:900;text-align:left;margin:2px 0 0 44px}
.hc.big{position:relative;padding-left:44px;margin-top:6px}
.hc.big svg{height:130px;border-radius:12px}
.hc.big .hy{position:absolute;left:0;top:0;width:38px;height:130px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;font-size:12px;font-weight:800;color:#475569}
html:not(.phone) .card{grid-template-rows:auto minmax(0,1fr) auto auto auto auto}
html:not(.phone) .card>.act{grid-row:3}
html:not(.phone) .card>.wgr{grid-row:4}
html:not(.phone) .card>.t{grid-row:5}
html:not(.phone) .card>.xbar{grid-row:6}
/* PDF · 엑셀 버튼 */
.xbar .pu.xp,.xbar .pu.xe{display:inline-flex;align-items:center;gap:7px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.08);padding:5px 14px 5px 10px}
.xbar .pu.xp{border:1px solid #fca5a5;color:#991b1b}.xbar .pu.xe{border:1px solid #86efac;color:#14532d}
.xbar .pu .fi{width:22px;height:26px;flex:none}
/* ===================== 2026-11-25 고급스러운 디자인 ===================== */
/* 배경: 연한 하늘색 그라데이션 + 빛이 지나가는 샤이닝 효과 */
html{background:#e6f3fd}
body::before{background:
  radial-gradient(900px 560px at 8% -6%,rgba(255,255,255,.95),transparent 62%),
  radial-gradient(820px 620px at 100% 4%,rgba(186,230,253,.85),transparent 60%),
  radial-gradient(1300px 700px at 50% 120%,rgba(125,211,252,.55),transparent 66%),
  linear-gradient(160deg,#f5fbff 0%,#e1f2fd 42%,#c7e7fb 100%)!important}
body::after{top:0;height:auto!important;-webkit-mask-image:none;mask-image:none;
  background:linear-gradient(115deg,transparent 0%,transparent 38%,rgba(255,255,255,.0) 42%,rgba(255,255,255,.65) 50%,rgba(255,255,255,0) 58%,transparent 62%,transparent 100%)!important;
  background-size:260% 100%!important;background-repeat:no-repeat!important;animation:shine 9s ease-in-out infinite!important}
@keyframes shine{0%{background-position:130% 0}55%{background-position:-30% 0}100%{background-position:-30% 0}}
@media(prefers-reduced-motion:reduce){body::after{animation:none!important}}
/* 글자 */
h1{background:linear-gradient(90deg,#0c4a6e,#0369a1 55%,#0ea5e9);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:-.6px}
.eyebrow{color:#0284c7;letter-spacing:2.4px}
/* 상단바·바닥글 */
.top,footer,.empty{background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.78))!important;border:1px solid rgba(255,255,255,.95)!important;box-shadow:0 18px 40px -18px rgba(14,72,128,.28),0 1px 0 #fff inset!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.lo{background:linear-gradient(180deg,#fff,#f3f8fd)!important;border:1px solid #d6e6f4!important;color:#0f2a44!important;font-weight:800;box-shadow:0 2px 6px rgba(14,72,128,.08);transition:transform .12s,box-shadow .12s}
.lo:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(14,72,128,.14)}
#op{background:linear-gradient(135deg,#0f2a44,#1e4b74)!important;color:#fff!important;border-color:#0f2a44!important}
#sm{display:inline-flex;align-items:center;gap:6px;letter-spacing:.6px}
#sm .smsi{width:17px;height:17px;color:#0ea5e9}
/* 구역 아이콘 */
.zt{background:linear-gradient(180deg,#ffffff,#f4f9fe)!important;border:1px solid #dce9f5!important;box-shadow:0 10px 24px -14px rgba(14,72,128,.35),inset 0 1px 0 #fff!important;transition:transform .15s,box-shadow .15s}
.zt:hover{transform:translateY(-2px);box-shadow:0 16px 30px -14px rgba(14,72,128,.45)!important}
.zt.on{border-color:#38bdf8!important;box-shadow:0 0 0 3px rgba(56,189,248,.25),0 14px 28px -14px rgba(14,72,128,.45)!important}
.zh{color:#0c4a6e;border-bottom:1px solid rgba(12,74,110,.18)}
.lgc,.pb{background:linear-gradient(180deg,#ffffff,#f4f9fe)!important;box-shadow:0 30px 70px -20px rgba(14,72,128,.4),inset 0 1px 0 #fff!important;border:1px solid #e1edf8!important}
/* 카드 */
.card{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(246,251,255,.94))!important;border:1px solid rgba(255,255,255,.95)!important;border-radius:28px!important;box-shadow:0 34px 70px -28px rgba(14,72,128,.38),0 2px 8px rgba(14,72,128,.06),inset 0 1px 0 #fff!important}
.loc{letter-spacing:-.5px}
.card>.m,.card>.wgr{background:linear-gradient(180deg,#ffffff,#f3f8fd);border:1px solid #e2edf7;border-radius:22px;box-shadow:inset 0 1px 0 #fff,0 10px 24px -16px rgba(14,72,128,.3);padding:12px 10px 14px!important}
.card>.m>.l{font-size:17px!important;font-weight:800!important;color:#1e3a5f;letter-spacing:.2px}
.card>.m>.l::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,#38bdf8,#0369a1);margin:0 8px 2px 0;vertical-align:middle}
.wgr{padding:12px 16px 10px!important}
.wgr>.l{margin:0 0 0 44px!important;font-size:17px!important;font-weight:800;color:#1e3a5f}
.wgr>.l small{font-size:12.5px;font-weight:700;color:#64748b;margin-left:8px}
.wgr .hcap{display:none}
.hc.big svg{background:linear-gradient(180deg,#ffffff,#f5faff)!important;border:1px solid #dbe8f4!important}
/* 상태 표시(충분·정상·가동 중 등) */
.bs{font-size:14px!important;padding:5px 16px!important;letter-spacing:.3px;display:inline-flex!important;align-items:center;gap:7px}
.bs i{font-style:normal;display:inline-block}
.bs i.lv{width:8px;height:8px;border-radius:50%;background:#065f46;box-shadow:0 0 0 0 rgba(6,95,70,.5);animation:lvp 1.4s ease-out infinite}
.bs i.sq{width:8px;height:8px;border-radius:2px;background:#9f1239}
@keyframes lvp{0%{box-shadow:0 0 0 0 rgba(6,95,70,.55)}100%{box-shadow:0 0 0 8px rgba(6,95,70,0)}}
/* LTE 안테나: 항상 전파가 퍼지는 움직임 */
.ant svg g path{animation:antw 1.8s ease-in-out infinite}
.ant svg g path:nth-child(2){animation-delay:.35s}
@keyframes antw{0%,100%{opacity:.25}50%{opacity:1}}
.ant svg{filter:drop-shadow(0 4px 8px rgba(5,150,105,.25))}
/* AI 아이콘 */
.mapbtn.aibtn svg,.mapbtn.aibtn .fi{width:30px;height:30px;filter:drop-shadow(0 3px 6px rgba(234,88,12,.35))}
.ph .aih{display:inline-flex;align-items:center;gap:8px}.ph .aih .fi{width:26px;height:26px}
/* 버튼 한 줄 */
.act>button{height:62px!important;border-radius:18px!important;box-shadow:0 10px 22px -14px rgba(14,72,128,.45),inset 0 1px 0 rgba(255,255,255,.9)!important}
.act .fi{width:34px!important;height:34px!important;filter:drop-shadow(0 3px 6px rgba(15,23,42,.18))}
.act .fcl{border:1px solid #fed7aa!important;background:linear-gradient(135deg,#fff7ed,#ffedd5)!important;color:#7c2d12!important}
.act .fcl b{color:#c2410c}
.act .mf.mon{border:1px solid #a7f3d0!important;background:linear-gradient(135deg,#f0fdf9,#d1fae5)!important;color:#064e3b!important}
.act .mf.moff{border:1px solid #fecdd3!important;background:linear-gradient(135deg,#fff5f6,#ffe4e6)!important;color:#881337!important}
/* 기록 내려받기 줄 */
.xbar{background:linear-gradient(180deg,#ffffff,#f3f8fd)!important;border:1px solid #e2edf7!important;border-radius:18px!important;box-shadow:inset 0 1px 0 #fff,0 8px 20px -16px rgba(14,72,128,.3)}
.xq2 button{border-radius:99px}
/* 수신 데이터 표 */
.rxt tr.rg td{background:#e0f2fe;font-weight:900;color:#0c4a6e}
.rxt td.b{color:#be123c;font-weight:900}
.tg{display:inline-block;font-size:11.5px;font-weight:800;border-radius:99px;padding:1px 8px}
.tg.s{background:#e2e8f0;color:#475569}.tg.r{background:#dcfce7;color:#166534}
/* ===== 넓은 화면(1600px 이상): 한 화면에 맞추고 게이지는 크게 ===== */
html:not(.phone) #wrap>.grid{overflow:auto}
html:not(.phone) .card{height:auto!important;min-height:100%;grid-template-rows:auto auto auto auto auto auto!important;align-content:space-between;gap:10px 14px!important}
html:not(.phone) .card>.m{min-height:auto!important}
html:not(.phone) .card>.m>.tank,html:not(.phone) .card>.m>.bat,html:not(.phone) .card>.m>.mt,html:not(.phone) .card>.m>.sg{display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;aspect-ratio:auto!important}
html:not(.phone) .card .tank svg,html:not(.phone) .card .bat svg,html:not(.phone) .card .mt svg,html:not(.phone) .card .sg svg{flex:none!important;height:clamp(190px,calc(100vh - 728px),330px)!important;max-height:none!important;min-height:0!important;width:100%!important;margin:2px auto 6px!important}
.wgr .hc{flex:none!important;min-height:0!important;height:auto!important}
.wgr .hc svg{flex:none!important;min-height:0!important;height:84px!important}
.hc.big .hy{height:84px}
html:not(.phone) .card{gap:8px 14px!important;padding:12px 16px!important}
.card>.t{margin:0!important;font-size:13px;line-height:1.2}
.card>.m{padding:8px 10px 10px!important}
.wgr{padding:8px 16px 6px!important}
/* ===================== 2026-11-25 4차: 진한 하늘색 + 반짝임 + 움직임 ===================== */
html{background:#9fd2f3}
body::before{background:
  radial-gradient(800px 480px at 10% -8%,rgba(255,255,255,.75),transparent 62%),
  radial-gradient(760px 560px at 100% 0%,rgba(186,230,253,.7),transparent 60%),
  radial-gradient(1300px 700px at 50% 120%,rgba(14,165,233,.35),transparent 66%),
  linear-gradient(160deg,#d3ebfb 0%,#a9d7f6 45%,#79bff0 100%)!important}
body::after{background:linear-gradient(115deg,transparent 0%,transparent 38%,rgba(255,255,255,0) 42%,rgba(255,255,255,.55) 50%,rgba(255,255,255,0) 58%,transparent 62%,transparent 100%)!important;background-size:260% 100%!important}
.sparkle{position:fixed;inset:0;z-index:-1;pointer-events:none}
body.locked>.sparkle{display:block!important}
.sparkle svg{width:100%;height:100%;display:block}
.sparkle .s{fill:#fff;opacity:0;transform-box:fill-box;transform-origin:center;animation:tw 3s ease-in-out infinite;filter:drop-shadow(0 0 4px rgba(255,255,255,.95))}
@keyframes tw{0%,100%{opacity:0;transform:scale(.3) rotate(0deg)}50%{opacity:1;transform:scale(1) rotate(45deg)}}
/* 가운데 아이콘(구역 아이콘·게이지 타일)에 이전 배경색 */
.zt,.card>.m{background:linear-gradient(160deg,#f5fbff 0%,#e1f2fd 42%,#c7e7fb 100%)!important;border-color:#cfe6f7!important}
.zt.on{border-color:#0ea5e9!important}
/* 물탱크·모터 물결이 계속 움직임 */
.wv,.mw{animation:wvm 2.6s linear infinite!important}
.wv.w2,.mw.w2{animation-duration:3.8s!important;animation-direction:reverse!important}
.wv{--wp:-25px}.mw{--wp:-13px}
@keyframes wvm{from{transform:translateX(0)}to{transform:translateX(var(--wp))}}
/* 전파 감도 바늘이 살짝씩 흔들림 */
/* 배터리 충전 중(오전 8시~오후 5시) */
.bat.chg rect.cs{animation:chg 1.4s ease-in-out infinite}
@keyframes chg{0%,100%{opacity:.45}50%{opacity:1}}
.bat.chg .bolt{animation:blt 1.4s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes blt{0%,100%{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}
.bs i.bz{font-style:normal;font-size:13px;animation:blt 1.4s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.sparkle .s,.wv,.mw,.ndl,.bat.chg rect.cs,.bat.chg .bolt{animation:none!important}.sparkle .s{opacity:.6}}
/* 카드 장비번호 표시 */
.card .id .eqn{display:inline-block;margin-left:8px;font-size:12.5px;font-weight:800;color:#075985;background:#e0f2fe;border:1px solid #bae6fd;border-radius:99px;padding:1px 9px;vertical-align:1px}
/* admin 창: 왼쪽 메뉴 */
#ob{display:grid;grid-template-columns:200px minmax(0,1fr);column-gap:20px;align-items:start}
#ob>.ph{grid-column:1/-1}
#ob>.ot{grid-column:1;grid-row:2/span 30;flex-direction:column;align-items:stretch;gap:6px;position:sticky;top:0;margin:0;padding:10px;background:linear-gradient(180deg,#f0f8ff,#e3f1fc);border:1px solid #d6e9f8;border-radius:16px}
#ob>.ot button{text-align:left;border-radius:12px;padding:10px 14px}
#ob>:not(.ph):not(.ot){grid-column:2;min-width:0}
#om .pbw{max-width:1180px}
@media(max-width:760px){#ob{grid-template-columns:1fr}#ob>.ot{grid-row:auto;flex-direction:row;flex-wrap:wrap;position:static}#ob>:not(.ph):not(.ot){grid-column:1}}
/* 장소·장비 등록 */
.dvh{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}.dvh b{font-size:17px;font-weight:900;color:#0c4a6e}.dvh span{font-size:13px;color:#475569;font-weight:700}
.dvf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end;padding:14px;border-radius:16px;background:linear-gradient(180deg,#ffffff,#f3f9ff);border:1px solid #d6e9f8}
.dvf label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:800;color:#1e3a5f}
.dvf .w2{grid-column:span 2}
.dvf input,.dvf select{padding:8px 10px;border-radius:10px;border:1px solid #bfdcf2;font-size:14px;font-family:inherit;font-weight:700;background:#fff;color:#000}
.dvf .pu{margin:0;height:38px}
@media(max-width:900px){.dvf{grid-template-columns:1fr 1fr}}
.dvt input,.dvt select{width:100%;min-width:90px;padding:5px 8px;border-radius:8px;border:1px solid #bfdcf2;font-size:13px;font-family:inherit;font-weight:700;background:#fff}
.dvt td{white-space:nowrap}
.og .dq{float:right;width:160px;padding:4px 10px;border-radius:99px;border:1px solid #bfdcf2;font-size:13px;font-family:inherit}
/* 모터 타일 높이 맞추기: 자동 가동·강제 명령 안내를 그림 위에 겹쳐 표시 */
.card>.m{position:relative}
.card>.m>.t,.card>.m>.fz{position:absolute;left:12px;right:12px;top:40px;margin:0!important;z-index:2;box-shadow:0 6px 16px -8px rgba(15,23,42,.35)}
.card>.m>.t{width:auto;padding:4px 10px;border-radius:99px;background:rgba(255,255,255,.92);border:1px solid #bae6fd;color:#075985;font-size:12.5px;font-weight:800;text-align:center}
.card>.m>.fz{padding:5px 8px;font-size:12.5px;line-height:1.35;background:rgba(254,243,199,.96)}
/* 장치 가동 설정 버튼(4번째) · 설정 창 */
.act{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:1240px!important}
.act .mcfg{border:1px solid #bfdbfe;background:linear-gradient(135deg,#f0f7ff,#dbeafe);color:#1e3a8a}
.act .mcfg b{font-weight:900;color:#1d4ed8}
@container (max-width:640px){.act{grid-template-columns:1fr 1fr!important}}
.tank svg text.cpt{fill:#fff!important}
.cfg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:6px 0 10px}
.cfg .cg{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:16px;border:1px solid #d6e9f8;background:linear-gradient(180deg,#fff,#f3f9ff);font-size:14px;font-weight:900;color:#0f2a44}
.cfg .cg.on{border-color:#a7f3d0;background:linear-gradient(180deg,#fff,#ecfdf5)}
.cfg .cg.off{border-color:#fecdd3;background:linear-gradient(180deg,#fff,#fff1f2)}
.cfg select,.cfg input{padding:9px 12px;border-radius:10px;border:1px solid #bfdcf2;font-size:20px;font-weight:900;font-family:inherit;background:#fff;color:#000}
.cfg small{font-size:12.5px;font-weight:700;color:#475569;line-height:1.4}
.cfb{padding:22px 6px 26px}
.cfbar{position:relative;height:14px;border-radius:99px;background:linear-gradient(90deg,#e0f2fe,#bae6fd)}
.cfbar i{position:absolute;top:0;height:100%;border-radius:99px}
.cfbar i.a{background:linear-gradient(90deg,#34d399,#059669)}.cfbar i.b{background:linear-gradient(90deg,#fb7185,#e11d48)}
.cfbar em{position:absolute;top:18px;transform:translateX(-50%);font-style:normal;font-size:12.5px;font-weight:900;color:#0f2a44;white-space:nowrap}
@media(max-width:760px){.cfg{grid-template-columns:1fr}}
.dvt .dck,#dall{width:18px;height:18px;min-width:0;cursor:pointer}
.ob .pu.dlx{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b}
