.entry-video-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;min-width:160px}.entry-video-error{font-size:.85rem;color:var(--accent)}.entry-video-delete{font-size:.8rem}.entry-video-dialog{margin:auto;padding:22px;border:1px solid var(--line);border-radius:15px;color:var(--text);background:var(--surface);width:min(920px,calc(100vw - 28px));max-height:90vh;overflow:auto}.entry-video-dialog::backdrop{background:#17121a80}.entry-video-dialog header,.kiosk-device-head,.kiosk-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.entry-video-dialog h2,.kiosk-panel h2{font-size:1.2rem}.entry-video-choices{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.recording-player video{width:100%;max-height:65vh;background:#111;border-radius:9px}.operations-decision{display:block;margin-top:6px;color:var(--muted);font-size:.8rem}.kiosk-panel{padding:22px;display:grid;gap:18px;min-width:0}.kiosk-device{border-top:1px solid var(--line);padding-top:15px;display:grid;gap:10px}.kiosk-device p{color:var(--muted);font-size:.88rem;line-height:1.6}.kiosk-pair{display:grid;gap:12px}.kiosk-pair strong{font-size:1.5rem;letter-spacing:.14em;color:var(--accent)}.kiosk-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.live-video-panel{overflow:hidden}.live-video-status{display:flex;justify-content:center;align-items:center;gap:8px;margin:0;padding:10px;font-size:.9rem;color:var(--muted);background:var(--surface-2)}.live-video-status.connected{color:var(--green);background:#e8f8f0}.live-video-status.failed{color:var(--accent);background:var(--accent-soft)}.live-status-dot{width:7px;height:7px;border-radius:50%;background:currentColor}@media(max-width:620px){.kiosk-config-grid{grid-template-columns:1fr}.kiosk-panel{padding:17px}}.recorder-live-preview{min-width:0;width:100%}.recorder-fallback-image{display:block;width:100%;max-height:560px;object-fit:contain;background:#111}.recorder-live-preview .live-video-panel{border:0;border-radius:0}.store-camera-screen .recorder-live-preview{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column}.store-camera-screen .recorder-live-preview .live-video-panel{height:100%;display:flex;flex-direction:column}.store-camera-screen .recorder-live-preview video,.store-camera-screen .recorder-live-preview .recorder-fallback-image{position:static;flex:1;min-height:0;height:auto;width:100%;object-fit:contain}.store-camera-screen .recorder-live-preview>p{padding:12px}.store-camera-screen .recorder-live-preview .live-video-status{flex:none}.kiosk-contact{display:grid;gap:.8rem;min-width:0;border:1px solid var(--line);border-radius:12px;padding:1rem}.kiosk-contact legend{font-weight:700;padding-inline:.3rem}.kiosk-contact-colors{display:flex;flex-wrap:wrap;gap:.4rem}.kiosk-contact-colors button{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .65rem;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:inherit;cursor:pointer}.kiosk-contact-colors button[aria-pressed=true]{outline:2px solid currentColor;outline-offset:-2px}.kiosk-contact-colors span{width:1rem;height:1rem;border-radius:50%}.kiosk-contact output{display:block;max-width:100%;overflow:auto;padding:.4rem;background:#fff;text-align:center;white-space:nowrap;line-height:1.2}.settings-schedule-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 14px}.settings-schedule-toolbar label{display:flex;align-items:center;gap:7px}.settings-schedule-toolbar input,.settings-schedule-check input{width:16px;height:16px;margin:0;accent-color:var(--accent)}.settings-schedule{max-height:min(62vh,620px);overflow:auto;border:1px solid var(--line);border-radius:9px}.settings-schedule-grid{width:100%;table-layout:fixed;border-spacing:0;font-size:.84rem;text-align:center}.settings-schedule-grid thead th{position:sticky;z-index:1;top:0;height:52px;background:var(--surface-2);box-shadow:0 1px var(--line)}.settings-schedule-grid th:first-child{width:56px;font-variant-numeric:tabular-nums}.settings-schedule-grid tbody th,.settings-schedule-grid td{border-bottom:1px solid var(--line)}.settings-schedule-grid tbody th{background:var(--canvas);font-weight:600}.settings-schedule-grid td{padding:2px;border-left:1px solid var(--line)}.settings-form label.settings-schedule-check{display:grid;min-height:30px;place-content:center;border-radius:4px;cursor:pointer}.settings-schedule-grid thead .settings-schedule-check{min-height:25px}.settings-schedule-grid td .settings-schedule-check{background:var(--canvas)}.settings-schedule-check:focus-within{box-shadow:inset 0 0 0 2px var(--accent)}.settings-schedule-check input:focus-visible{outline-offset:1px}.entry-schedule-options,.entry-schedule-granularity{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.entry-schedule-granularity{gap:5px}.entry-schedule-granularity .button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.entry-schedule-status{display:grid;min-height:30px;place-content:center;border-radius:4px;color:var(--muted);background:var(--canvas)}.settings-schedule-grid td :is(.settings-schedule-check,.entry-schedule-status)[data-state=open]{color:var(--accent);background:var(--accent-soft)}.settings-schedule-grid td :is(.settings-schedule-check,.entry-schedule-status)[data-state=partial]{background:repeating-linear-gradient(135deg,var(--accent-soft) 0 4px,var(--canvas) 4px 8px)}.settings-schedule-grid tr[data-hour-start]:not(:first-child) :is(th,td){border-top:1px solid color-mix(in srgb,var(--line) 55%,var(--muted))}@media(max-width:580px){.settings-schedule-grid th:first-child{width:42px}.settings-form label.settings-schedule-check,.entry-schedule-status{min-height:33px}}.daily-auth-panel{display:grid;gap:12px;padding:clamp(14px,2.4vw,20px);background:var(--surface-2);border:1px solid var(--line);border-radius:12px}.daily-auth-panel h2{margin:0;font-size:1rem}.daily-auth-current{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:var(--muted);font-size:.82rem}.daily-auth-state{padding:4px 8px;border-radius:6px;color:var(--muted);background:var(--canvas)}.daily-auth-state[data-allowed=true]{color:var(--accent);background:var(--accent-soft)}.daily-auth-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.daily-auth-form input[type=time]{width:100%;min-width:0;box-sizing:border-box}.daily-auth-mode,.daily-auth-help,.daily-auth-submit{grid-column:1 / -1}.entry-schedule-page{display:grid;gap:14px}.kg-time-auth{display:grid;gap:12px;padding:22px;border-radius:18px;background:var(--surface-2)}.kg-time-auth h2{margin:0;font-size:1.15rem;letter-spacing:-.025em}.kg-auth-current{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:-3px 0 0;color:var(--muted);font-size:.84rem;line-height:1.5}.kg-auth-current strong[data-mode=auth_required]{color:#2459ed}.kg-auth-current strong[data-mode=open]{color:#07935c}.kg-auth-current strong[data-mode=closed]{color:#dc2050}.kg-auth-auto{justify-self:start;margin:1px 0 3px;padding:7px 12px;color:#1550dc;background:#eaf2ff;border-radius:999px;font-size:.78rem;font-weight:700}.kg-auth-form{display:grid;gap:13px}.kg-auth-form label{display:grid;gap:7px;color:var(--text);font-size:.9rem;font-weight:650}.kg-auth-form input[type=time]{box-sizing:border-box;min-width:0;min-height:50px;width:100%;padding:12px 14px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:11px;font:inherit;font-weight:500}.kg-auth-form .kg-auth-save{min-height:45px;color:#fff;background:#285ff0;border-color:#285ff0;border-radius:9px;font-weight:700}.kg-auth-help{margin:0;color:var(--muted);font-size:.78rem;line-height:1.6}.kg-schedule-error{margin:0;padding:10px 12px;color:#c9234b;background:#fff0f3;border-radius:8px;font-size:.85rem;line-height:1.5}.kg-schedule-feedback{margin:0;color:#078353;font-size:.86rem}.kg-week-panel{display:grid;gap:16px;min-width:0;padding:22px}.kg-week-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.kg-week-head h2{margin:0;font-size:1.15rem}.kg-schedule-actions{display:flex;flex-wrap:wrap;gap:7px}.kg-paint-toolbar{display:grid;gap:12px;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.kg-paint-toolbar label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.87rem}.kg-paint-toolbar input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:var(--accent)}.kg-paint-toolbar select{min-height:37px;padding:6px 8px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:7px;font:inherit}.kg-paint-toolbar p{margin:0;color:var(--muted);font-size:.8rem;line-height:1.5}.kg-paint-toolbar .kg-mode-pick{border:1px solid var(--line);padding:8px 11px;font-size:.84rem}.kg-mode-pick[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}.kg-mode-pick[data-mode=auth_required],.kg-schedule-legend i[data-mode=auth_required],.kg-paint-cell[data-mode=auth_required]{color:#1551d7;background:#deebff}.kg-mode-pick[data-mode=open],.kg-schedule-legend i[data-mode=open],.kg-paint-cell[data-mode=open]{color:#007947;background:#d9f4e6}.kg-mode-pick[data-mode=closed],.kg-schedule-legend i[data-mode=closed],.kg-paint-cell[data-mode=closed]{color:#cb1c44;background:#ffe0e8}.kg-schedule-legend{display:flex;flex-wrap:wrap;align-items:center;gap:9px 16px;color:var(--muted);font-size:.8rem}.kg-schedule-legend>span{display:flex;align-items:center;gap:6px}.kg-schedule-legend i{width:14px;height:14px;border:1px solid rgb(0 0 0 / 7%);border-radius:4px}.kg-week-scroll{max-height:min(65vh,690px);overflow:auto;border:1px solid var(--line);border-radius:10px}.kg-week-scroll.is-editing{touch-action:pan-y}.kg-week-table{width:100%;min-width:330px;table-layout:fixed;border-collapse:separate;border-spacing:0;text-align:center;font-size:.83rem}.kg-week-table thead th{position:sticky;z-index:1;top:0;height:42px;background:var(--surface-2);box-shadow:0 1px var(--line)}.kg-week-table th:first-child{width:57px;font-variant-numeric:tabular-nums}.kg-week-table tbody th{color:var(--muted);background:var(--surface-2);font-size:.76rem;font-weight:500}.kg-week-table tbody :is(td,th){height:29px;padding:2px;border-top:1px solid var(--line)}.kg-week-table td{border-left:1px solid var(--line)}.kg-paint-cell{display:block;width:100%;min-height:26px;padding:0;border:0;border-radius:4px;background:var(--canvas);cursor:crosshair;-webkit-user-select:none;user-select:none}.kg-paint-cell:disabled{opacity:1;cursor:default}.kg-paint-cell[data-mode=mixed]{color:var(--text);background:repeating-linear-gradient(135deg,#deebff 0,#deebff 5px,#d9f4e6 5px,#d9f4e6 10px,#ffe0e8 10px,#ffe0e8 15px)}.kg-paint-cell:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media(max-width:520px){.kg-time-auth,.kg-week-panel{padding:18px}.kg-week-table th:first-child{width:43px}}.entry-schedule-page>.page-heading{margin-bottom:0}@media(max-width:520px){.daily-auth-form{grid-template-columns:minmax(0,1fr)}}.records-page{display:grid;min-width:0;gap:22px}.kg-overview{padding:18px;border:1px solid var(--line);border-radius:22px;background:color-mix(in srgb,var(--surface) 38%,var(--canvas))}.kg-overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 14px}.kg-overview-head h1{margin:0;font-size:1.22rem;letter-spacing:-.03em}.kg-overview-head .button{min-height:34px;padding:6px 10px;font-size:.82rem}.kg-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kg-overview-metric{display:flex;flex-direction:column;min-width:0;padding:17px;background:var(--surface);border-radius:16px;box-shadow:0 5px 20px #141c3208}.kg-overview-metric-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:13px}.kg-overview-metric h2{margin:0;color:var(--muted);font-size:.89rem;font-weight:600}.kg-overview-metric>strong{color:var(--text);font-size:1.66rem;line-height:1.18;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.kg-overview-metric:nth-child(n+3)>strong{font-size:1.2rem}.kg-overview-metric>strong small{margin-left:5px;color:var(--muted);font-size:.79rem;font-weight:500}.kg-overview-metric p{margin:8px 0 0;color:var(--muted);font-size:.78rem;line-height:1.45;overflow-wrap:anywhere}.kg-overview-metric[data-tone=positive]>strong{color:#079e60}.kg-overview-metric:nth-child(2)[data-tone=positive]>strong{color:var(--text)}.kg-overview-metric:nth-child(2)[data-tone=positive] p{color:#079e60}.kg-overview-metric[data-tone=negative]>strong{color:#e91b50}.kg-overview-metric[data-tone=muted]>strong{color:var(--muted)}.kg-overview-icon{display:grid;flex:0 0 auto;place-items:center;width:29px;height:29px;border-radius:9px;color:var(--accent);background:var(--accent-soft)}.kg-device-pill,.kg-item-badges strong{display:inline-flex;align-items:center;justify-content:center;padding:4px 7px;color:var(--muted);background:var(--surface-2);border-radius:6px;font-size:.72rem;line-height:1.2;font-weight:650;white-space:nowrap}.kg-device-pill[data-status=online],.kg-item-badges strong[data-status=online]{color:#008b64;background:#e8f8f1}.kg-device-pill[data-status=offline],.kg-item-badges strong[data-status=offline]{color:#e51d51;background:#fff0f3}.kg-home-controls{min-width:0}.kg-home-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}.kg-home-item{display:grid;min-width:0;gap:14px;padding:20px;border-radius:20px}.kg-home-item.is-compact{gap:12px;padding:17px 20px}.kg-home-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.kg-home-item-head h3{margin:0;font-size:1.16rem;letter-spacing:-.025em;overflow-wrap:anywhere}.kg-item-badges{display:flex;flex:0 0 auto;align-items:center;gap:6px}.kg-item-badges>span{color:var(--muted);font-size:.75rem}.kg-home-item .kg-camera-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;width:100%;padding:10px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);font-size:.95rem;font-weight:650}.kg-home-item .kg-camera-toggle[aria-expanded=true]{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 40%,var(--line));background:var(--accent-soft)}.kg-camera-toggle>svg:last-child{transition:transform .2s ease}.kg-camera-toggle>svg.is-expanded{transform:rotate(180deg)}.kg-inline-camera{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--surface-2)}.kg-inline-camera-media{display:grid;place-items:center;min-height:150px;background:#151a24}.kg-inline-camera-media :is(img,video,iframe){display:block;width:100%;max-height:470px;object-fit:contain;border:0}.kg-inline-camera-media iframe{aspect-ratio:16/9}.kg-inline-camera-media p{padding:20px;color:#fff;line-height:1.5;text-align:center}.kg-camera-caption{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;color:#147b65;background:#edf9f5;font-size:.77rem;font-weight:600}.kg-camera-caption>span{width:6px;height:6px;border-radius:50%;background:currentColor}.kg-camera-caption[data-status=error]{color:#cf2453;background:#fff0f3}.kg-camera-caption[data-status=loading]{color:var(--muted);background:var(--surface-2)}.kg-door-control{display:grid;gap:9px}.kg-door-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.kg-door-buttons .button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:48px;border:0;border-radius:10px;color:#fff;font-size:.97rem;font-weight:700}.kg-door-buttons .kg-door-lock{background:#275df0}.kg-door-buttons .kg-door-hold{background:#0c9e58}.kg-door-buttons .kg-door-once{grid-column:1 / -1;background:#e71950}.kg-door-buttons .button:disabled{opacity:.52;cursor:not-allowed}.kg-item-detail{margin:0;color:var(--muted);font-size:.78rem;line-height:1.5}.kg-iot-compact{display:flex;align-items:center;justify-content:space-between;gap:14px}.kg-iot-compact>div{display:grid;min-width:0;gap:4px}.kg-iot-compact strong{font-size:.9rem}.kg-iot-compact span{color:var(--muted);font-size:.78rem;overflow-wrap:anywhere}.kg-iot-symbol{display:grid;flex:0 0 auto;place-items:center;width:45px;height:45px;border-radius:13px;background:var(--surface-2)}.kg-iot-symbol[data-online=true]{color:#079e60;background:#e8f8f1}.kg-led-test{display:inline-flex;align-items:center;justify-content:center;justify-self:start;gap:6px;min-height:33px;font-size:.78rem}.kg-camera-error{margin:0;padding:11px;color:#cd1c48;background:#fff1f4;border-radius:9px;line-height:1.5;font-size:.87rem}.kg-controls-empty{display:grid;justify-items:center;gap:12px;padding:27px;color:var(--muted);text-align:center}.kg-controls-empty strong{color:var(--text)}.kg-controls-empty p{margin:0;font-size:.88rem;line-height:1.6}@media(max-width:1100px){.kg-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.kg-home-items{grid-template-columns:minmax(0,1fr)}}@media(max-width:520px){.kg-dashboard{gap:16px}.kg-overview{padding:12px;border-radius:19px}.kg-overview-grid{gap:10px}.kg-overview-metric{padding:14px 12px;border-radius:14px}.kg-overview-metric-top{margin-bottom:9px;gap:4px}.kg-overview-metric h2{font-size:.81rem}.kg-overview-metric>strong{font-size:1.5rem}.kg-overview-metric:nth-child(n+3)>strong{font-size:1.06rem}.kg-overview-metric p{font-size:.74rem}.kg-overview-icon{width:25px;height:25px}.kg-home-item{padding:18px}.kg-home-item.is-compact{padding:16px 18px}}.records-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.records-metric{display:grid;position:relative;align-content:start;justify-items:start;min-width:0;padding:21px;gap:7px}.records-metric:first-child{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 19%,var(--line))}.records-metric h2{margin:0;padding-right:37px;color:var(--muted);font-size:.9rem;font-weight:650}.records-metric-icon{position:absolute;display:grid;place-items:center;top:15px;right:15px;width:33px;height:33px;border-radius:9px;background:var(--canvas);color:var(--muted)}.records-metric:first-child .records-metric-icon{background:var(--surface);color:var(--accent)}.records-metric strong{color:var(--text);font-size:clamp(1.65rem,3vw,2.2rem);font-variant-numeric:tabular-nums;line-height:1.08}.records-metric-status strong{font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.3}.records-metric:first-child strong{color:var(--accent)}.records-metric span,.records-panel-head>span{color:var(--muted);font-size:.83rem;line-height:1.45}.records-overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px}.records-chart,.records-device-panel,.records-details{padding:22px;min-width:0}.records-panel-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.records-panel-head h2{margin:0;font-size:1.05rem}.records-table-panel{min-width:0}.records-table-panel>.records-panel-head{padding:18px 20px}.records-chart-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(4px,1.25vw,14px);margin-top:18px}.records-chart-day{min-width:0;text-align:center}.records-chart-bar-area{display:grid;grid-template-rows:auto 1fr;justify-items:center;height:116px;gap:6px;padding:8px 0 0;background:var(--canvas);border-radius:8px;overflow:hidden}.records-chart-bar-area>span{font-size:.875rem;font-weight:700}.records-chart-bar{align-self:end;width:clamp(12px,3vw,34px);max-width:80%;height:var(--bar-height);background:color-mix(in srgb,var(--accent) 35%,var(--surface));border-radius:5px 5px 0 0}.records-chart-day.is-today .records-chart-bar{background:var(--accent)}.records-chart-day time{display:block;margin-top:8px;color:var(--muted);font-size:.78rem}.records-summary-list{display:grid;margin:16px 0 0}.records-summary-list>div{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,1.25fr);gap:10px;align-items:start;padding:10px 0;border-bottom:1px solid var(--line)}.records-summary-list dt{color:var(--muted);font-size:.9rem}.records-summary-list dd{margin:0;text-align:right;overflow-wrap:anywhere;font-size:.9rem;font-weight:700}.records-door-hours{display:grid;gap:3px;margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--canvas)}.records-door-hours span{color:var(--muted);font-size:.83rem}.records-door-hours-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px 8px}.records-door-hours>strong{color:var(--text);font-size:.95rem;font-variant-numeric:tabular-nums;white-space:pre-line;overflow-wrap:anywhere}.records-device-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.records-filters{display:flex;flex-wrap:wrap;align-items:end;padding:18px 20px;gap:12px}.records-filters label{display:grid;flex:0 1 auto;min-width:135px;gap:5px;font-weight:650;font-size:.875rem}.records-filters .records-filter-search{flex-grow:1;min-width:min(100%,205px)}.records-filters :is(input,select){width:100%;min-width:0;min-height:42px;padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;font-size:.92rem;font-weight:500}.records-filters :is(input,select):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.records-table-wrap{max-width:100%;overflow:auto}.records-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:.9rem}.records-table th,.records-table td{padding:12px 16px;border-top:1px solid var(--line)}.records-table thead th{color:var(--muted);background:var(--canvas);font-size:.83rem;font-weight:700}.records-table tbody td{color:var(--muted)}.records-table th:first-child,.records-table td:first-child{padding-left:20px}.records-table th:last-child,.records-table td:last-child{padding-right:20px}.records-table td strong{color:var(--text)}.records-table tbody tr:hover{background:color-mix(in srgb,var(--canvas) 65%,var(--surface))}.records-badge{display:inline-block;border-radius:999px;padding:4px 8px;color:var(--muted);background:var(--canvas);font-size:.78rem;font-weight:700;line-height:1.35;white-space:nowrap}.records-badge--super_admin,.records-badge--admin,.records-badge--store_owner{background:var(--accent-soft);color:var(--accent)}.records-badge--adult{background:#e1f2e9;color:#176b46}.records-badge--minor{background:#faebe4;color:#913e21}.records-badge--unverified{background:#f1ecdd;color:#705710}.records-row-button{min-height:32px;padding:4px 10px;font-size:.8rem}.records-empty{padding:38px 20px;text-align:center;color:var(--muted);font-size:.9rem}.records-empty p{margin:6px 0 0}.records-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:9px 20px;border-top:1px solid var(--line);color:var(--muted);font-size:.875rem}.records-pagination nav{display:flex;align-items:center;gap:10px}.records-details .records-panel-head h2{margin-bottom:7px}.records-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0}.records-details-grid div{padding:12px;border-radius:8px;background:var(--canvas)}.records-details-grid dt{color:var(--muted);font-size:.875rem}.records-details-grid dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:.9rem;font-weight:700}.records-detail-visits h3,.records-detail-visits p{margin:10px 0;font-size:.9rem}.records-detail-visits p{color:var(--muted)}.records-detail-visits ul{margin:0;padding:0;list-style:none}.records-detail-visits li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:8px 0;border-top:1px solid var(--line);font-size:.875rem}.records-operator-form{align-items:end}.records-operator-form label{flex:1 1 138px;min-width:0}.records-operator-help{flex-basis:100%;color:var(--muted);font-size:.875rem}.records-operator-message{margin:0;padding:12px 20px;font-size:.875rem}.records-operator-error{color:var(--danger, #a32336)}.records-operator-list{margin:0;padding:0 20px;list-style:none}.records-operator-row{display:grid;grid-template-columns:minmax(0,1fr) max-content max-content;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.records-operator-id{min-width:0;overflow-wrap:anywhere}.records-operator-id span{display:block;margin-top:3px;color:var(--muted);font-size:.875rem}.records-operator-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:14px 20px;border-top:1px solid var(--line)}.records-operator-confirm p{flex:1 1 160px;margin:0;overflow-wrap:anywhere}@media(max-width:1050px){.records-metric{padding:16px}}@media(max-width:900px){.records-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.records-overview-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:540px){.records-page,.records-metrics,.records-overview-grid{gap:11px}.records-chart,.records-device-panel,.records-details{padding:15px}.records-chart-bar-area{height:92px}.records-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.records-filters,.records-table-panel>.records-panel-head{padding:14px}.records-filters label{flex:1 1 115px;min-width:0}.records-operator-list{padding:0 12px}.records-operator-row{gap:6px}}.store-management-grid{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,1fr);gap:clamp(1rem,2vw,1.5rem);align-items:start}.store-side-column{display:grid;gap:clamp(1rem,2vw,1.5rem);min-width:0}.store-panel{min-width:0;padding:clamp(1rem,2vw,1.5rem)}.store-card-header{display:flex;gap:1rem;align-items:start;justify-content:space-between;margin-bottom:1.15rem}.store-card-header h2{margin:0;color:var(--text);font-size:1.1rem;letter-spacing:-.025em}.store-card-header p{margin:.4rem 0 0;color:var(--muted);font-size:.875rem;line-height:1.55}.store-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:1.65rem;padding:.25rem .55rem;border-radius:6px;font-size:.78rem;font-weight:700;line-height:1;white-space:nowrap}.store-badge-muted{color:var(--muted);background:var(--canvas);border:1px solid var(--line)}.store-qr-tabs{display:flex;gap:.3rem;padding:.22rem;border:1px solid var(--line);background:var(--canvas);border-radius:.65rem}.store-qr-tabs button{flex:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;border-radius:.46rem;padding:.58rem .3rem;background:transparent;color:var(--muted);font:inherit;font-size:.875rem;font-weight:700;cursor:pointer}.store-qr-tabs button[aria-pressed=true]{color:var(--accent);border-color:var(--line);background:var(--surface);box-shadow:0 1px 3px #0000000d}.store-qr-preview{display:grid;min-height:15rem;margin-top:1rem;place-items:center;padding:.75rem;border:1px solid var(--line);border-radius:.7rem;background:var(--canvas)}.store-qr-preview>img{display:block;width:min(100%,20rem);height:auto;border:1px solid var(--line);border-radius:.55rem;background:#fff;image-rendering:pixelated}.store-qr-empty{display:grid;justify-items:center;gap:.85rem;min-height:15rem;align-content:center;padding:1rem;color:var(--muted);text-align:center;font-size:.875rem}.store-qr-details{display:flex;min-height:3.2rem;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.35rem .6rem;color:var(--muted);font-size:.875rem}.store-refresh-button{margin-left:auto}.store-field{display:grid;gap:.4rem;min-width:0;color:var(--text);font-size:.875rem;font-weight:650}.store-field input{width:100%;box-sizing:border-box;min-height:2.45rem;padding:.45rem .65rem;border:1px solid var(--line);border-radius:.45rem;background:var(--surface);color:var(--text);font:inherit;font-weight:400}.store-field input::placeholder{color:var(--muted)}.store-field .store-link-input{color:var(--muted);background:var(--canvas);font-size:.875rem}.store-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;margin-top:.8rem}.store-field-message{margin:.55rem 0 0;color:var(--muted);font-size:.875rem;line-height:1.5}.store-field-message.store-field-error{color:var(--accent)}.store-device-list{margin:0;border:1px solid var(--line);border-radius:.6rem}.store-device-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;padding:.68rem .75rem;color:var(--text);font-size:.875rem}.store-device-row+.store-device-row{border-top:1px solid var(--line)}.store-device-row dt,.store-device-row dd{display:flex;gap:.6rem;align-items:center;margin:0}.store-device-row dt{font-weight:700}.store-device-row dd{min-width:0;color:var(--muted);overflow-wrap:anywhere}.store-qr-mark,.store-device-icon,.store-camera-icon{flex:none;color:var(--accent)}.store-camera-list{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}.store-camera-row{min-width:0;padding:.75rem;border:1px solid var(--line);border-radius:.65rem}.store-camera-title{display:flex;align-items:center;gap:.55rem}.store-camera-title h3{margin:0;color:var(--text);font-size:.875rem;overflow-wrap:anywhere}.store-camera-screen{position:relative;display:grid;place-items:center;min-height:7.5rem;padding:.75rem;border:1px solid var(--line);border-radius:.65rem;overflow:hidden;background:var(--canvas)}.store-camera-screen[hidden]{display:none}.store-camera-screen.is-viewing{margin-top:.75rem;padding:0;aspect-ratio:16 / 9;background:#201b1c}.store-camera-screen iframe,.store-camera-screen video,.store-camera-screen img{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;border:0;object-fit:contain}.store-camera-text{margin:1rem;color:#fff;text-align:center;font-size:.875rem}.store-empty-panel{color:var(--muted)}@media(max-width:880px){.store-management-grid{grid-template-columns:minmax(0,1fr)}}.store-switcher{position:relative;flex:0 0 auto;min-width:0;max-width:min(34vw,290px)}.store-switcher-trigger{display:flex;align-items:center;gap:7px;min-height:41px;width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:var(--surface);font-size:.88rem;font-weight:660}.store-switcher-trigger>svg{flex:0 0 auto;color:var(--muted)}.store-switcher-trigger:not(:disabled):hover,.store-switcher-trigger[aria-expanded=true]{border-color:var(--accent);background:var(--surface-2)}.store-switcher-current,.store-switcher-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-switcher-panel{position:absolute;z-index:4;top:calc(100% + 7px);right:0;width:max(100%,246px);max-width:calc(100vw - 56px);border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 9px 26px #140f1826}.store-switcher-caption{padding:10px 12px 8px;color:var(--muted);font-size:.8rem;font-weight:660}.store-switcher-menu{max-height:min(50vh,314px);overflow:auto;padding:0 6px 6px}.store-switcher-option{display:grid;grid-template-columns:27px minmax(0,1fr) 16px;align-items:center;gap:8px;width:100%;min-height:41px;padding:5px 7px;border:1px solid transparent;border-radius:8px;text-align:left;color:var(--text);background:transparent;font-size:.88rem}.store-switcher-option:hover{background:var(--surface-2)}.store-switcher-option[aria-checked=true]{color:var(--accent);background:var(--accent-soft);font-weight:680}.store-switcher-option:focus-visible{outline-offset:-2px}.store-switcher-number{display:grid;place-items:center;min-height:25px;padding:0 2px;border-radius:6px;color:var(--muted);background:var(--surface-2);font-size:.78rem;font-variant-numeric:tabular-nums;font-weight:650}.store-switcher-option[aria-checked=true] .store-switcher-number{color:var(--accent);background:var(--surface)}@media(max-width:480px){.store-switcher{max-width:min(43vw,168px)}.store-switcher-trigger{min-height:36px;gap:5px;padding:6px 7px;font-size:.81rem}.store-switcher-trigger>.store-switcher-icon{display:none}}.records-operator-form .operator-store-scopes{flex:1 0 100%;min-width:0;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px}.operator-store-scopes legend{padding:0 4px;font-size:.875rem;font-weight:650}.operator-store-scopes p{margin:0 0 10px;color:var(--muted);font-size:.875rem}.operator-store-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:8px}.records-operator-form .operator-store-options label{display:flex;align-items:center;min-height:40px;padding:6px 9px;border:1px solid var(--line);border-radius:8px;gap:8px;cursor:pointer;overflow-wrap:anywhere}.records-operator-form .operator-store-options input{flex:0 0 auto;width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--accent)}.settings-page{width:min(100%,1050px)}.settings-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.settings-nav button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 25%,var(--line))}.settings-panel{display:grid;min-width:0;gap:18px;padding:clamp(15px,3vw,24px)}.settings-panel-head,.settings-actions,.settings-application-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px}.settings-panel-head h2{font-size:1.1rem;letter-spacing:-.025em}.settings-actions{justify-content:flex-end;gap:7px}.settings-form{display:grid;gap:14px}.settings-fields,.settings-store-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.settings-camera-fields{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.settings-form label,.settings-review label{min-width:0;display:grid;align-content:start;gap:5px;font-size:.88rem;font-weight:650}.settings-form :is(input:not([type=checkbox]),select),.settings-review select{width:100%;min-width:0;min-height:41px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;font-size:.9rem}.settings-form input:disabled,.settings-form select:disabled,.settings-review select:disabled{opacity:.62}.settings-form label.settings-check{display:flex;align-items:flex-start;gap:9px;width:fit-content}.settings-check input{margin:3px 0 0;width:17px;height:17px;accent-color:var(--accent)}.settings-check small{display:block;margin-top:3px;color:var(--muted);font-weight:500}.settings-store-detail{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.settings-store-detail>div{border-radius:9px;background:var(--canvas);padding:11px 13px}.settings-store-detail dt,.settings-application-store dt,.settings-help,.settings-empty{color:var(--muted);font-size:.86rem}.settings-store-detail dd,.settings-application-store dd{margin:3px 0 0;overflow-wrap:anywhere;font-weight:650}.button.settings-delete-trigger{color:var(--accent)}.button.settings-delete-trigger:not(:disabled):hover{background:var(--accent-soft);border-color:var(--accent)}.settings-delete-dialog{width:min(440px,calc(100% - 32px));max-height:calc(100% - 32px);padding:clamp(16px,4vw,24px);border:1px solid var(--line);border-radius:var(--radius);color:var(--text);background:var(--surface);box-shadow:0 16px 36px #1d172542}.settings-delete-dialog::backdrop{background:#1d17256b}.settings-delete-dialog h2{font-size:1.16rem}.settings-cctv-delete-dialog{position:fixed;top:0;right:0;bottom:0;left:0;margin:auto;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}.settings-cctv-delete-dialog .settings-form{gap:16px}.settings-cctv-delete-dialog .settings-delete-description{line-height:1.65}.settings-cctv-delete-dialog .settings-delete-description p+p{margin-top:7px}.settings-cctv-delete-dialog .settings-actions .button{min-height:43px;font-size:.94rem}.settings-cctv-delete-targets{max-height:min(180px,28dvh);overflow:auto;margin:0;padding:10px 12px 10px 30px;border:1px solid var(--line);border-radius:9px;background:var(--canvas);font-size:.9rem;line-height:1.7}.settings-cctv-delete-targets li{overflow-wrap:anywhere}.settings-cctv-delete-error{margin:0;padding:10px 12px;border-radius:8px;color:var(--accent);background:var(--accent-soft);font-size:.93rem;line-height:1.6;overflow-wrap:anywhere}.settings-delete-description{color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}.settings-delete-description strong{color:var(--text)}.settings-camera-list li+li,.settings-application+.settings-application{border-top:1px solid var(--line)}.settings-camera-list,.settings-applications{border:1px solid var(--line);border-radius:9px;margin:0;padding:0;list-style:none}.settings-camera-list li{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:9px 12px;padding:10px 12px}.settings-recorder-form{padding:16px;border:1px solid var(--line);border-radius:9px;background:var(--canvas)}.settings-recorder-form h3,.settings-camera-editor h3{margin:0;font-size:.95rem}.settings-recorder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-recorder-path{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px}.settings-recorder-path code{overflow-wrap:anywhere}.settings-recorder-playback{display:grid;gap:10px;min-width:0}.settings-recorder-playback h3{margin:0;font-size:.95rem}.settings-recorder-playback-caption{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}.settings-camera-list .store-camera-row{display:grid;gap:10px}.settings-camera-list .store-camera-title{flex-wrap:wrap}.settings-camera-list .store-camera-detail{color:var(--muted);font-size:.85rem;font-weight:450}.settings-camera-list .store-camera-screen{width:100%;margin-top:0}.settings-status[data-status=available]{color:var(--green);background:#e8f8f0}.settings-status[data-status=stopped]{color:var(--accent);background:var(--accent-soft)}.settings-camera-selection{display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--canvas)}.settings-camera-selection label{display:inline-flex;align-items:center;gap:7px;font-size:.94rem}.settings-camera-selection input,.settings-camera-checkbox{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}.settings-camera-selection>span,.settings-camera-selection small{font-size:.88rem;color:var(--muted)}.settings-camera-selection .button{margin-inline-start:auto}.settings-camera-caption{min-width:0;display:grid;gap:4px}.settings-camera-caption small{padding-inline-start:25px;color:var(--muted)}@media(max-width:580px){.settings-recorder-fields{grid-template-columns:1fr}}.settings-camera-name{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere;font-size:.92rem;font-weight:650}.settings-camera-name svg{flex:none;color:var(--accent)}.settings-application{display:grid;grid-template-columns:minmax(140px,1.2fr) minmax(105px,.9fr) minmax(188px,1.35fr);gap:8px 14px;align-items:center;padding:12px;font-size:.9rem}.settings-application-title{justify-content:flex-start}.settings-application-store{display:grid;gap:4px;margin:0}.settings-application-store>div{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px}.settings-application-store dd{margin:0}.settings-status{padding:3px 7px;border-radius:6px;color:var(--muted);background:var(--canvas);font-size:.75rem;font-weight:700;white-space:nowrap}.settings-status[data-status=pending]{color:var(--accent);background:var(--accent-soft)}.settings-status[data-status=approved]{color:var(--green)}.settings-review{display:flex;align-items:flex-end;flex-wrap:wrap;gap:6px}.settings-review label{flex:1 1 110px}.settings-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:12px;background:var(--canvas);border-radius:9px}.settings-confirm>span{flex:1 1 170px;overflow-wrap:anywhere}.settings-error{color:var(--accent);font-size:.88rem}@media(max-width:780px){.settings-application{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.settings-review{grid-column:1 / -1}}@media(max-width:580px){.settings-fields,.settings-camera-fields{grid-template-columns:minmax(0,1fr)}.settings-store-detail{grid-template-columns:repeat(2,minmax(0,1fr))}}.operations-field{display:grid;gap:7px;font-size:.94rem;font-weight:650}.operations-field input{min-height:44px;border:1px solid var(--line);border-radius:9px;padding:9px 12px;color:var(--text);background:var(--surface-2)}.operations-list{list-style:none;margin:0;padding:0}.operations-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0}.operations-list li+li{border-top:1px solid var(--line)}.operations-list p{font-size:.88rem;color:var(--muted);margin-top:5px}.operations-list .button{flex-shrink:0}.device-controls{display:grid;gap:14px;min-width:0}.control-section-header,.control-config-card>header,.control-config-footer,.control-network-panel>header,.control-discovery-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.control-section-header h2{font-size:1.28rem;letter-spacing:-.04em}.control-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.control-actions .button,.control-section-header .button{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:42px}.control-item-list{display:grid;gap:12px}.control-config-card{padding:17px 20px;min-width:0}.control-config-card h3{font-size:1.15rem;font-weight:780;overflow-wrap:anywhere}.control-config-footer{margin-top:18px}.control-item-toggles{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.control-check{display:inline-flex;align-items:center;gap:7px;font-size:.95rem;line-height:1.5}.control-check input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}.control-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:7px;font-size:.81rem;font-weight:730;line-height:1.5;white-space:nowrap}.control-badge-online{color:#087256;background:#e8f8f0}.control-badge-offline{color:#c32647;background:#fff0f3}.control-badge-neutral{color:var(--muted);background:var(--surface-2);border:1px solid var(--line)}.control-status{display:flex;align-items:center;gap:7px}.control-kind{color:var(--muted);font-size:.86rem}.control-priority{display:inline-flex;gap:5px}.control-priority .button{min-width:37px;min-height:37px;padding:7px;border-radius:10px;background:var(--surface-2)}.control-text-button{border-color:transparent;background:transparent}.control-empty{color:var(--muted);padding:25px;font-size:.98rem}.control-add-panel,.control-inline-editor,.control-iot-inventory,.control-network-panel{padding:clamp(17px,3vw,24px);min-width:0}.control-inline-editor{border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));background:var(--surface);margin-top:-7px}.control-item-editor{display:grid;gap:16px}.control-item-editor h3,.control-iot-inventory h3,.control-network-panel h3,.control-discovery-heading h3,.ble-setup-panel h3{font-size:1.12rem;font-weight:760}.control-editor-grid,.control-network-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.control-field{display:grid;gap:7px;min-width:0;font-size:.94rem;font-weight:650}.control-input{min-width:0;width:100%;min-height:47px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--text);font-size:1rem;font-weight:450}.control-help{color:var(--muted);font-size:.9rem;line-height:1.65}.control-error{color:#bd2544;font-size:.94rem;line-height:1.65}.control-success{color:var(--green);font-size:.94rem;line-height:1.65}.control-iot-select{position:relative}.control-iot-trigger{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:10px}.control-iot-trigger>span{overflow-wrap:anywhere}.control-iot-trigger svg{flex-shrink:0}.control-iot-usage{color:var(--accent);font-size:.9rem;font-weight:650}.control-iot-options{position:absolute;top:100%;margin-top:4px;left:0;right:0;z-index:7;max-height:330px;overflow-y:auto;background:var(--surface);border:1px solid var(--line);border-radius:11px;box-shadow:0 12px 36px #16111c1c;padding:5px}.control-iot-options button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;background:transparent;padding:12px 10px;min-height:46px;text-align:left;color:var(--text);border-radius:7px}.control-iot-options button:hover,.control-iot-options button[aria-selected=true]{background:var(--accent-soft)}.control-table-scroll{overflow-x:auto;margin-top:15px}.control-iot-table{border-collapse:collapse;width:100%;min-width:760px;font-size:.92rem}.control-iot-table th,.control-iot-table td{text-align:left;border-bottom:1px solid var(--line);padding:14px 12px;vertical-align:middle}.control-iot-table thead th{color:var(--muted);background:var(--surface-2);font-weight:550}.control-iot-table tbody th{font-weight:720;min-width:140px}.control-iot-table td:nth-child(2){white-space:nowrap;font-size:.86rem}.control-iot-table .button{font-size:.86rem;min-height:36px;padding:7px 10px}.control-iot-table .control-input{min-width:150px}.control-network-panel,.control-network-panel form{display:grid;gap:17px}.control-network-grid fieldset{display:grid;gap:13px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:11px}.control-network-grid legend{color:var(--text);font-weight:750;font-size:.98rem;padding:0 5px}.control-ap-toggle{margin-top:2px}.control-device-registration{display:grid;gap:21px}.control-device-registration form{display:grid;gap:14px}.control-discovery-list{display:grid;gap:9px}.control-discovery-card{display:flex;align-items:center;gap:12px;padding:15px;background:var(--surface-2);border:1px solid var(--line);border-radius:11px;cursor:pointer}.control-discovery-card.selected{border-color:var(--accent);background:var(--accent-soft)}.control-discovery-card>span{display:grid;flex:1;gap:3px;min-width:0}.control-discovery-card small{font-size:.86rem;color:var(--muted)}.control-discovery-card input{width:18px;height:18px;accent-color:var(--accent)}.control-discovery-card>svg{color:var(--green);flex-shrink:0}.control-device-registration .ble-setup-panel{display:grid;gap:14px;padding-bottom:20px;border-bottom:1px solid var(--line)}.control-device-registration .field-help{color:var(--muted);font-size:.91rem;line-height:1.65}.control-device-registration .simple-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.control-device-registration .form-label{display:grid;gap:7px;font-size:.94rem;font-weight:650}.control-device-registration .form-control{min-width:0;width:100%;min-height:47px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--text);padding:10px 12px}.control-device-registration .home-display-toggle{display:inline-flex;gap:7px;align-items:center;font-size:.94rem}.control-device-registration .home-display-toggle input{width:18px;height:18px;accent-color:var(--accent)}.control-camera-setup{padding:0;overflow:clip}.control-camera-setup>summary{cursor:pointer;padding:18px 22px;font-size:1.1rem;font-weight:760}.control-camera-setup>.settings-panel{border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}.control-kiosk-summary{display:flex;align-items:center;gap:10px;padding:15px 20px;font-size:.94rem}.control-kiosk-summary svg{color:var(--accent)}.control-kiosk-summary span{color:var(--muted)}@media(max-width:620px){.control-editor-grid,.control-network-grid{grid-template-columns:minmax(0,1fr)}.control-config-card{padding:15px}.control-config-card>header{align-items:flex-start}.control-config-card h3{font-size:1.07rem}.control-config-footer{display:grid;gap:13px}.control-item-buttons{justify-content:flex-end}.control-item-toggles{font-size:.9rem;gap:12px}.control-section-header{align-items:flex-start}.control-section-header .control-actions{gap:6px}.control-section-header .button{padding-inline:10px;font-size:.91rem;min-height:42px}.control-status{gap:5px}.control-kind{font-size:.78rem}.control-discovery-heading{align-items:flex-start}}.devices-page{width:min(100%,1050px)}.devices-panels{display:grid;gap:16px}.device-inventory{min-width:0;padding:clamp(15px,3vw,24px)}.device-inventory-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.device-inventory-header h2{font-size:1.15rem;font-weight:760;letter-spacing:-.036em}.device-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}.device-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px 10px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2)}.device-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;color:var(--accent);background:var(--accent-soft)}.device-card h3{font-size:.95rem}.device-card p,.device-no-store{color:var(--muted);font-size:.85rem}.device-card p{overflow-wrap:anywhere}.device-status{grid-column:1 / -1;justify-self:start;padding:2px 8px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--muted);font-size:.77rem;font-weight:650}@media(max-width:620px){.device-list{grid-template-columns:minmax(0,1fr)}.device-card{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.device-status{grid-column:auto}}:root{color-scheme:light;--canvas: #f6f7f9;--surface: #fff;--surface-2: #f9fafb;--text: #211e25;--muted: #62606c;--line: #e7e5eb;--accent: #a82237;--accent-strong: #87192a;--accent-soft: #faedf0;--green: #137858;--radius: 15px;--sidebar-width: 222px;--header-height: 75px;font-family:Pretendard,Noto Sans KR,Malgun Gothic,system-ui,sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased}:root[data-theme=dark]{color-scheme:dark;--canvas: #19171c;--surface: #252229;--surface-2: #2c282f;--text: #faf4f6;--muted: #b9b1bb;--line: #423944;--accent: #f18394;--accent-strong: #ffadba;--accent-soft: #492a34;--green: #63d3ad}*,*:before,*:after{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--canvas);line-height:1.55}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.62}a{color:var(--accent);text-underline-offset:.18em}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.app-shell{min-height:100dvh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr)}.skip-link{position:fixed;z-index:10;left:12px;top:12px;padding:8px 14px;border-radius:8px;background:var(--surface);transform:translateY(-160%)}.skip-link:focus{transform:none}.sidebar{position:sticky;top:0;z-index:4;display:flex;flex-direction:column;min-width:0;height:100dvh;border-right:1px solid var(--line);background:var(--surface);overflow-y:auto}.brand{display:flex;align-items:center;gap:11px;min-height:var(--header-height);width:100%;color:var(--text);background:none;border:0;padding:13px 21px;text-align:left}.brand-tile{display:block;flex:0 0 auto;width:48px;height:48px;object-fit:contain;border-radius:8px}.brand-copy strong,.brand-copy small{display:block}.brand-copy strong{font-size:1.08rem;font-weight:850;letter-spacing:-.06em}.brand-copy small{color:var(--muted);font-size:.78rem;line-height:1.15;font-weight:650}.sidebar-content{padding:24px 13px 16px;border-top:1px solid var(--line)}.sidebar-label{margin:0 10px 9px;color:var(--muted);font-weight:690;font-size:.78rem}.sidebar nav{display:grid;gap:5px}.nav-link,.sidebar-link{min-height:45px;display:flex;align-items:center;gap:11px;width:100%;padding:9px 11px;border:1px solid transparent;border-radius:10px;text-align:left;text-decoration:none;color:var(--muted);background:transparent;font-weight:690;font-size:.9rem}.nav-link:hover,.sidebar-link:hover{color:var(--text);background:var(--surface-2);border-color:var(--line)}.nav-link[aria-current=page],.sidebar-link[aria-current=page]{color:var(--accent);background:var(--accent-soft)}.nav-link svg,.sidebar-link svg{flex-shrink:0}.sidebar-bottom{margin-top:auto;padding:18px 13px}.sidebar-link span{flex:1}.sidebar-status{display:flex;align-items:center;gap:8px;padding:13px 11px 3px;margin-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:.8rem;font-weight:650}.sidebar-status span{width:7px;height:7px;border-radius:100%;background:var(--accent)}.mobile-scrim,.menu-toggle,.mobile-brand{display:none}.workspace{min-width:0;display:flex;flex-direction:column;min-height:100dvh}.topbar{position:sticky;top:0;z-index:3;min-width:0;min-height:var(--header-height);padding:12px clamp(20px,3vw,36px);display:flex;justify-content:space-between;align-items:center;gap:14px;background:var(--surface);border-bottom:1px solid var(--line)}.topbar-context,.topbar-actions{display:flex;align-items:center;gap:12px;min-width:0}.topbar-location{min-width:0}.topbar-location small,.viewer small{color:var(--muted);font-size:.76rem;line-height:1.35;display:block}.topbar-location strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.98rem}.icon-button{display:grid;place-items:center;flex:0 0 41px;width:41px;height:41px;border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:9px}.icon-button:hover{color:var(--accent);background:var(--surface-2)}.icon-button.menu-toggle{display:none}.viewer{display:flex;align-items:center;gap:9px;min-width:0;margin-left:2px}.viewer-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:100%;background:var(--accent-soft);color:var(--accent);flex-shrink:0}.viewer strong{display:block;font-size:.83rem;white-space:nowrap;line-height:1.35;overflow:hidden;text-overflow:ellipsis;max-width:105px}.main-content{width:100%;max-width:1480px;padding:28px clamp(20px,3vw,36px) 32px;margin:0 auto}.main-content:focus{outline:none}.workspace-footer{margin:auto 0 0;display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:8px clamp(20px,3vw,36px) 18px;color:var(--muted);font-size:.78rem}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:20px}.page-heading h1{font-size:clamp(1.55rem,3.2vw,2.08rem);font-weight:825;letter-spacing:-.065em;line-height:1.3}.page-heading p{margin-top:6px;color:var(--muted);font-size:.95rem}.page-heading>.button{flex-shrink:0;white-space:nowrap}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;max-width:100%;padding:7px 12px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:9px;text-decoration:none;font-size:.875rem;line-height:1.35;font-weight:720}.button:not(:disabled):hover{background:var(--surface-2);border-color:var(--muted)}.button.button-primary{color:#fff;background:#a82237;border-color:#a82237}.button.button-primary:not(:disabled):hover{color:#fff;background:#87192a;border-color:#87192a}.error-panel{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin-bottom:16px;border:1px solid var(--line);border-radius:10px;color:var(--accent);background:var(--accent-soft)}.loading-panel{padding:23px 20px;color:var(--muted)}.toast{position:fixed;z-index:8;right:18px;bottom:18px;max-width:calc(100vw - 36px);border:1px solid var(--line);border-radius:10px;padding:12px 16px;color:var(--text);background:var(--surface);box-shadow:0 10px 38px #3a26332b}.access-page{display:grid;place-items:center;min-height:100dvh;padding:clamp(18px,5vw,46px);background:radial-gradient(ellipse at 50% 0%,var(--accent-soft),var(--canvas) 64%)}.access-card{width:min(100%,435px);padding:clamp(20px,6vw,35px);box-shadow:0 15px 48px #36212b14}.access-brand{display:flex;align-items:center;gap:12px;margin-bottom:26px}.access-brand strong,.access-brand small{display:block}.access-brand strong{font-size:1.13rem;font-weight:850;letter-spacing:-.045em;line-height:1.25}.access-brand small{color:var(--muted);font-size:.81rem}.access-title h1{font-size:clamp(1.47rem,5vw,1.8rem);font-weight:850;letter-spacing:-.055em}.access-title p{margin-top:6px;color:var(--muted);font-size:.92rem}.access-retry{margin-top:15px}.remember-login{display:flex;align-items:center;gap:7px;min-height:36px;color:var(--text);cursor:pointer}.remember-login input{width:18px;height:18px;margin:0;accent-color:var(--accent)}.remember-login small{color:var(--muted)}.access-secondary{width:100%;margin-top:10px}.access-form{display:grid;gap:15px;margin-top:23px}.access-field{display:grid;gap:5px;color:var(--text);font-weight:690;font-size:.875rem}.access-field small,.access-hint{color:var(--muted);font-size:.82rem;font-weight:500}.access-control{position:relative;display:block}.access-control svg{pointer-events:none;position:absolute;top:50%;left:13px;color:var(--muted);transform:translateY(-50%)}.access-control input{display:block;width:100%;min-height:46px;padding:9px 11px 9px 42px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:var(--surface-2);font-size:1rem}.access-control input:focus{border-color:var(--accent)}.access-control input:disabled{opacity:.65}.access-error{padding:9px 11px;border-radius:8px;background:var(--accent-soft);color:var(--accent);font-size:.86rem}.access-submit{min-height:45px;margin-top:3px}@media(max-width:850px){.app-shell{display:block}.sidebar{position:fixed;width:min(78vw,250px);top:0;left:0;visibility:hidden;transform:translate(-100%);transition:transform .18s ease-out,visibility .18s}.sidebar.sidebar-open{transform:none;visibility:visible}.mobile-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:4;border:0;background:#1d17256b}.sidebar.sidebar-open{z-index:5}.icon-button.menu-toggle{display:grid}.topbar{min-height:64px}.mobile-brand{display:block;flex-shrink:0}}@media(max-width:480px){.topbar,.topbar-context,.topbar-actions{gap:7px}.topbar{padding-inline:10px}.topbar-location small{display:none}.topbar-location strong{font-size:.86rem}.topbar .icon-button{width:36px;height:36px;flex-basis:36px}.topbar-context{flex:1}.topbar-actions{flex-shrink:0}.topbar .viewer{display:none}.mobile-brand .brand-tile{width:36px;height:36px}.main-content{padding:21px 12px 24px}}@media(max-width:360px){.topbar-location{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:0s!important}}
