:root {
  --paper: #f2efe8;
  --ink: #1d211f;
  --muted: #555b56;
  --line: rgba(29, 33, 31, .14);
  --accent: #a84028;
  --card: #faf8f3;
  --danger-bg: #f1ded9;
  --danger: #7b281d;
  --shadow: 0 28px 70px rgba(34, 30, 25, .13);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); color: var(--ink); font-family: ui-sans-serif, system-ui, sans-serif; }
body { min-height: 100vh; min-height: 100dvh; margin: 0; }
::selection { background: rgba(168, 64, 40, .22); color: var(--ink); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #3a70aa; outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.public-topbar { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: rgba(242, 239, 232, .96); }
.public-topbar-inner { width: min(1180px, calc(100% - 40px)); min-height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.public-brand { font: 650 .82rem/1 ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; }
.login-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 17px; border-radius: 3px; background: var(--ink); color: white; font-size: .84rem; font-weight: 750; text-decoration: none; }
.public-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(20px, 3vw, 42px) 0; }
.public-state { min-height: calc(100dvh - 148px); display: grid; place-items: center; color: var(--muted); text-align: center; }
.public-state h1 { margin: 0 0 12px; color: var(--ink); font: 450 clamp(1.8rem, 4vw, 2.7rem)/1.05 Georgia, serif; letter-spacing: -.03em; }
.public-state p { max-width: 48ch; margin: 0; line-height: 1.55; }
.public-error { color: var(--danger); }
.public-listing { min-height: min(760px, calc(100dvh - 108px)); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .85fr); overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--card); box-shadow: var(--shadow); }
.public-gallery { position: relative; min-height: 650px; overflow: hidden; background: #d8d5cf; touch-action: pan-y; }
.public-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #d8d5cf; color: transparent; }
.photo-fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 2rem; color: #4f544f; line-height: 1.5; text-align: center; }
.gallery-status { position: absolute; z-index: 2; top: 18px; left: 18px; }
.status-pill { display: inline-block; padding: 8px 10px; border-radius: 2px; background: rgba(143, 47, 32, .92); color: white; font: 750 .7rem/1 ui-monospace, monospace; letter-spacing: .04em; }
.photo-nav { position: absolute; z-index: 3; top: 50%; width: 44px; height: 60px; transform: translateY(-50%); border: 1px solid rgba(255, 255, 255, .34); background: rgba(10, 12, 11, .42); color: white; cursor: pointer; font-size: 1.1rem; }
.photo-prev { left: 14px; }
.photo-next { right: 14px; }
.gallery-meta { position: absolute; z-index: 2; right: 18px; bottom: 18px; left: 18px; display: flex; justify-content: space-between; color: white; font-size: .78rem; font-weight: 700; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.public-facts { padding: clamp(26px, 4vw, 50px); overflow: auto; }
.access-note { margin: 0 0 30px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; line-height: 1.4; }
.listing-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px; }
.district { margin: 0 0 8px; color: var(--accent); font-size: .78rem; font-weight: 750; text-transform: uppercase; }
h1 { max-width: 15ch; margin: 0; font: 450 clamp(1.8rem, 3.2vw, 2.7rem)/1.02 Georgia, serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.price { text-align: right; white-space: nowrap; }
.price strong { display: block; font: 650 1.5rem/1 ui-monospace, monospace; }
.price span { display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; }
.vitals { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 22px; border-block: 1px solid var(--line); }
.vitals div { padding: 16px 8px; border-inline-end: 1px solid var(--line); }
.vitals div:last-child { border: 0; }
.vitals strong, .vitals span { display: block; }
.vitals strong { font: 650 1.05rem/1.2 ui-monospace, monospace; }
.vitals span { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.listing-notes { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.listing-notes span { padding-bottom: 3px; border-bottom: 1px solid var(--line); }
.description-section { margin-top: 28px; }
.description-section h2 { margin: 0 0 10px; font: 450 1.25rem/1.1 Georgia, serif; }
.description-section p { max-width: 68ch; margin: 0; color: #4f544f; font-size: .92rem; line-height: 1.62; white-space: pre-line; overflow-wrap: anywhere; }
.public-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; }
.public-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: .84rem; font-weight: 700; text-underline-offset: 4px; }
.primary-link { padding: 0 16px; border-radius: 3px; background: var(--ink); color: white; text-decoration: none; }
.public-boundary { margin: 18px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .photo-nav:hover { background: rgba(10, 12, 11, .7); }
  .primary-link:hover, .login-link:hover { background: #303532; }
}
@media (max-width: 920px) {
  .public-topbar-inner { width: 100%; padding: 0 max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left)); }
  .public-shell { width: 100%; padding: 0; }
  .public-listing { display: block; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
  .public-gallery { height: clamp(320px, 55svh, 540px); min-height: 0; }
  .public-facts { padding: 24px max(18px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); overflow: visible; }
  .access-note { margin-bottom: 24px; }
  .listing-heading { gap: 14px; }
  h1 { max-width: none; font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .description-section p { font-size: 1rem; }
  .public-state { min-height: 100dvh; padding: 24px; }
}
@media (max-width: 420px) {
  .listing-heading { grid-template-columns: 1fr; }
  .price { text-align: left; }
  .vitals div { padding-inline: 5px; }
}
@media (pointer: coarse) {
  .photo-nav { width: 48px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

#stay-details { margin: 18px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
