:root{color-scheme:dark;font-family:Manrope,system-ui,sans-serif;color:#f1f5ee;background:#07140f}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 100% 0,#24543c 0,transparent 65%),radial-gradient(ellipse at 0 80%,#343a25 0,transparent 55%)}header,main,footer{width:min(1100px,calc(100% - 48px));margin:auto}header{display:flex;justify-content:space-between;align-items:center;padding:30px 0}.brand{font-size:40px;font-weight:800;letter-spacing:-3px;text-decoration:none}.brand span{color:#d83732;font-size:13px;vertical-align:top;letter-spacing:0}a{color:inherit}header>a:last-child{font-size:14px}main{padding:50px 0 70px}.eyebrow{font-size:11px;letter-spacing:2px;color:#becbbb}.eyebrow:before{content:'●';color:#d83732;margin-right:12px}h1{font-size:clamp(38px,6vw,64px);font-weight:450;letter-spacing:-2.5px;line-height:1.08;margin:22px 0 35px}h1 span{color:#c4d8c8}h2{font-size:23px;font-weight:550;margin-top:0}p{color:#bdcbbf;line-height:1.6}.panel{border:1px solid #ffffff21;border-radius:24px;padding:30px;background:linear-gradient(140deg,#ffffff0c,#ffffff03);box-shadow:inset 0 1px #ffffff15,0 16px 45px #0002;backdrop-filter:blur(18px)}#auth,#verify{max-width:510px}label{display:grid;gap:8px;margin:20px 0;font-size:14px}input{width:100%;border:1px solid #ffffff29;background:#07140f66;color:#fff;font:inherit;border-radius:12px;padding:14px}button{font:inherit;cursor:pointer;border:1px solid #ffffff2b;border-radius:13px;padding:14px 20px;color:inherit;background:#ffffff08;transition:background .2s,transform .2s}button:hover{background:#ffffff18}button:disabled{opacity:.5;cursor:wait}.primary{background:#ae302d;border-color:#ae302d;width:100%;font-weight:650}.primary:hover{background:#c83a34}.text{background:none;margin-top:12px;font-size:14px}.small{font-size:12px}.check{display:flex;align-items:flex-start;line-height:1.5}.check input{width:18px;margin-top:2px;accent-color:#fff}.columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.account-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.account-head h2{margin:0}.playlist{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #ffffff18;padding:18px 0}.playlist span{overflow-wrap:anywhere}#status:empty{display:none}#status{padding:14px 18px;border-left:2px solid #d6594e;background:#ffffff08;max-width:650px}footer{padding:28px 0;font-size:12px;color:#b8c9bb}[hidden]{display:none!important}:focus-visible{outline:2px solid #fff;outline-offset:4px}@media(max-width:650px){header,main,footer{width:calc(100% - 32px)}main{padding-top:20px}.columns{grid-template-columns:1fr}.panel{padding:23px}h1{letter-spacing:-1.5px}}
.brand img{display:block;object-fit:contain}.devices{margin-top:24px}.devices form{max-width:340px}.devices h3{margin-top:32px}#pair-confirm{max-width:550px;margin-top:20px}


.forgot-password{display:block;width:max-content;margin:-7px 0 23px auto;padding:3px 0;background:none;border:0;border-radius:0;color:#b4c5b8;font-size:12px;text-decoration:underline;text-underline-offset:3px}.forgot-password:hover{background:none;color:#fff}

/* A single login card: cinematic image on the left, quiet form on the right. */
.account-page{background:radial-gradient(ellipse at 12% 60%,#28563d80,transparent 55%),radial-gradient(ellipse at 90% 100%,#663e2924,transparent 48%),#08130e}
.account-page header,.account-page footer{width:min(1200px,calc(100% - 64px))}
.account-page main:has(#account[hidden]){width:min(1200px,calc(100% - 64px));display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr;padding:10px;margin:24px auto 40px;min-height:650px;border:1px solid #ffffff1c;border-radius:32px;background:#102019;box-shadow:0 30px 90px #0004;overflow:hidden}
.login-visual{display:none}
main:has(#account[hidden])>.login-visual{display:flex;flex-direction:column;justify-content:space-between;grid-column:1;grid-row:1 / span 2;min-height:630px;padding:48px 38px 32px;border-radius:24px;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 70% 58%,#4c8a5b66,transparent 63%),linear-gradient(145deg,#1f4733,#0a2117 75%)}
.login-visual h1{font-size:clamp(38px,4.2vw,58px);letter-spacing:-2px;line-height:1.1;margin:24px 0}
.login-visual-copy>p:last-child{font-size:15px;color:#e0e9df;line-height:1.7}
.visual-signature{font-size:21px;color:#f0f3e9;letter-spacing:-.5px;margin:0}
.account-page main:has(#account[hidden])>#auth,.account-page main:has(#account[hidden])>#verify{grid-column:2;grid-row:2;align-self:center;width:100%;max-width:none;padding:44px 54px 50px;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
.account-page main:has(#account[hidden])>#status{grid-column:2;grid-row:1;margin:22px 36px 0;font-size:13px}
.account-page #auth h2,.account-page #verify h2{font-size:32px;font-weight:500;letter-spacing:-1px;margin-bottom:12px}
.account-page #auth>p:first-of-type{font-size:14px;margin-bottom:30px}
.account-page #auth input:not([type=checkbox]){background:#08150f60;border-color:#ffffff26;border-radius:10px;padding:15px}
.account-page #auth label{font-size:13px;margin:21px 0}
.account-page #auth .primary{margin-top:4px;border-radius:11px;padding:15px}
.account-page #switch{display:block;margin:23px auto 0;padding:5px 0;border:0;border-radius:0;text-decoration:underline;text-underline-offset:4px;color:#dce8db}
.account-page #auth .small{margin-top:34px;padding-top:24px;border-top:1px solid #ffffff13;font-size:11px;line-height:1.8;color:#a2b4a7}
@media(max-width:800px){
.account-page header,.account-page footer{width:calc(100% - 36px)}
.account-page header{padding:22px 0}.account-page .brand img{width:115px;height:42px}
.account-page main:has(#account[hidden]){width:calc(100% - 24px);grid-template-columns:1fr;grid-template-rows:auto auto auto;min-height:0;margin:8px auto 24px;padding:7px;border-radius:24px}
main:has(#account[hidden])>.login-visual{grid-column:1;grid-row:1;min-height:0;padding:26px;border-radius:18px}
.login-visual h1{font-size:38px;margin:15px 0}.login-visual .eyebrow{font-size:9px}.login-visual-copy>p:last-child{font-size:13px;margin-bottom:0}.visual-signature{display:none}
.account-page main:has(#account[hidden])>#auth,.account-page main:has(#account[hidden])>#verify{grid-column:1;grid-row:3;padding:32px 22px}
.account-page main:has(#account[hidden])>#status{grid-column:1;grid-row:2;margin:18px 22px 0}
.account-page #auth h2,.account-page #verify h2{font-size:28px}
}

.login-visual::before{content:"";position:absolute;z-index:-1;width:150%;height:72%;left:-26%;top:39%;border-radius:50%;border:1px solid #d3f9d52b;transform:rotate(-24deg);background:linear-gradient(160deg,#c3efc30d,transparent 60%);box-shadow:0 -20px 65px #b2e5a80a;pointer-events:none}
.login-visual-copy{position:relative;z-index:2}
.login-tv-stage{position:relative;flex:none;width:127%;margin:-4px -13.5% -2px;isolation:isolate}
.login-tv-stage::before{content:"";position:absolute;inset:18% 9% 8%;z-index:-1;background:radial-gradient(ellipse,#aedaa028,transparent 70%);filter:blur(25px)}
.login-tv-stage::after{content:"";position:absolute;left:31%;width:38%;top:90%;height:2%;border-radius:50%;background:#0007;filter:blur(4px);z-index:-1}
.login-tv-stage img{display:block;width:100%;height:auto;filter:drop-shadow(0 14px 18px #0005)}
.login-visual .visual-signature{font-size:10px;letter-spacing:.22em;text-transform:uppercase;text-align:center;color:#c7daca;margin:16px 0 0}
@media(max-width:800px){.login-tv-stage{width:110%;margin:6px -5% -12px}.login-visual h1{font-size:34px}.login-visual-copy>p:last-child{max-width:280px}.login-visual .visual-signature{display:none}}
/* Edge-to-edge sign-in experience. */
.account-page:has(#account[hidden]){background:#0c1912}
.account-page:has(#account[hidden])>header{position:absolute;top:0;left:0;right:0;z-index:5;width:100%;padding:30px 4%;pointer-events:none}
.account-page:has(#account[hidden])>header a{pointer-events:auto}
.account-page:has(#account[hidden])>footer{display:none}
.account-page main:has(#account[hidden]){width:100%;min-height:100svh;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#0c1912;grid-template-columns:1fr 1fr}
main:has(#account[hidden])>.login-visual{min-height:100svh;border-radius:0;padding:112px 9% 24px;justify-content:center;border-right:1px solid #ffffff12}
.login-visual h1{font-size:clamp(40px,4.4vw,70px);margin:20px 0}
.login-visual-copy>p:last-child{margin-bottom:12px}
.login-tv-stage{width:110%;margin:4px -5% -8px}
.account-page main:has(#account[hidden])>#auth,.account-page main:has(#account[hidden])>#verify{width:min(100%,530px);justify-self:center;padding:110px 46px 70px}
.account-page main:has(#account[hidden])>#status{margin:100px 40px 0;align-self:end}
@media(max-width:800px){
.account-page:has(#account[hidden])>header{padding:22px 26px}
.account-page main:has(#account[hidden]){grid-template-columns:1fr;min-height:100svh}
main:has(#account[hidden])>.login-visual{min-height:0;padding:110px 28px 20px;border:0;border-bottom:1px solid #ffffff12}
.login-visual h1{font-size:38px}.login-tv-stage{width:100%;max-width:490px;align-self:center;margin:0}
.account-page main:has(#account[hidden])>#auth,.account-page main:has(#account[hidden])>#verify{padding:40px 28px 36px}
.account-page main:has(#account[hidden])>#status{margin:24px 28px 0}
}
/* Light form panel, paired with the green cinematic panel. */
.account-page:has(#account[hidden]),.account-page main:has(#account[hidden]){background:#fff}
.account-page:has(#account[hidden])>header>a:last-child{color:#425348}
.account-page main:has(#account[hidden])>#auth,.account-page main:has(#account[hidden])>#verify{color:#17251d;color-scheme:light}
.account-page #auth>p:first-of-type,.account-page #verify p{color:#6b746e}
.account-page #auth input:not([type=checkbox]){background:#fff;color:#17251d;border-color:#dce2dc;box-shadow:0 1px 3px #182d1605}
.account-page #auth input:focus{border-color:#63846e;outline:2px solid #63846e25;outline-offset:1px}
.account-page #auth .primary,.account-page #verify .primary{color:#fff}
.account-page #auth .forgot-password{color:#69756d}.account-page #auth .forgot-password:hover{color:#17251d}
.account-page #switch{color:#344c3c}.account-page #switch:hover{background:none;color:#14281b}
.account-page #auth .small{border-top-color:#e7eae7;color:#7a827b}
.account-page #auth :focus-visible,.account-page #verify :focus-visible{outline-color:#355e43}
.account-page #verify .text{color:#344c3c;border-color:#dce2dc}
.account-page main:has(#account[hidden])>#status{color:#563d31;background:#faf1eb}
@media(max-width:800px){.account-page:has(#account[hidden])>header>a:last-child{color:#dce7de}}
.account-page #auth .check input{accent-color:#284f37}
.account-page #auth .primary,.account-page #verify .primary{background:#244f38;border-color:#244f38;color:#fff}
.account-page #auth .primary:hover,.account-page #verify .primary:hover{background:#316547;border-color:#316547}

.account-page #auth .primary,.account-page #verify .primary{background:#111;border-color:#111;color:white}
.account-page #auth .primary:hover,.account-page #verify .primary:hover{background:#292929;border-color:#292929}
.social-login{margin-top:14px}.social-login button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;background:white;border:1px solid #dadce0;color:#3c4043;padding:13px;border-radius:11px}
.social-login button:disabled{opacity:1;cursor:not-allowed}.social-login p{font-size:11px;color:#7a827b;text-align:center;margin:6px 0 0}
@media(min-width:801px){
.account-page:has(#account[hidden]){height:100dvh;overflow:hidden}
.account-page main:has(#account[hidden]){height:100dvh;min-height:0;grid-template-rows:auto minmax(0,1fr)}
main:has(#account[hidden])>.login-visual{height:100dvh;min-height:0;padding-top:112px;padding-bottom:24px}
.login-tv-stage{flex:1;min-height:0;max-height:440px;display:flex;align-items:center;justify-content:center}
.login-tv-stage img{max-height:100%;object-fit:contain}
.account-page main:has(#account[hidden])>#auth,.account-page main:has(#account[hidden])>#verify{padding:80px 46px 28px;max-height:100%;overflow-y:auto;overscroll-behavior:contain}
.account-page #auth>p:first-of-type{margin-bottom:23px}.account-page #auth .small{margin-top:22px;padding-top:18px}
}

/* Resolve the saved session before displaying the login form. */
.auth-loading main,.auth-loading header,.auth-loading footer{visibility:hidden}
#auth-loading{position:fixed;inset:0;z-index:10;display:grid;place-items:center;background:#0b1c13;color:#edf4ec;font-size:18px}
#auth-loading[hidden]{display:none}.account-sections{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 28px}.account-sections a{padding:12px 18px;border:1px solid #ffffff30;border-radius:24px}.account-sections a:hover{background:#ffffff12}.profile-panel{margin-bottom:36px;max-width:760px}.profile-panel h2{margin-top:0}.profile-panel input[readonly]{opacity:.75}.profile-panel .forgot-password{margin-top:22px;color:#d5e6d8}.account-page #status:empty{display:none}

#email-action{grid-column:2;grid-row:2;align-self:center;background:#fff;border:0;border-radius:0;color:#16231c;padding:42px clamp(28px,5vw,88px);box-shadow:none}#email-action h2{font-size:clamp(28px,3vw,42px);line-height:1.15}#email-action p{color:#657168;line-height:1.7}#email-action .primary{background:#111;color:#fff;border:1px solid #111}#email-action input{background:#fff;color:#17231b;border:1px solid #d1d8d3}.action-return{display:block;margin-top:24px;color:#294d38;text-decoration:underline;text-underline-offset:4px}@media(max-width:800px){#email-action{grid-column:auto;grid-row:auto;padding:35px 24px}}
/* The signed-in portal is an app shell, with one view at a time. */
.account-page:has(#account:not([hidden])){height:100dvh;overflow:hidden;background:#091710}
.account-page:has(#account:not([hidden]))>header,.account-page:has(#account:not([hidden]))>footer{display:none}
.account-page main:has(#account:not([hidden])){width:100%;height:100dvh;margin:0;padding:0}
#account:not([hidden]){display:grid;grid-template-columns:238px minmax(0,1fr);height:100dvh}
.account-sidebar{display:flex;flex-direction:column;gap:26px;padding:32px 22px;border-right:1px solid #ffffff13;background:linear-gradient(160deg,#1c3728a6,#0a1811);min-height:0}
.account-sidebar .brand{padding:4px 10px 28px}.sidebar-caption{font-size:10px;letter-spacing:.18em;margin:0 12px;color:#94ad9b}
.account-sections{display:flex;flex-direction:column;gap:8px;margin:0}.account-sections button{text-align:left;border-color:transparent;padding:15px 18px;font-size:14px;background:transparent;color:#b7c8bc;border-radius:12px}
.account-sections button:hover{background:#ffffff09;color:#fff}.account-sections button[aria-current]{color:#f2f7f1;background:linear-gradient(135deg,#ffffff18,#ffffff08);border-color:#ffffff20;box-shadow:inset 0 1px #ffffff12}
.sidebar-bottom{margin-top:auto;display:grid;gap:12px;font-size:12px}.sidebar-bottom a{padding:10px 18px;color:#b1c5b8}.sidebar-bottom button{text-align:left;margin:0;font-size:12px}
.account-workspace{min-width:0;min-height:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 90% 0,#24543c44,transparent 70%)}
.account-head{flex:none;height:88px;padding:0 38px;border-bottom:1px solid #ffffff0e;margin:0}.account-head p{font-size:13px;color:#a6bcae}.account-badge{border:1px solid #ffffff18;border-radius:30px;padding:8px 14px;color:#b9ccbe;font-size:11px}
.account-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:32px 38px 24px;scrollbar-color:#405b49 transparent}
.account-content h2{font-size:28px;font-weight:500;letter-spacing:-.7px;margin-bottom:24px}.account-content .panel{padding:26px;border-radius:18px}.account-content .profile-panel{max-width:740px;margin:0}.account-content .devices{margin:0;max-width:900px}.account-content label{margin:15px 0}.account-content input{padding:12px}.account-content .primary{width:auto;min-width:190px;padding:12px 22px}.account-content .forgot-password{margin:18px 0 0;font-size:12px}.account-content .columns{gap:22px}.account-content .columns h2{font-size:20px}.account-content .small{margin:10px 0}.account-content .playlist{flex-wrap:wrap}.account-content .playlist button{font-size:12px;padding:8px 12px}.account-content .playlist span{flex:1;min-width:100px}
.account-page main:has(#account:not([hidden]))>#status:not(:empty){position:fixed;bottom:22px;right:24px;z-index:20;max-width:min(580px,calc(100vw - 32px));margin:0;border-radius:10px;border:1px solid #ffffff30;background:#20392b;box-shadow:0 8px 32px #0005}
@media(max-width:900px){.account-content .columns{grid-template-columns:1fr}.account-content{padding:24px}.account-head{padding:0 24px}#account:not([hidden]){grid-template-columns:190px minmax(0,1fr)}.account-sidebar{padding:24px 14px}}
@media(max-width:600px){#account:not([hidden]){grid-template-columns:128px minmax(0,1fr)}.account-sidebar{padding:22px 8px;gap:18px}.account-sidebar .brand{padding:0 5px 12px}.account-sidebar .brand img{width:100%;height:auto}.sidebar-caption{font-size:8px;margin:0 8px}.account-sections button{font-size:12px;padding:12px 9px}.sidebar-bottom a,.sidebar-bottom button{font-size:10px;padding:10px 8px}.account-head{height:64px;padding:0 16px}.account-badge{display:none}.account-content{padding:20px 12px}.account-content .panel{padding:17px 13px}.account-content h2{font-size:23px}.account-content label{font-size:12px}.account-content .primary{min-width:0;width:100%;font-size:12px}.account-content input{min-width:0;font-size:12px}.account-content .check{font-size:11px}.account-content .forgot-password{font-size:11px}.account-content p{font-size:12px}}

/* Flat workspace: content sits directly on the app background. */
.account-content .panel{background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;padding:0}
.account-content .profile-panel{max-width:680px}
.account-content .columns{gap:36px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.account-content .columns>.panel+ .panel{border-left:1px solid #ffffff18;padding-left:36px}
.account-content .devices h3{border-top:1px solid #ffffff18;padding-top:26px}
.account-content input{border-radius:8px}
@media(max-width:900px){.account-content .columns{grid-template-columns:1fr;gap:28px}.account-content .columns>.panel+ .panel{border-left:0;border-top:1px solid #ffffff18;padding:24px 0 0}}

/* Mobile navigation gives the content the full screen width. */
.mobile-account-brand,.account-menu-toggle{display:none}
#account-mobile-menu{border:0;padding:28px;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;color:#f1f5ee;background:linear-gradient(145deg,#183c29,#091710 75%);overflow-y:auto}
#account-mobile-menu[open]{display:flex;flex-direction:column;gap:28px;animation:account-menu-enter .22s ease-out}
#account-mobile-menu::backdrop{background:#07140f}
.account-mobile-heading{display:flex;justify-content:space-between;align-items:center}
.account-menu-toggle{padding:11px;width:46px;height:46px;align-items:center;justify-content:center;border-radius:13px}
.account-menu-toggle svg{width:22px;height:22px}
#account-mobile-menu .account-menu-toggle{display:flex}
#account-mobile-menu .account-sections button{font-size:18px;padding:18px}
#account-mobile-menu .sidebar-bottom{padding-bottom:env(safe-area-inset-bottom);font-size:14px}
#account-mobile-menu .sidebar-bottom button{font-size:14px}
@keyframes account-menu-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:760px){
#account:not([hidden]){grid-template-columns:minmax(0,1fr)}
.account-sidebar{display:none}
.account-head{height:82px;padding:16px 22px}
.account-head>p,.account-head .account-badge{display:none}
.mobile-account-brand{display:block}.account-head .account-menu-toggle{display:flex}
.account-content{padding:24px 22px calc(24px + env(safe-area-inset-bottom))}
.account-content h2{font-size:28px}.account-content label,.account-content p,.account-content .check{font-size:14px}
.account-content input{font-size:16px}.account-content .primary{font-size:14px}
.account-content .forgot-password{font-size:13px}
}
@media(prefers-reduced-motion:reduce){#account-mobile-menu[open]{animation:none}}

/* Keep touch fields at 16px before and during focus to avoid automatic phone zoom. */
@media(max-width:800px),(hover:none) and (pointer:coarse){
.account-page input:not([type=checkbox]):not([type=radio]),.account-page select,.account-page textarea{font-size:16px;line-height:1.4;min-width:0;max-width:100%;transform:none;transition:border-color .15s,box-shadow .15s}
.account-page input:not([type=checkbox]):not([type=radio]):focus,.account-page select:focus,.account-page textarea:focus{font-size:16px;transform:none}
}

.password-field{position:relative;display:block;min-width:0;width:100%}.password-field input{padding-right:54px!important}.password-field .password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;padding:10px;border:0;border-radius:8px;background:transparent;color:inherit;transition:color .15s}.password-toggle svg{width:22px;height:22px;pointer-events:none}.password-field .password-toggle:hover{background:transparent;color:#97bba0}.password-field .password-toggle:focus-visible{outline:2px solid #8fae96;outline-offset:-5px}#auth .password-toggle{color:#466350}

.device-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.device-heading h2{margin:0}.device-heading #device-count{font-size:18px;font-variant-numeric:tabular-nums;color:#e1ebe2;white-space:nowrap}#device-count-detail{margin:12px 0 20px;color:#a7bdad}

/* One clear confirmation after scanning a device QR. */
.account-content .pair-connect{max-width:620px;padding-top:20px}
.pair-connect .eyebrow{margin-bottom:16px}
.pair-device-name{font-size:24px!important;color:#f1f5ee;margin:30px 0 10px;font-weight:500;overflow-wrap:anywhere}
.pair-description{color:#a7bdad;max-width:430px;line-height:1.6}
.pair-connect #approve{margin-top:18px;min-height:50px}
.pair-connect #pair-progress:empty{display:none}
.pair-manual{margin-top:36px;color:#a7bdad;font-size:14px}
.pair-manual summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:12px;list-style:none}
.pair-manual summary::-webkit-details-marker{display:none}
.pair-manual summary::after{content:'+';font-size:20px;font-weight:400}
.pair-manual[open] summary::after{content:'−'}
.pair-manual form{padding-top:18px;max-width:360px}
.pair-manual input{text-transform:uppercase;letter-spacing:.1em}
.pair-connect #pair-back{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:20px 0 0;padding:12px 18px;min-height:44px;max-width:100%;line-height:1.3;font-size:14px;color:#a7bdad}.pair-connect #pair-back svg{width:18px;height:18px;flex:none}
.pair-add-device{margin-top:26px}
.pair-connect summary:focus-visible{outline:2px solid #8fae96;outline-offset:5px;border-radius:4px}
@media(max-width:760px){.account-content .pair-connect{padding-top:6px}.pair-connect #approve{width:100%}.pair-device-name{font-size:21px!important}}
/* Compact protocol switch, using accessible native radio controls. */
.protocol-picker{border:0;padding:0;margin:0 0 4px;min-width:0}
.protocol-picker legend{padding:0;margin-bottom:10px;font-size:14px;color:#b4c5b9}
.protocol-picker>div{display:flex;gap:4px;padding:4px;border-radius:14px;background:#ffffff06;box-shadow:inset 0 0 0 1px #ffffff0c}
#playlist-form .protocol-picker label{position:relative;display:block;flex:1;min-width:0;margin:0;cursor:pointer}
#playlist-form .protocol-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;margin:0;cursor:pointer}
.protocol-picker span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;border-radius:10px;color:#96ad9e;font-size:14px;font-weight:500;transition:background .15s,color .15s;pointer-events:none}
.protocol-picker input:checked+span{background:#254637;color:#f0f5ef;box-shadow:0 1px 5px #0002}
.protocol-picker input:hover+span{color:#f0f5ef}
.protocol-picker input:focus-visible+span{outline:2px solid #a5c8b0;outline-offset:2px}
.mac-input{display:flex;align-items:center;gap:8px;min-width:0}.mac-input input{min-width:0;flex:1;font-variant-numeric:tabular-nums;text-transform:uppercase;letter-spacing:.04em}.mac-input button{flex:0 0 auto;font-size:12px;padding:12px;border-radius:10px}#mac-help{margin-top:-8px}

/* Current shared launch offer; replace with account entitlements before paid launch. */
.auth-launch-offer{margin:24px 0;padding:20px;border:1px solid #55735f40;border-radius:14px;background:#294c3408}
#auth .auth-launch-offer strong{display:block;font-size:16px;color:#24432f}
#auth .auth-launch-offer p{font-size:13px;line-height:1.6;margin:10px 0 0;color:#466350}
.account-plan{margin:28px 0 36px;padding:28px;border:1px solid #a9c4ad40;border-radius:16px;background:#bdd1bc08}
.account-plan .plan-caption{font-size:11px;letter-spacing:.14em;color:#a9c4ad;margin:0 0 14px}
.account-plan h3{font-size:25px;font-weight:500;line-height:1.2;letter-spacing:-.03em;color:#f0f5ee;margin:0 0 18px}
.account-plan p{font-size:14px;line-height:1.65;color:#adbfaf;margin:12px 0}
.account-plan strong{font-weight:500;color:#f0f5ee}
.plan-early{border-top:1px solid #a9c4ad30;margin-top:22px;padding-top:20px}
.plan-early h4{font-size:14px;font-weight:500;color:#e1ebe2;margin:0}
.plan-early p:last-child{margin-bottom:0}
@media(max-width:760px){.account-plan{padding:22px 20px;margin-top:24px}.account-plan h3{font-size:23px}.auth-launch-offer{padding:16px}}

/* Shared launch announcement stays visible above every signed-in account view. */
.account-announcement{flex:none;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 16px;width:100%;padding:12px 24px;background:#dce9d5;color:#14291b;font-size:12px;line-height:1.5;text-align:center;text-decoration:none}
.account-announcement strong{font-weight:650}
.account-announcement .announcement-detail{color:#34513b}
.account-announcement .announcement-link{font-weight:600;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.account-announcement:hover{background:#e8f0e2}
.account-announcement:focus-visible{outline:2px solid #14291b;outline-offset:-5px}
@media(max-width:760px){.account-announcement{padding:11px 18px;font-size:11px;gap:3px 10px}.account-announcement .announcement-detail{flex-basis:100%}}

.feedback-panel{max-width:760px}.feedback-panel>.eyebrow{font-size:11px;letter-spacing:.14em;color:#a9c4ad;margin:0 0 16px}.feedback-intro{max-width:550px;color:#adbfaf;margin:0 0 28px}
#feedback-fields{border:0;margin:0;padding:0;min-width:0}.feedback-legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.feedback-selects{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.feedback-panel select,.feedback-panel textarea{display:block;width:100%;min-width:0;padding:13px 14px;border:1px solid #ffffff29;border-radius:8px;background:#0c2016;color:#f1f5ee;font:inherit;line-height:1.5}.feedback-panel textarea{resize:vertical;min-height:120px}.feedback-panel select{min-height:48px}.feedback-panel textarea::placeholder{color:#8ea695}
.feedback-panel .feedback-privacy{font-size:12px;line-height:1.7;color:#a3b7a8;margin:20px 0 24px}.feedback-panel #feedback-submit{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#dce9d5;color:#14291b;border-color:#dce9d5}.feedback-panel #feedback-submit:hover{background:#edf4e8}.feedback-panel #feedback-result{font-size:14px;margin:20px 0 0;line-height:1.6}.feedback-panel #feedback-result:empty{display:none}.feedback-panel #feedback-result[data-state=error]{color:#ffc1af}.feedback-panel #feedback-result[data-state=success]{color:#c8e4bc}
@media(max-width:760px){.feedback-selects{grid-template-columns:1fr;gap:0}.feedback-panel select,.feedback-panel textarea{font-size:16px}.feedback-panel #feedback-submit{width:100%}.feedback-panel .feedback-privacy{font-size:12px}}

.feedback-picker{position:relative;min-width:0}.feedback-picker label{position:relative}.feedback-panel .feedback-native-select{position:absolute;width:1px;height:1px;min-height:0;padding:0;opacity:0;pointer-events:none}.feedback-picker-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:13px 16px;border:1px solid #ffffff29;border-radius:8px;background:#0c2016;color:#f1f5ee;font:inherit;text-align:left;font-weight:400}.feedback-picker-button::after{content:"";width:7px;height:7px;border-right:1.5px solid #adc3ae;border-bottom:1.5px solid #adc3ae;transform:rotate(45deg);margin-left:14px;margin-top:-4px}.feedback-picker-button[aria-expanded=true]{border-color:#a9c4ad}.feedback-picker-button:focus-visible{outline:2px solid #a9c4ad;outline-offset:3px}.feedback-options{position:absolute;left:0;right:0;top:calc(100% - 10px);z-index:20;padding:6px;border:1px solid #56705b;border-radius:12px;background:#142b1e;box-shadow:0 16px 36px #0006;max-height:280px;overflow-y:auto}.feedback-options[hidden]{display:none}.feedback-options [role=option]{padding:11px 12px;border-radius:7px;color:#e8efe3;font-size:14px;line-height:1.4;cursor:pointer}.feedback-options [role=option]:hover,.feedback-options [role=option].active{background:#dce9d5;color:#14291b}.feedback-options [aria-selected=true]::after{content:"✓";float:right;margin-left:10px}.feedback-picker-button[aria-invalid=true]{border-color:#ffc1af}.feedback-picker-button:disabled{opacity:.55;cursor:wait}

.signup-welcome{display:flex;align-items:center;gap:15px;padding:18px;margin-bottom:24px;border:1px solid #b7d1ae30;border-radius:16px;background:#153323}.signup-welcome img{width:52px;height:52px;object-fit:contain;flex-shrink:0}.signup-welcome strong{color:#e6efdf;font-size:17px;font-weight:500}.signup-welcome p{color:#afc4b4;font-size:13px;line-height:1.6;margin:6px 0 0}.signup-welcome[hidden]{display:none}

.account-page #verify .signup-welcome p{color:#c4d7c7}

/* Feedback belongs beside the login action, including on small screens. */
#auth-status:empty{display:none}#auth-status{margin:12px 0;padding:13px 15px;border:1px solid #c88674;border-left:3px solid #a43930;border-radius:9px;background:#fff0e9;color:#662c24;font-size:13px;line-height:1.6;overflow-wrap:anywhere;scroll-margin-block:24px}#auth-status:focus{outline:2px solid #a43930;outline-offset:3px}

/* Keep both sign-in actions close to the fields on short desktop windows. */
.account-page #auth .auth-launch-offer{margin:14px 0;padding:12px 16px}
.account-page #auth .auth-launch-offer p{margin-top:5px;line-height:1.45}
.account-page #auth>p:first-of-type{margin-bottom:14px}
.account-page #auth label{margin:12px 0}
.account-page #auth input:not([type=checkbox]){padding:12px}
.account-page #auth .forgot-password{margin:0 0 10px auto}
.account-page #auth .social-login{margin-top:9px}
@media(min-width:801px){
 .account-page main:has(#account[hidden])>#auth{padding-top:58px;padding-bottom:20px}
}

/* Navigation between products is separate from account sections. */
.space-navigation{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:13px}
.space-navigation a,.space-navigation .space-current{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:12px;text-decoration:none;white-space:nowrap}
.space-navigation a{color:#c7dacd;border:1px solid transparent;transition:background .2s,border-color .2s}
.space-navigation a:hover{color:#f4f8ee;background:#ffffff0d;border-color:#d8ecd32b}
.space-navigation .space-current{color:#eff6e8;background:#d5ead912;border:1px solid #d5ead925}
.space-navigation .space-player{color:#173222;background:#e2edd9;border:1px solid #e2edd9}
.space-navigation .space-player:hover{background:#f3f8ed;color:#102719}
.space-navigation a:focus-visible{outline:2px solid #edf6e4;outline-offset:3px}
.account-workspace>.space-navigation{padding:12px 38px;border-bottom:1px solid #ffffff12;background:#07170c30}
.account-workspace>.space-navigation .space-player{margin-left:auto}
@media(max-width:900px){.account-workspace>.space-navigation{padding:12px 24px}}
@media(max-width:760px){.account-page>header{flex-wrap:wrap;gap:18px}.account-page>header>.space-navigation{width:100%}.account-workspace>.space-navigation{padding:10px 16px;gap:4px}.space-navigation{font-size:12px}.space-navigation a,.space-navigation .space-current{padding:10px}.space-navigation .space-player{margin-left:auto}}
@media(max-width:360px){.space-navigation{font-size:11px;gap:3px}.space-navigation a,.space-navigation .space-current{padding:10px 7px}}
@media(prefers-reduced-motion:reduce){.space-navigation a{transition:none}}

/* Account settings stay secondary to playlist management. */
.sidebar-bottom .account-profile-entry{display:flex;align-items:center;gap:12px;width:100%;padding:12px;text-align:left;border:1px solid #d4e7ce25;background:#d4e7ce08;border-radius:14px}
.account-profile-entry:hover,.account-profile-entry[aria-current]{background:#d4e7ce16;border-color:#d4e7ce50}
.account-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#dfead7;color:#183524}
.account-avatar svg{width:22px;height:22px}
.account-profile-entry strong,.account-profile-entry small{display:block}
.account-profile-entry strong{font-size:13px;font-weight:600;color:#edf5e8}
.account-profile-entry small{font-size:10px;color:#a9bfaf;margin-top:4px}
.account-profile-arrow{margin-left:auto;font-size:23px;color:#b8ccbc}
.account-sidebar{overflow-y:auto}

/* Cross-space navigation belongs with the account menu on every screen. */
.account-spaces{display:grid;gap:6px;padding-top:18px;border-top:1px solid #ffffff14}
.account-spaces a{display:flex;align-items:center;gap:10px;padding:13px 18px;color:#b7c8bc;text-decoration:none;border-radius:12px;font-size:14px}
.account-spaces a:hover{background:#ffffff09;color:#fff}
.account-spaces a:focus-visible{outline:2px solid #dcebd4;outline-offset:2px}
.account-spaces .space-external{margin-left:auto;opacity:.6}
#account-mobile-menu .account-spaces a{font-size:18px;padding:16px 18px}

/* The language control is directly available in every customer menu. */
.language-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(255,255,255,.16);border-radius:999px;flex-shrink:0;width:max-content}
.language-switch button{border:0;background:transparent;color:inherit;padding:7px 10px;border-radius:999px;font:inherit;font-size:12px;line-height:1.2;font-weight:650;cursor:pointer;min-width:36px}
.language-switch button[aria-pressed="true"]{background:rgba(255,255,255,.14);color:#fff}
.language-switch button:focus-visible{outline:2px solid #dbd7c9;outline-offset:3px}
.account-sidebar>.language-switch,#account-mobile-menu>.language-switch{margin:14px 0 8px}
@media(max-width:760px){body.account-page>header{flex-wrap:wrap;gap:12px}body.account-page>header>.language-switch{margin-left:auto}.space-navigation{flex-wrap:wrap}}
.account-page:has(#account[hidden])>header .language-switch{pointer-events:auto;background:#163523;color:#f1f5ee;border-color:#547360}

/* Shared navigation rhythm for the sidebar and mobile drawer. */
.account-sidebar { padding: 24px 16px 16px; gap: 12px; }
.account-sidebar .brand { padding: 0 10px; margin-bottom: 20px; }
.account-sidebar .brand img, .account-mobile-heading img { width: 96px; height: auto; }
.account-sections, .account-spaces, .sidebar-bottom { gap: 3px; }
.menu-icon { flex: none; width: 18px; height: 18px; }
.account-sections button, .account-spaces a, .sidebar-bottom > a:not([hidden]) {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px;
  min-height: 40px; margin: 0; border-radius: 8px; font-size: 13px; text-decoration: none;
}
.account-sections button[aria-current] { background: #253d30; color: #f1f5ed; border-color: #435a49; box-shadow: none; }
.account-spaces { padding-top: 12px; }
.sidebar-bottom > a:hover { background: #ffffff0c; }
.menu-section-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 12px; }
.menu-section-heading .sidebar-caption { margin: 0; }
.menu-section-heading .language-switch { padding: 0; gap: 1px; border: 0; border-radius: 0; background: transparent; }
.menu-section-heading .language-switch button { min-width: 28px; min-height: 32px; padding: 4px; font-size: 11px; border-radius: 4px; color: #a3b6a9; }
.menu-section-heading .language-switch button[aria-pressed="true"] { background: transparent; color: #f1f5ed; text-decoration: underline; text-underline-offset: 5px; }
.menu-section-heading .language-switch button:hover { background: #ffffff0c; }
#account-mobile-menu .menu-section-heading button { min-width: 44px; min-height: 44px; }
.profile-actions-row { display: flex; align-items: center; border-top: 1px solid #ffffff20; padding-top: 10px; }
.profile-actions-row .account-profile-entry { flex: 1; min-width: 0; padding: 6px; gap: 9px; background: transparent; border: 0; }
.profile-actions-row .account-profile-entry:hover, .profile-actions-row .account-profile-entry[aria-current] { background: #ffffff0c; }
.profile-actions-row .account-profile-arrow { display: none; }
.profile-actions-row .account-avatar { width: 30px; height: 30px; }
.profile-actions-row .profile-logout { display: grid; place-items: center; flex: none; width: 40px; height: 42px; padding: 0; margin: 0; border: 0; border-radius: 7px; background: transparent; color: #a9bfaf; }
.profile-actions-row .profile-logout:hover { background: #ffffff10; color: #fff; }
#account-mobile-menu[open] { padding: 20px; gap: 12px; }
#account-mobile-menu .account-sections button, #account-mobile-menu .account-spaces a { padding: 11px 12px; font-size: 15px; min-height: 44px; }
#account-mobile-menu .profile-logout { width: 44px; height: 44px; }
