@font-face{font-family:Inter;src:url('/fonts/Inter-Variable.ttf') format('truetype');font-display:swap}:root{color-scheme:dark;--bg:#18191b;--surface:#1e2022;--text:#c5c7ca;--muted:#92969c;--line:#34373c;--accent:#327ba8;--accent-text:#fff;--radius:12px;font:13px/1.6 Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}:root[data-mode=light]{color-scheme:light;--bg:#f5f5f5;--surface:#fff;--text:#33363c;--muted:#686d75;--line:#dfe2e6}:root[data-accent=green]{--accent:#287963}:root[data-accent=purple]{--accent:#7853a6}:root[data-accent=orange]{--accent:#a66322}:root[data-accent=red]{--accent:#b04755}:root[data-shape=flat]{--radius:0}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:var(--accent)}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.skip{position:fixed;top:-100px;left:15px;background:var(--surface);padding:12px;z-index:100}.skip:focus{top:10px}.topbar{position:fixed;inset:0 0 auto;height:100px;display:flex;align-items:center;padding:0 42px;gap:24px;background:var(--surface);box-shadow:0 2px 15px #0002;z-index:30}.topbar>button{font-size:25px;background:transparent;border:0;padding:10px;color:var(--muted)}.brand{display:flex;align-items:center;gap:9px;font-size:22px;font-weight:650;color:var(--text);text-decoration:none;position:absolute;left:50%;transform:translateX(-50%)}.brand span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);align-self:flex-end;margin-bottom:6px}.header-actions{display:flex;align-items:center;gap:22px;margin-left:auto}.header-actions>button{background:none;border:0;font-size:24px}.language{font-size:11px;border-bottom:1px solid var(--line)}.account-menu{position:relative;margin:0}.account-menu summary{display:grid;grid-template-columns:1fr 40px;column-gap:15px;text-align:right;list-style:none;cursor:pointer;min-width:140px}.account-menu summary strong{font-weight:400;font-size:11px;color:var(--muted)}.avatar{grid-column:2;grid-row:1/3;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;width:40px;height:40px;font-size:20px}.account-menu>div{position:absolute;right:0;top:55px;width:210px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 25px #0004;padding:10px;display:grid}.account-menu>div>*{display:block;text-align:left;border:0;background:transparent;color:var(--text);padding:10px;text-decoration:none}.account-menu>div>*:hover{background:var(--bg)}#nav{position:fixed;top:100px;bottom:0;left:0;width:120px;overflow-y:auto;background:var(--surface);border-right:1px solid var(--line);z-index:25;padding:7px 0 20px}#nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:80px;padding:13px 7px;background:transparent;color:var(--muted);border:0;border-bottom:1px solid var(--line);border-radius:0;font-size:11px;text-align:center;line-height:1.4;position:relative}#nav .nav-icon{font-family:Arial,sans-serif;font-size:25px;line-height:1.1;margin-bottom:8px}#nav button:hover,#nav button[aria-current=page]{color:var(--accent);background:var(--bg)}#nav button[aria-current=page]:before{content:'';position:absolute;left:0;top:15px;bottom:15px;width:4px;background:var(--accent);border-radius:0 4px 4px 0}.shell{margin-left:120px;padding:140px 60px 32px;max-width:1800px}.intro{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:10px}.intro h1{font-size:26px;line-height:1.2;font-weight:450;margin:5px 0 12px}.intro>p:last-child{margin:0;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.14em;color:var(--muted);margin:0 0 8px}h2{font-size:18px;font-weight:500;margin:0 0 22px}h3{font-size:15px;font-weight:550}.panel,.card{background:var(--surface);border-radius:var(--radius);padding:28px;margin:20px 0;box-shadow:0 3px 10px #0001}.grid,.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.grid .card,.stats .card{margin:16px 0}.stat{text-align:center;min-height:135px;display:flex;flex-direction:column;justify-content:center}.stat p{margin:0;color:var(--muted)}.stat strong,.number{font-size:31px;font-weight:400;color:var(--accent)}.price{font-size:26px;margin:8px 0}small,.muted{color:var(--muted)}.badge{display:inline-block;border:1px solid var(--line);border-radius:20px;color:var(--accent);padding:3px 12px}.table-wrap{overflow:auto;margin:24px 0 16px}table{border-collapse:collapse;width:100%;font-size:12px}th,td{padding:17px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--line);min-width:90px}th{font-size:11px;font-weight:550;color:var(--muted);white-space:nowrap}td:first-child{overflow-wrap:anywhere;max-width:220px}th:first-child,td:first-child{padding-left:0}.row-actions{min-width:155px}.row-actions button{font-size:10px;padding:5px 9px;margin:3px}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}button,.button{display:inline-block;cursor:pointer;color:var(--text);background:transparent;border:1px solid var(--line);border-radius:50px;padding:9px 18px;text-decoration:none}button:hover,.button:hover{background:var(--bg);border-color:var(--accent)}button:disabled{opacity:.45;cursor:default}.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:550}.primary:hover{filter:brightness(1.15);background:var(--accent)}label{display:grid;gap:6px;margin:16px 0;max-width:560px;color:var(--muted);font-size:12px}.check{display:flex;align-items:flex-start;gap:10px}.check input{width:17px;height:20px;margin:0}input,select,textarea{width:100%;background:var(--bg);color:var(--text);border:1px solid var(--line);padding:10px 12px;border-radius:3px;min-height:40px}textarea{min-height:90px;resize:vertical}.filter-grid{display:grid;grid-template-columns:2fr 1.2fr 1.2fr .65fr auto;gap:15px;align-items:end}.filter-grid label{margin:0}.filter-grid>button{margin-bottom:0;min-height:40px}.detail-grid{display:grid;grid-template-columns:150px 1fr;gap:12px 25px}.detail-grid dt{color:var(--muted)}.detail-grid dd{margin:0;overflow-wrap:anywhere}#status{color:var(--accent);min-height:24px;margin:9px 0;overflow-wrap:anywhere}#content:focus{outline:0}footer{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:var(--radius);padding:30px;width:min(560px,calc(100vw - 30px));max-height:85vh;overflow:auto}dialog::backdrop{background:#0009}dialog .actions{justify-content:flex-end}code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:15px;background:var(--bg)}details{margin:18px 0}summary{cursor:pointer}#menu-backdrop{display:none}@media(max-width:1100px){.shell{padding-left:30px;padding-right:30px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid,.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{position:static;transform:none}.header-actions{gap:12px}.topbar{padding:0 25px}}@media(max-width:650px){.topbar{height:70px;padding:0 12px;gap:7px}.brand{font-size:16px;gap:6px}.brand img{width:24px;height:29px}.brand span{display:none}.header-actions{gap:8px}.header-actions>button,.language{display:none}.account-menu summary{min-width:0;grid-template-columns:1fr 30px;column-gap:7px;max-width:155px;font-size:10px}.account-menu summary>span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-menu summary strong{font-size:10px}.avatar{width:30px;height:30px;font-size:16px}.account-menu>div{top:40px}.topbar>button{font-size:20px;padding:9px}#nav{top:70px;width:100px;transform:translateX(-100%);transition:transform .2s}#nav button{min-height:75px;font-size:10px}.menu-open #nav{transform:translateX(0)}.menu-open #menu-backdrop{display:block;position:fixed;inset:70px 0 0;background:#0007;z-index:24;border:0;border-radius:0;width:100%}.shell{margin-left:0;padding:95px 15px 25px}.intro h1{font-size:23px}.intro{padding-bottom:16px}.panel,.card{padding:20px}.stats{display:flex;overflow-x:auto;gap:12px}.stats .stat{min-width:140px;margin:8px 0}.grid{grid-template-columns:1fr}.filter-grid{grid-template-columns:1fr 1fr;gap:12px}.filter-grid>label:first-child{grid-column:1/-1}.detail-grid{grid-template-columns:95px 1fr;gap:12px}.actions button{font-size:11px;padding:9px 13px}th,td{padding:12px 9px}.panel h2{font-size:17px}}

#nav .nav-icon{display:block;width:25px;height:25px;background:currentColor;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat}

#nav .nav-group{margin:0;border-bottom:1px solid var(--line)}#nav .nav-group>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80px;padding:13px 7px;color:var(--muted);font-size:11px;text-align:center;line-height:1.4;list-style:none}#nav .nav-group>summary:hover,#nav .nav-group[open]>summary{color:var(--accent)}#nav .nav-group>div{background:var(--bg)}#nav .nav-group>div button{min-height:44px;padding:10px 8px;font-size:10px;border:0}#nav .nav-group>div .nav-icon{display:none}

th button{padding:0;border:0;border-radius:0;font:inherit;color:inherit;text-align:left}th button:hover{background:none;color:var(--accent)}

@media(min-width:651px){.sidebar-collapsed #nav{transform:translateX(-100%)}.sidebar-collapsed .shell{margin-left:0}}@media(max-width:650px){#nav{visibility:hidden}.menu-open #nav{visibility:visible}}

/* Device detail and playlist operation follow the reference flow, with PrivaPlayer surfaces. */
:root{--bg:#0b1523;--surface:#172637;--text:#edf3fa;--muted:#a8b8c9;--line:#35485d;--accent:#83cfff;--accent-text:#09243b}
:root[data-mode=light]{--bg:#f1f5fa;--surface:#fff;--text:#243547;--muted:#556b7e;--line:#ccd9e5;--accent:#176a9d;--accent-text:#fff}
.device-status{background:transparent;box-shadow:none;padding:10px 0 22px;border-bottom:1px solid var(--line);border-radius:0}
.device-status h2{margin-bottom:18px}.device-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 50px;margin:0}.device-status-grid>div{min-width:0}.device-status-grid dt{color:var(--muted);font-size:12px;margin-bottom:7px}.device-status-grid dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.license-state{display:inline-block;border-radius:18px;background:var(--bg);padding:3px 12px;font-size:12px}.license-state[data-state=active]{color:#a1e5c1;background:#194438}.device-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.device-actions button{font-size:11px}.playlist-panel{position:relative}.playlist-panel>h2{font-size:17px;margin-bottom:16px}.playlist-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.playlist-panel>.muted{font-size:12px;max-width:800px}.playlist-panel table{min-width:850px}.playlist-panel th:first-child,.playlist-panel td:first-child{min-width:130px}.playlist-panel td{overflow-wrap:anywhere}.empty-playlists{text-align:center;padding:38px;color:var(--muted)}.playlist-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}.playlist-pagination label{margin:0;font-size:11px;min-width:65px;max-width:100px}.playlist-pagination .actions{margin:0 auto}.playlist-pagination>span{color:var(--muted);font-size:12px}.playlist-dialog{padding:0;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overscroll-behavior:contain}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:1}.dialog-heading h2{margin:0;font-size:19px}.dialog-close{font-size:0;width:36px;height:36px;padding:8px;flex:0 0 auto;border-radius:50%}.dialog-close:after{content:'';display:block;width:18px;height:18px;background:var(--text);mask:url('/design-assets/icons/x.svg') center/contain no-repeat;-webkit-mask:url('/design-assets/icons/x.svg') center/contain no-repeat}.playlist-dialog>form{padding:4px 28px 24px}.playlist-dialog label{max-width:none;margin:20px 0}.playlist-dialog input,.playlist-dialog select{min-height:44px}.playlist-dialog .muted{font-size:12px}.dialog-status:empty{display:none}.dialog-status{padding:12px;background:var(--bg);border-left:3px solid var(--accent);overflow-wrap:anywhere}.playlist-protection input{appearance:none;width:44px;height:26px;min-height:26px;border-radius:20px;position:relative;padding:0;flex:0 0 auto}.playlist-protection input:before{content:'';position:absolute;width:18px;height:18px;border-radius:50%;top:3px;left:3px;background:var(--muted)}.playlist-protection input:checked{background:var(--accent);border-color:var(--accent)}.playlist-protection input:checked:before{transform:translateX(18px);background:var(--accent-text)}.playlist-protection{align-items:center;cursor:pointer}.playlist-dialog .actions{border-top:1px solid var(--line);padding-top:20px;margin:24px 0 0}.playlist-dialog .actions button{min-height:44px}body:has(dialog[open]){overflow:hidden}
@media(max-width:650px){.device-status-grid{gap:22px 20px}.device-status-grid dd{font-size:12px}.playlist-panel{padding:18px}.playlist-toolbar{align-items:stretch}.playlist-toolbar button{min-height:44px;padding:10px 12px}.playlist-pagination{gap:10px}.playlist-pagination .actions{order:3;width:100%;justify-content:space-between}.playlist-pagination label:last-child{margin-left:auto}.dialog-heading{padding:18px 20px}.playlist-dialog>form{padding:0 20px 20px}.dialog-heading h2{font-size:18px}.playlist-dialog{max-height:calc(100dvh - 24px)}}

#status:empty{display:none}.is-device-page .intro .eyebrow,.is-device-page .intro>p:last-child{display:none}.is-device-page .intro{padding-bottom:14px}.device-account{color:var(--muted);font-size:12px;margin:-10px 0 18px}.device-status-grid{gap:16px 45px}.device-status-grid dt{margin-bottom:5px}.device-actions{margin-top:20px}.is-device-page .playlist-panel>h2{display:none}.device-status{margin-bottom:12px}.is-device-page .playlist-panel{margin-top:16px}

:root[data-accent=green]{--accent:#287963;--accent-text:#fff}:root[data-accent=purple]{--accent:#7853a6;--accent-text:#fff}:root[data-accent=orange]{--accent:#a66322;--accent-text:#fff}:root[data-accent=red]{--accent:#b04755;--accent-text:#fff}

/* Login notice: the rules scroll while consent and exit stay reachable. */
body.login-notice-open{overflow:hidden}
.login-notice{padding:0;width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:hidden}
.login-notice[open]{display:flex;flex-direction:column}
.login-notice>header{padding:24px 28px 18px;border-bottom:1px solid var(--line);flex-shrink:0}
.login-notice h2{font-size:24px;line-height:1.25;margin:6px 0 12px}
.login-notice header p:last-child{margin:0;color:var(--muted)}
.login-notice .eyebrow{color:var(--accent);font-size:10px;letter-spacing:.16em;margin:0}
.login-notice-rules{overflow-y:auto;overscroll-behavior:contain;padding:8px 28px 20px;min-height:80px;scrollbar-gutter:stable}
.login-notice-rules section{padding:14px 0;border-bottom:1px solid var(--line)}
.login-notice-rules section:first-child h3{color:var(--accent)}
.login-notice-rules h3{font-size:15px;margin:0 0 6px}.login-notice-rules p{margin:0;color:var(--muted)}
.login-notice-rules small{display:block;margin-top:16px;color:var(--muted)}
.login-notice>form{padding:16px 28px 22px;border-top:1px solid var(--line);flex-shrink:0}
.login-notice .check{margin:0;max-width:none;font-size:13px;color:var(--text)}
.login-notice .check input{flex:0 0 20px;width:20px;min-height:20px;height:20px;accent-color:var(--accent)}
.login-notice .actions{margin:18px 0 0}.login-notice button{min-height:44px}
@media(max-width:650px){.login-notice{width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.login-notice>header{padding:20px 20px 16px}.login-notice h2{font-size:21px}.login-notice-rules{padding:4px 20px 16px}.login-notice>form{padding:16px 20px 20px}.login-notice .actions{gap:8px}.login-notice .actions button{padding:10px 14px}.login-notice .actions .primary{flex:1}}
@media(max-height:520px){.login-notice>header{padding:12px 20px}.login-notice h2{font-size:19px;margin:4px 0}.login-notice header p:last-child{display:none}.login-notice>form{padding:10px 20px}.login-notice .actions{margin-top:10px}}

.login-notice-progress{margin:0 0 10px;color:var(--accent);font-size:12px}
.login-notice .check:has(input:disabled){color:var(--muted)}
.login-notice-prices{width:100%;min-width:0;margin:12px 0 4px;table-layout:fixed}
.login-notice-prices caption{text-align:left;font-size:12px;color:var(--muted);padding-bottom:8px}
.login-notice-prices th,.login-notice-prices td{min-width:0;padding:10px 6px;font-size:13px;white-space:nowrap;text-align:right}
.login-notice-prices th:first-child,.login-notice-prices td:first-child{text-align:left}
.needs-login #nav,.needs-login #menu-toggle,.needs-login .account-menu,.needs-login #menu-backdrop{display:none}
.needs-login .brand span,.needs-login .intro .eyebrow,.needs-login .intro > p:last-child{display:none}
.needs-login .shell{margin-left:auto;margin-right:auto;max-width:1100px}
.reseller-login{max-width:560px;margin:24px auto}
.reseller-login form{display:grid;gap:16px}.reseller-login label{max-width:none}
.reseller-login .actions{margin:20px 0;justify-content:space-between}
@media(max-width:650px){.login-notice .actions{flex-wrap:wrap}.login-notice .actions .primary{min-width:190px}.login-notice .actions button{font-size:12px}}

.login-notice-rules:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
