.theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid #59667b;border-radius:5px;background:#1b2029;color:#e7ecf7;font:600 11px/1.5 "Segoe UI",Arial,sans-serif;cursor:pointer;white-space:nowrap;margin-right:8px}.theme-toggle:hover{background:#30384a}.theme-toggle:focus-visible{outline:3px solid #9ca8ff;outline-offset:3px}.theme-floating{position:fixed;right:18px;top:18px;z-index:101}
html[data-theme=light]{color-scheme:light;background:#f3f5f9}
html[data-theme=light] body{--bg:#f3f5f9;--sidebar:#fff;--surface:#fff;--elevated:#edf1f7;--input:#fff;--text:#172338;--secondary:#36465f;--muted:#54647b;--border:#b5c0d0;--subtle:#d9e0ea;--accent:#4054b2;--primary:#4b55c4;--success:#137653;--warning:#805400;--danger:#ae263b;background:var(--bg);color:var(--text)}
html[data-theme=light] .theme-toggle{background:#fff;color:#283951;border-color:#9baac0}html[data-theme=light] .theme-toggle:hover{background:#e9edf7}
html[data-theme=light] .sidebar,html[data-theme=light] .nav,html[data-theme=light] .topbar{background:var(--sidebar)}
html[data-theme=light] .brand,html[data-theme=light] h1,html[data-theme=light] h2,html[data-theme=light] h3{color:var(--text)}
html[data-theme=light] .nav-link:hover,html[data-theme=light] .icon-button:hover,html[data-theme=light] .mobile-toggle:hover{background:#edf0f7;color:#223754}
html[data-theme=light] .nav-link.active{background:#e9edff;border-color:#9ba9df;color:#344798}
html[data-theme=light] .mode-button.selected,html[data-theme=light] .wizard-tab.active{background:#e5e9fd;border-color:#8595cc;color:#283d8c}
html[data-theme=light] .mode-button:hover,html[data-theme=light] .wizard-tab:hover{background:#edf0f9;color:#223653}
html[data-theme=light] .secondary,html[data-theme=light] .white,html[data-theme=light] .pagination a,html[data-theme=light] .pagination span.page-number{background:#f5f7fb;border-color:#9baac1;color:#243750}
html[data-theme=light] .secondary:hover,html[data-theme=light] .white:hover{background:#e7edf8;color:#253b71}
html[data-theme=light] .help-card,html[data-theme=light] .field-tip,html[data-theme=light] .send-summary{background:#edf0fa;border-color:#a3afd0;color:#364c82}
html[data-theme=light] .avatar,html[data-theme=light] .top-avatar{background:#e5e9fa;color:#3c4e93}
html[data-theme=light] .eyebrow{color:#4a5d92}
html[data-theme=light] .stat-icon,html[data-theme=light] .campaign-icon{background:#edf0fb;color:#4b5ba5}
html[data-theme=light] .purple{background:#eee9fb;color:#67469c}html[data-theme=light] .blue{background:#e9f0fc;color:#315a99}html[data-theme=light] .green{background:#e3f3eb;color:#226548}html[data-theme=light] .orange{background:#fcf0df;color:#8a551b}
html[data-theme=light] th{background:#edf1f7;color:#41536d}html[data-theme=light] td{color:#36465f}html[data-theme=light] td strong{color:#172338}html[data-theme=light] tbody tr:hover{background:#f4f6fa}
html[data-theme=light] .status{background:#edf0f6;color:#40516c;border-color:#a6b1c4}html[data-theme=light] .status.sent,html[data-theme=light] .status.completed,html[data-theme=light] .status.subscribed{background:#e2f3ea;color:#1a6748;border-color:#87b9a1}html[data-theme=light] .status.sending,html[data-theme=light] .status.scheduled{background:#e7edff;color:#365497;border-color:#9aadd5}html[data-theme=light] .status.paused,html[data-theme=light] .status.uncertain{background:#fff2d9;color:#78531b;border-color:#c5a775}html[data-theme=light] .status.bounced,html[data-theme=light] .status.complained,html[data-theme=light] .status.unsubscribed,html[data-theme=light] .status.cancelled{background:#fce9ec;color:#91384a;border-color:#c99aa5}
html[data-theme=light] .notice{background:#edf0ff;color:#35477d;border-color:#a2add6}html[data-theme=light] .notice.success{background:#e6f4ec;color:#216246;border-color:#8cbaa0}html[data-theme=light] .notice.error{background:#fcebed;color:#963548;border-color:#ce9aa6}
html[data-theme=light] input,html[data-theme=light] select,html[data-theme=light] textarea{background:#fff;color:#172338;border-color:#8c9cb3}html[data-theme=light] input::placeholder,html[data-theme=light] textarea::placeholder{color:#63738b}html[data-theme=light] option{background:#fff;color:#172338}html[data-theme=light] button:disabled,html[data-theme=light] input:disabled,html[data-theme=light] select:disabled,html[data-theme=light] textarea:disabled{background:#e9edf3;color:#56667e;border-color:#a6b2c4}
html[data-theme=light] .icon-button{color:#4e607b}html[data-theme=light] .step-number{background:#edf0f8;color:#425585;border-color:#9baac5}html[data-theme=light] .step-number.done{background:#e6f4eb;color:#236d4d;border-color:#90b9a3}
html[data-theme=light] .template-preview{background:#e9edf6!important}html[data-theme=light] .paper{background:#fff;color:#26354c;border-color:#a8b5ca}html[data-theme=light] .paper>small{color:#62508c}html[data-theme=light] .fake-lines{background:repeating-linear-gradient(to bottom,#bcc6d7 0,#bcc6d7 2px,transparent 2px,transparent 9px)}html[data-theme=light] .add-audience{background:#eef0fb;color:#4f4d8b;border-color:#9f9ec7}
html[data-theme=light] .design-option,html[data-theme=light] .block-card{background:#f6f8fc;color:#20324e;border-color:#a9b5c9}html[data-theme=light] .design-option:hover,html[data-theme=light] .design-option.selected{background:#e8edff;border-color:#8394d0}html[data-theme=light] .block-card header button,html[data-theme=light] .block-toolbar button{background:#edf1f8;color:#354c77;border-color:#9baac4}html[data-theme=light] .preview-column{background:#e7ecf4}html[data-theme=light] .review-checks{background:#eaf6ef;color:#246548;border-color:#9abfac}
html[data-theme=light] dialog,html[data-theme=light] .login-card{background:#fff;color:#172338;border-color:#a7b5ca}html[data-theme=light] .dialog-heading button{background:#edf1f7;color:#334867;border-color:#a5b3ca}html[data-theme=light] .toast{background:#263952;color:white}html[data-theme=light] .toast .icon-button{color:white}
html[data-theme=light] .pill{background:#e9e6f8;color:#5b468c}html[data-theme=light] .empty-state>span{background:#edeafa;color:#6b559e}html[data-theme=light] .login-grid h1 em{color:#6654b0}html[data-theme=light] .login-perks{color:#405576}html[data-theme=light] .logo-halo{background:#edf0fa}html[data-theme=light] .secure-note>span{color:#665798}html[data-theme=light] .hero-card{background:#eaf0fc}html[data-theme=light] .hero-copy h2 span{color:#584d9c}html[data-theme=light] .tip-card{background:#fbf5e9;border-color:#c3b28d}html[data-theme=light] .tip-card p{color:#66563d}html[data-theme=light] .tip-card a{color:#775516}
@media(max-width:700px){.theme-toggle{min-height:36px;font-size:10px;padding:5px 8px;margin:0}.top-actions{gap:5px}}
