.login-screen{min-height:100svh;display:grid;place-items:center;padding:20px;background:radial-gradient(ellipse at 75% 20%,#322039aa,transparent 56%),#100f16}
.login-box{width:min(410px,100%);padding:32px;border:1px solid #574755;border-radius:23px;background:linear-gradient(135deg,#28202c,#1c1821);box-shadow:0 30px 80px #0006}
.login-box .identity{font-size:1.55rem}.login-box .identity img{width:30px;height:30px}.login-box h1{font-size:3.45rem;margin:24px 0}.login-box label{display:block;font-size:.88rem;color:#e9dace}.login-box input{display:block;width:100%;background:#15131b;color:var(--white);border:1px solid #685665;border-radius:10px;min-height:46px;padding:10px 13px;margin:7px 0 12px}.login-box .sheet-primary{margin:0;background:var(--gold);color:#231d20}
.form-error{font-size:.85rem;color:#f2b8b8}.form-error:not(:empty){margin-top:12px}
.login-version{font-size:.78rem;font-weight:500;color:#d6c6be}.login-hint{font-size:.85rem;line-height:1.5;color:#d6c6be;margin:5px 0 10px}
.net-badge{display:flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid #ffffff22;border-radius:18px;font-size:.78rem}.net-badge i{width:6px;height:6px;border-radius:50%;background:#d9b58b}.net-badge[data-connected="true"] i{background:#91d4ae}
#live-notice{margin:12px 0;color:var(--gold);background:#2d2528;border:1px solid #634f4b;border-radius:11px;padding:10px 13px;font-size:.88rem}
.live-settings{display:grid;gap:8px}.live-settings button,.live-settings a,.device-list-row{display:flex;align-items:center;justify-content:space-between;border:1px solid #ffffff23;background:#ffffff05;border-radius:10px;min-height:44px;padding:10px 12px;text-align:left}.live-settings small{color:var(--muted)}.live-settings .section-split{margin-top:11px}.live-settings .signout{color:#edbfc9}
.device-list-row{margin:6px 0;gap:6px}.device-list-row label{flex:1;display:flex;align-items:center;gap:9px}.device-list-row input{width:18px;height:18px;accent-color:var(--gold)}.device-list-row button{padding:4px 8px;min-height:34px}.live-access .sheet-note{margin-top:0}.sheet-error{color:#f0adab}.sheet-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
#details .sheet-primary{width:100%}.toast{z-index:99}.live-unlinked{opacity:.88}
#live-notice button{font-weight:650;color:#ffdfb7;text-decoration:underline;text-underline-offset:3px;min-height:32px;margin-left:4px}
.empty-room{grid-column:1/-1;border:1px dashed #514757;border-radius:16px;text-align:center;padding:22px;color:var(--muted)}.empty-room button{margin-top:10px}
.motion-paused *,.motion-paused *::before,.motion-paused *::after{animation-play-state:paused!important}
[data-live-feedback]{padding:0 16px 16px;color:#f3cba6}
.card-contact{display:flex;align-items:center;gap:7px;min-height:29px;margin:0;padding:5px 17px 7px;background:#0d0c1629;color:#e0d5dc;font-size:.77rem;line-height:1.35;overflow-wrap:anywhere}.card-contact svg{width:14px;height:14px;flex:none;color:#e1c3aa}.card-contact time{font-variant-numeric:tabular-nums}

.device-list-row label,.device-restore-row strong{min-width:0;overflow-wrap:anywhere}
.device-list-row input{flex:none}.device-list-row .device-bin{display:grid;place-items:center;min-width:36px;min-height:40px;color:#e5aeb7}
.device-bin svg{width:20px;height:20px}.device-remove-link{display:block;margin:14px auto 0;min-height:40px;padding:4px 12px;color:#e5aeb7;background:transparent}
.device-remove-question{font-size:1.04rem;line-height:1.5;overflow-wrap:anywhere}
.device-confirm-actions{display:flex;gap:8px;margin-top:16px}.device-confirm-actions .sheet-secondary,.device-confirm{margin:0;flex:1 1 0;min-height:44px;border-radius:10px}
.device-confirm{background:#f2b5bd;color:#35171d;font-weight:650;padding:6px 12px}
.device-restore-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ffffff20;padding:.6rem 0}
.device-restore-row .sheet-choice{flex:none}
