:root { --navy:#0F2233; --mint:#7FD4B4; --ink:#16212b; --muted:#5b6b78; --line:#dde4ea; --bg:#f6f8fa; --card:#fff; --warn:#b4541a; --ok:#1f7a55; }
* { box-sizing: border-box; }
body { margin:0; font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color:var(--ink); background:var(--bg); line-height:1.5; }
.top { display:flex; justify-content:space-between; align-items:center; padding:14px 24px; background:var(--navy); color:#fff; }
.brand { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.brand .dot { width:14px; height:14px; border-radius:50%; background:var(--mint); display:inline-block; }
.brand .word { font-weight:700; letter-spacing:.3px; font-size:18px; }
.brand .sub { color:#b9c7d3; font-size:14px; }
.lang button { background:transparent; border:1px solid #4a6276; color:#fff; padding:6px 12px; cursor:pointer; font-weight:600; }
.lang button:first-child { border-radius:6px 0 0 6px; } .lang button:last-child { border-radius:0 6px 6px 0; }
.lang button.on { background:var(--mint); color:var(--navy); border-color:var(--mint); }
main { max-width:820px; margin:28px auto; padding:0 18px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:28px; margin-bottom:18px; }
h1 { font-size:26px; margin:0 0 8px; } h2 { font-size:20px; margin:0 0 12px; } h3 { font-size:16px; margin:18px 0 8px; }
.muted { color:var(--muted); } .small { font-size:13px; }
label.f { display:block; font-weight:600; margin:14px 0 6px; }
input[type=text], input[type=password], textarea { width:100%; padding:12px; border:1px solid var(--line); border-radius:8px; font-size:16px; font-family:inherit; }
textarea { min-height:110px; }
.btn { display:inline-block; background:var(--navy); color:#fff; border:0; padding:12px 20px; border-radius:8px; font-size:15px; font-weight:600; cursor:pointer; margin:6px 8px 0 0; }
.btn.ghost { background:transparent; color:var(--navy); border:1px solid var(--navy); }
.btn:disabled { opacity:.45; cursor:not-allowed; }
.err { color:var(--warn); margin-top:10px; min-height:1.2em; }
.opts { display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.opt { text-align:left; background:#fff; border:1px solid var(--line); border-radius:10px; padding:14px 16px; font-size:15px; cursor:pointer; font-family:inherit; color:var(--ink); }
.opt:hover { border-color:var(--navy); } .opt.sel { border-color:var(--navy); background:#eef6f2; box-shadow: inset 4px 0 0 var(--mint); }
.progress { height:6px; background:var(--line); border-radius:4px; overflow:hidden; margin:6px 0 4px; }
.progress > div { height:100%; background:var(--mint); }
.meta { display:flex; justify-content:space-between; font-size:13px; color:var(--muted); flex-wrap:wrap; gap:6px; }
.check { display:flex; gap:10px; align-items:flex-start; margin:12px 0; }
.check input { margin-top:4px; width:18px; height:18px; }
.notice { background:#f1f4f7; border-radius:10px; padding:16px; font-size:14px; max-height:300px; overflow:auto; }
.notice p { margin:6px 0; }
.pill { display:inline-block; padding:3px 10px; border-radius:999px; background:#e8eef3; font-size:13px; font-weight:600; }
.pill.ok { background:#e2f4ec; color:var(--ok); } .pill.warn { background:#fbeee4; color:var(--warn); }
/* report */
.rep-head { display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; align-items:flex-start; }
.score { font-size:64px; font-weight:800; line-height:1; color:var(--navy); }
.score small { font-size:22px; color:var(--muted); font-weight:600; }
.kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-top:16px; }
.kpi { border:1px solid var(--line); border-radius:10px; padding:12px; } .kpi b { display:block; font-size:18px; line-height:1.25; overflow-wrap:anywhere; hyphens:auto; } .kpi span { font-size:13px; color:var(--muted); }
table { width:100%; border-collapse:collapse; font-size:14px; } th, td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); vertical-align:top; }
th { color:var(--muted); font-weight:600; font-size:13px; } td.num { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.bandbar { display:flex; height:30px; border-radius:6px; overflow:hidden; margin:14px 0 4px; position:relative; }
.bandbar div { flex:1; font-size:11px; color:#fff; display:flex; align-items:center; justify-content:center; text-align:center; }
.bandbar .mk { position:absolute; top:-6px; width:3px; height:42px; background:var(--ink); }
.calib { display:grid; grid-template-columns:140px 1fr 48px; gap:8px; align-items:center; font-size:14px; margin:6px 0; }
.calib .bar { height:14px; background:var(--line); border-radius:4px; overflow:hidden; } .calib .bar div { height:100%; }
ul.clean { padding-left:18px; } ul.clean li { margin:6px 0; }
.callout { border-left:4px solid var(--mint); background:#f1f8f5; padding:14px 16px; border-radius:8px; margin:12px 0; }
.toolbar { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.foot { max-width:820px; margin:0 auto 30px; padding:0 18px; font-size:12px; color:var(--muted); }
svg text { font-family: inherit; }
@media print {
  .top .lang, .toolbar, .foot { display:none !important; }
  body { background:#fff; } main { margin:0; max-width:none; } .card { border:0; padding:8px 0; page-break-inside:avoid; }
  .top { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .bandbar, .calib .bar div, .pill, .callout, .opt.sel { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .pb { page-break-before:always; }
}
