/* SM Hosting light theme. Dark remains the default; these overrides are active only when html[data-theme="light"]. */
html[data-theme="light"] { color-scheme: light; --theme-bg:#f4f7fb; --theme-surface:#ffffff; --theme-surface-2:#f8fafc; --theme-border:#e2e8f0; --theme-text:#172033; --theme-text-2:#334155; --theme-muted:#64748b; --theme-accent:#4f46e5; --theme-shadow:0 8px 28px rgba(23,32,51,.06); }
html[data-theme="light"] body { background:#f4f7fb; color:#172033; color-scheme:light; }
html[data-theme="light"] body.workspace-dark { --bg:#f4f7fb; --card:#fff; --border:#e2e8f0; --ink:#172033; --ink-2:#334155; --muted:#64748b; --primary-soft:#eef2ff; --primary-tint:#e0e7ff; --shadow:0 8px 28px rgba(23,32,51,.06); --shadow-lg:0 14px 34px rgba(23,32,51,.10); background:#f4f7fb; color:#172033; color-scheme:light; }
html[data-theme="light"] body.auth-page, html[data-theme="light"] body.landing-page { background:#f4f7fb; color:#172033; color-scheme:light; }

/* Theme switch */
.theme-toggle { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:36px; padding:8px 11px; border:1px solid #33435b; border-radius:11px; background:#121d30; color:#e4ecfb; font-size:10px; font-weight:800; line-height:1; white-space:nowrap; cursor:pointer; transition:background .18s,border-color .18s,color .18s,transform .18s; }
.theme-toggle i { color:#f5c86b; font-size:12px; }
.theme-toggle:hover { transform:translateY(-1px); background:#1a2940; border-color:#687da0; }
.theme-toggle-floating { display:none; }
html[data-theme="light"] .theme-toggle { background:#fff; color:#334155; border-color:#dbe3ef; box-shadow:0 4px 14px rgba(25,42,71,.07); }
html[data-theme="light"] .theme-toggle i { color:#5b55db; }
html[data-theme="light"] .theme-toggle:hover { background:#f5f7ff; border-color:#c7c9fa; }
@media (max-width:900px) { .topbar .theme-toggle span { display:none; } .topbar .theme-toggle { width:37px; min-width:37px; height:37px; padding:0; } }
@media (max-width:600px) { .top-actions { gap:7px!important; } .server-status { display:none!important; } }
body.auth-page .theme-toggle-floating { display:inline-flex; position:fixed; z-index:1500; top:18px; right:18px; box-shadow:0 8px 28px rgba(0,0,0,.18); }
@media (max-width:600px) { body.auth-page .theme-toggle-floating { top:13px; right:13px; min-height:35px; padding:8px 10px; } }
.sm-home-nav-actions .theme-toggle-landing { min-height:37px; }
@media (max-width:760px) { .sm-home-nav-actions .theme-toggle-landing span { display:none; } .sm-home-nav-actions .theme-toggle-landing { width:37px; min-width:37px; padding:0; } }

/* Shared workspace frame */
html[data-theme="light"] body.workspace-dark .sidebar { background:#fff!important; border-color:#e3e8f1!important; color:#172033!important; box-shadow:4px 0 24px rgba(23,32,51,.025); }
html[data-theme="light"] body.workspace-dark .brand, html[data-theme="light"] body.workspace-dark .account-copy b, html[data-theme="light"] body.workspace-dark .breadcrumb b { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .brand-word small { color:#8390a5; }
html[data-theme="light"] body.workspace-dark .side-label { color:#8591a5!important; }
html[data-theme="light"] body.workspace-dark .nav-link { color:#526176!important; }
html[data-theme="light"] body.workspace-dark .nav-link>i { color:#8794a9!important; }
html[data-theme="light"] body.workspace-dark .nav-link:hover, html[data-theme="light"] body.workspace-dark .nav-link.active { background:#eef2ff!important; color:#4338ca!important; }
html[data-theme="light"] body.workspace-dark .nav-link.active { box-shadow:inset 3px 0 0 #6366f1!important; }
html[data-theme="light"] body.workspace-dark .nav-link.active>i, html[data-theme="light"] body.workspace-dark .nav-link:hover>i { color:#4f46e5!important; }
html[data-theme="light"] body.workspace-dark .nav-link.admin-nav-link.active { background:linear-gradient(100deg,#f0eaff,#eef2ff)!important; color:#5b21b6!important; }
html[data-theme="light"] body.workspace-dark .sidebar-workspace-chip { background:linear-gradient(115deg,#f7f8ff,#f1f5ff)!important; border-color:#e0e5f4!important; }
html[data-theme="light"] body.workspace-dark .sidebar-workspace-chip b { color:#263248!important; }
html[data-theme="light"] body.workspace-dark .sidebar-workspace-chip small { color:#76839a!important; }
html[data-theme="light"] body.workspace-dark .sidebar-bottom { border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .sidebar-profile-link { background:linear-gradient(115deg,#f8fafc,#f1f5f9)!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .sidebar-profile-link:hover { background:#eef2ff!important; }
html[data-theme="light"] body.workspace-dark .account-copy small, html[data-theme="light"] body.workspace-dark .account-copy em { color:#738198!important; }
html[data-theme="light"] body.workspace-dark .sidebar-promo { background:linear-gradient(145deg,#fff,#f1f5ff)!important; border-color:#dfe5f5!important; }
html[data-theme="light"] body.workspace-dark .sidebar-promo b { color:#273249!important; }
html[data-theme="light"] body.workspace-dark .sidebar-promo p { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .promo-icon { background:#eef2ff!important; color:#4f46e5!important; }
html[data-theme="light"] body.workspace-dark .sidebar-foot { color:#8490a4!important; }
html[data-theme="light"] body.workspace-dark .topbar { background:rgba(255,255,255,.94)!important; border-color:#e2e8f0!important; box-shadow:0 4px 20px rgba(30,41,59,.025); }
html[data-theme="light"] body.workspace-dark .crumb-muted, html[data-theme="light"] body.workspace-dark .top-actions { color:#748197!important; }
html[data-theme="light"] body.workspace-dark .breadcrumb>i, html[data-theme="light"] body.workspace-dark .top-divider { color:#94a3b8!important; border-color:#e2e8f0!important; background-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .icon-btn { background:#fff!important; border-color:#dce4ef!important; color:#334155!important; }
html[data-theme="light"] body.workspace-dark .content-area { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .site-footer { color:#8490a4!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .footer-mark { background:#eef2ff!important; color:#4f46e5!important; }
html[data-theme="light"] body.workspace-dark .bottom-nav { background:rgba(255,255,255,.96)!important; border-color:#e2e8f0!important; box-shadow:0 -7px 25px rgba(15,23,42,.08)!important; }
html[data-theme="light"] body.workspace-dark .bn-item { color:#77849a!important; }
html[data-theme="light"] body.workspace-dark .bn-item.active { color:#4f46e5!important; }
html[data-theme="light"] body.workspace-dark .bn-item.active i { background:#eef2ff!important; }
html[data-theme="light"] body.workspace-dark .create-pill { border-color:#fff!important; }

/* Global workspace surfaces and type */
html[data-theme="light"] body.workspace-dark .panel, html[data-theme="light"] body.workspace-dark .tz-card, html[data-theme="light"] body.workspace-dark .stat-card, html[data-theme="light"] body.workspace-dark .stat, html[data-theme="light"] body.workspace-dark .quick-card, html[data-theme="light"] body.workspace-dark .form-panel, html[data-theme="light"] body.workspace-dark .side-info, html[data-theme="light"] body.workspace-dark .plan-card, html[data-theme="light"] body.workspace-dark .admin-finance-card, html[data-theme="light"] body.workspace-dark .admin-section-card, html[data-theme="light"] body.workspace-dark .admin-plan-card, html[data-theme="light"] body.workspace-dark .admin-stat, html[data-theme="light"] body.workspace-dark .admin-mini-stats>div, html[data-theme="light"] body.workspace-dark .admin-filter-bar, html[data-theme="light"] body.workspace-dark .ap-card, html[data-theme="light"] body.workspace-dark .ap-stat, html[data-theme="light"] body.workspace-dark .ap-toolbar, html[data-theme="light"] body.workspace-dark .ap-dialog, html[data-theme="light"] body.workspace-dark .deploy-form-card, html[data-theme="light"] body.workspace-dark .deploy-guide-card, html[data-theme="light"] body.workspace-dark .project-browser, html[data-theme="light"] body.workspace-dark .project-work-card, html[data-theme="light"] body.workspace-dark .project-control-bar, html[data-theme="light"] body.workspace-dark .detail-section, html[data-theme="light"] body.workspace-dark .dependency-file-card, html[data-theme="light"] body.workspace-dark .project-help-card, html[data-theme="light"] body.workspace-dark .requirements-install-form, html[data-theme="light"] body.workspace-dark .file-editor-panel, html[data-theme="light"] body.workspace-dark .od-panel, html[data-theme="light"] body.workspace-dark .od-stat-card, html[data-theme="light"] body.workspace-dark .od-plan-panel, html[data-theme="light"] body.workspace-dark .od-quick-panel, html[data-theme="light"] body.workspace-dark .od-activity-panel, html[data-theme="light"] body.workspace-dark .overview-panel, html[data-theme="light"] body.workspace-dark .overview-stat-card, html[data-theme="light"] body.workspace-dark .overview-plan-card, html[data-theme="light"] body.workspace-dark .overview-quick-panel, html[data-theme="light"] body.workspace-dark .overview-next-steps, html[data-theme="light"] body.workspace-dark .overview-activity-panel, html[data-theme="light"] body.workspace-dark .project-summary-grid>article, html[data-theme="light"] body.workspace-dark .detail-metric-grid>article, html[data-theme="light"] body.workspace-dark .profile-identity-card, html[data-theme="light"] body.workspace-dark .profile-panel, html[data-theme="light"] body.workspace-dark .profile-section, html[data-theme="light"] body.workspace-dark .profile-form-card, html[data-theme="light"] body.workspace-dark .profile-security-card { background:#fff!important; background-image:none!important; color:#334155!important; border-color:#e2e8f0!important; box-shadow:0 7px 24px rgba(23,32,51,.045)!important; }
html[data-theme="light"] body.workspace-dark .page-heading h1, html[data-theme="light"] body.workspace-dark .section-row h2, html[data-theme="light"] body.workspace-dark .panel h2, html[data-theme="light"] body.workspace-dark .panel h3, html[data-theme="light"] body.workspace-dark .panel-heading h2, html[data-theme="light"] body.workspace-dark .form-panel label, html[data-theme="light"] body.workspace-dark .side-info h3, html[data-theme="light"] body.workspace-dark .plan-card h2, html[data-theme="light"] body.workspace-dark .admin-hero h1, html[data-theme="light"] body.workspace-dark .admin-section-head h2, html[data-theme="light"] body.workspace-dark .admin-plan-title, html[data-theme="light"] body.workspace-dark .project-browser h2, html[data-theme="light"] body.workspace-dark .project-work-card h3, html[data-theme="light"] body.workspace-dark .detail-title-row h1, html[data-theme="light"] body.workspace-dark .detail-section h2, html[data-theme="light"] body.workspace-dark .project-help-card h3, html[data-theme="light"] body.workspace-dark .overview-dashboard h1, html[data-theme="light"] body.workspace-dark .od-panel-heading h2, html[data-theme="light"] body.workspace-dark .od-plan-heading h2, html[data-theme="light"] body.workspace-dark .od-action-row b, html[data-theme="light"] body.workspace-dark .od-activity-main b, html[data-theme="light"] body.workspace-dark .od-empty-state h3, html[data-theme="light"] body.workspace-dark .profile-identity-card h1, html[data-theme="light"] body.workspace-dark .profile-section h2 { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .page-heading p, html[data-theme="light"] body.workspace-dark .section-row p, html[data-theme="light"] body.workspace-dark .panel p, html[data-theme="light"] body.workspace-dark .help, html[data-theme="light"] body.workspace-dark .muted, html[data-theme="light"] body.workspace-dark .balance-card small, html[data-theme="light"] body.workspace-dark .admin-hero p, html[data-theme="light"] body.workspace-dark .admin-stat-top, html[data-theme="light"] body.workspace-dark .admin-stat>small, html[data-theme="light"] body.workspace-dark .admin-subline, html[data-theme="light"] body.workspace-dark .admin-muted, html[data-theme="light"] body.workspace-dark .detail-section-heading p, html[data-theme="light"] body.workspace-dark .detail-section-heading small, html[data-theme="light"] body.workspace-dark .project-browser-head p, html[data-theme="light"] body.workspace-dark .project-work-entry, html[data-theme="light"] body.workspace-dark .project-work-meta, html[data-theme="light"] body.workspace-dark .project-control-copy small, html[data-theme="light"] body.workspace-dark .od-stat-foot, html[data-theme="light"] body.workspace-dark .od-page-header p, html[data-theme="light"] body.workspace-dark .od-plan-description, html[data-theme="light"] body.workspace-dark .od-resource-list span, html[data-theme="light"] body.workspace-dark .od-action-row small, html[data-theme="light"] body.workspace-dark .od-activity-main small, html[data-theme="light"] body.workspace-dark .profile-muted, html[data-theme="light"] body.workspace-dark .profile-section p { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .admin-stat>strong, html[data-theme="light"] body.workspace-dark .project-summary-grid strong, html[data-theme="light"] body.workspace-dark .detail-metric-grid strong, html[data-theme="light"] body.workspace-dark .overview-stat-card strong, html[data-theme="light"] body.workspace-dark .od-stat-value, html[data-theme="light"] body.workspace-dark .profile-identity-card .profile-identity-name { color:#111827!important; }
html[data-theme="light"] body.workspace-dark .admin-stat-track, html[data-theme="light"] body.workspace-dark .od-progress, html[data-theme="light"] body.workspace-dark .mini-progress { background:#e6ebf3!important; }
html[data-theme="light"] body.workspace-dark .admin-stat-track span, html[data-theme="light"] body.workspace-dark .od-progress span, html[data-theme="light"] body.workspace-dark .mini-progress span { filter:saturate(.95); }
html[data-theme="light"] body.workspace-dark .admin-icon.violet, html[data-theme="light"] body.workspace-dark .mini-stat-icon.violet, html[data-theme="light"] body.workspace-dark .od-stat-icon, html[data-theme="light"] body.workspace-dark .overview-stat-icon, html[data-theme="light"] body.workspace-dark .project-summary-icon, html[data-theme="light"] body.workspace-dark .detail-metric-icon { background:#eef2ff!important; color:#4f46e5!important; }
html[data-theme="light"] body.workspace-dark .od-project-row, html[data-theme="light"] body.workspace-dark .od-action-row, html[data-theme="light"] body.workspace-dark .overview-project-row, html[data-theme="light"] body.workspace-dark .overview-action-row, html[data-theme="light"] body.workspace-dark .overview-check-item { background:#f8fafc!important; border-color:#e5eaf2!important; }
html[data-theme="light"] body.workspace-dark .od-project-row:hover, html[data-theme="light"] body.workspace-dark .od-action-row:hover, html[data-theme="light"] body.workspace-dark .overview-project-row:hover, html[data-theme="light"] body.workspace-dark .overview-check-item:hover { background:#f1f5ff!important; border-color:#d8dcfa!important; }
html[data-theme="light"] body.workspace-dark .od-stat-tag { background:#f1f5f9!important; color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .od-stat-tag.od-tag-green { background:#dcfce7!important; color:#166534!important; }
html[data-theme="light"] body.workspace-dark .od-stat-tag.od-tag-amber { background:#fef3c7!important; color:#92400e!important; }
html[data-theme="light"] body.workspace-dark .overview-plan-card, html[data-theme="light"] body.workspace-dark .od-plan-panel { background:linear-gradient(145deg,#fff,#f5f7ff)!important; }
html[data-theme="light"] body.workspace-dark .overview-plan-card h3, html[data-theme="light"] body.workspace-dark .overview-plan-card .plan-resource-list b, html[data-theme="light"] body.workspace-dark .od-resource-list b { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .overview-plan-card p, html[data-theme="light"] body.workspace-dark .overview-plan-card .plan-resource-list span { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .overview-plan-card .plan-resource-list>div, html[data-theme="light"] body.workspace-dark .od-resource-list>div { border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .overview-panel-heading, html[data-theme="light"] body.workspace-dark .overview-panel-bottom, html[data-theme="light"] body.workspace-dark .overview-activity-row, html[data-theme="light"] body.workspace-dark .overview-checklist-grid, html[data-theme="light"] body.workspace-dark .od-panel-heading, html[data-theme="light"] body.workspace-dark .od-panel-footer, html[data-theme="light"] body.workspace-dark .od-activity-row { border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .overview-panel-bottom, html[data-theme="light"] body.workspace-dark .od-panel-footer { background:#f8fafc!important; color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .overview-empty, html[data-theme="light"] body.workspace-dark .od-empty-state p, html[data-theme="light"] body.workspace-dark .overview-activity-empty small { color:#64748b!important; }

/* Project browser, project details, file manager and editor */
html[data-theme="light"] body.workspace-dark .workspace-hero, html[data-theme="light"] body.workspace-dark .project-list-hero, html[data-theme="light"] body.workspace-dark .detail-hero, html[data-theme="light"] body.workspace-dark .overview-hero { background:radial-gradient(ellipse at 85% 0%,#e0e7ff 0,transparent 42%),linear-gradient(125deg,#fff,#f5f7ff)!important; border-color:#e0e5f4!important; box-shadow:0 12px 32px rgba(34,49,83,.055)!important; }
html[data-theme="light"] body.workspace-dark .workspace-hero h1, html[data-theme="light"] body.workspace-dark .detail-title-row h1, html[data-theme="light"] body.workspace-dark .overview-hero h1, html[data-theme="light"] body.workspace-dark .overview-section-title h2 { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .workspace-hero p, html[data-theme="light"] body.workspace-dark .detail-title-row p, html[data-theme="light"] body.workspace-dark .overview-hero p { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .workspace-eyebrow, html[data-theme="light"] body.workspace-dark .section-eyebrow, html[data-theme="light"] body.workspace-dark .overview-kicker { color:#5b55db!important; }
html[data-theme="light"] body.workspace-dark .workspace-hero-tags span, html[data-theme="light"] body.workspace-dark .overview-date-chip { background:#eef2ff!important; border-color:#dfe4f5!important; color:#4b5563!important; }
html[data-theme="light"] body.workspace-dark .overview-hero-bottom, html[data-theme="light"] body.workspace-dark .detail-hero-bottom { border-color:#e2e8f0!important; color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .hero-code-window, html[data-theme="light"] body.workspace-dark .hero-window-top { background:#fff!important; border-color:#dfe5ef!important; box-shadow:0 12px 30px rgba(20,34,58,.08)!important; }
html[data-theme="light"] body.workspace-dark .hero-code-window *, html[data-theme="light"] body.workspace-dark .hero-window-top * { color:#334155!important; }
html[data-theme="light"] body.workspace-dark .project-browser { background:#fff!important; }
html[data-theme="light"] body.workspace-dark .project-search, html[data-theme="light"] body.workspace-dark .project-browser-tools select, html[data-theme="light"] body.workspace-dark .entry-config-input, html[data-theme="light"] body.workspace-dark .requirements-upload-controls input, html[data-theme="light"] body.workspace-dark .project-folder-select, html[data-theme="light"] body.workspace-dark .coupon-checkout-controls input { background:#fff!important; border-color:#d8e1ed!important; color:#172033!important; }
html[data-theme="light"] body.workspace-dark .project-search input, html[data-theme="light"] body.workspace-dark .entry-config-input input, html[data-theme="light"] body.workspace-dark .project-folder-select { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .project-search input::placeholder { color:#9aa5b5!important; }
html[data-theme="light"] body.workspace-dark .project-work-card { background:#fff!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .project-work-card h3, html[data-theme="light"] body.workspace-dark .project-empty-state h3, html[data-theme="light"] body.workspace-dark .project-no-results b { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .project-python-mark, html[data-theme="light"] body.workspace-dark .detail-python-icon, html[data-theme="light"] body.workspace-dark .project-help-card>a { background:#eef2ff!important; color:#4f46e5!important; border-color:#dfe4f5!important; }
html[data-theme="light"] body.workspace-dark .project-card-actions, html[data-theme="light"] body.workspace-dark .project-work-meta, html[data-theme="light"] body.workspace-dark .detail-section-heading, html[data-theme="light"] body.workspace-dark .project-file-row { border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .detail-heading-state { background:#f8fafc!important; border-color:#dfe5ef!important; color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .detail-heading-state.ready { background:#dcfce7!important; border-color:#bbf7d0!important; color:#166534!important; }
html[data-theme="light"] body.workspace-dark .dependency-file-card, html[data-theme="light"] body.workspace-dark .requirements-install-form, html[data-theme="light"] body.workspace-dark .project-help-card, html[data-theme="light"] body.workspace-dark .project-control-bar { background:#f8fafc!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .dependency-file-info b, html[data-theme="light"] body.workspace-dark .project-file-row code, html[data-theme="light"] body.workspace-dark .runtime-safety-note b { color:#334155!important; }
html[data-theme="light"] body.workspace-dark .runtime-safety-note { background:#fffbeb!important; border-color:#fde68a!important; color:#92400e!important; }
html[data-theme="light"] body.workspace-dark .detail-jump-nav { background:#fff!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .file-editor-panel { background:#fff!important; }
html[data-theme="light"] body.workspace-dark .file-editor-toolbar { background:#f8fafc!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .file-editor-language { background:#eef2ff!important; color:#4338ca!important; }
html[data-theme="light"] body.workspace-dark .file-editor-textarea, html[data-theme="light"] body.workspace-dark .enhanced-logs, html[data-theme="light"] body.workspace-dark .logs, html[data-theme="light"] body.workspace-dark .terminal-mini { background:#f8fafc!important; border-color:#e2e8f0!important; color:#243247!important; color-scheme:light; }
html[data-theme="light"] body.workspace-dark .file-editor-status-dot { background:#16a34a!important; }
html[data-theme="light"] body.workspace-dark .project-file-row .file-edit-btn { background:#eef2ff!important; color:#4338ca!important; }
html[data-theme="light"] body.workspace-dark .project-file-row .file-delete-btn, html[data-theme="light"] body.workspace-dark .btn.danger { background:#fff1f2!important; color:#be123c!important; border-color:#fecdd3!important; }
html[data-theme="light"] body.workspace-dark .coupon-checkout-box { background:#f8fafc!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .coupon-checkout-controls input { background:#fff!important; color:#172033!important; }

/* Plan cards, wallet, payments, form controls and tables */
html[data-theme="light"] body.workspace-dark .balance-card { background:radial-gradient(circle at 85% 10%,#ffffff32,transparent 42%),linear-gradient(125deg,#2563eb,#4f46e5)!important; border-color:#4f46e5!important; color:#fff!important; }
html[data-theme="light"] body.workspace-dark .balance-card h2, html[data-theme="light"] body.workspace-dark .balance-card span, html[data-theme="light"] body.workspace-dark .balance-card small { color:#fff!important; }
html[data-theme="light"] body.workspace-dark .plan-card.featured, html[data-theme="light"] body.workspace-dark .plan-card { background:#fff!important; border-color:#e2e8f0!important; color:#172033!important; }
html[data-theme="light"] body.workspace-dark .plan-card.featured { border-color:#c7d2fe!important; box-shadow:0 12px 32px rgba(79,70,229,.09)!important; }
html[data-theme="light"] body.workspace-dark .plan-card h2, html[data-theme="light"] body.workspace-dark .plan-card .price { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .plan-card>p, html[data-theme="light"] body.workspace-dark .plan-features span, html[data-theme="light"] body.workspace-dark .price small { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .plan-features>div { border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark input, html[data-theme="light"] body.workspace-dark select, html[data-theme="light"] body.workspace-dark textarea, html[data-theme="light"] body.workspace-dark .upload-zone input[type=file], html[data-theme="light"] body.workspace-dark .deposit-form-card input, html[data-theme="light"] body.workspace-dark .deposit-form-card select, html[data-theme="light"] body.workspace-dark .deposit-form-card textarea, html[data-theme="light"] body.workspace-dark .payment-settings-card input, html[data-theme="light"] body.workspace-dark .payment-settings-card select, html[data-theme="light"] body.workspace-dark .payment-settings-card textarea { background:#fff!important; border-color:#d6dfeb!important; color:#172033!important; color-scheme:light; }
html[data-theme="light"] body.workspace-dark input::placeholder, html[data-theme="light"] body.workspace-dark textarea::placeholder, html[data-theme="light"] body.workspace-dark .deposit-form-card input::placeholder, html[data-theme="light"] body.workspace-dark .payment-settings-card input::placeholder { color:#9aa5b5!important; }
html[data-theme="light"] body.workspace-dark .form-panel label, html[data-theme="light"] body.workspace-dark label { color:#334155!important; }
html[data-theme="light"] body.workspace-dark .upload-zone { background:linear-gradient(145deg,#f8fafc,#eff6ff)!important; border-color:#b9c7e7!important; color:#334155!important; }
html[data-theme="light"] body.workspace-dark .upload-zone b, html[data-theme="light"] body.workspace-dark .upload-zone p { color:#334155!important; }
html[data-theme="light"] body.workspace-dark th, html[data-theme="light"] body.workspace-dark .admin-table thead th, html[data-theme="light"] body.workspace-dark .ap-table thead th { background:#f8fafc!important; border-color:#e2e8f0!important; color:#718096!important; }
html[data-theme="light"] body.workspace-dark td, html[data-theme="light"] body.workspace-dark .admin-table tbody td, html[data-theme="light"] body.workspace-dark .ap-table tbody td { background:#fff!important; border-color:#e9edf4!important; color:#526176!important; }
html[data-theme="light"] body.workspace-dark tbody tr:hover td, html[data-theme="light"] body.workspace-dark .admin-table tbody tr:hover, html[data-theme="light"] body.workspace-dark .ap-table tbody tr:hover { background:#f8fafc!important; }
html[data-theme="light"] body.workspace-dark td b, html[data-theme="light"] body.workspace-dark .admin-table td b { color:#263248!important; }
html[data-theme="light"] body.workspace-dark .notice { background:#eff6ff!important; border-color:#bfdbfe!important; color:#1e40af!important; }
html[data-theme="light"] body.workspace-dark .notice.success { background:#ecfdf5!important; border-color:#a7f3d0!important; color:#065f46!important; }
html[data-theme="light"] body.workspace-dark .status, html[data-theme="light"] body.workspace-dark .admin-status, html[data-theme="light"] body.workspace-dark .ap-pill { background:#f1f5f9!important; color:#475569!important; }
html[data-theme="light"] body.workspace-dark .status.running, html[data-theme="light"] body.workspace-dark .status.approved, html[data-theme="light"] body.workspace-dark .admin-status.active, html[data-theme="light"] body.workspace-dark .admin-status.approved, html[data-theme="light"] body.workspace-dark .admin-status.running, html[data-theme="light"] body.workspace-dark .ap-pill.active, html[data-theme="light"] body.workspace-dark .ap-pill.approved { background:#dcfce7!important; color:#166534!important; }
html[data-theme="light"] body.workspace-dark .status.failed, html[data-theme="light"] body.workspace-dark .status.rejected, html[data-theme="light"] body.workspace-dark .admin-status.suspended, html[data-theme="light"] body.workspace-dark .admin-status.rejected, html[data-theme="light"] body.workspace-dark .ap-pill.expired, html[data-theme="light"] body.workspace-dark .ap-pill.rejected { background:#ffe4e6!important; color:#9f1239!important; }
html[data-theme="light"] body.workspace-dark .status.pending, html[data-theme="light"] body.workspace-dark .status.starting, html[data-theme="light"] body.workspace-dark .status.deploying, html[data-theme="light"] body.workspace-dark .status.restarting, html[data-theme="light"] body.workspace-dark .admin-status.pending, html[data-theme="light"] body.workspace-dark .ap-pill.expiring, html[data-theme="light"] body.workspace-dark .ap-pill.pending { background:#fef3c7!important; color:#92400e!important; }
html[data-theme="light"] body.workspace-dark .btn.secondary { background:#fff!important; border-color:#d8e1ec!important; color:#334155!important; }
html[data-theme="light"] body.workspace-dark .btn.secondary:hover { background:#f8fafc!important; }
html[data-theme="light"] body.workspace-dark .flash { background:#fff!important; border-color:#e2e8f0!important; color:#334155!important; }
html[data-theme="light"] body.workspace-dark .flash.success { background:#ecfdf5!important; border-color:#a7f3d0!important; color:#065f46!important; }
html[data-theme="light"] body.workspace-dark .flash.danger, html[data-theme="light"] body.workspace-dark .flash.error { background:#fff1f2!important; border-color:#fecdd3!important; color:#9f1239!important; }
html[data-theme="light"] body.workspace-dark .flash.warning { background:#fffbeb!important; border-color:#fde68a!important; color:#92400e!important; }

/* Admin Studio light surfaces */
html[data-theme="light"] body.workspace-dark .admin-hero { background:radial-gradient(ellipse at 85% 0%,#e0e7ff 0,transparent 45%),linear-gradient(135deg,#fff,#f5f7ff)!important; border-color:#e0e5f4!important; box-shadow:0 12px 35px rgba(23,32,51,.05)!important; }
html[data-theme="light"] body.workspace-dark .admin-hero .eyebrow { color:#5b55db!important; }
html[data-theme="light"] body.workspace-dark .admin-hero h1, html[data-theme="light"] body.workspace-dark .admin-section-head h2 { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .admin-hero p { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .admin-section-head, html[data-theme="light"] body.workspace-dark .admin-table-foot, html[data-theme="light"] body.workspace-dark .ap-foot { background:#f8fafc!important; border-color:#e2e8f0!important; color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .admin-filter-bar, html[data-theme="light"] body.workspace-dark .admin-mini-stats>div, html[data-theme="light"] body.workspace-dark .admin-plan-metrics>div+div, html[data-theme="light"] body.workspace-dark .ap-methods, html[data-theme="light"] body.workspace-dark .ap-note { background:#f8fafc!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .admin-filter-bar select, html[data-theme="light"] body.workspace-dark .admin-plan-assign select, html[data-theme="light"] body.workspace-dark .admin-search, html[data-theme="light"] body.workspace-dark .ap-filters select, html[data-theme="light"] body.workspace-dark .ap-dialog textarea, html[data-theme="light"] body.workspace-dark .ap-dialog-x { background:#fff!important; border-color:#d8e1ed!important; color:#334155!important; }
html[data-theme="light"] body.workspace-dark .admin-plan-actions .btn.secondary, html[data-theme="light"] body.workspace-dark .admin-hero .btn.secondary, html[data-theme="light"] body.workspace-dark .admin-filter-bar .btn.secondary { background:#fff!important; border-color:#d8e1ed!important; color:#334155!important; }
html[data-theme="light"] body.workspace-dark .admin-plan-card .admin-plan-metrics span, html[data-theme="light"] body.workspace-dark .admin-plan-card .admin-plan-protected { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .admin-plan-card .admin-plan-metrics b, html[data-theme="light"] body.workspace-dark .admin-plan-card .admin-plan-title { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .admin-security-note { background:#f5f3ff!important; border-color:#ddd6fe!important; }
html[data-theme="light"] body.workspace-dark .admin-security-note b { color:#4c1d95!important; }
html[data-theme="light"] body.workspace-dark .admin-security-note p { color:#6b5a8e!important; }
html[data-theme="light"] body.workspace-dark .ap-tab { background:#fff!important; border-color:#dfe5ef!important; color:#526176!important; }
html[data-theme="light"] body.workspace-dark .ap-tab b { background:#eef2ff!important; color:#4f46e5!important; }
html[data-theme="light"] body.workspace-dark .ap-tab.on { background:#eef2ff!important; border-color:#c7d2fe!important; color:#4338ca!important; }
html[data-theme="light"] body.workspace-dark .ap-dialog { background:#fff!important; color:#172033!important; }
html[data-theme="light"] body.workspace-dark .ap-dialog h2, html[data-theme="light"] body.workspace-dark .ap-dialog h3 { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .admin-live-pill { background:#dcfce7!important; color:#166534!important; }
html[data-theme="light"] body.workspace-dark .ap-pill.lifetime { background:#eef2ff!important; color:#4338ca!important; }
html[data-theme="light"] body.workspace-dark .ap-btn-reject { background:#ffe4e6!important; color:#9f1239!important; }
html[data-theme="light"] body.workspace-dark .ap-method-icon.bkash { background:#fce7f3!important; color:#be185d!important; }
html[data-theme="light"] body.workspace-dark .ap-method-icon.nagad { background:#ffedd5!important; color:#9a3412!important; }
html[data-theme="light"] body.workspace-dark .ap-method-icon.binance { background:#fef3c7!important; color:#92400e!important; }
html[data-theme="light"] body.workspace-dark .plan-renew-note { background:#f8fafc!important; color:#64748b!important; border-color:#e2e8f0!important; }

/* Deployment upload page */
html[data-theme="light"] body.workspace-dark .deploy-hero { background:radial-gradient(ellipse at 85% 15%,#dbeafe 0,transparent 40%),linear-gradient(125deg,#fff,#f4f7ff)!important; border-color:#dfe5f0!important; box-shadow:0 12px 32px rgba(23,32,51,.06)!important; }
html[data-theme="light"] body.workspace-dark .deploy-hero h1 { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .deploy-hero p, html[data-theme="light"] body.workspace-dark .deploy-hero-points span { color:#526176!important; }
html[data-theme="light"] body.workspace-dark .deploy-hero-points i { color:#0284c7!important; }
html[data-theme="light"] body.workspace-dark .deploy-art-card { background:linear-gradient(145deg,#fff,#f1f5ff)!important; border-color:#dce4f0!important; box-shadow:0 14px 30px rgba(25,42,71,.10)!important; }
html[data-theme="light"] body.workspace-dark .deploy-art-card>span { color:#334155!important; }
html[data-theme="light"] body.workspace-dark .deploy-art-card>b { background:#dcfce7!important; color:#166534!important; }
html[data-theme="light"] body.workspace-dark .deploy-art-float { background:#fff!important; border-color:#dbe5f0!important; color:#0284c7!important; }
html[data-theme="light"] body.workspace-dark .deploy-card-heading { border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .deploy-card-heading h2, html[data-theme="light"] body.workspace-dark .guide-card-heading h3 { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .deploy-card-heading p, html[data-theme="light"] body.workspace-dark .guide-card-heading p, html[data-theme="light"] body.workspace-dark .deploy-field>small, html[data-theme="light"] body.workspace-dark .deploy-submit-row>span { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .deploy-field>label { color:#334155!important; }
html[data-theme="light"] body.workspace-dark .deploy-field input:not([type=file]) { background:#fff!important; border-color:#d6dfeb!important; color:#172033!important; }
html[data-theme="light"] body.workspace-dark .deploy-field input::placeholder { color:#9aa5b5!important; }
html[data-theme="light"] body.workspace-dark .deploy-step { background:#eef2ff!important; border-color:#dbe4fb!important; color:#4f46e5!important; }
html[data-theme="light"] body.workspace-dark .upload-dropzone { background:linear-gradient(145deg,#fff,#f8fafc)!important; border-color:#cbd5e1!important; color:#334155!important; }
html[data-theme="light"] body.workspace-dark .upload-dropzone:hover, html[data-theme="light"] body.workspace-dark .upload-dropzone.dragging { background:#eff6ff!important; border-color:#93c5fd!important; }
html[data-theme="light"] body.workspace-dark .upload-dropzone.has-file { background:#ecfdf5!important; border-color:#86efac!important; }
html[data-theme="light"] body.workspace-dark .dropzone-icon, html[data-theme="light"] body.workspace-dark .guide-card-heading>span, html[data-theme="light"] body.workspace-dark .deploy-guide-step>span { background:#eff6ff!important; border-color:#dbeafe!important; color:#0369a1!important; }
html[data-theme="light"] body.workspace-dark .dropzone-subtitle, html[data-theme="light"] body.workspace-dark .dropzone-formats, html[data-theme="light"] body.workspace-dark .deploy-guide-step p { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .dropzone-subtitle em { color:#0369a1!important; }
html[data-theme="light"] body.workspace-dark .upload-selected-file { background:#ecfdf5!important; border-color:#a7f3d0!important; color:#065f46!important; }
html[data-theme="light"] body.workspace-dark .upload-status { background:#eff6ff!important; border-color:#bfdbfe!important; color:#1e40af!important; }
html[data-theme="light"] body.workspace-dark .upload-status.upload-status-error { background:#fff1f2!important; border-color:#fecdd3!important; color:#9f1239!important; }
html[data-theme="light"] body.workspace-dark .deploy-guide-step { border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .deploy-security-card { background:#ecfdf5!important; border-color:#a7f3d0!important; }
html[data-theme="light"] body.workspace-dark .deploy-security-card b { color:#065f46!important; }
html[data-theme="light"] body.workspace-dark .deploy-security-card p { color:#047857!important; }

/* Profile */
html[data-theme="light"] body.workspace-dark .profile-identity-card { background:linear-gradient(135deg,#fff,#f4f7ff)!important; }
html[data-theme="light"] body.workspace-dark .profile-identity-card h1, html[data-theme="light"] body.workspace-dark .profile-identity-name { color:#172033!important; }
html[data-theme="light"] body.workspace-dark .profile-identity-card p, html[data-theme="light"] body.workspace-dark .profile-readonly-note { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .profile-text-input { background:#fff!important; border-color:#d7dfeb!important; color:#172033!important; }
html[data-theme="light"] body.workspace-dark .profile-readonly-icon, html[data-theme="light"] body.workspace-dark .profile-lock-chip { background:#f1f5f9!important; color:#64748b!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .profile-lock-chip { background:#eef2ff!important; color:#4f46e5!important; }

/* Authentication pages */
html[data-theme="light"] body.auth-page .content-area { background:#f4f7fb!important; color:#172033!important; }
html[data-theme="light"] body.auth-page .auth-reference-layout { background:radial-gradient(ellipse at 50% -10%,#e0e7ff 0,transparent 48%),linear-gradient(135deg,#f8faff 0%,#eef2f8 60%,#f5f7fb 100%)!important; }
html[data-theme="light"] body.auth-page .auth-reference-layout:before { opacity:.35; background-image:linear-gradient(#7b8db414 1px,transparent 1px),linear-gradient(90deg,#7b8db414 1px,transparent 1px); }
html[data-theme="light"] body.auth-page .auth-back-link { background:#ffffffd9!important; border-color:#dbe3ef!important; color:#475569!important; box-shadow:0 8px 24px rgba(23,32,51,.08)!important; }
html[data-theme="light"] body.auth-page .auth-back-link:hover { background:#fff!important; color:#4338ca!important; }
html[data-theme="light"] body.auth-page .reference-brand h1 { color:#172033!important; }
html[data-theme="light"] body.auth-page .reference-brand h1 span { color:#475569!important; }
html[data-theme="light"] body.auth-page .reference-badge { background:#eef2ff!important; border-color:#d8ddfb!important; color:#4f46e5!important; box-shadow:none!important; }
html[data-theme="light"] body.auth-page .reference-badge i { color:#6366f1!important; }
html[data-theme="light"] body.auth-page .reference-auth-card { background:rgba(255,255,255,.97)!important; border-color:#e0e6f0!important; box-shadow:0 22px 60px rgba(23,32,51,.10)!important; }
html[data-theme="light"] body.auth-page .reference-kicker { color:#4f46e5!important; }
html[data-theme="light"] body.auth-page .reference-card-heading h2 { color:#172033!important; }
html[data-theme="light"] body.auth-page .reference-card-heading p { color:#64748b!important; }
html[data-theme="light"] body.auth-page .reference-auth-form>label, html[data-theme="light"] body.auth-page .reference-auth-form .auth-label-row label { color:#475569!important; }
html[data-theme="light"] body.auth-page .reference-auth-form .label-note { color:#94a3b8!important; }
html[data-theme="light"] body.auth-page .reference-auth-form .auth-input-wrap .input-leading { color:#94a3b8!important; }
html[data-theme="light"] body.auth-page .reference-auth-form .auth-input-wrap input { background:#fff!important; border-color:#dbe3ef!important; color:#172033!important; box-shadow:0 2px 6px rgba(23,32,51,.025)!important; }
html[data-theme="light"] body.auth-page .reference-auth-form .auth-input-wrap input::placeholder { color:#9ca8b8!important; }
html[data-theme="light"] body.auth-page .reference-auth-form .auth-input-wrap input:focus { background:#fff!important; border-color:#818cf8!important; box-shadow:0 0 0 4px #6366f11c!important; }
html[data-theme="light"] body.auth-page .reference-auth-form .password-toggle { color:#64748b!important; }
html[data-theme="light"] body.auth-page .reference-auth-form .password-toggle:hover { background:#eef2ff!important; color:#4338ca!important; }
html[data-theme="light"] body.auth-page .reference-pin-help, html[data-theme="light"] body.auth-page .reference-auth-switch { color:#64748b!important; }
html[data-theme="light"] body.auth-page .reference-pin-help i { color:#6366f1!important; }
html[data-theme="light"] body.auth-page .reference-auth-switch a { color:#4f46e5!important; }
html[data-theme="light"] body.auth-page .reference-auth-switch a:hover { color:#4338ca!important; }
html[data-theme="light"] body.auth-page .reference-security { color:#64748b!important; }
html[data-theme="light"] body.auth-page .reference-security i { color:#4f46e5!important; }
html[data-theme="light"] body.auth-page .reference-auth-footer { color:#64748b!important; }
html[data-theme="light"] body.auth-page .reference-auth-footer span { color:#a5b4fc!important; }
html[data-theme="light"] body.auth-page .free-plan-disabled-notice { background:#fffbeb!important; border-color:#fde68a!important; color:#92400e!important; }

/* Public landing page */
html[data-theme="light"] body.landing-page .content-area { background:#f4f7fb!important; }
html[data-theme="light"] body.landing-page .sm-home { --sm-ink:#172033; --sm-muted:#64748b; background:radial-gradient(ellipse at 16% 3%,#e0e7ff 0,transparent 36%),radial-gradient(ellipse at 85% 30%,#dbeafe 0,transparent 36%),linear-gradient(145deg,#f8faff 0%,#f4f7fb 65%,#eef2ff 100%)!important; color:#172033!important; }
html[data-theme="light"] body.landing-page .sm-home:before { opacity:.45; background-image:linear-gradient(#64748b12 1px,transparent 1px),linear-gradient(90deg,#64748b12 1px,transparent 1px); }
html[data-theme="light"] body.landing-page .sm-home-nav { border-color:#dfe6f1!important; }
html[data-theme="light"] body.landing-page .sm-home-brand, html[data-theme="light"] body.landing-page .sm-home-brand:hover { color:#172033!important; }
html[data-theme="light"] body.landing-page .sm-home-brand small { color:#7c8aa0!important; }
html[data-theme="light"] body.landing-page .sm-nav-signin { color:#475569!important; }
html[data-theme="light"] body.landing-page .sm-nav-signin:hover { color:#4338ca!important; }
html[data-theme="light"] body.landing-page .sm-nav-create { background:#eef2ff!important; border-color:#c7d2fe!important; color:#4338ca!important; }
html[data-theme="light"] body.landing-page .sm-nav-create:hover { background:#e0e7ff!important; color:#3730a3!important; }
html[data-theme="light"] body.landing-page .sm-hero-eyebrow { background:#eef2ff!important; border-color:#d8defa!important; color:#4f46e5!important; }
html[data-theme="light"] body.landing-page .sm-hero-copy h1 { color:#172033!important; }
html[data-theme="light"] body.landing-page .sm-hero-copy h1 span { background:linear-gradient(95deg,#6d28d9,#0369a1 78%); background-clip:text; -webkit-background-clip:text; color:transparent!important; }
html[data-theme="light"] body.landing-page .sm-hero-copy>p { color:#526176!important; }
html[data-theme="light"] body.landing-page .sm-secondary-cta { background:#ffffffb8!important; border-color:#dbe3ef!important; color:#334155!important; }
html[data-theme="light"] body.landing-page .sm-secondary-cta:hover { background:#fff!important; color:#4338ca!important; }
html[data-theme="light"] body.landing-page .sm-trust-row { color:#64748b!important; }
html[data-theme="light"] body.landing-page .sm-trust-row i { color:#6366f1!important; }
html[data-theme="light"] body.landing-page .sm-orbit { border-color:#94a3b82c!important; box-shadow:0 0 0 18px #94a3b80b,0 0 0 38px #94a3b808!important; }
html[data-theme="light"] body.landing-page .sm-preview-window { background:#fff!important; border-color:#d8e1ed!important; box-shadow:0 25px 70px rgba(45,62,90,.15)!important; }
html[data-theme="light"] body.landing-page .sm-preview-top { background:#f8fafc!important; border-color:#e2e8f0!important; color:#64748b!important; }
html[data-theme="light"] body.landing-page .sm-preview-body, html[data-theme="light"] body.landing-page .sm-preview-main { background:#fff!important; }
html[data-theme="light"] body.landing-page .sm-preview-sidebar { background:#f1f5f9!important; color:#64748b!important; }
html[data-theme="light"] body.landing-page .sm-preview-greeting small { color:#64748b!important; }
html[data-theme="light"] body.landing-page .sm-preview-greeting b { color:#172033!important; }
html[data-theme="light"] body.landing-page .sm-preview-greeting p { color:#64748b!important; }
html[data-theme="light"] body.landing-page .sm-preview-stats>div, html[data-theme="light"] body.landing-page .sm-preview-projects { background:#f8fafc!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.landing-page .sm-preview-stats span, html[data-theme="light"] body.landing-page .sm-preview-projects>div, html[data-theme="light"] body.landing-page .sm-project-row { color:#64748b!important; }
html[data-theme="light"] body.landing-page .sm-preview-stats b, html[data-theme="light"] body.landing-page .sm-project-row b { color:#172033!important; }
html[data-theme="light"] body.landing-page .sm-floating-card { background:#fff!important; border-color:#dbe3ef!important; box-shadow:0 16px 40px rgba(23,32,51,.10)!important; }
html[data-theme="light"] body.landing-page .sm-floating-card b { color:#172033!important; }
html[data-theme="light"] body.landing-page .sm-floating-card small { color:#64748b!important; }
html[data-theme="light"] body.landing-page .sm-feature-strip { background:#ffffffd9!important; border-color:#e0e7f1!important; box-shadow:0 18px 50px rgba(23,32,51,.05)!important; }
html[data-theme="light"] body.landing-page .sm-feature-strip b { color:#172033!important; }
html[data-theme="light"] body.landing-page .sm-feature-strip small { color:#64748b!important; }
html[data-theme="light"] body.landing-page .sm-feature-icon { border-color:#e2e8f0!important; }
html[data-theme="light"] body.landing-page .sm-feature-icon.violet { background:#f3e8ff!important; color:#7e22ce!important; }
html[data-theme="light"] body.landing-page .sm-feature-icon.blue { background:#dbeafe!important; color:#1d4ed8!important; }
html[data-theme="light"] body.landing-page .sm-feature-icon.green { background:#dcfce7!important; color:#15803d!important; }
html[data-theme="light"] body.landing-page .sm-bottom-cta { background:radial-gradient(ellipse at 100% 0,#dbeafe 0,transparent 45%),linear-gradient(115deg,#fff,#f1f5ff)!important; border-color:#dbe3f4!important; }
html[data-theme="light"] body.landing-page .sm-bottom-cta h2 { color:#172033!important; }
html[data-theme="light"] body.landing-page .sm-bottom-cta p, html[data-theme="light"] body.landing-page .sm-home-note { color:#64748b!important; }
html[data-theme="light"] body.landing-page .sm-cta-kicker { color:#5b21b6!important; }
html[data-theme="light"] body.landing-page .site-footer { background:transparent!important; border-color:#dfe6f1!important; color:#64748b!important; }
html[data-theme="light"] body.landing-page .site-footer-brand>b { color:#172033!important; }
html[data-theme="light"] body.landing-page .footer-mark { background:#eef2ff!important; color:#4f46e5!important; }

@media (prefers-reduced-motion: reduce) { .theme-toggle { transition:none!important; } }

/* Small utility and editor surfaces that also appear on secondary routes */
html[data-theme="light"] body.workspace-dark .info-item>span, html[data-theme="light"] body.workspace-dark .overview-project-icon, html[data-theme="light"] body.workspace-dark .overview-activity-icon, html[data-theme="light"] body.workspace-dark .od-project-symbol, html[data-theme="light"] body.workspace-dark .od-empty-icon, html[data-theme="light"] body.workspace-dark .od-activity-empty-icon { background:#eef2ff!important; color:#4f46e5!important; }
html[data-theme="light"] body.workspace-dark .overview-project-info code, html[data-theme="light"] body.workspace-dark .od-project-meta code { background:#f1f5f9!important; border-color:#e2e8f0!important; color:#4f46e5!important; }
html[data-theme="light"] body.workspace-dark .od-btn-secondary { background:#fff!important; border-color:#dbe3ef!important; color:#334155!important; }
html[data-theme="light"] body.workspace-dark .od-btn-secondary:hover { background:#f8fafc!important; color:#172033!important; }
html[data-theme="light"] body.workspace-dark .od-plan-chips span { background:#fef3c7!important; color:#92400e!important; border-color:#fde68a!important; }
html[data-theme="light"] body.workspace-dark .od-renew-notice { background:#fffbeb!important; border-color:#fde68a!important; color:#92400e!important; }
html[data-theme="light"] body.workspace-dark .od-renew-notice>i, html[data-theme="light"] body.workspace-dark .od-renew-notice a { color:#b45309!important; }
html[data-theme="light"] body.workspace-dark .od-renew-notice.od-renew-expired { background:#fff1f2!important; border-color:#fecdd3!important; color:#9f1239!important; }
html[data-theme="light"] body.workspace-dark .od-renew-notice.od-renew-expired>i, html[data-theme="light"] body.workspace-dark .od-renew-notice.od-renew-expired a { color:#be123c!important; }
html[data-theme="light"] body.workspace-dark .admin-status.stopped, html[data-theme="light"] body.workspace-dark .status.stopped { background:#f1f5f9!important; color:#475569!important; }
html[data-theme="light"] body.workspace-dark .admin-icon-button { background:#dcfce7!important; color:#15803d!important; border-color:#bbf7d0!important; }
html[data-theme="light"] body.workspace-dark .users-management-card .admin-section-head { background:#f8fafc!important; border-color:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .ap-bar { background:#e2e8f0!important; }
html[data-theme="light"] body.workspace-dark .log-toolbar { background:#f8fafc!important; border-color:#e2e8f0!important; color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .log-toolbar>span { color:#64748b!important; }
html[data-theme="light"] body.workspace-dark .account-chip { background:transparent!important; }
html[data-theme="light"] body.workspace-dark .security-icon { background:#dcfce7!important; color:#15803d!important; }

/* Keep editor and log screens readable even on routes that use their own body class. */
html[data-theme="light"] .file-editor-panel { background:#fff!important; border-color:#e2e8f0!important; color:#334155!important; }
html[data-theme="light"] .file-editor-toolbar { background:#f8fafc!important; border-color:#e2e8f0!important; color:#475569!important; }
html[data-theme="light"] .file-editor-language { background:#eef2ff!important; color:#4338ca!important; }
html[data-theme="light"] .file-editor-textarea { background:#f8fafc!important; border-color:#dbe3ef!important; color:#243247!important; color-scheme:light; }
html[data-theme="light"] .enhanced-logs, html[data-theme="light"] .logs, html[data-theme="light"] .terminal-mini { background:#f8fafc!important; border-color:#e2e8f0!important; color:#243247!important; color-scheme:light; }
html[data-theme="light"] .project-file-row .file-edit-btn { background:#eef2ff!important; color:#4338ca!important; }
html[data-theme="light"] .project-file-row .file-delete-btn { background:#fff1f2!important; color:#be123c!important; border-color:#fecdd3!important; }
