:root[data-theme="light"] {
  color-scheme: light;
  --background: #f5f8fc;
  --background-raised: #ffffff;
  --panel: #ffffff;
  --panel-raised: #ffffff;
  --panel-deep: #f4f7fb;
  --border: #dce5ef;
  --border-strong: #bdcad9;
  --text: #162235;
  --text-soft: #334155;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --cyan: #0891b2;
  --green: #059669;
  --amber: #b7791f;
  --rose: #be123c;
  --shadow: 0 18px 45px rgba(47, 72, 103, .09);
}

[data-theme="light"] body { background: radial-gradient(circle at 12% -20%, rgba(37, 99, 235, .11), transparent 34rem), radial-gradient(circle at 95% 8%, rgba(14, 165, 233, .07), transparent 30rem), var(--background); }
[data-theme="light"] body::before { opacity: .2; background-image: linear-gradient(rgba(100, 116, 139, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 116, 139, .08) 1px, transparent 1px); }
[data-theme="light"] .application-header { border-color: rgba(203, 213, 225, .84); background: rgba(250, 252, 255, .9); box-shadow: 0 14px 40px rgba(47, 72, 103, .07); }
[data-theme="light"] .brand { color: var(--text); }
[data-theme="light"] .brand-copy em { color: #2563eb; }
[data-theme="light"] .brand-copy small { color: #64748b; }
[data-theme="light"] .nav-group { border-color: #dce5ef; background: rgba(241, 245, 249, .85); }
[data-theme="light"] .nav-button { color: #64748b; }
[data-theme="light"] .nav-button:hover { color: #1e293b; background: #ffffff; }
[data-theme="light"] .nav-button.active { color: white; }
[data-theme="light"] .model-state { color: #64748b; }
[data-theme="light"] .model-state.available { color: #047857; }
[data-theme="light"] .hero { background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(242, 247, 253, .97)); }
[data-theme="light"] .hero::before { border-color: rgba(37, 99, 235, .13); box-shadow: 0 0 95px rgba(37, 99, 235, .09); }
[data-theme="light"] .hero-aside { border-color: rgba(37, 99, 235, .14); background: linear-gradient(rgba(37, 99, 235, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .035) 1px, transparent 1px), #f7faff; background-size: 22px 22px; }
[data-theme="light"] .hero-aside h3 { color: #1e293b; }
[data-theme="light"] .hero-aside p { color: #52657c; }
[data-theme="light"] .button.secondary { background: rgba(255, 255, 255, .9); color: #334155; }
[data-theme="light"] .button.secondary:hover { border-color: #91a4b9; background: #ffffff; }
[data-theme="light"] .button.quiet { color: #2563eb; }
[data-theme="light"] .card { background: linear-gradient(155deg, rgba(255, 255, 255, .98), rgba(247, 250, 253, .98)); box-shadow: 0 12px 30px rgba(47, 72, 103, .07); }
[data-theme="light"] .tag, [data-theme="light"] .badge, [data-theme="light"] .status-pill { border-color: rgba(37, 99, 235, .18); background: rgba(37, 99, 235, .07); color: #1d4ed8; }
[data-theme="light"] .tag.neutral { background: #eef3f8; color: #64748b; }
[data-theme="light"] input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), [data-theme="light"] select, [data-theme="light"] textarea { background: #ffffff; color: var(--text); }
[data-theme="light"] input::placeholder, [data-theme="light"] textarea::placeholder { color: #94a3b8; }
[data-theme="light"] input:focus, [data-theme="light"] select:focus, [data-theme="light"] textarea:focus { background: #ffffff; }
[data-theme="light"] select { color-scheme: light; }
[data-theme="light"] input[type="file"] { color: #64748b; }
[data-theme="light"] input[type="file"]::file-selector-button, [data-theme="light"] input[type="file"]::-webkit-file-upload-button { background: #eef4fb; color: #334155; }
[data-theme="light"] .choice, [data-theme="light"] .question-option { color: #475569; }
[data-theme="light"] .notice { color: #334155; }
[data-theme="light"] .notice.error { color: #be123c; }
[data-theme="light"] .notice.warning { color: #92400e; }
[data-theme="light"] .metric { background: #f8fbfd; }
[data-theme="light"] .metric-label { color: #64748b; }
[data-theme="light"] .metric-value { color: #172b44; }
[data-theme="light"] .metric-progress { background: #e2e8f0; }
[data-theme="light"] .evidence-quote { border-color: #d5deea; border-left-color: #94a3b8; background: #f7f9fc; color: #475569; }
[data-theme="light"] .status-pill.gap, [data-theme="light"] .priority-high { color: #be123c; }
[data-theme="light"] .status-pill.evidence_found { color: #047857; }
[data-theme="light"] .status-pill.mention_only, [data-theme="light"] .status-pill.partial, [data-theme="light"] .status-pill.needs_human_review, [data-theme="light"] .priority-medium { color: #92400e; }
[data-theme="light"] .priority-low { color: #1d4ed8; }
[data-theme="light"] .diff-block.removed { color: #9f1239; }
[data-theme="light"] .diff-block.added { color: #047857; }
[data-theme="light"] .diff-block.same { background: #f1f5f9; color: #64748b; }
[data-theme="light"] .preview-json { background: #f7f9fc; color: #334155; }
[data-theme="light"] .version-card { background: #f7f9fc; }
[data-theme="light"] .actions-bottom { background: rgba(255, 255, 255, .95); }
[data-theme="light"] .plain-list, [data-theme="light"] summary { color: #475569; }
[data-theme="light"] dialog::backdrop { background: rgba(51, 65, 85, .35); }
[data-theme="light"] #toast { border-color: #cbd5e1; background: rgba(255, 255, 255, .98); color: #1e293b; box-shadow: 0 18px 45px rgba(47, 72, 103, .18); }
