:root{color-scheme:light}.theme-toggle{position:fixed;right:20px;bottom:20px;z-index:8;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:24px;padding:12px 17px;background:var(--white);color:var(--ink);box-shadow:0 4px 20px #14291e18;font-size:11px;font-weight:600}.theme-toggle:focus-visible{outline:2px solid #86ad67;outline-offset:4px}.app-footer,.landing footer{padding-bottom:70px}
html[data-theme=dark]{color-scheme:dark;--green:#244f40;--accent:#cae9ae;--ink:#e0e9df;--muted:#a3b1a4;--line:#34473b;--bg:#101a17;--white:#19261f}
html[data-theme=dark] :is(.sidebar,.stat,.panel,.auth-panel,.tool-card,.secondary,.account-options button,.service-steps article){background:#19261f}
html[data-theme=dark] .topbar{background:#15221c}
html[data-theme=dark] :is(input,select,textarea){background:#122018;border-color:#405342;color:#e0e9df}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#92a18e}
html[data-theme=dark] :is(.workspace-icon,.avatar,.token-card,.count,.badge,.notice,.password-toggle,nav .selected,.account-options .chosen){background:#2a3d2c;color:#d1e6bb}
html[data-theme=dark] .notice{border-color:#43553b}
html[data-theme=dark] :is(.public-plan.recommended){background:#223828;border-color:#93af7e}
html[data-theme=dark] :is(nav i,.filters button){background:#19261f;color:#c3d1bd;border-color:#34473b}
html[data-theme=dark] .filters .active{background:#426343;color:#f1f7ea}
html[data-theme=dark] .primary{background:#b7d99a;color:#182c1c}
html[data-theme=dark] :is(.logomark,.hero,.store-cta,.recommended-label){background:#244f40}
html[data-theme=dark] :is(.cream){background:#d6e9bd;color:#223e29}
html[data-theme=dark] .hero{border:1px solid #44664e}
html[data-theme=dark] .pink{background:#47313c;color:#e2b3c6}
html[data-theme=dark] .mint{background:#2c4537;color:#b0d3b9}
html[data-theme=dark] .peach{background:#463b2c;color:#dcc4a4}
html[data-theme=dark] .lavender{background:#383448;color:#c9bde5}
html[data-theme=dark] :is(.tool-bottom,.member,td,th,.plan li,.tool-actions){border-color:#34473b}
html[data-theme=dark] :is(.topbar b,.output pre,label,.public-nav a,.tool-bottom b,.plain,.switch .active){color:#d1dfc8}
html[data-theme=dark] :is(.eyebrow,.category,.nav-label,.stat-label,.stat>span,.stat strong small,.stat .stat-foot,.tool-info p,.section-heading p,.public-section-heading p,.store-intro p,.public-plan>p,.pitch>p,.panel>p,.form-note,.managed-tool-info p,.managed-tool-info small,.service-steps p,.pricing-note,.tagline,.intro-chips,.logotext>span,.topbar,.bottom-note p,.app-footer,.landing footer,.tool-bottom,.auth-panel>p,.account-options small,.empty p,.referral-row small,nav button){color:#a8b8a1}
html[data-theme=dark] :is(.store-intro h1 span,.pitch h1>span,.wave,.forgot-link,.checkout-icon,.service-steps article>span,.empty h3,.empty>span){color:#b6ce98}
html[data-theme=dark] .switch .active{border-color:#b6ce98}
html[data-theme=dark] .account-options .chosen{border-color:#a1ba88}
html[data-theme=dark] .danger{color:#eeaaa0}
html[data-theme=dark] .empty{color:#9caf96}
html[data-theme=dark] .swatch{border-color:#d5deca}
html[data-theme=dark] progress::-webkit-progress-bar{background:#344832}
html[data-theme=dark] progress::-webkit-progress-value{background:#b7d99a}
@media(max-width:600px){.theme-toggle{right:14px;bottom:14px;padding:11px 14px;font-size:10px}}
nav button.creative-nav{font-weight:800;font-size:13px}.theme-controls{position:fixed;right:18px;bottom:18px;z-index:8;display:flex;gap:6px;align-items:center}.theme-controls .theme-toggle{position:static;box-shadow:none}.theme-colors-button{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:24px;padding:12px 16px;font-size:11px}.theme-color-panel{position:absolute;right:0;bottom:55px;width:260px;padding:18px;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 35px #0002}.theme-color-panel[hidden]{display:none}.theme-color-panel label{margin:0;color:var(--ink)}.theme-color-panel small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:9px}
html[data-theme=light][data-palette=blue]{--green:#174e7c;--accent:#dcecff;--ink:#182e43;--muted:#60758a;--line:#cfdeed;--bg:#f2f7fc;--white:#fff}
html[data-theme=dark][data-palette=blue]{--green:#244d70;--accent:#b9dfff;--ink:#e5f0fc;--muted:#a6bdd3;--line:#334b63;--bg:#101c29;--white:#1b2c3d}
html[data-theme=light][data-palette=violet]{--green:#624297;--accent:#ece2ff;--ink:#302340;--muted:#7a698c;--line:#e2d7ec;--bg:#f8f4fc;--white:#fff}
html[data-theme=dark][data-palette=violet]{--green:#51406d;--accent:#e1c9ff;--ink:#f0e7fb;--muted:#c0adcf;--line:#514161;--bg:#1c1527;--white:#2b2138}
html[data-theme=light][data-palette=neutral]{--green:#343b46;--accent:#e4e7ec;--ink:#20242b;--muted:#68717d;--line:#dce0e5;--bg:#f5f6f8;--white:#fff}
html[data-theme=dark][data-palette=neutral]{--green:#3b414c;--accent:#e1e5ec;--ink:#ededf0;--muted:#aeb3bf;--line:#414650;--bg:#17191e;--white:#24272e}
html[data-palette]:not([data-palette=sage]) :is(.sidebar,.panel,.stat,.auth-panel,.tool-card,.secondary,.account-options button,.service-steps article,.topbar){background:var(--white);color:var(--ink);border-color:var(--line)}html[data-palette]:not([data-palette=sage]) :is(input,select,textarea){background:var(--bg);color:var(--ink);border-color:var(--line)}html[data-palette]:not([data-palette=sage]) :is(.workspace-icon,.avatar,.token-card,.badge,.notice,.password-toggle,nav .selected,.account-options .chosen){background:var(--accent);color:var(--green);border-color:var(--line)}html[data-theme=dark][data-palette]:not([data-palette=sage]) :is(.workspace-icon,.avatar,.token-card,.badge,.notice,.password-toggle,nav .selected,.account-options .chosen){background:var(--green);color:var(--ink)}html[data-palette]:not([data-palette=sage]) :is(label,.empty,.pitch>p,.tool-info p,.form-note){color:var(--muted)}html[data-palette]:not([data-palette=sage]) .primary{background:var(--green);color:#fff}html[data-palette]:not([data-palette=sage]) .creative-composer textarea{background:transparent}@media(max-width:600px){.theme-controls{right:10px;bottom:10px}.theme-controls .theme-toggle,.theme-colors-button{padding:10px;font-size:10px}}
html[data-palette]:not([data-palette=sage]) nav button.selected{background:var(--accent)!important;color:var(--green)!important}html[data-theme=dark][data-palette]:not([data-palette=sage]) nav button.selected{background:var(--green)!important;color:var(--ink)!important}
