html[data-theme=light] {
    --bg: #f3f3fa; --bg-soft: #eaeaf3; --card: #ffffff; --card-2: #f3f0fa;
    --border: #d8d6e4; --text: #242134; --text-soft: #514c65; --muted: #696277;
    --primary: #7440bb; --primary-hover: #6331a7; --success: #167849; --danger: #b02545;
    --shadow: 0 8px 28px #35235b0a;
}
.theme-control { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.theme-control select { width: auto; font-size: 12px; padding: 8px 10px; }
.app-layout .theme-control { padding: 0 8px; flex-wrap: wrap; }
.profile-row { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.profile-row .badge { margin-left: 10px; }
.profile-selection { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.profile-row > div { min-width: 0; overflow-wrap: anywhere; }
.profile-row form { max-width: 100%; }
html[data-theme=light] .site-header, html[data-theme=light] .app-layout .site-header { background: #fff; }
html[data-theme=light] .workspace-banner { background: linear-gradient(120deg, #eee6fa, #f9f7ff); border-color: #ccb5eb; }
html[data-theme=light] .eyebrow { color: #7042a9; }
html[data-theme=light] .quick-actions a, html[data-theme=light] .feature-grid article { background: #fff; }
html[data-theme=light] .quick-actions a:hover { background: #f5effc; }
html[data-theme=light] input:not([type=checkbox]):not([type=radio]):not([type=hidden]), html[data-theme=light] textarea, html[data-theme=light] select { background: #fff; color: var(--text); border-color: var(--border); }
html[data-theme=light] thead th { background: #f0edf6; }
html[data-theme=light] .main-nav a.is-active { color: #6836a8; background: #eee5fb; }
html[data-theme=light] .account-avatar { color: #6836a8; }
html[data-theme=light] .command-preview output { background: #fff; }
html[data-theme=light] .chart-legend, html[data-theme=light] .quick-actions a > span { color: #7042a9; }
html[data-theme=light] .chart-legend span + span, html[data-theme=light] .status-indicator[data-state=online] { color: #167849; }
html[data-theme=light] .status-indicator[data-state=connecting] { color: #855d09; }
html[data-theme=light] .status-error, html[data-theme=light] .status-indicator[data-state=error] { color: #b02545; }
html[data-theme=light] .site-footer { background: #eceaf3; }
html[data-theme=light] .btn.secondary, html[data-theme=light] .small-btn.secondary { background: #eee8f7; }
html[data-theme=light] .btn.secondary:hover, html[data-theme=light] .small-btn.secondary:hover, html[data-theme=light] .main-nav a:hover { background: #e3d8f2; }
html[data-theme=light] .winner-reveal > strong { color: #7440bb; }
html[data-theme=light] select option { background: #fff; color: var(--text); }
html[data-theme=light] .giveaway-card { background: #fff; border-color: var(--border); }
html[data-theme=light] .giveaway-count, html[data-theme=light] .giveaway-live-head strong { color: var(--text); }
html[data-theme=light] .giveaway-search, html[data-theme=light] .participant-row { border-color: var(--border); background: #f6f4fb; }
html[data-theme=light] .empty-icon { color: var(--muted); background: #eae5f3; }
html[data-theme=light] .empty-state p { color: var(--text-soft); }
html[data-theme=light] .icon-btn { background: #eae5f3; }
.public-layout .header-inner { flex-wrap: wrap; }
.public-layout .theme-control { margin-left: auto; }
@media (max-width:800px) { .app-layout .theme-control { padding: 0; } }
