:root {
  --cream: #f8f8fa;
  --cream-deep: #eceef3;
  --surface: #ffffff;
  --surface-alt: #f6f7fa;
  --forest: #30343f;
  --forest-deep: #262a35;
  --forest-soft: #454d60;
  --petrol: #46516b;
  --coral: #e2614a;
  --coral-deep: #c84b36;
  --coral-soft: #fbe3dd;
  --ink: #282c38;
  --ink-soft: #535d70;
  --ink-mute: #657187;
  --line: #dde1e9;
  --line-soft: #e9ecf2;
  --blue: #d8e6f3;
  --blue-ink: #2b5a80;
  --mint: #e4e8f0;
  --mint-ink: #48556d;
  --peach: #fbe2ce;
  --peach-ink: #a65d2c;
  --violet: #e5deef;
  --violet-ink: #5a4a80;
  --gold: #e9b949;
  --danger: #c0392f;
  --danger-soft: #f8e2df;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow-s:
    0 1px 2px rgba(38, 42, 54, 0.05), 0 2px 6px rgba(38, 42, 54, 0.04);
  --shadow-m:
    0 1px 3px rgba(38, 42, 54, 0.025), 0 10px 28px -18px rgba(38, 42, 54, 0.2);
  --shadow-l: 0 20px 50px -24px rgba(48, 52, 63, 0.38);
  --ring: 0 0 0 3px rgba(226, 97, 74, 0.28);
  --ease: cubic-bezier(0.22, 0.68, 0.36, 1);
}

* {
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--cream);
  background-image:
    radial-gradient(
      760px 420px at 102% -6%,
      rgba(221, 226, 237, 0.55),
      transparent 70%
    ),
    radial-gradient(
      620px 380px at -8% 104%,
      rgba(251, 226, 206, 0.45),
      transparent 72%
    );
  background-attachment: fixed;
  color: var(--ink);
  font-family:
    "Segoe UI",
    Inter,
    system-ui,
    -apple-system,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.005em;
}

h1,
h2,
h3,
h4 {
  color: var(--forest-deep);
  letter-spacing: -0.022em;
  line-height: 1.15;
  font-weight: 650;
}
p {
  color: var(--ink-soft);
}
a {
  color: var(--petrol);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--coral-deep);
}
small {
  font-size: 13.5px;
  letter-spacing: 0.005em;
}

.sidebar {
  background: linear-gradient(
    180deg,
    var(--forest) 0%,
    var(--forest-deep) 100%
  );
  color: #eceef5;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 18px 22px;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}
.sidebar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 190px;
  background: radial-gradient(
    260px 150px at 20% 100%,
    rgba(226, 97, 74, 0.2),
    transparent 70%
  );
  pointer-events: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 8px 22px;
}
.brand img {
  height: 26px;
  width: auto;
  filter: none;
  opacity: 0.95;
}
.brand-dot {
  font-size: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(226, 97, 74, 0.18);
}
.workspace {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 11px 12px;
  margin-bottom: 24px;
}
.workspace-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--mint), var(--blue));
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 15px;
}
.workspace strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 620;
}
.workspace small {
  display: block;
  color: rgba(236, 238, 245, 0.62);
  font-size: 13px;
}
.nav-caption {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(236, 238, 245, 0.46);
  font-weight: 600;
  padding: 18px 10px 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin-bottom: 3px;
  border-radius: 11px;
  color: rgba(236, 238, 245, 0.8);
  font-size: 14.5px;
  font-weight: 520;
  text-decoration: none;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translateX(2px);
}
.nav-item.active {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-weight: 640;
  box-shadow: inset 2px 0 0 var(--coral);
}
.nav-item:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--forest-deep),
    0 0 0 4px var(--gold);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 20px;
}
.little-note {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
  color: rgba(236, 238, 245, 0.74);
  font-size: 13.5px;
}
.little-spark {
  color: var(--gold);
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}
.version {
  color: rgba(236, 238, 245, 0.35);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 12px 10px 0;
}

.topbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.main-content {
  padding: 34px 34px 64px;
}
.page-heading {
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  max-width: none;
}
.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral-deep);
  background: var(--coral-soft);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.page-heading h1 {
  font-size: clamp(30px, 3vw, 40px);
  margin: 0 0 10px;
}
.page-heading p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 62ch;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 19px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.16s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.button:active {
  transform: translateY(1px);
}
.button:focus-visible,
.icon-button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.button.primary {
  background: linear-gradient(180deg, var(--coral), var(--coral-deep));
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 8px 18px -10px rgba(200, 75, 54, 0.75);
}
.button.primary:hover {
  background: var(--coral-deep);
  box-shadow: 0 12px 22px -10px rgba(200, 75, 54, 0.8);
  transform: translateY(-1px);
}
.button.secondary {
  background: var(--surface);
  color: var(--forest);
  border-color: var(--line);
  box-shadow: var(--shadow-s);
}
.button.secondary:hover {
  border-color: var(--forest-soft);
  color: var(--forest-deep);
  background: var(--surface-alt);
}
.button.quiet {
  background: transparent;
  color: var(--ink-soft);
}
.button.quiet:hover {
  background: var(--cream-deep);
  color: var(--forest-deep);
}
.button.dark {
  background: var(--forest);
  color: #f1f3f8;
}
.button.dark:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}
.button.danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #f0cdc8;
}
.button.danger:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.button.small {
  padding: 7px 13px;
  font-size: 13.5px;
  border-radius: 10px;
}
.icon-button {
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink-soft);
}
.icon-button:hover {
  background: var(--cream-deep);
  color: var(--forest-deep);
}

.card,
.share-card,
.compact-card,
.service-card,
.team-card,
.schedule-card,
.settings-card,
.setup-card,
.booking-card,
.auth-card,
.confirmation-card,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-m);
}
.card,
.share-card,
.compact-card,
.settings-card,
.schedule-card {
  padding: 24px 26px;
}

.demo-notice {
  background: #fff8ee;
  border: 1px solid #f0dcba;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 11px 16px;
  color: #6c5520;
  font-size: 13px;
  margin-bottom: 26px;
}

.stats-grid {
  gap: 20px;
  margin-bottom: 30px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-s);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}
.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
}
.stat-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.stat-icon.blue {
  background: var(--blue);
  color: var(--blue-ink);
}
.stat-icon.mint {
  background: var(--mint);
  color: var(--mint-ink);
}
.stat-icon.peach {
  background: var(--peach);
  color: var(--peach-ink);
}
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 680;
  color: var(--forest-deep);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat small {
  display: block;
  font-size: 13.5px;
  color: var(--ink-mute);
}

.dashboard-grid {
  gap: 22px;
}
.right-column {
  display: grid;
  gap: 22px;
  align-content: start;
}
.share-card h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
.share-symbol {
  color: #9ba4b6;
}
.setup-card p {
  color: var(--ink-soft);
}
.share-card p {
  font-size: 14.5px;
  margin: 0 0 14px;
}
.share-card small {
  color: var(--ink-mute);
}
.link-preview {
  display: block;
  background: var(--surface-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--petrol);
  word-break: break-all;
  margin-bottom: 12px;
}
.person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.person-row:last-child {
  border-bottom: 0;
}
.avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--peach), var(--coral-soft));
  color: var(--peach-ink);
  font-weight: 700;
  font-size: 14px;
}
.member-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-ink);
  margin-left: auto;
  box-shadow: 0 0 0 3px var(--mint);
}

.card-heading,
.agenda-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.card-heading h2,
.agenda-heading h2 {
  font-size: 19px;
  margin: 0;
}
.date-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.day-button {
  flex: 1 1 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 11px 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s var(--ease);
}
.day-button span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-mute);
  font-weight: 600;
}
.day-button strong {
  font-size: 19px;
  color: var(--forest-deep);
  font-weight: 650;
}
.day-button small {
  font-size: 12.5px;
  color: var(--ink-mute);
}
.day-button:hover {
  background: var(--surface);
  border-color: var(--forest-soft);
  transform: translateY(-2px);
}
.day-button.is-today {
  border-color: var(--coral);
  background: var(--coral-soft);
}
.day-button.is-today strong {
  color: var(--coral-deep);
}
.day-button.selected {
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: 0 10px 20px -12px rgba(48, 52, 63, 0.9);
}
.day-button.selected span,
.day-button.selected small {
  color: rgba(236, 238, 245, 0.72);
}
.day-button.selected strong {
  color: #fff;
}

.booking-list {
  display: grid;
  gap: 10px;
}
.booking-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--mint-ink);
  transition: all 0.2s var(--ease);
}
.booking-row:hover {
  background: var(--surface);
  box-shadow: var(--shadow-s);
  transform: translateX(2px);
  border-left-color: var(--coral);
}
.booking-time {
  font-weight: 680;
  color: var(--forest-deep);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  min-width: 48px;
}
.booking-detail {
  flex: 1;
  min-width: 0;
}
.booking-detail strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.booking-title {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.customer-search {
  padding: 24px;
  margin-bottom: 24px;
}
.policy-card {
  margin-bottom: 24px;
}
.setup-nav-link {
  display: block;
  margin: 14px 12px;
  font-size: 12px;
  color: #e6e9f0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.setup-progress-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(115deg, #e9edf5, #fff4eb);
}
.setup-progress-card h2 {
  margin: 8px 0;
  font-size: 23px;
}
.setup-progress-card p {
  color: var(--ink-mute);
  font-size: 14px;
  max-width: 65ch;
}
.setup-wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.setup-wizard progress {
  width: min(280px, 100%);
  height: 12px;
  accent-color: var(--coral);
}
.setup-steps {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
  margin-bottom: 18px;
}
.setup-steps button {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
}
.setup-steps button[aria-current="step"] {
  border-color: var(--coral);
  background: var(--peach);
}
.setup-steps span {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-alt);
}
.setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 24px;
  align-items: start;
}
.setup-layout > div {
  min-width: 0;
}
.setup-step-intro {
  margin-bottom: 24px;
}
.setup-step-intro p {
  color: var(--ink-mute);
  margin: 12px 0;
}
.setup-step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0;
}
.readiness-card {
  padding: 22px;
}
.readiness-card h2 {
  font-size: 20px;
}
.readiness-result {
  font-weight: 650;
  margin: 16px 0;
}
.readiness-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 13px;
}
.readiness-card li {
  margin: 10px 0;
}
.branding-card {
  margin: 24px 0;
}
.branding-preview,
.business-logo,
.manage-logo {
  display: block;
  object-fit: contain;
  max-width: 180px;
  height: 96px;
  margin-bottom: 20px;
}
.branding-preview {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.public-contact {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.public-contact a {
  text-decoration: underline;
}
.service-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.public-shell.brand-blue {
  --coral: #3d6399;
  --coral-deep: #2d4c78;
  --forest-soft: #3d6399;
}
.public-shell.brand-violet {
  --coral: #765893;
  --coral-deep: #5a3d77;
  --forest-soft: #765893;
}
.public-shell.brand-graphite {
  --coral: #414b63;
  --coral-deep: #292f40;
  --forest-soft: #414b63;
}
@media (max-width: 1100px) {
  .setup-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
.manage-main {
  max-width: 760px;
  padding: 32px 16px 64px;
  margin: 0 auto;
}
.manage-card {
  padding: clamp(20px, 4vw, 40px);
}
.manage-card h1 {
  margin: 14px 0;
  font-size: clamp(25px, 5vw, 36px);
}
.manage-card h2 {
  margin: 24px 0 12px;
}
.manage-contact {
  margin: 24px 0 12px;
  overflow-wrap: anywhere;
}
.manage-contact a {
  text-decoration: underline;
  margin-right: 12px;
}
.customer-search input {
  width: 100%;
  margin-top: 10px;
}
.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}
.customer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 24px;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.customer-card:hover {
  border-color: var(--coral);
  box-shadow: var(--shadow-s);
}
.customer-card strong {
  font-size: 17px;
  margin: 8px 0;
}
.customer-card > span:not(.avatar),
.customer-card small {
  font-size: 13px;
  color: var(--ink-mute);
}
.customer-history {
  margin-top: 28px;
}
.customer-history h3 {
  margin-bottom: 12px;
}
.customer-appointment {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--ink);
  padding: 14px;
  margin: 10px 0;
  text-align: left;
  font: inherit;
  font-size: 13px;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.customer-appointment:hover {
  border-color: var(--coral);
}
.customer-appointment small {
  color: var(--ink-mute);
}
.customer-picker {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 20px;
  min-width: 0;
}
.customer-picker input,
.customer-picker select {
  max-width: 100%;
}
input[readonly] {
  background: var(--surface-alt);
  color: var(--ink-mute);
}
.calendar-card {
  min-width: 0;
}
.calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.view-switch {
  display: flex;
  gap: 6px;
}
.calendar-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.calendar-date input {
  width: auto;
  min-width: 0;
  margin: 0;
}
.calendar-heading {
  margin: 16px 0 10px;
}
.calendar-day-link {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.calendar-day-link:hover {
  color: var(--coral-deep);
  text-decoration: underline;
}
.week-work-hours {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-mute);
  overflow-wrap: anywhere;
  margin: 8px 0 12px;
}
.week-work-hours span {
  display: block;
}
.timeline-scroll {
  max-height: 720px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 20px;
  scrollbar-gutter: stable;
}
.timeline-grid {
  display: flex;
  width: 100%;
  min-width: min-content;
  background: var(--surface);
}
.timeline-rail {
  width: 56px;
  flex: 0 0 56px;
  position: sticky;
  left: 0;
  z-index: 4;
  background: var(--surface);
  border-right: 1px solid var(--line);
}
.timeline-person-column {
  flex: 1 0 230px;
  min-width: 230px;
  border-right: 1px solid var(--line);
}
.timeline-person {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 66px;
  padding: 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  overflow: hidden;
}
.timeline-person strong,
.timeline-person small {
  display: block;
}
.timeline-person small {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 5px;
}
.timeline-canvas {
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 29px,
    var(--line-soft) 29px 30px
  );
}
.timeline-hour {
  position: absolute;
  left: 6px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-mute);
  padding-top: 3px;
}
.timeline-free {
  position: absolute;
  inset-inline: 0;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  font: inherit;
  font-size: 11px;
  text-align: left;
  color: var(--ink-mute);
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
}
.timeline-free span {
  opacity: 0.65;
}
.timeline-free b {
  color: var(--coral-deep);
}
.timeline-free:hover,
.timeline-free:focus-visible {
  background: var(--peach);
  color: var(--ink);
  z-index: 2;
}
.timeline-free:hover span,
.timeline-free:focus-visible span {
  opacity: 1;
}
.timeline-block {
  position: absolute;
  inset-inline: 0;
  padding: 5px 10px;
  overflow: hidden;
  background: repeating-linear-gradient(
    135deg,
    #eef0f5 0 6px,
    #e5e8ef 6px 12px
  );
  color: #555f74;
  font-size: 11px;
}
.timeline-block.pause {
  background: #f6e7db;
  color: #755138;
}
.timeline-booking.event-card {
  position: absolute;
  inset-inline: 4px;
  width: calc(100% - 8px);
  margin: 0;
  padding: 5px 8px;
  border-radius: 8px;
  overflow: hidden;
  z-index: 3;
  box-shadow: none;
  min-height: 0;
  font-size: 11px;
  line-height: 1.3;
}
.timeline-booking.event-card strong {
  font-size: 12px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-booking.event-card span {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .calendar-card {
    padding: 16px 10px;
  }
  .calendar-toolbar {
    gap: 12px;
  }
  .calendar-date {
    width: 100%;
    justify-content: space-between;
  }
  .timeline-person-column {
    flex-basis: 220px;
    min-width: 220px;
  }
  .timeline-scroll {
    max-height: 65vh;
  }
}
.booking-title:hover {
  color: var(--coral-deep);
  text-decoration: underline;
}
.booking-notes,
.booking-history {
  margin: 20px 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  overflow-wrap: anywhere;
}
.booking-notes p,
.booking-history p {
  white-space: pre-wrap;
  margin: 8px 0;
}
.booking-history {
  padding-left: 36px;
  font-size: 14px;
}
.booking-history li + li {
  margin-top: 16px;
}
.booking-history time {
  color: var(--ink-mute);
}
.booking-audit {
  margin: 24px 0;
}
.booking-audit summary {
  cursor: pointer;
  font-weight: 650;
  padding: 8px 0;
}
#attendance-form {
  margin-bottom: 24px;
}
.status-arrived {
  background: #e4ebf7;
  color: #344e80;
}
.status-completed {
  background: #e6e9f0;
  color: #414b63;
}
.status-no_show,
.status-cancelled {
  background: #f7e7e2;
  color: #93432e;
}
.booking-mobile-status {
  display: none;
}
@media (max-width: 1100px) {
  .booking-mobile-status {
    display: block;
    font-size: 12px;
    color: var(--ink-mute);
    margin-top: 4px;
  }
}
.booking-detail small {
  display: block;
  color: var(--ink-mute);
  font-size: 13.5px;
}
.booking-price {
  font-weight: 650;
  color: var(--petrol);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}
.status-pill {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
}
.card-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  gap: 10px;
  align-items: center;
}

.calendar-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.week-board {
  display: grid;
  gap: 12px;
}
.board-day {
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
  min-height: 130px;
}
.board-day h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin: 0 0 10px;
}
.today-column {
  background: #fff;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}
.event-card {
  border-radius: 11px;
  padding: 9px 11px;
  margin-bottom: 8px;
  font-size: 13.5px;
  border: 1px solid transparent;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-s);
}
.event-card strong {
  display: block;
  font-size: 14px;
}
.event-card.blue {
  background: var(--blue);
  color: var(--blue-ink);
  border-color: #c3d8ea;
}
.event-card.mint {
  background: var(--mint);
  color: var(--mint-ink);
  border-color: #cbd3e1;
}
.event-card.peach {
  background: var(--peach);
  color: var(--peach-ink);
  border-color: #f3d2b6;
}
.event-card.violet {
  background: var(--violet);
  color: var(--violet-ink);
  border-color: #d5cbe6;
}
.event-card.blue strong {
  color: var(--blue-ink);
}
.event-card.mint strong {
  color: var(--mint-ink);
}
.event-card.peach strong {
  color: var(--peach-ink);
}
.event-card.violet strong {
  color: var(--violet-ink);
}

.service-card {
  padding: 22px;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-l);
  border-color: #d2d8e3;
}
.service-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.service-symbol {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--violet), var(--blue));
  color: var(--violet-ink);
  font-size: 19px;
}
.service-card h3 {
  font-size: 17px;
  margin: 0;
}
.service-price {
  font-size: 24px;
  font-weight: 680;
  color: var(--forest-deep);
  letter-spacing: -0.02em;
}
.service-price small {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 5px;
}
.add-card {
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  background: transparent;
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 22px;
  color: var(--ink-mute);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s var(--ease);
}
.add-card:hover {
  border-color: var(--coral);
  color: var(--coral-deep);
  background: var(--coral-soft);
}

.team-card {
  padding: 22px;
}
.team-card h3 {
  font-size: 17px;
  margin: 0 0 4px;
}
.work-hours {
  font-size: 13.5px;
  color: var(--mint-ink);
  background: var(--mint);
  border-radius: 999px;
  padding: 4px 11px;
  display: inline-block;
  font-weight: 600;
}
.schedule-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.schedule-row:last-child {
  border-bottom: 0;
}
.schedule-explanation {
  font-size: 13.5px;
  color: var(--ink-mute);
  margin: 0 0 16px;
}
.schedule-empty {
  text-align: center;
  padding: 26px;
  color: var(--ink-mute);
  font-size: 14px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}
.check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
}

.settings-card h2 {
  font-size: 19px;
  margin: 0 0 6px;
}
.settings-note {
  font-size: 13.5px;
  color: var(--ink-mute);
  margin-top: 10px;
}

label {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--forest-deep);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
input,
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 13px;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
}
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  accent-color: var(--coral);
}
input:hover,
select:hover,
textarea:hover {
  border-color: #cdd4e0;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--coral);
  box-shadow: var(--ring);
}
input::placeholder,
textarea::placeholder {
  color: #a9b3af;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface-alt);
}
legend {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  padding: 0 8px;
}
.field-help {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 6px;
}
.form-error {
  font-size: 13.5px;
  color: var(--danger);
  background: var(--danger-soft);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin-top: 8px;
}
.weekday-checks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.weekday-checks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13.5px;
  background: var(--surface);
  transition: all 0.18s var(--ease);
}
.weekday-checks span:hover {
  border-color: var(--forest-soft);
}
.weekday-checks input:checked + span,
.weekday-checks span:has(input:checked) {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

dialog {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-l);
  max-width: 560px;
  width: calc(100% - 32px);
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(38, 42, 53, 0.46);
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.dialog-header h2 {
  font-size: 22px;
  margin: 0;
}
.dialog-lead {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.confirmation-card {
  background: var(--surface-alt);
  padding: 18px;
  margin-bottom: 18px;
}
.booking-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.toast {
  background: var(--forest-deep);
  color: #f1f3f8;
  border-radius: 14px;
  padding: 13px 18px;
  font-size: 14px;
  box-shadow: var(--shadow-l);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.public-shell {
  background:
    radial-gradient(ellipse at 8% 24%, #fbe9e1 0, transparent 42%),
    radial-gradient(ellipse at 95% 5%, #e7ecf6 0, transparent 38%), var(--cream);
  min-height: 100vh;
  padding-top: 18px;
}
.public-header {
  width: calc(100% - 48px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border: 1px solid rgba(221, 225, 233, 0.85);
  border-radius: 20px;
  box-shadow: 0 8px 32px -22px rgba(48, 52, 63, 0.25);
}
.public-header h1 {
  color: var(--forest-deep);
  font-size: 22px;
  margin: 0;
}
.public-main {
  padding: 40px 24px 64px;
  max-width: 1040px;
  margin: 0 auto;
}
.public-grid {
  gap: 30px;
}
.business-intro h1 {
  font-size: 34px;
  margin: 0 0 12px;
}
.business-monogram {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--forest-soft), var(--petrol));
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: var(--shadow-m);
}
.intro-note {
  font-size: 14.5px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint-ink);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.powered {
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  margin-top: 26px;
}
.booking-card {
  padding: 28px;
}
.booking-steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 600;
}
.booking-steps > * {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
}
.step-active {
  background: var(--coral) !important;
  color: #fff !important;
  border-color: var(--coral) !important;
}
.service-option,
.slot {
  border: 1px solid var(--line);
  background: var(--surface-alt);
  border-radius: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s var(--ease);
}
.service-option {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  margin-bottom: 10px;
  width: 100%;
  text-align: left;
}
.service-option:hover {
  border-color: var(--forest-soft);
  background: #fff;
  transform: translateY(-1px);
}
.service-option.chosen {
  border-color: var(--coral);
  background: var(--coral-soft);
  box-shadow: 0 0 0 3px rgba(226, 97, 74, 0.14);
}
.radio-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 2px solid #bec6d4;
  transition: all 0.18s var(--ease);
}
.service-option.chosen .radio-dot {
  border-color: var(--coral-deep);
  background: radial-gradient(circle, var(--coral-deep) 42%, transparent 44%);
}
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.slot {
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest-deep);
  font-variant-numeric: tabular-nums;
}
.slot:hover {
  background: #fff;
  border-color: var(--forest-soft);
  transform: translateY(-2px);
}
.slot.chosen {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.booking-success {
  text-align: center;
  padding: 36px 24px;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  font-size: 32px;
  background: var(--mint);
  color: var(--mint-ink);
  box-shadow: 0 0 0 10px rgba(221, 226, 237, 0.45);
}

.auth-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}
.auth-layout {
  gap: 64px;
  align-items: start;
  max-width: 980px;
  width: 100%;
  margin: 28px auto 0;
}
.auth-intro {
  padding-top: 28px;
}
.auth-intro h1 {
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 8px 0 22px;
}
.auth-intro p {
  font-size: 16px;
  max-width: 36ch;
  line-height: 1.75;
}
.auth-intro ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}
.auth-intro li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-intro li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--coral-deep);
  border: 1px solid var(--coral-soft);
  font-weight: 700;
  flex: 0 0 24px;
}
.auth-preview {
  margin-top: 34px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #fff;
  border-radius: 22px;
  box-shadow: 0 22px 50px -32px rgba(48, 52, 63, 0.4);
  transform: rotate(-2deg);
}
.auth-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 14px;
}
.auth-preview-header small {
  font-size: 11px;
  color: var(--ink-soft);
  padding: 3px 8px;
  background: var(--surface-alt);
  border-radius: 20px;
}
.auth-preview-days {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.auth-preview-days span {
  flex: 1;
  padding: 10px 4px;
  text-align: center;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--ink-soft);
  font-size: 12px;
}
.auth-preview-days .selected {
  background: var(--forest);
  color: #fff;
}
.auth-preview-booking {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-left: 3px solid var(--coral);
  border-radius: 12px;
  background: #fff1eb;
  font-size: 13px;
}
.auth-preview-booking strong,
.auth-preview-booking small {
  display: block;
}
.auth-preview-booking small {
  font-size: 12px;
  color: var(--ink-soft);
}
.auth-preview > p {
  margin: 14px 0 0;
  font-size: 12px;
}
.auth-card {
  padding: 32px;
  box-shadow: 0 20px 60px -38px rgba(48, 52, 63, 0.35);
}
.auth-card h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
}
.auth-card input {
  background: #fafbfc;
  border-color: #dce1e9;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}
.auth-card input:hover {
  border-color: #aab4c5;
}
.auth-card input:focus {
  background: #fff;
}
.auth-card input::placeholder {
  color: #758094;
  opacity: 1;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-mute);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 22px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.text-link {
  color: var(--coral-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 97, 74, 0.35);
}
.text-link:hover {
  border-bottom-color: var(--coral-deep);
}
.setup-card {
  padding: 30px;
  max-width: 620px;
  margin: 0 auto;
}
.empty-state {
  padding: 46px 26px;
  text-align: center;
  border-style: dashed;
  box-shadow: none;
  background: var(--surface-alt);
}
.empty-state h3 {
  font-size: 19px;
  margin: 0 0 8px;
}
.empty-state p {
  font-size: 14.5px;
  max-width: 42ch;
  margin: 0 auto 18px;
}
.footer {
  padding: 28px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 13px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }
  .sidebar {
    background: rgba(255, 255, 255, 0.94);
    padding: 14px 12px 0;
    box-shadow: none;
  }
  .sidebar::after {
    display: none;
  }
  .shell .sidebar .brand {
    color: var(--forest-deep);
    padding-bottom: 0;
  }
  .shell .sidebar .brand:hover {
    color: var(--coral-deep);
  }
  .sidebar nav {
    margin-top: 12px;
  }
  .nav-item {
    color: var(--ink-soft);
  }
  .nav-item:hover,
  .nav-item.active {
    color: var(--forest-deep);
    background: var(--cream-deep);
  }
  .sidebar .setup-nav-link,
  .sidebar .employee-role {
    color: var(--ink-soft);
    padding: 8px 6px;
    margin: 0;
  }
  .main-content {
    padding: 22px 16px 48px;
  }
  .topbar {
    padding: 12px 16px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p,
  .auth-intro p {
    font-size: 15px;
  }
  .auth-intro h1,
  .business-intro h1 {
    font-size: 27px;
  }
  .stat {
    padding: 17px;
    gap: 13px;
  }
  .stat strong {
    font-size: 25px;
  }
  .card,
  .share-card,
  .compact-card,
  .settings-card,
  .schedule-card,
  .booking-card,
  .auth-card,
  .setup-card {
    padding: 18px;
    border-radius: var(--radius);
  }
  .booking-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .booking-price {
    margin-left: auto;
  }
  .day-button {
    flex: 1 1 60px;
    padding: 9px 4px;
  }
  .day-button strong {
    font-size: 17px;
  }
  .public-main {
    padding: 26px 16px 48px;
  }
  .week-strip,
  .slots {
    gap: 6px;
  }
  dialog {
    padding: 20px;
    border-radius: 18px;
  }
}

.sidebar .brand {
  color: var(--surface);
}
.sidebar .brand:hover {
  color: var(--mint);
}
.public-header .brand {
  padding-bottom: 2px;
  color: var(--forest-deep);
}
.public-header .brand:hover {
  color: var(--coral-deep);
}
.public-header .button.quiet {
  color: var(--ink-soft);
}
.public-header .button.quiet:hover {
  background: var(--cream-deep);
}
.page-heading .eyebrow,
.share-card .eyebrow,
.business-intro .eyebrow {
  color: var(--coral-deep);
  font-size: 11px;
}
.stat:nth-child(1) {
  background: #edf5fb;
}
.stat:nth-child(2) {
  background: #eef0f6;
}
.stat:nth-child(3) {
  background: #fff0e4;
}
.stat > div > span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.share-card {
  background: var(--mint);
  border-color: #d1d7e3;
}
.share-card h2 {
  font-size: 25px;
  line-height: 1.25;
}
.share-card > small,
.business-intro > p,
.settings-card > p,
.settings-note ol,
.muted-note {
  font-size: 13px;
  color: var(--ink-soft);
}
.booking-detail > span,
.booking-time > span,
.person-row div > span,
.service-option small,
.work-hours p {
  font-size: 13px;
  color: var(--ink-soft);
}
.booking-time strong,
.person-row strong,
.service-option strong {
  font-size: 14px;
}
.section-title h3 {
  font-size: 15px;
}
.section-title a {
  font-size: 12px;
  color: var(--ink-soft);
}
.agenda-heading h3,
.agenda-heading > span,
.card-bottom,
.service-card p,
.team-card > p,
.board-empty,
.slots-heading > span,
.booking-steps > span {
  font-size: 13px;
  color: var(--ink-soft);
}
.booking-steps .step-active b {
  color: var(--coral-deep);
  background: #fff8f2;
}
.booking-steps .step-active {
  color: #fff;
}
.little-note p {
  font-size: 13px;
  color: #c5cad8;
}
.little-note strong {
  color: #eceef5;
}
.nav-caption,
.version {
  color: #b8bfd0;
}
.work-hours {
  display: block;
  border-radius: 14px;
  padding: 15px;
}
.work-hours span {
  color: var(--mint-ink);
  font-size: 13px;
}
.work-hours p {
  line-height: 1.7;
}
.setup-card {
  max-width: none;
  margin: 0 0 24px;
  background: var(--mint);
}
.auth-main {
  display: block;
  min-height: auto;
  padding-top: 28px;
}
input,
textarea,
select {
  font-weight: 400;
}
input[type="checkbox"],
input[type="radio"] {
  flex-shrink: 0;
}
.check-label {
  display: flex;
}
.weekday-checks span {
  padding-inline: 5px;
  width: 100%;
}
.board-day {
  padding-inline: 8px;
}
.event-card > span,
.event-card small {
  font-size: 12px;
  line-height: 1.6;
}
.button:focus-visible,
.icon-button:focus-visible,
.service-option:focus-visible,
.slot:focus-visible {
  outline: 3px solid var(--forest-soft);
  outline-offset: 3px;
}
.public-header .button:focus-visible {
  outline-color: var(--gold);
}
@media (max-width: 1200px) {
  .week-board {
    grid-template-columns: repeat(7, minmax(160px, 1fr));
  }
}
@media (max-width: 720px) {
  .sidebar {
    padding: 18px 16px 0;
  }
  .sidebar .brand {
    padding: 0;
  }
  .sidebar::after {
    display: none;
  }
  .workspace {
    display: none;
  }
  .nav-item {
    font-size: 12px;
    padding: 10px 3px;
    gap: 7px;
  }
  .nav-item:hover {
    transform: none;
  }
  .sidebar nav {
    gap: 3px;
  }
  .page-heading .eyebrow {
    font-size: 10px;
  }
  .stat {
    padding: 13px 11px;
    align-items: flex-start;
  }
  .stats-grid {
    gap: 9px;
  }
  .stat > div {
    min-width: 0;
    width: 100%;
  }
  .stat > div > span {
    font-size: 11px;
    min-height: 52px;
  }
  .stat small {
    font-size: 11px;
    line-height: 1.6;
  }
  .stat-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .card-heading {
    padding: 4px 0 16px;
    flex-wrap: wrap;
  }
  .week-strip {
    padding: 0;
    gap: 4px;
  }
  .day-button {
    padding: 10px 2px;
    min-width: 0;
  }
  .day-button span {
    font-size: 11px;
  }
  .day-button small {
    font-size: 10px;
  }
  .day-button strong {
    font-size: 18px;
  }
  .agenda-heading {
    padding: 12px 0;
  }
  .agenda-heading h3,
  .agenda-heading > span {
    font-size: 11px;
  }
  .booking-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 34px;
    grid-template-areas: "time detail actions" "time price actions";
    gap: 6px 10px;
    padding: 15px 12px;
  }
  .booking-time {
    grid-area: time;
    min-width: 0;
    width: auto;
  }
  .booking-detail {
    grid-area: detail;
  }
  .booking-detail strong {
    font-size: 14px;
    line-height: 1.5;
  }
  .booking-detail > span {
    font-size: 12px;
    line-height: 1.7;
  }
  .booking-mark {
    display: none;
  }
  .booking-price {
    grid-area: price;
    margin-left: 0;
  }
  .booking-row-actions {
    grid-area: actions;
  }
  .booking-row-actions .icon-button {
    width: 32px;
    height: 34px;
  }
  .booking-time strong {
    font-size: 13px;
  }
  .booking-time > span {
    font-size: 11px;
  }
  .public-header {
    padding: 20px 16px;
  }
  .public-header .button.quiet {
    font-size: 12px;
  }
  .service-option {
    gap: 9px;
    padding: 14px 10px;
  }
  .service-option strong {
    font-size: 14px;
  }
  .service-option small {
    font-size: 12px;
  }
  .booking-steps {
    gap: 5px;
  }
  .booking-steps > span {
    font-size: 11px;
    padding: 6px 8px;
  }
  .auth-main {
    padding-inline: 16px;
  }
  .footer {
    padding: 22px 0;
    font-size: 11px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  .nav-item {
    font-size: 11px;
  }
  .booking-card {
    padding: 16px 12px;
  }
  .booking-steps > span {
    padding-inline: 5px;
  }
  .service-option strong {
    font-size: 13px;
  }
  .stat > div > span {
    font-size: 10px;
  }
  .stat strong {
    font-size: 23px;
  }
  .stat small {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .stat:hover,
  .service-card:hover,
  .button:hover,
  .day-button:hover,
  .slot:hover,
  .event-card:hover,
  .booking-row:hover,
  .nav-item:hover,
  .service-option:hover {
    transform: none;
  }
}

.booking-experience {
  background:
    radial-gradient(ellipse at 12% 12%, #f7e4da 0, transparent 42%), #f4f5f8;
}
.booking-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px max(24px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
  color: var(--forest-deep);
}
.booking-wordmark {
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.booking-header-note {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--ink-soft);
}
.booking-experience {
  padding-top: 0;
}
.booking-experience .public-main {
  max-width: 1168px;
  padding-top: 28px;
}
.booking-experience .public-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 52px;
  align-items: start;
  margin-top: 40px;
}
.booking-experience .business-intro {
  min-width: 0;
  padding: 12px 0;
}
.business-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.booking-experience .business-monogram,
.booking-experience .business-logo {
  width: 64px;
  height: 64px;
  margin: 0;
  flex-shrink: 0;
  border-radius: 18px;
}
.booking-experience .business-logo {
  width: min(220px, 60vw);
  max-width: min(220px, 60vw);
  height: 112px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
}
@media (max-width: 600px) {
  .booking-experience .business-identity:has(.business-logo) {
    flex-wrap: wrap;
  }
  .booking-experience .business-logo {
    width: min(200px, 60vw);
    height: 100px;
  }
}
.booking-experience .business-monogram {
  background: #343e53;
  color: #ffe2d2;
  box-shadow: none;
}
.booking-experience .business-intro h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.booking-experience .business-description {
  color: #5b6475;
  font-size: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 18px 0;
}
.booking-welcome {
  margin: 32px 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 650;
  color: #333e53;
}
.booking-welcome em {
  font-weight: 450;
  color: #a54d32;
}
.booking-experience .public-contact {
  border-top: 1px solid #d8dce4;
  padding-top: 22px;
  color: #515c70;
}
.booking-reassurance {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #566278;
  margin-top: 24px;
}
.public-selection {
  margin-top: 28px;
  border: 1px solid #d9dee8;
  border-radius: 20px;
  padding: 22px;
  background: #ffffffb8;
}
.public-selection h2 {
  font-size: 20px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.public-selection dl {
  margin: 0;
}
.public-selection dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 14px;
}
.public-selection dt {
  color: #5b6475;
}
.public-selection dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}
.booking-experience .booking-card {
  min-width: 0;
  padding: 32px;
  border: 1px solid #e0e4eb;
  border-radius: 28px;
  box-shadow:
    0 16px 48px #29364c0c,
    0 2px 6px #29364c06;
}
.booking-experience .booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-bottom: 1px solid #e7e9ef;
  padding-bottom: 20px;
  margin-bottom: 26px;
}
.booking-experience .booking-steps > span {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  padding: 8px 4px;
  font-size: 12px;
}
.booking-experience .service-option {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 16px;
  gap: 12px;
  padding: 18px 14px;
  background: #fff;
  border-radius: 18px;
  min-height: 88px;
}
.booking-experience .service-option.chosen {
  border-color: var(--coral);
  background: #fff8f4;
  box-shadow: inset 3px 0 var(--coral);
}
.booking-experience .service-option strong {
  overflow-wrap: anywhere;
}
.booking-experience .service-option .service-symbol {
  width: 40px;
  height: 40px;
}
.booking-experience .service-option small {
  line-height: 1.6;
  color: #5b6475;
}
.booking-experience .service-description {
  margin-top: 8px;
}
.booking-experience .button,
.booking-experience .slot {
  min-height: 48px;
}
.booking-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin: 20px -2px 4px;
}
.booking-day {
  flex: 1 0 52px;
  display: grid;
  gap: 2px;
  place-items: center;
  padding: 9px 4px;
  border-radius: 14px;
  border: 1px solid #dce1e9;
  background: #fff;
  color: #414c60;
  font: inherit;
  cursor: pointer;
}
.booking-day span,
.booking-day small {
  font-size: 11px;
}
.booking-day strong {
  font-size: 20px;
}
.booking-day[aria-pressed="true"] {
  background: #343e53;
  border-color: #343e53;
  color: #fff;
}
.booking-day:hover {
  border-color: var(--coral);
}
.booking-experience .slots {
  gap: 10px;
}
.booking-experience .slot.chosen {
  box-shadow: 0 3px 10px #29364c15;
}
.booking-experience .confirmation-card {
  border-radius: 18px;
  border-left: 3px solid var(--coral);
}
.booking-experience .footer a {
  color: #5b6475;
  text-decoration: none;
}
.booking-experience .footer a:hover {
  text-decoration: underline;
}
@media (max-width: 800px) {
  .booking-experience .public-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 20px;
  }
  .booking-experience .business-intro {
    padding: 0;
  }
  .business-identity {
    margin-bottom: 16px;
  }
  .booking-welcome {
    display: none;
  }
  .booking-experience .public-contact {
    margin: 16px 0;
    padding-top: 14px;
  }
  .public-selection {
    margin-top: 18px;
    padding: 14px 16px;
  }
  .public-selection h2 {
    margin: 10px 0;
    font-size: 17px;
  }
  .public-selection dl {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
  }
  .public-selection dl > div {
    padding: 2px 0;
    gap: 8px;
    font-size: 13px;
  }
  .booking-reassurance {
    margin-top: 14px;
  }
}
@media (max-width: 480px) {
  .booking-masthead {
    padding: 16px;
    gap: 14px;
  }
  .booking-wordmark {
    font-size: 14px;
  }
  .booking-header-note {
    font-size: 11px;
  }
  .booking-header-note .icon {
    display: none;
  }
  .booking-experience .public-main {
    padding: 20px 16px 32px;
  }
  .booking-experience .booking-card {
    border-radius: 22px;
    padding: 20px 16px;
  }
  .booking-experience .service-option {
    grid-template-columns: minmax(0, 1fr) auto 16px;
    gap: 10px;
  }
  .booking-experience .service-option .service-symbol {
    display: none;
  }
  .booking-experience .booking-buttons {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 12px 0 max(12px, env(safe-area-inset-bottom));
    z-index: 2;
  }
  .booking-experience .booking-buttons .primary {
    flex: 1;
  }
  .booking-experience .footer {
    gap: 12px;
    align-items: start;
    flex-direction: column;
  }
}

.member-access {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin: 16px 0;
}
.member-access > span {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
}
.employee-role {
  color: #e1e5ee;
  font-size: 13px;
  padding: 16px 12px;
}

.mail-preview-frame {
  display: block;
  width: 100%;
  height: 620px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 20px 0 12px;
  background: #f3f4f7;
}

@media (max-width: 720px) {
  .public-shell {
    padding-top: 12px;
  }
  .public-header {
    width: calc(100% - 32px);
    padding: 12px 16px;
    border-radius: 16px;
  }
  .auth-layout {
    gap: 24px;
    margin-top: 24px;
  }
  .auth-intro {
    padding-top: 0;
  }
  .auth-intro h1 {
    font-size: 34px;
    margin-bottom: 16px;
  }
  .auth-intro ul,
  .auth-preview {
    display: none;
  }
  .auth-card {
    padding: 24px 20px;
  }
  .booking-experience {
    padding-top: 0;
  }
}
@media (max-width: 600px) {
  .mail-preview-frame {
    height: 560px;
  }
}

.mobile-nav,
.mobile-workspace-name,
.demo-brief,
.calendar-help-phone {
  display: none;
}
.notification-bell {
  position: relative;
  min-width: 44px;
  min-height: 44px;
}
[data-notification-badge] {
  position: absolute;
  top: -4px;
  right: -4px;
  padding: 1px 5px;
  border: 2px solid #fff;
  border-radius: 20px;
  background: var(--coral-deep);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
}
[data-notification-badge][hidden],
.connection-status[hidden] {
  display: none;
}
.phone-settings {
  margin-bottom: 24px;
}
.phone-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}
.phone-setting-row p {
  margin: 6px 0 0;
  font-size: 14px;
  max-width: 58ch;
}
.phone-setting-row .button {
  flex-shrink: 0;
}
.phone-setting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.phone-menu {
  display: grid;
  gap: 6px;
}
.phone-menu a,
.phone-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  background: var(--surface-alt);
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  text-align: left;
  font-weight: 600;
}
.phone-menu span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 400;
}
.notification-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  max-height: 50dvh;
  overflow: auto;
}
.notification-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: var(--surface-alt);
  border-radius: 14px;
  text-decoration: none;
}
.notification-item > span:nth-child(2) {
  flex: 1;
}
.notification-item strong,
.notification-item small {
  display: block;
}
.notification-item small {
  color: var(--ink-soft);
  margin-top: 4px;
  font-size: 12px;
}
.notification-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}
.notification-dot.unread {
  background: var(--coral);
}
.phone-empty {
  text-align: center;
  padding: 32px 12px;
}
.connection-status {
  padding: 12px 20px;
  background: #fff0db;
  color: #694a17;
  border-bottom: 1px solid #ead4af;
  font-size: 14px;
  text-align: center;
}
.remember-device {
  margin: 16px 0;
  min-height: 44px;
  font-size: 13px;
}
.remember-device input {
  width: 20px;
  height: 20px;
  accent-color: var(--coral-deep);
}

@media (max-width: 720px) {
  html {
    scroll-padding-bottom: 100px;
  }
  .shell {
    position: relative;
  }
  .shell .sidebar {
    padding: max(14px, env(safe-area-inset-top)) 16px 12px;
    min-height: 76px;
  }
  .shell .sidebar nav,
  .shell .sidebar .setup-nav-link,
  .shell .sidebar .employee-role {
    display: none;
  }
  .mobile-workspace-name {
    display: block;
    font-size: 11px;
    color: var(--ink-soft);
    margin: 2px 64px 0 8px;
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .shell .topbar {
    position: absolute;
    top: env(safe-area-inset-top, 0px);
    right: 14px;
    width: auto;
    height: 68px;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
  }
  .topbar .breadcrumb,
  .topbar [data-action="logout"],
  .topbar .account-actions > a {
    display: none;
  }
  .mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: flex;
    justify-content: space-around;
    gap: 2px;
    padding: 7px max(10px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 32px -24px #30343f50;
    backdrop-filter: blur(16px);
  }
  .mobile-nav-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 600;
  }
  .mobile-nav-item .icon {
    width: 21px;
    height: 21px;
  }
  .mobile-nav-item.active {
    color: var(--coral-deep);
    background: #fff1eb;
  }
  .mobile-nav-item.mobile-add {
    color: #fff;
    background: var(--coral-deep);
    max-width: 64px;
    box-shadow: 0 4px 12px -6px var(--coral-deep);
  }
  .mobile-nav-item:focus-visible {
    outline: 3px solid var(--petrol);
    outline-offset: 2px;
  }
  .shell .main-content {
    padding: 22px 16px calc(100px + env(safe-area-inset-bottom));
  }
  .shell .page-heading .eyebrow {
    display: none;
  }
  .shell .page-heading {
    padding-bottom: 18px;
    margin-bottom: 18px;
  }
  .shell .page-heading h1 {
    font-size: 28px;
  }
  .shell .page-heading p {
    font-size: 14px;
  }
  .shell[data-page="calendar"] .page-heading h1 {
    font-size: 24px;
  }
  .shell[data-page="calendar"] .page-heading p,
  .shell[data-page="calendar"] .page-heading > .button,
  .shell[data-page="overview"] .page-heading > .button {
    display: none;
  }
  .demo-notice .demo-full,
  .calendar-help-full {
    display: none;
  }
  .demo-notice .demo-brief {
    display: inline;
    flex-basis: auto;
    padding: 0;
    font-size: 11px;
  }
  .demo-notice {
    gap: 6px;
    padding: 10px 12px;
    margin-bottom: 18px;
    font-size: 11px;
  }
  .calendar-help-phone {
    display: inline;
  }
  .calendar-toolbar {
    margin-bottom: 12px;
    gap: 10px;
  }
  .calendar-filter {
    padding: 0;
    margin-bottom: 10px;
    flex-wrap: nowrap;
  }
  .calendar-filter > label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .calendar-filter select {
    flex: 1;
    min-width: 0;
    width: auto;
  }
  .calendar-heading {
    font-size: 18px;
    margin: 12px 0 6px;
  }
  .calendar-instructions {
    font-size: 12px;
    margin: 0 0 12px;
  }
  .timeline-canvas {
    background: repeating-linear-gradient(
      to bottom,
      transparent 0 44px,
      var(--line-soft) 44px 45px
    );
  }
  .timeline-free {
    font-size: 12px;
  }
  .timeline-free span {
    opacity: 1;
  }
  .button,
  .icon-button {
    min-height: 44px;
  }
  .booking-row-actions .icon-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .service-option {
    min-height: 76px;
  }
  .phone-setting-row {
    display: block;
  }
  .phone-setting-row .button {
    margin-top: 14px;
    width: 100%;
  }
  .phone-setting-actions .button {
    flex: 1;
  }
  .calendar-toolbar .icon-button {
    min-width: 44px;
  }
  .toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
  }
  dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: 100%;
    max-height: calc(92dvh - env(safe-area-inset-top));
    margin: auto 0 0;
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    overflow: auto;
    overscroll-behavior: contain;
  }
  body:has(dialog[open]) .mobile-nav {
    visibility: hidden;
  }
  .phone-settings {
    padding: 20px;
  }
  dialog > .phone-settings {
    border: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }
  dialog > .phone-settings > .eyebrow,
  dialog > .phone-settings > h2,
  dialog > .phone-settings > p:first-of-type {
    display: none;
  }
}
.share-options-button {
  margin-top: 10px;
}
.trial-booking-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--cream-deep);
  color: var(--ink-soft);
  font-size: 11px;
}
.share-qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 24px 0;
}
.share-qr-paper {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 16px;
  border: 1px solid #dbe0e9;
  border-radius: 18px;
  background: white;
  text-align: center;
  color: #30343f;
}
.share-qr-paper img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 240px;
}
.share-qr-paper span {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.share-embed-code {
  width: 100%;
  font-family: monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .share-qr-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .share-qr-paper {
    width: min(100%, 260px);
    justify-self: center;
  }
}
