:root {
  --site-header-height: 66px;
  --content-inline-gutter: 1rem;
  --content-block-start: 1rem;
  --teal: #0d9488;
  --teal-strong: #0f766e;
  --teal-soft: #ccfbf1;
  --blue-soft: #dbeafe;
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --surface: #ffffff;
  --background: #f8fafc;
  --shadow: 0 18px 44px rgba(15, 118, 110, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.sauna-disable-scroll-animation {
  scroll-behavior: auto;
}

html.sauna-directory-restoring .directory-page {
  visibility: hidden;
}

html.ilovesauna-global-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(1200px 420px at 50% -8%, rgba(204, 251, 241, 0.62), rgba(204, 251, 241, 0)),
    radial-gradient(1000px 360px at 50% 108%, rgba(219, 234, 254, 0.48), rgba(219, 234, 254, 0)),
    rgba(248, 250, 252, 0.96);
}

@keyframes sauna-return-loading-logo {
  0% {
    transform: translate(-50%, -50%) scale(0.98);
  }

  100% {
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@keyframes sauna-return-loading-label {
  0% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

html.ilovesauna-global-loading::after {
  content: "";
  position: fixed;
  left: 50%;
  top: calc(50% - 20px);
  transform: translate(-50%, -50%);
  z-index: 10000;
  width: 98px;
  height: 98px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  background:
    var(--ilovesauna-return-loading-logo) center / 66px 66px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93));
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.16);
  animation: sauna-return-loading-logo 520ms ease-in-out infinite alternate;
}

html.ilovesauna-global-loading body::after {
  content: "Warming up ...";
  position: fixed;
  left: 50%;
  top: calc(50% + 54px);
  transform: translateX(calc(-50% + 4px));
  z-index: 10001;
  padding: 0.24rem 0.5rem;
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  animation: sauna-return-loading-label 520ms ease-in-out infinite alternate;
}

html.ilovesauna-global-loading body[data-ilovesauna-global-loading-label]::after {
  content: attr(data-ilovesauna-global-loading-label);
  position: fixed;
  left: 50%;
  top: calc(50% + 54px);
  transform: translateX(calc(-50% + 4px));
  z-index: 10001;
  padding: 0.24rem 0.5rem;
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  animation: sauna-return-loading-label 520ms ease-in-out infinite alternate;
}

@keyframes sauna-page-slide-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0.96;
    transform: translateX(-18%);
  }
}

@keyframes sauna-page-slide-in {
  from {
    opacity: 0.98;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  html.sauna-page-transition-push::view-transition-old(root) {
    animation: sauna-page-slide-out 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  html.sauna-page-transition-push::view-transition-new(root) {
    animation: sauna-page-slide-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.16);
  }
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  line-height: 1.5;
}

html.filters-modal-open,
body.filters-modal-open {
  overflow: hidden;
}

html.filters-modal-open .directory-header {
  z-index: auto;
  backdrop-filter: none;
}

html.filters-modal-open .directory-view-switch,
body.filters-modal-open .directory-view-switch {
  display: none !important;
}

.admin-body {
  background: #f4f6f8;
}

.admin-header {
  border-bottom: 1px solid #dbe1e8;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  min-height: 64px;
  margin: 0 auto;
}

.admin-brand {
  color: #111827;
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-nav a,
.admin-table-link,
.admin-primary-link,
.admin-secondary-link {
  text-decoration: none;
}

.admin-nav a:hover,
.admin-table-link:hover,
.admin-secondary-link:hover {
  color: var(--teal-strong);
}

.admin-nav-link-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.admin-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  border-radius: 999px;
  padding: 0.03rem 0.32rem;
  background: #0f766e;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.admin-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-page-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0;
}

.admin-page-header p {
  max-width: 720px;
  margin: 0.35rem 0 0;
  color: #64748b;
}

.admin-kicker {
  color: var(--teal-strong) !important;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}

.admin-breadcrumb a {
  color: var(--teal-strong);
  text-decoration: none;
}

.admin-breadcrumb a:hover {
  text-decoration: underline;
}

.admin-panel {
  margin-bottom: 1.25rem;
  border: 1px solid #dbe1e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.admin-panel h2 {
  margin: 0;
  padding: 1rem 1rem 0;
  font-size: 1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.admin-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table td span {
  display: block;
  margin-top: 0.18rem;
  color: #64748b;
  font-size: 0.78rem;
}

.admin-status-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table-compact th,
.admin-table-compact td {
  padding: 0.48rem 0.45rem;
}

.admin-table-compact {
  font-size: 0.8rem;
}

.admin-thumb-cell {
  width: 56px;
}

.admin-hero-thumb {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #f1f5f9;
}

.admin-thumb-empty {
  color: #94a3b8;
  font-size: 0.68rem;
}

.admin-table-link-tiny {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
}

.admin-table td .admin-tiny-meta {
  margin-top: 0.08rem;
  font-size: 0.64rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.admin-status-listed {
  border-color: #99f6e4 !important;
  background: #f0fdfa !important;
  color: #0f766e !important;
}

.admin-status-hidden {
  border-color: #fecaca !important;
  background: #fef2f2 !important;
  color: #991b1b !important;
}

.admin-status-needs-review {
  color: #c2410c !important;
}

.admin-status-archived {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.admin-status-open {
  color: #166534 !important;
}

.admin-status-open-soon {
  color: #ca8a04 !important;
}

.admin-status-closes-soon {
  color: #ca8a04 !important;
}

.admin-status-closed {
  color: #b91c1c !important;
}

.admin-table tr.admin-row-archived td {
  background: #f3f4f6;
}

.admin-table-link {
  color: #111827;
  font-weight: 800;
}

.admin-primary-link,
.admin-primary-button,
.admin-secondary-button,
.admin-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}

.admin-primary-link,
.admin-primary-button {
  border: 0;
  color: #ffffff;
  background: var(--teal-strong);
}

.admin-secondary-button,
.admin-secondary-link {
  border: 1px solid #cbd5e1;
  color: #1f2937;
  background: #ffffff;
}

.admin-primary-button,
.admin-secondary-button {
  cursor: pointer;
}

.admin-intake-panel {
  padding: 1rem;
}

.admin-empty-draft p {
  margin: 0;
  padding: 1rem;
  color: #64748b;
}

.admin-intake-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(240px, 2fr) auto;
  gap: 0.85rem;
  align-items: end;
}

.admin-form {
  padding: 1.2rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-field-wide,
.admin-checks {
  grid-column: 1 / -1;
}

.admin-field label,
.admin-checks legend {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  padding: 0.72rem 0.8rem;
}

.admin-field .field_with_errors {
  display: contents;
}

.admin-field:has(.field_with_errors) {
  border-radius: 8px;
  padding: 0.45rem;
  background: #fef2f2;
}

.admin-field .field_with_errors input,
.admin-field .field_with_errors select,
.admin-field .field_with_errors textarea {
  border-color: #dc2626;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.admin-field .field_with_errors label {
  color: #b91c1c;
}

.admin-field .field_with_errors input:focus,
.admin-field .field_with_errors select:focus,
.admin-field .field_with_errors textarea:focus {
  border-color: #b91c1c;
  outline: none;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18);
}

.admin-checks .field_with_errors {
  display: inline-flex;
}

.admin-checks .field_with_errors input {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.admin-field textarea {
  resize: vertical;
}

.admin-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid #dbe1e8;
  border-radius: 8px;
}

.admin-checks label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #1f2937;
  font-weight: 700;
}

.admin-subsection-heading {
  margin-bottom: 0.8rem;
}

.admin-subsection-heading h2 {
  padding: 0;
}

.admin-subsection-heading p {
  margin: 0.3rem 0 0;
  color: #64748b;
}

.admin-booking-options {
  display: grid;
  gap: 1rem;
}

.admin-seed-badge {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 4px;
  vertical-align: middle;
}

.admin-seed-notice {
  margin: 0.3rem 0 0;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
}

.admin-seed-readonly {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.admin-seed-unit strong {
  display: block;
  margin-bottom: 0.25rem;
}

.admin-seed-unit ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #64748b;
  font-size: 0.875rem;
}

.admin-add-button,
.admin-small-add-button,
.admin-danger-button {
  justify-self: start;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.admin-add-button,
.admin-small-add-button {
  border: 1px solid #0f766e;
  color: #0f766e;
}

.admin-add-button {
  padding: 0.75rem 1rem;
}

.admin-small-add-button,
.admin-danger-button {
  padding: 0.55rem 0.8rem;
}

.admin-add-button:hover,
.admin-small-add-button:hover {
  background: #f0fdfa;
}

.admin-danger-button {
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.admin-danger-button:hover {
  background: #fef2f2;
}

.admin-remove-actions {
  grid-column: 1 / -1;
}

.admin-booking-option {
  margin: 0;
  padding: 1rem;
  border: 1px solid #dbe1e8;
  border-radius: 8px;
  background: #ffffff;
}

.admin-nested-error {
  border-color: #fca5a5 !important;
  background: #fff7f7 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.admin-accordion-summary {
  display: grid;
  grid-template-columns: 0.75rem minmax(0, 1fr) minmax(6.5rem, auto) auto;
  gap: 1rem;
  align-items: center;
  margin: -1rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
  list-style: none;
}

.admin-accordion-summary::-webkit-details-marker {
  display: none;
}

.admin-accordion-summary::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(-45deg);
  transition: transform 140ms ease;
}

.admin-booking-option[open] > .admin-accordion-summary::before,
.admin-booking-suboption[open] > .admin-accordion-summary::before {
  transform: rotate(45deg);
}

.admin-accordion-main {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.admin-accordion-summary strong {
  color: #1f2937;
  font-size: 0.9rem;
}

.admin-accordion-summary small,
.admin-accordion-meta {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-accordion-summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-accordion-submeta {
  color: #0f766e !important;
  font-weight: 900 !important;
}

.admin-accordion-meta {
  align-self: center;
  text-align: right;
}

.admin-error-chip {
  align-self: center;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.admin-booking-option[open] > .admin-option-grid,
.admin-booking-suboption[open] > .admin-option-grid {
  margin-top: 1.6rem;
}

.admin-nested-options,
.admin-pricing-rules {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.admin-booking-suboption,
.admin-pricing-rule {
  margin: 0;
  padding: 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-booking-suboption legend {
  padding: 0 0.35rem;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-booking-suboption {
  overflow: hidden;
}

.admin-accordion-summary-sub {
  margin: -0.9rem;
  padding: 0.85rem 0.9rem;
}

.admin-pricing-rule {
  background: #ffffff;
}

.admin-inline-error-heading {
  margin-bottom: 0.8rem;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  background: #fef2f2;
  color: #991b1b;
}

.admin-inline-error-heading strong {
  display: block;
  font-size: 0.82rem;
}

.admin-inline-error-heading span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-option-checks {
  grid-column: 1 / -1;
  padding: 0;
  border: 0;
}

.admin-form-actions,
.admin-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.2rem;
}

.admin-flash,
.admin-errors {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.admin-flash-notice {
  border: 1px solid #99f6e4;
  color: #0f766e;
  background: #f0fdfa;
}

.admin-flash-alert,
.admin-errors {
  border: 1px solid #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.admin-errors {
  margin: 1rem 1.2rem 0;
}

.field-error {
  margin-top: 4px;
  font-size: 12px;
  color: #991b1b;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: #e2e8f0;
}

.admin-summary-grid div {
  padding: 1rem;
  background: #ffffff;
}

.admin-summary-grid span,
.admin-details dt {
  display: block;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-summary-grid strong {
  display: block;
  margin-top: 0.35rem;
}

.admin-opening-hours-compact {
  white-space: normal;
  overflow-wrap: anywhere;
}

.admin-details {
  margin: 0;
  padding: 1rem;
}

.admin-details div + div {
  margin-top: 1rem;
}

.admin-details dd {
  margin: 0.25rem 0 0;
}

.admin-panel-copy {
  margin: 0;
  padding: 1rem;
}

.admin-panel-copy p {
  margin: 0;
}

.admin-panel-copy p + p {
  margin-top: 0.75rem;
}

.admin-job-log-poll {
  margin-bottom: 0.75rem;
}

.admin-job-log-poll-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.admin-job-log-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  padding: 0.2rem 0.6rem;
}

.admin-job-log-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}

.admin-log-polling-active .admin-job-log-dot {
  animation: admin-log-pulse 0.85s ease-in-out infinite alternate;
  background: #2563eb;
}

@keyframes admin-log-pulse {
  from { opacity: 0.35; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 760px) {
  .admin-header-inner,
  .admin-page-header,
  .admin-intake-form,
  .admin-option-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-header-inner,
  .admin-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-accordion-summary {
    grid-template-columns: 0.75rem minmax(0, 1fr);
    align-items: center;
  }

  .admin-accordion-meta {
    grid-column: 2;
    text-align: left;
    white-space: normal;
  }

  .admin-error-chip {
    grid-column: 2;
    justify-self: start;
  }

  .admin-table {
    display: block;
    overflow-x: auto;
  }
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - (var(--content-inline-gutter) * 2)));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  border-bottom: 1px solid rgba(229, 231, 235, 0.88);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease;
  will-change: transform;
}

body {
  padding-top: var(--site-header-height);
}

body.site-header-hidden .site-header {
  transform: translateY(calc(-1 * var(--site-header-height) - 2px));
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 1.5rem;
}

.site-header-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-header-account-slot {
  display: flex;
  align-items: center;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-search {
  display: flex;
  align-items: center;
  position: relative;
}

.header-search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  padding: 0 0.75rem;
  margin-right: 0;
}

.header-search-form[hidden] {
  display: none;
}

.header-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  width: 180px;
  color: var(--ink);
  padding: 0.5rem 0;
}

.header-search-input::placeholder {
  color: rgba(100, 116, 139, 0.45);
}

.header-search-trigger {
  color: var(--ink-muted);
  transition: color 0.15s, opacity 0.15s;
}

.header-search-trigger:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
}

.header-search-trigger.is-inactive {
  opacity: 0.35;
  cursor: default;
}

.site-header-mobile-menu {
  display: none;
}

.site-header-mobile-signin {
  display: none;
  text-decoration: none;
  color: #173447;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-header-mobile-menu-trigger {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d5e6ef;
  border-radius: 999px;
  color: #173447;
  background: #fff;
}

.site-header-mobile-menu-trigger::-webkit-details-marker {
  display: none;
}

.site-header-mobile-menu-panel {
  position: absolute;
  right: 12px;
  top: calc(var(--site-header-height) - 6px);
  z-index: 1700;
  width: min(240px, calc(100vw - 24px));
  border: 1px solid #deebf1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  padding: 8px;
  display: grid;
  gap: 2px;
}

.site-header-mobile-menu-panel a,
.site-header-mobile-auth-button {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: #173447;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: transparent;
  border: 0;
  text-align: left;
}

.site-header-mobile-menu-panel a:hover,
.site-header-mobile-auth-button:hover {
  background: #e8f2f7;
}

.site-header-account-menu {
  position: relative;
}

.site-header-account-trigger {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-strong);
  font-size: 0.84rem;
  font-weight: 800;
}

.site-header-account-trigger::-webkit-details-marker {
  display: none;
}

.site-header-account-panel {
  position: absolute;
  right: 0;
  top: calc(var(--site-header-height) - 6px);
  z-index: 1700;
  width: min(280px, calc(100vw - 24px));
  border: 1px solid #deebf1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  padding: 0.6rem;
}

.site-header-account-label {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-header-account-identity {
  display: block;
  margin-top: 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #f8fafc;
  text-decoration: none;
}

.site-header-account-identity:hover {
  background: #eff6fa;
}

.site-header-account-name {
  margin: 0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header-account-email {
  margin-top: 0.1rem;
  color: #64748b;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header-account-links {
  display: grid;
  gap: 2px;
  margin: 0.55rem 0 0;
  padding: 0.55rem 0 0;
  border-top: 1px solid #e6edf2;
  border-bottom: 1px solid #e6edf2;
}

.site-header-account-links a {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: #173447;
  font-size: 0.92rem;
  font-weight: 650;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
}

.site-header-account-links a:hover {
  background: #e8f2f7;
}

.site-header-account-logout {
  width: 100%;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  color: #173447;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  font-size: 0.92rem;
  font-weight: 650;
  margin-top: 0.5rem;
}

.site-header-account-logout:hover {
  background: #e8f2f7;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo-stack {
  display: flex;
  flex-direction: column;
}

.site-logo-icon {
  flex: 0 0 auto;
}

.site-logo-top {
  color: #0d9488;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
}

.site-logo-bottom {
  color: #1f2937;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1;
}

.site-logo-typography {
  align-items: baseline;
  gap: 0.4rem;
}

.site-logo-i {
  color: #4b5563;
  font-size: 1.25rem;
  font-weight: 300;
}

.site-logo-love {
  color: #0d9488;
  font-size: 1.25rem;
  font-weight: 300;
}

.site-logo-sauna {
  color: #1f2937;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal-strong);
}

.site-brand:hover .site-logo-top,
.site-brand:hover .site-logo-bottom,
.site-brand:hover .site-logo-love,
.site-brand:hover .site-logo-sauna {
  color: var(--teal-strong);
}

.home-page {
  min-height: calc(100vh - 66px);
  background:
    linear-gradient(135deg, rgba(204, 251, 241, 0.74), rgba(255, 255, 255, 0.92) 42%, rgba(219, 234, 254, 0.72));
}

.home-hero {
  display: flex;
  justify-content: center;
  padding: 4rem 1rem 3rem;
  text-align: center;
}

.home-hero-inner {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--teal-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.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;
}

.home-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 7vw, 5.35rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 46rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.search-form {
  margin-bottom: 1.4rem;
}

.search-control {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  min-height: 62px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.9rem 4.6rem 0.9rem 1.45rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.05rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  outline: none;
}

.search-input:focus,
.compact-search-input:focus {
  border-color: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.search-button {
  position: absolute;
  top: 50%;
  right: 10px;
  color: #ffffff;
  background: var(--teal);
  transform: translateY(-50%);
}

.search-button:hover,
.compact-search-button:hover {
  background: var(--teal-strong);
}

.quick-search {
  margin-bottom: 2.1rem;
}

.quick-search p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-row.centered {
  justify-content: center;
}

.filter-toolbar {
  display: block;
  grid-column: 1 / -1;
}

.directory-index-page .site-header {
  position: fixed;
}

.directory-index-page {
  --directory-sticky-top: var(--site-header-height);
  --directory-sticky-filter-height: 0px;
}

.directory-index-page .directory-sticky-filters {
  position: sticky;
  top: var(--directory-sticky-top);
  z-index: 30;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  transition: top 220ms ease;
}

body.site-header-hidden.directory-index-page {
  --directory-sticky-top: 0px;
}

.filter-unified-form {
  display: inline-grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: end;
  column-gap: 0.6rem;
  gap: 0.75rem;
}

.main-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
  background: #ffffff;
}

.main-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #93c5fd;
  border-radius: 999px;
  padding: 0.2rem 0.62rem;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 700;
}

.main-filter-input {
  width: 100%;
  min-width: 180px;
  border: 0;
  box-shadow: none;
  padding-left: 0.25rem;
}

.main-filter-input:focus {
  border-color: transparent;
  box-shadow: none;
}

.filter-main-done {
  min-width: 92px;
  background: #ffffff;
  border-color: #9ca3af;
}

.filter-primary-groups {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  column-gap: 1.75rem;
  row-gap: 0.75rem;
  grid-column: 1;
  grid-row: 1;
}

.filter-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.32rem;
  min-width: 0;
}

.filter-section-compact {
  min-width: 0;
}

.compact-distance-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.compact-location-picker-wrap {
  position: relative;
}

.compact-location-input {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.32rem 0.45rem;
  background: #ffffff;
  cursor: text;
}

.compact-location-input[aria-expanded="true"] {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.18);
}

.compact-location-picker {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 30;
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.3rem;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  min-width: 100%;
}

.compact-location-picker[hidden] {
  display: none !important;
}

.compact-location-option {
  display: block;
  width: 100%;
  min-height: 32px;
  padding: 0.32rem 0.6rem;
  font-size: 0.82rem;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: #111827;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.compact-location-option:hover {
  background: #f8fafc;
  box-shadow: none;
  color: #111827;
}

.compact-location-option.active {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 700;
  box-shadow: inset 2px 0 0 #3b82f6;
}

.compact-location-option:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.compact-location-option[aria-disabled="true"]:not(.active),
.compact-location-option-disabled {
  position: relative;
  color: #64748b;
  background: #f8fafc;
  font-weight: 600;
  cursor: not-allowed;
}

.compact-location-option[aria-disabled="true"]:not(.active):hover,
.compact-location-option-disabled:hover {
  color: #64748b;
  background: #f8fafc;
}

.compact-sort-option-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.compact-sort-option-row .compact-location-option {
  flex: 1;
}

.compact-option-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.compact-option-tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 0.3rem);
  z-index: 5;
  display: inline-block;
  width: max-content;
  max-width: min(260px, 72vw);
  padding: 0.42rem 0.55rem;
  border-radius: 6px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  white-space: normal;
}

.compact-option-tooltip[hidden] {
  display: none !important;
}

.compact-location-icon {
  color: #94a3b8;
  flex: 0 0 auto;
}

.compact-location-typeahead {
  flex: 1;
  min-width: 132px;
  border: 0;
  padding: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: #111827;
  background: transparent;
}

.compact-location-typeahead:focus {
  outline: none;
  box-shadow: none;
}

.compact-location-typeahead:disabled {
  color: #64748b;
  cursor: not-allowed;
}

.compact-location-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 0.3rem;
  margin-left: auto;
  padding: 0.28rem 0.62rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.compact-location-clear {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.1rem 0.15rem;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.compact-location-clear:hover {
  color: #475569;
}

.compact-location-clear:disabled,
.compact-location-clear:disabled:hover {
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: none;
}

.compact-location-done:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #334155;
}

.compact-location-done:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.35);
  outline-offset: 1px;
}

.compact-select-wrap {
  position: relative;
}

.compact-select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.36rem 1.9rem 0.36rem 0.62rem;
  background: #ffffff;
  color: #374151;
  font-size: 0.84rem;
  font-weight: 700;
}

.compact-select:disabled {
  color: #94a3b8;
  background: #f8fafc;
  border-color: #cbd5e1;
  cursor: not-allowed;
}

.compact-select-wrap-radius .compact-select {
  min-width: 88px;
}

.filter-section-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-section-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.filter-section-label span {
  color: #94a3b8;
  font-weight: 800;
  text-transform: none;
}

.filter-reference-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.filter-ref-pill {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0.02rem 0.3rem;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.filter-ref-pill + .filter-ref-pill {
  margin-left: 0.05rem;
}

.filter-ref-pill:hover,
.filter-ref-pill.active {
  color: var(--teal-strong);
  background: rgba(45, 212, 191, 0.12);
}

.filter-ref-pill.active {
  color: #0f766e;
  background: rgba(45, 212, 191, 0.2);
}

.filter-segment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.filter-text-input {
  width: min(280px, 100%);
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.86rem;
  font-weight: 600;
  outline: none;
}

.filter-text-input::placeholder {
  color: rgba(100, 116, 139, 0.45);
}

.filter-text-input:focus {
  border-color: #2dd4bf;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.16);
}

.filter-inline-form {
  align-items: center;
}

.people-filter-input {
  width: 130px;
  min-height: 36px;
}

.filter-primary-groups .filter-segment {
  flex-wrap: nowrap;
}

.filter-groups {
  display: grid;
  gap: 0.8rem;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  gap: 0.5rem;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  background: #ffffff;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  box-shadow: none;
}

.filter-toggle:hover {
  border-color: #99f6e4;
  color: var(--teal-strong);
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.1);
}

.filter-toggle:focus-visible {
  outline: 3px solid rgba(45, 212, 191, 0.28);
  outline-offset: 2px;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-size: 0.75rem;
}

.filter-modal[hidden] {
  display: none;
}

.filter-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
}

.filter-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.46);
  cursor: pointer;
}

.filter-modal-sheet {
  position: fixed;
  inset: 6vh min(4vw, 2rem) 3vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.filter-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0.9rem;
}

.filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.filter-modal-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #111827;
}

.filter-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.filter-modal-close:hover,
.filter-modal-close:focus-visible {
  border-color: #99f6e4;
  color: var(--teal-strong);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.14);
}

.filter-modal-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.filter-group {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 0;
}

.filter-group p {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-group p span {
  color: #374151;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: none;
}

.filter-group p .is-placeholder {
  color: #9ca3af;
}


.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.38rem 0.64rem;
  background: #ffffff;
  color: #374151;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.filter-pill:hover,
.filter-pill.active {
  border-color: #2dd4bf;
  color: var(--teal-strong);
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.1);
}

.filter-pill.active {
  background: var(--teal);
  color: #ffffff;
}

.filter-pill.secondary {
  min-height: 36px;
  border-width: 1px;
  padding: 0.42rem 0.82rem;
  background: #f8fafc;
  font-size: 0.84rem;
}

.filter-pill.secondary.active {
  border-width: 2px;
  border-color: #334155;
  background: #ffffff;
  color: #111827;
  box-shadow: none;
}

.filter-pill.secondary.is-any.active {
  border-color: #334155;
}

.filter-pill.secondary.is-any:not(.active) {
  border-color: #9ca3af;
}

.filter-choice-input {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.filter-choice-input:checked + .filter-pill.secondary {
  border-width: 2px;
  border-color: #334155;
  background: #ffffff;
  color: #111827;
  box-shadow: none;
}

.filter-choice-input:checked + .filter-pill.secondary.is-any {
  border-color: #334155;
}

.filter-pill.secondary.filter-modal-apply-button {
  min-width: 170px;
  justify-content: center;
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.24);
}

.filter-modal-clear-all {
  border: 0;
  background: transparent;
  padding: 0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.filter-modal-clear-all:hover,
.filter-modal-clear-all:focus-visible {
  color: #334155;
}

.filter-modal-clear-all:disabled {
  border-color: #cbd5e1;
  background: transparent;
  color: #94a3b8;
  text-decoration: none;
  box-shadow: none;
  cursor: not-allowed;
}

.filter-pill.secondary.filter-modal-apply-button:hover,
.filter-pill.secondary.filter-modal-apply-button:focus-visible {
  border-color: #115e59;
  background: #115e59;
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(15, 118, 110, 0.3);
}

.filter-pill.secondary.filter-modal-apply-button.is-loading {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
  cursor: wait;
}

.filter-panel-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

.filter-modal-apply-button.is-disabled,
.filter-modal-apply-button:disabled {
  border-color: #cbd5e1;
  background: #e2e8f0;
  color: #64748b;
  box-shadow: none;
  cursor: not-allowed;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 auto;
}

.hero-stats div,
.metric-card,
.experience-panel,
.facilities-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.hero-stats div {
  padding: 1rem;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  color: var(--teal-strong);
  font-size: 1.22rem;
  font-weight: 900;
}

.featured-section {
  padding-bottom: 4rem;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-heading.compact {
  margin-bottom: 0.85rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.1;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.featured-card,
.sauna-list-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.featured-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

@media (hover: hover) and (pointer: fine) {
  .sauna-list-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
}

.sauna-art {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  color: rgba(13, 148, 136, 0.34);
}

.sauna-art-fallback {
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.56), rgba(191, 219, 254, 0.64)),
    radial-gradient(circle at 24% 24%, #ffffff, transparent 32%);
}

.sauna-card-image,
.sauna-list-image,
.detail-image {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

.featured-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.featured-card-body .tag-row {
  margin-top: auto;
}

.featured-card h3,
.sauna-list-card h2 {
  margin: 0 0 0.55rem;
  line-height: 1.15;
}

.listing-area {
  margin: 0 0 0.45rem;
  color: var(--teal-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.listing-place {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  width: 100%;
  margin: -0.12rem 0 0.7rem;
  min-width: 0;
}

.sauna-list-card .listing-place {
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.sauna-list-card .sauna-title-row h2 {
  margin: 4px 0 6px;
}

.area-display {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.area-display-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-place .opening-status-text {
  margin-left: auto;
  flex: 0 0 auto;
}

.listing-address {
  margin: 0 0 0.6rem;
  color: var(--muted);
}

.listing-description {
  margin: 0 0 0.9rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comparison-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
}

.comparison-strip div {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  background: #f8fafc;
}

.comparison-strip dt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #64748b;
  line-height: 1;
}

.comparison-icon {
  flex: 0 0 auto;
}

.comparison-strip dd {
  margin: 0;
  color: #1f2937;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-row-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tag-row-scroll::-webkit-scrollbar {
  display: none;
}

.tag-row-scroll .tag {
  flex: 0 0 auto;
}

.facility-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.6rem 0 0;
}

.facility-icon-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  color: #64748b;
  position: relative;
  cursor: help;
  padding: 0;
}

.facility-chip-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%);
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  padding: 0.28rem 0.44rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
  z-index: 12;
  visibility: hidden;
}

.facility-icon-row .facility-icon-chip:first-child .facility-chip-tooltip {
  left: 0;
  transform: none;
}

.facility-icon-row .facility-icon-chip:last-child .facility-chip-tooltip {
  left: auto;
  right: 0;
  transform: none;
}

.facility-icon-chip:hover .facility-chip-tooltip,
.facility-icon-chip:focus-visible .facility-chip-tooltip {
  opacity: 1;
  visibility: visible;
}

.facility-icon-chip:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.42);
  outline-offset: 2px;
}

.facility-icon-chip .detail-fact-icon {
  width: 14px;
  height: 14px;
}

.facility-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.facility-filter-icon {
  display: inline-flex;
  align-items: center;
  color: #64748b;
}

.facility-filter-icon .detail-fact-icon {
  width: 13px;
  height: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: var(--teal-soft);
  color: var(--teal-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.center-action {
  margin-top: 2rem;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(13, 148, 136, 0.22);
}

.button-primary:hover {
  background: var(--teal-strong);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--teal-strong);
}

.button:disabled,
.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.google-signin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #747775;
  border-radius: 999px;
  padding: 0;
  background: #ffffff;
  color: #1f1f1f;
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
}

.google-signin-button:hover {
  background: #f8f9fa;
}

.google-signin-button-inner {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px 0 12px;
}

.google-signin-button-logo {
  display: block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.google-signin-button-text {
  white-space: nowrap;
}

.directory-page,
.detail-page {
  min-height: calc(100vh - var(--site-header-height));
  background: #f9fafb;
}

.directory-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 420px);
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.directory-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.directory-heading .eyebrow {
  margin-bottom: 0.15rem;
}

.directory-heading h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 1.3rem;
}

.inline-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #64748b;
  line-height: 0;
  outline: none;
}

.inline-info svg {
  display: block;
}

.inline-info:hover,
.inline-info:focus-visible {
  color: var(--teal-strong);
}

.inline-info::after {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.4rem);
  z-index: 4;
  width: min(320px, calc(100vw - 24px));
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  background: #111827;
  color: #ffffff;
  content: attr(data-tooltip);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
  overflow-wrap: anywhere;
}

.inline-info:hover::after,
.inline-info:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.account-deactivate-row .inline-info::after {
  left: 50%;
  right: auto;
  width: min(280px, calc(100vw - 32px));
  transform: translate(-50%, -4px);
}

.account-deactivate-row .inline-info:hover::after,
.account-deactivate-row .inline-info:focus-visible::after {
  transform: translate(-50%, 0);
}

.directory-subtitle {
  max-width: 42rem;
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.directory-note {
  grid-column: 1 / -1;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 0.72rem 0.9rem;
  background: #f0f9ff;
  color: #075985;
  font-size: 0.9rem;
}

.back-button:hover {
  background: #f1f5f9;
}

.compact-search {
  position: relative;
}

.compact-search-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 5.4rem 0.65rem 1rem;
  outline: none;
}

.compact-search-input::-webkit-search-cancel-button {
  appearance: none;
  display: none;
}

.compact-search-clear {
  position: absolute;
  top: 50%;
  right: 44px;
  width: 32px;
  height: 32px;
  color: #64748b;
  background: #f8fafc;
  transform: translateY(-50%);
}

.compact-search-clear:hover {
  color: #111827;
  background: #e5e7eb;
}

.compact-search-button {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: var(--teal);
  transform: translateY(-50%);
}

.directory-view-switch {
  display: none;
}

.view-switch-button {
  min-height: 38px;
  border: 1px solid var(--line);
  padding: 0.45rem 1rem;
  background: #ffffff;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.view-switch-button:first-child {
  border-radius: 999px 0 0 999px;
}

.view-switch-button:last-child {
  border-left: 0;
  border-radius: 0 999px 999px 0;
}

.view-switch-button.active {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.directory-view-switch .view-switch-button:only-child {
  width: 100%;
  border-radius: 999px;
}

.directory-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(360px, 1.05fr);
  align-items: start;
}

.directory-layout-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  background: rgba(249, 250, 251, 0.72);
  backdrop-filter: blur(2px);
}

.directory-layout-loading-overlay[hidden] {
  display: none !important;
}

.directory-layout-loading-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  color: #1f2937;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.directory-layout-loading-indicator::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #99f6e4;
  border-top-color: #0f766e;
  border-radius: 50%;
  animation: directory-loading-spin 720ms linear infinite;
}

@keyframes directory-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.sauna-list-panel {
  grid-column: 1;
  grid-row: 1;
  padding: 1.25rem 1.5rem;
}

.listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}

.listing-controls {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.listing-filter-text-input {
  width: min(280px, 100%);
}

.directory-count {
  margin: 0;
  color: var(--muted);
}

.sort-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sort-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 0.1rem;
}

.compact-sort-picker-wrap {
  min-width: 142px;
}


.sauna-list {
  display: grid;
  gap: 1rem;
}

.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.load-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 220px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.24);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.load-more-button:hover,
.load-more-button:focus-visible {
  background: #115e59;
  border-color: #115e59;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(17, 94, 89, 0.28);
}

.load-more-button:active {
  transform: translateY(1px);
}

.load-more-button.is-loading,
.load-more-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.9;
  background: #0b5f59;
  border-color: #0b5f59;
}

.load-more-button.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 0.5rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  animation: load-more-spin 0.85s linear infinite;
}

@keyframes load-more-spin {
  to {
    transform: rotate(360deg);
  }
}

.sauna-list-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(168px, 34%) minmax(0, 1fr);
  gap: 1rem;
  min-height: 190px;
  border: 1px solid var(--line);
  padding: 0.8rem;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .sauna-list-card:hover {
    border-color: #99f6e4;
  }
}

.sauna-list-card.is-filter-hidden {
  display: none;
}

.sauna-list-card.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2), var(--shadow);
}

.sauna-list-card.is-navigating {
  pointer-events: none;
  border-color: var(--teal-strong);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.22), var(--shadow);
}

.sauna-list-card.is-navigating::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.06) 18%, rgba(45, 212, 191, 0.2) 42%, rgba(255, 255, 255, 0.06) 70%);
  background-size: 220% 100%;
  animation: sauna-card-progress 900ms linear infinite;
}

.sauna-list-card.is-navigating::after {
  content: "Opening details...";
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 4;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@keyframes sauna-card-progress {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.sauna-list-card:focus-visible {
  outline: 3px solid rgba(45, 212, 191, 0.36);
  outline-offset: 2px;
}

.sauna-title-link {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  text-decoration: none;
}

.sauna-title-link:hover,
.sauna-title-link:focus-visible {
  color: var(--teal-strong);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.sauna-list-media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  height: 100%;
  max-height: 224px;
  contain: paint;
  overflow: hidden;
  border-radius: 6px;
  color: rgba(13, 148, 136, 0.34);
}

.sauna-list-carousel {
  width: 100%;
}

.sauna-list-carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 190px;
  max-height: 224px;
  overflow: hidden;
  border-radius: 6px;
  background: #f8fafc;
  -webkit-tap-highlight-color: transparent;
}

.sauna-list-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.sauna-list-carousel-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sauna-list-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 12;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sauna-list-carousel-control:hover {
  background: rgba(15, 23, 42, 0.78);
}

.sauna-list-carousel-control-prev {
  left: 0.45rem;
}

.sauna-list-carousel-control-next {
  right: 0.45rem;
}

.sauna-list-carousel[data-at-start="true"] .sauna-list-carousel-control-prev,
.sauna-list-carousel[data-at-end="true"] .sauna-list-carousel-control-next {
  opacity: 0.34;
  pointer-events: auto;
  cursor: default;
  background: rgba(15, 23, 42, 0.42);
}

.sauna-list-content {
  min-width: 0;
  padding: 0.18rem 0.1rem 0.18rem 0;
}

.listing-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-height: 0;
}

.listing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.opening-status-open {
  color: #166534 !important;
}

.opening-status-open-soon {
  color: #ca8a04 !important;
}

.opening-status-closes-soon {
  color: #ca8a04 !important;
}

.opening-status-closed {
  color: #b91c1c !important;
}

.opening-status-check-booking {
  color: #0f766e !important;
}

.sauna-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  min-width: 0;
}

.sauna-title-row h2 {
  flex: 1 1 auto;
  min-width: 0;
}

.listing-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  flex: 0 0 auto;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.listing-rating-icon {
  opacity: 0.72;
}

.location-line {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.location-line svg {
  flex: 0 0 auto;
  margin-top: 0.12rem;
}

.location-note {
  display: block;
  margin-top: 0.18rem;
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 900;
}

.map-panel {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  position: sticky;
  top: calc(var(--site-header-height) + 1rem);
  min-height: calc(100vh - var(--site-header-height) - 2rem);
  height: calc(100vh - var(--site-header-height) - 2rem);
  padding: 1.25rem 1.5rem 1.25rem 0;
}

.directory-map {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #e7f0eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.directory-map-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-area-controls {
  position: absolute;
  z-index: 450;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.map-area-button {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  cursor: pointer;
}

.map-area-button {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.map-area-button.is-loading {
  position: relative;
  cursor: wait;
  opacity: 0.9;
  padding-left: 2rem;
  pointer-events: none;
}

.map-area-button.is-loading::before {
  content: "";
  position: absolute;
  left: 0.82rem;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: -0.4rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: directory-loading-spin 720ms linear infinite;
}

.map-area-toast {
  position: fixed;
  z-index: 2200;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
}

.map-area-toast-top {
  top: calc(var(--site-header-height) + 0.6rem + env(safe-area-inset-top));
  bottom: auto;
  background: #fff7e6;
  color: #8a5a00;
  border: 1px solid #f2d59c;
  box-shadow: 0 10px 22px rgba(138, 90, 0, 0.16);
}

.directory-map-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
}

.directory-map-loading::after,
.directory-map-unavailable::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: var(--muted);
  font-weight: 800;
  pointer-events: none;
}

.directory-map-loading::after {
  content: "Loading map...";
}

.directory-map-unavailable::after {
  content: "Map unavailable";
  color: var(--muted);
  font-weight: 800;
}

.map-empty-state {
  position: absolute;
  inset: 1.25rem 1.5rem 1.25rem 0;
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  pointer-events: none;
}

.map-empty-state[hidden] {
  display: none !important;
}

.map-empty-state h2,
.map-empty-state p {
  margin: 0;
}

.map-empty-state p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.sauna-map-marker {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.2);
  transition: transform 160ms ease;
}

.sauna-map-marker-dot {
  display: block;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.sauna-map-marker.active {
  background: rgba(251, 191, 36, 0.28);
  transform: scale(1.08);
}

.sauna-map-marker.active .sauna-map-marker-dot {
  width: 24px;
  height: 24px;
  background: #f59e0b;
}

.leaflet-container {
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.leaflet-pane,
.leaflet-map-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  user-select: none;
}

.leaflet-tile {
  max-width: none;
}

.leaflet-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-control-container .leaflet-top {
  top: 0;
}

.leaflet-control-container .leaflet-right {
  right: 0;
}

.leaflet-control-container .leaflet-bottom {
  bottom: 0;
}

.leaflet-control-container .leaflet-left {
  left: 0;
}

.leaflet-control {
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}

.leaflet-left .leaflet-control {
  margin-left: 10px;
}

.leaflet-top .leaflet-control {
  margin-top: 10px;
}

.leaflet-control-zoom a {
  display: block;
  width: 30px;
  height: 30px;
  border-bottom: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
}

.leaflet-control-zoom a:first-child {
  border-radius: 6px 6px 0 0;
}

.leaflet-control-zoom a:last-child {
  border-bottom: 0;
  border-radius: 0 0 6px 6px;
}

.leaflet-control-attribution {
  margin: 0;
  padding: 0.2rem 0.45rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.68rem;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.leaflet-popup {
  position: absolute;
  margin-bottom: 20px;
  text-align: left;
}

.leaflet-popup-content {
  margin: 0;
}

.leaflet-popup-tip-container {
  position: absolute;
  left: 50%;
  width: 40px;
  height: 20px;
  margin-left: -20px;
  overflow: hidden;
  pointer-events: none;
}

.leaflet-popup-tip {
  width: 17px;
  height: 17px;
  margin: -10px auto 0;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  transform: rotate(45deg);
}

.map-popup {
  width: min(260px, calc(100vw - 3.2rem));
  padding: 0.85rem;
}

.map-popup h2 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  line-height: 1.15;
}

.map-popup .listing-place {
  margin: 0 0 0.35rem;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.map-popup h2 {
  margin: 0 0 0.6rem;
}

.map-popup-note {
  margin: -0.2rem 0 0.6rem;
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 900;
}

.directory-map-popup-link {
  display: inline;
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.directory-map-popup-link:hover {
  text-decoration: underline;
}

.detail-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 1.5rem;
  background: #ffffff;
}

.app-breadcrumb {
  margin-bottom: 0.75rem;
}

.detail-breadcrumb ol,
.app-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #64748b;
  font-size: 0.84rem;
}

.detail-breadcrumb li,
.app-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.detail-breadcrumb li:not(:last-child)::after,
.app-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 0.4rem;
  color: #94a3b8;
}

.detail-breadcrumb a,
.app-breadcrumb a {
  color: var(--teal-strong);
  text-decoration: none;
  font-weight: 700;
}

.detail-breadcrumb a:hover,
.detail-breadcrumb a:focus-visible,
.app-breadcrumb a:hover,
.app-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.detail-breadcrumb li[aria-current="page"],
.app-breadcrumb li[aria-current="page"] {
  color: #0f172a;
  font-weight: 700;
}

.detail-shell {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}

.detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  color: rgba(13, 148, 136, 0.34);
  width: 100%;
}

.detail-visual .detail-image[src*="the-wood-fired-sauna"] {
  object-position: center 72%;
}

.detail-image-expandable {
  cursor: zoom-in;
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  width: fit-content;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow: visible;
}

.image-lightbox::backdrop {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.image-lightbox img {
  display: block;
  width: auto;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.42);
}

.image-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: #f8fafc;
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.56);
  cursor: pointer;
  transform: translateY(-50%);
}

.image-lightbox-nav:hover {
  background: rgba(15, 23, 42, 0.74);
}

.image-lightbox-nav:disabled {
  opacity: 0.36;
  cursor: default;
  pointer-events: none;
}

.image-lightbox-prev {
  left: 0.75rem;
}

.image-lightbox-next {
  right: 0.75rem;
}

.image-lightbox-counter {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  min-width: 56px;
  border-radius: 999px;
  padding: 0.24rem 0.6rem;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.56);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.detail-visual.sauna-art-fallback {
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.62), rgba(191, 219, 254, 0.66)),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.88), transparent 28%);
}

.detail-carousel {
  margin-bottom: 1.5rem;
}

.detail-carousel-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  touch-action: pan-y;
  width: 100%;
}

.detail-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.detail-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.85rem 1rem;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.74));
  font-size: 0.9rem;
  font-weight: 750;
}

.carousel-control {
  position: absolute;
  top: calc(50% - 22px);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.54);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-control:hover {
  background: rgba(15, 23, 42, 0.72);
}

.detail-carousel[data-at-start="true"] .carousel-control-prev,
.detail-carousel[data-at-end="true"] .carousel-control-next {
  opacity: 0.36;
  cursor: default;
}

.carousel-control:disabled {
  opacity: 0.36;
  cursor: default;
}

.carousel-control-prev {
  left: 0.9rem;
}

.carousel-control-next {
  right: 0.9rem;
}

.carousel-counter {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  min-width: 56px;
  border-radius: 999px;
  padding: 0.24rem 0.6rem;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.54);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.carousel-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.carousel-thumbnail {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}

.carousel-thumbnail.active {
  border-color: #2dd4bf;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}

.carousel-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-title-block {
  margin-bottom: 1.5rem;
}

.detail-title-block h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.02;
}

.experience-panel,
.facilities-panel,
.decision-panel,
.slots-panel {
  padding: 1.35rem;
  margin-bottom: 1rem;
}

.experience-panel h2,
.facilities-panel h2,
.decision-panel h2,
.slots-panel h2 {
  margin: 0 0 0.65rem;
}

.experience-panel p,
.decision-panel p {
  margin: 0;
  color: #374151;
}

.review-snapshot-panel {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 1.15rem;
  margin-bottom: 1rem;
  background: #f8fbff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.review-snapshot-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.review-snapshot-header h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #0f172a;
  font-size: 1.1rem;
  line-height: 1.2;
}

.review-snapshot-header h2 .detail-fact-icon {
  color: var(--teal-strong);
}

.review-snapshot-rating {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0f172a;
}

.review-stars {
  letter-spacing: 0.05em;
  color: #f59e0b;
  font-size: 0.92rem;
}

.review-snapshot-rating strong {
  font-size: 1rem;
}

.review-snapshot-rating span:last-child {
  color: var(--muted);
  font-size: 0.85rem;
}

.review-snapshot-body {
  margin: 0 0 0.6rem;
  color: #1f2937;
  line-height: 1.52;
}

.review-snapshot-link-wrap {
  margin: 0 0 0.55rem;
}

.review-snapshot-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  color: #1d4ed8;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.review-snapshot-link:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.decision-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  background: #f0f9ff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.decision-panel .eyebrow {
  margin-bottom: 0.28rem;
  color: #0369a1;
}

.decision-panel h2 {
  color: #0f172a;
  font-size: 1.18rem;
}

.decision-panel-cta {
  white-space: nowrap;
  border-radius: 8px;
}

.slots-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.slots-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.slots-panel-header .eyebrow {
  margin-bottom: 0.28rem;
}

.slots-panel h2 {
  color: #0f172a;
  font-size: 1.18rem;
}

.slots-freshness {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
}

.slot-list {
  display: grid;
  gap: 0.65rem;
}

.slot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  background: #f8fbff;
}

.slot-card h3 {
  margin: 0 0 0.18rem;
  color: #111827;
  font-size: 1rem;
}

.slot-card p,
.slots-empty-state p {
  margin: 0;
  color: var(--muted);
}

.slot-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.4rem !important;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  background: #ecfeff;
  color: #0e7490 !important;
  font-size: 0.78rem;
  font-weight: 900;
}

.slot-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  background: #ffffff;
  color: #1d4ed8;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.slot-card-link:hover {
  border-color: #60a5fa;
  background: #eff6ff;
}

.slots-empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 1rem;
  background: #f8fafc;
}

.slots-empty-state h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.availability-panel {
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8fbff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.availability-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.availability-header h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  color: #0f172a;
  font-size: 1.18rem;
}

.availability-header h2 span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.availability-list {
  display: grid;
  gap: 0.65rem;
}

.availability-panel-simple {
  display: flex;
  justify-content: flex-start;
}

.availability-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  background: #ffffff;
}

.availability-card h3 {
  margin: 0 0 0.2rem;
  color: #111827;
  font-size: 1rem;
}

.availability-card p {
  margin: 0;
  color: var(--muted);
}

.availability-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  color: #ffffff;
  background: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.availability-link:hover {
  background: var(--teal-strong);
}

.availability-link-secondary {
  border: 1px solid #99f6e4;
  color: var(--teal-strong);
  background: #ffffff;
}

.availability-link-secondary:hover {
  color: #ffffff;
  background: var(--teal);
}

.booking-options-cta {
  min-height: 44px;
  padding-inline: 1rem;
  box-shadow: none;
}

.booking-options-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.booking-options-panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.18rem;
}

.booking-options-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.walk-in-notice {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.booking-options-list {
  display: grid;
  gap: 0.7rem;
}

.booking-option-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  background: #fbfdff;
}

.booking-option-card h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.booking-option-card-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-option-rows {
  list-style: none;
  padding: 0.6rem 0 0;
  margin: 0.6rem 0 0;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.booking-option-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.booking-option-row-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
}

.booking-access-icon {
  color: var(--teal-strong);
  flex-shrink: 0;
}

.booking-option-row-detail {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
}

.session-name-tags {
  list-style: none;
  padding: 0.6rem 0 0;
  margin: 0.6rem 0 0;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.session-name-tags li {
  font-size: 0.78rem;
  color: var(--muted);
  background: #f1f5f9;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

.session-name-tags-more {
  font-size: 0.78rem;
  color: #64748b;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  border: none;
  border-radius: 0;
  padding: 0.1rem 0.2rem;
  font-weight: 500;
  cursor: pointer;
}

.session-name-tags-more:hover {
  color: #334155;
}

.detail-map-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  margin-bottom: 1rem;
}

.detail-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.detail-map-header h2 {
  margin: 0 0 0.25rem;
  color: #0f172a;
  font-size: 1.18rem;
}

.detail-map-header h2 .detail-fact-icon {
  color: var(--teal-strong);
}

.detail-map-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 450;
  line-height: 1.4;
}

.location-inline-link {
  color: inherit;
  text-underline-offset: 0.14em;
}

.location-inline-link:hover {
  color: #0f172a;
}

.map-app-link {
  min-height: 38px;
  border-radius: 8px;
  white-space: nowrap;
}

.detail-map-frame,
.detail-map-empty {
  display: block;
  width: 100%;
  height: 320px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #e7f0eb;
}

.detail-map-frame {
  overflow: hidden;
}

.detail-map-empty {
  display: grid;
  place-content: center;
  padding: 1rem;
  text-align: center;
}

.detail-map-unavailable {
  display: grid;
  place-content: center;
}

.detail-map-unavailable::after {
  color: var(--muted);
  content: "Map preview unavailable";
  font-weight: 800;
}

.detail-map-empty p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-info-panel {
  display: grid;
  gap: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.detail-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (max-width: 360px) {
  .detail-facts-grid {
    grid-template-columns: 1fr;
  }
}

.detail-fact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.78rem;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  background: #ffffff;
}

.detail-fact-icon {
  color: var(--teal-strong);
}

.detail-fact div {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}

.detail-fact span {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-info-section h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
}

.detail-fact strong {
  color: #111827;
  font-size: 1rem;
  line-height: 1.38;
}

.opening-status-text {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-info-sections {
  display: grid;
  gap: 1.35rem;
}

.detail-info-section {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.detail-info-section h2,
.detail-map-header h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.detail-section-heading-with-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
}

.detail-line-list {
  display: grid;
  gap: 0.55rem;
}

.detail-line-list p {
  margin: 0;
  color: #374151;
  font-weight: 450;
  line-height: 1.45;
}

.opening-hours-list {
  display: grid;
  gap: 0.4rem;
}

.opening-hours-row {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(8.5rem, 10.5rem) minmax(0, 1fr);
  column-gap: 0.35rem;
  align-items: start;
  color: #374151;
  font-weight: 450;
  line-height: 1.45;
}

.opening-hours-row.is-no-day .opening-hours-time {
  grid-column: 1 / -1;
}

.opening-hours-day {
  color: #6b7280;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
}

.opening-hours-time {
  color: inherit;
}

.detail-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recently-viewed-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.recently-viewed-panel + .recently-viewed-panel {
  margin-top: 1rem;
}

.recently-viewed-header {
  margin-bottom: 0.8rem;
}

.recently-viewed-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.18rem;
}

.recently-viewed-header p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.recently-viewed-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  gap: 0.7rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 0.2rem;
  scroll-snap-type: x proximity;
}

.recently-viewed-card {
  scroll-snap-align: start;
}

.recently-viewed-link {
  display: grid;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}

.recently-viewed-link:hover h3,
.recently-viewed-link:focus-visible h3 {
  color: var(--teal-strong);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.recently-viewed-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fafc;
}

.recently-viewed-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recently-viewed-body h3 {
  margin: 0;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.25;
}

.recently-viewed-body p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.recently-viewed-area {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.recently-viewed-area svg {
  flex-shrink: 0;
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.95rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #374151;
  font-weight: 750;
  line-height: 1.42;
}

.included-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "•";
  font-weight: 900;
}

.facility-status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facility-status-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f8fafc;
}

.facility-status-item.is-available {
  border-color: #99f6e4;
  background: #f0fdfa;
}

.facility-status-item.is-missing {
  border-color: #e5e7eb;
  background: #f8fafc;
}

.facility-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  flex: 0 0 1.9rem;
}

.facility-status-item.is-missing .facility-status-icon {
  color: #6b7280;
  background: #e5e7eb;
}

.facility-status-content {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.facility-status-label {
  color: #111827;
  font-weight: 750;
  line-height: 1.28;
}

.facility-status-state {
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.facility-status-item.is-missing .facility-status-state {
  color: #6b7280;
}

.metric-card {
  padding: 1rem;
}

.metric-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.metric-card p {
  margin: 0;
  font-weight: 850;
}

.facility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facility-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #374151;
}

.facility-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "•";
  font-weight: 900;
}

.detail-actions {
  display: flex;
  gap: 0.85rem;
}

.detail-cta {
  flex: 1;
  border-radius: 8px;
}

.empty-state {
  padding: 2rem;
  text-align: center;
}

.empty-state h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .directory-index-page {
    --directory-mobile-bottom-clearance: calc(6.25rem + env(safe-area-inset-bottom));
  }

  .featured-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .directory-header {
    position: relative;
    z-index: 1300;
    grid-template-columns: 1fr;
  }

  .sauna-list-panel {
    position: relative;
    z-index: 1;
  }

  .filter-toolbar {
    display: block;
  }

  .filter-unified-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.5rem;
  }

  .main-filter-bar {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .main-filter-input {
    min-width: 0;
  }

  .filter-main-done {
    width: 100%;
  }

  .filter-primary-groups {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
  }


  .filter-primary-groups .filter-segment {
    flex-wrap: wrap;
  }

  .directory-sticky-filters .filter-primary-groups .compact-location-picker {
    top: calc(100% + 0.45rem);
    bottom: auto;
    z-index: 1400;
    background: #ffffff;
    opacity: 1;
    pointer-events: auto;
  }

  .directory-sticky-filters .filter-primary-groups .compact-location-picker .compact-location-option {
    background: #ffffff;
  }


  .people-filter-input {
    width: 100%;
    max-width: 180px;
  }

  .filter-text-input {
    width: 100%;
  }

  .listing-controls {
    width: 100%;
    justify-items: stretch;
  }

  .filter-section-head {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .filter-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: auto;
    min-height: 36px;
    padding: 0.38rem 0.7rem;
    gap: 0.4rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .filter-modal-sheet {
    inset: 4.8rem 0.75rem calc(6.2rem + env(safe-area-inset-bottom));
    border-radius: 12px;
  }

  .filter-modal-body {
    padding: 0.8rem;
  }

  .filter-modal-header {
    padding: 0.75rem 0.8rem;
  }

  .filter-modal-footer {
    padding: 0.7rem 0.8rem;
  }

  .directory-view-switch {
    position: fixed;
    right: calc(1.5rem + env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 1800;
    display: block;
    pointer-events: none;
  }

  .view-switch-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    width: auto;
    min-width: 124px;
    min-height: 52px;
    border-left: 1px solid rgba(15, 118, 110, 0.22);
    border-radius: 999px;
    border-color: rgba(15, 118, 110, 0.22);
    padding: 0.78rem 1.05rem;
    background: #0f766e;
    color: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.28);
    pointer-events: auto;
  }

  .directory-view-switch .view-switch-button:only-child {
    width: auto;
    border-radius: 999px;
  }

  .directory-layout {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .directory-page {
    padding-bottom: var(--directory-mobile-bottom-clearance);
  }

  .sauna-list-panel {
    grid-column: auto;
    grid-row: auto;
    padding-bottom: var(--directory-mobile-bottom-clearance);
    overflow: visible;
  }

  .sauna-list-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .sauna-list-media {
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: 0;
  }

  .sauna-list-carousel-stage {
    border-radius: 0;
    max-height: none;
  }

  .sauna-list-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
  }

  .sauna-list-content .tag-row {
    margin-top: auto;
  }

  .map-panel {
    grid-column: auto;
    grid-row: auto;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    display: none;
  }

  .directory-page.show-map .map-panel {
    display: block;
  }

  .map-panel {
    position: sticky;
    top: calc(var(--site-header-height) + var(--directory-sticky-filter-height) + 0.5rem);
    z-index: 20;
    min-height: 0;
    height: auto;
    padding: 0.75rem 1rem;
    background: var(--background);
  }

  body.site-header-hidden.directory-index-page .map-panel {
    top: calc(var(--directory-sticky-filter-height) + 0.5rem);
  }

  .directory-map {
    height: clamp(260px, 42vh, 360px);
    min-height: 0;
  }

  .map-area-controls {
    top: 0.65rem;
  }

  .map-empty-state {
    inset: 0.75rem 1rem;
  }

  .map-empty-state {
    inset: 1rem;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    min-height: var(--site-header-height);
    padding: 0 0.85rem;
  }

  .site-logo {
    gap: 0.55rem;
  }

  .site-logo svg {
    width: 34px;
    height: 34px;
  }

  .site-logo-top {
    font-size: 0.88rem;
  }

  .site-logo-bottom {
    font-size: 1.08rem;
  }

  .site-nav {
    gap: 0.7rem;
  }

  .home-hero {
    padding-top: 2.6rem;
  }

  .hero-stats,
  .facility-list {
    grid-template-columns: 1fr;
  }

  .search-input {
    min-height: 58px;
    font-size: 1rem;
  }

  .directory-header,
  .detail-header {
    padding-inline: 1rem;
  }

  .directory-index-page .directory-sticky-filters {
    padding-inline: 1rem;
  }

  .detail-visual {
    height: 250px;
  }

  .detail-slide img {
    height: 100%;
  }

  .detail-carousel-stage {
    height: 320px;
  }

  .carousel-control {
    width: 38px;
    height: 38px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-info-sections,
  .included-list,
  .facility-status-list {
    grid-template-columns: 1fr;
  }

  .decision-panel {
    grid-template-columns: 1fr;
  }

  .decision-panel-cta {
    width: 100%;
  }

  .slots-panel-header,
  .slot-card {
    align-items: stretch;
    flex-direction: column;
  }

  .slots-freshness {
    text-align: left;
  }

  .availability-card {
    align-items: stretch;
    flex-direction: column;
  }

  .availability-header {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-options-header {
    align-items: stretch;
    flex-direction: column;
  }

  .availability-link {
    width: 100%;
  }

  .detail-map-header {
    align-items: stretch;
    flex-direction: column;
  }

  .map-app-link {
    width: 100%;
  }
}

/* Search autocomplete suggestions */
.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 200;
  overflow: hidden;
}

.suggestion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.is-active {
  background: var(--bg-subtle, #f8fafc);
}

.suggestion-name {
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-area {
  font-size: 0.8rem;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.legal-page {
  padding: 2rem 0 3rem;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.legal-meta {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-card h1 {
  margin: 0 0 1rem;
}

.legal-card h2 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: #1f2937;
}

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
}

.detail-page + .site-footer {
  margin-top: 1rem;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0 1.3rem;
}

.site-footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  flex: 0 0 auto;
  padding-right: 1rem;
  border-right: 1px solid #dbe5ec;
}

.site-footer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.site-footer-nav a {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 300;
  text-decoration: none;
}

.site-footer-nav a:hover {
  color: var(--teal-strong);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.site-footer-contribution-link {
  margin: 0;
  margin-left: 0.4rem;
  padding-left: 0.7rem;
  border-left: 1px solid #e5edf3;
  font-size: 0.84rem;
  opacity: 0.82;
}

.site-footer-contribution-link a {
  color: #64748b;
  text-decoration: none;
}

.site-footer-contribution-link a:hover {
  color: #475569;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (max-width: 700px) {
  .detail-page + .site-footer {
    margin-top: 0.75rem;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 1.15rem;
    gap: 0.55rem;
  }

  .site-footer-nav {
    order: 1;
    justify-content: flex-start;
  }

  .site-footer-contribution-link {
    order: 2;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .site-footer-copy {
    order: 3;
    padding-right: 0;
    border-right: 0;
  }
}

.site-header-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-header-account-links-mobile {
  display: none;
}

.site-header-account-links-desktop {
  display: grid;
}

@media (min-width: 901px) {
  .site-header-inner {
    justify-content: flex-start;
    gap: 0.9rem;
  }

  .site-header-nav {
    order: 3;
    margin-left: 0.45rem;
  }

  .site-header-controls {
    order: 2;
    margin-left: auto;
  }

  .site-header-account-slot {
    order: 4;
    margin-left: 0.45rem;
  }

  .header-search-trigger {
    display: none;
  }

  .header-search-form,
  .header-search-form[hidden] {
    display: flex;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: auto;
    box-shadow: none;
  }
}

.site-header-nav a {
  color: #173447;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
}

.site-header-nav a:hover {
  background: #e8f2f7;
}

.site-header-nav-link.is-current {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #173447;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  cursor: default;
  pointer-events: none;
}

.site-header-nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 999px;
  background: #0d9488;
}

.site-header-account-link-current {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  color: #173447;
  font-size: 0.92rem;
  font-weight: 650;
  padding: 0.5rem 0.65rem 0.5rem 1rem;
  border-radius: 8px;
  pointer-events: none;
}

.site-header-account-link-current::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 3px;
  border-radius: 999px;
  background: #0d9488;
}

.site-header-auth-button {
  border: 1px solid #d5e6ef;
  background: #fff;
  color: #173447;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
}

.flash-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.75rem auto;
  max-width: 760px;
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
  animation: flash-slide-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.flash-banner.is-leaving {
  animation: flash-slide-out 180ms cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
  pointer-events: none;
}

@keyframes flash-slide-in {
  from {
    opacity: 0;
    transform: translate(-50%, -14px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes flash-slide-out {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -12px);
  }
}

.flash-message {
  min-width: 0;
}

.flash-close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.1rem 0.2rem;
  cursor: pointer;
  opacity: 0.85;
}

.flash-close:hover {
  opacity: 1;
}

.flash-inline-link {
  margin-left: 0.4rem;
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.flash-overlay {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 24px));
  margin: 0;
  z-index: 2100;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}

.flash-notice {
  background: #e8f7ef;
  color: #20573a;
}

.flash-alert {
  background: #fdeceb;
  color: #7b2e2a;
}

.detail-tracking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
  align-items: center;
}

.tracking-meta {
  color: #4a5f6d;
  font-size: 0.84rem;
  margin: 0;
}

.tracking-page {
  padding: 1.2rem 0 2rem;
}

.tracking-section-card {
  background: #fff;
  border: 1px solid #dfeaf0;
  border-radius: 1rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem;
}

.tracking-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.tracking-item {
  border-top: 1px solid #edf2f5;
  padding: 0.8rem 0;
}

.tracking-item:first-child {
  border-top: 0;
}

.tracking-item-title {
  margin: 0;
  font-weight: 700;
}

.tracking-item-title a {
  color: #173447;
}

.tracking-item-meta {
  margin: 0.24rem 0 0;
  color: #5f7380;
  font-size: 0.9rem;
}

.account-deactivate-row {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.account-deactivate-button {
  margin-top: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #b42318;
  font-size: 0.86rem;
  text-decoration: underline;
  cursor: pointer;
}

.account-deactivate-button:hover {
  color: #912018;
}

.tracking-state {
  font-size: 0.82rem;
  color: #7c8e99;
}

.contribution-form {
  margin-top: 1rem;
}

.contribution-target {
  margin: 0.3rem 0 1rem;
  color: #415867;
  font-size: 0.95rem;
}

.contribution-errors {
  margin: 0.8rem 0 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #fecaca;
  border-radius: 0.66rem;
  background: #fef2f2;
  color: #7f1d1d;
  font-size: 0.9rem;
}

.contribution-errors p {
  margin: 0 0 0.35rem;
}

.contribution-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.contribution-field {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  margin-bottom: 0.9rem;
}

.contribution-field label {
  color: #1f3342;
  font-size: 0.9rem;
  font-weight: 700;
}

.contribution-field-label {
  color: #1f3342;
  font-size: 0.9rem;
  font-weight: 700;
}

.contribution-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.28rem;
}

.contribution-chip {
  border: 1px solid #cddbe5;
  border-radius: 999px;
  background: #f8fbfe;
  color: #334155;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.25rem 0.62rem;
  cursor: pointer;
}

.contribution-chip:hover {
  border-color: #9ab3c4;
  background: #f1f6fb;
}

.contribution-field input,
.contribution-field select,
.contribution-field textarea {
  width: 100%;
  border: 1px solid #c7d7e2;
  border-radius: 0.66rem;
  padding: 0.6rem 0.72rem;
  background: #fff;
  color: #102734;
  font: inherit;
}

.contribution-field .contribution-select {
  min-height: 44px;
  padding-right: 0.72rem;
  font-size: 16px;
  line-height: 1.3;
  -webkit-appearance: menulist;
  appearance: auto;
  background-image: none;
}

.contribution-field textarea {
  min-height: 132px;
  resize: vertical;
}

.contribution-field input:focus,
.contribution-field select:focus,
.contribution-field textarea:focus {
  border-color: #1796a4;
  box-shadow: 0 0 0 3px rgba(23, 150, 164, 0.16);
  outline: none;
}

.contribution-field.contribution-field-invalid input,
.contribution-field.contribution-field-invalid select,
.contribution-field.contribution-field-invalid textarea {
  border-color: #dc2626;
  background: #fff8f8;
}

.contribution-actions {
  margin-top: 1rem;
}

.contribution-submit-button {
  color: #ffffff;
  background: var(--teal);
  box-shadow: none;
}

.contribution-submit-button:hover {
  background: var(--teal-strong);
}

.contribution-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d7e3ea;
  border-radius: 0.66rem;
  background: #fbfdff;
}

.contribution-check-item {
  display: flex !important;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 0.55rem;
  color: #334155;
  font-size: 0.9rem;
  text-align: left;
}

.contribution-check-item input {
  accent-color: #0f766e;
  width: auto !important;
  min-width: 0;
  height: auto;
  flex: 0 0 auto;
  margin: 0.18rem 0 0;
}

.contribution-check-item span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.contribution-check-grid-venue {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .contribution-check-grid {
    grid-template-columns: 1fr;
  }

  .contribution-check-grid-venue {
    grid-template-columns: 1fr;
  }
}

.detail-contribution-copy {
  margin-bottom: 0.2rem;
}

.detail-contribution-link {
  margin-top: 0;
}

.detail-contribution-footer {
  margin: 1rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid #e2e8f0;
}

.detail-contribution-footer p {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}

.detail-contribution-footer p + p {
  margin-top: 0.28rem;
}

.detail-contribution-desktop {
  display: none;
  margin-top: 0.75rem;
}

.detail-contribution-mobile {
  display: block;
}

@media (min-width: 981px) {
  .detail-contribution-desktop {
    display: block;
  }

  .detail-contribution-mobile {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header-nav {
    display: none;
  }

  .site-header-account-links-desktop {
    display: none;
  }

  .site-header-account-links-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-header-mobile-signin {
    display: inline-flex;
    align-items: center;
  }

  .site-header-inner {
    padding: 0 0.85rem;
  }

  .site-header-controls {
    margin-left: auto;
  }

  .site-header-account-slot {
    margin-left: 0.35rem;
  }

  .site-header-mobile-menu {
    display: block;
    position: relative;
    z-index: 1805;
  }

  .site-header-account-menu {
    z-index: 1805;
  }

  .site-header-account-slot {
    z-index: 1805;
  }

  .site-header-mobile-menu-trigger {
    position: relative;
    z-index: 1806;
  }

  .header-search-form {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 8px);
    left: 8px;
    right: 8px;
    width: auto;
    z-index: 1910;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    background: #fff;
    border: 1px solid #deebf1;
    padding: 0.1rem 0.85rem;
  }

  body.header-search-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(12, 18, 24, 0.22);
    z-index: 1490;
    pointer-events: none;
  }

  .header-search-input {
    width: 100%;
  }
}

/* Saved feature UI recreation */
.sv-saved-page {
  background: #f3f8fa;
  min-height: calc(100vh - var(--site-header-height));
  overflow-x: clip;
}

.sv-saved-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--content-block-start) var(--content-inline-gutter) 3rem;
  min-width: 0;
}

.sv-saved-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.sv-saved-head h1 {
  font-weight: 700;
}

.sv-saved-head .sv-saved-lede {
  margin: 0;
  max-width: 560px;
}

.sv-saved-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sv-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid #dce8ef;
  border-radius: 999px;
  background: #fff;
  margin-left: auto;
}

.sv-view-switch a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #476072;
  text-decoration: none;
}

.sv-view-switch a:hover {
  background: #edf4f8;
  color: #1f3a49;
}

.sv-view-switch a.active {
  background: #111827;
  color: #fff;
}

.sv-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #dce8ef;
  background: #fff;
  color: #1f3a49;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.sv-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sv-list-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid #deebf1;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  min-width: 0;
}

.sv-list-art {
  aspect-ratio: 4/3;
  border-radius: 6px;
  background: #e8f4f2;
  position: relative;
  overflow: hidden;
}

.sv-list-photo-wrap,
.sv-list-photo-wrap img,
.sv-list-photo {
  width: 100%;
  height: 100%;
}

.sv-list-photo {
  object-fit: cover;
  display: block;
}

.sv-heart-button {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: #0f766e;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.sv-heart-button::before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35 10.55 20.03C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3 9.24 3 10.91 3.81 12 5.09 13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5 22 12.28 18.6 15.36 13.45 20.03L12 21.35Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35 10.55 20.03C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3 9.24 3 10.91 3.81 12 5.09 13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5 22 12.28 18.6 15.36 13.45 20.03L12 21.35Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.sv-list-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sv-list-body .sv-area,
.sv-split-body .sv-area {
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sv-list-body h2 {
  margin: 4px 0 6px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.sv-list-link {
  color: #111827;
  text-decoration: none;
}

.sv-list-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 10px;
}

.sv-list-meta strong {
  color: #1f2937;
  font-weight: 700;
}

.sv-list-tags {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 10px;
}

.sv-list-tags::-webkit-scrollbar {
  display: none;
}

.sv-list-tags .sv-tag {
  flex: 0 0 auto;
}

.sv-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
}

.sv-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #f0fdfa;
  border: 1px dashed #99f6e4;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: auto;
}

.sv-note .sv-note-icon {
  color: #0f766e;
  margin-top: 0;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.sv-note p {
  margin: 0;
  color: #1f2937;
  font-size: 13px;
  line-height: 1.45;
}

.sv-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
}

.sv-status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.sv-status-pill[data-status="open"] { color: #15803d; }
.sv-status-pill[data-status="open-soon"],
.sv-status-pill[data-status="closes-soon"] { color: #b45309; }
.sv-status-pill[data-status="closed"] { color: #dc2626; }

.sv-empty {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed #cfdde5;
  border-radius: 14px;
  background: #fff;
}

.sv-empty-art {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ccfbf1, #dbeafe);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f766e;
}

.sv-heart-icon-empty {
  width: 1.9rem;
  height: 1.9rem;
  display: block;
}

.sv-empty h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.sv-empty p {
  margin: 0 0 22px;
  color: #64748b;
  font-size: 14px;
  max-width: 380px;
  margin-inline: auto;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .sv-saved-page {
    overflow-x: hidden;
  }

  .sv-saved-tools {
    width: 100%;
    justify-content: space-between;
  }

  .sv-saved-shell {
    padding: 20px var(--content-inline-gutter) 40px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sv-list-card {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }
}

.sv-tool-btn[data-active="true"] {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.sv-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  min-width: 0;
}

.sv-split-map {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 620px;
  border: 1px solid #dce8ef;
  background: #eef4f8;
}

.sv-split-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 620px;
  overflow-y: auto;
  padding-right: 4px;
  min-width: 0;
}

.sv-split-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border: 1px solid #deebf1;
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}

.sv-split-row[data-active="true"] {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.sv-split-row:hover {
  border-color: #99f6e4;
}

.sv-split-art {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: #e8f4f2;
  overflow: hidden;
  position: relative;
}

.sv-split-body h2 {
  margin: 4px 0 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.sv-split-body {
  min-width: 0;
}

.sv-split-body .sv-note {
  min-width: 0;
}

.sv-list-row .sv-split-body {
  display: flex;
  flex-direction: column;
}

.sv-list-media {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sv-saved-at {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.sv-saved-at span {
  display: block;
}

.saved-map-marker {
  background: transparent;
  border: 0;
}

.saved-map-marker span {
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12);
}

@media (max-width: 900px) {
  .sv-split {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .sv-split-map {
    height: 300px;
    width: 100%;
    min-width: 0;
  }

  .sv-split-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    width: 100%;
    min-width: 0;
  }

  .sv-split-row {
    min-width: 0;
  }
}

.sv-detail-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  margin-bottom: 1rem;
}

.sv-detail-actions-card {
  border: 1px solid #deebf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  padding: 14px;
  position: sticky;
  top: calc(var(--site-header-height) + 12px);
}

.sv-detail-actions-card .button-primary {
  box-shadow: none;
  filter: none;
}

.sv-detail-actions-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.sv-detail-actions-row > * {
  flex: 1 1 0;
  min-width: 0;
}

.sv-detail-actions-row form {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.sv-save-btn {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #0d9488;
  color: #fff;
  font: inherit;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: none;
  transition: background 160ms ease, transform 160ms ease;
}

.sv-save-btn:hover {
  background: #0f766e;
}

.sv-save-btn:active {
  transform: translateY(1px);
}

.sv-save-btn[data-state="saving"] {
  pointer-events: none;
  opacity: 0.86;
}

.sv-heart-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sv-burst 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-heart-label {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
}

.sv-heart-icon {
  width: 1rem;
  height: 1rem;
  display: block;
}

.sv-heart-icon-burst {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

@keyframes sv-burst {
  0% { transform: scale(0.5); opacity: 0; }
  35% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.detail-log-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  border: 1px solid #deebf1;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.sv-detail-actions-row .detail-log-btn {
  width: auto;
  flex: 1;
}

.detail-log-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.detail-log-btn:active {
  transform: translateY(1px);
}

.sv-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
  animation: sv-inline-in 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sv-inline-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.sv-inline a {
  margin-left: auto;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  text-underline-offset: 2px;
}

@media (max-width: 980px) {
  .sv-detail-top-grid {
    grid-template-columns: 1fr;
  }

  .sv-detail-actions-card {
    position: static;
  }
}

.sv-note textarea {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: #1f2937;
  padding: 0;
  resize: vertical;
  outline: none;
  min-height: 38px;
  line-height: 1.45;
}

.sv-note textarea::placeholder {
  color: #64748b;
  font-style: italic;
}

.sv-note-save-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
  white-space: normal;
  overflow-wrap: anywhere;
}

.sv-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-modal {
  background: #fff;
  border-radius: 14px;
  width: min(420px, calc(100% - 24px));
  padding: 28px 28px 24px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.sv-modal h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.sv-modal p {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.sv-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.sv-heart-icon-modal {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.sv-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.sv-backdrop[hidden] {
  display: none !important;
}

.sv-save-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2050;
  background: rgba(15, 23, 42, 0.42);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
}

.sv-save-sheet-backdrop[hidden] {
  display: none !important;
}

.sv-save-sheet {
  width: min(540px, 100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid #deebf1;
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.28);
  padding: 10px 14px 14px;
}

.sv-save-sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
  margin: 2px auto 10px;
}

.sv-save-sheet-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sv-save-sheet-check {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ccfbf1;
  color: #0f766e;
  flex: 0 0 auto;
}

.sv-heart-icon-sheet {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
}

.sv-save-sheet-copy {
  flex: 1;
  min-width: 0;
}

.sv-save-sheet-copy h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
}

.sv-save-sheet-copy p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.86rem;
}

.sv-save-sheet-close {
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0;
}

.sv-save-sheet-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.sv-save-sheet-note {
  margin-top: 10px;
}

.sv-save-sheet-note label {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sv-save-sheet-note textarea {
  width: 100%;
  min-height: 88px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #1f2937;
  resize: vertical;
}

.sv-save-sheet-note-status {
  margin: 6px 0 0;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
}

.sv-save-sheet-note-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .sv-save-sheet {
    border-radius: 14px 14px 10px 10px;
  }
}

/* Desktop keeps right column; narrow uses floating actions */
.sv-floating-actions {
  display: none;
  transition: transform 200ms ease, opacity 200ms ease;
  will-change: transform, opacity;
}

.sv-floating-actions.is-hidden {
  transform: translateY(calc(100% + env(safe-area-inset-bottom) + 12px)) !important;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 980px) {
  .detail-page {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .sv-detail-top-grid {
    grid-template-columns: 1fr;
  }

  .sv-detail-actions-card {
    display: none;
  }

  .sv-floating-actions {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 1600;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.95) 22%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(6px);
  }

  .sv-floating-actions-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .sv-save-btn.sv-save-btn-compact,
  .sv-floating-login-btn {
    min-height: 48px;
    border-radius: 10px;
    margin: 0;
    width: 100%;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 800;
  }

  .sv-floating-login-btn {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .sv-floating-actions-inner .tracking-log-modal .tracking-log-open {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    margin: 0;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 800;
  }

  .sv-floating-actions-inner form {
    width: 100%;
    margin: 0;
  }

}



/* Detail page reading width + sticky action column */
.sv-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 24px;
  align-items: start;
}

.sv-detail-main {
  min-width: 0;
}

.sv-detail-top-grid {
  display: block;
  margin-bottom: 1rem;
}

.sv-detail-actions-card {
  position: sticky;
  top: calc(var(--site-header-height) + 12px);
  max-height: calc(100vh - var(--site-header-height) - 20px);
  overflow: auto;
}

@media (max-width: 1200px) {
  .detail-shell {
    width: min(1100px, calc(100% - 2rem));
  }

  .sv-detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

@media (max-width: 980px) {
  .sv-detail-layout {
    grid-template-columns: 1fr;
  }

  .sv-detail-actions-card {
    display: none;
  }
}

/* Reference-inspired responsive detail layout */
.sv-detail-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.sv-detail-main {
  min-width: 0;
  max-width: 760px;
}

.sv-detail-menu-rail {
  border: 1px solid #deebf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 12px;
  position: sticky;
  top: calc(var(--site-header-height) + 12px);
}

.sv-menu-title {
  margin: 0 0 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sv-detail-menu-list {
  display: grid;
  gap: 6px;
}

.sv-detail-menu-list a {
  text-decoration: none;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 8px;
}

.sv-detail-menu-list a:hover {
  background: #f0fdfa;
  color: #0f766e;
}

.sv-menu-fab {
  display: none;
}

@media (min-width: 1400px) {
  .detail-shell {
    width: min(1360px, calc(100% - 2rem));
  }

  .sv-detail-layout {
    grid-template-columns: 260px minmax(0, 760px) 220px;
    justify-content: center;
  }

  .sv-detail-actions-rail {
    display: block;
    position: sticky;
    top: calc(var(--site-header-height) + 12px);
    max-height: calc(100vh - var(--site-header-height) - 20px);
    overflow: auto;
  }

  .sv-detail-main {
    grid-column: 2;
  }

  .sv-detail-menu-rail {
    grid-column: 3;
    display: block;
  }

  .sv-floating-actions {
    display: none !important;
  }
}

@media (min-width: 981px) and (max-width: 1399px) {
  .detail-shell {
    width: min(1120px, calc(100% - 2rem));
  }

  .sv-detail-layout {
    grid-template-columns: minmax(0, 760px) 280px;
    justify-content: center;
  }

  .sv-detail-main {
    grid-column: 1;
  }

  .sv-detail-actions-rail {
    display: block;
    position: sticky;
    top: calc(var(--site-header-height) + 12px);
    max-height: calc(100vh - var(--site-header-height) - 20px);
    overflow: auto;
  }

  .sv-detail-menu-rail {
    display: none !important;
  }

  .sv-floating-actions {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .detail-shell {
    width: min(900px, calc(100% - 1rem));
  }

  .sv-detail-layout {
    grid-template-columns: 1fr;
  }

  .sv-detail-actions-rail {
    display: none;
  }

  .sv-detail-menu-rail {
    display: none;
    position: fixed;
    right: 10px;
    top: calc(var(--site-header-height) + 8px);
    width: min(260px, calc(100vw - 20px));
    z-index: 1700;
  }

  .sv-detail-menu-rail.is-open {
    display: block;
  }

  .sv-menu-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 12px;
    top: calc(var(--site-header-height) + 10px);
    z-index: 1710;
    border: 1px solid #d1dee7;
    background: #fff;
    color: #1f2937;
    border-radius: 999px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
  }

  .sv-floating-actions {
    display: block;
  }
}

/* Detail layout reset: keep two-column only */
.sv-detail-layout {
  grid-template-columns: minmax(0, 760px) 320px;
  justify-content: center;
}

.sv-detail-menu-rail,
.sv-menu-fab {
  display: none !important;
}

.sv-firstview-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 0.9rem;
}

.sv-firstview-facts-mobile {
  display: none;
}

.sv-firstview-fact {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  background: #fff;
  display: grid;
  gap: 0.24rem;
}

.sv-firstview-fact span {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sv-firstview-fact strong {
  color: #0f172a;
  font-size: 0.92rem;
  line-height: 1.3;
}

.sv-firstview-fact-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.sv-firstview-fact-link:hover {
  border-color: #c8dbe8;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.sv-firstview-fact-link:active {
  transform: translateY(1px);
}

.sv-primary-context {
  position: relative;
}

/* Detail tags: keep the existing visual language without feeling detached */
.detail-page .tag-row {
  margin: 0.8rem 0 0;
}

.detail-page .tag {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #bfdbfe;
}

/* Anchor destinations should account for the global nav height */
.detail-page #options,
.detail-page #opening-hours,
.detail-page #location,
.detail-page #reviews {
  scroll-margin-top: calc(var(--site-header-height) + 16px);
}

/* Keep hero compact and clean on first view */
.carousel-thumbnails {
  display: none;
}

.sv-heart-burst[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .sv-primary-context {
    margin-bottom: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .sv-primary-context::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0, rgba(15, 23, 42, 0.08) 1px, rgba(15, 23, 42, 0) 1px),
      linear-gradient(180deg, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.92));
    pointer-events: none;
  }

  .sv-detail-layout {
    grid-template-columns: 1fr;
  }

  .sv-firstview-facts {
    grid-template-columns: 1fr;
  }

  .sv-firstview-facts-mobile {
    display: none !important;
  }
}

/* Final detail layout contract:
   2 columns only = content column + right action column
   Right column structure = sticky buttons + static key facts */
@media (min-width: 981px) {
  .detail-shell {
    width: min(1180px, calc(100% - 2rem)) !important;
  }

  .sv-detail-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 760px) 320px !important;
    gap: 24px !important;
    justify-content: center !important;
    align-items: start !important;
  }

  .sv-detail-main {
    grid-column: 1 !important;
    min-width: 0;
  }

  .sv-detail-actions-card,
  .sv-detail-actions-rail {
    grid-column: 2 !important;
    display: block !important;
    align-self: start !important;
    height: auto !important;
    position: sticky !important;
    top: calc(var(--site-header-height) + 12px) !important;
    max-height: none !important;
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.site-header-hidden .sv-detail-actions-card,
  body.site-header-hidden .sv-detail-actions-rail {
    top: 12px !important;
  }

  .sv-action-sticky {
    position: relative !important;
    top: auto !important;
    z-index: 1;
    background: #fff;
    border: 1px solid #deebf1;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    padding: 14px;
    margin-bottom: 10px;
  }

  .sv-firstview-facts-side {
    display: grid !important;
    margin-top: 0;
    border: 1px solid #deebf1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 12px;
  }

  .sv-floating-actions {
    display: none !important;
  }

  .sv-firstview-facts-mobile {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .sv-detail-actions-card,
  .sv-detail-actions-rail {
    display: none !important;
  }

  .sv-action-sticky {
    position: static !important;
  }

  .sv-firstview-facts-side {
    display: none !important;
  }

  .sv-floating-actions {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2000 !important;
    transform: none !important;
    margin: 0 !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
  }
}

.saved-map-popup-link {
  display: inline-block;
  margin-top: 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.saved-map-popup-link:hover {
  text-decoration: underline;
}

/* Tracking / History v2 + v3 refinements */
.tracking-v2-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--content-block-start) 0 3rem;
}

.tracking-v2-mast h1 {
  margin: 0.3rem 0 0.4rem;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: -0.01em;
}

.tracking-v2-mast-layout {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: flex-end;
}

.tracking-v2-mast-layout .tracking-v2-mast-action {
  flex-shrink: 0;
}

.tracking-v2-mast-layout .tracking-log-open {
  min-width: 170px;
  min-height: 2.7rem;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.tracking-v2-mast-layout .tracking-log-open:hover,
.tracking-v2-mast-layout .tracking-log-open:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.28);
  filter: brightness(1.03);
}

.tracking-v2-mast-layout .tracking-log-open:active {
  transform: translateY(0);
}

.tracking-v2-eyebrow {
  margin: 0;
  color: #0f766e;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.tracking-v2-lede {
  margin: 0;
  color: #5f7380;
}

.tracking-v2-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem 0 1.1rem;
}

.tracking-v2-tabs a {
  text-decoration: none;
  color: #2a3f4e;
  border: 1px solid #d8e6ee;
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.tracking-v2-tabs a.active {
  border-color: #0f766e;
  color: #0f766e;
  background: #ecfdf8;
}

.tracking-v2-tabs .tab-disabled {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e8eef2;
  color: #a3b0ba;
  background: #f8fbfd;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: not-allowed;
  user-select: none;
}

.tracking-v2-all-sessions {
  margin-left: auto;
}

.tracking-v2-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: 24px 24px 22px;
  border: 1px solid #dce9ef;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 30% 70%, rgba(202, 138, 4, 0.06), transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(13, 148, 136, 0.05), transparent 70%),
    linear-gradient(180deg, #faf9f7 0%, #f8fafc 100%);
}

@media (max-width: 820px) {
  .tracking-v2-hero {
    grid-template-columns: 1fr;
    padding: 16px 14px 14px;
    gap: 12px;
  }
}

.tracking-v2-stones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  padding: 18px 16px;
  background: transparent;
  overflow: visible;
  z-index: 0;
}

.tracking-v2-stones::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 106px;
  width: 204px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(198, 77, 26, 0.52) 0%, rgba(198, 77, 26, 0.22) 45%, rgba(198, 77, 26, 0) 100%);
  filter: blur(9px);
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 0;
}

.tracking-v2-stones svg {
  width: 100%;
  max-width: 340px;
  display: block;
  height: auto;
  overflow: visible;
  position: relative;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 96% 92% at 50% 56%, #000 84%, transparent 100%);
  mask-image: radial-gradient(ellipse 96% 92% at 50% 56%, #000 84%, transparent 100%);
}

@media (max-width: 820px) {
  .tracking-v2-stones {
    min-height: 182px;
    padding: 4px;
  }

  .tracking-v2-stones::after {
    bottom: 56px;
    width: 154px;
    height: 44px;
    filter: blur(7px);
  }

  .tracking-v2-stones svg {
    max-width: 248px;
  }

  .tracking-v2-hero-side h2 {
    font-size: 1.42rem;
    margin-bottom: 6px;
  }

  .tracking-v2-hero-label {
    margin-bottom: 8px;
  }

  .tracking-v2-hero-side p {
    margin: 0 0 8px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .tracking-v2-hero-meta {
    padding-top: 6px;
  }

  .tracking-v2-hero-meta span {
    font-size: 10px;
  }

  .tracking-v2-hero-meta strong {
    font-size: 14px;
  }
}

.v2-steam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes v2-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.012); }
}

.v2-stones-bowl {
  animation: v2-breathe 6s ease-in-out infinite;
  transform-origin: 50% 60%;
}

@keyframes v2-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 0.5; }
  100% { transform: translateY(-30px) translateX(8px); opacity: 0; }
}

.v2-steam-wisp {
  animation: v2-drift 5s ease-out infinite;
  transform-origin: 50% 100%;
}

.v2-steam-wisp:nth-child(2) { animation-delay: 1.6s; }
.v2-steam-wisp:nth-child(3) { animation-delay: 3.2s; }

.tracking-v2-stones .hero-halo,
.tracking-v2-stones .hero-steam,
.tracking-v2-stones .hero-ember {
  transition: opacity 220ms ease, filter 220ms ease;
}

.heat-hot .tracking-v2-stones .hero-halo { opacity: 1; }
.heat-hot .tracking-v2-stones .hero-steam { opacity: 1; }
.heat-hot .tracking-v2-stones .hero-ember { opacity: 1 !important; }
.heat-hot .tracking-v2-stones svg { filter: saturate(1.56) brightness(1.24) contrast(1.18); }
.heat-hot .tracking-v2-stones .hero-halo {
  opacity: 1;
  transform: scale(1.12);
  transform-origin: 50% 70%;
  filter: blur(0.2px);
}
.heat-hot .tracking-v2-stones .hero-steam {
  opacity: 1;
  filter: blur(0.3px);
}
.heat-hot .tracking-v2-stones .hero-ember {
  opacity: 1 !important;
  filter: brightness(1.28) saturate(1.34);
}
.heat-hot .tracking-v2-stones::after {
  opacity: 1;
  transform: translateX(-50%) scale(1.12);
}

.heat-holding .tracking-v2-stones .hero-halo { opacity: 0.66; }
.heat-holding .tracking-v2-stones .hero-steam { opacity: 0.58; }
.heat-holding .tracking-v2-stones .hero-ember { opacity: 0.72 !important; }
.heat-holding .tracking-v2-stones svg { filter: saturate(1.08) brightness(1) contrast(1); }
.heat-holding .tracking-v2-stones::after {
  opacity: 0.52;
  transform: translateX(-50%) scale(1);
}

.heat-warm .tracking-v2-stones .hero-halo { opacity: 0.38; }
.heat-warm .tracking-v2-stones .hero-steam { opacity: 0.34; }
.heat-warm .tracking-v2-stones .hero-ember { opacity: 0.46 !important; }
.heat-warm .tracking-v2-stones svg { filter: saturate(0.92) brightness(0.95); }
.heat-warm .tracking-v2-stones::after {
  opacity: 0.32;
  transform: translateX(-50%) scale(0.97);
}

.heat-cooling .tracking-v2-stones .hero-halo { opacity: 0.2; }
.heat-cooling .tracking-v2-stones .hero-steam { opacity: 0.12; }
.heat-cooling .tracking-v2-stones .hero-ember { opacity: 0.22 !important; }
.heat-cooling .tracking-v2-stones svg { filter: saturate(0.8) brightness(0.9); }
.heat-cooling .tracking-v2-stones::after {
  opacity: 0.17;
  transform: translateX(-50%) scale(0.93);
}

.heat-quiet .tracking-v2-stones .hero-halo,
.heat-ash_quiet .tracking-v2-stones .hero-halo { opacity: 0.12; }
.heat-quiet .tracking-v2-stones .hero-steam,
.heat-ash_quiet .tracking-v2-stones .hero-steam { opacity: 0.08; }
.heat-quiet .tracking-v2-stones .hero-ember,
.heat-ash_quiet .tracking-v2-stones .hero-ember { opacity: 0.08 !important; }
.heat-quiet .tracking-v2-stones svg,
.heat-ash_quiet .tracking-v2-stones svg { filter: saturate(0.72) brightness(0.88); }
.heat-quiet .tracking-v2-stones::after {
  opacity: 0.12;
  transform: translateX(-50%) scale(0.92);
}

.heat-ash_quiet .tracking-v2-stones .hero-halo { opacity: 0.08; }
.heat-ash_quiet .tracking-v2-stones .hero-steam { opacity: 0.06; }
.heat-ash_quiet .tracking-v2-stones .hero-ember { opacity: 0.04 !important; }
.heat-ash_quiet .tracking-v2-stones svg { filter: saturate(0.68) brightness(0.86); }
.heat-ash_quiet .tracking-v2-stones::after {
  opacity: 0.04;
  transform: translateX(-50%) scale(0.88);
}


.tracking-v2-hero-side h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1f3342;
  line-height: 1.1;
  letter-spacing: -0.012em;
}
.tracking-v2-hero-side p { margin: 0 0 22px; color: #334a5a; font-size: 1.02rem; line-height: 1.55; max-width: 36ch; }
.tracking-v2-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #0f766e;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tracking-v2-heat-chip {
  border: 1px solid #d9c6a8;
  background: #fcf3e8;
  color: #8d4b1f;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.tracking-v2-hero-meta {
  display: flex;
  gap: 0;
  border-top: 1px solid #e4ecef;
  margin-top: auto;
  padding: 10px 0 0;
}
.tracking-v2-hero-meta > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 12px;
}
.tracking-v2-hero-meta > div + div {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  padding-left: 12px;
}
.tracking-v2-hero-meta span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #6d8392;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tracking-v2-hero-meta strong {
  font-size: 17px;
  font-weight: 800;
  color: #1f3342;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.tracking-v2-section { margin-top: 1rem; }
.tracking-v2-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.55rem;
}
.tracking-v2-section-head h3,
.tracking-v2-subhead h2 { margin: 0; }
.tracking-v2-section-head a { color: #0f766e; font-weight: 700; text-decoration: none; font-size: 0.88rem; }
.tracking-v2-session-total {
  color: #6b8290;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tracking-v2-mobile-only { display: none; }

.tracking-v2-card {
  background: #fff;
  border: 1px solid #dfeaf0;
  border-radius: 0.9rem;
  padding: 0.95rem;
}

.tracking-v2-week-sessions {
  margin-top: 0.75rem;
}

.tracking-v2-week-compact { padding: 0.58rem 0.72rem; }
.tracking-v2-week-grid,
.tracking-v2-week-row,
.tracking-v2-week-line .dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.42rem;
}
.tracking-v2-week-grid .dow {
  text-align: center;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8aa0ae;
}
.dot {
  width: 0.78rem;
  height: 0.78rem;
  justify-self: center;
  border-radius: 999px;
  border: 1px solid #cfdde5;
  background: transparent;
}
.dot.filled {
  background: radial-gradient(circle, rgba(246, 139, 31, 0.95), rgba(216, 99, 23, 0.65));
  border-color: #d66317;
}
.dot.today {
  border-color: #d97706;
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.18);
}
.dot.future { border-style: dashed; }

.tracking-v2-place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.tracking-v2-place-grid .label { display: block; font-size: 0.72rem; color: #708391; text-transform: uppercase; letter-spacing: 0.08em; }
.tracking-v2-place-grid strong { display: block; margin-top: 0.3rem; }
.tracking-v2-place-grid p { margin: 0.25rem 0 0; color: #5f7380; font-size: 0.86rem; }

.tracking-v2-session-list { list-style: none; margin: 0; padding: 0; }
.tracking-v2-session-list li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.7rem;
  border-top: 1px solid #edf2f5;
  padding: 0.62rem 0;
  align-items: center;
}
.tracking-v2-session-list li:first-child { border-top: 0; padding-top: 0; }
.tracking-v2-session-list .date { font-size: 0.82rem; color: #6f8593; }
.tracking-v2-session-list .name { font-weight: 700; color: #1f3342; }
.tracking-v2-session-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.tracking-v2-session-minutes {
  font-size: 0.74rem;
  color: #6f8593;
}

.tracking-v2-session-minutes-right {
  justify-self: end;
  font-size: 0.74rem;
  color: #6f8593;
  font-weight: 600;
  white-space: nowrap;
}

.tracking-v2-session-note {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #67808f;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.tracking-v2-session-note-form {
  display: grid;
  gap: 0.3rem;
}

.tracking-v2-session-note-form[hidden] {
  display: none !important;
}

.tracking-v2-session-note-input {
  width: 100%;
  min-height: 2.5rem;
  border: 1px solid #d7e4eb;
  border-radius: 0.5rem;
  padding: 0.42rem 0.55rem;
  font-size: 0.78rem;
  color: #1f3342;
  background: #fff;
}

.tracking-v2-session-note-input:focus {
  outline: 2px solid #9ac8df;
  outline-offset: 1px;
}

.tracking-v2-session-note-status {
  font-size: 0.72rem;
  color: #6f8593;
}

.tracking-v2-session-note-edit {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid #d7e4eb;
  border-radius: 999px;
  background: #fff;
  color: #67808f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tracking-v2-session-remove-icon-form {
  margin: 0;
}

.tracking-v2-session-remove-icon {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid #d7e4eb;
  border-radius: 999px;
  background: #fff;
  color: #8a98a4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tracking-v2-session-remove-icon:hover {
  color: #5f7380;
}

.tracking-v2-session-remove-icon svg {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
  fill: currentColor;
}

.tracking-v2-session-note-edit svg {
  width: 0.88rem;
  height: 0.88rem;
  display: block;
  fill: currentColor;
}

.tracking-v2-session-action {
  border: 0;
  background: transparent;
  color: #5f7380;
  padding: 0;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-align: left;
  width: 100%;
}

.tracking-v2-session-note.is-collapsed {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tracking-v2-session-actions {
  position: relative;
}

.tracking-v2-session-controls {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tracking-v2-session-actions-trigger {
  list-style: none;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid #d7e4eb;
  border-radius: 999px;
  background: #fff;
  color: #67808f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.tracking-v2-session-actions-trigger svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
  fill: currentColor;
}

.tracking-v2-session-actions-trigger::-webkit-details-marker {
  display: none;
}

.tracking-v2-session-actions-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.3rem);
  z-index: 12;
  min-width: 110px;
  padding: 0.35rem 0.5rem;
  border: 1px solid #d7e4eb;
  border-radius: 0.6rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.tracking-v2-session-actions-menu form {
  margin: 0;
}

.tracking-v2-session-actions-menu {
  display: grid;
  gap: 0.34rem;
}

.tracking-v2-session-actions:not([open]) .tracking-v2-session-actions-menu {
  display: none;
}

@media (min-width: 901px) {
  .tracking-v2-session-note-edit {
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
  }

  .tracking-v2-session-remove-icon {
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
  }

  .tracking-v2-session-actions {
    display: none;
  }

  .tracking-v2-session-list li:hover .tracking-v2-session-note-edit,
  .tracking-v2-session-list li:hover .tracking-v2-session-remove-icon {
    opacity: 1;
    pointer-events: auto;
  }

.tracking-v2-session-actions-menu .tracking-v2-session-action {
    display: none;
  }
}

@media (max-width: 900px) {
  .tracking-v2-session-note-edit {
    display: none;
  }

  .tracking-v2-session-remove-icon {
    display: none;
  }
}

.tracking-v2-subhead { margin-bottom: 0.55rem; }
.tracking-v2-period-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.tracking-v2-period-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tracking-v2-period-arrow {
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e6ee;
  border-radius: 999px;
  text-decoration: none;
  color: #2a3f4e;
  background: #fff;
  font-size: 1rem;
  line-height: 1;
}

.tracking-v2-period-arrow svg {
  width: 0.92rem;
  height: 0.92rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tracking-v2-period-arrow.is-disabled {
  color: #a8b7c2;
  background: #f6fafc;
  border-color: #e2ebf0;
  pointer-events: none;
}


.tracking-v2-week-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tracking-v2-week-line {
  display: grid;
  grid-template-columns: 140px 82px 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.1rem 0;
  border-radius: 0.45rem;
}

.tracking-v2-week-summary .tracking-v2-week-line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0;
}

.tracking-v2-week-summary .tracking-v2-week-line .range {
  white-space: nowrap;
}

.tracking-v2-week-summary .tracking-v2-week-grid {
  margin-top: 0.45rem;
}

.tracking-v2-week-summary .tracking-v2-week-row {
  margin-top: 0.18rem;
}

.tracking-v2-week-line .range { font-size: 0.8rem; color: #58707f; font-variant-numeric: tabular-nums; }
.tracking-v2-week-line .count { font-size: 0.78rem; color: #6e8593; }
.tracking-v2-week-line.current .range { color: #1f3342; font-weight: 700; }
.tracking-v2-week-line.current {
  background: #fff7ed;
  box-shadow: inset 0 0 0 1px #f2c091;
}

.tracking-v2-calendar-head,
.tracking-v2-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.28rem;
}
.tracking-v2-calendar-head span {
  text-align: center;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7f94a1;
  font-weight: 700;
}
.tracking-v2-calendar .cell {
  aspect-ratio: 1 / 0.9;
  border-radius: 0.48rem;
  border: 1px solid #dbe7ee;
  padding: 0.2rem 0.24rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f8fafc;
  cursor: default;
}
.tracking-v2-calendar .cell .num { font-size: 0.7rem; color: #253948; font-weight: 700; }
.tracking-v2-calendar .cell .count { align-self: flex-end; font-size: 0.6rem; color: #8a4b1e; font-weight: 800; }
.tracking-v2-calendar .cell.intensity-0 { background: #f7fafc; border-color: #d8e3ea; }
.tracking-v2-calendar .cell.intensity-1,
.tracking-v2-calendar .cell.intensity-2,
.tracking-v2-calendar .cell.intensity-3 { background: #fef1e2; border-color: #e9a86f; }
.tracking-v2-calendar .cell.intensity-1 .num,
.tracking-v2-calendar .cell.intensity-1 .count,
.tracking-v2-calendar .cell.intensity-2 .num,
.tracking-v2-calendar .cell.intensity-2 .count,
.tracking-v2-calendar .cell.intensity-3 .num,
.tracking-v2-calendar .cell.intensity-3 .count { color: #6e3713; }
.tracking-v2-calendar .cell.today {
  box-shadow: inset 0 0 0 2px #d97706;
  border-color: #d97706;
}
.tracking-v2-calendar .cell.future { opacity: 0.88; }
.tracking-v2-calendar .cell.outside { border-style: dashed; background: transparent; }
.tracking-v2-calendar .cell[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px #d97706;
  border-color: #d97706;
}

.tracking-v2-month-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}

.tracking-v2-month-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: #5f7380;
}

.tracking-v2-month-legend .swatch {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 0.22rem;
  border: 1px solid #dbe7ee;
  background: #f7fafc;
}

.tracking-v2-month-legend .swatch.i1 { background: #fef1e2; border-color: #e9a86f; }

.tracking-v2-month-layout {
  display: grid;
  gap: 0.75rem;
}

.tracking-v2-month-card {
  padding: 0.72rem;
}

.tracking-v2-month-recent {
  display: block;
}

.tracking-v2-month-recent-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.tracking-v2-month-recent-head h3 {
  margin: 0;
  font-size: 0.95rem;
}

.tracking-v2-month-recent-head a {
  color: #0f766e;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
}

.tracking-v2-month-empty {
  margin: 0.3rem 0 0;
  color: #6c8391;
  font-size: 0.82rem;
}

@media (min-width: 901px) {
  .tracking-v2-month-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
  }

  .tracking-v2-month-card {
    max-width: 760px;
  }

  .tracking-v2-month-recent { padding: 0.72rem; }
}

.tracking-v2-year-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.month-cell {
  border: 1px solid #dfeaf0;
  border-radius: 0.75rem;
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.month-cell.current {
  border-color: #d97706;
  background: #fff7ed;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.14);
}
.month-cell .month { font-size: 0.72rem; color: #627987; text-transform: uppercase; letter-spacing: 0.07em; }
.month-cell .bubble { width: 2rem; height: 2rem; border-radius: 999px; background: #e8f2f6; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #264252; }

.tracking-v2-places-list,
.tracking-v2-unvisited {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tracking-v2-places-list li,
.tracking-v2-unvisited li {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #edf2f5;
  padding: 0.62rem 0;
}
.tracking-v2-places-list li:first-child,
.tracking-v2-unvisited li:first-child { border-top: 0; padding-top: 0; }

.tracking-v2-nearby-card {
  margin-top: 0.9rem;
}

.tracking-v2-places-map-card {
  margin-top: 0.9rem;
  padding: 0.75rem;
}

.tracking-v2-places-map-card h3 {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: #1f3342;
}

.tracking-v2-places-map {
  width: 100%;
  height: 260px;
  border-radius: 0.7rem;
  border: 1px solid #d9e5ec;
  overflow: hidden;
  background: #f8fbfd;
}

.tracking-places-marker {
  background: transparent;
  border: 0;
}

.tracking-places-marker span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.14);
}

.tracking-places-marker span.is-visited {
  background: #d97706;
  border: 2px solid #f9e0bf;
}

.tracking-places-marker span.is-unvisited {
  background: #ffffff;
  border: 2px dashed #caa37d;
}

.tracking-v2-month-group { margin-bottom: 0.7rem; }
.tracking-v2-month-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
  color: #5a6f7d;
  font-weight: 700;
}

.tracking-v2-pagination {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.tracking-v2-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.2rem;
  min-height: 2rem;
  padding: 0 0.7rem;
  border: 1px solid #d8e6ee;
  border-radius: 999px;
  background: #fff;
  color: #2a3f4e;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.tracking-v2-pagination-link.is-disabled {
  color: #9bb0bd;
  border-color: #e4edf2;
  background: #f8fbfd;
}

.tracking-v2-pagination-meta {
  color: #68808f;
  font-size: 0.82rem;
  font-weight: 700;
}

.tracking-v2-empty {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tracking-v2-empty .tracking-v2-hero {
  margin-bottom: 0;
}

.tracking-v2-empty-actions {
  display: flex;
  justify-content: flex-start;
}

.tracking-v2-fab {
  display: none;
}

.tracking-v2-fab .tracking-log-modal {
  width: auto;
}

.tracking-v2-fab-button {
  position: fixed;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 2200;
  width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.36);
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tracking-log-open-icon {
  display: block;
  flex: 0 0 auto;
}

.tracking-v2-mast-layout .tracking-log-open .tracking-log-open-icon,
.tracking-v2-fab-button .tracking-log-open-icon {
  filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
  .tracking-v2-mast-layout { align-items: flex-start; flex-direction: column; }
  .tracking-v2-mast-layout .tracking-v2-mast-action { display: none; }
  .tracking-v2-fab { display: block; }
  .tracking-v2-all-sessions { margin-left: 0; }
  .tracking-v2-hero { grid-template-columns: 1fr; }
  .tracking-v2-place-grid { grid-template-columns: 1fr; }
  .tracking-v2-week-line { grid-template-columns: 1fr; }
  .tracking-v2-week-summary .tracking-v2-week-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.55rem;
  }
  .tracking-v2-year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tracking-v2-mobile-hide { display: none; }
  .tracking-v2-mobile-only { display: inline; }
  .tracking-v2-session-list li {
    grid-template-columns: 64px 1fr auto;
    gap: 0.5rem;
  }
  .dot {
    width: 0.82rem;
    height: 0.82rem;
  }
}

/* Tracking log modal */
.tracking-log-modal .tracking-log-open {
  min-height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.tracking-log-modal {
  width: 100%;
}

.tracking-log-modal .sv-save-btn {
  width: 100%;
}

.sv-detail-actions-row .tracking-log-modal {
  display: block;
  width: 100%;
}

.sv-detail-actions-row .tracking-log-modal .tracking-log-open {
  width: 100%;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.sv-detail-actions-row .sv-save-btn {
  width: 100%;
  white-space: nowrap;
}

.sv-floating-actions-inner .tracking-log-modal {
  width: 100%;
}

.sv-floating-actions-inner .tracking-log-modal .tracking-log-open {
  width: 100%;
}

@media (min-width: 981px) {
  .sv-floating-actions-inner .tracking-log-modal .tracking-log-open {
    min-height: 52px;
  }
}

.tracking-log-dialog {
  width: min(560px, calc(100% - 1.2rem));
  border: 0;
  padding: 0;
  border-radius: 1rem;
  background: #fcfffe;
  box-shadow: 0 24px 90px rgba(15, 31, 43, 0.28);
  overflow: visible;
}

.tracking-log-dialog::backdrop {
  background: rgba(10, 20, 30, 0.48);
}

.tracking-log-shell {
  padding: 1rem;
}

.tracking-log-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding-right: 2.2rem;
}

.tracking-log-kicker {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5f7684;
}

.tracking-log-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}

.tracking-log-head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #183043;
  text-align: left;
}

.tracking-log-close {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  color: #496171;
  cursor: pointer;
  line-height: 1;
  padding: 0.1rem;
}

.tracking-log-progress {
  margin: 0.85rem 0 0.95rem;
  border-radius: 999px;
  background: #e3edf2;
  height: 0.4rem;
  overflow: hidden;
}

.tracking-log-progress span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #df7e38, #f2ae74);
}

.tracking-log-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: -0.25rem 0 0.75rem;
}

.tracking-log-summary-item {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8e6ee;
  border-radius: 999px;
  background: #f6fbfd;
  color: #476070;
  font-size: 0.72rem;
  line-height: 1.15;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.tracking-log-summary[hidden],
.tracking-log-summary-item[hidden] {
  display: none !important;
}

.tracking-log-step label,
.tracking-log-step legend {
  display: block;
  font-weight: 700;
  color: #1e3545;
  margin-bottom: 0.45rem;
}

.tracking-log-step select,
.tracking-log-step input,
.tracking-log-step textarea {
  width: 100%;
  border: 1px solid #d2e0e7;
  border-radius: 0.7rem;
  padding: 0.62rem 0.7rem;
  font: inherit;
  color: #1d3241;
  background: #fff;
}

.tracking-log-sauna-query {
  font-size: 16px;
}

.tracking-log-sauna-results {
  margin-top: 0.55rem;
  border: 1px solid #d2e0e7;
  border-radius: 0.72rem;
  background: #fff;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.3rem;
}

.tracking-log-sauna-option {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 0.55rem;
  padding: 0.52rem 0.58rem;
  text-align: left;
  color: #1d3241;
  font-size: 0.92rem;
  cursor: pointer;
}

.tracking-log-sauna-option:hover,
.tracking-log-sauna-option:focus-visible {
  background: #eef8f9;
}

.tracking-log-sauna-option.active {
  background: #e3f4ef;
  color: #0d645d;
  font-weight: 700;
}

.tracking-log-sauna-empty {
  margin: 0;
  padding: 0.5rem 0.58rem;
  color: #5f7380;
  font-size: 0.86rem;
}

.tracking-log-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: #617786;
}

.tracking-log-duration input[type="range"] {
  --duration-ratio: 0.6087;
  --duration-thumb-size: 1rem;
  --duration-track-size: 0.5rem;
  --duration-stop: calc(var(--duration-ratio) * (100% - var(--duration-thumb-size)) + (var(--duration-thumb-size) / 2));
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  margin: 0.25rem 0 0.6rem;
  height: var(--duration-track-size);
  border-radius: 999px;
  background:
    linear-gradient(to right, #df7e38 0%, #f2ae74 var(--duration-stop), #e3edf2 var(--duration-stop), #e3edf2 100%);
}

.tracking-log-duration input[type="range"]::-webkit-slider-runnable-track {
  height: var(--duration-track-size);
  background: transparent;
  border-radius: 999px;
}

.tracking-log-duration input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--duration-thumb-size);
  height: var(--duration-thumb-size);
  margin-top: calc((var(--duration-track-size) - var(--duration-thumb-size)) / 2);
  border-radius: 999px;
  border: 2px solid #cf6e2c;
  background: #fff;
}

.tracking-log-duration input[type="range"]::-moz-range-track {
  height: var(--duration-track-size);
  background: #e3edf2;
  border-radius: 999px;
}

.tracking-log-duration input[type="range"]::-moz-range-progress {
  height: var(--duration-track-size);
  background: linear-gradient(90deg, #df7e38, #f2ae74);
  border-radius: 999px;
}

.tracking-log-duration input[type="range"]::-moz-range-thumb {
  width: var(--duration-thumb-size);
  height: var(--duration-thumb-size);
  border-radius: 999px;
  border: 2px solid #cf6e2c;
  background: #fff;
}

.tracking-log-duration-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}

.tracking-log-duration-chip {
  border: 1px solid #d8e6ee;
  background: #f8fbfd;
  color: #2a3f4e;
  border-radius: 999px;
  padding: 0.35rem 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.tracking-log-duration-chip.active {
  border-color: #cf6e2c;
  color: #6a3514;
  background: #fcead8;
}

.tracking-log-feel {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.tracking-log-feel label {
  margin: 0;
  display: flex;
  justify-content: flex-start;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid #dbe8ee;
  border-radius: 0.7rem;
  background: #f7fbfd;
  padding: 0.5rem 0.58rem;
  font-size: 0.92rem;
  text-align: left;
}

.tracking-log-feel input[type="radio"] {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.tracking-log-actions {
  margin-top: 0.95rem;
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
}

.tracking-log-actions .button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.auth-legal-notice {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
}

ul.auth-legal-notice {
  margin-top: 0.35rem;
  padding-left: 1.2rem;
}

.auth-legal-notice a {
  color: var(--teal-strong);
  font-weight: 600;
}

.auth-legal-notice a:hover {
  text-decoration: underline;
}

.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10050;
  width: min(460px, calc(100% - 2rem));
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
}

.cookie-consent-copy {
  margin: 0;
  color: #0f172a;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .cookie-consent-actions {
    flex-direction: column-reverse;
  }

  .cookie-consent-actions .button {
    width: 100%;
  }
}
