@font-face{font-family:'Hanken Grotesk';src:url('/fonts/hanken-grotesk.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Newsreader';src:url('/fonts/newsreader.woff2') format('woff2');font-weight:200 800;font-display:swap}
/* Light is the initial palette; theme.js resolves System before painting. */
:root{color-scheme:light;--paper:#f8f6ef;--ink:#28352c;--muted:#626c5b;--sage:#63784f;--deep:#304a35;--line:#d4dccb;--green:#eaf0e0;--surface:#fffdf7;--surface-soft:#edf1e5;--hover:#e6eddb;--emphasis:#dfe8d2;--accent-ink:#526c43;--border:#c2cfb5;--border-strong:#9eaf8a;--badge:#f8f9f1;--primary-hover:#213a26;--on-primary:#f8fbf2;--notice:#8e513b;--error:#9b4938;--feedback-bg:#304a35;--feedback-ink:#f6f9f2;--error-bg:#805246;--neutral-dot:#89957b;--success-dot:#5f7d48;--success-halo:#6a874f20;--warning-dot:#a57e31;--error-dot:#b35e4b;--backdrop:#28342b66;--shadow:#0002;--dialog-shadow:#0002;--on-feedback-hover:#ffffff16;--spinner-track:#ffffff4d;--spinner-ink:#fff}
:root[data-theme="dark"]{color-scheme:dark;--paper:#111813;--ink:#edf3e8;--muted:#b0bca7;--sage:#aac98d;--deep:#b9d0a6;--line:#384635;--green:#253424;--surface:#1a241c;--surface-soft:#243124;--hover:#30402c;--emphasis:#36482e;--accent-ink:#bed7a3;--border:#4c6143;--border-strong:#77976a;--badge:#202e21;--primary-hover:#cce1b9;--on-primary:#172219;--notice:#e8b89e;--error:#f0ab98;--feedback-bg:#294530;--feedback-ink:#f0f6e9;--error-bg:#75473d;--neutral-dot:#8c9e82;--success-dot:#a5cc83;--success-halo:#a5cc8326;--warning-dot:#dfbd74;--error-dot:#f0a28e;--backdrop:#030705ba;--shadow:#0006;--dialog-shadow:#0009;--on-feedback-hover:#ffffff1c;--spinner-track:#ffffff55;--spinner-ink:#f0f6e9}
::selection{background:var(--emphasis);color:var(--ink)}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100dvh;background:var(--paper);color:var(--ink);font-family:'Hanken Grotesk',sans-serif;display:flex;flex-direction:column}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{border:0;color:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--sage);outline-offset:4px}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.topbar{height:94px;margin:0 6%;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;min-height:44px;flex-shrink:0}.brand-name{display:flex;flex-direction:column;gap:1px;line-height:1}.brand-name>span{font-size:12px;font-weight:500;letter-spacing:.01em;color:var(--muted)}.brand-name>strong{font-size:24px;font-weight:550;letter-spacing:-.7px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:33px;height:33px;background:var(--deep);color:var(--paper);border-radius:8px;flex-shrink:0}.brand-mark .icon{width:20px;height:20px}.header-actions{display:flex;align-items:center;gap:19px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:var(--muted);font-size:13px;min-height:44px;padding:8px 0}.text-button:hover{color:var(--ink)}.guides-link{text-decoration:none}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border-radius:7px;min-width:44px;min-height:44px;padding:10px}.icon-button:hover,.menu-button:hover{background:var(--hover)}.phone-button{display:flex;align-items:center;gap:8px;background:transparent;color:var(--muted);font-size:13px;min-height:44px;padding:8px 0}.phone-button:hover{color:var(--ink)}.header-divider{width:1px;height:22px;background:var(--line)}.connect-button{display:flex;align-items:center;gap:10px;background:transparent;border:1px solid var(--border);border-radius:7px;padding:10px 14px;min-height:44px;font-size:13px}.connect-button:hover{background:var(--hover)}.status-dot,.tiny-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:var(--neutral-dot)}.status-dot.active{background:var(--success-dot);box-shadow:0 0 0 3px var(--success-halo)}.status-dot.warning{background:var(--warning-dot)}.status-dot.error{background:var(--error-dot)}.mobile-only{display:none}
main{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:540px}.welcome,.workspace{width:calc(100% - 48px);max-width:620px;margin:30px auto 64px;text-align:center}.welcome h1,.workspace>h1{font-family:'Newsreader',serif;font-size:clamp(56px,6vw,78px);line-height:1.05;font-weight:450;letter-spacing:-2.4px;margin:0 0 18px}.intro{font-size:15px;color:var(--muted);line-height:1.6;margin:0}.dropzone{border:1px dashed var(--border-strong);border-radius:10px;background:var(--surface-soft);padding:32px 24px 25px;margin:30px auto 0;cursor:pointer;transition:background .15s,border-color .15s}.dropzone:hover,.dropzone.dragging{background:var(--hover);border-color:var(--sage)}.upload-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:10px;background:var(--emphasis);color:var(--accent-ink);margin:0 auto 16px}.dropzone h2{font-size:18px;font-weight:550;margin:0 0 7px;letter-spacing:-.3px}.dropzone p{font-size:13px;color:var(--muted);margin:0}.browse-link{color:var(--deep);text-decoration:underline;text-underline-offset:3px}.formats{display:flex;justify-content:center;gap:8px;margin-top:24px}.formats span{font-size:11px;padding:4px 9px;border:1px solid var(--line);border-radius:4px;color:var(--accent-ink);background:var(--badge)}.privacy-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:var(--muted);margin:22px 0 0}.privacy-note .icon{width:14px;height:14px}.workspace>h1{font-size:54px;margin-bottom:28px}.media-panel{padding:26px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.selected-heading{display:flex;align-items:center;gap:15px;min-width:0}.current-file-symbol{width:46px;height:54px;background:var(--green);color:var(--accent-ink);display:grid;place-items:center;border-radius:6px;flex-shrink:0}.current-file-symbol .icon{width:23px;height:23px}.selected-heading>div{min-width:0;flex:1}.selected-heading h2{font-size:17px;font-weight:550;line-height:1.45;overflow-wrap:anywhere;letter-spacing:-.3px;margin:0}.selected-heading p{font-size:12px;line-height:1.5;color:var(--muted);margin:5px 0 0}.selected-heading .icon-button{margin-right:-9px}.file-status{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:13px;margin:27px 0 0;line-height:1.5}.file-status small{flex-basis:100%;margin-left:15px;font-size:12px;color:var(--muted)}.cast-actions{display:flex;align-items:center;gap:6px;margin-top:22px}.menu-button{display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;border-radius:7px;min-height:44px;padding:8px 11px;font-size:13px}.menu-button .icon{width:19px;height:19px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border-radius:6px;font-size:13px;font-weight:550;text-decoration:none;transition:background .15s}.button.primary{background:var(--deep);color:var(--on-primary)}.button.primary:hover{background:var(--primary-hover)}.button.secondary{border:1px solid var(--border);background:transparent}.button.secondary:hover{background:var(--hover)}.button .icon{width:18px;height:18px}.cast-actions .primary{margin-left:auto;min-width:166px;font-size:15px}.change-file{margin-top:15px}.change-file .icon{width:16px;height:16px}.prepare-progress{margin-top:17px}.prepare-progress>div{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:8px}progress{width:100%;height:4px;border:0;border-radius:2px;background:var(--line);overflow:hidden;accent-color:var(--sage)}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--sage)}progress::-moz-progress-bar{background:var(--sage)}.media-error{font-size:13px;line-height:1.6;color:var(--error);margin:16px 0 0}.notice{max-width:620px;margin:0 auto 25px;padding:14px 20px;color:var(--notice);font-size:13px;line-height:1.6}.remote-controls{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.casting-label{display:flex;gap:9px;align-items:center;font-size:13px;line-height:1.5;margin-bottom:16px;overflow-wrap:anywhere}.seek-line{display:flex;align-items:center;gap:12px;font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted)}.seek-line input{min-width:0;flex:1;height:28px;accent-color:var(--sage)}.remote-row{display:flex;align-items:center;gap:8px;margin-top:9px}.round-play{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:var(--green);color:var(--deep)}.remote-spacer{flex:1}#remote-volume{width:80px;accent-color:var(--sage)}#stop-button{display:flex;margin:13px 0 0 auto;font-size:12px}.remote-plan-status{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 0}.page-controls{display:flex;align-items:center;justify-content:center;gap:14px}.page-controls label{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}.page-controls select{min-height:44px;min-width:62px;padding:8px;background:var(--paper);border:1px solid var(--line);border-radius:5px;color:var(--ink)}
footer{margin:0 6%;min-height:74px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px}.upload-status{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;background:var(--feedback-bg);color:var(--feedback-ink);border-radius:8px;padding:12px 15px;box-shadow:0 5px 24px var(--shadow);z-index:10;font-size:13px;max-width:calc(100% - 32px);width:560px}.upload-status progress{width:85px;flex-shrink:0}#upload-label{flex:1;overflow-wrap:anywhere}.upload-status .icon-button:hover{background:var(--on-feedback-hover)}.spinner{width:15px;height:15px;border:2px solid var(--spinner-track);border-top-color:var(--spinner-ink);border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:14px 20px;border-radius:7px;background:var(--feedback-bg);color:var(--feedback-ink);box-shadow:0 5px 25px var(--shadow);font-size:13px;line-height:1.6;z-index:20;overflow-wrap:anywhere}.toast.error{background:var(--error-bg)}
dialog{border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);width:calc(100% - 32px);max-width:540px;max-height:calc(100dvh - 40px);padding:30px;box-shadow:0 20px 80px var(--dialog-shadow)}dialog::backdrop{background:var(--backdrop);backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.dialog-heading .icon-button{margin:-9px -9px -9px 0;flex-shrink:0}.eyebrow{font-size:12px;color:var(--muted);font-weight:500;letter-spacing:0}dialog h2{font-family:'Newsreader',serif;font-size:37px;line-height:1.13;letter-spacing:-.8px;font-weight:450;margin:0 0 12px}.dialog-heading h2{margin:0;font-size:34px}.dialog-intro{color:var(--muted);font-size:14px;line-height:1.7;margin:0 0 24px}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:25px}.settings-fields{display:flex;flex-direction:column;gap:19px}.settings-fields>label:not(.checkbox-label){display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted)}.settings-fields select,.network-label select{width:100%;background:var(--surface-soft);border:1px solid var(--line);color:var(--ink);border-radius:6px;min-height:44px;padding:10px 12px;font-size:14px}.settings-fields>.button{align-self:flex-start}.settings-note{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.checkbox-label{display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px}.checkbox-label input{width:18px;height:18px;accent-color:var(--sage)}.network-settings{margin-top:24px;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:13px}.network-settings summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.network-settings summary::before{content:'+';margin-right:9px}.network-settings[open] summary::before{content:'−'}.network-label{display:flex;flex-direction:column;gap:10px;font-size:13px;color:var(--muted);margin:12px 0}.network-label small{font-size:12px;line-height:1.6}.network-settings .text-button{margin-right:20px}.connection-steps>div{display:flex;gap:17px;margin:17px 0;font-size:13px;color:var(--muted);line-height:1.65}.connection-steps>div>span{font-size:12px;color:var(--sage);margin-top:3px}.connection-steps p{margin:0}.connection-steps strong{display:block;color:var(--ink);font-weight:550}.connection-info{display:flex;align-items:center;gap:9px;padding:14px;background:var(--green);font-size:12px;border-radius:6px;line-height:1.6}.troubleshooting{font-size:12px;margin-top:22px;color:var(--muted);line-height:1.75}.troubleshooting summary{cursor:pointer;padding:8px 0;min-height:44px}.device-status{font-size:13px;line-height:1.7;color:var(--muted)}.device-list{display:flex;flex-direction:column;gap:10px;margin:19px 0;min-width:0}.device-row{display:flex;align-items:center;gap:12px;min-height:76px;width:100%;padding:14px;text-align:left;background:var(--surface-soft);border:1px solid var(--border);border-radius:8px}.device-row:hover,.device-row.selected{background:var(--hover);border-color:var(--border-strong)}.device-icon{width:35px;flex-shrink:0;display:grid;place-items:center;color:var(--sage)}.device-row>span:not(.device-icon){min-width:0;flex:1}.device-name{display:block;font-size:15px;font-weight:550;overflow-wrap:anywhere}.device-detail{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}.device-actions{justify-content:space-between;flex-wrap:wrap}.mobile-share{display:flex;flex-direction:column;align-items:center;gap:20px;margin:25px 0}#mobile-qr{width:180px;height:180px;max-width:100%;background:white;border:1px solid var(--line);border-radius:7px;padding:10px;object-fit:contain}#mobile-link{max-width:100%;font-size:14px;line-height:1.7;overflow-wrap:anywhere;text-align:center;color:var(--deep);text-underline-offset:4px}.mobile-note{font-size:13px;line-height:1.7;color:var(--muted)}.plans-dialog{max-width:780px}.account-line{display:flex;gap:9px;align-items:center;font-size:13px;color:var(--muted);margin:22px 0;overflow-wrap:anywhere}.plan-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.plan-card{border:1px solid var(--line);border-radius:8px;padding:21px 18px;display:flex;flex-direction:column;gap:14px;min-width:0}.plan-card.current{border-color:var(--border-strong);background:var(--green)}.plan-card h3{font-family:'Newsreader',serif;font-size:30px;font-weight:450;margin:0;letter-spacing:-.6px}.plan-price{font-size:16px;font-weight:550;min-height:26px}.plan-card p{color:var(--muted);font-size:13px;line-height:1.6;margin:0;flex:1}.plan-action{display:flex;align-items:center;min-height:44px;font-size:13px;color:var(--ink);margin-top:auto}button.plan-action{background:transparent;padding:0;text-align:left}.plan-action[aria-disabled=true]{color:var(--muted);cursor:default}.plan-notice{font-size:13px;line-height:1.7;color:var(--muted);margin:20px 0 0}.pairing-box{border:1px solid var(--border);background:var(--green);border-radius:7px;padding:20px;text-align:center;margin-top:20px}.pairing-box>span{font-size:12px;color:var(--muted)}.pairing-box>strong{display:block;font-size:32px;letter-spacing:5px;margin:14px 0}.pairing-box p{font-size:13px;color:var(--muted);line-height:1.65}.pairing-box .text-button{margin-left:12px}.account-actions{justify-content:flex-start;flex-wrap:wrap}
@media(max-width:900px){.help-button,.header-divider,.phone-button span{display:none}.header-actions{gap:8px}.phone-button{justify-content:center;min-width:44px}.topbar{margin-inline:5%}}
@media(max-width:650px){.topbar{height:78px;margin-inline:6%;gap:8px}.brand{gap:8px}.brand-name>span{font-size:11px}.brand-name>strong{font-size:22px}.brand-mark{width:30px;height:30px}.header-actions{gap:1px}.connect-button{padding:10px;gap:7px}#connect-label{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.connect-button .status-dot{display:none}.mobile-only{display:inline}.desktop-only{display:none}main{min-height:500px}.welcome,.workspace{width:calc(100% - 40px);margin:28px auto 45px}.welcome h1{font-size:61px;letter-spacing:-1.9px}.intro{font-size:14px}.workspace>h1{font-size:46px;margin-bottom:24px}.dropzone{padding:30px 20px 25px}.media-panel{padding:20px}.selected-heading{gap:12px}.selected-heading h2{font-size:16px}.selected-heading p{font-size:11px}.current-file-symbol{width:36px;height:45px}.cast-actions{gap:2px}.cast-actions .primary{min-width:110px;flex:1;margin-left:12px}.menu-button{padding-inline:7px;font-size:12px}.file-status{margin-top:23px}.remote-row{gap:4px}.remote-row .icon-button{font-size:12px}.remote-spacer{flex:1}#remote-volume{width:62px}.seek-line input,#remote-volume{height:44px}.seek-line{gap:8px}select,.settings-fields select,.network-label select,.page-controls select{font-size:16px}footer{min-height:66px;margin-inline:6%;gap:12px}footer>span{display:none}footer .text-button{font-size:12px}dialog{padding:24px}.dialog-heading h2{font-size:32px}.dialog-actions{flex-wrap:wrap}.device-actions .button{flex:1;min-width:110px}.plan-list{grid-template-columns:1fr}.plan-card{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:16px}.plan-card p,.plan-action{grid-column:1/-1}.plan-price{text-align:right;align-self:center}.account-actions>.button{flex:1;min-width:120px}.upload-status{display:grid;grid-template-columns:15px minmax(0,1fr) 44px;padding:10px;bottom:calc(12px + env(safe-area-inset-bottom));gap:8px;width:calc(100% - 24px)}.upload-status progress{width:100%;grid-column:1/-1}.upload-status .icon-button{grid-column:3;grid-row:1}}
@media(max-width:380px){.phone-button{display:none}.welcome h1{font-size:53px}.cast-actions .primary{min-width:90px;margin-left:6px}.media-panel{padding:17px}.menu-button span{display:none}.remote-spacer{display:none}#remote-volume{width:52px}.remote-row{justify-content:space-between;gap:0}}
@media(hover:none) and (pointer:coarse){input[type=range]{min-height:44px}select{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:380px){.brand{gap:6px}.brand-name>strong{font-size:20px}.brand-mark{width:28px;height:28px}.connect-button{max-width:122px;min-width:0;padding:10px 8px}.connect-button .icon{width:17px;height:17px}#connect-label{max-width:70px}.page-controls{gap:6px}.page-controls label{gap:6px}.page-controls .page-prefix{display:none}.page-controls select{min-width:50px;padding-inline:5px}#page-total{white-space:nowrap}}

/* Compact plan comparison remains in the page in both appearances. */
.appearance-label{display:flex;flex-direction:column;gap:8px;margin:0 0 22px;color:var(--muted);font-size:13px}
.appearance-label select{width:100%;background:var(--surface-soft);border:1px solid var(--line);color:var(--ink);border-radius:6px;min-height:44px;padding:10px 12px;font-size:16px}
.plan-card .plan-price{font-size:24px;font-weight:550;color:var(--ink);flex:none;line-height:1.3}
.plan-price small{font-size:12px;font-weight:400;color:var(--muted);white-space:nowrap}
.pricing-button{padding-inline:8px;border-radius:7px}
.pricing-button:hover{background:var(--hover)}
#theme-toggle{color:var(--accent-ink)}
.plan-teaser{width:calc(100% - 48px);max-width:620px;margin:0 auto 40px;padding-top:18px;border-top:1px solid var(--line)}
.pricing-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.pricing-heading h2{font-family:'Newsreader',serif;font-weight:450;font-size:27px;line-height:1.2;letter-spacing:-.5px;margin:0}
.pricing-heading .text-button{font-size:12px;flex-shrink:0}
.pricing-heading .icon{width:16px;height:16px}
.pricing-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pricing-option{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 5px;min-width:0;padding:16px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:8px;transition:background .15s,border-color .15s}
.pricing-option:hover{background:var(--surface-soft);border-color:var(--border)}
.pricing-option.available:hover{border-color:var(--border-strong);background:var(--green)}
.pricing-option.current{background:var(--green);border-color:var(--border-strong);box-shadow:inset 0 0 0 1px var(--border-strong)}
.pricing-name{grid-column:1/-1;display:block;font-size:13px;font-weight:550;line-height:1.4;color:var(--ink)}
.pricing-amount{font-size:25px;font-weight:550;line-height:1.2;letter-spacing:-.7px;align-self:baseline;white-space:nowrap}
.pricing-period{font-size:11px;line-height:1.5;align-self:baseline;color:var(--muted);white-space:nowrap}
.pricing-description,.pricing-option p{grid-column:1/-1;display:block;min-height:36px;font-size:12px;line-height:1.5;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}
.pricing-note{font-size:12px;line-height:1.6;color:var(--muted);margin:13px 0 0}
@media(max-width:650px){.pricing-button{display:none}.connect-button{width:44px;min-width:44px;max-width:44px;padding:10px;justify-content:center}.connect-button .icon{width:20px;height:20px}#connect-label{display:none}.plan-teaser{width:calc(100% - 40px);margin-bottom:30px}.pricing-heading h2{font-size:25px}}
@media(max-width:520px){.pricing-options{grid-template-columns:1fr;gap:9px}.pricing-option{grid-template-columns:minmax(0,1fr) auto auto;gap:3px 5px;padding:13px 15px}.pricing-name{grid-column:1;grid-row:1;align-self:center}.pricing-amount{grid-column:2;grid-row:1;font-size:22px;justify-self:end}.pricing-period{grid-column:3;grid-row:1;align-self:baseline;margin-left:1px}.pricing-description,.pricing-option p{grid-column:1/-1;grid-row:2;min-height:0;margin-top:3px}.pricing-heading{gap:8px}.pricing-heading .text-button{font-size:11px;gap:5px}}
@media(max-width:380px){.cast-actions .menu-button{min-width:44px}}
@media(max-width:360px){.cast-actions{flex-wrap:wrap}.cast-actions .primary{flex-basis:100%;margin-left:0}}

/* A single bounded thumbnail identifies the current file without a preview player. */
.current-file-symbol{width:80px;height:60px;overflow:hidden;background:var(--surface-soft)}
.current-file-symbol img{display:block;width:100%;height:100%;object-fit:cover}
.current-file-symbol.document-thumbnail{background:#fff}
.current-file-symbol.document-thumbnail img{object-fit:contain}
.current-file-symbol.audio-artwork{background:linear-gradient(135deg,var(--emphasis),var(--green));color:var(--accent-ink)}
.current-file-symbol.audio-artwork .icon{width:29px;height:29px}
@media(max-width:650px){.current-file-symbol{width:64px;height:48px}.connect-button.is-connected{width:auto;max-width:none;min-width:0;padding:10px 8px;gap:6px}.connect-button.is-connected .icon{width:17px;height:17px}.connect-button.is-connected #connect-label{display:inline;max-width:none;font-size:12px}.topbar:has(.connect-button.is-connected) #theme-toggle{display:none}}

.connection-diagnostics{margin-top:18px;padding:15px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}
.connection-diagnostics h3{font-size:13px;font-weight:550;margin:0 0 10px}
.connection-diagnostics dl{margin:0;font-size:12px;line-height:1.5}
.connection-diagnostics dl>div{display:grid;grid-template-columns:minmax(95px,.8fr) minmax(0,1.4fr);gap:12px;padding:5px 0}
.connection-diagnostics dt{color:var(--muted)}
.connection-diagnostics dd{margin:0;overflow-wrap:anywhere}
.connection-diagnostics .settings-note{font-size:11px;line-height:1.55;margin:10px 0 0}
.connection-diagnostics .text-button{font-size:12px;margin-top:8px;padding:6px 0;min-height:36px}
@media(max-width:380px){.connection-diagnostics{padding:12px}.connection-diagnostics dl>div{grid-template-columns:minmax(85px,.8fr) minmax(0,1.2fr);gap:8px}}

.settings-navigation{margin:18px 0 22px;padding:6px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.settings-navigation button,.settings-navigation a{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:12px 4px;background:transparent;color:var(--ink);font-size:14px;text-align:left;border-radius:5px;text-decoration:none}
.settings-navigation button:hover,.settings-navigation a:hover{background:var(--hover)}
.settings-navigation .icon{width:17px;height:17px;flex-shrink:0;color:var(--muted)}
