:root {
  color-scheme: light;
  --paper: #fffdfd;
  --ink: #26483b;
  --muted: #657a6e;
  --green: #527360;
  --rose-quartz: #d9a4ad;
  --rose-quartz-light: #f2e3e6;
  --line: #e7d8db;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 7% 32%, rgb(217 164 173 / 12%), transparent 28rem),
    radial-gradient(ellipse at 94% 72%, rgb(82 115 96 / 9%), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

.option-banner {
  position: relative;
  z-index: 21;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(20px, 5vw, 72px);
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.option-banner a {
  color: white;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

.site-nav {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(14px, 3vw, 30px);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgb(255 253 253 / 94%);
}

.site-nav a {
  padding: 7px 2px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
  text-transform: uppercase;
  transition: text-decoration-color 180ms ease;
}

.site-nav a:hover {
  text-decoration-color: var(--rose-quartz);
}

.site-nav a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow-x: clip;
  padding: 28px clamp(20px, 5vw, 72px) 24px;
}

.paw-trail {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.paw-print {
  position: absolute;
  width: 20px;
  height: 20px;
  color: var(--green);
  opacity: 0;
  animation: paw-step 12s ease-in-out infinite both;
  animation-delay: var(--step-delay);
}

.paw-print--1 { top: 6%; left: 3%; --paw-angle: -18deg; --step-delay: 0s; }
.paw-print--2 { top: 10.2%; left: 4.5%; --paw-angle: 14deg; --step-delay: 0.6s; }
.paw-print--3 { top: 14.4%; left: 3%; --paw-angle: -14deg; --step-delay: 1.2s; }
.paw-print--4 { top: 18.6%; left: 4.5%; --paw-angle: 18deg; --step-delay: 1.8s; }
.paw-print--5 { top: 22.8%; left: 3%; --paw-angle: -18deg; --step-delay: 2.4s; }
.paw-print--6 { top: 27%; left: 4.5%; --paw-angle: 14deg; --step-delay: 3s; }
.paw-print--7 { top: 31.2%; left: 3%; --paw-angle: -14deg; --step-delay: 3.6s; }
.paw-print--8 { top: 35.4%; left: 4.5%; --paw-angle: 18deg; --step-delay: 4.2s; }
.paw-print--9 { top: 39.6%; left: 3%; --paw-angle: -18deg; --step-delay: 4.8s; }
.paw-print--10 { top: 43.8%; left: 4.5%; --paw-angle: 14deg; --step-delay: 5.4s; }
.paw-print--11 { top: 48%; left: 3%; --paw-angle: -14deg; --step-delay: 6s; }
.paw-print--12 { top: 52.2%; left: 4.5%; --paw-angle: 18deg; --step-delay: 6.6s; }
.paw-print--13 { top: 56.4%; left: 3%; --paw-angle: -18deg; --step-delay: 7.2s; }

.paw-trigger {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
}

.paw-trigger img {
  width: 100%;
  height: 100%;
  opacity: 0.22;
  transform: scale(1);
  transition: opacity 180ms ease, transform 180ms ease;
}

.paw-message {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  width: max-content;
  max-width: min(270px, calc(100vw - 90px));
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgb(38 72 59 / 12%);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-5px, -50%) scale(0.96);
  transform-origin: left center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.paw-trigger:hover img,
.paw-trigger:focus img,
.paw-trigger:focus-visible img {
  opacity: 0.42;
  transform: scale(1.12);
}

.paw-trigger:hover .paw-message,
.paw-trigger:focus .paw-message,
.paw-trigger:focus-visible .paw-message {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.paw-trigger:focus-visible {
  border-radius: 50%;
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

.paw-trigger:hover,
.paw-trigger:focus,
.paw-trigger:focus-visible {
  animation: none;
  opacity: 1;
  transform: rotate(calc(var(--paw-angle) + 180deg)) scale(1.08);
}

@keyframes paw-step {
  0%,
  100% {
    opacity: 0;
    transform: rotate(calc(var(--paw-angle) + 180deg)) scale(0.82);
  }

  20%,
  48% {
    opacity: 0.24;
    transform: rotate(calc(var(--paw-angle) + 180deg)) scale(1);
  }
}

header,
footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.monogram {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--rose-quartz);
  border-radius: 50%;
  background: rgb(255 253 253 / 75%);
  color: var(--green);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0;
}

main {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: auto;
  padding: clamp(54px, 10vh, 104px) 0;
  text-align: center;
}

.content {
  position: relative;
  z-index: 1;
  padding-bottom: 18px;
}

.day-section {
  margin-top: 46px;
  scroll-margin-top: 24px;
}

.day-section .venue-grid {
  margin-top: 0;
}

.story-section {
  width: min(100%, 760px);
  margin: 54px auto 0;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 253 253 / 88%);
  scroll-margin-top: 24px;
  text-align: left;
}

.section-heading {
  margin-bottom: 25px;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 400;
  line-height: 1.1;
}

.couple-story > p:last-child,
.contact-section > p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.65;
}

.couple-story > p:last-child,
.contact-section > p:last-child {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 124px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.ampersand {
  display: inline-block;
  margin: 0 0.1em;
  color: var(--rose-quartz);
  font-size: 0.72em;
  font-style: italic;
  transform: translateY(-0.04em);
}

.intro {
  max-width: 430px;
  margin: 28px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

.rule {
  width: 58px;
  height: 1px;
  margin: 34px auto 28px;
  background: var(--rose-quartz);
}

.date {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.note {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 28px);
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.venue-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgb(38 72 59 / 7%);
}

.venue-card__photo {
  display: block;
  width: 100%;
  height: clamp(190px, 24vw, 250px);
  object-fit: cover;
  object-position: center 55%;
}

.venue-card__details {
  padding: 22px 24px 24px;
}

.location-type {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.venue-card h3 {
  margin: 9px 0 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.location-place {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.venue-card__story {
  margin: 17px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
}

.venue-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration-color: var(--rose-quartz);
  text-underline-offset: 0.3em;
  text-transform: uppercase;
}

.venue-map-link:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.map-section {
  margin: 44px auto 12px;
  text-align: center;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0 14px;
  padding: 0;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.map-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.map-legend > li > span {
  display: inline-grid;
  width: 24px;
  height: 30px;
  place-items: center;
  font-size: 18px;
}

.map-legend-cake {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.wedding-map {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(320px, 48vw, 470px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--rose-quartz-light);
  isolation: isolate;
  text-align: left;
}

.wedding-map-fallback {
  margin: 0;
  padding: 18px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.wedding-map-marker {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 3px solid white;
  border-radius: 50% 50% 50% 6px;
  box-shadow: 0 2px 9px rgb(38 72 59 / 30%);
  font-size: 22px;
  transform: rotate(-45deg);
}

.wedding-map-marker > span,
.wedding-map-marker > svg,
.wedding-map-marker > img {
  transform: rotate(45deg);
}

.wedding-map-marker--chapel {
  background: var(--green);
  color: white;
}

.wedding-map-marker--cake {
  background: var(--rose-quartz);
  color: var(--ink);
}

.wedding-map-marker--cake img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.leaflet-container {
  color: var(--ink);
  font-family: var(--sans);
}

.leaflet-div-icon {
  border: 0;
  background: transparent;
}

.leaflet-marker-icon:focus-visible,
.leaflet-container a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.leaflet-control-attribution {
  max-width: calc(100% - 8px);
  border-top-left-radius: 8px;
  font-size: 10px !important;
  white-space: normal;
}

.leaflet-control-attribution a,
.leaflet-popup-content a {
  color: var(--green);
}

.leaflet-control-zoom a {
  min-width: 30px;
  min-height: 30px;
  color: var(--green) !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--paper);
}

.leaflet-popup-content-wrapper {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}

.leaflet-popup-content {
  max-width: min(230px, calc(100vw - 100px));
  margin: 12px 16px;
  line-height: 1.5;
}

.map-popup strong,
.map-popup span,
.map-popup a {
  display: block;
}

.map-popup span {
  color: var(--muted);
}

.map-popup a {
  margin-top: 5px;
  font-weight: 600;
  text-underline-offset: 0.15em;
}

.chat-widget {
  position: fixed;
  z-index: 20;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
}

.chat-launcher {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  margin-left: auto;
  place-items: center;
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 5px 20px rgb(38 72 59 / 25%);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chat-launcher-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 11px);
  width: max-content;
  max-width: min(270px, calc(100vw - 40px));
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 13px 13px 4px 13px;
  background: var(--paper);
  box-shadow: 0 6px 20px rgb(38 72 59 / 15%);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chat-launcher[aria-expanded="false"]:hover .chat-launcher-tooltip,
.chat-launcher[aria-expanded="false"]:focus-visible .chat-launcher-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.chat-launcher:hover {
  box-shadow: 0 8px 25px rgb(38 72 59 / 32%);
  transform: translateY(-3px);
}

.chat-launcher img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 43%;
}

.chat-window {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: flex;
  width: min(360px, calc(100vw - 32px));
  height: min(500px, calc(100dvh - 128px));
  min-height: min(300px, calc(100dvh - 128px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 14px 44px rgb(38 72 59 / 20%);
  pointer-events: auto;
}

.chat-window[hidden] {
  display: none;
}

.chat-header {
  flex: 0 0 auto;
  padding: 16px 18px;
  background: var(--green);
  color: white;
  font-size: 12px;
  letter-spacing: normal;
  text-transform: none;
}

.chat-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.chat-identity > img {
  display: block;
  width: 42px;
  height: 42px;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  background: rgb(255 255 255 / 15%);
  object-fit: cover;
  object-position: center 43%;
}

.chat-identity h2,
.chat-identity p {
  margin: 0;
}

.chat-identity h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}

.chat-identity p {
  margin-top: 3px;
  color: rgb(255 255 255 / 82%);
  font-size: 11px;
}

.chat-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
  color: white;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.chat-messages {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 18px 14px;
  background:
    radial-gradient(ellipse at 100% 100%, rgb(217 164 173 / 9%), transparent 65%),
    var(--paper);
}

.chat-message {
  max-width: 82%;
  margin: 0;
  padding: 10px 13px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.chat-message--bot {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  background: white;
  color: var(--ink);
}

.chat-message--user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--green);
  color: white;
}

.chat-form {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: white;
}

.chat-form input {
  min-width: 0;
  flex: 1;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.chat-form input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.chat-form button {
  padding: 0 16px;
  border: 0;
  border-radius: 22px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.chat-form button:hover,
.chat-close:hover {
  filter: brightness(1.12);
}

.chat-launcher:focus-visible,
.chat-close:focus-visible,
.chat-form button:focus-visible {
  outline: 3px solid var(--rose-quartz);
  outline-offset: 3px;
}

footer {
  justify-content: center;
  margin-top: 34px;
  padding-top: 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 600px) {
  .page {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  header > :last-child {
    text-align: right;
  }

  .monogram {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  main {
    padding: 74px 0;
  }

  .intro {
    max-width: 300px;
  }

  .venue-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .venue-card__photo {
    height: 210px;
  }

  .venue-card__details {
    padding: 18px 20px 20px;
  }

  .site-nav {
    gap: 4px 16px;
    padding: 10px 12px;
  }

  .site-nav a {
    font-size: 10px;
  }

  .story-section {
    margin-top: 38px;
    padding: 24px 18px;
  }

  .map-section {
    margin-top: 48px;
  }

  .wedding-map {
    height: 360px;
    border-radius: 16px;
  }

  .map-legend {
    gap: 18px;
    font-size: 10px;
  }
}

@media (max-height: 540px) and (orientation: landscape) {
  .wedding-map {
    height: 280px;
  }
}

@media (max-width: 620px) {
  .paw-print {
    width: 15px;
    height: 15px;
  }

  .paw-print:nth-child(even) {
    left: 5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .paw-print {
    animation: none;
    opacity: 0.09;
  }
}

@supports not (height: 100svh) {
  .page {
    min-height: 100vh;
  }
}

/* Shared Chica assistant: touch-friendly prompts and readable answer links. */
.chat-header { display: flex; }
.chat-close { flex: 0 0 44px; min-width: 44px; min-height: 44px; text-align: center; }
.chat-message > p { margin: 0; white-space: pre-line; }
.chat-message > a { display: block; margin-top: 10px; padding-block: 7px; color: var(--green); font-weight: 600; text-underline-offset: 3px; }
.chat-suggestions { display: flex; flex-wrap: wrap; flex: 0 0 auto; gap: 6px; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-suggestions button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--green); font: 11px var(--sans); cursor: pointer; }
.chat-suggestions button:hover { background: var(--rose-quartz-light); }
.chat-suggestions button:focus-visible, .chat-message a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.chat-form input { min-height: 44px; font-size: 16px; }
.chat-form button { min-height: 44px; }
.chat-form button:disabled, .chat-suggestions button:disabled { opacity: .55; cursor: wait; }
.chat-status { flex: 0 0 auto; margin: 0; padding: 0 12px; color: var(--green); font: 12px/1.4 var(--sans); }
.chat-status:not(:empty) { padding-block: 6px; }
.chat-status.is-thinking::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: currentColor; animation: chica-thinking 1s ease-in-out infinite alternate; }
.chat-next-step { flex: 0 0 auto; margin: 0; padding: 9px 12px 0; color: var(--green); font: 500 12px/1.4 var(--sans); }
.chat-next-step + .chat-suggestions { border-top: 0; }
.chat-next-step[hidden] { display: none; }
@keyframes chica-thinking { to { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .chat-status.is-thinking::before { animation: none; } }
.chat-mode-picker { flex: 1; overflow-y: auto; padding: 18px; color: var(--green); }
.chat-mode-picker h3 { margin: 0 0 8px; font-size: 23px; }
.chat-mode-picker > p { margin: 0 0 16px; font: 13px/1.5 var(--sans); }
.chat-mode-picker button { display: block; width: 100%; margin-bottom: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--green); text-align: left; cursor: pointer; }
.chat-mode-picker strong { display: block; font: 600 15px/1.5 var(--sans); }
.chat-mode-picker span { display: block; margin-top: 5px; font: 12px/1.5 var(--sans); }
.chat-mode-picker button:hover { background: var(--rose-quartz-light); }
.chat-mode-picker button:focus-visible, .chat-change-mode:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.chat-change-mode { flex: 0 0 auto; min-height: 44px; border: 0; border-top: 1px solid var(--line); background: var(--paper); color: var(--green); font: 12px var(--sans); cursor: pointer; }
.chat-mode-picker[hidden], .chat-change-mode[hidden], .chat-messages[hidden], .chat-suggestions[hidden], .chat-form[hidden] { display: none; }
@media (max-height: 600px) {
  .chat-window { bottom: 66px; height: calc(100dvh - 90px); min-height: 0; }
  .chat-header { padding: 8px 12px; }
  .chat-suggestions { flex-wrap: nowrap; overflow-x: auto; padding: 4px 8px; }
  .chat-suggestions button { flex-shrink: 0; }
}
@media (max-width: 620px) {
  .leaflet-control-zoom a { min-width: 44px; min-height: 44px; line-height: 44px !important; }
}
