/* /monitor?view=unmanned — 무인관제 콘솔(잉크·앰버). 원본 디자인: unmanned-console-mockup.html.
   사이트의 `.qz-site button` 초기화(특이도 0,1,1)를 이기도록 모든 규칙은 .um-x(패널·대화상자 공통) 아래에 둔다. */
.um-x{
    --um-ink:#131211;--um-panel:#1B1917;--um-raise:#242019;--um-line:#322D27;--um-line2:#443D34;
    --um-tx:#F3EFE9;--um-tx2:#A79E93;--um-tx3:#6E665C;
    --um-amber:#F5A524;--um-amber2:#FFB944;--um-amber-soft:rgba(245,165,36,.14);
    --um-live:#35C77A;--um-live-soft:rgba(53,199,122,.14);
    --um-alert:#E5484D;--um-alert-soft:rgba(229,72,77,.16);
    --um-hd:56px;--um-gap:14px;
    color:var(--um-tx);color-scheme:dark;
    font-family:"IBM Plex Sans KR","Pretendard","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
    font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;
}
.um-x *,.um-x *::before,.um-x *::after{box-sizing:border-box}
.um-x [hidden]{display:none!important}
.um-x button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer}
.um-x button:disabled{cursor:default}
.um-x :focus-visible{outline:2px solid var(--um-amber);outline-offset:2px}
.um-x .um-num{font-variant-numeric:tabular-nums}
.um-x ::-webkit-scrollbar{width:10px;height:10px}
.um-x ::-webkit-scrollbar-thumb{background:#2E2924;border:3px solid var(--um-ink);border-radius:99px}

/* ── 패널 자리: 탭 줄(.mc-nav) 아래에 붙는다 ── */
.qz-site[data-page="bbs-monitor"] #mcUnmannedPanel{margin-bottom:28px;padding:0;background:var(--um-ink);border:1px solid #2a2b30;border-top:0;border-radius:0 0 10px 10px;overflow:hidden}

/* ── 머리띠 ── */
.um-x .um-hd{display:flex;align-items:center;gap:14px;min-height:var(--um-hd);padding:0 16px;border-bottom:1px solid var(--um-line);background:#171513;flex:none}
.um-x .um-brand{display:flex;align-items:center;gap:9px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;flex:none}
.um-x .um-brand svg{width:24px;height:24px;flex:none}
.um-x .um-brand em{font-style:normal;font-weight:500;color:var(--um-tx2);font-size:13px;padding-left:9px;margin-left:2px;border-left:1px solid var(--um-line2)}
.um-x .um-pv{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;border:1px solid rgba(245,165,36,.42);color:var(--um-amber);font-size:11.5px;font-weight:600;white-space:nowrap;flex:none}
.um-x .um-store{display:flex;align-items:center;gap:7px;height:30px;padding:0 2px 0 11px;border-radius:9px;background:var(--um-panel);border:1px solid var(--um-line);font-size:13px;font-weight:500;min-width:0;flex:0 1 auto}
.um-x .um-store i{width:6px;height:6px;border-radius:50%;background:var(--um-live);box-shadow:0 0 0 3px var(--um-live-soft);flex:none}
.um-x .um-store select{-webkit-appearance:none;appearance:none;min-width:0;max-width:260px;height:28px;padding:0 24px 0 0;border:0;outline:0;color:var(--um-tx);font:inherit;text-overflow:ellipsis;cursor:pointer;
    background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A79E93' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 6px center}
.um-x .um-store select:focus-visible{outline:2px solid var(--um-amber);outline-offset:3px}
.um-x :is(.um-store select,.um-sel) option{background:#1B1917;color:#F3EFE9}
.um-x .um-hnote{min-width:0;font-size:12px;color:var(--um-tx3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.um-x .um-hr{margin-left:auto;display:flex;align-items:center;gap:8px;flex:none}
.um-x .um-clock{font-size:15px;font-weight:600;letter-spacing:.01em;white-space:nowrap}
.um-x .um-clock span{font-size:12px;color:var(--um-tx3);font-weight:500;margin-left:6px}
.um-x .um-ico{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:var(--um-tx2);border:1px solid transparent;flex:none}
.um-x .um-ico:hover{background:var(--um-panel);color:var(--um-tx)}
.um-x .um-ico[aria-pressed="true"]{background:var(--um-amber-soft);color:var(--um-amber)}
.um-x .um-ico svg{width:17px;height:17px}

/* ── 틀 ── */
.um-x .um-app{display:grid;grid-template-columns:minmax(0,1fr) 372px;gap:var(--um-gap);padding:var(--um-gap);align-items:start}
.um-x .um-col{min-width:0;display:flex;flex-direction:column;gap:var(--um-gap)}
.um-x .um-bar{display:flex;align-items:center;gap:10px;flex:none;min-width:0}
.um-x .um-bar h2{margin:0;font-size:15px;font-weight:600;letter-spacing:-.01em;line-height:1.4;white-space:nowrap}
.um-x .um-bar .um-n{color:var(--um-tx3);font-size:13px;font-weight:500;white-space:nowrap}
.um-x .um-sp{margin-left:auto;display:flex;gap:6px;align-items:center;min-width:0}
.um-x .um-pills{display:inline-flex;background:var(--um-panel);border:1px solid var(--um-line);border-radius:9px;padding:3px;gap:2px;flex:none}
.um-x .um-pills button{height:26px;padding:0 10px;border-radius:6px;font-size:12.5px;color:var(--um-tx2);font-weight:500;white-space:nowrap}
.um-x .um-pills button:hover{color:var(--um-tx)}
.um-x .um-pills button[aria-pressed="true"]{background:var(--um-amber);color:#1A1207;font-weight:600}
.um-x .um-pager{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--um-tx2)}
.um-x .um-pager button{width:26px;height:26px;border-radius:7px;border:1px solid var(--um-line2);background:var(--um-raise);color:var(--um-tx2);display:grid;place-items:center}
.um-x .um-pager button:hover{color:var(--um-amber);border-color:var(--um-amber)}
.um-x .um-pager svg{width:13px;height:13px}
.um-x .um-pager b{min-width:38px;text-align:center;font-weight:600}

/* ── 카메라 월: 분할 수(--um-n)만큼 칸을 나눈다 ── */
.um-x .um-wall{--um-n:3;display:grid;gap:6px;grid-template-columns:repeat(var(--um-n),minmax(0,1fr));grid-template-rows:repeat(var(--um-n),minmax(0,1fr));aspect-ratio:16/9;padding:6px;border:1px solid var(--um-line);border-radius:12px;background:#0C0B0A}
.um-x .um-cam{position:relative;display:block;width:100%;height:100%;min-width:0;min-height:0;border-radius:8px;overflow:hidden;background:#07080C;text-align:left}
.um-x .um-cam::after{content:"";position:absolute;inset:0;z-index:2;border-radius:8px;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),inset 0 -40px 50px -30px rgba(0,0,0,.9)}
.um-x .um-cam:is(:hover,:focus-visible)::after{box-shadow:inset 0 0 0 2px var(--um-amber),inset 0 -40px 50px -30px rgba(0,0,0,.9)}
.um-x .um-cam:focus-visible{outline:0}
.um-x .um-cam.is-alarm::after{box-shadow:inset 0 0 0 2px var(--um-alert),inset 0 -40px 50px -30px rgba(0,0,0,.9);animation:um-alarm 1.2s infinite}
.um-x .um-cam.is-empty{cursor:default}
.um-x .um-cam.is-empty::after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.um-x .um-cam .um-off{position:absolute;inset:0;display:grid;place-items:center;color:var(--um-tx3);font-size:12px;background:#0C0B0A}
.um-x .um-cam .um-tag{position:absolute;top:7px;left:8px;z-index:3;display:flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:#D9D3CB;text-shadow:0 1px 3px #000}
.um-x .um-tag i{width:5px;height:5px;border-radius:50%;background:var(--um-live);animation:um-blip 2.4s infinite}
.um-x .um-cam .um-name{position:absolute;left:8px;right:8px;bottom:7px;z-index:3;font-size:12px;font-weight:600;text-shadow:0 1px 4px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.um-x .um-expand{position:absolute;right:9px;top:9px;z-index:3;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#E5DED5;background:rgba(20,18,16,.72);opacity:0;transition:opacity .15s;pointer-events:none}
.um-x .um-expand svg{width:14px;height:14px}
.um-x :is(.um-cam,.um-view):is(:hover,:focus-visible) .um-expand{opacity:1}
@keyframes um-blip{50%{opacity:.25}}
@keyframes um-alarm{50%{box-shadow:inset 0 0 0 2px rgba(229,72,77,.35),inset 0 -40px 50px -30px rgba(0,0,0,.9)}}

/* 샘플 CCTV 한 장(3×3 아틀라스)에서 칸 하나를 잘라 채운다. 칸 비율이 16:9 가 아니어도 찌그러지지 않게 덮는다. */
.um-x .um-scn{position:absolute;inset:0;overflow:hidden;container-type:size;pointer-events:none}
.um-x .um-scn>span{position:absolute;inset:0;background:#07080C url("/media/images/monitor/cctv-demo-atlas.png?v=20260907a") no-repeat;background-size:300% 300%;background-position:var(--cam-x,0%) var(--cam-y,0%)}
@supports (width:1cqw){.um-x .um-scn>span{inset:auto;left:50%;top:50%;width:max(100cqw,177.78cqh);height:max(100cqh,56.25cqw);transform:translate(-50%,-50%)}}

/* ── 출입 기록 ── */
.um-x .um-entries{flex:none;border:1px solid var(--um-line);border-radius:12px;background:var(--um-panel);overflow:hidden}
.um-x .um-entries>.um-bar{padding:11px 14px;border-bottom:1px solid var(--um-line)}
.um-x .um-entries>.um-bar h2{font-size:13.5px}
.um-x .um-rows{max-height:312px;overflow:auto}
.um-x .um-er{display:grid;grid-template-columns:44px minmax(0,1fr) 74px 128px 52px;align-items:center;gap:10px;padding:9px 14px;border-top:1px solid var(--um-line);cursor:pointer}
.um-x .um-er:first-child{border-top:0}
.um-x .um-er:hover{background:var(--um-raise)}
.um-x .um-th{position:relative;display:block;width:44px;height:32px;border-radius:6px;overflow:hidden;background:#07080C;flex:none}
.um-x .um-th svg{position:absolute;inset:0;width:100%;height:100%}
.um-x .um-who{min-width:0}
.um-x .um-who b{display:block;font-weight:600;font-size:13.5px}
.um-x .um-who span{display:block;font-size:11.5px;color:var(--um-tx3)}
.um-x .um-er .um-t{font-size:13px;color:var(--um-tx2)}
.um-x .um-k{font-size:12.5px;color:var(--um-tx2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.um-x .um-kd{display:inline-block;min-width:38px;padding:1px 7px;border-radius:5px;font-size:11.5px;font-weight:600;text-align:center;margin-right:7px}
.um-x .um-kd.is-in{background:var(--um-live-soft);color:var(--um-live)}
.um-x .um-kd.is-out{background:rgba(167,158,147,.14);color:var(--um-tx2)}
.um-x .um-kd.is-req{background:var(--um-amber-soft);color:var(--um-amber)}
.um-x .um-dtbtn{height:28px;padding:0 10px;white-space:nowrap;border-radius:8px;background:var(--um-raise);border:1px solid var(--um-line2);font-size:12px;font-weight:600;color:var(--um-tx2)}
.um-x .um-dtbtn:hover,.um-x .um-dtbtn[aria-pressed="true"]{color:var(--um-amber);border-color:var(--um-amber)}
.um-x .um-dtbtn:disabled{opacity:.45;color:var(--um-tx2);border-color:var(--um-line2)}
.um-x .um-link{font-size:12.5px;font-weight:600;color:var(--um-amber);white-space:nowrap}
.um-x .um-link:hover{text-decoration:underline}
.um-x .um-empty{padding:28px 14px;text-align:center;color:var(--um-tx3);font-size:13px}

/* ── 출입구 · 통화 ── */
.um-x .um-door{flex:none;border:1px solid var(--um-line);border-radius:12px;background:var(--um-panel);overflow:hidden;transition:border-color .25s,box-shadow .25s}
.um-x .um-door.is-ring{border-color:var(--um-alert);box-shadow:0 0 0 1px var(--um-alert),0 0 28px -6px rgba(229,72,77,.5)}
.um-x .um-door.is-live{border-color:var(--um-amber);box-shadow:0 0 0 1px var(--um-amber),0 0 28px -8px rgba(245,165,36,.45)}
.um-x .um-view{position:relative;aspect-ratio:16/9;background:#07080C;cursor:pointer}
.um-x .um-view:focus-visible{outline-offset:-2px}
.um-x :is(.um-view,.um-bigv,.um-ovbox)::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.38),transparent 28%,transparent 64%,rgba(0,0,0,.7))}
.um-x .um-view .um-tag{position:absolute;top:9px;left:10px;z-index:3;display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;text-shadow:0 1px 3px #000}
.um-x .um-view .um-nm{position:absolute;left:10px;bottom:8px;z-index:3;font-size:13px;font-weight:600;text-shadow:0 1px 4px #000}
.um-x .um-view .um-ts{position:absolute;right:10px;bottom:8px;z-index:3;font-size:12px;color:#CFC8BF;text-shadow:0 1px 3px #000}
.um-x .um-lock{display:flex;align-items:center;gap:10px;padding:11px 14px;border-top:1px solid var(--um-line);border-bottom:1px solid var(--um-line);background:var(--um-raise)}
.um-x .um-lock .um-st{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600}
.um-x .um-lock .um-st i{width:7px;height:7px;border-radius:50%;background:var(--um-live);box-shadow:0 0 0 3px var(--um-live-soft)}
.um-x .um-lock.is-open .um-st i{background:var(--um-amber);box-shadow:0 0 0 3px var(--um-amber-soft)}
.um-x .um-lock .um-cd{margin-left:auto;font-size:12.5px;color:var(--um-tx2)}
.um-x .um-lock .um-cd b{color:var(--um-amber);font-weight:600}
.um-x .um-call{padding:14px}
.um-x .um-state{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.um-x .um-state .um-lbl{font-size:13.5px;font-weight:600}
.um-x .um-state .um-desc{font-size:12px;color:var(--um-tx3)}
.um-x .um-state .um-dur{margin-left:auto;font-size:12px;color:var(--um-tx3)}
.um-x .um-av{width:34px;height:34px;border-radius:10px;background:var(--um-raise);border:1px solid var(--um-line);display:grid;place-items:center;color:var(--um-tx2);flex:none}
.um-x .um-av svg{width:17px;height:17px}
.um-x .is-ring .um-av{background:var(--um-alert-soft);border-color:transparent;color:var(--um-alert);animation:um-shake 1s infinite}
.um-x .is-live .um-av{background:var(--um-amber-soft);border-color:transparent;color:var(--um-amber);animation:none}
@keyframes um-shake{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}
.um-x .um-meters{display:none;gap:9px;margin-bottom:12px}
.um-x .is-live .um-meters{display:grid}
.um-x .um-meter{display:flex;align-items:center;gap:9px}
.um-x .um-meter>span{font-size:11.5px;color:var(--um-tx3);width:52px;flex:none}
.um-x .um-bars{display:flex;gap:3px;flex:1;height:16px;align-items:flex-end}
.um-x .um-bars i{flex:1;height:22%;border-radius:2px;background:var(--um-line2);transition:height .09s linear,background .09s}
.um-x .um-meter.is-you .um-bars i.on{background:var(--um-amber)}
.um-x .um-meter.is-them .um-bars i.on{background:var(--um-live)}
.um-x .um-meter.is-muted .um-bars i{background:var(--um-line)!important}
.um-x .um-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.um-x .um-btn{height:44px;padding:0 14px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:600;white-space:nowrap;transition:background .15s,transform .05s}
.um-x .um-btn:active{transform:translateY(1px)}
.um-x .um-btn:disabled{opacity:.7;transform:none}
.um-x .um-btn svg{width:17px;height:17px;flex:none}
.um-x .um-btn.is-amber{background:var(--um-amber);color:#1A1207}
.um-x .um-btn.is-amber:hover{background:var(--um-amber2)}
.um-x .um-btn.is-ghost{background:var(--um-raise);border:1px solid var(--um-line2);color:var(--um-tx)}
.um-x .um-btn.is-ghost:hover{background:#2C2822}
.um-x .um-btn.is-green{background:var(--um-live);color:#08200F}
.um-x .um-btn.is-red{background:var(--um-alert);color:#fff}
.um-x .um-btn.is-wide{grid-column:1/-1}
.um-x .um-btn.is-sm{height:38px;padding:0 16px;font-size:13.5px}
.um-x .um-tog{height:38px;border-radius:9px;background:var(--um-raise);border:1px solid var(--um-line);display:flex;align-items:center;justify-content:center;gap:7px;font-size:12.5px;font-weight:500;color:var(--um-tx2)}
.um-x .um-tog.is-wide{grid-column:1/-1}
.um-x .um-tog[aria-pressed="true"]{background:var(--um-alert-soft);border-color:transparent;color:var(--um-alert);font-weight:600}
.um-x .um-tog svg{width:15px;height:15px}
.um-x .um-vol{display:none;align-items:center;gap:9px;margin-top:10px}
.um-x .is-live .um-vol{display:flex}
.um-x .um-vol svg{width:15px;height:15px;color:var(--um-tx3);flex:none}
.um-x .um-vol b{font-size:12px;color:var(--um-tx2);width:30px;text-align:right;font-weight:500}
.um-x .um-stats{display:none;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:11px;padding-top:10px;border-top:1px solid var(--um-line);font-size:11.5px;color:var(--um-tx3)}
.um-x .is-live .um-stats{display:flex}
.um-x .um-stats b{color:var(--um-tx2);font-weight:600}
.um-x input[type=range]{flex:1;min-width:0;height:4px;margin:0;border-radius:2px;background:var(--um-line2);-webkit-appearance:none;appearance:none;cursor:pointer}
.um-x input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:var(--um-amber);border:0}
.um-x input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--um-amber);border:0}

/* ── 오른쪽 작은 판 ── */
.um-x .um-panel{border:1px solid var(--um-line);border-radius:12px;background:var(--um-panel);overflow:hidden}
.um-x .um-ph{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid var(--um-line);font-size:13.5px;font-weight:600}
.um-x .um-ph .um-r{margin-left:auto;font-size:12px;color:var(--um-tx3);font-weight:500}
.um-x .um-sys{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--um-line)}
.um-x .um-sys>div{display:flex;align-items:center;gap:8px;padding:11px 14px;background:var(--um-panel);font-size:12.5px;color:var(--um-tx2)}
.um-x .um-sys b{margin-left:auto;color:var(--um-tx);font-weight:600;font-size:13px;white-space:nowrap}
.um-x .um-sys b.is-ok{color:var(--um-live)}
.um-x .um-log{padding:6px 14px 12px}
.um-x .um-li{display:flex;gap:10px;padding:8px 0;border-top:1px solid var(--um-line)}
.um-x .um-li:first-child{border-top:0}
.um-x .um-li>i{width:7px;height:7px;border-radius:50%;background:var(--um-tx3);margin-top:6px;flex:none}
.um-x .um-li.is-a>i{background:var(--um-amber)}
.um-x .um-li.is-d>i{background:var(--um-live)}
.um-x .um-li .um-lb{flex:1;min-width:0}
.um-x .um-li .um-lb b{display:block;font-size:13px;font-weight:600}
.um-x .um-li .um-lb span{display:block;font-size:12px;color:var(--um-tx3);overflow-wrap:anywhere}
.um-x .um-li .um-t{font-size:12px;color:var(--um-tx3);flex:none}
.um-x .um-pw{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid var(--um-line)}
.um-x .um-pw:first-child{border-top:0}
.um-x .um-pw .um-in{flex:1;min-width:0}
.um-x .um-pw .um-in b{display:block;font-size:13px;font-weight:500;color:var(--um-tx2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.um-x .um-pw.is-on .um-in b{color:var(--um-tx)}
.um-x .um-pw .um-in span{font-size:11.5px;color:var(--um-tx3);font-variant-numeric:tabular-nums}
.um-x .um-ic2{width:34px;height:34px;border-radius:9px;background:var(--um-raise);border:1px solid var(--um-line);display:grid;place-items:center;color:var(--um-tx2);flex:none}
.um-x .um-ic2.is-sm{width:30px;height:30px;border-radius:8px}
.um-x .um-ic2 svg{width:16px;height:16px}
.um-x .um-dv.is-on .um-ic2{background:var(--um-amber-soft);border-color:transparent;color:var(--um-amber)}

/* ── 공용 입력 ── */
.um-x .um-sw{position:relative;width:40px;height:23px;border-radius:99px;background:var(--um-line2);flex:none;transition:background .18s}
.um-x .um-sw::after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#8B8378;transition:.18s}
.um-x .um-sw[aria-checked="true"]{background:var(--um-amber)}
.um-x .um-sw[aria-checked="true"]::after{left:20px;background:#1A1207}
.um-x .um-mini{width:30px;height:30px;border-radius:8px;background:var(--um-raise);border:1px solid var(--um-line2);display:grid;place-items:center;color:var(--um-tx2);flex:none}
.um-x .um-mini:hover{color:var(--um-amber);border-color:var(--um-amber)}
.um-x .um-mini svg{width:14px;height:14px}
.um-x :is(.um-sel,.um-tm,.um-inp){height:32px;border-radius:8px;background-color:var(--um-raise);border:1px solid var(--um-line2);color:var(--um-tx);font:inherit;font-size:13px}
.um-x .um-sel{min-width:0;max-width:100%;padding:0 28px 0 10px;-webkit-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 9px center;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E665C' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}
.um-x .um-inp{width:100%;padding:0 10px}
.um-x .um-tm{padding:0 8px;font-variant-numeric:tabular-nums}
.um-x .um-tm:disabled{opacity:.4}
.um-x :is(.um-sel,.um-tm,.um-inp):focus{border-color:var(--um-amber);outline:0}
.um-x .um-stp{display:inline-flex;align-items:center;border:1px solid var(--um-line2);border-radius:8px;background:var(--um-raise);overflow:hidden;flex:none}
.um-x .um-stp button{width:30px;height:32px;color:var(--um-tx2);font-size:16px;line-height:1}
.um-x .um-stp button:hover{background:#2C2822;color:var(--um-tx)}
.um-x .um-stp b{min-width:56px;text-align:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.um-x .um-chips{display:flex;flex-wrap:wrap;gap:6px}
.um-x .um-chips button{height:30px;padding:0 12px;border-radius:8px;border:1px solid var(--um-line2);background:var(--um-raise);font-size:12.5px;color:var(--um-tx2);font-weight:500}
.um-x .um-chips button[aria-pressed="true"]{background:var(--um-amber);border-color:var(--um-amber);color:#1A1207;font-weight:600}
.um-x .um-ta{display:block;width:100%;min-height:76px;padding:10px 12px;border-radius:10px;background:var(--um-raise);border:1px solid var(--um-line2);color:var(--um-tx);font:inherit;font-size:13.5px;resize:vertical}
.um-x .um-ta:focus{border-color:var(--um-amber);outline:0}
.um-x .um-dot{width:7px;height:7px;border-radius:50%;background:var(--um-live);flex:none}
/* ── 대화상자 층(<dialog>): 닫혀 있을 때는 UA 의 display:none 이 그대로 살아 있어야 해서 [open] 에만 display 를 준다 ── */
dialog.um-layer{max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden}
dialog.um-sheet{inset:0;width:100%;height:100%;padding:26px}
dialog.um-sheet[open]{display:grid;place-items:center}
dialog.um-sheet::backdrop{background:rgba(8,7,6,.8)}
dialog.um-sheet.is-deep::backdrop{background:rgba(8,7,6,.92)}
html:has(dialog.um-layer[open]){overflow:hidden}
.um-x .um-win{width:min(1120px,100%);max-height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:var(--um-ink);border:1px solid var(--um-line2);border-radius:14px;box-shadow:0 30px 70px -20px #000}
.um-x .um-win.is-m{width:min(880px,100%)}
.um-x .um-win.is-s{width:min(560px,100%)}
.um-x .um-win-h{display:flex;align-items:center;gap:10px;min-width:0;padding:13px 16px;border-bottom:1px solid var(--um-line);background:#171513}
.um-x .um-win-h>b{font-size:15px;font-weight:600;white-space:nowrap}
.um-x .um-win-h .um-who2{display:flex;align-items:baseline;gap:9px;min-width:0;flex-wrap:wrap}
.um-x .um-win-h .um-who2 b{font-size:15px;font-weight:600}
.um-x .um-win-h :is(.um-who2 span,.um-cnt){font-size:12.5px;color:var(--um-tx3)}
.um-x .um-win-h .um-ico{margin-left:auto}
.um-x .um-win-h .um-pills{margin-left:14px}
.um-x .um-win-b{min-height:0;overflow:auto;padding:16px}
.um-x .um-win-f{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--um-line);background:#171513}
.um-x .um-win-f .um-msg{margin-right:auto;font-size:12.5px;color:var(--um-tx3)}
.um-x .um-note{margin:0 0 8px;font-size:12.5px;color:var(--um-tx3)}

/* 카메라 크게 보기 */
.um-x .um-ovbox{position:relative;width:min(1100px,100%,calc((100vh - 52px)*16/9));aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#07080C;border:1px solid var(--um-line2)}
.um-x .um-ovbox .um-tag{position:absolute;left:16px;top:14px;z-index:3;display:flex;gap:6px;align-items:center;font-size:12px;font-weight:600;text-shadow:0 1px 3px #000}
.um-x .um-ovbox .um-nm{position:absolute;left:16px;bottom:14px;z-index:3;font-size:17px;font-weight:600;text-shadow:0 2px 8px #000}
.um-x .um-ovbox .um-ts{position:absolute;right:16px;bottom:14px;z-index:3;font-size:13px;color:#DCD5CC;text-shadow:0 1px 4px #000}
.um-x .um-ovx{position:absolute;top:20px;right:24px;z-index:5;width:40px;height:40px;border-radius:10px;background:var(--um-panel);border:1px solid var(--um-line2);display:grid;place-items:center}
.um-x .um-ovx svg{width:18px;height:18px}

/* 출입구 확대 통화 */
.um-x .um-big{width:min(1240px,100%);max-height:100%;display:grid;grid-template-columns:minmax(0,1fr) 344px;overflow:hidden;background:var(--um-ink);border:1px solid var(--um-line2);border-radius:14px;box-shadow:0 30px 70px -20px #000;transition:box-shadow .25s,border-color .25s}
.um-x .um-big.is-ring{border-color:var(--um-alert);box-shadow:0 0 0 1px var(--um-alert),0 30px 70px -20px #000}
.um-x .um-big.is-live{border-color:var(--um-amber);box-shadow:0 0 0 1px var(--um-amber),0 30px 70px -20px #000}
.um-x .um-bigv{position:relative;aspect-ratio:16/9;background:#07080C;align-self:stretch}
.um-x .um-bigv .um-tag{position:absolute;top:12px;left:14px;z-index:3;display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;text-shadow:0 1px 4px #000}
.um-x .um-bigv .um-ts{position:absolute;right:14px;bottom:12px;z-index:3;font-size:12.5px;color:#DCD5CC;text-shadow:0 1px 4px #000}
.um-x .um-ringing{position:absolute;left:14px;bottom:12px;z-index:3;display:none;align-items:center;gap:7px;height:30px;padding:0 12px;border-radius:99px;background:rgba(229,72,77,.9);font-size:12.5px;font-weight:600}
.um-x .um-big.is-ring .um-ringing{display:flex}
.um-x .um-ringing i{width:7px;height:7px;border-radius:50%;background:#fff;animation:um-blip 1s infinite}
.um-x .um-big-s{display:flex;flex-direction:column;min-width:0;overflow:auto;border-left:1px solid var(--um-line)}
.um-x .um-big-h{display:flex;align-items:center;gap:9px;padding:12px 14px;border-bottom:1px solid var(--um-line);background:#171513;flex:none}
.um-x .um-big-h b{font-size:14.5px;font-weight:600}
.um-x .um-big-h .um-ico{margin-left:auto}
.um-x .um-big .um-lock{border-top:0}

/* 출입 기록 상세: 최초 등록 영상과 이번 출입 영상 비교 */
.um-x .um-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.um-x .um-tools .um-dtbtn{height:32px}
.um-x .um-cmp{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:16px}
.um-x .um-frames{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.um-x .um-fr{border:1px solid var(--um-line);border-radius:11px;overflow:hidden;background:var(--um-panel)}
.um-x .um-fr .um-cap{display:flex;align-items:center;gap:7px;padding:9px 12px;font-size:12.5px;font-weight:600;border-bottom:1px solid var(--um-line)}
.um-x .um-fr .um-cap span{margin-left:auto;color:var(--um-tx3);font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.um-x .um-fr .um-cap i{width:6px;height:6px;border-radius:50%;background:var(--um-tx3);flex:none}
.um-x .um-fr.is-now .um-cap i{background:var(--um-live)}
.um-x .um-shot{position:relative;aspect-ratio:16/9;background:#07080C;overflow:hidden}
.um-x :is(.um-shot,.um-wipe) svg{position:absolute;inset:0;width:100%;height:100%;transition:transform .25s}
.um-x .um-shot.is-zoom svg{transform:scale(2.4);transform-origin:50% 34%}
.um-x .um-stamp{position:absolute;right:8px;bottom:7px;z-index:3;font-size:11px;color:#DCD5CC;text-shadow:0 1px 3px #000;font-variant-numeric:tabular-nums}
.um-x .um-fr .um-ft{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 10px;border-top:1px solid var(--um-line)}
.um-x .um-fr .um-ft b{width:56px;text-align:right;font-size:11.5px;font-weight:500;color:var(--um-tx3);font-variant-numeric:tabular-nums;margin-left:auto}
.um-x .um-wipe{--x:50%;position:relative;aspect-ratio:16/9;background:#07080C;overflow:hidden;cursor:ew-resize;touch-action:none}
.um-x .um-wipe .um-top{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--x)) 0 0)}
.um-x .um-wipe .um-bar2{position:absolute;top:0;bottom:0;left:var(--x);z-index:2;width:2px;background:var(--um-amber);box-shadow:0 0 12px rgba(245,165,36,.6)}
.um-x .um-wipe .um-bar2::after{content:"";position:absolute;top:50%;left:50%;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:50%;background:var(--um-amber);box-shadow:0 2px 10px rgba(0,0,0,.5)}
.um-x .um-wipe .um-lbw{position:absolute;bottom:9px;z-index:3;font-size:11.5px;font-weight:600;color:#EDE7DF;text-shadow:0 1px 4px #000}
.um-x .um-wipe .um-lbw.is-l{left:10px}
.um-x .um-wipe .um-lbw.is-r{right:10px}
.um-x .um-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.um-x :is(.um-kv,.um-hist){border:1px solid var(--um-line);border-radius:11px;background:var(--um-panel);overflow:hidden}
.um-x .um-kv>div{display:flex;gap:10px;padding:9px 13px;border-top:1px solid var(--um-line);font-size:12.5px;color:var(--um-tx3)}
.um-x .um-kv>div:first-child{border-top:0}
.um-x .um-kv b{margin-left:auto;color:var(--um-tx);font-weight:600;font-size:13px;font-variant-numeric:tabular-nums;text-align:right}
.um-x .um-vstate{display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:11px;border:1px solid var(--um-line);background:var(--um-panel);font-size:13px}
.um-x .um-vstate i{width:8px;height:8px;border-radius:50%;background:var(--um-amber);flex:none}
.um-x .um-vstate.is-ok i{background:var(--um-live)}
.um-x .um-vstate.is-no i{background:var(--um-alert)}
.um-x .um-vstate b{font-weight:600}
.um-x .um-hist .um-hh{padding:9px 13px;font-size:12.5px;font-weight:600;border-bottom:1px solid var(--um-line)}
.um-x .um-hist .um-hr2{display:flex;align-items:center;gap:9px;padding:8px 13px;border-top:1px solid var(--um-line);font-size:12.5px;color:var(--um-tx2)}
.um-x .um-hist .um-hh+.um-hr2{border-top:0}
.um-x .um-hist .um-hr2 b{margin-left:auto;color:var(--um-tx3);font-weight:500;font-variant-numeric:tabular-nums}
.um-x .um-hist .um-hr2 em{font-style:normal;font-size:11.5px;padding:1px 6px;border-radius:5px;background:var(--um-raise);color:var(--um-tx2)}

/* 출입 기록 전체 */
.um-x .um-search{position:relative;display:block;flex:1;min-width:180px}
.um-x .um-search input{width:100%;height:36px;padding:0 12px 0 34px;border-radius:9px;border:1px solid var(--um-line2);background:var(--um-panel);color:var(--um-tx);font:inherit;font-size:13.5px}
.um-x .um-search input:focus{border-color:var(--um-amber);outline:0}
.um-x .um-search svg{position:absolute;left:11px;top:10px;width:15px;height:15px;color:var(--um-tx3)}
.um-x .um-dayhd{padding:14px 4px 7px;font-size:12.5px;color:var(--um-tx3);font-weight:600}
.um-x .um-dayhd:first-child{padding-top:2px}
.um-x .um-all{border:1px solid var(--um-line);border-radius:11px;background:var(--um-panel);overflow:hidden}
.um-x .um-ar{display:grid;grid-template-columns:52px minmax(0,1fr) 78px 58px 100px 66px 60px 56px;align-items:center;gap:10px;padding:9px 13px;border-top:1px solid var(--um-line);cursor:pointer}
.um-x .um-ar:first-child{border-top:0}
.um-x .um-ar:hover{background:var(--um-raise)}
.um-x .um-ar .um-th{width:52px;height:36px}
.um-x .um-ar :is(.um-t,.um-w,.um-s){font-size:12.5px;color:var(--um-tx2);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.um-x .um-ar .um-kd{margin-right:0}
.um-x .um-v{font-size:11.5px;font-weight:600;color:var(--um-tx3)}
.um-x .um-v.is-ok{color:var(--um-live)}
.um-x .um-v.is-no{color:var(--um-alert)}

/* ── 설정 서랍 ── */
dialog.um-drawer{inset:0 0 0 auto;width:min(760px,100%);height:100%;border-left:1px solid var(--um-line);background:var(--um-ink)}
dialog.um-drawer[open]{display:grid;grid-template-rows:var(--um-hd) minmax(0,1fr) auto;animation:um-slide .3s cubic-bezier(.2,.8,.2,1)}
dialog.um-drawer::backdrop{background:rgba(8,7,6,.72)}
@keyframes um-slide{from{transform:translateX(100%)}}
.um-x .um-set-h{display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:1px solid var(--um-line);background:#171513}
.um-x .um-set-h b{font-size:15px;font-weight:600}
.um-x .um-set-h .um-ico{margin-left:auto}
.um-x .um-set-b{display:grid;grid-template-columns:184px minmax(0,1fr);min-height:0}
.um-x .um-set-n{display:flex;flex-direction:column;gap:2px;padding:12px 10px;border-right:1px solid var(--um-line);overflow:auto}
.um-x .um-set-n button{display:flex;align-items:center;gap:9px;flex:none;height:38px;padding:0 11px;border-radius:9px;font-size:13.5px;font-weight:500;color:var(--um-tx2);text-align:left}
.um-x .um-set-n button:hover{background:var(--um-panel);color:var(--um-tx)}
.um-x .um-set-n button[aria-pressed="true"]{background:var(--um-amber-soft);color:var(--um-amber);font-weight:600}
.um-x .um-set-n svg{width:16px;height:16px;flex:none}
.um-x .um-set-c{overflow:auto;padding:18px 20px 26px}
.um-x .um-set-f{display:flex;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid var(--um-line);background:#171513}
.um-x .um-set-f .um-msg{margin-right:auto;font-size:12.5px;color:var(--um-tx3)}
.um-x .um-set-f .um-msg.is-dirty{color:var(--um-amber)}
.um-x .um-set-f .um-btn{height:40px;padding:0 18px}
.um-x .um-pane:not(.is-on){display:none}
.um-x .um-grp{margin-bottom:20px}
.um-x .um-grp>h3{margin:0 0 4px;font-size:14px;font-weight:600;line-height:1.45}
.um-x .um-grp>p{margin:0 0 11px;font-size:12.5px;color:var(--um-tx3);line-height:1.5}
.um-x .um-card{border:1px solid var(--um-line);border-radius:11px;background:var(--um-panel);overflow:hidden}
.um-x .um-rw{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-height:52px;padding:11px 14px;border-top:1px solid var(--um-line)}
.um-x .um-rw:first-child{border-top:0}
.um-x .um-rw .um-lb{flex:1;min-width:140px}
.um-x .um-rw .um-lb.is-day{flex:none;min-width:0;width:34px}
.um-x .um-rw .um-lb b{display:block;font-size:13.5px;font-weight:500}
.um-x .um-rw .um-lb span{display:block;font-size:12px;color:var(--um-tx3)}
.um-x .um-rw.is-off .um-lb{opacity:.45}
.um-x .um-rw .um-grow{flex:1}
.um-x .um-rw small{font-size:12px;color:var(--um-tx3)}
.um-x .um-dash{color:var(--um-tx3)}
.um-x .um-range{display:flex;align-items:center;gap:10px;padding:11px 14px;border-top:1px solid var(--um-line)}
.um-x .um-range:first-child{border-top:0}
.um-x .um-range>span{flex:none;width:96px;font-size:13.5px}
.um-x .um-range b{width:38px;text-align:right;font-size:12.5px;font-variant-numeric:tabular-nums}
.um-x .um-cast-acts{display:flex;gap:8px}
.um-x .um-cast-acts .um-btn{flex:1}
.um-x .um-zone{margin:9px 0 10px}

/* 출입구 장비 · 콘센트 목록 */
.um-x .um-dv{border-top:1px solid var(--um-line)}
.um-x .um-dv:first-child{border-top:0}
.um-x .um-dv .um-dvh{display:flex;align-items:center;gap:11px;min-height:56px;padding:11px 13px}
.um-x .um-rd{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1.5px solid var(--um-line2);flex:none}
.um-x .um-rd::after{content:"";width:9px;height:9px;border-radius:50%;background:transparent}
.um-x .um-dv.is-pri .um-rd{border-color:var(--um-amber)}
.um-x .um-dv.is-pri .um-rd::after{background:var(--um-amber)}
.um-x .um-nm2{flex:1;min-width:0}
.um-x .um-nm2 b{display:block;font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.um-x .um-nm2 span{display:block;font-size:11.5px;color:var(--um-tx3);font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.um-x .um-dv .um-stt{display:flex;align-items:center;gap:6px;flex:none;font-size:12px;font-weight:500;color:var(--um-live);white-space:nowrap}
.um-x .um-dv .um-stt i{width:7px;height:7px;border-radius:50%;background:var(--um-live)}
.um-x .um-dv.is-off .um-stt{color:var(--um-tx3)}
.um-x .um-dv.is-off .um-stt i{background:var(--um-tx3)}
.um-x .um-dv.is-off .um-nm2 b{color:var(--um-tx2)}
.um-x .um-dv .um-cfg{display:none;grid-template-columns:1fr 1fr;gap:9px;padding:2px 13px 13px}
.um-x .um-dv.is-open .um-cfg{display:grid}
.um-x .um-cfg label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11.5px;color:var(--um-tx3)}
.um-x .um-cfg .um-full{grid-column:1/-1;display:flex;gap:8px}
.um-x .um-cfg .um-full button{flex:1;height:34px;border-radius:9px;background:var(--um-raise);border:1px solid var(--um-line2);font-size:12.5px;font-weight:600;color:var(--um-tx2)}
.um-x .um-cfg .um-full button:hover{color:var(--um-amber);border-color:var(--um-amber)}
.um-x .um-cfg .um-full button.is-rm:hover{color:var(--um-alert);border-color:var(--um-alert)}
.um-x .um-chev{transition:transform .18s}
.um-x .um-dv.is-open .um-chev{transform:rotate(180deg)}
.um-x .um-wt{flex:none;min-width:52px;text-align:right;font-size:12px;color:var(--um-tx3);font-variant-numeric:tabular-nums;white-space:nowrap}
.um-x .um-addbar{display:flex;gap:8px;margin-top:9px}
.um-x .um-addbar button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;height:38px;border-radius:9px;border:1px dashed var(--um-line2);font-size:13px;font-weight:600;color:var(--um-tx2)}
.um-x .um-addbar button:hover{border-color:var(--um-amber);border-style:solid;color:var(--um-amber)}
.um-x .um-addbar svg{width:15px;height:15px}
.um-x .um-scanbar{height:4px;margin:2px 0 14px;border-radius:2px;background:var(--um-line);overflow:hidden}
.um-x .um-scanbar i{display:block;width:0;height:100%;background:var(--um-amber);transition:width .3s linear}
.um-x .um-fnd{display:flex;align-items:center;gap:11px;padding:11px 13px;border-top:1px solid var(--um-line)}
.um-x .um-fnd:first-child{border-top:0}
.um-x .um-fnd .um-add{flex:none;height:30px;padding:0 13px;border-radius:8px;background:var(--um-amber);color:#1A1207;font-size:12.5px;font-weight:600}
.um-x .um-fnd .um-add:disabled{background:var(--um-raise);color:var(--um-tx3)}
.um-x .um-acct{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px}
.um-x .um-acct .um-lg{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#0F7A5A;color:#fff;font-weight:700;font-size:15px;flex:none}
.um-x .um-acct .um-in{flex:1;min-width:140px}
.um-x .um-acct .um-in b{display:block;font-size:13.5px;font-weight:600}
.um-x .um-acct .um-in span{font-size:12px;color:var(--um-tx3)}
.um-x .um-acct .um-btn{height:34px;padding:0 13px;font-size:12.5px}
.um-x .um-rule{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:10px 13px;border-top:1px solid var(--um-line)}
.um-x .um-rule:first-child{border-top:0}
.um-x .um-rule .um-sel{flex:1;min-width:104px}
.um-x .um-rule .um-sel.is-do{flex:0 0 84px;min-width:84px}
.um-x .um-arrow{flex:none;font-size:12px;color:var(--um-tx3)}
.um-x .um-del{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:7px;color:var(--um-tx3)}
.um-x .um-del:hover{background:var(--um-alert-soft);color:var(--um-alert)}
.um-x .um-del svg{width:13px;height:13px}

/* 에어컨 리모콘 */
.um-x .um-actop{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:13px}
.um-x .um-actop .um-n2{margin-right:auto;font-size:12.5px;color:var(--um-tx3)}
.um-x .um-actop .um-n2 b{color:var(--um-tx);font-weight:600}
.um-x .um-actop .um-dtbtn{height:32px}
.um-x .um-acgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:12px}
.um-x .um-ac{display:flex;flex-direction:column;gap:10px;padding:13px;border:1px solid var(--um-line);border-radius:12px;background:var(--um-panel);transition:border-color .18s}
.um-x .um-ac.is-on{border-color:rgba(245,165,36,.45)}
.um-x .um-ac .um-ach{display:flex;align-items:center;gap:9px}
.um-x .um-ac .um-t2{flex:1;min-width:0}
.um-x .um-ac .um-t2 b{display:block;font-size:13.5px;font-weight:600}
.um-x .um-ac .um-t2 span{font-size:11.5px;color:var(--um-tx3)}
.um-x .um-set2{display:flex;align-items:center;justify-content:space-between;gap:8px}
.um-x .um-set2 .um-tv{font-size:32px;font-weight:700;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.um-x .um-set2 .um-tv em{margin-left:2px;font-size:14px;font-weight:600;font-style:normal;color:var(--um-tx2)}
.um-x .um-rnd{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--um-line2);background:var(--um-raise);font-size:17px;color:var(--um-tx2)}
.um-x .um-rnd:hover{color:var(--um-amber);border-color:var(--um-amber)}
.um-x .um-ac.is-off :is(.um-set2,.um-acline){opacity:.38;pointer-events:none}
.um-x .um-ac .um-chips button{height:26px;padding:0 8px;font-size:11.5px}
.um-x .um-acline{display:flex;align-items:center;gap:8px}
.um-x .um-acline .um-cap2{flex:none;width:22px;font-size:11px;color:var(--um-tx3)}
.um-x .um-ac .um-rw2{display:flex;align-items:center;gap:8px;padding-top:9px;border-top:1px solid var(--um-line);font-size:11.5px;color:var(--um-tx3)}
.um-x .um-ac .um-rw2 .um-bk{margin-left:auto;color:var(--um-amber);font-weight:600}
.um-x .um-dch{display:inline-flex;gap:3px}
.um-x .um-dch button{width:27px;height:28px;border-radius:7px;border:1px solid var(--um-line2);background:var(--um-raise);font-size:11.5px;font-weight:500;color:var(--um-tx3)}
.um-x .um-dch button[aria-pressed="true"]{background:var(--um-amber);border-color:var(--um-amber);color:#1A1207;font-weight:600}
.um-x .um-schr{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:11px 13px;border-top:1px solid var(--um-line)}
.um-x .um-schr:first-child{border-top:0}
.um-x .um-schr .um-tm{width:104px}
.um-x .um-schr .um-sel{min-width:78px}
.um-x .um-schr .um-sp2{flex:1}

/* 알림 한 줄. 대화상자 위에도 뜨도록 popover(최상위 층)로 띄운다. */
.um-toast{position:fixed;inset:auto auto 26px 50%;width:auto;height:auto;max-width:calc(100vw - 32px);margin:0;padding:10px 16px;border:0;border-radius:10px;background:#F3EFE9;color:#17150F;
    font:600 13.5px/1.4 "IBM Plex Sans KR","Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;overflow:visible;pointer-events:none;
    opacity:0;transform:translate(-50%,12px);transition:opacity .25s,transform .25s;z-index:2147483000}
.um-toast.is-on{opacity:1;transform:translate(-50%,0)}

/* ── 전체화면: 목업처럼 화면 높이를 꽉 채우고 카메라 월이 남는 높이를 먹는다 ── */
.qz-site[data-page="bbs-monitor"] #mcUnmannedPanel:fullscreen{display:flex;flex-direction:column;margin:0;border:0;border-radius:0;overflow:hidden}
#mcUnmannedPanel:fullscreen .um-app{flex:1;min-height:0;align-items:stretch}
#mcUnmannedPanel:fullscreen .um-col{min-height:0}
#mcUnmannedPanel:fullscreen .um-rail{overflow:auto;padding-right:2px}
#mcUnmannedPanel:fullscreen .um-wall{flex:1;min-height:0;aspect-ratio:auto}
#mcUnmannedPanel:fullscreen .um-rows{max-height:196px}

@media (max-width:1180px){.um-x .um-app{grid-template-columns:minmax(0,1fr) 340px}}
@media (max-width:1020px){
    .um-x .um-app{grid-template-columns:1fr}
    .um-x .um-hnote{display:none}
    .qz-site[data-page="bbs-monitor"] #mcUnmannedPanel:fullscreen{overflow:auto}
    #mcUnmannedPanel:fullscreen .um-app{flex:none}
    #mcUnmannedPanel:fullscreen .um-wall{flex:none;aspect-ratio:16/9}
    #mcUnmannedPanel:fullscreen .um-rail{overflow:visible}
}
@media (max-width:900px){
    dialog.um-sheet{padding:0}
    .um-x .um-win{height:100%;max-height:100%;border-radius:0}
    .um-x .um-cmp,.um-x .um-frames{grid-template-columns:1fr}
    .um-x .um-ar{grid-template-columns:52px minmax(0,1fr) 74px 56px}
    .um-x .um-ar :is(.um-w,.um-s,.um-v){display:none}
    .um-x .um-big{height:100%;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);border-radius:0}
    .um-x .um-big-s{border-left:0;border-top:1px solid var(--um-line)}
    .um-x .um-ovx{top:10px;right:10px}
}
@media (max-width:700px){
    .um-x .um-hd{flex-wrap:wrap;gap:8px 10px;padding:9px 12px}
    .um-x .um-brand em,.um-x .um-clock span{display:none}
    .um-x .um-store{order:5;flex:1 1 100%}
    .um-x .um-store select{flex:1;max-width:none}
    .um-x .um-app{padding:10px;gap:10px}
    .um-x .um-bar{flex-wrap:wrap}
    dialog.um-drawer{width:100%;border-left:0}
    .um-x .um-set-b{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
    .um-x .um-set-n{flex-direction:row;padding:9px 10px;border-right:0;border-bottom:1px solid var(--um-line);overflow-x:auto}
    .um-x .um-set-n button{height:34px;white-space:nowrap}
    .um-x .um-set-c{padding:16px 14px 22px}
}
@media (max-width:560px){
    .um-x .um-wall{gap:4px;padding:4px}
    .um-x .um-cam .um-name{display:none}
    .um-x .um-cam .um-tag{top:4px;left:5px;font-size:9.5px}
    .um-x .um-entries>.um-bar{flex-wrap:wrap}
    .um-x .um-er{grid-template-columns:44px minmax(0,1fr) 64px 52px;gap:8px}
    .um-x .um-er .um-k{display:none}
    .um-x .um-cfg{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
    .um-x *,.um-x *::after,.um-toast{animation:none!important;transition:none!important}
    dialog.um-drawer[open]{animation:none}
}
