:root {
  color-scheme: light;
  --ink: #172a29;
  --teal: #075a50;
  --line: #cbdad6;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--ink);
  background: #f2f7f5;
}
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #133b35; color: white; }
nav, main { width: min(100% - 2rem, 68rem); margin: auto; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: .85rem 0; }
nav a { color: white; text-underline-offset: .25em; }
nav [aria-current] { font-weight: 750; }
main { padding: 2.75rem 0; }
h1, h2 { line-height: 1.15; margin: 0 0 .75rem; }
h1 { font: 700 clamp(2.25rem, 6vw, 4rem)/1.05 Georgia, serif; }
p { margin: 0 0 1rem; }
a { color: var(--teal); }
.intro { max-width: 65ch; font-size: 1.15rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1rem; margin-top: 1.5rem; align-items: start; }
.panel { background: white; border: 1px solid var(--line); border-radius: .85rem; padding: 1.25rem; }
ul, ol { padding-left: 1.25rem; margin: 0; }
li + li { margin-top: .55rem; }
label { display: block; font-weight: 650; }
input, select, textarea, button { font: inherit; }
input, select, textarea { width: 100%; border: 1px solid #829b95; border-radius: .4rem; padding: .4rem .55rem; background: white; color: inherit; }
textarea { resize: vertical; }
button { border: 1px solid var(--teal); border-radius: .4rem; background: var(--teal); color: white; padding: .45rem .85rem; cursor: pointer; }
.field { margin-bottom: .85rem; }
fieldset { margin: 1rem 0; border: 1px solid var(--line); border-radius: .4rem; }
legend { font-weight: 750; }
small { display: block; font-size: .9rem; }
.ratings { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
canvas { display: block; width: 100%; height: auto; }
#status { margin: .65rem 0 0; }

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  padding: 0;
  list-style: none;
}
.chart-legend li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.chart-key {
  width: 1.6rem;
  border-top: 3px solid;
}
.chart-key-preference {
  border-top-style: dashed;
  color: #217641;
}
.chart-key-property {
  color: #a64b0e;
}

.property-actions, .property-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.property-actions { gap: 1rem 1.5rem; margin-block: .75rem 1.25rem; }
.coverage-status { padding: .9rem 1rem; border: 1px solid #9a5713; border-left: .35rem solid #9a5713; border-radius: .35rem; background: #fff4df; color: #54310e; }
.coverage-status[hidden] { display: none; }
.property-map-link {
  background: #075a50;
  color: white;
  border-radius: .5rem;
  padding: .55rem .9rem;
  font-weight: 700;
}
.score-circle {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 2px solid #a64b0e;
  border-radius: 50%;
  color: #8e3e0a;
  font-weight: 750;
}
