:root {
  color-scheme: light;
  --forest: #214e35;
  --forest-deep: #19452f;
  --sage: #a9b59e;
  --sage-light: #e8eddf;
  --ivory: #faf8f3;
  --paper: #fffefa;
  --sand: #e8dfd1;
  --terracotta: #bf6840;
  --terracotta-dark: #653a24;
  --peach: #f9e1ce;
  --ink: #263128;
  --muted: #73796f;
  --shadow: 0 12px 26px rgba(36, 59, 48, 0.09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--ivory); color: var(--ink); }
button, a, input { font: inherit; }
[hidden], .icon-button[hidden], .bottom-nav[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.app-shell { width: min(100%, 448px); min-height: 100vh; margin: 0 auto; padding: env(safe-area-inset-top) 0 calc(96px + env(safe-area-inset-bottom)); }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--sage); border-radius: 50%; color: var(--forest); font-family: Georgia, serif; font-size: 20px; }
.brand-name { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.icon-button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--sand); border-radius: 50%; background: var(--paper); color: var(--forest); font-size: 20px; }
.main-content { padding-top: 7px; }
.guest-intro { margin: 4px 20px 24px; color: var(--forest-deep); }
.guest-intro h1 { max-width: 408px; margin: 0; color: inherit; font-size: 16px; font-weight: 400; line-height: 1.72; letter-spacing: -.01em; }
.guest-intro .lede { margin: 0; color: inherit; font-size: 16px; font-weight: 450; line-height: 1.72; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.content-section { display: grid; gap: 23px; padding: 0 20px 26px; }
.assistant-card { display: grid; grid-template-columns: 54px minmax(0,1fr) 20px; align-items: center; gap: 15px; width: 100%; min-height: 120px; padding: 18px 20px; border: 0; border-radius: 27px; background: var(--forest); box-shadow: var(--shadow); color: white; text-align: left; cursor: pointer; }
.assistant-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); color: white; }
.assistant-icon svg { width: 27px; height: 27px; stroke-width: 2; }
.assistant-copy { display: grid; gap: 5px; }
.assistant-copy strong { font-size: 16px; font-weight: 750; line-height: 1.3; }
.assistant-copy small { max-width: 225px; color: rgba(255,255,255,.88); font-size: 14px; font-weight: 550; line-height: 1.55; }
.row-chevron { color: currentColor; font-size: 30px; font-weight: 300; line-height: 1; text-align: right; }
.section-title { margin: 0 0 -3px; color: #1f3225; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: -7px; }
.quick-card { display: flex; min-height: 112px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; padding: 15px 16px; border: 1px solid var(--sand); border-radius: 27px; background: var(--paper); box-shadow: 0 7px 17px rgba(36,59,48,.08); color: var(--ink); text-align: left; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease; }
.quick-card:hover, .action-row:hover, .assistant-card:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(36,59,48,.13); }
.quick-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 50%; background: var(--sage-light); color: var(--forest); }
.quick-icon svg { width: 23px; height: 23px; }
.quick-card strong { color: #1f2d23; font-size: 15px; font-weight: 750; line-height: 1.25; }
.action-row { display: grid; grid-template-columns: 32px minmax(0,1fr) 18px; align-items: center; gap: 14px; width: 100%; min-height: 66px; padding: 14px 17px; border: 1px solid var(--sand); border-radius: 28px; background: var(--paper); box-shadow: 0 6px 16px rgba(36,59,48,.075); color: var(--forest); text-align: left; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease; }
.action-row--terracotta { min-height: 88px; border-color: transparent; background: var(--terracotta); color: white; }
.action-row--peach { min-height: 70px; border-color: transparent; background: var(--peach); color: var(--terracotta-dark); }
.row-icon { display: grid; place-items: center; color: currentColor; }
.row-icon svg { width: 25px; height: 25px; }
.action-row--terracotta .row-icon svg { width: 27px; height: 27px; stroke-width: 2; }
.row-copy { display: grid; gap: 4px; }
.row-copy strong { color: currentColor; font-size: 16px; font-weight: 750; line-height: 1.3; }
.row-copy small { color: currentColor; font-size: 13px; font-weight: 500; line-height: 1.3; }
.content-section > .action-row { margin-top: -11px; }
.page-title { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: 26px; font-weight: 600; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 4px 2px 0; }
.section-heading h2 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: 24px; font-weight: 600; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.guide-list { display: grid; gap: 13px; }
.guide-section { display: grid; gap: 11px; scroll-margin-top: 18px; }
.guide-section-title { margin: 11px 2px 0; color: var(--forest); font-family: Georgia, serif; font-size: 21px; font-weight: 600; }
.photo-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.guide-photo { overflow: hidden; margin: 0; border: 1px solid var(--sand); border-radius: 19px; background: var(--paper); box-shadow: 0 6px 18px rgba(36,59,48,.06); }
.guide-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.guide-card { display: block; width: 100%; padding: 17px; border: 1px solid var(--sand); border-radius: 20px; background: var(--paper); box-shadow: 0 5px 14px rgba(36,59,48,.04); color: var(--ink); text-align: left; }
.guide-card strong { display: block; color: var(--forest); font-size: 15px; }
.guide-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.guide-card p { margin: 10px 0 0; color: #626b60; font-size: 14px; line-height: 1.55; }
.steps { display: grid; gap: 9px; margin-top: 12px; padding-left: 20px; color: #626b60; font-size: 14px; line-height: 1.55; }
.wifi-panel { margin-top: 5px; padding: 20px; border-radius: 24px; background: var(--forest); color: white; }
.wifi-panel h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 23px; font-weight: 600; }
.wifi-panel p { margin-bottom: 12px; color: #e1e7dc; font-size: 14px; line-height: 1.5; }
.wifi-value { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 11px 12px; border-radius: 13px; background: rgba(255,255,255,.12); font-size: 14px; }
.wifi-value button, .primary-button, .secondary-button, .assistant-submit { min-height: 44px; padding: 0 16px; border: 0; border-radius: 14px; cursor: pointer; font-weight: 700; }
.wifi-value button { background: white; color: var(--forest); }
.primary-button, .assistant-submit { background: var(--forest); color: white; }
.secondary-button { border: 1px solid var(--sand); background: white; color: var(--forest); }
.empty-state { padding: 18px 19px; border: 1px dashed #d7d5c9; border-radius: 19px; background: rgba(255,255,255,.58); color: var(--muted); font-size: 14px; line-height: 1.6; }
.assistant-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
.assistant-form input { min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--sand); border-radius: 15px; background: var(--paper); color: var(--ink); }
.assistant-result { display: grid; gap: 8px; }
.assistant-result .subtle { margin: 0; }
.assistant-answer { margin: 0; padding: 17px; border: 1px solid var(--sand); border-radius: 18px; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.55; }
.assistant-source { margin: -2px 0 0; color: var(--muted); font-size: 12px; }
.assistant-photo { display: block; width: 100%; max-height: 280px; border-radius: 18px; object-fit: cover; }
.bottom-nav { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4,1fr); width: min(100%,448px); margin: auto; padding: 8px 14px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(232,228,218,.9); background: rgba(255,254,250,.97); backdrop-filter: blur(16px); }
.nav-item { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 57px; border: 0; border-radius: 15px; background: transparent; color: #62695e; font-size: 11px; cursor: pointer; }
.nav-icon { display: grid; width: 52px; height: 31px; place-items: center; border-radius: 50px; }
.nav-icon svg { width: 22px; height: 22px; }
.nav-item.is-active { color: var(--forest); font-weight: 750; }
.nav-item.is-active .nav-icon { background: var(--sage-light); }
.subtle { color: var(--muted); font-size: 14px; line-height: 1.6; }
.admin-note { max-width: 520px; margin: 4px auto 0; padding: 18px; border: 1px solid var(--sand); border-radius: 21px; background: var(--paper); color: var(--muted); font-size: 14px; line-height: 1.6; }
.is-admin .guest-intro { padding-top: 20px; }
.is-locked .guest-intro { margin-top: 36px; }
.admin-welcome { display: grid; gap: 10px; }
.admin-welcome .page-title, .admin-editor .page-title { margin: 0; }
.admin-welcome .subtle, .admin-editor > .subtle { margin: 0; }
.admin-add { width: 100%; min-height: 58px; border-radius: 18px; font-size: 16px; }
.admin-groups { display: grid; gap: 23px; }
.admin-group { display: grid; gap: 10px; }
.admin-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-group .guide-section-title { margin: 0; }
.admin-add-inline { min-height: 40px; padding: 0 12px; border: 1px solid var(--sage); border-radius: 13px; background: var(--paper); color: var(--forest); font-size: 13px; font-weight: 750; cursor: pointer; }
.admin-empty-category { margin: 0; padding: 11px 13px; border-left: 2px solid var(--sage); color: var(--muted); font-size: 13px; line-height: 1.5; }
.admin-item { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 78px; padding: 13px 14px; border: 1px solid var(--sand); border-radius: 18px; background: var(--paper); }
.admin-item-copy { display: grid; gap: 5px; min-width: 0; }
.admin-item-copy strong { color: var(--forest); font-size: 15px; }
.admin-item-copy small { overflow-wrap: anywhere; color: var(--muted); font-size: 13px; line-height: 1.4; }
.admin-item .secondary-button { min-width: 88px; }
.admin-editor { display: grid; gap: 11px; }
.admin-form { display: grid; gap: 16px; margin-top: 4px; }
.admin-label { display: grid; gap: 8px; color: var(--forest); font-size: 14px; font-weight: 700; }
.admin-input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--sand); border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 16px; }
.admin-textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.admin-photos { min-width: 0; margin: 0; padding: 0; border: 0; }
.admin-photos legend { margin-bottom: 9px; padding: 0; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.admin-photo-choice { position: relative; overflow: hidden; aspect-ratio: 1; border: 2px solid transparent; border-radius: 14px; background: var(--sand); cursor: pointer; }
.admin-photo-choice:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 2px white inset; }
.admin-photo-choice input { position: absolute; z-index: 1; top: 8px; left: 8px; width: 22px; height: 22px; accent-color: var(--forest); }
.admin-photo-choice img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-save-status { min-height: 23px; margin: 0; color: var(--forest); font-size: 14px; }
.admin-actions { display: grid; gap: 9px; }
.admin-actions button { min-height: 54px; }
.admin-actions .secondary-button { border-color: var(--sand); }
.is-admin .main-content { padding-bottom: 36px; }
.is-admin .guest-intro { padding-top: 17px; }
@media (max-width: 380px) {
  .content-section { gap: 18px; padding-right: 16px; padding-left: 16px; }
  .guest-intro { margin-right: 16px; margin-left: 16px; }
  .assistant-card { grid-template-columns: 48px minmax(0,1fr) 16px; gap: 12px; padding: 16px; }
  .assistant-icon { width: 48px; height: 48px; }
  .quick-card { min-height: 104px; padding: 13px; }
  .quick-card strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
