:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#152836;background:#edf2f4;color-scheme:light;font-synthesis:none;--muted: #546675;--navy: #101e2c;--line: #d8e3e8;--accent: #007b69;--mint: #82edcd;--white: #fff}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-width:300px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}:focus-visible{outline:3px solid #16866e;outline-offset:4px}svg{flex:none;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:clamp(2rem,5vw,3.35rem);letter-spacing:-.045em;line-height:1.06}h2{font-size:1.4rem;letter-spacing:-.025em;line-height:1.25}a{color:var(--accent)}label{display:block;font-size:.9rem;font-weight:650;margin-bottom:.5rem}input{background:#fff;border:1px solid #bccbd4;border-radius:.65rem;color:#152836;min-height:2.9rem;padding:.65rem .75rem;width:100%}input::placeholder{color:#617483}input:disabled{background:#f3f6f7}.muted{color:var(--muted)}.container{width:min(100% - 3rem,73rem);margin-inline:auto}.initial{padding:3rem 1.5rem;text-align:center}.button{align-items:center;border:1px solid transparent;border-radius:.65rem;display:inline-flex;font-size:.9rem;font-weight:700;gap:.48rem;justify-content:center;min-height:2.75rem;padding:.55rem .85rem;text-decoration:none;transition:background .15s ease,border-color .15s ease;white-space:nowrap}.button svg{width:1.1rem;height:1.1rem}.primary{background:var(--accent);color:var(--white)}.primary:hover:not(:disabled){background:#056452}.secondary{background:var(--white);border-color:#cbd9e0;color:#173244}.secondary:hover:not(:disabled){background:#e7f5f1;border-color:#91b8ae}.quiet{background:transparent;color:inherit}.quiet:hover:not(:disabled){background:#deeeeb}.icon-only{min-width:2.75rem;padding-inline:.55rem}.notice{border:1px solid #c0dfd4;border-radius:.6rem;background:#ebfaf4;color:#135744;font-size:.88rem;line-height:1.4;padding:.65rem .75rem}.notice.error{border-color:#f0cccc;background:#fff1f1;color:#8d212c}.brand{display:inline-flex;align-items:center;gap:.7rem;font-size:1.17rem;letter-spacing:-.035em;font-weight:650}.brand b{font-weight:800}.brand-icon{display:grid;place-items:center;background:var(--mint);color:#0e302e;height:2.4rem;width:2.4rem;border-radius:.72rem}.brand-icon svg{width:1.35rem;height:1.35rem}.eyebrow{display:flex;align-items:center;gap:.55rem;font-size:.69rem;font-weight:800;letter-spacing:.18em;color:#9df0d7}.eyebrow span{width:.42rem;height:.42rem;border-radius:50%;background:currentColor}.login-layout{display:grid;grid-template-columns:1.15fr 1fr;min-height:100svh}.login-hero,.hero{color:#fff;background-color:var(--navy);background-image:radial-gradient(ellipse at 105% 95%,#26675d 0%,transparent 50%),radial-gradient(circle at 105% -15%,#284255 0%,transparent 42%)}.login-hero{padding:clamp(1.75rem,6vw,6rem);display:flex;flex-direction:column;justify-content:space-between;min-height:32rem}.login-intro h1{font-size:clamp(2.9rem,6.1vw,6rem);margin-block:1.15rem}.login-intro>p:last-child{color:#c6d8e2;font-size:1.08rem;line-height:1.5;max-width:27ch}.login-caption{display:flex;align-items:center;gap:.6rem;color:#bcd4d8;font-size:.88rem}.login-caption svg{width:1rem;height:1rem}.login-form-wrap{display:grid;place-items:center;padding:2rem}.login-form{width:min(100%,25rem);background:#fff;border:1px solid var(--line);border-radius:1.2rem;padding:clamp(1.35rem,4vw,2.35rem);box-shadow:0 12px 35px #1a34400d}.login-form h2{margin-top:1.2rem;font-size:1.65rem}.login-form .muted,dialog .muted{line-height:1.5;margin-block:.5rem 1.35rem}.login-form .primary,#add-form .primary{justify-content:space-between;width:100%;margin-top:.9rem}.login-form .notice{margin-top:.75rem}.section-icon{background:#dff7ee;border-radius:.75rem;color:#006653;width:2.75rem;height:2.75rem;display:grid;place-items:center}.topbar{background:var(--navy);color:#edf6f8}.topbar-content{align-items:center;display:flex;justify-content:space-between;min-height:4.4rem;gap:1rem}.topbar .quiet{color:#deecee}.topbar .quiet:hover:not(:disabled){background:#ffffff14}.topbar :focus-visible,.hero :focus-visible,.video-card :focus-visible{outline-color:var(--mint)}.hero{display:flex;align-items:end;justify-content:space-between;gap:1.25rem;border-radius:1.1rem;margin-block:1.8rem;padding:clamp(1.3rem,3.7vw,3.35rem)}.hero h1{margin:.75rem 0}.hero p:last-child{color:#d0e0e8;line-height:1.5}.hero .primary{background:var(--mint);color:#123632}.hero .primary:hover{background:#aaefdb}.fleet{margin-bottom:3rem}.section-head{display:flex;gap:.8rem;align-items:center;justify-content:space-between;margin-bottom:1rem}.section-head .muted{font-size:.9rem;margin-top:.25rem}.device-list{display:grid;gap:.6rem;list-style:none;margin:0;padding:0}.device{display:grid;grid-template-columns:2.55rem minmax(9rem,1.2fr) minmax(6rem,1fr) auto auto;gap:1rem;align-items:center;padding:.85rem 1rem;border-radius:.8rem;border:1px solid var(--line);background:#fff}.device-icon{background:#e2f2f0;border-radius:.62rem;color:#15705f;height:2.55rem;width:2.55rem;display:grid;place-items:center}.device-name,.device-details{min-width:0;overflow-wrap:anywhere}.device-name h3{font-size:1rem;font-weight:750}.device-id,.device-details{font-size:.85rem}.device-id{margin-top:.18rem}.device-details{display:grid;gap:.16rem}.badge{display:inline-flex;align-items:center;width:max-content;gap:.35rem;font-size:.75rem;padding:.32rem .57rem;border-radius:999px;color:#485866;background:#edf1f4;font-weight:720;white-space:nowrap}.badge:before{content:"";background:currentColor;width:.38rem;height:.38rem;border-radius:50%}.badge.online{color:#096145;background:#def6e9}.empty{padding:2rem 1rem;background:#fff;border:1px dashed #bcced5;border-radius:.75rem;text-align:center;color:var(--muted)}.fleet>.notice{margin-bottom:.85rem}dialog{background:#fff;color:#152836;border:1px solid var(--line);border-radius:1rem;padding:1.6rem;width:min(100% - 2rem,30rem);max-height:calc(100dvh - 2rem);box-shadow:0 15px 55px #10233155}dialog::backdrop{background:#101e2c96}dialog h2{margin-top:1rem}.dialog-close{position:absolute;top:.75rem;right:.75rem;background:#edf2f4;color:#152836}.dialog-close:hover:not(:disabled){background:#deeeeb}.setup-steps{margin:1.25rem 0 0;padding-left:1.15rem;line-height:1.5;color:#2d4150;font-size:.9rem}.setup-steps li+li{margin-top:.55rem}dialog .notice{margin-top:.85rem}.control-top{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-block:1.25rem}.control-top>div{min-width:0}.control-top h1{font-size:clamp(1.7rem,4vw,2.65rem);margin:.5rem 0 .35rem;overflow-wrap:anywhere}.control-top .return{padding-inline:0;justify-content:start;color:#086454}.control-meta{font-size:.87rem;overflow-wrap:anywhere}.control-layout{display:grid;grid-template-columns:minmax(0,1fr) 20rem;align-items:start;gap:1rem;padding-bottom:3rem}.video-card,.remote{border-radius:.95rem;overflow:hidden;border:1px solid var(--line)}.video-card{background:#101e2c;color:#e7f1f4}.video-head{min-height:3.45rem;padding:.65rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:.4rem;font-size:.85rem;font-weight:700}.video-head .badge:not(.online){color:#d5e4ec;background:#ffffff20}.video-stage{aspect-ratio:16 / 9;position:relative;display:grid;place-items:center;background:#09131d}.video-stage canvas{display:block;position:absolute;width:100%;height:100%;object-fit:contain;cursor:crosshair;touch-action:manipulation}.video-stage canvas[aria-busy=true]{cursor:progress}.tap-hint{color:#c1d6df;font-size:.82rem;padding:.7rem 1rem}.video-state{align-self:stretch;display:grid;place-items:center;align-content:center;gap:.6rem;padding:.75rem;text-align:center}.video-icon{display:grid;place-items:center;color:var(--mint);border:1px solid #345662;border-radius:.75rem;width:2.6rem;height:2.6rem}.video-state p{color:#d4e4e9;font-size:.9rem;line-height:1.4;max-width:35ch}.remote{background:#fff;padding:1rem}.dpad{display:grid;justify-content:center;grid-template-columns:repeat(3,3.15rem);gap:.35rem;margin:1rem 0 1.25rem}.remote-key{display:flex;align-items:center;justify-content:center;gap:.42rem;min-height:2.7rem;border:1px solid #cddce1;border-radius:.64rem;color:#223a48;background:#f0f5f6;font-weight:700}.remote-key:hover:not(:disabled){background:#daf1e9;border-color:#8fb8ab}.remote-key:active:not(:disabled){background:#c3ebde}.remote-key svg{width:1.15rem;height:1.15rem}.dpad [data-action=up]{grid-column:2}.dpad [data-action=left]{grid-column:1;grid-row:2}.dpad [data-action=ok]{grid-column:2;grid-row:2;color:#fff;background:#007b69;border-color:#007b69}.dpad [data-action=ok]:hover:not(:disabled){color:#fff;background:#056452}.dpad [data-action=right]{grid-column:3;grid-row:2}.dpad [data-action=down]{grid-column:2;grid-row:3}.remote-shortcuts{display:grid;gap:.4rem;grid-template-columns:repeat(3,minmax(0,1fr))}.remote-shortcuts .wide{font-size:.75rem;padding:.28rem .25rem}.remote-shortcuts .wide:last-child{grid-column:span 2}.text-form{margin-top:1rem;padding-top:.9rem;border-top:1px solid var(--line)}.text-field{display:flex;gap:.45rem}.text-field input{min-width:0}.text-help{font-size:.76rem;margin-top:.4rem}.remote .notice{margin-top:.7rem}@media(max-width:800px){.control-layout{grid-template-columns:minmax(0,1fr)}.remote{width:min(100%,35rem)}.device{gap:.65rem}}@media(max-width:620px){.container{width:calc(100% - 1.5rem)}.login-layout{grid-template-columns:1fr;align-content:start}.login-hero{min-height:18rem;gap:1.1rem}.login-intro h1{font-size:clamp(2.4rem,8vw,3.5rem);margin-block:.65rem}.login-form-wrap{padding:1.2rem .75rem}.hero{align-items:start;flex-direction:column;margin-block:1rem}.device{grid-template-columns:2.55rem minmax(0,1fr) auto}.device-details{grid-column:2;grid-row:2}.device>button{grid-column:3;grid-row:2}}@media(max-width:360px){.device{grid-template-columns:minmax(0,1fr) auto}.device-icon{display:none}.device-details{grid-column:1}.device>button{grid-column:2}.control-top{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}
