@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f6fb;
  --ink: #3d4650;
  --heading: #243038;
  --muted: #7b868f;
  --line: #e3e8ef;
  --blue: #6abadb;
  --blue-dark: #4aa3c8;
  --navy: #0c3b4e;
  --white: #fff;
  --bad: #ffd2d2;
  --ok: #d9f3e4;
  --sans: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 71px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  font-synthesis: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { color: var(--heading); line-height: 1.2; font-weight: 400; letter-spacing: -0.02em; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 8px; background: #fff; padding: 8px; z-index: 5; }
.wrap { width: min(1140px, calc(100% - 24px)); margin: 0 auto; }
.sr-only, .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  padding: 12px 0;
  transition: box-shadow 0.35s ease, padding 0.35s ease;
}
.topbar.is-stuck {
  box-shadow: 0 8px 24px rgba(20, 40, 60, 0.1);
  padding: 6px 0;
}
.topbar-inner {
  width: min(1140px, calc(100% - 24px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--heading);
  text-decoration: none;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.brand em { font-style: normal; font-weight: 300; color: #5d6a74; }
.portrait { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.admin .brand { color: var(--heading); text-decoration: none; font-weight: 500; letter-spacing: -0.01em; }
.main-nav, .admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.doctor-link {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 4px 0 20px;
  margin-left: 6px;
  color: #000;
  flex: none;
  text-decoration: none;
}
.doctor-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 20px;
  transform: translateY(-50%);
  background: #efefef;
}
.doctor-link svg { height: 18px; width: auto; fill: currentColor; }
.doctor-link:hover { color: var(--blue); }
.main-nav a, .admin-nav a {
  color: #2a2a2a;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}
.main-nav a:hover, .admin-nav a:hover { color: var(--blue-dark); }

.hero { position: relative; background: #fff; overflow: hidden; }
.hero-photo {
  width: calc(100% + 50px);
  max-width: none;
  height: 450px;
  object-fit: cover;
  object-position: center 28%;
  transform: translate3d(-40px, 0, 0);
  transition: transform 0.35s;
}
.hero:hover .hero-photo { transform: translate3d(0, 0, 0); }
.book-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 500;
  padding: 16px 26px;
  z-index: 2;
}
.hero-book {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-book .book-tab { pointer-events: auto; }
.book-tab svg { width: 16px; height: 16px; fill: currentColor; }
.book-tab:hover { background: var(--blue-dark); color: #fff; }

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding: 78px 0 36px;
  align-items: center;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-photos figure { margin: 0; overflow: hidden; }
.about-photos img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.3s ease-in-out; }
.about-photos figure:hover img { transform: scale(1.1); }
.about h1 { font-size: 44px; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.03em; }
.lede { color: #8d98a1; font-size: 24px; line-height: 1.4; margin: 0 0 18px; font-weight: 300; }
.about p { color: #6d7882; margin: 0 0 14px; font-weight: 400; }

.quotes {
  position: relative;
  background-color: #4c839b;
  background-image: url("../img/quotes-bg.jpg");
  background-size: cover;
  background-position: center 30%;
  margin-top: 56px;
  padding: 78px 0;
}
.quotes::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(76, 131, 155, 0.5);
}
.quote-slider {
  position: relative;
  z-index: 1;
  max-width: 820px;
  min-height: 180px;
  padding: 0 54px;
}
.quote-stage figure { margin: 0; text-align: center; }
.quote-stage { position: relative; min-height: 150px; }
.quote-slider.is-ready figure {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.quote-slider.is-ready figure.is-on { opacity: 1; }
.quote-stage blockquote {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
}
.quote-stage figcaption {
  margin-top: 18px;
  color: #fff;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
}
.quote-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  padding: 0 6px;
  width: auto;
  z-index: 1;
}
.quote-nav.prev { left: 0; }
.quote-nav.next { right: 0; }
.quote-nav { color: #fff; }
.quote-nav:hover { background: transparent; color: #fff; opacity: 0.7; }

.services { padding: 78px 0 28px; }
.services h2, .contact h2, .prose h1, .book h1 {
  font-weight: 400;
  text-align: center;
  font-size: 42px;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
  cursor: pointer;
}
.service-card:hover { background: none; }
.service-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.3s ease-in-out; }
.service-card:hover img { transform: scale(1.1); }
.service-caption {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(56, 102, 121, 0.65);
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.service-card:hover .service-caption { opacity: 1; transform: translate(10px, 10px); }
.full-list { margin: 36px 0 18px; text-align: center; }
.full-list-toggle {
  display: inline-block;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  padding: 14px 28px;
  border: 0;
}
.full-list-toggle::before { content: "♡  "; }
.full-list-toggle:hover { background: var(--blue-dark); }

.plans { position: relative; background: #d9e6ee; padding: 8px 0; }
.plans > .pencil { position: absolute; top: 8px; right: 16px; z-index: 3; }
.plans-view {
  position: relative;
  overflow: hidden;
}
.plans-view::before,
.plans-view::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 1;
  pointer-events: none;
}
.plans-view::before {
  left: 0;
  background: linear-gradient(to right, #d9e6ee 0%, rgba(217, 230, 238, 0) 100%);
}
.plans-view::after {
  right: 0;
  background: linear-gradient(to left, #d9e6ee 0%, rgba(217, 230, 238, 0) 100%);
}
.plans-track {
  display: flex;
  width: max-content;
  animation: plans-scroll 48s linear infinite;
}
.plans:hover .plans-track { animation-play-state: paused; }
.plans ul {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0;
  padding: 0 48px 0 0;
  list-style: none;
  flex: none;
}
@keyframes plans-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.plans img { height: 118px; width: auto; object-fit: contain; display: block; }

.contact {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 56px;
}
.contact h2, .contact h3 { color: #fff; }
.contact h3 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 18px;
}
.contact form { width: min(640px, 100%); margin: 0 auto 64px; }
.contact input, .contact textarea {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  background: transparent;
  color: #fff;
  border: 1px dotted rgba(255, 255, 255, 0.8);
  border-radius: 3px;
}
.contact input::placeholder, .contact textarea::placeholder { color: rgba(255, 255, 255, 0.72); }
.contact button {
  display: block;
  margin-left: auto;
  background: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 12px 28px;
}
.contact a { color: #fff; text-decoration: none; }
.contact a:hover { color: var(--blue); }
.office-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 8px 0 12px;
}
.office-facts, .hours-plain { list-style: none; margin: 0; padding: 0; }
.office-facts li, .hours-plain li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 10px;
}
.office-facts svg { width: 16px; height: 16px; fill: var(--blue); flex: none; margin-top: 4px; }
.hours-plain span { display: inline-block; width: 42px; font-weight: 500; }
.office-block.is-closed { grid-template-columns: 1fr; }
.office-closed { margin: 0; color: #fff; font-size: 18px; }
.office-rule {
  height: 12px;
  margin: 28px auto;
  width: min(820px, 100%);
  background: repeating-linear-gradient(-62deg, transparent, transparent 7px, rgba(255,255,255,.85) 7px, rgba(255,255,255,.85) 9px);
}
.offices {
  background: #072739;
  color: #fff;
  padding: 48px 0 64px;
}
.offices h3 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 18px;
}
.offices a { color: #fff; text-decoration: none; }
.offices a:hover { color: var(--blue); }
.contact form { margin-bottom: 0; }

.site-footer {
  background: #f7f8fa;
  text-align: center;
  color: #9aa3ab;
  font-size: 13px;
  padding: 22px 16px 28px;
}
.site-footer p { margin: 4px 0; }
.footer-links a { color: #8b949c; text-decoration: none; }
.footer-links a:hover { color: var(--navy); }

.prose {
  background: #fff;
  width: min(920px, calc(100% - 32px));
  margin: 28px auto 56px;
  padding: 40px 42px 48px;
}
body:has(.book) {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body:has(.book) #content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.book {
  background: transparent;
  flex: 1 1 auto;
  min-height: 0;
  width: min(1140px, calc(100% - 56px));
  margin: 28px auto;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.book-card {
  --strip: 8px;
  --side: 280px;
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #fff;
  border-right: 0;
  box-shadow: 0 16px 40px rgba(20, 40, 60, 0.08);
  overflow: hidden;
  animation: book-in 0.35s ease;
}
.book-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 32px 18px 40px;
}
.book-side {
  flex: 0 0 var(--strip);
  background: var(--blue);
  transition: flex-basis 0.5s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.book-card.is-times .book-side { flex-basis: var(--side); }
.book-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.stage-form {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.stage-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.stage-reason .fade-well { flex: 1 1 auto; min-height: 0; }
.stage-reason .choices { margin: 0; }
.reason-scroll { height: 100%; padding: 2px 4px 12px 2px; }
.stage-office .stage-body { justify-content: flex-start; }
.stage-office .choices { margin: 0; }
.stage-details label { margin-bottom: 8px; }
.stage-details input,
.stage-details select { padding: 8px 12px; }
.stage-details .hint { margin: 8px 0 0; }
@keyframes book-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.book h1 { font-size: 28px; margin: 0 0 24px; }
.book .steps { margin: 0 0 14px; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0 0 12px; padding: 0; }
.picked li { background: #f3fbfe; color: var(--navy); border: 1px solid #d5eef6; padding: 6px 12px; font-size: 14px; font-weight: 500; }
.book-continue { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 14px 0 0; flex: none; }
.book-continue a,
.book-continue button {
  min-width: 140px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.book-continue a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5dee6;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
}
.book-continue a:hover { border-color: var(--blue); background: #f4fafd; color: var(--navy); }
.book-continue a.btn-home { background: var(--blue); color: #fff; border-color: transparent; }
.book-continue a.btn-home:hover { background: var(--blue-dark); color: #fff; }
.booked-copy { align-items: center; justify-content: center; text-align: center; }
.booked-note {
  width: min(640px, 100%);
  margin: 0 0 16px;
  padding: 20px 24px;
  background: #f3fbfe;
  border: 1px solid #d5eef6;
  color: var(--navy);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
}
.booked-wait { margin: 0; max-width: 520px; color: var(--muted); text-align: center; }
.book-continue button { border: 1px solid transparent; }
.book-continue button:disabled { opacity: 0.45; cursor: default; }
.when { min-width: 0; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.cal-pane { min-width: 0; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.stage-body > .hint { margin: 10px 0 0; }
.time-pane {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--strip);
  overflow: hidden;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: width 0.5s cubic-bezier(0.22, 0.8, 0.24, 1), opacity 0.28s ease 0.08s;
}
.book-card.is-times .time-pane {
  width: var(--side);
  opacity: 1;
  pointer-events: auto;
}
.time-pane-inner {
  height: 100%;
  padding: 0 22px 0 20px;
  transform: translateX(16px);
  transition: transform 0.5s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.book-card.is-times .time-pane-inner { transform: none; }
.time-heading {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0 0 16px;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
}
.fade-well { position: relative; min-height: 0; }
.fade-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(12, 59, 78, 0.28) transparent;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.fade-scroll::-webkit-scrollbar { width: 8px; }
.fade-scroll::-webkit-scrollbar-thumb {
  background: rgba(12, 59, 78, 0.22);
  border-radius: 8px;
}
.fade-well.fade-bottom:not(.fade-top) .fade-scroll {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 48px), transparent 100%);
}
.fade-well.fade-top:not(.fade-bottom) .fade-scroll {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 48px, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 48px, #000 100%);
}
.fade-well.fade-top.fade-bottom .fade-scroll {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.time-scroll {
  height: 420px;
  scrollbar-color: rgba(255, 255, 255, 0.55) transparent;
}
.time-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.45); }
.time-list { display: grid; grid-template-columns: 1fr; gap: 6px; align-content: start; padding: 2px 8px 2px 0; }
.time-list button,
.time-list .choice {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 0;
  padding: 8px 8px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
.time-list .choice input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.time-list button.is-on,
.time-list .choice:has(input:checked) { background: #fff; color: var(--navy); border-color: #fff; }
.time-list button:hover,
.time-list .choice:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.time-list button.is-on:hover,
.time-list .choice:has(input:checked):hover { background: #fff; color: var(--navy); }
.patient-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.patient-grid .wide { grid-column: 1 / -1; }
.prose h1 { margin-bottom: 12px; }
.book .lede { text-align: center; font-size: 17px; color: var(--muted); }
.prose p { color: #5c6770; }
.steps {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 8px 0 28px;
  list-style: none;
  color: #b0b8c0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.steps .current { color: var(--navy); font-weight: 500; }
form label, .stack label { display: block; margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.book .stage-details label { margin: 0 0 6px; font-size: 13px; line-height: 1.25; }
.req { color: #c44747; font-weight: 500; text-decoration: none; }
.book .stage-details input,
.book .stage-details .pick-button { height: 42px; padding: 0 10px; margin-top: 2px; }
.book .stage-details .patient-grid { gap: 0 16px; }
.book .stage-details .hint { margin: 6px 0 0; }
input, select, textarea, button { font: inherit; font-weight: 400; color: var(--ink); }
button { font-weight: 500; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="time"], input:not([type]), select, textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 11px 12px;
  border: 1px solid #d5dce4;
  background: #fff;
  border-radius: 0;
}
button { border: 0; background: var(--blue); color: #fff; padding: 12px 20px; cursor: pointer; }
button:hover { background: var(--blue-dark); }
button.linkish, .admin-nav button.linkish {
  background: transparent;
  color: var(--heading);
  padding: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.choices {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.choices legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.choice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 14px;
  background: #f7f9fb;
  border: 1px solid #e4e9ef;
  color: var(--ink);
}
.choice:has(input:checked) { border-color: var(--blue); background: #f3fbfe; }
.book .choice input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--blue);
}
.book .choice span { line-height: 1.25; }
.choices.locations { grid-template-columns: 1fr; }
.choices.locations .choice { padding: 16px 18px; }
.choices.times { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.choice span { display: block; color: var(--navy); font-size: 16px; font-weight: 500; }
.choice small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; font-weight: 400; }
.row-actions { display: flex; gap: 16px; align-items: center; }
.notice { padding: 12px 14px; background: var(--ok); color: #145c32; }
.notice.bad { background: var(--bad); color: #6d1d1d; }
.contact .notice { width: min(640px, 100%); margin: 0 auto 16px; }
.hint { color: var(--muted); font-size: 14px; }
.summary { background: #f7f9fb; padding: 14px 16px; margin-bottom: 18px; }
.cal-head, .filters, .inline-user { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.book .cal-head {
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 40px;
  margin: 0 0 16px;
  flex: none;
  flex-wrap: nowrap;
}
.book .cal-head h2 {
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 0;
  min-width: 190px;
  text-align: center;
}
.month-nav {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #e3eaf0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
}
.month-nav svg { width: 18px; height: 18px; display: block; }
.month-nav:hover { border-color: var(--blue); color: var(--blue); background: #f4fafd; }
.month-nav.is-off { opacity: 0.35; }
.book .cal {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: auto;
  grid-auto-rows: minmax(0, 1fr);
  gap: 8px;
}
.book .cal-name,
.book .cal-day,
.book .cal-empty { min-width: 0; }
.book .cal-name { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.book .cal-day,
.book .cal-empty { min-height: 0; }
.book .cal-day {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 2px;
  background: #f4f7fa;
  color: #c5ced6;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
}
.book .cal-day.open { background: #fff; color: var(--navy); border-color: #e4eaf0; cursor: pointer; }
.book .cal-day.open:hover, .book .cal-day.open.is-picked { background: var(--blue); color: #fff; border-color: var(--blue); }
.book .cal-day small { display: block; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.book .cal-day.shut { background: #f4f7fa; color: #c5ced6; }
.cal form { margin: 0; }
.cancel-box { background: #f7f9fb; padding: 18px; margin-top: 12px; }

table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.auth {
  width: min(440px, calc(100% - 32px));
  margin: 48px auto;
  background: #fff;
  padding: 36px 36px 32px;
  border-right: 8px solid var(--blue);
  box-shadow: 0 16px 40px rgba(20, 40, 60, 0.08);
}
.auth h1 { font-weight: 400; text-align: left; font-size: 28px; letter-spacing: -0.03em; margin: 0 0 18px; }
.auth button { width: 100%; }
.stack { background: #fff; padding: 18px; margin: 16px 0; }
.admin-main { padding-top: 28px; padding-bottom: 64px; }
.admin-main h1 { font-weight: 400; font-size: 36px; letter-spacing: -0.03em; }
.admin-nav { justify-content: flex-end; }
.admin-nav form { margin: 0; }
.admin { background: var(--bg); }
.admin-nav a.is-on { color: var(--navy); box-shadow: inset 0 -2px 0 var(--blue); }
.admin-nav a.nav-btn, .admin-nav button.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border: 0;
  background: var(--blue);
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
}
.admin-nav a.nav-btn:hover, .admin-nav button.nav-btn:hover { background: var(--blue-dark); color: #fff; }
.nav-item { display: inline-flex; align-items: center; gap: 6px; }
.nav-item .pencil { width: 22px; height: 22px; margin: 0; }
.admin .panel {
  background: #fff;
  padding: 28px 32px 32px;
  margin: 0 0 22px;
  border-right: 8px solid var(--blue);
  box-shadow: 0 16px 40px rgba(20, 40, 60, 0.08);
}
.admin .panel h1 { margin: 0 0 18px; font-size: 28px; font-weight: 400; }
.admin .panel h2 { margin: 18px 0 12px; font-size: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h1, .panel-head h2 { margin: 0; }
.admin .filters { align-items: end; margin: 0; }
.admin .filters label { margin: 0; min-width: 160px; }
.admin .summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  padding: 16px 18px;
}
.admin .summary p { margin: 0; }
.admin .stack {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
  margin: 22px 0 0;
}
.admin .choice { margin: 0; }
.admin a.btn-back, .admin button.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d5dee6;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
}
.admin a.btn-back:hover, .admin button.btn-back:hover { border-color: var(--blue); background: #f4fafd; color: var(--navy); }
.visit-list { display: flex; flex-direction: column; gap: 8px; }
.visit {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #f7f9fb;
  border: 1px solid #e4e9ef;
  color: var(--navy);
  text-decoration: none;
}
.visit:hover { border-color: var(--blue); background: #f3fbfe; }
.visit-when { font-weight: 500; }
.visit-who small, .visit-meta { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }
.status { text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; font-weight: 500; color: var(--navy); }
.status.confirmed { color: #145c32; }
.status.rejected, .status.cancelled { color: #6d1d1d; }
.empty { color: var(--muted); }
.block-form, .staff-create {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 16px;
  align-items: end;
  margin: 8px 0 18px;
}
.staff-create { grid-template-columns: 1fr 1.2fr 0.9fr 1fr auto; }
.block-form .wide { grid-column: 1 / -1; }
.block-form button, .staff-create button { justify-self: start; white-space: nowrap; }
.block-form label, .staff-create label { margin: 0; }
.block-row { grid-template-columns: 1.1fr 0.8fr 1.4fr auto; }
.staff-head, .staff-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(160px, 1fr) minmax(120px, 0.8fr) minmax(180px, 1.15fr) 92px;
  gap: 12px;
  align-items: center;
}
.staff-head {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.staff-row { padding: 12px 0; border-top: 1px solid var(--line); }
.staff-row select, .staff-row input { margin-top: 0; }
.staff-row button { white-space: nowrap; }
.staff-id strong { display: block; color: var(--heading); font-weight: 500; line-height: 1.3; }
.staff-id span { display: block; color: var(--muted); font-size: 14px; line-height: 1.3; }
.message { padding: 16px 0; border-top: 1px solid var(--line); }
.message header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.message h2 { margin: 0; font-size: 20px; }
.message time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.message-from { margin: 4px 0 8px; color: var(--muted); font-size: 14px; }
.message p:last-child { margin: 0; }
.table-scroll { overflow-x: auto; }
.admin-main:has(.manage) { width: min(1280px, calc(100% - 24px)); }
.manage-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin: 0 0 14px; }
.manage-bar h1 { margin: 0; font-size: 28px; }
.manage-bar p { margin: 0; color: var(--muted); font-size: 14px; }
.site-frame {
  display: block;
  width: 100%;
  height: calc(100dvh - 148px);
  min-height: 640px;
  border: 0;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 40, 60, 0.08);
}
.pencil {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  vertical-align: middle;
  cursor: pointer;
}
.pencil svg { width: 14px; height: 14px; fill: currentColor; }
.pencil:hover { background: var(--blue-dark); }
.hero > .pencil, .shot .pencil, .service-edit .pencil, .quotes > .pencil { position: absolute; z-index: 3; }
.hero > .pencil { top: 12px; right: 16px; }
.quotes > .pencil { top: 16px; right: 16px; }
.shot { position: relative; }
.shot .pencil { top: 8px; right: 8px; }
.service-edit { position: relative; }
.service-edit .pencil { top: 8px; right: 8px; }
.hour-edit { display: flex; flex-direction: column; gap: 8px; }
.hour-row { display: grid; grid-template-columns: 42px auto auto auto auto; gap: 8px; align-items: center; }
.edit-banner { margin: 0; padding: 8px 16px; background: #0c3b4e; color: #fff; text-align: center; font-size: 14px; }
body.is-editing #edit-dialog {
  width: min(720px, calc(100% - 32px));
  border: 0;
  border-radius: 22px;
  padding: 28px 28px 22px;
  box-shadow: 0 24px 70px rgba(8, 28, 40, 0.28);
}
body.is-editing #edit-dialog.dialog-wide { width: min(880px, calc(100% - 32px)); }
body.is-editing #edit-dialog::backdrop {
  background: rgba(8, 24, 34, 0.55);
  backdrop-filter: blur(6px);
}
body.is-editing #edit-dialog h2 { font-size: 26px; font-weight: 500; margin-bottom: 16px; }
body.is-editing #edit-dialog input[type="text"],
body.is-editing #edit-dialog input[type="file"],
body.is-editing #edit-dialog input:not([type]),
body.is-editing #edit-dialog textarea {
  border-radius: 12px;
}
body.is-editing #edit-dialog button[type="submit"] { border-radius: 12px; background: #187a9c; }
body.is-editing #edit-dialog button[type="submit"]:hover { background: #126582; }
body.is-editing #edit-dialog .btn-back { border-radius: 12px; }
body.is-editing .photo-field { margin: 0 0 16px; }
body.is-editing .photo-preview {
  display: block;
  width: min(280px, 100%);
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  background: #f3f6f8;
  margin: 0 0 8px;
}
body.is-editing .plan-preview {
  width: 120px;
  height: 48px;
  object-fit: contain;
}
body.is-editing #edit-dialog .hint { margin: 0 0 10px; }
body.is-editing .popup-edit { margin-top: 8px; }
body.is-editing .popup-edit h3 { margin: 0 0 10px; font-size: 18px; font-weight: 500; }
body.is-editing .popup-row {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #e6eef2;
  border-radius: 14px;
  background: #f7fbfc;
}
body.is-editing .popup-row .btn-back { justify-self: start; }

.site-notice {
  position: fixed;
  z-index: 80;
  box-sizing: border-box;
  color: #1c2b33;
  background: #fff;
  box-shadow: 0 22px 60px rgba(8, 28, 40, 0.22);
  font-family: Manrope, "Segoe UI", sans-serif;
}
.site-notice h2 { margin: 0 0 8px; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; color: inherit; }
.site-notice p { margin: 0; line-height: 1.5; color: inherit; }
.site-notice .notice-copy { min-width: 0; }
.site-notice .notice-photo { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 180px; }
.site-notice .notice-x {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: 400 26px/1 Manrope, sans-serif;
  cursor: pointer;
}
.site-notice.font-editorial { font-family: "Iowan Old Style", Palatino, Georgia, serif; }
.site-notice.font-modern { font-family: "Avenir Next", "Segoe UI", sans-serif; }
.site-notice.font-display { font-family: Didot, "Bodoni MT", "Times New Roman", serif; }
.site-notice.font-display h2 { font-weight: 400; letter-spacing: 0.01em; }
.site-notice.font-soft { font-family: "Avenir Next", "Trebuchet MS", sans-serif; }
.site-notice.size-sm h2 { font-size: 20px; }
.site-notice.size-sm p { font-size: 14px; }
.site-notice.size-lg h2 { font-size: 36px; }
.site-notice.size-lg p { font-size: 18px; }
.site-notice.t1,
.site-notice.t5,
.site-notice.t6,
.site-notice.t7,
.site-notice.t9 {
  top: 50%;
  left: 50%;
  width: min(440px, calc(100% - 32px));
  padding: 28px 28px 24px;
  border-radius: 22px;
  transform: translate(-50%, -50%);
}
.site-notice.t1 { border-top: 4px solid #187a9c; }
.site-notice.t2,
.site-notice.t2 h2,
.site-notice.t2 p {
  color: #fff;
}
.site-notice.t2 {
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 56px 18px 28px;
  border-radius: 0 0 18px 18px;
  background: #0c3b4e;
}
.site-notice.t3 {
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100% - 32px));
  padding: 20px 20px 16px;
  border-radius: 18px;
}
.site-notice.t4,
.site-notice.t4 h2,
.site-notice.t4 p {
  color: #fff;
}
.site-notice.t4 {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 28px 26px;
  border-radius: 22px 22px 0 0;
  background: #0c3b4e;
}
.site-notice.t5:not(.has-photo) { display: grid; grid-template-columns: 8px 1fr; column-gap: 16px; }
.site-notice.t5:not(.has-photo)::before { content: ""; grid-row: 1 / span 2; border-radius: 8px; background: #187a9c; }
.site-notice.t5:not(.has-photo) .notice-copy { grid-column: 2; }
.site-notice.t6,
.site-notice.t6 h2,
.site-notice.t6 p { color: #f6f1e8; }
.site-notice.t6 { background: #1a1814; }
.site-notice.t7 { box-shadow: 0 8px 30px rgba(8, 28, 40, 0.08); }
.site-notice.t8,
.site-notice.t8 h2,
.site-notice.t8 p {
  color: #fff;
}
.site-notice.t8 {
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 48px 14px 18px;
  border-radius: 14px;
  background: #187a9c;
}
.site-notice.t9 { text-align: center; padding-top: 36px; }
.site-notice.t10 {
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 100%);
  padding: 72px 28px 28px;
  border-radius: 0;
}
.site-notice.has-photo {
  display: grid;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.site-notice.has-photo .notice-copy { padding: 28px 28px 24px; }
.site-notice.span-third.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.site-notice.span-half.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.site-notice.span-wide.has-photo { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.site-notice.t1.has-photo,
.site-notice.t5.has-photo,
.site-notice.t6.has-photo,
.site-notice.t7.has-photo,
.site-notice.t9.has-photo { width: min(680px, calc(100% - 32px)); }
.site-notice.t3.has-photo { width: min(520px, calc(100% - 32px)); }
.site-notice.t10.has-photo { grid-template-columns: 1fr; width: min(420px, 100%); }
.site-notice.t10.span-third.has-photo { grid-template-rows: minmax(120px, 1fr) minmax(0, 2fr); }
.site-notice.t10.span-half.has-photo { grid-template-rows: minmax(160px, 1fr) minmax(0, 1fr); }
.site-notice.t10.span-wide.has-photo { grid-template-rows: minmax(200px, 2fr) minmax(0, 1fr); }
.site-notice.t9.has-photo { text-align: left; }
.stats-sheet { color: #152033; font-size: 14px; line-height: 1.45; }
.admin .panel .stats-sheet h1 { font-size: 24px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.02em; }
.stats-sheet h2 { font-size: 18px; font-weight: 500; margin: 28px 0 8px; letter-spacing: -0.02em; }
.stats-sheet h3 { font-size: 16px; font-weight: 500; margin: 22px 0 8px; letter-spacing: -0.02em; }
.stats-sheet p { margin: 0 0 12px; }
.stats-sheet .note, .stats-sheet .kpi span { color: #5c6b80; }
.stats-sheet .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0; }
.stats-sheet .kpi b { display: block; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: #152033; }
.stats-sheet .kpi span { display: block; margin-top: 6px; font-size: 13px; max-width: 16em; }
.stats-sheet { max-width: 920px; margin-left: auto; margin-right: auto; }
.stats-sheet .chart { margin: 8px 0 4px; }
.stats-sheet table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 14px; line-height: 20px; border-radius: 0; overflow: visible; background: transparent; }
body.admin .stats-sheet table { border-radius: 0; overflow: visible; background: transparent; }
body.admin .stats-sheet tbody tr:hover td { background: transparent; }
.stats-sheet th, .stats-sheet td { padding: 8px 12px; text-align: right; border-bottom: 1px solid rgba(21, 32, 51, 0.12); }
.stats-sheet th:first-child, .stats-sheet td:first-child { text-align: left; }
.stats-sheet th { font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; color: #152033; }
.stats-sheet .chart svg { display: block; width: 100%; height: auto; }
.stats-sheet hr { border: 0; border-top: 1px solid #d5dbe3; margin: 24px 0; }
.stats-sheet .callout { margin-top: 28px; padding: 12px 14px; background: #e8eefc; border: 1px solid #c5d4f6; border-radius: 8px; }
.stats-sheet .callout strong { display: block; margin-bottom: 4px; }
.stats-sheet svg text { fill: #152033 !important; }
.stats-sheet svg line { stroke: rgba(21, 32, 51, 0.14) !important; }
.stats-sheet table, .stats-sheet th, .stats-sheet td { color: #152033 !important; border-color: rgba(21, 32, 51, 0.12) !important; background: transparent; }
.stats-sheet thead th { background: rgba(21, 32, 51, 0.05) !important; }
.stats-sheet tbody tr { background: transparent !important; }
.stats-sheet tbody tr:nth-child(even), .stats-sheet tbody tr:nth-child(even) td { background: rgba(21, 32, 51, 0.04) !important; }

.contact input,
.contact textarea,
.contact input[type="text"],
.contact input[type="email"] {
  background: transparent;
  color: #fff;
  border: 1px dotted rgba(255, 255, 255, 0.8);
  margin-top: 0;
}
.site-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: 85vh;
  overflow: auto;
  border: 0;
  border-radius: 3px;
  padding: 64px 56px 56px;
  color: var(--ink);
  background: #fff;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
  animation: dialog-in 0.28s ease;
}
body.is-editing .site-dialog {
  width: min(1140px, calc(100% - 72px));
  padding: 48px 56px 40px;
}
.dialog-wide {
  width: min(920px, calc(100% - 48px));
  padding: 40px 36px 32px;
}
.site-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  animation: backdrop-in 0.28s ease;
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.site-dialog h2 {
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  text-align: left;
  color: #243038;
}
.site-dialog h3 {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 22px 0 8px;
  color: #243038;
}
.site-dialog p {
  margin: 0 0 14px;
  color: #4e5963;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
}
.site-dialog ul {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding: 0 0 0 18px;
  color: #4e5963;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
}
.site-dialog li { break-inside: avoid; margin: 0 0 10px; }
.dialog-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #818a91;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}
.dialog-x:hover { background: #f2f4f7; color: #243038; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin: 0 0 8px;
  padding: 16px 18px;
  background: #f7f9fb;
}
.facts div { display: flex; gap: 8px; align-items: baseline; }
.facts dt { margin: 0; font-weight: 500; color: var(--heading); }
.facts dt::after { content: ":"; }
.facts dd { margin: 0; }
.pick { position: relative; display: block; width: 100%; }
.pick select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.pick-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 46px;
  margin-top: 4px;
  padding: 0 12px;
  border: 1px solid #d5dce4;
  background: #fff;
  color: var(--ink);
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}
.pick-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  flex: none;
}
.pick-button:hover { background: #fff; color: var(--ink); border-color: var(--blue); }
.pick-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 240px;
  overflow: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid #d5dee6;
  box-shadow: 0 16px 40px rgba(20, 40, 60, 0.12);
}
.pick-list button {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 400;
  text-align: left;
}
.pick-list button:hover, .pick-list button.is-on { background: #f3fbfe; color: var(--navy); }
.admin input[type="text"],
.admin input[type="email"],
.admin input[type="password"],
.admin input[type="date"],
.admin input[type="time"],
.admin input:not([type]),
.auth input[type="email"],
.auth input[type="password"] {
  height: 46px;
  padding: 0 12px;
}
.admin textarea { height: auto; padding: 11px 12px; }
.staff-row .pick-button, .filters .pick { margin-top: 0; }
.staff-row .pick-button { margin-top: 0; }
.admin .filters button,
.admin .staff-create > button,
.admin .staff-row > button,
.admin .location-fields > button,
.admin .closure-form > button,
.admin .block-cal form > button {
  height: 46px;
  padding: 0 16px;
}
.location-fields {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr 0.8fr 1.2fr auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 16px;
}
.location-fields label, .closure-form label { margin: 0; }
.hour-edit { margin: 4px 0 16px; }
.hour-row {
  display: grid;
  grid-template-columns: 36px 70px 128px 128px 72px;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--ink);
}
.hour-row input[type="time"] { width: 128px; margin: 0; padding: 0 6px; }
.hour-open { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.hour-open input { width: 16px; height: 16px; margin: 0; }
.location-head { display: flex; align-items: center; gap: 12px; }
.location-head h2 { flex: 1; margin: 0; }
.closure-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.closure-form .pick { width: 280px; }
.closure-form .pick-button { margin-top: 0; }
.panel:has(.hour-edit) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 36px;
  row-gap: 12px;
  align-items: start;
}
.panel:has(.hour-edit) > .location-head { grid-column: 1 / -1; }
.panel:has(.hour-edit) > form:has(.hour-edit) { display: contents; }
.panel:has(.hour-edit) > form:has(.hour-edit) > input[type="hidden"] { display: none; }
.panel:has(.hour-edit) .location-fields { grid-column: 1 / -1; }
.panel:has(.hour-edit) .hour-edit,
.panel:has(.hour-edit) > form:has(.hour-edit) > button[type="submit"] { grid-column: 1; justify-self: start; }
.panel:has(.hour-edit) .hour-note { grid-column: 1; margin: 0 0 10px; }
.panel:has(.hour-edit) .hour-edit { margin-top: 0; }
.panel:has(.hour-edit) > .dates-col { grid-column: 2; grid-row: 4 / span 2; }
.block-cal { max-width: none; margin-top: 8px; }
.block-cal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.block-cal-head strong { font-weight: 500; color: var(--heading); }
.block-cal-head button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #d5dee6;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
}
.block-cal-head button:hover { border-color: var(--blue); background: #f4fafd; color: var(--navy); }
.block-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 14px; }
.block-dow, .block-empty { min-height: 28px; }
.block-dow { color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-align: center; }
.block-day {
  height: 40px;
  padding: 0;
  border: 1px solid #e4e9ef;
  background: #fff;
  color: var(--navy);
  font-weight: 500;
}
.block-day:hover { border-color: var(--blue); background: #f3fbfe; color: var(--navy); }
.block-day.is-on, .block-day.is-on:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.block-day.is-shut {
  display: grid;
  place-items: center;
  height: 40px;
  background: #f4f7fa;
  color: #c5ced6;
  border: 1px solid #eef2f6;
}
form button[type="submit"]:disabled,
form button[type="submit"]:disabled:hover {
  background: #c5ced6;
  color: #fff;
  cursor: default;
}
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.action-row button { min-height: 42px; }
.resched { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr); gap: 22px; margin-top: 8px; }
.slot-heading { margin: 0 0 10px; font-weight: 500; color: var(--heading); }
.slot-list { display: grid; gap: 6px; max-height: 320px; overflow: auto; align-content: start; }
.slot-list button {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d5dee6;
  background: #fff;
  color: var(--navy);
}
.slot-list button:hover { border-color: var(--blue); background: #f3fbfe; color: var(--navy); }
.slot-list button.is-on, .slot-list button.is-on:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.quote-rows, .plan-rows { display: flex; flex-direction: column; gap: 12px; max-height: 48vh; overflow: auto; margin: 12px 0; padding-right: 4px; }
.quote-row, .plan-row { display: grid; gap: 10px; align-items: center; }
.quote-row { grid-template-columns: minmax(0, 1fr) 180px auto; align-items: start; }
.plan-row { grid-template-columns: 140px minmax(0, 1fr) auto; }
.plan-row img { width: 120px; height: 48px; object-fit: contain; background: #f4f7fa; }
.quote-row textarea, .quote-row input, .plan-row input { margin-top: 0; }
.block-cal form > button { margin-top: 4px; }

@media (max-width: 860px) {
  body:has(.book) { display: block; height: auto; min-height: 0; overflow: visible; }
  body:has(.book) #content { display: block; }
  body:has(.book) .book { display: block; flex: none; height: auto; margin: 20px auto 32px; width: min(1140px, calc(100% - 24px)); }
  .book .cal { display: grid; height: auto; grid-auto-rows: auto; }
  .book .cal-day, .book .cal-empty { min-height: 52px; }
  .about, .office-block, .service-grid { grid-template-columns: 1fr; }
  .about-photos img { height: 180px; }
  .topbar-inner { flex-wrap: wrap; }
  .main-nav, .admin-nav { width: 100%; justify-content: flex-start; gap: 10px 16px; flex: none; }
  .visit, .block-row, .block-form, .staff-create, .staff-head, .staff-row, .admin .summary, .facts, .location-fields, .hour-row, .resched, .quote-row, .plan-row { grid-template-columns: 1fr; }
  .panel:has(.hour-edit) { display: block; }
  .panel:has(.hour-edit) > form:has(.hour-edit) { display: block; }
  .panel:has(.hour-edit) > .dates-col { grid-column: auto; grid-row: auto; }
  body.is-editing .site-dialog { width: min(1140px, calc(100% - 28px)); padding: 48px 22px 28px; }
  .manage-bar { display: block; }
  .manage-bar p { margin-top: 6px; }
  .hero-book { text-align: center; }
  .site-dialog { padding: 48px 22px 28px; }
  .site-dialog ul, #services-dialog ul { columns: 1; }
  .hero-photo { height: 280px; }
  .about h1, .services h2, .contact h2 { font-size: 34px; }
  .prose { padding: 24px 18px 32px; }
  .book-card { display: block; height: auto; overflow: visible; }
  .book-main { padding: 24px 16px 22px; }
  .book-side {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 6px;
    flex: none;
  }
  .book-card.is-times .book-side { width: 6px; }
  .patient-grid { grid-template-columns: 1fr; }
  .time-pane,
  .book-card.is-times .time-pane {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin-top: 16px;
    background: var(--blue);
    padding: 16px 14px 12px;
  }
  .time-pane { display: none; }
  .book-card.is-times .time-pane { display: block; opacity: 1; pointer-events: auto; }
  .time-pane-inner,
  .book-card.is-times .time-pane-inner { height: auto; padding: 0; transform: none; }
  .stage-reason .fade-well { max-height: 460px; flex: none; }
  .reason-scroll { height: 460px; }
  .stage-office .stage-body { justify-content: flex-start; }
  .stage-office .choices { margin: 18px 0; }
  .quote-slider { padding: 0 36px; }
  .plans img { height: 78px; }
}
