/* firecheck.css — postcode form + vulnerability profile */

.pc-form {
  margin-top: 2rem;
  max-width: 32rem;
}
.pc-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.pc-row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}
.pc-row input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  font-family: inherit;
  background: var(--panel);
  color: var(--ink-strong);
  border: 1px solid var(--rule);
  border-radius: 0;
  outline: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pc-row input:focus {
  border-color: var(--fire);
  box-shadow: 0 0 0 2px var(--fire-dim);
}
.pc-row .btn {
  white-space: nowrap;
}
.pc-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}
.pc-status.err { color: var(--fire); }
.pc-status.loading { color: var(--muted); }
.pc-status.ok { color: var(--water); }

/* ---- headline ---- */
.fc-head {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--rule);
  margin-top: 2rem;
}
@media (max-width: 600px) {
  .fc-head { flex-direction: column; gap: 1rem; }
}

.fc-risk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
}
.fc-risk-score {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
.fc-risk-score.low { color: var(--water); }
.fc-risk-score.moderate { color: var(--fire-2); }
.fc-risk-score.elevated { color: var(--fire); }
.fc-risk-score.high { color: #ff3333; }
.fc-risk-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}
.fc-risk-label.low { color: var(--water); }
.fc-risk-label.moderate { color: var(--fire-2); }
.fc-risk-label.elevated { color: var(--fire); }
.fc-risk-label.high { color: #ff3333; }
.fc-risk-sub {
  font-size: 0.65rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.fc-summary {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ---- panels ---- */
.fc-panel {
  padding: 1.25rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--rule);
  margin-top: 1.5rem;
}
.fc-panel h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.fc-panel-sub {
  font-size: 0.85rem;
  color: var(--faint);
  margin-bottom: 1rem;
}

/* ---- fuel bars ---- */
.fc-fuel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.fc-fuel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.fc-fuel-name {
  width: 10rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.fc-fuel-name .icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.fc-fuel-bar {
  flex: 1;
  height: 0.65rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule-soft);
  overflow: hidden;
}
.fc-fuel-fill {
  height: 100%;
  transition: width 0.6s ease;
}
.fc-fuel-fill.moor { background: var(--fire); }
.fc-fuel-fill.wood { background: #4a8c3f; }
.fc-fuel-fill.scrub { background: var(--fire-2); }
.fc-fuel-fill.grass { background: #7ab648; }
.fc-fuel-fill.farm { background: #b8a44a; }
.fc-fuel-pct {
  width: 3rem;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}
.fc-fuel-total {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--faint);
}

/* ---- duo (water + coverage) ---- */
.fc-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 700px) {
  .fc-duo { grid-template-columns: 1fr; }
}
.fc-duo .fc-panel {
  margin-top: 0;
}

.fc-stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.fc-stat-row:last-child { border-bottom: none; }
.fc-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--water);
  min-width: 3rem;
}
.fc-stat-lab {
  font-size: 0.85rem;
  color: var(--muted);
}

/* coverage list */
.fc-coverage {
  list-style: none;
  padding: 0;
}
.fc-coverage li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.fc-coverage li:last-child { border-bottom: none; }
.fc-coverage .cv-name { color: var(--ink); }
.fc-coverage .cv-dist { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }

/* ---- factors ---- */
.fc-factors {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--rule);
}
.fc-factors h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.fc-factors ul {
  list-style: none;
  padding: 0;
}
.fc-factors li {
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--ink);
}
.fc-factors li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--fire);
}

/* ---- national context ---- */
.fc-nat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}
@media (max-width: 700px) {
  .fc-nat-grid { grid-template-columns: repeat(2, 1fr); }
}
.fc-nat-cell {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem;
  background: rgba(255,106,61,0.04);
  border: 1px solid var(--rule-soft);
}
.fc-nat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--fire-2);
}
.fc-nat-lab {
  font-size: 0.75rem;
  color: var(--faint);
  line-height: 1.4;
}

/* ---- small utility ---- */
.small { font-size: 0.85rem; }
