/* MarketAI workspace, light theme: the same white, soft-grey and blue look as the landing, sign-in and setup screens.
   Loaded after the feature styles (which are already light). Live "monitor" panels stay dark on purpose. */
html:not([data-theme="dark"]){
  --paper:#f6f7fa;--surface:#fff;--ink:#16181d;--brand:#232528;--muted:#6b7280;--faint:#8b919c;
  --line:#e6e8ee;--line-soft:#eff1f5;--info:#2f6df0;--accent:#2f6df0;--blue:#2f6df0;--cyan:#22b8e6;
  --soft:#ececee;--soft-2:#e3e3e6;
  --shadow-float:0 18px 44px rgba(20,30,60,.14);--nav-w:248px;
}:where(html:not([data-theme="dark"])) body{background:var(--paper);color:var(--ink)}:where(html:not([data-theme="dark"])) a{color:var(--blue)}:where(html:not([data-theme="dark"])) :focus-visible{outline:3px solid #8cc2ff;outline-offset:2px}

/* ---------- Sidebar: white, with a blue active state ---------- */:where(html:not([data-theme="dark"])) .app-sidebar{background:#fff;color:var(--ink);border-right:1px solid var(--line);padding-top:26px}:where(html:not([data-theme="dark"])) .brand{color:var(--ink)}:where(html:not([data-theme="dark"])) .brand small,:where(html:not([data-theme="dark"])) .sidebar-user small{color:var(--muted)}:where(html:not([data-theme="dark"])) .nav-item{margin:3px 0;padding:11px 14px;border-radius:12px;color:#4b5563;font-weight:500}:where(html:not([data-theme="dark"])) .nav-item:hover{background:#f1f3f8;color:var(--ink)}:where(html:not([data-theme="dark"])) .nav-item.active{background:#eaf1ff;color:#1f55d6;font-weight:600}:where(html:not([data-theme="dark"])) .nav-item.active::before{background:linear-gradient(180deg,#22c1b0,#2f6df0);left:-14px}:where(html:not([data-theme="dark"])) .running-now{background:#f4f6fb}:where(html:not([data-theme="dark"])) .running-now h4{color:var(--muted)}:where(html:not([data-theme="dark"])) .running-item{color:var(--ink)}:where(html:not([data-theme="dark"])) .running-item:hover{background:#e9eefb}:where(html:not([data-theme="dark"])) .running-item small{color:var(--muted)}:where(html:not([data-theme="dark"])) .run-spin{border-color:rgba(47,109,240,.2);border-top-color:#17a673}:where(html:not([data-theme="dark"])) .sidebar-user{background:#f4f6fb;color:var(--ink)}:where(html:not([data-theme="dark"])) .sidebar-user .logout-btn{background:#fff;border-color:var(--line);color:var(--ink)}:where(html:not([data-theme="dark"])) .sidebar-user .logout-btn:hover:not(:disabled){background:#fff1f0;border-color:#f3c2be;color:#b3261e}:where(html:not([data-theme="dark"])) .hamburger{background:#fff;border-color:var(--line);box-shadow:0 4px 14px rgba(20,30,60,.12)}:where(html:not([data-theme="dark"])) .hamburger i{color:var(--ink)}

/* ---------- Buttons and fields: rounded like the entry flow ---------- */:where(html:not([data-theme="dark"])) button{border-radius:999px;border-color:#232528;background:#232528;color:#fff;padding:10px 20px}:where(html:not([data-theme="dark"])) button:hover:not(:disabled){background:#000;border-color:#000;color:#fff}:where(html:not([data-theme="dark"])) .danger-btn,:where(html:not([data-theme="dark"])) .range-button,:where(html:not([data-theme="dark"])) .logout-btn,:where(html:not([data-theme="dark"])) .ghost-btn{background:var(--soft);border-color:transparent;color:var(--ink)}:where(html:not([data-theme="dark"])) .danger-btn:hover:not(:disabled),:where(html:not([data-theme="dark"])) .range-button:hover:not(:disabled),:where(html:not([data-theme="dark"])) .logout-btn:hover:not(:disabled),:where(html:not([data-theme="dark"])) .ghost-btn:hover:not(:disabled){background:var(--soft-2);border-color:transparent;color:var(--ink)}:where(html:not([data-theme="dark"])) .danger-btn{color:#b3261e}:where(html:not([data-theme="dark"])) .text-button,:where(html:not([data-theme="dark"])) .text-button:hover:not(:disabled){background:none;border:0}:where(html:not([data-theme="dark"])) .text-button{color:var(--blue)}:where(html:not([data-theme="dark"])) input[type=text],:where(html:not([data-theme="dark"])) input[type=email],:where(html:not([data-theme="dark"])) input[type=password],:where(html:not([data-theme="dark"])) input[type=month],:where(html:not([data-theme="dark"])) input[type=number],:where(html:not([data-theme="dark"])) input[type=url],:where(html:not([data-theme="dark"])) input[type=date],:where(html:not([data-theme="dark"])) input[type=time],:where(html:not([data-theme="dark"])) textarea,:where(html:not([data-theme="dark"])) select,:where(html:not([data-theme="dark"])) .auth-field{background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--ink)}:where(html:not([data-theme="dark"])) input[type=text]:focus,:where(html:not([data-theme="dark"])) input[type=email]:focus,:where(html:not([data-theme="dark"])) input[type=password]:focus,:where(html:not([data-theme="dark"])) input[type=url]:focus,:where(html:not([data-theme="dark"])) textarea:focus,:where(html:not([data-theme="dark"])) select:focus,:where(html:not([data-theme="dark"])) .auth-field:focus{
  border-color:#2f8cff;box-shadow:0 0 0 4px rgba(47,140,255,.15)}:where(html:not([data-theme="dark"])) input[type=checkbox]{accent-color:var(--blue)}

/* ---------- Page chrome and cards ---------- */:where(html:not([data-theme="dark"])) .dash-topbar h1,:where(html:not([data-theme="dark"])) .section-head h2{letter-spacing:-.035em;font-weight:600}:where(html:not([data-theme="dark"])) .composer,:where(html:not([data-theme="dark"])) .tool-card,:where(html:not([data-theme="dark"])) .adm-card,:where(html:not([data-theme="dark"])) .conn,:where(html:not([data-theme="dark"])) .table-wrap,:where(html:not([data-theme="dark"])) .draft-card,:where(html:not([data-theme="dark"])) .stat-card,:where(html:not([data-theme="dark"])) .settings-card,:where(html:not([data-theme="dark"])) .kpi-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 30px rgba(20,30,60,.05)}:where(html:not([data-theme="dark"])) .composer{max-width:960px;margin:32px auto;padding:30px;border-radius:26px;box-shadow:0 24px 60px rgba(20,30,60,.08)}:where(html:not([data-theme="dark"])) .composer-head h2{font-weight:600;letter-spacing:-.035em}:where(html:not([data-theme="dark"])) .create-tabs{background:var(--soft);border:0;border-radius:999px;padding:4px;display:inline-flex;gap:2px}:where(html:not([data-theme="dark"])) .create-tabs button{border:0;border-radius:999px;background:transparent;color:var(--muted);padding:9px 18px}:where(html:not([data-theme="dark"])) .create-tabs button:hover:not(:disabled){background:rgba(255,255,255,.6);color:var(--ink)}:where(html:not([data-theme="dark"])) .create-tabs button.on{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(20,33,46,.12)}:where(html:not([data-theme="dark"])) .prompt-bar input{background:transparent;border:0;box-shadow:none}:where(html:not([data-theme="dark"])) th{background:#f6f7fa;color:var(--muted)}:where(html:not([data-theme="dark"])) th,:where(html:not([data-theme="dark"])) td{border-color:var(--line)}

/* ---------- Soft accents ---------- */:where(html:not([data-theme="dark"])) .kicker,:where(html:not([data-theme="dark"])) .eyebrow{color:var(--blue)}:where(html:not([data-theme="dark"])) .conn-badge.on,:where(html:not([data-theme="dark"])) .adm-badge.approved,:where(html:not([data-theme="dark"])) .adm-pill.on{background:#e6f6f1;color:#17835a}
