.ir-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 24px; align-items: start; }
.ir-panel { background: #f4f7fa; border: 1px solid #d4e0ec; border-radius: 14px; padding: 20px; }
.ir-field { margin-bottom: 15px; }
.ir-field label { display: block; font-size: 14.5px; font-weight: 700; color: #0f2942; margin-bottom: 5px; }
.ir-hint { font-size: 12.5px; color: #465d75; margin-top: 4px; display: block; line-height: 1.45; }
.ir-input, .ir-select {
  width: 100%; padding: 10px 12px; border: 1px solid #b5c7da; border-radius: 9px;
  font: inherit; font-size: 15.5px; background: #fff; color: #0f2235; font-variant-numeric: tabular-nums;
}
.ir-input:focus, .ir-select:focus { outline: 2px solid #0f766e; border-color: #0f766e; }
.ir-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ir-helper { margin-top: 8px; background: #fff; border: 1px dashed #94a3b8; border-radius: 10px; padding: 10px 12px; }
.ir-helper summary { font-size: 13px; font-weight: 700; color: #0f2942; cursor: pointer; }
.ir-helper-body { margin-top: 10px; }
.ir-check { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #0f2942; cursor: pointer; background: #fff; border: 1px solid #d4e0ec; padding: 10px 12px; border-radius: 9px; }
.ir-check input { width: 18px; height: 18px; accent-color: #0f766e; }
.ir-hero-card { background: linear-gradient(135deg, #0f2942 0%, #1d466d 100%); color: #fff; border-radius: 14px; padding: 22px; margin-bottom: 12px; }
.ir-hero-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ir-tier-pill { background: #f59e0b; color: #0f2942; font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.ir-tier-pill.safe { background: #2dd4bf; color: #062f2b; }
.ir-hero-num { font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.ir-hero-sub { font-size: 14px; color: #dbeafe; margin: 0; }
.ir-alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; border: 1px solid #99f6e4; background: #f0fdfa; }
.ir-alert.warn { background: #fffbeb; border-color: #fcd34d; }
.ir-alert.danger { background: #fef2f2; border-color: #fca5a5; }
.ir-alert-title { font-size: 15px; font-weight: 800; color: #0f766e; margin-bottom: 4px; }
.ir-alert.warn .ir-alert-title { color: #b45309; }
.ir-alert.danger .ir-alert-title { color: #b91c1c; }
.ir-alert p { margin: 0; font-size: 14px; color: #1e293b; }
.ir-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.ir-mcard { background: #fff; border: 1px solid #d4e0ec; border-radius: 11px; padding: 12px; }
.ir-mcard .k { font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: #465d75; }
.ir-mcard .v { font-size: 19px; font-weight: 800; color: #0f2942; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.ir-mcard .s { font-size: 12px; color: #465d75; }
.ir-yoy { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 11px; padding: 12px 14px; margin-bottom: 12px; font-size: 13.5px; color: #0f2942; }
.ir-table-wrap { overflow-x: auto; margin-top: 18px; }
.ir-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ir-table th, .ir-table td { border: 1px solid #d4e0ec; padding: 9px 10px; text-align: left; }
.ir-table th { background: #eef3f8; color: #0f2942; font-weight: 700; }
.ir-table tr.active-tier td { background: #fffbeb; font-weight: 700; color: #0f2942; border-top: 2px solid #f59e0b; border-bottom: 2px solid #f59e0b; }
.ir-table tr.active-tier.safe-tier td { background: #f0fdfa; border-top: 2px solid #0f766e; border-bottom: 2px solid #0f766e; }
.ir-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ir-btn { background: #0f2942; color: #fff; border: 0; border-radius: 9px; padding: 10px 15px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ir-btn:hover { background: #1d466d; }
.ir-btn-sec { background: #fff; color: #0f2942; border: 1px solid #b5c7da; border-radius: 9px; padding: 10px 14px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ir-snap-wrap { margin-top: 18px; border-top: 1px solid #d4e0ec; padding-top: 16px; display: none; }
.ir-snap-wrap.has-rows { display: block; }
.ir-snap-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .ir-grid, .ir-row-2, .ir-metrics { grid-template-columns: 1fr; }
}