:root {
  color-scheme: light;
  --paper: #f3eddd;
  --sheet: #fffaf0;
  --ink: #24352c;
  --muted: #556356;
  --line: #d3cbb5;
  --forest: #24382f;
  --pine: #305b44;
  --green: #dbe7d0;
  --gold: #e5bf72;
  --ochre: #704914;
  --danger: #973d29;
  --danger-bg: #f5e0d4;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --body: 'Avenir Next', 'Trebuchet MS', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--paper) repeating-linear-gradient(90deg, #7c6e4710 0 1px, transparent 1px 76px);
  font: 15px/1.5 var(--body);
}
button,
input {
  font: inherit;
}
button:not(:disabled),
summary {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #986418;
  outline-offset: 3px;
}
a {
  color: #245a42;
  text-underline-offset: 3px;
}
strong,
b {
  font-weight: 700;
}
h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
}
.eyebrow {
  display: block;
  font: 700 11px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: var(--sheet);
  padding: 10px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}

.masthead {
  background: var(--forest);
  color: #fff8e4;
  border-bottom: 3px solid #b59758;
}
.masthead-inner,
.page {
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(15px, 3vw, 44px);
}
.masthead-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 22px;
  min-height: 76px;
  padding-block: 11px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand svg {
  color: var(--gold);
  flex: none;
}
.brand-title {
  display: block;
  font: 650 clamp(25px, 3vw, 31px)/1 var(--serif);
  letter-spacing: -0.045em;
}
.brand-title i {
  color: var(--gold);
  font-weight: 400;
}
.brand .eyebrow,
.masthead-values .eyebrow {
  margin-top: 5px;
  color: #c5cfb6;
}
.masthead-values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(16px, 2.4vw, 34px);
}
.masthead-values strong {
  display: block;
  margin-top: 2px;
  font: 700 clamp(16px, 2vw, 21px)/1.2 var(--mono);
  font-variant-numeric: tabular-nums;
}
.masthead :focus-visible {
  outline-color: var(--gold);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: 8px 13px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  transition:
    background-color 120ms,
    box-shadow 120ms;
}
.button.primary {
  color: #fff9e8;
  background: var(--pine);
  border-color: var(--pine);
}
.button.primary:not(:disabled):hover {
  background: #224432;
}
.button.secondary {
  color: #274f3c;
  background: #e7ead8;
  border-color: #adbc9e;
}
.button.secondary:not(:disabled):hover,
.button.secondary[aria-pressed='true'] {
  background: #d5e1c5;
  border-color: #628264;
}
.button.quiet {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.button.quiet:not(:disabled):hover {
  background: #ede5d0;
}
.button.inverse {
  color: #fff8e4;
  border-color: #8b9d89;
}
.button.inverse:not(:disabled):hover {
  background: #395344;
}
.button:disabled {
  color: #596658;
  border-color: #d4cebb;
  background: #f0ebdd;
}

.mission {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 13px 28px;
  padding: clamp(17px, 3vw, 31px) 0 17px;
}
.mission-kicker {
  color: var(--ochre);
}
.mission h1 {
  margin-top: 3px;
  font: 700 clamp(38px, 5vw, 64px)/0.98 var(--serif);
  letter-spacing: -0.055em;
}
.calendar {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}
.calendar li {
  display: grid;
  min-width: 55px;
  min-height: 38px;
  padding: 4px 6px;
  border-top: 2px solid #b9b8a0;
  background: #f7f1e4;
}
.calendar li b {
  font: 700 14px/1.3 var(--mono);
}
.calendar li span {
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
}
.calendar li[data-state='planning'] {
  color: #fff9e8;
  background: var(--forest);
  border-color: var(--gold);
}
.calendar li[data-state='planning'] span {
  color: #e9debf;
}
.calendar li[data-state='renewed'] {
  border-color: #598262;
  background: #e1ead4;
}
.calendar li[data-state='missed'] {
  border-color: #a54c34;
  background: var(--danger-bg);
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.77fr) minmax(300px, 1fr);
  align-items: start;
  gap: 16px;
}
.atlas,
.desk,
.forecast,
.ledger,
.field-guide,
.outcome {
  background: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: 0 3px 0 #5545290d;
  min-width: 0;
}
.map-head,
.desk-head {
  min-height: 68px;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px 12px;
}
.map-head .eyebrow,
.desk-head .eyebrow {
  color: var(--muted);
}
.map-head h2,
.desk-head h2,
.forecast h2,
.ledger h2 {
  margin-top: 2px;
  font: 700 clamp(24px, 3vw, 31px)/1.08 var(--serif);
  letter-spacing: -0.038em;
}
.map-route-label {
  border: 1px solid #afbc9d;
  background: #e9edda;
  color: #31503e;
  padding: 4px 7px;
  font-weight: 700;
  font-size: 12px;
}
.map {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 900 / 550;
  min-height: 370px;
  overflow: hidden;
  background: #bcc7a0;
  border-block: 1px solid #9baa87;
}
.terrain,
.links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.terrain {
  object-fit: fill;
}
.fiber,
.utility {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.fiber {
  stroke: #4c6858;
  stroke-width: 1.4;
  stroke-dasharray: 3 6;
  opacity: 0.62;
}
.fiber[data-status='planned'],
.fiber[data-status='queued'] {
  stroke: #73511c;
  stroke-width: 2.5;
  stroke-dasharray: 6 4;
  opacity: 0.95;
}
.fiber[data-status='online'] {
  stroke: #385e4a;
  stroke-width: 2.25;
  stroke-dasharray: none;
  opacity: 0.9;
}
.fiber[data-status='expired'] {
  opacity: 0.4;
  stroke-dasharray: 1 8;
}
.fiber[data-routed='true'] {
  stroke: #34583f;
  stroke-width: 4;
  opacity: 1;
}
.fiber[data-flow='true'] {
  stroke: #e6fbaf;
  stroke-width: 3.3;
  filter: drop-shadow(0 1px 1px #284633);
  stroke-dasharray: 10 6;
  animation: flow 2s linear infinite;
}
.utility {
  stroke: #6b5736;
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}
@keyframes flow {
  to {
    stroke-dashoffset: -32;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fiber[data-flow='true'] {
    stroke-dasharray: none;
  }
}
.campus {
  opacity: 0;
  transition: opacity 200ms;
}
.campus[data-status='planned'],
.campus[data-status='queued'] {
  opacity: 0.36;
}
.campus[data-status='online'] {
  opacity: 1;
}
.campus-shadow {
  fill: #405b47;
  opacity: 0.36;
}
.campus-side {
  fill: #9cac8e;
  stroke: #3d5343;
  stroke-width: 1.4;
}
.campus-roof {
  fill: #e1d6ad;
  stroke: #3d5343;
  stroke-width: 1.5;
}
.campus-lines {
  fill: none;
  stroke: #536c57;
  stroke-width: 1.3;
}
.map-north {
  position: absolute;
  right: 15px;
  top: 10px;
  text-align: center;
  color: #314e3d;
  font: 700 12px/1 var(--mono);
}
.map-north span {
  display: block;
  margin: 3px auto 0;
  width: 14px;
  height: 23px;
  background: #3d5a47;
  clip-path: polygon(50% 0, 100% 100%, 50% 70%, 0 100%);
}
.map-caption {
  position: absolute;
  color: #2f5348;
  font: italic 650 clamp(13px, 1.65vw, 21px)/1 var(--serif);
  text-shadow:
    0 0 8px #deedc8,
    0 0 4px #e3e9d2;
}
.map-river {
  left: 27%;
  top: 65%;
  transform: rotate(11deg);
}
.map-grid {
  left: 76%;
  top: 85%;
  font-size: 12px;
}
.map-scale {
  position: absolute;
  bottom: 10px;
  left: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: #314b3c;
  font: 700 10px/1.3 var(--mono);
}
.map-scale span {
  width: 28px;
  border-inline: 1px solid;
  border-bottom: 2px solid;
  height: 5px;
}
.pin {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 1;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
  padding: 5px 9px;
  color: var(--ink);
  background: #fff8e4;
  border: 1px solid #77876a;
  border-radius: 4px;
  box-shadow: 0 2px 5px #23392d32;
  text-align: left;
  white-space: nowrap;
  transition:
    background-color 120ms,
    box-shadow 120ms;
}
.pin b,
.pin small {
  display: block;
  line-height: 1.2;
}
.pin b {
  font-size: 13px;
}
.pin small {
  margin-top: 2px;
  font-size: 11px;
  color: #4a5d4e;
}
.pin[aria-pressed='true'],
.pin:hover {
  color: #fff8e7;
  background: var(--forest);
  border-color: var(--forest);
  z-index: 2;
}
.pin[aria-pressed='true'] small,
.pin:hover small {
  color: #ebebcb;
}
.pin-mark {
  flex: none;
  width: 9px;
  height: 9px;
  border: 1px solid #45654e;
  transform: rotate(45deg);
  background: #e1e9c9;
}
.pin[data-routed='true'] .pin-mark {
  background: #6e9b61;
}
.pin[data-status='planned'] .pin-mark,
.pin[data-status='queued'] .pin-mark {
  background: var(--gold);
  border-color: #755a26;
}
.pin .lab-mark {
  border-radius: 50%;
  background: #c3dba8;
}
.pin .buyer-mark {
  transform: none;
  background: #e7c993;
}
.map-foot {
  display: flex;
  gap: 7px 16px;
  flex-wrap: wrap;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--muted);
}
.map-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.map-key {
  display: inline-block;
  width: 15px;
  border-top: 2px solid var(--pine);
}
.map-key.line-queued {
  border-top: 2px dashed var(--ochre);
}
.map-key.line-offer {
  border-top: 2px dotted #556d5d;
}

.desk-head {
  display: block;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: #eee7d3;
}
.tabs button {
  min-height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 6px 8px;
  color: #405547;
  background: transparent;
  font-weight: 700;
}
.tabs button + button {
  border-left: 1px solid var(--line);
}
.tabs button[aria-selected='true'] {
  border-bottom-color: var(--pine);
  color: var(--ink);
  background: var(--sheet);
}
.tabs button:focus-visible {
  outline-offset: -3px;
}
.desk-content {
  padding: 14px 16px;
}
.desk-foot {
  border-top: 1px solid var(--line);
  padding: 9px 12px;
  background: #f1ecdd;
  color: var(--muted);
  font-size: 12px;
}
.section-lead {
  display: grid;
  gap: 6px;
}
.section-lead .eyebrow {
  color: var(--ochre);
}
.section-lead h3 {
  font: 700 31px/1 var(--serif);
  letter-spacing: -0.035em;
}
.section-lead h3 span {
  font: 600 13px/1.4 var(--body);
  letter-spacing: 0;
  color: var(--muted);
}
.section-lead p {
  color: var(--muted);
  font-size: 14px;
}
.contract-spec,
.terms {
  margin: 8px 0;
}
.contract-spec div,
.terms div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.contract-spec dt,
.terms dt {
  color: var(--muted);
}
.contract-spec dd,
.terms dd {
  font-weight: 700;
  text-align: right;
}
.callout {
  margin: 8px 0 0;
  padding: 6px 9px;
  border-left: 3px solid #6c9268;
  background: #e9edd9;
  color: #304e3e;
  font-size: 13px;
}
.callout.bad,
.forecast-reason.bad {
  border-color: var(--danger);
  color: #752d1e;
  background: var(--danger-bg);
}
.callout.warning {
  border-color: var(--ochre);
  color: #674513;
  background: #f4e8cb;
}
.fine-print {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

fieldset {
  margin: 12px 0 0;
  padding: 8px 9px 9px;
  min-width: 0;
  border: 1px solid var(--line);
}
legend {
  padding: 0 5px;
  color: var(--ink);
  font-weight: 700;
}
legend span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.rate-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.rate-fields label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.money-input {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  background: #fffcf3;
  border: 1px solid #b6b5a0;
  border-radius: 3px;
  color: var(--ink);
  font: 600 16px/1.2 var(--mono);
}
.money-input:focus-within {
  outline: 2px solid #986418;
  outline-offset: 1px;
}
.money-input input {
  background: transparent;
  border: 0;
  width: 100%;
  min-width: 0;
  padding: 8px 0;
  color: inherit;
  font: inherit;
}
.money-input input:focus-visible {
  outline: 0;
}
.money-input:has(input[aria-invalid='true']) {
  border-color: var(--danger);
  background: #fff1e9;
}
.quote-controls {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
#price-feedback {
  font: 700 11px/1.4 var(--mono);
  color: #365642;
}
#price-feedback[data-invalid='true'] {
  color: var(--danger);
}
.site-index {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.site-index button {
  min-height: 38px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: #f5f0e3;
  font-size: 13px;
  font-weight: 700;
}
.site-index button[aria-pressed='true'] {
  border-color: #7d9876;
  background: var(--green);
}
.site-lead {
  justify-items: start;
}
.badge {
  display: inline-block;
  background: #efead9;
  color: var(--muted);
  padding: 3px 5px;
  font: 700 11px/1.3 var(--mono);
  text-transform: uppercase;
}
.badge[data-status='online'] {
  color: #254632;
  background: var(--green);
}
.badge[data-status='planned'],
.badge[data-status='queued'] {
  color: var(--ochre);
  background: #f5e6bf;
}
.deal-actions,
.model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 7px;
}
.stress {
  margin-top: 10px;
  padding: 8px;
  border: 1px solid var(--line);
}
.stress .eyebrow {
  color: var(--ochre);
}
.term-projection h4 {
  margin: 0 0 3px;
  color: var(--ink);
  font: 700 15px/1.3 var(--body);
}
.term-projection > p {
  font-size: 13px;
}
.term-projection summary {
  font-size: 13px;
}
.stress table,
.cash-table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0;
}
.stress th,
.stress td {
  padding: 4px 3px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
}
.stress td {
  font-family: var(--mono);
}
.model-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 5px;
  margin-bottom: 6px;
}
.model-strip div {
  display: grid;
  gap: 2px;
  padding: 7px;
  background: #e7ebd7;
  border: 1px solid #bac8a8;
  font-size: 13px;
}
.model-strip div[data-cleared='false'] {
  background: #f4ecda;
  border-color: var(--line);
}
.model-strip span {
  color: var(--muted);
  font-size: 12px;
}
.model-actions {
  margin-top: 7px;
}
.work-list article {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
  justify-items: start;
}
.work-list h3 {
  font-size: 15px;
}
.work-list p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}
.work-list .button {
  min-height: 35px;
  font-size: 13px;
  padding: 5px 8px;
}

.forecast,
.ledger,
.field-guide,
.outcome {
  margin-top: 16px;
}
.forecast {
  border-top: 3px solid #648567;
}
.settled-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3px 10px;
  padding: 7px 16px;
  border-bottom: 1px solid var(--line);
  background: #e7ebd9;
  font-size: 13px;
}
.forecast-head,
.ledger-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
}
.forecast-head .eyebrow,
.ledger-head .eyebrow {
  color: var(--muted);
}
.forecast-head .primary {
  padding-inline: 21px;
  box-shadow: inset 0 1px #e0efcc43;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #eeecdc;
  border-block: 1px solid var(--line);
}
.metrics div {
  padding: 9px 12px 9px 16px;
}
.metrics div + div {
  border-left: 1px solid var(--line);
}
.metrics dt {
  color: var(--muted);
  font-size: 12px;
}
.metrics dd {
  margin-top: 3px;
  font: 700 clamp(16px, 2.2vw, 25px)/1.12 var(--mono);
  font-variant-numeric: tabular-nums;
}
.metrics dd[data-negative='true'] {
  color: var(--danger);
}
.forecast-reason {
  padding: 8px 12px;
  margin: 10px 16px 5px;
  background: #e8eedc;
  border-left: 3px solid #6d966a;
  color: #31533f;
  font-size: 14px;
}
.receipt-details {
  margin: 0 16px 11px;
}
summary {
  padding: 7px 0;
  font-weight: 700;
  color: #284f3b;
}
.receipt-body {
  min-width: 0;
}
.receipt-intro {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.receipt-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 13px 22px;
}
.receipt-columns h3,
.receipt-title {
  font: 700 20px/1.2 var(--serif);
  margin: 2px 0 5px;
}
.gate-list {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 3px 0 6px;
}
.gate-list li {
  display: grid;
  grid-template-columns: 54px 75px minmax(0, 1fr);
  align-items: baseline;
  gap: 5px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.gate-list li > span:last-child {
  color: var(--muted);
}
.gate-status {
  color: #32543a;
  font: 700 11px/1.4 var(--mono);
  text-transform: uppercase;
}
.gate-status[data-pass='false'] {
  color: var(--danger);
}
.gate-status[data-pass='null'] {
  color: var(--muted);
  font-size: 9px;
}
.receipt-notes {
  margin: 8px 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
}
.idle-note {
  margin-top: 4px;
}
.cash-table th,
.cash-table td {
  padding: 5px 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}
.cash-table th small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.cash-table td {
  text-align: right;
  font: 700 13px/1.3 var(--mono);
  white-space: nowrap;
}
.cash-table tfoot tr:last-child {
  color: #244b36;
  background: #e7edda;
}
.cash-table tfoot tr:last-child > * {
  padding-inline: 6px;
}
.ledger {
  padding-bottom: 13px;
}
#ledger-note,
#receipt-list,
.ledger > .receipt-body {
  margin-inline: 16px;
}
#ledger-note {
  color: var(--muted);
  font-size: 13px;
}
.receipt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-block: 7px;
}
.receipt-button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 7px;
  min-height: 44px;
  padding: 6px 8px;
  color: var(--ink);
  background: #f1ecde;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
}
.receipt-button[aria-pressed='true'] {
  background: var(--green);
  border-color: #8fa584;
}
.receipt-button strong {
  font-family: var(--mono);
}
.ledger > .receipt-body {
  border-top: 1px solid var(--line);
  padding: 8px 0 0;
}
.outcome {
  padding: 14px 16px;
  margin: 0 0 15px;
  border-left: 4px solid var(--danger);
}
.outcome[data-won='true'] {
  border-color: var(--pine);
  background: #edf0de;
}
.outcome h2,
.dialog-content h2 {
  font: 700 33px/1.1 var(--serif);
  letter-spacing: -0.04em;
}
.outcome p,
.outcome ul {
  margin-top: 5px;
}
.outcome ul {
  padding-left: 19px;
}
.field-guide {
  padding: 4px 16px 7px;
}
.field-guide-content {
  display: grid;
  gap: 8px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: 4px 7px;
}
.field-guide-content > p {
  grid-column: 1 / -1;
  color: var(--muted);
}
.field-guide-content h3 {
  font: 700 21px/1.2 var(--serif);
}
.page-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 12px;
  padding-block: 14px 24px;
  color: var(--muted);
  font-size: 12px;
}
dialog {
  max-width: min(440px, calc(100% - 28px));
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid #768d73;
  border-top: 4px solid var(--pine);
  padding: 0;
  box-shadow: 0 16px 80px #18382e3e;
}
dialog::backdrop {
  background: #1c302eb8;
}
.dialog-content {
  padding: 18px;
}
.dialog-content h2 {
  margin: 4px 0 8px;
}
.scenario-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .board-layout {
    grid-template-columns: minmax(0, 1.24fr) minmax(300px, 1fr);
  }
  .map {
    min-height: 380px;
  }
  .pin {
    gap: 5px;
    padding-inline: 6px;
  }
}
@media (max-width: 760px) {
  .board-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .map {
    min-height: 300px;
  }
  .map-head,
  .desk-head {
    min-height: 55px;
  }
  .pin[data-map-site='harbor'] {
    --x: 18% !important;
    --y: 63% !important;
  }
  .pin[data-map-site='meridian'] {
    --x: 38% !important;
    --y: 42% !important;
  }
  .pin[data-map-site='buyer'] {
    --x: 79% !important;
    --y: 56% !important;
  }
  .pin[data-map-site='riverbend'] {
    --x: 50% !important;
    --y: 82% !important;
  }
}
@media (max-width: 525px) {
  .masthead-inner {
    padding-block: 10px;
  }
  .brand svg {
    width: 32px;
    height: 32px;
  }
  .brand .eyebrow {
    font-size: 10px;
  }
  .masthead-values {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }
  .masthead-values .eyebrow {
    font-size: 10px;
  }
  .mission {
    padding-block: 15px 11px;
  }
  .calendar {
    width: 100%;
  }
  .calendar li {
    min-width: 0;
    padding-inline: 3px;
  }
  .calendar li span {
    font-size: 10px;
  }
  .map-caption.map-grid {
    display: none;
  }
  .map-head,
  .desk-content,
  .desk-head {
    padding-inline: 11px;
  }
  .forecast-head,
  .ledger-head {
    padding-inline: 11px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics div {
    padding-inline: 11px;
  }
  .metrics div:nth-child(3) {
    border-left: none;
  }
  .metrics div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .receipt-columns,
  .field-guide-content {
    grid-template-columns: minmax(0, 1fr);
  }
  .gate-list li {
    grid-template-columns: 49px 63px minmax(0, 1fr);
    gap: 4px;
  }
  .pin b {
    font-size: 12px;
  }
}
@media (pointer: coarse) {
  .button,
  .work-list .button,
  .site-index button {
    min-height: 44px;
  }
  .money-input input {
    min-height: 44px;
  }
}
