
:root {
  --blue:#17365d; --light:#eef4fb; --must:#fff2cc; --border:#d7dde5;
  --green:#147a2e; --yellow:#a06900; --red:#b00020; --text:#1d2630; --muted:#536070;
}
body { font-family: Segoe UI, Arial, sans-serif; margin:0; background:#f6f8fb; color:var(--text); }
.shell { max-width:1280px; margin:auto; padding:24px; }
.hero, .card { background:white; border:1px solid var(--border); border-radius:20px; box-shadow:0 4px 16px rgba(20,35,55,.05); }
.hero { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; padding:28px; }
h1 { margin:4px 0 8px; font-size:36px; color:var(--blue); }
h2,h3 { color:var(--blue); }
.eyebrow { color:#6d7785; text-transform:uppercase; letter-spacing:.08em; font-size:12px; margin:0 0 4px; }
.subtitle, .hint { color:var(--muted); }
.mode-badge, .pill { background:var(--blue); color:white; border-radius:999px; padding:10px 16px; height:max-content; font-weight:700; }
.pill { font-size:12px; padding:7px 10px; background:#4d6f94; }
.workflow { background:#eaf2ff; border:1px solid #c7d8ef; padding:12px 16px; border-radius:14px; margin:16px 0; display:flex; gap:12px; flex-wrap:wrap; }
.grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; }
.card { padding:22px; margin-bottom:18px; }
.section-title { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.field { border:1px solid var(--border); border-radius:14px; padding:12px; margin:10px 0; background:#fff; }
.field.must { background:var(--must); border-color:#d6a300; }
.field.low { background:#f3f6f9; color:#5f6b7a; }
.field-help { font-size:12px; color:#6d7785; margin-top:6px; }
label { font-weight:700; display:block; margin-bottom:6px; }
.explain { font-size:13px; color:var(--muted); margin-bottom:8px; line-height:1.35; }
input, select, textarea { width:100%; box-sizing:border-box; padding:9px; border:1px solid #b9c2ce; border-radius:9px; font:inherit; }
textarea { min-height:130px; font-family:Consolas, monospace; font-size:12px; }
.hidden-json { display:none; }
.choice { padding:18px; border-radius:16px; background:var(--red); color:white; font-size:26px; font-weight:900; text-align:center; }
.choice.robot { background:var(--green); }
.choice.borderline { background:var(--yellow); }
.decision { padding:11px; background:var(--blue); color:white; border-radius:12px; text-align:center; margin:12px 0; font-weight:700; }
.kpis { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.kpis div { background:var(--light); border-radius:14px; padding:13px; border:1px solid #d9e6f5; }
.kpis span { display:block; color:var(--muted); font-size:13px; }
.kpis b { font-size:21px; color:var(--blue); }
.note { margin:14px 0; padding:13px; border-left:5px solid var(--blue); background:#fafafa; }
.actions { display:flex; gap:10px; flex-wrap:wrap; margin:14px 0; }
button { background:var(--blue); color:white; border:0; border-radius:11px; padding:10px 14px; font-weight:700; cursor:pointer; }
button:hover { filter:brightness(1.08); }
.teaser { border:2px solid #c7d8ef; background:linear-gradient(180deg,#ffffff,#f4f8ff); }
.teaser-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
#heatmap table { border-collapse:collapse; width:100%; margin-top:10px; }
#heatmap th,#heatmap td { border:1px solid #ccd6e0; padding:10px; text-align:center; }
.good { background:#d9ead3; }
.mid { background:#fff2cc; }
.bad { background:#f4cccc; }
.current-cell { outline:3px solid #17365d; outline-offset:-3px; font-weight:800; }
@media(max-width:900px) { .grid,.teaser-grid { grid-template-columns:1fr; } .hero { flex-direction:column; } }
