:root {
  color-scheme: light;
  --pink-50: #fbf8f5;
  --pink-100: #f2ebe5;
  --pink-200: #e3d5ca;
  --pink-400: #8e6e58;
  --pink-600: #6f5544;
  --rose: #8e6e58;
  --ink: #2b211b;
  --muted: #6f6259;
  --cream: #ffffff;
  --mint: #d8c7ba;
  --gold: #b99b84;
  --white: #ffffff;
  --line: rgba(142, 110, 88, 0.2);
  --shadow: 0 24px 70px rgba(77, 54, 40, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 245, 0.94)),
    repeating-linear-gradient(90deg, rgba(142, 110, 88, 0.07) 0 1px, transparent 1px 110px);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 40px rgba(77, 54, 40, 0.11);
  backdrop-filter: blur(18px);
  animation: navDrop 0.7s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--rose);
  background: var(--pink-50);
  transform: translateY(-2px);
}

.header-actions,
.admin-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-menu {
  position: relative;
  flex-shrink: 0;
}

.profile-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-600), var(--pink-400));
  box-shadow: 0 12px 28px rgba(77, 54, 40, 0.15);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 40;
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(77, 54, 40, 0.16);
}

.profile-dropdown strong {
  color: var(--ink);
}

.profile-dropdown small {
  color: var(--muted);
}

.icon-link,
.icon-button,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.icon-link,
.ghost-button {
  padding: 0 14px;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.ghost-button.compact {
  min-height: 36px;
  padding: 0 10px;
  font-size: 0.9rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  color: var(--rose);
  background: var(--white);
  border: 1px solid var(--line);
}

.icon-button.small {
  width: 36px;
  height: 36px;
}

.icon-button.text-icon,
.icon-button span {
  font-weight: 900;
}

.primary-button {
  position: relative;
  overflow: hidden;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-600), var(--pink-400));
  box-shadow: 0 18px 36px rgba(142, 110, 88, 0.24);
}

.primary-button::after {
  content: "";
  position: absolute;
  inset: -80% auto auto -40%;
  width: 45%;
  height: 240%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(22deg);
  animation: buttonShine 3.8s ease-in-out infinite;
}

.primary-button > *,
.primary-button {
  z-index: 1;
}

.primary-button.full {
  width: 100%;
}

.icon-link:hover,
.icon-button:hover,
.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(77, 54, 40, 0.14);
}

.icon-button svg,
.icon-link svg,
.primary-button svg,
.ghost-button svg {
  width: 18px;
  height: 18px;
}

.hero-section {
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: end;
  margin-top: -70px;
  padding: 130px max(20px, calc((100vw - 1180px) / 2)) 58px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 33, 27, 0.66), rgba(43, 33, 27, 0.22) 58%, rgba(255, 255, 255, 0.18)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.04) 45%);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.08);
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.animated-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    linear-gradient(120deg, transparent 0 32%, rgba(255, 255, 255, 0.35) 33%, transparent 35%),
    linear-gradient(120deg, transparent 0 56%, rgba(216, 199, 186, 0.25) 57%, transparent 59%),
    linear-gradient(120deg, transparent 0 78%, rgba(185, 155, 132, 0.22) 79%, transparent 81%);
  background-size: 180% 100%;
  animation: lineSweep 8s linear infinite;
}

.hero-content {
  width: min(660px, 100%);
  color: var(--white);
  text-shadow: 0 12px 34px rgba(43, 33, 27, 0.45);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--pink-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-section .eyebrow {
  color: var(--pink-100);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 7.8rem;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  width: min(520px, 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
  line-height: 1.45;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.8s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

.booking-band,
.gallery-band {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 54px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.section-heading h1 {
  color: var(--ink);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.booking-panel,
.support-form,
.chat-panel,
.admin-panel,
.pin-panel,
.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.booking-panel {
  padding: 18px;
}

.calendar-toolbar,
.chat-header,
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.calendar-toolbar h3,
.panel-title h2,
.chat-header span {
  margin: 0;
  font-size: 1.08rem;
}

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

.weekday-row {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.day-button {
  position: relative;
  min-height: 76px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: transform 0.18s ease, border 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.day-button::before {
  content: "";
  position: absolute;
  inset: auto 10px 10px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--pink-400), var(--gold));
  transform: scaleX(var(--availability, 0));
  transform-origin: left;
  transition: transform 0.24s ease;
}

.day-button:hover,
.day-button.selected {
  transform: translateY(-3px);
  border-color: rgba(142, 110, 88, 0.55);
  box-shadow: 0 14px 24px rgba(77, 54, 40, 0.11);
}

.day-button.selected {
  color: var(--rose);
  background: linear-gradient(180deg, var(--white), var(--pink-50));
}

.day-button.empty {
  visibility: hidden;
}

.day-button.closed,
.day-button.past {
  color: rgba(111, 98, 89, 0.62);
  background: rgba(255, 255, 255, 0.55);
}

.day-number {
  display: block;
  font-size: 1.12rem;
  font-weight: 900;
}

.day-meta {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
}

.selection-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242, 235, 229, 0.9), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.selection-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.slot-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 280px;
  margin-top: 14px;
  overflow: auto;
  padding-right: 4px;
}

.slot-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--rose);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.slot-button:hover,
.slot-button.selected {
  color: var(--white);
  background: var(--pink-600);
  transform: translateY(-2px);
}

.slot-button:disabled {
  cursor: not-allowed;
  color: rgba(111, 98, 89, 0.6);
  background: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  transform: none;
}

.booking-form,
.support-form,
.pin-form,
.block-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: border 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(142, 110, 88, 0.14);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--rose);
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  grid-auto-rows: minmax(190px, auto);
  gap: 14px;
}

.gallery-feature {
  grid-row: span 2;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-feature img,
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.gallery-photo {
  min-height: 204px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(77, 54, 40, 0.13);
  background: var(--pink-100);
}

.support-form,
.chat-panel {
  padding: 18px;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 320px;
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 248, 245, 0.72);
}

.message {
  width: min(82%, 520px);
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(77, 54, 40, 0.09);
}

.message.admin {
  justify-self: end;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-600), var(--pink-400));
}

.message small {
  display: block;
  margin-top: 6px;
  opacity: 0.72;
}

.chat-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 26px 0 42px;
  color: var(--muted);
}

.footer strong,
.footer span {
  display: block;
}

.footer a {
  color: var(--rose);
  font-weight: 800;
}

.site-credit {
  display: grid;
  gap: 4px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-credit a {
  font-weight: 900;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.support-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

body.needs-login {
  min-height: 100vh;
  overflow: hidden;
}

body.needs-login .site-shell,
body.needs-login .support-widget {
  display: none;
}

.login-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(251, 248, 245, 0.9)),
    url("images/frontpage-hero.jpg") center / cover;
}

.login-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 33, 27, 0.18), rgba(255, 255, 255, 0.7)),
    linear-gradient(120deg, transparent 0 45%, rgba(255, 255, 255, 0.34) 47%, transparent 50%);
  background-size: 100% 100%, 180% 100%;
  animation: lineSweep 9s linear infinite;
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.login-brand {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--rose);
  font-weight: 900;
  text-transform: uppercase;
}

.login-card h1 {
  margin-bottom: 12px;
  font-size: 3rem;
  line-height: 0.98;
}

.login-card p {
  color: var(--muted);
  line-height: 1.55;
}

.google-auth {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.google-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  color: #3c4043;
  background: var(--white);
  cursor: pointer;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
  transition: background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.google-login-button:hover {
  background: #f8fbff;
  border-color: #c6dafc;
  box-shadow: 0 2px 4px rgba(60, 64, 67, 0.18);
}

.google-mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
}

.google-mark svg {
  width: 20px;
  height: 20px;
}

.google-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.login-button.large {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.login-hint {
  margin: 12px 0 0;
  font-size: 0.84rem;
}

.login-links {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  color: var(--rose);
  font-weight: 800;
}

.chat-fab {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-600), var(--pink-400));
  box-shadow: 0 18px 38px rgba(142, 110, 88, 0.32);
  cursor: pointer;
  font-weight: 900;
  animation: floatButton 2.8s ease-in-out infinite;
}

.chat-popover {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(390px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 110px));
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(77, 54, 40, 0.2);
  backdrop-filter: blur(18px);
}

.chat-header.sub {
  margin-top: 12px;
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-600), var(--pink-400));
  font-weight: 900;
  cursor: pointer;
}

.secondary-login-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--rose);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-weight: 900;
}

.secondary-login-button:hover {
  background: var(--pink-50);
}

.user-status {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.compact-chat {
  margin-top: 12px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.compact-chat .chat-messages {
  min-height: 180px;
  max-height: 250px;
}

.admin-body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 245, 0.95)),
    repeating-linear-gradient(0deg, rgba(142, 110, 88, 0.07) 0 1px, transparent 1px 96px);
}

.legal-page {
  width: min(860px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 70px;
}

.legal-page .brand {
  margin-bottom: 22px;
}

.legal-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.legal-panel h1 {
  color: var(--ink);
  font-size: 3.2rem;
  line-height: 1;
}

.legal-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.admin-shell {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto 50px;
}

.admin-header {
  width: 100%;
  margin-top: 14px;
}

.pin-panel {
  width: min(460px, 100%);
  margin: 80px auto 0;
  padding: 22px;
}

.pin-panel h1 {
  font-size: 3.6rem;
  line-height: 0.96;
}

.hidden {
  display: none !important;
}

.dashboard {
  padding: 34px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.stat-card {
  padding: 18px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--rose);
  font-size: 2.5rem;
  line-height: 1;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
}

.admin-panel {
  padding: 18px;
}

.admin-panel.wide {
  min-height: 360px;
}

.panel-title span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.booking-admin-list,
.blocked-list,
.thread-list {
  display: grid;
  gap: 10px;
}

.admin-row,
.thread-button {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.admin-row-head,
.admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-row strong {
  color: var(--ink);
}

.admin-row small,
.thread-button small {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--rose);
  background: var(--pink-100);
  font-size: 0.74rem;
  font-weight: 900;
}

.status-pill.completed {
  color: #176b57;
  background: var(--mint);
}

.status-pill.cancelled,
.status-pill.closed {
  color: #6d6470;
  background: #eee8ef;
}

.thread-button {
  width: 100%;
  border: 1px solid var(--line);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, border 0.18s ease;
}

.thread-button:hover,
.thread-button.selected {
  transform: translateY(-2px);
  border-color: var(--pink-400);
}

.admin-chat {
  min-height: 378px;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-actions button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--rose);
  background: var(--white);
  cursor: pointer;
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brandPulse {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-2px) rotate(-1deg);
  }
}

@keyframes buttonShine {
  0%,
  45% {
    left: -50%;
  }
  70%,
  100% {
    left: 130%;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateX(0);
  }
  to {
    transform: scale(1.09) translateX(-1.5%);
  }
}

@keyframes lineSweep {
  from {
    background-position: 180% 0;
  }
  to {
    background-position: -180% 0;
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes polishSwipe {
  0%,
  100% {
    transform: rotate(-35deg) translateX(0);
  }
  50% {
    transform: rotate(-35deg) translateX(-14px);
  }
}

@keyframes nailFloat {
  0%,
  100% {
    transform: rotate(18deg) translateY(0);
  }
  50% {
    transform: rotate(13deg) translateY(-9px);
  }
}

@keyframes floatButton {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 5.4rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .hero-copy {
    font-size: 1.22rem;
  }

  .topbar,
  .admin-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .booking-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-feature {
    grid-column: 1 / -1;
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .topbar,
  .admin-header {
    width: calc(100% - 18px);
    margin-top: 9px;
    padding: 9px;
  }

  .hero-section {
    min-height: 76vh;
    padding: 118px 14px 44px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .pin-panel h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .booking-band,
  .gallery-band,
  .footer {
    width: calc(100% - 18px);
  }

  .booking-panel,
  .support-form,
  .chat-panel,
  .admin-panel,
  .pin-panel {
    padding: 12px;
  }

  .weekday-row,
  .calendar-grid {
    gap: 5px;
  }

  .day-button {
    min-height: 62px;
    padding: 8px 6px;
  }

  .day-meta {
    font-size: 0.66rem;
  }

  .stats-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .slot-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 260px;
  }

  .gallery-feature {
    min-height: 280px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-widget {
    right: 10px;
    bottom: 10px;
  }

  .chat-popover {
    right: -1px;
    bottom: 64px;
    width: calc(100vw - 20px);
  }
}
