html[data-theme]{--ink:#f3f5ff;--muted:#a0a6bd;--theme-accent:#6de5ed;--theme-copy:#b5bfd0;color-scheme:dark;--theme-bg:#070914;--theme-panel:#11151d;--theme-glow:rgba(33,92,145,.15);--theme-border:#293443;--bg:var(--theme-bg);--panel:var(--theme-panel)}
html[data-theme="graphite"]{--theme-bg:#101113;--theme-panel:#1b1d21;--theme-glow:rgba(100,106,118,.12);--theme-border:#363a42}
html[data-theme="aurora"]{--theme-bg:#120d20;--theme-panel:#20182e;--theme-glow:rgba(136,77,191,.17);--theme-border:#41314f}
html[data-theme="forest"]{--theme-bg:#081813;--theme-panel:#11261f;--theme-glow:rgba(42,135,105,.16);--theme-border:#294b3f}
html[data-theme="sunset"]{--theme-bg:#1b1014;--theme-panel:#2b1a21;--theme-glow:rgba(175,80,107,.16);--theme-border:#51313e}
html[data-theme] body{background:radial-gradient(ellipse at 90% 0,var(--theme-glow),transparent 65%),var(--theme-bg);background-attachment:fixed}
html[data-theme] .workspace-body{--ws-panel:var(--theme-panel);--ws-border:var(--theme-border)}
html[data-theme] :is(.topbar,.workspace-topbar,.workspace-sidebar){background:var(--theme-panel)}
html[data-theme] :is(.workspace-table tbody tr,.workspace-table thead,.workspace-sidebar-bottom .workspace-home){background:var(--theme-bg)}
.theme-dialog{box-sizing:border-box;width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:30px;border:1px solid var(--theme-border);border-radius:20px;background:var(--theme-panel);color:var(--ink);box-shadow:0 24px 90px #0008;font:inherit}
.theme-dialog::backdrop{background:#0009;backdrop-filter:blur(8px)}
.theme-eyebrow{margin:0 0 12px;font-size:11px;letter-spacing:.2em;color:var(--theme-accent)}.theme-dialog h2{margin:0;font-size:26px;letter-spacing:-.03em}.theme-dialog #theme-description{font-size:14px;line-height:1.6;color:var(--theme-copy);margin:12px 0 24px}
.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.theme-option{position:relative;display:grid;gap:12px;padding:9px;border:1px solid #616b7c;border-radius:12px;background:transparent;color:var(--ink);font:inherit;font-size:13px;cursor:pointer;text-align:left}.theme-option:hover,.theme-option[aria-pressed="true"]{border-color:var(--theme-accent);box-shadow:0 0 0 1px #6de5ed}.theme-swatch{height:76px;border-radius:6px}.theme-name{padding:0 4px 3px}.theme-check{display:none;position:absolute;right:16px;top:16px;background:#6de5ed;color:#07151a;border-radius:50%;width:22px;height:22px;text-align:center;line-height:22px}.theme-option[aria-pressed="true"] .theme-check{display:block}
.theme-confirm,.theme-open{font:inherit;font-size:13px;cursor:pointer;border:1px solid #447783;border-radius:9px;padding:11px 16px;background:#173a44;color:#e6fcff}.theme-confirm{margin-top:24px;width:100%;font-weight:700}.theme-open:hover,.theme-confirm:hover{border-color:var(--theme-accent);background:#204956}.theme-settings{margin-bottom:24px}.theme-settings .theme-open{margin-top:16px}footer>.theme-open{padding:7px 12px;font-size:12px} .theme-dialog :focus-visible{outline:2px solid #6de5ed;outline-offset:4px}
@media(max-width:480px){.theme-dialog{padding:22px}.theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-swatch{height:62px}.theme-dialog h2{font-size:23px}}

html[data-theme-mode="light"]{color-scheme:light;--ink:#182637;--text:#182637;--muted:#4e6074;--theme-copy:#4e6074;--theme-accent:#006c7c;--cyan:#006c7c;--blue:#3657b6;--line:#ced8e2;--button-surface:#e5edf5;--button-border:#b6c6d5;--button-shadow:0 4px 12px #142b4010;--theme-panel:#ffffff;--theme-border:#cbd7e3;--theme-glow:rgba(59,151,204,.10);--theme-bg:#f3f6fb}
html[data-theme="pearl"]{--theme-bg:#f6f5f1;--theme-panel:#fffefa;--theme-glow:rgba(173,146,97,.10);--theme-border:#d8d3c7}
html[data-theme="lavender"]{--theme-bg:#f5f1fb;--theme-panel:#fffcff;--theme-glow:rgba(148,102,194,.10);--theme-border:#d9cfe5}
html[data-theme="mint"]{--theme-bg:#eff8f3;--theme-panel:#fbfffd;--theme-glow:rgba(62,160,113,.10);--theme-border:#c4ded0}
html[data-theme="peach"]{--theme-bg:#fff4ee;--theme-panel:#fffdfa;--theme-glow:rgba(207,117,75,.10);--theme-border:#e6cfc2}
html[data-theme-mode="light"] .workspace-body{color:var(--ink);--ws-muted:var(--muted)}
html[data-theme-mode="light"] :is(.workspace-brand,.workspace-metrics article>span,.workspace-status-row,.workspace-status-row strong,.workspace-nav a,.workspace-sidebar-bottom>a,.workspace-sidebar-bottom>button,nav a,.contact-link,.signup-page-form label,.signup-instruction,.support-form label,.price-list .price-option,.back-link,.support-status,.plan-price,.plan-kicker,.eyebrow,.hero-foot,.plans-note,.workspace-breadcrumb,.workspace-secure){color:var(--muted)}
html[data-theme-mode="light"] :is(.workspace-brand strong,.workspace-team strong,.workspace-profile strong,.workspace-panel h2){color:var(--ink)}
html[data-theme-mode="light"] :is(.workspace-tool-button,.workspace-tools input,.workspace-tools select,.workspace-body input:not([type="checkbox"]),.workspace-body textarea,.workspace-body select,.signup-page-form input,.signup-page-form textarea,.floating-support-form textarea,#admin-plan-dialog input,#admin-plan-dialog select){background:var(--theme-bg);border-color:var(--theme-border);color:var(--ink)}
html[data-theme-mode="light"] :is(.workspace-table th,.workspace-table td){border-color:var(--theme-border)}
html[data-theme-mode="light"] .workspace-table th{background:var(--theme-bg)}
html[data-theme-mode="light"] :is(.workspace-nav a:hover,.workspace-sidebar-bottom>a:hover,.workspace-sidebar-bottom>button:hover,.workspace-table tbody tr:hover){background:#006c7c0d;color:var(--ink)}
html[data-theme-mode="light"] .workspace-nav a.is-active{background:#006c7c16;color:#006070}
html[data-theme-mode="light"] :is(.workspace-avatar,.workspace-count){background:#d4edf1;color:#00596b}
html[data-theme-mode="light"] .workspace-status-row>div{background:#dce4ed}
html[data-theme-mode="light"] .workspace-growth svg text{fill:var(--muted)}
html[data-theme-mode="light"] .workspace-growth svg line{stroke:var(--theme-border)}
html[data-theme-mode="light"] :is(.floating-support-panel,.code-ai,dialog:not(.theme-dialog)){background:var(--theme-panel);color:var(--ink);border-color:var(--theme-border)}
html[data-theme-mode="light"] .code-ai p{color:var(--muted)}
html[data-theme-mode="light"] .code-ai pre{background:var(--theme-bg);color:#184858}
html[data-theme-mode="light"] :is(.button,.register-button,.all-plans-link,.back-link,.support-button,.offer-later,.language-toggle,.floating-support-button,.theme-open,.theme-confirm,.workspace-tool-button){background:var(--theme-panel);color:var(--ink);border-color:var(--theme-border);box-shadow:0 3px 12px #142b4010}
html[data-theme-mode="light"] :is(.primary-button,.button-primary,.theme-confirm){background:linear-gradient(110deg,#b9eef1,#d0ddfc);color:#142b40;border-color:#7cb2c6}
html[data-theme-mode="light"] :is(.recommend-badge,.priority-note,.workspace-table .offer-later,.password-visibility-toggle,.selected-bot-name,.theme-eyebrow){color:#006170}
html[data-theme-mode="light"] .workspace-metrics .metric-positive{color:#176544}
html[data-theme-mode="light"] :is(.plan-card[aria-pressed="true"] .plan-kicker,.selection-state){color:#1b683d}
html[data-theme-mode="light"] .hero-glow{opacity:.35}
html[data-theme-mode="light"] .theme-option{border-color:var(--theme-border)}
.theme-option[hidden]{display:none}
.theme-modes{display:flex;gap:6px;padding:4px;margin-bottom:24px;background:var(--theme-bg);border:1px solid var(--theme-border);border-radius:12px}
.theme-modes button{flex:1;min-height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:13px;cursor:pointer}
.theme-modes button[aria-pressed="true"]{background:var(--theme-panel);color:var(--theme-accent);box-shadow:0 2px 8px #0002}
.theme-top-toggle{display:inline-grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-panel);color:var(--ink);font-size:22px;line-height:1;cursor:pointer}
.theme-schedule{margin-top:24px;padding-top:22px;border-top:1px solid var(--theme-border)}
.theme-schedule-enabled{display:flex;align-items:center;gap:10px;font-weight:600}.theme-schedule-enabled input{width:18px;height:18px;accent-color:var(--theme-accent)}
.theme-schedule>p{color:var(--muted);font-size:13px;line-height:1.6}.theme-schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.theme-schedule-grid label{display:grid;gap:8px;font-size:13px;color:var(--muted)}
.theme-schedule-grid input,.theme-schedule-grid select{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--theme-border);border-radius:8px;background:var(--theme-bg);color:var(--ink);font:inherit}
.theme-schedule .theme-confirm{width:auto;margin-top:18px}.theme-schedule-status{min-height:20px}
@media(max-width:720px){.topbar{flex-wrap:wrap;gap:12px}.top-actions{flex-wrap:wrap;gap:8px}.workspace-top-actions{gap:8px}.workspace-topbar{height:auto;min-height:58px;padding-block:10px;flex-wrap:wrap}.theme-top-toggle{width:36px;height:36px}.theme-schedule-grid{grid-template-columns:1fr}}
