:root {
  color-scheme: dark;
  --background: #060606;
  --surface: #0d0d0d;
  --surface-raised: #121212;
  --surface-soft: #171717;
  --border: #242424;
  --border-strong: #383838;
  --text: #f2f0eb;
  --muted: #969696;
  --muted-strong: #b8b8b8;
  --white: #f7f6f2;
  --black: #070707;
  --success: #b9e1c2;
  --success-surface: rgba(121, 188, 137, 0.1);
  --error: #f0b6b6;
  --error-surface: rgba(215, 112, 112, 0.1);
  --info-surface: rgba(255, 255, 255, 0.055);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.045), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

button {
  border: 0;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 50%;
  pointer-events: none;
}

.ambient-one {
  top: -18rem;
  right: -10rem;
  box-shadow: 0 0 160px rgba(255, 255, 255, 0.02) inset;
}

.ambient-two {
  bottom: 2rem;
  left: -26rem;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ecc-logo {
  display: block;
  width: 165px;
  height: auto;
}

.private-label,
.lock-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d6e3d9;
  box-shadow: 0 0 0 4px rgba(214, 227, 217, 0.08);
}

.hero {
  max-width: 830px;
  padding: 102px 0 78px;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(43px, 6vw, 74px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero h1 span {
  color: #9c9c9c;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 540px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.65;
}

.session-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.session-facts > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.fact-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--muted-strong);
  font-size: 8px;
  font-weight: 700;
}

.person-icon::before {
  width: 6px;
  height: 6px;
  border: 1px solid var(--muted-strong);
  border-radius: 50%;
  box-shadow: 0 7px 0 -1px var(--surface), 0 7px 0 1px var(--muted-strong);
  content: "";
  transform: translateY(-3px);
}

.booking-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(12, 12, 12, 0.94);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.35);
}

.booking-step {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  border-bottom: 1px solid var(--border);
}

.booking-step:last-child {
  border-bottom: 0;
}

.step-marker {
  padding-top: 51px;
  border-right: 1px solid var(--border);
  color: #5f5f5f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
}

.step-content {
  min-width: 0;
  padding: 48px 54px 54px;
}

.section-heading,
.admin-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-heading h2,
.admin-card-heading h2 {
  margin: 7px 0 0;
  color: var(--white);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.section-hint {
  margin: 22px 0 0;
  color: #6f6f6f;
  font-size: 12px;
}

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

.date-button,
.date-skeleton {
  position: relative;
  min-height: 128px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}

.date-skeleton {
  background: linear-gradient(100deg, #111 20%, #181818 40%, #111 60%);
  background-size: 200% 100%;
  animation: shimmer 1.45s infinite linear;
}

@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}

.date-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.date-button:hover {
  border-color: #505050;
  transform: translateY(-2px);
}

.date-button.selected {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.date-weekday {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.date-button.selected .date-weekday {
  color: #5e5e5e;
}

.date-line {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.date-line strong {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.date-line span {
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
}

.selection-check {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid #c2c2c2;
  border-radius: 50%;
  color: transparent;
  font-size: 11px;
}

.date-button.selected .selection-check {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

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

.slot-button {
  display: flex;
  min-height: 74px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 14px 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

button.slot-button:hover:not(:disabled) {
  border-color: #505050;
  transform: translateY(-1px);
}

.slot-button strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.slot-button small {
  color: #737373;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slot-button.selected {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.slot-button.selected small {
  color: #4e4e4e;
}

.slot-button.booked {
  border-color: #1b1b1b;
  background: #0a0a0a;
  color: #515151;
  cursor: not-allowed;
  opacity: 0.82;
}

.slot-button.booked small {
  color: #454545;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 110px;
  place-items: center;
  padding: 25px;
  border: 1px dashed #292929;
  border-radius: var(--radius-md);
  color: #777;
  font-size: 13px;
  text-align: center;
}

.empty-state.compact {
  min-height: 86px;
}

.loading-state {
  animation: soft-pulse 1.35s ease-in-out infinite;
}

@keyframes soft-pulse {
  50% {
    color: #bbb;
    border-color: #3a3a3a;
  }
}

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

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

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

.field > span {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.045em;
}

.field small {
  color: #686868;
  font-size: 10px;
  line-height: 1.55;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--surface-raised);
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input {
  min-height: 55px;
  padding: 0 16px;
}

textarea {
  min-height: 130px;
  padding: 15px 16px;
  line-height: 1.65;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #535353;
}

input:hover,
textarea:hover {
  border-color: #353535;
}

input:focus,
textarea:focus {
  border-color: #747474;
  background: #151515;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07);
}

.booking-summary {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #0a0a0a;
}

.summary-label {
  margin: 0 0 18px;
  color: #606060;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.75fr 0.75fr;
}

.summary-grid > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 0 22px;
  border-left: 1px solid var(--border);
}

.summary-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.summary-grid span {
  color: #6b6b6b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.summary-grid strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-button {
  display: flex;
  width: 100%;
  min-height: 59px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 20px 0 22px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.primary-button:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-1px);
}

.primary-button:disabled {
  background: #222;
  color: #626262;
  cursor: not-allowed;
}

.button-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
}

.primary-button:disabled .button-arrow {
  background: #353535;
  color: #686868;
}

.fineprint {
  margin: 13px 0 0;
  color: #696969;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.notice {
  margin: 20px 20px 0;
  padding: 14px 16px;
  border: 1px solid rgba(240, 182, 182, 0.2);
  border-radius: var(--radius-sm);
  background: var(--error-surface);
  color: var(--error);
  font-size: 12px;
  line-height: 1.55;
}

.notice.success {
  border-color: rgba(185, 225, 194, 0.2);
  background: var(--success-surface);
  color: var(--success);
}

.notice.info {
  border-color: var(--border);
  background: var(--info-surface);
  color: var(--muted-strong);
}

.confirmation-view {
  max-width: 700px;
  margin: 0 auto;
  padding: 88px 45px 92px;
  outline: none;
  text-align: center;
}

.confirmation-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 29px;
  place-items: center;
  border: 1px solid #565656;
  border-radius: 50%;
  background: #141414;
  color: var(--white);
  font-size: 25px;
}

.confirmation-view h2 {
  max-width: 640px;
  margin: 17px auto 18px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 51px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.confirmation-intro,
.arrival-note {
  color: var(--muted);
  font-size: 13px;
}

.confirmation-slot {
  display: flex;
  max-width: 480px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px auto;
  padding: 22px 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  text-align: left;
}

.confirmation-slot span {
  font-size: 14px;
  font-weight: 550;
}

.confirmation-slot strong {
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 400;
}

.location-note {
  display: flex;
  max-width: 480px;
  align-items: flex-start;
  gap: 13px;
  margin: 0 auto 20px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #0a0a0a;
  color: var(--muted-strong);
  text-align: left;
}

.location-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.location-note strong {
  color: var(--text);
}

.location-pin {
  color: var(--white);
  font-size: 20px;
  line-height: 1;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 40px;
  color: #555;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Administration */
.admin-shell {
  width: min(1120px, calc(100% - 40px));
}

.text-link {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--white);
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.admin-hero {
  padding: 70px 0 48px;
}

.admin-hero h1 {
  margin: 14px 0 10px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.admin-hero > p:last-child {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-page > .ambient {
  opacity: 0.7;
}

.admin-page .notice {
  margin: 0 0 18px;
}

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

.admin-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.admin-card-heading {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.lock-label {
  margin-top: 18px;
}

.admin-page .field + .field {
  margin-top: 21px;
}

.admin-date-field {
  margin-top: 21px;
}

.availability-calendar {
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #101010;
}

.calendar-heading {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
}

.calendar-heading h3 {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.calendar-nav-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-raised);
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 17px;
}

.calendar-nav-button:hover {
  border-color: #555;
  color: var(--white);
}

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

.calendar-weekdays {
  padding: 12px 12px 7px;
}

.calendar-weekdays span {
  color: #666;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  gap: 4px;
  padding: 5px 12px 14px;
}

.calendar-day {
  min-width: 0;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.calendar-day:hover:not(:disabled):not(.selected) {
  border-color: var(--border-strong);
  background: var(--surface-soft);
  color: var(--white);
}

.calendar-day.other-month {
  color: #4d4d4d;
}

.calendar-day.today:not(.selected) {
  border-color: #5b5b5b;
  color: var(--white);
}

.calendar-day.selected {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.calendar-day.past {
  cursor: not-allowed;
  opacity: 0.28;
}

.selected-dates-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 2px 8px;
  color: #777;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-dates-heading strong {
  display: inline-flex;
  min-width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 10px;
}

.selected-dates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 38px;
}

.selected-date-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 10px;
  text-transform: capitalize;
}

.selected-date-chip:hover {
  border-color: #555;
  color: var(--white);
}

.selected-date-chip span:last-child {
  color: #777;
  font-size: 16px;
  line-height: 1;
}

.selected-dates-empty {
  margin: 7px 2px;
  color: #666;
  font-size: 11px;
}

.admin-fields {
  gap: 16px;
  margin-top: 22px;
}

.admin-fields .field {
  margin-top: 0 !important;
}

.input-with-suffix {
  position: relative;
}

.input-with-suffix input {
  padding-right: 52px;
}

.input-with-suffix > span {
  position: absolute;
  top: 50%;
  right: 16px;
  color: #666;
  font-size: 10px;
  font-weight: 700;
  transform: translateY(-50%);
  text-transform: uppercase;
}

.admin-card .primary-button {
  margin-top: 28px;
}

.preview-card {
  position: sticky;
  top: 18px;
}

.count-badge {
  margin-top: 16px;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #777;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
}

.preview-rule {
  margin: -8px 0 22px;
  color: #717171;
  font-size: 11px;
}

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

.preview-slot {
  min-height: 58px;
  cursor: default;
}

.preview-slot strong {
  font-size: 14px;
}

.preview-note {
  margin: 20px 0 0;
  color: #5e5e5e;
  font-size: 10px;
  line-height: 1.55;
}

.reservations-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 18px;
}

.reservations-cta h2,
.access-card h2,
.appointments-heading h2 {
  margin: 7px 0 8px;
  color: var(--white);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.reservations-cta p:last-child,
.access-copy p:last-child {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.reservations-link {
  width: min(290px, 100%);
  flex: 0 0 auto;
  margin-top: 0 !important;
  text-decoration: none;
}

/* Récapitulatif des réservations */
.recap-hero {
  padding-bottom: 38px;
}

.access-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(350px, 1.1fr);
  align-items: end;
  gap: 48px;
}

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

.access-form .compact-button {
  width: 250px;
  margin: 0;
}

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

.stat-card {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.stat-card span {
  color: #747474;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stat-card strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.appointments-card {
  padding: 0;
  overflow: hidden;
}

.appointments-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 32px;
  border-bottom: 1px solid var(--border);
}

.appointments-heading h2 {
  margin-bottom: 0;
}

.appointments-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.search-field input {
  width: 255px;
  min-height: 43px;
  font-size: 12px;
}

.secondary-button {
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.secondary-button:hover:not(:disabled) {
  border-color: #555;
  color: var(--white);
}

.secondary-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.appointments-list {
  min-height: 130px;
}

.appointment-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(260px, 1.15fr) minmax(210px, 0.75fr);
  align-items: center;
  gap: 28px;
  padding: 25px 32px;
  border-bottom: 1px solid var(--border);
}

.appointment-row:last-child {
  border-bottom: 0;
}

.appointment-row:hover {
  background: rgba(255, 255, 255, 0.018);
}

.appointment-schedule,
.appointment-person {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.appointment-schedule {
  gap: 5px;
}

.appointment-schedule strong {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 550;
  text-transform: capitalize;
}

.appointment-schedule span {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 29px;
  line-height: 1.1;
}

.appointment-person {
  gap: 3px;
}

.appointment-person strong {
  overflow: hidden;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appointment-person a {
  overflow: hidden;
  color: #7d7d7d;
  font-size: 11px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appointment-person a:hover {
  color: var(--muted-strong);
}

.appointment-actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.whatsapp-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(185, 225, 194, 0.25);
  border-radius: var(--radius-sm);
  background: var(--success-surface);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.whatsapp-button:hover {
  border-color: rgba(185, 225, 194, 0.5);
  background: rgba(121, 188, 137, 0.16);
  transform: translateY(-1px);
}

.cancel-booking-button,
.danger-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(240, 182, 182, 0.22);
  border-radius: var(--radius-sm);
  background: var(--error-surface);
  color: var(--error);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cancel-booking-button:hover:not(:disabled),
.danger-button:hover:not(:disabled) {
  border-color: rgba(240, 182, 182, 0.5);
  background: rgba(215, 112, 112, 0.17);
  transform: translateY(-1px);
}

.cancel-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.65);
}

.cancel-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(5px);
}

.cancel-dialog-content {
  padding: 32px;
}

.cancel-dialog h2 {
  margin: 8px 0 12px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.cancel-dialog-description {
  margin: 0;
  color: var(--white);
  font-size: 14px;
}

.cancel-dialog-hint {
  margin: 18px 0 0;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.cancel-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 25px;
}

.cancel-dialog-actions button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.appointments-empty {
  margin: 28px 32px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@media (max-width: 840px) {
  .hero {
    padding: 78px 0 62px;
  }

  .booking-step {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .step-content {
    padding: 40px 36px 46px;
  }

  .step-marker {
    padding-top: 43px;
  }

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

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

  .preview-card {
    position: static;
  }

  .access-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .appointment-row {
    grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.2fr);
  }

  .appointment-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-shell,
  .admin-shell {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    min-height: 72px;
  }

  .wordmark {
    max-width: 140px;
  }

  .ecc-logo {
    width: 135px;
  }

  .private-label {
    font-size: 0;
  }

  .private-label .status-dot {
    width: 6px;
    height: 6px;
  }

  .text-link {
    font-size: 9px;
  }

  .admin-nav {
    gap: 12px;
  }

  .admin-nav .text-link:first-child {
    display: none;
  }

  .hero {
    padding: 63px 0 48px;
  }

  .hero h1 {
    margin: 0 0 19px;
    font-size: clamp(39px, 12vw, 52px);
    line-height: 1.01;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 15px;
    line-height: 1.6;
  }

  .session-facts {
    gap: 16px;
    margin-top: 25px;
    font-size: 10px;
  }

  .booking-card {
    border-radius: 20px;
  }

  .booking-step {
    display: block;
  }

  .step-marker {
    display: none;
  }

  .step-content {
    padding: 33px 20px 38px;
  }

  .section-heading {
    display: block;
    margin-bottom: 25px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .section-hint {
    margin: 7px 0 0;
    font-size: 10px;
  }

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

  .date-button,
  .date-skeleton {
    min-height: 118px;
  }

  .date-button {
    padding: 18px;
  }

  .date-line {
    display: block;
  }

  .date-line strong {
    margin-right: 6px;
    font-size: 33px;
  }

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

  .slot-button {
    min-height: 70px;
    padding: 13px 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .field-wide {
    grid-column: auto;
  }

  input {
    min-height: 57px;
    font-size: 16px;
  }

  textarea {
    font-size: 16px;
  }

  .booking-summary {
    margin-top: 26px;
    padding: 19px;
  }

  .summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 17px 0;
  }

  .summary-grid > div {
    padding: 0 15px;
  }

  .summary-grid > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .summary-grid > div:first-child {
    grid-column: 1 / -1;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--border);
  }

  .primary-button {
    min-height: 61px;
    margin-top: 16px;
  }

  .notice {
    margin: 14px 14px 0;
  }

  .confirmation-view {
    padding: 64px 20px 70px;
  }

  .confirmation-icon {
    width: 61px;
    height: 61px;
  }

  .confirmation-slot {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 24px 2px 32px;
  }

  .admin-hero {
    padding: 54px 0 36px;
  }

  .admin-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .calendar-heading {
    padding: 12px;
  }

  .calendar-weekdays {
    padding-right: 8px;
    padding-left: 8px;
  }

  .calendar-grid {
    gap: 2px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .calendar-day {
    min-height: 42px;
    border-radius: 8px;
    font-size: 11px;
  }

  .admin-card-heading {
    margin-bottom: 24px;
  }

  .lock-label {
    display: none;
  }

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

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

  .reservations-cta,
  .appointments-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .reservations-cta {
    gap: 24px;
  }

  .reservations-link {
    width: 100%;
  }

  .access-form {
    grid-template-columns: 1fr;
  }

  .access-form .compact-button {
    width: 100%;
  }

  .recap-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .stat-card {
    min-height: 105px;
    padding: 19px 17px;
  }

  .stat-card span {
    font-size: 8px;
  }

  .stat-card strong {
    font-size: 34px;
  }

  .appointments-actions,
  .search-field,
  .search-field input {
    width: 100%;
  }

  .appointments-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .appointment-row {
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 24px 20px;
  }

  .appointment-actions {
    grid-column: auto;
  }

  .whatsapp-button,
  .cancel-booking-button {
    width: 100%;
  }

  .cancel-dialog-content {
    padding: 25px 20px;
  }

  .cancel-dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .appointments-empty {
    margin: 22px 20px;
  }
}

@media (max-width: 390px) {
  .site-shell,
  .admin-shell {
    width: calc(100% - 22px);
  }

  .wordmark {
    max-width: 140px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .session-facts {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .step-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .date-line strong {
    font-size: 30px;
  }

  .date-line span {
    font-size: 11px;
  }

  .admin-fields,
  .preview-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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