:root{
  --bg:#eef2f7;
  --card:#ffffff;
  --text:#16233f;
  --muted:#667085;
  --primary:#1f3f77;
  --primary-2:#2e5fb1;
  --border:#dfe6f1;
  --success-bg:#e8f5e9;
  --success:#2e7d32;
  --wait-bg:#f6efe2;
  --wait:#9a6b16;
  --shadow:0 12px 30px rgba(16,24,40,.08);
  --radius:24px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
a{text-decoration:none;color:inherit}
.page{max-width:980px;margin:0 auto;padding:24px 16px 40px}
.hero,.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.hero{overflow:hidden;margin-bottom:20px}
.hero-logo{display:block;width:100%;max-height:360px;object-fit:cover;background:#1d2f5c}
.hero-body{padding:20px}
.eyebrow{letter-spacing:.22em;text-transform:uppercase;font-weight:800;color:#41598c;font-size:14px;margin:0 0 10px}
.hero h1,.card h2{margin:0 0 10px;line-height:1.05;color:#122854}
.hero h1{font-size:44px}
.lead{font-size:18px;line-height:1.65;color:var(--muted);margin:0}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:16px 22px;border-radius:16px;font-weight:800;border:1px solid transparent;min-height:56px}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff}
.btn-secondary{background:#fff;color:var(--primary);border-color:#c8d5eb}
.kpi{padding:24px;margin-bottom:20px}
.kpi-value{font-size:80px;font-weight:900;line-height:1;margin:8px 0 6px;color:#1c4da1}
.kpi-sub{font-size:18px;color:var(--muted)}
.card{padding:22px;margin-bottom:20px}
.module-grid{display:grid;grid-template-columns:1fr;gap:20px}
.module-label{letter-spacing:.22em;text-transform:uppercase;font-weight:800;color:#6a7896;font-size:14px;margin-bottom:8px}
.module-title{font-size:28px;font-weight:900;line-height:1.12;margin-bottom:12px}
.status{display:inline-flex;align-items:center;padding:12px 18px;border-radius:999px;font-weight:800;font-size:14px;margin:4px 0 14px}
.status-success{background:var(--success-bg);color:var(--success)}
.status-wait{background:var(--wait-bg);color:var(--wait)}
.meta{font-size:18px;line-height:1.8;color:var(--text);margin:0 0 14px}
.resume{font-size:17px;line-height:1.8;color:var(--muted);margin:0 0 18px}
.canvas-wrap{display:flex;justify-content:center;overflow:hidden}
#radarCanvas{width:min(100%,560px)!important;height:auto!important;aspect-ratio:1/1;display:block}
.dashboard p,.card p{font-size:17px;line-height:1.7;color:var(--muted)}
strong{color:var(--text)}
details summary{cursor:pointer;font-weight:800;color:var(--primary);margin-bottom:12px}
pre{margin:0;white-space:pre-wrap;word-break:break-word;background:#0f2b63;color:#eef4ff;padding:18px;border-radius:18px;overflow:auto;font-size:14px;line-height:1.6}
.helper{font-size:15px;color:var(--muted);margin-top:10px}
.footer-note{display:none}
@media (max-width:720px){
  .page{padding:14px 10px 28px}
  .hero h1{font-size:26px}
  .lead{font-size:15px}
  .hero-logo{max-height:240px}
  .kpi-value{font-size:64px}
  .module-title{font-size:24px}
  .meta,.resume,.dashboard p,.card p{font-size:15px}
  .btn{width:100%}
}
