:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f5f7fb}
*{box-sizing:border-box}body{margin:0}.wrap{width:min(1180px,calc(100% - 28px));margin:auto}
.topbar{background:#111827;color:#fff;padding:13px 0;position:sticky;top:0;z-index:8}
.nav{display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{font-weight:850;font-size:1.15rem;color:#fff;text-decoration:none}
.navlinks{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.navlinks a{color:#dbeafe;text-decoration:none;font-size:.92rem}
.hero{padding:38px 0 18px}.hero h1{font-size:clamp(2rem,5vw,3.7rem);line-height:1.02;margin:.15em 0}
.lead{font-size:1.1rem;max-width:800px;color:#4b5563}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:19px;box-shadow:0 4px 18px rgba(15,23,42,.04);margin:13px 0}
.card h2,.card h3{margin-top:0}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;padding:11px 15px;background:#2563eb;color:#fff;text-decoration:none;font-weight:750;cursor:pointer}
.btn.secondary{background:#e5e7eb;color:#111827}.btn.danger{background:#b91c1c}.btn.small{padding:7px 10px;font-size:.88rem}
.field{margin:13px 0}.field label{display:block;font-weight:750;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;font:inherit}
.field textarea{min-height:110px;resize:vertical}.muted{color:#64748b}.notice,.success,.error,.info{padding:13px 15px;border-radius:12px;margin:12px 0}
.notice{background:#fff7ed;border:1px solid #fed7aa}.success{background:#ecfdf5;border:1px solid #a7f3d0}.error{background:#fef2f2;border:1px solid #fecaca}.info{background:#eff6ff;border:1px solid #bfdbfe}
.question{font-size:1.25rem;font-weight:800;margin-bottom:18px}.option{display:block;border:1px solid #cbd5e1;background:#fff;border-radius:14px;padding:13px;margin:9px 0;cursor:pointer}
.option:hover{border-color:#2563eb}.progress{height:9px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin:15px 0}.progress span{display:block;height:100%;background:#2563eb}
.stat{font-size:2rem;font-weight:850}.statlabel{color:#64748b;font-size:.9rem}.footer{padding:32px 0;color:#64748b}.tablewrap{overflow:auto;border-radius:14px;border:1px solid #e5e7eb}
table{width:100%;border-collapse:collapse;background:#fff;min-width:760px}th,td{text-align:left;padding:10px;border-bottom:1px solid #e5e7eb;vertical-align:top}th{background:#f8fafc;font-size:.88rem}
.badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.78rem;font-weight:750;background:#eef2ff}.badge.good{background:#dcfce7}.badge.warn{background:#fef3c7}.badge.bad{background:#fee2e2}.badge.gray{background:#e5e7eb}
.actions{display:flex;gap:8px;flex-wrap:wrap}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.kpi{padding:17px;border-radius:16px;background:#fff;border:1px solid #e5e7eb}.kpi strong{display:block;font-size:1.7rem}
.meter{height:12px;background:#e5e7eb;border-radius:999px;overflow:hidden}.meter span{display:block;height:100%;background:#2563eb}
.statusline{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef2f7}.statusline:last-child{border-bottom:0}
.item-image{max-width:100%;max-height:360px;border-radius:12px;border:1px solid #e5e7eb}.small{font-size:.88rem}.right{text-align:right}
@media(max-width:820px){.nav{align-items:flex-start;flex-direction:column}.navlinks{gap:9px}.two,.three{grid-template-columns:1fr}.hero{padding-top:24px}.card{padding:15px}}
