.field-addr input { width: 300px; }
.prop-map { height: 520px !important; }
.table-wrap.tall { max-height: none; }

.verdict {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--ink); color: #fff; box-shadow: var(--shadow);
}
.verdict .badge { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 8px; white-space: nowrap; }
.verdict .badge.high { background: var(--magenta); }
.verdict .badge.mod { background: var(--orange); }
.verdict .badge.low { background: var(--teal); }
.verdict .badge.none { background: #555; }
.verdict p { margin: 0; font-weight: 500; font-size: 14px; color: #e6e6e6; }
.verdict b { color: #fff; }

/* timeline */
.tl { width: 100%; height: 190px; display: block; }
.tl text { font-family: "Montserrat", sans-serif; font-size: 10px; fill: #6f6f6f; font-weight: 600; }
.tl .thr { stroke: var(--ink); stroke-dasharray: 4 3; stroke-width: 1; opacity: .5; }
.tl .evt { stroke: var(--orange); stroke-width: 2; }
.tl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.tl-stats div { background: #f6f6f4; border-radius: 10px; padding: 8px 10px; }
.tl-stats b { display: block; font-size: 16px; font-weight: 800; }
.tl-stats span { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* storm */
.storm-wrap { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; }
.compass { width: 130px; height: 130px; }
.compass text { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 11px; fill: #6f6f6f; }
.storm-facts { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.storm-facts .k { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: block; }
.storm-facts b { font-size: 15px; }

/* roof table */
.roof-table select, .roof-table input[type=number] {
  font: inherit; font-size: 12px; font-weight: 600; border: 1px solid #d8d8d8; border-radius: 6px; padding: 4px 6px; background: #fff;
}
.roof-table input[type=number] { width: 58px; }
.roof-table select[data-k=material] { max-width: 170px; }
/* 13 columns: tighter cell padding so the table fits the card at desktop widths */
table.data.roof-table td, table.data.roof-table th { padding-left: 6px; padding-right: 6px; vertical-align: middle; }
.roof-table tfoot td { font-weight: 800; border-top: 2px solid var(--ink); border-bottom: 0; }
.bnum { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 12px; align-items: center; justify-content: center; margin-right: 6px; }
.likely { color: var(--magenta); font-weight: 800; }
.possible { color: var(--orange); font-weight: 800; }
.unlikely { color: var(--teal); font-weight: 800; }

/* estimate */
.est-row { display: grid; grid-template-columns: 22px 1fr 150px 110px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f1f1f0; font-size: 13px; }
.est-row input[type=number] { width: 72px; font: inherit; font-size: 12px; font-weight: 600; border: 1px solid #d8d8d8; border-radius: 6px; padding: 3px 6px; }
.est-row .q { color: var(--muted); font-size: 12px; }
.est-row .amt { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.est-row.off .amt, .est-row.off .lbl { opacity: .4; }
.est-total { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 12px; font-size: 13px; }
.est-total .amt { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.est-total .grand { font-size: 22px; font-weight: 800; }
.est-total .net { color: var(--orange); }
.est-total input { width: 90px; font: inherit; font-weight: 600; border: 1px solid #d8d8d8; border-radius: 6px; padding: 3px 6px; text-align: right; }

.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 12px; font-size: 13px; margin: 0; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; }

.bldg-label { background: var(--orange); color: #fff; border: 0; border-radius: 50%; width: 22px; height: 22px; padding: 0; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.4); font-family: "Montserrat", sans-serif; }
.bldg-label::before { display: none; }

@media (max-width: 760px) {
  .field-addr input { width: 100%; }
  .storm-wrap { grid-template-columns: 1fr; }
  .est-row { grid-template-columns: 22px 1fr 110px 90px; }
}
@media print {
  .roof-table select, .roof-table input, .est-row input, .est-total input { border: 0; padding: 0; appearance: none; -webkit-appearance: none; background: none; }
  .verdict { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .verdict p { color: var(--ink-2); }
  .verdict b { color: var(--ink); }
}

.roof-table td:nth-child(2) { min-width: 190px; }
.roof-table td:nth-child(2) .muted { white-space: nowrap; font-size: 11px; }

/* lightning */
.ltg-rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px 10px !important; }
.ltg-rings p { margin: 0; }
.ltg-rings b { font-size: 18px !important; }
#lightning .table-wrap { margin-top: 16px; }
