:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #10131b;
  color: #edf1f7;
  --panel: #191e29;
  --border: #30394b;
  --muted: #9ca8ba;
  --accent: #80e0c1;
  --warning: #ffca7a;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at top right, #1c2d36, transparent 38rem), #10131b; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 72px; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: .16em; font-weight: 700; }
h1 { margin: 8px 0; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.05em; }
h2 { margin: 0; font-size: 1.1rem; }
.lead, .muted { color: var(--muted); }
.lead { max-width: 680px; line-height: 1.6; }
.card { background: color-mix(in srgb, var(--panel) 94%, transparent); border: 1px solid var(--border); border-radius: 18px; padding: 22px; margin-top: 18px; box-shadow: 0 18px 60px #0002; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.file-picker, button { border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; cursor: pointer; font: inherit; }
.file-picker { display: inline-block; color: #10131b; background: var(--accent); font-weight: 700; margin-bottom: 14px; }
.file-picker input { display: none; }
button { background: #252d3b; color: inherit; }
button:hover { border-color: var(--accent); }
button.primary { background: var(--accent); color: #10131b; border: 0; font-weight: 800; padding: 13px 20px; }
button.quiet { padding: 7px 10px; margin-left: 6px; font-size: .85rem; }
textarea { width: 100%; resize: vertical; min-height: 280px; background: #0e1118; color: #edf1f7; border: 1px solid var(--border); border-radius: 12px; padding: 14px; line-height: 1.5; font: 14px/1.55 ui-monospace, SFMono-Regular, monospace; }
.meta, .actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.meta { justify-content: space-between; color: var(--muted); font-size: .85rem; }
.question-list { display: grid; gap: 10px; }
.question-group { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .08em; margin-top: 10px; }
.question { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 13px; border: 1px solid var(--border); border-radius: 12px; background: #141923; }
.question input { accent-color: var(--accent); margin-top: 4px; }
.question strong { display: block; }
.question small { color: var(--muted); display: block; margin-top: 4px; line-height: 1.45; }
.custom-question-form { display: grid; gap: 12px; margin: 18px 0; padding: 16px; border: 1px solid var(--accent); border-radius: 14px; background: #13251f; }
.custom-question-form [hidden] { display: none; }
.custom-question-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.custom-question-header h3 { margin: 0; font-size: 1rem; }
.custom-question-form label { display: grid; gap: 6px; color: #dce5ef; font-size: .9rem; font-weight: 700; }
.custom-question-form input, .custom-question-form select, .custom-question-form textarea { width: 100%; margin: 0; background: #0e1716; color: inherit; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; font: inherit; }
.custom-question-form textarea { min-height: 0; resize: vertical; }
.custom-question-form .primary { justify-self: start; }
.field-hint, .type-help { color: var(--muted); font-size: .8rem; font-weight: 400; }
.type-help { margin: -4px 0 0; }
.form-error { min-height: 1.2em; margin: 0; color: #ff9f9f; font-size: .85rem; }
.status { color: var(--muted); }
.status.error { color: #ff9f9f; }
.results pre { overflow: auto; max-height: 620px; white-space: pre-wrap; word-break: break-word; background: #0e1118; padding: 16px; border-radius: 12px; }
.followup { border: 1px solid var(--warning); color: var(--warning); border-radius: 12px; padding: 14px; margin-bottom: 14px; line-height: 1.5; }
.suggestion { border: 1px solid var(--accent); border-radius: 12px; padding: 14px; margin-bottom: 14px; background: #13251f; }
.suggestion h3 { margin: 0; font-size: 1rem; }
.suggestion textarea { min-height: 360px; background: #0b1714; }
code { color: var(--accent); }
@media (max-width: 640px) { .shell { width: min(100% - 20px, 1120px); padding-top: 28px; } .section-heading { align-items: flex-start; flex-direction: column; } }
