/*
 * Slotz — design tokens (#5D54D4, #EEEDFE, #1A1730)
 */
:root {
  --slotz-primary: #5d54d4;
  --slotz-surface: #eeedfe;
  --slotz-ink: #1a1730;
  --slotz-white: #ffffff;
  --slotz-black: #000000;
  --slotz-muted: #5c5970;
  --slotz-border: rgba(26, 23, 48, 0.12);
  --slotz-radius: 12px;
  --slotz-shadow: 0 10px 40px rgba(26, 23, 48, 0.08);
  --slotz-sidebar-w: 16rem;
  --slotz-sidebar-w-icon: 4.5rem;
  /* Inter (Google Fonts) first, then system UI stack */
  --slotz-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--slotz-font-sans);
}

body {
  margin: 0;
  font-family: inherit;
  color: var(--slotz-ink);
  background: var(--slotz-surface);
  line-height: 1.5;
}

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

a {
  color: var(--slotz-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.slotz-shell {
  display: flex;
  min-height: 100vh;
}

.slotz-sidebar {
  width: var(--slotz-sidebar-w);
  flex-shrink: 0;
  min-height: 100vh;
  background: var(--slotz-ink);
  color: var(--slotz-surface);
  padding: 0.9rem 0.75rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 30;
  transition: width 0.2s ease, padding 0.2s ease;
}

@media (min-width: 768px) {
  .slotz-shell {
    align-items: flex-start;
  }

  .slotz-shell .slotz-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    min-height: 100vh;
    max-height: 100vh;
    height: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.slotz-admin-sidebar {
  background: #0f172a;
  color: #e2e8f0;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
}

.slotz-admin-sidebar__header {
  display: grid;
  gap: 0.6rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.slotz-admin-nav {
  display: grid;
  gap: 0.35rem;
}

.slotz-admin-nav__section-label {
  margin-top: 0.8rem;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}

.slotz-admin-nav-link {
  color: rgba(226, 232, 240, 0.92);
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.15rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.slotz-admin-nav-link__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #94a3b8;
}

.slotz-admin-nav-link__label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slotz-admin-nav-link:hover {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.2);
  text-decoration: none;
}

.slotz-admin-nav-link.is-active {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.45);
  color: #f8fafc;
  font-weight: 600;
}

.slotz-admin-nav-link.is-active .slotz-admin-nav-link__icon {
  color: #bfdbfe;
}

/* Stock module: collapsible submenu in sidebar (+ icon rail when sidebar collapsed) */
.slotz-stock-sidebar-group {
  margin: 0;
}

.slotz-stock-nav-slot--collapsed-visible {
  display: none;
}

.slotz-stock-nav-details {
  margin: 0;
}

.slotz-stock-nav-summary {
  list-style: none;
  cursor: pointer;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.15rem;
  padding: 0.5rem 0.6rem;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.slotz-stock-nav-summary::-webkit-details-marker {
  display: none;
}

.slotz-stock-nav-summary:hover {
  background: rgba(148, 163, 184, 0.14);
}

.slotz-stock-nav-summary.is-active-group {
  background: rgba(59, 130, 246, 0.12);
}

.slotz-stock-nav-summary__chevron {
  margin-left: auto;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease;
}

.slotz-stock-nav-details[open] .slotz-stock-nav-summary__chevron {
  transform: rotate(180deg);
}

.slotz-stock-subnav {
  display: grid;
  gap: 0.1rem;
  margin: 0.2rem 0 0.35rem;
  padding: 0 0 0 0.85rem;
  border-left: 1px solid rgba(148, 163, 184, 0.25);
}

.slotz-stock-subnav-link {
  display: block;
  padding: 0.35rem 0.55rem 0.35rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.88);
  text-decoration: none;
  border: 1px solid transparent;
}

.slotz-stock-subnav-link:hover {
  background: rgba(148, 163, 184, 0.12);
  color: #fff;
}

.slotz-stock-subnav-link.is-active {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.4);
  font-weight: 600;
  color: #f8fafc;
}

@media (min-width: 768px) {
  .slotz-shell.is-sidebar-collapsed .slotz-stock-nav-slot--collapsed-visible {
    display: block;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-stock-nav-slot--expanded-visible {
    display: none;
  }
}

.slotz-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
}

.slotz-main {
  flex: 1;
  padding: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--slotz-surface) 100%);
}

.slotz-workspace {
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}

.slotz-workspace__topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 3.5rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.slotz-topbar__center {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.slotz-topbar__center .slotz-topbar__search {
  flex: 1;
  min-width: 0;
}

.slotz-topbar__center .slotz-topbar-search {
  margin-left: 0;
  margin-right: 0;
  max-width: 32rem;
}

.slotz-topbar-next-appt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 14rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(180deg, rgba(248, 250, 252, 1) 0%, rgba(241, 245, 249, 0.95) 100%);
  color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.slotz-topbar-next-appt:hover {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.slotz-topbar-next-appt:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.slotz-topbar-next-appt__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #475569;
  line-height: 0;
}

.slotz-topbar-next-appt__body {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  text-align: left;
}

.slotz-topbar-next-appt__eyebrow {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.2;
}

.slotz-topbar-next-appt__row {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slotz-topbar-next-appt__meta {
  font-size: 0.7rem;
  font-weight: 500;
  color: #475569;
}

.slotz-topbar-next-appt__countdown {
  font-size: 0.62rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: #0f766e;
  margin-top: 0.06rem;
}

.slotz-topbar__search {
  min-width: 0;
}

.slotz-topbar-search {
  position: relative;
  display: block;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}

.slotz-topbar-search__icon {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  pointer-events: none;
}

.slotz-topbar-search__input {
  width: 100%;
  box-sizing: border-box;
  height: 2.35rem;
  padding: 0 0.75rem 0 2.35rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  background: #f1f5f9;
  font-size: 0.875rem;
  color: #0f172a;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.slotz-topbar-search__input::placeholder {
  color: #64748b;
}

.slotz-topbar-search__input:hover {
  background: #e2e8f0;
}

.slotz-topbar-search__input:focus {
  outline: none;
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.slotz-topbar__end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.slotz-topbar__notify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.slotz-topbar__notify:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.slotz-topbar__user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0.25rem;
  z-index: 40;
}

.slotz-topbar__user-menu-wrap {
  position: relative;
  flex-shrink: 0;
}

.slotz-topbar__user-text {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  min-width: 0;
}

@media (min-width: 640px) {
  .slotz-topbar__user-text {
    display: flex;
  }
}

.slotz-topbar__user-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slotz-topbar__user-role {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.2;
}

button.slotz-topbar__avatar {
  margin: 0;
  border: none;
  padding: 0;
  background: #0f172a;
  color: #fff;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

button.slotz-topbar__avatar:hover {
  background: #1e293b;
}

button.slotz-topbar__avatar:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0f172a;
}

.slotz-topbar__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

button.slotz-topbar__avatar.slotz-topbar__avatar--photo {
  background: #e2e8f0;
  overflow: hidden;
}

.slotz-topbar__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.slotz-user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 200;
  margin-top: 0.4rem;
  min-width: 12.5rem;
  max-width: min(12.5rem, calc(100vw - 1.5rem));
  padding: 0.35rem;
  border-radius: 0.6rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

a.slotz-user-menu__item,
.slotz-user-menu__item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  border-radius: 0.4rem;
  border: none;
  background: transparent;
  padding: 0.55rem 0.6rem;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease, color 0.12s ease;
}

a.slotz-user-menu__item:hover,
.slotz-user-menu__item:hover {
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
}

.slotz-user-menu__divider {
  height: 1px;
  margin: 0.3rem 0.25rem;
  background: #e2e8f0;
}

.slotz-user-menu__form {
  display: block;
  margin: 0;
  width: 100%;
}

button.slotz-user-menu__item--signout {
  color: #b91c1c;
  margin-top: 0;
}

button.slotz-user-menu__item--signout:hover {
  background: #fef2f2;
  color: #991b1b;
}

.slotz-main--app {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 1.5rem 1.5rem 2rem;
  background: #f8fafc;
  box-sizing: border-box;
}

.slotz-main--public {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 1.5rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--slotz-surface) 100%);
  color: var(--slotz-ink);
}

.slotz-main--public__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

/* —— shadcn-admin style: collapsible icon rail */
.slotz-admin-sidebar__brand-row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem 0.6rem;
  width: 100%;
}

.slotz-admin-sidebar__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, #3b82f6, #4f46e5);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
  flex-shrink: 0;
}

.slotz-admin-sidebar__brand {
  line-height: 1.1;
  font-size: 1.05rem;
  color: #f1f5f9;
}

.slotz-admin-sidebar__kicker {
  margin: 0.1rem 0 0;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

.slotz-admin-sidebar__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  min-width: 7rem;
  min-height: 2rem;
  text-decoration: none;
}

.slotz-admin-sidebar__logo-img {
  display: block;
  height: 2rem;
  width: auto;
  max-width: min(100%, 11rem);
  max-height: 2rem;
  min-height: 2rem;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

.slotz-brand-logo {
  display: block;
}

.slotz-sidebar-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.35);
  color: #e2e8f0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.slotz-sidebar-trigger:hover {
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(148, 163, 184, 0.4);
}

.slotz-sidebar-trigger svg {
  display: block;
  pointer-events: none;
}

.slotz-sidebar-trigger--inbar {
  width: 2.5rem;
  height: 2.5rem;
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.slotz-sidebar-trigger--inbar:hover {
  background: #f8fafc;
}

.slotz-locale-switcher {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 0.8rem;
}

.slotz-locale-switcher--segmented {
  flex-shrink: 0;
}

.slotz-locale-switcher__segmented {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.65);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.slotz-locale-switcher__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #475569;
  text-decoration: none;
  border: none;
  background: transparent;
  transition: background 0.12s ease, color 0.12s ease;
}

.slotz-locale-switcher__pill + .slotz-locale-switcher__pill {
  box-shadow: inset 1px 0 0 rgba(15, 23, 42, 0.08);
}

.slotz-locale-switcher__pill:hover {
  color: #0f172a;
  background: rgba(248, 250, 252, 0.95);
  text-decoration: none;
}

.slotz-locale-switcher__pill.is-current {
  color: #0f172a;
  background: #f1f5f9;
  cursor: default;
}

.slotz-locale-switcher__flag {
  font-size: 1.05em;
  line-height: 1;
}

.slotz-locale-switcher__code {
  font-variant-numeric: tabular-nums;
}

.slotz-admin-sidebar .slotz-locale-switcher__segmented {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.35);
  box-shadow: none;
}

.slotz-admin-sidebar .slotz-locale-switcher__pill {
  color: #cbd5e1;
}

.slotz-admin-sidebar .slotz-locale-switcher__pill:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.slotz-admin-sidebar .slotz-locale-switcher__pill.is-current {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.12);
}

.slotz-admin-sidebar .slotz-locale-switcher__pill + .slotz-locale-switcher__pill {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.1);
}

.slotz-main--public .slotz-locale-switcher {
  color: var(--slotz-ink);
}

.slotz-main--public .slotz-locale-switcher__segmented {
  border-color: color-mix(in srgb, var(--slotz-ink) 12%, transparent);
  background: color-mix(in srgb, var(--slotz-surface, #fff) 88%, transparent);
}

.slotz-main--public .slotz-locale-switcher__pill {
  color: var(--slotz-muted);
}

.slotz-main--public .slotz-locale-switcher__pill:hover {
  color: var(--slotz-primary);
  background: color-mix(in srgb, var(--slotz-primary) 8%, transparent);
}

.slotz-main--public .slotz-locale-switcher__pill.is-current {
  color: var(--slotz-ink);
  background: color-mix(in srgb, var(--slotz-ink) 6%, transparent);
}

.slotz-main--public .slotz-locale-switcher__pill + .slotz-locale-switcher__pill {
  box-shadow: inset 1px 0 0 color-mix(in srgb, var(--slotz-ink) 10%, transparent);
}

/* Collapsed: icon rail (desktop / tablet only) */
@media (min-width: 768px) {
  .slotz-shell.is-sidebar-collapsed .slotz-sidebar {
    width: var(--slotz-sidebar-w-icon);
    padding: 0.9rem 0.45rem 1.1rem;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-admin-sidebar__brand-text,
  .slotz-shell.is-sidebar-collapsed .slotz-admin-sidebar__kicker,
  .slotz-shell.is-sidebar-collapsed .slotz-admin-nav__section-label,
  .slotz-shell.is-sidebar-collapsed .slotz-admin-nav-link__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-locale-switcher__segmented {
    width: 100%;
    flex-direction: column;
    border-radius: 0.65rem;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-locale-switcher__pill {
    justify-content: center;
    padding: 0.35rem 0.25rem;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-locale-switcher__pill + .slotz-locale-switcher__pill {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .slotz-shell.is-sidebar-collapsed .slotz-locale-switcher__code {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-locale-switcher {
    font-size: 0.7rem;
    width: 100%;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-admin-nav-link {
    justify-content: center;
    padding: 0.5rem 0.35rem;
    gap: 0;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-admin-sidebar__logo-link {
    margin: 0 auto;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-admin-sidebar__brand-row {
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-sidebar-trigger {
    margin-top: 0.15rem;
  }
}

.slotz-card {
  background: var(--slotz-white);
  border: 1px solid var(--slotz-border);
  border-radius: var(--slotz-radius);
  box-shadow: var(--slotz-shadow);
  padding: 1.25rem;
}

.slotz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.slotz-btn:hover {
  text-decoration: none;
}

.slotz-btn--primary {
  background: var(--slotz-primary);
  color: var(--slotz-white);
}

.slotz-btn--secondary {
  background: var(--slotz-white);
  color: var(--slotz-ink);
  border-color: var(--slotz-border);
}

.slotz-btn--ghost {
  background: transparent;
  color: var(--slotz-ink);
}

.slotz-input,
.slotz-select,
.slotz-textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--slotz-border);
  padding: 0.6rem 0.75rem;
  font: inherit;
  background: #fff;
}

.slotz-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.slotz-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.slotz-badge--amber {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.slotz-badge--green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.slotz-badge--red {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.slotz-table {
  width: 100%;
  border-collapse: collapse;
}

.slotz-table th,
.slotz-table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--slotz-border);
}

.slotz-muted {
  color: var(--slotz-muted);
}

.slotz-public {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, var(--slotz-surface) 100%);
  color: var(--slotz-ink);
}

.slotz-public__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.slotz-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .slotz-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.slotz-flash {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--slotz-border);
  background: #fff;
}

.slotz-flash--notice {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.slotz-flash--alert {
  border-color: #fecaca;
  background: #fef2f2;
}

/* —— App shell: dashboard (shadcn-style) */
.slotz-topbar__start {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.slotz-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.slotz-page-title {
  margin: 0;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.15;
}

.slotz-page-head__lead {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.95rem;
  max-width: 36rem;
}

.slotz-page-head__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.slotz-btn--outline {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.9rem;
}

.slotz-btn--outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.slotz-btn--ink {
  background: #0f172a;
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid #0f172a;
}

.slotz-btn--ink:hover {
  background: #1e293b;
  text-decoration: none;
}

.slotz-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .slotz-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .slotz-kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.slotz-kpi {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.1rem 0.9rem 2.6rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.slotz-kpi__icon {
  position: absolute;
  left: 0.9rem;
  top: 1.05rem;
  color: #94a3b8;
  display: flex;
}

.slotz-kpi__label {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.slotz-kpi__value {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.1;
}

.slotz-kpi__delta {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.slotz-kpi__delta--up {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.slotz-kpi__delta--down {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.slotz-kpi__hint {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #64748b;
}

.slotz-charts-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 960px) {
  .slotz-charts-row {
    grid-template-columns: 2fr 1fr;
  }
}

.slotz-chart-card {
  min-height: 10rem;
}

.slotz-chart-card__title,
.slotz-block-title {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.slotz-chart-card__hint {
  margin: -0.35rem 0 0.5rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #64748b;
}

.slotz-block-title {
  font-size: 1rem;
}

.slotz-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.slotz-link-muted {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
}

.slotz-link-muted:hover {
  color: #0f172a;
  text-decoration: none;
}

.slotz-chart-revenue {
  width: 100%;
  margin-top: 0.25rem;
}

.slotz-chart-revenue__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.slotz-chart-revenue__area {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.slotz-chart-revenue__area.slotz-chart-revenue__area--visible {
  opacity: 1;
}

.slotz-chart-revenue__line {
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slotz-dashboard-bar-fill {
  width: 0;
  transition: width 0.95s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .slotz-chart-revenue__area {
    opacity: 1;
    transition: none;
  }

  .slotz-chart-revenue__line {
    transition: none;
  }

  .slotz-dashboard-bar-fill {
    transition: none;
  }
}

.slotz-chart-revenue__label {
  fill: #94a3b8;
  font-size: 7px;
  font-family: var(--slotz-font-sans, inherit);
  font-weight: 600;
}

.slotz-bar-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.slotz-bar-item__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.slotz-bar-item__name {
  color: #334155;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slotz-bar-item__count {
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
}

.slotz-bar-item__track {
  height: 0.4rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 0.25rem;
}

.slotz-bar-item__fill {
  height: 100%;
  border-radius: 999px;
  background: #0f172a;
  min-width: 2px;
  transition: width 0.25s ease;
}

/* —— Scroll horizontal (tabelas / cards) */
.slotz-scroll-x {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.slotz-scroll-x .slotz-table {
  min-width: 520px;
}

.slotz-scroll-x .cn-ui-table {
  min-width: 560px;
}

.cn-dashboard-appt-card .cn-dashboard-appt-table {
  margin: 0;
}

/* —— Responsive (mobile + tablet) */
body.slotz--mobile-nav-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 767.98px) {
  .slotz-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(15, 23, 42, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .slotz-shell.is-mobile-nav-open .slotz-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .slotz-shell {
    position: relative;
    overflow-x: hidden;
  }

  .slotz-sidebar,
  .slotz-sidebar.slotz-admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: min(20.5rem, 92vw) !important;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    min-height: 100vh;
    min-height: 100dvh;
    transform: translate3d(calc(-100% - 1px), 0, 0);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: none;
  }

  .slotz-shell.is-mobile-nav-open .slotz-sidebar,
  .slotz-shell.is-mobile-nav-open .slotz-sidebar.slotz-admin-sidebar {
    transform: translate3d(0, 0, 0);
    box-shadow: 10px 0 40px rgba(15, 23, 42, 0.28);
  }

  .slotz-workspace {
    min-width: 0;
    width: 100%;
  }

  .slotz-workspace__topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.6rem;
    min-height: 0;
    padding: max(0.5rem, env(safe-area-inset-top, 0px)) max(0.6rem, env(safe-area-inset-right, 0px)) 0.65rem
      max(0.6rem, env(safe-area-inset-left, 0px));
  }

  .slotz-topbar__start {
    order: 1;
  }

  .slotz-topbar__end {
    order: 2;
    margin-left: auto;
    gap: 0.4rem;
  }

  .slotz-topbar__center {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .slotz-topbar__center .slotz-topbar__search {
    width: 100%;
    flex: 1 1 auto;
  }

  .slotz-topbar-search {
    max-width: none;
    width: 100%;
  }

  .slotz-topbar-next-appt {
    align-self: flex-end;
    max-width: min(100%, 16rem);
  }

  .slotz-topbar__user-text {
    display: none;
  }

  .slotz-topbar__notify {
    width: 2.5rem;
    height: 2.5rem;
  }

  .slotz-topbar__avatar {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
  }

  .slotz-main--app {
    padding: 0.9rem 0.75rem max(1.5rem, env(safe-area-inset-bottom, 0px));
  }

  .slotz-page-title {
    font-size: 1.5rem;
  }

  .slotz-page-head {
    flex-direction: column;
    align-items: stretch;
  }

  .slotz-page-head__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .slotz-page-head__actions .slotz-btn,
  .slotz-page-head__actions .cn-ui-button {
    width: 100%;
    justify-content: center;
  }

  .slotz-card {
    padding: 1rem;
  }
}

@media (max-width: 1023.98px) and (min-width: 768px) {
  .slotz-main--app {
    padding: 1.1rem 1rem 1.5rem;
  }
}

/* Desktop: backdrop hidden */
@media (min-width: 768px) {
  .slotz-nav-backdrop {
    display: none;
  }
}

/* —— shadcn-style UI: services table + switches (complements rails g shadcn-ui table|switch) */
.cn-services-table-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.cn-services-table-tools__search {
  position: relative;
  flex: 1;
  min-width: 12rem;
  max-width: 22rem;
}

.cn-services-table-tools__search-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  pointer-events: none;
}

.cn-services-search__input {
  width: 100%;
  padding: 0.5rem 0.7rem 0.5rem 2.3rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.9rem;
}

.cn-services-search__input:focus {
  outline: none;
  border-color: #cbd5e1;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.cn-services-summary {
  margin: 0;
  font-size: 0.875rem;
  color: var(--slotz-muted);
  font-weight: 500;
}

.cn-services-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--slotz-border);
}

.cn-ui-filter-tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: #475569;
  font-weight: 500;
}

.cn-ui-filter-tile__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cn-ui-filter-tile__label {
  user-select: none;
}

.cn-ui-filter-tile__switch {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #e2e8f0;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.cn-ui-filter-tile__track {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.cn-ui-filter-tile__thumb {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease;
}

.cn-ui-filter-tile__input:focus-visible + .cn-ui-filter-tile__switch {
  outline: 2px solid var(--slotz-primary);
  outline-offset: 2px;
}

.cn-ui-filter-tile__input:checked + .cn-ui-filter-tile__switch {
  background: #0f172a;
}

.cn-ui-filter-tile__input:checked + .cn-ui-filter-tile__switch .cn-ui-filter-tile__thumb {
  transform: translateX(1.1rem);
}

.cn-ui-table {
  width: 100%;
  font-size: 0.9rem;
  color: #0f172a;
  border-collapse: separate;
  border-spacing: 0;
}

.cn-ui-table__head tr {
  border-bottom: 1px solid #e2e8f0;
}

.cn-ui-table__th {
  font-weight: 600;
  color: #64748b;
  text-align: left;
  padding: 0.65rem 0.9rem 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: #fafbfc;
}

.cn-ui-th--w-narrow {
  width: 4.5rem;
  min-width: 3.5rem;
  text-align: center;
}

.cn-ui-th--narrow-edit {
  width: 7rem;
  text-align: right;
}

.cn-ui-table__td:has(.cn-ui-switch) {
  text-align: center;
  vertical-align: middle;
}

.cn-ui-table__td--edit {
  text-align: right;
}

.cn-ui-table__td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 0.9rem;
}

.cn-ui-table__td--strong {
  font-weight: 700;
  color: #0f172a;
}

.cn-ui-table__td--muted {
  color: #64748b;
  font-size: 0.875rem;
}

.cn-ui-table__row:hover .cn-ui-table__td {
  background: #fafbfc;
}

.cn-ui-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.5rem 0.2rem 0.4rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.cn-ui-badge__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.cn-ui-badge--active {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.cn-ui-badge--off {
  color: #64748b;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

/* Élan profile hero — translucent shadcn-style pill over dark gradients */
.cn-ui-badge--elan-hero {
  color: rgb(250 251 253 / 0.96);
  background: rgb(93 62 212 / 0.18);
  border-color: rgb(218 207 169 / 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.12) inset;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.cn-ui-badge--elan-hero .cn-ui-badge__dot {
  background: rgb(218 207 169 / 0.95);
  opacity: 0.95;
  box-shadow: 0 0 10px rgb(218 207 169 / 0.35);
}

/* Élan social spotlight tiles — concierge pill over light surfaces */
.cn-ui-badge--elan-spotlight {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.595rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--elan-foreground);
  background: rgb(247 246 251 / 0.95);
  border-color: rgb(218 207 169 / 0.52);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.65) inset,
    0 6px 16px rgb(93 84 212 / 0.07);
}

.cn-ui-badge--elan-spotlight .cn-ui-badge__dot {
  background: var(--elan-accent);
  opacity: 0.92;
}

/* Élan sidebar — condensed shadcn-style chip under wordmark */
.cn-ui-badge--elan-sidebar-chip {
  gap: 0;
  width: fit-content;
  align-self: flex-start;
  margin-top: 0.42rem;
  padding: 0.18rem 0.52rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(93 84 212 / 0.9);
  background: rgb(255 255 255 / 0.72);
  border-color: rgb(218 207 169 / 0.45);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.9) inset;
}

.cn-ui-badge--elan-sidebar-chip .cn-ui-badge__dot {
  display: none;
}

.cn-ui-link-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slotz-ink);
  text-decoration: none;
}

.cn-ui-link-edit:hover {
  color: var(--slotz-primary);
  text-decoration: none;
}

.cn-ui-icon {
  display: block;
  flex-shrink: 0;
}

/* Row switch (shadcn-style) */
.cn-ui-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0;
}

.cn-ui-switch__button {
  position: relative;
  width: 2.5rem;
  height: 1.4rem;
  border-radius: 999px;
  background: #e2e8f0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease;
}

.cn-ui-switch__button[aria-checked="true"],
.cn-ui-switch__button[data-state="checked"] {
  background: #0f172a;
}

.cn-ui-switch__button:focus-visible {
  outline: 2px solid var(--slotz-primary);
  outline-offset: 2px;
}

.cn-ui-switch__thumb {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.cn-ui-switch__button[aria-checked="true"] .cn-ui-switch__thumb,
.cn-ui-switch__button[data-state="checked"] .cn-ui-switch__thumb {
  transform: translateX(1.1rem);
}

/* —— shadcn-style buttons (complements: bin/rails generate shadcn-ui button) */
.cn-ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

a.cn-ui-button,
button.cn-ui-button {
  font-family: inherit;
}

button.cn-ui-button:disabled,
.cn-ui-button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.cn-ui-button--sm {
  min-height: 0;
  padding: 0.35rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.cn-ui-button--primary {
  background: #0f172a;
  color: #f8fafc;
  border-color: #0f172a;
}

.cn-ui-button--primary:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #f8fafc;
}

.cn-ui-button--secondary {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #e2e8f0;
}

.cn-ui-button--secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.cn-ui-button--outline {
  background: #fff;
  color: #0f172a;
  border-color: #e2e8f0;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.cn-ui-button--outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.cn-ui-button--ghost {
  background: transparent;
  color: var(--slotz-ink);
  border-color: transparent;
}

.cn-ui-button--ghost:hover {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.cn-ui-button--ink {
  background: var(--slotz-ink);
  color: #f8fafc;
  border-color: var(--slotz-ink);
}

.cn-ui-button--ink:hover {
  background: #0f172a;
  color: #f8fafc;
}

.cn-ui-button--destructive {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.cn-ui-button--destructive:hover {
  background: #fee2e2;
  color: #991b1b;
}

form.button_to {
  display: inline-block;
}

form.button_to .cn-ui-button,
form.button_to button.cn-ui-button {
  width: auto;
  margin: 0;
  vertical-align: middle;
}

/* Appointments (admin) */
.cn-appointments-toolbar {
  margin-bottom: 0;
  padding: 1rem 1.15rem 1.1rem;
}

.cn-appointments-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem 1rem;
}

.cn-appointments-filters__search {
  position: relative;
  flex: 1;
  min-width: 10rem;
  max-width: 22rem;
}

.cn-appointments-filters__search-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  pointer-events: none;
}

.cn-appointments-filters__input {
  width: 100%;
  padding: 0.5rem 0.6rem 0.5rem 2.2rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.9rem;
}

.cn-appointments-filters__input:focus {
  outline: none;
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.cn-appointments-filters__icon-btn {
  color: #64748b;
  padding: 0.45rem 0.25rem;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cn-appointments-filters__submit {
  display: flex;
  align-items: flex-end;
}

.cn-appointments-pagy-info {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--slotz-muted);
}

.cn-ui-th--actions {
  text-align: right;
  width: 7.5rem;
}

.cn-ui-table__td--actions {
  text-align: right;
}

.cn-appt-client {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.cn-appt-client__avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cn-appt-client__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.cn-appt-client__name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 14rem;
}

.cn-appt-client__ref {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.cn-appt-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.cn-appt-view-link:hover {
  text-decoration: none;
}

.cn-appt-view-link__icon {
  flex-shrink: 0;
  display: block;
}

.cn-ui-appt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.5rem 0.2rem 0.4rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.cn-ui-appt-badge__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

.cn-ui-appt-badge--pending {
  color: #a16207;
  background: #fef9c3;
  border-color: #fde68a;
}

.cn-ui-appt-badge--confirmed {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.cn-ui-appt-badge--completed {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: #93c5fd;
}

.cn-ui-appt-badge--cancelled {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.cn-ui-appt-badge--no_show,
.cn-ui-appt-badge--other {
  color: #64748b;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

/* —— Public booking: one-page landing (GSAP parallax) —— */
html:has(.slotz-public--booking-onepage) {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:has(.slotz-public--booking-onepage) {
    scroll-behavior: auto;
  }
}

/* One-page public site: full width (no .slotz-public__inner wrapper) */
.slotz-public--booking-onepage {
  margin: 0;
  padding: 0;
  background: #fafaf9;
}

.u-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;
}

.slotz-multiselect {
  position: relative;
  display: grid;
  gap: 0.5rem;
}

.slotz-multiselect__trigger {
  width: 100%;
  min-height: 2.5rem;
  border: 1px solid var(--slotz-border);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--slotz-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.slotz-multiselect__panel {
  border: 1px solid var(--slotz-border);
  border-radius: 0.6rem;
  background: #fff;
  box-shadow: var(--slotz-shadow);
  padding: 0.5rem;
  display: grid;
  gap: 0.5rem;
}

.slotz-multiselect__options {
  max-height: 10.6rem;
  overflow: auto;
  display: grid;
  gap: 0.35rem;
}

.slotz-multiselect__option {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  background: #fff;
  color: var(--slotz-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}

.slotz-multiselect__option:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.slotz-multiselect__option.is-selected {
  background: #eeedfe;
  border-color: #c7c3f6;
}

.slotz-multiselect__option:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slotz-multiselect__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.slotz-multiselect__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eeedfe;
  color: #362f78;
  font-size: 0.85rem;
}

.slotz-multiselect__badge button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.slotz-plan-gate {
  position: relative;
}

.slotz-plan-gate .slotz-admin-nav-link__label, .slotz-plan-gate .slotz-coming-soon-nav__badge {
  color: rgb(14 23 42);
}

.slotz-plan-gate__button {
  opacity: 0.7;
  cursor: not-allowed;
}

.slotz-plan-gate__tooltip {
  position: absolute;
  left: calc(100% + 0.45rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  width: 14rem;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.5rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.slotz-plan-gate:hover .slotz-plan-gate__tooltip {
  opacity: 1;
}

.slotz-plan-gate__tooltip a {
  color: #bfdbfe;
  margin-left: 0.25rem;
  text-decoration: underline;
}

.slotz-plan-gate-toast {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 110;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

/* Finance sidebar entry: roadmap teaser (distinct from subscription plan gates) */
.slotz-coming-soon-nav.slotz-plan-gate .slotz-plan-gate__button {
  opacity: 0.88;
}

.slotz-coming-soon-nav__button {
  width: 100%;
  gap: 0.5rem;
}

.slotz-coming-soon-nav__badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  color: rgba(226, 232, 240, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.slotz-coming-soon-nav__tooltip {
  max-width: 15rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .slotz-shell.is-sidebar-collapsed .slotz-coming-soon-nav__badge {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .slotz-shell.is-sidebar-collapsed .slotz-coming-soon-nav__button {
    justify-content: center;
    padding: 0.5rem 0.35rem;
    gap: 0;
  }
}

.slotz-autocomplete {
  position: relative;
}

/* Native `hidden` + legacy `.hidden` (Tailwind may not cover app.css-only views) */
.slotz-autocomplete__dropdown[hidden],
.slotz-autocomplete__dropdown.hidden {
  display: none !important;
}

.slotz-autocomplete__create[hidden],
.slotz-autocomplete__create.hidden {
  display: none !important;
}

.slotz-autocomplete__dropdown {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  right: 0;
  z-index: 80;
  background: #fff;
  border: 1px solid var(--slotz-border);
  border-radius: 0.5rem;
  box-shadow: var(--slotz-shadow);
  overflow: hidden;
  max-height: min(16rem, 40vh);
  overflow-y: auto;
}

.slotz-autocomplete__item {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 0.55rem 0.65rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.slotz-autocomplete__item:hover {
  background: #f8fafc;
}

.slotz-autocomplete__create {
  width: 100%;
  border: 0;
  border-top: 1px solid #e2e8f0;
  background: #eef2ff;
  color: #3730a3;
  text-align: left;
  padding: 0.55rem 0.65rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.slotz-stock-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 0.25rem;
}

.slotz-stock-badge--critical {
  background: #fee2e2;
  color: #991b1b;
}

.slotz-stock-badge--warning {
  background: #fef3c7;
  color: #92400e;
}

.slotz-stock-badge--info {
  background: #dbeafe;
  color: #1e3a8a;
}

.cn-ui-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.32rem;
}

.cn-ui-input,
.cn-ui-select,
.cn-ui-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #fff;
  color: #0f172a;
  font-size: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cn-ui-input,
.cn-ui-select {
  min-height: 2.45rem;
  padding: 0 0.75rem;
}

.cn-ui-textarea {
  min-height: 6rem;
  padding: 0.6rem 0.75rem;
  resize: vertical;
}

.cn-ui-input:focus,
.cn-ui-select:focus,
.cn-ui-textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.cn-ui-input--invalid,
.cn-ui-select--invalid,
.cn-ui-textarea--invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.cn-ui-field {
  margin: 0;
}

.cn-ui-field__error {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #dc2626;
}

.cn-ui-field__error:not([hidden]) {
  display: block;
}

.cn-ui-stock-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  padding: 0;
  margin: 0 0 0.15rem;
}

.cn-ui-stock-form-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.slotz-stock-optional-details {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
}

.slotz-stock-optional-details__summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  list-style-position: outside;
}

.slotz-stock-optional-details__summary::-webkit-details-marker {
  color: #64748b;
}

.cn-ui-checkbox-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #0f172a;
  cursor: pointer;
}

.cn-ui-checkbox {
  margin-top: 0.18rem;
  width: 1rem;
  height: 1rem;
  accent-color: #6366f1;
  flex-shrink: 0;
}

.cn-ui-checkbox-row__text {
  font-weight: 600;
}

form.slotz-stock-row-action-form {
  display: inline;
  margin: 0;
}

.cn-ui-stock-color-field {
  min-height: 2.45rem;
  padding: 0.25rem;
  max-width: 8rem;
}

/* Provider settings: sectioned layout + in-page TOC */
.slotz-settings-layout {
  display: grid;
  gap: 1.25rem;
  align-items: flex-start;
}

.slotz-settings-primary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.slotz-settings-toc {
  position: relative;
}

.slotz-settings-toc__title {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
}

.slotz-settings-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.slotz-settings-toc__list a {
  display: block;
  padding: 0.32rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
}

.slotz-settings-toc__list a:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.slotz-settings-section {
  scroll-margin-top: 5.5rem;
  margin-bottom: 1rem;
}

.slotz-settings-section .cn-ui-stock-section-lead {
  margin: 0 0 0.85rem;
}

.slotz-settings-fields {
  display: grid;
  gap: 0.85rem;
}

.slotz-settings-fields--2col {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.slotz-settings-fields--3col {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.slotz-settings-fields--tight-top {
  margin-top: -0.2rem;
}

.slotz-settings-public-url {
  display: block;
  padding: 0.85rem;
  margin: 0.35rem 0 0;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.85rem;
  word-break: break-all;
  color: #0f172a;
}

.slotz-settings-save-lead {
  margin: 1rem 0 0;
  font-size: 0.82rem;
}

@media (max-width: 767px) {
  .slotz-settings-toc {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
    margin-bottom: -0.25rem;
  }

  .slotz-settings-toc__list {
    flex-flow: row wrap;
    gap: 0.35rem;
  }

  .slotz-settings-toc__list a {
    padding: 0.35rem 0.65rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.78rem;
  }
}

@media (min-width: 900px) {
  .slotz-settings-layout {
    grid-template-columns: minmax(10.5rem, 13rem) minmax(0, 85rem);
  }

  .slotz-settings-toc {
    position: sticky;
    top: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slotz-settings-section {
    scroll-behavior: auto;
  }
}

.u-text-right {
  text-align: right;
}

.public-onepage-flash {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  max-width: min(42rem, calc(100% - 2rem));
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(15, 10, 26, 0.12);
}

.public-onepage-flash--notice {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.public-onepage-flash--alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.public-site-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 300;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--slotz-ink);
  border-radius: 8px;
  font-weight: 600;
}

.public-site-skip:focus {
  left: 1rem;
  top: 1rem;
}

.public-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 250, 249, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 23, 48, 0.06);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.public-site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 24px rgba(15, 10, 26, 0.06);
}

.public-site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  min-height: 3.25rem;
  position: relative;
}

.public-site-header__brand {
  flex: 0 0 auto;
  color: var(--slotz-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  order: 1;
}

.public-site-header__brand:hover {
  text-decoration: none;
  color: var(--slotz-primary);
}

.public-site-header__brand-logo {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.public-site-header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--slotz-ink);
  cursor: pointer;
}

.public-site-header__menu-btn:hover {
  background: rgba(93, 84, 212, 0.08);
}

@media (min-width: 900px) {
  .public-site-header__menu-btn {
    display: none;
  }
}

.public-site-header__menu-icon {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.public-site-header__end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  order: 2;
  margin-left: auto;
}

.public-site-nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.2rem;
  order: 3;
  width: 100%;
  margin: 0.5rem 0 0;
  padding: 0.5rem 0 0.25rem;
  border-top: 1px solid rgba(26, 23, 48, 0.08);
}

.public-site-nav.is-open {
  display: flex;
}

@media (min-width: 900px) {
  .public-site-header__end {
    order: 3;
    margin-left: 0;
  }

  .public-site-nav {
    order: 2;
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
  }
}

.public-site-nav__link {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slotz-muted);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.public-site-nav__link:hover {
  text-decoration: none;
  color: var(--slotz-ink);
  background: rgba(93, 84, 212, 0.08);
}

.public-site-nav__link--primary {
  color: var(--slotz-primary);
  font-weight: 600;
}

.public-site-header__tools {
  flex-shrink: 0;
  font-size: 0.85rem;
}

.public-site-header__tools-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.6rem;
}

.public-site-header__tools-favorite {
  display: flex;
  align-items: center;
}

.public-site-header__tools-favorite .elan-favorite-btn {
  padding: 0.25rem 0.65rem;
  font-size: 0.85rem;
}

.public-site-header__tools .slotz-locale-switcher {
  font-size: 0.8rem;
  align-self: center;
}

.public-site-header__tools .slotz-locale-switcher__segmented {
  border-color: color-mix(in srgb, var(--slotz-ink, #0f172a) 14%, transparent);
  background: color-mix(in srgb, var(--slotz-surface, #fff) 82%, transparent);
  backdrop-filter: blur(6px);
}

/* Premium booking templates (default / primor / elegance): tools rail next to menu control */
.nav-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.public-booking-header-tools {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.public-booking-header-tools .public-site-header__tools-actions {
  justify-content: flex-end;
}

.public-booking-header-tools .slotz-locale-switcher {
  font-size: 0.78rem;
}

/* Dark nav bars: discover link + favorite */
.nav-header:not(.scrolled) .public-booking-header-tools .public-site-nav__link,
.nav:not(.is-scrolled) .public-booking-header-tools .public-site-nav__link {
  color: rgba(255, 255, 255, 0.88);
}

.nav-header:not(.scrolled) .public-booking-header-tools .public-site-nav__link:hover,
.nav:not(.is-scrolled) .public-booking-header-tools .public-site-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-header:not(.scrolled) .public-booking-header-tools .public-site-nav__link--primary,
.nav:not(.is-scrolled) .public-booking-header-tools .public-site-nav__link--primary {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 600;
}

.navbar .public-booking-header-tools .public-site-nav__link {
  color: rgba(255, 255, 255, 0.88);
}

.navbar .public-booking-header-tools .public-site-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.navbar .public-booking-header-tools .public-site-nav__link--primary {
  color: #fff;
  font-weight: 600;
}

.nav-header:not(.scrolled) .public-booking-header-tools .elan-favorite-btn,
.nav:not(.is-scrolled) .public-booking-header-tools .elan-favorite-btn,
.navbar .public-booking-header-tools .elan-favorite-btn {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.38);
}

.nav-header:not(.scrolled) .public-booking-header-tools .elan-favorite-btn.is-active,
.nav:not(.is-scrolled) .public-booking-header-tools .elan-favorite-btn.is-active,
.navbar .public-booking-header-tools .elan-favorite-btn.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.14);
}

.nav-header.scrolled .public-booking-header-tools .public-site-nav__link,
.nav.is-scrolled .public-booking-header-tools .public-site-nav__link {
  color: var(--slotz-muted);
}

.nav-header.scrolled .public-booking-header-tools .public-site-nav__link:hover,
.nav.is-scrolled .public-booking-header-tools .public-site-nav__link:hover {
  color: var(--slotz-ink);
}

.nav-header.scrolled .public-booking-header-tools .public-site-nav__link--primary,
.nav.is-scrolled .public-booking-header-tools .public-site-nav__link--primary {
  color: var(--slotz-primary);
}

.public-booking {
  position: relative;
}

.public-booking--site .public-booking-hero {
  margin: 0 0 0;
  border-radius: 0;
  min-height: min(88vh, 48rem);
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.public-booking-hero {
  position: relative;
  min-height: min(90vh, 52rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 3.5rem;
  margin: 0 0 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #0f0a1a 0%, #1a1530 38%, #2d1f4a 100%);
  color: #f8fafc;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 10, 26, 0.35);
}

.public-booking-hero__parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

/* Business cover (Active Storage / URL) sits behind glowing layers */
.public-booking-hero__cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.public-booking-hero__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(15, 10, 26, 0.82) 0%,
    rgba(15, 10, 26, 0.45) 42%,
    rgba(29, 20, 50, 0.55) 100%
  );
  pointer-events: none;
}

.public-booking-hero__cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.public-booking-hero--with-cover .public-booking-hero__layer,
.public-booking-hero--with-cover .public-booking-hero__grid {
  z-index: 1;
}

.public-booking-hero__layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  will-change: transform;
}

.public-booking-hero__layer--1 {
  width: min(80vw, 28rem);
  height: min(80vw, 28rem);
  left: -10%;
  top: 10%;
  background: radial-gradient(circle, rgba(93, 84, 212, 0.7) 0%, transparent 70%);
  opacity: 0.9;
}

.public-booking-hero__layer--2 {
  width: min(90vw, 32rem);
  height: min(90vw, 32rem);
  right: -15%;
  bottom: 0;
  background: radial-gradient(circle, rgba(147, 112, 219, 0.45) 0%, transparent 65%);
  opacity: 0.85;
}

.public-booking-hero__layer--3 {
  width: 14rem;
  height: 14rem;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  opacity: 0.6;
}

.public-booking-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 100%);
  opacity: 0.5;
  pointer-events: none;
}

.public-booking-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 40rem;
}

.public-booking-hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
}

.public-booking-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.public-booking-hero__sub {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.82);
}

.public-booking-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f0a1a;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-booking-hero__cta:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.public-booking-hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(248, 250, 252, 0.65);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-booking-hero__scroll:hover {
  text-decoration: none;
  color: #fff;
}

.public-booking-hero__scroll-line {
  display: block;
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.05));
  border-radius: 1px;
  animation: public-booking-scroll-bob 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .public-booking-hero__scroll-line {
    animation: none;
  }
}

@keyframes public-booking-scroll-bob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateY(0.4rem);
    opacity: 1;
  }
}

/* One-page sections */
#sobre,
#posts,
#servicos,
#agendar,
#contato {
  scroll-margin-top: 5rem;
}

.public-site-section {
  padding: 3.25rem 1.25rem;
}

.public-site-section__inner {
  max-width: 960px;
  margin: 0 auto;
}

.public-site-section__inner--constrained {
  max-width: 720px;
}

.public-site-section__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--slotz-ink);
}

.public-site-section__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--slotz-muted);
  max-width: 40rem;
}

.public-site-section__lead--tight {
  margin-bottom: 1.25rem;
}

.public-site-section--sobre {
  background: #fafaf9;
  border-top: 1px solid var(--slotz-border);
}

.public-site-prose,
.public-site-prose--muted {
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
  color: var(--slotz-ink);
}

.public-site-prose--muted {
  color: var(--slotz-muted);
}

.public-site-section--posts {
  background: #fff;
  border-top: 1px solid var(--slotz-border);
}

.public-booking-posts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

@media (min-width: 640px) {
  .public-booking-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .public-booking-posts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.public-booking-posts__cell {
  min-width: 0;
}

.public-booking-posts__card {
  margin: 0;
  border: 1px solid var(--slotz-border);
  border-radius: var(--slotz-radius);
  background: #fafaf9;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-booking-posts__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 10, 26, 0.08);
}

.public-booking-posts__media {
  aspect-ratio: 4 / 3;
  background: #eceae4;
  overflow: hidden;
}

.public-booking-posts__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.public-booking-posts__card:hover .public-booking-posts__img {
  transform: scale(1.03);
}

.public-booking-posts__caption {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--slotz-muted);
}

.public-booking-posts__cta {
  margin-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .public-booking-posts__card,
  .public-booking-posts__img {
    transition: none;
  }

  .public-booking-posts__card:hover {
    transform: none;
  }

  .public-booking-posts__card:hover .public-booking-posts__img {
    transform: none;
  }
}

.public-site-section--servicos {
  background: #fff;
  border-top: 1px solid var(--slotz-border);
}

.public-site-section__cta {
  margin: 1.75rem 0 0;
  text-align: center;
}

.public-site-text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slotz-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(93, 84, 212, 0.35);
  padding-bottom: 0.1rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.public-site-text-link:hover {
  color: var(--slotz-ink);
  border-color: var(--slotz-ink);
}

.public-service-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.public-service-showcase__item {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--slotz-border);
  border-radius: var(--slotz-radius);
  background: #fafaf9;
}

.public-service-showcase__name {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--slotz-ink);
}

.public-service-showcase__meta {
  display: block;
  font-size: 0.9rem;
  color: var(--slotz-muted);
  margin: 0 0 0.5rem;
}

.public-service-showcase__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--slotz-muted);
}

.public-site-section--agendar {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 0, 0, 0.03) 0%, transparent 55%),
    radial-gradient(100% 60% at 0% 100%, rgba(0, 0, 0, 0.025) 0%, transparent 50%),
    linear-gradient(180deg, #fafafa 0%, #f5f5f4 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.public-site-section__inner--funnel {
  max-width: 880px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.public-site-section--contato {
  background: #0f0a1a;
  color: #e2e8f0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.public-site-section--contato .public-site-section__title {
  color: #f8fafc;
}

.public-site-section--contato .public-site-section__lead {
  color: #94a3b8;
}

.public-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.public-contact-list__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.public-contact-list__value {
  font-size: 1rem;
  color: #f8fafc;
  text-decoration: none;
  word-break: break-word;
}

.public-contact-list__value:hover {
  text-decoration: underline;
  color: #fff;
}

/* Public booking — contact section (lux layout, #50) */
.public-contact-lux__intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 0.5rem;
}

.public-contact-lux__grid {
  margin-top: 2.25rem;
  display: grid;
  gap: 2rem;
}

.public-contact-lux__grid--split {
  align-items: start;
}

@media (min-width: 960px) {
  .public-contact-lux__grid--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 2.5rem 3.25rem;
  }
}

.public-contact-lux__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.public-contact-lux__channel {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  color: #f8fafc;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.public-contact-lux__channel:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 112, 219, 0.45);
  box-shadow: 0 16px 48px rgba(15, 10, 26, 0.45);
  color: #fff;
}

.public-contact-lux__channel:focus-visible {
  outline: 2px solid rgba(147, 112, 219, 0.85);
  outline-offset: 3px;
}

.public-contact-lux__channel--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
}

.public-contact-lux__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.95);
}

.public-contact-lux__channel-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.public-contact-lux__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.public-contact-lux__value {
  font-size: 0.98rem;
  line-height: 1.4;
  word-break: break-word;
  color: #f1f5f9;
}

.public-contact-lux__map-column {
  min-width: 0;
}

.public-contact-lux__map-title {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.public-contact-lux__address-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.public-contact-lux__map-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  min-height: 280px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.public-contact-lux__iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.public-contact-lux__map-frame--osm {
  padding: 0;
}

.public-contact-lux__leaflet-root {
  width: 100%;
  min-height: 280px;
  height: 320px;
}

.public-contact-lux__leaflet-root .leaflet-container {
  width: 100%;
  height: 100%;
  font-family:
    inherit,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

.public-contact-lux__osm-secondary {
  margin: 0.85rem 0 0;
  text-align: center;
}

.public-contact-lux__osm-secondary-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.95);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.public-contact-lux__osm-secondary-link:hover {
  color: #f1f5f9;
}

.public-contact-lux__osm-secondary-link:focus-visible {
  outline: 2px solid rgba(147, 112, 219, 0.9);
  outline-offset: 3px;
  border-radius: 4px;
}

.public-contact-lux__map-geocode-msg {
  margin: 1rem 0 0;
  text-align: center;
}

.public-contact-lux__map-fallback {
  padding: 1.5rem;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.public-contact-lux__map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: #0f0a1a;
  background: linear-gradient(120deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.public-contact-lux__map-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
  color: #0f0a1a;
}

.public-contact-lux__map-btn:focus-visible {
  outline: 2px solid rgba(147, 112, 219, 0.9);
  outline-offset: 3px;
}

.public-contact-lux__muted {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

@media (prefers-reduced-motion: reduce) {
  .public-contact-lux__channel,
  .public-contact-lux__map-btn {
    transition: none;
  }

  .public-contact-lux__channel:hover,
  .public-contact-lux__map-btn:hover {
    transform: none;
  }
}

.public-site-footer {
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  background: #0a0812;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.public-site-footer__note {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.public-booking__panel {
  background: #fff;
  border: 1px solid var(--slotz-border);
  border-radius: var(--slotz-radius);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: var(--slotz-shadow);
}

.public-booking__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--slotz-muted);
}

.public-booking-step + .public-booking-slots-frame,
.public-booking-slots-frame {
  display: block;
  margin-top: 1.25rem;
}

.public-booking-slots {
  margin-top: 0;
}

.public-booking-step__title {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.public-booking-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.public-booking-service-card {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
  padding: 1rem 1.1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.public-booking-service-card:hover {
  border-color: rgba(93, 84, 212, 0.45);
  box-shadow: 0 4px 20px rgba(93, 84, 212, 0.12);
  transform: translateY(-1px);
}

.public-booking-service-card:has(:checked) {
  border-color: var(--slotz-primary);
  box-shadow: 0 0 0 1px var(--slotz-primary);
}

.public-booking-service-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.public-booking-service-card__name {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  color: var(--slotz-ink);
}

.public-booking-service-card__meta {
  display: block;
  font-size: 0.9rem;
  color: var(--slotz-muted);
}

.public-booking-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .public-booking-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.public-booking-details-grid__full {
  grid-column: 1 / -1;
}

.public-booking-selected-time {
  min-height: 1.4rem;
  font-weight: 600;
  color: var(--slotz-ink);
}

.public-booking-step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

/* —— Public booking funnel (Cormorant Garamond, editorial stepper) —— */
.public-booking--cormorant {
  --booking-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --booking-sans: var(--slotz-font-sans);
}

.public-booking--cormorant .public-booking-hero__title,
.public-booking--cormorant .public-site-section__title {
  font-family: var(--booking-serif);
}

.public-booking__panel--v2 {
  margin: 0 auto;
  padding: 2.5rem 2rem 2.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 48px rgba(0, 0, 0, 0.04);
}

.public-booking-funnel__intro {
  text-align: center;
  margin-bottom: 2.25rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.public-booking-funnel__title {
  font-family: var(--booking-serif);
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin: 0 0 0.75rem;
}

.public-booking-funnel__title-em {
  font-style: italic;
  font-weight: 500;
}

.public-booking-funnel__lede {
  font-family: var(--booking-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #737373;
  margin: 0;
  font-weight: 400;
}

.public-booking-stepper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  list-style: none;
  margin: 0 0 2.75rem;
  padding: 0 0.25rem;
  position: relative;
  gap: 0.25rem;
}

.public-booking-stepper::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: #e5e5e5;
  z-index: 0;
}

.public-booking-stepper__item {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.public-booking-stepper__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-family: var(--booking-sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: #a3a3a3;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.public-booking-stepper__label {
  font-family: var(--booking-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a3a3a3;
  line-height: 1.2;
  max-width: 5.5rem;
  transition: color 0.2s ease;
}

.public-booking-stepper__item.is-complete .public-booking-stepper__num {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

.public-booking-stepper__item.is-complete .public-booking-stepper__label {
  color: #525252;
}

.public-booking-stepper__item.is-active .public-booking-stepper__num {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 1px #0a0a0a;
}

.public-booking-stepper__item.is-active .public-booking-stepper__label {
  color: #0a0a0a;
}

@media (max-width: 700px) {
  .public-booking-stepper {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .public-booking-stepper::before {
    left: 0;
    right: 0;
  }

  .public-booking-stepper__item {
    flex: 0 0 auto;
    min-width: 3.4rem;
  }
}

.public-booking-service-grid--v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}

@media (max-width: 600px) {
  .public-booking-service-grid--v2 {
    grid-template-columns: 1fr;
  }
}

.public-booking-service-v2 {
  position: relative;
  display: block;
  margin: 0;
  padding: 1.35rem 1.4rem 1.2rem;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.public-booking-service-v2:hover {
  border-color: #d4d4d4;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.public-booking-service-v2:has(:checked) {
  border-color: #0a0a0a;
  box-shadow: 0 0 0 1px #0a0a0a;
}

.public-booking-service-v2 > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.public-booking-service-v2__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.public-booking-service-v2__name {
  font-family: var(--booking-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: #0a0a0a;
}

.public-booking-service-v2__duration {
  font-family: var(--booking-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #737373;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 0.2rem;
}

.public-booking-service-v2__desc {
  font-family: var(--booking-sans);
  font-size: 0.82rem;
  line-height: 1.45;
  color: #737373;
  margin: 0 0 1.1rem;
  min-height: 2.4em;
}

.public-booking-service-v2__price {
  font-family: var(--booking-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0;
  padding-top: 0.25rem;
  border-top: 1px solid #f0f0f0;
}

.public-booking-step--v2 + .public-booking-slots-frame--v2,
.public-booking-slots-frame--v2 {
  display: block;
  margin-top: 1.75rem;
}

.public-booking-step--date {
  max-width: 20rem;
  margin-top: 0.5rem;
}

.public-booking-v2-label {
  display: block;
  font-family: var(--booking-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #737373;
  margin-bottom: 0.4rem;
}

.public-booking-v2-input,
.public-booking-v2-textarea {
  width: 100%;
  font-family: var(--booking-sans);
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  background: #fff;
  color: #0a0a0a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.public-booking-v2-input:focus,
.public-booking-v2-textarea:focus {
  outline: none;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 1px #0a0a0a;
}

.public-booking-v2-textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.public-booking-v2-time {
  font-family: var(--booking-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a0a0a;
  min-height: 1.4rem;
}

.public-booking-details-grid--v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .public-booking-details-grid--v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.public-booking-step__actions--v2 {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.public-booking-v2-btn {
  font-family: var(--booking-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  border: 1px solid #0a0a0a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.public-booking-v2-btn--primary {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  margin-left: auto;
}

.public-booking-v2-btn--primary:hover {
  background: #262626;
  border-color: #262626;
  color: #fff;
}

.public-booking-v2-btn--ghost {
  background: transparent;
  color: #0a0a0a;
  border-color: #e5e5e5;
}

.public-booking-v2-btn--ghost:hover {
  border-color: #0a0a0a;
  background: #fafafa;
}

.public-booking-slots--v2 {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  margin: 0;
}

.public-booking-slots__title {
  font-family: var(--booking-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #737373;
  margin: 0 0 1rem;
}

.public-booking-slots__hint {
  font-family: var(--booking-sans);
  font-size: 0.9rem;
  color: #a3a3a3;
  margin: 0;
}

.public-booking-slots__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.public-booking-slot-pill {
  font-family: var(--booking-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  min-width: 3.4rem;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  background: #fff;
  color: #0a0a0a;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.public-booking-slot-pill:hover {
  border-color: #0a0a0a;
  background: #fafafa;
}

.public-booking-slot-pill:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}

/* Social — Élan (GitHub #45)
 * Token map: page/surface → --slotz-surface / --slotz-white; text → --slotz-ink / --slotz-muted;
 * accent + active states → --slotz-primary; borders → --slotz-border.
 * Purple “luxe” gradients are optional accents; star colour stays warm for rating legibility. */
.elan-social-body {
  margin: 0;
  font-family: var(--slotz-font-sans);
  --elan-ease-luxe: cubic-bezier(0.4, 0, 0.2, 1);
  --elan-surface-page: var(--slotz-surface);
  --elan-surface-card: var(--slotz-white);
  --elan-surface-glass: rgba(255, 255, 255, 0.92);
  --elan-surface-muted: rgb(93 84 212 / 0.08);
  --elan-surface-muted-strong: rgb(93 84 212 / 0.14);
  --elan-hover-surface: rgb(93 84 212 / 0.1);
  --elan-foreground: var(--slotz-ink);
  --elan-muted: var(--slotz-muted);
  --elan-border: var(--slotz-border);
  --elan-accent: var(--slotz-primary);
  --elan-on-accent: var(--slotz-white);
  --elan-gradient-mark: linear-gradient(135deg, #8b83eb 0%, #5d54d4 50%, #4a4199 100%);
  --elan-gradient-story-ring: linear-gradient(135deg, rgb(169 164 239 / 0.98) 0%, #5d54d4 55%, #3d3680 100%);
  --elan-gradient-hero: linear-gradient(135deg, #2b2848 0%, var(--slotz-ink) 100%);
  --elan-gradient-footer: linear-gradient(135deg, #322e56 0%, var(--slotz-ink) 100%);
  --elan-shadow-soft: var(--slotz-shadow);
  --elan-shadow-elevated: 0 12px 42px rgba(26, 23, 48, 0.12);
  --elan-shadow-accent: 0 8px 26px rgba(93, 84, 212, 0.24);
  --elan-radius-panel: max(0.875rem, var(--slotz-radius));
  --elan-star-accent: #b8860b;
  --elan-danger-border: #e11d48;
  background: var(--elan-surface-page);
  color: var(--elan-foreground);
}

.elan-social-body a {
  color: var(--slotz-primary);
}

.elan-social-body a:hover {
  color: #4c45b8;
  text-decoration: none;
}

.elan-social-shell {
  min-height: 100vh;
  display: flex;
}

.elan-sidebar {
  width: 16.25rem;
  min-height: 100vh;
  padding: 1.35rem 1.1rem 1.5rem;
  border-right: 1px solid rgb(93 84 212 / 0.08);
  background: rgb(253 253 253 / 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
}

.elan-sidebar__inner {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 2.85rem);
  min-height: 0;
  gap: 1.75rem;
}

.elan-brand {
  display: flex;
  align-items: center;
}

.elan-brand--sidebar {
  gap: 0.65rem;
}

.elan-brand__mark {
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  border-radius: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  background: var(--elan-gradient-mark);
  color: var(--elan-on-accent);
  box-shadow: 0 5px 16px rgb(93 84 212 / 0.2);
}

.elan-brand__name {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--elan-foreground);
  letter-spacing: -0.03em;
  line-height: 1;
}

.elan-brand--slotz-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 2rem;
  text-decoration: none;
  max-width: min(100%, 14rem);
}

.elan-brand__logo-img {
  display: block;
  height: 2rem;
  width: auto;
  max-width: min(100%, 11rem);
  max-height: 2rem;
  min-height: 2rem;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

.elan-sidebar__head {
  flex-shrink: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgb(93 84 212 / 0.08);
}

.elan-sidebar__nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}

.elan-sidebar__rule {
  margin: 1.1rem 0 0.6rem;
  border: none;
  height: 1px;
  background: rgb(93 84 212 / 0.1);
}

.elan-nav-link {
  display: block;
  padding: 0.56rem 0.82rem;
  border-radius: 0.62rem;
  color: rgb(113 118 139 / 0.98);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px transparent;
  transition:
    background 0.18s var(--elan-ease-luxe),
    color 0.18s var(--elan-ease-luxe),
    box-shadow 0.18s var(--elan-ease-luxe);
}

.elan-nav-link:hover {
  background: rgb(93 84 212 / 0.044);
  color: var(--elan-foreground);
  text-decoration: none;
}

.elan-nav-link.is-active {
  color: var(--elan-accent);
  font-weight: 600;
  background: rgb(93 84 212 / 0.05);
  box-shadow: inset 2px 0 0 rgb(218 207 169 / 0.88);
}

.elan-nav-link:focus-visible {
  outline: 2px solid rgb(93 84 212 / 0.25);
  outline-offset: 2px;
}

.elan-nav-link--signout {
  margin-top: 0;
  padding-top: 0.62rem;
  font-size: 0.8125rem;
  color: rgb(148 153 169 / 0.98);
  font-weight: 500;
}

.elan-nav-link--signout:hover {
  background: rgb(225 29 72 / 0.05);
  color: #be123c;
}

.elan-sidebar__footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgb(93 84 212 / 0.08);
}

.elan-sidebar__footer-heading {
  margin: 0 0 0.45rem;
  font-family: var(--slotz-font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(93 84 212 / 0.75);
}

.elan-sidebar__footer-copy {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.54;
  color: rgb(113 118 139 / 0.95);
}

@media (max-width: 767px) {
  .elan-social-main {
    margin-left: 0;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .elan-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 30;
  }

  .elan-social-main {
    margin-left: 16.25rem;
    width: calc(100% - 16.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .elan-nav-link {
    transition-duration: 0.08s;
  }
}

.elan-social-main {
  flex: 1;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
  padding: 1rem 1rem 2rem;
}

@media (min-width: 768px) {
  .elan-social-main {
    padding: 2rem 2rem 2.5rem;
  }
}

.elan-sidebar__logout-form {
  margin: 0;
  width: 100%;
  display: block;
}

.elan-sidebar__logout-form button.elan-nav-link {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  width: 100%;
  font: inherit;
  text-align: left;
  margin: 0;
  border: none;
}

/* Mobile runway nav (sticky top band — avoids floating thumb tab IG pattern) */
.elan-mobile-nav--sticky {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0.15rem;
  margin: 0 -1rem 1rem;
  padding: 0.65rem calc(1rem + env(safe-area-inset-left)) 0.75rem calc(1rem + env(safe-area-inset-right));
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--elan-border);
  background: rgb(255 255 255 / 0.93);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 23, 48, 0.04);
}

.elan-mobile-nav__label {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.elan-mobile-nav__item {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.25rem;
  color: var(--elan-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  opacity: 0.88;
  transition:
    border-color 0.2s var(--elan-ease-luxe),
    color 0.2s var(--elan-ease-luxe),
    opacity 0.2s var(--elan-ease-luxe);
}

.elan-mobile-nav__item:focus-visible {
  outline: 2px solid var(--elan-accent);
  outline-offset: 3px;
  border-radius: 0.35rem;
}

.elan-mobile-nav__item:hover {
  color: var(--elan-foreground);
  opacity: 1;
}

.elan-mobile-nav__item.is-active {
  color: var(--elan-accent);
  border-bottom-color: var(--elan-accent);
  opacity: 1;
}

@media (min-width: 768px) {
  .elan-mobile-nav.elan-mobile-nav--sticky {
    display: none;
  }
}

.elan-section-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-family: var(--slotz-font-sans);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--elan-accent);
}

.elan-page-hero {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(93 84 212 / 0.12);
}

.elan-page-hero__title {
  margin: 0;
  font-family: var(--slotz-font-sans);
  font-size: clamp(1.65rem, 4.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--elan-foreground);
  line-height: 1.2;
}

.elan-page-hero__lead {
  margin: 0.45rem 0 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--elan-muted);
}

.elan-spotlight-strip {
  margin-bottom: 2rem;
}

.elan-spotlight-strip__masthead {
  margin-bottom: 0.75rem;
}

.elan-spotlight-strip .elan-section-eyebrow {
  margin-bottom: 0.35rem;
}

.elan-spotlight-strip__dek {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--elan-muted);
  max-width: 40rem;
}

.elan-spotlight-strip__viewport {
  position: relative;
}

.elan-spotlight-strip__viewport::before,
.elan-spotlight-strip__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 6vw, 3rem);
  z-index: 2;
  pointer-events: none;
}

.elan-spotlight-strip__viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--elan-surface-page), transparent);
}

.elan-spotlight-strip__viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--elan-surface-page), transparent);
}

@media (prefers-reduced-motion: reduce) {
  .elan-spotlight-strip__viewport::before,
  .elan-spotlight-strip__viewport::after {
    opacity: 0.55;
    width: 1.25rem;
  }
}

.elan-spotlight-strip__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding: 0.35rem clamp(6px, 1.25vw, 10px) 0.95rem;
  -webkit-overflow-scrolling: touch;
}

.elan-spotlight-tile {
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(12.85rem, 74vw);
  min-height: 15.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: max(1.05rem, var(--elan-radius-panel));
  border: 1px solid rgb(93 84 212 / 0.14);
  background:
    radial-gradient(120% 80% at 100% -8%, rgb(218 207 169 / 0.16), transparent 52%),
    linear-gradient(
      148deg,
      rgb(255 255 255 / 0.99) 0%,
      rgb(249 247 253 / 0.98) 48%,
      rgb(239 237 251 / 0.96) 100%
    );
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.7) inset,
    0 18px 48px rgb(26 23 48 / 0.07);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.24s var(--elan-ease-luxe),
    box-shadow 0.24s var(--elan-ease-luxe),
    border-color 0.24s var(--elan-ease-luxe);
}

.elan-spotlight-tile__ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgb(218 207 169 / 0.95),
    rgb(139 131 235 / 0.88),
    rgb(93 84 212 / 0.9)
  );
  z-index: 2;
}

.elan-spotlight-tile__sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    ellipse 140% 80% at 10% -20%,
    rgb(255 255 255 / 0.55),
    transparent 58%
  );
  transition: opacity 0.28s var(--elan-ease-luxe);
}

.elan-spotlight-tile:is(:hover, :focus-within) .elan-spotlight-tile__sheen {
  opacity: 1;
}

.elan-spotlight-tile:focus-visible {
  outline: 2px solid var(--elan-accent);
  outline-offset: 3px;
}

.elan-spotlight-tile:hover {
  transform: translateY(-3px);
  border-color: rgb(93 84 212 / 0.32);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.8) inset,
    var(--elan-shadow-soft),
    var(--elan-shadow-accent);
}

.elan-spotlight-tile:active {
  transform: translateY(-1px);
}

.elan-spotlight-tile__mast {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.82rem 0.45rem;
  min-height: 2.5rem;
}

.elan-spotlight-tile__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.72rem;
  height: 1.72rem;
  border-radius: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  color: var(--elan-on-accent);
  background: var(--elan-gradient-mark);
  box-shadow:
    var(--elan-shadow-accent),
    0 0 0 1px rgb(255 255 255 / 0.12) inset;
}

.elan-spotlight-tile__mark.elan-spotlight-tile__mark--slotz {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.elan-spotlight-tile__mark-logo {
  display: block;
  height: 1.35rem;
  width: auto;
  max-width: 3.75rem;
  object-fit: contain;
  object-position: left center;
}

.elan-spotlight-tile__media {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 6.95rem;
  padding: 0.15rem 0.85rem 0.65rem;
}

.elan-spotlight-tile__frame {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 6.55rem;
  height: 6.55rem;
  margin-left: -3.275rem;
  margin-top: -3.275rem;
  border-radius: 1.26rem;
  background: linear-gradient(135deg, rgb(218 207 169 / 0.55), rgb(139 131 235 / 0.5), rgb(218 207 169 / 0.45));
  transform: rotate(-7deg);
  pointer-events: none;
  opacity: 0.92;
}

.elan-spotlight-tile__img {
  position: relative;
  z-index: 1;
  width: 5.95rem;
  height: 5.95rem;
  border-radius: 1.12rem;
  object-fit: cover;
  border: 1px solid rgb(93 84 212 / 0.12);
  box-shadow:
    0 0 0 2px rgb(255 255 255 / 0.92),
    0 16px 36px rgb(26 23 48 / 0.12);
}

.elan-spotlight-tile__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 0.25rem 0.92rem 0.85rem;
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.elan-spotlight-tile__name {
  margin: 0;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--elan-foreground);
  overflow-wrap: anywhere;
}

.elan-spotlight-tile__slug {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: rgb(93 84 212 / 0.75);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.elan-spotlight-tile__foot {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.52rem;
  padding-top: 0.52rem;
  border-top: 1px solid rgb(93 84 212 / 0.1);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--elan-muted);
  transition:
    color 0.22s var(--elan-ease-luxe),
    letter-spacing 0.22s var(--elan-ease-luxe);
}

.elan-spotlight-tile__cta-icon {
  display: inline-block;
  font-size: 0.92rem;
  line-height: 1;
  color: rgb(218 207 169 / 0.95);
  transform: translateX(0);
  transition: transform 0.22s var(--elan-ease-luxe), color 0.22s var(--elan-ease-luxe);
}

.elan-spotlight-tile:is(:hover, :focus-within) .elan-spotlight-tile__foot {
  color: var(--elan-accent);
}

.elan-spotlight-tile:is(:hover, :focus-within) .elan-spotlight-tile__cta-icon {
  transform: translateX(3px);
  color: var(--elan-accent);
}

@media (prefers-reduced-motion: reduce) {
  .elan-spotlight-tile {
    transition-property: border-color, box-shadow;
  }

  .elan-spotlight-tile:hover,
  .elan-spotlight-tile:active {
    transform: none;
  }

  .elan-spotlight-tile__cta-icon {
    transition: none;
  }

  .elan-spotlight-tile:is(:hover, :focus-within) .elan-spotlight-tile__cta-icon {
    transform: none;
  }
}

.elan-feed-wrap {
  margin-top: 0.5rem;
}

.elan-feed-wrap__heading {
  margin: 0 0 1rem;
  font-family: var(--slotz-font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--elan-foreground);
}

.elan-feed { display: grid; gap: 1.65rem; margin: 0; }

.elan-post-card:first-child {
  border-left: 4px solid var(--elan-accent);
}

.elan-post-card {
  background: var(--elan-surface-card);
  border: 1px solid var(--elan-border);
  border-radius: var(--elan-radius-panel);
  overflow: hidden;
  box-shadow: var(--elan-shadow-soft);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s var(--elan-ease-luxe),
    transform 0.55s var(--elan-ease-luxe),
    border-color 0.2s var(--elan-ease-luxe);
}

.elan-post-card.is-visible { opacity: 1; transform: translateY(0); }

.elan-post-card:first-child:is(:hover, :focus-within) {
  box-shadow: var(--elan-shadow-elevated);
}

.elan-post-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; padding: 1rem 1rem 0.85rem; }
.elan-post-card__author { display: flex; align-items: center; gap: 0.7rem; min-width: 0; flex: 1; }
.elan-post-card__avatar { width: 2.85rem; height: 2.85rem; border-radius: 0.55rem; object-fit: cover; border: 1px solid var(--elan-border); border-left: 3px solid var(--elan-accent); flex-shrink: 0; background: linear-gradient(135deg, rgb(239 239 251), var(--elan-surface-card)); }
.elan-post-card__iden { display: grid; gap: 0.12rem; min-width: 0; text-align: left; }
.elan-post-card__establishment { font-size: 0.73rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--elan-foreground); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.elan-post-card__slug { font-size: 0.75rem; letter-spacing: 0.025em; color: var(--elan-muted); }

.elan-post-card__media {
  padding: 0 1rem;
}

.elan-post-card__photo { width: 100%; aspect-ratio: 16 / 10; border-radius: 0.68rem; object-fit: cover; display: block; border: 1px solid rgb(93 84 212 / 0.1); margin: 0 auto; box-shadow: 0 8px 30px rgb(26 23 48 / 0.08); max-height: 28rem; }
.elan-post-card__foot { padding: 0.95rem 1rem 1.05rem; color: var(--elan-foreground); }
.elan-post-card__likes { margin: 0.25rem 0 0; font-size: 0.8rem; font-weight: 600; color: var(--elan-muted); }
.elan-post-card__caption { margin: 0.45rem 0 0.35rem; font-size: 0.925rem; line-height: 1.55; color: var(--elan-foreground); }
.elan-post-card__timeago { font-size: 0.73rem; color: var(--elan-muted); }
.elan-post-actions { display: flex; gap: 0.5rem; margin-bottom: 0.65rem; }
.elan-icon-btn { border: 1px solid var(--elan-border); background: var(--elan-surface-muted); color: var(--elan-foreground); border-radius: 999px; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.elan-icon-btn--muted { opacity: 0.75; letter-spacing: -0.06em; font-size: 1.15rem; padding-bottom: 0.2rem; color: var(--elan-muted); border-color: rgb(93 84 212 / 0.08); background: transparent; }
.elan-icon-btn--muted:hover {
  color: var(--elan-accent);
  opacity: 1;
}
.elan-icon-btn.is-active { color: var(--elan-accent); border-color: rgb(93 84 212 / 0.45); background: var(--elan-surface-muted-strong); }
.elan-favorite-btn { border: 1px solid var(--elan-border); background: transparent; border-radius: 999px; padding: 0.3rem 0.7rem; color: var(--elan-muted); }
.elan-favorite-btn.is-active { color: var(--elan-accent); border-color: rgb(93 84 212 / 0.5); background: var(--elan-surface-muted-strong); }

.elan-profile-hero {
  --elan-ph-gold: 218 207 169;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: max(1.15rem, var(--elan-radius-panel));
  margin-bottom: 1.15rem;
  padding: 0;
  color: rgb(252 251 253 / 0.98);
  box-shadow:
    var(--elan-shadow-elevated),
    0 0 0 1px rgb(255 255 255 / 0.06) inset;
  background:
    radial-gradient(120% 80% at 100% -10%, rgb(218 207 169 / 0.18), transparent 55%),
    radial-gradient(95% 70% at 0% 100%, rgb(157 146 239 / 0.22), transparent 58%),
    linear-gradient(160deg, rgb(62 53 118 / 0.55) 0%, rgb(32 29 61 / 0.98) 45%, rgb(18 17 42 / 0.99) 100%),
    var(--elan-gradient-hero);
}

.elan-profile-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, black 20%, transparent 72%);
  pointer-events: none;
}

.elan-profile-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
}

.elan-profile-hero__orb--a {
  width: min(18rem, 55vw);
  height: min(18rem, 55vw);
  top: -6rem;
  right: -4rem;
  background: rgb(157 146 239 / 0.35);
}

.elan-profile-hero__orb--b {
  width: min(14rem, 48vw);
  height: min(14rem, 48vw);
  bottom: -5rem;
  left: -3rem;
  background: rgb(var(--elan-ph-gold) / 0.12);
}

.elan-profile-hero__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgb(218 207 169 / 0.18) inset,
    0 1px 0 rgb(255 255 255 / 0.08) inset;
}

.elan-profile-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.15rem, 3.5vw, 1.55rem) clamp(1rem, 3vw, 1.45rem) clamp(1.2rem, 3.2vw, 1.5rem);
}

.elan-profile-hero__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.elan-profile-hero__avatar-column {
  position: relative;
  flex-shrink: 0;
  width: fit-content;
}

.elan-profile-hero__avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(218 207 169 / 0.85) 0%, rgb(139 131 235 / 0.75) 48%, rgb(218 207 169 / 0.55) 100%);
  box-shadow: 0 12px 40px rgb(18 17 42 / 0.45);
  z-index: 0;
}

.elan-profile-hero__avatar {
  position: relative;
  z-index: 1;
  width: 5.35rem;
  height: 5.35rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgb(59 48 140 / 0.95), var(--elan-accent));
  color: var(--elan-on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  box-shadow:
    0 0 0 2px rgb(18 17 42 / 0.35) inset,
    0 12px 28px rgb(12 10 28 / 0.45);
}

.elan-profile-hero__copy {
  min-width: 0;
  flex: 1 1 14rem;
}

.elan-profile-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(245 244 250 / 0.72);
}

.elan-profile-hero__eyebrow-text {
  letter-spacing: 0.12em;
}

.elan-profile-hero__brand-logo {
  display: block;
  height: 0.72rem;
  width: auto;
  max-width: 3.25rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.elan-profile-hero__title {
  margin: 0 0 0.25rem;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: clamp(1.55rem, 4.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 22px rgb(12 10 28 / 0.35);
}

.elan-profile-hero__handle {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgb(232 230 245 / 0.78);
  font-variant-numeric: tabular-nums;
}

.elan-profile-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0.35rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.elan-profile-hero__stat {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  margin: 0;
  padding: 0.65rem 0.45rem;
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08) inset;
  transition:
    background 0.22s var(--elan-ease-luxe),
    border-color 0.22s var(--elan-ease-luxe),
    transform 0.22s var(--elan-ease-luxe);
}

.elan-profile-hero__stat:hover {
  background: rgb(255 255 255 / 0.11);
  border-color: rgb(218 207 169 / 0.28);
  transform: translateY(-1px);
}

.elan-profile-hero__stat-label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: rgb(236 234 248 / 0.68);
  line-height: 1.25;
}

.elan-profile-hero__stat-value {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: rgb(255 255 255 / 0.98);
  text-shadow: 0 1px 12px rgb(12 10 28 / 0.25);
}

@media (max-width: 420px) {
  .elan-profile-hero__stats {
    grid-template-columns: 1fr;
  }

  .elan-profile-hero__stat {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.75rem;
  }

  .elan-profile-hero__stat-label {
    text-align: left;
    max-width: 60%;
  }
}

/* Profile — “offer services” / professional backstage pass (shadcn inputs + Élan luxe) */

.elan-profile-pro-card {
  position: relative;
  isolation: isolate;
  margin: 0 0 1.65rem;
  overflow: hidden;
  border-radius: max(1.08rem, var(--elan-radius-panel));
  border: 1px solid rgb(93 84 212 / 0.14);
  background:
    radial-gradient(110% 70% at 100% -12%, rgb(218 207 169 / 0.2), transparent 52%),
    radial-gradient(90% 60% at 0% 102%, rgb(139 131 235 / 0.16), transparent 58%),
    linear-gradient(
      153deg,
      rgb(255 255 255 / 0.99) 0%,
      rgb(252 251 255 / 0.98) 42%,
      rgb(244 242 252 / 0.98) 100%
    );
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.75) inset,
    0 22px 56px rgb(26 23 48 / 0.07);
}

.elan-profile-pro-card__ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgb(218 207 169 / 0.95),
    rgb(139 131 235 / 0.88),
    rgb(93 84 212 / 0.9)
  );
  z-index: 2;
}

.elan-profile-pro-card__sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background: radial-gradient(ellipse 90% 55% at 18% 0%, rgb(255 255 255 / 0.55), transparent 62%);
}

.elan-profile-pro-card__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.15rem, 3vw, 1.55rem) clamp(1.05rem, 2.8vw, 1.45rem) clamp(1.2rem, 3vw, 1.6rem);
}

@media (min-width: 880px) {
  .elan-profile-pro-card__layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: start;
    gap: 1.65rem 1.85rem;
  }
}

.elan-profile-pro-card__intro {
  min-width: 0;
}

.elan-profile-pro-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgb(93 84 212 / 0.78);
}

.elan-profile-pro-card__badge.cn-ui-badge {
  padding: 0.2rem 0.5rem 0.2rem 0.38rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--elan-foreground);
  background: rgb(255 255 255 / 0.78);
  border-color: rgb(218 207 169 / 0.55);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.9) inset;
}

.elan-profile-pro-card__badge .cn-ui-badge__dot {
  background: var(--elan-accent);
  opacity: 0.88;
}

.elan-profile-pro-card__eyebrow-text {
  letter-spacing: 0.12em;
  color: rgb(113 118 139 / 0.95);
}

.elan-profile-pro-card__title {
  margin: 0 0 0.45rem;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: clamp(1.45rem, 3.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: var(--elan-foreground);
}

.elan-profile-pro-card__lead {
  margin: 0 0 1.05rem;
  font-size: 0.92rem;
  line-height: 1.58;
  color: rgb(85 90 110 / 0.95);
  max-width: 36rem;
}

.elan-profile-pro-card__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.58rem;
}

.elan-profile-pro-card__perk {
  position: relative;
  margin: 0;
  padding: 0.55rem 0.65rem 0.55rem 2.15rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--elan-foreground);
  border-radius: 0.65rem;
  border: 1px solid rgb(93 84 212 / 0.1);
  background: rgb(255 255 255 / 0.65);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.9) inset;
}

.elan-profile-pro-card__perk-mark {
  position: absolute;
  left: 0.68rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.275rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgb(218 207 169 / 0.95), rgb(139 131 235 / 0.75));
  box-shadow: 0 0 0 4px rgb(218 207 169 / 0.15);
}

.elan-profile-pro-card__action-area {
  min-width: 0;
}

.elan-profile-pro-card__cta-shell {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: max(0.98rem, calc(var(--elan-radius-panel) * 0.95));
  border: 1px solid rgb(93 84 212 / 0.12);
  background:
    linear-gradient(168deg, rgb(36 32 68 / 0.98) 0%, rgb(22 20 48 / 0.99) 100%);
  color: rgb(247 246 252 / 0.96);
  box-shadow:
    var(--elan-shadow-elevated),
    0 0 0 1px rgb(218 207 169 / 0.12) inset;
}

.elan-profile-pro-card__cta-dek {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.52;
  letter-spacing: 0.02em;
  color: rgb(224 222 240 / 0.88);
}

.elan-profile-pro-card__cta.cn-ui-button {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.78rem 1rem;
  box-shadow: var(--elan-shadow-accent);
}

.elan-social-body .elan-profile-pro-card__cta-shell .elan-profile-pro-card__cta:hover {
  color: var(--elan-on-accent);
  text-decoration: none;
}

.elan-profile-pro-card__form-card {
  padding: 1rem 1.05rem 1.15rem;
  border-radius: max(0.98rem, calc(var(--elan-radius-panel) * 0.95));
  border: 1px solid rgb(93 84 212 / 0.12);
  background: rgb(255 255 255 / 0.78);
  box-shadow: 0 18px 44px rgb(26 23 48 / 0.06);
}

.elan-profile-pro-card__form-preface {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgb(85 90 110 / 0.95);
}

.elan-profile-pro-card__form {
  margin: 0;
}

.elan-profile-pro-card__fieldset {
  display: grid;
  gap: 0.78rem;
}

.elan-profile-pro-card__postal-wrap {
  display: grid;
  gap: 0.78rem;
}

.elan-profile-pro-card__field {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

.elan-profile-pro-card__field .cn-ui-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgb(93 84 212 / 0.78);
}

.elan-profile-pro-card__field-row {
  display: grid;
  gap: 0.78rem;
}

@media (min-width: 520px) {
  .elan-profile-pro-card__field-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .elan-profile-pro-card__field-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.elan-profile-pro-card__select-wide {
  width: 100%;
  min-width: 0;
}

.elan-profile-pro-card__submit.cn-ui-button {
  width: 100%;
  margin-top: 0.25rem;
  justify-content: center;
  font-weight: 700;
}

.elan-profile-pro-card__notice {
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.elan-profile-pro-card__notice--alert {
  border: 1px solid rgb(254 202 202 / 0.95);
  background: rgb(254 242 242 / 0.95);
  color: #9f1239;
}

.elan-tabs__list { display: flex; gap: 0.5rem; margin-bottom: 0.8rem; }
.elan-tab-btn { border: 1px solid var(--elan-border); background: var(--elan-surface-card); border-radius: 999px; padding: 0.35rem 0.8rem; color: var(--elan-foreground); }
.elan-tab-btn.is-active { background: var(--elan-accent); color: var(--elan-on-accent); border-color: var(--elan-accent); }
.elan-tab-panel { display: none; }
.elan-tab-panel.is-active { display: block; }

.elan-favorite-grid { display: grid; gap: 0.8rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .elan-favorite-grid { grid-template-columns: 1fr 1fr; } }
.elan-favorite-card { border: 1px solid var(--elan-border); border-radius: var(--elan-radius-panel); overflow: hidden; background: var(--elan-surface-card); }
.elan-favorite-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.elan-favorite-card div { padding: 0.7rem 0.8rem; }

.elan-link-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--elan-border); padding: 0.4rem 0.75rem; border-radius: 999px; text-decoration: none; color: var(--elan-foreground); background: var(--elan-surface-card); font-size: 0.8125rem; font-weight: 600; gap: 0.35rem; transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
.elan-link-btn:hover { border-color: rgb(93 84 212 / 0.35); background: rgb(251 251 254 / 0.92); color: var(--elan-foreground); text-decoration: none; }
.elan-link-btn--gold { background: var(--elan-gradient-mark); border: none; color: var(--elan-on-accent); font-weight: 600; box-shadow: var(--elan-shadow-accent); }
.elan-link-btn--gold:hover { filter: brightness(1.06); box-shadow: 0 8px 24px rgb(93 84 212 / 0.28); color: var(--elan-on-accent); text-decoration: none; }

/* /agendar — favourites booking hub (social shell) */

.elan-agendar-board {
  margin: 0 0 2.25rem;
}

.elan-agendar-board--profile-tab {
  margin-bottom: 0;
}

.elan-agendar-board__heading {
  margin: 0 0 1rem;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: clamp(1.08rem, 2.8vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--elan-foreground);
}

.elan-agendar-grid {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .elan-agendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1120px) {
  .elan-agendar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.elan-agendar-card {
  position: relative;
  border-radius: calc(var(--elan-radius-panel) + 4px);
  padding: 1px;
  background: linear-gradient(
    138deg,
    rgb(218 207 169 / 0.45) 0%,
    rgb(93 84 212 / 0.32) 48%,
    rgb(93 84 212 / 0.12) 100%
  );
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.45) inset,
    0 18px 40px rgb(26 23 48 / 0.08);
}

.elan-agendar-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--elan-radius-panel);
  background: var(--elan-surface-card);
  border: 1px solid rgb(93 84 212 / 0.1);
}

.elan-agendar-card__media {
  position: relative;
}

.elan-agendar-card__cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--elan-surface-muted-strong);
}

.elan-agendar-card__avatar-wrap {
  position: absolute;
  left: 0.95rem;
  bottom: calc(-1.45rem + 2px);
  z-index: 1;
}

.elan-agendar-card__avatar {
  display: block;
  max-width: 16rem;
  height: 2rem;
  background-color: #fff !important;
  border-radius: 0.3rem;
  object-fit: cover;
  padding: 0.2rem;
  box-shadow: 0 10px 28px rgb(12 10 28 / 0.22);
  background: var(--elan-surface-muted-strong);
}

.elan-agendar-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.85rem 1.05rem 1rem;
}

.elan-agendar-card__badge {
  align-self: flex-start;
  margin-bottom: 0.15rem;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgb(93 84 212 / 0.22);
  background: rgb(248 246 254 / 0.95);
  font-size: 0.615rem;
  font-family: var(--slotz-font-sans);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--elan-accent);
  line-height: 1;
}

.elan-agendar-card__title {
  margin: 0.2rem 0 0;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: clamp(1.06rem, 2.6vw, 1.26rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--elan-foreground);
}

.elan-agendar-card__slug {
  margin: 0 0 auto;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--elan-muted);
}

.elan-agendar-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgb(93 84 212 / 0.1);
}

.elan-agendar-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--slotz-font-sans);
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.elan-agendar-card__cta--primary {
  border: none;
  background: var(--elan-gradient-mark);
  color: var(--elan-on-accent) !important;
  box-shadow: var(--elan-shadow-accent);
}

.elan-agendar-card__cta--primary:hover {
  filter: brightness(1.05);
  color: var(--elan-on-accent);
  text-decoration: none;
}

.elan-agendar-card__cta--ghost {
  border: 1px solid rgb(93 84 212 / 0.22);
  background: rgb(251 251 254 / 0.88);
  color: var(--elan-foreground);
}

.elan-agendar-card__cta--ghost:hover {
  border-color: rgb(93 84 212 / 0.4);
  background: rgb(248 246 254 / 0.96);
  text-decoration: none;
  color: var(--elan-foreground);
}

.elan-agendar-empty {
  margin: 0;
  padding: clamp(1.6rem, 4vw, 2.35rem);
  border-radius: var(--elan-radius-panel);
  border: 1px dashed rgb(93 84 212 / 0.28);
  background:
    radial-gradient(
      ellipse 110% 80% at 20% -10%,
      rgb(218 207 169 / 0.2) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 90% 70% at 100% 0%,
      rgb(93 84 212 / 0.1) 0%,
      transparent 50%
    ),
    rgb(251 251 253 / 0.88);
  text-align: center;
  box-shadow: 0 22px 50px rgb(26 23 48 / 0.06);
}

.elan-agendar-empty__title {
  margin: 0 0 0.55rem;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: clamp(1.2rem, 3.6vw, 1.42rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--elan-foreground);
}

.elan-agendar-empty__body {
  margin: 0 auto 1.1rem;
  max-width: 26rem;
  font-size: 0.9025rem;
  line-height: 1.55;
  color: var(--elan-muted);
}

.elan-agendar-empty .elan-link-btn--gold {
  margin-top: 0.15rem;
}

.elan-agendar-empty--embedded {
  margin-top: 0;
  margin-bottom: 0;
}

.elan-service-item { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; border: 1px solid var(--elan-border); border-radius: var(--elan-radius-panel); background: var(--elan-surface-card); padding: 0.7rem; margin-bottom: 0.65rem; }

.elan-modal { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; }
.elan-modal__overlay { position: absolute; inset: 0; background: rgba(26, 23, 48, 0.52); }
.elan-modal__card { position: relative; background: var(--elan-surface-card); border: 1px solid var(--elan-border); border-radius: var(--elan-radius-panel); width: min(34rem, calc(100vw - 1.5rem)); padding: 1rem; box-shadow: var(--elan-shadow-elevated); }
.elan-modal__close { position: absolute; right: 0.7rem; top: 0.6rem; border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; color: var(--elan-muted); }
.elan-field { display: grid; gap: 0.3rem; margin-bottom: 0.7rem; }
.elan-field input, .elan-field textarea { border: 1px solid var(--elan-border); border-radius: 0.7rem; padding: 0.55rem; font: inherit; color: var(--elan-foreground); background: var(--elan-surface-card); }
.elan-time-grid { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.elan-time-slot { border: 1px solid var(--elan-border); border-radius: 999px; padding: 0.3rem 0.6rem; background: var(--elan-surface-card); color: var(--elan-foreground); }
.elan-time-slot.is-active { background: var(--elan-accent); color: var(--elan-on-accent); }

/* Profile — appointments (luxury card rail; pairs with cn-ui-appt-badge from helpers) */

.elan-profile-appt-section { margin-bottom: 1.75rem; }

.elan-profile-appt-section__title {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--elan-foreground);
}

.elan-profile-appt-section__lead {
  margin: 0 0 0.95rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--elan-muted);
  max-width: 36rem;
}

.elan-profile-appt-list {
  display: grid;
  gap: 0.95rem;
  margin: 0;
  padding: 0;
}

.elan-profile-appt-empty {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--elan-radius-panel);
  border: 1px dashed rgb(93 84 212 / 0.22);
  background: rgb(251 251 253 / 0.65);
  color: var(--elan-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.elan-profile-appt-card {
  --elan-appt-ribbon: linear-gradient(
    180deg,
    rgb(218 207 169 / 0.92) 0%,
    var(--elan-accent) 42%,
    rgb(71 61 154 / 0.94) 100%
  );
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  border-radius: max(1rem, var(--elan-radius-panel));
  border: 1px solid rgb(93 84 212 / 0.12);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.98) 0%, rgb(246 245 251 / 0.96) 48%, rgb(243 241 251 / 0.99) 100%);
  box-shadow:
    var(--elan-shadow-soft),
    0 0 0 1px rgb(255 255 255 / 0.35) inset;
  overflow: hidden;
  transition:
    transform 0.22s var(--elan-ease-luxe),
    box-shadow 0.22s var(--elan-ease-luxe),
    border-color 0.22s var(--elan-ease-luxe);
}

.elan-profile-appt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.28s var(--elan-ease-luxe);
  background: radial-gradient(1200px circle at 0% 0%, rgb(218 207 169 / 0.14), transparent 55%);
}

.elan-profile-appt-card:is(:hover, :focus-within) {
  border-color: rgb(93 84 212 / 0.28);
  box-shadow: var(--elan-shadow-elevated);
  transform: translateY(-1px);
}

.elan-profile-appt-card:is(:hover, :focus-within)::after {
  opacity: 1;
}

.elan-profile-appt-card--past {
  filter: saturate(0.92);
}

.elan-profile-appt-card--past .elan-profile-appt-card__date-strip {
  opacity: 0.88;
}

.elan-profile-appt-card__ribbon {
  grid-column: 1 / -1;
  grid-row: 1;
  height: 3px;
  align-self: start;
  background: var(--elan-appt-ribbon);
  opacity: 0.95;
}

.elan-profile-appt-card__date-strip {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  padding: 0.75rem 0.82rem;
  min-width: 4.85rem;
  border-right: 1px solid rgb(93 84 212 / 0.1);
  background: linear-gradient(180deg, rgb(251 251 255 / 0.98), rgb(240 239 251 / 0.55));
  text-align: center;
}

.elan-profile-appt-card__weekday {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--elan-accent);
  line-height: 1.2;
}

.elan-profile-appt-card__month {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--elan-muted);
  margin-top: 0.08rem;
}

.elan-profile-appt-card__day {
  margin-top: 0.06rem;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--elan-foreground);
}

.elan-profile-appt-card__main {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem 1.05rem 1.08rem;
}

.elan-profile-appt-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.65rem;
}

.elan-profile-appt-card__ref {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: rgb(93 84 212 / 0.75);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgb(93 84 212 / 0.12);
  background: rgb(249 249 253 / 0.9);
}

.elan-profile-appt-card__title {
  margin: 0;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 1.105rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--elan-foreground);
}

.elan-profile-appt-card__establishment {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--elan-muted);
}

.elan-profile-appt-card__establishment-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgb(93 84 212 / 0);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.elan-profile-appt-card__establishment-link:hover {
  color: var(--elan-accent);
  border-bottom-color: rgb(93 84 212 / 0.35);
}

.elan-profile-appt-card__meta {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  font-size: 0.8rem;
  color: var(--elan-muted);
  line-height: 1.4;
}

.elan-profile-appt-card__datetime {
  font-variant-numeric: tabular-nums;
}

.elan-profile-appt-card__separator {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin: 0 0.45rem;
  border-radius: 999px;
  background: rgb(218 207 169 / 0.85);
  vertical-align: 0.1em;
  box-shadow: 0 0 0 3px rgb(218 207 169 / 0.16);
}

.elan-profile-appt-card__duration-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.42rem;
  border-radius: 0.42rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgb(93 84 212 / 0.12);
  color: var(--elan-foreground);
  background: rgb(247 246 251 / 0.95);
}

@media (max-width: 520px) {
  .elan-profile-appt-card {
    grid-template-columns: 1fr;
  }

  .elan-profile-appt-card__date-strip {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid rgb(93 84 212 / 0.1);
    padding: 0.65rem 0.9rem;
  }

  .elan-profile-appt-card__main {
    grid-column: 1;
    grid-row: 3;
    padding: 0.85rem 0.95rem 1rem;
  }

  .elan-profile-appt-card__day {
    font-size: 1.55rem;
  }
}
.elan-rating-item { border: 1px solid var(--elan-border); border-radius: var(--elan-radius-panel); background: var(--elan-surface-card); padding: 0.7rem; margin-bottom: 0.6rem; }
.elan-stars { color: var(--elan-star-accent); letter-spacing: 0.1em; margin: 0; }

.elan-flash-stack { position: fixed; right: 1rem; top: 1rem; display: grid; gap: 0.4rem; z-index: 40; }
.elan-toast { background: var(--elan-surface-card); border: 1px solid var(--elan-border); border-radius: var(--elan-radius-panel); padding: 0.6rem 0.75rem; box-shadow: var(--elan-shadow-soft); transform: translateY(0); opacity: 1; transition: transform 0.35s var(--elan-ease-luxe), opacity 0.35s var(--elan-ease-luxe); color: var(--elan-foreground); }
.elan-toast--notice { border-color: rgb(93 84 212 / 0.55); }
.elan-toast--alert { border-color: var(--elan-danger-border); }
.elan-toast.is-hiding { opacity: 0; transform: translateY(-8px); }

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* —— Provider schedule: weekly hours + block exceptions */

.cn-schedule-section-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.cn-schedule-section-lead {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #64748b;
  max-width: 36rem;
}

.cn-schedule-section-lead--tight {
  margin-top: 0.2rem;
}

.cn-schedule-week-card__intro {
  margin-bottom: 1.1rem;
}

.cn-weekly-schedule {
  --cn-ws-cols: minmax(6.5rem, 1.1fr) minmax(5.5rem, 0.9fr) minmax(5.5rem, 0.9fr) minmax(4.5rem, auto) 2.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.cn-weekly-schedule__head,
.cn-weekly-schedule__row {
  min-width: 36rem;
}

.cn-weekly-schedule__head {
  display: grid;
  grid-template-columns: var(--cn-ws-cols);
  align-items: center;
  gap: 0.5rem 0.4rem;
  padding: 0.65rem 0.9rem 0.75rem;
  background: #fafbfc;
  border-bottom: 1px solid #e2e8f0;
}

.cn-weekly-schedule__th {
  font-weight: 600;
  color: #64748b;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cn-weekly-schedule__th--switch {
  text-align: center;
  justify-self: center;
}

.cn-weekly-schedule__body {
  display: flex;
  flex-direction: column;
}

.cn-weekly-schedule__row {
  display: grid;
  grid-template-columns: var(--cn-ws-cols);
  align-items: center;
  gap: 0.5rem 0.4rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  text-align: left;
  font: inherit;
}

.cn-weekly-schedule__row > input[type="hidden"] {
  display: none !important;
}

.cn-weekly-schedule__row:last-of-type {
  border-bottom: none;
}

.cn-weekly-schedule__row--inactive {
  background: #fafbfc;
  opacity: 0.9;
}

.cn-weekly-schedule__row--inactive .cn-weekly-schedule__day-name {
  color: #64748b;
}

.cn-weekly-schedule__cell {
  min-width: 0;
}

.cn-weekly-schedule__cell--day {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9rem;
}

.cn-weekly-schedule__cell--status {
  justify-self: start;
}

.cn-weekly-schedule__cell--switch {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cn-weekly-schedule__cell--switch .cn-ui-switch {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cn-schedule-input-icon {
  position: relative;
  display: block;
  width: 100%;
  max-width: 7.5rem;
}

.cn-schedule-input-icon__ic {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cn-schedule-input-icon__field {
  width: 100%;
  padding-left: 2.1rem;
  min-height: 2.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.cn-schedule-input-icon__field:focus {
  background: #fff;
  border-color: #cbd5e1;
  outline: 2px solid rgba(15, 23, 42, 0.12);
  outline-offset: 0;
}

.cn-schedule-block-form__input-plain {
  min-height: 2.4rem;
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.cn-schedule-block-form__input-plain:focus {
  background: #fff;
  border-color: #cbd5e1;
  outline: 2px solid rgba(15, 23, 42, 0.12);
  outline-offset: 0;
}

.cn-schedule-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (min-width: 56rem) {
  .cn-schedule-bottom {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }
}

.cn-schedule-block-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cn-schedule-block-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.5rem;
  background: #fef9c3;
  border: 1px solid #fde68a;
}

.cn-schedule-block-form__label-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0 0 0.35rem;
}

.cn-schedule-block-form__label-row .slotz-label {
  margin: 0;
}

.cn-schedule-hint-trigger {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 6px;
  background: rgba(254, 243, 199, 0.85);
  color: #92400e;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
}

.cn-schedule-hint-trigger__glyph {
  transform: translateY(-0.5px);
}

.cn-schedule-hint-trigger:focus-visible {
  outline: 2px solid rgba(245, 158, 11, 0.75);
  outline-offset: 2px;
}

/* Shadcn-style tooltip (shadcn-rails pattern via Stimulus ui--tooltip) */
.cn-ui-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.cn-ui-tooltip__panel {
  z-index: 1080;
  max-width: min(20rem, calc(100vw - 2rem));
  padding: 0.5rem 0.65rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #020617;
  color: #f8fafc;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 500;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.12),
    0 14px 32px rgba(15, 23, 42, 0.2);
}

.cn-schedule-block-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem 1rem;
}

@media (min-width: 36rem) {
  .cn-schedule-block-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cn-schedule-block-form__field .cn-schedule-input-icon,
.cn-schedule-block-form__field .cn-schedule-block-form__input-plain {
  max-width: none;
}

.cn-schedule-block-form__actions {
  margin-top: 1.1rem;
}

.cn-schedule-active-blocks {
  min-height: 8rem;
}

.cn-schedule-blocks-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cn-schedule-block-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  position: relative;
}

.cn-schedule-block-badge {
  flex-shrink: 0;
  width: 2.5rem;
  min-height: 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 0.4rem;
  background: #f8fafc;
  text-align: center;
  line-height: 1.1;
  padding: 0.2rem 0.1rem;
}

.cn-schedule-block-badge__mo {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748b;
  text-transform: uppercase;
}

.cn-schedule-block-badge__day {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0.05rem;
}

.cn-schedule-block-item__body {
  flex: 1;
  min-width: 0;
  padding-right: 1.5rem;
}

.cn-schedule-block-item__reason {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.cn-schedule-block-item__time {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.cn-schedule-block-item form.button_to {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  margin: 0;
  display: block;
  width: 2rem;
  height: 2rem;
  padding: 0;
}

.cn-schedule-block-item form.button_to .cn-schedule-block-remove,
.cn-schedule-block-remove {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.4rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease, background 0.15s ease;
}

.cn-schedule-block-item form.button_to .cn-schedule-block-remove:hover,
.cn-schedule-block-remove:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.cn-schedule-block-item form.button_to .cn-schedule-block-remove:focus-visible,
.cn-schedule-block-remove:focus-visible {
  outline: 2px solid var(--slotz-primary);
  outline-offset: 2px;
}

.cn-schedule-blocks-empty {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: #64748b;
}

/* ─── Provider subscription page ─── */
.slotz-subscription-head {
  margin-bottom: 1.75rem;
}

.slotz-subscription-head__title {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.slotz-subscription-head__subtitle {
  margin: 0.45rem 0 0;
  font-size: 0.975rem;
  max-width: 40rem;
}

.slotz-subscription-section {
  margin-bottom: 2.25rem;
}

.slotz-subscription-section__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.slotz-subscription-current-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.slotz-subscription-detail-card {
  padding: 1.35rem;
}

.slotz-subscription-detail-card__heading {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
}

.slotz-subscription-dl {
  margin: 0;
}

.slotz-subscription-dl__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.slotz-subscription-dl__row:last-of-type {
  border-bottom: 0;
}

.slotz-subscription-dl dt {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.slotz-subscription-dl dd {
  margin: 0;
  text-align: right;
  font-size: 0.875rem;
  color: #0f172a;
}

.slotz-subscription-plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.slotz-subscription-status {
  font-weight: 600;
}

.slotz-subscription-status--ok {
  color: #15803d;
}

.slotz-subscription-status--warn {
  color: #ca8a04;
}

.slotz-subscription-status--bad {
  color: #dc2626;
}

.slotz-subscription-status--muted {
  color: #64748b;
}

.slotz-subscription-footnote {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.slotz-subscription-cancel-form {
  margin-top: 1rem;
}

.slotz-subscription-usage-lines {
  margin-bottom: 0.75rem;
}

.slotz-subscription-usage-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.slotz-subscription-meter__track {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.slotz-subscription-meter__fill {
  height: 100%;
  border-radius: inherit;
  background: #0f172a;
  min-width: 0;
  transition: width 0.25s ease;
}

.slotz-subscription-usage-note {
  margin: 0.65rem 0 0;
  font-size: 0.835rem;
  line-height: 1.45;
}

.slotz-subscription-plan-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.slotz-subscription-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.slotz-subscription-plan-card--popular {
  border: 2px solid #0f172a;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.slotz-subscription-plan-card__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #0f172a;
  color: #fff;
  white-space: nowrap;
}

.slotz-subscription-plan-card__title {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.slotz-subscription-plan-card__price {
  margin: 0.65rem 0 0;
  line-height: 1.15;
}

.slotz-subscription-plan-card__amount {
  font-size: 2rem;
  font-weight: 700;
}

.slotz-subscription-plan-card__per {
  margin-left: 0.35rem;
  font-size: 0.9375rem;
  color: #64748b;
  font-weight: 500;
}

.slotz-subscription-plan-card__blurb {
  margin: 0.75rem 0 0;
  font-size: 0.8375rem;
  line-height: 1.45;
  color: #64748b;
  flex-grow: 0;
}

.slotz-subscription-plan-card__features {
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.slotz-subscription-plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.84rem;
  line-height: 1.38;
  margin-bottom: 0.45rem;
}

.slotz-subscription-plan-feature__icon {
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
  font-size: 0.75rem;
}

.slotz-subscription-plan-feature--yes .slotz-subscription-plan-feature__icon {
  color: #15803d;
}

.slotz-subscription-plan-feature--no {
  color: #94a3b8;
}

.slotz-subscription-plan-feature--no .slotz-subscription-plan-feature__icon {
  color: #cbd5e1;
}

.slotz-subscription-plan-card__cta {
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.slotz-subscription-plan-cta.slotz-subscription-plan-cta--static {
  width: 100%;
  justify-content: center;
  cursor: default;
}

.slotz-subscription-plan-cta.is-disabled {
  opacity: 0.55;
}

form.slotz-subscription-plan-cta {
  display: flex;
  width: 100%;
}

form.slotz-subscription-plan-cta button {
  width: 100%;
  justify-content: center;
}

.slotz-subscription-plan-cta.slotz-subscription-plan-cta--static {
  display: flex;
}

.slotz-subscription-billing-card {
  padding: 0;
  overflow: hidden;
}

.slotz-subscription-billing-empty {
  margin: 0;
  padding: 0.5rem 0;
}

/* Providers — Élan spotlights / posts */

.cn-ui-th--w-preview {
  width: 7.75rem;
  min-width: 6rem;
}

.cn-ui-th--w-posted {
  width: 10rem;
  min-width: 8rem;
}

.cn-provider-posts-thumb {
  display: block;
  width: 4.75rem;
  height: 4.75rem;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 1px solid var(--slotz-border);
  background: #f8fafc;
}

.cn-provider-posts-caption {
  display: inline-block;
  max-width: 36rem;
  line-height: 1.35;
}

.cn-provider-posts-empty {
  margin: 0;
  padding: 0.15rem 0 0;
}

.cn-provider-post-card__head {
  margin-bottom: 1.25rem;
}

.cn-provider-post-card__title {
  margin: 0 0 0.35rem;
}

.cn-provider-post-card__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cn-provider-post-form__errors {
  margin: 0 0 1rem;
}

.cn-provider-post-field {
  margin-top: 1.25rem;
}

.cn-provider-post-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.cn-provider-post-dropzone__hint {
  margin: 0 0 0.6rem;
  font-size: 0.875rem;
}

.cn-provider-post-dropzone__surface {
  position: relative;
  border-radius: var(--slotz-radius);
  border: 1px dashed rgb(148 163 184 / 0.55);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.98) 0%, rgb(248 250 252 / 0.95) 100%);
  padding: 1.1rem 1rem;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.cn-provider-post-dropzone__surface--invalid {
  border-color: rgb(248 113 113 / 0.75);
  background: rgb(254 242 242 / 0.45);
}

.cn-provider-post-dropzone--dragover .cn-provider-post-dropzone__surface {
  border-color: rgb(99 102 241 / 0.55);
  box-shadow: 0 0 0 3px rgb(99 102 241 / 0.12);
}

.cn-provider-post-dropzone__idle {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.cn-provider-post-dropzone__browse {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  text-align: center;
}

@media (min-width: 480px) {
  .cn-provider-post-dropzone__browse {
    width: auto;
    justify-content: center;
  }
}

.cn-provider-post-dropzone__preview-wrap {
  display: grid;
  gap: 0.65rem;
}

/* Author `display` must not defeat the HTML `hidden` attribute (shows broken preview <img>). */
.cn-provider-post-dropzone__preview-wrap[hidden] {
  display: none !important;
}

.cn-provider-post-dropzone__preview {
  display: block;
  max-height: 14rem;
  width: 100%;
  max-width: 22rem;
  object-fit: contain;
  border-radius: 0.65rem;
  border: 1px solid var(--slotz-border);
  background: #fff;
}

.cn-provider-post-dropzone__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cn-provider-post-dropzone__feedback {
  margin-top: 0.45rem;
}

.cn-provider-post-dropzone__client-error {
  display: inline-flex;
  margin-top: 0.25rem;
}

.cn-provider-post-dropzone__attached {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--slotz-radius);
  border: 1px solid var(--slotz-border);
  background: #f8fafc;
}

.cn-provider-post-dropzone__attached-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cn-provider-post-dropzone__attached-img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 12rem;
  border-radius: 0.55rem;
  border: 1px solid var(--slotz-border);
  object-fit: contain;
}

.cn-provider-posts-table__actions {
  white-space: nowrap;
  vertical-align: middle;
}

.cn-provider-posts-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.cn-provider-posts-actions__destroy-form {
  display: inline-flex;
}

.cn-provider-posts-actions__destroy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: #b91c1c;
  font: inherit;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.cn-provider-posts-actions__destroy:hover {
  color: #991b1b;
}

.cn-provider-posts-actions__destroy:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.slotz-stock-category-active-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

/* Providers personal — profile avatar dropzone */
.cn-personal-avatar-dropzone .cn-provider-post-dropzone__attached-img {
  max-height: 10rem;
}

.cn-personal-avatar-dropzone .cn-provider-post-dropzone__preview {
  max-height: 11rem;
}

/* Settings — business logo & cover (shadcn--dropzone + Active Storage) */
.cn-settings-branding-logo-dropzone .cn-provider-post-dropzone__attached-img,
.cn-settings-branding-logo-dropzone .cn-provider-post-dropzone__preview {
  max-width: 10rem;
  max-height: 10rem;
  object-fit: contain;
}

.cn-settings-branding-cover-dropzone .cn-provider-post-dropzone__attached-img,
.cn-settings-branding-cover-dropzone .cn-provider-post-dropzone__preview {
  width: 100%;
  max-height: 9rem;
  object-fit: cover;
  border-radius: var(--slotz-radius);
}

