:root { --bg:#0d1117; --card:#151b23; --line:#30363d; --text:#f0f6fc; --muted:#8b949e; --accent:#f0f6fc; --danger:#ff7b72; }
* { box-sizing:border-box; }
body { margin:0; font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background:var(--bg); color:var(--text); }
.shell { max-width:1120px; margin:0 auto; padding:40px 20px; }
.hero { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:24px; }
.eyebrow { color:var(--muted); text-transform:uppercase; letter-spacing:.14em; font-size:12px; margin:0 0 8px; }
h1 { margin:0; font-size:42px; line-height:1; }
h2 { margin-top:0; } h3 { margin-bottom:8px; }
.muted { color:var(--muted); }
.card { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:24px; box-shadow:0 20px 80px rgba(0,0,0,.25); }
.narrow { max-width:560px; }
.stack { display:flex; flex-direction:column; gap:16px; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.full { grid-column:1 / -1; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
.three { grid-template-columns:repeat(3,1fr); }
.option { display:block; padding:16px; border:1px solid var(--line); border-radius:14px; cursor:pointer; }
.option strong, .option span { display:block; margin-top:6px; }
.option span { color:var(--muted); font-size:14px; }
.checks { display:flex; gap:18px; flex-wrap:wrap; }
.checkline { display:flex; gap:10px; align-items:center; }
label { color:var(--muted); font-size:14px; }
input, textarea, select { width:100%; margin-top:6px; padding:12px 13px; border-radius:10px; border:1px solid var(--line); background:#0d1117; color:var(--text); }
textarea { min-height:100px; }
button { appearance:none; border:0; background:var(--accent); color:#0d1117; font-weight:800; padding:12px 16px; border-radius:999px; cursor:pointer; }
button.ghost { background:transparent; color:var(--text); border:1px solid var(--line); }
.alert { margin:12px 0; padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:#111827; }
.error { border-color:var(--danger); color:var(--danger); }
.summary { padding:14px; border:1px solid var(--line); border-radius:12px; margin-bottom:16px; color:var(--muted); }
.metric { padding:16px; border:1px solid var(--line); border-radius:14px; }
.metric strong { display:block; font-size:32px; }
.metric span { color:var(--muted); }
pre { overflow:auto; white-space:pre-wrap; background:#0b0f14; border:1px solid var(--line); border-radius:14px; padding:14px; color:#d1d9e0; }
code { color:#d1d9e0; }
.output-block { margin-top:24px; }
.output-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:10px; }
.output-head h3 { margin:0 0 6px; }
.output-head .muted { margin:0; }
.copy-btn { flex:0 0 auto; padding:9px 13px; font-size:13px; }
details pre { margin-top:12px; }
@media (max-width:700px) {
  .output-head { align-items:stretch; flex-direction:column; }
  .copy-btn { width:100%; }
}
