/* Independent warm theme. No layout or typography overrides. */
@import url("/theme-warm-neutral.css?v=20261102-warm1");

:root[data-theme="warm"]{--page:#f4f4f0;--bg:#fdfdfb;--panel:#eeefe9;--ink:#242722;--text:#56604c;--muted:#86907b;--line:#e0e4d7;--line2:#e7eadf;--accent:#343c2f;--light:#fafbf7;--shadow:none}
html[data-theme="warm"] body,html[data-theme="warm"] .workspace{background:#f4f4f0;color:#242722}
html[data-theme="warm"] .sidebar{background:#eeefe9;color:#798171;border-color:#dedfd7}
html[data-theme="warm"] .brand{color:#242722}
html[data-theme="warm"] .brand-logo stop:first-child{stop-color:#78836a}
html[data-theme="warm"] .brand-logo stop:last-child{stop-color:#343c2f}
html[data-theme="warm"] .nav button{color:#798171}
html[data-theme="warm"] .nav button svg{color:#8b947e}
html[data-theme="warm"] .nav button.active,html[data-theme="warm"] .nav button.active:hover{background:#343c2f;color:#f4f5ee}
html[data-theme="warm"] .nav button.active svg{color:#d5dfbf}
html[data-theme="warm"] .nav button:hover{background:#e3e7da;color:#58634c}
html[data-theme="warm"] .toolbar{background:#f8f9f4;border-color:#e0e2d9}
html[data-theme="warm"] .toolbar span{color:#75816a}
html[data-theme="warm"] .toolbar .btn,html[data-theme="warm"] .engine-switch{background:#fafbf7;border-color:#dfe3d6;color:#6f7864}
html[data-theme="warm"] .content,html[data-theme="warm"] .script-card,html[data-theme="warm"] .script-card textarea{background:#fdfdfb}
html[data-theme="warm"] .script-card textarea{color:#353a31}
html[data-theme="warm"] .script-card textarea::placeholder{color:#969e8a}
html[data-theme="warm"] .tts-parameters,html[data-theme="warm"] .dialogue-parameters{background:#f4f4f0;border-color:#e0e4d7}
html[data-theme="warm"] .settings-tabs{border-color:#e0e4d7}
html[data-theme="warm"] .settings-tabs button{color:#939d87}
html[data-theme="warm"] .settings-tabs button.active{color:#525e44;border-color:#788969}
html[data-theme="warm"] .settings-tabs button.active::after{background:#788969}
html[data-theme="warm"] .parameter-caption,html[data-theme="warm"] .tts-parameters label,html[data-theme="warm"] .tts-parameters .setting-field>span:first-child{color:#566249}
html[data-theme="warm"] .voice-setting,html[data-theme="warm"] .voice-picker,html[data-theme="warm"] .model-selector,html[data-theme="warm"] .model-select,html[data-theme="warm"] .tts-parameters select{background:#fafbf7;border-color:#dfe4d5;color:#566148}
html[data-theme="warm"] .voice-setting small,html[data-theme="warm"] .range-captions{color:#919c82}
html[data-theme="warm"] .range-track{background:#dfe5d5}
html[data-theme="warm"] .range-track i{background:#8c9c75}
html[data-theme="warm"] .range-thumb{border-color:#8c9c75;background:#fafcf6;box-shadow:0 1px 4px #353f2815}
html[data-theme="warm"] .check-label .ui-switch-input:checked+.ui-switch{background:#879775;box-shadow:inset 0 0 0 1px #7d8d6c}
html[data-theme="warm"] .check-label .ui-switch{background:#d7dfca}
html[data-theme="warm"] .check-label:has(.ui-switch-input:checked) .billing-badge,html[data-theme="warm"] .billing-badge{background:#f4eee3;border-color:#e4daca;color:#ad8d64}
html[data-theme="warm"] .engine-row-switch,html[data-theme="warm"] .tts-parameters a{color:#869477}
html[data-theme="warm"] .btn.primary{background:#343c2f;border-color:#343c2f;color:#f4f5ee;box-shadow:0 3px 7px #303b2915}
html[data-theme="warm"] .editor-footer{background:#fdfdfb}
html[data-theme="warm"] .editor-footer-left .btn,html[data-theme="warm"] .download-icon{background:#fafbf7;border-color:#dfe4d5;color:#7d896f}
html[data-theme="warm"] .editor-count small,html[data-theme="warm"] .editor-count #ttsEstimate{color:#9aa48b}
html[data-theme="warm"] .account-footer,html[data-theme="warm"] .account-profile{border-color:#dce2d0}
html[data-theme="warm"] .quota-caption,html[data-theme="warm"] .quota-caption b,html[data-theme="warm"] .quota-figures,html[data-theme="warm"] .account-identity small{color:#8c947f}
html[data-theme="warm"] .quota-figures b{color:#394432}
html[data-theme="warm"] .account-identity b{color:#5b674e}
html[data-theme="warm"] .quota-track{background:#d3d9c7}
html[data-theme="warm"] .quota-track i{background:#758265}
html[data-theme="warm"] .account-avatar{background:#daddd1;color:#6b745f}

:root[data-theme="warm"]{--page:#f4f3f0;--bg:#fdfcf9;--panel:#efeee9;--ink:#292927;--text:#555550;--muted:#8a8982;--line:#e3e1da;--line2:#eae7e0;--accent:#30302e;--light:#faf9f6}
html[data-theme="warm"] body,html[data-theme="warm"] .workspace{background:#f4f3f0;color:#292927}
html[data-theme="warm"] .sidebar{background:#eeede8;color:#797870;border-color:#dfddd5}
html[data-theme="warm"] .brand{color:#292927}
html[data-theme="warm"] .brand-logo stop:first-child{stop-color:#6b6b63}
html[data-theme="warm"] .brand-logo stop:last-child{stop-color:#30302e}
html[data-theme="warm"] .nav button{color:#807e76}
html[data-theme="warm"] .nav button svg{color:#969389}
html[data-theme="warm"] .nav button.active,html[data-theme="warm"] .nav button.active:hover{background:#373733;color:#f7f6f2}
html[data-theme="warm"] .nav button.active svg{color:#e5e2d9}
html[data-theme="warm"] .nav button:hover{background:#e5e2d9;color:#55544d}
html[data-theme="warm"] .toolbar{background:#f8f7f3;border-color:#e5e2db}
html[data-theme="warm"] .toolbar span{color:#6e6d65}
html[data-theme="warm"] .toolbar .btn,html[data-theme="warm"] .engine-switch{background:#faf9f6;border-color:#e2dfd6;color:#6f6d65}
html[data-theme="warm"] .content,html[data-theme="warm"] .script-card,html[data-theme="warm"] .script-card textarea{background:#fdfcf9}
html[data-theme="warm"] .script-card textarea{color:#30302d}
html[data-theme="warm"] .script-card textarea::placeholder{color:#aaa69b}
html[data-theme="warm"] .tts-parameters,html[data-theme="warm"] .dialogue-parameters{background:#f4f3ef;border-color:#e3e0d7}
html[data-theme="warm"] .settings-tabs{border-color:#e2dfd6}
html[data-theme="warm"] .settings-tabs button{color:#9a978d}
html[data-theme="warm"] .settings-tabs button.active{color:#393934;border-color:#79786f}
html[data-theme="warm"] .settings-tabs button.active::after{background:#79786f}
html[data-theme="warm"] .parameter-caption,html[data-theme="warm"] .tts-parameters label,html[data-theme="warm"] .tts-parameters .setting-field>span:first-child{color:#57564e}
html[data-theme="warm"] .voice-setting,html[data-theme="warm"] .voice-picker,html[data-theme="warm"] .model-selector,html[data-theme="warm"] .model-select,html[data-theme="warm"] .tts-parameters select{background:#faf9f6;border-color:#e2dfd5;color:#4e4e46}
html[data-theme="warm"] .voice-setting small,html[data-theme="warm"] .range-captions{color:#99958a}
html[data-theme="warm"] .range-track{background:#e2e0d8}
html[data-theme="warm"] .range-track i{background:#77766c}
html[data-theme="warm"] .range-thumb{border-color:#77766c;background:#fcfbf8;box-shadow:0 1px 4px #37352b14}
html[data-theme="warm"] .check-label .ui-switch-input:checked+.ui-switch{background:#737369;box-shadow:inset 0 0 0 1px #68685f}
html[data-theme="warm"] .check-label .ui-switch{background:#dfdcd2}
html[data-theme="warm"] .engine-row-switch,html[data-theme="warm"] .tts-parameters a{color:#827d6d}
html[data-theme="warm"] .btn.primary{background:#30302e;border-color:#30302e;color:#faf9f5;box-shadow:0 3px 7px #37352b14}
html[data-theme="warm"] .editor-footer{background:#fdfcf9}
html[data-theme="warm"] .editor-footer-left .btn,html[data-theme="warm"] .download-icon{background:#faf9f6;border-color:#e2dfd5;color:#898579}
html[data-theme="warm"] .editor-count small,html[data-theme="warm"] .editor-count #ttsEstimate{color:#a49f93}
html[data-theme="warm"] .account-footer,html[data-theme="warm"] .account-profile{border-color:#dfdcd2}
html[data-theme="warm"] .quota-caption,html[data-theme="warm"] .quota-caption b,html[data-theme="warm"] .quota-figures,html[data-theme="warm"] .account-identity small{color:#969184}
html[data-theme="warm"] .quota-figures b{color:#48473e}
html[data-theme="warm"] .account-identity b{color:#666256}
html[data-theme="warm"] .quota-track{background:#d9d5ca}
html[data-theme="warm"] .quota-track i{background:#8c8879}
html[data-theme="warm"] .account-avatar{background:#e0dcd1;color:#797261}

html[data-theme="warm"]{color-scheme:light;--wave-muted:rgba(65,59,49,.18);--wave-played:#615c51;--wave-played-2:#9b8f79;--wave-head:#35322b}
html[data-theme="warm"] .nav button.active,html[data-theme="warm"] .nav button.active span,html[data-theme="warm"] .nav button.active svg{color:#faf9f5}
html[data-theme="warm"] .voice-row,html[data-theme="warm"] .model-row,html[data-theme="warm"] .model-menu,html[data-theme="warm"] .model-drawer,html[data-theme="warm"] .filter-popover,html[data-theme="warm"] .voice-card,html[data-theme="warm"] .clone-layout .card,html[data-theme="warm"] .plan{background:#faf9f6;border-color:#e2dfd5;color:#4e4b45}
html[data-theme="warm"] .voice-row-main strong,html[data-theme="warm"] .model-row-name,html[data-theme="warm"] .model-item,html[data-theme="warm"] .voice-card h3{color:#35322d}
html[data-theme="warm"] .voice-row-play,html[data-theme="warm"] .voice-row-arrow,html[data-theme="warm"] .voice-recommend,html[data-theme="warm"] .engine-row-switch,html[data-theme="warm"] .model-more{color:#827b6c}
html[data-theme="warm"] .voice-row-main small,html[data-theme="warm"] .model-desc,html[data-theme="warm"] .voice-card p{color:#8e877b}
html[data-theme="warm"] .model-badge,html[data-theme="warm"] .model-chip,html[data-theme="warm"] .filter-trigger,html[data-theme="warm"] .library-controls .tabs{background:#eeebe3;color:#797164;border-color:#ded9cd}
html[data-theme="warm"] .model-item.is-active,html[data-theme="warm"] .filter-option[aria-selected=true],html[data-theme="warm"] .model-card.is-active{background:#e9e4d9;color:#474135;border-color:#b7aa91}
html[data-theme="warm"] .range-host:hover .range-thumb{box-shadow:0 0 0 5px #857b6912}
html[data-theme="warm"] .range-host:focus-within .range-thumb{box-shadow:0 0 0 3px #b4a88f55}
html[data-theme="warm"] .count-help,html[data-theme="warm"] .sidebar-toggle,html[data-theme="warm"] .import-button,html[data-theme="warm"] .history-act{color:#8c8373;border-color:#dfd9cc}
html[data-theme="warm"] .btn:focus-visible,html[data-theme="warm"] input:focus-visible,html[data-theme="warm"] .filter-trigger:focus-visible{outline-color:#b7aa91}
html[data-theme="warm"] .brand-logo stop:first-child{stop-color:#6b6b63}html[data-theme="warm"] .brand-logo stop:last-child{stop-color:#30302e}
html[data-theme="warm"] .auth-wrap{background:radial-gradient(1000px 720px at 2% -16%,#e4dccb 0%,transparent 68%),radial-gradient(900px 650px at 104% 110%,#eae4d7 0%,transparent 62%),linear-gradient(180deg,#f5f2eb,#fcfaf6)}
html[data-theme="warm"] .auth-card{background:#fdfbf7;border-color:#e3dbce;box-shadow:0 18px 45px -32px #5c4f373d}
html[data-theme="warm"] .auth-brand,html[data-theme="warm"] .auth-headline,html[data-theme="warm"] .auth-panel h2{color:#302e29}
html[data-theme="warm"] .auth-lede,html[data-theme="warm"] .auth-points-list li,html[data-theme="warm"] .auth-points li{color:#81786a}
html[data-theme="warm"] .auth-field>span:first-child{color:#655d50}html[data-theme="warm"] .auth-field>span small,html[data-theme="warm"] .auth-sub{color:#a09583}
html[data-theme="warm"] .auth-field input{background:#faf7f1;border-color:#e1d8c9;color:#383329}
html[data-theme="warm"] .auth-field input:focus{border-color:#a89a83;background:#fdfbf7}
html[data-theme="warm"] .auth-gift{background:linear-gradient(120deg,#eee8db,#f7f2e9);border-color:#e0d5c1}
html[data-theme="warm"] .auth-gift b{color:#625742}html[data-theme="warm"] .auth-gift small{color:#9b8c73}
html[data-theme="warm"] .auth-gift-badge{background:#faf7ef;box-shadow:0 2px 8px -4px #806b4355}
html[data-theme="warm"] .auth-gift-line,html[data-theme="warm"] .auth-switch button{color:#8e7957}
html[data-theme="warm"] .auth-points-list li::before,html[data-theme="warm"] .auth-points li::before{background:#ad9977}
html[data-theme="warm"] .auth-signal path,html[data-theme="warm"] .signal-track path{stroke:#a5916f}
html[data-theme="warm"] .auth-eye{color:#958872}html[data-theme="warm"] .auth-eye:hover{background:#ede5d7;color:#6d5b3f}
html[data-theme="warm"] .auth-card .tabs{background:#ece6da;border-color:#dfd4c0}html[data-theme="warm"] .auth-card .tabs .active{background:#35332e;color:#faf8f2}
html[data-theme="warm"] .btn.primary,html[data-theme="warm"] .auth-card .btn.primary{background:#30302e;border-color:#30302e;color:#faf9f5}
html[data-theme="warm"] .btn.primary:hover{background:#44413a;border-color:#44413a}
html[data-theme="warm"] .auth-card .tabs button.active,html[data-theme="warm"] .auth-card .tabs button.active span{color:#faf8f2!important}
html[data-theme="warm"] .ui-tooltip{background:#37332b;color:#f8f4eb;border-color:#5a5142}
.theme-menu{position:fixed;inset:auto;margin:0;width:166px;padding:6px;border:1px solid #e2e4e0;border-radius:12px;background:#fdfefb;color:#3c4740;box-shadow:0 12px 32px #202c221a;font-family:inherit}
.theme-menu::backdrop{background:transparent}.theme-menu button{width:100%;border:0;border-radius:7px;background:transparent;display:flex;align-items:center;gap:10px;padding:11px 10px;font:inherit;font-size:13px;color:inherit;cursor:pointer;text-align:left}.theme-menu button:hover,.theme-menu button:focus-visible{background:#eef2eb;outline:none}.theme-menu button[aria-checked=true]{background:#e5eee6}.theme-check{margin-left:auto;display:flex}
html[data-theme="dark"] .theme-menu{background:#17211e;color:#dbe9e0;border-color:#ffffff24;box-shadow:0 12px 32px #0005}html[data-theme="dark"] .theme-menu button:hover,html[data-theme="dark"] .theme-menu button:focus-visible{background:#ffffff12}html[data-theme="dark"] .theme-menu button[aria-checked=true]{background:#4e9d8233}
html[data-theme="warm"] .theme-menu{background:#fcfaf5;color:#655d4f;border-color:#dfd6c7;box-shadow:0 12px 32px #54452a1a}html[data-theme="warm"] .theme-menu button:hover,html[data-theme="warm"] .theme-menu button:focus-visible{background:#efeadf}html[data-theme="warm"] .theme-menu button[aria-checked=true]{background:#e7dfce;color:#4f4533}

/* Voice metadata is plain text, not a full-width badge. */
html[data-theme="warm"] .voice-tags{background:transparent;box-shadow:none}

/* Auth utilities share one control treatment; browser autofill stays warm. */
html[data-theme="warm"] .auth-tools{gap:8px}
html[data-theme="warm"] .auth-tools .btn{display:inline-flex;align-items:center;gap:7px;height:34px;min-height:34px;padding:0 11px;background:#f7f4ee;border:1px solid #e2dace;border-radius:9px;color:#766d5f;box-shadow:none;font-size:12px;line-height:1}
html[data-theme="warm"] .auth-tools .btn:hover{background:#eee8dd;border-color:#d5cab8;color:#51483a}
html[data-theme="warm"] .auth-field input{background:#f7f4ee;border-color:#e2dace;color:#383329;caret-color:#51483a}
html[data-theme="warm"] .auth-field input:autofill{box-shadow:0 0 0 1000px #f7f4ee inset;color:#383329;caret-color:#51483a}
html[data-theme="warm"] .auth-field input:-webkit-autofill,
html[data-theme="warm"] .auth-field input:-webkit-autofill:hover,
html[data-theme="warm"] .auth-field input:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 1000px #f7f4ee inset;
  box-shadow:0 0 0 1000px #f7f4ee inset;
  -webkit-text-fill-color:#383329;
  caret-color:#51483a;
  border-color:#d7ccba;
}
