:root {
  --brand-blue: #00263e;
  --brand-blue-soft: #f3f7fb;
  --brand-red: #d71920;
  --brand-red-deep: #9f0f16;
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --surface-deep: var(--brand-blue);
  --ink: var(--brand-blue);
  --muted: #4e6275;
  --line: rgba(0, 38, 62, 0.12);
  --accent: var(--brand-red);
  --accent-deep: var(--brand-red-deep);
  --accent-soft: rgba(215, 25, 32, 0.1);
  --teal: var(--brand-blue);
  --success: #2d9d62;
  --danger: var(--brand-red);
  --shadow: 0 18px 42px rgba(0, 38, 62, 0.08);
  --radius-xl: 8px;
  --radius-lg: 8px;
  --radius-md: 8px;
  --card-radius: 8px;
  --control-radius: 6px;
  --pill-radius: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-frame {
  max-width: 1800px;
  margin: 0 auto;
  padding: 28px 28px 44px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 6px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.site-header-simple {
  background: rgba(255, 255, 255, 0.88);
}

.site-header-glass {
  position: sticky;
  top: 14px;
  z-index: 40;
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 44px rgba(4, 3, 8, 0.38);
}

.header-side {
  display: grid;
  gap: 10px;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body[data-auth-pending="true"] .site-header .header-actions {
  min-width: 260px;
}

body[data-auth-pending="true"] .site-header .header-actions > * {
  visibility: hidden;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", "Charter", "Iowan Old Style", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d71920, #9f0f16);
  color: #ffffff;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark-label {
  display: inline-block;
}

.header-user-menu-shell {
  position: relative;
  flex: 0 0 auto;
}

.header-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: #00263e;
  box-shadow: none;
  font-weight: 600;
}

.header-user-trigger:hover {
  transform: none;
  border-color: rgba(215, 25, 32, 0.22);
  background: #ffffff;
}

.header-user-trigger-label {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-trigger-caret {
  color: #4e6275;
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.header-user-trigger[aria-expanded="true"] .header-user-trigger-caret {
  transform: rotate(180deg);
}

.header-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: grid;
  gap: 6px;
  min-width: 194px;
  padding: 10px;
  border: 1px solid rgba(0, 38, 62, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(0, 38, 62, 0.12);
}

.header-user-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #00263e;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-user-menu-item:hover {
  background: rgba(215, 25, 32, 0.12);
  color: #00263e;
}

.header-user-menu-item.is-primary {
  background: linear-gradient(135deg, #d71920, #9f0f16);
  color: #ffffff;
}

.header-user-menu-item.is-primary:hover {
  background: linear-gradient(135deg, #d71920, #9f0f16);
  color: #ffffff;
}

.header-user-menu-signout {
  color: #9f0f16;
}

.header-user-menu-signout:hover {
  background: rgba(215, 25, 32, 0.12);
  color: #9f0f16;
}

.site-header-book-button {
  min-width: 106px;
  border-radius: 12px;
  box-shadow: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  background: rgba(215, 25, 32, 0.08);
  color: var(--ink);
}

.nav-link.is-active {
  background: rgba(215, 25, 32, 0.14);
  color: var(--ink);
  box-shadow: 0 0 20px rgba(215, 25, 32, 0.14);
}

.status-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
}

.status-chip,
.signal-panel,
.panel,
.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.status-chip {
  padding: 14px 16px;
  background: var(--surface-strong);
}

.status-chip strong {
  display: block;
  margin-bottom: 4px;
}

.status-chip-label,
.eyebrow,
.panel-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(215, 25, 32, 0.1);
  color: #d71920;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-detail,
.hero-copy,
.panel-copy,
.feature-item p,
.story-card p,
.signal-copy,
.empty-state,
.booking-card p,
.room-card p {
  color: var(--muted);
  line-height: 1.6;
}

.field-help,
.staff-option-copy span {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.account-page-grid {
  align-items: start;
}

.account-auth-panel {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.home-layout {
  display: grid;
  gap: 20px;
}

.home-layout-refined {
  gap: 24px;
}

.hero-card,
.panel {
  padding: 24px;
  animation: rise-in 0.45s ease both;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 251, 0.96));
}

.hero-card-center {
  text-align: center;
  padding: 56px 24px;
}

.hero-card-wide,
.panel-wide {
  grid-column: 1 / -1;
}

.hero-card h1,
.panel h2,
.room-card h3,
.booking-card h4,
.admin-subpanel h3 {
  margin: 0;
  font-family: "Space Grotesk", "Charter", "Iowan Old Style", Georgia, serif;
  letter-spacing: -0.03em;
}

.hero-card h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.95;
}

.hero-card-center h1 {
  max-width: none;
}

.hero-copy {
  max-width: 60ch;
  margin: 16px 0 0;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-actions-center {
  justify-content: center;
}

.hero-copy-center {
  margin-left: auto;
  margin-right: auto;
}

.page-grid-public {
  gap: 22px;
}

.page-hero-polish {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-color: rgba(215, 25, 32, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 251, 0.96));
  box-shadow: 0 18px 40px rgba(0, 38, 62, 0.07);
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: end;
}

.page-hero-copy-block {
  display: grid;
  gap: 14px;
}

.page-hero-polish h1 {
  max-width: 10ch;
  color: #00263e;
}

.page-hero-polish .hero-copy {
  max-width: 36rem;
  margin: 0;
  color: #4e6275;
}

.page-hero-polish .hero-actions {
  margin-top: 6px;
}

.page-hero-summary {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(0, 38, 62, 0.05);
}

.page-hero-summary .panel-kicker {
  margin-bottom: 0;
}

.page-hero-summary .summary-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-hero-summary .summary-line span {
  color: #8a7882;
}

.page-hero-summary .summary-line strong {
  color: #00263e;
}

.panel-soft {
  border-color: rgba(215, 25, 32, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(0, 38, 62, 0.05);
}

.hero-primary {
  min-width: 180px;
}

.hero-status-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.home-hero-shell {
  position: relative;
  display: grid;
  gap: 24px;
  align-content: space-between;
  overflow: hidden;
  min-height: min(88vh, 860px);
  background: #0c0a11;
}

.home-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 40px;
  gap: 24px;
}

.home-carousel-slides-container {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 0;
}

.home-carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide-announcement {
  position: absolute;
  top: clamp(28px, 5vw, 76px);
  left: clamp(24px, 6vw, 110px);
  z-index: 4;
  display: grid;
  gap: 6px;
  max-width: min(420px, calc(100% - 48px));
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(0, 38, 62, 0.72);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 38, 62, 0.28);
  backdrop-filter: blur(12px);
}

.carousel-slide-announcement span,
.carousel-slide-announcement em {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.carousel-slide-announcement strong {
  font-family: "Space Grotesk", "Charter", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 3.1rem);
  line-height: 0.95;
}

.carousel-slide-announcement-discount {
  background: rgba(215, 25, 32, 0.82);
  box-shadow: 0 18px 42px rgba(215, 25, 32, 0.24);
}

.home-hero-media,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(0.92) contrast(1.05);
}

.home-carousel-controls {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 0;
}

.home-carousel-progress {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.home-carousel-counter {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 13, 20, 0.46);
  color: #fff7f7;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-carousel-dot,
.home-carousel-button {
  border: 0;
  cursor: pointer;
}

.home-carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-carousel-dot.is-active {
  transform: scale(1.1);
  background: #ffffff;
}

.home-carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 13, 20, 0.46);
  color: #fff7f7;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-carousel-button:hover,
.home-carousel-button:focus-visible {
  background: rgba(16, 13, 20, 0.64);
  transform: translateY(-1px);
}

.home-hero-overlay-primary {
  background: linear-gradient(90deg, rgba(10, 8, 15, 0.94) 0%, rgba(10, 8, 15, 0.88) 28%, rgba(10, 8, 15, 0.42) 100%);
}

.home-hero-overlay-secondary {
  background:
    linear-gradient(180deg, rgba(8, 7, 12, 0.42) 0%, rgba(8, 7, 12, 0.82) 100%),
    radial-gradient(circle at 78% 18%, rgba(215, 25, 32, 0.22), transparent 24%),
    radial-gradient(circle at 84% 58%, rgba(0, 38, 62, 0.12), transparent 18%);
}

.home-carousel-captions {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px;
}

.home-carousel-caption {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(12, 10, 17, 0.52);
  color: #fdf8f8;
  text-align: left;
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.home-carousel-caption:hover,
.home-carousel-caption:focus-visible,
.home-carousel-caption.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(12, 10, 17, 0.68);
}

.home-carousel-caption strong {
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
  font-size: 1.05rem;
}

.home-carousel-caption p {
  margin: 0;
  color: rgba(243, 247, 251, 0.76);
  line-height: 1.55;
  font-size: 0.95rem;
}

.home-carousel-caption-kicker {
  color: rgba(243, 247, 251, 0.64);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.home-soft-badge,
.home-card-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(215, 25, 32, 0.14);
  color: #d71920;
}

.home-card-pill-dark {
  background: rgba(30, 35, 58, 0.88);
  color: #ffffff;
}

.home-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 10px;
}

.home-stat-card {
  display: grid;
  gap: 4px;
  min-width: 90px;
}

.home-stat-card strong {
  font-size: 2rem;
  line-height: 1;
  color: #fff9f8;
}

.home-stat-card span {
  color: rgba(243, 247, 251, 0.78);
  font-size: 0.92rem;
}

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

.home-studio-card,
.room-card-premium {
  overflow: hidden;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(32, 24, 39, 0.06);
}

.home-studio-card-link {
  display: grid;
  gap: 0;
}

.home-studio-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f1eef4;
}

.home-studio-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-studio-card-badges,
.room-card-media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.home-studio-card-copy {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.home-studio-card-heading,
.room-card-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.home-studio-card-heading h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #00263e;
}

.home-studio-card-rating,
.room-card-rating {
  color: #d71920;
  font-weight: 700;
  white-space: nowrap;
}

.home-studio-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #4e6275;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.home-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.home-hero-copy .hero-copy {
  max-width: 64ch;
}

.home-hero-side {
  display: grid;
  gap: 16px;
}

.home-side-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 15, 25, 0.56);
}

.home-side-card h2,
.story-card h3,
.detail-card h3 {
  margin: 0 0 10px;
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
  letter-spacing: -0.02em;
}

.home-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-checklist li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.home-checklist li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.home-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-status-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
}

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

.home-visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-location-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.home-map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 380px;
  background: rgba(255, 255, 255, 0.72);
}

.home-map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

body[data-page="home"] {
  color: #00263e;
  background:
    radial-gradient(circle at top left, rgba(215, 25, 32, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(215, 25, 32, 0.05), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 56%, #ffffff 100%);
}

body[data-page="home"] .site-header {
  border-color: rgba(215, 25, 32, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 247, 251, 0.84)),
    radial-gradient(circle at top right, rgba(215, 25, 32, 0.1), transparent 30%);
  box-shadow: 0 20px 48px rgba(0, 38, 62, 0.08);
}

body[data-page="home"] .site-header-simple {
  background: rgba(255, 255, 255, 0.86);
}

body[data-page="home"] .brand-mark,
body[data-page="home"] .hero-card h1,
body[data-page="home"] .panel h2,
body[data-page="home"] .home-side-card h2,
body[data-page="home"] .story-card h3,
body[data-page="home"] .detail-card h3 {
  color: #00263e;
}

body[data-page="home"] .nav-link,
body[data-page="home"] .status-detail,
body[data-page="home"] .hero-copy,
body[data-page="home"] .panel-copy,
body[data-page="home"] .feature-item p,
body[data-page="home"] .story-card p,
body[data-page="home"] .signal-copy,
body[data-page="home"] .home-checklist li,
body[data-page="home"] .booking-card p,
body[data-page="home"] .room-card p {
  color: #4e6275;
}

body[data-page="home"] .nav-link:hover {
  background: rgba(215, 25, 32, 0.08);
  color: #00263e;
}

body[data-page="home"] .nav-link.is-active {
  background: rgba(215, 25, 32, 0.14);
  color: #00263e;
  box-shadow: 0 0 20px rgba(215, 25, 32, 0.12);
}

body[data-page="home"] .status-chip,
body[data-page="home"] .signal-panel,
body[data-page="home"] .panel,
body[data-page="home"] .hero-card,
body[data-page="home"] .home-side-card {
  border-color: rgba(215, 25, 32, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(0, 38, 62, 0.08);
}

body[data-page="home"] .hero-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 251, 0.88));
}

body[data-page="home"] .home-hero-shell {
  background: #ffffff;
}

body[data-page="home"] .home-hero-image {
  filter: saturate(0.96) brightness(1.04) contrast(1.01);
}

body[data-page="home"] .home-carousel-counter,
body[data-page="home"] .home-carousel-button {
  background: rgba(255, 255, 255, 0.84);
  color: #00263e;
}

body[data-page="home"] .home-carousel-dot {
  background: rgba(76, 42, 45, 0.24);
}

body[data-page="home"] .home-carousel-dot.is-active {
  background: var(--accent);
}

body[data-page="home"] .home-carousel-caption {
  border-color: rgba(215, 25, 32, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: #00263e;
}

body[data-page="home"] .home-carousel-caption:hover,
body[data-page="home"] .home-carousel-caption:focus-visible,
body[data-page="home"] .home-carousel-caption.is-active {
  border-color: rgba(215, 25, 32, 0.2);
  background: rgba(255, 255, 255, 0.94);
}

body[data-page="home"] .home-carousel-caption p,
body[data-page="home"] .home-carousel-caption-kicker {
  color: #4e6275;
}

body[data-page="home"] .home-hero-overlay-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.16) 100%);
}

body[data-page="home"] .home-hero-overlay-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(243, 247, 251, 0.08) 42%, rgba(243, 247, 251, 0.78) 84%, rgba(255, 255, 255, 0.98) 100%),
    radial-gradient(circle at 16% 82%, rgba(255, 255, 255, 0.4), transparent 30%);
}

body[data-page="home"] .site-acknowledgement {
  color: #6c6178;
}

body[data-page="home"] .home-layout-full {
  gap: 34px;
}

body[data-page="home"] .panel.panel-wide {
  width: min(calc(100% - 40px), 1800px);
  margin: 0 auto;
}

body[data-page="home"] .home-hero-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 24px;
  min-height: auto;
  background: transparent;
  overflow: visible;
}

body[data-page="home"] .home-carousel {
  gap: 0;
  margin: 0;
}

body[data-page="home"] .home-carousel-slides-container {
  height: min(86vh, 780px);
  min-height: 640px;
  border-radius: 0;
}

body[data-page="home"] .home-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

body[data-page="home"] .home-hero-summary,
body[data-page="home"] .home-carousel-captions {
  width: min(calc(100% - 40px), 1800px);
  margin-left: auto;
  margin-right: auto;
}

body[data-page="home"] .home-hero-summary {
  margin-top: 24px;
  padding: 30px 32px;
  border: 1px solid rgba(0, 38, 62, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(0, 38, 62, 0.08);
}

body[data-page="home"] .home-hero-summary-copy {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

body[data-page="home"] .home-soft-badge {
  justify-self: start;
  background: rgba(243, 247, 251, 0.96);
  color: #d71920;
  border: 1px solid rgba(215, 25, 32, 0.24);
  box-shadow: 0 6px 16px rgba(32, 24, 39, 0.04);
}

body[data-page="home"] .home-hero-summary-copy h1 {
  margin: 0;
  max-width: 9ch;
  color: #00263e;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.92;
}

body[data-page="home"] .home-hero-summary-copy .hero-copy {
  margin: 0;
  max-width: 42rem;
  color: #4e6275;
  font-size: 1rem;
  line-height: 1.6;
}

body[data-page="home"] .home-hero-summary-copy .ghost-button {
  background: #ffffff;
  color: #4e6275;
  border: 1px solid rgba(0, 38, 62, 0.1);
  box-shadow: none;
}

body[data-page="home"] .home-hero-summary-copy .ghost-button:hover,
body[data-page="home"] .home-hero-summary-copy .ghost-button:focus-visible {
  background: #f7f9fc;
}

body[data-page="home"] .home-hero-utility {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
  padding-top: 4px;
}

body[data-page="home"] .home-utility-pill {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 38, 62, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 38, 62, 0.05);
}

body[data-page="home"] .home-utility-pill strong {
  color: #00263e;
  font-size: 0.95rem;
}

body[data-page="home"] .home-utility-pill span {
  color: #4e6275;
  font-size: 0.85rem;
  line-height: 1.45;
}

body[data-page="home"] .home-carousel-controls {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 0 12px 24px;
  pointer-events: none;
}

body[data-page="home"] .home-carousel-progress {
  justify-self: center;
  align-self: end;
  justify-items: center;
  pointer-events: auto;
}

body[data-page="home"] .home-carousel-counter {
  display: none;
}

body[data-page="home"] .home-carousel-button {
  pointer-events: auto;
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  font-size: 1.65rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.92);
  color: #6d788a;
  box-shadow: 0 14px 28px rgba(20, 12, 18, 0.08);
}

body[data-page="home"] .home-carousel-button-prev {
  justify-self: start;
}

body[data-page="home"] .home-carousel-button-next {
  justify-self: end;
}

body[data-page="home"] .home-carousel-captions {
  display: none;
}

body[data-page="home"] .home-carousel-caption {
  min-height: 140px;
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 48px rgba(0, 38, 62, 0.12);
}

body[data-page="home"] .home-information-panel {
  margin-top: 0;
}

body[data-page="home"] .home-composition-panel,
body[data-page="home"] .home-arrival-panel {
  padding: 32px;
}

body[data-page="home"] .home-composition-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: stretch;
}

body[data-page="home"] .home-composition-copy {
  display: grid;
  gap: 18px;
}

body[data-page="home"] .home-composition-copy h2,
body[data-page="home"] .home-arrival-copy h2 {
  margin: 0;
  color: #1f2e49;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 0.98;
}

body[data-page="home"] .home-flow-list {
  display: grid;
  gap: 14px;
}

body[data-page="home"] .home-flow-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 38, 62, 0.08);
}

body[data-page="home"] .home-flow-row:first-child {
  border-top: 0;
  padding-top: 0;
}

body[data-page="home"] .home-flow-row > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(215, 25, 32, 0.1);
  color: #d71920;
  font-weight: 700;
}

body[data-page="home"] .home-flow-row strong {
  display: block;
  margin-bottom: 5px;
  color: #00263e;
  font-size: 1rem;
}

body[data-page="home"] .home-flow-row p {
  margin: 0;
  color: #4e6275;
  line-height: 1.55;
}

body[data-page="home"] .home-studio-glimpse-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

body[data-page="home"] .home-glimpse-card {
  min-height: 260px;
}

body[data-page="home"] .home-glimpse-card-tall {
  grid-row: span 2;
  min-height: 100%;
}

body[data-page="home"] .home-glimpse-card .detail-image {
  height: 100%;
  object-fit: cover;
}

body[data-page="home"] .home-arrival-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

body[data-page="home"] .home-arrival-copy {
  display: grid;
  gap: 16px;
}

body[data-page="home"] .home-arrival-copy > p {
  margin: 0;
}

body[data-page="home"] .home-arrival-points {
  display: grid;
  gap: 10px;
}

body[data-page="home"] .home-map-card {
  min-height: 100%;
}

body[data-page="home"] .home-map-frame {
  min-height: 420px;
}

body[data-page="home"] .signal-ribbon,
body[data-page="home"] .site-acknowledgement {
  width: min(calc(100% - 40px), 1800px);
  margin-left: auto;
  margin-right: auto;
}

.panel-header {
  margin-bottom: 18px;
}

.panel h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.feature-list,
.story-grid,
.admin-grid,
.admin-summary-grid,
.admin-room-breakdown,
.admin-activity-list {
  display: grid;
  gap: 14px;
}

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

.feature-item,
.story-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
}

.feature-item strong {
  display: block;
  margin-bottom: 6px;
}

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

.story-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(215, 25, 32, 0.12);
  color: var(--accent-deep);
  font-weight: 700;
}

.page-hero-polish .story-card,
.page-hero-polish .feature-item {
  background: rgba(255, 255, 255, 0.74);
}

.rooms-grid,
.booking-list {
  display: grid;
  gap: 14px;
}

.booking-list-secondary {
  padding-top: 14px;
}

.booking-history-group {
  display: grid;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.booking-history-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.booking-history-group-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.booking-history-group-copy {
  display: grid;
  gap: 4px;
}

.booking-history-group-copy p {
  margin: 0;
}

.booking-history-group-copy p:last-child {
  color: var(--muted);
}

.room-card,
.booking-card,
.admin-subpanel,
.metric-card,
.admin-room-card,
.admin-activity-card,
.admin-room-staff-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
}

.admin-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 18px;
}

.admin-analytics-panel {
  margin-bottom: 18px;
}

.metric-card {
  display: grid;
  gap: 10px;
}

.metric-label {
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-value {
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.admin-room-breakdown-shell h3,
.admin-room-card h4 {
  margin: 0;
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
}

.admin-room-breakdown-shell {
  display: grid;
  gap: 14px;
}

.admin-room-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}

.admin-activity-panel {
  margin-bottom: 18px;
}

.admin-activity-card {
  display: grid;
  gap: 8px;
}

.admin-activity-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.admin-room-staff-list {
  display: grid;
  gap: 16px;
}

.admin-staff-catalog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.admin-room-staff-card {
  display: grid;
  gap: 16px;
}

.admin-room-staff-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.admin-room-staff-header h4 {
  margin: 0 0 6px;
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
}

.admin-room-staff-header p {
  margin: 0;
  color: var(--muted);
}

.staff-editor-list {
  display: grid;
  gap: 12px;
}

.staff-editor-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.staff-editor-row .ghost-button {
  justify-self: start;
}

.staff-assignment-grid {
  display: grid;
  gap: 12px;
}

.detail-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
}

.panel-nested {
  margin-top: 1rem;
}

.detail-card-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.detail-section {
  margin-top: 20px;
}

.detail-section h3 {
  margin: 0 0 12px;
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
  font-size: 1.3rem;
}

.review-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

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

.review-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.booking-reschedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

#booking-payment-element {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.media-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.media-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  color: var(--teal);
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
}

.detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 20px;
}

.page-map-frame-tall {
  min-height: 360px;
  border-radius: 24px;
}

.media-card figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-image {
  transition: transform 0.5s ease;
}

.room-card h3,
.booking-card h4 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.room-meta,
.room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.staff-options {
  display: grid;
  gap: 12px;
}

.staff-option-card {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.staff-option-card-compact {
  padding: 12px 14px;
}

.staff-option-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-option-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.staff-option-copy {
  display: grid;
  gap: 4px;
}

.staff-tag-group {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.staff-tag-group > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.staff-option-copy strong {
  font-size: 1rem;
}

.staff-option-price {
  white-space: nowrap;
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
}

.staff-avatar,
.staff-profile-image,
.staff-photo-preview-image {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.staff-profile-image,
.staff-photo-preview-image {
  width: 84px;
  height: 84px;
}

.staff-avatar-fallback {
  display: grid;
  place-items: center;
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
  font-size: 1.5rem;
  color: white;
  background: linear-gradient(135deg, var(--surface-deep), var(--accent-deep));
}

.staff-profile-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
}

.staff-profile-card-top,
.staff-photo-preview-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.staff-profile-card p {
  margin: 0;
}

.staff-bookable-card {
  gap: 16px;
}

.staff-bookable-card.is-selected {
  border-color: rgba(215, 25, 32, 0.26);
  background: rgba(243, 247, 251, 0.96);
  box-shadow: 0 18px 34px rgba(0, 38, 62, 0.08);
}

.staff-card-rate-row {
  margin-top: 2px;
}

.staff-profile-card-actions {
  display: flex;
  justify-content: flex-end;
}

.staff-book-button {
  min-width: 140px;
}

.staff-booking-intro {
  display: grid;
  gap: 18px;
}

.staff-booking-intro,
.staff-booking-shell {
  scroll-margin-top: 120px;
}

.staff-booking-steps .story-card {
  min-height: 100%;
}

.staff-booking-shell {
  display: grid;
  gap: 18px;
}

.staff-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.7fr);
  gap: 20px;
  align-items: start;
}

.staff-booking-main {
  display: grid;
  gap: 16px;
}

.staff-booking-selected-card,
.staff-booking-summary-card,
.staff-booking-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(0, 38, 62, 0.04);
}

.staff-booking-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.staff-booking-summary-lines {
  display: grid;
  gap: 8px;
}

.staff-booking-summary-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.staff-booking-card-head {
  display: grid;
  gap: 4px;
}

.staff-booking-card-head strong {
  font-family: "Space Grotesk", "Charter", "Iowan Old Style", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #00263e;
}

.staff-booking-fields {
  display: grid;
  gap: 12px;
}

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

.staff-booking-fields label {
  display: grid;
  gap: 8px;
}

.staff-booking-fields span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #00263e;
}

.staff-booking-availability {
  min-height: 62px;
}

.staff-booking-time-grid {
  margin-top: 2px;
}

.staff-booking-form {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.staff-booking-submit {
  width: 100%;
}

.staff-booking-status {
  margin-top: -2px;
}

.staff-booking-status-error {
  color: var(--danger);
}

.staff-booking-summary-card .staff-option-copy span,
.staff-booking-selected-card .staff-option-copy span {
  max-width: 36ch;
}

.staff-booking-summary-card .room-meta,
.staff-booking-selected-card .room-meta {
  margin-top: 2px;
}

.staff-booking-selected-card.empty-state,
.staff-booking-summary-card.empty-state {
  min-height: 118px;
  display: grid;
  place-items: center;
  text-align: center;
}

.staff-page-grid-modern {
  align-items: start;
}

.staff-catalog-shell {
  scroll-margin-top: 112px;
}

.staff-catalog-grid .empty-state {
  grid-column: 1 / -1;
}

.staff-catalog-card.is-selected {
  border-color: rgba(215, 25, 32, 0.34);
  box-shadow: 0 18px 36px rgba(215, 25, 32, 0.12);
}

.staff-catalog-media {
  background: #f8fafc;
}

.staff-catalog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-catalog-card .availability-preview {
  min-height: 106px;
}

.staff-catalog-card .room-catalog-actions {
  grid-template-columns: minmax(0, 1fr) auto;
}

.staff-reserve-shell {
  scroll-margin-top: 112px;
}

.staff-reserve-main {
  gap: 18px;
}

.staff-reserve-profile-card {
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
}

.staff-reserve-profile-media {
  overflow: hidden;
  min-height: 320px;
  border-radius: 20px;
  background: #f1eef4;
}

.staff-reserve-profile-media .staff-profile-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.staff-reserve-profile-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.staff-reserve-profile-copy h2 {
  margin: 0;
  color: #00263e;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.staff-reserve-profile-copy p {
  margin: 0;
  color: #4e6275;
  line-height: 1.55;
}

.staff-reserve-profile-tags {
  display: grid;
  gap: 12px;
}

.staff-booking-summary.reserve-booking-sidebar {
  align-content: start;
}

.staff-booking-summary .staff-booking-summary-card {
  padding: 14px;
  border-radius: 16px;
  box-shadow: none;
}

.staff-booking-summary .staff-profile-image {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.staff-booking-summary .staff-booking-status {
  margin: 0;
  color: #4e6275;
  line-height: 1.45;
}

.staff-booking-summary .staff-booking-status-error {
  color: var(--danger);
}

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

.staff-duration-stepper {
  margin-top: 0;
}

@media (max-width: 980px) {
  .staff-reserve-profile-card {
    grid-template-columns: 1fr;
  }

  .staff-reserve-profile-media,
  .staff-reserve-profile-media .staff-profile-image {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .staff-reserve-contact-grid {
    grid-template-columns: 1fr;
  }

  .staff-catalog-card .room-catalog-actions {
    grid-template-columns: 1fr;
  }
}

.staff-photo-preview {
  min-height: 116px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(24, 33, 39, 0.08);
  font-size: 0.88rem;
}

.pill.muted {
  color: var(--danger);
  background: rgba(215, 25, 32, 0.1);
}

.rooms-toolbar {
  margin-bottom: 16px;
}

.rooms-preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.rooms-search-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.rooms-page-grid-modern {
  display: block;
}

.rooms-catalog-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 10px 4px 0;
}

.rooms-catalog-header {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.rooms-catalog-header h1 {
  margin: 0;
  font-family: "Space Grotesk", "Charter", "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.rooms-title-ink {
  color: #00263e;
}

.rooms-title-accent {
  color: #d71920;
}

.rooms-catalog-header p {
  margin: 0;
  color: #4e6275;
  font-size: 1.05rem;
}

.rooms-catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.rooms-search-input-shell,
.rooms-sort-shell {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 38, 62, 0.028);
}

.rooms-search-input-shell {
  width: 100%;
}

.rooms-search-icon,
.rooms-sort-icon,
.rooms-filter-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #8a97ab;
  flex: 0 0 auto;
}

.rooms-search-icon svg,
.rooms-sort-icon svg,
.rooms-filter-icon svg {
  width: 100%;
  height: 100%;
}

.rooms-search-input-shell input,
.rooms-sort-shell select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #00263e;
  font: inherit;
}

.rooms-search-input-shell input::placeholder {
  color: #8a97ab;
}

.rooms-toolbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.rooms-sort-shell {
  min-width: 240px;
}

.rooms-sort-shell select {
  cursor: pointer;
}

.rooms-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(0, 38, 62, 0.12);
  background: #ffffff;
  color: #00263e;
  box-shadow: 0 8px 24px rgba(0, 38, 62, 0.04);
}

.rooms-filter-toggle.is-active {
  border-color: rgba(215, 25, 32, 0.2);
  background: rgba(243, 247, 251, 0.95);
  color: #d71920;
}

.rooms-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.rooms-category-chip {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 12px;
  background: #fbfcfe;
  color: #4e6275;
  font: inherit;
  font-weight: 600;
  box-shadow: none;
}

.rooms-category-chip.is-active {
  border-color: #d71920;
  background: linear-gradient(135deg, #d71920, #9f0f16);
  color: #ffffff;
}

.rooms-results-row {
  margin-bottom: 16px;
  color: #00263e;
  font-size: 0.98rem;
}

.rooms-filter-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 38, 62, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 36px rgba(0, 38, 62, 0.05);
}

.rooms-filter-sort-row {
  display: flex;
  justify-content: flex-end;
}

.rooms-grid-catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.room-catalog-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 38, 62, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.room-catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 38, 62, 0.16);
  box-shadow: 0 18px 34px rgba(0, 38, 62, 0.08);
}

.room-catalog-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.12 / 1;
  border-bottom: 1px solid rgba(0, 38, 62, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.room-catalog-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.84) 68%, rgba(255, 255, 255, 0.96));
}

.room-catalog-media-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.room-catalog-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.room-catalog-pill-category {
  background: rgba(255, 255, 255, 0.92);
  color: #4c5d77;
}

.room-catalog-pill-status {
  color: #ffffff;
}

.room-catalog-pill-status.is-available {
  background: linear-gradient(135deg, #d71920, #9f0f16);
}

.room-catalog-pill-status.is-booked {
  background: linear-gradient(135deg, #ef4f4f, #cf3a3a);
}

.room-catalog-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 14px 16px 16px;
}

.room-catalog-title-row,
.room-catalog-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.room-catalog-title-row {
  align-items: start;
}

.room-catalog-title {
  margin: 0;
  color: #00263e;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.2;
}

.room-catalog-title.is-accent {
  color: #d71920;
}

.room-catalog-description {
  min-height: 3.3em;
  margin: -4px 0 0;
  color: #65758d;
  font-size: 0.94rem;
  line-height: 1.45;
}

.room-catalog-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-catalog-feature-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(0, 38, 62, 0.08);
  border-radius: 999px;
  background: #f8fafc;
  color: #4e6275;
  font-size: 0.82rem;
  font-weight: 700;
}

.room-catalog-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f7f8fb;
  color: #4e6275;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.room-catalog-rating span[aria-hidden="true"] {
  color: #d71920;
}

.room-catalog-meta-row {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 38, 62, 0.08);
  color: #4e6275;
}

.room-catalog-capacity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.room-catalog-capacity svg {
  width: 15px;
  height: 15px;
  color: #8a97ab;
}

.room-catalog-price {
  color: #00263e;
  font-size: 1.08rem;
  line-height: 1;
}

.room-catalog-price span {
  color: #8a97ab;
  font-size: 0.92rem;
  font-weight: 500;
}

.room-catalog-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.room-catalog-quick-action {
  position: absolute;
  right: 14px;
  top: 57%;
  z-index: 3;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.room-catalog-card:hover .room-catalog-quick-action {
  transform: translateY(-2px);
}

.room-catalog-quick-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d71920, #9f0f16);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(215, 25, 32, 0.24);
}

.room-catalog-quick-link:hover {
  box-shadow: 0 16px 28px rgba(215, 25, 32, 0.3);
}

.room-catalog-quick-link svg {
  width: 18px;
  height: 18px;
}

.room-actions-admin {
  position: relative;
  z-index: 3;
  padding: 0 18px 18px;
}

.room-catalog-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.room-catalog-book-button {
  justify-content: center;
}

.room-catalog-details-button {
  padding-left: 14px;
  padding-right: 14px;
  white-space: nowrap;
}

.rooms-search-summary {
  margin-bottom: 18px;
}

.availability-preview {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(0, 38, 62, 0.08);
  border-radius: 14px;
  background: #fbfcfe;
}

.availability-preview p {
  margin: 0;
  color: #4e6275;
  font-size: 0.9rem;
  line-height: 1.4;
}

.availability-preview-idle {
  background: rgba(248, 250, 252, 0.72);
}

.rooms-filter {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.auth-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(24, 33, 39, 0.06);
}

.tab-button,
.primary-button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tab-button {
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
}

.tab-button.active {
  background: var(--surface-deep);
  color: white;
}

.stack-form {
  display: grid;
  gap: 14px;
}

.auth-feedback {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 33, 39, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  line-height: 1.5;
}

.auth-feedback.is-error {
  border-color: rgba(215, 25, 32, 0.34);
  background: rgba(243, 247, 251, 0.9);
  color: var(--danger);
}

.auth-feedback.is-success {
  border-color: rgba(34, 120, 74, 0.28);
  background: rgba(236, 250, 242, 0.9);
  color: #1f6a43;
}

.profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.profile-grid-tight {
  gap: 12px;
}

.guest-booking-fields {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.profile-span-2 {
  grid-column: 1 / -1;
}

.profile-avatar-shell {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.profile-avatar-preview {
  display: grid;
  place-items: center;
  width: 132px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(215, 25, 32, 0.16), rgba(0, 38, 62, 0.14));
}

.profile-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.stack-form label {
  display: grid;
  gap: 8px;
}

.auth-field-feedback {
  margin-top: -2px;
  color: var(--danger);
}

.auth-inline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.form-divider {
  position: relative;
  text-align: center;
  margin: 4px 0;
  color: var(--muted);
}

.form-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.form-divider span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.92);
}

.google-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid rgba(24, 33, 39, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 38, 62, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.google-auth-button:hover {
  transform: translateY(-1px);
  border-color: rgba(215, 25, 32, 0.22);
  box-shadow: 0 14px 30px rgba(215, 25, 32, 0.08);
}

.google-auth-button:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.password-match-feedback {
  margin: -4px 0 2px;
  font-size: 0.92rem;
  font-weight: 600;
}

.password-match-feedback.is-match {
  color: #1f6a43;
}

.password-match-feedback.is-mismatch {
  color: var(--danger);
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

.inline-field {
  min-width: 190px;
}

.stack-form span {
  font-size: 0.92rem;
  font-weight: 600;
}

.profile-fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.54);
}

.profile-fieldset legend {
  padding: 0 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.profile-legend {
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.form-note {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.account-summary {
  display: inline-grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.profile-savebar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(243, 247, 251, 0.86);
}

.profile-savecopy {
  display: grid;
  gap: 4px;
}

.profile-savecopy strong {
  font-size: 1rem;
}

.profile-saveactions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-preferences {
  display: grid;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(24, 33, 39, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.primary-button,
.ghost-button,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.24);
}

.ghost-button,
.ghost-link {
  color: var(--ink);
  background: rgba(24, 33, 39, 0.08);
}

.room-action-danger {
  color: var(--danger);
  background: rgba(215, 25, 32, 0.12);
}

.primary-button:hover,
.ghost-button:hover,
.ghost-link:hover,
.tab-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.password-form,
.booking-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.account-danger-zone {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-color: rgba(215, 25, 32, 0.26);
  background: linear-gradient(160deg, rgba(243, 247, 251, 0.88), rgba(255, 255, 255, 0.72));
}

.booking-page-grid {
  align-items: start;
}

body[data-page="booking"] .booking-page-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

body[data-page="booking"] .booking-page-shell {
  padding-top: 0;
}

body[data-page="booking"] .booking-page-intro {
  display: grid;
  gap: 12px;
  padding: 24px 28px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(32, 24, 39, 0.05);
}

body[data-page="booking"] .booking-page-intro h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Space Grotesk", "Charter", "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #00263e;
}

body[data-page="booking"] .booking-page-intro .hero-copy {
  max-width: 52ch;
  margin: 0;
  color: #4e6275;
}

body[data-page="booking"] .booking-page-intro .eyebrow {
  margin-bottom: 0;
}

body[data-page="booking"] .signal-ribbon {
  grid-template-columns: 1fr;
}

body[data-page="booking"] .site-acknowledgement {
  padding-top: 14px;
}

.booking-history-shell {
  display: grid;
  gap: 18px;
}

.booking-history-shell-primary {
  margin-top: 0;
}

.booking-history-intro {
  display: grid;
  gap: 10px;
  width: min(100%, 760px);
}

.booking-history-intro h1 {
  margin: 0;
  color: #00263e;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.96;
}

.booking-history-intro .hero-copy,
.booking-history-intro .panel-copy {
  margin: 0;
  color: #4e6275;
}

.booking-history-tabs-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.booking-history-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 18px;
  background: rgba(248, 250, 253, 0.92);
}

.booking-history-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #4e6275;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.booking-history-tab:hover,
.booking-history-tab:focus-visible {
  color: #00263e;
}

.booking-history-tab.is-active {
  border-color: rgba(24, 33, 39, 0.08);
  background: #ffffff;
  color: #00263e;
  box-shadow: 0 12px 24px rgba(0, 38, 62, 0.08);
}

.booking-history-tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(215, 25, 32, 0.14);
  color: #d71920;
  font-size: 0.82rem;
  font-weight: 700;
}

.booking-history-tab.is-active .booking-history-tab-count {
  background: linear-gradient(135deg, #d71920, #9f0f16);
  color: #ffffff;
}

.booking-history-book-link {
  white-space: nowrap;
}

.booking-history-panel {
  display: grid;
  gap: 18px;
}

.booking-history-layout,
.booking-history-priority {
  display: grid;
  gap: 18px;
}

.booking-history-section-header {
  margin-bottom: 0;
}

.booking-history-section-top,
.booking-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.booking-history-dropdown {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  overflow: hidden;
}

.booking-history-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.booking-history-summary::-webkit-details-marker {
  display: none;
}

.booking-history-summary::after {
  content: "▾";
  font-size: 1rem;
  color: var(--muted);
  transition: transform 180ms ease;
}

.booking-history-dropdown[open] .booking-history-summary::after {
  transform: rotate(180deg);
}

.booking-history-summary-copy {
  display: grid;
  gap: 4px;
}

.booking-history-summary-copy h3,
.booking-history-summary-copy p {
  margin: 0;
}

.booking-history-summary-copy p:last-child {
  color: var(--muted);
}

.booking-history-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
  gap: 14px;
  padding: 0 22px 18px;
}

.reserve-page-grid {
  align-items: start;
}

.reserve-studio-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.85fr);
  gap: 34px;
  padding: 18px;
}

.reserve-studio-main {
  display: grid;
  gap: 22px;
  align-content: start;
}

.reserve-studio-copy {
  display: grid;
  gap: 16px;
}

.reserve-studio-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #00263e;
}

.reserve-detail-hero-media {
  aspect-ratio: 16 / 9;
}

.reserve-detail-thumb-card figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.reserve-room-pill {
  background: rgba(215, 25, 32, 0.14);
}

.reserve-booking-sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(32, 24, 39, 0.06);
}

.reserve-step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 18px;
  background: #f8fafc;
}

.reserve-step-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  padding: 10px 6px;
  border-radius: 12px;
  color: #7a8799;
  text-align: center;
}

.reserve-step-item span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e7ebf0;
  color: #4e6275;
  font-size: 0.82rem;
  font-weight: 800;
}

.reserve-step-item strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reserve-step-item.is-active {
  background: #ffffff;
  color: #00263e;
  box-shadow: 0 8px 18px rgba(0, 38, 62, 0.08);
}

.reserve-step-item.is-active span,
.reserve-step-item.is-complete span {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
}

.reserve-booking-form {
  gap: 18px;
}

.reserve-booking-section {
  display: grid;
  gap: 14px;
}

.reserve-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #00263e;
}

.reserve-section-heading strong {
  font-size: 1.05rem;
}

.reserve-helper-copy {
  color: #7a8799;
  font-size: 0.95rem;
  line-height: 1.5;
}

.reserve-helper-copy-strong {
  color: #00263e;
  font-weight: 600;
}

.reserve-slot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reserve-slot-grid .slot-card {
  place-items: center;
  min-height: 52px;
  padding: 12px 10px;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
}

.reserve-slot-grid .slot-card span {
  display: none;
}

.reserve-slot-grid .slot-card strong {
  font-size: 1.1rem;
  color: #00263e;
}

.reserve-slot-grid .slot-card.is-selected {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
}

.reserve-slot-grid .slot-card.is-selected strong {
  color: #ffffff;
}

.reserve-slot-empty {
  grid-column: 1 / -1;
}

.reserve-calendar-header-tight {
  justify-content: space-between;
  padding-bottom: 2px;
}

.reserve-calendar-header-tight h2 {
  margin: 0;
  font-size: 1.6rem;
  color: #00263e;
}

.reserve-calendar-nav {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #7a8799;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.reserve-calendar-weekdays {
  margin-bottom: 0;
  color: #8a95a6;
  font-size: 0.92rem;
  text-align: center;
}

.reserve-calendar-grid {
  gap: 8px;
}

.reserve-calendar-grid .calendar-cell {
  min-height: 58px;
  place-items: center;
  padding: 8px 6px;
  border-radius: 14px;
  text-align: center;
}

.reserve-calendar-grid .calendar-cell span {
  display: none;
}

.reserve-calendar-grid .calendar-cell.is-open span,
.reserve-calendar-grid .calendar-cell.is-closed span {
  display: block;
  margin-top: 2px;
  color: #8a95a6;
  font-size: 0.68rem;
}

.reserve-calendar-grid .calendar-cell strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: #00263e;
}

.reserve-calendar-grid .calendar-cell.is-selected {
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.96), rgba(159, 15, 22, 0.96));
}

.reserve-calendar-grid .calendar-cell.is-selected strong {
  color: #ffffff;
}

.reserve-calendar-grid .calendar-cell.is-selected span {
  color: rgba(255, 255, 255, 0.82);
}

.reserve-calendar-grid .calendar-cell.is-past,
.reserve-calendar-grid .calendar-cell:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.reserve-calendar-grid .calendar-cell.is-past strong,
.reserve-calendar-grid .calendar-cell.is-past span {
  color: #8a95a6;
}

.reserve-duration-stepper {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.reserve-duration-button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  color: #00263e;
  font-size: 1.6rem;
  cursor: pointer;
}

.reserve-duration-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.reserve-duration-value {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.reserve-duration-value strong {
  font-size: 2rem;
  color: #00263e;
  line-height: 1;
}

.reserve-duration-value span {
  color: #4e6275;
  font-weight: 600;
}

.reserve-price-stack {
  display: grid;
  gap: 10px;
}

.reserve-summary-context {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.reserve-summary-context strong {
  color: #00263e;
  font-size: 1.1rem;
}

.reserve-summary-context span {
  color: #4e6275;
  font-size: 0.94rem;
}

.reserve-price-line,
.reserve-price-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}

.reserve-price-line {
  color: #4e6275;
  font-size: 1rem;
}

.reserve-price-line strong {
  color: #00263e;
  font-size: 1rem;
}

.reserve-price-line-staff strong {
  font-weight: 600;
}

.reserve-price-free {
  color: var(--accent);
}

.reserve-price-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.reserve-price-total span,
.reserve-price-total strong {
  color: #00263e;
  font-size: 1.25rem;
  font-weight: 700;
}

.reserve-advanced-details {
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 18px;
  background: rgba(243, 247, 251, 0.86);
  overflow: hidden;
}

.reserve-advanced-details summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  color: #41516b;
}

.reserve-advanced-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.reserve-confirm-button {
  min-height: 56px;
  font-size: 1.05rem;
}

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

.booking-staff-shell {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
}

.booking-staff-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.booking-staff-header > div {
  display: grid;
  gap: 6px;
}

.booking-staff-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.booking-staff-shell .field-help {
  margin: 0;
}

.booking-summary-panel {
  position: sticky;
  top: 20px;
}

.booking-checkout-page-grid {
  display: block;
  gap: 24px;
}

.booking-checkout-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 32px rgba(32, 24, 39, 0.05);
}

.booking-checkout-shell.is-checkout-mode {
  gap: 16px;
}

.booking-checkout-shell.is-checkout-mode .booking-checkout-back {
  display: none;
}

.booking-checkout-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 2px 4px 0;
}

.booking-checkout-header-copy {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.booking-checkout-header-copy h1 {
  margin: 0;
  color: #00263e;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
}

.booking-checkout-kicker {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(243, 247, 251, 0.96);
  color: #d71920;
}

.booking-checkout-window,
.booking-checkout-note {
  margin: 0;
  color: #4e6275;
  font-size: 0.98rem;
  line-height: 1.6;
}

.booking-checkout-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.booking-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 18px;
  align-items: start;
}

.booking-checkout-shell.is-checkout-mode .booking-checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.48fr);
  gap: 18px;
}

.booking-checkout-main {
  display: grid;
  gap: 16px;
}

.booking-checkout-shell.is-checkout-mode .booking-checkout-main {
  gap: 16px;
}

.booking-checkout-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(32, 24, 39, 0.035);
}

.booking-checkout-shell.is-checkout-mode .booking-checkout-panel {
  gap: 16px;
  padding: 20px;
}

.booking-checkout-section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.booking-checkout-section-head > div {
  display: grid;
  gap: 6px;
}

.booking-checkout-section-head h2 {
  margin: 0;
  color: #00263e;
  font-size: 1.28rem;
  line-height: 1.08;
}

.booking-checkout-step {
  color: #8191a8;
  font-size: 0.92rem;
  font-weight: 600;
}

.booking-checkout-stack {
  gap: 12px;
}

.booking-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-contact-field {
  display: grid;
  gap: 8px;
}

.booking-contact-field-full {
  grid-column: 1 / -1;
}

.booking-contact-field > span {
  color: #00263e;
  font-size: 0.95rem;
  font-weight: 600;
}

.booking-contact-value {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(24, 33, 39, 0.1);
  border-radius: 12px;
  background: #ffffff;
  color: #4e6275;
  line-height: 1.45;
}

input.booking-contact-value,
textarea.booking-contact-value {
  width: 100%;
  font: inherit;
  outline: none;
}

textarea.booking-contact-value {
  min-height: 72px;
  padding: 12px 14px;
  resize: vertical;
}

input.booking-contact-value:focus,
textarea.booking-contact-value:focus {
  border-color: rgba(215, 25, 32, 0.48);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.1);
}

.booking-contact-actions {
  display: flex;
  justify-content: flex-end;
}

.booking-detail-note-wrap {
  display: grid;
}

.booking-payment-demo-note {
  padding: 12px 14px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 12px;
  background: rgba(248, 250, 253, 0.96);
  color: #4e6275;
  font-size: 0.92rem;
  line-height: 1.5;
}

.booking-checkout-payment #booking-payment-element {
  margin-top: 0;
  padding: 14px;
  border: 1px solid rgba(24, 33, 39, 0.1);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.booking-checkout-shell.is-checkout-mode .booking-checkout-payment #booking-payment-element {
  padding: 14px;
  border-radius: 14px;
}

.booking-checkout-summary {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(32, 24, 39, 0.055);
}

.booking-checkout-shell.is-checkout-mode .booking-checkout-summary {
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
}

.booking-checkout-summary-head h2 {
  margin: 0;
  color: #00263e;
  font-size: 1.36rem;
  line-height: 1.08;
}

.booking-summary-media,
.booking-summary-stack,
.booking-summary-pricing,
.booking-summary-support,
.booking-summary-primary-actions,
.booking-summary-secondary-actions {
  display: grid;
  gap: 12px;
}

.booking-summary-room-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(24, 33, 39, 0.08);
}

.booking-summary-room-image {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  object-fit: cover;
}

.booking-summary-room-copy {
  display: grid;
  gap: 8px;
}

.booking-summary-room-copy strong {
  color: #00263e;
  font-size: 1.15rem;
}

.booking-summary-room-copy span {
  color: #4e6275;
}

.booking-summary-room-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-summary-price-line,
.booking-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}

.booking-summary-price-line {
  color: #4e6275;
}

.booking-summary-price-line strong {
  color: #00263e;
}

.booking-summary-price-free {
  color: var(--accent);
}

.booking-summary-total {
  padding-top: 14px;
  border-top: 1px solid rgba(24, 33, 39, 0.08);
}

.booking-summary-total span,
.booking-summary-total strong {
  color: #00263e;
  font-size: 1.2rem;
  font-weight: 700;
}

.booking-summary-primary-actions .primary-button,
.booking-summary-primary-actions .ghost-button,
.booking-summary-secondary-actions .primary-button,
.booking-summary-secondary-actions .ghost-button {
  width: 100%;
  justify-content: center;
}

.booking-checkout-shell.is-checkout-mode .booking-summary-primary-actions .primary-button {
  min-height: 54px;
  font-size: 1.02rem;
}

.booking-summary-support {
  padding-top: 14px;
  border-top: 1px solid rgba(24, 33, 39, 0.08);
}

.booking-summary-support-item {
  color: #4e6275;
  line-height: 1.55;
}

.booking-checkout-staff-list {
  display: grid;
  gap: 14px;
}

.booking-staff-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.booking-staff-card-compact {
  gap: 12px;
  padding: 14px;
}

.booking-staff-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.booking-staff-card-top-compact {
  align-items: start;
}

.booking-staff-card-copy {
  display: grid;
  gap: 4px;
}

.booking-staff-card-copy strong {
  color: #00263e;
  font-size: 1.05rem;
}

.booking-staff-card-copy span {
  color: #4e6275;
}

.booking-staff-card-price {
  color: #00263e;
  font-size: 1.05rem;
}

.booking-staff-card-tags {
  display: grid;
  gap: 10px;
}

.booking-detail-summary-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.booking-detail-summary-main {
  display: grid;
  gap: 12px;
}

.booking-detail-summary-side {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.82);
}

.booking-detail-summary-copy {
  margin: 0;
}

.booking-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(24, 33, 39, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(0, 38, 62, 0.04);
}

.booking-card-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.booking-card-media {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(248, 250, 253, 0.9);
}

.booking-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-card-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.booking-card-heading {
  display: grid;
  gap: 6px;
}

.booking-card-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.booking-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: #4e6275;
  font-size: 0.93rem;
}

.booking-card-note {
  color: #4e6275;
  font-size: 0.93rem;
  line-height: 1.5;
}

.booking-card-category {
  background: rgba(215, 25, 32, 0.12);
  color: #d71920;
  border-color: rgba(215, 25, 32, 0.18);
}

.booking-card-side {
  display: grid;
  justify-items: end;
  gap: 10px;
  min-width: 190px;
}

.booking-card-status-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.booking-card-status-note {
  color: #8191a8;
  font-size: 0.9rem;
  text-align: right;
}

.booking-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.booking-card-price {
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
  font-size: 1.15rem;
  white-space: nowrap;
}

.booking-card-pending {
  background: linear-gradient(160deg, rgba(243, 247, 251, 0.92), rgba(255, 255, 255, 0.78));
  border-color: rgba(215, 25, 32, 0.26);
  box-shadow: 0 14px 28px rgba(54, 23, 17, 0.07);
}

.booking-card-secondary {
  background: rgba(255, 255, 255, 0.72);
}

.payment-deadline-note {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-weight: 600;
}

.reserve-planner,
.reserve-summary {
  display: grid;
  gap: 16px;
}

.reserve-summary {
  position: sticky;
  top: 20px;
}

.booking-toolbar-form {
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr) auto;
  align-items: end;
}

.reserve-toolbar,
.reserve-calendar-actions,
.reserve-calendar-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.slot-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.slot-card:hover {
  transform: translateY(-1px);
  border-color: rgba(215, 25, 32, 0.34);
}

.slot-card strong {
  font-size: 1rem;
}

.slot-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.slot-card.is-selected {
  border-color: var(--accent);
  background: rgba(243, 247, 251, 0.7);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.calendar-weekdays {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.calendar-cell {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.calendar-cell:hover {
  transform: translateY(-1px);
}

.calendar-cell strong {
  font-size: 1rem;
}

.calendar-cell span {
  color: var(--muted);
  font-size: 0.9rem;
}

.calendar-cell.is-open {
  border-color: rgba(0, 38, 62, 0.24);
}

.calendar-cell.is-closed {
  opacity: 0.76;
}

.calendar-cell.is-selected {
  border-color: var(--accent);
  background: rgba(243, 247, 251, 0.68);
}

.calendar-cell-empty {
  min-height: 96px;
  border-radius: var(--radius-md);
  background: transparent;
}

.summary-stack,
.detail-stack {
  display: grid;
  gap: 12px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.summary-line span {
  color: var(--muted);
}

.summary-line strong {
  text-align: right;
}

.booking-promo-shell {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(16, 13, 14, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.booking-promo-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.booking-promo-field {
  width: 100%;
}

.booking-promo-feedback {
  min-height: 0;
}

.booking-promo-feedback strong {
  display: block;
  margin-bottom: 4px;
}

.booking-promo-feedback-success {
  border-color: rgba(0, 38, 62, 0.26);
  background: rgba(241, 249, 248, 0.92);
}

.booking-promo-feedback-error {
  border-color: rgba(215, 25, 32, 0.28);
  background: rgba(243, 247, 251, 0.92);
}

.room-card-rich {
  display: grid;
  gap: 14px;
}

.building-gallery-card {
  min-height: 100%;
}

.room-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.room-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.16), rgba(0, 38, 62, 0.14));
}

.room-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.room-card-premium {
  gap: 0;
}

.room-card-premium .room-card-top,
.room-card-premium .room-card-summary-row,
.room-card-premium .room-meta,
.room-card-premium .availability-preview,
.room-card-premium .room-actions {
  margin-left: 18px;
  margin-right: 18px;
}

.room-card-premium .room-card-top {
  margin-top: 18px;
}

.room-card-summary-row {
  color: #4e6275;
}

.room-card-summary-row strong {
  font-size: 1.6rem;
  color: #00263e;
  line-height: 1;
}

.rooms-hero-polish {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 247, 251, 0.96));
}

.room-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 28px;
}

.room-detail-main {
  display: grid;
  gap: 22px;
}

.room-detail-back {
  color: var(--muted);
  font-weight: 600;
}

.room-detail-gallery {
  display: grid;
  gap: 12px;
}

.room-detail-hero-media,
.room-detail-thumb-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
}

.room-detail-hero-media {
  aspect-ratio: 16 / 9;
}

.room-detail-thumb-card {
  padding: 10px;
}

.room-detail-copy {
  display: grid;
  gap: 14px;
}

.room-detail-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.room-detail-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.room-detail-amenity {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #41516b;
}

.room-detail-booking-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(32, 24, 39, 0.06);
}

.room-detail-booking-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.room-detail-booking-price-row strong {
  font-size: 3rem;
  line-height: 1;
  color: #00263e;
}

.room-detail-booking-price-row span {
  color: #4e6275;
}

.room-detail-booking-actions {
  display: grid;
  gap: 12px;
}

.studio-footer {
  width: min(calc(100% - 40px), 1800px);
  margin: 26px auto 0;
  padding: 34px 0 18px;
  border-top: 1px solid rgba(24, 33, 39, 0.08);
}

.studio-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(140px, 1fr));
  gap: 28px;
}

.studio-footer-brand {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.studio-footer-logo {
  font-family: "Space Grotesk", "Charter", "Iowan Old Style", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #00263e;
}

.studio-footer h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #00263e;
}

.studio-footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.studio-footer-support-copy {
  margin: 0;
}

.studio-footer-support-copy a {
  display: inline;
  margin: 0;
  color: var(--accent);
  font-weight: 600;
}

.studio-footer-compact {
  padding-top: 28px;
}

.studio-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 33, 39, 0.08);
  color: var(--muted);
}

.studio-footer-inline-links {
  display: flex;
  gap: 16px;
}

.availability-preview {
  padding: 14px;
  border: 1px solid rgba(24, 33, 39, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.availability-preview p {
  margin: 6px 0 0;
}

.availability-label {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
}

.preview-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

#availability-summary strong {
  display: block;
  margin-bottom: 4px;
}

#availability-summary span {
  color: var(--muted);
}

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

.admin-command-center {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid rgba(0, 38, 62, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 38, 62, 0.06);
}

.admin-command-copy {
  display: grid;
  gap: 8px;
  align-content: center;
}

.admin-command-copy h1 {
  margin: 0;
  color: #00263e;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.98;
}

.admin-command-copy p:last-child {
  margin: 0;
  color: #4e6275;
  line-height: 1.55;
}

.admin-command-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-command-card {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(0, 38, 62, 0.1);
  border-radius: 16px;
  background: #f8fafc;
  color: #00263e;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-command-card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 25, 32, 0.22);
  box-shadow: 0 14px 24px rgba(0, 38, 62, 0.08);
}

.admin-command-card span {
  color: #7a8799;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-command-card strong {
  font-size: 1rem;
  line-height: 1.2;
}

.admin-command-card.is-primary {
  border-color: rgba(215, 25, 32, 0.2);
  background: linear-gradient(135deg, #d71920, #9f0f16);
  color: #ffffff;
}

.admin-command-card.is-primary span {
  color: rgba(255, 255, 255, 0.78);
}

.admin-workspace-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.admin-tab-switcher {
  flex-wrap: wrap;
}

.admin-workspace-picker {
  display: grid;
  gap: 8px;
}

.admin-subpage-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: 16px;
  align-items: end;
}

.admin-subpage-switcher {
  flex-wrap: wrap;
}

.admin-subpage-picker,
.admin-subpage-stack {
  display: grid;
  gap: 12px;
}

.admin-tab-panel {
  display: grid;
  gap: 18px;
}

.admin-bookings-shell {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.76), rgba(235, 227, 229, 0.66));
}

.admin-room-calendar-shell {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(243, 247, 251, 0.68));
}

.admin-bookings-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 240px)) 1fr;
  gap: 14px;
  align-items: end;
}

.admin-room-calendar-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 240px));
  gap: 14px;
  align-items: end;
}

.admin-schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-room-calendar-grid {
  display: grid;
  gap: 14px;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.admin-room-calendar-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.admin-room-calendar-header h4,
.admin-room-calendar-header p {
  margin: 0;
}

.admin-room-calendar-header p {
  color: var(--muted);
  line-height: 1.5;
}

.admin-room-calendar-weekdays,
.admin-room-calendar-cells {
  min-width: 720px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.admin-room-calendar-weekdays span {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-room-calendar-spacer,
.admin-room-calendar-day {
  min-height: 132px;
  border-radius: var(--radius-md);
}

.admin-room-calendar-spacer {
  border: 1px dashed rgba(16, 13, 14, 0.08);
  background: rgba(255, 255, 255, 0.18);
}

.admin-room-calendar-day {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  text-align: left;
  border: 1px solid rgba(16, 13, 14, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 233, 234, 0.84));
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.admin-room-calendar-day:hover,
.admin-room-calendar-day:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(215, 25, 32, 0.28);
  box-shadow: 0 14px 24px rgba(16, 13, 14, 0.08);
}

.admin-room-calendar-day strong {
  font-size: 1.2rem;
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
}

.admin-room-calendar-day span,
.admin-room-calendar-day small {
  color: var(--muted);
  line-height: 1.45;
}

.admin-room-calendar-day.is-busy {
  border-color: rgba(36, 29, 31, 0.2);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(242, 233, 235, 0.9));
}

.admin-room-calendar-day.is-pending {
  border-color: rgba(215, 25, 32, 0.28);
  background: linear-gradient(180deg, rgba(243, 247, 251, 0.96), rgba(243, 247, 251, 0.92));
}

.admin-room-calendar-day.is-closed {
  background: linear-gradient(180deg, rgba(239, 233, 234, 0.92), rgba(225, 218, 220, 0.88));
}

.admin-room-calendar-day.is-today {
  box-shadow: inset 0 0 0 2px rgba(215, 25, 32, 0.2);
}

.admin-room-calendar-day.is-selected {
  border-color: rgba(159, 15, 22, 0.48);
  box-shadow: inset 0 0 0 2px rgba(159, 15, 22, 0.18);
}

.admin-day-schedule {
  display: grid;
  gap: 12px;
}

.admin-schedule-hours,
.admin-day-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.admin-schedule-hour-track,
.admin-day-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
}

.admin-schedule-hour-track span {
  padding-left: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-day-room,
.admin-day-track {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
}

.admin-day-room {
  display: grid;
  gap: 6px;
}

.admin-day-room span,
.admin-day-empty {
  color: var(--muted);
}

.admin-day-track {
  position: relative;
  min-height: 124px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 13, 14, 0.03), rgba(16, 13, 14, 0.01)),
    rgba(255, 255, 255, 0.72);
}

.admin-day-grid {
  position: absolute;
  inset: 0;
}

.admin-day-grid span {
  border-left: 1px solid rgba(16, 13, 14, 0.08);
}

.admin-day-grid span:first-child {
  border-left: 0;
}

.admin-day-empty {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
}

.admin-schedule-block {
  position: absolute;
  top: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: #fffaf4;
  background: linear-gradient(145deg, rgba(16, 13, 14, 0.94), rgba(54, 16, 18, 0.92));
  box-shadow: 0 14px 26px rgba(16, 13, 14, 0.18);
}

.admin-schedule-block strong,
.admin-schedule-block span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-booking-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-booking-summary-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.admin-booking-summary-card:hover,
.admin-booking-summary-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(215, 25, 32, 0.28);
  box-shadow: 0 14px 24px rgba(16, 13, 14, 0.08);
}

.admin-booking-summary-card.is-active {
  border-color: rgba(215, 25, 32, 0.34);
  background: linear-gradient(160deg, rgba(255, 248, 246, 0.9), rgba(255, 255, 255, 0.76));
}

.admin-bookings-workbench {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-bookings-sidebar,
.admin-bookings-results-shell {
  display: grid;
  gap: 16px;
}

.admin-bookings-sidebar {
  position: sticky;
  top: 20px;
}

.admin-bookings-results-shell {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.76), rgba(239, 231, 233, 0.68));
}

.admin-booking-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-booking-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.admin-booking-filter-chip span {
  font-weight: 700;
}

.admin-booking-filter-chip.is-active {
  border-color: rgba(215, 25, 32, 0.34);
  background: linear-gradient(145deg, rgba(255, 248, 246, 0.94), rgba(255, 255, 255, 0.8));
}

.admin-booking-results-board,
.admin-booking-group,
.admin-booking-group-list,
.admin-booking-record {
  display: grid;
  gap: 14px;
}

.admin-booking-group {
  padding-top: 8px;
  border-top: 1px solid rgba(16, 13, 14, 0.08);
}

.admin-booking-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-booking-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-booking-group-header h4,
.admin-booking-group-header p {
  margin: 0;
}

.admin-booking-group-header p {
  color: var(--muted);
}

.admin-booking-record {
  padding: 20px;
  border: 1px solid rgba(16, 13, 14, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(247, 243, 244, 0.86));
  box-shadow: 0 18px 34px rgba(16, 13, 14, 0.07);
  color: var(--ink);
}

.admin-booking-record.status-pendingpayment {
  background: linear-gradient(160deg, rgba(243, 247, 251, 0.96), rgba(255, 255, 255, 0.9));
  border-color: rgba(215, 25, 32, 0.24);
  color: var(--ink);
}

.admin-booking-record.status-paid {
  background: linear-gradient(160deg, rgba(243, 247, 251, 0.96), rgba(255, 255, 255, 0.9));
  border-color: rgba(215, 25, 32, 0.2);
  color: var(--ink);
}

.admin-booking-record.status-completed {
  background: linear-gradient(160deg, rgba(246, 246, 246, 0.96), rgba(255, 255, 255, 0.92));
  border-color: rgba(34, 34, 34, 0.14);
  color: var(--ink);
}

.admin-booking-record.status-cancelled,
.admin-booking-record.status-refunded {
  background: linear-gradient(160deg, rgba(244, 242, 242, 0.96), rgba(255, 255, 255, 0.9));
  border-color: rgba(113, 107, 108, 0.24);
  color: var(--ink);
}

.admin-promo-form,
.admin-promo-codes-list {
  display: grid;
  gap: 14px;
}

.admin-promo-codes-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-promo-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(16, 13, 14, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 26px rgba(16, 13, 14, 0.05);
}

.admin-promo-card.is-inactive {
  background: rgba(243, 247, 251, 0.86);
}

.admin-promo-card-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.admin-promo-card-header h4,
.admin-promo-card-header p {
  margin: 0;
}

.admin-promo-card-header p {
  color: var(--muted);
}

.admin-booking-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.admin-booking-heading,
.admin-booking-topline,
.admin-booking-pill-stack,
.admin-booking-contact-links {
  display: grid;
  gap: 8px;
}

.admin-booking-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-booking-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 13, 14, 0.07);
  color: var(--ink);
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-booking-urgency {
  border: 0;
  background: rgba(215, 25, 32, 0.12);
  color: var(--accent-deep);
}

.admin-booking-primary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-booking-panel-card,
.admin-booking-info-block {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(16, 13, 14, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.admin-booking-panel-card p,
.admin-booking-info-block p {
  margin: 0;
}

.admin-booking-timeline-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-booking-timeline-row span {
  color: var(--muted);
}

.admin-booking-timeline-row strong {
  font-size: 0.96rem;
}

.admin-booking-secondary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-booking-actions .ghost-link {
  text-decoration: none;
}

.status-pendingpayment {
  background: linear-gradient(145deg, rgba(159, 15, 22, 0.94), rgba(95, 10, 15, 0.92));
  color: #ffffff;
}

.status-paid {
  background: linear-gradient(145deg, rgba(116, 25, 25, 0.95), rgba(76, 15, 15, 0.9));
  color: #fff4f4;
}

.status-completed {
  background: linear-gradient(145deg, rgba(34, 34, 34, 0.96), rgba(10, 10, 10, 0.92));
  color: #f5f5f5;
}

.status-cancelled,
.status-refunded {
  background: linear-gradient(145deg, rgba(113, 107, 108, 0.86), rgba(83, 78, 79, 0.82));
  color: #ffffff;
}

.pill.status-pendingpayment,
.pill.status-paid,
.pill.status-completed,
.pill.status-cancelled,
.pill.status-refunded {
  border: 0;
}

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

.admin-bulk-danger {
  border-color: rgba(215, 25, 32, 0.28);
  background: linear-gradient(160deg, rgba(243, 247, 251, 0.84), rgba(255, 255, 255, 0.72));
}

.admin-accounts-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-account-column {
  display: grid;
  gap: 14px;
}

.admin-accounts-list {
  display: grid;
  gap: 12px;
}

.admin-test-cases-list {
  display: grid;
  gap: 14px;
}

.test-status-card {
  gap: 8px;
}

.test-status-light {
  display: inline-flex;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(15, 15, 15, 0.12);
}

.test-health-pill {
  gap: 8px;
}

.test-health-working .test-status-light,
.test-status-light.test-health-working {
  background: #2f9e44;
}

.test-health-needs-fix .test-status-light,
.test-status-light.test-health-needs-fix {
  background: #d71920;
}

.test-health-not-working .test-status-light,
.test-status-light.test-health-not-working {
  background: #c92a2a;
}

.test-health-total .test-status-light,
.test-status-light.test-health-total {
  background: #3b3b3b;
}

.admin-account-list-item {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.76), rgba(243, 247, 251, 0.64));
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.admin-account-list-item.is-selected {
  border-color: rgba(159, 15, 22, 0.34);
  box-shadow: 0 14px 28px rgba(31, 18, 19, 0.1);
}

.admin-account-list-top {
  display: grid;
  gap: 4px;
}

.admin-account-list-top span,
.admin-account-list-item p {
  margin: 0;
  color: var(--muted);
}

.admin-account-detail {
  display: grid;
  gap: 14px;
}

.admin-account-detail-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(243, 247, 251, 0.66));
}

.admin-account-detail-header,
.admin-account-stats,
.admin-detail-grid {
  display: grid;
  gap: 14px;
}

.admin-account-detail-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.admin-account-detail-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.metric-value-small {
  font-size: 1rem;
  line-height: 1.4;
}

.admin-account-section {
  display: grid;
  gap: 12px;
}

.admin-account-section h4 {
  margin: 0;
}

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

.admin-detail-field {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 33, 39, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.admin-detail-field span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-detail-field.is-mono .admin-detail-value {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
}

.admin-detail-value {
  line-height: 1.5;
  color: var(--ink);
}

.admin-test-case-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(243, 247, 251, 0.66));
}

.admin-test-case-card.test-health-working {
  border-color: rgba(47, 158, 68, 0.26);
}

.admin-test-case-card.test-health-needs-fix {
  border-color: rgba(215, 25, 32, 0.32);
  background: linear-gradient(160deg, rgba(243, 247, 251, 0.9), rgba(255, 255, 255, 0.72));
}

.admin-test-case-card.test-health-not-working {
  border-color: rgba(201, 42, 42, 0.28);
  background: linear-gradient(160deg, rgba(255, 241, 241, 0.9), rgba(255, 255, 255, 0.72));
}

.admin-test-case-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.admin-test-case-header h4,
.admin-test-case-header p,
.admin-test-case-section {
  margin: 0;
}

.admin-test-case-header p {
  margin-top: 6px;
  color: var(--muted);
}

.admin-test-case-section {
  display: grid;
  gap: 10px;
}

.admin-test-case-section > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-grid-staff {
  grid-template-columns: minmax(320px, 520px);
  margin-bottom: 18px;
}

.admin-subpanel h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

body[data-page="admin"] {
  background: #ffffff;
}

body[data-page="admin"] .admin-site-frame {
  max-width: none;
  padding: 0;
}

body[data-page="admin"] .admin-site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  max-width: none;
  margin: 0;
  padding: 18px max(24px, calc((100vw - 1160px) / 2));
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(0, 38, 62, 0.04);
}

body[data-page="admin"] .admin-site-header .site-nav {
  justify-content: flex-end;
}

body[data-page="admin"] .admin-header-actions {
  flex-wrap: nowrap;
}

.admin-page-shell {
  width: min(1160px, calc(100% - 48px));
  min-height: 68vh;
  margin: 0 auto;
  padding: 36px 0 88px;
}

.admin-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 28px;
}

.admin-dashboard-copy {
  display: grid;
  gap: 8px;
}

.admin-dashboard-copy h1 {
  margin: 0;
  color: #00263e;
  font-family: "Charter", "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.95;
}

.admin-dashboard-copy p:last-child {
  max-width: 620px;
  margin: 0;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.55;
}

.admin-new-studio-button {
  min-width: 128px;
  justify-content: center;
  box-shadow: 0 16px 30px rgba(215, 25, 32, 0.18);
}

.admin-empty-state {
  max-width: 760px;
}

#admin-workspace-shell {
  display: grid;
  gap: 26px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-kpi-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  min-height: 86px;
  padding: 20px;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 8px;
  background: #f8fafc;
}

.admin-kpi-card span:first-child,
.admin-kpi-card > div > span {
  display: block;
  margin-bottom: 10px;
  color: #71839b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-kpi-card strong {
  color: #14243c;
  font-size: 1.55rem;
  line-height: 1;
}

.admin-kpi-icon {
  color: #d71920;
  font-weight: 800;
}

body[data-page="admin"] .admin-workspace-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

body[data-page="admin"] .admin-tab-switcher,
body[data-page="admin"] .admin-subpage-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 0;
  border-radius: 8px;
  background: #eef2f7;
}

body[data-page="admin"] .admin-tab-switcher .tab-button,
body[data-page="admin"] .admin-subpage-switcher .tab-button {
  min-height: 34px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #62748b;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: none;
}

body[data-page="admin"] .admin-tab-switcher .tab-button.active,
body[data-page="admin"] .admin-subpage-switcher .tab-button.active {
  color: #14243c;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

body[data-page="admin"] .admin-workspace-picker,
body[data-page="admin"] .admin-subpage-picker {
  display: none;
}

body[data-page="admin"] .admin-tab-panel {
  gap: 18px;
}

body[data-page="admin"] .admin-tab-panel > .panel-header {
  margin: 0;
}

body[data-page="admin"] .panel-header h3 {
  margin-bottom: 6px;
  color: #14243c;
  font-size: 1.12rem;
}

body[data-page="admin"] .panel-copy {
  color: #64748b;
}

body[data-page="admin"] .admin-subpage-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

body[data-page="admin"] .admin-bookings-results-shell,
body[data-page="admin"] .admin-room-calendar-shell,
body[data-page="admin"] .admin-bookings-shell,
body[data-page="admin"] .admin-subpanel,
body[data-page="admin"] .admin-account-column,
body[data-page="admin"] .admin-room-management-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="admin"] .admin-booking-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 0;
}

body[data-page="admin"] .admin-booking-summary-card,
body[data-page="admin"] .metric-card {
  padding: 16px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: none;
}

body[data-page="admin"] .admin-booking-summary-card .metric-value,
body[data-page="admin"] .metric-card .metric-value {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0;
}

body[data-page="admin"] .admin-booking-quick-filters {
  gap: 8px;
}

body[data-page="admin"] .admin-booking-group {
  gap: 10px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(0, 38, 62, 0.08);
}

body[data-page="admin"] .admin-booking-group-header {
  padding: 0 6px;
}

.admin-booking-row,
.admin-studio-row,
.admin-role-row {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 8px;
  background: #f8fafc;
}

.admin-booking-row {
  grid-template-columns: 18px minmax(150px, 1.25fr) minmax(150px, 1.25fr) minmax(120px, 0.9fr) minmax(110px, 0.8fr) auto auto;
}

.admin-booking-row-select {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(215, 25, 32, 0.7);
  border-radius: 999px;
  background: #ffffff;
}

.admin-booking-row-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-booking-row-cell strong,
.admin-studio-main h3,
.admin-role-identity strong {
  overflow: hidden;
  color: #14243c;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-booking-row-cell span,
.admin-studio-main p,
.admin-role-identity p {
  overflow: hidden;
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-booking-row-status {
  justify-self: start;
}

.admin-booking-row-actions,
.admin-studio-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 8px;
}

.admin-icon-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #14243c;
  font-weight: 800;
  cursor: pointer;
}

.admin-icon-button.admin-action-button {
  width: auto;
  min-width: 64px;
  padding: 0 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-icon-button:hover,
.admin-icon-button:focus-visible {
  border-color: rgba(215, 25, 32, 0.32);
  color: #d71920;
}

.admin-icon-button.is-primary {
  border-color: rgba(215, 25, 32, 0.22);
  color: #d71920;
}

.admin-icon-button.is-danger {
  border-color: rgba(215, 25, 32, 0.26);
  color: #d71920;
}

body[data-page="admin"] #rooms-grid {
  display: grid;
  gap: 12px;
}

.admin-studio-row {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  min-height: 78px;
}

.admin-studio-thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 8px;
  background: #e7edf5;
}

.admin-studio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-studio-thumb span {
  display: grid;
  height: 100%;
  place-items: center;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.admin-studio-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.admin-studio-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-studio-title-row h3 {
  margin: 0;
  font-size: 1.02rem;
}

.admin-section-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.admin-role-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.admin-role-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #64748b;
  background: transparent;
}

.admin-roles-list {
  display: grid;
  gap: 12px;
}

.admin-role-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-role-identity {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.admin-role-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: rgba(215, 25, 32, 0.1);
  color: #d71920;
  font-weight: 800;
}

body.admin-room-modal-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.72);
}

body[data-page="admin"] #room-form {
  display: none;
}

body[data-page="admin"].admin-room-modal-active #room-form:not(.hidden) {
  display: grid;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 100;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 72px);
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 24px;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 16, 32, 0.32);
}

body[data-page="admin"] #room-form:not(.hidden) h3 {
  margin: 0 0 4px;
  color: #14243c;
  font-size: 1.2rem;
}

body[data-page="admin"] #room-form:not(.hidden) label,
body[data-page="admin"] #admin-staff-profile-form label,
body[data-page="admin"] #admin-manual-booking-form label,
body[data-page="admin"] #admin-booking-lookup-form label,
body[data-page="admin"] #admin-promo-form label {
  gap: 8px;
}

body[data-page="admin"] #room-form:not(.hidden) input,
body[data-page="admin"] #room-form:not(.hidden) textarea,
body[data-page="admin"] #room-form:not(.hidden) select {
  min-height: 42px;
  border-color: rgba(0, 38, 62, 0.16);
  background: #ffffff;
}

body[data-page="admin"] .admin-footer {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 0;
}

body[data-page="admin"] .site-acknowledgement {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 32px;
}

@media (max-width: 1080px) {
  body[data-page="admin"] .admin-site-header {
    padding: 18px 24px;
  }

  .admin-kpi-grid,
  body[data-page="admin"] .admin-booking-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-booking-row {
    grid-template-columns: 18px minmax(0, 1fr) auto;
  }

  .admin-booking-row-cell:nth-of-type(3),
  .admin-booking-row-cell:nth-of-type(4),
  .admin-booking-row-cell:nth-of-type(5),
  .admin-booking-row-status {
    display: none;
  }
}

@media (max-width: 720px) {
  .admin-page-shell,
  body[data-page="admin"] .admin-footer,
  body[data-page="admin"] .site-acknowledgement {
    width: min(100% - 24px, 1160px);
  }

  .admin-dashboard-hero,
  .admin-studio-row,
  .admin-role-row {
    grid-template-columns: 1fr;
  }

  .admin-kpi-grid,
  body[data-page="admin"] .admin-booking-summary-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .admin-workspace-nav,
  body[data-page="admin"] .admin-subpage-nav {
    align-items: flex-start;
    overflow-x: auto;
  }

  body[data-page="admin"] .admin-tab-switcher,
  body[data-page="admin"] .admin-subpage-switcher {
    flex-wrap: nowrap;
  }

  .admin-studio-actions,
  .admin-booking-row-actions {
    justify-content: flex-start;
  }
}

.empty-state {
  padding: 16px 18px;
  border: 1px dashed rgba(24, 33, 39, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.52);
}

.signal-ribbon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.signal-ribbon-compact {
  grid-template-columns: 1fr;
}

.signal-panel {
  padding: 16px 18px;
  background: var(--surface-strong);
}

.signal-panel strong {
  display: block;
  margin-bottom: 6px;
}

.site-acknowledgement {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.site-acknowledgement p {
  margin: 0;
  max-width: 110ch;
}

.site-acknowledgement-credit {
  color: var(--ink);
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.is-success {
  color: var(--success);
}

.is-error {
  color: var(--danger);
}

@media (max-width: 980px) {
  .reserve-studio-shell {
    grid-template-columns: 1fr;
  }

  .reserve-booking-sidebar {
    position: static;
    order: -1;
  }

  .page-hero-layout {
    grid-template-columns: 1fr;
  }

  .page-hero-polish {
    padding: 24px;
  }

  body[data-page="home"] .panel.panel-wide,
  body[data-page="home"] .home-hero-summary,
  body[data-page="home"] .home-carousel-captions,
  body[data-page="home"] .signal-ribbon,
  body[data-page="home"] .site-acknowledgement {
    width: calc(100% - 24px);
  }

  body[data-page="home"] .home-carousel-slides-container {
    height: 80vh;
    min-height: 620px;
  }

  body[data-page="home"] .home-hero-summary {
    padding: 26px 24px;
  }

  body[data-page="home"] .home-hero-summary-copy h1 {
    font-size: clamp(2.8rem, 11vw, 4.8rem);
  }

  body[data-page="home"] .home-hero-utility,
  body[data-page="home"] .home-composition-grid,
  body[data-page="home"] .home-arrival-grid,
  body[data-page="home"] .home-studio-glimpse-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-glimpse-card-tall {
    grid-row: auto;
  }
}

@keyframes rise-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
  }

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

  .header-actions {
    justify-content: flex-start;
  }

  .header-user-trigger-label {
    max-width: 168px;
  }

  .status-strip,
  .page-grid,
  .hero-status-inline,
  .signal-ribbon,
  .admin-grid,
  .admin-command-center,
  .admin-workspace-nav,
  .admin-subpage-nav,
  .admin-bookings-toolbar,
  .admin-room-calendar-toolbar,
  .admin-bookings-workbench,
  .admin-booking-summary-grid,
  .admin-booking-primary-grid,
  .admin-grid-bookings,
  .admin-grid-rooms,
  .admin-grid-staff,
  .admin-accounts-shell,
  .feature-list,
  .story-grid,
  .home-hero-grid,
  .home-visit-grid,
  .home-location-grid,
  .home-carousel-captions {
    grid-template-columns: 1fr;
  }

  .booking-toolbar-form {
    grid-template-columns: 1fr;
  }

  .rooms-catalog-toolbar {
    grid-template-columns: 1fr;
  }

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

  .rooms-toolbar-actions {
    width: 100%;
  }

  .rooms-sort-shell,
  .rooms-filter-toggle {
    flex: 1 1 0;
  }

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

  .booking-checkout-layout {
    grid-template-columns: 1fr;
  }

  .booking-checkout-summary {
    position: static;
  }

  .booking-promo-toolbar {
    grid-template-columns: 1fr;
  }

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

  body[data-page="home"] .home-hero-utility {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .home-composition-grid,
  body[data-page="home"] .home-arrival-grid,
  body[data-page="home"] .home-studio-glimpse-grid,
  body[data-page="home"] .home-featured-grid {
    grid-template-columns: 1fr;
  }

  .booking-reschedule-grid,
  .profile-avatar-shell {
    grid-template-columns: 1fr;
  }

  .staff-editor-row {
    grid-template-columns: 1fr;
  }

  .admin-staff-catalog-list {
    grid-template-columns: 1fr;
  }

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

  .admin-bookings-sidebar {
    position: static;
  }

  .admin-schedule-hours,
  .admin-day-row,
  .admin-room-calendar-header,
  .admin-booking-header,
  .admin-promo-card-header,
  .admin-account-detail-header,
  .admin-account-stats,
  .admin-test-case-header,
  .admin-detail-grid,
  .booking-history-section-top,
  .booking-card-top {
    grid-template-columns: 1fr;
  }

  .booking-history-tabs-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-card {
    grid-template-columns: 1fr;
  }

  .booking-card-side,
  .booking-card-status-group {
    justify-items: start;
  }

  .booking-card-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .reserve-studio-shell {
    padding: 14px;
    gap: 20px;
  }

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

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

  .reserve-calendar-grid .calendar-cell {
    min-height: 52px;
  }

  .site-frame {
    padding: 16px 12px 28px;
  }

  .page-hero-polish {
    padding: 22px 18px;
  }

  .page-hero-polish h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  body[data-page="booking"] .booking-page-intro {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .booking-checkout-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .booking-checkout-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .booking-checkout-panel,
  .booking-checkout-summary {
    padding: 18px;
    border-radius: 20px;
  }

  .booking-checkout-header-copy h1,
  .booking-checkout-summary-head h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .booking-checkout-section-head h2 {
    font-size: 1.4rem;
  }

  .booking-contact-grid {
    grid-template-columns: 1fr;
  }

  .booking-staff-card-top,
  .booking-summary-room-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .booking-summary-room-image {
    width: 100%;
    height: 180px;
  }

  body[data-page="booking"] .signal-ribbon {
    gap: 12px;
  }

  .rooms-catalog-shell {
    padding-top: 8px;
  }

  .rooms-catalog-header h1 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .rooms-toolbar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .rooms-sort-shell,
  .rooms-filter-toggle {
    min-width: 0;
    width: 100%;
  }

  .rooms-grid-catalog {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .room-catalog-description {
    min-height: auto;
  }

  .admin-command-center {
    padding: 16px;
    border-radius: 18px;
  }

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

  .admin-command-card {
    min-height: 84px;
  }

  .reserve-confirm-button {
    position: sticky;
    bottom: 10px;
    z-index: 6;
    box-shadow: 0 14px 28px rgba(215, 25, 32, 0.18);
  }

  .booking-history-tabs {
    width: 100%;
  }

  .booking-history-tab {
    flex: 1 1 0;
    justify-content: space-between;
  }

  .booking-card-main {
    grid-template-columns: 1fr;
  }

  .booking-card-media {
    width: 100%;
    height: 180px;
  }

  .room-catalog-quick-action {
    opacity: 1;
    transform: translateY(0);
    top: 60%;
  }

  .header-user-menu {
    right: 0;
    min-width: 180px;
  }

  .header-user-trigger-label {
    max-width: 128px;
  }

  .site-header,
  .hero-card,
  .panel,
  .status-chip,
  .signal-panel {
    padding: 16px;
  }

  .site-header-glass {
    top: 8px;
  }

  .hero-card h1 {
    font-size: 2.5rem;
  }

  .home-carousel-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .home-carousel-progress {
    width: 100%;
  }

  .home-carousel-dots {
    justify-content: center;
  }

  body[data-page="home"] .panel.panel-wide,
  body[data-page="home"] .home-hero-summary,
  body[data-page="home"] .home-carousel-captions,
  body[data-page="home"] .signal-ribbon,
  body[data-page="home"] .site-acknowledgement {
    width: calc(100% - 16px);
  }

  body[data-page="home"] .home-layout-full {
    gap: 20px;
  }

  body[data-page="home"] .home-hero-shell {
    min-height: auto;
    padding-bottom: 0;
  }

  body[data-page="home"] .home-carousel-slides-container {
    height: 74vh;
    min-height: 560px;
  }

  body[data-page="home"] .home-hero-summary {
    margin-top: 16px;
    padding: 20px 18px;
  }

  body[data-page="home"] .home-hero-summary-copy h1 {
    max-width: 9ch;
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  body[data-page="home"] .home-hero-summary-copy .hero-actions {
    gap: 10px;
  }

  body[data-page="home"] .home-carousel-controls {
    padding: 0 8px 16px;
    grid-template-columns: auto 1fr auto;
    align-items: end;
  }

  body[data-page="home"] .home-carousel-progress {
    justify-items: center;
  }

  body[data-page="home"] .home-hero-utility {
    gap: 10px;
    grid-template-columns: 1fr;
    padding-top: 10px;
  }

  body[data-page="home"] .home-composition-panel,
  body[data-page="home"] .home-arrival-panel {
    padding: 22px 18px;
  }

  body[data-page="home"] .home-featured-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-map-frame {
    min-height: 300px;
  }

  body[data-page="home"] .home-carousel-button {
    width: 46px;
    min-width: 46px;
    height: 46px;
    font-size: 1.7rem;
  }

  .panel h2 {
    font-size: 1.65rem;
  }

  .staff-option-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .staff-booking-layout,
  .staff-booking-grid-two {
    grid-template-columns: 1fr;
  }

  .staff-booking-summary {
    position: static;
  }

  .staff-option-toggle {
    justify-content: start;
  }

  .staff-profile-card-top,
  .staff-photo-preview-card {
    grid-template-columns: 1fr;
  }

  .admin-booking-timeline-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .site-acknowledgement {
    font-size: 0.92rem;
  }
}

.site-header,
.booking-checkout-shell,
.booking-contact-value,
.booking-payment-demo-note,
.booking-checkout-payment #booking-payment-element,
.calendar-cell {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.brand-mark,
.brand-mark-label,
.site-header.site-header-public .brand-mark,
.site-header.site-header-public .nav-link:hover,
.site-header.site-header-public .nav-link.is-active,
.rooms-title-ink,
.rooms-results-row,
.room-catalog-title,
.room-catalog-price,
.reserve-studio-copy h1,
.reserve-section-heading,
.booking-checkout-header-copy h1,
.booking-checkout-section-head h2,
.booking-checkout-summary-head h2,
.booking-contact-field > span,
.booking-summary-room-copy strong,
.booking-summary-price-line strong,
.booking-summary-total span,
.booking-summary-total strong,
.studio-footer-logo,
.studio-footer h3,
body[data-page="home"] .home-hero-summary-copy h1,
body[data-page="home"] .home-composition-copy h2,
body[data-page="home"] .home-arrival-copy h2,
body[data-page="home"] .home-flow-row strong {
  color: var(--brand-blue);
}

.brand-mark-icon,
.header-user-menu-item.is-primary,
.header-user-menu-item.is-primary:hover,
.rooms-category-chip.is-active,
.tab-button.active,
.tab-button.is-active,
.room-catalog-pill-status.is-available,
.room-catalog-pill-status.is-booked,
.reserve-step-item.is-active span,
.reserve-step-item.is-complete span,
.booking-checkout-shell.is-checkout-mode .booking-summary-primary-actions .primary-button {
  background: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.2);
}

.nav-link:hover,
.nav-link.is-active,
.header-user-menu-item:hover,
.header-user-menu-signout:hover {
  background: var(--accent-soft);
  color: var(--brand-red);
}

.rooms-title-accent,
.room-catalog-title.is-accent,
.room-catalog-rating span[aria-hidden="true"],
.booking-summary-price-free,
.studio-footer-support-copy a,
.text-button,
.profile-fieldset legend,
.profile-legend,
.room-catalog-rating,
.room-catalog-capacity svg,
.rooms-search-icon,
.rooms-sort-icon,
.rooms-filter-icon {
  color: var(--brand-red);
}

.rooms-filter-toggle.is-active,
.rooms-category-chip.is-active {
  border-color: var(--brand-red);
}

.room-catalog-feature-row span,
.room-catalog-rating,
.reserve-step-list,
.booking-payment-demo-note,
.rooms-filter-panel,
.availability-preview,
.guest-booking-fields {
  background: var(--brand-blue-soft);
}

.room-catalog-pill-category,
.pill,
.reserve-room-pill {
  background: rgba(0, 38, 62, 0.08);
  color: var(--brand-blue);
}

.reserve-step-item {
  color: var(--muted);
}

.reserve-step-item span {
  background: rgba(0, 38, 62, 0.1);
  color: var(--brand-blue);
}

.reserve-step-item.is-active {
  background: #ffffff;
  color: var(--brand-blue);
}

.home-carousel-caption,
.home-carousel-caption:hover,
.home-carousel-caption:focus-visible,
.home-carousel-caption.is-active {
  background: rgba(0, 38, 62, 0.78);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.home-carousel-caption p,
.home-carousel-caption-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.studio-footer,
.site-acknowledgement,
body[data-page="home"] .site-acknowledgement,
body[data-page="booking"] .site-acknowledgement {
  border: 0;
  color: #ffffff;
}

.studio-footer {
  padding: 34px 28px 18px;
  border-radius: 0;
  background: var(--brand-blue);
}

.studio-footer-grid {
  align-items: start;
}

.studio-footer-logo,
.studio-footer h3,
.studio-footer a,
.studio-footer-brand,
.studio-footer-bottom,
.site-acknowledgement,
.site-acknowledgement-credit,
body[data-page="home"] .site-acknowledgement,
body[data-page="booking"] .site-acknowledgement {
  color: #ffffff;
}

.studio-footer-bottom,
.site-acknowledgement {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.site-acknowledgement {
  margin-top: 0;
  padding: 22px 28px 28px;
  background: var(--brand-red);
}

/* Carousel-first homepage refresh. */
body[data-page="home"] {
  background: #ffffff;
}

.home-top-utility {
  position: relative;
  z-index: 45;
  background: var(--brand-blue);
  color: #ffffff;
}

body:not([data-page="home"]) .home-top-utility {
  margin-bottom: 12px;
  border-radius: 16px;
}

.home-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(calc(100% - 56px), 1680px);
  min-height: 56px;
  margin: 0 auto;
}

.home-contact-list,
.home-utility-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-contact-list {
  flex-wrap: wrap;
  row-gap: 8px;
}

.home-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
}

.home-contact-item::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.home-contact-item[href*="maps"]::before {
  content: "⌖";
}

.home-contact-item[href^="tel:"]::before {
  content: "☎";
}

.home-contact-item[href^="mailto:"]::before {
  content: "@";
}

.home-contact-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.home-utility-actions {
  justify-content: flex-end;
  flex-shrink: 0;
}

.home-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.home-social-link:hover,
.home-social-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.home-utility-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.32);
}

.home-utility-actions .ghost-button,
.home-utility-actions .header-user-trigger {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.home-utility-actions .ghost-button:hover,
.home-utility-actions .header-user-trigger:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.home-utility-actions .home-header-book-button {
  min-height: 40px;
  padding: 10px 20px;
  border-radius: 6px;
  background: var(--brand-red);
  color: #ffffff;
  box-shadow: none;
}

body[data-page="home"] .home-layout-full {
  gap: 0;
}

body[data-page="home"] .home-hero-shell {
  padding: 0;
  overflow: visible;
  background: #ffffff;
}

body[data-page="home"] .home-carousel {
  margin: 0;
}

body[data-page="home"] .home-carousel-slides-container {
  height: clamp(650px, calc(100vh - 172px), 850px);
  min-height: 640px;
  border-radius: 0;
  background: var(--brand-blue);
}

body[data-page="home"] .home-hero-image {
  object-position: center 46%;
  filter: saturate(1.02) brightness(1.04) contrast(1.02);
  transform: scale(1.015);
}

body[data-page="home"] .home-hero-overlay-primary {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 38, 62, 0.08) 0%, rgba(0, 38, 62, 0.01) 40%, rgba(0, 38, 62, 0.22) 100%),
    linear-gradient(90deg, rgba(0, 38, 62, 0.2) 0%, rgba(0, 38, 62, 0) 36%, rgba(0, 38, 62, 0.16) 100%);
}

body[data-page="home"] .home-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

body[data-page="home"] .home-carousel-controls {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 0 28px 122px;
  pointer-events: none;
}

body[data-page="home"] .home-carousel-button {
  pointer-events: auto;
  width: 64px;
  min-width: 64px;
  height: 86px;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 3px 16px rgba(0, 38, 62, 0.42);
  box-shadow: none;
}

body[data-page="home"] .home-carousel-button:hover,
body[data-page="home"] .home-carousel-button:focus-visible {
  background: transparent;
  color: #ffffff;
  transform: translateY(-1px);
}

body[data-page="home"] .home-carousel-progress {
  align-self: end;
  justify-self: center;
  margin-bottom: 24px;
  pointer-events: auto;
}

body[data-page="home"] .home-carousel-dot {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.58);
}

body[data-page="home"] .home-carousel-dot.is-active {
  background: #ffffff;
}

body[data-page="home"] .home-booking-search {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  justify-content: center;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  pointer-events: auto;
}

body[data-page="home"] .home-book-now-button {
  min-width: 180px;
  min-height: 54px;
  padding: 16px 34px;
  border-radius: 6px;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(0, 38, 62, 0.22);
}

body[data-page="home"] .home-stats-band {
  background: var(--brand-blue-soft);
}

body[data-page="home"] .home-stats-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(calc(100% - 56px), 1220px);
  margin: 0 auto;
  padding: 46px 0;
}

body[data-page="home"] .home-stat-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 104px;
  padding: 0 42px;
  border-right: 1px solid rgba(0, 38, 62, 0.12);
}

body[data-page="home"] .home-stat-tile:first-child {
  padding-left: 0;
}

body[data-page="home"] .home-stat-tile:last-child {
  border-right: 0;
  padding-right: 0;
}

body[data-page="home"] .home-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

body[data-page="home"] .home-stat-tile strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1.28rem;
}

body[data-page="home"] .home-stat-tile p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

body[data-page="home"] .home-information-panel {
  width: min(calc(100% - 56px), 1180px);
  margin-top: 44px;
  padding: 34px;
}

body[data-page="home"] .home-featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  align-items: stretch;
}

body[data-page="home"] .home-studio-card-media {
  aspect-ratio: 16 / 9;
}

body[data-page="home"] .home-composition-panel,
body[data-page="home"] .home-arrival-panel {
  width: min(calc(100% - 56px), 1180px);
}

@media (max-width: 1080px) {
  .home-utility-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 14px 0;
  }

  .home-utility-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  body[data-page="home"] .home-booking-search {
    bottom: 28px;
    width: auto;
  }

  body[data-page="home"] .home-stats-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0;
  }

  body[data-page="home"] .home-stat-tile,
  body[data-page="home"] .home-stat-tile:first-child,
  body[data-page="home"] .home-stat-tile:last-child {
    padding: 0;
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .home-utility-inner {
    width: calc(100% - 24px);
  }

  .home-contact-list {
    display: grid;
    gap: 9px;
  }

  .home-contact-item {
    white-space: normal;
  }

  .home-social-link,
  .home-utility-divider {
    display: none;
  }

  body[data-page="home"] .home-carousel-slides-container {
    height: 78vh;
    min-height: 620px;
  }

  body[data-page="home"] .home-carousel-controls {
    padding: 0 10px 188px;
  }

  body[data-page="home"] .home-carousel-button {
    width: 40px;
    min-width: 40px;
    height: 58px;
    font-size: 3.3rem;
  }

  body[data-page="home"] .home-booking-search {
    bottom: 18px;
    width: auto;
    padding: 0;
    border-width: 0;
  }

  body[data-page="home"] .home-book-now-button {
    min-width: 164px;
    min-height: 50px;
    padding: 14px 28px;
  }

  body[data-page="home"] .home-stats-inner {
    width: calc(100% - 28px);
  }

  body[data-page="home"] .home-stat-tile {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
  }

  body[data-page="home"] .home-stat-icon {
    width: 58px;
    height: 58px;
    font-size: 1.55rem;
  }
}

.home-utility-actions .header-user-menu {
  color: var(--brand-blue);
}

body:not([data-page="home"]):not([data-page="rooms"]):not([data-page="bookings"]) main {
  width: min(calc(100% - 56px), 1400px);
  margin: 44px auto;
}

body[data-page="rooms"] .rooms-page-grid-modern,
body[data-page="bookings"] .booking-page-grid {
  display: block;
  width: 100%;
  margin: 0;
}

body[data-page="rooms"] .rooms-catalog-shell {
  width: 100%;
  margin: 0;
  padding: 0;
}

body[data-page="rooms"] .rooms-catalog-header {
  position: relative;
  display: grid;
  align-content: end;
  min-height: clamp(420px, 56vh, 620px);
  margin: 0;
  padding: clamp(82px, 11vw, 150px) max(28px, calc((100% - 1220px) / 2 + 28px)) 132px;
  background:
    linear-gradient(180deg, rgba(0, 38, 62, 0.08) 0%, rgba(0, 38, 62, 0.24) 100%),
    linear-gradient(90deg, rgba(0, 38, 62, 0.42) 0%, rgba(0, 38, 62, 0.08) 48%, rgba(0, 38, 62, 0.2) 100%),
    url("/assets/media/studio-hero-premium.png") center 46% / cover;
  box-shadow: inset 18px 0 0 var(--brand-red);
}

body[data-page="rooms"] .rooms-catalog-header h1 {
  max-width: 10ch;
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(0, 38, 62, 0.28);
}

body[data-page="rooms"] .rooms-title-ink,
body[data-page="rooms"] .rooms-title-accent {
  color: #ffffff;
}

body[data-page="rooms"] .rooms-catalog-header p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 4px 18px rgba(0, 38, 62, 0.3);
}

body[data-page="rooms"] .rooms-catalog-toolbar {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 96px), 1120px);
  margin: -64px auto 26px;
  padding: 16px;
  border: 2px solid var(--brand-blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 42px rgba(0, 38, 62, 0.24);
}

body[data-page="rooms"] .rooms-search-input-shell,
body[data-page="rooms"] .rooms-filter-toggle {
  min-height: 58px;
  border-radius: 6px;
  box-shadow: none;
}

body[data-page="rooms"] .rooms-category-bar,
body[data-page="rooms"] .rooms-results-row,
body[data-page="rooms"] .rooms-filter-panel,
body[data-page="rooms"] .rooms-search-summary,
body[data-page="rooms"] .rooms-grid-catalog {
  width: min(calc(100% - 56px), 1220px);
  margin-left: auto;
  margin-right: auto;
}

body[data-page="rooms"] .rooms-grid-catalog {
  padding-bottom: 48px;
}

body[data-page="bookings"] .booking-history-intro {
  position: relative;
  display: grid;
  align-content: end;
  width: 100%;
  max-width: none;
  min-height: clamp(380px, 48vh, 560px);
  padding: clamp(82px, 11vw, 142px) max(28px, calc((100% - 1180px) / 2 + 28px)) 126px;
  background:
    linear-gradient(180deg, rgba(0, 38, 62, 0.1) 0%, rgba(0, 38, 62, 0.44) 100%),
    linear-gradient(90deg, rgba(0, 38, 62, 0.58) 0%, rgba(0, 38, 62, 0.14) 58%, rgba(0, 38, 62, 0.24) 100%),
    url("/assets/media/studio-lounge-premium.png") center 48% / cover;
  box-shadow: inset 18px 0 0 var(--brand-red);
}

body[data-page="bookings"] .booking-history-intro h1 {
  max-width: 10ch;
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(0, 38, 62, 0.28);
}

body[data-page="bookings"] .booking-history-intro .hero-copy {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 4px 18px rgba(0, 38, 62, 0.3);
}

body[data-page="bookings"] .booking-history-shell-primary {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 56px), 1180px);
  margin: -64px auto 48px;
  padding: 24px;
  border: 2px solid var(--brand-blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 42px rgba(0, 38, 62, 0.18);
}

@media (max-width: 1080px) {
  body[data-page="rooms"] .rooms-catalog-toolbar {
    grid-template-columns: 1fr;
    width: min(calc(100% - 40px), 760px);
  }
}

@media (max-width: 720px) {
  body:not([data-page="home"]):not([data-page="rooms"]):not([data-page="bookings"]) main,
  body[data-page="rooms"] .rooms-category-bar,
  body[data-page="rooms"] .rooms-results-row,
  body[data-page="rooms"] .rooms-filter-panel,
  body[data-page="rooms"] .rooms-search-summary,
  body[data-page="rooms"] .rooms-grid-catalog,
  body[data-page="bookings"] .booking-history-shell-primary {
    width: calc(100% - 28px);
  }

  body[data-page="rooms"] .rooms-catalog-header,
  body[data-page="bookings"] .booking-history-intro {
    min-height: 420px;
    padding: 72px 28px 118px;
  }

  body[data-page="rooms"] .rooms-catalog-toolbar {
    width: calc(100% - 28px);
    margin-top: -72px;
  }

  body[data-page="bookings"] .booking-history-shell-primary {
    margin-top: -72px;
    padding: 18px;
  }
}

/* Public shell lock: one geometry for the copied public header/nav shell. */
body[data-page] {
  --public-shell-x: max(28px, calc((100% - 1680px) / 2 + 28px));
  --public-header-height: 116px;
  --public-utility-height: 56px;
  --public-nav-width: 610px;
  --public-nav-left: clamp(28px, calc(50% + 292px), calc(100% - 638px));
  --public-nav-top: 78px;
}

body[data-page="home"] .site-frame,
body:not([data-page="home"]) .site-frame {
  max-width: none;
  padding: 0;
}

body[data-page] .home-top-utility {
  min-height: var(--public-utility-height);
  margin: 0;
  border-radius: 0;
  background: var(--brand-blue);
}

body[data-page] .home-utility-inner {
  width: min(calc(100% - 56px), 1680px);
  min-height: var(--public-utility-height);
  margin: 0 auto;
  padding: 0;
}

body[data-page] .site-header.site-header-public {
  position: relative;
  top: auto;
  z-index: 35;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: var(--public-header-height);
  min-height: var(--public-header-height);
  margin: 0;
  padding: 26px var(--public-shell-x);
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page] .site-header.site-header-public .brand-mark {
  gap: 12px;
  min-width: 240px;
  color: var(--brand-blue);
}

body[data-page] .site-header.site-header-public .brand-mark-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-red), #a70f16);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow: 0 18px 34px rgba(215, 25, 32, 0.2);
}

body[data-page] .site-header.site-header-public .brand-mark-label {
  color: var(--brand-blue);
  font-size: 1.55rem;
}

body[data-page] .site-header.site-header-public .site-nav {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  gap: 0;
  width: min(var(--public-nav-width), calc(100% - 56px));
  min-height: 54px;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid rgba(0, 38, 62, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(0, 38, 62, 0.08);
  overflow: visible;
  scrollbar-width: none;
}

body[data-page] .site-header.site-header-public .site-nav::-webkit-scrollbar {
  display: none;
}

body[data-page] .site-header.site-header-public .nav-link,
body[data-page] .site-header.site-header-public .nav-link.is-active {
  position: relative;
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-blue);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

body[data-page] .site-header.site-header-public .nav-link:hover,
body[data-page] .site-header.site-header-public .nav-link.is-active {
  background: transparent;
  color: var(--brand-red);
  box-shadow: none;
}

body[data-page] .site-header.site-header-public .nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  display: block;
  width: auto;
  height: 2px;
  margin: 0;
  background: var(--brand-red);
}

body[data-page] .studio-footer,
body[data-page] .studio-footer.studio-footer-compact {
  width: min(calc(100% - 56px), 1680px);
  margin: 32px auto 0;
  padding: 34px 28px 18px;
}

@media (min-width: 1081px) {
  body[data-page] .site-header.site-header-public .site-nav {
    position: fixed;
    top: var(--public-nav-top);
    left: var(--public-nav-left);
    width: var(--public-nav-width);
    z-index: 80;
    transform: none;
  }
}

@media (max-width: 1080px) {
  body[data-page] .site-header.site-header-public {
    grid-template-columns: 1fr;
    gap: 18px;
    height: auto;
    min-height: var(--public-header-height);
  }

  body[data-page] .site-header.site-header-public .site-nav {
    position: static;
    justify-self: start;
    justify-content: flex-start;
    width: min(100%, var(--public-nav-width));
    margin-left: 0;
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  body[data-page] {
    --public-shell-x: 14px;
  }

  body:not([data-page="account"]) .home-utility-inner {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 24px);
    gap: 12px;
    padding: 12px 0;
  }

  body:not([data-page="account"]) .home-contact-list {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  body:not([data-page="account"]) .home-utility-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  body[data-page] .site-header.site-header-public {
    padding: 20px var(--public-shell-x);
  }

  body[data-page] .site-header.site-header-public .brand-mark {
    min-width: 0;
  }

  body[data-page] .site-header.site-header-public .site-nav {
    width: 100%;
  }

  body[data-page] .studio-footer,
  body[data-page] .studio-footer.studio-footer-compact {
    width: calc(100% - 28px);
  }
}

/* Design system component lock: shared red/navy/white controls and surfaces. */
body[data-page] {
  background: var(--bg);
  color: var(--brand-blue);
}

.panel,
.hero-card,
.status-chip,
.signal-panel,
.room-catalog-card,
.home-studio-card,
.room-card-premium,
.staff-profile-card,
.staff-option-card,
.staff-booking-summary-card,
.staff-booking-selected-card,
.booking-checkout-panel,
.booking-checkout-summary,
.booking-history-shell-primary,
.booking-history-empty,
.reserve-booking-sidebar,
.rooms-filter-panel,
.rooms-search-input-shell,
.rooms-sort-shell,
.availability-preview,
.empty-state,
.detail-card,
.media-card,
.profile-fieldset,
.guest-booking-fields,
.page-hero-summary,
.home-map-card {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.primary-button,
.site-header-book-button,
.home-header-book-button,
.home-book-now-button,
.reserve-confirm-button,
.account-submit-button,
.room-catalog-quick-link {
  border-radius: var(--control-radius);
  background: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.2);
}

.primary-button:hover,
.site-header-book-button:hover,
.home-header-book-button:hover,
.home-book-now-button:hover,
.reserve-confirm-button:hover,
.account-submit-button:hover,
.room-catalog-quick-link:hover {
  background: var(--brand-red-deep);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(215, 25, 32, 0.26);
}

.ghost-button,
.ghost-link,
.google-auth-button,
.header-user-trigger,
.rooms-filter-toggle,
.rooms-category-chip,
.booking-history-tab,
.tab-button {
  border-radius: var(--control-radius);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--brand-blue);
  box-shadow: none;
}

.ghost-button:hover,
.ghost-link:hover,
.google-auth-button:hover,
.header-user-trigger:hover,
.rooms-filter-toggle:hover,
.rooms-category-chip:hover,
.booking-history-tab:hover,
.tab-button:hover {
  border-color: rgba(215, 25, 32, 0.28);
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(0, 38, 62, 0.08);
}

input,
textarea,
select {
  border-radius: var(--control-radius);
  border-color: rgba(0, 38, 62, 0.16);
  background: #ffffff;
  color: var(--brand-blue);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(215, 25, 32, 0.18);
  border-color: var(--brand-red);
}

.status-chip-label,
.eyebrow,
.panel-kicker,
.booking-checkout-kicker,
body[data-page="home"] .home-soft-badge {
  border-radius: var(--control-radius);
  background: var(--accent-soft);
  color: var(--brand-red);
}

/* Plan 3 page polish: keep catalog pages and remaining panels on the same system. */
body[data-page="staff"] .staff-page-grid-modern {
  display: block;
  width: 100%;
  margin: 0;
}

body[data-page="staff"] .staff-catalog-shell {
  width: 100%;
  margin: 0;
  padding: 0;
}

body[data-page="staff"] .rooms-catalog-header {
  position: relative;
  display: grid;
  align-content: end;
  min-height: clamp(420px, 56vh, 620px);
  margin: 0;
  padding: clamp(82px, 11vw, 150px) max(28px, calc((100% - 1220px) / 2 + 28px)) 132px;
  overflow: hidden;
  background: var(--brand-blue);
  box-shadow: none;
}

body[data-page="staff"] .staff-page-carousel,
body[data-page="staff"] .staff-carousel-slides-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
}

body[data-page="staff"] .staff-page-carousel {
  z-index: 0;
}

body[data-page="staff"] .staff-carousel-slides-container {
  background: var(--brand-blue);
}

body[data-page="staff"] .home-hero-image {
  object-position: center 48%;
  filter: saturate(1.02) brightness(1.03) contrast(1.02);
  transform: scale(1.015);
}

body[data-page="staff"] .home-hero-overlay-primary {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 38, 62, 0.08) 0%, rgba(0, 38, 62, 0.2) 100%),
    linear-gradient(90deg, rgba(0, 38, 62, 0.58) 0%, rgba(0, 38, 62, 0.1) 54%, rgba(0, 38, 62, 0.22) 100%);
}

body[data-page="staff"] .staff-carousel-copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  max-width: 720px;
}

body[data-page="staff"] .staff-carousel-stage {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

body[data-page="staff"] .staff-carousel-controls {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  padding: 0 28px 70px;
  pointer-events: none;
}

body[data-page="staff"] .home-carousel-progress {
  align-self: end;
  justify-self: center;
  pointer-events: auto;
}

body[data-page="staff"] .home-carousel-button {
  pointer-events: auto;
  width: 64px;
  min-width: 64px;
  height: 86px;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 3px 16px rgba(0, 38, 62, 0.42);
  box-shadow: none;
}

body[data-page="staff"] .home-carousel-button:hover,
body[data-page="staff"] .home-carousel-button:focus-visible {
  background: transparent;
  color: #ffffff;
  transform: translateY(-1px);
}

body[data-page="staff"] .home-carousel-dot {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.58);
}

body[data-page="staff"] .home-carousel-dot.is-active {
  background: #ffffff;
}

body[data-page="staff"] .rooms-catalog-header h1 {
  max-width: 10ch;
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(0, 38, 62, 0.28);
}

body[data-page="staff"] .rooms-title-ink,
body[data-page="staff"] .rooms-title-accent {
  color: #ffffff;
}

body[data-page="staff"] .rooms-catalog-header p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 4px 18px rgba(0, 38, 62, 0.3);
}

body[data-page="staff"] .rooms-catalog-toolbar {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 96px), 1120px);
  margin: -64px auto 26px;
  padding: 16px;
  border: 2px solid var(--brand-blue);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 42px rgba(0, 38, 62, 0.24);
}

body[data-page="staff"] .rooms-search-input-shell,
body[data-page="staff"] .rooms-filter-toggle {
  min-height: 58px;
  border-radius: var(--control-radius);
  box-shadow: none;
}

body[data-page="staff"] .rooms-category-bar,
body[data-page="staff"] .rooms-results-row,
body[data-page="staff"] .rooms-filter-panel,
body[data-page="staff"] .rooms-grid-catalog,
body[data-page="staff"] .staff-booking-shell {
  width: min(calc(100% - 56px), 1220px);
  margin-left: auto;
  margin-right: auto;
}

body[data-page="staff"] .rooms-grid-catalog {
  padding-bottom: 48px;
}

body[data-page="staff"] .staff-booking-shell {
  margin-bottom: 48px;
}

.booking-checkout-shell,
.room-detail-booking-panel,
.staff-reserve-profile-card,
.reserve-advanced-details,
.page-map-frame,
.page-map-frame-tall {
  border-radius: var(--card-radius);
}

.staff-reserve-profile-media {
  border-radius: var(--card-radius);
}

.info-map-block {
  display: grid;
  gap: 14px;
  margin-top: 1rem;
}

@media (max-width: 720px) {
  body[data-page="staff"] .rooms-category-bar,
  body[data-page="staff"] .rooms-results-row,
  body[data-page="staff"] .rooms-filter-panel,
  body[data-page="staff"] .rooms-grid-catalog,
  body[data-page="staff"] .staff-booking-shell {
    width: calc(100% - 28px);
  }

  body[data-page="staff"] .rooms-catalog-header {
    min-height: 420px;
    padding: 72px 28px 118px;
  }

  body[data-page="staff"] .staff-carousel-controls {
    padding: 0 14px 62px;
  }

  body[data-page="staff"] .home-carousel-button {
    width: 46px;
    min-width: 46px;
    height: 72px;
    font-size: 3.8rem;
  }

  body[data-page="staff"] .rooms-catalog-toolbar {
    width: calc(100% - 28px);
    margin-top: -72px;
  }
}

/* Minimal account entry screen. */
body[data-page="account"] {
  background:
    radial-gradient(circle at 50% 18%, rgba(215, 25, 32, 0.08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #ffffff 46%, #ffffff 100%);
}

body[data-page="account"] .site-frame {
  min-height: 100vh;
  background: transparent;
}

body[data-page="account"] .account-hero,
body[data-page="account"] .site-acknowledgement {
  display: none;
}

body[data-page="pricing"] .pricing-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body[data-page="pricing"] .pricing-hero-card {
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
}

.pricing-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

body[data-page="pricing"] .pricing-hero-card h1 {
  max-width: 12ch;
}

.pricing-hero-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.72fr);
  grid-template-rows: minmax(180px, 1fr);
  gap: 12px;
  min-height: 360px;
}

.pricing-hero-photo {
  position: relative;
  min-height: 176px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 8px;
  background: var(--brand-blue-soft);
  box-shadow: 0 20px 44px rgba(0, 38, 62, 0.12);
}

.pricing-hero-photo-large {
  grid-row: span 2;
}

.pricing-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.pricing-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 38, 62, 0.02), rgba(0, 38, 62, 0.42));
}

.pricing-hero-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 38, 62, 0.42);
}

.pricing-launch-grid,
.pricing-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr) minmax(220px, 0.62fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-launch-grid h2,
.pricing-cta-grid h2 {
  margin: 0 0 10px;
}

.pricing-launch-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.pricing-launch-card span,
.pricing-price-lockup span,
.pricing-deposit-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-launch-card strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1.05rem;
}

.pricing-launch-card p,
.pricing-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-launch-card-accent {
  background: var(--brand-blue);
  color: #ffffff;
}

.pricing-launch-card-accent span,
.pricing-launch-card-accent strong,
.pricing-launch-card-accent p {
  color: #ffffff;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.pricing-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 18px;
  border-bottom: 1px solid rgba(0, 38, 62, 0.1);
  text-align: left;
}

.pricing-table thead th {
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-table tbody th {
  color: var(--brand-blue);
  font-size: 1rem;
}

.pricing-table td {
  color: var(--brand-red);
  font-size: 1.12rem;
  font-weight: 900;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table tbody tr:nth-child(even) {
  background: rgba(243, 247, 251, 0.74);
}

.pricing-membership-card,
.pricing-deposit-card {
  display: grid;
  gap: 18px;
}

.pricing-price-lockup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pricing-price-lockup > div,
.pricing-deposit-grid article {
  padding: 18px;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, var(--brand-blue-soft));
}

.pricing-price-lockup strong,
.pricing-deposit-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--brand-red);
  font-family: "Space Grotesk", "Charter", "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
}

.pricing-price-lockup p {
  margin: 6px 0 0;
  color: var(--muted);
}

.pricing-benefit-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(0, 38, 62, 0.1);
}

.pricing-deposit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pricing-benefits-grid .story-card strong,
.pricing-policy-grid .detail-card h3 {
  color: var(--brand-blue);
}

.pricing-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-policy-grid .detail-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.pricing-policy-grid .detail-card h3 {
  margin: 0;
  font-family: "Space Grotesk", "Charter", "Iowan Old Style", Georgia, serif;
}

.pricing-policy-grid .detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}

.pricing-cta-panel {
  background: linear-gradient(135deg, var(--brand-blue), #073d5f);
  color: #ffffff;
}

.pricing-cta-panel .panel-kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.pricing-cta-panel .panel-copy {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-cta-panel .hero-actions {
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

.pricing-cta-panel .ghost-button {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
}

@media (max-width: 980px) {
  .pricing-hero-layout,
  .pricing-launch-grid,
  .pricing-cta-grid,
  .pricing-policy-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .pricing-hero-media-grid,
  .pricing-price-lockup,
  .pricing-deposit-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero-photo-large {
    grid-row: auto;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 14px;
  }

  .pricing-cta-panel .hero-actions {
    justify-content: flex-start;
  }
}

body[data-page="account"] .home-top-utility {
  position: absolute;
  inset: 0 0 auto;
  z-index: 90;
  min-height: var(--public-header-height);
  background: transparent;
  pointer-events: none;
}

body[data-page="account"] .home-utility-inner {
  justify-content: flex-end;
  min-height: var(--public-header-height);
  pointer-events: none;
}

body[data-page="account"] .home-contact-list,
body[data-page="account"] .home-social-link,
body[data-page="account"] .home-utility-divider {
  display: none;
}

body[data-page="account"] .home-utility-actions {
  pointer-events: auto;
}

body[data-page="account"] .home-utility-actions .ghost-button,
body[data-page="account"] .home-utility-actions .header-user-trigger {
  border-color: var(--line);
  background: #ffffff;
  color: var(--brand-blue);
}

body[data-page="account"] .home-utility-actions .ghost-button:hover,
body[data-page="account"] .home-utility-actions .header-user-trigger:hover {
  border-color: rgba(215, 25, 32, 0.28);
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

body[data-page="account"] .account-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  width: min(calc(100% - 56px), 1080px);
  min-height: calc(100vh - 116px);
  margin: 0 auto;
  padding: clamp(52px, 8vh, 112px) 0;
}

body[data-page="account"] .account-auth-panel {
  display: grid;
  gap: 22px;
  width: min(100%, 460px);
  max-width: 460px;
  margin: 0;
  padding: 32px;
  border: 1px solid rgba(0, 38, 62, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 60px rgba(0, 38, 62, 0.12);
  backdrop-filter: blur(18px);
  animation: none;
}

body[data-page="account"] .account-auth-card-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

body[data-page="account"] .account-auth-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-red);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(215, 25, 32, 0.22);
}

body[data-page="account"] .account-auth-card-head h1 {
  margin: 4px 0 0;
  color: var(--brand-blue);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  line-height: 1.15;
}

body[data-page="account"] .account-auth-card-head p {
  margin: 0;
  color: var(--muted);
}

body[data-page="account"] .account-auth-form {
  gap: 14px;
}

body[data-page="account"] .account-auth-form label {
  gap: 7px;
}

body[data-page="account"] .account-auth-form input {
  min-height: 46px;
  border-radius: 8px;
  background: #f8fafc;
}

body[data-page="account"] .account-auth-form input::placeholder {
  color: rgba(78, 98, 117, 0.72);
}

body[data-page="account"] .google-auth-button {
  min-height: 46px;
  border-radius: 8px;
  box-shadow: none;
}

body[data-page="account"] .google-auth-button::before {
  content: "G";
  margin-right: 12px;
  color: #1a73e8;
  font-weight: 800;
}

body[data-page="account"] #login-form:has(#google-login-button.hidden) .account-form-divider,
body[data-page="account"] #signup-form:has(#google-signup-button.hidden) .account-form-divider {
  display: none;
}

body[data-page="account"] .account-form-divider {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-page="account"] .account-form-divider span {
  background: rgba(255, 255, 255, 0.92);
}

body[data-page="account"] .account-submit-button {
  min-height: 48px;
  width: 100%;
  border-radius: 8px;
  font-weight: 800;
}

body[data-page="account"] .account-forgot-button {
  justify-self: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

body[data-page="account"] .account-auth-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
}

body[data-page="account"] .account-auth-mode-row .tab-button,
body[data-page="account"] .account-auth-mode-row .tab-button.active {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-red);
  box-shadow: none;
  font-weight: 800;
}

body[data-page="account"] .auth-feedback {
  margin: 0;
}

body[data-page="account"] #account-profile-panel {
  place-self: stretch center;
  width: min(100%, 1080px);
  max-width: 1080px;
}

@media (max-width: 720px) {
  body[data-page="account"] .account-page-grid {
    width: calc(100% - 28px);
    min-height: auto;
    padding: 38px 0 56px;
  }

  body[data-page="account"] .account-auth-panel {
    padding: 24px;
  }
}
