@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&display=swap');

/* Tokens & base ----------------------------------------------------------- */
:root {
  --navy: #152c38;
  --copper: #b9926b;
  --copper-light: #dfb68b;
  --accent: #e3a552;
  --ivory: #f7f5f0;
  --surface: #f2f3f1;
  --text: #26353c;
  --muted: #5b6a70;
  --line: #dde1df;
  --shadow: 0 12px 40px rgba(22, 40, 50, 0.12);
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --display: var(--sans);
  --demo-banner-height: 48px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #e3a764;
  outline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.container {
  width: min(1340px, calc(100% - 108px));
  margin: 0 auto;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
#view-home [id] {
  scroll-margin-top: 24px;
}

/* Demo banner ------------------------------------------------------------- */
.demo-banner {
  height: var(--demo-banner-height);
  position: sticky;
  top: 0;
  z-index: 145;
  background: #142b36;
  color: #e6eee9;
  font-size: 10px;
  letter-spacing: 0.07em;
  transition: background-color 0.18s;
}
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 18px;
}
.banner-credit {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #c5d0d0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.banner-credit strong {
  color: #f1c99e;
  margin-left: 5px;
  letter-spacing: 0.03em;
}
.demo-mode {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.demo-mode-prefix {
  font-size: 9px;
  color: #9bacb1;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.demo-mode strong {
  color: #fff;
  border: 1px solid #57707b;
  padding: 8px 10px;
  font-size: 10px;
  letter-spacing: 0.09em;
  white-space: nowrap;
}
.mode-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f8f2e9;
  color: #192d38;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0;
  padding: 10px 15px;
  min-height: 34px;
  white-space: nowrap;
  transition: background 0.15s;
}
.mode-switch:hover {
  background: #fff;
}
.mode-switch svg {
  width: 14px;
  height: 14px;
}
.demo-banner.is-portal {
  background: #bd9161;
  color: #172d37;
}
.demo-banner.is-portal .banner-credit {
  color: #263a42;
}
.demo-banner.is-portal .banner-credit strong {
  color: #162d38;
}
.demo-banner.is-portal .tiny-dot {
  background: #183e43;
  box-shadow: none;
}
.demo-banner.is-portal .demo-mode-prefix {
  color: #334d4e;
}
.demo-banner.is-portal .demo-mode strong {
  background: #142e3b;
  color: #fff;
  border-color: #142e3b;
}
.demo-banner.is-portal .mode-switch {
  background: #fff8ed;
  color: #182e38;
}
.demo-banner.is-portal .mode-switch:hover {
  background: #fff;
}
.demo-banner.is-portal .mode-switch svg {
  transform: rotate(180deg);
}
.tiny-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #b6d8be;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 1px;
  box-shadow: 0 0 0 3px rgba(182, 216, 190, 0.09);
}

/* Site header & navigation ------------------------------------------------ */
.site-header {
  height: 84px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 100;
}
.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 37px;
  height: 37px;
  background: var(--navy);
  position: relative;
  display: block;
}
.brand-mark span {
  position: absolute;
  background: var(--copper-light);
}
.brand-mark span:nth-child(1) {
  width: 5px;
  height: 23px;
  top: 7px;
  left: 10px;
}
.brand-mark span:nth-child(2) {
  width: 5px;
  height: 23px;
  top: 7px;
  right: 10px;
}
.brand-mark span:nth-child(3) {
  width: 14px;
  height: 5px;
  top: 16px;
  left: 12px;
}
.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-type strong {
  letter-spacing: 0.16em;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.brand-type small {
  font-size: 8px;
  letter-spacing: 0.24em;
  color: #7e8787;
  margin-top: 8px;
  font-weight: 800;
}
.public-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.public-nav > a:not(.nav-action) {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.15s;
}
.public-nav > a:not(.nav-action):hover {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.public-nav .nav-action {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: white;
  padding: 0 16px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.nav-action svg {
  width: 16px;
  height: 16px;
}
.public-nav .nav-action:hover {
  background: #29485a;
}
.mobile-menu-btn {
  display: none;
}
.icon-button {
  background: none;
  border: 0;
  color: var(--navy);
  padding: 8px;
}

/* Shared type & buttons --------------------------------------------------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #8a6a4c;
  text-transform: uppercase;
}
.eyebrow-muted {
  color: #8a6a4c;
}
.hero h1,
.section h2,
.approach-section h2,
.coverage-section h2,
.impact-section h2,
.cta-section h2,
.report-heading h1,
.form-step h2,
.dash-content h1 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn-primary {
  background: var(--navy);
  color: white;
}
.btn-primary:hover {
  background: #2b4b5c;
}
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  background: #e9eeef;
}
.btn-accent {
  background: var(--accent);
  color: var(--navy);
}
.btn-accent:hover {
  background: #efb969;
}
.btn-outline {
  background: transparent;
  border-color: #c7cfcd;
  color: var(--text);
}
.btn-outline:hover {
  background: #eef1ef;
}
.btn-ghost {
  border-color: var(--line);
  background: white;
  color: #46555c;
}
.btn-ghost:hover {
  background: #f4f5f3;
}
.text-link,
.service a,
.coverage-more a {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.15s;
}
.text-link:hover,
.service a:hover,
.coverage-more a:hover {
  text-decoration-color: currentColor;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  background: #fff;
  padding: 80px 0 0;
}
.hero-kicker {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  max-width: 19ch;
  margin: 0 0 40px;
}
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.6;
  max-width: 34em;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.hero-facts {
  margin: 4px 0 0;
  border-top: 1px solid var(--line);
}
.hero-facts > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}
.hero-facts dt {
  color: var(--muted);
}
.hero-facts dd {
  margin: 0;
  font-weight: 500;
  color: var(--navy);
}
.hero-image {
  margin: 64px 0 0;
}
.hero-image img {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 560px);
  object-fit: cover;
  object-position: center 62%;
}

/* Sections & services ----------------------------------------------------- */
.section {
  padding: 112px 0;
}
.section-head {
  margin-bottom: 48px;
}
.section h2,
.approach-section h2,
.coverage-section h2,
.impact-section h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  margin: 0;
}
.section-head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38em;
  margin: 16px 0 0;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  border-top: 2px solid var(--navy);
  padding-top: 28px;
}
.service h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 12px;
}
.service p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.fieldwork-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 80px;
}
.fieldwork-grid figure {
  margin: 0;
  min-width: 0;
}
.fieldwork-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.fieldwork-grid figure:first-child img {
  object-position: center 42%;
}
.fieldwork-grid figure:nth-child(2) img {
  object-position: center 38%;
}
.fieldwork-grid figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* How jobs are tracked ---------------------------------------------------- */
.approach-section {
  background: var(--navy);
  padding: 112px 0;
  color: white;
}
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: center;
}
.approach-section h2 {
  color: white;
  max-width: 14ch;
}
.approach-copy > p {
  max-width: 30em;
  color: #c6d2d5;
  font-size: 17px;
  line-height: 1.6;
  margin: 20px 0 32px;
}
.approach-copy > .approach-note {
  font-size: 14px;
  color: #94a8ad;
  margin: 24px 0 0;
}
.job-card {
  background: #fff;
  color: var(--text);
  border-radius: 4px;
}
.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.job-card-head strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
}
.job-card-head span {
  font-size: 14px;
  color: var(--muted);
}
.job-card-head .job-card-status {
  flex-shrink: 0;
  background: #e2efe6;
  color: #2d6649;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
}
.job-log {
  list-style: none;
  margin: 0;
  padding: 6px 24px 10px;
}
.job-log li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0ee;
}
.job-log li:last-child {
  border-bottom: 0;
}
.job-log time {
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.job-log strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.job-log p {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* Interactive coverage map ------------------------------------------------ */
.coverage-section {
  background: var(--surface);
  padding: 112px 0;
}
.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.8fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
}
.interactive-map {
  background: #e8eee7;
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 480px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.interactive-map.dragging {
  cursor: grabbing;
  touch-action: none;
}
.map-transform {
  position: absolute;
  inset: 0;
  transform: translate(var(--map-tx, 0px), var(--map-ty, 0px)) scale(var(--map-scale, 1));
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.18, 0.8, 0.22, 1);
}
.interactive-map.dragging .map-transform {
  transition: none;
}
.coverage-map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  /* Paths without explicit strokes must not inherit the global icon stroke. */
  stroke: none;
  stroke-width: 0;
}
.map-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 40px;
  width: 43px;
  height: 43px;
  background: #1c3b44;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow:
    0 4px 0 3px #fff,
    0 8px 22px rgba(22, 48, 55, 0.28);
  z-index: 2;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.map-pin::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f2c99e;
  position: absolute;
  bottom: 8px;
  right: 9px;
  border: 2px solid #1c3b44;
}
.map-pin svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}
.map-pin:hover,
.map-pin:focus-visible,
.map-pin.selected {
  background: #ba8a5c;
  box-shadow:
    0 4px 0 4px #fff,
    0 0 0 10px rgba(196, 155, 112, 0.23),
    0 12px 30px rgba(22, 48, 55, 0.3);
  outline: 0;
}
.map-pin.selected {
  z-index: 3;
}
.map-pin.selected::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(183, 133, 85, 0.45);
  border-radius: 50%;
  animation: pin-wave 2s ease-out infinite;
  pointer-events: none;
}
@keyframes pin-wave {
  0% {
    transform: scale(0.72);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.map-toolbar {
  position: absolute;
  right: 19px;
  top: 22px;
  display: grid;
  gap: 1px;
  box-shadow: 0 4px 18px rgba(15, 48, 57, 0.12);
  z-index: 4;
}
.map-toolbar button {
  width: 42px;
  height: 42px;
  border: 0;
  cursor: pointer;
  background: white;
  color: #183640;
  font-family: inherit;
  font-size: 23px;
  font-weight: 400;
  display: grid;
  place-items: center;
  transition: background 0.16s;
}
.map-toolbar button:hover,
.map-toolbar button:focus-visible {
  background: #f3e8db;
  outline: 2px solid #bd9161;
  outline-offset: -2px;
}
.map-toolbar button:last-child {
  font-size: 21px;
}
.map-watermark {
  position: absolute;
  bottom: 15px;
  left: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: #7e938f;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
}
.coverage-details {
  padding: 29px 28px 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.coverage-card-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.coverage-sites {
  display: grid;
  gap: 2px;
  margin: 20px 0 21px;
}
.coverage-site {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: #1d3b43;
  transition:
    background 0.2s,
    border 0.2s;
}
.coverage-site:hover,
.coverage-site:focus-visible,
.coverage-site.active {
  background: #f4f3ed;
  border-color: #e4ded3;
  outline: none;
}
.coverage-site strong {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
}
.selected-location {
  background: #17333f;
  color: #fff;
  padding: 25px 24px;
  margin-top: auto;
}
.selected-location h3 {
  font: 600 26px/1.15 var(--display);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.selected-location p {
  color: #c5d6d7;
  font-size: 15px;
  line-height: 1.55;
  min-height: 60px;
}
.location-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.location-meta span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 9px;
  font-size: 13px;
  font-weight: 500;
}
.coverage-disclosure {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 18px 0 0;
}
.coverage-more {
  margin: 24px 0 0;
  font-size: 16px;
}

/* Who we work with -------------------------------------------------------- */
.for-section {
  background: #fff;
}
.who-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.who-photo {
  margin: 0;
}
.who-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 22% center;
}
.who-copy {
  min-width: 0;
}
.who-copy > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 32em;
  margin: 16px 0 32px;
}
.who-list {
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
}
.who-list > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.who-list dt {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.who-list dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

/* Efficiency calculator --------------------------------------------------- */
.impact-section {
  background: var(--surface);
  padding: 112px 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.impact-section h2 {
  max-width: 14ch;
}
.impact-copy > p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 30em;
  margin: 20px 0 0;
}
.impact-copy > .impact-notice {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.impact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
}
.impact-controls label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 26px;
  font-size: 15px;
  font-weight: 500;
}
.impact-controls label:first-child {
  margin-top: 0;
}
.impact-controls label strong {
  font-size: 18px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.impact-controls input[type='range'] {
  display: block;
  accent-color: var(--navy);
  width: 100%;
  cursor: pointer;
  margin: 12px 0 4px;
}
.range-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.impact-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin: 32px 0 16px;
  padding-top: 24px;
}
.impact-results > div {
  display: grid;
  align-content: start;
  gap: 6px;
}
.impact-results > div > span {
  font-size: 14px;
  color: var(--muted);
}
.impact-results strong {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.impact-results strong small {
  font-size: 16px;
  font-weight: 500;
  margin-left: 4px;
  color: var(--muted);
}
.impact-formula {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* CTA & footer ------------------------------------------------------------ */
.cta-section {
  background: var(--navy);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta-section h2 {
  color: white;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.cta-section p {
  color: #c6d2d5;
  font-size: 17px;
  margin: 0;
}
.main-footer {
  background: #10252f;
  color: #a9babe;
  padding-top: 56px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 48px;
  padding-bottom: 56px;
}
.brand-footer .brand-mark {
  background: #29414c;
}
.brand-footer .brand-type strong {
  color: #fff;
}
.footer-about p {
  margin: 18px 0 0;
  max-width: 24em;
  line-height: 1.55;
}
.footer-contact {
  display: grid;
  gap: 6px;
  align-content: start;
}
.footer-contact strong {
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  align-content: start;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid #2a414a;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Repair form ------------------------------------------------------------- */
.report-top {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.report-heading {
  padding: 47px 0 53px;
}
.back-link {
  display: inline-block;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 36px;
}
.back-link:hover {
  color: var(--navy);
}
.report-heading h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  margin: 0 0 14px;
}
.report-heading p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 570px;
  margin: 0;
}
.form-area {
  padding: 48px 0 100px;
  background: #fff;
  min-height: 700px;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  align-items: start;
  gap: 28px;
}
.form-shell {
  background: white;
  border: 1px solid #e7eae7;
  min-height: 540px;
  padding: 42px 50px 50px;
}
.form-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 60px;
}
.progress-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  color: #a9b2b1;
  white-space: nowrap;
}
.progress-item > span {
  display: grid;
  place-items: center;
  height: 26px;
  width: 26px;
  border-radius: 50%;
  border: 1px solid #dce3df;
  color: #a2aeab;
}
.progress-item.active,
.progress-item.done {
  color: var(--navy);
}
.progress-item.active > span {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.progress-item.done > span {
  border-color: #7caf9b;
  background: #e3f1e9;
  color: #3d806f;
}
.progress-bar {
  height: 1px;
  flex: 1;
  background: #e4e8e5;
}
.form-kicker {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.form-step h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  margin: 8px 0 10px;
}
.step-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 38px;
}
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 19px;
  font-size: 11px;
  font-weight: 800;
  color: #435760;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dde3df;
  background: #fafbf9;
  padding: 14px 15px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  min-height: 49px;
  outline: none;
  transition: border-color 0.15s;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #b78c67;
  outline: 2px solid rgba(183, 140, 103, 0.1);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a0aaa8;
}
.required {
  color: #b88a63;
}
.optional {
  color: #adb4b1;
  font-weight: 400;
}
.field-help {
  color: #9ca5a1;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 400;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}
.form-error {
  margin-top: 16px;
  background: #fff0ee;
  border: 1px solid #f1cac4;
  color: #ac514d;
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
}
.form-aside {
  position: sticky;
  top: 30px;
}
.aside-card {
  background: #eef0ea;
  padding: 34px;
}
.aside-card h3 {
  font: 600 22px/1.2 var(--display);
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 13px;
}
.aside-card > p {
  color: #7c8786;
  font-size: 12px;
  line-height: 1.8;
}
.aside-card ol {
  padding-left: 17px;
  color: #475d60;
  font-size: 12px;
  line-height: 1.8;
}
.aside-card ol li {
  padding-left: 5px;
  margin: 13px 0;
}
.aside-divider {
  height: 1px;
  background: #d7ded8;
  margin: 26px 0;
}
.aside-legal {
  display: flex;
  align-items: start;
  gap: 10px;
  color: #8a9591 !important;
  font-size: 10px !important;
  line-height: 1.7;
}
.aside-legal svg {
  width: 15px;
  height: 15px;
}
.example-button {
  margin-top: 18px;
  border: 1px dashed #c4d0c9;
  background: #fbfcf9;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 17px;
  width: 100%;
  color: #5f7371;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
}
.example-button:hover {
  background: #eff3ec;
}
.example-button svg {
  width: 18px;
  height: 18px;
}
.example-arrow {
  margin-left: auto;
}
.request-summary {
  border: 1px solid #e3e8e4;
  background: #f9fbf8;
}
.summary-row {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 14px;
  padding: 16px 19px;
  border-bottom: 1px solid #e9eeea;
  font-size: 12px;
  line-height: 1.6;
}
.summary-row:last-child {
  border-bottom: 0;
}
.summary-row > span:first-child {
  color: #93a19d;
  font-size: 11px;
}
.summary-row strong {
  font-weight: 700;
  color: #3d5159;
  overflow-wrap: anywhere;
}

/* Operations portal ------------------------------------------------------- */
#view-operations {
  background: #f5f7f6;
}
#view-operations,
.dashboard-shell {
  min-height: calc(100vh - var(--demo-banner-height));
}
.dashboard-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
}
.dash-sidebar {
  background: #152b36;
  color: #aabec3;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: var(--demo-banner-height);
  height: calc(100vh - var(--demo-banner-height));
  z-index: 110;
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 31px 23px;
  border-bottom: 1px solid #29434d;
  color: white;
  font-size: 13px;
  letter-spacing: 0.11em;
  font-weight: 800;
}
.dash-brand > span:last-child {
  line-height: 1.15;
}
.dash-brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #8da4a9;
  margin-top: 5px;
}
.dash-brand-mark {
  width: 31px;
  height: 31px;
  background: #294754;
}
.dash-brand-mark span:nth-child(1),
.dash-brand-mark span:nth-child(2) {
  top: 5px;
  height: 21px;
}
.dash-brand-mark span:nth-child(1) {
  left: 8px;
}
.dash-brand-mark span:nth-child(2) {
  right: 8px;
}
.dash-brand-mark span:nth-child(3) {
  top: 13px;
  left: 10px;
  width: 11px;
}
.dash-nav-heading {
  padding: 35px 25px 13px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  color: #657f88;
}
.dash-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 12px;
}
.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  background: transparent;
  border: 0;
  color: #9db1b7;
  text-align: left;
  padding: 14px 12px;
  font-size: 12px;
  font-weight: 700;
  width: 100%;
}
.dash-nav-link svg {
  width: 19px;
  height: 19px;
}
.dash-nav-link:hover,
.dash-nav-link.active {
  background: #2a4653;
  color: white;
}
.dash-nav-link.active {
  border-left: 2px solid #d8ae84;
}
.dash-nav-link span {
  margin-left: auto;
  background: #355261;
  border-radius: 3px;
  color: #c6d3d6;
  font-size: 9px;
  padding: 3px 6px;
}
.dash-sidebar-bottom {
  margin-top: auto;
  padding: 25px 20px;
  border-top: 1px solid #29434d;
}
.sim-status {
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 800;
  padding: 0 7px 22px;
  white-space: nowrap;
}
.dash-sidebar-bottom > a {
  display: block;
  font-size: 11px;
  color: #d1b28b;
  padding: 12px 7px;
}
.dash-main {
  min-width: 0;
}
.dash-header {
  min-height: 84px;
  position: sticky;
  top: var(--demo-banner-height);
  z-index: 100;
  background: white;
  border-bottom: 1px solid #e7ece8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 44px;
}
.dash-breadcrumb {
  font-size: 11px;
  color: #a8b2b1;
}
.dash-breadcrumb span {
  padding: 0 12px;
}
.dash-breadcrumb strong {
  color: #465d63;
  font-weight: 800;
}
.dash-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.demo-pill {
  background: #edf4ee;
  border: 1px solid #dbe8dc;
  padding: 8px 12px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #5e836c;
  font-weight: 800;
  white-space: nowrap;
}
.demo-pill .tiny-dot {
  background: #619875;
  margin-right: 6px;
}
.avatar {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  background: #e6e8e0;
  color: #55706d;
  border-radius: 50%;
  font-weight: 800;
  font-size: 10px;
}
.dash-mobile-back {
  display: none;
}
.dash-header-left {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
}
.portal-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.portal-identity-icon {
  width: 36px;
  height: 36px;
  background: #eaf0eb;
  border: 1px solid #d8e4dc;
  color: #47685c;
  display: grid;
  place-items: center;
}
.portal-identity-icon svg {
  width: 19px;
  height: 19px;
}
.portal-identity strong {
  display: block;
  color: #203c46;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
}
.portal-identity small {
  display: block;
  color: #8a9897;
  font-size: 10px;
  margin-top: 4px;
  white-space: nowrap;
}
.dash-website-link {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: #1a3543;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.15s;
}
.dash-website-link:hover {
  background: #2c5362;
}
.dash-website-link svg {
  width: 14px;
  height: 14px;
}
.dash-content {
  padding: 41px 44px 80px;
  max-width: 1600px;
}
.dash-content-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-end;
  margin-bottom: 34px;
}
.dash-content h1 {
  font-size: 42px;
  line-height: 1.15;
  color: var(--navy);
  margin: 15px 0 9px;
}
.dash-content h1 em {
  color: #b18d6c;
}
.dash-content-top p {
  font-size: 12px;
  color: #95a09e;
  margin: 0;
}
.dash-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-heading-actions .btn {
  min-height: 43px;
  padding: 0 16px;
  font-size: 11px;
  gap: 9px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 22px;
}
.metric-card {
  border: 1px solid #e6ebe7;
  background: white;
  min-height: 143px;
  padding: 21px 22px;
}
.metric-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #859391;
}
.metric-card svg {
  width: 19px;
  height: 19px;
  color: #b69d80;
}
.metric-card strong {
  display: block;
  font: normal 42px/1 var(--display);
  color: var(--navy);
  margin-top: 16px;
}
.metric-card small {
  font-size: 10px;
  color: #a2adab;
  display: block;
  margin-top: 9px;
}
.dash-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 20px;
}
.dash-panel {
  background: white;
  border: 1px solid #e6ebe7;
  min-width: 0;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 26px 27px;
  border-bottom: 1px solid #edf0ee;
}
.panel-heading h2 {
  font-size: 15px;
  margin: 0 0 7px;
  color: #314952;
}
.panel-heading p {
  font-size: 11px;
  color: #9eaaa7;
  margin: 0;
}
.text-action {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a17d5a;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.text-action svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s;
}
.recent-job {
  padding: 19px 27px;
  border-bottom: 1px solid #edf0ed;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: white;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.recent-job:hover {
  background: #f7f9f6;
}
.recent-job:last-child {
  border-bottom: 0;
}
.recent-job-icon {
  width: 39px;
  height: 39px;
  background: #eef2ef;
  display: grid;
  place-items: center;
  color: #718c7c;
}
.recent-job-icon svg {
  width: 18px;
  height: 18px;
}
.recent-job > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.recent-job strong {
  display: block;
  color: #35505a;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-job small {
  display: block;
  color: #9dabaa;
  font-size: 10px;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-badge,
.priority-badge {
  display: inline-block;
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  border-radius: 2px;
}
.status-awaiting {
  background: #fbf0dd;
  color: #aa7b36;
}
.status-ready {
  background: #eff2f8;
  color: #5b748d;
}
.status-active {
  background: #e6f1ed;
  color: #477e68;
}
.status-complete {
  background: #e9eee9;
  color: #648171;
}
.priority-urgent {
  background: #f8e6e2;
  color: #b36354;
}
.priority-soon {
  background: #f9f0e2;
  color: #a6844d;
}
.priority-routine {
  background: #eef3f1;
  color: #67877d;
}
.mini-log-entry {
  position: relative;
  margin: 0 25px;
  padding: 20px 0 20px 29px;
  border-bottom: 1px solid #eef1ee;
}
.mini-log-entry:last-child {
  border-bottom: 0;
}
.mini-log-entry:before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  height: 9px;
  width: 9px;
  background: #bb9a71;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #f5efe6;
}
.mini-log-entry:not(:last-child):after {
  content: '';
  position: absolute;
  left: 4px;
  top: 35px;
  bottom: -12px;
  width: 1px;
  background: #dce3df;
}
.mini-log-entry strong {
  display: block;
  font-size: 11px;
  color: #405960;
  margin-bottom: 8px;
}
.mini-log-entry p {
  font-size: 10px;
  color: #9daaa7;
  line-height: 1.6;
  margin: 0;
}
.mini-log-entry time {
  display: block;
  font-size: 9px;
  color: #b8c1bc;
  margin-top: 8px;
}
.dash-infobar {
  padding: 21px 25px;
  margin-top: 24px;
  border: 1px solid #dfe7e2;
  background: #edf3ef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #6d8a7b;
  font-size: 10px;
}
.dash-infobar span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-infobar svg {
  width: 17px;
  height: 17px;
}
.dash-infobar a {
  font-weight: 800;
  color: #567e6e;
  white-space: nowrap;
}
.soft-count {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 10px;
  color: #819490;
  background: #edf1ed;
  padding: 7px 10px;
}
.jobs-panel .panel-heading {
  padding: 29px;
}
.jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 21px 27px;
  border-bottom: 1px solid #eaf0ec;
}
.filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-pill {
  background: transparent;
  border: 1px solid transparent;
  color: #92a1a1;
  padding: 9px 11px;
  font-size: 10px;
  font-weight: 800;
}
.filter-pill.active {
  color: #345460;
  background: #e9efeb;
  border-color: #e2e9e4;
}
.filter-pill:hover {
  color: #355361;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2eae4;
  padding: 7px 12px;
  min-width: 195px;
}
.search-field svg {
  width: 17px;
  height: 17px;
  color: #8fa09b;
}
.search-field input {
  border: 0;
  outline: 0;
  font-size: 11px;
  width: 100%;
  min-width: 0;
}
.table-scroll {
  overflow-x: auto;
}
.jobs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  text-align: left;
}
.jobs-table thead {
  background: #fafbf9;
}
.jobs-table th {
  padding: 15px 22px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #a1afa9;
  font-weight: 800;
  white-space: nowrap;
}
.jobs-table td {
  padding: 18px 22px;
  border-top: 1px solid #edf1ed;
  font-size: 11px;
  color: #71817e;
}
.jobs-table tr {
  cursor: pointer;
}
.jobs-table tbody tr:hover {
  background: #f7faf6;
}
.job-title {
  color: #405962;
  font-weight: 800;
  display: block;
}
.job-sub {
  color: #9eaaa6;
  font-size: 10px;
  display: block;
  margin-top: 6px;
}
.empty-state {
  padding: 35px;
  color: #9da6a3;
  font-size: 12px;
  text-align: center;
}
.full-activity {
  padding: 14px 32px 30px;
}
.full-log-entry {
  position: relative;
  padding: 20px 0 24px 42px;
  border-bottom: 1px solid #edf0ec;
}
.full-log-entry:before {
  content: '';
  position: absolute;
  left: 8px;
  top: 25px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c49b72;
  box-shadow: 0 0 0 5px #f3ebe2;
}
.full-log-entry:not(:last-child):after {
  content: '';
  position: absolute;
  left: 13px;
  top: 42px;
  bottom: -15px;
  background: #dce4de;
  width: 1px;
}
.full-log-entry h3 {
  font-size: 12px;
  color: #3d5760;
  margin-bottom: 5px;
}
.full-log-entry p {
  font-size: 11px;
  color: #8f9b98;
  line-height: 1.6;
  margin-bottom: 8px;
}
.full-log-entry small {
  font-size: 9px;
  color: #b5bfba;
}
.portal-context {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 29px;
  padding: 16px 18px;
  background: #eaf0ed;
  border-left: 4px solid #bd9161;
}
.portal-context-symbol {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #3f705e;
  background: #d8e6dd;
  flex: 0 0 auto;
}
.portal-context-symbol svg {
  width: 19px;
  height: 19px;
}
.portal-context strong {
  display: block;
  font-weight: 800;
  color: #294b52;
  font-size: 12px;
  line-height: 1.4;
}
.portal-context p {
  font-size: 11px;
  color: #6a807d;
  line-height: 1.6;
  margin: 4px 0 0;
}
.admin-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.75fr);
  gap: 0;
  min-width: 0;
}
.admin-map-layout .interactive-map {
  min-height: 490px;
}
.admin-map-sidebar {
  padding: 20px;
  background: white;
  border-left: 1px solid #e7ebe6;
}
.admin-map-heading {
  font-size: 10px;
  color: #8da39e;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.admin-map-list {
  display: grid;
  gap: 6px;
}
.admin-map-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 13px 12px;
  border: 1px solid #e7eae7;
  background: #fff;
  text-align: left;
  color: #233f46;
  cursor: pointer;
}
.admin-map-item:hover,
.admin-map-item:focus-visible {
  background: #f7f8f5;
  border-color: #b89b80;
  outline: 0;
}
.admin-map-item svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #b68a64;
}
.admin-map-item strong {
  display: block;
  font-size: 12px;
}
.admin-map-item small {
  display: block;
  margin-top: 5px;
  color: #829795;
  font-size: 10px;
  line-height: 1.5;
}
.admin-map-caption {
  font-size: 10px;
  color: #93a19d;
  line-height: 1.7;
  margin: 20px 0 0;
}

/* Work order drawer & toasts ---------------------------------------------- */
.drawer-shade {
  position: fixed;
  inset: 0;
  background: rgba(11, 26, 33, 0.56);
  z-index: 199;
}
.job-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(530px, 100%);
  overflow: auto;
  background: white;
  z-index: 200;
  box-shadow: -20px 0 80px rgba(10, 25, 30, 0.19);
}
.drawer-header {
  padding: 34px 35px 23px;
  border-bottom: 1px solid #e9eee9;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.drawer-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #b08e6e;
}
.drawer-header h2 {
  font: normal 33px/1.15 var(--display);
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 10px 0 0;
}
.drawer-close {
  border: 0;
  background: #f2f5f1;
  height: 32px;
  width: 32px;
  display: grid;
  place-items: center;
  color: #647a78;
}
.drawer-close svg {
  width: 17px;
}
.drawer-body {
  padding: 25px 35px 40px;
}
.drawer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.drawer-section {
  padding: 23px 0;
  border-top: 1px solid #e8eee9;
}
.drawer-section h3 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #536a70;
  margin-bottom: 17px;
}
.drawer-description {
  color: #6b7f80;
  font-size: 12px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.drawer-dl {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 13px;
  font-size: 11px;
  line-height: 1.5;
}
.drawer-dl dt {
  color: #9aaba5;
}
.drawer-dl dd {
  color: #445f65;
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}
.automation-reason {
  background: #edf5ef;
  border: 1px solid #d9e9dd;
  padding: 17px;
  font-size: 11px;
  line-height: 1.7;
  color: #587766;
}
.automation-reason strong {
  color: #315d49;
  display: block;
  margin-bottom: 6px;
}
.drawer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.drawer-actions button {
  min-height: 42px;
}
.drawer-preview {
  background: #f6f7f4;
  border: 1px solid #e5eae4;
  padding: 20px;
  line-height: 1.7;
  font-size: 11px;
  color: #71827f;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.drawer-timeline-entry {
  display: flex;
  gap: 14px;
  margin-bottom: 17px;
}
.drawer-timeline-entry > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #668b74;
  background: #ebf4ed;
  flex-shrink: 0;
}
.drawer-timeline-entry svg {
  width: 14px;
  height: 14px;
}
.drawer-timeline-entry strong {
  font-size: 11px;
  color: #455d63;
}
.drawer-timeline-entry p {
  font-size: 10px;
  line-height: 1.6;
  color: #91a09b;
  margin: 5px 0;
}
.drawer-timeline-entry small {
  font-size: 9px;
  color: #b3beba;
}
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 250;
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: #1c4146;
  color: white;
  padding: 15px 22px;
  font-size: 12px;
  box-shadow: var(--shadow);
  max-width: 340px;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1180px) {
  .public-nav {
    gap: 20px;
  }
  .public-nav > a:not(.nav-action) {
    font-size: 14px;
  }
  .coverage-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
  }
}
@media (max-width: 1150px) {
  .container {
    width: min(100% - 64px, 1340px);
  }
  .form-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .form-shell {
    padding: 36px;
  }
  .dash-columns {
    grid-template-columns: 1fr;
  }
  .dash-content {
    padding: 33px 27px 70px;
  }
  .dash-header {
    padding: 0 27px;
  }
  .dashboard-shell {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .metric-card {
    padding: 17px;
  }
  .metric-card > div {
    font-size: 9px;
  }
  .dash-header-left {
    gap: 16px;
  }
  .dash-breadcrumb {
    display: none;
  }
  .banner-credit {
    font-size: 8px;
  }
}
@media (max-width: 1000px) {
  .coverage-layout {
    grid-template-columns: 1fr;
  }
  .interactive-map {
    min-height: 440px;
  }
  .coverage-details {
    padding: 24px;
  }
  .coverage-sites {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
  .coverage-site {
    flex-direction: column;
    align-items: start;
    gap: 5px;
    padding: 12px 8px;
  }
  .selected-location p {
    min-height: auto;
  }
  .admin-map-layout {
    grid-template-columns: 1fr;
  }
  .admin-map-sidebar {
    border-left: 0;
    border-top: 1px solid #e7ebe6;
  }
}
@media (max-width: 850px) {
  .site-header {
    height: 76px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .public-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 10px 30px 24px;
    box-shadow: 0 20px 30px rgba(15, 40, 50, 0.12);
  }
  .public-nav.open {
    display: flex;
  }
  .public-nav > a:not(.nav-action) {
    padding: 16px 0;
    border-bottom: 1px solid #e7e9e4;
  }
  .public-nav .nav-action {
    margin-top: 16px;
    justify-content: space-between;
  }
  .form-layout {
    grid-template-columns: 1fr;
  }
  .form-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }
  .example-button {
    margin-top: 0;
    align-self: start;
  }
  .dashboard-shell {
    display: block;
  }
  .dash-sidebar {
    position: fixed;
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .dash-sidebar.show {
    transform: translateX(0);
  }
  .dash-mobile-back {
    display: grid;
    place-items: center;
    background: #edf2ed;
    border: 0;
    height: 34px;
    width: 34px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-mode-prefix {
    display: none;
  }
  .portal-context {
    margin-bottom: 20px;
  }
}
@media (max-width: 650px) {
  .interactive-map {
    min-height: 370px;
  }
  .coverage-sites {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 16px 0;
  }
  .coverage-site {
    flex-direction: row;
    align-items: center;
  }
  .coverage-site strong {
    font-size: 14px;
  }
  .coverage-details {
    padding: 18px;
  }
  .selected-location {
    padding: 24px 19px;
  }
  .map-watermark {
    font-size: 7px;
    left: 9px;
    bottom: 8px;
  }
  .map-toolbar {
    top: 10px;
    right: 10px;
  }
  .map-toolbar button {
    width: 36px;
    height: 36px;
  }
  .map-pin {
    width: 37px;
    height: 37px;
  }
  .map-pin svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 590px) {
  .container {
    width: calc(100% - 36px);
  }
  .brand-type strong {
    font-size: 14px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
  }
  .brand-type small {
    font-size: 7px;
  }
  .back-link {
    margin-bottom: 33px;
  }
  .form-area {
    padding: 24px 0 65px;
  }
  .form-shell {
    padding: 27px 19px;
    min-height: 0;
  }
  .form-progress {
    gap: 7px;
    margin-bottom: 47px;
  }
  .progress-item {
    font-size: 9px;
    gap: 4px;
  }
  .progress-item > span {
    width: 23px;
    height: 23px;
  }
  .input-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions .btn {
    flex: 1;
    padding: 0 14px;
    min-width: max-content;
  }
  .form-aside {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .aside-card {
    padding: 26px;
    width: 100%;
  }
  .example-button {
    margin-top: 15px;
  }
  .summary-row {
    grid-template-columns: 85px 1fr;
    padding: 13px 11px;
    font-size: 11px;
  }
  .demo-pill {
    display: none;
  }
  .dash-content {
    padding: 28px 15px 60px;
  }
  .dash-content-top {
    align-items: stretch;
    flex-direction: column;
  }
  .dash-content h1 {
    font-size: 37px;
  }
  .dash-heading-actions .btn {
    flex: 1;
  }
  .metric-grid {
    gap: 9px;
  }
  .metric-card {
    min-height: 127px;
    padding: 15px;
  }
  .metric-card > div {
    font-size: 9px;
  }
  .metric-card strong {
    font-size: 37px;
  }
  .metric-card small {
    font-size: 9px;
  }
  .panel-heading {
    padding: 21px 16px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .panel-heading p {
    font-size: 10px;
  }
  .recent-job {
    padding: 14px;
  }
  .recent-job .status-badge {
    font-size: 8px;
  }
  .mini-log-entry {
    margin: 0 20px;
  }
  .dash-infobar {
    flex-direction: column;
    align-items: flex-start;
  }
  .jobs-toolbar {
    padding: 13px;
  }
  .jobs-panel .panel-heading {
    padding: 21px 15px;
  }
  .drawer-header {
    padding: 24px 22px;
  }
  .drawer-body {
    padding: 18px 22px;
  }
  .drawer-dl {
    grid-template-columns: 95px 1fr;
  }
  .toast-container {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .toast {
    max-width: none;
  }
  :root {
    --demo-banner-height: 56px;
  }
  .demo-banner {
    font-size: 10px;
  }
  .banner-inner {
    gap: 9px;
  }
  .banner-credit {
    display: none;
  }
  .demo-mode {
    margin-left: 0;
  }
  .demo-mode strong {
    font-size: 9px;
    padding: 9px 8px;
    letter-spacing: 0.02em;
  }
  .mode-switch {
    font-size: 10px;
    min-height: 36px;
    padding: 7px 9px;
    gap: 5px;
    margin-left: auto;
  }
  .mode-switch svg {
    width: 12px;
    height: 12px;
  }
  .dash-header {
    min-height: 77px;
    padding: 0 15px;
    gap: 7px;
  }
  .portal-identity {
    gap: 7px;
  }
  .portal-identity-icon {
    width: 29px;
    height: 29px;
  }
  .portal-identity-icon svg {
    width: 16px;
    height: 16px;
  }
  .portal-identity strong {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .portal-identity small {
    font-size: 8px;
    margin-top: 2px;
  }
  .dash-header-right {
    gap: 7px;
  }
  .dash-website-link {
    display: none;
  }
  .avatar {
    width: 28px;
    height: 28px;
    font-size: 8px;
  }
  .dash-mobile-back {
    width: 30px;
    height: 30px;
  }
  .portal-context {
    padding: 12px;
    gap: 10px;
    margin-bottom: 20px;
  }
  .portal-context-symbol {
    width: 31px;
    height: 31px;
  }
  .portal-context strong {
    font-size: 11px;
  }
  .portal-context p {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .demo-mode strong {
    font-size: 8px;
  }
  .mode-switch {
    font-size: 9px;
  }
  .portal-identity small {
    display: none;
  }
}
/* Homepage responsive ----------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-row,
  .approach-grid,
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-facts {
    max-width: 560px;
  }
  .services-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }
  .service {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }
  .who-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .who-photo img {
    aspect-ratio: 16 / 10;
    object-position: 22% 30%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .hero {
    padding-top: 48px;
  }
  .hero h1 {
    margin-bottom: 28px;
  }
  .hero-lede {
    font-size: 17px;
  }
  .hero-image {
    margin: 48px -18px 0;
  }
  .section,
  .approach-section,
  .coverage-section,
  .impact-section {
    padding: 72px 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .fieldwork-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
  .job-card-head,
  .job-log {
    padding-left: 18px;
    padding-right: 18px;
  }
  .job-log li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }
  .impact-panel {
    padding: 24px 18px;
  }
  .impact-results strong {
    font-size: 30px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .report-heading {
    padding: 28px 0 36px;
  }
  .back-link {
    margin-bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
