.fire-wrap{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans";max-width:1000px;margin:0 auto;padding:20px}
.fire-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.04);padding:18px;margin-bottom:18px}
.fire-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}
.fire-col-12{grid-column:span 12}.fire-col-6{grid-column:span 6}.fire-col-4{grid-column:span 4}
@media (max-width:920px){.fire-col-6,.fire-col-4{grid-column:span 12}}
h1{font-size:clamp(22px,3vw,30px);margin:.2rem 0 1rem} h2{font-size:18px;margin:.2rem 0 .8rem}
label{display:block;font-weight:600;margin-bottom:6px}
.row{display:flex;gap:10px;align-items:center}
.hint{font-size:12px;color:#6b7280}
input[type="number"]{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:10px;background:#fff;font-size:15px}
input[type="range"]{width:100%}
.unit{white-space:nowrap;color:#6b7280;font-size:13px}
.pill{display:inline-block;background:#f1f5f9;border:1px solid #e2e8f0;padding:6px 10px;border-radius:999px;font-size:12px;margin-right:6px}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.kpi{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:12px}
.kpi .label{color:#64748b;font-size:12px}.kpi .value{font-size:18px;font-weight:800;margin-top:4px}
.tbl{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
.tbl th,.tbl td{padding:10px 12px;font-size:14px;border-bottom:1px solid #e5e7eb}
.tbl th{background:#f1f5f9;text-align:left}
.badge{font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid #cbd5e1}
.badge.green{background:#ecfdf5;border-color:#bbf7d0;color:#065f46}
.badge.yellow{background:#fffbeb;border-color:#fde68a;color:#854d0e}
.badge.blue{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}
canvas{width:100%;height:420px;display:block}
.note{font-size:12px;color:#6b7280}
.legend{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.legend .item{display:flex;align-items:center;gap:6px;font-size:13px;color:#334155}
.legend .sw{width:14px;height:4px;border-radius:2px;display:inline-block}
.legend .dash{background:repeating-linear-gradient(90deg,#0f172a 0 6px,transparent 6px 12px)}
.chart-wrap{position:relative}
.tooltip{position:absolute;pointer-events:none;background:#111827;color:#fff;padding:8px 10px;border-radius:8px;font-size:12px;box-shadow:0 6px 18px rgba(0,0,0,.25);display:none;z-index:2;max-width:260px}
.tooltip .row{display:flex;justify-content:space-between;gap:12px}
.tooltip .row + .row{margin-top:4px}
.tooltip .title{font-weight:700;margin-bottom:6px}