:root {
  color-scheme: light;
  --geco-charcoal: #3a3a3a;
  --geco-green: #519f77;
  --geco-green-dark: #2f7355;
  --paper: #fbfbf8;
  --ink: #282d2a;
  --muted: #66716b;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #e8ece8;
}

#quarto-sidebar,
#quarto-header,
#quarto-margin-sidebar,
.quarto-title-block,
.chapter-number,
.chapter-title,
.quarto-navigation-envelope,
footer {
  display: none !important;
}

#quarto-content,
.page-columns,
main.content,
.content,
#full-screen-map,
.cell,
.cell-output-display,
.html-widget-static-bound,
.leaflet {
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#quarto-content,
.page-columns,
main.content {
  display: block !important;
  position: static !important;
}

.cell-output-display {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1;
}

.leaflet-container {
  background: #e8ece8;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}

.info-panel {
  position: fixed;
  z-index: 1000;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(25rem, calc(100vw - 4rem));
  color: var(--ink);
  background: rgba(251, 251, 248, 0.97);
  border-right: 1px solid rgba(58, 58, 58, 0.13);
  box-shadow: 1.1rem 0 2.8rem rgba(26, 37, 31, 0.16);
  transform: translateX(-100%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.info-panel.is-open {
  transform: translateX(0);
}

.info-panel__content {
  height: 100%;
  box-sizing: border-box;
  padding: 1.6rem clamp(1.35rem, 3vw, 2rem) 2.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.info-panel__toggle {
  position: absolute;
  top: 1.25rem;
  left: 100%;
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  width: max-content;
  max-width: 11rem;
  padding: 0.55rem 0.8rem;
  color: #fff;
  background: var(--geco-charcoal);
  border: 0;
  border-radius: 0 0.45rem 0.45rem 0;
  box-shadow: 0 0.5rem 1.2rem rgba(30, 35, 32, 0.22);
  font: 700 0.78rem/1.1 Lato, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}

.info-panel__toggle:hover,
.info-panel__toggle:focus-visible {
  background: var(--geco-green-dark);
}

.info-panel__toggle:focus-visible {
  outline: 3px solid rgba(81, 159, 119, 0.45);
  outline-offset: 3px;
}

.toggle-icon {
  color: #8dd2aa;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 0.7;
}

.brand-block {
  margin: 0 0 2rem;
}

.brand-block img {
  display: block;
  width: 3.2rem;
  height: auto;
}

.brand-rule {
  display: block;
  width: 3.2rem;
  height: 0.22rem;
  margin-top: 1.15rem;
  background: #2eaf87;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--geco-green-dark);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.info-panel h1 {
  margin: 0;
  color: var(--geco-charcoal);
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lede {
  margin: 0.9rem 0 2rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.52;
}

.info-panel section {
  padding: 1.15rem 0;
  border-top: 1px solid #dfe4df;
}

.info-panel h2 {
  margin: 0 0 0.55rem;
  color: var(--geco-charcoal);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.info-panel p,
.info-panel li {
  color: #515c56;
  font-size: 0.91rem;
  line-height: 1.58;
}

.info-panel section p,
.info-panel ul,
.info-panel ol {
  margin: 0;
}

.info-panel ul,
.info-panel ol {
  padding-left: 1.15rem;
}

.info-panel li + li {
  margin-top: 0.35rem;
}

.info-panel a {
  color: var(--geco-green-dark);
  text-decoration-color: rgba(47, 115, 85, 0.35);
  text-underline-offset: 0.16em;
}

.info-panel a:hover {
  color: var(--geco-green);
  text-decoration-color: currentColor;
}

.info-panel code {
  padding: 0.08em 0.25em;
  color: #315b47;
  background: #eaf2ed;
  border-radius: 0.2rem;
  font-size: 0.88em;
}

.leaflet-control-layers,
.leaflet-control-zoom,
.leaflet-control-scale-line,
.leaflet-control .legend {
  border: 0 !important;
  border-radius: 0.35rem !important;
  box-shadow: 0 0.5rem 1.4rem rgba(31, 42, 36, 0.18) !important;
}

.leaflet-control-layers,
.leaflet-control .legend {
  color: var(--geco-charcoal);
  background: rgba(255, 255, 255, 0.94);
}

.leaflet-control-zoom a {
  color: var(--geco-charcoal) !important;
}

.leaflet-control-zoom a:hover {
  color: #fff !important;
  background: var(--geco-green) !important;
}

.legend i {
  border-radius: 1px;
}

@media (max-width: 600px) {
  .info-panel {
    width: calc(100vw - 3.4rem);
  }

  .info-panel__content {
    padding: 1.25rem 1.25rem 2rem;
  }

  .info-panel__toggle {
    top: 0.8rem;
    grid-template-columns: 1rem;
    padding: 0.65rem 0.75rem;
  }

  .toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .brand-block {
    margin-bottom: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .info-panel {
    transition: none;
  }
}
