/* GENERATED by scripts/build-light-theme.py — do not edit by hand. Tweaks go in theme-light-overrides.css. */
/* from app.css */
html[data-theme="light"] .access-dialog { color: var(--text, #17191c); background: #eef0f3; border: 1px solid #d4d9df; }
html[data-theme="light"] .access-dialog::backdrop { background: rgba(30, 40, 70, 0.26); }
html[data-theme="light"] .device-row { border-bottom: 1px solid #d4d9df; }
html[data-theme="light"] #loginError { color: #e60000; }
html[data-theme="light"] { color-scheme: light; --bg: #f2f5f9; --bg-2: #eff3f7; --panel: #eaeef3; --panel-2: #e7ebf1; --line: #d9e0e8; --muted: #495868; --text: #101723; --blue: #4d8dff; --cyan: #42c6d7; --green: #4fd18b; --gold: #d8ad4a; --red: #f06d6d; --violet: #8b6cff; --shadow: 0 18px 50px rgba(30, 40, 70, 0.136); }
html[data-theme="light"] body { background: var(--bg); color: var(--text); }
html[data-theme="light"] .sidebar { border-right: 1px solid var(--line); background: linear-gradient(180deg, #f0f3f6 0%, #eceff3 100%); }
html[data-theme="light"] .brand-mark,
html[data-theme="light"] .avatar,
html[data-theme="light"] .agent-icon { color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
html[data-theme="light"] .brand-copy span,
html[data-theme="light"] .profile span,
html[data-theme="light"] .subtle,
html[data-theme="light"] .agent-card p,
html[data-theme="light"] .task-card p,
html[data-theme="light"] .integration-card p,
html[data-theme="light"] small { color: var(--muted); }
html[data-theme="light"] .icon-button,
html[data-theme="light"] .ghost-button,
html[data-theme="light"] .secondary-button,
html[data-theme="light"] .primary-button,
html[data-theme="light"] .placeholder-card,
html[data-theme="light"] .nav-item,
html[data-theme="light"] .tab { border: 1px solid transparent; color: var(--text); background: transparent; }
html[data-theme="light"] .icon-button { color: var(--muted); border-color: var(--line); }
html[data-theme="light"] .nav-item { color: #486a9e; }
html[data-theme="light"] .nav-item span { background: #e5e9ef; color: #003be6; }
html[data-theme="light"] .nav-item.is-active { background: #e3e7ee; border-color: #cfd7e1; }
html[data-theme="light"] .sidebar-card { border: 1px solid var(--line); background: #eef1f5; }
html[data-theme="light"] .sidebar-card p { color: var(--muted); }
html[data-theme="light"] .eyebrow { color: #004ce6; }
html[data-theme="light"] .search { border: 1px solid var(--line); background: #ebeef3; color: var(--muted); }
html[data-theme="light"] .search input { border: 0; outline: 0; background: transparent; color: var(--text); }
html[data-theme="light"] .status-pill,
html[data-theme="light"] .badge { background: rgba(79, 209, 139, 0.14); color: #27bf6b; border: 1px solid rgba(79, 209, 139, 0.25); }
html[data-theme="light"] .panel { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18, 30, 46, 0.96), rgba(30, 40, 70, 0.392)); box-shadow: var(--shadow); }
html[data-theme="light"] .composer-input { outline: none; color: var(--text); }
html[data-theme="light"] .composer-input:empty::before { color: var(--muted); }
html[data-theme="light"] .composer-actions { border-top: 1px solid var(--line); }
html[data-theme="light"] .ghost-button,
html[data-theme="light"] .secondary-button { border-color: var(--line); background: #eaedf2; }
html[data-theme="light"] .primary-button { background: linear-gradient(135deg, #3c73ff, #4fb9e8); }
html[data-theme="light"] .notice { border: 1px solid rgba(216, 173, 74, 0.35); background: rgba(216, 173, 74, 0.09); color: #cf9616; }
html[data-theme="light"] .level-label { color: var(--muted); }
html[data-theme="light"] .level-label strong { color: #004ce6; }
html[data-theme="light"] .agent-card { border: 1px solid #d2d8e1; background: #eceff4; }
html[data-theme="light"] .agent-card:hover,
html[data-theme="light"] .agent-card.is-selected { border-color: var(--blue); }
html[data-theme="light"] .agent-meta { border-top: 1px solid var(--line); }
html[data-theme="light"] .agent-meta span { color: #151f2e; }
html[data-theme="light"] .placeholder-card { border-color: #ced4dd; color: #3164b5; }
html[data-theme="light"] .definition-list dt { color: var(--muted); }
html[data-theme="light"] .tab { color: var(--muted); }
html[data-theme="light"] .tab.is-active { background: #e0e5ed; color: var(--text); }
html[data-theme="light"] .message { border: 1px solid var(--line); background: #eef1f5; }
html[data-theme="light"] .message.user { border-color: rgba(91, 140, 255, 0.45); }
html[data-theme="light"] .message p { color: #19232f; }
html[data-theme="light"] .stats div,
html[data-theme="light"] .mini-row,
html[data-theme="light"] .table-row,
html[data-theme="light"] .task-card { border: 1px solid var(--line); background: #eef1f5; }
html[data-theme="light"] .stats span { color: var(--muted); }
html[data-theme="light"] .list-item { border: 1px solid var(--line); background: #eef1f5; color: var(--text); }
html[data-theme="light"] .list-item span { color: var(--muted); }
html[data-theme="light"] .list-item.is-active { border-color: var(--blue); }
html[data-theme="light"] label { color: #17202d; }
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea { border: 1px solid var(--line); background: #f0f3f6; color: var(--text); }
html[data-theme="light"] .badge.high { color: #3c0b0b; background: rgba(240, 109, 109, 0.12); border-color: rgba(240, 109, 109, 0.3); }
html[data-theme="light"] .badge.medium { color: #cf9616; background: rgba(216, 173, 74, 0.12); border-color: rgba(216, 173, 74, 0.3); }
html[data-theme="light"] .integration-card { border: 1px solid var(--line); background: #eef1f5; }
html[data-theme="light"] .empty { color: var(--muted); }
html[data-theme="light"] .engineering-card { border: 1px solid var(--line); background: var(--panel); }
html[data-theme="light"] .engineering-card h4 { color: var(--muted); }
html[data-theme="light"] .message.assistant { border-left: 3px solid var(--green); }
html[data-theme="light"] .message.system { border-left: 3px solid var(--gold); }
html[data-theme="light"] body { background: radial-gradient(1200px 480px at 80% -10%, rgba(77, 141, 255, 0.12), transparent 50%),
  var(--bg); }
html[data-theme="light"] .sidebar { background: linear-gradient(180deg, #f1f4f8 0%, #edf1f6 100%); }
html[data-theme="light"] .brand-mark { color: #08162b; background: linear-gradient(135deg, #2f6dff, #4aa7ff); }
html[data-theme="light"] .nav-item { color: #27323f; }
html[data-theme="light"] .nav-icon,
html[data-theme="light"] .nav-item span.nav-icon { background: transparent; color: #3566b1; }
html[data-theme="light"] .nav-item.is-active { background: rgba(77, 141, 255, 0.14); border-color: rgba(77, 141, 255, 0.28); color: var(--text); }
html[data-theme="light"] .nav-item.is-active .nav-icon { color: #0058e6; }
html[data-theme="light"] .plan-card { border: 1px solid var(--line); background: #edf1f5; }
html[data-theme="light"] .plan-card p { color: var(--muted); }
html[data-theme="light"] .plan-bar { background: #dde4ec; }
html[data-theme="light"] .plan-bar span { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
html[data-theme="light"] .profile { border: 1px solid var(--line); background: #edf1f5; }
html[data-theme="light"] .search kbd { border: 1px solid var(--line); color: var(--muted); }
html[data-theme="light"] .sr-only { border: 0; }
html[data-theme="light"] .icon-chip,
html[data-theme="light"] .model-chip,
html[data-theme="light"] .send-button { border: 1px solid var(--line); color: var(--text); background: #eaedf2; }
html[data-theme="light"] .send-button { background: linear-gradient(135deg, #2f6dff, #4aa7ff); border: 0; }
html[data-theme="light"] .summary-head span { color: var(--muted); }
html[data-theme="light"] .summary-list dt { color: var(--muted); }
html[data-theme="light"] .you-badge { background: rgba(77, 141, 255, 0.2); color: #0a1c39; border: 1px solid rgba(77, 141, 255, 0.35); }
html[data-theme="light"] .plan-badge { background: rgba(40, 50, 80, 0.108); color: #222933; border: 1px solid rgba(40, 50, 80, 0.225); }
html[data-theme="light"] .card-menu { border: 0; background: transparent; color: var(--muted); }
html[data-theme="light"] .card-menu-list { border: 1px solid var(--line); background: #ebeef3; box-shadow: var(--shadow); }
html[data-theme="light"] .model-pill { background: #e4e9ef; color: #151f2e; }
html[data-theme="light"] .placeholder-card { background: transparent; }
html[data-theme="light"] .add-agent-btn { border: 1px solid var(--line); background: #e4e9ef; color: var(--text); }
html[data-theme="light"] .live-pill { background: rgba(79, 209, 139, 0.14); color: #27bf6b; border: 1px solid rgba(79, 209, 139, 0.25); }
html[data-theme="light"] .live-pill.is-off { background: rgba(40, 50, 80, 0.09); color: #455362; border-color: rgba(40, 50, 80, 0.225); }
html[data-theme="light"] .coming-soon p { color: var(--muted); }
html[data-theme="light"] .empty-ceo { color: var(--muted); }
html[data-theme="light"] .empty-ceo strong { color: var(--text); }
html[data-theme="light"] .model-modal { background: rgba(30, 40, 70, 0.22); }
html[data-theme="light"] .model-section h3 { color: #004ce6; }
html[data-theme="light"] .model-subgroup h4 { color: var(--muted); }
html[data-theme="light"] .model-option { border: 1px solid var(--line); background: #eef1f5; color: var(--text); }
html[data-theme="light"] .model-option.is-selected { border-color: var(--blue); }
html[data-theme="light"] .model-modal-card { background: #edf1f5 !important; }
html[data-theme="light"] .status-pill.is-off { background: rgba(40, 50, 80, 0.09); color: #455362; border-color: rgba(40, 50, 80, 0.225); }
html[data-theme="light"] { --bg: #f0f2f6; --bg-2: #f2f4f7; --panel: #ebedf2; --panel-2: #e8ebf1; --line: #e0e4ea; --muted: #4c5766; --text: #111722; --blue: #3b82f6; }
html[data-theme="light"] body { background: var(--bg); }
html[data-theme="light"] .sidebar { background: #f4f6f9; border-right: 1px solid var(--line); }
html[data-theme="light"] .brand-mark { background: linear-gradient(180deg, #4b8fff, #2563eb); color: #fff; }
html[data-theme="light"] .brand-copy strong { color: var(--text); }
html[data-theme="light"] .nav-item { color: #212933; border: 0; background: transparent; }
html[data-theme="light"] .nav-item.is-active { background: #dfe3eb; color: var(--text); border-color: transparent; }
html[data-theme="light"] .nav-icon,
html[data-theme="light"] .nav-item span.nav-icon { color: #465161; background: transparent; }
html[data-theme="light"] .nav-item.is-active .nav-icon { color: var(--text); }
html[data-theme="light"] .plan-card { border: 1px solid var(--line); background: #eef0f5; }
html[data-theme="light"] .plan-card p { color: var(--muted); }
html[data-theme="light"] .plan-bar { background: #e1e4ec; }
html[data-theme="light"] .plan-bar span { background: var(--blue); }
html[data-theme="light"] .add-credits { border: 0; background: rgba(59, 130, 246, 0.18); color: #09172a; }
html[data-theme="light"] .add-credits:hover { background: rgba(59, 130, 246, 0.28); }
html[data-theme="light"] .profile { border: 0; background: transparent; }
html[data-theme="light"] .profile .avatar,
html[data-theme="light"] .top-avatar { background: #dbdee4; color: #101723; }
html[data-theme="light"] .profile span { color: var(--muted); }
html[data-theme="light"] .agent-switch select { border: 0; background: transparent; color: var(--muted); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238b9bb3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6l4 4 4-4'/></svg>"); }
html[data-theme="light"] #headerSubtitle { color: var(--muted); }
html[data-theme="light"] .search { background: #eceff3; border-color: var(--line); }
html[data-theme="light"] .search-icon { color: var(--muted); }
html[data-theme="light"] .bell-button { border-color: transparent; background: transparent; }
html[data-theme="light"] .bell-dot { background: #ef4444; box-shadow: 0 0 0 2px var(--bg); }
html[data-theme="light"] .top-avatar { border: 0; }
html[data-theme="light"] .account-menu-list { border: 1px solid var(--line); background: #ebedf2; box-shadow: 0 16px 40px rgba(30, 40, 70, 0.16); }
html[data-theme="light"] .account-menu-list button { border: 0; background: transparent; color: var(--text); }
html[data-theme="light"] .account-menu-list button:hover { background: #dfe3eb; }
html[data-theme="light"] .panel { border: 1px solid var(--line); background: var(--panel); box-shadow: none; }
html[data-theme="light"] .composer-actions { border-top: 0; }
html[data-theme="light"] .icon-chip { border: 1px solid var(--line); background: #e8ebf0; color: var(--text); }
html[data-theme="light"] .text-tool { border: 0; background: transparent; color: #212933; }
html[data-theme="light"] .text-tool:hover { background: rgba(20, 30, 55, 0.036); }
html[data-theme="light"] .model-chip { border: 1px solid var(--line); background: #e8ebf0; }
html[data-theme="light"] .model-dot { background: #f59e0b; }
html[data-theme="light"] .send-button { background: var(--blue); border: 0; }
html[data-theme="light"] .edit-outline { border: 1px solid var(--line); background: transparent; color: #161c25; }
html[data-theme="light"] .summary-copy { color: var(--muted); }
html[data-theme="light"] .summary-list dt { color: var(--muted); }
html[data-theme="light"] .value-blue { color: #0768df !important; }
html[data-theme="light"] .value-green { color: #29bd87 !important; }
html[data-theme="light"] .summary-status { color: var(--muted); }
html[data-theme="light"] .org-stage { border: 0; background: transparent; box-shadow: none; }
html[data-theme="light"] .level-label strong { color: var(--blue); }
html[data-theme="light"] .level-label span { color: var(--muted); }
html[data-theme="light"] .agent-card { border: 1px solid var(--line); background: var(--panel); }
html[data-theme="light"] .agent-card.level-ceo { box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.45), 0 0 22px rgba(59, 130, 246, 0.16); }
html[data-theme="light"] .agent-card .you-badge { background: rgba(59, 130, 246, 0.18); color: #046ce1; border: 0; }
html[data-theme="light"] .agent-card .plan-badge { background: rgba(40, 50, 80, 0.108); color: #20262e; border: 0; }
html[data-theme="light"] .agent-card p { color: var(--muted); }
html[data-theme="light"] .agent-icon,
html[data-theme="light"] .role-icon { color: #fff; }
html[data-theme="light"] .agent-meta { border-top: 1px solid var(--line); }
html[data-theme="light"] .model-pill { background: #e6e9ef; }
html[data-theme="light"] .chip-dot { background: #64748b; }
html[data-theme="light"] .placeholder-card { border: 1px dashed #d4d9df; background: transparent; }
html[data-theme="light"] .placeholder-card strong { color: #14191f; }
html[data-theme="light"] .placeholder-card span { color: var(--muted); }
html[data-theme="light"] .add-agent-btn { border: 0; background: #e5e8ed; color: #101823; }
html[data-theme="light"] .tab { color: var(--muted); }
html[data-theme="light"] .tab.is-active { background: #dfe3eb; color: var(--text); }
html[data-theme="light"] .expand-button { border: 0; background: transparent; color: #212933; }
html[data-theme="light"] .live-pill::before { background: #22c55e; }
html[data-theme="light"] .live-pill.is-off { background: rgba(40, 50, 80, 0.09); color: #455362; border-color: rgba(40, 50, 80, 0.225); }
html[data-theme="light"] .live-pill.is-off::before { background: #64748b; }
html[data-theme="light"] .empty-ceo { color: var(--muted); }
html[data-theme="light"] .empty-ceo .sparkle { color: #046ce1; }
html[data-theme="light"] .empty-ceo strong { color: var(--text); }
html[data-theme="light"] .model-modal { background: rgba(30, 40, 70, 0.248); }
html[data-theme="light"] .model-modal-card { background: #ebedf2 !important; }
html[data-theme="light"] .picker-search .search-icon { color: var(--muted); }
html[data-theme="light"] .segmented { background: #eff1f5; border: 1px solid var(--line); }
html[data-theme="light"] .segmented button { border: 0; background: transparent; color: var(--muted); }
html[data-theme="light"] .segmented button.is-active { background: #dfe3eb; color: var(--text); }
html[data-theme="light"] .category-chips button { border: 1px solid var(--line); background: #eff1f5; color: #212933; }
html[data-theme="light"] .category-chips button.is-active { border-color: var(--blue); background: rgba(59, 130, 246, 0.14); color: var(--text); }
html[data-theme="light"] .model-row { border: 1px solid transparent; background: transparent; color: var(--text); }
html[data-theme="light"] .model-row:hover { background: #e8ebf0; }
html[data-theme="light"] .model-row.is-selected { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.35); }
html[data-theme="light"] .model-row .maker { color: var(--muted); }
html[data-theme="light"] .model-row .meta { color: var(--muted); }
html[data-theme="light"] .model-row .prices { color: #161c25; }
html[data-theme="light"] .gratis-badge { background: rgba(16, 185, 129, 0.14); color: #29bd87; }
html[data-theme="light"] .picker-status { color: var(--muted); }
html[data-theme="light"] .picker-search { color: transparent; }
html[data-theme="light"] .picker-search input { color: var(--text); }
html[data-theme="light"] .picker-footer { background: linear-gradient(180deg, transparent, #ebedf2 28%); }
html[data-theme="light"] .model-modal-card .icon-button { border: 0; }
html[data-theme="light"] .add-level-btn { border: 1px dashed #d5dae2; background: transparent; color: var(--text); }
html[data-theme="light"] .add-level-btn:hover { border-color: #3b82f6; background: #e4e8f0; }
html[data-theme="light"] .placeholder-empty { border: 1px dashed #d5dae2; background: transparent; color: var(--text); }
html[data-theme="light"] .placeholder-empty span { color: var(--muted); }
html[data-theme="light"] .card-menu-list button { border: 0; background: transparent; color: var(--text); }
html[data-theme="light"] .card-menu-list button:hover { background: #dfe3eb; }
html[data-theme="light"] .agent-create-form input,
html[data-theme="light"] .agent-create-form select,
html[data-theme="light"] .agent-create-form textarea { background: #eff1f6; color: var(--text); border: 1px solid var(--line); }
html[data-theme="light"] .agent-list-pane { background: var(--panel); border: 1px solid var(--line); }
html[data-theme="light"] .agent-list-search { border: 1px solid var(--line); background: #eff1f6; color: var(--muted); }
html[data-theme="light"] .agent-list-search input { border: 0; outline: 0; background: transparent; color: var(--text); }
html[data-theme="light"] .agent-list-group { color: var(--blue); }
html[data-theme="light"] .agent-list-row { border: 1px solid transparent; background: transparent; color: var(--text); }
html[data-theme="light"] .agent-list-row:hover { background: #e8ebf1; }
html[data-theme="light"] .agent-list-row.is-active { background: #dfe3eb; border-color: #3b82f6; }
html[data-theme="light"] .agent-list-row .row-icon { color: #fff; }
html[data-theme="light"] .level-chip { color: #046ce1; background: rgba(59, 130, 246, 0.14); }
html[data-theme="light"] .status-dot.planned,
html[data-theme="light"] .status-dot.not_configured,
html[data-theme="light"] .status-dot.offline { background: #8b9bb3; }
html[data-theme="light"] .status-dot.configured,
html[data-theme="light"] .status-dot.ready,
html[data-theme="light"] .status-dot.active { background: #4fd18b; }
html[data-theme="light"] .status-dot.paused { background: #d8ad4a; }
html[data-theme="light"] #view-agents #agentEditor .current-model-line { color: var(--muted); }
html[data-theme="light"] .toggle { color: var(--muted); }
html[data-theme="light"] .toggle input[type="checkbox"] { background: #d9e0e8; border: 1px solid var(--line); }
html[data-theme="light"] .toggle input[type="checkbox"]::after { background: #c5d4e8; }
html[data-theme="light"] .toggle input[type="checkbox"]:checked { background: #3b82f6; border-color: #3b82f6; }
html[data-theme="light"] .toggle input[type="checkbox"]:checked::after { background: #fff; }
html[data-theme="light"] .toggle input[type="checkbox"]:focus-visible { outline: 2px solid #4d8dff; }
html[data-theme="light"] .icon-sq { border: 1px solid var(--line); background: #eaedf2; color: var(--text); }
html[data-theme="light"] #councilQuestion:focus,
html[data-theme="light"] #councilQuestion:focus-visible,
html[data-theme="light"] .composer-input:focus,
html[data-theme="light"] .composer-input:focus-visible,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] textarea:focus-visible,
html[data-theme="light"] .assistant-composer textarea:focus,
html[data-theme="light"] .assistant-composer textarea:focus-visible { outline: 2px solid #4d8dff; border-color: #4d8dff; box-shadow: 0 0 0 3px rgba(77, 141, 255, 0.22); }
html[data-theme="light"] #agentModelPicker .picker-footer { background: linear-gradient(180deg, transparent, var(--panel) 30%); }
html[data-theme="light"] .sidebar-menu { border: 1px solid var(--line); background: #eaedf2; color: var(--text); }
@media (max-width: 720px) {
  html[data-theme="light"] .sidebar { box-shadow: none; }
  html[data-theme="light"] body.sidebar-open .sidebar { box-shadow: var(--shadow); }
  html[data-theme="light"] body.sidebar-open .sidebar-backdrop,
html[data-theme="light"] .sidebar-backdrop { border: 0; background: rgba(30, 40, 70, 0.18); }
}
html[data-theme="light"] #view-agents #agentModelPicker .picker-footer { background: transparent; }
html[data-theme="light"] #view-agents #agentMemoryMount { border-top: 1px solid var(--line); }
html[data-theme="light"] .plan-metric { color: #465161; }
html[data-theme="light"] .composer-popover { border: 1px solid var(--line); background: #eaedf2; box-shadow: 0 16px 32px rgba(30, 40, 70, 0.14); }
html[data-theme="light"] .composer-popover-title { color: #465161; }
html[data-theme="light"] .composer-popover button { border: 0; background: transparent; color: var(--text); }
html[data-theme="light"] .composer-popover button:hover { background: #dfe3eb; }
html[data-theme="light"] .text-tool.is-active { color: #046ce1; background: rgba(59, 130, 246, 0.16); }
html[data-theme="light"] .feedback-form input,
html[data-theme="light"] .feedback-form select,
html[data-theme="light"] .feedback-form textarea { border: 1px solid var(--line); background: #eff1f6; color: var(--text); }
html[data-theme="light"] .feedback-item { border: 1px solid var(--line); background: #eef0f5; }
html[data-theme="light"] .feedback-item p { color: var(--muted); }
html[data-theme="light"] .plan-card .plan-title { color: var(--text); }
html[data-theme="light"] .plan-card .plan-metric { color: var(--muted); }
html[data-theme="light"] .plan-card .plan-value { color: var(--text); }
html[data-theme="light"] .plan-card .plan-note { color: var(--muted); }
html[data-theme="light"] .profile { border: 0; border-top: 1px solid var(--line); background: transparent; }
html[data-theme="light"] .model-row .prices .monthly { color: var(--muted); }
html[data-theme="light"] .rec-top h4 { color: var(--text); }
html[data-theme="light"] .rec-top-card { border: 1px solid var(--line); background: transparent; color: var(--text); }
html[data-theme="light"] .rec-top-card:hover { border-color: var(--blue); }
html[data-theme="light"] .rec-top-card.is-selected { border-color: var(--blue); background: rgba(59, 130, 246, 0.12); }
html[data-theme="light"] .rec-top-tag { color: var(--blue); }
html[data-theme="light"] .rec-top-price { color: var(--muted); }
html[data-theme="light"] .rec-top-monthly { color: var(--text); }
html[data-theme="light"] .rec-top-note { color: var(--muted); }
/* from agent-memory.css */
html[data-theme="light"] .agent-memory { border-top: 1px solid var(--line); }
html[data-theme="light"] .agent-memory .memory-status { color: var(--muted); }
html[data-theme="light"] .agent-memory .memory-status[data-state="sincronizado"] { color: var(--green); }
html[data-theme="light"] .agent-memory .memory-status[data-state="pendiente"] { color: var(--gold); }
html[data-theme="light"] .agent-memory .memory-status[data-state="error"] { color: var(--red); }
html[data-theme="light"] .agent-memory textarea { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); }
html[data-theme="light"] .agent-memory-drop { border: 1px dashed var(--line); background: var(--panel-2); color: var(--muted); }
html[data-theme="light"] .agent-memory-drop.is-over { border-color: var(--cyan); color: var(--text); }
html[data-theme="light"] .agent-memory-files li { background: var(--bg-2); border: 1px solid var(--line); }
html[data-theme="light"] .agent-memory-files button { background: transparent; border: 0; color: var(--muted); }
html[data-theme="light"] .agent-memory-files button:hover { color: var(--red); }
html[data-theme="light"] .agent-memory .memory-feedback { color: var(--muted); }
html[data-theme="light"] .access-dialog .section-heading .icon-button { border: 1px solid var(--line, #dbdee4); background: transparent; color: var(--text, #101723); }
html[data-theme="light"] .access-dialog .section-heading .icon-button:hover { background: rgba(20, 30, 55, 0.054); }
html[data-theme="light"] .agent-create-model { border: 1px solid var(--line); background: #eff1f6; color: var(--text); }
html[data-theme="light"] .agent-create-model:hover,
html[data-theme="light"] .agent-create-model[aria-expanded="true"] { border-color: #3b82f6; }
html[data-theme="light"] .agent-create-model .model-dot { background: #f59e0b; }
html[data-theme="light"] .agent-create-model .model-dot.is-free { background: #34d399; }
html[data-theme="light"] .agent-create-model-text small { color: var(--muted); }
html[data-theme="light"] .agent-create-model-change { color: #0768df; }
html[data-theme="light"] .agent-create-picker { border: 1px solid var(--line); background: #f1f3f7; }
html[data-theme="light"] .agent-create-accounts { border: 0; }
html[data-theme="light"] .agent-create-more { border: 1px solid var(--line); }
html[data-theme="light"] .agent-create-actions { background: #eef0f3; }
html[data-theme="light"] .agent-budget-bar { background: #dfe3eb; }
html[data-theme="light"] .agent-budget-bar span { background: #3b82f6; }
html[data-theme="light"] .agent-budget.is-exhausted { border-color: #b45309; }
html[data-theme="light"] .agent-budget.is-exhausted .agent-budget-bar span { background: #f59e0b; }
html[data-theme="light"] .value-warn { color: #e1a404 !important; }
html[data-theme="light"] .exec-job { border: 1px solid var(--line, #e3e6ee); }
html[data-theme="light"] .exec-job-head { background: transparent; border: 0; color: inherit; }
html[data-theme="light"] .exec-status { background: #eef1f7; }
html[data-theme="light"] .exec-completed,
html[data-theme="light"] .exec-accepted { background: #e5f6ec; color: #166534; }
html[data-theme="light"] .exec-limit_reached { background: #fff4e0; color: #8a5a00; }
html[data-theme="light"] .exec-failed,
html[data-theme="light"] .exec-rejected { background: #fde8e8; color: #9b1c1c; }
html[data-theme="light"] .exec-running,
html[data-theme="light"] .exec-queued { background: #e8efff; color: #1e40af; }
html[data-theme="light"] .exec-diff { background: #ebeef3; color: #14191f; }
html[data-theme="light"] .exec-diff .add { color: #1bcb5a; }
html[data-theme="light"] .exec-diff .del { color: #de0707; }
html[data-theme="light"] .memory-transfer { border-top: 1px solid var(--line); }
html[data-theme="light"] .mt-export { color: var(--muted); }
html[data-theme="light"] .mt-import[open] { border: 1px solid var(--line); background: var(--panel-2); }
html[data-theme="light"] .mt-hint { color: var(--muted); }
html[data-theme="light"] .mt-field select { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); }
html[data-theme="light"] .mt-file-name { color: var(--muted); }
html[data-theme="light"] .mt-preview { border: 1px solid var(--cyan, #38bdf8); background: var(--bg-2); }
html[data-theme="light"] .mt-cost { color: var(--green, #29bd87); }
html[data-theme="light"] .mt-warning { color: var(--gold, #e1a404); }
/* from referrals.css */
html[data-theme="light"] .ref-share input { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); }
html[data-theme="light"] .ref-code { color: var(--muted); }
html[data-theme="light"] .ref-code strong { color: var(--text); }
html[data-theme="light"] .ref-totals article { border: 1px solid var(--line); background: var(--panel-2); }
html[data-theme="light"] .ref-totals span { color: var(--muted); }
html[data-theme="light"] .ref-item { border: 1px solid var(--line); background: var(--bg-2); }
html[data-theme="light"] .ref-credit { background: rgba(251, 191, 36, 0.14); color: var(--gold, #e1a404); }
html[data-theme="light"] .ref-credit[data-status="available"] { background: rgba(52, 211, 153, 0.14); color: var(--green, #29bd87); }
html[data-theme="light"] .ref-credit[data-status="voided"] { background: rgba(40, 50, 80, 0.126); color: var(--muted); }
html[data-theme="light"] .ref-warning { color: var(--gold, #e1a404); }
html[data-theme="light"] .plan-note .ref-pending-note,
html[data-theme="light"] .ref-pending-note { color: var(--gold, #e1a404); }
/* from council.css */
html[data-theme="light"] .council-history-item { border: 1px solid var(--line); background: #edf0f5; color: var(--text); }
html[data-theme="light"] .council-history-item small { color: var(--muted); }
html[data-theme="light"] .council-history-item.is-active { border-color: #3b82f6; background: #dfe3eb; }
html[data-theme="light"] .council-composer textarea { background: #eff1f6; color: var(--text); border: 1px solid var(--line); }
html[data-theme="light"] .council-drop { color: var(--muted); border: 1px dashed #d5dae2; background: #eff1f6; }
html[data-theme="light"] .council-drop.is-over { border-color: #3b82f6; background: #e4e8f0; }
html[data-theme="light"] .council-file { border: 1px solid var(--line); background: #edf0f5; }
html[data-theme="light"] .council-file button { border: 0; background: transparent; color: var(--muted); }
html[data-theme="light"] .council-chip { border: 1px solid var(--line); background: #dfe3eb; }
html[data-theme="light"] .council-chip button { border: 0; background: transparent; color: var(--muted); }
html[data-theme="light"] .council-chip .gratis,
html[data-theme="light"] .gratis-pill { color: #30b66e; }
html[data-theme="light"] .toggle { color: var(--muted); }
html[data-theme="light"] .toggle input { accent-color: #0a5adb; }
html[data-theme="light"] #councilEstimate { color: var(--text); }
html[data-theme="light"] #councilEstimate .subtle { color: var(--muted); }
html[data-theme="light"] .council-feedback { color: #d01515; }
html[data-theme="light"] .council-card .meta,
html[data-theme="light"] .council-empty p { color: var(--muted); }
html[data-theme="light"] .council-card.is-error { border-color: rgba(240, 109, 109, 0.45); }
html[data-theme="light"] .status-dot { background: #8b9bb3; }
html[data-theme="light"] .status-dot.ok { background: #4fd18b; }
html[data-theme="light"] .status-dot.run { background: #3b82f6; }
html[data-theme="light"] .status-dot.err { background: #f06d6d; }
html[data-theme="light"] .council-summary { border-color: #3b82f6; box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25); }
html[data-theme="light"] .council-summary h4 { color: #046ce1; }
html[data-theme="light"] .council-empty { color: var(--muted); }
html[data-theme="light"] .council-empty strong { color: var(--text); }
html[data-theme="light"] .actual-cost { color: var(--text); }
html[data-theme="light"] .council-history-menu { border: 0; background: transparent; color: #465161; }
html[data-theme="light"] .council-history-open { border: 0; background: transparent; color: inherit; }
html[data-theme="light"] .council-chip select.council-effort { border: 1px solid var(--line, rgba(20, 30, 55, 0.126)); background: transparent; color: inherit; }
/* from assistant.css */
html[data-theme="light"] .assistant-thread { border: 1px solid var(--line); background: #edf0f5; color: var(--text); }
html[data-theme="light"] .assistant-thread small { color: var(--muted); }
html[data-theme="light"] .assistant-thread.is-active { border-color: #3b82f6; background: #dfe3eb; }
html[data-theme="light"] .assistant-chat-head { border-bottom: 1px solid var(--line); }
html[data-theme="light"] .assistant-messages { background: #eff2f6; }
html[data-theme="light"] .assistant-msg.user { background: #c2d0e2; }
html[data-theme="light"] .assistant-msg.assistant { background: #e7eaef; border: 1px solid var(--line); }
html[data-theme="light"] .assistant-msg.reminder { background: #eaedea; border: 1px solid #d2ded5; color: #152f1a; }
html[data-theme="light"] .assistant-msg.pending { color: var(--muted); }
html[data-theme="light"] .assistant-msg .meta { color: var(--muted); }
html[data-theme="light"] .assistant-msg.error { border-color: rgba(240, 109, 109, 0.45); }
html[data-theme="light"] .assistant-empty { color: var(--muted); }
html[data-theme="light"] .assistant-empty strong { color: var(--text); }
html[data-theme="light"] .assistant-idea { border: 1px solid var(--line); background: var(--panel-2, transparent); color: var(--text); }
html[data-theme="light"] .assistant-idea:hover { border-color: var(--accent, #4f6bff); }
html[data-theme="light"] .assistant-composer { border-top: 1px solid var(--line); }
html[data-theme="light"] .assistant-composer textarea { background: #eff1f6; color: var(--text); border: 1px solid var(--line); }
html[data-theme="light"] .assistant-drop { color: var(--muted); border: 1px dashed #d5dae2; background: #eff1f6; }
html[data-theme="light"] .assistant-drop.is-over { border-color: #3b82f6; background: #e4e8f0; }
html[data-theme="light"] .assistant-file { border: 1px solid var(--line); background: #edf0f5; }
html[data-theme="light"] .assistant-file button { border: 0; background: transparent; color: var(--muted); }
html[data-theme="light"] .assistant-composer-row .model-chip,
html[data-theme="light"] #assistantModelChip { border: 1px solid var(--line); background: #dfe3eb; color: var(--text); }
html[data-theme="light"] .assistant-cost { color: var(--muted); }
html[data-theme="light"] .assistant-feedback { color: #d01515; }
html[data-theme="light"] .assistant-note-form input { background: #eff1f6; color: var(--text); border: 1px solid var(--line); }
html[data-theme="light"] .assistant-item { border-bottom: 1px solid var(--line); }
html[data-theme="light"] .assistant-item button { border: 0; background: transparent; color: var(--muted); }
html[data-theme="light"] .assistant-item.is-done span { color: var(--muted); }
html[data-theme="light"] .assistant-channels p,
html[data-theme="light"] .assistant-integrations p { color: var(--muted); }
html[data-theme="light"] .assistant-qr { background: #fff; }
html[data-theme="light"] #assistantMemoryMount .agent-memory { border-top: 0; }
html[data-theme="light"] .assistant-composer textarea { background: transparent; border: 0; }
html[data-theme="light"] .assistant-composer textarea:focus,
html[data-theme="light"] .assistant-composer textarea:focus-visible { outline: none; box-shadow: none; border-color: transparent; }
html[data-theme="light"] .assistant-composer { border-top: 1px solid var(--line); }
html[data-theme="light"] .assistant-composer .composer-actions { border-top: 0; }
html[data-theme="light"] .assistant-cost { color: var(--muted); }
html[data-theme="light"] .assistant-chat { box-shadow: none; }
html[data-theme="light"] #view-chat.is-active .assistant-composer { box-shadow: inset 0 0 0 1px transparent; }
html[data-theme="light"] .assistant-composer:focus-within { box-shadow: inset 0 0 0 2px #4d8dff; }
html[data-theme="light"] .assistant-threads-title { color: #212933; }
html[data-theme="light"] .assistant-new-chat { border: 1px solid #d5dae2; background: #e5e8ef; color: #09172a; }
html[data-theme="light"] .assistant-new-chat:hover { background: #dce1ea; }
html[data-theme="light"] .assistant-thread-menu { border: 0; background: transparent; color: #465161; }
html[data-theme="light"] .assistant-thread-menu:hover,
html[data-theme="light"] .assistant-thread-menu.is-open { background: #dfe3eb; color: var(--text); }
html[data-theme="light"] .item-menu { border: 1px solid var(--line); background: #eaedf2; box-shadow: 0 12px 24px rgba(30, 40, 70, 0.14); }
html[data-theme="light"] .item-menu button { border: 0; background: transparent; color: var(--text); }
html[data-theme="light"] .item-menu button:hover { background: #dfe3eb; }
html[data-theme="light"] .assistant-thread-rename { border: 1px solid #3b82f6; background: #eff1f6; color: var(--text); }
html[data-theme="light"] .assistant-thread-open { border: 0; background: transparent; color: inherit; }
html[data-theme="light"] .assistant-msg .voice-badge { background: rgba(20, 30, 55, 0.126); color: #0b1628; }
html[data-theme="light"] .calendar-invite { border: 1px solid #3b82f6; background: #dde3ed; color: #0b1628; }
html[data-theme="light"] .calendar-invite span { color: #46669f; }
html[data-theme="light"] .calendar-invite-btn { border-color: #a9b8d6; color: #0b1628; background: #fff; }
html[data-theme="light"] .calendar-invite-btn:hover { background: #eef2f9; }
html[data-theme="light"] .calendar-invite-btn.is-primary { background: #3b82f6; border-color: #3b82f6; color: #fff; }
html[data-theme="light"] .assistant-item.is-past span { color: var(--muted); }
html[data-theme="light"] .assistant-item .assistant-x { color: var(--muted); }
html[data-theme="light"] .assistant-item .assistant-x:hover { color: var(--text); }
html[data-theme="light"] .assistant-undo { border: 1px solid var(--line); }
html[data-theme="light"] .assistant-undo button { border: 0; background: transparent; color: var(--blue); }
html[data-theme="light"] .assistant-list-tab { border: 1px solid var(--line); background: transparent; color: var(--text); }
html[data-theme="light"] .assistant-list-tab span { background: var(--line); color: var(--muted); }
html[data-theme="light"] .assistant-list-tab.is-active { border-color: var(--blue); color: var(--blue); }
html[data-theme="light"] .assistant-list-tab.is-active span { background: var(--blue); color: #fff; }
html[data-theme="light"] .assistant-list-title small { color: var(--muted); }
html[data-theme="light"] .assistant-list-actions button { border: 0; background: transparent; color: var(--muted); }
html[data-theme="light"] .assistant-list-actions button:hover { color: var(--text); }
html[data-theme="light"] .assistant-list-actions [data-list-delete]:hover { color: var(--red); }
html[data-theme="light"] .assistant-list-rename input,
html[data-theme="light"] .assistant-list-add input { background: transparent; color: var(--text); border: 1px solid var(--line); }
html[data-theme="light"] .assistant-list-item label { color: var(--text); }
html[data-theme="light"] .assistant-list-item input[type="checkbox"] { border: 0; box-shadow: none; accent-color: var(--blue); }
html[data-theme="light"] .assistant-list-item label small { color: var(--muted); }
html[data-theme="light"] .assistant-list-item.is-done label span { color: var(--muted); }
html[data-theme="light"] .assistant-list-suggest button { border: 1px dashed var(--line); background: transparent; color: var(--text); }
html[data-theme="light"] .assistant-list-suggest button:hover { border-color: var(--blue); color: var(--blue); }
html[data-theme="light"] .assistant-photos img { border: 1px solid var(--line); }
html[data-theme="light"] .md-body a { color: var(--blue); }
html[data-theme="light"] .md-body .md-table th,
html[data-theme="light"] .md-body .md-table td { border: 1px solid var(--line); }
/* from mobile.css */
html[data-theme="light"] .md-body code { background: rgba(20, 30, 55, 0.054); }
html[data-theme="light"] .icon-tool { border: 0; background: transparent; color: #212933; }
html[data-theme="light"] .icon-tool:hover { background: rgba(20, 30, 55, 0.054); }
html[data-theme="light"] .council-turn-q small { color: var(--muted); }
html[data-theme="light"] .followup-mode input { accent-color: #0a5adb; }
html[data-theme="light"] .council-followup-costs .is-selected { color: #046ce1; }
html[data-theme="light"] .council-followup textarea { background: #eff1f6; color: var(--text); border: 1px solid var(--line); }
/* from admin.css */
html[data-theme="light"] .admin-tab { border: 1px solid var(--line); background: #ebedf2; color: var(--text); }
html[data-theme="light"] .admin-tab.is-active { background: #dfe3eb; border-color: #3b82f6; }
html[data-theme="light"] .admin-toolbar input,
html[data-theme="light"] .admin-toolbar select { border: 1px solid var(--line); background: #eff1f6; color: var(--text); }
html[data-theme="light"] .admin-table th,
html[data-theme="light"] .admin-table td { border-bottom: 1px solid var(--line); }
html[data-theme="light"] .admin-banner { background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.35); }
html[data-theme="light"] .admin-status { color: var(--muted); }
html[data-theme="light"] .plan-showcase-card { border: 1px solid var(--line); background: #eef0f5; }
html[data-theme="light"] .plan-showcase-card.is-recommended { border-color: #3b82f6; box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35); }
html[data-theme="light"] .plan-showcase-card .price small { color: var(--muted); }
html[data-theme="light"] .plan-showcase-card ul { color: var(--muted); }
html[data-theme="light"] .plan-badge { background: rgba(59, 130, 246, 0.18); color: #0a1d34; }
html[data-theme="light"] .admin-simulate { border-top: 1px solid var(--line); }
html[data-theme="light"] .admin-tab-count { background: #e0569a; color: #fff; }
html[data-theme="light"] .request-status { background: rgba(40, 50, 80, 0.144); color: #20262e; }
html[data-theme="light"] .request-status.is-new { background: rgba(224, 86, 154, 0.16); color: #c5206d; }
html[data-theme="light"] .request-status.is-invited { background: rgba(34, 197, 94, 0.14); color: #1bcb5a; }
html[data-theme="light"] #inviteForm.is-highlight { box-shadow: 0 0 0 3px rgba(91, 78, 232, 0.45); }
/* from connectors.css */
html[data-theme="light"] .connector-sub,
html[data-theme="light"] .connector-meta { color: var(--muted); }
html[data-theme="light"] .connector-notice { border: 1px solid var(--line); background: var(--panel-2); }
html[data-theme="light"] .connector-notice.is-warn { border-color: rgba(216, 173, 74, 0.45); color: var(--gold); }
html[data-theme="light"] .connector-notice.is-error { border-color: rgba(240, 109, 109, 0.45); color: var(--red); }
html[data-theme="light"] .connector-notice.is-ok { border-color: rgba(79, 209, 139, 0.45); color: var(--green); }
html[data-theme="light"] .connector-item { border: 1px solid var(--line); background: var(--panel-2); }
html[data-theme="light"] .connector-name { color: var(--text); }
html[data-theme="light"] .connector-cat { color: var(--muted); }
html[data-theme="light"] .connector-badge { border: 1px solid var(--line); color: var(--muted); }
html[data-theme="light"] .connector-badge.is-ok { color: var(--green); border-color: rgba(79, 209, 139, 0.4); }
html[data-theme="light"] .connector-badge.is-warn { color: var(--gold); border-color: rgba(216, 173, 74, 0.4); }
html[data-theme="light"] .aside-tabs { border: 1px solid var(--line); background: var(--bg-2); }
html[data-theme="light"] .aside-tab { border: 0; background: transparent; color: var(--muted); }
html[data-theme="light"] .aside-tab.is-active { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
html[data-theme="light"] .integrations-legacy { color: var(--muted); }
html[data-theme="light"] .connector-assign { border-top: 1px dashed var(--line); }
html[data-theme="light"] .connector-chip { border: 1px solid var(--line); background: transparent; color: var(--muted); }
html[data-theme="light"] .connector-chip.is-on { color: var(--text); border-color: rgba(77, 141, 255, 0.6); background: rgba(77, 141, 255, 0.16); }
/* from model-recommend.css */
html[data-theme="light"] .rec-mount { color: var(--muted); }
html[data-theme="light"] .rec-block { border: 1px solid rgba(77, 141, 255, 0.35); background: linear-gradient(180deg, rgba(77, 141, 255, 0.08), rgba(77, 141, 255, 0.02)); }
html[data-theme="light"] .rec-title { color: var(--text); }
html[data-theme="light"] .rec-task { color: #212933; background: #eff1f5; border: 1px solid var(--line); }
html[data-theme="light"] .rec-col-title { color: var(--muted); }
html[data-theme="light"] .rec-col.is-free .rec-col-title { color: #29bd87; }
html[data-theme="light"] .rec-item { border: 1px solid var(--line); background: #eff1f5; color: var(--text); }
html[data-theme="light"] .rec-item:hover:not(:disabled) { background: #e8ebf0; border-color: #cad2df; }
html[data-theme="light"] .rec-item.is-selected { background: rgba(59, 130, 246, 0.14); border-color: rgba(59, 130, 246, 0.6); }
html[data-theme="light"] .rec-item:focus-visible { outline: 2px solid var(--blue); }
html[data-theme="light"] .rec-maker { color: var(--muted); }
html[data-theme="light"] .rec-price { color: #161c25; }
html[data-theme="light"] .rec-price.is-free { color: #29bd87; }
html[data-theme="light"] .rec-cost { color: #212933; }
html[data-theme="light"] .rec-badge.is-value { color: #062b1c; background: #34d399; }
html[data-theme="light"] .rec-badge.is-premium { color: #2b1d05; background: #f5c451; }
html[data-theme="light"] .rec-sub-title { color: #d99c0c; }
html[data-theme="light"] .rec-reason { color: var(--muted); }
html[data-theme="light"] .rec-note,
html[data-theme="light"] .rec-empty { color: var(--muted); }
/* from i18n.css */
html[data-theme="light"] .lang-switch-btn { border: 1px solid transparent; background: transparent; color: inherit; }
html[data-theme="light"] .lang-switch-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
html[data-theme="light"] .lang-menu { border: 1px solid var(--line, #d8def0); background: var(--card, #fff); box-shadow: 0 12px 30px rgba(12, 26, 61, 0.12); }
html[data-theme="light"] .lang-option { border: 0; background: transparent; color: inherit; }
html[data-theme="light"] .lang-option:hover,
html[data-theme="light"] .lang-option.is-active { background: color-mix(in srgb, currentColor 10%, transparent); }
html[data-theme="light"] .login-page .public-bar .logo,
html[data-theme="light"] .public-bar .logo { color: inherit; }
html[data-theme="light"] .login-page .lang-switch-btn { color: var(--text, #101723); }
html[data-theme="light"] .login-page .lang-menu { background: #eaedf2; border-color: #dce0e7; box-shadow: 0 12px 30px rgba(30, 40, 70, 0.14); color: #101723; }
html[data-theme="light"] .privacy-draft { background: #fff4d6; color: #6a4b00; }
html[data-theme="light"] .login-page .privacy-draft,
html[data-theme="light"] .theme-dark .privacy-draft { background: #f0ece4; color: #d59f10; }
