@font-face{font-family:Inter;src:url('/assets/fonts/inter-var.woff2') format('woff2');font-display:swap}
body{font-family:Inter,system-ui,sans-serif;background:radial-gradient(ellipse at 8% 20%,#102b44 0,transparent 48%),radial-gradient(ellipse at 95% 90%,#102a29 0,transparent 40%),#070c14}
main{max-width:1180px;gap:48px;min-height:100vh;align-content:start}header{margin-bottom:24px}.logo{width:215px}header a{text-decoration:none}.hero{padding-top:32px}.hero h1{font-size:clamp(36px,4.8vw,58px);font-weight:750;letter-spacing:-2px;max-width:540px}.hero p{max-width:460px;font-size:17px;line-height:1.7}.hero-art{position:relative;margin-top:32px;border-radius:20px;overflow:hidden;border:1px solid #30465c;aspect-ratio:16/9;max-width:480px;box-shadow:0 30px 70px #0005}.hero-art img{width:100%;height:100%;object-fit:cover}.hero-art:after{content:'Your TV. Your household. Your way.';position:absolute;inset:auto 0 0;padding:35px 18px 17px;background:linear-gradient(transparent,#050a12);font-size:13px;font-weight:650}.steps{display:none}.login{padding:32px;border-radius:26px;background:linear-gradient(150deg,#162235ed,#0d1422fa);border-color:#304056;box-shadow:0 28px 80px #0004}.login h2{font-size:28px;letter-spacing:-.7px}.login p{font-size:14px;line-height:1.6}.login input{min-height:52px;background:#080f1d;border:1px solid #34445b}.login .primary{min-height:52px;width:100%;box-shadow:0 7px 24px #3157ff25}.oauth{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 14px}.oauth button{display:flex;align-items:center;justify-content:center;gap:10px;background:#172233;min-height:48px;font-size:14px}.oauth svg{width:20px;height:20px}.oauth-note{font-size:12px!important;margin:0 0 18px}.divider{display:flex;align-items:center;gap:12px;color:#7f91ab;font-size:12px;margin:20px 0}.divider:before,.divider:after{content:'';height:1px;background:#2c3a50;flex:1}.auth-options{gap:8px;margin-top:22px;padding-top:18px}.auth-options button{background:transparent;font-size:12px;padding:9px 10px;border-color:#344359}#code{font-variant-numeric:tabular-nums;letter-spacing:5px}.trust-note{display:flex;gap:8px;align-items:center;color:#98afc5;font-size:12px}.small{line-height:1.6}.status-message{padding:0 10px}#hub .cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.card{transition:transform .2s}.card:hover{transform:translateY(-3px)}@media(max-width:800px){main{max-width:570px;padding:24px 20px}.hero{padding-top:0;margin-bottom:24px}.hero h1{font-size:36px;letter-spacing:-1px}.hero-art{display:none}.hero p{font-size:15px}.login{padding:24px}header{flex-direction:row;align-items:center;gap:12px}.logo{width:165px}header nav{font-size:12px}.oauth{gap:8px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.account-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;margin:18px 0 26px;border:1px solid #34445b;border-radius:14px;background:#080f1d}.account-switch button{border:0;background:transparent;color:#b7c7dc;font-size:15px;min-height:46px;padding:10px 8px}.account-switch button[aria-pressed="true"]{background:#284ddc;color:white;box-shadow:0 3px 12px #0003}.account-switch button:focus-visible{outline:2px solid #0de593;outline-offset:2px}

.hero-art{margin:28px 0 0;aspect-ratio:auto;background:#0b1220}.hero-art img{display:block;width:100%;height:auto;object-fit:contain;aspect-ratio:16/9}.hero-art:after{content:none}.hero-art figcaption{padding:13px 16px;border-top:1px solid #26364b;font-size:12px;color:#b8c9dd;letter-spacing:.02em}.account-benefits{max-width:480px;margin-top:20px;display:grid;gap:0;border:1px solid #26364b;border-radius:18px;background:#101b2b99;overflow:hidden}.account-benefits>div{display:flex;gap:14px;padding:16px 18px;align-items:center}.account-benefits>div+div{border-top:1px solid #26364b}.benefit-icon{font-size:11px;letter-spacing:.06em;color:#0de593;background:#0de59312;border:1px solid #0de59325;border-radius:10px;padding:10px}.account-benefits h3{font-size:14px;margin:0 0 4px;font-weight:650}.account-benefits p{font-size:12px;line-height:1.5;margin:0;color:#a5b4cc}@media(max-width:800px){.account-benefits{display:none}}

/* ---- signed in: the dashboard ---------------------------------------------------------------------
   The sign-in page is a two-column story (the pitch, the form). Signed in, the form is gone, and the
   right column stood empty beside a marketing picture (owner, 09-23: "the dashboard design look empty").
   So a signed-in page drops the pitch and becomes one column: a greeting, four numbers that matter,
   and a tile for every place to go -- each tile carrying its own live figure. */
html.pending #auth,html.pending #auth-steps,html.pending .hero-art,html.pending .account-benefits{visibility:hidden}
html.signed-in main{display:block}
html.signed-in .hero{padding-top:4px}
html.signed-in .hero h1{font-size:clamp(34px,4vw,50px);max-width:none}
html.signed-in .hero p{max-width:none}
html.signed-in .hero-art,html.signed-in .account-benefits,html.signed-in #auth-steps{display:none}
html.signed-in .status-message:empty{display:none}
.dash-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1px;margin:30px 0 26px;border:1px solid #26364b;border-radius:20px;overflow:hidden;background:#26364b}
.dash-stats .stat{background:linear-gradient(160deg,#121d30,#0d1523);padding:20px 22px;display:flex;flex-direction:column;gap:6px}
.dash-stats .stat span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#7f95b2;font-weight:650}
.dash-stats .stat strong{font-size:26px;font-weight:720;letter-spacing:-.5px;color:#f2f6ff;font-variant-numeric:tabular-nums}
.dash-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px}
.dash-grid.admin{grid-template-columns:repeat(3,minmax(0,1fr))}
.tile{position:relative;display:flex;flex-direction:column;gap:8px;min-height:210px;padding:26px 26px 22px;border-radius:24px;text-decoration:none;color:#f2f6ff;
 background:linear-gradient(155deg,#16233a 0%,#0e1627 70%);border:1px solid #27384f;box-shadow:0 20px 50px #0004;overflow:hidden;transition:transform .22s,border-color .22s,box-shadow .22s}
.tile:before{content:'';position:absolute;inset:0;background:radial-gradient(420px 180px at 100% 0%,#406bff14,transparent 70%);pointer-events:none}
.tile:hover,.tile:focus-visible{transform:translateY(-3px);border-color:#0de593;box-shadow:0 26px 60px #0006;outline:none}
.tile h2{margin:0;font-size:21px;letter-spacing:-.4px}
.tile p{margin:0;font-size:14px;line-height:1.6;color:#a5b4cc}
.tile .eyebrow{margin:0}
.tile-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#0de59314;border:1px solid #0de59330;margin-bottom:8px}
.tile-icon svg{width:22px;height:22px;fill:none;stroke:#0de593;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tile-go{margin-top:auto;padding-top:14px;font-size:13px;font-weight:650;color:#8fb0ff}
.tile-go b{display:inline-block;transition:transform .2s}
.tile:hover .tile-go b,.tile:focus-visible .tile-go b{transform:translateX(4px)}
.tile-wide{grid-row:span 2;min-height:0;background:linear-gradient(160deg,#122a3a 0%,#0e1a2b 55%,#0b1322 100%)}
.tile-wide h2{font-size:30px;letter-spacing:-.8px}
.tile-wide:after{content:'';position:absolute;right:-60px;bottom:-60px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,#0de5931c,transparent 65%);pointer-events:none}
.tile-accent{background:linear-gradient(155deg,#1d2f6b 0%,#14224a 55%,#0f1934 100%);border-color:#3654a8}
.tile-accent .tile-icon{background:#406bff22;border-color:#406bff55}
.tile-accent .tile-icon svg{stroke:#9db5ff}
.slots{display:flex;align-items:center;gap:12px;margin-top:18px}
.slots-bar{flex:1;height:8px;border-radius:99px;background:#1c2a3f;overflow:hidden}
.slots-bar i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#0de593,#3ad6ff);transition:width .6s}
.slots span:last-child{font-size:13px;color:#b8c9dd;white-space:nowrap;font-variant-numeric:tabular-nums}
.tile-count{font-size:15px;font-weight:700;color:#0de593}
.tile-count.warn{color:#ffb547}
.dash-heading{display:flex;align-items:center;gap:14px;margin:40px 0 16px}
.dash-rule{flex:1;height:1px;background:#26364b}
@media(max-width:980px){.dash-grid.admin{grid-template-columns:1fr 1fr}}@media(max-width:760px){.dash-grid{grid-template-columns:1fr}.tile-wide{grid-row:auto}}
@media(max-width:620px){.dash-grid,.dash-grid.admin{grid-template-columns:1fr}.tile{min-height:0}.dash-stats .stat strong{font-size:22px}}
.tv-list{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px}
.tv-list li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#0a1322cc;border:1px solid #223249}
.tv-list li:before{content:'';width:8px;height:8px;border-radius:50%;background:#3a4d66;flex-shrink:0}
.tv-list li.recent:before{background:#0de593;box-shadow:0 0 0 4px #0de59320}
.tv-list b{font-weight:650;font-size:14px;color:#eef3ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tv-list span{margin-left:auto;font-size:12px;color:#8fa3bf;white-space:nowrap}
/* Where you are, in the header every account page shares. */
header nav a{color:#9fb4d6;transition:color .2s}
header nav a:hover,header nav a:focus-visible{color:#fff}
header nav a[aria-current="page"]{color:#fff;font-weight:650;text-decoration:underline;text-decoration-color:#0de593;text-decoration-thickness:2px;text-underline-offset:9px}
header nav a.nav-cta{padding:10px 18px;border-radius:12px;background:#1b2740;border:1px solid #2c3d58;color:#fff;font-weight:650}
header nav a.nav-cta:hover,header nav a.nav-cta:focus-visible{border-color:#0de593}
/* The sign-in page's own header ("Back to TiviDeck") and its title are the SIGNED-OUT version; a browser
   that holds a session saw them for a moment on every visit to Overview before the dashboard replaced
   them (owner, 09-23). They wait, like the form, until the check has finished. */
html.pending header nav,html.pending #title,html.pending #lede{visibility:hidden}
/* English / Español on the account pages: after the links, at the end of the header row. */
header .lang-switch{flex-shrink:0;text-decoration:none;color:#9fb4d6;font-size:13px;font-weight:650;padding:8px 12px;border:1px solid #2c3d58;border-radius:999px}
header .lang-switch:hover,header .lang-switch:focus-visible{color:#fff;border-color:#0de593}
/* ONE header for every account page (owner, 09-23, three screenshots of three different headers: the links
   floating in the middle, the links dropped under the logo, no language switch). Logo at the start; the links
   and the language switch together at the end, one row, one size. On a narrower window the links take a
   full row of their own under the logo, rather than wrapping into it. */
main>header{display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:20px;row-gap:14px}
main>header>nav{margin-left:auto;flex-wrap:nowrap;justify-content:flex-end;font-size:15px}
main>header>nav a,main>header>nav button{font-size:15px;white-space:nowrap}
main>header>nav button,main>header>nav a.nav-cta{padding:10px 16px;min-height:0;border-radius:12px}
main>header>.lang-switch{margin-left:0}
@media(max-width:1180px){main>header{flex-wrap:wrap}main>header>.lang-switch{margin-left:auto}
 main>header>nav{order:3;flex-basis:100%;margin-left:0;flex-wrap:wrap;justify-content:flex-start;row-gap:10px}}
