.horizon-tabs {
  display:grid; grid-template-columns:1fr 1fr; gap:3px; padding:3px;
  border:2px solid #271f24; background:#342d30;
}
.horizon-tabs button {
  display:flex; justify-content:center; align-items:center; gap:8px;
  padding:5px 3px; color:#c9beb1; font-size:18px;
}
.horizon-tabs button[aria-pressed=true] {
  color:#ffdda2; background:#4d403a; box-shadow:inset 0 2px #856b51,inset 0 -2px #bb8c58;
}
#flood-panel { min-height:0; overflow:hidden; }
#flood-content { height:100%; }
#basalt-panel { scrollbar-gutter:stable; background:#282b33; }
.fault-survey {
  display:grid; grid-template-columns:minmax(160px,.87fr) minmax(0,1.45fr); align-items:center;
  gap:10px; padding:14px; background:#312b31; border:2px solid #211e25;
  box-shadow:inset 0 2px #66504a,inset 0 -2px #44363a;
}
.fault-caption small,.fault-routes header small { color:#e7ad76; font-size:16px; }
.fault-caption h2 { margin-top:4px; color:#ffe0ab; font-size:clamp(23px,2.4vw,37px); line-height:1.15; text-shadow:2px 3px #201d26; }
.fault-survey canvas { width:100%; display:block; image-rendering:pixelated; border:2px solid #6d5853; }
.fault-note { margin:12px 14px 0; font-size:18px; color:#e1d2b2; }
.fault-instruments {
  display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:14px; padding:10px 12px;
  border:2px solid #4c4850; background:#222630; box-shadow:inset 0 2px #383941;
}
.meter-label { display:flex; align-items:baseline; justify-content:space-between; gap:7px; color:#cfc5b5; font-size:17px; line-height:1.15; }
.meter-label strong { color:#ffda9b; font-size:20px; white-space:nowrap; }
.fault-temp,.fault-progress,.detour-progress {
  display:block; width:100%; margin-top:6px; height:9px; appearance:none; border:0; background:#141923;
}
.fault-temp::-webkit-meter-bar,.fault-progress::-webkit-progress-bar,.detour-progress::-webkit-progress-bar { height:9px; border:0; border-radius:0; background:#141923; }
.fault-temp::-webkit-meter-optimum-value,.fault-temp::-webkit-meter-suboptimum-value { background:#e9a468; }
.fault-temp::-webkit-meter-even-less-good-value { background:#f27853; }
.fault-temp::-moz-meter-bar { background:#e9a468; }
.fault-temp.hot::-webkit-meter-suboptimum-value,.fault-temp.hot::-webkit-meter-optimum-value { background:#f27853; }
.fault-temp.hot::-moz-meter-bar { background:#f27853; }
.fault-progress::-webkit-progress-value { background:#caa588; }
.fault-progress::-moz-progress-bar { background:#caa588; }
.detour-progress::-webkit-progress-value { background:#93bb9d; }
.detour-progress::-moz-progress-bar { background:#93bb9d; }
.fault-routes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:14px; gap:12px; }
.fault-routes article {
  display:flex; flex-direction:column; align-items:flex-start; gap:10px; min-width:0;
  padding:12px 14px 14px; border:2px solid #62504b; border-top:4px solid #be825e; background:#363035;
}
.fault-routes .fault-detour { background:#2c3636; border-color:#4f5b54; border-top-color:#789c89; }
.fault-routes header { display:flex; gap:10px; align-items:center; }
.fault-routes header i { background:#2b262c; border:2px solid #6c5750; width:43px; height:43px; }
.fault-routes header canvas { width:35px; height:35px; }
.fault-detour header i { background:#253031; border-color:#4d645c; }
.fault-detour header small { color:#b0cbb3; }
.fault-routes h3 { font-size:clamp(18px,1.55vw,24px); line-height:1.2; color:#ffe2b8; }
.fault-routes p { color:#e0d8c8; font-size:18px; }
.fault-routes small { font-size:16px; }
.fault-routes .work-costs { margin:0; }
.fault-routes .card-btn,.fault-drive { width:100%; }
.fault-routes article>.card-btn,.fault-drive { margin-top:auto; }
.flush { width:100%; display:grid; gap:7px; padding-top:8px; border-top:2px solid #5b4d4e; }
.flush span { display:flex; align-items:center; gap:6px; color:#b7dfe1; font-size:17px; }
.flush .card-btn { color:#d6eff0; background:#3a555d; }
.flush .card-btn:disabled { color:#bbc1bd; background:#384146; }
@media (max-width:650px) {
  .fault-survey { grid-template-columns:1fr; gap:8px; padding:9px; }
  .fault-caption { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 12px; }
  .fault-caption h2 { margin:0; font-size:22px; }
  .fault-survey canvas { max-height:80px; }
  .fault-routes { grid-template-columns:1fr; margin:8px; gap:8px; }
  .fault-instruments { margin:8px; gap:10px; padding:8px; }
  .meter-label { flex-wrap:wrap; gap:0 5px; }
  .horizon-tabs button { font-size:16px; gap:5px; }
}
