/* Approved what-you-can-build design, using the InvestorEye theme tokens. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  background: var(--surface);
  color: var(--ink);
  font:
    400 15.5px/1.55 Inter,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}
.atmos {
  contain: strict;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.atmos .heat {
  position: absolute;
  inset: -14%;
  background:
    radial-gradient(
      38% 30% at 62% 18%,
      color-mix(in srgb, var(--down) 24%, transparent),
      transparent 70%
    ),
    radial-gradient(
      30% 26% at 30% 40%,
      rgb(var(--mline) / 0.14),
      transparent 72%
    ),
    radial-gradient(
      52% 44% at 70% 85%,
      color-mix(in srgb, var(--up) 8%, transparent),
      transparent 76%
    );
  filter: blur(4px);
}
.atmos .vig {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 90% at 50% 30%,
    transparent 40%,
    rgb(var(--gr) / 0.9) 100%
  );
}
.hexfield {
  position: absolute;
  right: 0;
  top: 40px;
  width: 70%;
  height: 620px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
main,
header,
.dock {
  position: relative;
  z-index: 2;
}
.shell {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
header .shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding-top: max(8px, env(safe-area-inset-top));
}
.ht {
  flex: 1;
  min-width: 0;
}
.ht b {
  display: block;
  font:
    500 19px/1.2 Inter,
    sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ht span {
  display: block;
  font-size: 14px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ib {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--rule);
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.ib svg {
  width: 20px;
  height: 20px;
}
.kick {
  display: flex;
  align-items: center;
  gap: 14px;
  font:
    600 12px/1 Inter,
    sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.kick:before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
  padding: 40px 0 28px;
}
h1 {
  font: 400 clamp(34px, 6vw, 58px) / 1.05 var(--o-display);
  letter-spacing: -0.025em;
  margin: 18px 0 14px;
}
h1 em,
h2 em {
  font-style: italic;
  color: var(--gold);
}
.meta {
  font:
    400 12.5px/1.9 "IBM Plex Mono",
    monospace;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}
.wheelbox {
  text-align: center;
}
.wheelbox h3 {
  font:
    600 17px Inter,
    sans-serif;
  margin-bottom: 10px;
}
.wheel {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  display: block;
}
.wheel .seg {
  fill: var(--card);
  stroke: var(--gold);
  stroke-width: 1.6;
  cursor: pointer;
  transition: fill 0.15s;
}
.wheel .seg:hover,
.wheel .seg.on {
  fill: var(--navy);
}
.wheel text {
  fill: var(--ink);
  font-family: Inter, sans-serif;
  text-anchor: middle;
  pointer-events: none;
}
.wheel .g {
  font: 700 30px var(--o-display);
  fill: var(--gold);
}
.wheel .g.no {
  fill: var(--down);
}
.wheel .g.yes {
  fill: var(--up);
}
.wheelbox p {
  font-size: 14px;
  color: var(--dim);
  margin-top: 8px;
  min-height: 44px;
}
.mapcard {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--field);
}
.mapcard svg {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 901px) {
  .mapcard svg {
    aspect-ratio: 16/9;
  }
}
.mapcard .open {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 9px 14px;
  font:
    600 13px Inter,
    sans-serif;
  color: var(--ink);
}
.mapcard .open i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--dim);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 11px;
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 0;
}
.tile {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 18px;
}
.tile b {
  display: block;
  font: 400 34px/1 var(--o-display);
  letter-spacing: -0.02em;
}
.tile b.up {
  color: var(--up);
}
.tile b.lav {
  color: var(--gold);
}
.tile span {
  display: block;
  font-size: 13px;
  color: var(--dim);
  margin-top: 8px;
  line-height: 1.4;
}
section {
  padding: 46px 0 6px;
}
h2 {
  font: 400 clamp(28px, 4.4vw, 42px) / 1.1 var(--o-display);
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.lead {
  color: var(--dim);
  font-size: 16px;
  max-width: 66ch;
  margin-bottom: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 20px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 24px;
  border: 1px solid var(--rule);
  background: var(--field);
  margin-bottom: 14px;
}
.switch button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  font:
    500 15px Inter,
    sans-serif;
  color: var(--dim);
  cursor: pointer;
}
.switch button:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim);
  opacity: 0.6;
}
.switch button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--ink);
}
.switch button[aria-pressed="true"]:before {
  background: var(--up);
  opacity: 1;
}
.verdict .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.verdict h3 {
  font:
    600 22px/1.25 Inter,
    sans-serif;
}
.pill {
  flex: none;
  font:
    700 12.5px/1 Inter,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid var(--warn);
  color: var(--warn);
  border-radius: 12px;
  padding: 9px 12px;
  white-space: nowrap;
}
.pill.go {
  border-color: var(--up);
  color: var(--up);
}
.pill.no {
  border-color: var(--down);
  color: var(--down);
}
.pill.dim {
  border-color: var(--dim);
  color: var(--dim);
}
.verdict p {
  color: var(--dim);
  margin: 10px 0 4px;
  font-size: 15.5px;
}
.steps {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 13px 14px;
}
.steps li b.n {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font:
    700 13px Inter,
    sans-serif;
}
.steps li small {
  display: block;
  color: var(--dim);
  font-size: 13px;
}
.src {
  font:
    400 12px/1.5 "IBM Plex Mono",
    monospace;
  color: var(--dim);
}
.decide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.decide button {
  all: unset;
  box-sizing: border-box;
  text-align: center;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  font:
    600 14px Inter,
    sans-serif;
  cursor: pointer;
  color: var(--ink);
  background: var(--field);
}
.decide button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--gotext);
}
.rl {
  list-style: none;
}
.rl li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}
.rl li:first-child {
  border-top: 0;
}
.rl i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 7px;
}
.rl .y i {
  background: var(--up);
}
.rl .x i {
  background: var(--down);
}
.rl b {
  font-weight: 600;
}
.card h3 {
  font:
    600 17px Inter,
    sans-serif;
  margin-bottom: 6px;
}
.tbl {
  display: grid;
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.tbl div {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 14px;
  padding: 13px 16px;
  border-top: 1px solid var(--rule);
  font-size: 14.5px;
}
.tbl div:first-child {
  border-top: 0;
}
.tbl span {
  color: var(--dim);
}
.tbl b {
  font-weight: 600;
}
.path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.path .card {
  padding: 16px;
}
.path b.n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gotext);
  font:
    700 14px Inter,
    sans-serif;
  margin-bottom: 10px;
}
.path h4 {
  font:
    600 15px/1.3 Inter,
    sans-serif;
}
.path p {
  font-size: 13.5px;
  color: var(--dim);
  margin-top: 4px;
}
.path .fee {
  display: inline-block;
  margin-top: 8px;
  font:
    600 15px "IBM Plex Mono",
    monospace;
  color: var(--gold);
}
.rows {
  display: grid;
  gap: 12px;
}
.row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 10px 16px 10px 10px;
}
.thumb {
  position: relative;
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--field);
}
.thumb svg {
  width: 100%;
  height: 100%;
  display: block;
}
.thumb b {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--warn);
  color: var(--surface);
  display: grid;
  place-items: center;
  font:
    700 13px Inter,
    sans-serif;
}
.row .tx {
  flex: 1;
  min-width: 0;
}
.row .tx h4 {
  font:
    700 18px/1.25 Inter,
    sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .tx span {
  display: block;
  color: var(--dim);
  font-size: 14.5px;
}
.row .tx strong {
  display: block;
  color: var(--gold);
  font:
    700 17px Inter,
    sans-serif;
  margin-top: 2px;
}
.why {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink);
  opacity: 0.85;
}
.tg {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.tg:first-child {
  border-top: 0;
}
.tg div {
  flex: 1;
}
.tg small {
  display: block;
  color: var(--dim);
  font-size: 13px;
}
.sw {
  flex: none;
  width: 50px;
  height: 30px;
  border-radius: 999px;
  background: var(--gold);
  position: relative;
}
.sw:after {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gotext);
}
.cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 16px;
  min-height: 56px;
  line-height: 56px;
  border-radius: 18px;
  background: var(--gold);
  color: var(--gotext);
  font:
    500 17px Inter,
    sans-serif;
  text-decoration: none;
}
footer {
  padding: 36px 0 20px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.6;
}
.dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  width: min(560px, calc(100% - 24px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 6px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--rule);
  box-shadow: 0 18px 50px rgb(var(--gr) / 0.8);
}
.dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  border-radius: 22px;
  color: var(--dim);
  text-decoration: none;
  font:
    600 13px Inter,
    sans-serif;
}
.dock a svg {
  width: 24px;
  height: 24px;
}
.dock a.on {
  background: linear-gradient(160deg, var(--gold), var(--navy));
  color: var(--gotext);
}
@media (max-width: 900px) {
  .mast {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .path {
    grid-template-columns: 1fr;
  }
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .tile {
    padding: 14px 12px;
  }
  .tile b {
    font-size: 24px;
  }
  .decide {
    grid-template-columns: repeat(2, 1fr);
  }
  .tbl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .thumb {
    width: 84px;
    height: 84px;
  }
  .row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .row .tx h4 {
    font-size: 17px;
  }
  .row .pill {
    margin-left: 100px;
  }
  .verdict .top {
    flex-direction: column;
  }
}
/* Intake, review controls and the same solid report header/dock on every screen. */
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button,
.button-link {
  min-height: 44px;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: var(--card);
  color: var(--ink);
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: var(--gold);
  overflow-wrap: anywhere;
}
button:hover,
.button-link:hover {
  border-color: var(--gold);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.primary {
  background: var(--gold);
  color: var(--gotext);
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  font-size: 16px;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  margin: 12px 0 6px;
  color: var(--dim);
}
small {
  display: block;
  font-size: 12px;
  color: var(--dim);
}
h3 {
  font-size: 18px;
  font-weight: 500;
}
p {
  margin: 8px 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -90px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
  background: var(--surface);
  padding: 12px;
}
.masthead {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px max(16px, calc((100% - 1108px) / 2));
  min-height: 68px;
}
.brand {
  text-decoration: none;
  font-size: 19px;
  color: var(--ink);
}
.brand span {
  color: var(--gold);
}
.product {
  font-size: 12px;
  letter-spacing: 0.16em;
}
.masthead .pill {
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  color: var(--dim);
  border-color: var(--rule);
}
.workspace {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
}
.sidebar {
  position: relative;
  z-index: 3;
  padding-top: 28px;
}
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.project-link {
  display: block;
  width: 100%;
  text-align: left;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.project-link[aria-current="true"] {
  border-color: var(--gold);
  background: var(--navy);
}
.side-note {
  margin-top: 30px;
}
.side-note p {
  color: var(--dim);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
main {
  min-width: 0;
}
.intro {
  padding: 36px 0 18px;
}
.intro h1 {
  font-size: clamp(36px, 5vw, 58px);
}
.surface {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 20px;
  margin: 16px 0;
}
.search {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
}
.search .grow {
  grid-column: 1/-1;
}
.search > button {
  grid-column: 1/-1;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.wide {
  grid-column: 1/-1;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.hint,
.lead {
  color: var(--dim);
}
.wait-estimate {
  width: 100%;
}
.match {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.selected-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.selected-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.explain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.explain b {
  color: var(--gold);
  font-size: 12px;
}
.explain p {
  color: var(--dim);
}
.message,
.statusbar {
  padding: 16px;
  border: 1px solid var(--gold);
  border-radius: 16px;
  background: var(--card);
  margin: 16px 0;
}
.error,
.warning {
  border-color: var(--warn);
  color: var(--ink);
}
.message:empty {
  display: none;
}
.report-mode .masthead {
  display: none;
}
.report-mode .workspace {
  display: block;
}
.report-mode .sidebar {
  display: none;
}
.report-mode.workspace-open .sidebar {
  display: block;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
}
.report-mode #project {
  padding: 0;
}
.report-mode main > footer {
  padding-bottom: 20px;
}
#report-toolbar .ht b {
  font-weight: 500;
}
#report-toolbar .ib {
  padding: 0;
  text-decoration: none;
}
#report-toolbar .shell {
  padding-bottom: 8px;
}
#notice {
  position: relative;
  z-index: 3;
}
#notice:empty {
  display: none;
}
.wheel-center {
  fill: var(--surface);
  stroke: var(--gold);
  stroke-width: 1.6;
}
.wheel .seg:focus-visible {
  outline: none;
  stroke: var(--ink);
  stroke-width: 4;
}
.wheelbox p {
  font-size: 13px;
}
.wheelbox p a {
  display: inline;
}
.mapcard svg {
  aspect-ratio: 16/9;
  background: var(--field);
}
.map-parcel {
  vector-effect: non-scaling-stroke;
  stroke-width: 1.5;
  fill-rule: evenodd;
}
.map-parcel.selected {
  fill: rgb(var(--mline) / 0.38);
  stroke: var(--gold);
  stroke-width: 2.2;
}
.map-parcel.pending {
  fill: color-mix(in srgb, var(--down) 22%, transparent);
  stroke: var(--down);
}
.map-parcel.approved {
  fill: color-mix(in srgb, var(--up) 16%, transparent);
  stroke: var(--up);
}
.map-parcel.conservation {
  fill: color-mix(in srgb, var(--dim) 12%, transparent);
  stroke: var(--dim);
  stroke-dasharray: 5 4;
}
.map-label {
  font:
    500 30px Inter,
    sans-serif;
  fill: var(--cream);
  stroke: var(--surface);
  stroke-width: 5;
  paint-order: stroke;
}
.map-credit {
  font-size: 12px;
  color: var(--dim);
  padding: 0 12px 10px;
}
.map-credit a {
  color: var(--dim);
}
.legend .selected {
  background: var(--gold);
}
.legend .pending {
  background: var(--down);
}
.legend .approved {
  background: var(--up);
}
.legend .conservation {
  background: var(--dim);
}
.mapcard .open {
  min-height: 44px;
  text-decoration: none;
}
.skeleton {
  color: var(--dim);
  animation: loading 1.4s ease-in-out infinite alternate;
}
.tile .skeleton {
  font-size: 20px;
}
.tile b {
  overflow-wrap: anywhere;
}
.card + .card {
  margin-top: 14px;
}
.standards {
  margin: 14px 0;
}
.src {
  overflow-wrap: anywhere;
}
.context-block {
  margin-top: 42px;
}
.capacity-line {
  font-size: 14px;
}
.save-status {
  font-size: 12px;
}
.row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
}
.row .tx h4 {
  white-space: normal;
}
.row a {
  text-decoration: none;
  color: inherit;
}
.row .pill {
  align-self: center;
}
.thumb .missing-map {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--dim);
  padding: 8px;
  font-size: 12px;
  text-align: center;
}
.parcel-list {
  margin-top: 14px;
}
.tbl small {
  margin-top: 5px;
}
.parcel-report {
  border-top: 1px solid var(--rule);
  margin-top: 20px;
  padding-top: 24px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.fact span {
  display: block;
  color: var(--dim);
  font-size: 12px;
}
.fact b {
  font-weight: 500;
}
.table-wrap {
  max-width: 100%;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
td a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
details {
  margin: 18px 0;
}
summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
}
summary:after {
  content: "+";
  margin-left: auto;
  font-size: 22px;
}
details[open] > summary:after {
  content: "−";
}
details ul {
  padding-left: 20px;
}
dt {
  color: var(--dim);
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 6px;
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.url,
.source {
  overflow-wrap: anywhere;
}
.source {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.source a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.event {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.history {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.parcel-map {
  width: 100%;
  background: var(--field);
}
.parcel-map path {
  fill: rgb(var(--mline) / 0.2);
  stroke: var(--gold);
}
.progress {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--card);
}
.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.progress-head span {
  color: var(--dim);
}
progress {
  display: block;
  width: 100%;
  height: 10px;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  background: var(--navy);
  accent-color: var(--gold);
  margin: 12px 0;
}
progress::-webkit-progress-bar {
  background: var(--navy);
}
progress::-webkit-progress-value {
  background: var(--gold);
}
progress::-moz-progress-bar {
  background: var(--gold);
}
dialog {
  width: min(560px, calc(100% - 24px));
  max-height: 82dvh;
  position: fixed;
  top: auto;
  bottom: 12px;
  margin: auto;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  overflow: auto;
}
dialog::backdrop {
  background: rgb(var(--gr) / 0.8);
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sheet-head h2 {
  font-size: 28px;
  margin: 4px 0 16px;
}
.sheet-head button {
  font-size: 24px;
}
#option-actions {
  display: grid;
  gap: 10px;
}
#option-actions .button-link {
  display: flex;
  align-items: center;
}
#watch {
  padding-bottom: 20px;
}
.watch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  border-bottom: 1px solid var(--rule);
}
.watch-row span {
  flex: 1;
}
.watch-row input {
  width: 24px;
  height: 24px;
  min-height: 24px;
  accent-color: var(--gold);
}
.watch-save {
  margin-top: 18px;
  width: 100%;
}
.dock a.on {
  color: var(--gotext);
}
@keyframes loading {
  to {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 2;
  }
  .masthead {
    gap: 10px;
  }
  .product {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .match {
    align-items: flex-start;
    flex-direction: column;
  }
  .explain {
    grid-template-columns: 1fr;
  }
  .intro {
    padding-top: 20px;
  }
  .row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
  }
  .thumb {
    width: 72px;
    height: 72px;
  }
  .row .pill {
    grid-column: 2;
    margin-left: 0;
    justify-self: start;
  }
  .row .tx span {
    font-size: 13px;
  }
  .row .tx strong {
    font-size: 15px;
  }
  .row .tx h4 {
    font-size: 17px;
  }
  .why {
    font-size: 13px;
  }
  .mapcard svg {
    aspect-ratio: 1/1;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .ht b {
    font-size: 17px;
  }
  .ht span {
    font-size: 12px;
  }
  #report-toolbar .shell {
    gap: 8px;
  }
  .path {
    grid-template-columns: 1fr;
  }
  .tbl div {
    grid-template-columns: 1fr;
  }
  .progress-head {
    flex-wrap: wrap;
  }
  .tile b {
    font-size: 24px;
  }
  .tile span {
    font-size: 12px;
  }
  .card {
    padding: 16px;
  }
  .dock {
    width: calc(100% - 20px);
    max-width: 560px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    gap: 0;
  }
  .dock a {
    font-size: 12px;
    min-height: 58px;
  }
  .dock a svg {
    width: 22px;
    height: 22px;
  }
  .decide button {
    font-size: 14px;
  }
  .switch button {
    font-size: 14px;
    min-height: 46px;
    padding: 0 12px;
  }
  .meta {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  main {
    width: 100%;
  }
  .tile {
    padding: 14px 10px;
  }
  .map-label {
    font-size: 24px;
  }
  .rl li b {
    font-weight: 400;
  }
  th,
  td {
    padding: 8px;
  }
  .mast {
    gap: 16px;
  }
  .wheelbox p {
    max-width: 65ch;
    margin: 8px auto 0;
  }
  .kick {
    line-height: 1.4;
    letter-spacing: 0.16em;
  }
  .kick:before {
    flex: none;
  }
  .skeleton {
    animation: none;
  }
}
@media (max-width: 360px) {
  .shell {
    padding-left: 12px;
    padding-right: 12px;
  }
  #report-toolbar .shell {
    gap: 5px;
  }
  .ht b {
    font-size: 15px;
  }
  .ht span {
    font-size: 12px;
  }
  .tile b {
    font-size: 22px;
  }
  .mapcard .open {
    font-size: 12px;
    right: 8px;
    top: 8px;
  }
  .masthead .pill {
    display: none;
  }
  .search {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: 1fr;
  }
}
@media print {
  .masthead,
  .sidebar,
  #report-toolbar,
  .dock,
  #project-tools,
  #notice,
  #job-status,
  dialog,
  .mapcard .open,
  .decide,
  .switch {
    display: none !important;
  }
  .workspace {
    display: block;
  }
  body {
    padding: 0;
    background: var(--surface);
  }
  .atmos {
    display: none;
  }
  section {
    break-inside: auto;
  }
  .card {
    break-inside: avoid;
  }
  a {
    color: inherit;
  }
  details > * {
    display: block !important;
  }
}
.aerial-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
@media (max-width: 900px) {
  .ht span {
    white-space: normal;
    text-overflow: clip;
    line-height: 1.4;
  }
  .ht b {
    white-space: normal;
  }
  .map-label {
    font-size: 20px;
  }
}
