/* FalcoSoft palette: navy surfaces, white text and blue accents. */
:root{--ec-bg:#f7faff;--ec-nav:#fff;--ec-card:#fff;--ec-soft:#e8f2ff;--ec-border:#c8d7ea;--ec-text:#13243c;--ec-muted:#51627b;--ec-accent:#086aaa;--ec-primary:#0d6efd;--ec-shadow:#dce8f7;--ec-terminal:#10121c}
html[data-theme=dark]{color-scheme:dark;--ec-bg:#05060a;--ec-nav:#070812;--ec-card:#10121c;--ec-soft:#12172a;--ec-border:#262b3a;--ec-text:#f5f5f5;--ec-muted:#aab1c4;--ec-accent:#38b6ff;--ec-primary:#0d6efd;--ec-shadow:#12172a;--ec-terminal:#070812;--ink:var(--ec-text);--muted:var(--ec-muted);--line:var(--ec-border);--paper:var(--ec-bg);--white:var(--ec-card);--soft:var(--ec-soft);--blue:var(--ec-accent);--accent:var(--ec-accent);background:var(--ec-bg)}
html[data-theme] body.cloud-public,html[data-theme] body.console{--ink:var(--ec-text);--muted:var(--ec-muted);--line:var(--ec-border);background:var(--ec-bg);color:var(--ec-text)}
html[data-theme] .ai-home{--ai-ink:var(--ec-text);--ai-muted:var(--ec-muted);background:var(--ec-bg);color:var(--ec-text)}
html[data-theme=dark] .ai-home{background:radial-gradient(ellipse 1400px 950px at top left,#1b2135,#05060a)}
html[data-theme] .public-header,html[data-theme] .console-top,html[data-theme] .sidebar{background:var(--ec-nav);border-color:var(--ec-border)}
html[data-theme=dark] .cloud-public .public-header{background:radial-gradient(circle at top left,#111525,#05060a)}
html[data-theme] .brand-dot,html[data-theme] .ai-hero h1>span,html[data-theme] .ai-card-symbol{color:var(--ec-accent)}
html[data-theme] .cloud-public .brand-dot{color:var(--ec-accent)}
html[data-theme] .public-header nav a,html[data-theme] .ai-lead,html[data-theme] .ai-proof{color:var(--ec-muted)}
html[data-theme] .public-header nav a:hover,html[data-theme] .ai-text-link,html[data-theme] .ai-color-card a{color:var(--ec-accent)}
html[data-theme] .ai-pill{color:var(--ec-accent);border-color:var(--ec-border);background:var(--ec-soft)}
html[data-theme] .ai-hero-art{background:var(--ec-card);color:var(--ec-text);border-color:var(--ec-border);box-shadow:10px 10px 0 var(--ec-shadow)}
html[data-theme] .ai-art-heading,html[data-theme] .ai-preview-footer{color:var(--ec-muted);border-color:var(--ec-border)}
html[data-theme] .ai-art-title,html[data-theme] .ai-art-bottom{color:var(--ec-text)}
html[data-theme] .ai-tool-tabs button{background:var(--ec-card);border-color:var(--ec-border);color:var(--ec-muted)}
html[data-theme] .ai-tool-tabs button[aria-pressed=true]{background:var(--ec-primary);color:#fff;border-color:var(--ec-primary)}
html[data-theme] .ai-prompt-preview{background:var(--ec-terminal);color:#f5f5f5;border:1px solid var(--ec-border);box-shadow:none}
html[data-theme] .ai-preview-label,html[data-theme] .ai-prompt-preview .ai-preview-footer{color:#86cfff}
html[data-theme] .ai-ribbon{background:var(--ec-soft);color:var(--ec-text);border-color:var(--ec-border)}
html[data-theme] :is(.ai-color-card,.ai-plan,.ai-access-main,.ai-access-secondary,.ai-closing,.ai-admin-service){background:var(--ec-card);color:var(--ec-text);border:1px solid var(--ec-border);box-shadow:none}
html[data-theme] .ai-home :is(.ai-color-card,.ai-access-main,.ai-access-secondary,.ai-closing,.ai-admin-service) h2,html[data-theme] .ai-home :is(.ai-color-card,.ai-access-main,.ai-access-secondary) h3{color:var(--ec-text)!important}
html[data-theme] :is(.ai-color-card,.ai-access-main,.ai-access-secondary,.ai-closing,.ai-admin-service) p{color:var(--ec-muted)}
html[data-theme] .ai-plans-section{background:var(--ec-soft)}
html[data-theme] .ai-plan:before{background:var(--ec-accent)}
html[data-theme] .ai-plan :is(.eyebrow,dt,small),html[data-theme] .ai-plan>p:not(.eyebrow),html[data-theme] .ai-plan-price span,html[data-theme] .ai-plan-note,html[data-theme] .ai-special-plan p{color:var(--ec-muted)}
html[data-theme] .ai-plan-label,html[data-theme] .ai-admin-service .eyebrow{color:var(--ec-accent)!important}
html[data-theme] .ai-plan dl>div,html[data-theme] .ai-special-plan{border-color:var(--ec-border)}
html[data-theme] .ai-access-main .ai-pill{color:var(--ec-accent);border-color:var(--ec-border)}
html[data-theme] .ai-location-pill{background:var(--ec-soft);color:var(--ec-accent);border-color:var(--ec-border)}
html[data-theme] .billing-config label.billing-plan>.billing-plan-locations{color:var(--ec-accent)}
html[data-theme] .ai-provider-option:first-child,html[data-theme] .ai-provider-option:last-child{border-top-color:var(--ec-accent)}
html[data-theme] .ai-home .ai-primary,html[data-theme] .ai-workspace .ai-primary,html[data-theme] .cloud-public .button:not(.secondary,.google-button){background:var(--ec-primary)!important;color:#fff!important;border-color:var(--ec-primary);box-shadow:none}
html[data-theme] .ai-home .ai-primary:hover,html[data-theme] .ai-workspace .ai-primary:hover,html[data-theme] .cloud-public .button:not(.secondary,.google-button):hover{background:#0b5ed7!important;border-color:#0a58ca}
html[data-theme] .cloud-public .button.secondary{background:transparent;color:var(--ec-accent);border-color:var(--ec-border)}
html[data-theme] :is(.theme-toggle,.language-toggle){color:var(--ec-muted)!important;border-color:var(--ec-border)}
html[data-theme] :is(.theme-toggle,.language-toggle):hover{background:var(--ec-soft)}
html[data-theme] .public-footer,html[data-theme] .public-footer .footer-legal{border-color:var(--ec-border);color:var(--ec-muted)}
html[data-theme] .cloud-public .public-footer :is(p,strong),html[data-theme] .cloud-public .public-footer a:not(.brand){color:var(--ec-muted)}
html[data-theme=dark] :is(.auth-card,.surface,.server-card,.stats-grid article,.ai-personal-form,.config-step,.config-summary,.billing-plan,.billing-summary){background:var(--ec-card);border-color:var(--ec-border)}
html[data-theme=dark] .sidebar nav a.active{background:#132b46;color:#8bd3ff}
html[data-theme] .billing-plan:has(input:checked){border-color:var(--ec-accent);box-shadow:0 0 0 1px var(--ec-accent)}
html[data-theme] input[type=radio],html[data-theme] input[type=checkbox]{accent-color:var(--ec-primary)}
html[data-theme] :is(.ai-home,.ai-workspace,.billing-config) a:focus-visible,html[data-theme] button:focus-visible{outline-color:var(--ec-accent)}
@media(max-width:900px){html[data-theme] .cloud-public .nav-row nav{background:var(--ec-nav);border-color:var(--ec-border)}}
