:root{--bg: #11110f;--panel: #1a1a17;--panel-strong: #23231f;--line: rgba(255, 255, 255, .1);--text: #f4f1e8;--muted: #9b9a91;--accent: #58d7c4;--accent-strong: #1bbba8;--amber: #e6b35d;--danger: #d86464}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}button,select,input{font:inherit}.app-shell{min-height:100svh;display:grid;grid-template-columns:320px minmax(0,1fr)}.sidebar{border-right:1px solid var(--line);background:#181815;padding:28px 22px;display:flex;flex-direction:column;gap:24px}.brand-block h1,.workspace-header h2{margin:6px 0 0;font-weight:720;letter-spacing:0}.brand-block h1{font-size:34px}.brand-block p{margin:12px 0 0;color:var(--muted);line-height:1.5}.eyebrow{color:var(--accent);font-size:12px;font-weight:760;letter-spacing:0;text-transform:uppercase}.toolbar{display:grid;gap:10px}.toolbar label{color:var(--muted);font-size:13px}select,button{min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--panel-strong);color:var(--text);padding:0 12px}button{cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}button:hover{transform:translateY(-1px);border-color:#58d7c480;background:#2a2a25}.camera-list{display:grid;gap:8px}.camera-row{width:100%;display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:10px;border:1px solid transparent;background:transparent;border-radius:8px;padding:10px;color:var(--text);text-align:left}.camera-row:hover,.camera-row.active{background:#ffffff0d;border-color:var(--line)}.camera-dot{width:10px;height:10px;border-radius:999px;background:var(--muted)}.camera-row.live .camera-dot{background:var(--accent);box-shadow:0 0 0 4px #58d7c426}.camera-row.error .camera-dot{background:var(--danger)}.camera-name{display:block;font-weight:700}.camera-meta{display:block;margin-top:2px;color:var(--muted);font-size:12px}.ptz-control{border-top:1px solid var(--line);padding-top:18px;display:grid;gap:14px}.ptz-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.ptz-head strong{font-size:14px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ptz-pad{width:168px;display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:repeat(3,52px);gap:6px}.ptz-button{width:52px;min-height:52px;padding:0;display:grid;place-items:center;font-size:18px;font-weight:760}.ptz-button[data-ptz=up]{grid-column:2;grid-row:1}.ptz-button[data-ptz=left]{grid-column:1;grid-row:2}.ptz-button.stop{grid-column:2;grid-row:2;color:var(--amber)}.ptz-button[data-ptz=right]{grid-column:3;grid-row:2}.ptz-button[data-ptz=down]{grid-column:2;grid-row:3}.zoom-row{display:grid;grid-template-columns:repeat(2,84px);gap:8px}.zoom-row button{min-height:48px;font-size:16px;font-weight:760}.ptz-status{min-height:18px;color:var(--muted);font-size:14px;line-height:1.4}.network-note{margin-top:auto;border-top:1px solid var(--line);padding-top:18px;display:grid;gap:6px;color:var(--muted);line-height:1.45}.network-note strong{color:var(--text)}.workspace{min-width:0;padding:28px;display:flex;flex-direction:column;gap:22px}.workspace-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-end}.workspace-header h2{font-size:30px}.status-cluster{display:flex;align-items:center;gap:10px;color:var(--muted);font-variant-numeric:tabular-nums}.pill{border:1px solid rgba(88,215,196,.35);color:var(--accent);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:760}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.camera-panel{min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--panel);overflow:hidden;transition:border-color .18s ease,transform .18s ease}.camera-panel.active{border-color:#58d7c4a6;transform:translateY(-2px)}.panel-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);flex-wrap:wrap}.panel-title{display:grid;gap:2px}.panel-title strong{font-size:15px}.panel-title span{color:var(--muted);font-size:12px}.panel-actions{display:flex;gap:8px;flex-wrap:wrap}.panel-actions button{min-height:44px;padding:0 10px;font-size:14px}.video-frame{position:relative;aspect-ratio:16 / 9;background:linear-gradient(135deg,rgba(88,215,196,.1),transparent),#060606;touch-action:pan-y pinch-zoom}.video-frame img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:none}.camera-motion-status{margin:0;padding:8px 14px 0;color:var(--muted);font-size:12px;line-height:1.5}.capture-help{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.primary-navigation{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;border-bottom:1px solid var(--line)}.primary-navigation a{display:flex;align-items:center;justify-content:center;min-height:54px;text-decoration:none;color:var(--muted);border-bottom:3px solid transparent;font-size:18px;font-weight:700}.primary-navigation a[aria-current=page]{color:var(--text);border-color:var(--accent)}.primary-navigation a:hover{color:var(--accent)}.viewer-options{border-bottom:1px solid var(--line);padding-bottom:10px}.viewer-options summary{min-height:44px;cursor:pointer;padding:9px 0;color:var(--muted);font-size:14px}.viewer-options summary span{color:var(--accent);margin-left:12px}.viewer-options .account-actions{border:0;padding:10px 0 0}.video-frame img{width:100%;height:100%;display:block;object-fit:cover}.video-frame[data-stream-state=loading]:before{content:"\c5f0\acb0  \c911";position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-weight:700;z-index:0}.video-frame img{position:relative;z-index:1}.panel-foot{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;color:var(--muted);font-size:12px}.status{color:var(--amber);font-weight:700}.status.live{color:var(--accent)}.status.error{color:var(--danger)}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{grid-row:2;border-right:0;border-bottom:1px solid var(--line)}.grid{grid-template-columns:1fr}.workspace{grid-row:1}}[hidden]{display:none!important}.login-shell{min-height:100svh;display:grid;place-items:center;padding:32px 24px}.login-content{width:min(100%,380px)}.login-content h1{font-size:32px;margin:10px 0 34px}.login-content h2{font-size:22px}#loginForm{display:grid;gap:12px}#loginForm label{font-size:14px}#loginForm input:not([type=checkbox]){min-width:0;width:100%;padding:12px;margin-bottom:8px;border:1px solid var(--line);background:var(--panel);border-radius:6px;color:var(--text);font-size:17px}.check-label{display:flex;align-items:center;gap:10px;padding:10px 0}input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent)}.primary{background:var(--accent);color:#062720;font-weight:700;min-height:48px}.form-error{color:#f09393;min-height:24px;line-height:1.6;overflow-wrap:anywhere}.approval-code{display:block;margin:20px 0;font-size:32px;color:var(--accent);font-variant-numeric:tabular-nums}#pendingPanel p{color:var(--muted);line-height:1.6}.account-actions,.capture-actions{display:flex;gap:10px;flex-wrap:wrap}.account-actions{border-bottom:1px solid var(--line);padding-bottom:18px}.account-actions button:last-child{margin-left:auto}.recording{color:#ffb4b4;border-color:var(--danger)}#captureStatus{min-height:20px;line-height:1.5;font-size:13px;color:var(--muted);overflow-wrap:anywhere}button:disabled{cursor:default;opacity:.55;transform:none}button:focus-visible,input:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}dialog{width:min(900px,calc(100vw - 32px));max-height:calc(100svh - 40px);padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text)}dialog::backdrop{background:#000000b8}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head h2{font-size:22px;margin:0}dialog h3{margin:24px 0 8px;font-size:16px}.saved-list{padding:10px 0}.saved-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}.saved-label{flex:1 1 240px;min-width:0;display:grid;gap:6px;overflow-wrap:anywhere}.saved-label span{color:var(--muted);font-size:12px;line-height:1.5}.action-link{color:var(--accent);padding:10px 6px;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}#libraryStatus,#devicesStatus{font-size:13px;color:var(--amber)}.library-hint,#sdStatus{font-size:13px;color:var(--muted);line-height:1.6}.sd-query{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.sd-query label{display:grid;gap:7px;font-size:13px}.sd-query input,.sd-query select{min-height:44px;min-width:160px;padding:8px 10px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);font:inherit;color-scheme:dark}.sd-query button{min-height:44px}.status-cluster{flex-wrap:wrap}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}@media(max-width:620px){.sidebar,.workspace{padding:20px}.workspace-header{align-items:flex-start;flex-direction:column}.brand-block h1{font-size:30px}.workspace-header h2{font-size:26px}}.site-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;color:inherit;border:1px solid currentColor;border-radius:5px;text-decoration:none;font-size:14px}.site-link:hover{opacity:.8}.camera-video-controls{position:relative;isolation:isolate}.video-frame>video.native-live-video{width:100%;height:100%;display:block;object-fit:cover;position:relative;z-index:1;-webkit-user-select:none;user-select:none;pointer-events:none;background:#060606}.video-frame[data-stream-state=loading]>video.native-live-video{opacity:0}.video-control-layer{position:absolute;inset:0;z-index:4;pointer-events:none;font-family:inherit}.video-control-layer [hidden]{display:none!important}.video-control-layer button{font:inherit;color:#fff;-webkit-tap-highlight-color:transparent}.video-touch-zones{position:absolute;left:0;top:0;width:100%;height:100%}.video-edge{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#00000009;pointer-events:auto;touch-action:pan-y pinch-zoom}.video-edge span{position:absolute;font-size:24px;line-height:1;text-shadow:0 1px 5px #000,0 0 3px #000;opacity:.65}.video-edge:active{background:#57d3c233}.video-edge:focus-visible{outline:none;background:#57d3c24d}.video-edge:disabled{pointer-events:none;opacity:0}.edge-up{clip-path:polygon(0 0,100% 0,72% 28%,28% 28%)}.edge-left{clip-path:polygon(0 0,28% 28%,28% 72%,0 100%)}.edge-right{clip-path:polygon(100% 0,100% 100%,72% 72%,72% 28%)}.edge-down{clip-path:polygon(28% 72%,72% 72%,100% 100%,0 100%)}.edge-up span{top:7%;left:calc(50% - 8px)}.edge-down span{bottom:7%;left:calc(50% - 8px)}.edge-left span{left:5%;top:calc(50% - 12px)}.edge-right span{right:5%;top:calc(50% - 12px)}.video-fullscreen{position:absolute;right:8px;top:8px;width:44px;min-height:44px;padding:0;display:grid;place-items:center;pointer-events:auto;background:#0a0c0cc7;border:1px solid rgb(255 255 255 / .28);border-radius:8px;cursor:pointer}.video-fullscreen span{font-family:system-ui,sans-serif;font-size:27px;line-height:1}.video-fullscreen:disabled{opacity:.5;cursor:default}.video-desktop-pad{position:absolute;bottom:10px;left:50%;transform:translate(-50%);box-sizing:border-box;width:min(340px,calc(100% - 16px));display:flex;gap:3px;padding:4px;background:#0a0c0cc7;border:1px solid rgb(255 255 255 / .2);border-radius:9px;pointer-events:auto}.video-desktop-pad button{flex:1 1 0;min-width:0;min-height:42px;padding:3px 2px;border:1px solid rgb(255 255 255 / .18);border-radius:5px;background:#ffffff0f;cursor:pointer}.video-desktop-pad [data-video-stop]{font-size:13px;color:#efbf65}.video-control-layer button:hover:not(:disabled){color:#fff;background:#193632f2}.video-control-layer .video-edge:hover:not(:disabled){background:#0000000a}.video-control-layer .video-edge:active:not(:disabled){background:#57d3c233}.video-control-layer [data-video-stop]:hover:not(:disabled){color:#efbf65}.video-desktop-pad button:disabled{opacity:.4;cursor:default}.camera-video-controls:fullscreen,.camera-video-controls.video-fullscreen-fallback{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;background:#000;border:0!important;border-radius:0!important}.camera-video-controls.video-fullscreen-fallback{position:fixed!important;inset:0!important;z-index:2147483646}.camera-video-controls.video-expanded>img,.camera-video-controls.video-expanded>video{width:100%!important;height:100%!important;object-fit:contain!important;display:block}.camera-video-controls.video-expanded .video-fullscreen{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}.camera-video-controls.video-expanded .video-desktop-pad{bottom:max(14px,env(safe-area-inset-bottom))}@media(prefers-reduced-motion:reduce){.video-control-layer *{transition:none!important}}body.cctv-app:not(.family-app){--app-surface:#181b1b;--app-ink:#f4f1e8;--app-muted:#b2b9b5;--app-accent:#7bd6c4;--app-line:#39423e;font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,Segoe UI,sans-serif}.cctv-app:not(.family-app) .global-navigation{display:flex;align-items:center;justify-content:center;gap:12px;border-bottom:1px solid var(--app-line);background:var(--app-surface)}.cctv-app:not(.family-app) .global-navigation a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 18px;color:var(--app-muted);font-size:16px;font-weight:650;text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap}.cctv-app:not(.family-app) .global-navigation a[aria-current=page]{color:var(--app-accent);border-bottom-color:var(--app-accent)}.cctv-app:not(.family-app) .global-navigation a:focus-visible{outline:3px solid var(--app-accent);outline-offset:-4px}.cctv-app:not(.family-app) .global-navigation a:hover{color:var(--app-ink)}.cctv-app:not(.family-app) .primary-navigation a{flex:1}.cctv-app:not(.family-app) .touch-guide{display:none;margin:0;color:var(--app-muted);font-size:14px;line-height:1.5}.cctv-app:not(.family-app) .workspace{gap:16px}.cctv-app:not(.family-app) .workspace-header h2{margin:3px 0 0;font-size:26px}.cctv-app:not(.family-app) .camera-panel.active{transform:none}.cctv-app:not(.family-app) .panel-title strong{font-size:17px}.cctv-app:not(.family-app) .panel-actions button{min-height:44px}.cctv-app:not(.family-app) .viewer-options{border-top:1px solid var(--line);border-bottom:0;padding-top:8px}.cctv-app:not(.family-app) .camera-capture-status{margin:0;padding:10px 14px;color:var(--app-accent);font-size:14px;line-height:1.5}.cctv-app:not(.family-app) .camera-capture-status:empty{display:none}.cctv-app:not(.family-app) .camera-capture-status.error{color:#ffa6a6}body.cctv-site:not(.family-app){color-scheme:dark;--ink:var(--app-ink);--muted:var(--app-muted);--faint:#9ca6a0;--line:var(--app-line);--line-strong:#56625c;--accent:var(--app-accent);--accent-soft:#253d36;--accent-ink:var(--app-accent);--paper:var(--app-surface);--page:#11110f;--rail:#202724}.cctv-site:not(.family-app) .topbar{min-height:72px}.cctv-site:not(.family-app) .app-navigation{border-bottom:0}.cctv-site:not(.family-app) .app-navigation a{padding-inline:14px}.cctv-site:not(.family-app) button:hover,.cctv-site:not(.family-app) a.icon-button:hover{background:#2c3b34}.cctv-site:not(.family-app) .view-modes{background:#27312c}.cctv-site:not(.family-app) .view-modes button[aria-pressed=true]{background:#37483f}.cctv-site:not(.family-app) .scene-tools select{font-size:14px;min-height:44px}.cctv-site:not(.family-app) .view-modes button{font-size:14px;min-height:44px}.cctv-site:not(.family-app) .layer-control{font-size:14px}.cctv-site:not(.family-app) .floating-tools{background:#202724ed}.cctv-site:not(.family-app) .floating-tools .icon-button:hover{background:#35473d}.cctv-site:not(.family-app) .camera-marker:hover{background:transparent}.cctv-site:not(.family-app) .camera-location{margin-top:14px}.cctv-site:not(.family-app) .camera-recordings{font-size:16px}.cctv-site:not(.family-app) .camera-marker[aria-pressed=true] span{color:#102f27}@media(pointer:coarse)and (max-width:768px),(pointer:coarse)and (max-width:1024px)and (max-height:768px){.cctv-app:not(.family-app) .touch-guide{display:block}}@media(max-width:760px){body.cctv-app:not(.family-app){padding-bottom:calc(64px + env(safe-area-inset-bottom))}body.cctv-app:not(.family-app):has(#viewerPanel[hidden]){padding-bottom:0}.cctv-app:not(.family-app) .global-navigation{position:fixed;inset:auto 0 0;z-index:30;margin:0;width:100%;gap:0;padding:4px 8px calc(4px + env(safe-area-inset-bottom));border-top:1px solid var(--app-line);border-bottom:0}.cctv-app:not(.family-app) .global-navigation a{flex:1;min-height:54px;padding:8px 4px;font-size:16px;border-bottom:0;border-top:3px solid transparent}.cctv-app:not(.family-app) .global-navigation a[aria-current=page]{border-top-color:var(--app-accent)}.cctv-app:not(.family-app) .workspace{padding:16px 14px;gap:14px}.cctv-app:not(.family-app) .workspace-header{flex-direction:row;align-items:center;gap:12px}.cctv-app:not(.family-app) .workspace-header h2{font-size:23px}.cctv-app:not(.family-app) .status-cluster{display:grid;justify-items:end;gap:3px;font-size:13px}.cctv-app:not(.family-app) .panel-head{min-height:62px;padding:9px 10px;gap:8px}.cctv-app:not(.family-app) .panel-title strong{font-size:16px}.cctv-app:not(.family-app) .panel-actions{gap:6px}.cctv-app:not(.family-app) .panel-actions button{padding-inline:9px}.cctv-site:not(.family-app) .topbar{min-height:64px;padding:10px 16px}.cctv-site:not(.family-app) .scene-area{height:min(480px,55svh)}.cctv-site:not(.family-app) .scene-tools{min-height:100px}}body.family-app #viewerPanel.app-shell{display:block;min-height:calc(100dvh - 1px)}body.family-app #viewerPanel[hidden]{display:none}.family-app .family-live-workspace{display:flex;flex-direction:column;padding:30px 32px 24px;max-width:1640px;margin:0 auto;gap:18px;min-width:0}.family-app .family-live-header{align-items:center;margin:0;gap:24px}.family-app .family-live-header h1{margin:0;font-size:clamp(28px,2.8vw,42px);font-weight:780;letter-spacing:-.055em;line-height:1.15}.family-app .family-live-subtitle{margin:9px 0 0;color:var(--muted);font-size:14px}.family-live-heading-actions{display:flex;align-items:center;gap:24px}.family-connection{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:650;white-space:nowrap}.family-connection:before{content:"";width:9px;height:9px;border-radius:50%;background:#a2ada7}.family-connection.is-live:before{background:#20a879}.family-app .family-view-switch{display:flex;padding:3px;border:1px solid var(--line);background:#fff;border-radius:11px}.family-app .family-view-switch button{min-height:44px;padding-inline:20px;border:0;background:transparent;font-size:15px;font-weight:680}.family-app .family-view-switch [aria-pressed=true]{color:#fff;background:#187564}.family-live-meta{display:flex;justify-content:space-between;align-items:center;gap:12px}.family-app .family-live-meta .status-cluster{font-size:13px;gap:10px}.family-quality{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.family-app .family-quality select{min-height:36px;padding:0 30px 0 12px;font-size:13px;background:#fff}.family-app .family-live-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.family-app .family-camera-panel{display:grid;grid-template-columns:minmax(0,1fr) 252px;gap:18px;background:transparent;border:0;border-radius:0;overflow:visible;transition:none;transform:none;min-width:0}.family-video-column{min-width:0}.family-video-wrap{position:relative;border-radius:13px;overflow:hidden;background:#202b27}.family-app .family-video-wrap .video-frame{width:100%;aspect-ratio:16 / 9;background:#202b27}.family-app .family-video-wrap .video-frame>img,.family-app .family-video-wrap .video-frame>video{object-fit:contain}.family-app .video-frame[data-stream-state=loading]:before{color:#c7d4cd;font-size:15px}.family-app .video-frame[data-stream-state=error]:before{content:"\c601\c0c1  \c5f0\acb0\c744  \d655\c778\d574  \c8fc\c138\c694";position:absolute;inset:0;display:grid;place-items:center;color:#dbe4df;padding:28px;font-size:15px;text-align:center}.family-video-name{display:flex;align-items:center;gap:8px;position:absolute;top:14px;left:14px;z-index:5;color:#fff;background:#151f1cc2;border-radius:7px;padding:7px 12px;font-size:17px;font-weight:700;pointer-events:none}.family-video-name>span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#ffffff2b;font-size:12px}.family-app .family-camera-panel .panel-foot{display:flex;flex-wrap:wrap;justify-content:flex-start;padding:12px 0 0;min-height:30px;gap:6px 14px;font-size:13px;line-height:1.45}.family-camera-panel .panel-foot>strong{display:none}.family-camera-panel .panel-foot [data-stream-label]{margin-left:auto}.family-app .family-camera-panel .status.live{color:#187564}.family-app .family-camera-panel .status.error{color:#a44830}.family-app .family-camera-panel .camera-motion-status,.family-app .family-camera-panel .camera-capture-status{padding:10px 0 0;font-size:13px}.family-app .family-camera-actions{align-self:start;border:1px solid var(--line);border-radius:13px;background:#fff;padding:15px;display:grid;gap:9px}.family-camera-actions h2{font-size:18px;letter-spacing:-.03em;margin:0 0 10px}.family-direction-pad{display:grid;grid-template:repeat(3,51px) / repeat(3,51px);justify-content:center;align-items:center;gap:2px}.family-app .family-direction-pad button{display:grid;place-items:center;padding:0;border-radius:50%;min-height:48px;width:48px;font-size:28px;font-weight:450;background:#f4f7f5;border-color:#e6ece8;line-height:1}.family-direction-pad [data-family-direction=up]{grid-area:1 / 2}.family-direction-pad [data-family-direction=left]{grid-area:2 / 1}.family-app .family-direction-pad [data-family-stop]{grid-area:2 / 2;color:#fff;background:#187564;border-color:#187564;font-size:14px;font-weight:650}.family-direction-pad [data-family-direction=right]{grid-area:2 / 3}.family-direction-pad [data-family-direction=down]{grid-area:3 / 2}.family-control-note{color:var(--muted);font-size:12px;margin:8px 0 2px;text-align:center;line-height:1.5}.family-call-actions{display:grid;gap:6px;padding-top:9px;border-top:1px solid var(--line)}.family-camera-actions svg{width:20px;height:20px;flex:0 0 auto}.family-app .family-call-actions button,.family-app .family-quick-actions button{display:flex;align-items:center;justify-content:center;gap:9px;background:#fff;min-height:44px;font-size:15px;font-weight:650}.family-app .family-call-actions button:disabled{color:#718078;background:#f4f7f5;border-color:#e4ebe7;opacity:1;cursor:not-allowed}.family-audio-note{margin:-4px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}.family-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.family-app .family-quick-actions button{padding-inline:8px;font-size:13px;white-space:nowrap;gap:5px}.family-app .family-recordings-link{display:flex;align-items:center;gap:10px;padding-top:15px;margin-top:2px;min-height:48px;border-top:1px solid var(--line);text-decoration:none;color:var(--text);font-weight:650;font-size:14px}.family-recordings-link>span:last-child{margin-left:auto;font-size:22px;font-weight:400}.family-app .family-connection-options{color:var(--muted);font-size:12px;border-top:1px solid var(--line);padding-top:4px}.family-connection-options summary{min-height:32px;display:list-item;padding:7px 0;cursor:pointer}.family-app .family-connection-options button{font-size:12px;width:100%;margin-top:6px}.family-app .family-camera-panel:not(.is-preview) .video-frame:not(.video-expanded) .video-desktop-pad{display:none!important}.family-app .family-video-wrap .video-fullscreen{top:auto;bottom:10px;right:10px;width:40px;min-height:40px}.family-app .family-video-wrap .video-expanded .video-fullscreen{top:max(12px,env(safe-area-inset-top));bottom:auto}.family-touch-help{display:none}.family-preview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:3px 0 12px}.family-preview-heading h2{font-size:15px;font-weight:680;margin:0}.family-preview-heading>span{color:var(--muted);font-size:12px}.family-camera-previews{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.family-app .family-camera-panel.is-preview{display:block;position:relative;background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden}.family-app .family-camera-panel.is-preview.active{border-color:#187564}.is-preview .family-video-wrap{border-radius:0}.is-preview .family-camera-actions,.is-preview .family-connection-options,.is-preview .family-video-name,.is-preview .video-control-layer,.is-preview .family-touch-help,.is-preview .camera-motion-status,.is-preview .camera-capture-status{display:none!important}.family-preview-select{display:none}.family-app .is-preview .family-preview-select{display:block;position:absolute;inset:0;z-index:6;border:0;border-radius:0;background:transparent;width:100%;height:100%}.family-app .is-preview .family-preview-select:hover{background:#ffffff0d;transform:none}.family-app .is-preview .family-preview-select:focus-visible{outline:3px solid #187564;outline-offset:-3px}.family-app .is-preview .panel-foot{padding:11px 12px;display:grid;gap:3px}.is-preview .panel-foot>strong{display:block;color:var(--text);font-size:13px}.is-preview .panel-foot [data-stream-label]{display:block;color:var(--muted);font-size:11px}.family-camera-panel[data-stream-quality=main] .panel-foot [data-stream-label]{color:#187564;font-weight:650}.family-app .is-preview .panel-foot .status{font-size:11px;color:var(--muted)}.family-app .family-live-grid.is-all-view{grid-template-columns:repeat(2,minmax(0,1fr))}.family-app .family-unconnected{display:block;border:1px dashed #cdd9d2;border-radius:13px;background:#f1f5f2}.family-app .family-empty-camera{width:100%;aspect-ratio:16 / 9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:0;border-radius:inherit;background:transparent;color:var(--muted);font-size:14px;text-align:center}.family-app .family-empty-camera>strong{color:#53685c;font-size:18px}.family-empty-icon svg{width:34px;height:34px;color:#94a89b}.family-empty-detail{margin:0;padding:0 20px 24px;color:var(--muted);font-size:14px;text-align:center}.family-app .is-preview .family-empty-camera{aspect-ratio:auto;min-height:100%;padding:22px 10px;gap:8px;font-size:11px}.family-app .is-preview .family-empty-camera>strong{font-size:13px}.is-preview .family-empty-detail{display:none}.family-app .family-capture-settings{display:grid;gap:10px;padding:18px 0;border-top:1px solid var(--line);margin-top:16px}.family-app .family-capture-settings .capture-actions{max-width:440px}.family-app .viewer-options{margin-top:2px;padding-top:6px}.family-app .viewer-options .account-actions{display:flex;flex-wrap:wrap;gap:8px}.family-app button:focus-visible,.family-app .family-recordings-link:focus-visible{outline:3px solid #338b77;outline-offset:3px}.family-app .family-camera-actions button:disabled{transform:none}.family-app [hidden]{display:none!important}@media(max-width:1240px){.family-app .family-live-workspace{padding:24px}.family-app .family-camera-panel{grid-template-columns:minmax(0,1fr) 220px;gap:14px}.family-app .family-camera-actions{padding:15px}.family-live-heading-actions{gap:15px}.family-app .family-view-switch button{padding-inline:13px;font-size:14px}.family-camera-previews{gap:10px}}@media(min-width:761px)and (max-width:1080px){.family-connection{display:none}.family-app .family-camera-panel{grid-template-columns:minmax(0,1fr)}.family-app .family-camera-actions{display:grid;grid-template-columns:1fr 1fr}.family-direction-section{grid-row:span 3}.family-app .family-call-actions{padding-top:0;border-top:0}.family-app .family-recordings-link,.family-app .family-connection-options{grid-column:2}.family-camera-previews{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(pointer:coarse)and (max-width:768px),(pointer:coarse)and (max-width:1024px)and (max-height:768px){.family-direction-section{display:none}.family-app .family-camera-panel:not(.is-preview) .family-touch-help{display:block;margin:9px 0 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.5}}@media(max-width:760px){.family-app .family-live-workspace{padding:18px 16px 20px;gap:14px}.family-app .family-live-header{gap:12px;align-items:center}.family-app .family-live-header h1{font-size:26px}.family-live-subtitle,.family-connection{display:none}.family-app .family-view-switch{padding:2px;border-radius:9px}.family-app .family-view-switch button{padding-inline:11px;min-height:38px;font-size:12px}.family-app .family-live-meta .status-cluster{font-size:11px;display:block}.family-live-meta #currentUser{display:none}.family-quality{gap:7px;font-size:11px}.family-app .family-quality select{min-height:32px;font-size:11px;max-width:124px;padding-left:8px}.family-app .family-camera-panel{grid-template-columns:minmax(0,1fr);gap:13px}.family-video-name{left:10px;top:10px;font-size:13px;padding:5px 8px;gap:6px}.family-video-name>span{width:19px;height:19px;font-size:11px}.family-app .family-camera-panel .panel-foot{font-size:11px;padding-top:9px;gap:4px 8px}.family-app .family-camera-actions{padding:13px;gap:10px}.family-call-actions{grid-template-columns:repeat(2,minmax(0,1fr));border:0;padding:0}.family-app .family-call-actions button,.family-app .family-quick-actions button{min-height:46px;font-size:14px}.family-audio-note{font-size:11px;text-align:center}.family-app .family-recordings-link{padding-top:10px;min-height:43px;font-size:14px}.family-camera-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.family-app .family-live-grid.is-all-view{gap:12px}.family-app .is-preview .panel-foot{padding:9px 10px;font-size:11px}.family-app .is-preview .family-empty-camera{padding:17px 8px;min-height:146px}.family-app .family-empty-camera>strong{font-size:17px}.family-empty-detail{font-size:12px;padding:0 16px 20px}.family-app .family-capture-settings .capture-actions{max-width:none}}@media(prefers-reduced-motion:reduce){.family-app .family-live-workspace button{transition:none}}@media(max-width:760px){.family-app .family-camera-actions{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:6px;row-gap:10px}.family-direction-section{grid-column:1 / -1}.family-call-actions,.family-quick-actions{display:contents}.family-app .family-call-actions button,.family-app .family-quick-actions button{display:flex;flex-direction:column;gap:7px;border:0;padding:0;min-height:76px;border-radius:8px;background:transparent;font-size:12px;line-height:1.2}.family-camera-actions svg{width:45px;height:45px;padding:11px;border-radius:50%;background:#f2f6f3}.family-app .family-call-actions button:disabled{border:0;background:transparent;color:#849087}.family-call-actions button:first-child{order:2}.family-call-actions button:last-child{order:1}.family-quick-actions button:first-child{order:3}.family-quick-actions button:last-child{order:4}.family-audio-note{grid-column:1 / -1;order:5;margin-top:0}.family-app .family-recordings-link{grid-column:1 / -1;order:6}.family-recordings-link svg{width:20px;height:20px;padding:0;background:transparent;border-radius:0}.family-app .family-connection-options{grid-column:1 / -1;order:7}.family-app .video-edge span{display:grid;place-items:center;width:32px;height:32px;font-size:22px;border-radius:50%;background:#141e1a7a;border:1px solid rgb(255 255 255 / .4);text-shadow:none;opacity:.82}.family-app .edge-up span{top:4%;left:calc(50% - 16px)}.family-app .edge-down span{bottom:4%;left:calc(50% - 16px)}.family-app .edge-left span{left:3%;top:calc(50% - 16px)}.family-app .edge-right span{right:3%;top:calc(50% - 16px)}}.family-app .family-video-column>.family-connection-options{border-top:0;padding:2px 0 0;margin:3px 0 0}.family-app .family-video-column>.family-connection-options button{width:auto;margin:2px 7px 3px 0;min-height:36px}body.family-app{color-scheme:light;--bg:#f6f8f5;--page:#f6f8f5;--paper:#fff;--panel:#fff;--panel-strong:#f0f4f1;--text:#1b2830;--ink:#1b2830;--muted:#66766f;--faint:#77857e;--line:#e0e8e3;--line-strong:#c4d2ca;--accent:#137764;--accent-ink:#137764;--accent-soft:#e0f4ed;--rail:#edf3ef;--app-surface:#fff;--app-ink:#1b2830;--app-muted:#66766f;--app-accent:#137764;--app-line:#e0e8e3;margin:0;padding:0 0 0 248px;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,Segoe UI,sans-serif}.family-app [data-global-nav]{display:none!important}.family-app button,.family-app input,.family-app select{color-scheme:light}.family-app dialog{background:#fff;color:var(--text);border:1px solid var(--line);box-shadow:0 24px 90px #172e2933}.family-app dialog::backdrop{background:#12271f66}.family-sidebar{position:fixed;z-index:35;inset:0 auto 0 0;width:248px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 18px 18px;gap:0;box-sizing:border-box}.family-brand{display:flex;align-items:center;gap:11px;color:#1b2830;white-space:nowrap}.family-brand strong{font-size:22px;font-weight:800;letter-spacing:-.06em}.family-brand-mark{display:grid;place-items:center;width:37px;height:37px;color:#137764}.family-brand svg{width:33px;height:33px}.family-sidebar>.family-brand{padding:0 8px;margin-bottom:37px}.family-main-nav{display:grid;gap:7px}.family-main-nav a,.family-bottom-nav a{display:flex;align-items:center;gap:14px;color:#65756d;font-size:16px;font-weight:650;text-decoration:none;border-radius:10px;padding:0 17px;min-height:52px;transition:background .14s,color .14s}.family-main-nav svg,.family-bottom-nav svg,.family-settings svg,.family-mobile-settings svg{width:23px;height:23px;flex:0 0 auto}.family-main-nav a[aria-current=page]{background:#137764;color:#fff}.family-main-nav a:hover:not([aria-current]){background:#edf6f1;color:#137764}.family-camera-heading{display:flex;justify-content:space-between;align-items:baseline;padding:28px 12px 13px;font-size:13px;color:#6b7b72}.family-camera-heading strong{font-weight:650;color:#53665a}.family-camera-heading span{font-size:11px}.family-layout-notice{margin:0 12px 12px;font-size:12px;line-height:1.5;color:#66766f}.family-sidebar-cameras{display:grid;gap:6px;overflow:auto;align-content:start;min-height:0;padding:2px}.family-app .family-camera-choice{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:9px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#3e5147;text-align:left;font:inherit;cursor:pointer}.family-app .family-camera-choice:hover{background:#f3f7f4;border-color:transparent}.family-app .family-camera-choice[aria-pressed=true]{border-color:#bedfcf;background:#e7f5ed;color:#116a56}.family-camera-number{display:grid;place-items:center;width:27px;height:27px;flex:0 0 auto;border-radius:50%;background:#edf1ee;color:#63766b;font-size:12px;font-weight:700}.family-camera-choice[aria-pressed=true] .family-camera-number{background:#137764;color:#fff}.family-camera-copy{display:grid;gap:3px;min-width:0;flex:1}.family-camera-copy strong{font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.family-camera-copy small{color:#738278;font-size:10px;line-height:1.2}.family-camera-dot{width:6px;height:6px;border-radius:50%;background:#b7c2bb;flex:0 0 auto}.family-camera-choice[data-state=live] .family-camera-dot{background:#1ba276}.family-camera-choice[data-state=error] .family-camera-dot{background:#be7449}.family-settings{display:flex;align-items:center;gap:12px;min-height:52px;padding:13px 12px 0;margin-top:auto;color:#66766f;text-decoration:none;font-size:13px;border-top:1px solid var(--line)}.family-settings:hover{color:#137764}.family-sidebar-cameras+.family-settings{margin-top:auto}.family-sidebar-cameras{margin-bottom:22px}.family-mobile-header,.family-bottom-nav{display:none}.family-sidebar a:focus-visible,.family-camera-choice:focus-visible,.family-mobile-header a:focus-visible,.family-mobile-header select:focus-visible,.family-bottom-nav a:focus-visible{outline:3px solid #338b77;outline-offset:2px}.family-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:760px){body.family-app{padding:calc(112px + env(safe-area-inset-top)) 0 calc(74px + env(safe-area-inset-bottom))}.family-sidebar{display:none}.family-mobile-header{display:grid;grid-template-columns:1fr auto;gap:7px 14px;position:fixed;z-index:35;inset:0 0 auto;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:#f6f8f5f5;border-bottom:1px solid var(--line);box-sizing:border-box;min-height:112px}.family-mobile-header .family-brand{gap:8px}.family-mobile-header .family-brand strong{font-size:20px}.family-mobile-header .family-brand-mark{width:28px;height:28px}.family-mobile-header .family-brand svg{width:28px;height:28px}.family-mobile-settings{display:grid;place-items:center;width:44px;height:36px;color:#465a4e}.family-mobile-picker{display:block;grid-column:1 / -1;margin:0}.family-app .family-mobile-picker select{display:block;width:100%;height:44px;padding:8px 13px;border:1px solid #dce6df;border-radius:9px;background:#fff;color:#263d30;font-family:inherit;font-size:15px;font-weight:650}.family-bottom-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:fixed;z-index:35;inset:auto 0 0;padding:6px 10px calc(6px + env(safe-area-inset-bottom));gap:5px;background:#fffffff5;border-top:1px solid var(--line);box-sizing:border-box}.family-bottom-nav a{flex-direction:column;justify-content:center;min-height:61px;gap:5px;padding:5px 0;font-size:12px;line-height:1.3;border-radius:10px}.family-bottom-nav a[aria-current=page]{color:#116e5c;background:#e1f3ec}.family-bottom-nav svg{width:23px;height:23px}}@media(prefers-reduced-motion:reduce){.family-main-nav a,.family-bottom-nav a{transition:none}}
