:root {
  color-scheme: dark;
  --bg: #131313;
  --surface: #2b2b2b;
  --surface-2: #222222;
  --line: #424242;
  --text: #f2f0ed;
  --muted: #c0bdb8;
  --accent: #c39a58;
  --accent-strong: #d2ac6c;
  --ink: #211d16;
  --radius: 10px;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-synthesis: none;
}

.stay-summary {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.stay-reference {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.stay-summary p:not(.eyebrow) {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.reservation-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.reservation-details {
  min-width: 0;
}

.booking-facts {
  display: grid;
  gap: 13px;
  margin: 0;
}

.booking-facts>div {
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.booking-facts dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}

.booking-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.booking-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid #75603d;
  border-radius: 7px;
  background: var(--surface-2);
}

.booking-code>span {
  min-width: 0;
}

.booking-code small,
.booking-code strong {
  display: block;
}

.booking-code small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.booking-code strong {
  color: var(--accent-strong);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.booking-code button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
}

.booking-code button:disabled {
  cursor: default;
}

.booking-time-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 11px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 160px;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 60;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--bg);
}

.header-inner,
.tab-inner,
.page-shell,
.footer-inner {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: block;
  width: clamp(130px, 42vw, 170px);
  min-width: 0;
  flex: 0 1 auto;
  text-decoration: none;
}

.brand picture {
  display: block;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
  flex: 0 0 auto;
  max-width: 48%;
}

.booking-button .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.booking-button>span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.booking-button:hover {
  border-color: var(--accent);
}

.tab-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-block: 2px 12px;
  background: rgba(19, 19, 19, .96);
  backdrop-filter: blur(12px);
}

.tab-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 100%;
}

.tab-button .icon {
  width: 17px;
  height: 17px;
}

.tab-button>span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.custom-icon {
  width: 21px;
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 18px;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.tab-button .custom-icon {
  width: 17px;
  color: inherit;
  font-size: 15px;
}

.content-card--checkin .custom-icon {
  color: var(--ink);
}

.tab-button:hover {
  border-color: var(--accent);
}

.tab-button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.page-shell {
  display: grid;
  gap: 14px;
  padding-block: 6px 28px;
}

.welcome-card,
.content-card,
.support-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.welcome-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.welcome-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #ddc9a6;
}

.welcome-icon .icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.4;
}

.welcome-heading {
  min-width: 0;
  align-self: center;
}

.welcome-heading h1 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.apartment-name {
  margin: 3px 0 0;
  color: var(--accent-strong);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.welcome-copy {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.address-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  font-style: normal;
}

.address-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.address-row>span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.address-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: #a7834c;
  color: #fff5df;
}

.address-icon .icon {
  width: 18px;
  height: 18px;
}

.tab-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  animation: appear .2s ease;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.content-card {
  padding: 14px;
  background: var(--surface);
}

.content-card--checkin {
  border-color: #ad884d;
  background: var(--accent);
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.section-heading>.icon {
  width: 21px;
  height: 24px;
  color: var(--accent-strong);
}

.content-card--checkin .section-heading>.icon {
  color: var(--ink);
}

.section-heading>div {
  min-width: 0;
}

.section-heading h2 {
  margin: -5px 0 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.section-intro {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.content-card--checkin .section-intro {
  color: #342918;
}

.content-card--checkin .section-intro a {
  color: inherit;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 650;
}

.instruction-list {
  display: grid;
  gap: 10px;
}

.instruction-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text);
}

.content-card--checkin .instruction-card {
  border-color: transparent;
}

.instruction-card.highlighted {
  border-color: var(--accent-strong);
}

.instruction-title,
.instruction-card summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 8px;
}

.instruction-card summary {
  padding-block: 12px;
  list-style: none;
  cursor: pointer;
}

.instruction-card summary::-webkit-details-marker {
  display: none;
}

.step-mark {
  width: 27px;
  min-height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 2px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}

.step-mark--icon {
  background: var(--bg);
  color: var(--accent-strong);
  border: 1px solid #5c4c33;
}

.step-mark--icon .icon {
  width: 17px;
  height: 17px;
}

.instruction-title strong,
.instruction-card summary strong {
  min-width: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.chevron {
  width: 16px;
  height: 16px;
  color: var(--accent);
  transition: transform .2s ease;
}

details[open] .chevron {
  transform: rotate(180deg);
}

.instruction-body {
  padding: 0 12px 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.instruction-body strong {
  color: var(--accent-strong);
}

.instruction-body>img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
  margin-top: 12px;
  border: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.content-card--checkin .empty-state {
  color: var(--ink);
}

.access-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(33, 29, 22, .3);
  border-radius: 7px;
  background: rgba(33, 29, 22, .07);
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  font-weight: 650;
}

.access-notice>.icon:first-child {
  width: 25px;
  height: 25px;
  padding: 4px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--accent);
}

.access-notice>.icon:last-child {
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.access-notice:hover {
  background: rgba(33, 29, 22, .13);
}

.content-card--checkin :focus-visible {
  outline-color: var(--ink);
}

.wifi-card {
  border-color: #75603d;
}

.credential-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.credential-row:last-child {
  padding-bottom: 0;
}

.credential-row>span {
  min-width: 0;
}

.credential-row small,
.credential-row strong {
  display: block;
}

.credential-row small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.credential-row strong {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.credential-row button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--accent-strong);
  font-size: 12px;
}

.credential-row button:hover {
  border-color: var(--accent);
}

.places-grid {
  display: grid;
  gap: 10px;
}

.place-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
}

.place-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #5c4c33;
  border-radius: 7px;
  background: var(--bg);
  color: var(--accent-strong);
}

.place-icon .icon {
  width: 22px;
  height: 22px;
}

.place-content {
  min-width: 0;
}

.place-card strong,
.place-description {
  display: block;
}

.place-card strong {
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.place-description {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.place-distance {
  color: var(--accent-strong);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 16px;
  padding: 10px 15px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--accent-strong);
}

.support-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--surface-2);
}

.support-card>.icon {
  width: 25px;
  height: 25px;
  color: var(--accent);
}

.support-card strong {
  font-size: 14px;
}

.support-copy {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.support-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 7px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none;
  font-size: 12px;
}

.support-actions a .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.support-actions a:hover {
  border-color: var(--accent);
}

footer {
  padding-block: 0 24px;
  color: #a7a198;
  font-size: 11px;
  text-align: center;
}

footer p {
  margin: 0;
}

.booking-dialog {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 32px), 460px);
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1px solid #5c4c33;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
  overscroll-behavior: contain;
}

.booking-dialog::backdrop {
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(5px);
}

body:has(.booking-dialog[open]) {
  overflow: hidden;
}

.booking-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.close-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--muted);
}

.close-button:hover {
  color: var(--text);
  border-color: var(--accent);
}

.modal-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.toast {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  max-width: calc(100vw - 32px);
  padding: 11px 14px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  opacity: 0;
  z-index: 100;
  transform: translateY(12px);
  pointer-events: none;
  transition: .2s ease;
}

.toast.is-visible {
  opacity: 1;
  z-index: 9999;
  transform: translateY(0);
}

.rich-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rich-text> :first-child {
  margin-top: 0;
}

.rich-text> :last-child {
  margin-bottom: 0;
}

.rich-text p {
  margin: .55em 0;
}

.rich-text ul,
.rich-text ol {
  margin: .6em 0;
  padding-left: 1.35rem;
}

.rich-text a {
  color: var(--accent-strong);
  text-underline-offset: 3px;
}

.rich-text blockquote {
  margin: .8em 0;
  padding: .2em 0 .2em 1em;
  border-left: 3px solid var(--accent);
  color: var(--text);
}

.rich-text figure {
  max-width: 100%;
  margin: 1em 0;
}

.rich-text img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.rich-text figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.rich-text .table {
  overflow-x: auto;
}

.rich-text table {
  width: 100%;
  margin: .8em 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.rich-text th,
.rich-text td {
  padding: 8px;
  border: 1px solid var(--line);
  text-align: left;
  overflow-wrap: anywhere;
}

.rich-text iframe,
.rich-text video {
  max-width: 100%;
}

@media (max-width: 359px) {

  .header-inner,
  .tab-inner,
  .page-shell,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .header-inner {
    gap: 9px;
  }

  .booking-button {
    padding-inline: 9px;
    font-size: 11px;
  }

  .tab-button {
    padding-inline: 9px;
    font-size: 11px;
  }

  .welcome-card {
    padding: 13px;
    gap: 13px 10px;
  }

  .welcome-heading h1 {
    font-size: 15px;
  }

  .content-card {
    padding: 12px;
  }

  .booking-panel {
    padding: 18px;
  }
}

@media (min-width: 600px) {

  .header-inner,
  .tab-inner,
  .page-shell,
  .footer-inner {
    width: min(calc(100% - 64px), 1120px);
  }

  .header-inner {
    min-height: 100px;
  }

  .brand {
    width: 180px;
  }

  .booking-button {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .tab-button {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .tab-inner {
    gap: 9px;
  }

  .page-shell {
    gap: 18px;
    padding-block: 12px 36px;
  }

  .welcome-card {
    padding: 22px;
  }

  .welcome-heading h1 {
    font-size: 19px;
  }

  .content-card {
    padding: 20px;
  }

  .section-heading h2 {
    font-size: 18px;
  }

  .instruction-title,
  .instruction-card summary {
    padding-inline: 16px;
  }

  .instruction-title {
    padding-top: 16px;
  }

  .instruction-body {
    padding: 0 16px 16px;
    font-size: 15px;
  }

  .places-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .page-shell {
    grid-template-columns: minmax(250px, .85fr) minmax(0, 1.3fr);
    grid-template-areas: "welcome guide" "support guide";
    grid-template-rows: auto 1fr;
    align-items: start;
  }

  .welcome-card {
    grid-area: welcome;
    padding: 18px;
  }

  .welcome-heading h1 {
    font-size: 17px;
  }

  .tab-panel {
    grid-area: guide;
    gap: 18px;
  }

  .support-card {
    grid-area: support;
  }

  .places-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    min-height: 112px;
  }

  .brand {
    width: 200px;
  }

  .tab-bar {
    padding-bottom: 18px;
  }

  .tab-inner {
    gap: 10px;
  }

  .tab-button {
    padding-inline: 20px;
  }

  .page-shell {
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 22px;
    padding-top: 10px;
  }

  .welcome-card {
    padding: 22px;
    gap: 18px 12px;
  }

  .welcome-heading h1 {
    font-size: 18px;
  }

  .content-card {
    padding: 24px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .instruction-list {
    gap: 12px;
  }

  .instruction-title strong,
  .instruction-card summary strong {
    font-size: 15px;
  }

  .instruction-body {
    padding-left: 53px;
  }

  .places-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.setup-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  width: min(calc(100% - 32px), 520px);
  margin-inline: auto;
  padding-block: 30px;
}

.setup-card {
  width: 100%;
  padding: clamp(22px, 6vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.setup-card h1 {
  margin: 0;
  font-size: clamp(25px, 6vw, 35px);
  line-height: 1.2;
}

.setup-copy {
  margin: 12px 0 22px;
  color: var(--muted);
  line-height: 1.6;
}