.brand-logo{width:44px;height:44px;object-fit:contain;flex-shrink:0}.brand-name{font:inherit}.logo{gap:12px}
.songs time,.track-panel time,a{color:var(--mint)}
html[data-brand-style=light]{color-scheme:light;background:#f4f4f4;color:#272727;--muted:#5e5e5e;--border:#cfcfcf;--surface:#ffffff}
html[data-brand-style=light] body,html[data-brand-style=light] .workspace{background:#f4f4f4;color:#272727}
html[data-brand-style=light] .card,html[data-brand-style=light] .recording-card,html[data-brand-style=light] dialog{background:#ffffff;color:#272727}
html[data-brand-style=light] .sidebar{background:#eaeaea}html[data-brand-style=light] input,html[data-brand-style=light] select{background:#fbfbfb;color:#2f2f2f;border-color:#b9b9b9}
html[data-brand-style=light] .logo span,html[data-brand-style=light] label,html[data-brand-style=light] .account span,html[data-brand-style=light] .eyebrow,html[data-brand-style=light] .admin-link{color:#4d4d4d}
html[data-brand-style=light] .secondary,html[data-brand-style=light] nav button{background:#e3e3e3;color:#414141}
html[data-brand-style=light] .donut:before{background:#ffffff}html[data-brand-style=light] .archive-chat,html[data-brand-style=light] .fingerprint{background:#f0f0f0;color:#2f2f2f}
html[data-brand-style=light] .track-panel li button,html[data-brand-style=light] .chat-message strong{color:#414141}
#brandColor{height:48px;max-width:160px;padding:4px}

footer{display:none!important}

body.signed-out .sidebar{display:none}body.signed-out .app-shell{grid-template-columns:minmax(0,1fr)}body.signed-out .workspace{min-height:100vh}

.ambient-music{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 0;border-bottom:1px solid var(--border);margin-bottom:18px}.ambient-music button{font-size:12px;padding:7px 10px;min-width:145px}.ambient-music label{display:flex;align-items:center;gap:10px;font-size:12px;margin:0}.ambient-music input[type=range]{width:110px;padding:0;accent-color:var(--mint);height:24px;border:0;background:transparent}.ambient-music .muted{font-size:12px}@media(max-width:600px){.ambient-music .muted{flex-basis:100%}}

/* Full-screen, keyboard-accessible welcome and audio activation. */
.welcome-gate{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:28px;border:0;background:transparent;color:#f4f4f4;overflow:auto}
.welcome-gate[open]{display:grid;place-items:center}.welcome-gate::backdrop{background:rgba(12,12,12,.28);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.welcome-gate-content{width:min(820px,100%);text-align:center}.welcome-enter{width:100%;min-height:clamp(240px,44vh,440px);padding:40px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;border:1px solid #8b8b8b;border-radius:36px;color:#f5f5f5;background:linear-gradient(135deg,#454545de,#202020df 70%);box-shadow:0 32px 100px #0009,inset 0 1px 0 #ffffff30;animation:welcome-float .65s ease-in-out infinite;transition:box-shadow .25s,border-color .25s}
.welcome-enter:hover{filter:none;border-color:#eee;box-shadow:0 35px 110px #000b,0 0 55px #ffffff18}.welcome-enter:focus-visible{outline:4px solid #f4f4f4;outline-offset:8px}.welcome-enter:active{animation:none;transform:scale(.98)}.welcome-enter strong{font-size:clamp(44px,8vw,92px);line-height:1.1;letter-spacing:-.055em}.welcome-wave{font-size:clamp(20px,4vw,36px);letter-spacing:.2em;color:#c9c9c9}.welcome-enter-label{display:flex;align-items:center;gap:22px;font-size:clamp(17px,2.5vw,25px);font-weight:500;letter-spacing:.02em}.welcome-enter-label>span{font-size:1.6em}.welcome-gate-content>p{font-size:13px;max-width:400px;margin:35px auto 0;color:#c6c6c6}
@keyframes welcome-float{0%,100%{transform:translate(0,0) rotate(-.2deg)}25%{transform:translate(1px,-1px) rotate(.2deg)}50%{transform:translate(-1px,0) rotate(-.15deg)}75%{transform:translate(1px,1px) rotate(.15deg)}}
@media(prefers-reduced-motion:reduce){.welcome-enter{animation:none;transition:none}}@media(max-width:500px){.welcome-gate{padding:22px}.welcome-enter{border-radius:25px;padding:28px 20px;gap:20px}}

.recommendation-card{margin-top:32px}.recommendation-fields{display:flex;align-items:center;gap:12px}.recommendation-fields input{flex:1}.recommendation-fields button{flex-shrink:0}.recommendation-badge{margin-top:8px}@media(max-width:650px){.recommendation-fields{align-items:stretch;flex-direction:column}}

/* The greeting becomes a non-blocking veil while the intro reveals the archive. */
.welcome-gate.is-revealing{position:fixed;inset:0;z-index:9999;pointer-events:none;overflow:hidden}
.welcome-gate.is-revealing::before{content:'';position:fixed;inset:0;background:rgba(12,12,12,var(--intro-shade,.28));backdrop-filter:blur(var(--intro-blur,5px));-webkit-backdrop-filter:blur(var(--intro-blur,5px));pointer-events:none}
.welcome-gate.is-revealing .welcome-gate-content{position:relative;animation:welcome-button-out 3s ease-in-out forwards;pointer-events:none}
.welcome-gate.is-revealing .welcome-enter{opacity:1;animation:none;filter:none;cursor:default}
body.intro-reveal>.public-header,body.intro-reveal>.public-main{transform-origin:50% 20vh;transform:translate3d(var(--intro-shift,0px),0,0) skewX(var(--intro-skew,0deg)) scale(var(--intro-scale,1));filter:brightness(var(--intro-light,1));will-change:transform,filter}
@keyframes welcome-button-out{0%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-12px) scale(1.035)}}
@media(prefers-reduced-motion:reduce){.welcome-gate.is-revealing .welcome-gate-content{animation:welcome-button-opacity 1.5s ease forwards}body.intro-reveal>.public-header,body.intro-reveal>.public-main{transform:none;filter:none}}
@keyframes welcome-button-opacity{from{opacity:1}to{opacity:0}}

.welcome-gate.is-revealing::before{z-index:0}.welcome-glitch{position:fixed;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;image-rendering:pixelated;mix-blend-mode:screen}.welcome-gate.is-revealing .welcome-gate-content{z-index:2}body.intro-reveal{overflow-x:clip}@media(prefers-reduced-motion:reduce){.welcome-glitch{display:none}}

#slowBackgroundEffect{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:.3;image-rendering:pixelated}body>.public-header,body>.public-main,body>.app-shell{position:relative;z-index:1}#slowBackgroundEffect[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){#slowBackgroundEffect{display:none}}

.welcome-idle-effect{position:fixed;inset:0;width:100%;height:100%;z-index:1;opacity:.8;pointer-events:none;image-rendering:pixelated;mix-blend-mode:screen}.welcome-gate-content{position:relative;z-index:2}.welcome-gate.is-revealing .welcome-idle-effect{display:none}@media(prefers-reduced-motion:reduce){.welcome-idle-effect{display:none}}
