:root {
  --bg: #030303;
  --text: #f2f2ef;
  --line: rgba(255,255,255,.14);
  --line-strong: rgba(255,255,255,.28);
  --muted: rgba(255,255,255,.58);
  --red: 172, 0, 0;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  overflow: hidden;
  font-family: "Cinzel", Georgia, serif;
}

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

.home {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding:
    max(22px, env(safe-area-inset-top))
    18px
    max(24px, env(safe-area-inset-bottom));
  background: #030303;
}

.home::after {
  content: "";
  position: fixed;
  inset: -35%;
  z-index: 20;
  pointer-events: none;
  opacity: .11;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.96' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  background-size: 155px 155px;
  animation: grain-shift 8s steps(8, end) infinite;
}

.home-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  min-height: calc(100svh - max(22px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom)));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.logo-stage {
  position: relative;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  flex: 0 0 200px;
  display: grid;
  place-items: center;
}

.logo-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--red), .21) 0%,
    rgba(var(--red), .12) 27%,
    rgba(var(--red), .05) 52%,
    rgba(var(--red), 0) 76%
  );
  filter: blur(22px);
  transform: scaleX(1.30) scaleY(.86);
}

.logo-mark {
  display: block;
  width: 100%;
  height: auto;
  transform: none;
  animation: none;
  filter: drop-shadow(0 0 11px rgba(var(--red), .11));
}

.actions {
  width: min(88vw, 352px);
  display: grid;
  gap: 12px;
  margin-top: -7px;
}

.signup-copy {
  width: 100%;
  color: rgba(242,242,239,.86);
  font-family: "Cinzel", Georgia, serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .015em;
  white-space: nowrap;
  text-align: center;
  margin: 0 0 -2px;
}

.signup-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .14em;
}

.button {
  min-height: 76px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(var(--red), .52);
  background: rgba(255,255,255,.020);
  letter-spacing: .24em;
  transition: transform .18s ease, opacity .18s ease, border-color .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.button:active {
  opacity: .78;
  transform: scale(.992);
}

.button:hover,
.button:focus-visible {
  border-color: rgba(var(--red), .82);
  background: rgba(255,255,255,.035);
}

.button-main,
.glitch {
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: calc(.24em - 7px);
}

.button-sub {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: calc(.16em - 2px);
  color: var(--muted);
  text-transform: none;
}

.button-sub-fit {
  display: inline-block;
  white-space: nowrap;
  transform: scaleX(.84);
  transform-origin: center top;
}

.button-vein {
  position: relative;
  overflow: hidden;
  border-color: rgba(190,190,190,.34);
}

.button-vein:hover,
.button-vein:focus-visible {
  border-color: rgba(220,220,220,.54);
}

.button-vein::before,
.button-vein::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(225,225,225,.42);
  pointer-events: none;
  opacity: 0;
}

.button-vein::before {
  animation: vein-border-glitch-a 3.1s infinite steps(1, end);
}

.button-vein::after {
  border-color: rgba(170,170,170,.36);
  animation: vein-border-glitch-b 3.7s infinite steps(1, end);
}

.button-vein .glitch {
  position: relative;
  display: inline-block;
  color: rgba(242,242,239,.70);
  letter-spacing: calc(.24em - 7px);
  text-shadow:
    -1px 0 rgba(var(--red), .76),
    1px 0 rgba(255,255,255,.32);
  filter: blur(.12px);
  animation: vein-base 3.8s infinite steps(1, end);
}

.button-vein .glitch::before,
.button-vein .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.button-vein .glitch::before {
  color: rgba(var(--red), .86);
  text-shadow: -1px 0 rgba(var(--red), .65);
  animation: vein-slice-red 2.9s infinite steps(1, end);
}

.button-vein .glitch::after {
  color: rgba(255,255,255,.74);
  text-shadow: 1px 0 rgba(255,255,255,.30);
  animation: vein-slice-white 3.4s infinite steps(1, end);
}

@keyframes vein-base {
  0%, 12%, 18%, 47%, 54%, 82%, 100% { transform: translateX(0); opacity: .70; }
  13% { transform: translateX(-1px); opacity: .52; }
  14% { transform: translateX(1px); opacity: .76; }
  15% { transform: translateX(-1px); opacity: .61; }
  48% { transform: translateX(1px); opacity: .48; }
  49% { transform: translateX(-2px); opacity: .73; }
  50% { transform: translateX(0); opacity: .58; }
  83% { transform: translateX(-1px); opacity: .42; }
  84% { transform: translateX(1px); opacity: .72; }
}

@keyframes vein-slice-red {
  0%, 31%, 38%, 68%, 75%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  32% { opacity: .90; transform: translateX(-3px); clip-path: inset(18% 0 76% 0); }
  33% { opacity: .76; transform: translateX(4px); clip-path: inset(43% 0 51% 0); }
  34% { opacity: .86; transform: translateX(-2px); clip-path: inset(67% 0 27% 0); }
  35% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  69% { opacity: .82; transform: translateX(3px); clip-path: inset(29% 0 65% 0); }
  70% { opacity: .64; transform: translateX(-4px); clip-path: inset(58% 0 36% 0); }
  71% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
}

@keyframes vein-slice-white {
  0%, 20%, 27%, 57%, 64%, 88%, 95%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  21% { opacity: .72; transform: translateX(3px); clip-path: inset(11% 0 83% 0); }
  22% { opacity: .78; transform: translateX(-3px); clip-path: inset(38% 0 56% 0); }
  23% { opacity: .60; transform: translateX(4px); clip-path: inset(72% 0 22% 0); }
  24% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  58% { opacity: .76; transform: translateX(-4px); clip-path: inset(24% 0 70% 0); }
  59% { opacity: .62; transform: translateX(3px); clip-path: inset(52% 0 42% 0); }
  60% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  89% { opacity: .70; transform: translateX(4px); clip-path: inset(46% 0 48% 0); }
  90% { opacity: .58; transform: translateX(-2px); clip-path: inset(76% 0 18% 0); }
  91% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
}

@keyframes vein-border-glitch-a {
  0%, 24%, 31%, 63%, 70%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  25% { opacity: .72; transform: translateX(-2px); clip-path: inset(4% 0 88% 0); }
  26% { opacity: .52; transform: translateX(2px); clip-path: inset(46% 0 46% 0); }
  27% { opacity: .66; transform: translateX(-1px); clip-path: inset(89% 0 3% 0); }
  28% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  64% { opacity: .54; transform: translateX(2px); clip-path: inset(18% 0 74% 0); }
  65% { opacity: .62; transform: translateX(-2px); clip-path: inset(71% 0 21% 0); }
  66% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
}

@keyframes vein-border-glitch-b {
  0%, 40%, 47%, 78%, 85%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  41% { opacity: .48; transform: translateX(2px); clip-path: inset(27% 0 65% 0); }
  42% { opacity: .62; transform: translateX(-2px); clip-path: inset(83% 0 9% 0); }
  43% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  79% { opacity: .56; transform: translateX(-2px); clip-path: inset(8% 0 84% 0); }
  80% { opacity: .44; transform: translateX(2px); clip-path: inset(56% 0 36% 0); }
  81% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
}

@keyframes grain-shift {
  0%   { transform: translate3d(0,0,0); }
  20%  { transform: translate3d(-2%,1%,0); }
  40%  { transform: translate3d(1%,-2%,0); }
  60%  { transform: translate3d(2%,2%,0); }
  80%  { transform: translate3d(-1%,-1%,0); }
  100% { transform: translate3d(0,0,0); }
}

@media (min-width: 768px) {
  .home-inner {
    width: min(100%, 620px);
    gap: 7px;
  }

  .logo-stage {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    flex-basis: 200px;
  }

  .actions {
    width: 380px;
    margin-top: -5px;
  }

  .button {
    min-height: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home::after,
  .button-vein .glitch,
  .button-vein .glitch::before,
  .button-vein .glitch::after,
  .button-vein::before,
  .button-vein::after {
    animation: none;
  }
}

/* BOOKING PANEL — hero styles above remain unchanged. */
.booking-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #050303;
  color: var(--text);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  -webkit-overflow-scrolling: touch;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

.booking-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.booking-panel::before {
  content: "";
  position: fixed;
  inset: -10% -25% auto;
  height: 58vh;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(var(--red), .14), rgba(var(--red), .045) 36%, transparent 70%);
  filter: blur(26px);
}

.booking-noise {
  position: fixed;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  opacity: .09;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.96' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

.booking-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 20px max(48px, env(safe-area-inset-bottom));
}

.booking-header {
  position: relative;
  padding: 48px 0 30px;
  border-bottom: 1px solid rgba(var(--red), .34);
}

.booking-logout {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 76px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(var(--red), .48);
  border-radius: 0;
  background: rgba(255,255,255,.020);
  color: rgba(242,242,239,.72);
  font: 400 9px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .16em;
  cursor: pointer;
}

.booking-logout:hover,
.booking-logout:focus-visible {
  color: rgba(242,242,239,.96);
  border-color: rgba(var(--red), .78);
}

.booking-logout:disabled {
  opacity: .5;
  cursor: wait;
}

.booking-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--red), .48);
  border-radius: 0;
  background: rgba(255,255,255,.020);
  color: rgba(242,242,239,.88);
  font: 300 25px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}

.booking-kicker {
  color: rgba(242,242,239,.43);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
  margin-bottom: 10px;
}

.booking-header h1,
.booking-success h2 {
  margin: 0;
  font-weight: 300;
  letter-spacing: .035em;
}

.booking-header h1 {
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.08;
}

.booking-manifesto {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  color: rgba(242,242,239,.56);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .08em;
}

.booking-manifesto p,
.booking-deserve {
  margin: 0;
}

.booking-manifesto .manifesto-no {
  margin-bottom: 5px;
  color: rgb(var(--red));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .14em;
}

.booking-deserve {
  margin-top: 14px;
  color: rgba(242,242,239,.87);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .10em;
}

.booking-form {
  display: grid;
  gap: 24px;
  padding: 26px 0 20px;
}

.form-section {
  display: grid;
  gap: 18px;
  padding-top: 2px;
}

.form-section + .form-section {
  padding-top: 27px;
  border-top: 1px solid rgba(var(--red), .23);
}

.form-section h2 {
  margin: 0 0 2px;
  color: rgba(242,242,239,.92);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.field-grid {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field > span:first-child,
.choice-field legend {
  color: rgba(242,242,239,.68);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .01em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 0;
  outline: 0;
  background: rgba(255,255,255,.020);
  color: rgba(242,242,239,.91);
  padding: 15px 13px;
  font: 300 16px/1.45 "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: border-color .18s ease, background .18s ease;
}

.field textarea {
  resize: vertical;
  min-height: 132px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(var(--red), .76);
  background: rgba(255,255,255,.031);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(242,242,239,.48);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(242,242,239,.52) 50%),
    linear-gradient(135deg, rgba(242,242,239,.52) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select:invalid { color: rgba(242,242,239,.48); }
.field select option { background: #090606; color: rgba(242,242,239,.91); }
.field input:disabled,
.field select:disabled {
  color: rgba(242,242,239,.34);
  cursor: not-allowed;
  opacity: .72;
}


.date-picker {
  position: relative;
}

.date-input-wrap {
  position: relative;
}

.date-display-input {
  cursor: pointer;
  padding-right: 54px !important;
}

.date-display-input::placeholder {
  color: rgba(242,242,239,.48);
}

.date-input-icon {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(242,242,239,.33);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .12em;
  pointer-events: none;
}

.calendar-popover {
  position: relative;
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(var(--red), .42);
  background: #070505;
  padding: 14px;
  box-shadow: 0 18px 38px rgba(0,0,0,.34);
}

.calendar-popover[hidden] {
  display: none;
}

.calendar-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  margin-bottom: 12px;
}

.calendar-month {
  text-align: center;
  color: rgba(242,242,239,.88);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calendar-nav {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  background: transparent;
  color: rgba(242,242,239,.72);
  font: 300 22px/1 "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.calendar-nav:active {
  background: rgba(var(--red), .08);
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays {
  margin-bottom: 5px;
}

.calendar-weekdays span {
  text-align: center;
  color: rgba(242,242,239,.27);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .05em;
}

.calendar-day,
.calendar-blank {
  aspect-ratio: 1;
}

.calendar-day {
  border: 0;
  background: transparent;
  color: rgba(242,242,239,.74);
  font: 300 12px/1 "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.calendar-day:hover,
.calendar-day:focus-visible {
  background: rgba(255,255,255,.045);
  outline: 1px solid rgba(var(--red), .35);
}

.calendar-day.is-selected {
  background: rgba(var(--red), .14);
  outline: 1px solid rgba(var(--red), .72);
  color: rgba(242,242,239,.95);
}

.calendar-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.calendar-day:disabled {
  color: rgba(242,242,239,.13);
  cursor: default;
  background: transparent;
  outline: 0;
}

.choice-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0;
}

.choice-field legend {
  width: 100%;
  padding: 0 0 8px;
}

.choice-row,
.check-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: start;
  color: rgba(242,242,239,.65);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  cursor: pointer;
}

.choice-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.choice-row input,
.check-row input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: rgb(var(--red));
}

.upload-box {
  position: relative;
  min-height: 116px;
  border: 1px dashed rgba(var(--red), .46);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 7px;
  padding: 20px;
  background: rgba(255,255,255,.014);
  overflow: hidden;
}

.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
}

.upload-note {
  color: rgba(242,242,239,.39);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0;
}

.agreement-section {
  gap: 16px;
}

.check-row {
  padding: 2px 0;
}

.booking-submit {
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(var(--red), .70);
  border-radius: 0;
  background: rgba(var(--red), .08);
  color: rgba(242,242,239,.92);
  font: 400 15px/1 "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.booking-submit:hover,
.booking-submit:focus-visible {
  background: rgba(var(--red), .15);
  border-color: rgba(var(--red), .95);
}

.booking-footnote,
.booking-success p {
  color: rgba(242,242,239,.52);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .01em;
}

.booking-footnote {
  margin: -4px 0 0;
  text-align: center;
}

.booking-success {
  min-height: 72svh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 14px;
  padding: 36px 0;
}

.success-mark {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--red), .60);
  display: grid;
  place-items: center;
  color: rgba(242,242,239,.80);
  margin-bottom: 4px;
}

.booking-success h2 {
  font-size: 26px;
}

.booking-success p {
  max-width: 520px;
  margin: 0;
}

.booking-done {
  margin-top: 10px;
  max-width: 360px;
}

body.booking-open {
  overflow: hidden;
}

@media (min-width: 680px) {
  .booking-shell {
    padding-left: 28px;
    padding-right: 28px;
  }
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 679px) {
  .booking-shell {
    padding-left: 18px;
    padding-right: 18px;
  }
  .booking-header {
    padding-top: 52px;
  }
  .booking-form,
  .form-section,
  .field-grid {
    gap: 17px;
  }
}


.apply-box {
  margin-top: 2px;
  background: rgba(var(--red), .055);
}


/* MEMBERS ACCESS — v34 UI gate. Hero and booking form values remain unchanged. */
.member-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #050303;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .26s ease, transform .26s ease, visibility .26s ease;
  -webkit-overflow-scrolling: touch;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

.member-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.member-panel::before {
  content: "";
  position: fixed;
  inset: -18% -25% auto;
  height: 68vh;
  pointer-events: none;
  background: radial-gradient(circle at 50% 28%, rgba(var(--red), .17), rgba(var(--red), .05) 38%, transparent 72%);
  filter: blur(28px);
}

.member-noise {
  position: fixed;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  opacity: .09;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='mn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.96' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23mn)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

.member-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(28px, env(safe-area-inset-top)) 22px max(32px, env(safe-area-inset-bottom));
}

.member-close {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--red), .58);
  border-radius: 0;
  background: rgba(255,255,255,.024);
  color: rgba(242,242,239,.90);
  font: 300 25px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}

.member-card {
  width: min(100%, 410px);
  padding: 78px 0 34px;
  text-align: center;
}

.member-kicker {
  margin-bottom: 19px;
  color: rgba(242,242,239,.56);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .27em;
}

.member-view { display: none; }
.member-view.is-active { display: block; }

.member-view h1 {
  margin: 0;
  color: rgba(242,242,239,.96);
  font-size: clamp(31px, 8vw, 43px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: .10em;
}

.member-intro {
  margin: 14px auto 34px;
  max-width: 360px;
  color: rgba(242,242,239,.55);
  font-size: 10px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: .14em;
}

.member-form {
  display: grid;
  gap: 16px;
}

.member-field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.member-field > span {
  color: rgba(242,242,239,.73);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
}

.member-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 0;
  outline: none;
  background: rgba(255,255,255,.035);
  color: rgba(242,242,239,.94);
  font: 300 15px/1.2 "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: border-color .18s ease, background .18s ease;
}

.member-field input::placeholder { color: rgba(242,242,239,.51); opacity: 1; }
.member-field input:focus {
  border-color: rgba(var(--red), .78);
  background: rgba(255,255,255,.050);
}

.member-primary {
  width: 100%;
  min-height: 56px;
  margin-top: 5px;
  border: 1px solid rgba(var(--red), .70);
  border-radius: 0;
  background: rgba(var(--red), .055);
  color: rgba(242,242,239,.94);
  font: 300 13px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .22em;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, opacity .18s ease;
}

.member-primary:hover,
.member-primary:focus-visible {
  border-color: rgba(var(--red), .96);
  background: rgba(var(--red), .095);
}

.member-status {
  min-height: 16px;
  margin: -3px 0 0;
  color: rgba(242,242,239,.49);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: .10em;
}

.member-links {
  display: grid;
  gap: 17px;
  margin-top: 31px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.member-text-link,
.member-back {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.member-text-link {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.member-text-link span {
  color: rgba(242,242,239,.44);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: .14em;
}

.member-text-link strong,
.member-text-link.single {
  color: rgba(242,242,239,.80);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.member-back {
  margin-top: 28px;
  color: rgba(242,242,239,.62);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .15em;
}

.member-footer {
  margin: 38px 0 0;
  color: rgba(242,242,239,.29);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .14em;
}

body.member-open { overflow: hidden; }

@media (min-width: 768px) {
  .member-card { padding-top: 64px; }
}

/* Auth status states — layout stays unchanged. */
.member-status[data-status="error"] { color: rgba(235, 112, 112, .78); }
.member-status[data-status="success"] { color: rgba(242, 242, 239, .70); }

/* BOOKING HEADER ACCOUNT ACTIONS */
.booking-account-actions {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-account-actions .booking-logout,
.booking-account-actions .booking-admin {
  position: static;
  top: auto;
  left: auto;
  min-width: 76px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(var(--red), .48);
  border-radius: 0;
  background: rgba(255,255,255,.020);
  color: rgba(242,242,239,.72);
  font: 400 9px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .16em;
  cursor: pointer;
}

.booking-account-actions .booking-admin {
  background: rgba(var(--red), .045);
  color: rgba(242,242,239,.78);
}

.booking-account-actions .booking-logout:hover,
.booking-account-actions .booking-logout:focus-visible,
.booking-account-actions .booking-admin:hover,
.booking-account-actions .booking-admin:focus-visible {
  color: rgba(242,242,239,.98);
  border-color: rgba(var(--red), .82);
}

.booking-admin[hidden] {
  display: none !important;
}

/* ADMIN DASHBOARD — visible only after server-side admin check. */
.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 160;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #050303;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  -webkit-overflow-scrolling: touch;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.admin-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.admin-panel::before {
  content: "";
  position: fixed;
  inset: -10% -25% auto;
  height: 54vh;
  pointer-events: none;
  background: radial-gradient(circle at 50% 25%, rgba(var(--red), .13), rgba(var(--red), .04) 38%, transparent 72%);
  filter: blur(26px);
}

.admin-noise {
  position: fixed;
  inset: -30%;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='an'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.96' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23an)' opacity='.68'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

.admin-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 20px max(56px, env(safe-area-inset-bottom));
}

.admin-header {
  position: relative;
  padding: 54px 0 28px;
  border-bottom: 1px solid rgba(var(--red), .34);
}

.admin-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--red), .58);
  border-radius: 0;
  background: rgba(255,255,255,.024);
  color: rgba(242,242,239,.90);
  font: 300 25px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}

.admin-kicker {
  margin-bottom: 14px;
  color: rgba(242,242,239,.48);
  font-size: 9px;
  letter-spacing: .22em;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(34px, 9vw, 62px);
  font-weight: 300;
  line-height: .96;
  letter-spacing: .07em;
}

.admin-intro {
  margin: 16px 0 0;
  color: rgba(242,242,239,.42);
  font-size: 9px;
  letter-spacing: .17em;
}

.admin-toolbar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  margin: 24px 0 16px;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-filter,
.admin-refresh,
.admin-save,
.admin-image-link {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 0;
  background: rgba(255,255,255,.025);
  color: rgba(242,242,239,.68);
  font: 400 9px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
}

.admin-filter { padding: 10px 11px; }
.admin-filter.is-active { border-color: rgba(var(--red), .76); color: rgba(242,242,239,.96); background: rgba(var(--red), .055); }
.admin-refresh { padding: 10px 12px; flex: 0 0 auto; }

.admin-status {
  min-height: 18px;
  margin: 0 0 12px;
  color: rgba(242,242,239,.48);
  font-size: 9px;
  letter-spacing: .11em;
}
.admin-status[data-status="error"] { color: rgba(235,112,112,.82); }

.admin-list { display: grid; gap: 14px; }

.admin-card {
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.018);
  padding: 18px;
}

.admin-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.admin-card-name {
  margin: 0;
  color: rgba(242,242,239,.96);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .035em;
}

.admin-card-meta {
  margin: 6px 0 0;
  color: rgba(242,242,239,.43);
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: .08em;
}

.admin-status-select {
  min-width: 132px;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid rgba(var(--red), .48);
  border-radius: 0;
  background: #090606;
  color: rgba(242,242,239,.86);
  font: 400 9px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .09em;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 18px;
  padding: 16px 0;
}

.admin-data { min-width: 0; }
.admin-data.wide { grid-column: 1 / -1; }
.admin-data-label {
  display: block;
  margin-bottom: 5px;
  color: rgba(242,242,239,.36);
  font-size: 8px;
  letter-spacing: .14em;
}
.admin-data-value {
  color: rgba(242,242,239,.80);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.admin-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.admin-image-link { padding: 10px 12px; }

.admin-notes-label {
  display: block;
  margin-bottom: 7px;
  color: rgba(242,242,239,.42);
  font-size: 8px;
  letter-spacing: .14em;
}

.admin-notes {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 0;
  outline: 0;
  background: rgba(255,255,255,.025);
  color: rgba(242,242,239,.88);
  font: 300 13px/1.5 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}
.admin-notes:focus { border-color: rgba(var(--red), .70); }

.admin-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.admin-save {
  min-width: 120px;
  padding: 11px 14px;
  border-color: rgba(var(--red), .62);
}
.admin-save:disabled { opacity: .45; cursor: wait; }

.admin-empty {
  padding: 46px 16px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(242,242,239,.42);
  text-align: center;
  font-size: 10px;
  letter-spacing: .14em;
}

body.admin-open { overflow: hidden; }

@media (max-width: 620px) {
  .booking-account-actions { gap: 6px; }
  .booking-account-actions .booking-logout,
  .booking-account-actions .booking-admin {
    min-width: 72px;
    padding: 0 10px;
  }
  .admin-toolbar { display: grid; }
  .admin-refresh { justify-self: start; }
  .admin-card-top { display: grid; }
  .admin-status-select { width: 100%; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-data.wide { grid-column: auto; }
}

/* V45 — conversion workflow. Hero remains untouched. */
.admin-status[data-status="success"] { color: rgba(150,224,166,.86); }

.admin-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 0;
}

.admin-action-link,
.admin-send-deposit,
.admin-confirm-booking {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(var(--red), .62);
  border-radius: 0;
  background: rgba(var(--red), .045);
  color: rgba(242,242,239,.90);
  font: 400 9px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .12em;
  text-decoration: none;
  cursor: pointer;
}

.admin-action-link.secondary {
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.02);
  color: rgba(242,242,239,.62);
}

.admin-action-link:hover,
.admin-action-link:focus-visible,
.admin-send-deposit:hover,
.admin-send-deposit:focus-visible,
.admin-confirm-booking:hover,
.admin-confirm-booking:focus-visible {
  border-color: rgba(var(--red), .88);
  color: rgba(242,242,239,1);
}

.admin-deposit-box {
  margin: 2px 0 18px;
  padding: 16px;
  border: 1px solid rgba(var(--red), .28);
  background: rgba(var(--red), .025);
}

.admin-deposit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.admin-section-kicker {
  display: block;
  margin-bottom: 5px;
  color: rgba(242,242,239,.37);
  font-size: 8px;
  letter-spacing: .15em;
}

.admin-deposit-head h3 {
  margin: 0;
  color: rgba(242,242,239,.92);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .06em;
}

.admin-deposit-badge {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(242,242,239,.48);
  font-size: 8px;
  line-height: 1;
  letter-spacing: .11em;
}

.admin-deposit-badge[data-deposit-status="requested"] {
  border-color: rgba(204,153,72,.55);
  color: rgba(232,191,119,.88);
}

.admin-deposit-badge[data-deposit-status="paid"] {
  border-color: rgba(111,193,131,.55);
  color: rgba(150,224,166,.90);
}

.admin-deposit-summary {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.admin-deposit-summary-row {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
}

.admin-deposit-summary-row + .admin-deposit-summary-row {
  border-top: 1px solid rgba(255,255,255,.08);
}

.admin-deposit-summary-row > span {
  color: rgba(242,242,239,.38);
  font-size: 8px;
  letter-spacing: .14em;
}

.admin-deposit-summary-row > strong {
  justify-self: end;
  color: rgba(242,242,239,.72);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .08em;
  text-align: right;
}

.admin-deposit-summary-row > strong[data-summary-state="idle"] {
  color: rgba(242,242,239,.42);
}

.admin-deposit-summary-row > strong[data-summary-state="paid"] {
  color: rgba(150,224,166,.94);
}

.admin-deposit-summary-row > strong[data-summary-state="error"] {
  color: rgba(236,130,130,.94);
}

.admin-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 12px;
  padding: 15px 0 13px;
}

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

.admin-field.wide { grid-column: 1 / -1; }

.admin-field > span {
  color: rgba(242,242,239,.38);
  font-size: 8px;
  letter-spacing: .13em;
}

.admin-field input,
.admin-field select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 0;
  outline: 0;
  background: rgba(0,0,0,.18);
  color: rgba(242,242,239,.88);
  font: 300 12px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.admin-field input:focus,
.admin-field select:focus { border-color: rgba(var(--red), .72); }

.admin-conversion-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}

.admin-send-deposit,
.admin-confirm-booking {
  min-height: 44px;
  width: 100%;
}

.admin-confirm-booking {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.24);
}

.admin-send-deposit:disabled,
.admin-confirm-booking:disabled {
  opacity: .45;
  cursor: wait;
}

.admin-action-note {
  margin: 10px 0 0;
  color: rgba(242,242,239,.34);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .06em;
}

@media (max-width: 620px) {
  .admin-payment-grid,
  .admin-conversion-actions { grid-template-columns: 1fr; }
  .admin-field.wide { grid-column: auto; }
  .admin-deposit-head { display: grid; }
  .admin-deposit-badge { justify-self: start; }
}

.admin-paypal-status {
  display: block;
  margin-top: 2px;
  color: rgba(242,242,239,.34);
  font-size: 8px;
  letter-spacing: .1em;
}

.admin-payment-url[readonly] {
  color: rgba(242,242,239,.58);
  cursor: default;
}

@media (max-width: 560px) {
  .admin-deposit-summary-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .admin-deposit-summary-row > strong {
    justify-self: start;
    text-align: left;
  }
}

/* V48 — readability pass: small text weight only. Sizes, colors, spacing and layout unchanged. */
.booking-kicker,
.booking-manifesto,
.field > span:first-child,
.choice-field legend,
.date-input-icon,
.calendar-month,
.calendar-weekdays span,
.upload-title,
.booking-account-actions .booking-logout,
.booking-account-actions .booking-admin {
  font-weight: 500;
}

.calendar-day,
.choice-row,
.check-row,
.upload-note,
.booking-footnote,
.booking-success p {
  font-weight: 400;
}

.member-kicker,
.member-field > span,
.member-text-link strong,
.member-text-link.single {
  font-weight: 500;
}

.member-intro,
.member-primary,
.member-status,
.member-text-link span,
.member-back,
.member-footer {
  font-weight: 400;
}

.admin-kicker,
.admin-intro,
.admin-filter,
.admin-refresh,
.admin-status,
.admin-card-meta,
.admin-status-select,
.admin-data-label,
.admin-notes-label,
.admin-empty,
.admin-action-link,
.admin-send-deposit,
.admin-confirm-booking,
.admin-section-kicker,
.admin-deposit-badge,
.admin-deposit-summary-row > span,
.admin-deposit-summary-row > strong,
.admin-field > span,
.admin-action-note,
.admin-paypal-status {
  font-weight: 500;
}

.admin-notes,
.admin-field input,
.admin-field select {
  font-weight: 400;
}

/* v49 — additive NEW PROJECTS entry only. Existing hero/actions are untouched. */
.home-inner { position: relative; }
.new-project-entry {
  position: absolute;
  left: 50%;
  bottom: max(2px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(88vw, 352px);
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--red), .42);
  background: rgba(255,255,255,.014);
  color: rgba(242,242,239,.76);
  font-family: "Cinzel", Georgia, serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .22em;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.new-project-entry:hover,
.new-project-entry:focus-visible {
  border-color: rgba(var(--red), .76);
  background: rgba(255,255,255,.028);
  color: rgba(242,242,239,.94);
}
.new-project-entry:active { opacity: .78; }
@media (min-width: 768px) {
  .new-project-entry { width: 380px; }
}
@media (max-height: 660px) {
  .new-project-entry {
    bottom: max(0px, env(safe-area-inset-bottom));
    min-height: 40px;
    font-size: 11px;
  }
}

/* v49 — additive admin block for public NEW PROJECT applications. */
.admin-new-projects-section {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid rgba(var(--red), .30);
}
.admin-new-projects-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.admin-new-projects-head h2 {
  margin: 4px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
}
.admin-new-project-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(var(--red), .52);
  color: rgba(242,242,239,.88);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
}
.admin-new-project-card .admin-card-meta { margin-top: 7px; }

/* v51 — admin-controlled shared booking availability. Additive only. */
.admin-availability-section {
  margin: 26px 0 30px;
  padding: 22px 0 28px;
  border-bottom: 1px solid rgba(var(--red), .30);
}

.admin-availability-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.admin-availability-head h2 {
  margin: 4px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
}

.admin-availability-note {
  max-width: 720px;
  margin: 0 0 18px;
  color: rgba(242,242,239,.42);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .06em;
}

.admin-availability-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}

.admin-add-location {
  min-width: 126px;
  min-height: 40px;
}

.admin-availability-list {
  display: grid;
  gap: 12px;
}

.admin-availability-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(130px, .4fr);
  gap: 10px;
}

.admin-availability-date-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
}

.admin-availability-add-date {
  min-width: 110px;
  min-height: 40px;
}

.admin-availability-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
  min-height: 30px;
  align-items: center;
}

.admin-availability-date-chip {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(var(--red), .42);
  border-radius: 0;
  background: rgba(var(--red), .035);
  color: rgba(242,242,239,.76);
  font: 500 9px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .07em;
  cursor: pointer;
}

.admin-availability-date-chip:hover,
.admin-availability-date-chip:focus-visible {
  border-color: rgba(var(--red), .78);
  color: rgba(242,242,239,.96);
}

.admin-availability-date-chip span {
  margin-left: 5px;
  color: rgba(242,242,239,.46);
}

.admin-availability-empty-dates {
  color: rgba(242,242,239,.34);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
}

.admin-availability-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.admin-availability-delete-location {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  background: transparent;
  color: rgba(242,242,239,.42);
  font: 500 8px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
}

.admin-availability-delete-location:hover,
.admin-availability-delete-location:focus-visible {
  border-color: rgba(210,92,92,.52);
  color: rgba(235,140,140,.84);
}

@media (max-width: 620px) {
  .admin-availability-head,
  .admin-availability-add,
  .admin-availability-location-grid,
  .admin-availability-date-add {
    grid-template-columns: 1fr;
    display: grid;
  }
  .admin-availability-head .admin-refresh,
  .admin-add-location,
  .admin-availability-add-date {
    justify-self: start;
    width: 100%;
  }
  .admin-availability-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .admin-availability-actions .admin-save,
  .admin-availability-delete-location {
    width: 100%;
  }
}


/* v52 — compact admin groups + multi-select availability calendar. */
.admin-dashboard-group,
.admin-availability-section,
.admin-new-projects-section,
.admin-bookings-section {
  margin: 14px 0 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.012);
}

.admin-dashboard-group + .admin-dashboard-group { margin-top: 12px; }

.admin-dashboard-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 18px 18px 17px;
  cursor: pointer;
  user-select: none;
}

.admin-dashboard-summary::-webkit-details-marker { display: none; }
.admin-dashboard-summary::marker { display: none; content: ''; }

.admin-dashboard-summary h2,
.admin-availability-section .admin-dashboard-summary h2,
.admin-new-projects-section .admin-dashboard-summary h2 {
  margin: 4px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(21px, 4.5vw, 31px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
}

.admin-dashboard-summary-side {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.admin-dashboard-count {
  color: rgba(242,242,239,.42);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .13em;
  white-space: nowrap;
}

.admin-dashboard-chevron {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--red), .38);
  color: rgba(242,242,239,.68);
  font: 300 20px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

.admin-dashboard-group[open] > .admin-dashboard-summary {
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.admin-dashboard-group[open] .admin-dashboard-chevron {
  transform: rotate(45deg);
  border-color: rgba(var(--red), .72);
  color: rgba(242,242,239,.95);
}

.admin-dashboard-body { padding: 18px; }

.admin-dashboard-actions-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.admin-dashboard-actions-top .admin-availability-note { margin: 0; }
.admin-new-project-actions-top { margin-bottom: 4px; }

.admin-dashboard-body .admin-toolbar {
  margin: 0 0 16px;
}

.admin-availability-date-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.admin-field-caption {
  display: block;
  margin-bottom: 7px;
  color: rgba(242,242,239,.42);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .13em;
}

.admin-availability-date-toolbar .admin-availability-dates {
  margin-top: 0;
}

.admin-availability-edit-dates {
  min-width: 112px;
  min-height: 40px;
}

.admin-availability-date-chip {
  cursor: default;
}

.admin-availability-date-chip:hover,
.admin-availability-date-chip:focus-visible {
  border-color: rgba(var(--red), .42);
  color: rgba(242,242,239,.76);
}

.admin-date-calendar[hidden] { display: none !important; }

.admin-date-calendar {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-date-calendar-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px);
  cursor: default;
}

.admin-date-calendar-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(var(--red), .55);
  background:
    radial-gradient(circle at 50% -20%, rgba(var(--red), .11), transparent 46%),
    #080606;
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
}

.admin-date-calendar-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.admin-date-calendar-top h2 {
  margin: 4px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
}

.admin-date-calendar-top p {
  margin: 8px 0 0;
  color: rgba(242,242,239,.48);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .11em;
}

.admin-date-calendar-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: rgba(242,242,239,.62);
  font: 300 22px/1 Arial, sans-serif;
  cursor: pointer;
}

.admin-date-calendar-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-date-calendar-head .calendar-month { text-align: center; }
.admin-date-calendar-days { min-height: 252px; }

.admin-date-calendar-day.is-selected {
  border-color: rgba(var(--red), .88);
  background: rgba(var(--red), .17);
  color: rgba(255,255,255,.98);
}

.admin-date-calendar-day:disabled {
  opacity: .19;
  cursor: default;
}

.admin-date-calendar-footer {
  display: grid;
  gap: 13px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.admin-date-calendar-footer > span {
  color: rgba(242,242,239,.45);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .13em;
}

.admin-date-calendar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-date-calendar-cancel {
  min-height: 40px;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: rgba(242,242,239,.48);
  font: 500 8px/1 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
}

.admin-date-calendar-actions .admin-save { min-height: 40px; }

@media (max-width: 620px) {
  .admin-dashboard-summary {
    min-height: 72px;
    padding: 15px 14px;
  }
  .admin-dashboard-count { display: none; }
  .admin-dashboard-body { padding: 14px; }
  .admin-dashboard-actions-top,
  .admin-availability-date-toolbar {
    grid-template-columns: 1fr;
  }
  .admin-dashboard-actions-top .admin-refresh,
  .admin-availability-edit-dates { width: 100%; }
  .admin-date-calendar { padding: 10px; }
  .admin-date-calendar-dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 16px;
  }
}
