@font-face {
  font-family: DM Sans;
  src: url(/assets/dm-sans.woff2) format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
  font-synthesis: none;
  --wf-masthead:
    radial-gradient(
      ellipse 92% 112% at 92% 0%,
      #bdeec7 0%,
      #caf3d1 24%,
      #d9f9e1b8 51%,
      transparent 87%
    ),
    linear-gradient(172deg, #fbfcfa 3%, #e9f7ec 50%, transparent 90%);
  --wf-action: #267e31;
  --ink: #181d23;
  --muted: #4b5b59;
  --green: #226f30;
  --lime: #dcf7df;
  --line: #c7dace;
  --paper: #f7faf7;
  --side: #edf3f1;
  color: var(--ink);
  background: #ecf3ee;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  color: inherit;
  border: 0;
}
input,
select {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  resize: vertical;
}
a {
  -webkit-tap-highlight-color: transparent;
  color: var(--green);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8ea855;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
svg,
i {
  vertical-align: middle;
}
i[data-icon] {
  font-style: normal;
}
button svg {
  flex-shrink: 0;
}
.skip {
  position: absolute;
  left: 10px;
  top: -80px;
  z-index: 5000;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
/* Workspace and navigation */
#shell {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  min-height: 100dvh;
  --gutter: clamp(24px, 2.7vw, 48px);
  background: #edf4ee;
}
#sidebar {
  height: 100dvh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  z-index: 850;
  padding: 0 16px;
  color: var(--ink);
  background: linear-gradient(165deg, #f3f6f6 5%, #edf3f2 59%, #e5eeea);
  border-right: 1px solid #cbdcd1;
}
.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 62px;
  flex-shrink: 0;
  margin: 0 8px 32px;
  gap: 9px;
  color: #171e22;
  font-size: 28px;
  letter-spacing: -1.35px;
  font-weight: 740;
}
.wordmark img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  filter: hue-rotate(38deg) saturate(0.69) brightness(0.98);
}
.nav-heading {
  text-transform: uppercase;
  color: #586c60;
  font-size: 10px;
  font-weight: 670;
  letter-spacing: 0.105em;
  margin: 0 11px 10px;
}
#nav {
  display: flex;
  flex-direction: column;
}
.nav-group + .nav-group {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e0e7e1;
}
.nav-item,
.foot-actions button {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  text-align: left;
  text-decoration: none;
  color: #354549;
  padding: 9px 11px;
  gap: 10px;
  font-weight: 520;
  border-radius: 7px;
}
.nav-item {
  margin-bottom: 3px;
  min-height: 40px;
  font-size: 13px;
}
.foot-actions button {
  min-height: 35px;
  font-size: 12px;
}
.nav-item svg {
  color: #387542;
  flex-shrink: 0;
}
.nav-item:hover,
.foot-actions button:hover {
  color: #214733;
  background: #eaf0eb;
}
.nav-item.active {
  background: linear-gradient(100deg, #d4f0d4, #e0f6e0);
  color: #175a23;
  font-weight: 640;
  box-shadow: inset 3px 0 #2a8d37;
}
.nav-item.active svg {
  color: #187728;
}
.nav-item .nav-count {
  margin-left: auto;
  background: #ffffff80;
  border-radius: 20px;
  font-size: 11px;
  padding: 1px 7px;
}
.side-foot {
  position: relative;
  isolation: isolate;
  margin-top: auto;
  padding-top: 0;
}
.side-foot .contours {
  display: none;
}
.contours {
  position: absolute;
  z-index: -1;
  inset: -140px -18px auto;
  height: 160px;
  background: url(/assets/contours.svg) center bottom/cover;
  opacity: 0.17;
  pointer-events: none;
}
.foot-actions {
  padding: 10px 0 14px;
}
.foot-actions svg {
  color: #387542;
  flex-shrink: 0;
}
.brand-signature {
  border-top: 1px solid #466153;
  border-color: #dce5dd;
  color: #587064;
  font-size: 11px;
  font-weight: 490;
  padding: 15px 10px 21px;
}
.workspace {
  min-width: 0;
  background-color: #edf4ee;
  background-image:
    var(--wf-masthead), linear-gradient(120deg, #f3f7f5, #edf6ef 64%, #e6f1e9);
  background-repeat: no-repeat;
  background-size:
    100% 390px,
    100% 390px,
    100% 100%;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 50px);
  height: 62px;
  padding-inline: var(--gutter);
  background: transparent;
  border-bottom: 0;
  position: relative;
}
.topbar::after {
  content: "";
  position: absolute;
  inset: auto var(--gutter) 0;
  height: 1px;
  background: #bcd6c4;
  pointer-events: none;
}
.topbar .avatar {
  background: #def3df;
  border-color: #a6cbb0;
  color: #245c30;
}
.breadcrumbs,
.crumb-app {
  display: flex;
  align-items: center;
  gap: 11px;
}
.breadcrumbs {
  font-size: 13px;
  color: #68796e;
}
.crumb-app svg {
  width: 16px;
  color: #68796e;
}
.crumb-sep {
  color: #a7b8ab;
}
.breadcrumbs strong {
  color: #1a2225;
  font-weight: 640;
}
.mobile-nav,
.scrim {
  display: none !important;
}
.user-btn {
  display: flex;
  align-items: center;
  background: none;
  font-size: 13px;
  font-weight: 600;
  padding: 5px;
  color: #2a3939;
  gap: 9px;
}
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #d6dfce;
  width: 30px;
  height: 30px;
  color: #345a45;
  border-color: #d3e1d7;
  background: #edf4ee;
}
.avatar svg {
  width: 16px;
}
#content {
  margin: 0 auto;
  outline: none;
  max-width: 1840px;
  padding: 0 var(--gutter) 36px;
}
#content:has(.ws-editor) {
  padding-top: 24px;
}
h1 {
  margin: 0;
  font-size: clamp(29px, 2.7vw, 45px);
  letter-spacing: -1.8px;
  font-weight: 640;
  line-height: 1.08;
}
h2 {
  margin: 0;
  font-size: 22px;
  color: var(--ink);
  font-weight: 640;
  letter-spacing: -0.035em;
}
h3 {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  font-weight: 625;
}
p {
  margin: 0;
}
.lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 145px;
  margin: 0 0 22px;
  padding: 27px 0 31px;
  border: 0;
  border-bottom: 1px solid #b9d5c2;
  background: transparent;
}
.lead h1 {
  color: var(--ink);
  font-size: clamp(34px, 3.1vw, 46px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.lead .btn:hover {
  background: #216d2a;
}
.lead p {
  font-size: 14px;
  color: #414f53;
  line-height: 1.5;
  margin-top: 9px;
}
.btn,
.btn-sub,
.btn-link,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 620;
  border-radius: 7px;
}
.btn,
.btn-sub {
  padding: 10px 15px;
  min-height: 40px;
  font-size: 13px;
  text-decoration: none;
}
.btn {
  color: white;
  border: 1px solid #255a40;
  background: linear-gradient(165deg, #2f8733, #23772c);
  box-shadow:
    inset 0 1px 0 #ffffff18,
    0 1px 2px #16332319;
}
.btn-sub,
.icon-btn {
  border: 1px solid #d6e1d8;
  color: #2a4938;
  background: #fff;
  box-shadow: 0 1px 2px #142b2307;
}
.btn-link {
  font-size: 13px;
  background: transparent;
  padding: 8px 0;
  color: #256935;
}
.icon-btn {
  height: 36px;
  width: 36px;
  padding: 0;
}
.btn:hover {
  background: #214e38;
}
.btn-link:hover {
  text-decoration: underline;
}
.btn-danger {
  color: #8b453c;
  background: #fcf7f5;
  border-color: #e7d8d2;
}
/* Property map, its controls and the destination index */
.map-card,
.panel,
.rows,
.poi-grid {
  overflow: hidden;
  border: 1px solid #c5d9cb;
  background: #f5faf5;
}
.map-card,
.panel {
  border-radius: 5px;
}
.map-card {
  box-shadow: none;
}
.panel {
  padding: 18px;
}
.map-card .wf-farm-tools {
  color: #355640;
  gap: 8px 12px;
  align-items: center;
  border: 0;
  padding: 7px 16px;
  background: #e8f4ea;
  border-bottom: 1px solid #c0d6c6;
}
#content > .map-card:not(.expanded) {
  overflow: visible;
  background: #f6faf6;
  border: 1px solid #b8d0bf;
  border-radius: 10px;
  box-shadow: 0 3px 12px #203c2c0b;
}
.map-card .map-header {
  padding-inline: 0;
  border-bottom: 1px solid #dce4dc;
  min-height: 62px;
  padding: 10px 16px;
  border-bottom-color: #c8dccd;
}
.map-card .map-stage {
  overflow: hidden;
  border-radius: 0;
}
.map-card .wf-farm-tools label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12px;
  color: #435450;
}
.map-card .wf-farm-tools select {
  border: 1px solid #d5ded4;
  border-radius: 5px;
  font: inherit;
  padding: 4px 8px;
  min-height: 31px;
  background: #f8fbf8;
  border-color: #b9d0c1;
  color: #24362a;
}
.map-card .wf-farm-tools button {
  border: none;
  border-radius: 4px;
  background: transparent;
  padding-inline: 6px;
  color: #256935;
}
.map-card .wf-farm-tools button:hover {
  background: #edf2eb;
}
.map-card .map-footer {
  border: 0;
  padding-inline: 13px;
  background: #ecf5ed;
  color: #42564d;
  border-radius: 0 0 10px 10px;
}
.map-card .map-actions :is(.btn-sub, .icon-btn) {
  border-radius: 5px;
  box-shadow: none;
  background: #fbfdfb;
  border-color: #c4d6cb;
}
.map-card .property-select .prop-icon {
  box-shadow: none;
  color: #267232;
  background: #e0f2e2;
  border: 1px solid #bdddc3;
  border-radius: 7px;
}
.map-card .property-select strong {
  font-size: 18px;
  font-weight: 620;
  color: #1a2225;
}
.map-header,
.map-footer,
.section-head,
.property-select {
  display: flex;
  align-items: center;
}
.map-header,
.map-footer,
.section-head {
  justify-content: space-between;
  gap: 14px;
}
.map-header {
  position: relative;
  padding: 12px 17px;
  min-height: 59px;
  border-bottom: 1px solid #e0e7e1;
}
.map-footer {
  font-size: 11px;
  font-weight: 500;
  min-height: 37px;
  padding: 7px 16px;
  color: #506659;
  background: #fbfcfa;
}
.section-head {
  margin: 23px 0 12px;
}
.property-select {
  gap: 11px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
}
.map-header .btn-sub,
.map-header .icon-btn {
  border-color: #d9e3db;
}
.section-head .count {
  background: transparent;
  border: 0;
  padding: 0;
  color: #52685b;
  font-size: 12px;
}
.property-select .sel {
  min-width: 0;
}
.property-select strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  color: #1a392b;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.property-select small {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
  margin-top: 3px;
  color: #5a7062;
}
.prop-icon {
  background: #eef5ee;
  border: 1px solid #dce7dc;
  color: #3b654c;
}
.map-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.map-actions .btn-sub {
  min-height: 35px;
  padding: 6px 11px;
}
.map-actions .icon-btn {
  height: 35px;
  width: 35px;
}
.pop-wrap {
  position: relative;
}
.pop {
  position: absolute;
  z-index: 820;
  min-width: 205px;
  right: 0;
  top: calc(100% + 6px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 5px;
  border-color: #d6e1d9;
  box-shadow: 0 12px 40px #142b231b;
}
.pop.left {
  left: 14px;
  right: auto;
  top: calc(100% - 4px);
}
.pop button {
  background: none;
  display: flex;
  width: 100%;
  padding: 9px;
  text-align: left;
  border-radius: 5px;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.pop button:hover {
  background: #eff5ef;
}
.pop button[aria-checked="true"] {
  background: #e2eee4;
}
.map-stage {
  position: relative;
  isolation: isolate;
  height: clamp(315px, 42vh, 540px);
  background: #e3e9df;
}
.map-canvas {
  width: 100%;
  height: 100%;
  background: #e5e8db;
}
.leaflet-container {
  font:
    12px "DM Sans",
    sans-serif;
}
.leaflet-control-attribution {
  max-width: 100%;
  font-size: 9px !important;
}
.leaflet-control-attribution a {
  color: #285441;
}
.leaflet-overlay-pane img.satellite-scene {
  filter: saturate(0.95) brightness(0.86) contrast(1.06);
}
/* Selected farm outline supplied by the cartographic layer. */
.leaflet-farmBoundaries-pane path[stroke="#fff298"] {
  stroke: #def4de;
  fill: #abd5b4;
  filter: drop-shadow(0 1px 1px #173c2d99);
}
.map-overlay {
  position: absolute;
  z-index: 510;
}
.map-stamp {
  left: 15px;
  top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.1px;
  pointer-events: none;
  background: #193528e6;
  border: 1px solid #ffffff47;
  padding: 5px 8px;
  border-radius: 5px;
  color: #f5faf5;
  box-shadow: 0 1px 4px #12281c18;
}
.map-tools {
  right: 13px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.map-tools .icon-btn {
  width: 34px;
  height: 34px;
  box-shadow: 0 1px 5px #13231b22;
}
.zoom-group {
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid #cfd8c8;
}
.zoom-group .icon-btn {
  border: none;
  border-radius: 0;
  display: flex;
}
.zoom-group .icon-btn + .icon-btn {
  border-top: 1px solid #e2e6dd;
}
.legend {
  display: flex;
  align-items: center;
  gap: 20px;
}
.legend span,
.map-loc {
  display: flex;
  align-items: center;
  gap: 7px;
}
.map-loc {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.25px;
  color: #5b7062;
  font-variant-numeric: tabular-nums;
}
.line-key {
  height: 3px;
  width: 18px;
  background: #88a940;
  border-radius: 2px;
}
.point-key {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #395945;
}
.map-card.expanded {
  position: fixed;
  z-index: 1000;
  inset: 12px;
  display: flex;
  flex-direction: column;
  background: #f5faf5;
}
.map-card.expanded .map-stage {
  flex: 1;
}
.leaflet-tooltip.poi-label {
  background: #fffffff5;
  border-radius: 5px;
  padding: 5px 8px;
  font:
    650 12px "DM Sans",
    sans-serif;
  color: #234434;
  border: 1px solid #d3dfd5;
  font-weight: 625;
  font-size: 11px;
  box-shadow: 0 1px 4px #18382622;
}
.poi-label:before {
  display: none;
}
.map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  border-radius: 50% 50% 50% 2px;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  color: #fff;
  box-shadow: 0 1px 6px #17281777;
  background: var(--accent, #386e4c);
}
.map-pin svg {
  transform: rotate(45deg);
}
.tone-delivery {
  --accent: #48673a;
  --pale: #e4efdb;
}
.tone-barn {
  --accent: #775d34;
  --pale: #f0e9da;
}
.tone-gate {
  --accent: #2f7057;
  --pale: #ddf0e4;
}
.tone-other {
  --accent: #5b6874;
  --pale: #edf1f3;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title h2 {
  color: #1a2025;
}
.count {
  font-weight: 600;
  background: #f1f5ef;
  border: 1px solid #dce6dd;
  border-radius: 5px;
  padding: 0 6px;
  color: #4a6753;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 18px;
}
.poi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 0;
  border-radius: 9px;
}
.poi-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  min-width: 0;
  transition:
    border-color 0.15s,
    background 0.15s;
  padding: 15px 17px;
  min-height: 76px;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  background: #f6faf6;
}
.poi-card:nth-child(3n),
.poi-card:last-child {
  border-right: none;
}
.poi-card:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}
.poi-card:focus-visible {
  outline-offset: -3px;
}
.poi-card:hover {
  border-color: #9aaa92;
  background: #e0f3e2;
}
.item-icon,
.prop-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #2348340c;
}
.item-icon {
  flex-shrink: 0;
  background: var(--pale, #eaf0e1);
  color: var(--accent, #466242);
}
.poi-card strong,
.poi-card small {
  display: block;
}
.poi-card strong {
  letter-spacing: -0.18px;
  font-size: 14px;
  font-weight: 650;
  color: #1a2025;
}
.poi-card small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.poi-card > .end-icon {
  margin-left: auto;
  display: flex;
  color: #678374;
}
.test-label {
  font-weight: 550;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  padding: 3px 6px;
  color: #3e5f49;
  background: #edf5ee;
  border: 1px solid #dce9dd;
}
.map-footer p {
  margin: 0;
}
.map-stage.placing,
.map-stage.placing .leaflet-container {
  cursor: crosshair;
}
.placing-note {
  bottom: 24px;
  left: 12px;
  right: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  gap: 10px;
  background: #fffffff2;
  padding: 8px 12px;
  border-radius: 6px;
}
.empty {
  padding: 26px 22px;
  border: 1px dashed #cbd6c5;
  border-radius: 10px;
  display: grid;
  gap: 10px;
  justify-items: start;
  background: #f8faf7;
  border-color: #cbdacf;
}
.empty p,
.panel p,
.subtext {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.rows {
  border-radius: 5px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fff;
  padding: 17px 20px;
  min-height: 71px;
}
.row h3 {
  font-size: 15px;
  letter-spacing: -0.025em;
}
.row:hover {
  background: #e0f3e2;
}
.row + .row {
  border-top: 1px solid var(--line);
}
.row lead {
  flex: 1;
}
.row p {
  font-size: 13px;
  margin-top: 3px;
  color: #617468;
}
.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
  color: #3e5f49;
  background: #edf5ee;
  border: 1px solid #dce9dd;
  border-radius: 5px;
}
.row-actions,
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.row-actions {
  gap: 18px;
}
.actions {
  gap: 8px;
}
.row-actions .btn-sub {
  min-height: 34px;
  padding: 6px 12px;
}
.spacer {
  height: 15px;
}
.guide-steps {
  padding-left: 22px;
  line-height: 1.55;
  color: #526156;
}
.guide-steps li {
  margin: 8px 0;
}
.guide-steps li::marker {
  color: var(--green);
  font-weight: bold;
}
.file-label input {
  font-size: 14px;
}
dialog {
  color: var(--ink);
  width: min(460px, calc(100vw - 30px));
  border: 1px solid #d3dfcb;
  border-radius: 15px;
  padding: 24px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border-color: #d6e1d9;
  box-shadow: 0 12px 40px #142b231b;
}
dialog::backdrop {
  background: #10251e70;
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.dialog-head h2 {
  font-size: 23px;
}
.dialog-head .icon-btn {
  width: 29px;
  height: 29px;
  border-color: transparent;
}
.form {
  display: grid;
  gap: 13px;
}
.form label[hidden] {
  display: none;
}
.form label,
.field {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 620;
  color: #34473a;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5c6;
  background: white;
  color: var(--ink);
  border-radius: 7px;
  padding: 10px 11px;
  font-size: 15px;
}
input[type="file"] {
  padding: 8px;
  font-size: 13px;
}
.form a.btn {
  color: white;
}
.form .check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}
.form .check input {
  margin-top: 3px;
}
.form p,
.dialog-copy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.form-error {
  color: #953c32 !important;
  font-size: 13px;
}
.form-error:empty {
  display: none;
}
.form .btn {
  min-height: 42px;
}
.key-value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 15px;
  font-size: 14px;
  margin: 15px 0;
}
.key-value dt {
  color: var(--muted);
}
.key-value dd {
  margin: 0;
}
.notice {
  background: #f1f5e9;
  color: #435a43;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}
.account-list {
  display: grid;
  gap: 10px;
}
.account-list p {
  font-size: 14px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  background: #193d2f;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 5px 20px #10261c33;
  max-width: 90vw;
}
#toast:empty {
  display: none;
}
.filter {
  margin: 0 0 15px;
  max-width: 380px;
}
.coords {
  font:
    12px ui-monospace,
    monospace;
  color: #687569;
}
.status-line {
  font-size: 13px;
}
.offline {
  padding: 12px 14px;
  background: #fff1e7;
  color: #805b39;
}
.lead .btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding-inline: 17px;
  min-height: 40px;
  color: #fff;
  background: linear-gradient(165deg, #308536, #23742d);
  border: 1px solid #22732c;
  border-radius: 7px;
  box-shadow:
    inset 0 1px 0 #ffffff22,
    0 2px 5px #205b2f12;
}
.lead > div {
  min-width: 0;
}
.section-head h2 {
  font-size: 22px;
}
.property-select .sel strong {
  overflow-wrap: anywhere;
}
.import-group {
  padding: 10px 0;
  border-bottom: 1px solid #d9e2dc;
}
.import-group summary {
  cursor: pointer;
  color: #183e31;
  font-weight: 650;
}
.import-group summary small {
  padding-left: 8px;
  font-weight: 400;
}
.import-group label {
  margin-top: 12px;
}
.import-member span small {
  display: block;
  font-weight: 400;
}
.imagery-control {
  max-width: min(68vw, 330px);
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  color: #253b33;
}
.imagery-control[hidden],
.imagery-control label[hidden] {
  display: none;
}
.imagery-control select {
  font: inherit;
  color: inherit;
  max-width: 100%;
  border: 0;
  background: transparent;
  padding: 3px 0;
}
.imagery-control span {
  display: block;
}
dialog:has([data-groups]) {
  width: min(600px, calc(100vw - 30px));
}
.wf-farm-tools {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 14px;
  color: #263f34;
  background: #f6f8f4;
  border-bottom: 1px solid #dce4d9;
}
.wf-farm-tools[hidden],
.wf-farm-tools button[hidden],
.wf-farm-map-name[hidden] {
  display: none;
}
.wf-farm-tools label {
  display: grid;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
}
.wf-farm-tools select {
  max-width: min(260px, 72vw);
  min-height: 32px;
  padding: 5px 8px;
  width: auto;
  font-size: 13px;
}
.wf-farm-tools button {
  padding: 6px 9px;
  min-height: 32px;
  border: 1px solid #c2d0c4;
  border-radius: 6px;
  background: #fff;
  color: #28563e;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.wf-farm-tools button:hover {
  background: #ecf3e9;
}
.wf-farm-names,
.wf-farm-anchor {
  pointer-events: none;
}
.wf-farm-tether {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  transform-origin: left center;
  background: #e3ecdf;
  box-shadow: 0 1px 1px #203026;
}
.wf-farm-names.is-passive .wf-farm-tether {
  display: none;
}
.wf-farm-map-name {
  display: block;
  width: max-content;
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  touch-action: manipulation;
  cursor: pointer;
  pointer-events: auto;
  color: white;
  background: rgba(24, 42, 32, 0.86);
  border: 1px solid var(--farm-color);
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 15px;
  font-size: 11px;
  font-weight: 650;
  text-shadow: 0 1px 2px #16291b;
}
.wf-farm-map-name.is-selected {
  text-shadow: none;
  color: #14382a;
  background: #e6f4e8;
  border-color: #d5eedd;
}
.wf-farm-names.is-passive .wf-farm-map-name {
  pointer-events: none;
  opacity: 0.68;
}
.leaflet-container .leaflet-publicRoads-pane {
  opacity: var(--osm-opacity, 0.42);
}
.wf-road-opacity {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 8px;
  font-size: 12px;
  color: #354c40;
}
.wf-road-opacity input[type="range"] {
  grid-row: 2;
  grid-column: 1 / -1;
  width: 100%;
  padding: 0;
  margin: 5px 0;
  accent-color: #357051;
}
.wf-road-opacity output {
  grid-area: 1/2;
  font-variant-numeric: tabular-nums;
}
.pop .wf-road-opacity {
  margin: 8px 12px;
}
.share-notes-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid #becfc1;
}
.btn-sub:hover,
.icon-btn:hover {
  background: #f4f8f3;
  border-color: #b6ccbf;
}
.btn-danger:hover {
  color: #743229;
  border-color: #cab4ae;
}
.form input:not([type="checkbox"]),
.form select,
.form textarea,
.field input,
.field select {
  border-color: #d0dcd3;
  color: var(--ink);
  border-radius: 6px;
}
@media (min-width: 781px) {
  #content > .map-card:not(.expanded) .map-stage {
    height: clamp(330px, 47vh, 570px);
  }
}
@media (min-width: 1081px) {
  #shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}
/* Wide desktops place the destination index beside the map. */
@media (min-width: 1220px) {
  #content:has(> .map-card) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(244px, 25%);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "title title" "map index-title" "map places" "map index-link";
    align-items: start;
    column-gap: clamp(20px, 1.9vw, 32px);
  }
  #content:has(> .map-card) > .lead {
    grid-area: title;
  }
  #content > .map-card {
    grid-area: map;
    min-width: 0;
  }
  #content > .map-card ~ .section-head {
    display: contents;
  }
  #content > .map-card ~ .section-head .section-title {
    grid-area: index-title;
    align-items: center;
    gap: 9px;
    padding-inline: 16px;
    min-height: 62px;
    background: #e1f2e3;
    border: 1px solid #bfd7c6;
    border-radius: 9px 9px 0 0;
  }
  #content > .map-card ~ .section-head h2 {
    font-size: 20px;
    font-weight: 610;
    letter-spacing: -0.04em;
  }
  #content > .map-card ~ .section-head .btn-link {
    grid-area: index-link;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px 16px;
    justify-content: flex-start;
    border: 1px solid #c4d9c9;
    border-top: 0;
    border-radius: 0 0 9px 9px;
    background: #eaf3eb;
  }
  #content > .map-card ~ :is(.poi-grid, .empty) {
    grid-area: places;
  }
  #content > .map-card ~ .poi-grid {
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    border-inline: 1px solid #c4d9c9;
    background: #f4f9f5;
  }
  #content > .map-card ~ .poi-grid .poi-card {
    padding: 15px 0;
    gap: 12px;
    border: 0;
    border-radius: 0;
    padding-inline: 15px;
    min-height: 76px;
    border-bottom: 1px solid #d0e0d4;
    background: transparent;
  }
  #content > .map-card ~ .poi-grid .item-icon {
    box-shadow: none;
    width: 34px;
    height: 36px;
    border-radius: 6px;
    color: var(--accent);
    background: var(--pale);
  }
  #content > .map-card ~ .poi-grid .end-icon {
    margin-left: auto;
    color: #6d8073;
  }
  #content > .map-card ~ .section-head .count {
    margin-left: auto;
    color: #326e40;
    font-size: 13px;
  }
  #content > .map-card ~ .poi-grid .poi-card:hover {
    background: #e1f3e4;
  }
  #content > .map-card ~ .section-head .btn-link:hover {
    background: #e0f1e2;
  }
}
@media (max-width: 1080px) {
  #shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .map-loc {
    font-size: 9px;
  }
  .poi-card {
    gap: 9px;
  }
  .poi-card > .end-icon {
    display: none;
  }
}
@media (min-width: 781px) and (max-width: 950px) {
  #shell {
    grid-template-columns: 168px minmax(0, 1fr);
    --gutter: 20px;
  }
  #sidebar {
    padding-inline: 9px;
  }
  .nav-item {
    font-size: 12px;
  }
  .lead p {
    max-width: 42ch;
  }
  .poi-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }
  .poi-card small {
    font-size: 11px;
  }
}
@media (max-width: 780px) {
  #shell {
    display: block;
    --gutter: 16px;
  }
  #sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 235px;
    transform: translateX(-102%);
    transition: transform 0.16s;
  }
  .wordmark {
    height: 59px;
    margin-bottom: 26px;
  }
  .contours {
    display: none;
  }
  .workspace {
    background-size:
      100% 350px,
      100% 350px,
      100% 100%;
  }
  .topbar {
    padding: 0 15px;
    height: 55px;
    padding-inline: var(--gutter);
  }
  .breadcrumbs {
    gap: 8px;
    font-size: 12px;
  }
  .crumb-app svg {
    display: none;
  }
  .mobile-nav {
    display: inline-flex !important;
  }
  .user-btn {
    font-size: 12px;
  }
  .lead {
    align-items: start;
    gap: 10px;
    min-height: 0;
    margin-bottom: 16px;
    padding-block: 21px;
  }
  .lead h1 {
    font-size: clamp(33px, 5vw, 40px);
  }
  .lead p {
    font-size: 13px;
  }
  .map-card .map-header {
    min-height: 57px;
    padding: 8px 10px;
  }
  .map-card .wf-farm-tools {
    padding: 7px 9px;
  }
  .map-card .map-footer {
    padding-inline: 8px;
  }
  .property-select {
    gap: 7px;
  }
  .map-header {
    padding: 10px 12px;
    min-height: 57px;
  }
  .map-footer {
    min-height: 32px;
    padding: 6px 10px;
  }
  .section-head {
    margin: 20px 0 10px;
  }
  .property-select strong {
    font-size: 14px;
  }
  .prop-icon {
    width: 33px;
    height: 33px;
  }
  .map-actions {
    gap: 5px;
  }
  .map-actions .btn-sub {
    font-size: 12px;
    padding: 6px;
  }
  .map-actions .icon-btn {
    width: 30px;
  }
  .map-stage {
    height: clamp(290px, 42vh, 385px);
  }
  .map-stamp {
    left: 9px;
    top: 9px;
  }
  .map-tools {
    right: 8px;
  }
  .section-title h2 {
    letter-spacing: -0.035em;
  }
  .poi-grid {
    grid-template-columns: 1fr;
  }
  .poi-card {
    border: 0;
    padding: 11px 13px;
    min-height: 63px;
  }
  .poi-card:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }
  .poi-card > .end-icon {
    display: block;
  }
  .row {
    flex-wrap: wrap;
    padding: 13px 14px;
    min-height: 64px;
  }
  .row-actions {
    margin-left: auto;
    gap: 7px;
  }
  .menu-open #sidebar {
    transform: none;
  }
  .menu-open .scrim {
    display: block !important;
    position: fixed;
    inset: 0;
    background: #122b2070;
    z-index: 840;
  }
  .lead .btn {
    padding: 8px 12px;
    min-height: 36px;
  }
  .map-footer .map-loc {
    display: none;
  }
  .map-footer .legend {
    font-size: 10px;
  }
  .section-head h2 {
    font-size: 20px;
  }
}
@media (max-width: 520px) {
  .map-card .leaflet-tooltip.poi-label {
    max-width: 94px;
    white-space: normal;
    font-size: 10px;
    line-height: 1.2;
    padding: 3px 6px;
  }
  #content > .map-card .wf-farm-tools {
    gap: 4px;
  }
  .map-card .wf-farm-tools label {
    gap: 5px 8px;
    flex: 1 1 190px;
  }
  .map-card .wf-farm-tools select {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .workspace {
    width: 100%;
  }
  h1 {
    font-size: 29px;
  }
  .lead {
    flex-wrap: wrap;
    gap: 12px;
  }
  .lead p {
    max-width: 39ch;
  }
  .map-header {
    gap: 4px;
  }
  .map-actions .btn-sub {
    width: 32px;
  }
  .map-stage {
    height: clamp(280px, 37vh, 345px);
  }
  .map-stamp {
    font-size: 10px;
  }
  .legend {
    flex-wrap: wrap;
  }
  .poi-card .item-icon {
    width: 35px;
    height: 35px;
  }
  .lead .btn {
    font-size: 12px;
  }
  .lead > div {
    width: 100%;
  }
  .topbar .crumb-app,
  .topbar .crumb-sep,
  .map-header .test-label,
  .map-actions .layer-text {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .nav-item,
  .btn,
  .btn-sub {
    transition:
      background-color 0.14s,
      border-color 0.14s;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
