/* Quality Chops portals — client + staff (overrides TNT portal.css) */

body.portal-spa.qc-portal,
body.portal-spa.qc-staff-portal,
body.portal-spa.qc-staff-preview {
  font-family: 'Jost', system-ui, sans-serif;
  color: #22302d;
  background: #f7f4ee;
}

body.portal-spa.qc-portal h1,
body.portal-spa.qc-portal h2,
body.portal-spa.qc-portal h3,
body.portal-spa.qc-staff-portal h1,
body.portal-spa.qc-staff-portal h2,
body.portal-spa.qc-staff-portal h3,
body.portal-spa.qc-staff-preview h1,
body.portal-spa.qc-staff-preview h2,
body.portal-spa.qc-staff-preview h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #22302d;
}

body.portal-spa.qc-portal textarea,
body.portal-spa.qc-staff-portal textarea,
body.portal-spa.qc-staff-preview textarea {
  font-family: 'Jost', system-ui, sans-serif;
}

body.portal-spa.qc-portal .portal-preview-banner,
body.portal-spa.qc-staff-portal .portal-preview-banner,
body.portal-spa.qc-staff-preview .portal-preview-banner {
  background: #0a6b66;
  color: #f7f4ee;
  font-weight: 600;
  flex-shrink: 0;
}

body.portal-spa.qc-portal .portal-aside {
  background: #fff;
  border-right: 1px solid rgba(34, 48, 45, 0.1);
}

body.portal-spa.qc-staff-portal .portal-aside,
body.portal-spa.qc-staff-preview .portal-aside {
  background: #22302d;
  color: #f7f4ee;
  border-right: none;
}

body.portal-spa.qc-portal .portal-brand,
body.portal-spa.qc-staff-portal .portal-brand,
body.portal-spa.qc-staff-preview .portal-brand {
  text-decoration: none;
  color: inherit;
}

body.portal-spa.qc-portal .portal-brand-mark {
  background: #0c7f79;
  color: #f7f4ee;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

body.portal-spa.qc-staff-portal .portal-brand-mark,
body.portal-spa.qc-staff-preview .portal-brand-mark {
  background: #0c7f79;
  color: #f7f4ee;
}

body.portal-spa.qc-portal .portal-brand-sub {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7a77;
}

body.portal-spa.qc-staff-portal .portal-brand-sub,
body.portal-spa.qc-staff-preview .portal-brand-sub {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9c3b6;
}

body.portal-spa.qc-staff-portal .portal-brand,
body.portal-spa.qc-staff-preview .portal-brand {
  color: #f7f4ee;
}

/* Sidebar nav — client + staff (links, not buttons; kill browser default underline/weight) */
body.portal-spa.qc-portal .portal-nav a,
body.portal-spa.qc-staff-portal .portal-nav a,
body.portal-spa.qc-staff-preview .portal-nav a {
  text-decoration: none;
}

body.portal-spa.qc-portal .portal-nav-btn,
body.portal-spa.qc-staff-portal .portal-nav-btn,
body.portal-spa.qc-staff-preview .portal-nav-btn {
  text-decoration: none;
  font-weight: 500;
  border-radius: 11px;
}

body.portal-spa.qc-portal .portal-nav-btn {
  color: #4c5b58;
}

body.portal-spa.qc-portal .portal-nav-btn:hover {
  background: rgba(34, 48, 45, 0.06);
  color: #22302d;
}

body.portal-spa.qc-portal .portal-nav-btn[aria-current='page'],
body.portal-spa.qc-portal .portal-nav-btn.is-active {
  background: #22302d;
  color: #f7f4ee;
}

body.portal-spa.qc-staff-portal .portal-nav-btn,
body.portal-spa.qc-staff-preview .portal-nav-btn {
  color: rgba(247, 244, 238, 0.75);
}

body.portal-spa.qc-staff-portal .portal-nav-btn:hover,
body.portal-spa.qc-staff-preview .portal-nav-btn:hover {
  background: rgba(247, 244, 238, 0.08);
  color: #f7f4ee;
}

body.portal-spa.qc-staff-portal .portal-nav-btn[aria-current='page'],
body.portal-spa.qc-staff-portal .portal-nav-btn.is-active,
body.portal-spa.qc-staff-preview .portal-nav-btn[aria-current='page'],
body.portal-spa.qc-staff-preview .portal-nav-btn.is-active {
  background: #f7f4ee;
  color: #22302d;
  font-weight: 600;
}

body.portal-spa.qc-portal .portal-nav-dot,
body.portal-spa.qc-staff-portal .portal-nav-dot,
body.portal-spa.qc-staff-preview .portal-nav-dot {
  background: #0c7f79;
}

body.portal-spa.qc-portal .portal-card,
body.portal-spa.qc-staff-portal .portal-card,
body.portal-spa.qc-staff-preview .portal-card {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.08);
  border-radius: 16px;
}

body.portal-spa.qc-portal .portal-muted,
body.portal-spa.qc-staff-portal .portal-muted,
body.portal-spa.qc-staff-preview .portal-muted {
  color: #6b7a77;
}

body.portal-spa.qc-portal .portal-btn-primary,
body.portal-spa.qc-portal .qc-btn-primary,
body.portal-spa.qc-staff-portal .portal-btn-primary,
body.portal-spa.qc-staff-portal .qc-btn-primary,
body.portal-spa.qc-staff-preview .portal-btn-primary,
body.portal-spa.qc-staff-preview .qc-btn-primary {
  display: inline-block;
  background: #0c7f79;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

body.portal-spa.qc-portal .portal-btn-primary:hover,
body.portal-spa.qc-portal .qc-btn-primary:hover,
body.portal-spa.qc-staff-portal .portal-btn-primary:hover,
body.portal-spa.qc-staff-portal .qc-btn-primary:hover,
body.portal-spa.qc-staff-preview .portal-btn-primary:hover,
body.portal-spa.qc-staff-preview .qc-btn-primary:hover {
  background: #095c58;
}

body.portal-spa.qc-portal .portal-btn-ghost,
body.portal-spa.qc-portal .qc-btn-ghost,
body.portal-spa.qc-staff-portal .portal-btn-ghost,
body.portal-spa.qc-staff-portal .qc-btn-ghost,
body.portal-spa.qc-staff-preview .portal-btn-ghost,
body.portal-spa.qc-staff-preview .qc-btn-ghost {
  display: inline-block;
  background: transparent;
  color: #4c5b58;
  border: 1px solid rgba(34, 48, 45, 0.16);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

body.portal-spa.qc-portal .portal-btn-ghost:hover,
body.portal-spa.qc-portal .qc-btn-ghost:hover,
body.portal-spa.qc-staff-portal .portal-btn-ghost:hover,
body.portal-spa.qc-staff-portal .qc-btn-ghost:hover,
body.portal-spa.qc-staff-preview .portal-btn-ghost:hover,
body.portal-spa.qc-staff-preview .qc-btn-ghost:hover {
  background: rgba(34, 48, 45, 0.05);
  border-color: rgba(34, 48, 45, 0.28);
}

body.portal-spa.qc-portal .qc-btn-ghost.is-active,
body.portal-spa.qc-staff-portal .qc-btn-ghost.is-active,
body.portal-spa.qc-staff-preview .qc-btn-ghost.is-active {
  background: rgba(12, 127, 121, 0.12);
  border-color: #0c7f79;
  color: #095c58;
}

/* Footer sign-out: white pill needs dark ink (inline cream link color must not win) */
body.portal-spa.qc-staff-portal .portal-aside-footer .qc-btn-ghost,
body.portal-spa.qc-staff-preview .portal-aside-footer .qc-btn-ghost,
body.portal-spa.qc-staff-portal .portal-aside-footer #qc-staff-logout,
body.portal-spa.qc-staff-preview .portal-aside-footer #qc-staff-logout {
  background: #fff;
  color: #22302d !important;
  border-color: rgba(34, 48, 45, 0.16) !important;
}

body.portal-spa.qc-staff-portal .portal-aside-footer .qc-btn-ghost:hover,
body.portal-spa.qc-staff-preview .portal-aside-footer .qc-btn-ghost:hover,
body.portal-spa.qc-staff-portal .portal-aside-footer #qc-staff-logout:hover,
body.portal-spa.qc-staff-preview .portal-aside-footer #qc-staff-logout:hover {
  background: #f1ede5;
  color: #22302d !important;
  border-color: rgba(34, 48, 45, 0.28) !important;
}

/* Sidebar sign-out: full label always visible (not truncated to "Out") */
body.portal-spa.qc-staff-portal .portal-aside-footer #qc-staff-logout,
body.portal-spa.qc-staff-preview .portal-aside-footer #qc-staff-logout,
body.portal-spa.qc-portal .portal-aside-footer #qc-portal-logout {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  flex-shrink: 0;
  min-width: 0;
}

body.portal-spa.qc-portal .qc-membership-page {
  max-width: 820px;
}

body.portal-spa.qc-portal .qc-current-plan-card {
  background: #22302d;
  color: #f7f4ee;
  border-radius: 20px;
  padding: 26px 28px;
  margin-bottom: 18px;
}

body.portal-spa.qc-portal .qc-current-plan-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a9c3b6;
  margin-bottom: 8px;
}

body.portal-spa.qc-portal .qc-current-plan-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 30px;
  margin: 0 0 6px;
  color: #fff;
}

body.portal-spa.qc-portal .qc-current-plan-detail {
  margin: 0;
  font-size: 15.5px;
  color: rgba(247, 244, 238, 0.75);
  font-weight: 300;
  line-height: 1.55;
  max-width: 42ch;
}

body.portal-spa.qc-portal .qc-current-plan-price {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #a9c3b6;
  line-height: 1;
}

body.portal-spa.qc-portal .qc-current-plan-renew {
  font-size: 14px;
  color: rgba(247, 244, 238, 0.7);
  margin-top: 4px;
}

body.portal-spa.qc-portal .qc-membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}

body.portal-spa.qc-portal .qc-membership-card {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.09);
  border-radius: 20px;
  padding: 22px 24px;
}

body.portal-spa.qc-portal .qc-membership-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 6px;
}

body.portal-spa.qc-portal .qc-membership-card-lead {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #6b7a77;
  font-weight: 300;
}

body.portal-spa.qc-portal .qc-membership-code-input {
  flex: 1;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(34, 48, 45, 0.18);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  color: #22302d;
  font-family: inherit;
}

body.portal-spa.qc-portal .qc-membership-apply-btn {
  border-radius: 12px;
  padding: 13px 20px;
  white-space: nowrap;
}

body.portal-spa.qc-portal .qc-membership-code-msg {
  margin-top: 12px;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.5;
}

body.portal-spa.qc-portal .qc-membership-helper {
  margin-top: 16px;
  font-size: 13.5px;
  color: #8a9795;
  font-weight: 300;
  line-height: 1.5;
}

body.portal-spa.qc-portal .qc-membership-helper strong {
  font-weight: 500;
  color: #4c5b58;
}

body.portal-spa.qc-portal .qc-membership-clear-code {
  background: none;
  border: none;
  padding: 0;
  font-size: 13.5px;
  color: #6b7a77;
  cursor: pointer;
  font-family: inherit;
}

body.portal-spa.qc-portal .qc-membership-change-plan {
  background: #f1ede5;
  color: #22302d;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

body.portal-spa.qc-portal .qc-membership-change-plan:hover {
  background: #e8e2d7;
}

body.portal-spa.qc-portal .qc-membership-cancel-link {
  background: none;
  border: none;
  padding: 6px;
  font-size: 14px;
  color: #8a9795;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}

body.portal-spa.qc-portal .qc-membership-cancel-link:hover {
  color: #b4802a;
}

body.portal-spa.qc-portal .qc-dog-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #faf8f4;
  border: 1px solid rgba(34, 48, 45, 0.08);
}

body.portal-spa.qc-portal .qc-dog-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0c7f79;
  color: #f7f4ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}

body.portal-spa.qc-portal .qc-status-pill,
body.portal-spa.qc-staff-portal .qc-status-pill,
body.portal-spa.qc-staff-preview .qc-status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #dce7e0;
  color: #1d4a41;
}

body.portal-spa.qc-portal .qc-service-dot,
body.portal-spa.qc-staff-portal .qc-service-dot,
body.portal-spa.qc-staff-preview .qc-service-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Calendar primitives (client month grid + staff week grid controls) */
body.portal-spa.qc-portal .qc-cal-day,
body.portal-spa.qc-staff-portal .qc-cal-day,
body.portal-spa.qc-staff-preview .qc-cal-day {
  min-height: 52px;
  border: 1px solid rgba(34, 48, 45, 0.1);
  border-radius: 10px;
  padding: 6px;
  text-align: left;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}

body.portal-spa.qc-portal .qc-cal-day:hover,
body.portal-spa.qc-staff-portal .qc-cal-day:hover,
body.portal-spa.qc-staff-preview .qc-cal-day:hover {
  border-color: #0c7f79;
  background: #f7f4ee;
}

body.portal-spa.qc-portal .qc-staff-cal-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.16);
  color: #22302d;
}

body.portal-spa.qc-portal .qc-staff-cal-nav:hover {
  background: #f0ece4;
}

body.portal-spa.qc-portal .qc-cal-month-card,
body.portal-spa.qc-portal .qc-cal-day-summary {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.09);
  border-radius: 20px;
}

body.portal-spa.qc-portal .qc-cust-booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 97;
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 901px) {
  body.portal-spa.qc-portal .qc-cust-booking-overlay {
    left: 264px;
  }
}

body.portal-spa.qc-portal .qc-btn-cust-booking-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(34, 48, 45, 0.34);
  cursor: pointer;
}

body.portal-spa.qc-portal .qc-cust-booking-drawer {
  position: relative;
  width: 440px;
  max-width: 94vw;
  height: 100%;
  background: #f7f4ee;
  border-left: 1px solid rgba(34, 48, 45, 0.1);
  box-shadow: none;
  padding: 26px 28px 34px;
  overflow: auto;
  font-family: 'Jost', system-ui, sans-serif;
}

body.portal-spa.qc-portal .qc-cust-bk-dog.is-active {
  background: #0c7f79;
  color: #f7f4ee;
  border-color: #0c7f79;
}

/* Staff console day grid (STAFF-CONSOLE §4) */
body.portal-spa.qc-staff-portal .qc-staff-cal-kicker,
body.portal-spa.qc-staff-preview .qc-staff-cal-kicker {
  color: #0c7f79;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  line-height: 1;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-title,
body.portal-spa.qc-staff-preview .qc-staff-cal-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 2px 0 0;
  color: #22302d;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-nav,
body.portal-spa.qc-staff-preview .qc-staff-cal-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.16);
  color: #22302d;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-nav:hover,
body.portal-spa.qc-staff-preview .qc-staff-cal-nav:hover {
  background: #f0ece4;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-day,
body.portal-spa.qc-staff-preview .qc-staff-cal-day {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  border: 1px solid rgba(34, 48, 45, 0.1);
  background: #fff;
  color: #22302d;
  min-width: 0;
  width: 100%;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-day.is-selected,
body.portal-spa.qc-staff-preview .qc-staff-cal-day.is-selected {
  border-color: #0c7f79;
  background: #0c7f79;
  color: #f7f4ee;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-day.is-selected:hover,
body.portal-spa.qc-staff-preview .qc-staff-cal-day.is-selected:hover {
  background: #0c7f79;
  border-color: #0c7f79;
  color: #f7f4ee;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-session:hover,
body.portal-spa.qc-staff-preview .qc-staff-cal-session:hover {
  filter: brightness(0.97);
  background: inherit;
  border-color: transparent;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-day-dow,
body.portal-spa.qc-staff-preview .qc-staff-cal-day-dow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-day.is-selected .qc-staff-cal-day-dow,
body.portal-spa.qc-staff-preview .qc-staff-cal-day.is-selected .qc-staff-cal-day-dow {
  opacity: 0.85;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-day-num,
body.portal-spa.qc-staff-preview .qc-staff-cal-day-num {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-day-count,
body.portal-spa.qc-staff-preview .qc-staff-cal-day-count {
  font-size: 12.5px;
  opacity: 0.75;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-hint,
body.portal-spa.qc-staff-preview .qc-staff-cal-hint {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: #6b7a77;
  font-weight: 300;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-grid-card,
body.portal-spa.qc-staff-preview .qc-staff-cal-grid-card {
  padding: 18px 20px 22px;
  overflow-x: auto;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.09);
}

body.portal-spa.qc-staff-portal .qc-staff-cal-col-head,
body.portal-spa.qc-staff-preview .qc-staff-cal-col-head {
  padding: 0 4px 10px;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-col-name,
body.portal-spa.qc-staff-preview .qc-staff-cal-col-name {
  font-size: 15.5px;
  font-weight: 500;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-col-meta,
body.portal-spa.qc-staff-preview .qc-staff-cal-col-meta {
  font-size: 12.5px;
  color: #6b7a77;
  font-weight: 300;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-session,
body.portal-spa.qc-staff-preview .qc-staff-cal-session {
  position: absolute;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: stretch;
  font-family: inherit;
  border: none;
  min-height: 0;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-session-title,
body.portal-spa.qc-staff-preview .qc-staff-cal-session-title {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-month-card,
body.portal-spa.qc-staff-preview .qc-staff-cal-month-card {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.09);
  border-radius: 20px;
}

body.portal-spa.qc-staff-portal .qc-staff-cal-month-day.is-selected,
body.portal-spa.qc-staff-preview .qc-staff-cal-month-day.is-selected {
  box-shadow: inset 0 0 0 1px #0c7f79;
}

@media (max-width: 480px) {
  body.portal-spa.qc-staff-portal .qc-staff-cal-month-grid,
  body.portal-spa.qc-staff-preview .qc-staff-cal-month-grid {
    min-width: 288px;
  }

  body.portal-spa.qc-staff-portal .qc-staff-cal-month-day,
  body.portal-spa.qc-staff-preview .qc-staff-cal-month-day {
    min-height: 58px !important;
    padding: 6px !important;
  }

  body.portal-spa.qc-staff-portal .qc-staff-cal-grid-card,
  body.portal-spa.qc-staff-preview .qc-staff-cal-grid-card {
    overflow-x: auto;
    max-width: 100%;
  }

  body.portal-spa.qc-staff-portal .qc-staff-cal-grid-inner,
  body.portal-spa.qc-staff-preview .qc-staff-cal-grid-inner {
    min-width: 0;
    width: 100%;
  }

  body.portal-spa.qc-staff-portal .qc-staff-cal-month-card > div,
  body.portal-spa.qc-staff-preview .qc-staff-cal-month-card > div {
    min-width: 0;
  }

  body.portal-spa.qc-staff-portal .portal-main,
  body.portal-spa.qc-staff-preview .portal-main,
  body.portal-spa.qc-staff-portal .portal-shell,
  body.portal-spa.qc-staff-preview .portal-shell {
    max-width: 100%;
    overflow-x: clip;
  }
}

body.portal-spa.qc-portal .portal-card table,
body.portal-spa.qc-staff-portal .portal-card table,
body.portal-spa.qc-staff-preview .portal-card table {
  width: 100%;
  border-collapse: collapse;
}

body.portal-spa.qc-portal .portal-nav-toggle,
body.portal-spa.qc-staff-portal .portal-nav-toggle,
body.portal-spa.qc-staff-preview .portal-nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  body.portal-spa.qc-portal .portal-shell,
  body.portal-spa.qc-staff-portal .portal-shell,
  body.portal-spa.qc-staff-preview .portal-shell {
    grid-template-columns: 1fr;
  }

  body.portal-spa.qc-portal .portal-aside,
  body.portal-spa.qc-staff-portal .portal-aside,
  body.portal-spa.qc-staff-preview .portal-aside {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(34, 48, 45, 0.1);
  }

  body.portal-spa.qc-staff-portal .portal-aside,
  body.portal-spa.qc-staff-preview .portal-aside {
    border-bottom-color: rgba(247, 244, 238, 0.12);
  }

  body.portal-spa.qc-portal .portal-nav-toggle,
  body.portal-spa.qc-staff-portal .portal-nav-toggle,
  body.portal-spa.qc-staff-preview .portal-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(34, 48, 45, 0.18);
    background: #fff;
    color: #22302d;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  }

  body.portal-spa.qc-staff-portal .portal-nav-toggle,
  body.portal-spa.qc-staff-preview .portal-nav-toggle {
    border-color: rgba(247, 244, 238, 0.25);
    background: rgba(247, 244, 238, 0.08);
    color: #f7f4ee;
  }

  body.portal-spa.qc-portal .portal-aside:not(.is-nav-open) .portal-nav,
  body.portal-spa.qc-staff-portal .portal-aside:not(.is-nav-open) .portal-nav,
  body.portal-spa.qc-staff-preview .portal-aside:not(.is-nav-open) .portal-nav {
    display: none;
  }

  body.portal-spa.qc-portal .portal-aside.is-nav-open .portal-nav,
  body.portal-spa.qc-staff-portal .portal-aside.is-nav-open .portal-nav,
  body.portal-spa.qc-staff-preview .portal-aside.is-nav-open .portal-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
  }

  body.portal-spa.qc-portal .qc-cal-month-card,
  body.portal-spa.qc-staff-portal .qc-cal-month-card,
  body.portal-spa.qc-staff-preview .qc-cal-month-card {
    -webkit-overflow-scrolling: touch;
  }

  body.portal-spa.qc-portal .qc-cal-month-card > div,
  body.portal-spa.qc-staff-portal .qc-cal-month-card > div,
  body.portal-spa.qc-staff-preview .qc-cal-month-card > div,
  body.portal-spa.qc-portal .qc-cal-month-grid,
  body.portal-spa.qc-staff-portal .qc-cal-month-grid,
  body.portal-spa.qc-staff-preview .qc-cal-month-grid {
    min-width: min(560px, 100%);
  }
}

.qc-cal-month-grid {
  min-width: min(560px, 100%);
}

body.portal-spa.qc-portal .portal-toast,
body.portal-spa.qc-staff-portal .portal-toast,
body.portal-spa.qc-staff-preview .portal-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;
  max-width: min(420px, calc(100vw - 32px));
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #22302d;
  color: #f7f4ee;
  box-shadow: 0 12px 32px rgba(34, 48, 45, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}

body.portal-spa.qc-portal .portal-toast.is-visible,
body.portal-spa.qc-staff-portal .portal-toast.is-visible,
body.portal-spa.qc-staff-preview .portal-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.portal-spa.qc-portal .portal-toast-text,
body.portal-spa.qc-staff-portal .portal-toast-text,
body.portal-spa.qc-staff-preview .portal-toast-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.45;
}

body.portal-spa.qc-portal .portal-toast-close,
body.portal-spa.qc-staff-portal .portal-toast-close,
body.portal-spa.qc-staff-preview .portal-toast-close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.qc-chip {
  border: 1px solid rgba(34, 48, 45, 0.14);
  background: #f1ede5;
  color: #22302d;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Jost', system-ui, sans-serif;
  transition: background 0.2s, border-color 0.2s;
}

.qc-chip.is-on {
  background: rgba(12, 127, 121, 0.12);
  border-color: #0c7f79;
  color: #095c58;
}

body.portal-spa.qc-staff-portal .portal-nav-btn[aria-current='page']:hover,
body.portal-spa.qc-staff-portal .portal-nav-btn.is-active:hover,
body.portal-spa.qc-staff-preview .portal-nav-btn[aria-current='page']:hover,
body.portal-spa.qc-staff-preview .portal-nav-btn.is-active:hover {
  background: #f7f4ee;
  color: #22302d;
}

/* Shop parent on shop routes — teal active per handoff §2.1 (not cream pill) */
body.portal-spa.qc-staff-portal .portal-nav-btn[data-qc-shop-nav].is-active,
body.portal-spa.qc-staff-portal .portal-nav-btn[data-qc-shop-nav][aria-current='page'],
body.portal-spa.qc-staff-preview .portal-nav-btn[data-qc-shop-nav].is-active,
body.portal-spa.qc-staff-preview .portal-nav-btn[data-qc-shop-nav][aria-current='page'] {
  background: #0c7f79;
  color: #f7f4ee;
  font-weight: 500;
}

body.portal-spa.qc-staff-portal .portal-nav-btn[data-qc-shop-nav].is-active:hover,
body.portal-spa.qc-staff-portal .portal-nav-btn[data-qc-shop-nav][aria-current='page']:hover,
body.portal-spa.qc-staff-preview .portal-nav-btn[data-qc-shop-nav].is-active:hover,
body.portal-spa.qc-staff-preview .portal-nav-btn[data-qc-shop-nav][aria-current='page']:hover {
  background: #095c58;
  color: #f7f4ee;
}

body.portal-spa.qc-staff-portal .portal-nav [data-qc-shop-sub-nav] a.portal-nav-shop-sub,
body.portal-spa.qc-staff-preview .portal-nav [data-qc-shop-sub-nav] a.portal-nav-shop-sub {
  display: block;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(247, 244, 238, 0.72);
  font-weight: 500;
  text-decoration: none;
}

body.portal-spa.qc-staff-portal .portal-nav [data-qc-shop-sub-nav] a.portal-nav-shop-sub:hover,
body.portal-spa.qc-staff-preview .portal-nav [data-qc-shop-sub-nav] a.portal-nav-shop-sub:hover {
  background: rgba(247, 244, 238, 0.08);
  color: #f7f4ee;
}

body.portal-spa.qc-staff-portal .portal-nav [data-qc-shop-sub-nav] a.portal-nav-shop-sub.is-active,
body.portal-spa.qc-staff-preview .portal-nav [data-qc-shop-sub-nav] a.portal-nav-shop-sub.is-active {
  background: rgba(247, 244, 238, 0.12);
  color: #f7f4ee;
  font-weight: 600;
}

body.portal-spa.qc-staff-portal .portal-main,
body.portal-spa.qc-staff-preview .portal-main {
  color: #22302d;
}

body.portal-spa.qc-staff-portal .portal-main a,
body.portal-spa.qc-staff-preview .portal-main a {
  color: #0c7f79;
  text-decoration: none;
}

body.portal-spa.qc-staff-portal .portal-main a:hover,
body.portal-spa.qc-staff-preview .portal-main a:hover {
  color: #095c58;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.portal-spa.qc-portal .portal-main a.portal-btn-primary,
body.portal-spa.qc-portal .portal-main a.qc-btn-primary,
body.portal-spa.qc-staff-portal .portal-main a.portal-btn-primary,
body.portal-spa.qc-staff-portal .portal-main a.qc-btn-primary,
body.portal-spa.qc-staff-preview .portal-main a.portal-btn-primary,
body.portal-spa.qc-staff-preview .portal-main a.qc-btn-primary {
  color: #fff;
  text-decoration: none;
}

body.portal-spa.qc-portal .portal-main a.portal-btn-primary:hover,
body.portal-spa.qc-portal .portal-main a.qc-btn-primary:hover,
body.portal-spa.qc-staff-portal .portal-main a.portal-btn-primary:hover,
body.portal-spa.qc-staff-portal .portal-main a.qc-btn-primary:hover,
body.portal-spa.qc-staff-preview .portal-main a.portal-btn-primary:hover,
body.portal-spa.qc-staff-preview .portal-main a.qc-btn-primary:hover {
  color: #fff;
  text-decoration: none;
}

body.portal-spa.qc-portal .qc-select,
body.portal-spa.qc-staff-portal .qc-select,
body.portal-spa.qc-staff-preview .qc-select,
.qc-select {
  display: inline-block;
  max-width: 100%;
  padding: 8px 34px 8px 14px;
  border: 1px solid rgba(12, 127, 121, 0.35);
  border-radius: 999px;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #22302d;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230C7F79' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

body.portal-spa.qc-portal .qc-select:hover,
body.portal-spa.qc-staff-portal .qc-select:hover,
body.portal-spa.qc-staff-preview .qc-select:hover,
.qc-select:hover {
  border-color: #0c7f79;
  background-color: #f7f4ee;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-select:focus,
body.portal-spa.qc-staff-portal .qc-select:focus,
body.portal-spa.qc-staff-preview .qc-select:focus,
.qc-select:focus {
  outline: none;
  border-color: #0c7f79;
  box-shadow: 0 0 0 3px rgba(12, 127, 121, 0.14);
  color: #22302d;
}

body.portal-spa.qc-portal .qc-table-card,
body.portal-spa.qc-staff-portal .qc-table-card,
body.portal-spa.qc-staff-preview .qc-table-card {
  padding: 0;
  overflow-x: auto;
  margin-top: 12px;
}

body.portal-spa.qc-portal .qc-table-card--compact,
body.portal-spa.qc-staff-portal .qc-table-card--compact,
body.portal-spa.qc-staff-preview .qc-table-card--compact {
  max-width: 360px;
}

body.portal-spa.qc-portal .qc-table,
body.portal-spa.qc-staff-portal .qc-table,
body.portal-spa.qc-staff-preview .qc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 14px;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-table--orders,
body.portal-spa.qc-staff-portal .qc-table--orders,
body.portal-spa.qc-staff-preview .qc-table--orders {
  min-width: 640px;
}

body.portal-spa.qc-portal .qc-table thead tr,
body.portal-spa.qc-staff-portal .qc-table thead tr,
body.portal-spa.qc-staff-preview .qc-table thead tr {
  background: #f1ede5;
  text-align: left;
}

body.portal-spa.qc-portal .qc-table th,
body.portal-spa.qc-staff-portal .qc-table th,
body.portal-spa.qc-staff-preview .qc-table th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7a77;
}

body.portal-spa.qc-portal .qc-table td,
body.portal-spa.qc-staff-portal .qc-table td,
body.portal-spa.qc-staff-preview .qc-table td {
  padding: 14px;
  border-top: 1px solid rgba(34, 48, 45, 0.08);
  vertical-align: top;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-table tbody tr,
body.portal-spa.qc-staff-portal .qc-table tbody tr,
body.portal-spa.qc-staff-preview .qc-table tbody tr {
  transition: background 0.15s ease;
}

body.portal-spa.qc-portal .qc-table tbody tr:hover,
body.portal-spa.qc-staff-portal .qc-table tbody tr:hover,
body.portal-spa.qc-staff-preview .qc-table tbody tr:hover {
  background: rgba(12, 127, 121, 0.06);
}

body.portal-spa.qc-portal .qc-table tbody tr:hover td,
body.portal-spa.qc-staff-portal .qc-table tbody tr:hover td,
body.portal-spa.qc-staff-preview .qc-table tbody tr:hover td,
body.portal-spa.qc-portal .qc-table tbody tr:hover th,
body.portal-spa.qc-staff-portal .qc-table tbody tr:hover th,
body.portal-spa.qc-staff-preview .qc-table tbody tr:hover th,
body.portal-spa.qc-portal .qc-table tbody tr:hover strong,
body.portal-spa.qc-staff-portal .qc-table tbody tr:hover strong,
body.portal-spa.qc-staff-preview .qc-table tbody tr:hover strong,
body.portal-spa.qc-portal .qc-table tbody tr:hover a,
body.portal-spa.qc-staff-portal .qc-table tbody tr:hover a,
body.portal-spa.qc-staff-preview .qc-table tbody tr:hover a {
  color: #22302d;
}

body.portal-spa.qc-portal .qc-table__ref-id,
body.portal-spa.qc-staff-portal .qc-table__ref-id,
body.portal-spa.qc-staff-preview .qc-table__ref-id {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-table__meta,
body.portal-spa.qc-staff-portal .qc-table__meta,
body.portal-spa.qc-staff-preview .qc-table__meta {
  font-size: 12px;
  color: #6b7a77;
  margin-top: 4px;
  line-height: 1.4;
}

body.portal-spa.qc-portal .qc-table__primary,
body.portal-spa.qc-staff-portal .qc-table__primary,
body.portal-spa.qc-staff-preview .qc-table__primary {
  font-weight: 500;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-table__items,
body.portal-spa.qc-staff-portal .qc-table__items,
body.portal-spa.qc-staff-preview .qc-table__items {
  font-size: 13px;
  line-height: 1.45;
  color: #4c5b58;
}

body.portal-spa.qc-portal .qc-table__total,
body.portal-spa.qc-staff-portal .qc-table__total,
body.portal-spa.qc-staff-preview .qc-table__total {
  font-weight: 600;
  color: #0c7f79;
  white-space: nowrap;
}

body.portal-spa.qc-portal .qc-table__status,
body.portal-spa.qc-staff-portal .qc-table__status,
body.portal-spa.qc-staff-preview .qc-table__status {
  min-width: 148px;
}

body.portal-spa.qc-portal .qc-table__th-right,
body.portal-spa.qc-staff-portal .qc-table__th-right,
body.portal-spa.qc-staff-preview .qc-table__th-right,
body.portal-spa.qc-portal .qc-table__qty,
body.portal-spa.qc-staff-portal .qc-table__qty,
body.portal-spa.qc-staff-preview .qc-table__qty {
  text-align: right;
}

body.portal-spa.qc-portal .qc-table__qty,
body.portal-spa.qc-staff-portal .qc-table__qty,
body.portal-spa.qc-staff-preview .qc-table__qty {
  font-weight: 600;
}

body.portal-spa.qc-portal .qc-table__qty--ok,
body.portal-spa.qc-staff-portal .qc-table__qty--ok,
body.portal-spa.qc-staff-preview .qc-table__qty--ok {
  color: #0c7f79;
}

body.portal-spa.qc-portal .qc-table__qty--low,
body.portal-spa.qc-staff-portal .qc-table__qty--low,
body.portal-spa.qc-staff-preview .qc-table__qty--low {
  color: #b4802a;
}

body.portal-spa.qc-portal .qc-table__sku,
body.portal-spa.qc-staff-portal .qc-table__sku,
body.portal-spa.qc-staff-preview .qc-table__sku {
  font-weight: 500;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-table__empty,
body.portal-spa.qc-staff-portal .qc-table__empty,
body.portal-spa.qc-staff-preview .qc-table__empty {
  padding: 20px 14px;
}

/* UAT-11/12: long nav scrolls; brand + logout footer always visible in viewport */
body.portal-spa.qc-portal .portal-aside,
body.portal-spa.qc-staff-portal .portal-aside,
body.portal-spa.qc-staff-preview .portal-aside {
  overflow: hidden;
  min-height: 0;
  max-height: 100vh;
}

body.portal-spa.qc-portal .portal-brand,
body.portal-spa.qc-staff-portal .portal-brand,
body.portal-spa.qc-staff-preview .portal-brand {
  flex-shrink: 0;
}

body.portal-spa.qc-portal .portal-nav,
body.portal-spa.qc-staff-portal .portal-nav,
body.portal-spa.qc-staff-preview .portal-nav {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

/* Staff sidebar nav: transparent track, subtle cream thumb on dark aside */
body.portal-spa.qc-staff-portal .portal-nav,
body.portal-spa.qc-staff-preview .portal-nav {
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 244, 238, 0.35) transparent;
}

body.portal-spa.qc-staff-portal .portal-nav::-webkit-scrollbar,
body.portal-spa.qc-staff-preview .portal-nav::-webkit-scrollbar {
  width: 8px;
}

body.portal-spa.qc-staff-portal .portal-nav::-webkit-scrollbar-track,
body.portal-spa.qc-staff-preview .portal-nav::-webkit-scrollbar-track {
  background: transparent;
}

body.portal-spa.qc-staff-portal .portal-nav::-webkit-scrollbar-thumb,
body.portal-spa.qc-staff-preview .portal-nav::-webkit-scrollbar-thumb {
  background-color: rgba(247, 244, 238, 0.35);
  border-radius: 4px;
}

body.portal-spa.qc-staff-portal .portal-nav::-webkit-scrollbar-thumb:hover,
body.portal-spa.qc-staff-preview .portal-nav::-webkit-scrollbar-thumb:hover {
  background-color: rgba(247, 244, 238, 0.5);
}

body.portal-spa.qc-portal .portal-aside-footer,
body.portal-spa.qc-staff-portal .portal-aside-footer,
body.portal-spa.qc-staff-preview .portal-aside-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 12px 8px 0;
}

body.portal-spa.qc-staff-portal .qc-staff-sidebar,
body.portal-spa.qc-staff-preview .qc-staff-sidebar {
  width: 250px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
}

body.portal-spa.qc-staff-portal .qc-staff-main .qc-staff-toast,
body.portal-spa.qc-staff-preview .qc-staff-main .qc-staff-toast {
  display: none;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 13px;
  background: #DCE7E0;
  border: 1px solid rgba(12, 127, 121, 0.25);
  color: #1d4a41;
  font-size: 14.5px;
  line-height: 1.45;
}

body.portal-spa.qc-staff-portal .qc-staff-main .qc-staff-toast.is-visible,
body.portal-spa.qc-staff-preview .qc-staff-main .qc-staff-toast.is-visible {
  display: block;
  animation: qc-toast-in 220ms ease;
}

@keyframes qc-toast-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Staff dog record — sessions, report cards, payments lists (STAFF-CONSOLE §13) */
body.portal-spa.qc-portal .qc-dog-record-card,
body.portal-spa.qc-staff-portal .qc-dog-record-card,
body.portal-spa.qc-staff-preview .qc-dog-record-card {
  padding: 22px 24px;
  margin-bottom: 18px;
}

body.portal-spa.qc-portal .qc-dog-record__kicker,
body.portal-spa.qc-staff-portal .qc-dog-record__kicker,
body.portal-spa.qc-staff-preview .qc-dog-record__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7a77;
  margin: 0 0 12px;
}

body.portal-spa.qc-portal .qc-dog-record__subkicker,
body.portal-spa.qc-staff-portal .qc-dog-record__subkicker,
body.portal-spa.qc-staff-preview .qc-dog-record__subkicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7a77;
  margin: 18px 0 8px;
}

body.portal-spa.qc-portal .qc-dog-record-list,
body.portal-spa.qc-staff-portal .qc-dog-record-list,
body.portal-spa.qc-staff-preview .qc-dog-record-list {
  display: flex;
  flex-direction: column;
}

body.portal-spa.qc-portal .qc-dog-record-row,
body.portal-spa.qc-staff-portal .qc-dog-record-row,
body.portal-spa.qc-staff-preview .qc-dog-record-row,
body.portal-spa.qc-portal .qc-btn-record-row,
body.portal-spa.qc-staff-portal .qc-btn-record-row,
body.portal-spa.qc-staff-preview .qc-btn-record-row,
body.portal-spa.qc-portal .qc-dog-record-row-btn,
body.portal-spa.qc-staff-portal .qc-dog-record-row-btn,
body.portal-spa.qc-staff-preview .qc-dog-record-row-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(34, 48, 45, 0.08);
}

body.portal-spa.qc-portal .qc-btn-record-row,
body.portal-spa.qc-staff-portal .qc-btn-record-row,
body.portal-spa.qc-staff-preview .qc-btn-record-row,
body.portal-spa.qc-portal .qc-dog-record-row-btn,
body.portal-spa.qc-staff-portal .qc-dog-record-row-btn,
body.portal-spa.qc-staff-preview .qc-dog-record-row-btn {
  width: 100%;
  margin: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  border-radius: 0;
  transition: background 0.15s ease;
}

body.portal-spa.qc-portal .qc-dog-record-row-btn:hover,
body.portal-spa.qc-staff-portal .qc-dog-record-row-btn:hover,
body.portal-spa.qc-staff-preview .qc-dog-record-row-btn:hover {
  background: rgba(12, 127, 121, 0.06);
}

body.portal-spa.qc-portal .qc-dog-record-row__when,
body.portal-spa.qc-staff-portal .qc-dog-record-row__when,
body.portal-spa.qc-staff-preview .qc-dog-record-row__when {
  flex-shrink: 0;
  min-width: 120px;
  max-width: 38%;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-dog-record-row__body,
body.portal-spa.qc-staff-portal .qc-dog-record-row__body,
body.portal-spa.qc-staff-preview .qc-dog-record-row__body {
  flex: 1;
  min-width: 0;
}

body.portal-spa.qc-portal .qc-dog-record-row__title,
body.portal-spa.qc-staff-portal .qc-dog-record-row__title,
body.portal-spa.qc-staff-preview .qc-dog-record-row__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-dog-record-row__meta,
body.portal-spa.qc-staff-portal .qc-dog-record-row__meta,
body.portal-spa.qc-staff-preview .qc-dog-record-row__meta {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: #6b7a77;
  margin-top: 2px;
}

body.portal-spa.qc-portal .qc-dog-record-row__pill,
body.portal-spa.qc-staff-portal .qc-dog-record-row__pill,
body.portal-spa.qc-staff-preview .qc-dog-record-row__pill {
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 900px) {
  body.portal-spa.qc-staff-portal [data-qc-in-today-panel],
  body.portal-spa.qc-staff-preview [data-qc-in-today-panel],
  body.portal-spa.qc-staff-portal .portal-aside-footer,
  body.portal-spa.qc-staff-preview .portal-aside-footer {
    display: none;
  }

  body.portal-spa.qc-portal .qc-dog-record-row,
  body.portal-spa.qc-staff-portal .qc-dog-record-row,
  body.portal-spa.qc-staff-preview .qc-dog-record-row,
  body.portal-spa.qc-portal .qc-dog-record-row-btn,
  body.portal-spa.qc-staff-portal .qc-dog-record-row-btn,
  body.portal-spa.qc-staff-preview .qc-dog-record-row-btn {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  body.portal-spa.qc-portal .qc-dog-record-row__when,
  body.portal-spa.qc-staff-portal .qc-dog-record-row__when,
  body.portal-spa.qc-staff-preview .qc-dog-record-row__when {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  body.portal-spa.qc-portal .qc-dog-record-row__pill,
  body.portal-spa.qc-staff-portal .qc-dog-record-row__pill,
  body.portal-spa.qc-staff-preview .qc-dog-record-row__pill {
    margin-left: 0;
  }
}

/* Staff shop packing slip — print only the slip, not portal chrome */
@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }

  body.portal-spa.qc-staff-portal:has([data-qc-slip-overlay]),
  body.portal-spa.qc-staff-preview:has([data-qc-slip-overlay]) {
    background: #fff !important;
  }

  body.portal-spa.qc-staff-portal:has([data-qc-slip-overlay]) .portal-aside,
  body.portal-spa.qc-staff-preview:has([data-qc-slip-overlay]) .portal-aside,
  body.portal-spa.qc-staff-portal:has([data-qc-slip-overlay]) .portal-main > *:not([data-qc-slip-overlay]),
  body.portal-spa.qc-staff-preview:has([data-qc-slip-overlay]) .portal-main > *:not([data-qc-slip-overlay]) {
    display: none !important;
  }

  body.portal-spa.qc-staff-portal:has([data-qc-slip-overlay]) [data-qc-slip-overlay],
  body.portal-spa.qc-staff-preview:has([data-qc-slip-overlay]) [data-qc-slip-overlay] {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: auto !important;
    page-break-after: avoid;
    break-after: avoid-page;
  }

  body.portal-spa.qc-staff-portal:has([data-qc-slip-overlay]) .qc-packing-slip-print,
  body.portal-spa.qc-staff-preview:has([data-qc-slip-overlay]) .qc-packing-slip-print {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    break-inside: avoid-page;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body.portal-spa.qc-staff-portal:has([data-qc-slip-overlay]) #qc-slip-actions,
  body.portal-spa.qc-staff-preview:has([data-qc-slip-overlay]) #qc-slip-actions {
    display: none !important;
  }
}

/* Shop products table — Edit / Hide action pills */
.qc-shop-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.qc-shop-action-btn.qc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 48, 45, 0.35);
  background: #fff;
  box-shadow: none;
  color: #22302d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.qc-shop-action-btn.qc-btn:hover {
  background: #fff;
  border-color: rgba(34, 48, 45, 0.55);
}

.qc-shop-action-btn--muted.qc-btn {
  border-color: rgba(34, 48, 45, 0.18);
  color: #8a9795;
  font-weight: 400;
}

.qc-shop-action-btn--muted.qc-btn:hover {
  border-color: rgba(34, 48, 45, 0.3);
  color: #6b7a77;
  background: #fff;
}

/* Shop product editor — full-page card grid */
.qc-shop-product-edit {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4px 32px;
}

.qc-shop-product-edit__back {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 0;
  border: none;
  background: none;
  color: #0c7f79;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.qc-shop-product-edit__back:hover {
  color: #095c58;
  text-decoration: underline;
}

.qc-shop-product-edit__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.qc-shop-product-edit__header-main {
  flex: 1;
  min-width: 240px;
}

.qc-shop-product-edit__eyebrow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: #0c7f79;
  line-height: 1.2;
  margin-bottom: 6px;
}

.qc-shop-product-edit__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 10px;
  color: #22302d;
}

.qc-shop-product-edit__subtext {
  margin: 0;
  max-width: 36rem;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: #6b7a77;
}

.qc-shop-product-edit__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.qc-shop-product-edit__discard.qc-btn-ghost {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
}

.qc-shop-product-edit__save.portal-btn-primary {
  padding: 12px 24px;
  font-size: 14px;
}

.qc-shop-product-edit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 960px) {
  .qc-shop-product-edit__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .qc-shop-product-edit__grid {
    grid-template-columns: 1fr;
  }

  .qc-shop-product-edit__header-actions {
    width: 100%;
  }

  .qc-shop-product-edit__discard,
  .qc-shop-product-edit__save {
    flex: 1;
    text-align: center;
  }
}

.qc-shop-product-edit__card {
  padding: 20px 22px 22px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qc-shop-product-edit__card-label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7a77;
  font-weight: 500;
}

.qc-shop-product-edit__field + .qc-shop-product-edit__field {
  margin-top: 4px;
}

.qc-shop-product-edit__label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7a77;
  margin-bottom: 8px;
}

.qc-shop-product-edit__input,
.qc-shop-product-edit__select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(34, 48, 45, 0.18);
  box-sizing: border-box;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #22302d;
}

.qc-shop-product-edit__textarea {
  min-height: 88px;
  resize: vertical;
}

.qc-shop-product-edit__helper {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
  color: #8a9795;
}

.qc-shop-product-edit__photo-row {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.qc-shop-product-edit__thumb {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f2eee6;
  border: 1px solid rgba(34, 48, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qc-shop-product-edit__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qc-shop-product-edit__thumb-empty {
  font-size: 11px;
  color: #8a9795;
  text-align: center;
  padding: 8px;
  line-height: 1.3;
}

.qc-shop-product-edit__drop {
  flex: 1;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 2px dashed rgba(34, 48, 45, 0.22);
  border-radius: 14px;
  background: #faf8f4;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.qc-shop-product-edit__drop:hover,
.qc-shop-product-edit__drop.is-dragover {
  border-color: #0c7f79;
  background: #f1f8f7;
}

.qc-shop-product-edit__drop-text {
  font-size: 14px;
  font-weight: 400;
  color: #6b7a77;
}

.qc-shop-product-edit__remove-photo {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: none;
  color: #0c7f79;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.qc-shop-product-edit__remove-photo:hover {
  color: #095c58;
}

.qc-shop-product-edit__remove-photo[hidden] {
  display: none;
}

.qc-shop-product-edit__toggle-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.qc-shop-product-edit__toggle {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(34, 48, 45, 0.18);
  background: #f1ede5;
  color: #6b7a77;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.qc-shop-product-edit__toggle:hover {
  border-color: rgba(34, 48, 45, 0.28);
}

.qc-shop-product-edit__toggle.is-active.is-live {
  background: #dce7e0;
  border-color: rgba(12, 127, 121, 0.35);
  color: #1d4a41;
}

.qc-shop-product-edit__toggle.is-active:not(.is-live) {
  background: #ede8df;
  border-color: rgba(34, 48, 45, 0.22);
  color: #4c5b58;
}
/* Shop products table */
body.portal-spa.qc-staff-portal .qc-table--products,
body.portal-spa.qc-staff-preview .qc-table--products {
  min-width: 760px;
}

body.portal-spa.qc-staff-portal .qc-shop-products-card,
body.portal-spa.qc-staff-preview .qc-shop-products-card {
  border-radius: 18px;
  overflow: hidden;
}

body.portal-spa.qc-staff-portal .qc-table--products td,
body.portal-spa.qc-staff-preview .qc-table--products td {
  vertical-align: middle;
  padding: 16px 14px;
}

body.portal-spa.qc-staff-portal .qc-shop-table-check,
body.portal-spa.qc-staff-preview .qc-shop-table-check {
  width: 44px;
}

body.portal-spa.qc-staff-portal .qc-shop-order-btns,
body.portal-spa.qc-staff-preview .qc-shop-order-btns {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.portal-spa.qc-staff-portal .qc-shop-order-btn,
body.portal-spa.qc-staff-preview .qc-shop-order-btn {
  padding: 2px 8px;
  min-width: 0;
  font-size: 11px;
  line-height: 1;
  border-radius: 6px;
}

body.portal-spa.qc-staff-portal .qc-shop-product-cell,
body.portal-spa.qc-staff-preview .qc-shop-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.portal-spa.qc-staff-portal .qc-shop-product-copy,
body.portal-spa.qc-staff-preview .qc-shop-product-copy {
  min-width: 0;
}

body.portal-spa.qc-staff-portal .qc-shop-product-name,
body.portal-spa.qc-staff-preview .qc-shop-product-name {
  font-weight: 600;
  color: #22302d;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.portal-spa.qc-staff-portal .qc-shop-product-colours,
body.portal-spa.qc-staff-preview .qc-shop-product-colours {
  font-size: 12px;
  margin-top: 3px;
  line-height: 1.35;
}

body.portal-spa.qc-staff-portal .qc-shop-cat-select,
body.portal-spa.qc-staff-preview .qc-shop-cat-select {
  appearance: none;
  padding: 6px 28px 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 48, 45, 0.15);
  background: #f7f4ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7a77' d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  font-family: inherit;
  font-size: 13px;
  color: #22302d;
  cursor: pointer;
  max-width: 100%;
}

body.portal-spa.qc-staff-portal .qc-shop-cat-select:focus,
body.portal-spa.qc-staff-preview .qc-shop-cat-select:focus {
  outline: none;
  border-color: #0c7f79;
  box-shadow: 0 0 0 3px rgba(12, 127, 121, 0.14);
}

body.portal-spa.qc-staff-portal .qc-shop-table-price,
body.portal-spa.qc-staff-preview .qc-shop-table-price {
  font-weight: 500;
  white-space: nowrap;
}

body.portal-spa.qc-staff-portal .qc-shop-stock-stepper,
body.portal-spa.qc-staff-preview .qc-shop-stock-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.portal-spa.qc-staff-portal .qc-shop-stock-btn,
body.portal-spa.qc-staff-preview .qc-shop-stock-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  min-width: 0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.portal-spa.qc-staff-portal .qc-shop-stock-value,
body.portal-spa.qc-staff-preview .qc-shop-stock-value {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

body.portal-spa.qc-staff-portal .qc-shop-status,
body.portal-spa.qc-staff-preview .qc-shop-status {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

body.portal-spa.qc-staff-portal .qc-shop-status--live,
body.portal-spa.qc-staff-preview .qc-shop-status--live {
  background: rgba(12, 127, 121, 0.14);
  color: #0c7f79;
}

body.portal-spa.qc-staff-portal .qc-shop-status--low,
body.portal-spa.qc-staff-preview .qc-shop-status--low {
  background: rgba(180, 128, 42, 0.16);
  color: #b4802a;
}

body.portal-spa.qc-staff-portal .qc-shop-status--hidden,
body.portal-spa.qc-staff-preview .qc-shop-status--hidden {
  background: rgba(107, 122, 119, 0.14);
  color: #6b7a77;
}

body.portal-spa.qc-staff-portal .qc-shop-table-footer,
body.portal-spa.qc-staff-preview .qc-shop-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

body.portal-spa.qc-staff-portal .qc-shop-table-range,
body.portal-spa.qc-staff-preview .qc-shop-table-range {
  font-size: 14px;
}

body.portal-spa.qc-staff-portal .qc-shop-pagination,
body.portal-spa.qc-staff-preview .qc-shop-pagination {
  display: flex;
  gap: 8px;
}

body.portal-spa.qc-staff-portal .qc-shop-page-btn,
body.portal-spa.qc-staff-preview .qc-shop-page-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
}

body.portal-spa.qc-staff-portal .qc-shop-page-btn:disabled,
body.portal-spa.qc-staff-preview .qc-shop-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Customer portal — courses */
body.portal-spa.qc-portal .qc-courses-page {
  max-width: 820px;
}

body.portal-spa.qc-portal .qc-courses-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

body.portal-spa.qc-portal .qc-courses-kicker {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: #0c7f79;
  line-height: 1;
}

body.portal-spa.qc-portal .qc-courses-title {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 2px 0 0;
}

body.portal-spa.qc-portal .qc-courses-dog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.portal-spa.qc-portal .qc-courses-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #4c5b58;
  font-weight: 300;
  margin: 0 0 22px;
  max-width: 60ch;
}

body.portal-spa.qc-portal .qc-course-enrolled-card {
  background: #22302d;
  color: #f7f4ee;
  border-radius: 20px;
  padding: 24px 26px;
  margin-bottom: 16px;
}

body.portal-spa.qc-portal .qc-course-enrolled-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 18px;
}

body.portal-spa.qc-portal .qc-course-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a9c3b6;
  margin-bottom: 8px;
}

body.portal-spa.qc-portal .qc-course-enrolled-title {
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: #f7f4ee;
}

body.portal-spa.qc-portal .qc-course-enrolled-meta {
  font-size: 14.5px;
  color: rgba(247, 244, 238, 0.72);
  font-weight: 300;
  margin-top: 4px;
}

body.portal-spa.qc-portal .qc-course-collapse-btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: right;
}

body.portal-spa.qc-portal .qc-course-progress-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

body.portal-spa.qc-portal .qc-course-progress-label {
  display: block;
  font-size: 13px;
  color: rgba(247, 244, 238, 0.6);
  font-weight: 300;
  margin-top: 2px;
}

body.portal-spa.qc-portal .qc-course-chevron {
  width: 10px;
  height: 10px;
  margin-top: 10px;
  border-right: 2px solid rgba(247, 244, 238, 0.55);
  border-bottom: 2px solid rgba(247, 244, 238, 0.55);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

body.portal-spa.qc-portal .qc-course-chevron.is-collapsed {
  transform: rotate(-135deg);
  margin-top: 14px;
}

body.portal-spa.qc-portal .qc-course-week-list.is-collapsed {
  display: none;
}

body.portal-spa.qc-portal .qc-course-week-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 11px 0;
  border-top: 1px solid rgba(247, 244, 238, 0.13);
}

body.portal-spa.qc-portal .qc-course-week-tick {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: rgba(247, 244, 238, 0.12);
  color: rgba(247, 244, 238, 0.75);
}

body.portal-spa.qc-portal .qc-course-week-tick.is-done {
  background: #a9c3b6;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-course-week-body {
  flex: 1;
  min-width: 0;
}

body.portal-spa.qc-portal .qc-course-week-title {
  font-size: 15px;
  font-weight: 500;
}

body.portal-spa.qc-portal .qc-course-week-sub {
  font-size: 13px;
  color: rgba(247, 244, 238, 0.62);
  font-weight: 300;
  margin-top: 2px;
}

body.portal-spa.qc-portal .qc-course-week-date {
  font-size: 13px;
  color: #a9c3b6;
  white-space: nowrap;
}

body.portal-spa.qc-portal .qc-course-enrolled-foot {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

body.portal-spa.qc-portal .qc-course-leave-btn {
  background: none !important;
  border: 1px solid rgba(247, 244, 238, 0.28) !important;
  color: rgba(247, 244, 238, 0.8) !important;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
}

body.portal-spa.qc-portal .qc-course-leave-btn:hover {
  background: rgba(247, 244, 238, 0.08) !important;
  border-color: rgba(247, 244, 238, 0.4) !important;
}

body.portal-spa.qc-portal .qc-course-cert-btn {
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  background: #b4802a;
}

body.portal-spa.qc-portal .qc-courses-open-label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7a77;
  margin: 26px 0 12px;
}

body.portal-spa.qc-portal .qc-courses-open-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

body.portal-spa.qc-portal .qc-course-open-card {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.1);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.portal-spa.qc-portal .qc-course-open-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

body.portal-spa.qc-portal .qc-course-open-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  margin: 0;
}

body.portal-spa.qc-portal .qc-course-open-price {
  font-size: 17px;
  font-weight: 500;
  color: #0c7f79;
  white-space: nowrap;
}

body.portal-spa.qc-portal .qc-course-open-sub,
body.portal-spa.qc-portal .qc-course-open-meta,
body.portal-spa.qc-portal .qc-course-open-spaces {
  font-size: 14px;
  color: #4c5b58;
  font-weight: 300;
  margin: 0;
}

body.portal-spa.qc-portal .qc-course-open-meta,
body.portal-spa.qc-portal .qc-course-open-spaces {
  font-size: 13.5px;
  color: #6b7a77;
}

body.portal-spa.qc-portal .qc-course-open-spaces {
  margin-bottom: 8px;
}

body.portal-spa.qc-portal .qc-course-open-why {
  font-size: 13px;
  color: #6b7a77;
  line-height: 1.5;
  margin: 0 0 4px;
}

body.portal-spa.qc-portal .qc-course-book-btn,
body.portal-spa.qc-portal .qc-course-waitlist-btn {
  margin-top: auto;
  border-radius: 999px;
  padding: 13px 18px;
  font-size: 14.5px;
  width: 100%;
  text-align: center;
}

body.portal-spa.qc-portal .qc-course-book-btn.is-disabled,
body.portal-spa.qc-portal .qc-course-waitlist-btn.is-disabled {
  background: rgba(34, 48, 45, 0.08);
  color: #6b7a77;
  cursor: default;
}

body.portal-spa.qc-portal .qc-checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34, 48, 45, 0.45);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

body.portal-spa.qc-portal .qc-checkout-card {
  width: min(440px, 100%);
  padding: 24px;
  max-height: 90vh;
  overflow: auto;
}

body.portal-spa.qc-portal .qc-checkout-summary {
  background: #f7f4ee;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

body.portal-spa.qc-portal .qc-checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  padding: 8px 0;
  border-top: 1px solid rgba(34, 48, 45, 0.08);
}

/* Payments page */
body.portal-spa.qc-portal .qc-payments-page {
  max-width: 900px;
}

body.portal-spa.qc-portal .qc-payments-title {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

body.portal-spa.qc-portal .qc-payments-lead {
  margin: 0 0 20px;
  font-size: 16.5px;
  color: #6b7a77;
  font-weight: 300;
  line-height: 1.55;
}

body.portal-spa.qc-portal .qc-payments-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

body.portal-spa.qc-portal .qc-payments-stat {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.09);
  border-radius: 18px;
  padding: 19px 22px;
}

body.portal-spa.qc-portal .qc-payments-stat--outstanding {
  background: #dce7e0;
  border-color: rgba(12, 127, 121, 0.22);
}

body.portal-spa.qc-portal .qc-payments-stat-label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7a77;
  margin-bottom: 8px;
}

body.portal-spa.qc-portal .qc-payments-stat--outstanding .qc-payments-stat-label {
  color: #1d4a41;
}

body.portal-spa.qc-portal .qc-payments-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

body.portal-spa.qc-portal .qc-payments-stat--outstanding .qc-payments-stat-value {
  color: #1d4a41;
}

body.portal-spa.qc-portal .qc-payments-stat-sub {
  font-size: 14px;
  color: #6b7a77;
  font-weight: 300;
  margin-top: 4px;
}

body.portal-spa.qc-portal .qc-payments-stat--outstanding .qc-payments-stat-sub {
  color: #2c5c53;
}

body.portal-spa.qc-portal .qc-payments-table-wrap {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.09);
  border-radius: 20px;
  overflow-x: auto;
}

body.portal-spa.qc-portal .qc-payments-table {
  min-width: 640px;
}

body.portal-spa.qc-portal .qc-payments-head,
body.portal-spa.qc-portal .qc-payments-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 96px 100px 78px;
  gap: 16px;
  padding: 16px 24px;
  align-items: center;
  font-size: 15px;
}

body.portal-spa.qc-portal .qc-payments-head {
  padding: 14px 24px;
  background: #f1ede5;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7a77;
}

body.portal-spa.qc-portal .qc-payments-row {
  border-top: 1px solid rgba(34, 48, 45, 0.07);
}

body.portal-spa.qc-portal .qc-payments-date {
  font-weight: 500;
}

body.portal-spa.qc-portal .qc-payments-what,
body.portal-spa.qc-portal .qc-payments-method {
  font-weight: 300;
  color: #4c5b58;
}

body.portal-spa.qc-portal .qc-payments-method {
  font-size: 14px;
}

body.portal-spa.qc-portal .qc-payments-amount {
  font-weight: 500;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-payments-amount.is-refund {
  color: #8c3323;
}

body.portal-spa.qc-portal .qc-payments-receipt {
  text-align: right;
}

body.portal-spa.qc-portal .qc-payments-receipt-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  color: #0c7f79;
  cursor: pointer;
  font-family: inherit;
}

body.portal-spa.qc-portal .qc-payments-receipt-btn:hover {
  text-decoration: underline;
}

/* Receipt modal */
@keyframes qc-pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

body.portal-spa.qc-portal .qc-receipt-overlay {
  position: fixed;
  inset: 0;
  z-index: 920;
  background: rgba(20, 28, 26, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

body.portal-spa.qc-portal .qc-receipt-modal {
  background: #fff;
  border-radius: 22px;
  padding: 30px 32px;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow: auto;
  animation: qc-pop 0.22s ease-out;
}

body.portal-spa.qc-portal .qc-receipt-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

body.portal-spa.qc-portal .qc-receipt-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7a77;
  margin-bottom: 5px;
}

body.portal-spa.qc-portal .qc-receipt-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-receipt-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

body.portal-spa.qc-portal .qc-receipt-logo-fallback {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #0c7f79;
  color: #f7f4ee;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  align-items: center;
  justify-content: center;
}

body.portal-spa.qc-portal .qc-receipt-paid-line {
  font-size: 14.5px;
  color: #6b7a77;
  font-weight: 300;
  margin: 0 0 18px;
  line-height: 1.5;
}

body.portal-spa.qc-portal .qc-receipt-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(34, 48, 45, 0.1);
  padding-top: 16px;
}

body.portal-spa.qc-portal .qc-receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

body.portal-spa.qc-portal .qc-receipt-line-desc {
  font-weight: 300;
  color: #4c5b58;
}

body.portal-spa.qc-portal .qc-receipt-line-amt {
  font-weight: 500;
  flex-shrink: 0;
}

body.portal-spa.qc-portal .qc-receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(34, 48, 45, 0.1);
  margin-top: 16px;
  padding-top: 16px;
  align-items: baseline;
  font-size: 16px;
}

body.portal-spa.qc-portal .qc-receipt-total strong {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #0c7f79;
}

body.portal-spa.qc-portal .qc-receipt-foot {
  font-size: 12.5px;
  line-height: 1.55;
  color: #8a9795;
  font-weight: 300;
  margin: 16px 0 0;
}

body.portal-spa.qc-portal .qc-receipt-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

body.portal-spa.qc-portal .qc-receipt-print-btn {
  border-radius: 999px;
  padding: 14px 22px;
}

body.portal-spa.qc-portal .qc-receipt-actions .qc-btn-ghost {
  border-radius: 999px;
  padding: 14px 20px;
}

@media print {
  body.portal-spa.qc-portal .qc-receipt-overlay {
    position: static;
    background: none;
    padding: 0;
  }

  body.portal-spa.qc-portal .qc-receipt-modal {
    box-shadow: none;
    max-width: none;
    max-height: none;
    padding: 0;
  }

  body.portal-spa.qc-portal .qc-receipt-actions {
    display: none;
  }

  body.portal-spa.qc-portal .portal-aside,
  body.portal-spa.qc-portal .portal-preview-banner,
  body.portal-spa.qc-portal .qc-payments-page > :not(.qc-receipt-overlay) {
    display: none !important;
  }
}

/* Vet and emergency — customer care form */
body.portal-spa.qc-portal .qc-care-page {
  max-width: 760px;
}

body.portal-spa.qc-portal .qc-care-kicker {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: #0c7f79;
  line-height: 1;
  margin: 0 0 2px;
}

body.portal-spa.qc-portal .qc-care-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #4c5b58;
  font-weight: 300;
  margin: 0 0 24px;
  max-width: 60ch;
}

body.portal-spa.qc-portal .qc-care-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.portal-spa.qc-portal .qc-care-card {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.1);
  border-radius: 20px;
  padding: 24px 26px;
}

body.portal-spa.qc-portal .qc-care-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7a77;
  margin: 0 0 16px;
  font-weight: 500;
}

body.portal-spa.qc-portal .qc-care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

body.portal-spa.qc-portal .qc-care-field {
  display: block;
}

body.portal-spa.qc-portal .qc-care-label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7a77;
  margin-bottom: 7px;
}

body.portal-spa.qc-portal .qc-care-input {
  width: 100%;
  box-sizing: border-box;
  background: #f7f4ee;
  border: 1px solid rgba(34, 48, 45, 0.14);
  border-radius: 12px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 15px;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-care-input:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

body.portal-spa.qc-portal .qc-care-textarea {
  resize: vertical;
  min-height: 72px;
}

body.portal-spa.qc-portal .qc-care-consent {
  margin-top: 18px;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14.5px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(34, 48, 45, 0.18);
  color: #4c5b58;
}

body.portal-spa.qc-portal .qc-care-consent.is-on {
  background: #0c7f79;
  color: #fff;
  border: none;
}

body.portal-spa.qc-portal .qc-care-medical-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.portal-spa.qc-portal .qc-care-medical-name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 7px;
}

body.portal-spa.qc-portal .qc-care-save-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

body.portal-spa.qc-portal .qc-care-save-btn {
  padding: 15px 26px;
  font-size: 15.5px;
  font-weight: 500;
}

body.portal-spa.qc-portal .qc-care-saved {
  font-size: 13.5px;
  color: #6b7a77;
  font-weight: 300;
}

body.portal-spa.qc-portal .qc-care-readonly-note {
  margin-top: 20px;
  font-size: 14px;
}

/* Records & agreements — customer portal */
body.portal-spa.qc-portal .qc-records-screen {
  max-width: 900px;
}

body.portal-spa.qc-portal .qc-records-alert {
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

body.portal-spa.qc-portal .qc-records-alert__text {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.45;
}

body.portal-spa.qc-portal .qc-records-alert--danger {
  background: #f8e3e0;
  border: 1px solid #e0a79e;
  color: #6e2b20;
}

body.portal-spa.qc-portal .qc-records-alert--sign {
  background: #dce7e0;
  border: 1px solid rgba(12, 127, 121, 0.3);
  color: #1d4a41;
}

body.portal-spa.qc-portal .qc-records-alert__btn {
  margin-left: auto;
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}

body.portal-spa.qc-portal .qc-records-alert__btn--danger {
  background: #8c3323;
  color: #fff;
}

body.portal-spa.qc-portal .qc-records-alert__btn--sign {
  background: #0c7f79;
  color: #fff;
}

body.portal-spa.qc-portal .qc-records-title {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

body.portal-spa.qc-portal .qc-records-subtitle {
  margin: 0 0 20px;
  font-size: 16.5px;
  color: #6b7a77;
  font-weight: 300;
  line-height: 1.5;
}

body.portal-spa.qc-portal .qc-agreement-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

body.portal-spa.qc-portal .qc-agreement-card {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.09);
  border-radius: 18px;
  padding: 20px 22px;
}

body.portal-spa.qc-portal .qc-agreement-card--unsigned {
  border-color: #e0c289;
}

body.portal-spa.qc-portal .qc-agreement-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body.portal-spa.qc-portal .qc-agreement-card__main {
  flex: 1;
  min-width: 220px;
}

body.portal-spa.qc-portal .qc-agreement-card__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

body.portal-spa.qc-portal .qc-agreement-card__name {
  font-size: 20px;
  margin: 0;
}

body.portal-spa.qc-portal .qc-agreement-version-tag {
  background: #f1ede5;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: #6b7a77;
  font-weight: 400;
  font-family: 'Jost', system-ui, sans-serif;
}

body.portal-spa.qc-portal .qc-agreement-status {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

body.portal-spa.qc-portal .qc-agreement-status--signed {
  background: #dce7e0;
  color: #1d4a41;
}

body.portal-spa.qc-portal .qc-agreement-status--unsigned {
  background: #f6e8ce;
  color: #6b4b12;
}

body.portal-spa.qc-portal .qc-agreement-card__detail {
  font-size: 14.5px;
  line-height: 1.55;
  color: #4c5b58;
  font-weight: 300;
}

body.portal-spa.qc-portal .qc-agreement-history-toggle {
  background: none;
  border: none;
  padding: 6px 0 0;
  font-size: 13.5px;
  color: #0c7f79;
  cursor: pointer;
  font-family: inherit;
  border-radius: 0;
  min-height: 0;
}

body.portal-spa.qc-portal .qc-agreement-history {
  margin-top: 10px;
  border-left: 2px solid rgba(34, 48, 45, 0.12);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

body.portal-spa.qc-portal .qc-agreement-history__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: #6b7a77;
  font-weight: 300;
  flex-wrap: wrap;
}

body.portal-spa.qc-portal .qc-agreement-history__row span:last-child {
  color: #8a9795;
}

body.portal-spa.qc-portal .qc-agreement-action {
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
}

body.portal-spa.qc-portal .qc-agreement-action--sign {
  background: #0c7f79;
  color: #fff;
}

body.portal-spa.qc-portal .qc-agreement-action--view {
  background: #f1ede5;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-records-health-heading {
  font-size: 23px;
  margin: 0 0 12px;
}

body.portal-spa.qc-portal .qc-health-record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

body.portal-spa.qc-portal .qc-health-record-card {
  border: 1px solid rgba(34, 48, 45, 0.09);
  border-radius: 18px;
  padding: 20px 22px;
}

body.portal-spa.qc-portal .qc-health-record-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

body.portal-spa.qc-portal .qc-health-record-card__name {
  font-size: 16.5px;
  font-weight: 500;
}

body.portal-spa.qc-portal .qc-health-record-badge {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

body.portal-spa.qc-portal .qc-health-record-card__detail {
  font-size: 14.5px;
  line-height: 1.55;
  color: #4c5b58;
  font-weight: 300;
  margin-bottom: 12px;
}

body.portal-spa.qc-portal .qc-health-record-card__btn {
  background: #f1ede5;
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #22302d;
  cursor: pointer;
  font-family: inherit;
}

body.portal-spa.qc-portal .qc-health-record-card__btn:hover {
  background: #e8e2d7;
}

body.portal-spa.qc-portal .qc-records-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(20, 28, 26, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

body.portal-spa.qc-portal .qc-records-modal {
  background: #f7f4ee;
  border-radius: 22px;
  padding: 28px 30px;
  width: 100%;
  max-width: 600px;
  max-height: 88vh;
  overflow: auto;
}

body.portal-spa.qc-portal .qc-records-sign-modal__ver {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7a77;
  margin-bottom: 6px;
}

body.portal-spa.qc-portal .qc-records-sign-modal__title {
  font-size: 27px;
  margin: 0 0 14px;
}

body.portal-spa.qc-portal .qc-records-sign-modal__changes {
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

body.portal-spa.qc-portal .qc-records-sign-modal__changes-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7a77;
  margin-bottom: 10px;
}

body.portal-spa.qc-portal .qc-records-sign-modal__change {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: #4c5b58;
  font-weight: 300;
}

body.portal-spa.qc-portal .qc-records-sign-modal__change span:first-child {
  color: #0c7f79;
}

body.portal-spa.qc-portal .qc-records-sign-modal__ticks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

body.portal-spa.qc-portal .qc-records-sign-tick {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(34, 48, 45, 0.12);
  border-radius: 13px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 300;
  color: #22302d;
}

body.portal-spa.qc-portal .qc-records-sign-tick.is-on {
  border-color: rgba(12, 127, 121, 0.5);
}

body.portal-spa.qc-portal .qc-records-sign-tick__box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  border: 1px solid rgba(34, 48, 45, 0.25);
  background: transparent;
}

body.portal-spa.qc-portal .qc-records-sign-tick.is-on .qc-records-sign-tick__box {
  border-color: #0c7f79;
  background: #0c7f79;
}

body.portal-spa.qc-portal .qc-records-sign-modal__name-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7a77;
  margin-bottom: 16px;
}

body.portal-spa.qc-portal .qc-records-sign-modal__name-input {
  border: 1px solid rgba(34, 48, 45, 0.18);
  border-radius: 11px;
  padding: 14px 16px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  background: #fff;
  color: #22302d;
  letter-spacing: normal;
  text-transform: none;
}

body.portal-spa.qc-portal .qc-records-sign-modal__err {
  background: #f8e3e0;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: #6e2b20;
  margin-bottom: 14px;
}

body.portal-spa.qc-portal .qc-records-sign-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

body.portal-spa.qc-portal .qc-records-sign-modal__hint {
  font-size: 13px;
  color: #8a9795;
  font-weight: 300;
  flex: 1 1 200px;
}

body.portal-spa.qc-portal .portal-btn-primary.is-disabled {
  background: #9db9b2;
  border-color: #9db9b2;
  cursor: default;
}

@media (max-width: 400px) {
  body.portal-spa.qc-portal .portal-main,
  body.portal-spa.qc-staff-portal .portal-main,
  body.portal-spa.qc-staff-preview .portal-main {
    padding: 18px 14px 48px;
  }

  body.portal-spa.qc-portal .qc-cal-month-card > div,
  body.portal-spa.qc-portal .qc-cal-month-grid,
  body.portal-spa.qc-portal .portal-card table {
    min-width: 0;
    overflow-x: auto;
  }

  body.portal-spa.qc-portal .qc-membership-page,
  body.portal-spa.qc-portal .qc-membership-grid {
    max-width: 100%;
  }
}

