:root {
  --ink: #152119;
  --muted: #607065;
  --paper: #fffdf7;
  --moss: #28472e;
  --moss-2: #476d50;
  --lava: #c84627;
  --gold: #d8a033;
  --ocean: #176f84;
  --line: rgba(21, 33, 25, 0.16);
  --shadow: 0 22px 64px rgba(24, 37, 27, 0.2);
  --panel-width: 560px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: #d9e5dc;
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
}

button,
input { font: inherit; }

button { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tool-shell { height: 100%; }

.floating-home-button {
  position: fixed;
  z-index: 1250;
  top: clamp(22px, 3vw, 42px);
  right: clamp(20px, 4vw, 64px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(180px, 15vw, 230px);
  min-height: clamp(64px, 6vw, 78px);
  padding: 0 clamp(28px, 3vw, 44px);
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #111;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.floating-home-button:hover,
.floating-home-button:focus-visible {
  background: #292929;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.search-wrap {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(21, 33, 25, 0.18);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(40, 71, 46, 0.28);
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 33, 25, 0.08);
}

.location-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-left: 1px solid rgba(40, 71, 46, 0.22);
  color: var(--moss);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.location-button:hover,
.location-button:focus-visible {
  color: #fff;
  background: var(--moss);
  outline: 0;
}

.location-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.location-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.location-status {
  min-height: 0;
  margin: 0;
  color: #58655a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.location-status:not(:empty) {
  padding: 8px 12px 0;
}

.search-field > span {
  color: var(--moss);
  font-size: 25px;
  line-height: 1;
  transform: rotate(-20deg);
}

.search-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
  font-weight: 700;
}

.search-field input::placeholder { color: #788278; }

.search-field:focus-within {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(23, 111, 132, 0.16), 0 12px 28px rgba(21, 33, 25, 0.1);
}

.search-field kbd {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #f4f1e8;
  font-size: 10px;
  font-weight: 800;
}

.search-results {
  position: absolute;
  z-index: 1300;
  top: calc(100% - 8px);
  right: 16px;
  left: 16px;
  width: auto;
  max-height: min(480px, calc(100vh - 110px));
  overflow-y: auto;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: var(--shadow);
}

.result-button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.result-button:last-child { border-bottom: 0; }

.result-button:hover,
.result-button:focus-visible { background: #eef3ea; }

.result-title {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-island {
  color: var(--moss-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
}

.result-note {
  padding: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.map-stage {
  position: fixed;
  inset: 0;
}

#map {
  position: absolute;
  inset: 0;
  background: #aad3df;
}

.leaflet-container { font-family: inherit; }

.leaflet-control-attribution {
  font-size: 9px;
  color: #dbe2df;
  background: rgba(17, 22, 24, 0.86) !important;
}

.leaflet-control-attribution a { color: #f4d278; }

.map-stage .leaflet-tooltip-pane {
  z-index: 1400;
  pointer-events: none;
}

.map-stage .leaflet-top.leaflet-right { top: clamp(172px, 14vw, 206px); }

.map-background-controls {
  position: absolute;
  z-index: 900;
  top: clamp(102px, 10vw, 132px);
  right: clamp(20px, 4vw, 64px);
  display: grid;
  justify-items: start;
  gap: 7px;
}

.basemap-controls {
  display: flex;
  gap: 6px;
}

.basemap-controls button {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(21, 33, 25, 0.22);
  color: var(--moss);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 9px 24px rgba(21, 33, 25, 0.15);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.basemap-controls button.active {
  color: #fff;
  border-color: var(--moss);
  background: var(--moss);
}

.dark-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid rgba(21, 33, 25, 0.22);
  color: var(--moss);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 6px 16px rgba(21, 33, 25, 0.12);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.dark-mode-toggle input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--moss);
  cursor: pointer;
}

.context-instruments {
  position: absolute;
  z-index: 890;
  top: 18px;
  left: calc(var(--panel-width) + 36px);
  right: clamp(276px, 23vw, 340px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
}

.conditions-instrument,
.landscape-instrument {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 33, 25, 0.22);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 14px 34px rgba(21, 33, 25, 0.16);
  backdrop-filter: blur(14px);
  animation: conditions-instrument-in 260ms ease-out both;
  pointer-events: auto;
}

.conditions-instrument { width: 500px; flex: 0 0 500px; }
.landscape-instrument { width: 560px; flex: 0 0 560px; }

@keyframes conditions-instrument-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.conditions-instrument-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.landscape-instrument-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.landscape-instrument-header > span {
  color: var(--moss);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.landscape-instrument-header > strong {
  min-width: 0;
  max-width: 56%;
  color: var(--moss-2);
  font-size: 8px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-align: right;
  text-transform: uppercase;
  white-space: normal;
}

.landscape-readings {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
  padding: 14px 8px;
}

.landscape-reading {
  min-width: 0;
  padding: 0 13px;
  border-right: 1px solid var(--line);
}

.landscape-reading:last-child { border-right: 0; }

.landscape-reading > small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landscape-reading > strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1;
  white-space: nowrap;
}

.landscape-reading > strong em {
  color: var(--moss-2);
  font-family: inherit;
  font-size: 15px;
  font-style: normal;
}

.landscape-reading > span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.35;
}

.landscape-direction > strong {
  color: #a84428;
  overflow-wrap: anywhere;
  white-space: normal;
}

.landscape-instrument-footer {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 126px;
  padding: 13px 18px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.4;
}

.landscape-exposure-summary {
  position: relative;
  display: grid;
  gap: 4px;
}

.landscape-exposure-summary strong {
  color: var(--moss);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.landscape-exposure-summary strong.is-low { color: #237848; }
.landscape-exposure-summary strong.is-medium { color: #c27617; }
.landscape-exposure-summary strong.is-high { color: #b93f28; }

.landscape-exposure-summary > span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
}

.exposure-help-bubble {
  position: fixed;
  z-index: 3000;
  width: min(224px, calc(100vw - 24px));
  padding: 17px 18px;
  border: 1px solid rgba(21, 33, 25, 0.24);
  color: var(--ink);
  background: rgba(255, 253, 247, 0.99);
  box-shadow: 0 14px 30px rgba(21, 33, 25, 0.22);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  pointer-events: none;
}

.landscape-instrument-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.48;
}

.landscape-instrument-footer > small {
  color: var(--moss);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landscape-evidence-mix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 2px;
}

.landscape-evidence-mix[hidden] { display: none; }

.landscape-evidence-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.landscape-evidence-item {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(21, 33, 25, 0.12);
  background: #f4f1e8;
}

.landscape-evidence-item strong,
.landscape-evidence-item span,
.landscape-evidence-item small { display: block; }

.landscape-evidence-item strong {
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
}

.landscape-evidence-item span {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.landscape-evidence-item small {
  margin-top: 3px;
  overflow: hidden;
  color: #7a847c;
  font-size: 6px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conditions-instrument-header > span {
  color: var(--moss);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.conditions-instrument-header > strong {
  max-width: 58%;
  padding: 6px 8px;
  border: 1px solid rgba(71, 109, 80, 0.28);
  border-radius: 0;
  color: var(--moss-2);
  background: #eef3ea;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
}

.conditions-instrument.has-active-fire .conditions-instrument-header > strong {
  border-color: rgba(200, 70, 39, 0.34);
  color: #9d321d;
  background: #fae9e3;
}

.conditions-readings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px 8px;
}

.condition-reading {
  min-width: 0;
  padding: 0 10px;
  border-right: 1px solid var(--line);
}

.condition-reading:last-child { border-right: 0; }

.condition-reading > small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.condition-reading > div {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.condition-reading strong {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: clamp(21px, 2vw, 31px);
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.condition-reading strong em {
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.condition-wind strong {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1px 4px;
  align-items: baseline;
  font-size: 20px;
  line-height: 1;
}

#conditionsWindDirection {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#conditionsWindSpeed { font-size: 22px; }

.condition-icon { width: 27px; height: 44px; flex: 0 0 auto; }
.condition-temperature { color: #b65e2a; }
.condition-humidity { color: var(--ocean); }
.condition-wind { color: var(--ink); }

.condition-wind-dial {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(40, 71, 46, 0.48);
  border-radius: 50%;
  background: #f4f6f1;
}

.condition-wind-dial svg {
  width: 31px;
  height: 31px;
  transform-origin: 50% 50%;
  transition: transform 320ms ease;
}

.conditions-instrument-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conditions-instrument-footer svg { width: 18px; height: 18px; }
.conditions-instrument-footer small { font-size: 8px; text-align: right; }

.island-navigation {
  position: absolute;
  z-index: 900;
  bottom: 24px;
  left: calc(var(--panel-width) + (100% - var(--panel-width)) / 2);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(760px, calc(100% - var(--panel-width) - 48px));
  padding: 11px;
  border: 2px solid rgba(21, 33, 25, 0.28);
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 18px 44px rgba(21, 33, 25, 0.26);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.island-navigation > span {
  grid-column: 1 / -1;
  color: var(--moss);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.island-navigation button {
  min-width: 0;
  min-height: 54px;
  padding: 0 12px;
  border: 1px solid rgba(21, 33, 25, 0.16);
  color: var(--moss);
  background: #fffdf8;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.island-navigation button:hover,
.island-navigation button:focus-visible,
.island-navigation button.active {
  color: #fff;
  border-color: var(--moss);
  background: var(--moss);
  transform: translateY(-2px);
}

@media (min-width: 1081px) {
  .island-navigation {
    left: calc(var(--panel-width) + 24px);
    width: min(760px, calc(100% - var(--panel-width) - 350px));
    transform: none;
  }
}

.assessment-panel {
  position: absolute;
  z-index: 850;
  top: 18px;
  left: 18px;
  width: min(var(--panel-width), calc(100vw - 210px));
  max-height: calc(100% - 36px);
  overflow: visible;
  border: 0;
  background: transparent;
  scrollbar-color: rgba(40, 71, 46, 0.38) transparent;
}

.assessment-panel.has-selection {
  bottom: 18px;
  overflow-y: auto;
  border: 1px solid rgba(21, 33, 25, 0.18);
  background: rgba(255, 253, 247, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.assessment-panel.has-selection .search-wrap {
  position: sticky;
  top: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.empty-state {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100% - 81px);
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(40, 71, 46, 0.08), transparent 36%),
    linear-gradient(160deg, #fffdf7 0%, #f4eddd 100%);
}

.kicker {
  color: var(--lava);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.empty-state h2 {
  margin: 12px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3.3vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.empty-state > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.source-count {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.source-count strong {
  color: var(--moss);
  font-family: Georgia, serif;
  font-size: 28px;
}

.source-count span {
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.island-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.island-list span {
  padding: 6px 8px;
  color: var(--moss);
  background: #e6edde;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.empty-state .fine-print {
  margin-top: 20px;
  font-size: 10px;
}

.assessment-content { padding: 14px 24px 18px; }

.property-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.property-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.report-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 5px 6px 5px 15px;
  border: 1px solid rgba(21, 33, 25, 0.2);
  color: #fff;
  background: var(--moss);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.report-button:hover,
.report-button:focus-visible {
  background: var(--moss-2);
  transform: translateY(-1px);
}

.report-score {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-content: center;
  border-radius: 50%;
  color: var(--ink);
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 56%),
    conic-gradient(var(--overall-score-color) 0 var(--overall-score), rgba(255, 255, 255, 0.24) var(--overall-score) 360deg);
  text-align: center;
}

.report-score strong,
.report-score small { display: block; }

.report-score strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 0.95;
}

.report-score small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 6px;
  letter-spacing: 0.06em;
}

.report-button.is-generated #downloadReportLabel { color: #fff4c8; }

.overall-score {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 7px solid var(--gold);
  border-radius: 50%;
  background: #fff;
}

.overall-score strong {
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 0.9;
}

.overall-score span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.factor-list {
  display: grid;
  gap: 16px;
}

.context-category {
  --category-color: var(--gold);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: 100%;
  padding: 27px 24px;
  overflow: hidden;
  border: 1px solid rgba(21, 33, 25, 0.18);
  color: var(--ink);
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.context-category-copy { padding-right: 76px; }

.category-score {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 56%),
    conic-gradient(var(--category-score-color) 0 var(--category-score), #e1e5df var(--category-score) 360deg);
  box-shadow: inset 0 0 0 1px rgba(21, 33, 25, 0.08);
  text-align: center;
}

.category-score strong,
.category-score small { display: block; }

.category-score strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.category-score small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.context-category.is-loading .category-score { opacity: 0.56; }

.category-check {
  position: absolute;
  right: 36px;
  bottom: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(21, 33, 25, 0.42);
  color: transparent;
  background: #fff;
  box-shadow: 0 4px 12px rgba(21, 33, 25, 0.08);
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.category-check svg {
  width: 23px;
  height: 23px;
}

.category-check path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.context-category.is-active .category-check {
  border-color: var(--moss);
  color: #fff;
  background: var(--moss);
  transform: scale(1.06);
}

.slope-arrow-head {
  width: 54px;
  height: 54px;
  transform-origin: center;
  filter: drop-shadow(0 3px 1px rgba(21, 33, 25, 0.26));
}

.slope-arrow-head svg { overflow: visible; }

.slope-arrow-head path {
  fill: none;
  stroke: #f5b73c;
  stroke-width: var(--slope-head-width, 8);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wind-humidity-arrow-head {
  width: 54px;
  height: 54px;
  transform-origin: center;
  filter: drop-shadow(0 3px 1px rgba(24, 89, 137, 0.25));
}

.wind-humidity-arrow-head svg { overflow: visible; }

.wind-humidity-arrow-head path {
  fill: none;
  stroke: #2384bd;
  stroke-width: var(--wind-head-width, 7);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slope-readout {
  padding: 12px 14px !important;
  border: 2px solid rgba(21, 33, 25, 0.78) !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: rgba(21, 33, 25, 0.94) !important;
  box-shadow: 0 12px 28px rgba(21, 33, 25, 0.24) !important;
}

.slope-readout.leaflet-tooltip-right::before { border-right-color: rgba(21, 33, 25, 0.94) !important; }
.slope-readout.leaflet-tooltip-left::before { border-left-color: rgba(21, 33, 25, 0.94) !important; }
.slope-readout.leaflet-tooltip-top::before { border-top-color: rgba(21, 33, 25, 0.94) !important; }
.slope-readout.leaflet-tooltip-bottom::before { border-bottom-color: rgba(21, 33, 25, 0.94) !important; }

.historic-fire-tooltip.leaflet-tooltip {
  min-width: 230px;
  max-width: 300px;
  padding: 14px 16px !important;
  border: 2px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 2px !important;
  color: #fff !important;
  background: rgba(46, 24, 19, 0.96) !important;
  box-shadow: 0 16px 38px rgba(35, 17, 13, 0.34) !important;
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  pointer-events: none;
}

.historic-fire-tooltip.leaflet-tooltip-right::before { border-right-color: rgba(46, 24, 19, 0.96) !important; }
.historic-fire-tooltip.leaflet-tooltip-left::before { border-left-color: rgba(46, 24, 19, 0.96) !important; }
.historic-fire-tooltip.leaflet-tooltip-top::before { border-top-color: rgba(46, 24, 19, 0.96) !important; }
.historic-fire-tooltip.leaflet-tooltip-bottom::before { border-bottom-color: rgba(46, 24, 19, 0.96) !important; }

.historic-fire-tooltip strong,
.historic-fire-tooltip span,
.historic-fire-tooltip small {
  display: block;
}

.historic-fire-tooltip__eyebrow {
  margin-bottom: 5px;
  color: #f2b24c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.historic-fire-tooltip strong {
  margin-bottom: 9px;
  font-size: 18px;
  line-height: 1.08;
}

.historic-fire-tooltip span:not(.historic-fire-tooltip__eyebrow) {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.historic-fire-tooltip span b {
  display: inline-block;
  min-width: 78px;
  color: #f2c475;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.historic-fire-tooltip small {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.slope-readout strong,
.slope-readout span,
.slope-readout em { display: block; }

.slope-readout strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1;
}

.slope-readout span {
  margin-top: 4px;
  color: #f5b73c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slope-readout em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.exposure-arrow-head {
  width: 38px;
  height: 38px;
  transform-origin: center;
  filter: drop-shadow(0 2px 2px rgba(96, 40, 22, 0.22));
}

.exposure-arrow-head svg { overflow: visible; }

.exposure-arrow-head path {
  fill: none;
  stroke: #d7663d;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.exposure-flow-readout {
  width: 260px;
  padding: 12px 14px !important;
  border: 1px solid rgba(91, 45, 28, 0.34) !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  background: rgba(255, 253, 247, 0.95) !important;
  box-shadow: 0 10px 26px rgba(21, 33, 25, 0.18) !important;
  white-space: normal !important;
}

.exposure-flow-readout.leaflet-tooltip-right::before { border-right-color: rgba(255, 253, 247, 0.95) !important; }
.exposure-flow-readout.leaflet-tooltip-left::before { border-left-color: rgba(255, 253, 247, 0.95) !important; }
.exposure-flow-readout.leaflet-tooltip-top::before { border-top-color: rgba(255, 253, 247, 0.95) !important; }
.exposure-flow-readout.leaflet-tooltip-bottom::before { border-bottom-color: rgba(255, 253, 247, 0.95) !important; }

.exposure-flow-readout strong,
.exposure-flow-readout span,
.exposure-flow-readout em,
.exposure-flow-readout small { display: block; }

.exposure-flow-readout strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.05;
}

.exposure-flow-readout span {
  margin-top: 5px;
  color: #a84428;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.exposure-flow-readout em {
  margin-top: 5px;
  color: #3f5947;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.exposure-flow-readout small {
  margin-top: 7px;
  color: #667067;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.map-arrow-help {
  width: 210px;
  padding: 15px 16px !important;
  border: 1px solid rgba(21, 33, 25, 0.24) !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  background: rgba(255, 253, 247, 0.98) !important;
  box-shadow: 0 10px 24px rgba(21, 33, 25, 0.18) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}

.map-arrow-help strong {
  display: block;
  margin-bottom: 5px;
  color: var(--moss);
  font-size: 15px;
}

.map-arrow-help--large {
  width: min(330px, calc(100vw - 48px));
  padding: 18px 20px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
}

.map-arrow-help--large strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.map-arrow-label {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  padding: 2px 5px;
  color: #0c120e;
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88);
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
  transform-origin: center;
  white-space: nowrap;
  pointer-events: none;
}

.map-arrow-label--exposure {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.map-arrow-label--wind { color: #102b3f; }
.map-arrow-label--slope { color: #1b2119; }

.route-inline-label {
  position: absolute;
  left: 0;
  top: 0;
  color: #050706;
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  font-size: var(--route-label-size, 14px);
  font-weight: 1000;
  letter-spacing: 0.015em;
  line-height: 1;
  text-shadow:
    -2px -2px 0 rgba(255, 255, 255, 0.96),
    2px -2px 0 rgba(255, 255, 255, 0.96),
    -2px 2px 0 rgba(255, 255, 255, 0.96),
    2px 2px 0 rgba(255, 255, 255, 0.96),
    0 2px 5px rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  transform-origin: center;
  white-space: nowrap;
  pointer-events: none;
}

.context-category-evacuation { --category-color: var(--moss-2); }
.context-category-landscape { --category-color: var(--gold); }
.context-category-conditions { --category-color: var(--ocean); }

.context-category::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--category-color);
  content: "";
}

.context-category:hover,
.context-category:focus-visible {
  border-color: rgba(40, 71, 46, 0.55);
  box-shadow: 0 12px 26px rgba(21, 33, 25, 0.12);
  outline: 0;
  transform: translateY(-2px);
}

.context-category.is-active {
  border-color: var(--moss);
  background: linear-gradient(105deg, #f5f8f1 0%, #fff 70%);
  box-shadow: inset 0 0 0 1px var(--moss), 0 14px 30px rgba(21, 33, 25, 0.14);
}

.context-category-copy,
.context-category-copy > * { display: block; }

.context-category-copy small {
  margin-bottom: 6px;
  color: var(--lava);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.context-category-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.08;
}

.context-category-copy > span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.context-category-copy em {
  max-width: 100%;
  margin-top: 11px;
  color: var(--moss-2);
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.factor-card {
  --factor-score: 0%;
  --factor-color: var(--gold);
  position: relative;
  padding: 13px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.factor-card.is-active {
  border-color: rgba(40, 71, 46, 0.44);
  box-shadow: inset 3px 0 0 var(--moss);
}

.factor-heading {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.factor-index {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #fff;
  background: var(--moss);
  font-size: 9px;
  font-weight: 900;
}

.factor-title strong,
.factor-title span { display: block; }

.factor-title strong { font-size: 12px; }

.factor-title span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.layer-checkbox {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(40, 71, 46, 0.3);
  background: #f7f4ea;
  cursor: pointer;
}

.layer-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.layer-checkbox span::before {
  content: "+";
  color: var(--moss);
  font-size: 20px;
  line-height: 1;
}

.layer-checkbox input:checked + span::before {
  content: "✓";
  color: #fff;
}

.layer-checkbox:has(input:checked) {
  border-color: var(--moss);
  background: var(--moss);
}

.factor-copy {
  margin: 10px 0 9px;
  color: #536157;
  font-size: 10px;
  line-height: 1.42;
}

.factor-measure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 900;
}

.factor-measure span { color: var(--muted); }

.factor-measure strong { color: var(--ink); }

.factor-bar-wrap {
  position: relative;
  height: 13px;
  overflow: visible;
  background: linear-gradient(90deg, #2e8b57 0%, #d7b43c 52%, #c84627 100%);
}

.factor-bar-mask {
  position: absolute;
  inset: 0 0 0 var(--factor-score);
  background: rgba(236, 235, 226, 0.92);
  transition: left 500ms cubic-bezier(.2, .75, .2, 1);
}

.factor-bar-marker {
  position: absolute;
  top: -3px;
  left: var(--factor-score);
  width: 3px;
  height: 19px;
  background: var(--ink);
  transform: translateX(-1px);
  transition: left 500ms cubic-bezier(.2, .75, .2, 1);
}

.factor-tooltip {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 35px;
  width: min(300px, calc(100% - 24px));
  padding: 10px 11px;
  color: #fff;
  background: rgba(21, 33, 25, 0.97);
  box-shadow: 0 10px 24px rgba(21, 33, 25, 0.22);
  font-size: 10px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: 140ms ease;
  pointer-events: none;
}

.factor-bar-wrap:hover + .factor-tooltip,
.factor-bar-wrap:focus-within + .factor-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.factor-card.is-loading .factor-bar-wrap { opacity: 0.38; }

.history-dock {
  position: absolute;
  z-index: 910;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
  width: min(300px, calc(100vw - var(--panel-width) - 48px));
}

.history-control {
  width: 100%;
  padding: 14px 16px 12px;
  border: 1px solid rgba(21, 33, 25, 0.17);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 28px rgba(21, 33, 25, 0.13);
  backdrop-filter: blur(10px);
}

.history-control-heading {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 16px;
}

.history-control strong {
  color: var(--lava);
  font-family: Georgia, serif;
  font-size: 24px;
}

.history-control-heading > span {
  color: var(--lava);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.history-control-heading small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.history-control input {
  width: 100%;
  margin: 10px 0 1px;
  accent-color: var(--lava);
}

.history-range-labels {
  display: flex;
  justify-content: space-between;
}

.history-range-labels span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
}

.history-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 215px;
  min-height: 64px;
  padding: 10px 14px;
  border: 2px solid rgba(21, 33, 25, 0.32);
  color: var(--ink);
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 14px 34px rgba(21, 33, 25, 0.2);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.history-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.history-toggle-check {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--moss);
  background: #fff;
}

.history-toggle-check svg { width: 22px; height: 22px; }

.history-toggle-check path {
  fill: none;
  stroke: transparent;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-toggle > span:last-child { display: grid; gap: 1px; }

.history-toggle small {
  color: var(--lava);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.history-toggle strong { font-size: 15px; }

.history-toggle:has(input:checked) {
  border-color: var(--moss);
  color: #fff;
  background: var(--moss);
}

.history-toggle input:checked + .history-toggle-check {
  border-color: #fff;
  background: var(--lava);
}

.history-toggle input:checked + .history-toggle-check path { stroke: #fff; }
.history-toggle:has(input:focus-visible) { outline: 3px solid rgba(200, 70, 39, 0.35); outline-offset: 3px; }

.risk-overview-dot {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(21, 33, 25, 0.35);
}

.weather-arrow { animation: windPulse 3.6s ease-in-out infinite; }

@keyframes windPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-1px); }
  50% { opacity: 1; transform: translateX(2px); }
}

.fire-marker {
  font-size: 25px;
  filter: drop-shadow(0 2px 3px rgba(60, 20, 8, 0.42));
}

.terrain-probe {
  border: 1px solid rgba(21, 33, 25, 0.25) !important;
  color: var(--ink) !important;
  background: rgba(255, 253, 247, 0.98) !important;
  box-shadow: 0 12px 28px rgba(21, 33, 25, 0.2) !important;
  font-size: 11px;
  line-height: 1.45;
}

.terrain-probe::before { border-top-color: rgba(255, 253, 247, 0.98) !important; }

.lock {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(17, 38, 24, 0.94), rgba(17, 38, 24, 0.5)),
    url("../assets/heeia_oahu_usgs.jpg") center / cover,
    #1a3320;
}

.lock[hidden] { display: none; }

.lock-card {
  width: min(560px, 100%);
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(21, 33, 25, 0.86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.lock-card .kicker { color: #f1c264; }

.lock-card h1 {
  margin: 13px 0;
  font-family: Georgia, serif;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.lock-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.unlock-row { display: flex; gap: 8px; margin-top: 20px; }

.unlock-row input {
  min-width: 0;
  flex: 1;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.unlock-row button {
  padding: 0 17px;
  border: 0;
  color: var(--ink);
  background: #f1c264;
  font-weight: 900;
  cursor: pointer;
}

.lock-error { color: #ffd0c6 !important; font-weight: 800; }

.mobile-panel-button { display: none; }

@media (max-width: 1500px) and (min-width: 761px) {
  .context-instruments {
    top: 80px;
    right: auto;
    display: grid;
    grid-template-columns: minmax(0, 460px);
  }

  .landscape-instrument { width: 460px; }
  .conditions-instrument { width: 430px; }
}

@media (max-width: 1080px) {
  .assessment-panel { width: min(470px, calc(100vw - 180px)); }
  :root { --panel-width: 470px; }
  .context-instruments {
    left: calc(var(--panel-width) + 26px);
    right: 250px;
    display: grid;
    grid-template-columns: minmax(350px, 430px);
  }
  .conditions-instrument,
  .landscape-instrument { width: 100%; }
  .condition-reading { padding: 0 10px; }
  .conditions-instrument-header { padding-inline: 18px; }
}

@media (max-width: 760px) {
  .floating-home-button {
    top: 18px;
    right: 18px;
    min-width: 154px;
    min-height: 58px;
    padding: 0 24px;
    font-size: 17px;
  }

  .search-field { min-height: 44px; }
  .location-button span { display: none; }
  .location-button { width: 42px; justify-content: center; padding: 0; }

  .mobile-panel-button {
    position: fixed;
    z-index: 1240;
    top: 26px;
    left: 18px;
    display: block;
    min-height: 42px;
    padding: 0 13px;
    border: 0;
    color: #fff;
    background: var(--moss);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .map-stage { inset: 0; }
  .assessment-panel {
    top: auto;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: 72vh;
    transform: translateY(calc(100% + 20px));
    transition: transform 220ms ease;
  }

  .assessment-panel.is-open {
    z-index: 1050;
    transform: translateY(0);
  }
  .empty-state { min-height: 360px; padding: 25px; }
  .assessment-content { padding: 18px; }
  .history-dock {
    right: 8px;
    bottom: 140px;
    width: calc(100% - 16px);
  }
  .history-toggle { min-width: 204px; min-height: 58px; }
  .map-background-controls { top: 88px; right: 8px; }
  .basemap-controls button { min-height: 46px; padding: 0 12px; }
  .map-stage .leaflet-top.leaflet-right { top: 146px; }
  .context-instruments {
    top: 146px;
    right: 62px;
    left: 8px;
    display: flex;
    max-height: 64vh;
    flex-direction: column;
    overflow-y: auto;
  }
  .conditions-instrument,
  .landscape-instrument { width: 100%; flex: 0 0 auto; border-radius: 0; }
  .landscape-instrument-header { min-height: 48px; padding: 9px 14px; }
  .landscape-instrument-header > span { font-size: 11px; }
  .landscape-instrument-header > strong { max-width: 58%; font-size: 7px; }
  .landscape-readings { padding: 11px 4px; }
  .landscape-reading { padding: 0 7px; }
  .landscape-reading > small { font-size: 7px; }
  .landscape-reading > strong { font-size: 20px; }
  .landscape-reading > strong em { font-size: 11px; }
  .landscape-reading > span { font-size: 7px; }
  .landscape-instrument-footer { padding: 8px 12px; font-size: 7px; }
  .landscape-exposure-summary strong { font-size: 15px; }
  .landscape-exposure-summary > span { font-size: 20px; }
  .landscape-instrument-footer p { font-size: 13px; }
  .landscape-evidence-mix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landscape-evidence-item strong { font-size: 15px; }
  .conditions-instrument-header { min-height: 48px; padding: 9px 14px; }
  .conditions-instrument-header > span { font-size: 11px; }
  .conditions-instrument-header > strong { max-width: 62%; font-size: 8px; }
  .conditions-readings { padding: 12px 5px; }
  .condition-reading { padding: 0 6px; }
  .condition-reading > small { margin-bottom: 7px; font-size: 7px; }
  .condition-reading > div { min-height: 44px; gap: 5px; }
  .condition-reading strong { font-size: 18px; }
  .condition-reading strong em { font-size: 7px; }
  .condition-icon { width: 21px; height: 38px; }
  .condition-wind-dial { width: 38px; height: 38px; }
  .condition-wind-dial svg { width: 26px; height: 26px; }
  .conditions-instrument-footer { min-height: 38px; padding: 7px 14px; font-size: 8px; }
  .conditions-instrument-footer small { display: none; }
  .property-heading { grid-template-columns: minmax(0, 1fr); }
  .report-button { width: 100%; justify-content: space-between; }
  .context-category {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 20px 14px;
  }
  .context-category-copy { padding-right: 0; }
  .context-category-copy small,
  .context-category-copy strong { padding-right: 58px; }
  .context-category-copy strong { font-size: 26px; }
  .context-category-copy > span { font-size: 15px; line-height: 1.42; }
  .context-category-copy em { padding-right: 42px; font-size: 13px; }
  .category-score {
    top: 16px;
    right: 14px;
    width: 54px;
    height: 54px;
  }
  .category-score strong { font-size: 12px; }
  .category-check { right: 16px; bottom: 18px; width: 31px; height: 31px; }
  .island-navigation {
    right: 8px;
    bottom: 8px;
    left: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    width: auto;
    padding: 8px;
    transform: none;
  }
  .island-navigation button {
    min-width: 0;
    min-height: 45px;
    padding: 0 3px;
    font-size: 10px;
  }
  .island-navigation > span { font-size: 9px; }
}

body.autodemo {
  overflow: hidden;
}

body.autodemo .lock,
body.autodemo .floating-home-button,
body.autodemo .mobile-panel-button {
  display: none !important;
}

body.showcase .demo-cursor {
  display: none !important;
}

body.autodemo .tool-shell,
body.autodemo .map-stage {
  min-height: 100vh;
  height: 100vh;
}

body.autodemo .assessment-panel,
body.autodemo .map-background-controls,
body.autodemo .island-navigation,
body.autodemo .context-instruments,
body.autodemo .history-dock,
body.autodemo .large-map-zoom,
body.autodemo .map-edge-pan-control {
  z-index: 760;
}

body.autodemo .map-background-controls {
  top: 16px;
  right: 16px;
}

body.autodemo .map-stage .leaflet-top.leaflet-right {
  top: 66px;
}

body.autodemo .context-instruments {
  top: 18px;
  right: 176px;
}

@media (max-width: 760px) {
  body.autodemo .map-background-controls {
    top: 8px;
    right: 8px;
  }

  body.autodemo .map-stage .leaflet-top.leaflet-right {
    top: 58px;
  }

  body.autodemo .context-instruments {
    top: 68px;
    right: 62px;
    left: 8px;
  }
}

.demo-cursor {
  position: fixed;
  z-index: 5000;
  top: -4px;
  left: -4px;
  width: 35px;
  height: 45px;
  transform: translate3d(50vw, 50vh, 0);
  transition-property: transform;
  transition-duration: 800ms;
  transition-timing-function: cubic-bezier(0.22, 0.76, 0.22, 1);
  pointer-events: none;
  filter: drop-shadow(0 4px 3px rgba(10, 17, 11, 0.35));
}

.demo-cursor svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.demo-cursor svg path {
  fill: #fffdf7;
  stroke: #152119;
  stroke-width: 2.8;
  stroke-linejoin: round;
}

.demo-cursor i {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 9px;
  width: 18px;
  height: 18px;
  border: 3px solid #c84627;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.25);
}

.demo-cursor.is-clicking i {
  animation: demo-click-ring 360ms ease-out;
}

@keyframes demo-click-ring {
  0% { opacity: 0.95; transform: scale(0.25); }
  100% { opacity: 0; transform: scale(2.1); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-cursor {
    transition-duration: 1ms !important;
  }
}

/* Guided live-tool tour --------------------------------------------------- */
.tool-tutorial {
  position: fixed;
  z-index: 1900;
  inset: 0;
  pointer-events: none;
}

.tutorial-target {
  position: fixed;
  z-index: 1901;
  border: 4px solid #f1b64b;
  border-radius: 14px;
  box-shadow:
    0 0 0 9999px rgba(7, 14, 9, 0.62),
    0 0 0 9px rgba(241, 182, 75, 0.18),
    0 14px 40px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: top 320ms ease, right 320ms ease, bottom 320ms ease, left 320ms ease, width 320ms ease, height 320ms ease, opacity 180ms ease;
}

.tutorial-target-secondary {
  box-shadow:
    0 0 0 9px rgba(241, 182, 75, 0.18),
    0 14px 40px rgba(0, 0, 0, 0.34);
}

.tool-tutorial.is-ready .tutorial-target { opacity: 1; }

.tutorial-arrow {
  position: fixed;
  z-index: 1902;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.32));
}

.tutorial-arrow > path {
  fill: none;
  stroke: #f1b64b;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tutorial-arrow > path[hidden] { display: none; }

.tutorial-arrow marker path { fill: #f1b64b; }

.tutorial-card {
  position: fixed;
  z-index: 1903;
  width: min(760px, calc(100vw - 64px));
  max-height: calc(100vh - 48px);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-top: 10px solid #f1b64b;
  border-radius: 4px 4px 20px 4px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(241, 182, 75, 0.16), transparent 14rem),
    #14271a;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  overflow-y: auto;
  pointer-events: auto;
  transition: top 260ms ease, right 260ms ease, bottom 260ms ease, left 260ms ease, opacity 150ms ease, transform 150ms ease;
}

.tutorial-card:focus { outline: 0; }

.tutorial-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.tutorial-card header span {
  color: #f1b64b;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.tutorial-card header button,
.tutorial-back {
  padding: 7px 0;
  border: 0;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-size: 17px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

#tutorialSkip {
  font-size: 18px;
}

.tutorial-card header button:hover,
.tutorial-card header button:focus-visible,
.tutorial-back:hover,
.tutorial-back:focus-visible { color: #fff; }

.tutorial-card h2 {
  margin: 0;
  color: #fff;
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(44px, 4.5vw, 62px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.tutorial-card p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 23px;
  font-weight: 650;
  line-height: 1.48;
}

.tutorial-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
}

.tutorial-back:disabled {
  opacity: 0.25;
  cursor: default;
}

.tutorial-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-width: 196px;
  min-height: 68px;
  padding: 0 28px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #14271a;
  background: #f1b64b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.tutorial-next:hover,
.tutorial-next:focus-visible {
  background: #ffd071;
  transform: translateY(-2px);
}

.tutorial-next span { font-size: 28px; line-height: 1; }

.tutorial-home-pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 8px;
  color: #fff;
  background: #c84627;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), 0 0 0 9px rgba(200, 70, 39, 0.24);
  font-size: 16px;
  font-weight: 900;
  transform: rotate(-45deg);
  animation: tutorialPinPulse 1.7s ease-in-out infinite;
}

.tutorial-home-pin span { transform: rotate(45deg); }

@keyframes tutorialPinPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), 0 0 0 7px rgba(200, 70, 39, 0.18); }
  50% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42), 0 0 0 14px rgba(200, 70, 39, 0.28); }
}

body.tutorial-active .floating-home-button {
  opacity: 0.42;
  pointer-events: none;
}

@media (max-width: 760px) {
  .tutorial-card {
    right: 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    width: auto;
    max-height: calc(100vh - 24px);
    padding: 25px;
  }

  .tutorial-card.is-mobile-top {
    top: 84px !important;
    bottom: auto !important;
  }

  .tutorial-card header { margin-bottom: 22px; }
  .tutorial-card header span { font-size: 12px; }
  .tutorial-card header button,
  .tutorial-back { font-size: 14px; }
  #tutorialSkip { font-size: 15px; }
  .tutorial-card h2 { font-size: 36px; }
  .tutorial-card p { font-size: 18px; }
  .tutorial-card footer { margin-top: 25px; }
  .tutorial-next { min-width: 150px; min-height: 54px; font-size: 16px; }
  .tutorial-arrow { opacity: 0.72; }
}

@media (prefers-reduced-motion: reduce) {
  .tutorial-target,
  .tutorial-card { transition: none; }
  .tutorial-home-pin { animation: none; }
}

/* Mobile application polish --------------------------------------------- */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html,
body,
.tool-shell,
.map-stage {
  min-height: 100%;
  min-height: 100dvh;
  height: 100%;
  height: 100dvh;
}

button,
label,
a,
input[type="range"] {
  touch-action: manipulation;
}

@media (max-width: 760px) {
  html,
  body {
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
  }

  .floating-home-button {
    top: calc(12px + var(--safe-top));
    right: calc(12px + var(--safe-right));
    min-width: 148px;
    min-height: 54px;
    padding-inline: 22px;
    font-size: 17px;
  }

  .mobile-panel-button {
    top: calc(18px + var(--safe-top));
    left: calc(12px + var(--safe-left));
    min-height: 46px;
    padding: 0 15px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 2px;
    box-shadow: 0 10px 26px rgba(21, 33, 25, 0.24);
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .map-background-controls {
    top: calc(78px + var(--safe-top));
    right: calc(8px + var(--safe-right));
  }

  .basemap-controls { gap: 5px; }

  .basemap-controls button {
    min-width: 74px;
    min-height: 46px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .map-stage .leaflet-top.leaflet-right {
    top: calc(132px + var(--safe-top));
    right: var(--safe-right);
  }

  .map-stage .leaflet-control-attribution {
    max-width: calc(100vw - 16px - var(--safe-left) - var(--safe-right));
    overflow: hidden;
    font-size: 8px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .assessment-panel {
    right: calc(8px + var(--safe-right));
    bottom: calc(8px + var(--safe-bottom));
    left: calc(8px + var(--safe-left));
    max-height: calc(100dvh - 88px - var(--safe-top) - var(--safe-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .assessment-panel.is-open {
    border: 1px solid rgba(21, 33, 25, 0.2);
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 24px 60px rgba(21, 33, 25, 0.28);
  }

  .assessment-panel.has-selection {
    top: calc(78px + var(--safe-top));
    bottom: calc(8px + var(--safe-bottom));
    max-height: none;
  }

  .search-wrap {
    padding: 12px;
  }

  .search-field {
    min-height: 50px;
    padding-inline: 10px;
  }

  .search-field input {
    font-size: 18px;
  }

  .search-results {
    right: 12px;
    left: 12px;
    max-height: calc(100dvh - 180px - var(--safe-top) - var(--safe-bottom));
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .result-button {
    min-height: 58px;
    padding: 12px 13px;
  }

  .result-title { font-size: 14px; }
  .result-meta { font-size: 12px; }

  .assessment-content {
    padding: 14px 12px calc(18px + var(--safe-bottom));
  }

  .property-heading h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .context-category {
    min-height: 154px;
    padding: 18px 12px;
  }

  .context-category-copy small { font-size: 11px; }
  .context-category-copy strong { font-size: clamp(24px, 7vw, 28px); }
  .context-category-copy > span { font-size: 15px; }
  .context-category-copy em { font-size: 13px; }

  .island-navigation {
    right: calc(8px + var(--safe-right));
    bottom: calc(8px + var(--safe-bottom));
    left: calc(8px + var(--safe-left));
    gap: 5px;
    padding: 8px;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .island-navigation > span {
    font-size: 10px;
    line-height: 1.2;
  }

  .island-navigation button {
    min-height: 46px;
    font-size: 11px;
  }

  .history-dock {
    right: calc(8px + var(--safe-right));
    bottom: calc(144px + var(--safe-bottom));
    width: min(258px, calc(100% - 16px - var(--safe-left) - var(--safe-right)));
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .history-toggle {
    min-width: 0;
    width: 100%;
    min-height: 58px;
  }

  .history-toggle small { font-size: 9px; }
  .history-toggle strong { font-size: 16px; }
  .history-control-heading > span { font-size: 10px; }
  .history-control-heading small { font-size: 11px; }
  .history-range-labels span { font-size: 10px; }
  .history-control input { min-height: 28px; }

  body.mobile-assessment-open .island-navigation,
  body.mobile-assessment-open .history-dock {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }

  .context-instruments {
    top: calc(136px + var(--safe-top));
    right: calc(62px + var(--safe-right));
    left: calc(8px + var(--safe-left));
    max-height: calc(100dvh - 284px - var(--safe-top) - var(--safe-bottom));
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .landscape-instrument-header,
  .conditions-instrument-header {
    min-height: 50px;
    gap: 10px;
    padding: 10px 12px;
  }

  .landscape-instrument-header > span,
  .conditions-instrument-header > span {
    font-size: 11px;
    line-height: 1.2;
  }

  .landscape-instrument-header > strong,
  .conditions-instrument-header > strong {
    max-width: 56%;
    font-size: 10px;
    line-height: 1.3;
  }

  .landscape-readings,
  .conditions-readings {
    padding: 12px 5px;
  }

  .landscape-reading,
  .condition-reading {
    padding-inline: 7px;
  }

  .landscape-reading > small,
  .condition-reading > small {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .landscape-reading > strong { font-size: 22px; }
  .landscape-reading > strong em { font-size: 12px; }

  .landscape-reading > span {
    font-size: 10px;
    line-height: 1.3;
    white-space: normal;
  }

  .landscape-instrument-footer {
    gap: 8px;
    padding: 11px 12px;
    font-size: 10px;
  }

  .landscape-exposure-summary strong { font-size: 16px; }
  .landscape-exposure-summary > span { font-size: 20px; }
  .landscape-instrument-footer p { font-size: 13px; }
  .landscape-instrument-footer > small { font-size: 10px; }
  .landscape-evidence-note { font-size: 9px; }
  .landscape-evidence-item { padding: 8px; }
  .landscape-evidence-item strong { font-size: 16px; }

  .landscape-evidence-item span,
  .landscape-evidence-item small {
    overflow: visible;
    font-size: 9px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
  }

  .condition-reading > div { min-height: 48px; }
  .condition-reading strong { font-size: 19px; }
  .condition-reading strong em { font-size: 10px; }
  #conditionsWindDirection { font-size: 10px; }
  #conditionsWindSpeed { font-size: 21px; }

  .conditions-instrument-footer {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .historic-fire-tooltip.leaflet-tooltip {
    min-width: min(260px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
  }

  .historic-fire-tooltip span:not(.historic-fire-tooltip__eyebrow) { font-size: 13px; }
  .historic-fire-tooltip span b { font-size: 10px; }
  .historic-fire-tooltip small { font-size: 11px; }

  .exposure-help-bubble {
    right: calc(12px + var(--safe-right));
    bottom: calc(12px + var(--safe-bottom));
    left: calc(12px + var(--safe-left)) !important;
    top: auto !important;
    width: auto;
    max-height: min(42dvh, 280px);
    overflow-y: auto;
    font-size: 15px;
  }

  .tutorial-card {
    right: calc(12px + var(--safe-right)) !important;
    bottom: calc(12px + var(--safe-bottom)) !important;
    left: calc(12px + var(--safe-left)) !important;
    max-height: calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom));
    padding: 23px;
    overscroll-behavior: contain;
  }

  .tutorial-card.is-mobile-top {
    top: calc(74px + var(--safe-top)) !important;
    bottom: auto !important;
  }

  .tutorial-card h2 { font-size: clamp(30px, 9vw, 36px); }
  .tutorial-card p { font-size: 17px; }
  .tutorial-next { min-height: 52px; }
}

@media (max-width: 370px) {
  .floating-home-button {
    right: calc(8px + var(--safe-right));
    min-width: 126px;
    min-height: 50px;
    padding-inline: 18px;
    font-size: 16px;
  }

  .mobile-panel-button {
    left: calc(8px + var(--safe-left));
    min-height: 44px;
    padding-inline: 11px;
    font-size: 10px;
  }

  .basemap-controls button {
    min-width: 66px;
    padding-inline: 9px;
    font-size: 12px;
  }

  .context-instruments {
    right: calc(58px + var(--safe-right));
    max-height: calc(100dvh - 342px - var(--safe-top) - var(--safe-bottom));
  }
  .context-category { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .context-category-copy small,
  .context-category-copy strong { padding-right: 52px; }
  .context-category-copy strong { font-size: 22px; }
  .category-score { width: 48px; height: 48px; }
  .category-check { width: 29px; height: 29px; }

  .island-navigation button {
    min-height: 44px;
    font-size: 10px;
  }

  .landscape-reading > span,
  .landscape-reading > small,
  .condition-reading > small { font-size: 10px; }
  .landscape-instrument-footer p { font-size: 12px; }
  .tutorial-card { padding: 19px; }
  .tutorial-card header { margin-bottom: 16px; }
  .tutorial-card p { margin-top: 17px; font-size: 16px; }
  .tutorial-card footer { margin-top: 18px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .floating-home-button {
    top: calc(8px + var(--safe-top));
    min-width: 124px;
    min-height: 44px;
  }

  .mobile-panel-button {
    top: calc(9px + var(--safe-top));
    min-height: 42px;
  }

  .map-background-controls {
    top: calc(60px + var(--safe-top));
  }

  .map-stage .leaflet-top.leaflet-right {
    top: calc(112px + var(--safe-top));
  }

  .assessment-panel.has-selection {
    top: calc(60px + var(--safe-top));
  }

  .island-navigation {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .island-navigation button {
    min-height: 42px;
    font-size: 9px;
  }

  .history-dock {
    bottom: calc(84px + var(--safe-bottom));
    width: 224px;
  }

  .history-toggle { min-height: 50px; }

  .context-instruments {
    top: calc(62px + var(--safe-top));
    right: calc(60px + var(--safe-right));
    max-height: calc(100dvh - 76px - var(--safe-top) - var(--safe-bottom));
  }

  .tutorial-card {
    right: calc(10px + var(--safe-right)) !important;
    bottom: calc(10px + var(--safe-bottom)) !important;
    left: auto !important;
    width: min(430px, calc(52vw - var(--safe-left) - var(--safe-right)));
    max-height: calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom));
    padding: 18px;
  }

  .tutorial-card.is-mobile-top {
    top: calc(10px + var(--safe-top)) !important;
  }

  .tutorial-card header { margin-bottom: 12px; }
  .tutorial-card h2 { font-size: 28px; }
  .tutorial-card p { margin-top: 12px; font-size: 15px; line-height: 1.35; }
  .tutorial-card footer { margin-top: 14px; }
  .tutorial-next { min-width: 128px; min-height: 44px; }
}

@media (hover: none), (pointer: coarse) {
  .floating-home-button:hover,
  .floating-home-button:focus-visible,
  .island-navigation button:hover,
  .context-category:hover,
  .report-button:hover,
  .tutorial-next:hover {
    transform: none;
  }

  .basemap-controls button,
  .island-navigation button,
  .context-category,
  .history-toggle,
  .mobile-panel-button,
  .floating-home-button {
    -webkit-tap-highlight-color: transparent;
  }
}

@media (min-width: 1081px) {
  .assessment-panel.has-selection {
    bottom: auto;
    max-height: none;
    overflow: visible;
    transform: scale(var(--assessment-panel-scale, 1));
    transform-origin: top left;
  }

  .context-instruments {
    display: flex;
  }

  .conditions-instrument {
    display: flex;
    width: 236px;
    min-height: 560px;
    flex: 0 0 236px;
    flex-direction: column;
  }

  .conditions-readings {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    flex: 1;
    padding: 0 16px;
  }

  .condition-reading {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .condition-reading:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .condition-reading > small {
    margin: 0;
    text-align: left;
  }

  .condition-reading > div {
    min-height: 0;
    justify-content: flex-start;
    gap: 7px;
  }

  .condition-reading strong { font-size: 22px; }
  .condition-reading strong em { font-size: 8px; }
  .condition-icon { width: 23px; height: 40px; }
  .condition-wind-dial { width: 40px; height: 40px; }
  .condition-wind-dial svg { width: 27px; height: 27px; }
  #conditionsWindSpeed { font-size: 20px; }

  .conditions-instrument-footer {
    grid-template-columns: auto 1fr;
    padding: 11px 14px;
  }

  .conditions-instrument-footer small {
    grid-column: 2;
    text-align: left;
  }
}

@media (min-width: 1081px) and (max-width: 1500px) {
  .conditions-instrument {
    width: 218px;
    min-height: 560px;
    flex-basis: 218px;
  }
}
