:root { color-scheme: light; }

/* Shared light-mode foundation */
html, body { background: #faf9f7 !important; color: #1d1b20 !important; }
body { color: #1d1b20 !important; }
a { color: #5630a0 !important; }
a:hover { color: #3d1f7a !important; }
::-webkit-scrollbar-thumb { background: #d8d3dc !important; border-color: #faf9f7 !important; }

/* Navigation and primary actions */
header, header.topbar, aside { background: rgba(255,255,255,.88) !important; border-color: #e9e5eb !important; }
header, header.topbar { box-shadow: 0 1px 0 rgba(33,24,44,.03); }
.logo-text small, .brand small, .footer-logo small { color: #938d97 !important; }
nav.primary, nav, .signin-link, .actions, header.topbar a.nav-link { color: #6e6873 !important; }
nav.primary a:hover, nav a:hover, .signin-link:hover { color: #312b35 !important; }
.logo-mark, .footer-mark, .brand-mark, .mark { background: linear-gradient(145deg, #7b3db7, #4f217e) !important; }
.logo-mark span, .brand-mark span, .mark i { background: #fff !important; }
.btn-primary, .btn, .button { background: linear-gradient(180deg, #7540b3, #59268f) !important; border-color: #6634a0 !important; color: #fff !important; box-shadow: 0 8px 20px rgba(92,43,151,.16); }
.btn-secondary, .btn.ghost { background: #fff !important; border-color: #ded8e2 !important; color: #4f4855 !important; }

/* Marketing pages */
.eyebrow { color: #6732a2 !important; background: #f5effa !important; border-color: #decfee !important; box-shadow: none !important; }
.eyebrow .dot, .eyebrow b { background: #7440ae !important; box-shadow: 0 0 10px rgba(116,64,174,.35) !important; }
h1, h2, h3, .feature-title, .step-title, .plan-name, .section-head h2 { color: #211e25 !important; }
h1 .accent, h1 span { color: #65339c !important; }
.hero p, .intro, .section-head p, .feature-body, .step-body, .pricing-head p, .final-cta p, .case p { color: #77707b !important; }
.code-card, .feature-card, .plan, .case, .proof { background: #fff !important; border-color: #e9e4eb !important; box-shadow: 0 9px 24px rgba(42,27,55,.045) !important; }
.code-card pre, .code-bar .fname, .code-bar .copy { color: #514b57 !important; }
.code-bar, .plan-features { border-color: #eeeaf0 !important; }
.code-bar .cdot, .events-head .tdot, .panel-head .tdot { background: #d7d1db !important; }
.band, .business { background: #f3f1f1 !important; border-color: #e8e3e9 !important; }
.step + .step, .step-rule { border-color: #e4dfe6 !important; background: #e4dfe6 !important; }
.step-num, .plan-badge, .proof-icon, .glyph { color: #6935a5 !important; border-color: #d9c8eb !important; background: #f7f2fb !important; }
.plan.pro { border-color: #c9afe5 !important; box-shadow: 0 9px 30px rgba(104,53,165,.1) !important; }
.plan.pro .plan-price .amount, .plan-features .check { color: #63329c !important; }
footer { border-color: #e9e5eb !important; background: #fff !important; }
.footer-links, .footer-meta, .meta, .links { color: #837b89 !important; }
.bridge-card { background: linear-gradient(120deg, #5e278d, #7a40b1) !important; border-color: #6a339d !important; }
.bridge-card h2 { color: #fff !important; }.bridge-card>p, .path p { color: #ede3f8 !important; }.path { background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.22) !important; }.path strong { color:#fff !important; }

/* Dashboard and agent launch */
.shell, main { background: #faf9f7 !important; }
.nav-item { color: #4e4654 !important; }
.nav-item.active { background: #f3edf8 !important; box-shadow: inset 0 0 0 1px #dfcfef !important; }
.nav-item:hover { background: #f3edf8 !important; }
.panel { background: #fff !important; border-color: #e8e3ea !important; box-shadow: 0 7px 20px rgba(42,27,55,.04); }
.panel-head, .events-head { background: #fbfafd !important; border-color: #ece8ef !important; }
.events-panel, .log-body, .artifact-row { background: #faf9fb !important; }
form.deploy-form { background: #faf9fb !important; border-color: #ece8ef !important; }
form.deploy-form input, .field input, .field textarea { background: #fff !important; border-color: #ddd7e1 !important; color: #302b34 !important; }
thead th, .mono, .agent-id .id, .exec-sandbox-id, .timer, .field .hint, .field label { color: #827b88 !important; }
tbody td, .agent-id .name, .run-title, .panel-title, .tpl-name, #view-launch h1, .exec-head h1, .artifact-row .fname { color: #2c2730 !important; }
tbody tr:hover { background: #faf6fd !important; }
.row-actions button, .btn-secondary { background: #fff !important; border-color: #ded8e2 !important; color: #544d5a !important; }
.tpl-card { background: #fff !important; border-color: #e6e0e9 !important; }.tpl-card.selected { border-color: #8a56bd !important; box-shadow: 0 0 0 1px rgba(116,64,174,.13),0 10px 22px rgba(92,43,151,.09) !important; }.tpl-icon { color:#6732a2 !important; background:#f6f0fb !important; border-color:#ddcbed !important; }.tpl-desc, #view-launch .sub { color:#77707b !important; }
.status-badge { background:#fff !important; border-color:#ded8e2 !important; }.log-line.stdout { color:#403945 !important; }.log-line.system, .log-empty, .artifacts-empty { color:#918996 !important; }.artifact-row a.dl { color:#63329c !important; border-color:#d5bce9 !important; }
