.skip-link {
  position: absolute;
  z-index: 20;
  transform: translateY(-200%);
  background: var(--paper);
  padding: 0.7rem;
}
.skip-link:focus {
  transform: none;
}
html.js [data-auto-date] .manual-submit {
  display: none;
}
.directory {
  border-top: 1px solid var(--edge);
}
.directory-row {
  padding: 0.9rem 0.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  border-bottom: 1px solid var(--edge);
  overflow-wrap: anywhere;
}
.customer-directory { padding-block: clamp(1.25rem, 3vw, 2.5rem); }
.customer-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}
.customer-heading h1 { margin: 0; }
.customer-search {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: .45rem;
  width: min(100%, 30rem);
}
.customer-search input { flex: 1 1 11rem; min-width: 0; }
.customer-search :is(input, button, a) { min-height: 44px; }
.customer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: .75rem; }
.customer-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  padding: clamp(.85rem, 2.5vw, 1.2rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: 1rem;
  box-shadow: 0 5px 16px #2c201609;
  text-decoration: none;
}
.customer-card:hover { border-color: #9c806b; box-shadow: 0 5px 16px #2c201618; }
.customer-initial {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: .8rem;
  color: #543c2e;
  background: #eadecf;
  font-weight: 750;
}
.customer-identity h2 { margin: 0; font-size: 1.13rem; }
.customer-identity :is(h2, p), .customer-detail-heading h1 { overflow-wrap: anywhere; }
.customer-identity p { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; }
.customer-chevron { justify-self: end; color: #76543d; font-size: 1.5rem; }
.customer-stats {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  color: #543c2e;
  font-size: .8rem;
  font-weight: 650;
}
.customer-stats span { padding: .22rem .48rem; background: #f1e8dc; border-radius: .5rem; }
.customer-last {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .2rem .55rem;
  margin: 0;
  padding-top: .6rem;
  border-top: 1px solid var(--edge);
  color: var(--muted);
  font-size: .82rem;
}
.customer-last time { color: var(--ink); }
.customer-pagination { margin-top: 1rem; }
.customer-detail-heading { display: flex; align-items: start; gap: .7rem; margin-block: 1rem; }
.customer-detail-heading > div { min-width: 0; }
.customer-detail-heading h1 { font-size: clamp(1.75rem, 6vw, 2.8rem); margin: 0 0 .45rem; }
.customer-detail .card { margin-bottom: .75rem; }
.customer-form .stack { grid-template-columns: minmax(0, 1fr); }
.customer-form input:not([type=hidden]), .customer-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .58rem .7rem;
  border: 1px solid var(--edge);
  border-radius: .55rem;
  font: inherit;
}
.customer-form textarea { resize: vertical; }
.customer-history { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.customer-history h2 { margin-bottom: .25rem; }
.customer-feedback { border: 1px solid var(--edge); border-radius: .7rem; padding: .65rem .8rem; background: var(--paper); }
.customer-remove summary { cursor: pointer; font-weight: 700; }
.customer-remove p { margin-top: .65rem; }
.status-cancelled {
  color: var(--danger);
  font-weight: 650;
}
.day-heading {
  height: 58px;
}
.staff-lane {
  min-width: 0;
}
.day-column .event {
  z-index: 2;
}
.slot-target {
  display: block;
  position: absolute;
  inset-inline: 0;
  top: var(--top);
  height: 15px;
  scroll-margin-top: 59px;
  z-index: 1;
}
.slot-target:is(:hover, :focus-visible) {
  background: var(--mint);
  opacity: 0.7;
}
.quick-new {
  font-size: 0.75rem;
}
.lane-empty {
  display: none;
}
#quick-slot {
  width: min(100% - 2rem, 390px);
  border: 1px solid var(--edge);
  border-radius: 14px;
  box-shadow: 0 0.8rem 3rem #19161138;
  background: var(--paper);
  color: var(--ink);
  padding: 1.35rem;
}
#quick-slot form {
  float: right;
}
#quick-slot form button {
  min-height: 35px;
  font-size: 1.2rem;
  padding: 0.1rem 0.55rem;
}
#quick-slot::backdrop {
  background: #17141268;
}
@media (max-width: 620px) {
  .directory-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .shopshop .topbar nav .staff-nav-secondary {
    display: none;
  }
}

#month-jump {
  width: min(100% - 2rem, 380px);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 1.3rem;
  color: var(--ink);
  background: var(--paper);
}
#month-jump::backdrop {
  background: #17141268;
}
#month-jump h2 {
  margin-bottom: 0;
}
[data-block-times][hidden],
.month-jump-button[hidden] {
  display: none;
}

.booking-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.booking-days a {
  display: grid;
  justify-items: center;
  min-width: 55px;
  min-height: 52px;
  padding: 0.35rem 0.45rem;
  line-height: 1.15;
}
.booking-days small {
  color: var(--muted);
  font-size: 0.73rem;
}
.booking-days .selected {
  background: var(--mint);
  border-color: var(--green);
}
.booking-date-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.6rem;
}
.booking-date-custom label {
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 420px) {
  .booking-days a {
    min-width: 0;
    flex: 1 1 36px;
    padding-inline: 0.25rem;
  }
  .booking-date-custom button {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .shopshop.guest .narrow {
    padding-top: 0.35rem;
  }
  .shopshop.guest .public-card {
    margin-top: 0.55rem;
  }
  .shopshop .date-nav select {
    max-width: none;
    min-width: 10.2rem;
  }
  .shopshop .choice-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.45rem;
    row-gap: 0.15rem;
  }
  .shopshop .choice-service > strong {
    grid-column: 1;
  }
  .shopshop .choice-service > a {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
}

.booking-masthead { background: #1b1916; color: #fcf9f1; }
.booking-masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem;
  width: min(100% - 1.75rem, 910px);
  min-height: 62px;
  margin-inline: auto;
  padding-block: .35rem;
}
.shopshop .booking-masthead .shop-brand { color: #fcf9f1; font-size: 1.35rem; min-height: 44px; }
.shopshop .booking-masthead .shop-brand small { color: #e8d2a9; font-size: .56rem; }
.booking-home-link {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  min-height: 44px;
  padding-inline: .62rem;
  border: 1px solid #e8d2a966;
  border-radius: 2rem;
  color: #fcf9f1;
  text-decoration: none;
  white-space: nowrap;
  font-size: .82rem;
}
.booking-home-link:hover { background: #ffffff19; }

.shopshop.guest .booking-flow {
  --booking-border: #ded2bd;
  --booking-panel: #f7f2e8;
  --booking-accent: #ead7b3;
  --booking-dark: #27231d;
  --booking-muted: #645747;
  width: min(100% - 1.4rem, 770px);
  padding-block: clamp(.85rem, 4vw, 2.4rem);
}
.shopshop.guest .booking-flow .public-card {
  margin: 0;
  padding: clamp(1rem, 4vw, 2.3rem);
  border: 1px solid var(--booking-border);
  border-radius: 1.25rem;
  background: #fdfaf4;
  box-shadow: 0 12px 32px #493b2410;
}
.booking-flow h1 { font-size: clamp(1.95rem, 5vw, 3.15rem); }
.booking-flow h2 { margin: 1.25rem 0 .65rem; }
.booking-flow .booking-step {
  display: grid;
  gap: .42rem;
  color: var(--booking-muted);
  margin-bottom: 1.12rem;
  font-size: .86rem;
  font-weight: 720;
}
.booking-flow .booking-step progress {
  width: 100%;
  height: 5px;
  border: 0;
  accent-color: #8d6a35;
  background: #e8dece;
  border-radius: 1rem;
  overflow: hidden;
}
.booking-flow progress::-webkit-progress-bar { background: #e8dece; }
.booking-flow progress::-webkit-progress-value { background: #8d6a35; }
.booking-flow progress::-moz-progress-bar { background: #8d6a35; }
.booking-flow .booking-summary {
  margin: 0 0 1.1rem;
  padding: .2rem .8rem;
  background: var(--booking-panel);
  border: 1px solid var(--booking-border);
  border-radius: .9rem;
}
.booking-flow .choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 .55rem;
  margin: 0;
  padding: .62rem 0;
  border-color: var(--booking-border);
}
.booking-flow .choice:last-child { border-bottom: 0; }
.booking-flow .choice > span { grid-column: 1; font-size: .8rem; color: var(--booking-muted); }
.booking-flow .choice > strong { grid-column: 1; overflow-wrap: anywhere; }
.booking-flow .choice > a {
  grid-area: 1 / 2 / span 2;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding-inline: .7rem;
  color: var(--booking-dark);
  border: 1px solid var(--booking-border);
  border-radius: 2rem;
  font-size: .82rem;
  text-decoration: none;
}
.booking-flow .choice > a:hover { background: var(--booking-accent); }
.booking-summary-meta { display: flex; flex-wrap: wrap; gap: .3rem .6rem; font-size: .8rem; }
.booking-summary-meta > span { white-space: nowrap; }
.booking-flow .service-summary { margin: .55rem 0; font-size: .85rem; }
.booking-flow .options > :is(a, button),
.booking-flow .booking-categories a,
.booking-flow .booking-days .button,
.booking-flow .slot-options .button {
  color: var(--booking-dark);
  background: #fffdf8;
  border: 1px solid var(--booking-border);
  border-radius: .72rem;
  text-decoration: none;
}
.booking-flow :is(.options > a, .options > button, .booking-categories a, .booking-days .button, .slot-options .button):hover,
.booking-flow .booking-days .selected {
  background: var(--booking-accent);
  border-color: #987746;
}
.booking-flow .service-option-meta { white-space: nowrap; }
.booking-flow .booking-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: .25rem; }
.booking-flow .booking-days .button {
  min-width: 0;
  min-height: 51px;
  padding: .38rem .1rem;
  font-size: .86rem;
}
.booking-flow .booking-days small { color: var(--booking-muted); }
.booking-flow .booking-date-custom {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: .5rem;
  margin-bottom: 1.05rem;
}
.booking-flow input:is([type=date], [type=text], [type=email]) {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  font-size: 1rem;
  background: #fffdf8;
  border: 1px solid var(--booking-border);
}
.booking-flow .booking-date-custom button { min-height: 46px; padding: .42rem .45rem; font-size: .8rem; }
.booking-flow .slot-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(93px, 1fr)); gap: .4rem; }
.booking-flow .slot-options .button { justify-content: center; min-height: 46px; padding-inline: .3rem; }
.booking-flow .booking-empty {
  background: var(--booking-panel);
  border: 1px solid var(--booking-border);
  border-radius: .8rem;
  padding: .8rem;
  font-size: .88rem;
}
.booking-flow .booking-empty p { margin: .35rem 0 0; color: var(--booking-muted); }
.booking-flow .booking-contact > p { margin: .25rem 0; }
.booking-flow .booking-confirm-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  margin: 0 0 .7rem;
  border-radius: 50%;
  background: var(--booking-accent);
  color: var(--booking-dark);
  font-weight: 800;
}
.booking-flow .booking-add-calendar { margin-bottom: 1rem; }
.booking-flow :is(.booking-add-calendar a, .booking-contact .primary) {
  width: 100%;
  min-height: 48px;
  border-color: var(--booking-dark);
  background: var(--booking-dark);
  color: #fcf9f1;
  justify-content: center;
  text-decoration: none;
}
.booking-flow .booking-add-calendar a { display: flex; justify-content: space-between; gap: .5rem; }
.booking-add-calendar p { margin: .45rem 0 0; font-size: .82rem; }
.booking-flow .actions + p { margin-top: .75rem; }
.booking-flow .booking-add-calendar a:hover,
.booking-flow .booking-contact .primary:hover { background: #433b2d; }

@media (min-width: 620px) {
  .booking-flow .booking-confirm-summary .choice {
    display: flex;
    justify-content: space-between;
  }
}
@media (max-width: 370px) {
  .booking-flow .booking-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
