:root {
  color-scheme: light;
  --cyan: #0790c9;
  --cyan-dark: #0477a7;
  --cyan-deep: #075d83;
  --cyan-soft: #eaf7fc;
  --cyan-faint: #f5fbfe;
  --ink: #202326;
  --ink-soft: #535c63;
  --line: #dce7ec;
  --line-strong: #c5d5dc;
  --white: #ffffff;
  --success: #0b8268;
  --success-soft: #e9f8f3;
  --danger: #b33a43;
  --danger-soft: #fff0f1;
  /* Guide colour: everything that helps or explains is this bright green. */
  --guide: #2ee35f;
  --guide-soft: #e7fbe9;
  --guide-ink: #053014;
  --shadow-sm: 0 8px 28px rgba(26, 71, 91, 0.08);
  --shadow-lg: 0 28px 70px rgba(19, 70, 93, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content: 1240px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(7, 144, 201, 0.1), transparent 24rem),
    radial-gradient(circle at 96% 30%, rgba(76, 173, 206, 0.12), transparent 26rem),
    linear-gradient(180deg, #f9fcfd 0%, #f4fafc 54%, #ffffff 100%);
  font-size: 1rem;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 144, 201, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 144, 201, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 58%);
}

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

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

button {
  color: inherit;
}

a {
  color: var(--cyan-deep);
}

svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.5rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(7, 144, 201, 0.38);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem max(1rem, calc((100vw - var(--content)) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(197, 213, 220, 0.72);
  box-shadow: 0 4px 20px rgba(24, 73, 94, 0.035);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

/* The whole logo is always visible: fixed height, width follows its proportions. */
.brand-crop {
  display: block;
  flex: 0 0 auto;
  background: transparent;
}

.brand-crop img {
  display: block;
  width: auto;
  height: 52px;
  max-width: none;
}

.brand-place {
  padding-left: 0.8rem;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-switch {
  display: flex;
  gap: 0.2rem;
  padding: 0.22rem;
  background: #eff5f7;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-button {
  min-width: 2.6rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--cyan-deep);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(31, 77, 96, 0.12);
}

.call-button {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.48rem 1rem 0.48rem 0.8rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.call-button:hover {
  background: #0c6e95;
  box-shadow: 0 9px 24px rgba(7, 119, 167, 0.2);
  transform: translateY(-1px);
}

.call-button svg {
  grid-row: 1 / 3;
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  stroke: none;
}

.call-button span {
  font-size: 0.7rem;
  line-height: 1;
  opacity: 0.72;
}

.call-button strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  padding: 2.2rem 0 4rem;
}

.intro-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.7rem;
  padding: 0.8rem 0.25rem;
}

.intro-panel::after {
  position: absolute;
  top: -4.5rem;
  right: 15%;
  z-index: -1;
  width: 13rem;
  height: 13rem;
  content: "";
  border: 1px solid rgba(7, 144, 201, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(7, 144, 201, 0.025),
    0 0 0 64px rgba(7, 144, 201, 0.018);
}

.intro-copy {
  max-width: 760px;
}

.intro-meta {
  display: grid;
  flex: 0 0 min(100%, 360px);
  gap: 0.7rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.45rem;
  color: var(--cyan-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--success);
  border: 3px solid var(--success-soft);
  border-radius: 50%;
  box-sizing: content-box;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.85rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.intro-text {
  max-width: 650px;
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.location-card,
.opening-hours-card {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
  min-width: 250px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.opening-hours-card {
  align-items: flex-start;
}

.location-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cyan);
  background: var(--cyan-soft);
  border-radius: 50%;
}

.location-card span:last-child {
  display: grid;
}

.location-card small,
.location-card em {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-style: normal;
}

.location-card strong {
  font-size: 0.94rem;
}

.opening-hours-copy {
  display: grid;
  width: 100%;
  gap: 0.26rem;
}

.opening-hours-copy > h2 {
  margin: 0 0 0.1rem;
  font-size: 0.9rem;
  line-height: 1.3;
  letter-spacing: normal;
}

.opening-hours-copy > span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.opening-hours-copy b {
  color: var(--ink);
  font-weight: 700;
}

.opening-hours-copy time {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.opening-hours-copy small {
  margin-top: 0.2rem;
  color: var(--cyan-deep);
  font-size: 0.7rem;
  line-height: 1.35;
}

.progress-rail {
  display: grid;
  grid-template-columns: auto minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr) auto;
  align-items: center;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  padding: 0 0.5rem;
}

.progress-rail.is-callback {
  grid-template-columns: auto minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr) auto;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  color: #839097;
  background: transparent;
  border: 0;
  opacity: 1;
}

.progress-step span {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  background: #e9f0f3;
  border: 1px solid #d6e2e7;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.progress-step b {
  font-size: 0.8rem;
  font-weight: 700;
}

.progress-step.is-active,
.progress-step.is-complete {
  color: var(--cyan-deep);
}

.progress-step.is-active span {
  color: var(--white);
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  box-shadow: 0 0 0 5px rgba(7, 144, 201, 0.11);
}

.progress-step.is-complete span {
  color: var(--white);
  background: var(--success);
  border-color: var(--success);
}

.progress-rail > i {
  height: 1px;
  margin: 0 0.5rem;
  background: var(--line-strong);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: 1.15rem;
  align-items: start;
}

.booking-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.15rem, 2.4vw, 1.9rem);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(197, 213, 220, 0.86);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.booking-card::before {
  position: absolute;
  top: 0;
  left: 2rem;
  width: 5rem;
  height: 3px;
  content: "";
  background: var(--cyan);
  border-radius: 0 0 8px 8px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.section-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cyan-deep);
  background: var(--cyan-soft);
  border: 1px solid #cdeaf5;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 850;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-heading p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.service-list {
  display: grid;
  gap: 0.72rem;
}

.service-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 6.2rem;
  padding: 0.9rem 1rem;
  overflow: hidden;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.service-option::after {
  position: absolute;
  top: -2.2rem;
  right: -2.2rem;
  width: 5.5rem;
  height: 5.5rem;
  content: "";
  border: 1px solid rgba(7, 144, 201, 0.09);
  border-radius: 50%;
}

.service-option:hover {
  border-color: #9ccedf;
  box-shadow: 0 10px 24px rgba(22, 87, 114, 0.09);
  transform: translateY(-1px);
}

.service-option.is-selected {
  background: linear-gradient(105deg, var(--cyan-faint), var(--white));
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(7, 144, 201, 0.1), 0 12px 28px rgba(7, 119, 167, 0.1);
}

.service-radio {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border: 2px solid #afc2ca;
  border-radius: 50%;
  transition: border-color 160ms ease;
}

.service-radio::after {
  width: 0.62rem;
  height: 0.62rem;
  content: "";
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.service-option.is-selected .service-radio {
  border-color: var(--cyan);
}

.service-option.is-selected .service-radio::after {
  opacity: 1;
  transform: scale(1);
}

.service-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.service-copy strong {
  font-size: 0.97rem;
  line-height: 1.25;
}

.service-copy span {
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.35;
}

.service-copy small {
  color: var(--cyan-deep);
  font-size: 0.74rem;
  font-weight: 700;
}

.duration-chip {
  position: relative;
  z-index: 1;
  min-width: 4rem;
  padding: 0.38rem 0.55rem;
  color: var(--ink-soft);
  background: #f2f6f8;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 750;
  text-align: center;
}

.callback-chip {
  max-width: 7.5rem;
  color: var(--cyan-deep);
  background: var(--cyan-soft);
  line-height: 1.2;
  white-space: normal;
}

.service-option.is-selected .duration-chip {
  color: var(--cyan-deep);
  background: var(--cyan-soft);
}

/* "Which one?" helper: a green bar that invites a click and opens the answers. */
.service-guide {
  margin: 0 0 0.9rem;
  color: var(--guide-ink);
  background: var(--guide-soft);
  border: 2px solid var(--guide);
  border-radius: var(--radius-md);
  font-size: 0.86rem;
}

.service-guide > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  list-style: none;
  cursor: pointer;
}

.service-guide > summary::-webkit-details-marker {
  display: none;
}

.guide-cta {
  margin-left: auto;
  padding: 0.3rem 0.8rem;
  color: var(--guide-ink);
  background: var(--guide);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.service-guide[open] .guide-cta {
  visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .service-guide:not([open]) .guide-bulb {
    display: inline-block;
    animation: guide-glow 2.4s ease-in-out infinite;
  }

  @keyframes guide-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(46, 227, 95, 0)); }
    50% { transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(46, 227, 95, 0.9)); }
  }
}

.service-guide ul {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0 1rem 0.9rem 2rem;
  color: var(--ink);
}

/* Compact service cards: a green 💡 in the card row opens "what it includes". */
.service-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  column-gap: 0.85rem;
}

.service-item .service-option {
  grid-row: 1;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  min-height: 4.4rem;
}

.service-item .more-slot {
  width: 0;
}

.service-more-toggle {
  z-index: 2;
  display: grid;
  grid-row: 1;
  grid-column: 3;
  align-self: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  place-items: center;
  background: var(--guide-soft);
  border: 1.5px solid var(--guide);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.service-more-toggle:hover,
.service-more-toggle[aria-expanded="true"] {
  background: var(--guide);
}

.service-more-toggle:focus-visible {
  outline: 3px solid var(--guide-ink);
  outline-offset: 2px;
}

.service-item.is-open .service-option {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.service-more {
  grid-row: 2;
  grid-column: 1 / -1;
  margin-top: -1px;
  padding-top: 0.6rem;
  background: var(--guide-soft);
  border: 1px solid var(--line);
  border-top-style: dashed;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.service-more[hidden] {
  display: none;
}

.service-item.is-selected .service-more {
  border-color: var(--cyan);
}

.service-more p {
  margin: 0 1rem 0.4rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.service-more .service-details {
  display: grid;
  gap: 0.2rem;
  margin: 0 1rem 0.8rem;
  padding: 0;
  list-style: none;
}

.service-more .service-details li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.82rem;
}

.service-more .service-details li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--cyan);
  font-weight: 800;
}

.service-meta {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  align-self: start;
}

.price-chip {
  padding: 0.3rem 0.6rem;
  color: var(--white);
  background: var(--cyan-deep);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.skeleton {
  overflow: hidden;
  background: #eaf0f3;
  border-radius: var(--radius-lg);
}

.skeleton::after {
  display: block;
  width: 55%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 1.25s infinite;
  transform: translateX(-120%);
}

.service-skeleton {
  height: 6.2rem;
}

@keyframes shimmer {
  to { transform: translateX(260%); }
}

.calendar-panel {
  min-height: 32rem;
}

.calendar-empty {
  display: grid;
  min-height: 21rem;
  place-items: center;
  align-content: center;
  gap: 1.5rem;
  padding: 2rem;
  color: var(--ink-soft);
  text-align: center;
  background: var(--cyan-faint);
  border: 1px dashed #c7e1eb;
  border-radius: var(--radius-lg);
}

.calendar-empty p {
  max-width: 320px;
  margin: 0;
  font-size: 0.9rem;
}

.focus-orbit {
  position: relative;
  display: grid;
  width: 7rem;
  height: 4.2rem;
  place-items: center;
  border: 2px solid rgba(7, 144, 201, 0.42);
  border-radius: 50% / 58%;
  transform: rotate(-4deg);
}

.focus-orbit::before,
.focus-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(7, 144, 201, 0.15);
  border-radius: 50%;
}

.focus-orbit::before {
  inset: -0.7rem -1.2rem;
}

.focus-orbit::after {
  inset: -1.4rem -2.3rem;
}

.focus-orbit span {
  width: 2.7rem;
  height: 2.7rem;
  background: var(--cyan);
  border: 0.65rem solid #dff3fa;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.42rem var(--ink);
}

.calendar-content {
  min-height: 21rem;
}

.date-strip-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.date-strip-header strong {
  text-align: center;
  font-size: 0.88rem;
}

.icon-button {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.icon-button:hover:not(:disabled) {
  color: var(--cyan-deep);
  border-color: var(--cyan);
}

.icon-button:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.date-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.42rem;
  margin-bottom: 1.5rem;
}

.calendar-list-skeleton {
  grid-column: 1 / -1;
  height: 5rem;
}

.date-option {
  display: grid;
  min-width: 0;
  min-height: 5rem;
  place-items: center;
  align-content: center;
  gap: 0.05rem;
  padding: 0.42rem 0.18rem;
  color: var(--ink-soft);
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.date-option:hover:not(:disabled) {
  color: var(--cyan-deep);
  background: var(--cyan-faint);
  border-color: #92cadd;
  transform: translateY(-1px);
}

.date-option.is-selected {
  color: var(--white);
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  box-shadow: 0 8px 18px rgba(7, 144, 201, 0.2);
}

.date-option:disabled {
  color: #a8b2b7;
  background: #fafcfc;
  border-color: #eef2f4;
  cursor: not-allowed;
  opacity: 0.72;
}

.date-option small {
  font-size: 0.64rem;
  font-weight: 750;
  text-transform: uppercase;
}

.date-option strong {
  font-size: 1.25rem;
  line-height: 1.15;
}

.date-option span {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.time-heading span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.time-heading small {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.time-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.time-option {
  min-height: 2.85rem;
  padding: 0.45rem;
  color: var(--cyan-deep);
  background: var(--white);
  border: 1px solid #a9d6e6;
  border-radius: 12px;
  font-weight: 780;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.time-option:hover,
.time-option.is-selected {
  color: var(--white);
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  transform: translateY(-1px);
}

.notice {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  color: var(--cyan-deep);
  background: var(--cyan-soft);
  border-radius: 12px;
  font-size: 0.84rem;
}

.phone-only {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  color: var(--cyan-deep);
  background: var(--cyan-soft);
  border-radius: 12px;
}

.phone-only[hidden] {
  display: none;
}

.phone-only p {
  margin: 0;
}

.details-panel,
.success-panel {
  grid-column: 1 / -1;
  scroll-margin-top: 6.5rem;
}

.selection-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: var(--cyan-faint);
  border: 1px solid #cce8f2;
  border-radius: var(--radius-md);
}

.selection-summary::before {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--cyan-dark);
  border-radius: 50%;
  content: "✓";
  font-weight: 900;
}

.selection-summary span {
  display: grid;
  gap: 0.08rem;
}

.selection-summary strong {
  font-size: 0.96rem;
}

.selection-summary small {
  color: var(--ink-soft);
}

.callback-message {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 1rem;
  color: var(--cyan-deep);
  background: var(--cyan-soft);
  border: 1px solid #bfe4f2;
  border-radius: var(--radius-md);
}

.callback-message > svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  margin-top: 0.05rem;
  fill: currentColor;
  stroke: none;
}

.callback-message > span {
  display: grid;
  gap: 0.2rem;
}

.callback-message strong {
  color: var(--ink);
  font-size: 0.91rem;
}

.callback-message small {
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.field > span em {
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 500;
}

.field input,
.field textarea,
.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.field input:hover,
.field textarea:hover,
.admin-field input:hover,
.admin-field select:hover,
.admin-field textarea:hover {
  border-color: #9fc4d2;
}

.field input:focus,
.field textarea:focus,
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  background: var(--white);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(7, 144, 201, 0.1);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(179, 58, 67, 0.08);
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

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

.field-error {
  min-height: 1em;
  color: var(--danger);
  font-size: 0.73rem;
  font-weight: 600;
}

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.72rem;
  align-items: flex-start;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.81rem;
  cursor: pointer;
}

.consent-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkmark {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  margin-top: 0.05rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}

.consent-field input:focus-visible + .checkmark {
  outline: 3px solid rgba(7, 144, 201, 0.35);
  outline-offset: 2px;
}

.consent-field input:checked + .checkmark {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
}

.consent-field input:checked + .checkmark::after {
  width: 0.35rem;
  height: 0.65rem;
  content: "";
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

.consent-error {
  display: block;
  margin-left: 2.05rem;
}

.error-banner {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  color: #882b34;
  background: var(--danger-soft);
  border: 1px solid #f1c6ca;
  border-radius: 12px;
  font-size: 0.84rem;
}

.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.72rem 1.2rem;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.primary-button {
  margin-top: 1rem;
  color: var(--white);
  background: var(--cyan-dark);
  border: 1px solid var(--cyan-dark);
  box-shadow: 0 10px 24px rgba(7, 144, 201, 0.18);
}

.primary-button:hover:not(:disabled) {
  background: var(--cyan-deep);
  box-shadow: 0 13px 28px rgba(7, 119, 167, 0.24);
  transform: translateY(-1px);
}

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

.primary-button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.secondary-button {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
}

.secondary-button:hover {
  border-color: var(--cyan);
  color: var(--cyan-deep);
}

.danger-button {
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid #f0c2c7;
}

.success-panel {
  display: grid;
  justify-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.success-panel::before {
  left: 50%;
  transform: translateX(-50%);
}

.success-mark {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  margin-bottom: 1.2rem;
  color: var(--white);
  background: var(--success);
  border: 0.55rem solid var(--success-soft);
  border-radius: 50%;
  box-sizing: content-box;
}

.success-mark svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 2.2;
}

.success-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.success-summary {
  display: grid;
  min-width: min(100%, 31rem);
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 1.2rem;
  background: var(--cyan-faint);
  border: 1px solid #cce8f2;
  border-radius: var(--radius-lg);
  text-align: left;
}

.success-summary p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.success-summary p:last-child {
  padding: 0;
  border: 0;
}

.success-summary span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.success-summary strong {
  text-align: right;
}

.success-note {
  max-width: 600px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.success-actions .primary-button {
  margin: 0;
}

.assurance-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.15rem 0 0;
  padding: 1rem 1.2rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(220, 231, 236, 0.78);
  border-radius: var(--radius-lg);
}

.assurance-row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.assurance-row svg {
  flex: 0 0 auto;
  color: var(--cyan);
}

.assurance-row span {
  display: grid;
}

.assurance-row strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.assurance-row small {
  font-size: 0.72rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem max(1rem, calc((100vw - var(--content)) / 2));
  color: #8f9a9f;
  background: var(--ink);
  font-size: 0.78rem;
}

.site-footer div {
  display: grid;
}

.site-footer strong {
  color: var(--white);
}

.site-footer a {
  color: #c5d5dc;
}

.admin-link {
  color: #a9b7bd;
}

.mobile-call {
  display: none;
}

/* Admin */
.admin-body {
  min-height: 100vh;
  background: #f3f8fa;
}

.admin-shell {
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.admin-login {
  display: grid;
  min-height: calc(100vh - 5rem);
  place-items: center;
}

.admin-login-card {
  width: min(100%, 440px);
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.admin-logo img {
  width: 76px;
  height: 38px;
  object-fit: contain;
}

.admin-logo span {
  padding-left: 0.8rem;
  border-left: 1px solid var(--line);
  font-weight: 800;
}

.admin-login-card h1 {
  font-size: 1.75rem;
}

.admin-login-card > p {
  margin: 0.5rem 0 1.3rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.admin-form {
  display: grid;
  gap: 0.9rem;
}

.admin-field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-form .primary-button {
  width: 100%;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-title p {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}

.admin-title h1 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-nav {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.admin-nav a {
  padding: 0.55rem 0.75rem;
  color: var(--ink-soft);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.admin-nav a.admin-nav-primary {
  color: var(--white);
  background: var(--cyan);
}

.admin-nav a.admin-nav-primary:hover {
  background: var(--cyan-deep);
  color: var(--white);
}

.admin-nav a[aria-current] {
  color: var(--white);
  background: var(--cyan-deep);
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  color: var(--cyan-deep);
  background: var(--cyan-soft);
}

.admin-message {
  position: sticky;
  top: 5rem;
  z-index: 25;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  color: #075f4f;
  background: var(--success-soft);
  border: 1px solid #b7e6d7;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-weight: 750;
}

.admin-message[data-tone="error"] {
  color: #882b34;
  background: var(--danger-soft);
  border-color: #f1c6ca;
}

.admin-message[data-tone="warning"] {
  color: #68470b;
  background: #fff9e8;
  border-color: #efd99b;
}

.admin-system-status {
  margin: 0 0 1rem;
  padding: 0.5rem 0.85rem;
  color: #3e5560;
  background: #f4f8f9;
  border: 1px solid #dce7ea;
  border-radius: 10px;
  font-size: 0.8rem;
}

.admin-system-status[data-tone="error"] {
  color: #882b34;
  background: var(--danger-soft);
  border-color: #f1c6ca;
  font-weight: 750;
}

.admin-system-status[data-tone="warning"] {
  color: #68470b;
  background: #fff9e8;
  border-color: #efd99b;
}

.admin-warning-panel {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  color: #68470b;
  background: #fff9e8;
  border: 1px solid #efd99b;
  border-radius: var(--radius-lg);
}

.admin-warning-panel h2,
.admin-warning-panel p {
  margin: 0;
}

.admin-warning-panel h2 {
  font-size: 1rem;
}

.admin-warning-panel p {
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

.sheet-restore-panel .secondary-button {
  margin-top: 0.7rem;
}

.sheet-restore-dialog {
  width: min(calc(100% - 1.5rem), 760px);
}

.sheet-restore-body h3 {
  margin: 1rem 0 0.4rem;
  font-size: 0.92rem;
}

.sheet-restore-body ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sheet-restore-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  padding: 0.55rem 0.7rem;
  background: #f4f8f9;
  border: 1px solid #dce7ea;
  border-radius: 10px;
  font-size: 0.82rem;
}

.sheet-restore-row label {
  display: flex;
  flex: 1 1 260px;
  align-items: center;
  gap: 0.5rem;
}

.sheet-restore-row select {
  min-height: 2.2rem;
  font-size: 0.8rem;
}

.sheet-restore-row small,
.sheet-restore-note {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.sheet-restore-row[data-problem] {
  background: var(--danger-soft);
  border-color: #f1c6ca;
}

.warning-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.warning-item {
  display: grid;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 176, 79, 0.45);
  border-radius: 10px;
}

.warning-item span,
.warning-item small {
  font-size: 0.72rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 1rem;
  align-items: start;
}

.admin-card {
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.admin-card-wide {
  margin-top: 1rem;
}

.admin-section-anchor {
  scroll-margin-top: 5.5rem;
}

.admin-filter-actions {
  align-items: end;
  margin-bottom: 1rem;
}

.admin-date-filter {
  min-width: 12rem;
}

.admin-list-skeleton {
  height: 5rem;
}

.admin-card h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.booking-list {
  display: grid;
  gap: 0.65rem;
}

.booking-row {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem;
  background: #f8fbfc;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.booking-row.is-cancelled {
  background: #f6f8f9;
}

.booking-row.is-cancelled :is(strong, small, span) {
  color: var(--ink-soft);
}

.booking-row.is-cancelled .booking-person strong {
  text-decoration: line-through;
}

.booking-time {
  display: grid;
  color: var(--cyan-deep);
  text-align: center;
}

.booking-time strong {
  font-size: 1.2rem;
}

.booking-time small {
  font-size: 0.67rem;
}

.booking-person {
  min-width: 0;
}

.booking-person strong,
.booking-person span,
.booking-person small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-person span,
.booking-person small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.booking-row .danger-button,
.booking-row .secondary-button {
  min-height: 2.4rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.75rem;
}

.booking-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.admin-dialog {
  width: min(calc(100% - 1.5rem), 620px);
  max-height: min(90vh, 760px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 90px rgba(15, 45, 60, 0.3);
}

.admin-dialog::backdrop {
  background: rgba(22, 35, 41, 0.58);
  backdrop-filter: blur(4px);
}

.admin-dialog .admin-form {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-heading h2,
.dialog-heading p {
  margin: 0;
}

.dialog-heading .icon-text-button {
  min-width: 2.6rem;
  min-height: 2.6rem;
  font-size: 1.35rem;
}

.dialog-summary {
  margin-top: 0.25rem !important;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dialog-actions .primary-button {
  width: auto;
  margin-top: 0;
}

.erasure-panel {
  margin-top: 0.4rem;
  padding: 1rem;
  background: var(--danger-soft);
  border: 1px solid #f1c6ca;
  border-radius: 13px;
}

.erasure-panel h3,
.erasure-panel p {
  margin: 0;
}

.erasure-panel h3 {
  color: #882b34;
  font-size: 0.95rem;
}

.erasure-panel p {
  margin: 0.25rem 0 0.8rem;
  color: #744047;
  font-size: 0.78rem;
}

.erasure-panel .danger-button {
  margin-top: 0.8rem;
}

.empty-state {
  padding: 2.2rem 1rem;
  color: var(--ink-soft);
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
}

.admin-status {
  min-height: 1.3rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.admin-service-picker {
  max-width: 32rem;
  margin-bottom: 1rem;
}

.configuration-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.configuration-panel {
  padding: 1rem;
  background: #f8fbfc;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.configuration-heading h3,
.configuration-heading p,
.saved-exceptions h4 {
  margin: 0;
}

.configuration-heading h3 {
  font-size: 1rem;
}

.configuration-heading p {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.weekly-days {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.weekday-row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.weekday-toggle,
.toggle-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.6rem;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.weekday-toggle input,
.toggle-field input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--cyan-dark);
}

.weekday-intervals,
.exception-intervals {
  display: grid;
  gap: 0.45rem;
}

.weekly-interval {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) auto minmax(6rem, 1fr) minmax(5.6rem, 0.7fr) auto;
  gap: 0.35rem;
  align-items: center;
}

.weekly-interval input,
.weekly-interval select {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.45rem 0.55rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
}

.add-interval-button,
.icon-text-button {
  min-height: 2.4rem;
  padding: 0.4rem 0.65rem;
  color: var(--cyan-deep);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.add-interval-button {
  justify-self: start;
}

.add-interval-button:hover,
.icon-text-button:hover {
  background: var(--cyan-soft);
  border-color: #c5e4ef;
}

.danger-text {
  color: var(--danger);
}

.interval-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.saved-exceptions {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.exception-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.exception-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.exception-item > span:first-child {
  display: grid;
}

.exception-item small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.exception-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
}

.compact-empty {
  padding: 1rem;
  font-size: 0.78rem;
}

.admin-settings-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-field textarea {
  resize: vertical;
}

/* Admin scheduling and callback workflow */
.admin-body .admin-field-help {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.45;
}

.admin-body .admin-callback-toolbar {
  max-width: 30rem;
}

.admin-body .admin-callback-list {
  display: grid;
  gap: 0.65rem;
}

.admin-body .admin-callback-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  background: #f8fbfc;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.admin-body .admin-callback-person {
  display: grid;
  justify-items: start;
  gap: 0.15rem;
  min-width: 0;
}

.admin-body .admin-callback-person a {
  color: var(--cyan-deep);
  font-size: 0.82rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.admin-body .admin-callback-person p,
.admin-body .admin-callback-person small {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.admin-body .admin-callback-status {
  padding: 0.2rem 0.45rem;
  color: #075f4f;
  background: var(--success-soft);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-body .admin-callback-status[data-status="contacted"] {
  color: #68470b;
  background: #fff5cf;
}

.admin-body .admin-callback-status[data-status="closed"] {
  color: var(--ink-soft);
  background: #e9f0f3;
}

.admin-body .admin-callback-actions,
.admin-body .admin-exact-day-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-body .admin-callback-actions .primary-button,
.admin-body .admin-callback-actions .secondary-button,
.admin-body .admin-exact-day-actions .primary-button,
.admin-body .admin-exact-day-actions .secondary-button {
  width: auto;
  min-height: 2.55rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
}

.admin-body .admin-availability-note {
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem;
  color: #07536f;
  background: var(--cyan-soft);
  border: 1px solid #c5e4ef;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.admin-body .admin-exact-day-panel,
.admin-body .admin-weekly-panel {
  display: grid;
  gap: 0.9rem;
}

.admin-body .admin-exact-date-field {
  max-width: 18rem;
}

.admin-body .admin-time-fieldset,
.admin-body .admin-weekday-times,
.admin-body .admin-weekday-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-body .admin-time-fieldset > legend,
.admin-body .admin-weekday-times > legend,
.admin-body .admin-weekday-picker > legend {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-body .admin-time-fieldset > legend small {
  color: var(--ink-soft);
  font-weight: 600;
}

.admin-body .admin-time-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.35rem, 1fr));
  gap: 0.38rem;
}

.admin-body .admin-time-toggle {
  cursor: pointer;
}

.admin-body .admin-time-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.admin-body .admin-time-toggle span {
  display: grid;
  min-height: 2.35rem;
  place-items: center;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 800;
  transition: 140ms ease;
}

.admin-body .admin-time-toggle input:checked + span {
  color: var(--white);
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  box-shadow: 0 5px 14px rgba(2, 108, 148, 0.18);
}

.admin-body .admin-time-toggle input:focus-visible + span {
  outline: 3px solid rgba(7, 144, 201, 0.24);
  outline-offset: 2px;
}

.admin-body .admin-bounded-date-controls {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-body .admin-weekday-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-body .admin-weekday-picker label input {
  position: absolute;
  opacity: 0;
}

.admin-body .admin-weekday-picker label span {
  display: grid;
  min-width: 2.6rem;
  min-height: 2.35rem;
  place-items: center;
  background: #f7fafb;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 850;
  cursor: pointer;
}

.admin-body .admin-weekday-picker label input:checked + span {
  color: var(--white);
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
}

.admin-body .admin-schedule-preset {
  justify-self: start;
}

.admin-body .admin-weekly-time-days {
  max-height: 42rem;
  padding-right: 0.2rem;
  overflow: auto;
}

.admin-body .admin-weekday-times {
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-body .admin-band-list {
  display: grid;
  gap: 0.5rem;
}

.admin-body .admin-band-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.5rem;
  align-items: end;
}

.admin-body .admin-band-field {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-body .admin-band-field select {
  width: 100%;
  min-height: 2.5rem;
}

.admin-body .admin-band-remove {
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.6rem;
}

.admin-body .admin-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.admin-body .admin-band-preview {
  flex: 1 1 14rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

@media (max-width: 560px) {
  .admin-body .admin-band-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .admin-body .admin-band-step {
    grid-column: 1 / 3;
    grid-row: 2;
  }
}

.admin-body .admin-band-preview.is-error {
  color: var(--danger, #b42318);
  font-weight: 700;
}

.admin-body .admin-time-toggle-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(3.9rem, 1fr));
}

.admin-body .admin-callback-availability h3,
.admin-body .admin-callback-availability p,
.admin-body .admin-opening-hours-fields h3 {
  margin: 0;
}

.admin-body .admin-callback-availability p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.admin-body .admin-opening-hours-fields {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  background: #f8fbfc;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.admin-body .admin-opening-hours-fields h3 {
  font-size: 0.9rem;
}

.admin-body .admin-opening-hours-fields h3 small {
  color: var(--ink-soft);
  font-weight: 600;
}

@media (max-width: 720px) {
  .admin-body .admin-callback-item {
    grid-template-columns: 1fr;
  }

  .admin-body .admin-callback-actions,
  .admin-body .admin-exact-day-actions {
    justify-content: stretch;
  }

  .admin-body .admin-callback-actions > *,
  .admin-body .admin-exact-day-actions > * {
    flex: 1 1 12rem;
  }
}

@media (max-width: 960px) {
  .intro-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .location-card {
    min-width: 0;
  }

  .intro-meta {
    width: min(100%, 480px);
    flex-basis: auto;
  }

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

  .details-panel,
  .success-panel {
    grid-column: 1;
  }

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

  .configuration-columns,
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(4.7rem + env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: 66px;
    padding: 0.45rem 0.8rem;
  }

  .brand-crop img {
    height: 42px;
  }

  .brand-place,
  .call-button {
    display: none;
  }

  .page-shell {
    width: min(calc(100% - 1rem), var(--content));
    padding-top: 1.2rem;
  }

  .intro-panel {
    padding: 0.4rem 0.35rem;
  }

  .intro-panel::after {
    display: none;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .intro-meta,
  .location-card,
  .opening-hours-card {
    width: 100%;
  }

  .location-card,
  .opening-hours-card {
    box-shadow: none;
  }

  .opening-hours-copy > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.05rem;
  }

  .progress-rail {
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    margin-bottom: 0.8rem;
  }

  .progress-rail.is-callback {
    grid-template-columns: auto 1fr auto 1fr auto;
  }

  .progress-step {
    display: grid;
    justify-items: center;
    gap: 0.2rem;
  }

  .progress-step b {
    font-size: 0.62rem;
  }

  .progress-rail > i {
    margin: -1rem 0.28rem 0;
  }

  .booking-layout {
    gap: 0.75rem;
  }

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

  .booking-card::before {
    left: 1.5rem;
  }

  .section-heading {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .section-number {
    width: 2.25rem;
    height: 2.25rem;
  }

  .service-option {
    min-height: 5.4rem;
    padding: 0.75rem;
  }

  .service-copy > span:not(.service-details) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .duration-chip {
    min-width: 3.4rem;
    padding: 0.3rem 0.4rem;
  }

  .calendar-panel {
    min-height: 26rem;
  }

  .calendar-empty {
    min-height: 15rem;
  }

  .date-list {
    grid-template-columns: repeat(7, minmax(2.7rem, 1fr));
    overflow-x: auto;
    padding: 0.12rem 0.08rem 0.55rem;
    scrollbar-width: thin;
  }

  .date-option {
    min-height: 4.6rem;
  }

  .time-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .full-field {
    grid-column: 1;
  }

  .primary-button {
    width: 100%;
  }

  .assurance-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .assurance-row > div {
    justify-content: flex-start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 2rem;
  }

  .mobile-call {
    position: fixed;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    color: var(--white);
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(15, 37, 47, 0.28);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-call svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    stroke: none;
  }

  .admin-shell {
    width: min(calc(100% - 1rem), 1180px);
    padding-top: 1rem;
  }

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

  .admin-nav {
    top: 0.35rem;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .admin-nav a {
    flex: 0 0 auto;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions > * {
    min-width: 0;
  }

  .admin-filter-actions .admin-date-filter {
    flex: 1 1 11rem;
  }

  .weekday-row {
    grid-template-columns: 1fr;
  }

  .weekly-interval {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  }

  .weekly-interval select {
    grid-column: 1 / 4;
  }

  .interval-pair {
    grid-template-columns: 1fr;
  }

  .booking-row {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .booking-row-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .booking-row-actions > button {
    flex: 1 1 0;
  }

  .booking-person strong,
  .booking-person span,
  .booking-person small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .language-button {
    min-width: 2.25rem;
    padding-inline: 0.45rem;
  }

  .progress-step b {
    max-width: 3.4rem;
    line-height: 1.1;
  }

  .service-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .service-meta {
    grid-column: 2;
    justify-self: start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

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

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

@media (forced-colors: active) {
  .service-option.is-selected,
  .date-option.is-selected,
  .time-option.is-selected,
  .primary-button {
    border: 2px solid ButtonText;
  }
}

.environment-banner { margin: 0; padding: 0.7rem 1rem; background: #083f55; color: white; font-size: .85rem; text-align: center; }
.environment-banner[hidden] { display: none; }

/* Company identification (impressum) in the footer. */
.footer-legal {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.4;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Reservation list: one day by default */
.booking-day-filter {
  align-items: end;
}

.booking-scope {
  display: inline-flex;
  padding: 0.2rem;
  background: var(--cyan-faint);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.booking-scope-button {
  min-height: 2.6rem;
  padding: 0 0.9rem;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.booking-scope-button[aria-pressed="true"] {
  color: var(--white);
  background: var(--cyan-deep);
}

.booking-filter-toggle {
  display: none;
}

@media (max-width: 560px) {
  .booking-filter-toggle {
    display: inline-flex;
  }

  .booking-day-filter:not(.is-open) .booking-scope,
  .booking-day-filter:not(.is-open) .admin-date-filter,
  .booking-day-filter:not(.is-open) #refresh-bookings {
    display: none;
  }

  .booking-day-filter.is-open .booking-filter-toggle {
    order: -1;
  }
}

.booking-day-step {
  display: flex;
  align-items: end;
  gap: 0.35rem;
}

.booking-day-step .secondary-button {
  min-width: 2.8rem;
  padding-inline: 0.6rem;
  font-size: 1.1rem;
}

.booking-day-heading {
  margin: 1rem 0 0.4rem;
  color: var(--cyan-deep);
  font-size: 0.9rem;
  text-transform: capitalize;
}

.booking-day-heading:first-child {
  margin-top: 0;
}

/* Guide and change log */
.help-button {
  white-space: nowrap;
}

.help-new-badge {
  display: inline-block;
  padding: 0.05rem 0.4rem;
  color: var(--white);
  background: var(--danger);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  vertical-align: middle;
}

.help-tip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.35rem 0.3rem 0.75rem;
  color: var(--guide-ink);
  background: var(--guide-soft);
  border: 2px solid var(--guide);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.help-tip-close {
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  color: var(--guide-ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.help-tip-close:hover {
  background: var(--guide);
}

.help-guide-button {
  min-height: 2.6rem;
  padding: 0.5rem 1rem;
  color: var(--guide-ink);
  background: var(--guide);
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(46, 227, 95, 0.35);
}

.help-guide-button:hover {
  filter: brightness(0.95);
}

.help-dialog {
  width: min(calc(100% - 1.5rem), 680px);
}

.help-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.2rem 0.6rem;
  background: var(--white);
}

.help-dialog {
  border-top: 6px solid var(--guide);
}

.help-head h2 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 1.2rem;
}

.help-lang {
  display: inline-flex;
  gap: 0.2rem;
}

.help-lang-button,
.help-tab {
  min-height: 2.2rem;
  padding: 0 0.7rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.help-lang-button[aria-pressed="true"],
.help-tab[aria-pressed="true"] {
  color: var(--white);
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
}

.help-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0 1.2rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

.help-body {
  padding: 1rem 1.2rem 1.4rem;
}

.help-intro {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}

.help-steps {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: help-step;
}

.help-step {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: start;
  gap: 0.7rem;
  padding: 0.8rem;
  background: var(--cyan-faint);
  border: 1px solid var(--line);
  border-radius: 12px;
  counter-increment: help-step;
}

.help-step::before {
  content: counter(help-step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--guide-ink);
  background: var(--guide);
  border-radius: 50%;
  font-weight: 800;
}

.help-step-text p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.help-release h3 {
  margin: 1rem 0 0.4rem;
  color: var(--cyan-deep);
  font-size: 0.95rem;
}

.help-release ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.5;
}

.help-release li + li {
  margin-top: 0.3rem;
}

.help-highlight {
  outline: 4px solid var(--guide);
  outline-offset: 4px;
  transition: outline-color 0.3s;
}

@media (max-width: 560px) {
  .help-step {
    grid-template-columns: 2rem 1fr;
  }

  .help-show {
    grid-column: 2;
    justify-self: start;
  }
}

.time-heading[hidden] {
  display: none;
}

/* Client's own booking page (link from the confirmation e-mail) */
.manage-shell {
  max-width: 760px;
}

.manage-card {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
}

.manage-card h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.manage-status {
  margin: 0;
  padding: 0.8rem 1rem;
  color: var(--cyan-deep);
  background: var(--cyan-soft);
  border-radius: 12px;
  font-weight: 700;
}

.manage-status[data-tone="error"] {
  color: #882b34;
  background: var(--danger-soft);
}

.manage-status[data-tone="success"] {
  color: #075f4f;
  background: var(--success-soft);
}

.manage-summary {
  display: grid;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.manage-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
}

.manage-summary div + div {
  border-top: 1px solid var(--line);
}

.manage-summary dt {
  color: var(--ink-soft);
}

.manage-summary dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.manage-actions,
.manage-confirm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.manage-confirm p {
  flex: 1 0 100%;
  margin: 0;
  font-weight: 700;
}

.manage-danger {
  color: var(--danger);
  border-color: #f0c2c7;
}

.manage-danger-solid {
  background: var(--danger);
}

.manage-picker {
  display: grid;
  gap: 0.8rem;
}

.manage-picker h2 {
  margin: 0;
  font-size: 1.15rem;
}

.manage-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.manage-call {
  margin: 0;
  color: var(--ink-soft);
}

[hidden].manage-actions,
[hidden].manage-confirm,
[hidden].manage-picker,
[hidden].manage-summary {
  display: none;
}

/* Admin: daily work on /admin, rarely used settings on /admin/beallitasok. */
body[data-admin-page="daily"] [data-page="settings"],
body[data-admin-page="settings"] [data-page="daily"] {
  display: none !important;
}

.admin-nav a.admin-nav-settings {
  margin-left: auto;
}

.admin-nav a.admin-nav-back {
  color: var(--cyan-deep);
}

.admin-new-booking-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.admin-new-booking-card h2 {
  margin: 0;
}

.admin-new-booking-card p {
  margin: 0;
  color: var(--ink-soft);
}

.admin-new-booking-card .primary-button {
  justify-self: start;
  text-decoration: none;
}

/* Light-bulb tips (guide colour) */
.tip-bulb {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.35rem;
  padding: 0;
  vertical-align: middle;
  background: var(--guide-soft);
  border: 1.5px solid var(--guide);
  border-radius: 50%;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
}

.tip-bulb:hover,
.tip-bulb[aria-expanded="true"] {
  background: var(--guide);
}

.tip-bubble {
  position: absolute;
  top: var(--tip-top, 0);
  left: var(--tip-left, 0);
  z-index: 200;
  width: var(--tip-width, 320px);
  padding: 0.75rem 0.9rem;
  color: var(--guide-ink);
  background: var(--guide-soft);
  border: 2px solid var(--guide);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(5, 48, 20, 0.18);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.tip-bubble[hidden] {
  display: none;
}

/* Booking opens with every service in view (desktop/laptop): a compact intro,
   address and hours side by side, slimmer cards with price and time in one row. */
@media (min-width: 961px) {
  #booking.page-shell {
    padding-top: 0.9rem;
  }

  #booking .intro-panel {
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.6rem;
    padding: 0.2rem 0.25rem;
  }

  #booking .intro-panel::after {
    display: none;
  }

  #booking .intro-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  #booking .eyebrow {
    margin-bottom: 0.25rem;
  }

  #booking h1 {
    max-width: none;
    font-size: clamp(1.7rem, 2.3vw, 2.45rem);
  }

  #booking .location-card strong,
  #booking .opening-hours-copy b,
  #booking .opening-hours-copy time {
    white-space: nowrap;
  }

  #booking .booking-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  #booking .section-heading h2 {
    font-size: 1.45rem;
  }

  #booking .intro-text {
    margin-top: 0.35rem;
    font-size: 1rem;
  }

  #booking .intro-meta {
    grid-template-columns: auto auto;
    flex: 0 0 auto;
    align-items: stretch;
  }

  #booking .location-card,
  #booking .opening-hours-card {
    min-width: 0;
    padding: 0.6rem 0.85rem;
  }

  #booking .location-icon {
    width: 2.2rem;
    height: 2.2rem;
  }

  #booking .opening-hours-copy {
    gap: 0.12rem;
    max-width: 21rem;
  }

  #booking .progress-rail {
    margin-bottom: 0.8rem;
  }

  #booking .section-heading {
    margin-bottom: 0.8rem;
  }

  #booking .service-guide {
    margin-bottom: 0.6rem;
  }

  #booking .service-guide > summary {
    padding: 0.5rem 0.9rem;
  }

  #booking .service-list {
    gap: 0.55rem;
  }

  #booking .service-item .service-option {
    min-height: 3.7rem;
    padding: 0.6rem 1rem;
  }

  #booking .service-item .service-meta {
    display: flex;
    align-items: center;
    align-self: center;
  }
}

/* The 💡 buttons line up: the price/time column has the same width on every card. */
@media (min-width: 421px) {
  .service-item .service-meta {
    justify-content: flex-end;
    width: 9.2rem;
  }

  .service-item .callback-chip {
    max-width: 5.2rem;
  }
}

/* Phones and tablets: the same compact start, address and hours stay visible. */
@media (max-width: 960px) {
  #booking.page-shell {
    padding-top: 1rem;
  }

  #booking .intro-panel {
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    padding: 0;
  }

  #booking h1 {
    font-size: clamp(1.6rem, 6.4vw, 2.3rem);
  }

  #booking .intro-text {
    margin-top: 0.35rem;
    font-size: 0.95rem;
  }

  #booking .intro-meta {
    gap: 0.5rem;
  }

  #booking .location-card,
  #booking .opening-hours-card {
    gap: 0.65rem;
    padding: 0.55rem 0.8rem;
  }

  #booking .location-icon {
    width: 2rem;
    height: 2rem;
  }

  #booking .opening-hours-copy {
    gap: 0.1rem;
  }

  #booking .opening-hours-copy > span {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 0.6rem;
  }
}

/* Desktop: the date/time box is as tall as the exam list next to it (both stretch to
   the taller one); the empty state and the calendar fill that height instead of a fixed one. */
@media (min-width: 961px) {
  #booking .booking-layout {
    align-items: stretch;
  }

  #booking .calendar-panel {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  #booking .calendar-panel .calendar-empty,
  #booking .calendar-panel .calendar-content {
    min-height: 0;
    flex: 1 1 auto;
  }

  #booking .calendar-panel .calendar-empty {
    padding: 1.25rem;
  }
}

/* Robot trap: off-screen for people (and screen readers), visible to form-filling bots. */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Approved devices (owner 2026-11-08): PIN sign-in and the owner's device list. */
.pin-device { margin: 0 0 0.5rem; font-size: 1.15rem; }
#pin-form .secondary-button { margin-top: 0.25rem; }
body[data-admin-role="staff"] .admin-nav-settings { display: none; }
.device-list { display: grid; gap: 0.5rem; margin: 1rem 0; padding: 0; list-style: none; }
.device-row { display: grid; grid-template-columns: 1fr auto auto; gap: 0.25rem 0.75rem; align-items: center; padding: 0.6rem 0.8rem; border: 1px solid #d3dadc; border-radius: 10px; background: #fff; }
.device-name { font-weight: 650; }
.device-meta { grid-column: 1; color: #565c5f; font-size: 0.85rem; }
.device-row .secondary-button { grid-column: 2; grid-row: 1 / span 2; }
.device-row .danger-button { grid-column: 3; grid-row: 1 / span 2; }
.device-form { display: grid; gap: 0.75rem; max-width: 32rem; }
.device-enroll { margin-top: 1rem; padding: 1rem; border: 2px dashed #0477a7; border-radius: 12px; background: #f3f9fc; }
.device-enroll canvas { display: block; width: 232px; height: 232px; margin: 0.5rem 0; background: #fff; image-rendering: pixelated; }
.device-link a { overflow-wrap: anywhere; }
@media (max-width: 40rem) {
  .device-row { grid-template-columns: 1fr 1fr; }
  .device-meta { grid-column: 1 / -1; }
  .device-row .secondary-button, .device-row .danger-button { grid-column: auto; grid-row: auto; }
}

/* Phones: iOS zooms in on any form field under 16px and stays zoomed (owner 2026-11-09: "the
   mobile view is terrible" after typing the PIN). 16px fields keep the page at its real size. */
@media (max-width: 60rem) {
  input, select, textarea { font-size: 16px !important; }
}
.home-screen-help { margin: 1rem 0; padding: 0.9rem 1rem; border: 1px solid #cfe3ea; border-radius: 12px; background: #f3f9fc; }
.home-screen-help p { margin: 0 0 0.4rem; }
.home-screen-help ol { margin: 0; padding-left: 1.3rem; }
.home-screen-help li + li { margin-top: 0.25rem; }
/* PIN fields are plain number fields (no saved-password offers on iPhone), masked like passwords. */
.pin-input { -webkit-text-security: disc; text-security: disc; letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }

/* Touch screens (owner 2026-11-09, phone audit): every control gets a finger-sized tap area
   (about 44px); small icons keep their look, only their hit area grows. */
@media (pointer: coarse) {
  /* The bulb keeps its size; an invisible ring around it takes the tap. */
  .tip-bulb { position: relative; }
  .tip-bulb::after { content: ""; position: absolute; inset: -10px; }
  .icon-close, .help-tip-close { min-width: 44px; min-height: 44px; }
  dialog input[type="checkbox"], .admin-shell input[type="checkbox"] { width: 22px; height: 22px; }
  dialog label:has(> input[type="checkbox"]) { min-height: 44px; display: inline-flex; align-items: center; gap: 0.5rem; }
  dialog a[href^="tel:"] { display: inline-block; padding: 10px 0; }
  input[type="color"] { min-width: 52px; min-height: 44px; }
}
