/* Propel — shared interaction layer.
   The two page lineages use different CSS variable names (--berry vs
   --bottle, --surface vs --paper), so everything here is written with
   literal Gemini values and never reads a page-local token. */

/* ---------------------------------------------------------------- ripple */
/* No position here. propel-ux.js already makes a STATIC host relative, inline,
   and only then. Setting it in the class as well overrode every positioned
   control it touched — the ♡ on a product card is position:absolute, and
   the press turned it relative, dropped it out of the corner, and the release
   landed on the card underneath, which opened the product instead of saving
   it. */
.px-ripple-host{ overflow:hidden; }
.px-ripple{
  position:absolute; border-radius:50%; pointer-events:none;
  transform:translate(-50%,-50%) scale(0);
  background:radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,.18) 60%, transparent 70%);
  animation:px-ripple-go .58s cubic-bezier(.22,.61,.36,1) forwards;
}
.px-ripple.on-light{
  background:radial-gradient(circle, rgba(66,133,244,.32) 0%, rgba(155,114,203,.16) 60%, transparent 70%);
}
@keyframes px-ripple-go{
  to{ transform:translate(-50%,-50%) scale(1); opacity:0; }
}

/* ------------------------------------------------------- press feedback */
/* a spring on release reads as physical without feeling slow */
.px-press{ transition:transform .34s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease; }
.px-press.px-down{ transform:scale(.968); transition-duration:.09s; }
.px-lift{ transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease; }
.px-lift:hover{ transform:translateY(-2px); }

/* the confirm button gets a sweep of light on tap */
@keyframes px-sheen{
  0%{ background-position:-180% 0; opacity:0; }
  18%{ opacity:1; }
  100%{ background-position:180% 0; opacity:0; }
}
.px-sheen::after{
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(100deg, transparent 38%, rgba(255,255,255,.55) 50%, transparent 62%);
  background-size:220% 100%; opacity:0;
}
.px-sheen.px-fire::after{ animation:px-sheen .72s ease-out; }

/* --------------------------------------------------------- bottom sheet */
.px-scrim{
  position:fixed; inset:0; z-index:400; background:rgba(20,22,42,.36);
  -webkit-backdrop-filter:blur(7px) saturate(120%); backdrop-filter:blur(7px) saturate(120%);
  opacity:0; transition:opacity .3s ease; display:flex; align-items:flex-end; justify-content:center;
  /* Hit-testing follows the .open class, not the close animation's timer.
     closeSheet() only sets display:none after a 420ms setTimeout, and until it
     fires this element still covers the entire viewport at z-index 400 — so a
     tap anywhere on the page lands on an invisible sheet instead of the button
     underneath. That is survivable when the timer runs on schedule; iOS defers
     timers on backgrounded tabs and in low power mode, and a deferred one
     leaves the whole page untappable with nothing on screen to explain why.
     Tying pointer-events to the class makes the closed state unreachable by
     touch regardless of when, or whether, the timer ever runs. */
  pointer-events:none;
}
.px-scrim.open{ opacity:1; pointer-events:auto; }
.px-sheet{
  width:100%; max-width:440px; max-height:88vh; overflow-y:auto;
  border-radius:26px 26px 0 0; padding:0 0 22px;
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:blur(34px) saturate(185%); backdrop-filter:blur(34px) saturate(185%);
  box-shadow:0 -14px 48px rgba(31,38,90,.20), inset 0 1px 0 rgba(255,255,255,.95);
  transform:translateY(100%); transition:transform .42s cubic-bezier(.05,.7,.1,1);
  font-family:inherit; color:#1A1C2E;
}
.px-scrim.open .px-sheet{ transform:translateY(0); }
.px-grab{ width:38px; height:4px; border-radius:4px; background:rgba(31,38,90,.18); margin:10px auto 4px; }
/* z-index: the sheet's hero is positioned and comes after the button, so
   without it the photo painted over the ✕ and swallowed the tap. */
.px-sheet-close{
  position:absolute; top:14px; right:16px; width:32px; height:32px; border-radius:50%; z-index:3;
  border:1px solid rgba(255,255,255,.8); background:rgba(255,255,255,.7); cursor:pointer;
  font-size:15px; line-height:1; color:#5F6480;
}
.px-sheet-hero{ height:158px; position:relative; overflow:hidden; }
.px-sheet-body{ padding:16px 20px 6px; }
.px-sheet-title{ font-size:19px; font-weight:800; margin:0 0 4px; }
.px-sheet-price{ font-size:15px; font-weight:800; color:#2C6BD9; margin:0 0 10px; }
.px-sheet-desc{ font-size:13px; font-weight:500; color:#5F6480; line-height:1.65; margin:0 0 16px; }
.px-inc-title{ font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  color:#5F6480; margin:0 0 8px; }
.px-inc{ list-style:none; padding:0; margin:0 0 18px; }
.px-inc li{ display:flex; gap:9px; align-items:flex-start; font-size:12.5px; font-weight:600;
  color:#1A1C2E; padding:5px 0; }
.px-inc li::before{ content:'✓'; color:#2C6BD9; font-weight:800; flex-shrink:0; }
.px-sheet-cta{
  margin:0 20px; width:calc(100% - 40px); border:none; border-radius:15px; padding:15px 0;
  font-family:inherit; font-size:14.5px; font-weight:800; color:#fff; cursor:pointer; position:relative;
  background:linear-gradient(135deg,#4285F4 0%,#9B72CB 52%,#D96570 100%);
  box-shadow:0 10px 28px rgba(102,110,232,.38), inset 0 1px 0 rgba(255,255,255,.45);
}

/* ------------------------------------------------------------ toast pop */
.px-toast-spring{ animation:px-toast-in .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes px-toast-in{
  0%{ transform:translateX(-50%) translateY(14px) scale(.92); opacity:0; }
  100%{ transform:translateX(-50%) translateY(0) scale(1); opacity:1; }
}

/* --------------------------------------------------- gallery / reviews */
.px-strip{ display:flex; gap:11px; overflow-x:auto; padding:2px 14px 8px; scroll-snap-type:x mandatory;
  /* without this the first tile snaps past the container's own padding */
  scroll-padding-inline-start:14px; }
.px-strip::-webkit-scrollbar{ display:none; }
.px-strip{ scrollbar-width:none; }
.px-shot{
  flex:0 0 auto; width:150px; scroll-snap-align:start; cursor:pointer;
  border-radius:16px; overflow:hidden; position:relative; height:186px;
  border:1px solid rgba(255,255,255,.78);
  box-shadow:0 8px 26px rgba(31,38,90,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.px-shot-cap{
  position:absolute; left:0; right:0; bottom:0; padding:16px 11px 9px;
  background:linear-gradient(180deg, transparent, rgba(16,18,38,.72));
  color:#fff; font-size:11px; font-weight:700; letter-spacing:.01em;
}
.px-review{
  flex:0 0 auto; width:250px; scroll-snap-align:start; border-radius:16px; padding:14px 16px;
  background:rgba(255,255,255,.62); border:1px solid rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(20px) saturate(180%); backdrop-filter:blur(20px) saturate(180%);
  box-shadow:0 8px 26px rgba(31,38,90,.10), inset 0 1px 0 rgba(255,255,255,.9);
}
.px-review .stars{ color:#D96570; font-size:12px; letter-spacing:.12em; margin-bottom:7px; }
.px-review .body{ font-size:12.5px; font-weight:500; color:#1A1C2E; line-height:1.6; margin-bottom:9px; }
.px-review .who{ font-size:11px; font-weight:700; color:#5F6480; }

/* ------------------------------------------------------- step progress */
.px-steps{ display:flex; align-items:center; gap:6px; padding:10px 14px 2px; }
.px-step{ flex:1; height:3px; border-radius:3px; background:rgba(31,38,90,.12); overflow:hidden; }
.px-step i{ display:block; height:100%; width:0; border-radius:3px;
  background:linear-gradient(90deg,#4285F4,#9B72CB);
  transition:width .5s cubic-bezier(.05,.7,.1,1); }
.px-step.done i, .px-step.at i{ width:100%; }
.px-step-labels{ display:flex; justify-content:space-between; padding:5px 14px 0;
  font-size:9.5px; font-weight:700; letter-spacing:.05em; color:#5F6480; text-transform:uppercase; }
.px-step-labels span.at{ color:#2C6BD9; }

@media (prefers-reduced-motion: reduce){
  .px-ripple, .px-press, .px-lift, .px-sheet, .px-scrim, .px-sheen::after, .px-toast-spring{
    animation:none !important; transition:none !important;
  }
}

/* ------------------------------------------------- admin insight cards */
.px-insights{ display:grid; grid-template-columns:repeat(auto-fit,minmax(258px,1fr)); gap:12px; margin-bottom:14px; }
.px-ins{
  border-radius:16px; padding:15px 17px; position:relative;
  background:rgba(255,255,255,.62); border:1px solid rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(20px) saturate(180%); backdrop-filter:blur(20px) saturate(180%);
  box-shadow:0 8px 30px rgba(31,38,90,.10), inset 0 1px 0 rgba(255,255,255,.9);
}
.px-ins::before{
  content:''; position:absolute; left:0; top:14px; bottom:14px; width:3px; border-radius:3px;
  background:linear-gradient(180deg,#4285F4,#9B72CB);
}
.px-ins.warn::before{ background:linear-gradient(180deg,#D96570,#9B72CB); }
.px-ins.good::before{ background:linear-gradient(180deg,#1BA1E3,#4285F4); }
.px-ins-head{ display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.px-ins-icon{ font-size:15px; }
.px-ins-title{ font-size:13px; font-weight:800; line-height:1.35; }
.px-ins-body{ font-size:11.5px; font-weight:600; color:#5F6480; line-height:1.6; }
.px-ins-act{
  margin-top:10px; border:1px solid rgba(255,255,255,.85); border-radius:20px; cursor:pointer;
  background:linear-gradient(135deg,rgba(66,133,244,.14),rgba(155,114,203,.14));
  color:#2C6BD9; font-family:inherit; font-size:11.5px; font-weight:800; padding:7px 14px;
}
.px-ins-act:hover{ background:linear-gradient(135deg,rgba(66,133,244,.22),rgba(155,114,203,.22)); }

/* ------------------------------------------------------------ heat map */
.hm{ display:flex; flex-direction:column; gap:4px; }
.hm-row{ display:flex; align-items:center; gap:4px; }
.hm-lbl{ width:30px; flex-shrink:0; font-size:10.5px; font-weight:800; color:#5F6480; }
.hm-h{ flex:1; text-align:center; font-size:9px; font-weight:700; color:#9AA0BF; }
.hm-c{ flex:1; height:19px; border-radius:5px; transition:transform .18s ease; }
.hm-c:hover{ transform:scale(1.18); }
.hm-head .hm-h{ padding-bottom:2px; }

/* lapsed-customer list inside a panel */
.px-lapsed{ display:flex; flex-direction:column; gap:9px; }
.px-lapse-row{ display:flex; align-items:center; gap:10px; font-size:12px; }
.px-lapse-row .nm{ font-weight:800; flex:1; }
.px-lapse-row .ago{ font-size:11px; font-weight:700; color:#C0465A; white-space:nowrap; }
.px-lapse-row .sp{ font-size:11px; font-weight:700; color:#5F6480; white-space:nowrap; }
.px-lapse-row button{
  border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.7); color:#2C6BD9;
  font-family:inherit; font-size:10.5px; font-weight:800; padding:5px 11px; border-radius:16px; cursor:pointer;
}

/* ==================================================== admin: schedule */
.sc-empty{ font-size:12.5px; font-weight:600; color:#5F6480; padding:14px 2px; }
.sc-row{ display:flex; align-items:center; gap:12px; padding:11px 0; border-bottom:1px solid rgba(31,38,90,.07); }
.sc-row:last-child{ border-bottom:none; }
.sc-time{ width:52px; flex-shrink:0; font-size:13px; font-weight:800; font-variant-numeric:tabular-nums; color:#2C6BD9; }
.sc-body{ flex:1; min-width:0; }
.sc-name{ font-size:13px; font-weight:800; }
.sc-svc{ font-weight:600; color:#5F6480; }
.sc-meta{ font-size:11px; font-weight:600; color:#5F6480; margin-top:2px; }
.sc-dep{ font-weight:800; margin-left:4px; }
.sc-dep.ok{ color:#2C6BD9; } .sc-dep.due{ color:#C0465A; }
.sc-wa{ border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.7); color:#2C6BD9;
  font-family:inherit; font-size:10.5px; font-weight:800; padding:6px 11px; border-radius:16px; cursor:pointer; flex-shrink:0; }
.sc-gap{ display:flex; align-items:center; gap:10px; padding:7px 0 7px 52px; font-size:11px; font-weight:700; color:#9AA0BF; }
.sc-gap-txt{ flex:1; border-top:1px dashed rgba(155,114,203,.45); padding-left:10px; color:#7E56AE; }
.sc-blocked{ display:flex; gap:12px; padding:9px 0; font-size:11.5px; font-weight:700; color:#7E56AE; }
.sc-chips{ display:flex; flex-wrap:wrap; gap:6px; padding:2px 0 10px; }
.sc-chip{ border:1px solid rgba(31,38,90,.14); background:rgba(255,255,255,.7); color:#1A1C2E;
  font-family:inherit; font-size:11.5px; font-weight:700; padding:6px 11px; border-radius:16px; cursor:pointer; }
.sc-chip b{ font-weight:800; color:#5F6480; margin-left:2px; font-variant-numeric:tabular-nums; }
.sc-chip.on{ background:#1A1C2E; border-color:#1A1C2E; color:#fff; }
.sc-chip.on b{ color:rgba(255,255,255,.75); }
.sc-chip.off{ opacity:.55; }
.sc-lane{ padding:4px 0 8px; border-top:1px solid rgba(31,38,90,.1); }
.sc-lane:first-of-type{ border-top:none; }
.sc-lane-h{ display:flex; justify-content:space-between; gap:10px; padding:8px 0 2px;
  font-size:11px; font-weight:800; letter-spacing:.04em; color:#5F6480; }
.sc-lane-h span:first-child{ color:#1A1C2E; font-size:12px; }
.sc-shop{ border-top:1px solid rgba(31,38,90,.1); padding-top:4px; }

/* ==================================================== admin: waitlist */
.wl-row{ display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid rgba(31,38,90,.07); }
.wl-row:last-child{ border-bottom:none; }
.wl-when{ width:78px; flex-shrink:0; font-size:12px; font-weight:800; color:#7E56AE; font-variant-numeric:tabular-nums; }
.wl-body{ flex:1; min-width:0; }
.wl-svc{ font-size:12.5px; font-weight:700; }
.wl-phone{ font-size:11px; font-weight:600; color:#5F6480; }
.wl-act{ border:none; border-radius:16px; cursor:pointer; flex-shrink:0;
  background:linear-gradient(135deg,#4285F4,#9B72CB); color:#fff;
  font-family:inherit; font-size:10.5px; font-weight:800; padding:7px 12px; }
.wl-drop{ border:none; background:none; color:#9AA0BF; font-size:16px; cursor:pointer; padding:0 2px; }

/* ================================================== admin: new booking */
.nb-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:12px; }
.nb-f{ display:flex; flex-direction:column; gap:5px; }
.nb-f span{ font-size:10.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:#5F6480; }
.nb-f input, .nb-f select{ font-family:inherit; font-size:13px; padding:10px 11px; border-radius:11px;
  border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.75); color:#1A1C2E; }
.nb-check{ display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; color:#1A1C2E; }
.nb-check input{ width:16px; height:16px; accent-color:#4285F4; }
.nb-warn{ margin-top:10px; border-radius:11px; padding:9px 12px; font-size:11.5px; font-weight:700;
  background:rgba(217,101,112,.12); color:#C0465A; }

/* ================================================ admin: price editor */
.pe-row{ display:flex; align-items:center; gap:9px; padding:9px 0; border-bottom:1px solid rgba(31,38,90,.07); }
.pe-row:last-of-type{ border-bottom:none; }
.pe-row.off{ opacity:.5; }
.pe-name{ flex:1; min-width:0; font-size:12.5px; font-weight:800; }
.pe-f{ display:flex; align-items:center; gap:4px; }
.pe-f span{ font-size:10px; font-weight:800; color:#9AA0BF; }
.pe-f input{ width:62px; font-family:inherit; font-size:12px; padding:6px 8px; border-radius:9px;
  border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.75); color:#1A1C2E;
  font-variant-numeric:tabular-nums; }
.pe-toggle, .st-toggle{ border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.7); color:#2C6BD9;
  font-family:inherit; font-size:10px; font-weight:800; padding:5px 10px; border-radius:14px; cursor:pointer; flex-shrink:0; }
.pe-note{ font-size:10.5px; font-weight:600; color:#9AA0BF; margin:10px 0 0; }

/* ================================================== admin: staff stats */
.st-row{ display:flex; align-items:center; gap:11px; padding:10px 0;
  border-bottom:1px solid rgba(31,38,90,.07); }
.st-row:last-of-type{ border-bottom:none; }
.st-row.off{ opacity:.5; }
.st-name{ width:86px; flex-shrink:0; font-size:12.5px; font-weight:800;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.st-mid{ flex:1; min-width:0; }
.st-bar{ height:7px; border-radius:5px; background:rgba(31,38,90,.08); overflow:hidden; }
.st-bar i{ display:block; height:100%; border-radius:5px; background:linear-gradient(90deg,#4285F4,#9B72CB); }
.st-num{ width:78px; flex-shrink:0; text-align:right; font-size:12.5px; font-weight:800;
  font-variant-numeric:tabular-nums; }
.st-sub{ font-size:10.5px; font-weight:600; color:#5F6480; margin-top:4px; }

/* the add-booking button follows you around the admin */
.px-fab{
  position:fixed; right:26px; bottom:82px; z-index:180; border:none; cursor:pointer;
  border-radius:30px; padding:14px 22px; font-family:inherit; font-size:13.5px; font-weight:800; color:#fff;
  background:linear-gradient(135deg,#4285F4 0%,#9B72CB 52%,#D96570 100%);
  box-shadow:0 12px 32px rgba(102,110,232,.42), inset 0 1px 0 rgba(255,255,255,.45);
}
.px-fab:hover{ filter:brightness(1.05); }

/* ------------------------------------- admin: revenue by period + peaks */
.rp-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(118px,1fr)); gap:10px; }
.rp{ border-radius:13px; padding:12px 14px;
  background:rgba(255,255,255,.55); border:1px solid rgba(255,255,255,.8);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9); }
.rp .lbl{ font-size:9.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  color:#5F6480; margin-bottom:5px; }
.rp .val{ font-size:19px; font-weight:800; font-variant-numeric:tabular-nums; }
.rp .sub{ font-size:10px; font-weight:700; color:#9AA0BF; margin-top:3px; }
.rp.hot{ background:linear-gradient(135deg,rgba(66,133,244,.14),rgba(155,114,203,.14)); }

.pk-tabs{ display:flex; gap:6px; margin-bottom:11px; flex-wrap:wrap; }
.pk-tab{ border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.62);
  color:#5F6480; font-family:inherit; font-size:10.5px; font-weight:800;
  padding:6px 12px; border-radius:16px; cursor:pointer; }
.pk-tab.on{ background:linear-gradient(135deg,#4285F4,#9B72CB); color:#fff; border-color:transparent; }
.pk-row{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.pk-row:last-child{ margin-bottom:0; }
.pk-time{ width:52px; flex-shrink:0; font-size:11.5px; font-weight:800;
  font-variant-numeric:tabular-nums; color:#2C6BD9; }
.pk-track{ flex:1; height:8px; border-radius:6px; background:rgba(31,38,90,.08); overflow:hidden; }
.pk-track i{ display:block; height:100%; border-radius:6px;
  background:linear-gradient(90deg,#4285F4,#9B72CB); }
.pk-n{ width:44px; text-align:right; flex-shrink:0; font-size:11px; font-weight:800; color:#5F6480; }
.mo-row{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.mo-lbl{ width:44px; flex-shrink:0; font-size:11px; font-weight:800; color:#5F6480; }

/* =========================================================== money: paying */
.pay-amt{ font-family:var(--pb-sans,'Space Grotesk','Inter',sans-serif); font-size:34px; font-weight:800;
  letter-spacing:-.02em; text-align:center; margin:6px 0 14px;
  background:linear-gradient(135deg,#4285F4,#9B72CB); -webkit-background-clip:text;
  background-clip:text; -webkit-text-fill-color:transparent; font-variant-numeric:tabular-nums; }
.pay-methods{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-bottom:14px; }
.pay-m{ display:inline-flex; align-items:center; gap:6px; font-family:inherit;
  font-size:11.5px; font-weight:800; color:#5F6480; cursor:pointer;
  padding:8px 14px; border-radius:20px;
  border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.6); }
.pay-m .pay-m-g{ font-size:13px; }
.pay-m.on{ background:linear-gradient(135deg,#4285F4,#9B72CB); color:#fff; border-color:transparent;
  box-shadow:0 6px 16px rgba(66,133,244,.3); }
.pay-qr-wrap{ display:flex; gap:14px; align-items:center; padding:14px;
  border-radius:16px; background:rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.85); }
.pay-qr{ display:grid; grid-template-columns:repeat(21,1fr); width:118px; height:118px;
  flex-shrink:0; padding:7px; border-radius:10px; background:#fff;
  box-shadow:0 4px 14px rgba(31,38,90,.14); }
.pay-qr i{ background:transparent; }
.pay-qr i.on{ background:#1A1C2E; }
.pay-qr-note{ min-width:0; }
.pay-qr-badge{ display:inline-block; font-size:9px; font-weight:800; letter-spacing:.06em;
  text-transform:uppercase; color:#9B72CB; background:rgba(155,114,203,.14);
  padding:3px 8px; border-radius:10px; margin-bottom:7px; }
.pay-ref{ font-size:10px; font-weight:800; color:#9AA0BF; text-transform:uppercase;
  letter-spacing:.05em; margin-bottom:8px; }
.pay-ref b{ display:block; font-size:14px; letter-spacing:0; text-transform:none;
  color:#2C6BD9; font-variant-numeric:tabular-nums; margin-top:2px; }
.pay-qr-note p{ font-size:11.5px; line-height:1.55; color:#5F6480; margin:0; }
.pay-fine{ font-size:10.5px; color:#9AA0BF; text-align:center; margin:12px 0 0; }

/* ---------------------------------------------------------- money: receipt */
.rc{ border-radius:14px; padding:15px 16px; background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.85); }
.rc-head{ display:flex; justify-content:space-between; align-items:baseline;
  padding-bottom:10px; margin-bottom:10px; border-bottom:1px dashed rgba(31,38,90,.16); }
.rc-shop{ font-family:var(--pb-sans,'Space Grotesk','Inter',sans-serif); font-size:14px; font-weight:800; }
.rc-ref{ font-size:11.5px; font-weight:800; color:#9AA0BF; font-variant-numeric:tabular-nums; }
.rc-line{ display:flex; justify-content:space-between; gap:12px; align-items:baseline;
  font-size:12.5px; font-weight:700; color:#1A1C2E; padding:4px 0; }
.rc-line b{ font-variant-numeric:tabular-nums; }
.rc-line.rc-muted{ color:#5F6480; font-weight:600; }
.rc-line.rc-empty{ color:#9AA0BF; font-weight:600; justify-content:center; }
.rc-sep{ border-top:1px dashed rgba(31,38,90,.16); margin:9px 0; }
.rc-line.rc-total{ font-size:14px; font-weight:800; }
.rc-line.rc-total b{ color:#2C6BD9; }

/* --------------------------------------------------- admin: cash-up + owed */
.cu-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:10px;
  margin-bottom:14px; }
.cu{ border-radius:13px; padding:11px 13px; background:rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.8); }
.cu .m{ display:flex; align-items:center; gap:6px; font-size:10.5px; font-weight:800;
  letter-spacing:.03em; color:#5F6480; margin-bottom:5px; }
.cu .v{ font-size:18px; font-weight:800; font-variant-numeric:tabular-nums; }
.cu.tot{ background:linear-gradient(135deg,rgba(66,133,244,.16),rgba(155,114,203,.16)); }
.cu.tot .v{ color:#2C6BD9; }
.cu-count{ display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; margin-bottom:12px; }
.cu-count .nb-f{ flex:0 1 230px; min-width:150px; }
.cu-diff{ font-size:12.5px; font-weight:800; padding:9px 13px; border-radius:12px; }
.cu-diff.ok{ background:rgba(66,133,244,.12); color:#2C6BD9; }
.cu-diff.off{ background:rgba(217,101,112,.13); color:#C24A57; }
.ow-row{ display:flex; align-items:center; gap:10px; padding:9px 0;
  border-bottom:1px solid rgba(31,38,90,.07); }
.ow-row:last-child{ border-bottom:none; }
.ow-main{ flex:1; min-width:0; }
.ow-name{ font-size:12.5px; font-weight:800; }
.ow-sub{ font-size:10.5px; color:#5F6480; font-weight:600; margin-top:2px; }
.ow-amt{ font-size:14px; font-weight:800; color:#C24A57; font-variant-numeric:tabular-nums;
  flex-shrink:0; }
.ow-kind{ display:inline-block; font-size:9px; font-weight:800; letter-spacing:.04em;
  text-transform:uppercase; padding:2px 7px; border-radius:8px; margin-left:6px;
  background:rgba(155,114,203,.14); color:#7E56AE; }

/* ================================================== storm / closure banner */
#storm-banner{ display:none; }
.storm-bar{ display:flex; align-items:center; gap:11px; flex-wrap:wrap;
  margin:0 0 14px; padding:11px 14px; border-radius:14px;
  background:linear-gradient(135deg,rgba(217,101,112,.15),rgba(155,114,203,.15));
  border:1px solid rgba(217,101,112,.28); }
.storm-g{ font-size:20px; line-height:1; }
.storm-txt{ flex:1; min-width:140px; display:flex; flex-direction:column; gap:2px; }
.storm-txt b{ font-size:12.5px; font-weight:800; color:#C24A57; }
.storm-txt span{ font-size:11px; font-weight:600; color:#5F6480; }

/* ======================================== customer: due-for-a-visit ring */
.due-card{ display:flex; align-items:center; gap:13px; flex-wrap:wrap;
  margin:0 14px 14px; padding:13px 15px; border-radius:16px;
  background:rgba(255,255,255,.6); border:1px solid rgba(255,255,255,.85);
  box-shadow:0 6px 18px rgba(31,38,90,.06); }
.due-card.due-on{ background:linear-gradient(135deg,rgba(66,133,244,.13),rgba(155,114,203,.13));
  border-color:rgba(66,133,244,.26); }
.due-ring{ width:52px; height:52px; flex-shrink:0; border-radius:50%;
  background:conic-gradient(#4285F4 0 var(--pct), rgba(31,38,90,.1) var(--pct) 100%);
  display:grid; place-items:center; }
.due-ring span{ width:40px; height:40px; border-radius:50%; background:#fff;
  display:grid; place-items:center; font-size:14px; font-weight:800;
  font-variant-numeric:tabular-nums; color:#2C6BD9; }
.due-ring span i{ font-style:normal; font-size:8.5px; font-weight:800; color:#9AA0BF;
  margin-left:1px; }
.due-txt{ flex:1; min-width:150px; display:flex; flex-direction:column; gap:2px; }
.due-txt b{ font-size:13px; font-weight:800; }
.due-txt span{ font-size:11.5px; font-weight:600; color:#5F6480; line-height:1.5; }
.due-txt em{ font-style:normal; font-size:10.5px; font-weight:700; color:#9AA0BF; margin-top:2px; }

/* ============================================= customer: quick time finders */
.qf-row{ display:flex; gap:8px; padding:10px 14px 12px; overflow-x:auto;
  -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.qf-row::-webkit-scrollbar{ display:none; }
.qf{ flex-shrink:0; font-family:inherit; font-size:11.5px; font-weight:800;
  color:#2C6BD9; cursor:pointer; padding:8px 14px; border-radius:20px;
  border:1px solid rgba(66,133,244,.24); background:rgba(255,255,255,.66);
  box-shadow:0 3px 10px rgba(31,38,90,.05); }

/* ==================================================== customer: arrival card */
.ac{ display:flex; align-items:center; gap:14px; padding:14px 15px; border-radius:15px;
  background:linear-gradient(135deg,rgba(66,133,244,.13),rgba(155,114,203,.13));
  border:1px solid rgba(66,133,244,.22); margin-bottom:12px; }
.ac-when{ flex-shrink:0; text-align:center; font-size:12px; font-weight:800; color:#5F6480;
  font-variant-numeric:tabular-nums; }
.ac-when b{ display:block; font-family:var(--pb-sans,'Space Grotesk','Inter',sans-serif);
  font-size:22px; color:#2C6BD9; letter-spacing:-.01em; }
.ac-what{ min-width:0; display:flex; flex-direction:column; gap:3px; }
.ac-what b{ font-size:14px; font-weight:800; }
.ac-what span{ font-size:11px; font-weight:700; color:#5F6480; }
.ac-due{ display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding:10px 14px; border-radius:13px; background:rgba(217,101,112,.11);
  font-size:12px; font-weight:800; color:#C24A57; }
.ac-due b{ font-size:15px; font-variant-numeric:tabular-nums; }
.ac-due.ok{ background:rgba(66,133,244,.1); color:#2C6BD9; }
.ac-prep{ margin:0; padding-left:18px; }
.ac-prep li{ font-size:12px; line-height:1.75; color:#1A1C2E; }

/* ======================================================= customer: ask first */
.ask-q{ display:block; width:100%; text-align:left; font-family:inherit;
  font-size:12.5px; font-weight:700; color:#1A1C2E; cursor:pointer;
  padding:11px 14px; border-radius:13px; margin-bottom:8px;
  border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.6); }
.ask-q:hover{ border-color:rgba(66,133,244,.3); }

/* ======================================================== customer: rating */
.rate-card{ margin:0 14px 14px; padding:13px 15px; border-radius:16px;
  background:rgba(255,255,255,.6); border:1px solid rgba(255,255,255,.85);
  display:flex; flex-direction:column; gap:3px; }
.rate-card b{ font-size:13px; font-weight:800; }
.rate-card span{ font-size:11.5px; font-weight:600; color:#5F6480; }
.rate-stars{ display:flex; gap:4px; margin-top:7px; }
.rate-s{ font-family:inherit; font-size:23px; line-height:1; cursor:pointer;
  background:none; border:none; padding:2px 3px; color:#D8DCEC; }
.rate-s:hover, .rate-s:hover ~ .rate-s{ color:#D8DCEC; }
.rate-stars:hover .rate-s{ color:#F4B740; }
.rate-s:hover ~ .rate-s{ color:#D8DCEC !important; }

/* the admin pages define their own; the customer pages use it too now */
.mini-action{ border:1px solid #4285F4; background:none; color:#2C6BD9;
  font-family:inherit; font-weight:800; font-size:10.5px; padding:6px 11px;
  border-radius:16px; white-space:nowrap; cursor:pointer; }
.mini-action:active{ background:#4285F4; color:#fff; }
.mini-action[disabled]{ cursor:default; }

/* a gallery shot the customer can book straight from */
.px-shot-book{ cursor:pointer; }
.px-shot-go{ position:absolute; left:9px; right:9px; bottom:8px; text-align:center;
  font-size:9.5px; font-weight:800; letter-spacing:.04em; color:#fff;
  background:rgba(26,28,46,.5); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  padding:5px 6px; border-radius:11px; opacity:0; transform:translateY(4px);
  transition:opacity .18s ease, transform .18s ease; }
.px-shot-book:hover .px-shot-go, .px-shot-book:active .px-shot-go{ opacity:1; transform:none; }

/* ------------------------------------------------------ required fields
   A field the form is refusing to accept, marked where it actually is.
   The ring is drawn with box-shadow rather than by changing border-width so
   nothing shifts position when it appears — a form that reflows as it
   validates makes you lose your place mid-correction. */
.px-invalid,
input.px-invalid, select.px-invalid, textarea.px-invalid{
  border-color:#D9425A !important;
  box-shadow:0 0 0 3px rgba(217,66,90,.16) !important;
  background:rgba(217,66,90,.045) !important;
}
.px-invalid::placeholder{ color:#C86A78; }
/* the page's default focus ring is blue; on a field being refused that reads
   as two contradictory signals at once, so focus follows the error colour */
.px-invalid:focus-visible{ outline-color:#D9425A !important; }

.px-toast{
  position:fixed; left:50%; transform:translateX(-50%); bottom:96px; z-index:9000;
  max-width:min(84vw,360px); text-align:center; pointer-events:none;
  background:rgba(26,28,46,.95); color:#fff;
  font-size:12.5px; font-weight:600; line-height:1.5;
  padding:11px 17px; border-radius:14px;
  box-shadow:0 10px 30px rgba(31,38,90,.28);
}

/* payment marks sit as real icons now, not text glyphs */
.pay-m .pay-m-g{ display:inline-flex; align-items:center; }
.cu .m svg{ border-radius:5px; }
