:root {
  color-scheme: light;
  --ink: #202b25;
  --muted: #53625a;
  --accent: #245a43;
  --dark: #174432;
  --paper: #f7f8f4;
  --white: #fff;
  --line: #dce4da;
  --soft: #e9f0e6;
  --honey: #f4d794;
  --r: 1rem;
  --shadow: 0 14px 38px #263f2610;
  font:
    16px/1.55 'Avenir Next',
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
img {
  max-width: 100%;
  display: block;
}
strong {
  font-weight: 680;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p + p {
  margin-top: 0.8rem;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}
h3 {
  font-size: 1.19rem;
}
a:hover,
button:hover {
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #936619;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1200px, calc(100% - 4rem));
  margin-inline: auto;
}
.topbar {
  background: #fbfcf8;
  border-bottom: 1px solid var(--line);
}
.top-inner {
  width: min(1200px, calc(100% - 4rem));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 2.6rem;
  min-height: 4.65rem;
  justify-content: space-between;
}
.brand,
.venue-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 760;
  letter-spacing: -0.049em;
  font-size: 1.37rem;
  white-space: nowrap;
}
.brand-mark {
  width: 1.94rem;
  height: 1.94rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0.46rem 0.42rem;
  background: var(--accent);
  border-radius: 0.54rem;
  align-items: center;
  flex: none;
}
.brand-mark i {
  height: 100%;
  background: #e8f3dc;
  transform: skewY(-15deg);
  border-radius: 1.5px;
}
.brand-mark i:nth-child(2) {
  height: 72%;
  align-self: end;
}
.brand-mark i:nth-child(3) {
  height: 90%;
  align-self: start;
}
.main-links,
.top-actions,
.button-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.main-links {
  margin-inline: auto;
  font-size: 0.94rem;
  color: var(--muted);
}
.language-menu {
  position: relative;
  z-index: 4;
  font-size: 0.875rem;
}
.language-menu[open] {
  z-index: 6;
}
.language-menu summary {
  min-height: 2.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.42rem 0.62rem;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
}
.language-menu summary::-webkit-details-marker {
  display: none;
}
.language-menu summary::after {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: translateY(-0.1rem) rotate(45deg);
}
.language-options {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.3rem);
  min-width: 10rem;
  max-height: min(58dvh, 25rem);
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  padding: 0.27rem;
  border: 1px solid var(--line);
  border-radius: 0.66rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.language-options a {
  display: block;
  padding: 0.46rem 0.65rem;
  min-height: 2.45rem;
  border-radius: 0.4rem;
  white-space: nowrap;
}
.language-options a:hover,
.language-options a[aria-current] {
  background: var(--soft);
  color: var(--dark);
}
.mock-login {
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}
.mock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.session .mock-login {
  padding-top: 0.45rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.64rem 1.02rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  font-size: 0.94rem;
  font-weight: 670;
  line-height: 1.25;
  min-height: 2.72rem;
  max-width: 100%;
  text-align: center;
}
.button.small {
  font-size: 0.875rem;
  padding: 0.39rem 0.68rem;
  min-height: 2.25rem;
}
.button.primary {
  background: var(--accent);
  color: white;
}
.button.primary:hover:not(:disabled) {
  background: var(--dark);
}
.button.secondary {
  background: var(--white);
  border-color: #cdd9cb;
}
.button.secondary:hover,
.button.plain:hover {
  background: var(--soft);
}
.button.plain {
  background: transparent;
  color: var(--muted);
}
.button.danger {
  color: #972f30;
}
.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.065em;
  font-weight: 700;
  color: var(--accent);
}
.muted {
  color: var(--muted);
}
.lead {
  font-size: 1.07rem;
  color: var(--muted);
  max-width: 49ch;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 3.8rem;
  padding: 3.35rem 0;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 5.25vw, 5.55rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  margin: 0.9rem 0 1rem;
  line-height: 1.02;
}
.hero .button-row {
  margin-top: 1.45rem;
  gap: 0.55rem;
}
.hero .try-note {
  margin-top: 1rem;
  font-size: 0.9rem;
}
.hero-simulator {
  display: grid;
  justify-items: center;
  background: radial-gradient(ellipse at center, #e3ede0, transparent 72%);
}
.phone-frame {
  --phone-width: 393px;
  --phone-height: 852px;
  --phone-scale: 0.76;
  position: relative;
  padding: 0.72rem 0.46rem 0.46rem;
  border: 1px solid #43524a;
  border-radius: 2.15rem;
  background: #1c2a23;
  box-shadow: 0 22px 54px #182e2229, 0 2px 8px #182e221f;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0.25rem;
  left: 50%;
  translate: -50%;
  width: 2.7rem;
  height: 0.2rem;
  border-radius: 1rem;
  background: #58665b;
}
.phone-screen {
  overflow: hidden;
  width: calc(var(--phone-width) * var(--phone-scale));
  height: calc(var(--phone-height) * var(--phone-scale));
  border-radius: 1.63rem;
  background: #e3eadb;
}
.phone-screen iframe {
  display: block;
  width: var(--phone-width);
  height: var(--phone-height);
  border: 0;
  transform: scale(var(--phone-scale));
  transform-origin: top left;
}
.auth-image span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}
.steps {
  background: #edf2e9;
  border-block: 1px solid var(--line);
  padding: 2.9rem 0;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.7rem;
}
.step-grid article + article {
  border-left: 1px solid #d2dfd0;
  padding-left: 1.65rem;
}
.step-grid h3 {
  margin: 0.65rem 0 0.45rem;
}
.step-grid p {
  color: var(--muted);
  font-size: 0.98rem;
}
.step-glyph {
  border: 2px solid #4e735f;
  border-radius: 0.4rem;
  background: #ddebdc;
  width: 1.9rem;
  height: 1.7rem;
}
.step-2 {
  border-radius: 0.85rem 0.85rem 0.85rem 0.2rem;
}
.step-3 {
  border-style: dashed;
}
.pricing-block,
.standalone {
  padding-block: 3.4rem;
}
.pricing-block > p {
  margin: 0.4rem 0 1.5rem;
}
.standalone > h1 {
  font:
    500 clamp(2.45rem, 5vw, 4rem)/1.04 Georgia,
    serif;
  letter-spacing: -0.075em;
  margin: 0.6rem 0 1rem;
}
.market,
.content-lang {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.market a,
.content-lang a {
  padding: 0.24rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 0.42rem;
  font-size: 0.875rem;
}
.market a[aria-current],
.content-lang a[aria-current] {
  background: var(--soft);
  color: var(--dark);
  font-weight: 700;
}
.plan-grid,
.count-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.card,
.table-card,
.list-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 5px 20px #1a321b08;
}
.plan {
  padding: 1.15rem;
}
.plan.featured {
  border: 1.5px solid #6d9279;
  background: #f5faf4;
}
.plan h3 {
  margin: 0.1rem 0 0.4rem;
}
.plan dl {
  margin: 1rem 0;
}
.plan dl div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 0.4rem 0;
  gap: 0.4rem;
}
.plan dd {
  margin: 0;
  font-weight: 700;
}
.price {
  font-size: 2.18rem;
  font-weight: 720;
  letter-spacing: -0.065em;
}
.site-footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.narrow {
  max-width: 38rem;
}
.auth-page {
  width: min(950px, calc(100% - 4rem));
  margin: 6vh auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.auth-image {
  position: relative;
  background: #cbdcc2;
  min-height: 29rem;
}
.auth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.auth-image > div {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  border-radius: 0.65rem;
  background: #fffff7;
  padding: 0.7rem;
}
.auth-body {
  padding: 2.4rem;
  align-self: center;
  display: grid;
  gap: 1.1rem;
}
.auth-body h1 {
  font:
    500 2.65rem/1.03 Georgia,
    serif;
  letter-spacing: -0.065em;
}
.auth-body form,
.editor form {
  display: grid;
  gap: 0.82rem;
}
.auth-body .button,
.editor form > .button {
  justify-self: start;
}
.google-button {
  width: 100%;
  max-width: 20rem;
}
label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.91rem;
  font-weight: 650;
}
input,
textarea,
select {
  width: 100%;
  background: #fbfcfa;
  border: 1px solid #cfd8ce;
  border-radius: 0.55rem;
  padding: 0.55rem 0.68rem;
  min-height: 2.64rem;
  color: var(--ink);
  font-weight: 450;
}
input[type='file'] {
  min-height: auto;
}
textarea {
  resize: vertical;
}
output:empty {
  display: none;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.55rem 0.7rem;
  margin: 0;
  min-width: 0;
}
legend {
  font-weight: 700;
  font-size: 0.875rem;
}
.notice {
  background: #eef3ec;
  border-left: 3px solid #6a9a75;
  padding: 0.65rem 0.8rem;
  border-radius: 0.3rem;
  margin: 0 0 1rem;
}
.pill {
  display: inline-block;
  padding: 0.18rem 0.56rem;
  border-radius: 1rem;
  background: #e9eee7;
  color: #31503c;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: normal;
  white-space: nowrap;
}
.status-trial,
.status-unpublishedChanges {
  background: #f6eccd;
  color: #614a18;
}
.status-suspended,
.status-expired {
  background: #f8e5e3;
  color: #862d34;
}
.status-active,
.status-published,
.status-ready {
  background: #daefdf;
  color: #1d5938;
}
.admin-shell {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  border-right: 1px solid var(--line);
  background: #f0f4ed;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.35rem 0.9rem;
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
}
.admin-sidebar .brand {
  display: flex;
  min-width: 0;
  padding: 0.25rem 0.44rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.admin-sidebar .brand-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-sidebar nav {
  display: grid;
  gap: 0.25rem;
}
.admin-sidebar nav a {
  padding: 0.58rem 0.62rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.68rem;
  font-weight: 620;
  font-size: 0.94rem;
}
.admin-sidebar nav a[aria-current] {
  background: #dfece1;
  color: #1f543a;
}
.admin-sidebar nav a:hover {
  background: #e4ede3;
}
.nav-icon {
  border: 1.5px solid #678676;
  border-radius: 0.23rem;
  display: inline-block;
  width: 0.94rem;
  height: 0.94rem;
  flex: none;
}
.nav-overview {
  border-radius: 50%;
}
.nav-places {
  border-radius: 50% 50% 50% 10%;
  transform: rotate(-32deg);
}
.nav-routes {
  border-style: dashed;
}
.nav-publishing {
  transform: rotate(45deg);
  width: 0.78rem;
  height: 0.78rem;
}
.session {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 0.7rem 0.42rem 0;
  font-size: 0.85rem;
  color: var(--muted);
  min-width: 0;
}
.session span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-top {
  border-bottom: 1px solid var(--line);
  background: #fcfdfb;
  min-height: 4.4rem;
  padding: 0.75rem clamp(1rem, 3vw, 2.2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.admin-body {
  padding: clamp(1rem, 3vw, 2.2rem);
  width: min(1280px, 100%);
  margin: 0 auto;
}
.admin-body > h1 {
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  margin-bottom: 1.3rem;
}
.admin-body > .lead {
  margin-bottom: 1.2rem;
}
.admin-welcome {
  padding: 1.4rem;
  border-radius: var(--r);
  background: linear-gradient(120deg, #e3eee2, #f6f7e9);
  border: 1px solid #d1e0ce;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.admin-welcome .eyebrow {
  margin-bottom: 0.48rem;
}
.admin-welcome h2 {
  overflow-wrap: anywhere;
}
.admin-welcome p:last-child {
  color: var(--muted);
  margin-top: 0.3rem;
}
.admin-welcome .button-row {
  flex-shrink: 0;
  gap: 0.55rem;
}
.sample-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.count-card {
  padding: 1.2rem;
  display: grid;
  gap: 0.35rem;
}
.count-card span {
  color: var(--muted);
}
.count-card strong {
  font-size: 2rem;
  line-height: 1;
}
.count-grid {
  margin-bottom: 1.2rem;
}
.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.editor {
  padding: 1.15rem;
  max-width: 44rem;
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}
.editor h2 {
  font-size: 1.35rem;
}
.editor .content-lang {
  margin: 0;
}
.editor .content-lang span {
  font-size: 0.875rem;
  font-weight: 650;
}
.template-picker {
  display: grid;
  gap: 0.55rem;
  border: 0;
  padding: 0;
}
.template-picker legend {
  margin-bottom: 0.35rem;
}
.template-choice,
.inline-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
}
.template-choice {
  background: #fbfcfa;
  padding: 0.68rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  cursor: pointer;
}
.template-choice:has(:checked) {
  border-color: #8eac99;
  background: #edf4eb;
}
.template-choice small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 450;
}
.template-choice input,
.inline-check input {
  width: 1rem;
  min-height: 0;
  height: 1rem;
  margin: 0.2rem 0 0;
  accent-color: var(--accent);
}
.publishing-card + .publishing-card {
  margin-top: 1rem;
}
.publish-checks {
  padding: 0;
  margin: 0;
  list-style: none;
}
.publish-checks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 3.05rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.publish-checks .button {
  flex-shrink: 0;
}
.published-place {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.print-kit {
  padding-block: 1.4rem 2rem;
  max-width: 56rem;
}
.print-toolbar {
  display: grid;
  justify-items: start;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}
.print-toolbar form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.print-toolbar label {
  min-width: 0;
  max-width: min(100%, 20rem);
}
.print-toolbar .button {
  min-height: 2.64rem;
}
.qr-signs {
  display: grid;
  gap: 1rem;
}
.qr-sign {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 0;
  padding: clamp(1rem, 5vw, 2.75rem);
  text-align: center;
  overflow-wrap: anywhere;
}
.qr-sign-venue {
  font-weight: 650;
  color: var(--muted);
}
.qr-art {
  width: min(100%, 16rem);
  margin-block: 0.3rem;
}
.qr-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.qr-sign-scan {
  font-weight: 680;
}
.qr-sign-link {
  font-size: 0.84rem;
  color: var(--muted);
}
@media print {
  .print-kit {
    width: auto;
    margin: 0;
    padding: 0;
  }
  .print-toolbar {
    display: none;
  }
  .qr-signs {
    display: block;
  }
  .qr-sign {
    color: #000;
    border: 1pt solid #222;
    border-radius: 0;
    min-height: 235mm;
    padding: 10mm;
    gap: 3mm;
    break-inside: avoid;
    break-after: page;
  }
  .qr-sign:last-child {
    break-after: auto;
  }
  .qr-sign h2 {
    font-size: 24pt;
  }
  .qr-art {
    width: min(100%, 92mm);
  }
  .qr-sign-venue,
  .qr-sign-link {
    color: #000;
  }
}
.map-thumb,
.pick-map {
  border-radius: 0.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e4eadb;
}
.map-empty {
  border: 1px dashed #bccaba;
  min-height: 8rem;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  text-align: center;
  color: var(--muted);
}
.pick-map {
  position: relative;
  cursor: crosshair;
  margin: 0.4rem 0;
}
.pick-map img {
  width: 100%;
}
.pick-map [data-pin] {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #285e47;
  border: 2px solid white;
  box-shadow: 0 0 0 1px #285e47;
  pointer-events: none;
}
.coordinates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.section-actions {
  margin-bottom: 0.8rem;
  min-height: 0.3rem;
}
.manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.78rem 0.9rem;
}
.manage-row + .manage-row {
  border-top: 1px solid var(--line);
}
.manage-row strong,
.manage-row span {
  display: block;
  overflow-wrap: anywhere;
}
.manage-row span {
  font-size: 0.86rem;
}
.manage-row .button-row {
  gap: 0.35rem;
  justify-content: flex-end;
}
.empty {
  padding: 0.85rem;
}
.route-stop {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.43rem;
}
.route-stop select {
  min-width: 0;
}
.billing-status {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  margin-bottom: 1rem;
  gap: 1rem;
}
.billing-status h2 {
  margin-bottom: 0.4rem;
}
.billing-detail {
  margin-bottom: 1rem;
}
.billing-detail dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}
.billing-detail dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.3rem 0.9rem;
  padding-block-end: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.billing-detail dd {
  margin: 0;
  font-weight: 680;
}
.table-card {
  overflow-x: auto;
}
.table-card table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  text-align: start;
}
.table-card th,
.table-card td {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  text-align: left;
  font-size: 0.9rem;
}
.table-card thead th {
  background: #f3f6f1;
  color: var(--muted);
  font-weight: 680;
}
/* Guest map occupies the visible viewport, with controls above the map. */
.guide-layout {
  --guide-left: max(0.85rem, env(safe-area-inset-left));
  --guide-right: max(0.85rem, env(safe-area-inset-right));
  --guide-top: max(0.85rem, env(safe-area-inset-top));
  --guide-bottom: max(0.85rem, env(safe-area-inset-bottom));
  --guide-controls-width: 3.2rem;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #e3eadb;
}
.guide-top {
  position: absolute;
  top: var(--guide-top);
  left: var(--guide-left);
  right: var(--guide-right);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  pointer-events: none;
}
.guide-identity,
.guide-header-actions {
  pointer-events: auto;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(251, 252, 249, 0.98);
  box-shadow: var(--shadow);
}
.guide-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 3.2rem;
  gap: 0.55rem;
  padding: 0.58rem 0.74rem;
}
.guide-identity h1 {
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.guide-header-actions {
  display: flex;
  align-items: center;
  flex: none;
  gap: 0.4rem;
  padding: 0.22rem;
}
.guide-header-actions .language-menu summary {
  border: 0;
}
.preview-back {
  gap: 0.35rem;
}
.guide-source {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: underline;
}
.guide-tabs {
  position: absolute;
  bottom: var(--guide-bottom);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  gap: 0.18rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fbfcf9;
  box-shadow: var(--shadow);
}
.guide-tabs button,
.filters button {
  background: transparent;
  border: 0;
  padding: 0.48rem 0.62rem;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.88rem;
}
.guide-tabs button {
  min-height: 2.75rem;
  min-width: 5.2rem;
  border-radius: 0.73rem;
}
.guide-tabs button.active {
  color: white;
  background: var(--accent);
}
.guide-panel {
  position: absolute;
  bottom: calc(var(--guide-bottom) + 4rem);
  left: var(--guide-left);
  width: min(24rem, calc(100% - var(--guide-left) - var(--guide-right)));
  max-height: min(60dvh, 33rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.75rem 1rem 1rem;
  background: #fbfcf9;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}
.panel-header h2 {
  font-size: 1.22rem;
}
.search-label input {
  background: var(--white);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.55rem 0;
}
.filters button {
  border-radius: 1rem;
  padding: 0.24rem 0.52rem;
  border: 1px solid var(--line);
}
.filters button[aria-pressed='true'] {
  color: var(--dark);
  background: #e4eee3;
  border-color: #c9dcca;
}
.place-list {
  display: grid;
  gap: 0.35rem;
}
.list-item {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 0.58rem;
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: var(--white);
  padding: 0.65rem;
  width: 100%;
}
.list-item.current,
.list-item:hover {
  background: #e8f2e5;
  border-color: #b4c8b2;
}
.list-text {
  display: grid;
}
.list-text small {
  font-size: 0.85rem;
  color: var(--muted);
}
.point-symbol {
  border-radius: 50%;
  height: 1.7rem;
  width: 1.7rem;
  background: #dbece0;
  color: #275644;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 720;
}
.symbol-amenity {
  background: #e5e7f6;
  color: #46487b;
}
.symbol-gate {
  background: #f8edce;
  color: #795618;
}
.map-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  outline-offset: -3px;
}
.map-stage:active {
  cursor: grabbing;
}
.map-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  user-select: none;
  will-change: transform;
}
.map-scene img {
  width: 100%;
  height: auto;
  display: block;
}
.map-scene [data-markers] {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: grid;
  place-items: center;
  background: #245a43;
  color: white;
  font-weight: 800;
  border: 2px solid white;
  border-radius: 2rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  box-shadow: 0 2px 7px #233e37a0;
}
.map-marker[aria-pressed='true'] {
  background: #162d25;
  outline: 2px solid #f3cf80;
  z-index: 1;
}
.marker-amenity {
  background: #49477c;
}
.marker-gate {
  background: #87581d;
}
.map-controls {
  position: absolute;
  right: var(--guide-right);
  bottom: var(--guide-bottom);
  display: grid;
  gap: 2px;
  width: var(--guide-controls-width);
  padding: 0.16rem;
  background: #fdfdfa;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: var(--shadow);
}
.map-controls button,
.icon-button {
  background: transparent;
  border: 0;
  font-size: 1.15rem;
  font-weight: 720;
  min-height: 2.75rem;
  min-width: 2.75rem;
  border-radius: 0.35rem;
}
.map-controls button:hover,
.icon-button:hover {
  background: var(--soft);
}
.point-sheet {
  display: grid;
  gap: 0.42rem;
}
.point-photo {
  width: 100%;
  max-height: 14rem;
  object-fit: cover;
  border-radius: 0.55rem;
}
.point-sheet .point-photo {
  max-height: min(12rem, 24dvh);
}
.visit-editor {
  display: grid;
  gap: 0.65rem;
}
.assist-editor {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #f3f7f1;
}
.assist-editor summary {
  cursor: pointer;
}
.assist-editor p,
.assist-editor .button-row {
  margin-top: 0.5rem;
}
.assist-preview {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.assist-preview h3 {
  margin-bottom: 0.65rem;
}
.narration-label {
  font-size: 0.84rem;
}
.visit-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
.route-visit-details {
  display: grid;
  gap: 0.5rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
}
.visit-facts {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.87rem;
}
.visit-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0.5rem;
}
.visit-facts dt {
  font-weight: 680;
  overflow-wrap: anywhere;
}
.visit-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.visit-warning {
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  color: #683315;
  background: #faecd7;
  font-weight: 680;
  font-size: 0.875rem;
}
.closed-label,
.list-text .closed-label {
  color: #8c3d20;
  font-weight: 680;
}
.map-marker.marker-closed {
  background: #775651;
}
.places-import .table-card .import-name,
.places-import .table-card .import-status {
  min-width: 8rem;
  white-space: normal;
  overflow-wrap: anywhere;
}
.point-sheet h2 {
  font-size: 1.45rem;
}
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
}
.point-sheet details,
.point-sheet p:not(.visit-warning) {
  color: var(--muted);
}
audio {
  height: 2.65rem;
  max-width: 100%;
  width: min(100%, 28rem);
}
@media (max-width: 940px) {
  .hero {
    gap: 2rem;
  }
  .phone-frame {
    --phone-scale: 0.71;
  }
  .top-inner {
    gap: 1rem;
  }
  .admin-shell {
    grid-template-columns: 12.25rem minmax(0, 1fr);
  }
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .editor {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .wrap,
  .top-inner,
  .auth-page {
    width: calc(100% - 1.7rem);
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 2.3rem 0;
    gap: 1.3rem;
  }
  .hero h1 {
    max-width: 13ch;
  }
  .phone-frame {
    --phone-scale: 0.76;
  }
  .main-links {
    display: none;
  }
  .top-inner {
    min-height: 3.9rem;
  }
  .top-actions {
    gap: 0.45rem;
  }
  .step-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step-grid article + article {
    border-left: 0;
    border-top: 1px solid #d2dfd0;
    padding: 1rem 0 0;
  }
  .steps,
  .standalone,
  .pricing-block {
    padding-block: 2rem;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .auth-page {
    grid-template-columns: 1fr;
    margin: 1rem auto;
  }
  .auth-image {
    min-height: 11rem;
  }
  .auth-body {
    padding: 1.25rem;
  }
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.68rem 0.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
  }
  .admin-sidebar nav {
    grid-row: 2;
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  .admin-sidebar nav a {
    font-size: 0.86rem;
    padding: 0.32rem 0.44rem;
    gap: 0.3rem;
  }
  .admin-sidebar .session {
    padding: 0;
    border: 0;
    text-align: right;
    min-width: 0;
    max-width: 8.8rem;
  }
  .admin-sidebar .brand {
    align-self: center;
  }
  .admin-welcome {
    padding: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .count-grid {
    gap: 0.42rem;
  }
  .count-card {
    padding: 0.55rem;
  }
  .count-card strong {
    font-size: 1.55rem;
  }
  .admin-top {
    min-height: 3.5rem;
  }
  .guide-identity {
    gap: 0.42rem;
    padding: 0.49rem 0.56rem;
  }
  .guide-top .brand-mark {
    width: 1.48rem;
    height: 1.48rem;
    padding: 0.29rem;
  }
  .guide-header-actions .language-menu summary {
    padding-inline: 0.48rem;
  }
  .preview-back {
    min-width: 2.65rem;
    min-height: 2.65rem;
  }
  .preview-back-label {
    display: none;
  }
  .session .mock-actions {
    justify-content: flex-end;
  }
  .map-controls {
    top: calc(var(--guide-top) + 3.75rem);
    bottom: auto;
  }
  .guide-panel {
    max-height: min(49dvh, calc(100% - 9rem));
  }
  .map-marker {
    min-height: 2.4rem;
    min-width: 2.4rem;
  }
}

@media (max-width: 440px) {
  .topbar .top-inner,
  .site-footer {
    gap: 0.65rem;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .topbar .brand,
  .site-footer .brand {
    font-size: 1.08rem;
    gap: 0.42rem;
  }
  .topbar .brand-mark,
  .site-footer .brand-mark {
    width: 1.6rem;
    height: 1.6rem;
    padding: 0.36rem;
  }
  .topbar .top-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 360px) {
  .phone-frame {
    --phone-scale: 0.68;
  }
}

.guide-top {
  z-index: 2;
}
.content-lang .language-options {
  inset-inline-end: auto;
  inset-inline-start: 0;
}

.nav-analytics {
  background: linear-gradient(#678676, #678676) 20% bottom / 16% 35% no-repeat,
    linear-gradient(#678676, #678676) center bottom / 16% 60% no-repeat,
    linear-gradient(#678676, #678676) 80% bottom / 16% 85% no-repeat;
}
.analytics-toolbar {
  margin-bottom: 1rem;
}
.analytics-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: 0.7rem;
}
.analytics-metrics .count-card {
  min-width: 0;
  padding: 0.88rem;
}
.analytics-metrics .count-card strong {
  font-variant-numeric: tabular-nums;
}
.analytics-caption {
  margin: 0.8rem 0 1.2rem;
  font-size: 0.9rem;
}
.analytics-trend {
  max-width: none;
}
.analytics-bars {
  display: flex;
  align-items: end;
  gap: clamp(0.12rem, 0.42vw, 0.4rem);
  height: 7.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--line);
}
.analytics-bars span {
  flex: 1;
  min-width: 0;
  height: max(var(--bar-height), 1px);
  background: #477457;
  border-radius: 0.16rem 0.16rem 0 0;
}
.analytics-dates {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}
.analytics-daily summary {
  cursor: pointer;
  font-weight: 650;
}
.analytics-daily .table-card {
  margin-top: 0.65rem;
}
.analytics-rankings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  align-items: start;
  gap: 0.85rem;
  margin-top: 0.85rem;
}
.analytics-ranking {
  min-width: 0;
  padding: 1rem;
}
.analytics-ranking h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}
.analytics-ranking th[scope="row"] {
  white-space: normal;
  overflow-wrap: anywhere;
}
.analytics-ranking :is(th, td):not(:first-child) {
  white-space: normal;
  text-align: right;
}

.workspace-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.workspace-menu {
  min-width: 0;
  max-width: 16rem;
}
.workspace-menu summary span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-menu .language-options {
  inset-inline: 0 auto;
  min-width: min(16rem, 75vw);
}
.workspace-menu .language-options a {
  display: grid;
  gap: 0.15rem;
}
.workspace-menu small {
  color: var(--muted);
}
.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: start;
}
.team-layout > section {
  padding: 1.15rem;
  min-width: 0;
}
.team-layout h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}
.team-invite form {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
}
.team-invite label {
  width: 100%;
}
.team-roles dl {
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.team-roles dt {
  font-weight: 680;
}
.team-roles dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.team-members, .team-invitations {
  grid-column: 1 / -1;
}
.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.team-row {
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
  overflow-wrap: anywhere;
}
.team-role-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.team-role-form select {
  width: auto;
}
.team-meta {
  font-size: 0.87rem;
}
@media (max-width: 760px) {
  .workspace-heading {
    gap: 0.4rem;
  }
  .workspace-heading:has(.workspace-menu) > strong {
    display: none;
  }
  .workspace-menu {
    max-width: min(38vw, 15rem);
  }
  .team-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.release-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}
.release-actions .publishing-card {
  width: 100%;
  max-width: none;
  margin: 0;
}
.release-history {
  padding: 1.15rem;
  margin-bottom: 1rem;
}
.release-history-heading,
.release-row,
.release-row-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.release-history-heading,
.release-row {
  justify-content: space-between;
}
.release-history h2 {
  margin: 0;
  font-size: 1.35rem;
}
.release-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.release-row {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.release-row > div:first-child {
  min-width: 0;
}
.release-meta {
  margin-top: 0.2rem;
  font-size: 0.87rem;
}
.release-outcome {
  display: grid;
  gap: 0.15rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
.release-confirm {
  margin-top: 0.85rem;
}
.release-confirm h3 {
  margin: 0;
}
.release-history > p,
.release-actions p {
  margin: 0;
}
.release-history > p {
  margin-top: 0.65rem;
}
.release-history .release-confirm p {
  margin: 0.3rem 0 0.65rem;
}
.release-schedule-form input[type="datetime-local"] {
  min-width: 0;
}
@media (max-width: 760px) {
  .release-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

.guide-map-menu {
  position: absolute;
  z-index: 3;
  top: calc(var(--guide-top) + 3.7rem);
  left: var(--guide-left);
  width: max-content;
  max-width: min(17rem, calc(100% - var(--guide-left) - var(--guide-right) - var(--guide-controls-width) - 0.75rem));
}
.guide-map-menu .language-menu summary {
  min-height: 2.75rem;
  box-shadow: var(--shadow);
}
.guide-map-menu summary span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.guide-map-menu .language-options {
  inset-inline: 0 auto;
  width: max-content;
  max-width: min(20rem, calc(100vw - 6rem));
}
.guide-map-menu .language-options a {
  white-space: normal;
  overflow-wrap: anywhere;
}
.workspace-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}
.workspace-maps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.workspace-maps a {
  gap: 0.36rem;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
}
.workspace-maps a[aria-current] {
  background: var(--soft);
  color: var(--dark);
  border-color: var(--accent);
}
.workspace-maps a span {
  font-size: 0.75rem;
  color: var(--muted);
}
.map-editor-actions {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}
.map-add summary {
  cursor: pointer;
  font-weight: 700;
}
.map-add form {
  margin-top: 0.75rem;
}
.guide-settings {
  margin-top: 0.85rem;
}

.domain-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
}
.domain-layout > .editor {
  max-width: none;
}
.domain-status h2,
.domain-records code {
  overflow-wrap: anywhere;
}
.domain-checks {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}
.domain-checks > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
}
.domain-checks dd {
  margin: 0;
}
.domain-checks .pill {
  white-space: normal;
}
.domain-status details {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}
.domain-status details summary {
  cursor: pointer;
  font-weight: 650;
}
.domain-layout p {
  margin: 0;
}
.domain-status details p {
  margin: 0.55rem 0;
}
.domain-records dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.domain-records dl > div {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  align-items: start;
  gap: 0.45rem;
  padding: 0.7rem;
  background: #f4f7f2;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
}
.domain-records dt {
  font-weight: 700;
}
.domain-records dd {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
@media (max-width: 760px) {
  .domain-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
