/* Center everything, mobile-first */
.auth-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bs-body-bg, #f8f9fa);
}

/* Keep it nicely sized and centered */
.auth-box {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* Smaller logo on mobile */
.auth-page .centered-logo {
  width: clamp(84px, 16vw, 128px);
  height: auto;
}

/* Rounded, pretty card */
.auth-card {
  border-radius: 2rem;
  overflow: hidden;
  container-type: inline-size;
  container-name: auth;
}

.auth-card .card-body { border-radius: inherit; }

/* Container-query polish */
@container auth (max-width: 360px) {
  .auth-card .card-body { padding: 1rem 1.25rem; }
  .auth-card .form-control-lg { font-size: 0.95rem; }
  .auth-card .btn { padding-block: .7rem; }
}

@container auth (min-width: 420px) {
  .auth-card .card-body { padding: 1.5rem 1.75rem; }
}

@container auth (min-width: 560px) {
  .auth-card .card-body { padding: 2rem 2.25rem; }
  .auth-card .h4, .auth-card h1, .auth-card .card-title { font-size: 1.35rem; }
}

/* Desktop: slightly smaller inputs */
@media (min-width: 992px) {
  .auth-card .form-control-lg {
    font-size: 1rem;
    padding-top: .6rem;
    padding-bottom: .6rem;
  }
}

/* Password eye button */
.password-field { position: relative; }
.password-field .form-control { padding-right: 2.25rem; }

.password-field .password-reveal-btn {
  position: absolute;
  right: .625rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: .25rem;
  line-height: 1;
  background: transparent;
  color: #9aa0a6;
  cursor: pointer;
  transition: color .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.password-field .password-reveal-btn:hover,
.password-field .password-reveal-btn:focus,
.password-field .password-reveal-btn:focus-visible,
.password-field .password-reveal-btn:active {
  color: #6c757d;
  outline: none;
  box-shadow: none;
  border-radius: .375rem;
}

.password-field .password-reveal-btn[aria-pressed="true"] {
  color: #343a40;
}
/* ============================================
   Account Settings (scoped)
   ============================================ */

.account-settings {
  /* Tweak these two to change display size */
  --logo-w: 240px;
  --logo-h: 120px;
}

/* Layout around the logo area */
.account-settings .business-logo-wrapper-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* change to center if you want */
}

/* Fixed-size wrapper so the image can be width:100% without blur */
.account-settings .business-logo-wrapper {
  position: relative;
  width: var(--logo-w);
  min-height: var(--logo-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Final logo image (we render a large/medium src but constrain via CSS) */
.account-settings .logo-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .5rem;
  /* Avoid CSS scaling tricks that cause blur */
  transform: none !important;
  /* Mild sharpening hint in some browsers (safe no-op in others) */
  image-rendering: -webkit-optimize-contrast;
}

/* "Processing..." placeholder sized to the same box to avoid layout jump */
.account-settings .logo-skeleton {
  width: var(--logo-w);
  height: var(--logo-h);
  background: #f8f9fa;
  border: 1px dashed #cbd5e1;
  border-radius: .5rem;
  color: #6c757d;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-settings .processing-text {
  animation: account-settings-pulse 1.5s infinite;
}

@keyframes account-settings-pulse {
  0% { opacity: 1 }
  50% { opacity: .5 }
  100% { opacity: 1 }
}

/* Three-dots button */
.account-settings .logo-three-dots {
  position: absolute;
  top: 8px !important;
  right: 8px !important;
  cursor: pointer;
  background: rgba(255, 255, 255, .85);
  border-radius: 9999px;
  padding: 4px 6px;
  line-height: 10px;
  z-index: 5;
  user-select: none;
}

/* Delete dropdown */
.account-settings .logo-delete-option {
  position: absolute;
  top: 40px !important;
  right: 8px !important;
  z-index: 10;
}

.account-settings .logo-delete-option .btn {
  padding: .25rem .5rem;
}

/* Fade-out for inline messages (e.g., "Logo deleted") */
.account-settings .logo-delete-message-fade-out {
  opacity: 1;
  transition: opacity 2s ease-out;
}
.account-settings .logo-delete-message-fade-out.fade-out-complete {
  opacity: 0;
}

/* ---------- Optional small-screen tweak ---------- */
@media (max-width: 480px) {
  .account-settings {
    --logo-w: 200px;
    --logo-h: 100px;
  }
}
/* Main Button Styling */
.btn {
  background-color: #6d8c91; /* Base teal color */
  color: #ffffff; /* White text for readability */
  border: none; /* Remove border for a clean look */
  border-radius: 6px; /* Rounded corners for a modern feel */
  padding: 10px 20px; /* Extra padding for a more substantial look */
  font-weight: 600; /* Slightly bold font for readability */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
  transition: all 0.3s ease; /* Smooth transition on hover */
}

/* Hover and Active Styles */
.btn:hover, .btn:focus, .btn:active {
  background-color: #3c727e; /* Darker teal for hover/focus */
  color: #ffffff; /* Keep text white */
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15); /* Increase shadow on hover */
  transform: translateY(-1px); /* Slight lift effect */
}

/* Secondary Button Styling */
.btn-secondary {
  background-color: #f39e1d; /* Orange color for secondary buttons */
  color: #ffffff; /* White text */
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #355d65; /* Darker shade for hover/focus */
  color: #ffffff; /* White text */
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15); /* Slightly raised shadow */
  transform: translateY(-1px); /* Lift effect */
}

/* Special Button Styling for New Gallery Button */
.btn-primary {
  background-color: #3c727e; /* Darker teal for prominence */
  color: #ffffff; /* White text */
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #355d65; /* Even darker teal for hover */
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* Stronger shadow for hover */
  transform: translateY(-1px); /* Lift effect */
}

/* Align buttons in the center for gallery action buttons */
.text-center .btn {
  margin: 5px; /* Space between buttons */
}

.centered-logo {
  padding-top: 10px;
  max-width: 300px; /* Limit the width of the logo */
  width: 100%; /* Make it responsive */
  height: auto; /* Maintain aspect ratio */
  margin: 0 auto; /* Center the image */
  display: block; /* Ensure proper block-level alignment */
}
.archived-library__overview {
  grid-template-columns: minmax(240px, 1.35fr) minmax(180px, .65fr);
}

.archived-library__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
}

.archived-library__frame {
  display: block;
  min-width: 0;
}

.archived-gallery-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #d6dfe1;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.archived-gallery-card:hover {
  border-color: #aabfc3;
  box-shadow: 0 6px 16px rgba(28, 61, 68, .065);
}

.archived-gallery-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 8;
  place-items: center;
  overflow: hidden;
  background: #edf2f2;
}

.archived-gallery-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  filter: saturate(.72);
  object-fit: cover;
}

.archived-gallery-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(16, 35, 40, .28));
  content: "";
}

.archived-gallery-card__placeholder {
  color: #89a0a5;
  font-size: 1.6rem;
}

.archived-gallery-card__badge {
  position: absolute;
  z-index: 1;
  right: .65rem;
  bottom: .6rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .55rem;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 7px;
  color: #fff;
  background: rgba(29, 55, 61, .72);
  font-size: .75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.archived-gallery-card__body {
  padding: .9rem;
}

.archived-gallery-card__body h3 {
  margin: 0;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archived-gallery-card__body h3 a {
  color: #18282d;
  text-decoration: none;
}

.archived-gallery-card__body > div:first-child > p {
  margin: .25rem 0 0;
  color: #718287;
  font-size: .8rem;
}

.archived-gallery-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin: .85rem 0;
  padding: .68rem 0;
  border-top: 1px solid #e2e8e9;
  border-bottom: 1px solid #e2e8e9;
  border-radius: 0;
  background: transparent;
}

.archived-gallery-card dl div {
  min-width: 0;
}

.archived-gallery-card dt {
  color: #718287;
  font-size: .75rem;
  font-weight: 750;
  text-transform: uppercase;
}

.archived-gallery-card dd {
  margin: .1rem 0 0;
  overflow: hidden;
  color: #18282d;
  font-size: .8rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archived-gallery-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .45rem;
}

.archived-gallery-card__actions form {
  margin: 0;
}

.archived-gallery-card__button,
.archived-gallery-card__delete {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .62rem .7rem;
  border: 1px solid #bfd0d2;
  border-radius: 7px;
  color: #285762;
  background: #fff;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.archived-gallery-card__button:hover,
.archived-gallery-card__button--restore:hover {
  border-color: #3c727e;
  color: #fff;
  background: #3c727e;
}

.archived-gallery-card__button--restore {
  width: 100%;
  color: #285762;
}

.archived-gallery-card__delete {
  width: 40px;
  padding: 0;
  border-color: #ecd1d3;
  color: #a53b42;
}

.archived-gallery-card__delete:hover {
  border-color: #d89ba0;
  color: #8d2f36;
  background: #fff1f2;
}

.archived-library__delete-warning {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem;
  border: 1px solid #f0c7ca;
  border-radius: 8px;
  color: #7f3036;
  background: #fff4f4;
}

.archived-library__delete-warning > i {
  flex: 0 0 auto;
}

.archived-library__delete-warning strong,
.archived-library__delete-warning p {
  display: block;
}

.archived-library__delete-warning strong {
  font-size: .84rem;
}

.archived-library__delete-warning p {
  margin: .22rem 0 0;
  font-size: .78rem;
  line-height: 1.45;
}

.storage-cap-banner {
  border: 1px solid #dce5e6;
  border-radius: 8px;
  color: #30494f;
  background: #f3f7f7;
  font-size: .82rem;
  text-align: center;
}

@media (max-width: 640px) {
  .archived-library__overview {
    grid-template-columns: 1fr 1fr;
  }

  .archived-library__grid {
    grid-template-columns: 1fr;
  }

  .archived-gallery-card__button,
  .archived-gallery-card__delete {
    min-height: 44px;
  }
}

@media (max-width: 390px) {
  .archived-library__overview,
  .archived-gallery-card__actions {
    grid-template-columns: 1fr;
  }

  .archived-gallery-card__delete {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .archived-gallery-card {
    transition: none;
  }
}
.photo-session-link,
.photo-session-link:visited {
  color: #6c757d;
  text-decoration: none;
  transition: color .15s ease-in-out;
}

.photo-session-link:hover,
.photo-session-link:focus {
  color: #adb5bd;
  text-decoration: none;
}

.photo-session-link:active {
  color: #495057;       
}
.public-booking-review-page,
.public-booking-review-page body {
  min-height: 100%;
  background: #f4f7f7;
}

.booking-review {
  --booking-ink: #17272c;
  --booking-muted: #68797e;
  --booking-brand: #3c727e;
  --booking-brand-dark: #285762;
  --booking-accent: #ed9517;
  --booking-line: #dbe5e6;
  --booking-text-caption: .8125rem;
  --booking-text-small: .875rem;
  --booking-text-body: 1rem;
  --booking-text-heading: 1.125rem;
  min-height: 100vh;
  padding: clamp(.85rem, 2.8vw, 2.35rem);
  color: var(--booking-ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(60, 114, 126, .13), transparent 30rem),
    var(--booking-page-bg, #f4f7f7);
  font-family: var(--booking-font, system-ui), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.booking-review *,
.booking-review *::before,
.booking-review *::after { box-sizing: border-box; }

.booking-review__shell { width: min(1120px, 100%); margin-inline: auto; }

.booking-review__brand {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.booking-review__identity { display: flex; min-width: 0; align-items: center; }
.booking-review__logo { display: block; width: auto; max-width: 230px; max-height: 58px; object-fit: contain; }
.booking-review__business-name { color: var(--booking-ink); font-size: var(--booking-text-heading); font-weight: 850; letter-spacing: -.015em; }
.booking-review__secure-note { display: inline-flex; align-items: center; gap: .42rem; color: var(--booking-muted); font-size: var(--booking-text-small); font-weight: 750; white-space: nowrap; }
.booking-review__secure-note i { color: var(--booking-brand); font-size: .9rem; }

.booking-review__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.15rem;
  padding: clamp(1.4rem, 3.8vw, 2.25rem);
  border: 1px solid rgba(37, 84, 94, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 16px 45px rgba(28, 61, 68, .075);
}

.booking-review__eyebrow {
  display: block;
  margin-bottom: .45rem;
  color: var(--booking-brand);
  font-size: var(--booking-text-caption);
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.booking-review__intro h1 { margin: 0; color: var(--booking-ink); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
.booking-review__intro p { max-width: 630px; margin: .68rem 0 0; color: var(--booking-muted); font-size: var(--booking-text-body); line-height: 1.6; }

.booking-review__steps { display: flex; flex: 0 0 auto; align-items: center; gap: .65rem; margin: 0; padding: 0; color: #66777c; list-style: none; font-size: var(--booking-text-small); font-weight: 800; }
.booking-review__steps li { display: flex; align-items: center; gap: .38rem; white-space: nowrap; }
.booking-review__steps li + li::before { width: 22px; height: 1px; margin-right: .08rem; background: #d6e0e1; content: ""; }
.booking-review__steps li > span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #cdd8da; border-radius: 50%; background: #fff; font-size: var(--booking-text-caption); }
.booking-review__steps .is-complete { color: var(--booking-brand-dark); }
.booking-review__steps .is-complete > span { border-color: #cce1db; color: #286654; background: #e3f1ed; }
.booking-review__steps .is-current { color: var(--booking-brand-dark); }
.booking-review__steps .is-current > span { border-color: var(--booking-brand); color: #fff; background: var(--booking-brand); }

.booking-review__form { margin: 0; }
.booking-review__layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .72fr); gap: 1.15rem; align-items: start; }
.booking-review__main { display: grid; min-width: 0; gap: 1.15rem; }

.booking-panel,
.booking-payment-summary {
  border: 1px solid var(--booking-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 34px rgba(28, 61, 68, .06);
}

.booking-panel { padding: clamp(1.15rem, 2.8vw, 1.55rem); }
.booking-panel__heading { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.booking-panel__icon { display: grid; flex: 0 0 auto; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--booking-brand-dark); background: #e8f1f2; }
.booking-panel__heading h2 { margin: 0; color: var(--booking-ink); font-size: var(--booking-text-heading); font-weight: 850; }
.booking-panel__heading p { margin: .18rem 0 0; color: var(--booking-muted); font-size: var(--booking-text-small); line-height: 1.45; }

.booking-detail-list { display: grid; margin: 0; }
.booking-detail-row { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 1rem; align-items: start; padding: .82rem 0; border-top: 1px solid var(--booking-line); }
.booking-detail-row dt { margin: 0; color: var(--booking-muted); font-size: var(--booking-text-small); font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.booking-detail-row dd { min-width: 0; margin: 0; color: var(--booking-ink); font-size: var(--booking-text-body); line-height: 1.45; }
.booking-detail-row dd strong,
.booking-detail-row dd span { display: block; }
.booking-detail-row dd span { margin-top: .18rem; color: var(--booking-muted); font-size: var(--booking-text-small); }

.booking-hold-note { display: flex; align-items: center; gap: .7rem; margin-top: .75rem; padding: .78rem .85rem; border: 1px solid #d5e7e2; border-radius: 13px; color: #285f51; background: #eff8f5; }
.booking-hold-note > i { font-size: 1rem; }
.booking-hold-note strong,
.booking-hold-note span { display: block; }
.booking-hold-note strong { font-size: var(--booking-text-small); }
.booking-hold-note span { margin-top: .12rem; color: #5b756e; font-size: var(--booking-text-caption); line-height: 1.4; }

.addon-package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.addon-package-card { position: relative; display: grid; min-height: 94px; grid-template-columns: 28px minmax(0, 1fr) auto; gap: .68rem; align-items: center; margin: 0; padding: .92rem; border: 1px solid var(--booking-line); border-radius: 14px; color: var(--booking-ink); background: #fbfcfc; cursor: pointer; transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease, transform .14s ease; }
.addon-package-card:hover { border-color: #a9c1c5; background: #fff; transform: translateY(-1px); }
.addon-package-card:has(.addon-package-card__input:focus-visible) { outline: 3px solid rgba(60, 114, 126, .22); outline-offset: 2px; }
.addon-package-card:has(.addon-package-card__input:checked) { border-color: var(--booking-brand); background: #f1f7f7; box-shadow: 0 0 0 2px rgba(60, 114, 126, .1); }
.addon-package-card__input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.addon-package-card__check { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #c5d2d4; border-radius: 9px; color: transparent; background: #fff; font-size: .72rem; }
.addon-package-card__input:checked + .addon-package-card__check { border-color: var(--booking-brand); color: #fff; background: var(--booking-brand); }
.addon-package-card__content { min-width: 0; }
.addon-package-card__content strong,
.addon-package-card__content small { display: block; }
.addon-package-card__content strong { font-size: var(--booking-text-body); }
.addon-package-card__content small { display: -webkit-box; margin-top: .22rem; overflow: hidden; color: var(--booking-muted); font-size: var(--booking-text-small); line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.addon-package-card__price { color: var(--booking-brand-dark); font-size: var(--booking-text-small); font-weight: 850; white-space: nowrap; }

.booking-choice-group { min-width: 0; margin: 0 0 1.15rem; padding: 0 0 1.15rem; border: 0; border-bottom: 1px solid var(--booking-line); }
.booking-choice-group legend,
.booking-date-choice__topline > span { margin-bottom: .62rem; color: var(--booking-muted); font-size: var(--booking-text-small); font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.session-location-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.session-location-nav .pill-label { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; margin: 0; padding: .62rem .9rem; border: 1px solid #b9cbce; border-radius: 11px; color: var(--booking-brand-dark); background: #fff; font-size: var(--booking-text-small); font-weight: 800; cursor: pointer; transition: border-color .14s ease, color .14s ease, background-color .14s ease, box-shadow .14s ease; }
.session-location-nav input:checked + .pill-label { border-color: var(--booking-brand); color: #fff; background: var(--booking-brand); box-shadow: 0 5px 14px rgba(40, 87, 98, .15); }
.session-location-nav input:focus-visible + .pill-label { outline: 3px solid rgba(60, 114, 126, .22); outline-offset: 2px; }

.booking-date-choice__topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.booking-date-choice__topline > span { margin: 0; }
.booking-decide-later { display: inline-flex; align-items: center; gap: .4rem; margin: 0; color: var(--booking-muted); font-size: var(--booking-text-small); font-weight: 700; cursor: pointer; }
.booking-decide-later input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--booking-brand); }

#selected-timeslot-display { min-height: 0; margin-bottom: .65rem; }
#selected-timeslot-display:empty { display: none; }
#selected-timeslot-display .selected-timeslot-message,
#selected-timeslot-display p { margin: 0; padding: .78rem .85rem; border: 1px solid #d3e7e1; border-radius: 11px; color: #285f51 !important; background: #eff8f5; font-size: var(--booking-text-small) !important; font-weight: 750; line-height: 1.4; }

.calendar-container { display: flex; justify-content: center; min-height: 310px; padding: .8rem; border: 1px solid var(--booking-line); border-radius: 15px; background: #fbfcfc; }
.calendar-container .flatpickr-calendar { width: min(100%, 307px); border: 0; border-radius: 13px; background: transparent; box-shadow: none; }
.calendar-container .flatpickr-innerContainer,
.calendar-container .flatpickr-rContainer,
.calendar-container .flatpickr-weekdays,
.calendar-container .flatpickr-days,
.calendar-container .dayContainer { width: 100%; min-width: 0; max-width: none; }
.calendar-container .flatpickr-day { max-width: none; flex-basis: 14.2857143%; }
.calendar-container .flatpickr-months .flatpickr-month { color: var(--booking-ink); fill: var(--booking-ink); }
.calendar-container .flatpickr-current-month { font-size: 1.05rem; font-weight: 800; }
.calendar-container .flatpickr-weekday { color: var(--booking-muted); font-size: var(--booking-text-caption); }
.calendar-container .flatpickr-day { border-radius: 9px; color: var(--booking-ink); font-size: var(--booking-text-small); }
.calendar-container .flatpickr-day:hover { border-color: #d8e6e7; background: #e8f1f2; }
.calendar-container .flatpickr-day.selected,
.calendar-container .flatpickr-day.selected:hover { border-color: var(--booking-brand); background: var(--booking-brand); }
.calendar-container .flatpickr-day.flatpickr-disabled,
.calendar-container .flatpickr-day.flatpickr-disabled:hover,
.calendar-container .flatpickr-day.notAllowed,
.calendar-container .flatpickr-day.notAllowed:hover {
  border-color: transparent;
  color: #aab5b8;
  background: transparent;
  box-shadow: none;
  cursor: default;
  opacity: .72;
  transform: none;
}

.booking-payment-summary { position: sticky; top: 1rem; overflow: hidden; padding: 1.25rem; }
.booking-payment-summary__heading { padding-bottom: 1rem; border-bottom: 1px solid var(--booking-line); }
.booking-payment-summary__heading > span { display: block; margin-bottom: .32rem; color: var(--booking-brand); font-size: var(--booking-text-caption); font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.booking-payment-summary__heading h2 { margin: 0; color: var(--booking-ink); font-size: var(--booking-text-heading); font-weight: 850; line-height: 1.3; }
.booking-payment-summary__rows { display: grid; gap: .72rem; padding: 1rem 0; }
.booking-payment-summary__rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.booking-payment-summary__rows span { color: var(--booking-muted); font-size: var(--booking-text-small); }
.booking-payment-summary__rows strong { color: var(--booking-ink); font-size: var(--booking-text-small); white-space: nowrap; }
.booking-payment-summary__rows .is-muted { align-items: flex-start; flex-direction: column; gap: .16rem; padding: .65rem .7rem; border-radius: 10px; background: #f4f7f7; }
.booking-payment-summary__rows .is-muted small { color: var(--booking-muted); font-size: var(--booking-text-caption); line-height: 1.4; }
.booking-payment-summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--booking-line); }
.booking-payment-summary__total span { font-size: var(--booking-text-small); font-weight: 850; }
.booking-payment-summary__total strong { color: var(--booking-brand-dark); font-size: 1.35rem; font-weight: 900; letter-spacing: -.025em; }
.booking-payment-summary__submit { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: .55rem; margin: 0; padding: .78rem 1rem; border: 0; border-radius: 12px; color: #fff; background: var(--booking-accent); box-shadow: 0 8px 20px rgba(208, 123, 6, .2); font: inherit; font-size: var(--booking-text-body); font-weight: 850; cursor: pointer; transition: background-color .14s ease, box-shadow .14s ease, transform .14s ease; }
.booking-payment-summary__submit:hover { background: #d97f06; box-shadow: 0 10px 24px rgba(208, 123, 6, .25); transform: translateY(-1px); }
.booking-payment-summary__submit:focus-visible { outline: 3px solid rgba(237, 149, 23, .25); outline-offset: 2px; }
.booking-payment-summary__fine-print { display: flex; align-items: flex-start; justify-content: center; gap: .35rem; margin: .72rem 0 0; color: var(--booking-muted); font-size: var(--booking-text-caption); line-height: 1.45; text-align: center; }
.booking-payment-summary__fine-print i { flex: 0 0 auto; margin-top: .02rem; color: var(--booking-brand); }

.booking-review__footer { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: 1.25rem 0 .25rem; color: var(--booking-muted); font-size: var(--booking-text-caption); }
.booking-review__footer a,
.booking-review__footer img { display: block; }

.booking-timeslot-modal .modal-content { overflow: hidden; border: 0; border-radius: 20px; box-shadow: 0 24px 70px rgba(23, 39, 44, .24); }
.booking-timeslot-modal .modal-header { align-items: flex-start; padding: 1.2rem 1.25rem; border-bottom-color: var(--booking-line, #dbe5e6); }
.booking-timeslot-modal__eyebrow { display: block; margin-bottom: .2rem; color: #3c727e; font-size: var(--booking-text-caption); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.booking-timeslot-modal .modal-title { margin: 0; color: #17272c; font-size: var(--booking-text-heading); font-weight: 850; }
.booking-timeslot-modal .modal-body { padding: 1.15rem; }
.time-slot-list { display: grid; max-height: 340px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; overflow-y: auto; }
.time-slot-option { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: .7rem; border: 1px solid #d6e1e2; border-radius: 11px; color: #285762; background: #fbfcfc; font-size: var(--booking-text-small); font-weight: 800; text-align: center; cursor: pointer; transition: border-color .14s ease, color .14s ease, background-color .14s ease, transform .14s ease; }
.time-slot-option:hover { border-color: #3c727e; color: #fff; background: #3c727e; transform: translateY(-1px); }
.time-slot-option.selected { border-color: #ed9517; color: #fff; background: #ed9517; }

@media (max-width: 900px) {
  .booking-review__intro { align-items: flex-start; flex-direction: column; }
  .booking-review__layout { grid-template-columns: 1fr; }
  .booking-payment-summary { position: static; }
}

@media (max-width: 640px) {
  .booking-review { padding: .75rem; }
  .booking-review__brand { min-height: 50px; }
  .booking-review__logo { max-width: 160px; max-height: 46px; }
  .booking-review__secure-note { font-size: 0; }
  .booking-review__secure-note i { font-size: 1rem; }
  .booking-review__intro,
  .booking-panel,
  .booking-payment-summary { border-radius: 17px; }
  .booking-review__steps { width: 100%; justify-content: space-between; }
  .booking-review__steps li + li::before { display: none; }
  .booking-detail-row { grid-template-columns: 105px minmax(0, 1fr); gap: .7rem; }
  .addon-package-grid { grid-template-columns: 1fr; }
  .booking-date-choice__topline { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .calendar-container { min-height: 300px; padding: .35rem; overflow: hidden; }
  .calendar-container .flatpickr-calendar.inline { max-width: 100%; }
  .time-slot-list { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .booking-review__steps { font-size: var(--booking-text-caption); }
  .booking-review__steps li { gap: .25rem; }
  .booking-review__steps li > span { width: 22px; height: 22px; }
  .booking-panel { padding: 1rem; }
  .booking-detail-row { grid-template-columns: 1fr; gap: .28rem; }
  .booking-timeslot-modal .modal-dialog { margin: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-review * { scroll-behavior: auto !important; transition: none !important; }
}
/* ===== Booking Page Settings – FULL CSS (scoped) ===== */

/* Thumbnail picker */
.booking_page_thumbnail_modal,
.thumbnail-picker {
  color: #17252b;
  background: #fff;
}

.thumbnail-picker-dialog {
  width: min(1120px, calc(100% - 2rem));
  border-radius: 1.25rem;
}
.thumbnail-picker {
  overflow: hidden;
  border: 0;
  border-radius: 1.15rem;
  box-shadow: 0 28px 80px rgba(17, 37, 44, .28);
}

/* Keep the dynamically injected picker visibly rounded despite global modal rules. */
#thumbnailPickerModal .modal-content.thumbnail-picker,
#thumbnailPickerModal .modal-content.booking_page_thumbnail_modal {
  overflow: hidden !important;
  border-radius: 1.25rem !important;
  background-clip: padding-box;
}

#thumbnailPickerModal .thumbnail-picker__header {
  border-radius: 1.25rem 1.25rem 0 0;
}

#thumbnailPickerModal .thumbnail-picker__footer {
  border-radius: 0 0 1.25rem 1.25rem;
}

.thumbnail-picker__header {
  padding: 1.2rem 1.35rem;
  align-items: flex-start;
  border-bottom: 1px solid #e3eaec;
  background: #fff;
}

.thumbnail-picker__heading { display: flex; gap: .9rem; align-items: flex-start; }
.thumbnail-picker__icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 2.65rem;
  place-items: center;
  border-radius: .82rem;
  color: #3c727e;
  background: #eaf3f4;
  font-size: 1.12rem;
}
.thumbnail-picker__eyebrow {
  margin-bottom: .2rem;
  color: #3c727e;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.thumbnail-picker__heading .modal-title {
  color: #17252b;
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -.02em;
}
.thumbnail-picker__heading p { margin: .2rem 0 0; color: #68797f; font-size: .86rem; }

.thumbnail-picker__body {
  padding: 1.25rem 1.35rem 1.5rem;
  background: #f6f8f8;
}
.thumbnail-picker__status {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: #53666c;
  font-size: .8rem;
}
.thumbnail-picker__status i { color: #3c727e; }

.thumbnail-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1rem;
}

.thumbnail-picker__option {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 1rem;
  outline: 0;
  color: #17252b;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 57, 64, .08);
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.thumbnail-picker__option:hover {
  border-color: rgba(60, 114, 126, .48);
  box-shadow: 0 14px 30px rgba(31, 57, 64, .14);
  transform: translateY(-2px);
}
.thumbnail-picker__option:focus-visible { box-shadow: 0 0 0 .25rem rgba(60, 114, 126, .24); }
.thumbnail-picker__option.selected-thumbnail {
  border-color: #3c727e;
  box-shadow: 0 0 0 3px rgba(60, 114, 126, .14), 0 14px 30px rgba(31, 57, 64, .13);
}
.thumbnail-picker__option > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.thumbnail-picker__selected-mark {
  position: absolute;
  display: grid;
  width: 2rem;
  height: 2rem;
  top: .65rem;
  right: .65rem;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  color: transparent;
  background: rgba(23, 37, 43, .35);
  backdrop-filter: blur(5px);
}
.thumbnail-picker__option.selected-thumbnail .thumbnail-picker__selected-mark {
  color: #fff;
  background: #3c727e;
}
.thumbnail-picker__option-label {
  display: flex;
  padding: .72rem .82rem .78rem;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.thumbnail-picker__option-label span { color: #728188; font-size: .72rem; }
.thumbnail-picker__option-label strong { color: #3c727e; font-size: .75rem; font-weight: 800; }
.thumbnail-picker__option:not(.selected-thumbnail) .thumbnail-picker__option-label strong { color: #64767c; }

.thumbnail-picker__empty { padding: clamp(2rem, 6vw, 4rem); text-align: center; }
.thumbnail-picker__empty > span {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 1.2rem;
  color: #5f828a;
  background: #e4eff0;
  font-size: 1.5rem;
}
.thumbnail-picker__empty h6 { margin-bottom: .3rem; color: #17252b; font-size: 1rem; font-weight: 750; }
.thumbnail-picker__empty p { max-width: 460px; margin: 0 auto; color: #68797f; font-size: .86rem; }

.thumbnail-picker__footer {
  display: flex;
  padding: .9rem 1.35rem;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e3eaec;
  background: #fff;
}
.thumbnail-picker__footer-note { display: flex; align-items: center; gap: .45rem; color: #718087; font-size: .76rem; }
.thumbnail-picker__footer-note i { color: #bd841e; }
.thumbnail-picker__done {
  min-width: 94px;
  border-color: #3c727e;
  color: #fff;
  background: #3c727e;
  font-size: .84rem;
  font-weight: 750;
}
.thumbnail-picker__done:hover { border-color: #285762; color: #fff; background: #285762; }

/* ===== Polished / compact UI (scoped to .booking-settings) ===== */
.booking-settings .card-body { padding: 12px 14px; }
.booking-settings .card + .card { margin-top: .75rem !important; }

.booking-settings .card-title { font-weight: 600; }
.booking-settings .card .form-text { margin-top: .25rem; }

/* Slightly smaller controls for modern density */
.booking-settings .form-control,
.booking-settings .form-select{
  min-height: 38px;
  padding-top: .45rem;
  padding-bottom: .45rem;
  font-size: .95rem;
}

/* ---------- Header layout ---------- */
.booking-settings .header-row{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;     /* push items to edges */
}
.booking-settings .header-row .link-intro{
  flex: 0 1 360px;
  min-width: 240px;
}
.booking-settings .header-row .booking-link{
  flex: 0 1 760px;
  max-width: 760px;
  min-width: 420px;
  margin-left: auto;                  /* anchor the block to the right on desktop */
  text-align: right;
}
.booking-settings .booking-link .form-label,
.booking-settings .booking-link .link-help{
  text-align: right;
}

/* --- Booking link group (desktop/tablet) --- */
.booking-settings .booking-link .link-help { margin-top: .35rem; }

.booking-settings .link-field{
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  width: clamp(420px, 60vw, 760px);   /* responsive width with cap */
  max-width: 100%;
  margin-left: auto;                  /* keep the input group itself flush right */
}

.booking-settings .link-field .form-control{
  flex: 1 1 auto;
  min-width: 240px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  font-size: .9rem;
}

/* Make the appended buttons feel like part of the field (desktop/tablet) */
.booking-settings .link-field .btn{
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  white-space: nowrap;
}
.booking-settings .link-field .btn + .btn{
  margin-left: -1px;
}

/* Primary action (Save) — tasteful size */
.booking-settings .booking-save-btn{
  padding-block: .55rem;
  font-size: .95rem;
  border-radius: .5rem;
}

/* Category row hover polish */
.booking-settings .category-row{
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}
.booking-settings .category-row:hover{
  border-color: #dfe3e6;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  background-color: #fcfcfd;
}
.booking-settings .booking-category-row { min-height: 66px; gap: .75rem; }
.booking-settings .booking-category-row__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .7rem;
}
.booking-settings .booking-category-row__preview {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  place-items: center;
  border-radius: .65rem;
  color: #789299;
  background: #eaf1f2;
}
.booking-settings .booking-category-row__preview img { width: 100%; height: 100%; object-fit: cover; }
.booking-settings .booking-category-row .form-check { display: flex; min-width: 0; align-items: center; }
.booking-settings .booking-category-row .form-check-label { min-width: 0; line-height: 1.15; }
.booking-settings .booking-category-row .form-check-label strong {
  display: block;
  overflow: hidden;
  color: #213238;
  font-size: .9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking-settings .booking-category-row .form-check-label span {
  display: block;
  margin-top: .2rem;
  color: #738289;
  font-size: .69rem;
  font-weight: 500;
}
.booking-settings .booking-category-row .thumbnail-picker-button {
  display: inline-flex;
  min-height: 34px;
  padding: .38rem .7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9c9cc;
  border-radius: .55rem;
  color: #315d66 !important;
  background: #fff !important;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.1;
  box-shadow: 0 2px 5px rgba(34, 65, 72, .08);
}
.booking-settings .booking-category-row .thumbnail-picker-button:hover,
.booking-settings .booking-category-row .thumbnail-picker-button:focus-visible,
.booking-settings .booking-category-row .thumbnail-picker-button:active {
  border-color: #3c727e;
  color: #fff !important;
  background: #3c727e !important;
}
.booking-settings .booking-category-row .thumbnail-picker-button:focus-visible {
  outline: 3px solid rgba(60, 114, 126, .2);
  outline-offset: 2px;
}
.booking-settings .thumbnail-picker-button:disabled,
.booking-settings .category-row input[type="checkbox"]:not(:checked) ~ .thumbnail-picker-button{
  pointer-events: none;
  border-color: #d4dfe1;
  color: #718086 !important;
  background: #edf2f3 !important;
  box-shadow: none;
  opacity: .72;
}

/* ===== Mobile (≤576px) ===== */
@media (max-width: 576px){
  .booking-settings .card { border-radius: 12px; }
  .booking-settings .card-body { padding: 12px; }

  /* Put link section on its own line, centered */
  .booking-settings .header-row .link-intro,
  .booking-settings .header-row .booking-link{
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
    margin-left: 0;
    text-align: center;               /* center the label & help */
  }

  /* Stack input on top; buttons below, centered */
  .booking-settings .link-field{
    width: 100%;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap !important;       /* override .flex-nowrap on the element */
    justify-content: center;          /* center the wrapped row */
    gap: 8px 10px;                    /* nice spacing when wrapped */
  }

  /* Force the input to occupy the full first row */
  .booking-settings .link-field > .form-control{
    flex: 0 0 100% !important;        /* make it its own line */
    min-width: 0;
    text-align: center;               /* centered URL value */
    border-radius: .5rem;             /* rounded input on phones */
  }

  /* Buttons become rounded “pills” on their own row */
  .booking-settings .link-field > .btn{
    flex: 0 0 auto;
    border-radius: 9999px !important; /* pill look */
    margin: 0;                        /* reset desktop collapse trick */
    padding-inline: 18px;
  }
  .booking-settings .link-field > .btn + .btn{
    margin-left: 0;                   /* no negative margin on mobile */
  }

  .booking-settings .row.g-3 > [class*="col-"]{ width: 100%; }

  .booking-settings .category-row { padding: .6rem .7rem; }
  .booking-settings .thumbnail-picker-button { white-space: nowrap; }
  .thumbnail-picker-dialog { width: auto; margin: .75rem; }
  .thumbnail-picker { border-radius: .9rem; }
  .thumbnail-picker__header,
  .thumbnail-picker__body,
  .thumbnail-picker__footer { padding-left: 1rem; padding-right: 1rem; }
  .thumbnail-picker__grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .thumbnail-picker__option-label { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .thumbnail-picker__footer { align-items: stretch; flex-direction: column; }
  .thumbnail-picker__done { width: 100%; }
}

@media (max-width: 390px) {
  .thumbnail-picker__grid { grid-template-columns: 1fr; }
}

/* ===== Tablet (577–768px) ===== */
@media (min-width: 577px) and (max-width: 768px){
  .booking-settings .card-body { padding: 16px; }
}

/* ===== Focus a11y ===== */
.booking-settings .form-control:focus,
.booking-settings .form-select:focus,
.booking-settings .btn:focus,
.booking-settings .form-check-input:focus{
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.25);
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce){
  .booking-settings *{ transition: none !important; animation: none !important; }
}
/* --------------------------------------------------------------- *
 * Booking Page — Font Scoping
 * --------------------------------------------------------------- */
.booking-page-root,
.booking-page-root *{
  font-family: var(--booking-page-font, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif) !important;
}
.use-system-font,
.use-system-font *,
.booking-page-root .modal,
.booking-page-root .modal *,
.booking-page-root .orbit-footer,
.booking-page-root .orbit-footer *,
.booking-page-root .gc-card,
.booking-page-root .gc-card *{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* --------------------------------------------------------------- *
 * Captions (categories + minis)
 * --------------------------------------------------------------- */
.booking-page-session-category .name-box,
.booking-page-session-category .session-category-name,
.booking-page-session-category .mini-session-name{
  color:#1f2937 !important;
  font-weight:600 !important;
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  background:#fff !important;
}

/* --------------------------------------------------------------- *
 * Card container
 * --------------------------------------------------------------- */
.booking-page-session-category{
  position:relative;
  width:100%;
  border:1px solid #e5e7eb;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  text-align:center;
  overflow:hidden;
  transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  margin-bottom:1.5rem;
  border-radius:10px;
}
.booking-page-session-category:hover{
  border-color:#d1d5db;
  box-shadow:0 6px 18px rgba(17,24,39,.08);
  transform:translateY(-1px);
}

/* Media (image/placeholder) */
.booking-page-session-category img{
  width:100%;
  height:300px;
  object-fit:cover;
  transition:transform .25s ease, opacity .25s ease;
  border-radius:10px 10px 0 0;
}
.booking-page-session-category:hover img{ transform:scale(1.01); opacity:.98; }
.booking-page-session-category .placeholder{
  width:100%;
  height:300px;
  background:#fafafa;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  padding:0;
  cursor:default !important;
  border-radius:10px 10px 0 0;
}

/* Title bar */
.booking-page-session-category .name-box{
  width:100%;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:.5rem .75rem;
  font-size:clamp(1rem, 2.2vw, 1.25rem);
}
/* Only draw divider when title follows media */
.booking-page-session-category img + .name-box,
.booking-page-session-category .placeholder + .name-box{
  border-top:1px solid #eef2f7;
}

/* Smaller/wrapped titles */
.booking-page-session-category .name-box,
.booking-page-session-category .placeholder .name-box,
.booking-page-session-category .session-category-name,
.booking-page-session-category .mini-session-name{
  line-height:1.25 !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
  word-break:break-word !important;
  overflow-wrap:anywhere !important;
  hyphens:auto !important;
}
.booking-page-session-category .mini-session-name{
  font-size:clamp(.98rem, 1.6vw, 1.15rem) !important;
  padding:.55rem .7rem !important;
}

/* Clickable media+title; meta lives outside the link */
.booking-page-session-category a{
  text-decoration:none;
  display:block;
}

/* --------------------------------------------------------------- *
 * Mini card meta (spots + dates)
 * --------------------------------------------------------------- */
.mini-card-meta{
  display:grid;
  gap:.45rem;
  padding:.7rem .85rem .9rem;
  margin-top:.25rem;
  border-top:1px solid #eef2f7;
  background:#fff;
  text-align:center;
}

/* Neutral badges */
.mini-badge{
  display:inline-block;
  font-size:.8rem;
  line-height:1;
  padding:.45rem .65rem;
  border-radius:.65rem;
  font-weight:600;
  letter-spacing:.02em;
  white-space:nowrap;
}
.mini-badge--ok{
  color:#1e3a8a;
  background:#eef2ff;
  border:1px solid #e0e7ff;
}
.mini-badge--none{
  color:#475569;
  background:#f1f5f9;
  border:1px solid #e2e8f0;
}
.mini-dates{
  font-size:.85rem;
  color:#64748b;
  line-height:1.2;
}
.mini-dates .mini-more{ color:#475569; font-weight:600; }

/* --------------------------------------------------------------- *
 * Gift Certificates
 * --------------------------------------------------------------- */
.gc-card-link{ text-decoration:none; display:block; }
.gc-card{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  height:160px;
  color:#111827;
  background:linear-gradient(180deg, rgba(0,0,0,.015), rgba(0,0,0,0)), #f8f6f1;
  border:1px solid #e6e1d5;
  box-shadow:0 8px 18px rgba(17,24,39,.08);
  padding:16px 16px 14px 16px;
}
.gc-card::before{
  content:"";
  position:absolute; inset:10px;
  border-radius:10px;
  border:1px dashed #d8d2c4;
  pointer-events:none;
}
.gc-card::after{
  content:"";
  position:absolute; inset:0;
  border-radius:12px;
  background:repeating-linear-gradient(45deg, rgba(0,0,0,.012) 0 10px, rgba(0,0,0,0) 10px 20px);
  opacity:.35; mix-blend-mode:multiply; pointer-events:none;
}
.gc-card svg.gc-art{ display:none !important; }
.gc-meta{ display:flex; align-items:center; gap:.6rem; font-size:.9rem; opacity:.95; }
.gc-meta span:first-child{ text-transform:uppercase; letter-spacing:.08em; font-weight:700; color:#374151; }
.gc-meta .dot{ width:4px; height:4px; border-radius:50%; background:rgba(17,24,39,.35); }
.gc-amount{ margin-top:.25rem; font-size:clamp(1.35rem, 2.8vw, 1.8rem); font-weight:800; letter-spacing:.2px; color:#111827; }
.gc-brand{
  position:absolute; right:14px; bottom:10px;
  display:inline-flex; align-items:center; gap:.45rem;
  font-weight:600; font-size:.9rem; color:#374151; max-width:70%;
}
.gc-brand img{ height:18px; width:18px; object-fit:cover; border-radius:3px; box-shadow:0 0 0 1px rgba(0,0,0,.05); }
.gc-card:hover{ transform:translateY(-1px); box-shadow:0 10px 22px rgba(17,24,39,.10); transition:.18s ease; }

/* --------------------------------------------------------------- *
 * Pay chooser
 * --------------------------------------------------------------- */
.pay-chooser{ margin-top:1rem; }
.pay-chooser .pay-title{
  text-transform:uppercase; font-weight:700; letter-spacing:.08em; color:#6c757d;
  font-size:.9rem; margin-bottom:.5rem; text-align:center;
}
.pay-chooser .pay-row{ display:flex; justify-content:center; align-items:center; gap:.75rem; flex-wrap:wrap; }
.pay-chooser .btn-pay{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.6rem .9rem; border-radius:.8rem; background:#fff;
  border:1px solid rgba(0,0,0,.12); box-shadow:0 .2rem .6rem rgba(0,0,0,.05);
  transition:transform .06s ease, box-shadow .12s ease;
}
.pay-chooser .btn-pay:hover{ transform:translateY(-1px); box-shadow:0 .3rem .8rem rgba(0,0,0,.08); }
.pay-chooser .btn-pay:active{ transform:translateY(0); }
.pay-chooser .btn-pay img{ height:22px; width:auto; display:block; }

/* --------------------------------------------------------------- *
 * Keep spacing + center rows
 * --------------------------------------------------------------- */
.booking-page-root .row.g-4{           /* ensure gutters even if custom CSS elsewhere */
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

/* --------------------------------------------------------------- *
 * No bookable sessions
 * --------------------------------------------------------------- */
.booking-page-empty-state{
  max-width:680px;
  margin:1.5rem auto 2.5rem;
  padding:clamp(1.75rem, 5vw, 3rem);
  color:#1f2937;
  text-align:center;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(148,163,184,.28);
  border-radius:18px;
  box-shadow:0 14px 40px rgba(17,24,39,.08);
  backdrop-filter:blur(4px);
}
.booking-page-empty-state__title{
  margin:0 0 .75rem;
  font-size:clamp(1.5rem, 4vw, 2rem);
  font-weight:600;
}
.booking-page-empty-state__copy{
  max-width:540px;
  margin:0 auto 1.4rem;
  color:#64748b;
  font-size:1rem;
  line-height:1.65;
}

/* --------------------------------------------------------------- *
 * Misc / Responsive
 * --------------------------------------------------------------- */
.public-view-header-logo__img{ max-height:125px; width:auto !important; height:auto; object-fit:contain; display:inline-block; }
@media (max-width:480px){ .public-view-header-logo__img{ max-height:70px; } }

/* Keep spacing across breakpoints */
@media (max-width:575.98px){ .booking-page-session-category{ max-width:100%; } }
/* REMOVED min-width:400px to stop overflow that collapsed gutters */
/* @media (min-width:576px){ .booking-page-session-category{ min-width:400px; } } */
@media (min-width:768px){ .booking-page-session-category{ margin-bottom:1.5rem; } }
@media (min-width:992px){
  .booking-page-session-category{ margin-bottom:2rem; }
  /* removed: .col-lg-3 { margin-left:150px; } */
}

/* --------------------------------------------------------------- *
 * Modal media fallback (SAFE on mobile)
 * --------------------------------------------------------------- */
@media (max-width:767px){
  .modal-body img{ max-width:100%; height:auto; }
  .modal-body .carousel-item img{ max-width:100% !important; height:auto !important; object-fit:contain !important; }
  .modal-body .pay-chooser img{ width:auto !important; height:14px !important; max-height:14px !important; }
}

/* --------------------------------------------------------------- *
 * Neutralize badges tone (unchanged)
 * --------------------------------------------------------------- */
.booking-page-root .mini-badge--ok,
.booking-page-root .mini-badge--none{
  color:#475569 !important;
  background:#f1f5f9 !important;
  border:1px solid #e2e8f0 !important;
}
.booking-page-root .mini-badge--ok b,
.booking-page-root .mini-badge--none b{
  font-weight:700;
}

/* Mobile-only: slightly larger pay buttons/logos */
@media (max-width: 575.98px) {
  .booking-page-root .pay-chooser .pay-row { gap: .4rem !important; }
  .booking-page-root .pay-chooser .btn-pay {
    padding: .3rem .6rem !important;
    border-radius: .55rem !important;
    font-size: .8rem !important;
    line-height: 1 !important;
  }
  .booking-page-root .pay-chooser .btn-pay img,
  .modal-body .pay-chooser img {
    height: 30px !important;
    max-height: 30px !important;
    width: auto !important;
  }
}

/* Keep Bootstrap gutters and center rows */
.booking-page-root .row.g-4{
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

/* Fixed card column width from sm+ so cards look like before */
@media (min-width: 576px){
  .booking-card-col{
    flex: 0 0 auto;     /* don't stretch to the full row width */
    width: 400px;       /* match your original visual width */
    max-width: 100%;    /* safety */
  }
}

/* app/assets/stylesheets/booking-page.css (or equivalent) */
.gc-description p {
  margin-bottom: 0.25rem;
}
.gc-description a {
  text-decoration: underline;
}

.orbit-booking-inquiry-button,
.orbit-inquiry-submit {
  appearance: none;
  border: 0;
  border-radius: var(--inquiry-radius, 12px);
  background: var(--inquiry-button-bg, #343436);
  color: var(--inquiry-button-color, #fff);
  padding: .75rem 1.25rem;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .13);
  transition: transform .18s ease, box-shadow .18s ease;
}
.orbit-booking-inquiry-button:hover,
.orbit-inquiry-submit:hover { transform: translateY(-1px); box-shadow: 0 11px 28px rgba(17,24,39,.18); }
.orbit-inquiry-surface,
.orbit-inquiry-surface * { font-family: var(--inquiry-font) !important; }
.orbit-inquiry-surface { background: var(--inquiry-bg); color: var(--inquiry-text); border-radius: var(--inquiry-radius); overflow: hidden; }
.orbit-inquiry-surface .modal-header,
.orbit-inquiry-surface .modal-body,
.orbit-inquiry-surface .modal-footer { background: var(--inquiry-bg); color: var(--inquiry-text); }
.orbit-inquiry-surface .form-control { background: var(--inquiry-input-bg); border-color: var(--inquiry-input-border); border-radius: calc(var(--inquiry-radius) * .65); }
.orbit-inquiry-surface .form-control:focus { border-color: var(--inquiry-accent); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--inquiry-accent) 22%, transparent); }
.orbit-inquiry-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.booking-success .booking-review__shell {
  width: min(980px, 100%);
}

.booking-success__card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, .72fr);
  overflow: hidden;
  border: 1px solid rgba(37, 84, 94, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 60px rgba(28, 61, 68, .09);
}

.booking-success__main {
  min-width: 0;
  padding: clamp(2rem, 5vw, 3.75rem);
}

.booking-success__icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 1.4rem;
  border: 1px solid #c9e3da;
  border-radius: 50%;
  color: #276954;
  background: #e4f3ee;
  box-shadow: 0 8px 24px rgba(39, 105, 84, .12);
  font-size: 1.75rem;
}

.booking-success__main h1 {
  margin: 0;
  color: var(--booking-ink);
  font-size: clamp(2.15rem, 6vw, 3.45rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.05em;
}

.booking-success__lead {
  max-width: 530px;
  margin: 1rem 0 0;
  color: var(--booking-muted);
  font-size: var(--booking-text-body, 1rem);
  line-height: 1.65;
}

.booking-success__session {
  display: grid;
  gap: .2rem;
  margin: 1.7rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--booking-line);
  border-radius: 15px;
  background: #f8fafa;
}

.booking-success__session > span {
  color: var(--booking-brand);
  font-size: var(--booking-text-caption, .8125rem);
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.booking-success__session strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--booking-ink);
  font-size: var(--booking-text-heading, 1.125rem);
  font-weight: 850;
}

.booking-success__session small {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .15rem;
  color: var(--booking-muted);
  font-size: var(--booking-text-small, .875rem);
}

.booking-success__session small i {
  color: var(--booking-brand);
}

.booking-success__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .82rem 1.25rem;
  border-radius: 13px;
  color: #fff;
  background: var(--booking-brand);
  box-shadow: 0 9px 22px rgba(40, 87, 98, .18);
  font-size: var(--booking-text-body, 1rem);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.booking-success__button:hover {
  color: #fff;
  background: var(--booking-brand-dark);
  box-shadow: 0 12px 27px rgba(40, 87, 98, .24);
  transform: translateY(-1px);
}

.booking-success__button:focus-visible {
  outline: 3px solid rgba(60, 114, 126, .24);
  outline-offset: 3px;
}

.booking-success__next {
  min-width: 0;
  padding: clamp(1.65rem, 4vw, 2.35rem);
  border-left: 1px solid var(--booking-line);
  background: #f7fafa;
}

.booking-success__next-eyebrow {
  display: block;
  margin-bottom: .42rem;
  color: var(--booking-brand);
  font-size: var(--booking-text-caption, .8125rem);
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.booking-success__next h2 {
  margin: 0;
  color: var(--booking-ink);
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.booking-success__steps {
  display: grid;
  gap: 1.15rem;
  margin: 1.6rem 0;
  padding: 0;
  list-style: none;
}

.booking-success__steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
}

.booking-success__steps li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: var(--booking-brand-dark);
  background: #e6f0f1;
  font-size: .95rem;
}

.booking-success__steps strong,
.booking-success__steps p {
  display: block;
}

.booking-success__steps strong {
  color: var(--booking-ink);
  font-size: var(--booking-text-body, 1rem);
  font-weight: 850;
}

.booking-success__steps p {
  margin: .2rem 0 0;
  color: var(--booking-muted);
  font-size: var(--booking-text-small, .875rem);
  line-height: 1.55;
}

.booking-success__photographer {
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--booking-line);
  color: var(--booking-muted);
  font-size: var(--booking-text-small, .875rem);
  line-height: 1.5;
}

.booking-success__photographer strong {
  color: var(--booking-ink);
}

@media (max-width: 760px) {
  .booking-success__card {
    grid-template-columns: 1fr;
    border-radius: 19px;
  }

  .booking-success__next {
    border-top: 1px solid var(--booking-line);
    border-left: 0;
  }

  .booking-success__button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .booking-success__main,
  .booking-success__next {
    padding: 1.35rem;
  }

  .booking-success__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 1.15rem;
    font-size: 1.45rem;
  }

  .booking-success__main h1 {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-success__button {
    transition: none;
  }
}
:root {
  --calendar-ink: #24343a;
  --calendar-muted: #64777e;
  --calendar-border: #d8e2e5;
  --calendar-border-strong: #bfd0d5;
  --calendar-surface: #ffffff;
  --calendar-page: #f5f8f9;
  --calendar-primary: #3d7a86;
  --calendar-primary-dark: #30636d;
  --calendar-primary-soft: #e8f2f4;
  --calendar-available: #2f7a61;
  --calendar-timeoff: #8f6d55;
  --calendar-session: #ee9712;
  --calendar-newborn: #d63384;
  --calendar-danger: #a44646;
}

.calendar-page body {
  background: var(--calendar-page);
  color: var(--calendar-ink);
}

.calendar-workspace {
  width: min(calc(100% - 2rem), 1120px);
  margin: 2.4rem auto 4rem;
}

.calendar-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.calendar-hero__copy {
  min-width: 0;
}

.calendar-kicker {
  margin: 0 0 .38rem;
  color: var(--calendar-primary);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.calendar-hero h1 {
  margin: 0;
  color: var(--calendar-ink);
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.calendar-hero__copy > p:last-child {
  max-width: 660px;
  margin: .55rem 0 0;
  color: var(--calendar-muted);
  font-size: .9rem;
  line-height: 1.55;
}

.calendar-hero__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .65rem;
}

.calendar-action,
.calendar-modal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .46rem;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.1;
  padding: .64rem .9rem;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.calendar-action:hover,
.calendar-modal-button:hover {
  transform: translateY(-1px);
}

.calendar-action:focus-visible,
.calendar-modal-button:focus-visible,
.availability-add-window:focus-visible {
  outline: 3px solid rgba(61, 122, 134, .2);
  outline-offset: 2px;
}

.calendar-action--primary,
.calendar-modal-button--primary {
  background: var(--calendar-primary);
  border-color: var(--calendar-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45, 91, 101, .14);
}

.calendar-action--primary:hover,
.calendar-modal-button--primary:hover {
  background: var(--calendar-primary-dark);
  border-color: var(--calendar-primary-dark);
  color: #fff;
}

.calendar-action--secondary,
.calendar-modal-button--secondary {
  background: #fff;
  border-color: var(--calendar-border-strong);
  color: #455c64;
  box-shadow: 0 3px 9px rgba(31, 54, 62, .06);
}

.calendar-action--secondary:hover,
.calendar-modal-button--secondary:hover {
  background: #f7fafb;
  border-color: #94adb4;
  color: var(--calendar-ink);
}

.calendar-modal-button--danger {
  background: #fff;
  border-color: #e8bcbc;
  color: var(--calendar-danger);
}

.calendar-modal-button--danger:hover {
  background: #fff4f4;
  border-color: #d99b9b;
  color: #893535;
}

.calendar-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--calendar-surface);
  border: 1px solid var(--calendar-border);
  border-radius: 13px;
  box-shadow: 0 5px 18px rgba(31, 54, 62, .035);
}

.calendar-overview__item {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  padding: .85rem 1rem;
}

.calendar-overview__item + .calendar-overview__item {
  border-left: 1px solid #e7edef;
}

.calendar-overview__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--calendar-primary-soft);
  color: var(--calendar-primary);
  font-size: 1rem;
}

.calendar-overview__item > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .08rem;
}

.calendar-overview__item span:not(.calendar-overview__icon) {
  color: var(--calendar-muted);
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.3;
}

.calendar-overview__item strong {
  overflow: hidden;
  color: var(--calendar-ink);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-surface {
  overflow: hidden;
  background: var(--calendar-surface);
  border: 1px solid var(--calendar-border);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(31, 54, 62, .055);
}

.calendar-surface__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #e4ebed;
}

.calendar-surface__header h2 {
  margin: 0;
  color: var(--calendar-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.calendar-surface__header p {
  margin: .2rem 0 0;
  color: var(--calendar-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem .85rem;
}

.calendar-legend > span {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  color: #566a71;
  font-size: .72rem;
  font-weight: 650;
  white-space: nowrap;
}

.calendar-legend > [hidden] {
  display: none !important;
}

.calendar-legend__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #83949a;
}

.calendar-legend__dot.is-available { background: var(--calendar-available); }
.calendar-legend__dot.is-timeoff { background: var(--calendar-timeoff); }
.calendar-legend__dot.is-session { background: var(--calendar-session); }
.calendar-legend__dot.is-newborn { background: var(--calendar-newborn); }

.calendar-canvas {
  padding: 1.15rem;
}

/* FullCalendar shell */
.calendar-page #calendar.fc {
  color: var(--calendar-ink);
  font-family: inherit;
  font-size: .88rem;
}

.calendar-page #calendar .fc-toolbar.fc-header-toolbar {
  gap: .75rem;
  margin-bottom: 1rem;
}

.calendar-page #calendar .fc-toolbar-title {
  color: var(--calendar-ink);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -.025em;
}

.calendar-page #calendar .fc-button,
.calendar-page #calendar .fc-toolbar .btn {
  --bs-btn-active-bg: var(--calendar-primary);
  --bs-btn-active-border-color: var(--calendar-primary);
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 61, 122, 134;
  min-height: 36px;
  border-color: var(--calendar-border-strong);
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  color: #50656c;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  padding: .58rem .7rem;
  text-transform: capitalize;
  transform: none !important;
}

.calendar-page #calendar .fc-button:hover,
.calendar-page #calendar .fc-button:focus,
.calendar-page #calendar .fc-toolbar .btn:hover,
.calendar-page #calendar .fc-toolbar .btn:focus {
  z-index: 2;
  background: #f1f6f7;
  border-color: #9fb5bb;
  color: var(--calendar-ink);
  box-shadow: none;
}

.calendar-page #calendar .fc-button.active,
.calendar-page #calendar .fc-button.fc-button-active,
.calendar-page #calendar .fc-button[aria-pressed="true"],
.calendar-page #calendar .fc-button:not(:disabled):active,
.calendar-page #calendar .fc-button-primary:not(:disabled).fc-button-active,
.calendar-page #calendar .fc-button-primary:not(:disabled):active,
.calendar-page #calendar .fc-toolbar .btn.active,
.calendar-page #calendar .fc-toolbar .btn[aria-pressed="true"],
.calendar-page #calendar .fc-toolbar .btn:not(:disabled):active {
  background: var(--calendar-primary) !important;
  background-color: var(--calendar-primary) !important;
  border-color: var(--calendar-primary) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

.calendar-page #calendar .fc-prev-button,
.calendar-page #calendar .fc-next-button {
  width: 38px;
  padding-inline: 0;
}

.calendar-page #calendar .fc-scrollgrid,
.calendar-page #calendar.fc-theme-standard td,
.calendar-page #calendar.fc-theme-standard th {
  border-color: #e2e9eb;
}

.calendar-page #calendar .fc-scrollgrid {
  overflow: hidden;
  border: 1px solid var(--calendar-border);
  border-radius: 10px;
}

.calendar-page #calendar .fc-col-header-cell {
  background: #f6f9fa;
}

.calendar-page #calendar .fc-col-header-cell-cushion {
  padding: .65rem .3rem;
  color: #5d7077;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.calendar-page #calendar .fc-daygrid-day-frame {
  min-height: 108px;
  padding: .18rem;
}

.calendar-page #calendar .fc-daygrid-day-top {
  padding: .22rem .3rem .08rem;
}

.calendar-page #calendar .fc-daygrid-day-number {
  display: inline-flex;
  min-width: 26px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #4d6269;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.calendar-page #calendar .fc-day-today {
  background: #f2f8f9 !important;
}

.calendar-page #calendar .fc-day-today .fc-daygrid-day-number {
  background: var(--calendar-primary);
  color: #fff;
}

.calendar-page #calendar .fc-day-other {
  background: #fbfcfc;
}

.calendar-page #calendar .fc-day-other .fc-daygrid-day-number {
  color: #a0adb1;
}

.calendar-page #calendar .fc-daygrid-day-events {
  margin-top: .15rem;
}

.calendar-page #calendar .fc-event {
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  cursor: pointer;
}

/* Semantic event palette. These selectors intentionally outrank the
   Bootstrap FullCalendar theme, which otherwise turns timed events into
   unfilled text links in some month renders. */
.calendar-page #calendar .calendar-event--availability {
  border-color: #2f7a61 !important;
  background-color: #2f7a61 !important;
  color: #fff !important;
}

.calendar-page #calendar .calendar-event--timeoff,
.calendar-page #calendar .time-off-partial-day {
  border-color: #8f6d55 !important;
  background-color: #8f6d55 !important;
  color: #fff !important;
}

.calendar-page #calendar .calendar-event--session,
.calendar-page #calendar .photo-session-partial {
  border-color: #ee9712 !important;
  background-color: #ee9712 !important;
  color: #fff !important;
}

.calendar-page #calendar .calendar-event--newborn {
  border-color: var(--calendar-newborn) !important;
  background-color: var(--calendar-newborn) !important;
  color: #fff !important;
}

.calendar-page #calendar .calendar-event--google {
  border-color: #0b57d0 !important;
  background-color: #0b57d0 !important;
  color: #fff !important;
}

.calendar-page #calendar .calendar-event--icloud {
  border-color: #1d7f43 !important;
  background-color: #1d7f43 !important;
  color: #fff !important;
}

.calendar-page #calendar [class*="calendar-event--"] .fc-event-main,
.calendar-page #calendar [class*="calendar-event--"] .fc-event-title,
.calendar-page #calendar [class*="calendar-event--"] .fc-event-time {
  color: #fff !important;
}

.calendar-page #calendar .fc-daygrid-event {
  margin: 2px 2px 0;
  padding: 3px 5px;
}

.calendar-page #calendar .fc-event-main {
  min-width: 0;
}

.calendar-page #calendar .fc-event-title,
.calendar-page #calendar .fc-event-time {
  overflow: hidden;
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-page #calendar .fc-event-time {
  font-size: .64rem;
  font-weight: 600;
  opacity: .88;
}

.calendar-page #calendar .fc-timegrid-slot-label-cushion,
.calendar-page #calendar .fc-timegrid-axis-cushion {
  color: var(--calendar-muted);
  font-size: .68rem;
}

.calendar-page #calendar .fc-timegrid-slot {
  height: 2.8rem;
}

.calendar-page #calendar .fc-timegrid-now-indicator-line {
  border-color: var(--calendar-session);
}

/* Calendar modals */
.calendar-page .calendar-modal .modal-dialog {
  max-width: 760px;
}

.calendar-page .calendar-event-modal .modal-dialog {
  max-width: 520px;
}

.calendar-page .calendar-modal .modal-content {
  overflow: hidden;
  max-height: min(92vh, 900px);
  background: #fff;
  border: 1px solid var(--calendar-border);
  border-radius: 15px;
  box-shadow: 0 24px 70px rgba(22, 42, 49, .22);
}

.calendar-page .calendar-modal .modal-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 74px;
  padding: .9rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e4ebed;
  z-index: 1056;
}

.calendar-modal__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--calendar-primary-soft);
  color: var(--calendar-primary);
  font-size: 1rem;
}

.calendar-modal__heading {
  min-width: 0;
}

.calendar-page .calendar-modal .modal-title {
  margin: 0;
  color: var(--calendar-ink);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.calendar-modal__heading p {
  margin: .12rem 0 0;
  color: var(--calendar-muted);
  font-size: .88rem;
  line-height: 1.4;
}

.calendar-page .calendar-modal .btn-close {
  flex: 0 0 auto;
  margin-left: auto !important;
  opacity: .55;
}

.calendar-page .calendar-modal .btn-close:hover {
  opacity: .85;
}

.calendar-modal__notice {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .72rem 1rem;
  background: #f3f8f9;
  border-bottom: 1px solid #e0eaec;
  color: #526a72;
  font-size: .86rem;
  line-height: 1.45;
}

.calendar-modal__notice i {
  flex: 0 0 auto;
  margin-top: .08rem;
  color: var(--calendar-primary);
}

.calendar-page .calendar-modal .modal-body {
  padding: 1rem;
}

.calendar-page .calendar-modal .modal-footer {
  padding: .75rem 1rem;
  background: #fafcfc;
  border-top: 1px solid #e4ebed;
}

.calendar-modal__loading {
  display: flex;
  min-height: 160px;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  color: var(--calendar-muted);
  font-size: .8rem;
}

.calendar-modal__loading .spinner-border {
  color: var(--calendar-primary);
}

/* Availability editor */
.availability-schedule-form {
  margin: 0;
}

.availability-days {
  display: grid;
  gap: .65rem;
}

.availability-day {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--calendar-border);
  border-radius: 11px;
}

.availability-day__header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem .85rem;
  background: #fbfcfc;
}

.availability-day__header > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .05rem;
}

.availability-day__header strong {
  color: var(--calendar-ink);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.availability-day__header span {
  color: var(--calendar-muted);
  font-size: .84rem;
  line-height: 1.35;
}

.availability-day__switch {
  min-height: 24px;
  margin: 0;
  padding-left: 2.8rem;
}

.availability-day__switch .form-check-input,
.timeoff-partial-toggle .form-check-input {
  width: 2.45rem;
  height: 1.35rem;
  margin-top: .05rem;
  margin-left: -2.8rem;
  border-color: #afc0c5;
  box-shadow: none;
  cursor: pointer;
}

.availability-day__switch .form-check-input:checked,
.timeoff-partial-toggle .form-check-input:checked {
  background-color: var(--calendar-primary);
  border-color: var(--calendar-primary);
}

.availability-day__switch .form-check-input:focus,
.timeoff-partial-toggle .form-check-input:focus {
  border-color: var(--calendar-primary);
  box-shadow: 0 0 0 .2rem rgba(61, 122, 134, .15);
}

.availability-day .time-slots {
  padding: .8rem;
  border-top: 1px solid #e8edef;
}

.availability-day__help {
  margin: 0 0 .65rem;
  color: var(--calendar-muted);
  font-size: .82rem;
  line-height: 1.45;
}

.availability-time-slot,
.timeoff-time-slot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: .6rem;
  margin-bottom: .6rem;
  padding: .7rem;
  background: #f8fafb;
  border: 1px solid #e0e8ea;
  border-radius: 9px;
}

.availability-block-added {
  background: #f0f7f4;
  border-color: #c6ded4;
}

.availability-time-field,
.timeoff-time-field,
.timeoff-field {
  min-width: 0;
}

.availability-time-field label,
.timeoff-time-field label,
.timeoff-field label {
  display: block;
  margin: 0 0 .3rem;
  color: #53676e;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
}

.calendar-page .calendar-modal input.form-control[type="time"],
.calendar-page .calendar-modal input.form-control[type="date"] {
  width: 100%;
  min-height: 42px;
  border-color: #cbd8dc;
  border-radius: 7px;
  background-color: #fff;
  color: var(--calendar-ink);
  font-size: .95rem;
  line-height: 1.2;
  padding: .55rem .65rem;
}

.calendar-page .calendar-modal input.form-control:focus {
  border-color: var(--calendar-primary);
  box-shadow: 0 0 0 .2rem rgba(61, 122, 134, .12);
}

.availability-time-slot__actions,
.timeoff-time-slot__actions {
  display: flex;
  align-items: center;
  gap: .42rem;
}

.availability-time-slot__actions .calendar-modal-button,
.timeoff-time-slot__actions .calendar-modal-button {
  min-height: 40px;
  padding: .58rem .72rem;
}

.availability-add-window {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--calendar-primary);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.2;
  padding: .35rem .15rem;
}

.availability-add-window:hover {
  color: var(--calendar-primary-dark);
}

.availability-schedule-form .alert-danger,
.timeoff-schedule-form .alert-danger {
  margin: 0 0 .7rem;
  border: 1px solid #efc2c2;
  border-radius: 8px;
  background: #fff5f5;
  color: #8d3b3b;
  font-size: .76rem;
}

/* Time-off editor */
.timeoff-schedule-form {
  display: grid;
  gap: .75rem;
}

.timeoff-form-section,
.timeoff-upcoming {
  background: #fff;
  border: 1px solid var(--calendar-border);
  border-radius: 11px;
  padding: .85rem;
}

.timeoff-form-section__heading,
.timeoff-upcoming__heading {
  margin-bottom: .72rem;
}

.timeoff-form-section__heading h3,
.timeoff-upcoming__heading h3 {
  margin: 0;
  color: var(--calendar-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.timeoff-form-section__heading p,
.timeoff-upcoming__heading p {
  margin: .15rem 0 0;
  color: var(--calendar-muted);
  font-size: .82rem;
  line-height: 1.45;
}

.timeoff-date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.timeoff-partial-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.timeoff-partial-toggle > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .1rem;
}

.timeoff-partial-toggle strong {
  color: var(--calendar-ink);
  font-size: .95rem;
  line-height: 1.35;
}

.timeoff-partial-toggle span {
  color: var(--calendar-muted);
  font-size: .82rem;
  line-height: 1.4;
}

.timeoff-partial-toggle .form-check {
  min-height: 24px;
  flex: 0 0 auto;
  margin: 0;
  padding-left: 2.8rem;
}

.timeoff-time-slots {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid #e5ecee;
}

.timeoff-form-actions {
  display: flex;
  justify-content: flex-end;
}

.timeoff-form-actions .calendar-modal-button {
  min-width: 132px;
}

.timeoff-upcoming {
  margin-top: .85rem;
}

.timeoff-list {
  display: grid;
  gap: .55rem;
}

.timeoff-block,
.timeoff-entry.timeoff-block {
  margin: 0;
  background: #fff;
  border: 1px solid var(--calendar-border);
  border-radius: 9px;
  box-shadow: none;
  color: var(--calendar-ink);
}

.timeoff-block .card-body,
.timeoff-entry.timeoff-block .card-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  padding: .72rem;
  background: transparent;
}

.timeoff-block__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f2ece8;
  color: var(--calendar-timeoff);
  font-size: .9rem;
}

.timeoff-block__content {
  min-width: 0;
}

.timeoff-block .card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .35rem;
  margin: 0;
  color: var(--calendar-ink);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
}

.timeoff-block .card-text {
  margin: .12rem 0 0;
  color: var(--calendar-muted);
  font-size: .8rem;
  line-height: 1.4;
}

.timeoff-block .card-text span {
  color: #829097;
}

.timeoff-block .calendar-modal-button {
  min-height: 34px;
  padding: .48rem .65rem;
}

.calendar-event-detail {
  display: grid;
  gap: .55rem;
}

.calendar-event-detail strong {
  color: var(--calendar-ink);
  font-size: 1rem;
  line-height: 1.4;
}

.calendar-event-detail p {
  margin: 0;
  padding: .65rem .75rem;
  background: #f7fafb;
  border: 1px solid #e2e9eb;
  border-radius: 8px;
  color: #566a71;
  font-size: .78rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .calendar-workspace {
    width: min(calc(100% - 1rem), 1120px);
    margin: 1rem auto 2.5rem;
  }

  .calendar-hero {
    display: block;
    margin-bottom: 1rem;
  }

  .calendar-hero h1 {
    font-size: 2rem;
  }

  .calendar-hero__copy > p:last-child {
    font-size: .84rem;
  }

  .calendar-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: .9rem;
  }

  .calendar-action {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding-inline: .55rem;
  }

  .calendar-overview {
    grid-template-columns: 1fr;
  }

  .calendar-overview__item {
    padding: .72rem .8rem;
  }

  .calendar-overview__item + .calendar-overview__item {
    border-top: 1px solid #e7edef;
    border-left: 0;
  }

  .calendar-surface__header {
    display: block;
    padding: .85rem;
  }

  .calendar-legend {
    justify-content: flex-start;
    margin-top: .7rem;
  }

  .calendar-canvas {
    padding: .65rem .45rem .55rem;
  }

  .calendar-page #calendar .fc-toolbar.fc-header-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: .55rem;
    align-items: center;
    margin-bottom: .75rem;
  }

  .calendar-page #calendar .fc-toolbar-chunk {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .calendar-page #calendar .fc-toolbar-chunk:nth-child(1) { grid-row: 2; justify-content: space-between; }
  .calendar-page #calendar .fc-toolbar-chunk:nth-child(2) { grid-row: 1; }
  .calendar-page #calendar .fc-toolbar-chunk:nth-child(3) { grid-row: 3; }

  .calendar-page #calendar .fc-toolbar-title {
    width: 100%;
    font-size: 1.15rem;
    text-align: center;
  }

  .calendar-page #calendar .fc-toolbar-chunk:nth-child(3) .fc-button-group,
  .calendar-page #calendar .fc-toolbar-chunk:nth-child(3) .btn-group {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calendar-page #calendar .fc-button,
  .calendar-page #calendar .fc-toolbar .btn {
    min-height: 38px;
    font-size: .7rem;
    padding: .5rem .35rem;
  }

  .calendar-page #calendar .fc-daygrid-day-frame {
    min-height: 82px;
    padding: .08rem;
  }

  .calendar-page #calendar .fc-col-header-cell-cushion {
    padding: .5rem .05rem;
    font-size: .61rem;
    letter-spacing: 0;
  }

  .calendar-page #calendar .fc-daygrid-day-top {
    padding: .1rem;
  }

  .calendar-page #calendar .fc-daygrid-day-number {
    min-width: 22px;
    min-height: 22px;
    font-size: .68rem;
  }

  .calendar-page #calendar .fc-daygrid-event {
    margin: 1px 1px 0;
    padding: 2px 3px;
  }

  .calendar-page #calendar .fc-event-title,
  .calendar-page #calendar .fc-event-time {
    font-size: .56rem;
    line-height: 1.2;
  }

  .calendar-page #calendar .fc-timegrid-slot {
    height: 2.6rem;
  }

  .calendar-page .calendar-modal .modal-body {
    padding: .75rem;
  }

  .availability-time-slot,
  .timeoff-time-slot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .availability-time-slot__actions,
  .timeoff-time-slot__actions {
    grid-column: 1 / -1;
  }

  .timeoff-form-actions .calendar-modal-button {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .calendar-page .calendar-modal .modal-content {
    max-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .calendar-page .calendar-modal .modal-header {
    min-height: 68px;
    padding: .72rem .75rem;
  }

  .calendar-modal__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .calendar-modal__heading p {
    font-size: .8rem;
  }

  .calendar-modal__notice {
    padding: .65rem .75rem;
  }

  .availability-day__header {
    min-height: 56px;
    padding: .68rem .72rem;
  }

  .availability-day .time-slots,
  .timeoff-form-section,
  .timeoff-upcoming {
    padding: .7rem;
  }

  .availability-time-slot,
  .timeoff-time-slot,
  .timeoff-date-grid {
    grid-template-columns: 1fr;
  }

  .availability-time-slot__actions,
  .timeoff-time-slot__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .availability-time-slot__actions .calendar-modal-button,
  .timeoff-time-slot__actions .calendar-modal-button {
    width: 100%;
  }

  .calendar-page .calendar-modal input.form-control[type="time"],
  .calendar-page .calendar-modal input.form-control[type="date"] {
    min-height: 46px;
    font-size: 16px;
  }

  .timeoff-block .card-body,
  .timeoff-entry.timeoff-block .card-body {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .timeoff-block .calendar-modal-button {
    width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 359.98px) {
  .calendar-workspace {
    width: calc(100% - .65rem);
  }

  .calendar-hero__actions {
    grid-template-columns: 1fr;
  }

  .calendar-page #calendar .fc-col-header-cell-cushion {
    font-size: .55rem;
  }

  .calendar-page #calendar .fc-event-title,
  .calendar-page #calendar .fc-event-time {
    font-size: .52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calendar-action,
  .calendar-modal-button {
    transition: none;
  }

  .calendar-action:hover,
  .calendar-modal-button:hover {
    transform: none;
  }
}
.booking-contact__layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .58fr); gap: 1.15rem; align-items: start; }
.booking-contact__form-panel { min-width: 0; }
.booking-contact__form { margin: 0; }

.booking-form-errors { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1rem; padding: .85rem; border: 1px solid #efc8cb; border-radius: 13px; color: #872d36; background: #fff4f5; }
.booking-form-errors > i { flex: 0 0 auto; margin-top: .05rem; }
.booking-form-errors strong { font-size: var(--booking-text-body, 1rem); }
.booking-form-errors ul { margin: .35rem 0 0; padding-left: 1rem; font-size: var(--booking-text-small, .875rem); line-height: 1.45; }

.booking-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.booking-field { min-width: 0; }
.booking-field--wide { grid-column: 1 / -1; }
.booking-field__label { display: block; margin-bottom: .42rem; color: #31444a; font-size: var(--booking-text-small, .875rem); font-weight: 800; }
.booking-field__input { display: block; width: 100%; min-height: 50px; margin: 0; padding: .78rem .85rem; border: 1px solid #cfdadc; border-radius: 11px; color: #17272c; background: #fff; font: inherit; font-size: var(--booking-text-body, 1rem); line-height: 1.35; transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease; }
.booking-field__input:hover { border-color: #adc3c6; }
.booking-field__input:focus { border-color: #3c727e; outline: 0; background: #fff; box-shadow: 0 0 0 3px rgba(60, 114, 126, .14); }
.booking-field__input::placeholder { color: #94a1a5; }

.booking-consent-list { display: grid; gap: .7rem; margin-top: 1.05rem; padding-top: 1.05rem; border-top: 1px solid #dbe5e6; }
.booking-consent-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; padding: .85rem; border: 1px solid #dbe5e6; border-radius: 13px; background: #fbfcfc; }
.booking-consent-row legend { float: none; width: auto; margin: 0; color: #17272c; font-size: var(--booking-text-body, 1rem); font-weight: 850; }
.booking-consent-row p { margin: .22rem 0 0; color: #68797e; font-size: var(--booking-text-small, .875rem); line-height: 1.5; }
.booking-consent-legal { margin: -.2rem .3rem 0; color: #65777c; font-size: var(--booking-text-caption, .8125rem); line-height: 1.6; }
.booking-consent-legal a { color: #285762; font-weight: 750; }

.segmented { --seg-accent: #3c727e; display: inline-flex; flex: 0 0 auto; align-items: center; gap: .25rem; padding: .25rem; border: 1px solid #d8e1e2; border-radius: 999px; background: #edf2f2; }
.segmented .btn-check { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.segmented-label { display: inline-flex; min-width: 52px; min-height: 40px; align-items: center; justify-content: center; margin: 0; padding: .48rem .72rem; border: 1px solid transparent; border-radius: 999px; color: #66777c; font-size: var(--booking-text-small, .875rem); font-weight: 800; cursor: pointer; transition: color .14s ease, border-color .14s ease, background-color .14s ease, box-shadow .14s ease; }
.segmented-label:hover { color: #31484e; }
.segmented .btn-check:checked + .segmented-label { border-color: var(--seg-accent); color: #fff; background: var(--seg-accent); box-shadow: 0 3px 9px rgba(40, 87, 98, .16); }
.segmented .btn-check:focus-visible + .segmented-label { outline: 3px solid rgba(60, 114, 126, .22); outline-offset: 2px; }

.booking-contact__submit { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: .55rem; margin-top: 1.1rem; padding: .78rem 1rem; border: 0; border-radius: 12px; color: #fff; background: #3c727e; box-shadow: 0 8px 20px rgba(40, 87, 98, .18); font: inherit; font-size: var(--booking-text-body, 1rem); font-weight: 850; cursor: pointer; transition: background-color .14s ease, box-shadow .14s ease, transform .14s ease; }
.booking-contact__submit:hover { background: #285762; box-shadow: 0 10px 24px rgba(40, 87, 98, .23); transform: translateY(-1px); }
.booking-contact__submit:focus-visible { outline: 3px solid rgba(60, 114, 126, .25); outline-offset: 2px; }

.booking-contact__next { position: sticky; top: 1rem; padding: 1.2rem; border: 1px solid #dbe5e6; border-radius: 20px; background: rgba(255, 255, 255, .97); box-shadow: 0 12px 34px rgba(28, 61, 68, .06); }
.booking-contact__next-eyebrow { display: block; margin-bottom: .38rem; color: #3c727e; font-size: var(--booking-text-caption, .8125rem); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.booking-contact__next h2 { margin: 0; color: #17272c; font-size: var(--booking-text-heading, 1.125rem); font-weight: 850; line-height: 1.35; }
.booking-contact__next ol { display: grid; gap: .9rem; margin: 1rem 0; padding: 1rem 0; border-top: 1px solid #dbe5e6; border-bottom: 1px solid #dbe5e6; list-style: none; }
.booking-contact__next li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .65rem; align-items: start; }
.booking-contact__next li > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: #285762; background: #e8f1f2; font-size: var(--booking-text-caption, .8125rem); font-weight: 850; }
.booking-contact__next strong,
.booking-contact__next small { display: block; }
.booking-contact__next strong { color: #26383e; font-size: var(--booking-text-body, 1rem); }
.booking-contact__next small { margin-top: .16rem; color: #66787d; font-size: var(--booking-text-small, .875rem); line-height: 1.45; }
.booking-contact__next > p { display: flex; align-items: flex-start; gap: .38rem; margin: 0; color: #66787d; font-size: var(--booking-text-caption, .8125rem); line-height: 1.5; }
.booking-contact__next > p i { flex: 0 0 auto; color: #3c727e; }

@media (max-width: 860px) {
  .booking-contact__layout { grid-template-columns: 1fr; }
  .booking-contact__next { position: static; }
}

@media (max-width: 600px) {
  .booking-field-grid { grid-template-columns: 1fr; }
  .booking-field--wide { grid-column: auto; }
  .booking-consent-row { align-items: flex-start; flex-direction: column; }
  .segmented { width: 100%; }
  .segmented-label { flex: 1 1 0; min-height: 40px; }
  .booking-contact__next { border-radius: 17px; }
}

@media (max-width: 390px) {
  .booking-field__input { min-height: 50px; font-size: 16px; }
  .booking-consent-row { padding: .75rem; }
}
.clients-index-page,
.clients-index-page body {
  min-height: 100%;
  background: #f5f7f7;
}

.clients-index {
  --clients-ink: #1c2a2f;
  --clients-muted: #6b7b80;
  --clients-brand: #3c727e;
  --clients-brand-dark: #285762;
  --clients-line: #dce4e5;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.6rem) 0 3.5rem;
  color: var(--clients-ink);
}

.clients-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--clients-line);
}

.clients-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.clients-hero__copy p {
  margin: .5rem 0 0;
  color: var(--clients-muted);
  font-size: .9rem;
}

.clients-hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.clients-action,
.client-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 39px;
  padding: .55rem .78rem;
  border: 1px solid var(--clients-line);
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.clients-action--primary {
  border-color: var(--clients-brand);
  color: #fff;
  background: var(--clients-brand);
}

.clients-action--primary:hover {
  border-color: var(--clients-brand-dark);
  color: #fff;
  background: var(--clients-brand-dark);
}

.clients-action.is-disabled {
  opacity: .5;
  pointer-events: none;
}

.clients-toolbar {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--clients-line);
  border-radius: 14px;
  background: #fff;
}

.client-search {
  display: flex;
  min-height: 43px;
  align-items: center;
  padding-left: .8rem;
  border: 1px solid #d2dcde;
  border-radius: 10px;
  background: #fafbfb;
}

.client-search:focus-within {
  border-color: rgba(60, 114, 126, .6);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(60, 114, 126, .1);
}

.client-search > i {
  flex: 0 0 auto;
  color: var(--clients-brand);
  font-size: .85rem;
}

.client-search input {
  width: 100%;
  min-width: 0;
  padding: .6rem .65rem;
  border: 0;
  outline: 0;
  color: var(--clients-ink);
  background: transparent;
  font: inherit;
  font-size: .875rem;
}

.client-search input::placeholder { color: #98a4a8; }

.clients-directory { margin-top: 1.55rem; }

.clients-directory__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .65rem;
}

.clients-directory__heading h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 850;
}

.clients-directory__heading p {
  margin: .25rem 0 0;
  color: var(--clients-muted);
  font-size: .8rem;
}

.clients-directory__count {
  flex: 0 0 auto;
  color: var(--clients-muted);
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}

.clients-directory__count strong {
  color: var(--clients-brand-dark);
  font-variant-numeric: tabular-nums;
}

.clients-table-shell {
  overflow: hidden;
  border: 1px solid var(--clients-line);
  border-radius: 11px;
  background: #fff;
}

.clients-table {
  min-width: 850px;
  margin: 0;
  color: var(--clients-ink);
}

.clients-table thead th {
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--clients-line);
  color: #73858a;
  background: #f8fafa;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.clients-table tbody td {
  padding: .72rem .8rem;
  border-color: #edf1f1;
  vertical-align: middle;
  font-size: .82rem;
}

/* Keep the generic cell contract used by older interaction checks. */
.clients-table td { vertical-align: middle; }

.clients-table tbody tr:last-child td { border-bottom: 0; }

.client-name-cell { white-space: nowrap; }

.client-name-content {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-weight: 800;
}

.client-contact-value {
  max-width: 230px;
  overflow: hidden;
  color: #586b70;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-table-row {
  cursor: pointer;
  transition: background-color .14s ease, box-shadow .14s ease;
}

.customer-table-row:hover > td { background: #f5f9f9; }

.customer-table-row:focus-visible {
  outline: 0;
  box-shadow: inset 3px 0 0 var(--clients-brand), inset 0 0 0 2px rgba(60, 114, 126, .18);
}

.customer-table-row td:last-child { cursor: default; }

.client-row-action {
  min-height: 34px;
  padding: .4rem .58rem;
  border-color: #cad7d9;
  color: #48636a;
  background: #fff;
  font-size: .75rem;
}

.client-row-action:hover {
  border-color: #9fb9bd;
  color: var(--clients-brand-dark);
  background: #eef5f5;
}

.client-row-action + .client-row-action { margin-left: .25rem; }

.client-row-action--danger {
  border-color: #e3c4c4;
  color: #934d4d;
}

.client-row-action--danger:hover {
  border-color: #d5a9a9;
  color: #7e3939;
  background: #fbefef;
}

.clients-mobile-list { display: none; }

.customer-card {
  cursor: pointer;
  border: 1px solid var(--clients-line);
  border-radius: 11px;
  background: #fff;
  transition: border-color .14s ease, box-shadow .14s ease;
}

.customer-card + .customer-card { margin-top: .5rem; }

.customer-card:hover {
  border-color: #b7cacc;
  box-shadow: 0 6px 16px rgba(28, 61, 68, .065);
}

.customer-card:focus-visible {
  outline: 2px solid rgba(60, 114, 126, .65);
  outline-offset: 2px;
}

.customer-card__body { padding: .85rem; }

.customer-card__heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .5rem;
}

.customer-card__heading h3 {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: var(--clients-ink);
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-open-chevron {
  flex: 0 0 auto;
  margin-left: auto;
  color: #84999e;
  font-size: .75rem;
}

.client-card-contact {
  display: grid;
  gap: .4rem;
  min-width: 0;
  margin-top: .72rem;
  color: #5e7075;
  font-size: .82rem;
}

.client-card-contact p {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: .35rem;
  margin: 0;
}

.client-card-contact p span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.client-card-contact i {
  margin-top: 1px;
  color: #72969b;
}

.customer-card__sms { margin-top: .7rem; }

.client-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .75rem;
  padding-top: .7rem;
  border-top: 1px solid #edf1f1;
}

.client-card-actions .client-row-action { min-height: 36px; }
.client-card-actions .client-row-action + .client-row-action { margin-left: 0; }

/* Google Places suggestions must sit over the full-screen client editor. */
.pac-container { z-index: 9999 !important; }

/* Client detail modal refinements. */
#clientsAddEditModal .modal-content,
#clientsShowModal .modal-content { background: #f5f7f7; }

#clientsAddEditModal .modal-header,
#clientsShowModal .modal-header {
  min-height: 58px;
  border-bottom-color: var(--clients-line, #dce4e5);
  background: #fff;
}

#clientsAddEditModal .modal-body,
#clientsShowModal .modal-body { padding: clamp(1rem, 3vw, 2rem); }

#clientsAddEditFormContainer > form {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #dce4e5;
  border-radius: 14px;
  background: #fff;
}

/* Client status indicator used in both the directory and detail modal. */
.status-dot,
.status-dot-table {
  display: inline-block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
  vertical-align: middle;
}

.status-dot-lg { width: 14px; height: 14px; }
.status-red { background: #dc3545; }
.status-yellow { background: #ffc107; }
.status-green { background: #28a745; }
.status-none { background: #ced4da; }

.status-caret-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .25rem;
  border: 0 !important;
  outline: 0;
  color: #000;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1;
  transition: opacity .15s ease;
}

.status-caret-btn:hover { opacity: .85; }
.status-caret-btn .bi { color: #000; font-size: .9rem; transition: transform .2s ease; }
.status-caret-btn[aria-expanded="true"] .bi { transform: rotate(180deg); }

/* Autosaving notes inside the client detail modal. */
.client-notes-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #6c757d;
  font-size: .8rem;
}

.client-notes-status .spinner-border {
  width: .9rem;
  height: .9rem;
  border-width: .15em;
}

.client-panel .client-session-count {
  min-width: 1.7rem;
  padding: .36rem .55rem;
  border: 1px solid #cfe2e5;
  border-radius: 999px;
  color: #426f75;
  background: #e9f4f5;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

[data-client-notes-target="statusText"] { transition: color .25s ease, opacity .25s ease; }
.spinner-border.d-none { opacity: 0; transition: opacity .25s ease; }
.spinner-border:not(.d-none) { opacity: 1; }

@media (max-width: 820px) {
  .clients-table-shell { display: none; }
  .clients-mobile-list { display: block; }
}

@media (max-width: 640px) {
  .clients-index {
    width: min(100% - 1rem, 1120px);
    padding-top: .85rem;
  }

  .clients-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .clients-hero__actions,
  .clients-hero__actions .clients-action { width: 100%; }

  .clients-directory__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .4rem;
  }

  #clientsAddEditModal .modal-body,
  #clientsShowModal .modal-body { padding: .75rem; }
}

@media (max-width: 575.98px) {
  .customer-card__body { padding: .8rem; }
  .client-card-contact { overflow-wrap: anywhere; }
}

@media (max-width: 420px) {
  .client-search input { font-size: .875rem; }
  .client-card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-card-actions .client-row-action { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .clients-index * { scroll-behavior: auto !important; transition: none !important; }
}
/* ===== Orbit Confirm Page (scoped) ===== */

.confirm-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bs-body-bg, #f8f9fa);
}

.confirm-box {
  width: 100%;
  max-width: 520px;      /* comfy width for this screen only */
  margin: 0 auto;
}

.confirm-logo {
  width: clamp(96px, 18vw, 140px);
  height: auto;
}

.confirm-card {
  border-radius: 2rem;
  overflow: hidden;
  container-type: inline-size; /* enables container queries */
  container-name: confirm;
}

.confirm-card .card-body { border-radius: inherit; }

/* Subtle round badge with Orbit-ish cyan tint */
.confirm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(60,114,126,.08);
  color: var(--bs-primary, #0d6efd);
}

/* Container-query padding tweaks (scoped to this card only) */
@container confirm (max-width: 420px) {
  .confirm-card .card-body { padding: 1rem 1.25rem; }
  .confirm-card .btn { padding-block: .7rem; }
}

@container confirm (min-width: 421px) and (max-width: 639px) {
  .confirm-card .card-body { padding: 1.5rem 1.75rem; }
}

@container confirm (min-width: 640px) {
  .confirm-card .card-body { padding: 2rem 2.25rem; }
  .confirm-card .h4, .confirm-card h1, .confirm-card .card-title { font-size: 1.35rem; }
}
.contract-templates-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Title Styling */
.contract-templates-title {
  font-size: 1.75rem;
  color: #3c727e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.btn-add-contract-template {
  display: inline-block;
  margin-bottom: 1.5rem;
  background-color: #3c727e;
  border-color: #3c727e;
  color: white;
  padding: 0.75rem 1.5rem;
}
.btn-add-contract-template:hover {
  background-color: #2e5b69;
  border-color: #2e5b69;
}

/* Ensure modal content is not centered by parent container */
.modal-content {
  text-align: left; /* Override inherited text alignment */
  margin: 0 auto; /* Keep it centered within the modal dialog */
}

.contract-template-list {
  padding: 0;
  list-style: none;
}

.contract-template-item-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contract-template-item-card:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.contract-template-info {
  max-width: 70%;
}
.contract-template-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3c727e;
}

.btn-group-actions {
  display: flex;
  gap: 0.5rem;
}
.edit-contract-template-btn,
.delete-contract-template-btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.edit-contract-template-btn {
  border-color: #3c727e;
  color: #3c727e;
}

.delete-contract-template-btn {
  border-color: #f39e1d;
  color: #f39e1d;
}

.edit-contract-template-btn:hover {
  background-color: #3c727e;
  color: white;
}

.delete-contract-template-btn:hover {
  background-color: #f39e1d;
  color: white;
}

.contract-template-modal-header {
  background-color: #6d8c91;
  color: white;
}
.contract-template-modal-body {
  background-color: #f8f9fa;
  padding: 1.5rem;
  text-align: left; /* Prevent centering */
}
.contract-template-modal-title {
  font-weight: bold;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Center Navbar Links */
  #custom-navbar .navbar-nav {
    text-align: center;
  }

  /* Full-Width Location Item Card for Mobile */
  .contract-template-item-card {
    flex-direction: column;
    text-align: center;
  }

  /* Full-Width Buttons */
  .btn-group-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-group-actions .btn {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  /* Smaller Add Location Button for Mobile */
  .btn-add-contract-template {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #3c727e;
    color: white;
  }
}

@media (max-width: 576px) {
  /* Padding Adjustment for Small Screens */
  .contract-templates-container {
    padding: 1rem;
  }

  /* Adjusted Font Sizes for Small Screens */
  .contract-template-name {
    font-size: 1rem;
  }

}

/* Contract Templates — solid brand fills like Session Categories */
.contract-template-item-card .btn-group-actions .btn.edit-contract-template-btn,
.contract-template-item-card .btn-group-actions .btn.delete-contract-template-btn {
  font-weight: 600;
  border-width: 1px;
  font-size: 0.85rem;
  padding: 0.5rem 1rem; /* keeps alignment with your .btn-group-actions .btn rule */
}

/* Edit = brand teal */
.contract-template-item-card .btn-group-actions .btn.edit-contract-template-btn {
  background-color: #3c727e !important;
  border-color: #3c727e !important;
  color: #fff !important;
}
.contract-template-item-card .btn-group-actions .btn.edit-contract-template-btn:hover {
  background-color: #2e5b69 !important;
  border-color: #2e5b69 !important;
  color: #fff !important;
}

/* Delete = brand orange */
.contract-template-item-card .btn-group-actions .btn.delete-contract-template-btn {
  background-color: #f39e1d !important;
  border-color: #f39e1d !important;
  color: #fff !important;
}
.contract-template-item-card .btn-group-actions .btn.delete-contract-template-btn:hover {
  background-color: #d68717 !important;
  border-color: #d68717 !important;
  color: #fff !important;
}
:root {
  --brand-color: #3c727e;
  --brand-color-rgb: 60, 114, 126;
}

.earnings-page .mission-control-content {
  display: grid;
  gap: 1rem;
}

.earnings-range-dropdown .dropdown-toggle::after {
  margin-left: .15rem;
}

.earnings-range-menu {
  width: min(300px, calc(100vw - 1.5rem));
  max-height: min(460px, calc(100vh - 6rem));
  overflow-y: auto;
  padding: .4rem;
  border: 1px solid #d7e0e2;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(27, 56, 63, .14);
}

.earnings-range-menu .dropdown-item {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: .48rem .65rem;
  border-radius: 7px;
  color: #43585e;
  font-size: .82rem;
  font-weight: 600;
}

.earnings-range-menu .dropdown-item:hover {
  color: #285762;
  background: #f1f6f6;
}

.earnings-range-menu .dropdown-item.active {
  color: #fff;
  background: #3c727e;
  font-weight: 700;
}

.earnings-range-menu .dropdown-header {
  margin: 0;
  padding: .55rem .65rem .3rem;
  color: #718287;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.earnings-period {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 58px;
  padding: .7rem .85rem;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  color: var(--mc-ink);
  background: #fff;
}

.earnings-period__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--mc-brand);
  background: #edf4f4;
  font-size: 1rem;
}

.earnings-period > span:last-child {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .18rem .55rem;
  font-size: .86rem;
}

.earnings-period strong {
  font-size: .82rem;
  font-weight: 800;
}

.earnings-period strong + span {
  color: var(--mc-muted);
}

.earnings-cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .55rem;
}

.earnings-card {
  display: flex;
  min-width: 0;
  min-height: 105px;
  flex-direction: column;
  justify-content: space-between;
  padding: .85rem;
  border: 1px solid var(--mc-line);
  border-radius: 11px;
  background: #fbfcfc;
}

.earnings-card--total {
  border-color: #b8ced1;
  background: #f2f7f7;
}

.kpi-label {
  margin: 0 0 .55rem;
  color: #63757a;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.35;
}

.kpi-label span {
  font-weight: 600;
}

.earnings-card .value {
  overflow-wrap: anywhere;
  color: var(--mc-ink);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.earnings-chart-panel__header {
  align-items: flex-end;
}

.chart-kind {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4rem;
}

.chart-kind button {
  min-height: 34px;
  padding: .42rem .62rem;
  border: 1px solid #bdcccf;
  border-radius: 8px;
  color: #51656b;
  background: #fff;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.chart-kind button:hover,
.chart-kind button:focus-visible {
  border-color: #9bb3b7;
  color: var(--mc-brand-dark);
  background: #f2f7f7;
}

.chart-kind button:focus-visible {
  outline: 3px solid rgba(var(--brand-color-rgb), .16);
  outline-offset: 1px;
}

.chart-kind button.active {
  border-color: var(--mc-brand);
  color: #fff;
  background: var(--mc-brand);
}

.earnings-chart-panel__body {
  padding: .75rem 1rem 1.1rem;
}

.chart-area {
  position: relative;
  width: 100%;
  height: 320px;
}

canvas[data-earnings-target="chart"] {
  display: block;
  width: 100% !important;
  height: 100% !important;
  image-rendering: auto;
}

.earnings-outstanding-panel__header {
  align-items: center;
}

.earnings-outstanding-panel__header > div:first-child {
  max-width: 760px;
}

.earnings-outstanding-total {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: .05rem;
}

.earnings-outstanding-total span {
  color: var(--mc-muted);
  font-size: .75rem;
  font-weight: 700;
}

.earnings-outstanding-total strong {
  color: var(--mc-ink);
  font-size: 1.15rem;
  line-height: 1.2;
}

.earnings-accordion .accordion-item {
  border: 0;
  border-radius: 0;
}

.earnings-accordion .accordion-button {
  display: flex;
  gap: .5rem;
  min-height: 51px;
  padding: .78rem 1rem;
  color: #43585e;
  background: #fff;
  font-size: .82rem;
  font-weight: 750;
  box-shadow: none;
}

.earnings-accordion .accordion-button:not(.collapsed) {
  color: var(--mc-brand-dark);
  background: #f5f9f9;
  box-shadow: inset 0 -1px 0 var(--mc-line);
}

.earnings-accordion .accordion-button:focus {
  border-color: transparent;
  box-shadow: inset 0 0 0 3px rgba(var(--brand-color-rgb), .12);
}

.earnings-accordion__count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 .4rem;
  border-radius: 7px;
  color: #52686e;
  background: #eaf0f1;
  font-size: .75rem;
  font-weight: 800;
}

.earnings-accordion .accordion-body {
  padding: .35rem 1rem .75rem;
}

.outstanding-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid #e9eeee;
}

.outstanding-row:last-child {
  border-bottom: 0;
}

.outstanding-row__details {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .55rem;
  color: var(--mc-ink);
  font-size: .84rem;
}

.outstanding-row__details strong {
  overflow-wrap: anywhere;
}

.outstanding-row__client {
  color: var(--mc-muted);
}

.outstanding-row__client::before {
  margin-right: .5rem;
  content: "•";
}

.outstanding-row__amount {
  color: var(--mc-ink);
  font-size: .88rem;
  white-space: nowrap;
}

.badge-kind {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: .25rem .48rem;
  border-radius: 7px;
  color: #466067;
  background: #edf2f3;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1;
}

.earnings-empty-state {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 74px;
  color: var(--mc-ink);
}

.earnings-empty-state > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #32725f;
  background: #e7f3ef;
  font-size: 1.05rem;
}

.earnings-empty-state strong {
  font-size: .86rem;
}

.earnings-empty-state p {
  margin: .12rem 0 0;
  color: var(--mc-muted);
  font-size: .8rem;
}

@media (max-width: 900px) {
  .earnings-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .earnings-card {
    grid-column: span 2;
  }

  .earnings-card--total {
    grid-column: 1 / -1;
  }

  .earnings-chart-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-kind {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .earnings-range-dropdown,
  .earnings-range-dropdown .mission-control-action {
    width: 100%;
  }

  .earnings-range-menu {
    width: 100%;
  }

  .earnings-period {
    align-items: flex-start;
  }

  .earnings-period > span:last-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .earnings-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }

  .earnings-card {
    grid-column: auto;
    min-height: 82px;
    padding: .75rem;
  }

  .earnings-card--total {
    grid-column: 1 / -1;
    min-height: 74px;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: .8rem .9rem;
  }

  .earnings-card--total .kpi-label {
    max-width: 46%;
    margin-bottom: 0;
  }

  .earnings-card--total .value {
    flex: 0 1 auto;
    font-size: clamp(1.25rem, 6vw, 1.55rem);
    text-align: right;
  }

  .earnings-card:not(.earnings-card--total) .kpi-label {
    margin-bottom: .35rem;
    font-size: .75rem;
  }

  .earnings-card:not(.earnings-card--total) .value {
    font-size: clamp(1rem, 5vw, 1.2rem);
  }

  .earnings-chart-panel__header {
    gap: .75rem;
  }

  .chart-kind {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .35rem;
  }

  .chart-kind button {
    width: 100%;
    min-height: 42px;
    padding: .4rem .35rem;
    line-height: 1.15;
    white-space: normal;
  }

  .chart-kind button:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .chart-kind button:nth-child(n + 4) {
    grid-column: span 3;
  }

  .chart-area {
    height: 250px;
  }

  .earnings-outstanding-panel__header {
    align-items: flex-start;
  }

  .earnings-outstanding-total {
    align-items: flex-start;
  }

  .outstanding-row {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .outstanding-row__amount {
    padding-left: 0;
  }
}

@media (max-width: 380px) {
  .chart-area {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .earnings-page * {
    transition: none !important;
  }
}
/* ========================
   Email Templates (unified)
   ======================== */

/* Page container */
.email-templates-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: left;              /* keep content left by default */
}

/* Title (centered as requested) */
.email-templates-title {
  font-size: 1.75rem;
  color: #3c727e;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;            /* ⬅️ center the "Email Templates" heading */
}

/* Center the "Add Gallery Delivery Template" button while keeping .btn-sm sizing */
.email-templates-container .btn-add-email-template,
.email-templates-container button[data-bs-target="#addEmailTemplateModal"] {
  display: block;            /* allows margin auto centering */
  margin: 0 auto 1rem;       /* center horizontally */
  width: max-content;        /* shrink to content so .btn-sm size is respected */
  background-color: #3c727e; /* brand color */
  border-color: #3c727e;
  color: #fff;
}

.email-templates-container .btn-add-email-template:hover,
.email-templates-container button[data-bs-target="#addEmailTemplateModal"]:hover {
  background-color: #2e5b69;
  border-color: #2e5b69;
  color: #fff;
}



/* Ensure modals aren’t centered by container */
.modal-content {
  text-align: left;
  margin: 0 auto;
}

.email-template-list {
  padding: 0;
  list-style: none;
}

/* ===== Cards =====
   Two-column grid so actions stay on the right even on mobile. */
.email-template-item-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;

  display: grid;
  grid-template-columns: 1fr auto;  /* name/info | actions */
  align-items: center;               /* vertical centering */
  gap: .25rem 1rem;

  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: left;
}
.email-template-item-card:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0,0,0,.15);
}

/* Normalize any inline align-items overrides from markup */
@media (max-width: 9999px) {
  .email-template-item-card { align-items: center !important; }
}

/* Left column */
.email-template-info {
  max-width: 100%;
  min-width: 0;
}
.email-template-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3c727e;
  margin: 0;
}

/* Right column (actions) */
.btn-group-actions,
.email-template-item-card > .d-flex {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  justify-content: flex-end;      /* ⬅️ push to right edge */
}

/* Buttons */
.edit-email-template-btn,
.delete-email-template-btn,
.email-template-item-card .btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 768px) {
  .email-templates-container { padding: 1rem; }
  .email-template-item-card { gap: .25rem .75rem; }
  .email-template-name { font-size: 1rem; }

  /* If actions wrap on very narrow phones, keep them right-aligned */
  .btn-group-actions,
  .email-template-item-card > .d-flex {
    flex-wrap: wrap;
    row-gap: .5rem;
    justify-content: flex-end;
  }
}

/* (Optional) If your navbar CSS was centering items globally */
@media (max-width: 768px) {
  #custom-navbar .navbar-nav { text-align: center; }
}

/* ========================
   Brand colors for buttons
   ======================== */
:root{
  --brand-teal:        #3c727e;
  --brand-teal-dark:   #2e5b69;
  --brand-orange:      #f39e1d;
  --brand-orange-dark: #d18412;
}

/* “Edit” = teal solid */
.btn-info,
.btn-info:focus {
  background-color: var(--brand-teal) !important;
  border-color:     var(--brand-teal) !important;
  color: #fff !important;
}
.btn-info:hover,
.btn-info:active {
  background-color: var(--brand-teal-dark) !important;
  border-color:     var(--brand-teal-dark) !important;
  color: #fff !important;
}

/* “Delete” = orange solid */
.btn-danger,
.btn-danger:focus {
  background-color: var(--brand-orange) !important;
  border-color:     var(--brand-orange) !important;
  color: #fff !important;
}
.btn-danger:hover,
.btn-danger:active {
  background-color: var(--brand-orange-dark) !important;
  border-color:     var(--brand-orange-dark) !important;
  color: #fff !important;
}

/* If the “Add …” button is using outline-primary elsewhere, keep it teal */
.email-templates-container .btn-outline-primary,
.session-categories-container .btn-outline-primary {
  background-color: var(--brand-teal) !important;
  border-color:     var(--brand-teal) !important;
  color: #fff !important;
}
.email-templates-container .btn-outline-primary:hover,
.session-categories-container .btn-outline-primary:hover {
  background-color: var(--brand-teal-dark) !important;
  border-color:     var(--brand-teal-dark) !important;
  color: #fff !important;
}

/* Force the heading to center even inside a flex row */
.email-templates-title {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  width: fit-content; /* keeps the block tight so auto margins can center it */
}

/* Make sure Bootstrap's .d-flex can't override our grid */
.email-template-item-card {
  display: grid !important;          /* <- key fix */
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .25rem 1rem;
}

/* Keep the "Edit" button(s) pinned to the right */
.btn-group-actions {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  justify-self: end;                 /* <- pins to right grid column */
}

/* Remove the normalize that was fighting your inline align-items */
@media (max-width: 9999px) {
  /* DELETE any rule like this if you have it:
     .email-template-item-card { align-items: center !important; }
  */
}

@media (max-width: 768px) {
  .btn-group-actions {
    flex-wrap: wrap;
    row-gap: .5rem;
    justify-content: flex-end;
    justify-self: end;               /* keep right on wrap */
  }
}
/* Match Sign In logo sizing */
.auth-page .centered-logo {
  width: clamp(96px, 18vw, 140px);
  height: auto;
}

/* Give the outer card the same rounded look and enable container queries */
.auth-card {
  border-radius: 2rem;
  overflow: hidden;
  container-type: inline-size;   /* enables container queries below */
  container-name: auth;
}

/* Inherit rounding inside the card body */
.auth-card .card-body {
  border-radius: inherit;
}

/* Page layout helpers (same feel as Sign In) */
.auth-page {
  padding-block: 1.25rem;
}
@media (min-height: 640px) {
  .auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}

/* --- Container query-driven refinements (match sign-in.css) --- */
@container auth (max-width: 360px) {
  .auth-card .card-body { padding: 1rem 1.25rem; }
  .auth-card .form-control { font-size: 0.95rem; }
  .auth-card .btn { padding-block: .7rem; }
}

@container auth (min-width: 420px) {
  .auth-card .card-body { padding: 1.5rem 1.75rem; }
}

@container auth (min-width: 560px) {
  .auth-card .card-body { padding: 2rem 2.25rem; }
  .auth-card .card-title,
  .auth-card .h4,
  .auth-card h1 { font-size: 1.35rem; }
}

/* Keep controls comfy on phones, tidy on large screens */
@media (min-width: 992px) {
  .auth-card .form-control {
    font-size: 1rem;
    padding-top: .6rem;
    padding-bottom: .6rem;
  }
}

/* Optional: make the “Sign up / Log in” CTA buttons consistent */
.auth-card .btn-outline-primary.btn-sm.w-100 {
  padding-block: .6rem;
  border-radius: .75rem;
}
/* ===== Gallery Analytics modal styles ===== */

/* Make Copy Link look like outline-secondary (same as "View Photos")
   and prevent odd active/pressed colors */
.btn-copy-link.btn-outline-secondary {
  /* Use brand secondary if you expose one, else Bootstrap secondary */
  --_btn: var(--brand-secondary, var(--bs-secondary));

  /* Keep outline vibe; tweak hover/active subtly */
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--_btn);
  --bs-btn-color: var(--_btn);

  /* Light tint on hover/active instead of theme "warning" yellow, etc. */
  --bs-btn-hover-bg: rgba(108, 117, 125, .08);
  --bs-btn-hover-border-color: var(--_btn);
  --bs-btn-hover-color: var(--_btn);

  --bs-btn-active-bg: rgba(108, 117, 125, .12);
  --bs-btn-active-border-color: var(--_btn);
  --bs-btn-active-color: var(--_btn);

  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-copy-link.btn-outline-secondary:focus,
.btn-copy-link.btn-outline-secondary:active {
  box-shadow: none !important;
}

/* Compact scroll box for long filename lists under "View Photos"
   Targeted so it only affects the filenames container. */
.download-filenames-scroll {
  /* ~3 list-group rows tall (adjust to taste) */
  max-height: 7.25rem; /* ~116px */
  overflow-y: auto;
  overflow-x: hidden;

  border: var(--bs-border-width, 1px) solid var(--bs-border-color, #dee2e6);
  border-radius: .5rem;
  background: var(--bs-body-bg, #fff);
}

/* Keep list items tidy inside the scroll box */
.download-filenames-scroll .list-group-item {
  border-left: 0;
  border-right: 0;
  padding: .5rem .75rem;
}
.gallery-search {
  position: relative;
  width: min(360px, 100%);
}

.gallery-search > i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: .85rem;
  color: #75878c;
  font-size: .8rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.gallery-search__input {
  width: 100%;
  min-height: 43px;
  padding: .68rem .9rem .68rem 2.35rem;
  border: 1px solid #cbd8da;
  border-radius: 10px;
  color: #18282d;
  background: #fafbfb;
  font-size: .875rem;
  outline: 0;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.gallery-search__input::placeholder {
  color: #8a989c;
}

.gallery-search__input:focus {
  border-color: #3c727e;
  background: #fff;
  box-shadow: 0 0 0 .2rem rgba(60, 114, 126, .15);
}

.galleries-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-width: 0;
}

.gallery-library-card {
  overflow: hidden;
  border: 1px solid #d6dfe1;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.gallery-library-card:hover {
  border-color: #aabfc3;
  box-shadow: 0 6px 16px rgba(28, 61, 68, .065);
}

.gallery-library-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-box {
  position: relative;
  display: grid;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: #edf2f2;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .15s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14, 31, 35, .22));
  pointer-events: none;
}

.gallery-library-card__placeholder {
  display: grid;
  place-items: center;
  gap: .4rem;
  color: #839297;
  font-size: .75rem;
  font-weight: 750;
}

.gallery-library-card__placeholder i {
  color: #87a1a6;
  font-size: 1.45rem;
}

.gallery-library-card__open {
  position: absolute;
  right: .75rem;
  bottom: .7rem;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 7px;
  color: #fff;
  background: rgba(20, 42, 47, .58);
  font-size: .78rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
}

.gallery-library-card:hover .gallery-library-card__open,
.gallery-library-card__link:focus-visible .gallery-library-card__open {
  opacity: 1;
  transform: translateY(0);
}

.gallery-library-card__link:focus-visible {
  outline: 3px solid rgba(60, 114, 126, .22);
  outline-offset: -3px;
}

.gallery-library-card__body {
  min-width: 0;
  padding: .82rem .9rem .9rem;
}

.gallery-library-card__body h3 {
  margin: 0;
  overflow: hidden;
  color: #18282d;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-library-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  margin-top: .42rem;
  color: #718287;
  font-size: .8rem;
}

.gallery-library-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
}

.gallery-menu-three-dots {
  position: absolute;
  z-index: 4;
  top: .65rem;
  right: .65rem;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 7px;
  color: #fff;
  background: rgba(20, 42, 47, .58);
  box-shadow: 0 1px 3px rgba(14, 31, 35, .16);
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s ease, background-color .15s ease;
}

.gallery-library-card:hover .gallery-menu-three-dots,
.gallery-menu-three-dots:focus-visible {
  opacity: 1;
}

.gallery-menu-three-dots:hover {
  background: rgba(20, 42, 47, .8);
}

.gallery-menu-three-dots:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .65);
  outline-offset: 2px;
}

.gallery-menu {
  position: absolute;
  z-index: 8;
  top: 3.15rem;
  right: .65rem;
  min-width: 145px;
  padding: .35rem;
  border: 1px solid #dbe5e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(23, 39, 44, .14);
}

.gallery-menu-delete {
  display: block;
  padding: .58rem .65rem;
  border-radius: 5px;
  color: #a53b42;
  font-size: .8rem;
  font-weight: 650;
  text-decoration: none;
}

.gallery-menu-delete:hover {
  color: #8d2f36;
  background: #fff1f2;
}

@media (max-width: 900px) {
  .gallery-menu-three-dots,
  .gallery-library-card__open {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .gallery-search {
    width: 100%;
  }

  .gallery-search__input {
    min-height: 46px;
    font-size: 1rem;
  }

  .galleries-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }

  .gallery-library-card {
    border-radius: 11px;
  }

  .gallery-library-card__body {
    padding: .75rem;
  }

  .gallery-library-card__meta {
    display: grid;
    gap: .2rem;
  }
}

@media (max-width: 370px) {
  .galleries-container {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-library-card,
  .gallery-image,
  .gallery-menu-three-dots,
  .gallery-library-card__open,
  .gallery-search__input {
    transition: none;
  }
}
.gallery-library-page {
  --gallery-ink: #18282d;
  --gallery-muted: #68797e;
  --gallery-brand: #3c727e;
  --gallery-brand-dark: #285762;
  --gallery-accent: #ed9517;
  --gallery-line: #dbe5e6;
  min-height: calc(100vh - 56px);
  padding: 0 1rem 3.5rem;
  color: var(--gallery-ink);
  background: #f5f7f7;
  font-family: var(--bs-body-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.gallery-library-page *,
.gallery-library-page *::before,
.gallery-library-page *::after {
  box-sizing: border-box;
}

.gallery-library__shell {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-top: clamp(1.5rem, 3vw, 2.6rem);
}

.gallery-library__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 0 1.35rem;
  border: 0;
  border-bottom: 1px solid var(--gallery-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-library__hero-copy {
  min-width: 0;
}

.gallery-library__back-row {
  margin-bottom: .75rem;
}

.gallery-library__back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .15rem;
  color: #52666d;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.gallery-library__back-link::before {
  content: "\2190";
  font-size: 1rem;
  transition: transform .15s ease;
}

.gallery-library__back-link:hover {
  color: var(--gallery-brand);
}

.gallery-library__back-link:hover::before {
  transform: translateX(-2px);
}

.gallery-library__back-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(60, 114, 126, .18);
  outline-offset: 2px;
}

.gallery-library__eyebrow,
.gallery-library__section-label,
.gallery-library-modal__eyebrow {
  display: block;
  margin-bottom: .38rem;
  color: var(--gallery-brand);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gallery-library__hero h1 {
  margin: 0;
  color: var(--gallery-ink);
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}

.gallery-library__hero p {
  max-width: 590px;
  margin: .5rem 0 0;
  color: var(--gallery-muted);
  font-size: .9rem;
  line-height: 1.5;
}

.gallery-library__hero,
.gallery-library__action,
.gallery-library__toolbar,
.gallery-library__content,
.gallery-library__overview,
.gallery-library-modal {
  font-family: inherit;
}

.gallery-library__hero-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.gallery-library__action {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  padding: .55rem .78rem;
  border: 1px solid var(--gallery-line);
  border-radius: 9px;
  color: #51656b;
  background: #fff;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.gallery-library__action:hover {
  border-color: #b5c8cb;
  color: var(--gallery-brand-dark);
  background: #f8fafa;
  transform: none;
}

.gallery-library__action:focus-visible {
  outline: 3px solid rgba(60, 114, 126, .2);
  outline-offset: 2px;
}

.gallery-library__action--primary {
  border-color: var(--gallery-brand);
  color: #fff;
  background: var(--gallery-brand);
  box-shadow: none;
}

.gallery-library__action--primary:hover {
  border-color: var(--gallery-brand-dark);
  color: #fff;
  background: var(--gallery-brand-dark);
}

.gallery-library__overview {
  display: grid;
  grid-template-columns: 1.35fr repeat(2, minmax(155px, .55fr));
  gap: 0;
  margin: 1rem 0 1.55rem;
  overflow: hidden;
  border: 1px solid #e1e7e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.gallery-library__metric {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 0;
  border-right: 1px solid #e1e6e8;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.gallery-library__metric:last-child {
  border-right: 0;
}

.gallery-library__metric-icon {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--gallery-brand-dark);
  background: #e8f1f2;
}

.gallery-library__metric > div {
  min-width: 0;
}

.gallery-library__metric span:not(.gallery-library__metric-icon),
.gallery-library__metric strong {
  display: block;
}

.gallery-library__metric span:not(.gallery-library__metric-icon) {
  color: var(--gallery-muted);
  font-size: .8rem;
  font-weight: 750;
}

.gallery-library__metric strong {
  margin-top: .08rem;
  overflow: hidden;
  color: var(--gallery-ink);
  font-size: 1rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-library__content {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-library__toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.gallery-library__toolbar h2 {
  margin: 0;
  color: var(--gallery-ink);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.gallery-library__empty-state {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  padding: 2rem;
  border: 1px dashed #cbd9da;
  border-radius: 10px;
  color: var(--gallery-muted);
  background: #fbfcfc;
  text-align: center;
}

.gallery-library__empty-state--inline {
  grid-column: 1 / -1;
  min-height: 260px;
}

.gallery-library__empty-state > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: .7rem;
  border-radius: 8px;
  color: var(--gallery-brand);
  background: #e8f1f2;
  font-size: 1.25rem;
}

.gallery-library__empty-state h1,
.gallery-library__empty-state h3 {
  margin: 0;
  color: var(--gallery-ink);
  font-size: 1rem;
  font-weight: 700;
}

.gallery-library__empty-state p {
  margin: .35rem 0 0;
  font-size: .85rem;
}

.gallery-library-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(23, 39, 44, .2);
}

.gallery-library-modal .modal-header {
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  border-bottom-color: var(--gallery-line, #dbe5e6);
}

.gallery-library-modal .modal-title {
  margin: 0;
  color: var(--gallery-ink, #18282d);
  font-size: 1.05rem;
  font-weight: 700;
}

.gallery-library-modal .modal-body {
  padding: 1.3rem;
}

.gallery-library-modal .form-label,
.gallery-library-modal label {
  color: var(--gallery-ink, #18282d);
  font-size: .8rem;
  font-weight: 700;
}

.gallery-library-modal .form-control,
.gallery-library-modal .form-select {
  min-height: 44px;
  border-color: #cfdadc;
  border-radius: 8px;
  font-size: .9rem;
}

.gallery-library-modal .form-control:focus,
.gallery-library-modal .form-select:focus {
  border-color: var(--gallery-brand, #3c727e);
  box-shadow: 0 0 0 .2rem rgba(60, 114, 126, .16);
}

.gallery-library-modal .btn-primary {
  min-height: 44px;
  border-color: var(--gallery-brand, #3c727e);
  border-radius: 8px;
  background: var(--gallery-brand, #3c727e);
  font-size: .78rem;
  font-weight: 650;
}

@media (max-width: 900px) {
  .gallery-library__hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-library__hero-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .gallery-library__overview {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-library-page {
    padding: 0 .5rem 2rem;
  }

  .gallery-library__shell {
    padding-top: .85rem;
  }

  .gallery-library__hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-library__action {
    width: 100%;
    min-height: 46px;
  }

  .gallery-library__overview {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-library__metric--storage {
    grid-column: 1 / -1;
  }

  .gallery-library__metric:nth-child(2) {
    border-right: 0;
  }

  .gallery-library__metric--storage {
    border-right: 0;
    border-bottom: 1px solid #e1e6e8;
  }

  .gallery-library__toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .gallery-library__hero-actions,
  .gallery-library__overview {
    grid-template-columns: 1fr;
  }

  .gallery-library__metric--storage {
    grid-column: auto;
  }

  .gallery-library__metric {
    border-right: 0;
    border-bottom: 1px solid #e1e6e8;
  }

  .gallery-library__metric:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-library__action {
    transition: none;
  }
}
.card {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: #f8f9fa;
  font-weight: bold;
}

.card-body {
  background-color: #fff;
}

.price-sheets-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Title Styling */
.price-sheets-title {
  font-size: 1.75rem;
  color: #3c727e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.btn-add-price-sheet {
  display: inline-block;
  margin-bottom: 1.5rem;
  background-color: #3c727e;
  border-color: #3c727e;
  color: white;
  padding: 0.75rem 1.5rem;
}
.btn-add-price-sheet:hover {
  background-color: #2e5b69;
  border-color: #2e5b69;
}

/* Ensure modal content is not centered by parent container */
.modal-content {
  text-align: left; /* Override inherited text alignment */
  margin: 0 auto; /* Keep it centered within the modal dialog */
}

.price-sheet-list {
  padding: 0;
  list-style: none;
}

.price-sheet-item-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-sheet-item-card:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.price-sheet-info {
  max-width: 70%;
}
.price-sheet-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3c727e;
}

.btn-group-actions {
  display: flex;
  gap: 0.5rem;
}
.view-price-sheet-btn,
.delete-price-sheet-btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.view-price-sheet-btn {
  border-color: #3c727e;
  color: #3c727e;
}

.delete-price-sheet-btn {
  border-color: #f39e1d;
  color: #f39e1d;
}

.view-price-sheet-btn:hover {
  background-color: #3c727e;
  color: white;
}

.delete-price-sheet-btn:hover {
  background-color: #f39e1d;
  color: white;
}

.price-sheet-modal-header {
  background-color: #6d8c91;
  color: white;
}
.price-sheet-modal-body {
  background-color: #f8f9fa;
  padding: 1.5rem;
  text-align: left; /* Prevent centering */
}
.price-sheet-modal-title {
  font-weight: bold;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Center Navbar Links */
  #custom-navbar .navbar-nav {
    text-align: center;
  }

  /* Full-Width Location Item Card for Mobile */
  .price-sheet-item-card {
    flex-direction: column;
    text-align: center;
  }

  /* Full-Width Buttons */
  .btn-group-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-group-actions .btn {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .btn-add-price-sheet {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #3c727e;
    color: white;
  }
}

@media (max-width: 576px) {
  /* Padding Adjustment for Small Screens */
  .price-sheets-container {
    padding: 1rem;
  }

  /* Adjusted Font Sizes for Small Screens */
  .price-sheet-name {
    font-size: 1rem;
  }

}

/* Ensure text is centered inside the buttons */
.btn-group-actions .btn {
  display: inline-flex; /* Use flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  padding: 0.5rem 1rem; /* Ensure consistent padding */
  text-align: center; /* Center text */
}
/* Smaller switch */
.form-switch.form-switch-sm .form-check-input{
  width:2.1rem;height:1.1rem;margin-top:.15rem;background-size:1rem 1rem;
}
.form-switch.form-switch-sm .form-check-label,
.form-switch.form-switch-sm .form-check-label span{font-size:.875rem;line-height:1.1rem}

/* Cards */
.card.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}

/* Option rows divider */
.list-group-item + .list-group-item{border-top:1px solid rgba(0,0,0,.05)}
.gc-form .form-label { margin-bottom: .25rem; }
.gc-form .input-group-text { padding-top: .25rem; padding-bottom: .25rem; }
:root { --inq-ink:#17212b; --inq-muted:#687386; --inq-line:#e5e9ef; --inq-soft:#f6f8fa; --inq-brand:#95c6cd; --inq-dark:#343436; --inq-orange:#f39e1d; }
.inquiry-settings-page,.inquiries-page,.inquiry-detail-page,.inquiry-analytics-page { max-width:1440px; min-height:calc(100vh - 40px); margin:0 auto; padding:clamp(22px,3.2vw,48px); color:var(--inq-ink); background:#f4f6f8; }
.inquiry-page-header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:28px; }
.inquiry-page-header h1 { font-size:clamp(1.8rem,3vw,2.65rem); letter-spacing:-.04em; margin:.15rem 0 .35rem; }
.inquiry-page-header p { color:var(--inq-muted); margin:0; max-width:680px; }
.inquiry-eyebrow { color:#527e84; text-transform:uppercase; letter-spacing:.13em; font-size:.75rem; font-weight:800; }
.inquiry-save { width:auto !important; min-width:160px; flex:0 0 auto; border-radius:999px; padding:.72rem 1.3rem; white-space:nowrap; }
.inquiry-settings-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(340px,.8fr); gap:28px; align-items:start; }
.inquiry-settings-controls { display:grid; gap:18px; }
.inquiry-panel { border:1px solid var(--inq-line); border-radius:18px; background:#fff; padding:clamp(18px,2.3vw,28px); box-shadow:0 8px 30px rgba(21,32,43,.045); }
.inquiry-settings-page .panel-heading { display:flex; align-items:flex-start; gap:14px; margin-bottom:22px; }
.inquiry-settings-page .panel-number { flex:0 0 31px; height:31px; border-radius:10px; display:grid; place-items:center; background:#eaf5f6; color:#3e737a; font-weight:800; }
.inquiry-settings-page .panel-heading h2 { font-size:1.13rem; margin:2px 0 4px; }
.inquiry-settings-page .panel-heading p { color:var(--inq-muted); font-size:.9rem; margin:0; }
.inquiry-settings-page .routing-options { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.inquiry-settings-page .routing-card { cursor:pointer; border:1px solid var(--inq-line); border-radius:14px; padding:14px; display:flex; align-items:flex-start; gap:9px; position:relative; transition:.15s ease; }
.inquiry-settings-page .routing-card:hover { border-color:#a9cdd1; transform:translateY(-1px); }
.inquiry-settings-page .routing-card input { position:absolute; opacity:0; }
.inquiry-settings-page .routing-card span { display:grid; gap:3px; }
.inquiry-settings-page .routing-card small { color:var(--inq-muted); line-height:1.3; }
.inquiry-settings-page .routing-card i { display:none; margin-left:auto; color:#4b858c; }
.inquiry-settings-page .routing-card:has(input:checked) { background:#f1f9fa; border-color:#76aeb5; box-shadow:0 0 0 2px rgba(118,174,181,.12); }
.inquiry-settings-page .routing-card:has(input:checked) i { display:block; }
.inquiry-fields-editor { display:grid; gap:8px; }
.inquiry-field-row { display:grid; grid-template-columns:28px minmax(170px,1fr) auto 76px; align-items:center; gap:10px; border:1px solid var(--inq-line); padding:9px; border-radius:12px; background:#fff; }
.inquiry-field-row.is-disabled { background:var(--inq-soft); opacity:.72; }
.inquiry-field-handle { border:0; background:transparent; color:#8993a0; cursor:grab; font-size:1.1rem; }
.inquiry-field-main { display:flex; align-items:center; gap:8px; }
.inquiry-field-type { color:var(--inq-muted); background:var(--inq-soft); border-radius:6px; padding:3px 7px; font-size:.7rem; text-transform:uppercase; }
.inquiry-settings-page .inquiry-field-required { white-space:nowrap; }
.inquiry-settings-page .range-with-value { display:flex; align-items:center; gap:12px; min-height:38px; }
.inquiry-settings-page .range-with-value output { min-width:42px; font-variant-numeric:tabular-nums; color:var(--inq-muted); }
.inquiry-settings-page .color-control { display:grid; grid-template-columns:44px minmax(70px,1fr); gap:6px; }
.inquiry-settings-page .color-control label { grid-column:1/-1; }
.inquiry-settings-page .color-control .form-control-color { width:44px; padding:4px; }
.inquiry-settings-page .color-value { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; text-transform:uppercase; }
.inquiry-font-picker { position:relative; }
.inquiry-font-toggle { width:100%; min-height:42px; border:1px solid #ced4da; border-radius:.375rem; background:#fff; color:var(--inq-ink); padding:.5rem .75rem; display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:1rem; text-align:left; }
.inquiry-font-toggle:hover,.inquiry-font-toggle[aria-expanded="true"] { border-color:#7facb2; box-shadow:0 0 0 3px rgba(149,198,205,.18); }
.inquiry-font-menu { position:absolute; z-index:30; top:calc(100% + 6px); left:0; right:0; max-height:330px; overflow-y:auto; border:1px solid var(--inq-line); border-radius:13px; padding:7px; background:#fff; box-shadow:0 18px 45px rgba(17,24,39,.16); }
.inquiry-font-option { width:100%; border:0; border-radius:9px; background:transparent; color:var(--inq-ink); padding:9px 11px; display:flex; align-items:center; justify-content:space-between; font-size:1.08rem; font-weight:400; text-align:left; }
.inquiry-font-option:hover,.inquiry-font-option:focus-visible { background:#eef7f8; outline:none; }
.inquiry-font-option i { opacity:0; color:#3f7d84; }
.inquiry-font-option.is-selected { background:#e7f3f5; }
.inquiry-font-option.is-selected i { opacity:1; }
.inquiry-settings-page .embed-code-block { border:1px solid var(--inq-line); border-radius:13px; padding:14px; display:grid; gap:10px; margin-top:10px; }
.inquiry-settings-page .embed-code-block > div:first-child { display:grid; }
.inquiry-settings-page .embed-code-block small { color:var(--inq-muted); }
.inquiry-settings-page .embed-code-row { display:flex; }
.inquiry-settings-page .embed-code-row input { flex:1; min-width:0; padding:.7rem; border:1px solid var(--inq-line); border-radius:9px 0 0 9px; background:var(--inq-soft); font:12px ui-monospace,SFMono-Regular,Consolas,monospace; }
.inquiry-settings-page .embed-code-row button { min-width:102px; border-radius:0 9px 9px 0; display:inline-flex; align-items:center; justify-content:center; gap:6px; transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease; }
.inquiry-settings-page .embed-code-row button.is-copied { border-color:#3b876d; background:#3b876d; color:#fff; transform:translateY(-1px); }
.inquiry-settings-page .embed-code-row button.is-copy-error { border-color:#b64b5c; color:#9c2f40; background:#fff4f5; }
.inquiry-preview-column { position:sticky; top:18px; align-self:start; z-index:10; }
.inquiry-preview-sticky { position:relative; border:1px solid var(--inq-line); border-radius:20px; padding:14px; background:#fff; box-shadow:0 14px 40px rgba(21,32,43,.08); }
.inquiry-settings-page .preview-toolbar { display:flex; align-items:center; justify-content:space-between; padding:3px 4px 13px; }
.inquiry-settings-page .preview-toolbar > strong { display:flex; align-items:center; gap:7px; }
.inquiry-settings-page .preview-live-dot { width:8px; height:8px; border-radius:50%; background:#4f959c; box-shadow:0 0 0 4px rgba(79,149,156,.12); }
.inquiry-settings-page .preview-toolbar-actions { display:flex; align-items:center; gap:8px; }
.inquiry-settings-page .preview-toolbar .btn { background:var(--inq-soft); color:var(--inq-muted); border:0; }
.inquiry-settings-page .preview-toolbar .btn.active { background:var(--inq-dark); color:#fff; }
.inquiry-settings-page .preview-collapse-button { border:0; border-radius:8px; background:transparent; color:var(--inq-muted); min-height:30px; padding:4px 7px; display:flex; align-items:center; gap:5px; font-size:.72rem; }
.inquiry-settings-page .preview-collapse-button:hover { background:var(--inq-soft); color:var(--inq-ink); }
.inquiry-device-preview { --preview-font:'Roboto',sans-serif; --preview-bg:#fff; --preview-text:#1f2937; --preview-input-bg:#fff; --preview-input-border:#d1d5db; --preview-button-bg:#343436; --preview-button-text:#fff; --preview-radius:12px; background:linear-gradient(135deg,#edf1f4,#f7f8f9); border-radius:15px; padding:clamp(12px,2vw,24px); height:clamp(430px,calc(100vh - 205px),600px); min-height:430px; display:flex; align-items:center; overflow:auto; }
.inquiry-settings-page .preview-form { font-family:var(--preview-font); background:var(--preview-bg); color:var(--preview-text); width:100%; padding:22px; border-radius:var(--preview-radius); box-shadow:0 15px 36px rgba(17,24,39,.12); }
.inquiry-settings-page .preview-form h3 { font:700 1.4rem var(--preview-font); margin:0 0 5px; }
.inquiry-settings-page .preview-form > p { color:color-mix(in srgb,var(--preview-text) 65%,transparent); font-size:.83rem; margin:0 0 18px; }
.inquiry-settings-page .preview-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.inquiry-settings-page .preview-field { display:grid; gap:4px; font-size:.72rem; }
.inquiry-settings-page .preview-field.is-wide { grid-column:1/-1; }
.inquiry-settings-page .preview-field input,.inquiry-settings-page .preview-field textarea { width:100%; border:1px solid var(--preview-input-border); background:var(--preview-input-bg); border-radius:calc(var(--preview-radius) * .65); min-height:34px; resize:none; }
.inquiry-settings-page .preview-form button { border:0; margin-top:16px; width:100%; background:var(--preview-button-bg); color:var(--preview-button-text); border-radius:var(--preview-radius); padding:10px; font:650 .82rem var(--preview-font); }
.inquiry-button-stage { height:600px; position:relative; overflow:hidden; border-radius:15px; background:#f7f8fa; border:1px solid var(--inq-line); }
.inquiry-settings-page .fake-site { padding:38px 24px; display:grid; gap:13px; }
.inquiry-settings-page .fake-site span { display:block; height:12px; background:#e4e8ed; border-radius:99px; }
.inquiry-settings-page .fake-site span:nth-child(1){height:38px;width:60%;}.inquiry-settings-page .fake-site span:nth-child(2){width:88%;}.inquiry-settings-page .fake-site span:nth-child(3){width:72%;}
.inquiry-button-stage button { position:absolute; right:22px; bottom:22px; border:0; padding:13px 19px; font-weight:700; box-shadow:0 8px 25px rgba(0,0,0,.18); }
.inquiry-button-stage.position-left button { right:auto; left:22px; }
.inquiry-button-stage.position-bottom-center button { right:auto; left:50%; transform:translateX(-50%); }
.inquiry-button-stage.position-top-center button { right:auto; bottom:auto; top:22px; left:50%; transform:translateX(-50%); }
.inquiry-button-stage.position-center button { right:auto; bottom:auto; top:50%; left:50%; transform:translate(-50%,-50%); }
.inquiry-settings-page .preview-note { margin:12px 4px 1px; color:var(--inq-muted); font-size:.78rem; }.inquiry-settings-page .preview-note i{color:var(--inq-orange);}

/* Inbox */
.inquiries-index-page,
.inquiries-index-page body {
  min-height: 100%;
  background: #f5f7f7;
}
.inquiries-index-page #main-content {
  min-height: calc(100vh - 56px);
  background: #f5f7f7;
}
.inquiries-page { width:min(1120px,calc(100% - 2rem)); max-width:none; padding:clamp(1.5rem,3vw,2.6rem) 0 3.5rem; background:#f5f7f7; }
.inquiries-page .inquiry-page-header { align-items:center; gap:1.5rem; margin:0; padding:0 0 1.35rem; border-bottom:1px solid #dce4e5; }
.inquiries-page .inquiry-page-header h1 { margin:.15rem 0 .35rem; font-size:clamp(2rem,4vw,2.75rem); line-height:1; letter-spacing:-.035em; }
.inquiries-page .inquiry-page-header p { font-size:.9rem; }
.inquiries-header-actions { display:flex; gap:.5rem; align-items:center; justify-content:flex-end; flex-wrap:wrap; }
.inquiry-header-action { display:inline-flex; min-height:39px; align-items:center; justify-content:center; gap:.4rem; padding:.55rem .78rem; border:1px solid #dce4e5; border-radius:9px; color:#51656b; background:#fff; font-size:.8rem; font-weight:800; line-height:1; text-decoration:none; }
.inquiry-header-action:hover { border-color:#b5c8cb; color:#285762; background:#f8fafa; }
.inquiry-analytics-link { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.inquiry-filters { margin:1rem 0 1.55rem; padding:1rem; border:1px solid #dce4e5; border-radius:14px; background:#fff; }
.inquiries-search { width:100%; }
.inquiry-search-control { display:flex; min-height:43px; align-items:center; flex-wrap:nowrap; overflow:hidden; padding-left:.8rem; border:1px solid #d2dcde; border-radius:10px; background:#fafbfb; }
.inquiry-search-control:focus-within { border-color:rgba(60,114,126,.6); background:#fff; box-shadow:0 0 0 3px rgba(60,114,126,.1); }
.inquiry-search-control>i { flex:0 0 auto; color:#3c727e; font-size:.85rem; }
.inquiry-search-control .form-control { flex:1 1 auto; width:1%; min-width:0; padding:.6rem .65rem; border:0; outline:0; color:#1c2a2f; background:transparent; box-shadow:none!important; font:inherit; font-size:.875rem; }
.inquiry-search-control .form-control::placeholder { color:#98a4a8; }
.inquiry-search-control button { flex:0 0 auto; align-self:stretch; padding:0 .8rem; border:0; border-left:1px solid #e2e8e9; color:#6b7b80; background:transparent; font:inherit; font-size:.75rem; font-weight:750; white-space:nowrap; cursor:pointer; }
.inquiry-search-control button:hover { color:#285762; background:#f3f7f7; }
.inquiries-search-status { min-height:1rem; margin:.3rem 0 0; color:var(--inq-muted); font-size:.75rem; text-align:right; }
.inquiries-page turbo-frame { display:block; }
.inquiry-filter-group { display:flex; min-width:0; align-items:flex-start; gap:.55rem; margin:0; padding:0; border:0; }
.inquiry-filter-group legend { float:left; width:auto; margin:.52rem 0 0; color:#53686e; font-family:"Open Sans","Segoe UI",Arial,sans-serif; font-size:.78rem; font-weight:650; letter-spacing:0; }
.inquiry-filter-tabs { display:flex; flex:1; flex-wrap:wrap; gap:.35rem; overflow:visible; padding:0; }
.inquiry-filter-tab { display:inline-flex; min-height:34px; align-items:center; gap:.35rem; margin:0; padding:.42rem .62rem; border:1px solid #d8e1e2; border-radius:8px; color:#566b71; background:#fff; font-family:"Open Sans","Segoe UI",Arial,sans-serif; font-size:.75rem; font-weight:600; letter-spacing:0; line-height:1; text-decoration:none; white-space:nowrap; }
.inquiry-filter-tab:hover { border-color:#b9cbce; color:#285762; background:#fff; }
.inquiry-filter-tab.active { border-color:#9bb7bc; color:#285762; background:#eaf2f3; }
.inquiry-filter-tab:focus-visible { outline:0; box-shadow:0 0 0 3px rgba(60,114,126,.15); }
.inquiry-filter-tab span { display:inline; min-width:0; height:auto; padding:0; margin-left:.1rem; border-radius:0; color:inherit; background:transparent; font-size:.75rem; font-variant-numeric:tabular-nums; opacity:.82; }
.inquiries-list { display:grid; gap:10px; }
.inquiry-row { display:grid; grid-template-columns:12px minmax(150px,.65fr) minmax(260px,1.5fr) minmax(140px,.65fr) auto; align-items:center; gap:16px; padding:15px 18px; border:1px solid var(--inq-line); border-radius:15px; text-decoration:none; color:inherit; background:#fff; transition:.15s ease; }
.inquiry-row:hover { border-color:#b8d7da; box-shadow:0 8px 24px rgba(21,32,43,.07); transform:translateY(-1px); color:inherit; }
.inquiry-unread-dot { width:9px;height:9px;border-radius:50%;background:transparent;}.inquiry-row.is-unread .inquiry-unread-dot{background:var(--inq-orange);box-shadow:0 0 0 4px rgba(243,158,29,.12);}
.inquiry-person { min-width:0; }.inquiry-person strong,.inquiry-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inquiry-person small{color:var(--inq-muted);}
.inquiry-excerpt { min-width:0; }.inquiry-excerpt p{margin:4px 0 0;color:var(--inq-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.inquiry-row-labels { display:flex; align-items:center; gap:5px; flex-wrap:wrap; }
.inquiry-source { color:var(--inq-muted); font-size:.84rem; }.inquiry-source i{margin-right:5px;}
.inquiry-time { text-align:right; color:var(--inq-muted); font-size:.8rem; white-space:nowrap; }
.inquiry-badges { display:flex;gap:5px;flex-wrap:wrap;margin-top:5px;}.inquiry-pill{display:inline-flex;align-items:center;gap:4px;border-radius:99px;padding:4px 8px;font-family:"Open Sans","Segoe UI",Arial,sans-serif;font-size:.75rem;font-weight:600;letter-spacing:0;background:#eef2f5;color:#52606d}.inquiry-pill.repeat{background:#e8f5f1;color:#286c59}.inquiry-pill.converted{background:#fff3dd;color:#925b05}.inquiry-pill.spam{background:#fbeaec;color:#9c2f40}.inquiry-pill.status-new{background:#fff2dc;color:#855512}.inquiry-pill.status-read{background:#eef2f5;color:#52606d}.inquiry-pill.status-replied{background:#e7f2f7;color:#356b82}
.inquiry-pill.reply-delivered{background:#e8f5f1;color:#286c59}.inquiry-pill.reply-opened{background:#e7f2f7;color:#356b82}.inquiry-pill.reply-clicked{background:#f0ecfa;color:#6751a2}.inquiry-pill.reply-bounced,.inquiry-pill.reply-dropped,.inquiry-pill.reply-spam_report,.inquiry-pill.reply-failed{background:#fbeaec;color:#9c2f40}.inquiry-pill.reply-deferred{background:#fff2dc;color:#855512}
.inquiry-pill.pipeline-new_lead{background:#edf1f4;color:#4d5c69}.inquiry-pill.pipeline-contacted{background:#e8f3fa;color:#316f94}.inquiry-pill.pipeline-booked{background:#e8f5f1;color:#286c59}.inquiry-pill.pipeline-closed_lost{background:#f3ecee;color:#76515a}.inquiry-pill.follow-up-due{background:#fff0e0;color:#995a05}.inquiry-pill.task-scheduled,.inquiry-pill.automated{background:#e9f4f5;color:#356f76}
.inquiry-empty { border:1px dashed #cfd6df; border-radius:18px; padding:70px 20px; text-align:center; color:var(--inq-muted); background:#fafbfc; }.inquiry-empty i{font-size:2rem;color:#8fbcc2;display:block;margin-bottom:10px;}
.inquiry-spam-summary { display:grid; grid-template-columns:minmax(0,1.3fr) auto auto; align-items:center; gap:22px; margin:0 0 18px; padding:20px; border:1px solid #ead9dc; border-radius:18px; background:linear-gradient(135deg,#fff 0%,#fff8f8 100%); box-shadow:0 8px 26px rgba(78,28,36,.045); }
.inquiry-spam-summary-copy { display:flex; align-items:flex-start; gap:14px; min-width:0; }
.inquiry-spam-summary-copy h2 { margin:2px 0 5px; font-size:1.05rem; letter-spacing:-.01em; }
.inquiry-spam-summary-copy p { margin:0; max-width:650px; color:var(--inq-muted); font-size:.84rem; line-height:1.5; }
.inquiry-spam-summary-icon { flex:0 0 44px; height:44px; display:grid; place-items:center; border-radius:14px; color:#9c2f40; background:#fbeaec; font-size:1.25rem; }
.inquiry-spam-summary-stats { display:flex; align-items:stretch; border:1px solid #eadfe1; border-radius:13px; overflow:hidden; background:rgba(255,255,255,.8); }
.inquiry-spam-summary-stats div { min-width:104px; padding:10px 13px; display:grid; align-content:center; }
.inquiry-spam-summary-stats div+div { border-left:1px solid #eadfe1; }
.inquiry-spam-summary-stats strong { font-size:1.05rem; font-variant-numeric:tabular-nums; color:#692b35; }
.inquiry-spam-summary-stats span { color:var(--inq-muted); font-size:.68rem; white-space:nowrap; }
.inquiry-empty-spam-button { white-space:nowrap; border-radius:11px; }
.inquiry-spam-row { border-color:#eadfe1; background:#fffdfd; }
.inquiry-spam-row:hover { border-color:#dab8bd; box-shadow:0 8px 24px rgba(78,28,36,.07); transform:none; }
.inquiry-spam-indicator { width:26px; height:26px; margin-left:-7px; display:grid; place-items:center; border-radius:9px; color:#9c2f40; background:#fbeaec; }
.inquiry-spam-row .inquiry-source { display:grid; grid-template-columns:auto 1fr; align-items:start; }
.inquiry-spam-row .inquiry-source i { grid-row:1/3; }
.inquiry-spam-row .inquiry-source small { grid-column:2; margin-top:3px; color:#9c6770; }
.inquiry-spam-actions { display:grid; justify-items:end; gap:8px; }
.inquiry-spam-actions>div { display:flex; align-items:center; justify-content:flex-end; gap:6px; }
.inquiry-spam-actions form { margin:0; }
.inquiry-spam-actions .btn { white-space:nowrap; border-radius:9px; }
.inquiry-spam-empty { border-color:#dfcbce; background:#fffafa; }
.inquiry-spam-empty i { color:#a75a66; }

/* CRM automation settings */
.inquiry-crm-settings { display:grid; gap:16px; }
.inquiry-automation-option { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:15px 16px; border:1px solid var(--inq-line); border-radius:14px; background:#fbfcfd; }
.inquiry-automation-option strong,.inquiry-automation-option small { display:block; }.inquiry-automation-option small{max-width:650px;margin-top:3px;color:var(--inq-muted);line-height:1.45}
.inquiry-automation-option .form-check { flex:0 0 auto; margin:0; }
.inquiry-delay-control { width:min(380px,100%); }
.inquiry-stale-setting { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.45fr); align-items:end; gap:20px; padding:15px 16px; border:1px solid var(--inq-line); border-radius:14px; background:#fbfcfd; }.inquiry-stale-setting strong,.inquiry-stale-setting small{display:block}.inquiry-stale-setting small{margin-top:3px;color:var(--inq-muted);line-height:1.45}
.inquiry-follow-up-step { padding:18px; border:1px solid var(--inq-line); border-radius:15px; background:#fff; }
.inquiry-follow-up-step-heading { display:flex; align-items:center; gap:11px; margin-bottom:15px; }
.inquiry-follow-up-step-heading>span { flex:0 0 30px; height:30px; display:grid; place-items:center; border-radius:10px; color:#376d74; background:#e8f3f4; font-weight:800; }
.inquiry-follow-up-step-heading>div:nth-child(2) { flex:1; }.inquiry-follow-up-step-heading strong,.inquiry-follow-up-step-heading small{display:block}.inquiry-follow-up-step-heading small{margin-top:2px;color:var(--inq-muted);font-size:.76rem}
.inquiry-follow-up-step textarea { min-height:88px; resize:vertical; }
.inquiry-automation-caution { display:flex; align-items:flex-start; gap:8px; padding:11px 13px; border-radius:11px; color:#655333; background:#fff8e8; font-size:.75rem; line-height:1.5; }.inquiry-automation-caution i{margin-top:1px;color:#9a6d18}

/* Detail */
.inquiry-detail-top { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:22px; }.inquiry-detail-top h1{margin:.2rem 0;font-size:clamp(1.6rem,2.6vw,2.25rem)}
.inquiry-received-meta { display:flex; align-items:center; gap:7px; margin-top:9px; color:var(--inq-muted); font-size:.875rem; font-variant-numeric:tabular-nums; }
.inquiry-received-meta i { color:#5f969d; }
.inquiry-detail-page .back-link{text-decoration:none;color:var(--inq-muted);font-size:.9rem}.inquiry-detail-page .back-link:hover{color:var(--inq-ink)}
.inquiry-detail-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.65fr);gap:20px;align-items:start}.inquiry-detail-main,.inquiry-detail-sidebar{display:grid;gap:16px}
.inquiry-detail-page .detail-card{border:1px solid var(--inq-line);border-radius:17px;background:#fff;padding:clamp(17px,2vw,24px);box-shadow:0 7px 25px rgba(21,32,43,.04)}.inquiry-detail-page .detail-card h2{font-size:1rem;margin:0 0 15px}.inquiry-message{font-size:1.03rem;line-height:1.7;white-space:pre-wrap;margin:0}
.inquiry-detail-page .detail-list{display:grid;gap:12px}.inquiry-detail-page .detail-list-row{display:grid;grid-template-columns:110px 1fr;gap:10px;font-size:.95rem;line-height:1.45}.inquiry-detail-page .detail-list-row span:first-child{color:var(--inq-muted)}.inquiry-detail-page .detail-list-row span:last-child{min-width:0;overflow-wrap:anywhere}
.inquiry-detail-page .reply-card textarea{min-height:150px}.inquiry-detail-page .reply-history{display:grid;gap:12px}.inquiry-detail-page .reply-item{border-left:3px solid var(--inq-brand);padding:8px 0 8px 14px}.inquiry-detail-page .reply-item p{white-space:pre-wrap;margin:5px 0}.inquiry-detail-page .reply-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.85rem;color:var(--inq-muted)}
.reply-delivery-status { display:inline-flex; align-items:center; gap:4px; padding:3px 7px; border-radius:999px; font-size:.68rem; font-weight:800; line-height:1; }
.reply-delivery-status.is-queued { color:#855512; background:#fff2dc; }
.reply-delivery-status.is-sent { color:#286c59; background:#e8f5f1; }
.reply-delivery-status.is-delivered { color:#286c59; background:#e8f5f1; }
.reply-delivery-status.is-opened { color:#356b82; background:#e7f2f7; }
.reply-delivery-status.is-clicked { color:#6751a2; background:#f0ecfa; }
.reply-delivery-status.is-failed,.reply-delivery-status.is-bounced,.reply-delivery-status.is-dropped,.reply-delivery-status.is-spam_report { color:#9c2f40; background:#fbeaec; }
.reply-delivery-status.is-deferred { color:#855512; background:#fff2dc; }
.reply-delivery-error { display:block; margin-top:7px; font-size:.82rem; }
.reply-tracking-detail { display:block; margin-top:7px; color:var(--inq-muted); font-size:.82rem; }
.reply-tracking-note { display:flex; align-items:flex-start; gap:6px; margin:15px 0 0; color:var(--inq-muted); font-size:.8rem; line-height:1.5; }
.reply-tracking-note i { margin-top:1px; color:#65949a; }
.inquiry-detail-page .metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.inquiry-detail-page .metric{border:1px solid var(--inq-line);border-radius:12px;padding:12px}.inquiry-detail-page .metric strong{display:block;font-size:1.05rem}.inquiry-detail-page .metric small{color:var(--inq-muted);font-size:.85rem}
.inquiry-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:15px; }
.inquiry-section-heading h2 { margin:0!important; }
.inquiry-section-heading>span { display:inline-grid; min-width:25px; height:25px; place-items:center; padding:0 7px; border-radius:999px; color:#426f75; background:#e9f4f5; font-size:.72rem; font-weight:800; font-variant-numeric:tabular-nums; }
.inquiry-detail-page .session-history { display:grid; gap:9px; max-height:300px; overflow-y:auto; padding:1px 6px 1px 1px; scrollbar-gutter:stable; overscroll-behavior:contain; }
.inquiry-detail-page .session-history:focus-visible { outline:2px solid #78abb2; outline-offset:4px; border-radius:10px; }
.inquiry-detail-page .session-link{display:block;text-decoration:none;color:inherit;border:1px solid var(--inq-line);border-radius:11px;padding:10px}.inquiry-detail-page .session-link:hover{border-color:var(--inq-brand);color:inherit}.inquiry-detail-page .session-link small{display:block;color:var(--inq-muted);font-size:.85rem;line-height:1.4}
.inquiry-client-record-link { display:inline-flex; align-items:center; gap:5px; color:#3f7880; font-weight:700; text-decoration:none; }
.inquiry-client-record-link::after { content:"\2197"; font-size:.74rem; }
.inquiry-client-record-link:hover { color:#285f67; text-decoration:underline; text-underline-offset:3px; }
.inquiry-client-record-link[aria-busy="true"] { opacity:.65; pointer-events:none; }
.inquiry-client-modal .modal-content { overflow:hidden; border:0; border-radius:20px; box-shadow:0 28px 80px rgba(17,24,39,.24); }
.inquiry-client-modal .modal-header { padding:18px 22px; border-bottom:1px solid var(--inq-line); background:#fff; }
.inquiry-client-modal .modal-title { margin:2px 0 0; font-size:1.2rem; letter-spacing:-.02em; }
.inquiry-client-modal .modal-body { padding:clamp(14px,2vw,24px); background:#f6f8fa; }
.inquiry-client-modal-state { min-height:260px; display:flex; align-items:center; justify-content:center; gap:10px; color:var(--inq-muted); text-align:center; }
.inquiry-client-modal-state.is-error { color:#9c2f40; }
.inquiry-detail-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.inquiry-detail-actions form { margin:0; }
.inquiry-detail-actions .btn { border-radius:11px; white-space:nowrap; }
.inquiry-pipeline-auto { display:inline-flex!important; width:auto!important; height:auto!important; min-width:0!important; gap:4px; padding:4px 7px!important; color:#356f76!important; background:#e9f4f5!important; font-size:.64rem!important; }
.inquiry-crm-card .inquiry-section-heading p,.inquiry-reminders-card .inquiry-section-heading p { margin:3px 0 0; color:var(--inq-muted); font-size:.85rem; line-height:1.45; }
.inquiry-pipeline-visual { display:grid; gap:0; }
.inquiry-pipeline-step { position:relative; display:grid; grid-template-columns:34px minmax(0,1fr); align-items:center; gap:10px; min-height:55px; color:#8a949e; }
.inquiry-pipeline-step:not(:last-child)::after { content:""; position:absolute; z-index:0; top:37px; bottom:-18px; left:16px; width:2px; background:#e1e6ea; }
.inquiry-pipeline-step.step-contacted::after,.inquiry-pipeline-step.step-booked::after { display:none; }
.inquiry-pipeline-node { position:relative; z-index:1; width:34px; height:34px; display:grid; place-items:center; border:2px solid #dbe1e6; border-radius:50%; color:#89949f; background:#fff; }
.inquiry-pipeline-step strong,.inquiry-pipeline-step small { display:block; }.inquiry-pipeline-step strong{color:#5b6671;font-size:.875rem}.inquiry-pipeline-step small{margin-top:2px;color:#7b8990;font-size:.8rem;line-height:1.4}
.inquiry-pipeline-step.is-current { margin:4px -8px; padding:9px 8px; border:1px solid #b9d9dc; border-radius:12px; background:#f0f8f8; }.inquiry-pipeline-step.is-current::after{top:46px;bottom:-22px;left:24px}.inquiry-pipeline-step.is-current .inquiry-pipeline-node{border-color:#4f8a91;color:#fff;background:#4f8a91;box-shadow:0 0 0 4px rgba(79,138,145,.12)}.inquiry-pipeline-step.is-current strong{color:#284f54}
.inquiry-pipeline-step.is-complete .inquiry-pipeline-node{border-color:#70a993;color:#fff;background:#70a993}.inquiry-pipeline-step.is-complete::after{background:#9fc9b8}.inquiry-pipeline-step.is-complete strong{color:#3b6656}
.inquiry-pipeline-step.is-alternative,.inquiry-pipeline-step.is-skipped{opacity:.52}.inquiry-pipeline-step.is-alternative .inquiry-pipeline-node{border-style:dashed}
.inquiry-pipeline-outcome { margin:6px 0 3px 44px; color:#89949e; font-size:.72rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.inquiry-pipeline-note { display:flex; align-items:flex-start; gap:6px; margin:13px 0 0; padding:9px 10px; border-radius:9px; color:#5d6c73; background:#f5f7f8; font-size:.8rem; line-height:1.5; }.inquiry-pipeline-note i{margin-top:1px;color:#d58a17}
.inquiry-automation-status { margin-top:15px; padding-top:15px; border-top:1px solid var(--inq-line); }
.inquiry-automation-status-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:.85rem; font-weight:750; }.inquiry-automation-status-heading span{display:flex;align-items:center;gap:6px}.inquiry-automation-status-heading i{color:#568c92}.inquiry-automation-status-heading strong{padding:3px 7px;border-radius:99px;background:#eef2f5;color:#52606d;font-size:.72rem}.inquiry-automation-status-heading strong.is-active{background:#e8f5f1;color:#286c59}.inquiry-automation-status-heading strong.is-paused{background:#fff2dc;color:#855512}
.inquiry-automation-status p { margin:8px 0; color:var(--inq-muted); font-size:.82rem; line-height:1.5; }.inquiry-automation-status form{display:inline-block}.inquiry-automation-status .btn{border-radius:9px}
.inquiry-reminder-list { display:grid; gap:9px; }
.inquiry-reminder-item { display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:start; gap:11px; padding:12px; border:1px solid var(--inq-line); border-radius:13px; background:#fbfcfd; }
.inquiry-reminder-item.is-overdue { border-color:#edcfab; background:#fffaf4; }.inquiry-reminder-check{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#4b8187;background:#e9f4f5}.inquiry-reminder-item.is-overdue .inquiry-reminder-check{color:#995a05;background:#ffecd2}
.inquiry-reminder-item strong,.inquiry-reminder-item small{display:block}.inquiry-reminder-item small{margin-top:3px;color:var(--inq-muted);font-size:.82rem}.inquiry-reminder-item p{margin:6px 0 0;color:#536170;font-size:.85rem;line-height:1.5;white-space:pre-wrap}
.inquiry-reminder-actions { display:flex; align-items:center; gap:3px; }.inquiry-reminder-actions form{margin:0}.inquiry-reminder-actions .btn{border-radius:8px}.inquiry-reminder-actions .btn-link{padding-inline:8px}
.inquiry-reminder-empty { display:flex; align-items:center; justify-content:center; gap:8px; padding:18px; border:1px dashed #d5dde2; border-radius:13px; color:var(--inq-muted); background:#fbfcfd; font-size:.875rem; }.inquiry-reminder-empty i{color:#3b876d;font-size:1rem}
.inquiry-reminder-composer { margin-top:12px; }.inquiry-reminder-composer>summary,.inquiry-completed-reminders>summary{cursor:pointer;color:#376f76;font-size:.78rem;font-weight:750;list-style:none}.inquiry-reminder-composer>summary::-webkit-details-marker,.inquiry-completed-reminders>summary::-webkit-details-marker{display:none}.inquiry-reminder-composer>summary i{margin-right:5px}
.inquiry-completed-reminders { margin-top:14px; padding-top:12px; border-top:1px solid var(--inq-line); }.inquiry-completed-reminders>div{display:grid;gap:6px;margin-top:9px}.inquiry-completed-reminders>div>div{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--inq-muted);font-size:.75rem}.inquiry-completed-reminders span{display:flex;align-items:center;gap:5px}.inquiry-completed-reminders form{margin:0}
.inquiry-spam-review-banner { display:flex; align-items:flex-start; gap:13px; padding:17px 18px; border:1px solid #e8cdd1; border-radius:16px; color:#59242d; background:linear-gradient(135deg,#fff6f7,#fff); }
.inquiry-spam-review-banner>span { flex:0 0 38px; height:38px; display:grid; place-items:center; border-radius:12px; background:#f7dfe3; color:#932f3f; font-size:1.1rem; }
.inquiry-spam-review-banner strong { display:block; margin:1px 0 4px; }
.inquiry-spam-review-banner p { margin:0; color:#7a5660; font-size:.84rem; line-height:1.5; }
.inquiry-spam-details-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.inquiry-spam-details-heading h2 { margin-bottom:2px!important; }
.inquiry-spam-details-heading p { margin:0; color:var(--inq-muted); font-size:.76rem; }
.inquiry-spam-score { flex:0 0 38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#fbeaec; color:#9c2f40; font-weight:800; font-variant-numeric:tabular-nums; }
.inquiry-spam-details ul { display:grid; gap:7px; padding:0; margin:15px 0 0; list-style:none; }
.inquiry-spam-details li { display:flex; align-items:flex-start; gap:7px; padding:8px 10px; border-radius:9px; color:#71424a; background:#fff5f6; font-size:.78rem; }
.inquiry-spam-details li i { margin-top:1px; color:#a74c5a; }
.inquiry-nav-badge{display:inline-grid;place-items:center;margin-left:3px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--inq-orange);color:#1e1e20;font-size:.68rem;font-weight:900;vertical-align:1px}.inquiry-nav-badge:empty,.inquiry-nav-badge[data-count="0"]{display:none}

/* Funnel analytics */
.inquiry-analytics-header { align-items:end; }
.inquiry-analytics-header-actions { display:grid; justify-items:end; gap:9px; }
.inquiry-analytics-live-status { display:inline-flex; align-items:center; gap:7px; min-height:22px; padding:4px 9px; border:1px solid #cce5dc; border-radius:999px; color:#34715f; background:#f0faf6; font-size:.68rem; font-weight:750; }
.inquiry-live-dot { width:7px; height:7px; border-radius:50%; background:#42a47f; box-shadow:0 0 0 4px rgba(66,164,127,.12); }
.inquiry-analytics-page.is-refreshing .inquiry-live-dot { animation:inquiry-live-pulse 1s ease-in-out infinite; }
.inquiry-analytics-live-content { transition:opacity .16s ease; }
.inquiry-analytics-page.is-refreshing .inquiry-analytics-live-content { opacity:.72; }
@keyframes inquiry-live-pulse { 50% { opacity:.4; transform:scale(.78); } }
.inquiry-analytics-back { display:inline-flex; align-items:center; gap:6px; margin-bottom:18px; color:var(--inq-muted); text-decoration:none; font-size:.83rem; font-weight:650; }
.inquiry-analytics-back:hover { color:var(--inq-ink); }
.inquiry-range-picker { display:flex; gap:4px; padding:4px; border:1px solid var(--inq-line); border-radius:999px; background:#fff; box-shadow:0 5px 18px rgba(21,32,43,.045); }
.inquiry-range-picker a { padding:7px 12px; border-radius:999px; color:var(--inq-muted); text-decoration:none; font-size:.78rem; font-weight:700; white-space:nowrap; }
.inquiry-range-picker a:hover { color:var(--inq-ink); background:var(--inq-soft); }
.inquiry-range-picker a.active { color:#fff; background:var(--inq-dark); }
.inquiry-analytics-kpis { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.inquiry-analytics-kpis article { min-width:0; display:flex; align-items:flex-start; gap:12px; padding:17px; border:1px solid var(--inq-line); border-radius:16px; background:#fff; box-shadow:0 7px 22px rgba(21,32,43,.04); }
.inquiry-analytics-kpis article>div { min-width:0; }
.inquiry-analytics-kpis small,.inquiry-analytics-kpis strong,.inquiry-analytics-kpis em { display:block; }
.inquiry-analytics-kpis small { margin:1px 0 4px; color:var(--inq-muted); font-size:.71rem; font-weight:750; line-height:1.2; }
.inquiry-analytics-kpis strong { font-size:clamp(1.35rem,2vw,1.9rem); line-height:1; font-variant-numeric:tabular-nums; letter-spacing:-.035em; }
.inquiry-analytics-kpis em { margin-top:7px; overflow:hidden; color:#7b8594; font-size:.66rem; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.inquiry-kpi-icon { flex:0 0 37px; height:37px; display:grid; place-items:center; border-radius:12px; }
.inquiry-kpi-icon.sky { color:#316f94; background:#e8f3fa; }.inquiry-kpi-icon.teal { color:#31757d; background:#e7f5f5; }.inquiry-kpi-icon.violet { color:#6751a2; background:#f0ecfa; }.inquiry-kpi-icon.green { color:#2c745d; background:#e8f5f0; }.inquiry-kpi-icon.amber { color:#9a620c; background:#fff2dc; }
.inquiry-analytics-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:18px; align-items:start; }
.inquiry-analytics-card { min-width:0; border:1px solid var(--inq-line); border-radius:18px; background:#fff; padding:clamp(18px,2.2vw,25px); box-shadow:0 7px 25px rgba(21,32,43,.04); }
.inquiry-analytics-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:22px; }
.inquiry-analytics-card-heading h2 { margin:3px 0 0; font-size:1.05rem; letter-spacing:-.012em; }
.inquiry-analytics-card-heading p { max-width:660px; margin:6px 0 0; color:var(--inq-muted); font-size:.77rem; line-height:1.5; }
.inquiry-privacy-pill { display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border-radius:999px; color:#2c745d; background:#e8f5f0; font-size:.67rem; font-weight:750; white-space:nowrap; }
.inquiry-funnel-step { margin-top:20px; }
.inquiry-funnel-label { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:7px; font-size:.82rem; }
.inquiry-funnel-label span { display:flex; align-items:center; gap:8px; color:#4e5b69; }.inquiry-funnel-label i { color:#4f8990; }
.inquiry-funnel-label strong { font-variant-numeric:tabular-nums; }
.inquiry-funnel-track { height:13px; overflow:hidden; border-radius:99px; background:#edf1f3; }
.inquiry-funnel-track span { display:block; height:100%; min-width:3px; border-radius:inherit; background:linear-gradient(90deg,#77b2b9,#9bcbd0); }
.inquiry-funnel-step:nth-of-type(4) .inquiry-funnel-track span { background:linear-gradient(90deg,#3f7f69,#73af96); }
.inquiry-funnel-step small { display:block; margin-top:5px; color:var(--inq-muted); font-size:.68rem; text-align:right; }
.inquiry-source-table { display:grid; }
.inquiry-source-table-row { display:grid; grid-template-columns:minmax(130px,1.4fr) repeat(3,minmax(42px,.5fr)); align-items:center; gap:8px; padding:12px 2px; border-top:1px solid var(--inq-line); font-size:.76rem; }
.inquiry-source-table-row.header { padding-top:0; border:0; color:var(--inq-muted); font-size:.66rem; text-transform:uppercase; letter-spacing:.06em; }
.inquiry-source-table-row span:first-child { display:flex; align-items:center; gap:7px; min-width:0; }.inquiry-source-table-row span:first-child i{color:#66999f}.inquiry-source-table-row strong{text-align:center;font-variant-numeric:tabular-nums}
.inquiry-fields-card { grid-column:1/-1; }
.inquiry-field-analytics-list { display:grid; gap:2px; }
.inquiry-field-analytics-row { display:grid; grid-template-columns:minmax(180px,.8fr) minmax(220px,1.6fr) 58px; align-items:center; gap:18px; min-height:52px; padding:8px 0; border-top:1px solid #f0f2f4; }
.inquiry-field-analytics-row:first-child { border-top:0; }
.inquiry-field-analytics-label strong,.inquiry-field-analytics-label span { display:block; }.inquiry-field-analytics-label strong{font-size:.8rem}.inquiry-field-analytics-label span{margin-top:2px;color:var(--inq-muted);font-size:.67rem}
.inquiry-field-analytics-progress { height:8px; overflow:hidden; border-radius:99px; background:#edf1f3; }.inquiry-field-analytics-progress span{display:block;height:100%;border-radius:inherit;background:#86bac0}
.inquiry-field-analytics-rate { text-align:right; font-size:.78rem; font-variant-numeric:tabular-nums; }
.inquiry-domain-card { grid-column:1/-1; }
.inquiry-domain-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 18px; padding:0; margin:0; list-style:none; }
.inquiry-domain-list li { min-width:0; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:11px 12px; border:1px solid var(--inq-line); border-radius:11px; background:#fbfcfd; font-size:.75rem; }
.inquiry-domain-list li span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.inquiry-domain-list i{margin-right:7px;color:#66999f}.inquiry-domain-list strong{color:var(--inq-muted);font-size:.68rem;white-space:nowrap}
.inquiry-analytics-empty { min-height:150px; display:grid; place-items:center; align-content:center; gap:7px; padding:20px; color:var(--inq-muted); text-align:center; }.inquiry-analytics-empty i{font-size:1.45rem;color:#86b7bd}.inquiry-analytics-empty p{max-width:390px;margin:0;font-size:.78rem;line-height:1.5}

@media(max-width:1050px){.inquiry-detail-grid{grid-template-columns:1fr}}
@media(max-width:1180px){.inquiry-analytics-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1120px){.inquiry-spam-summary{grid-template-columns:minmax(0,1fr) auto}.inquiry-empty-spam-button{grid-column:1/-1;justify-self:end}}
@media(max-width:900px){.inquiry-analytics-grid{grid-template-columns:1fr}.inquiry-fields-card,.inquiry-domain-card{grid-column:auto}}
@media(max-width:900px){
  .inquiry-settings-grid{display:block}.inquiry-settings-controls{width:100%}
  .inquiry-settings-page{padding-bottom:min(52vh,440px)}
  .inquiry-settings-page.preview-is-collapsed{padding-bottom:95px}
  .inquiry-preview-column{position:fixed;z-index:1050;top:auto;right:14px;bottom:14px;width:min(440px,calc(100vw - 28px))}
  .inquiry-preview-sticky{padding:10px;border-radius:17px;box-shadow:0 18px 55px rgba(17,24,39,.24)}
  .inquiry-settings-page .preview-toolbar{padding:2px 2px 9px}
  .inquiry-device-preview,.inquiry-button-stage{height:clamp(225px,36vh,330px);min-height:0}
  .inquiry-settings-page .preview-form{padding:16px}.inquiry-settings-page .preview-form h3{font-size:1.1rem}.inquiry-settings-page .preview-form>p{margin-bottom:11px}
  .inquiry-settings-page .preview-note{margin-top:7px}
}
@media(max-width:760px){
  .inquiry-settings-page,.inquiries-page,.inquiry-detail-page,.inquiry-analytics-page{padding:18px 14px}
  .inquiry-page-header{display:grid}.inquiry-save{width:100%!important}.inquiry-settings-page .routing-options{grid-template-columns:1fr}
  .inquiry-field-row{grid-template-columns:24px minmax(0,1fr) auto}.inquiry-field-row .form-check{grid-column:2}
  .inquiry-settings-page .preview-fields{grid-template-columns:1fr}.inquiry-row{grid-template-columns:10px minmax(0,1fr) auto;gap:10px}.inquiry-excerpt{grid-column:2/-1}.inquiry-source{grid-column:2}.inquiry-time{grid-column:3;grid-row:1}
  .inquiries-header-actions{align-items:stretch;flex-direction:column}.inquiries-search{width:100%}.inquiry-detail-page .detail-list-row{grid-template-columns:1fr;gap:2px}
  .inquiry-client-modal .modal-content{border-radius:0}.inquiry-client-modal .modal-header{padding:15px 16px}.inquiry-client-modal .modal-body{padding:12px}
  .inquiry-spam-summary{grid-template-columns:1fr;gap:15px}.inquiry-spam-summary-stats{justify-self:stretch}.inquiry-spam-summary-stats div{flex:1}.inquiry-empty-spam-button{grid-column:auto;justify-self:stretch;width:100%}
  .inquiry-spam-row{grid-template-columns:10px minmax(0,1fr);align-items:start}.inquiry-spam-indicator{grid-row:1;margin-left:-4px}.inquiry-spam-row .inquiry-person{grid-column:2}.inquiry-spam-row .inquiry-excerpt,.inquiry-spam-row .inquiry-source,.inquiry-spam-actions{grid-column:2/-1}.inquiry-spam-actions{justify-items:stretch}.inquiry-spam-actions>div{justify-content:flex-start;flex-wrap:wrap}.inquiry-spam-actions .inquiry-time{text-align:left}
  .inquiry-detail-actions{justify-content:stretch}.inquiry-detail-actions form{flex:1}.inquiry-detail-actions .btn{width:100%}
  .inquiry-automation-option{align-items:flex-start}.inquiry-stale-setting{grid-template-columns:1fr;align-items:start}.inquiry-follow-up-step{padding:15px}.inquiry-reminder-item{grid-template-columns:34px minmax(0,1fr)}.inquiry-reminder-actions{grid-column:2;justify-content:flex-start}
  .inquiry-analytics-header{align-items:stretch}.inquiry-analytics-header-actions{justify-items:stretch}.inquiry-analytics-live-status{justify-self:end}.inquiry-range-picker{width:100%;overflow-x:auto}.inquiry-range-picker a{flex:1;text-align:center}.inquiry-analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.inquiry-field-analytics-row{grid-template-columns:minmax(0,1fr) 48px;gap:8px 12px}.inquiry-field-analytics-progress{grid-column:1/-1;grid-row:2}.inquiry-field-analytics-rate{grid-column:2;grid-row:1}.inquiry-domain-list{grid-template-columns:1fr}
}
@media(max-width:520px){
  .inquiry-settings-page,.inquiries-page,.inquiry-detail-page,.inquiry-analytics-page{padding:15px 10px}
  .inquiry-panel{padding:16px 13px;border-radius:15px}.inquiry-settings-page .panel-heading{gap:10px}.inquiry-settings-page .panel-heading p{font-size:.82rem}
  .inquiry-field-row{grid-template-columns:22px minmax(0,1fr);gap:7px}.inquiry-field-main{min-width:0}.inquiry-field-main input{min-width:0}.inquiry-field-type{display:none}.inquiry-field-row .form-check{grid-column:2}.inquiry-field-row>[data-field-toggle]{grid-column:2;width:100%}
  .inquiry-settings-page .color-control.col-6{width:100%}.inquiry-settings-page .embed-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto}.inquiry-settings-page .embed-code-row input{border-radius:9px 0 0 9px}
  .inquiry-preview-column{right:7px;bottom:7px;width:calc(100vw - 14px)}.inquiry-settings-page .preview-toolbar-actions{gap:4px}.inquiry-settings-page .preview-collapse-button span{display:none}
  .inquiry-device-preview,.inquiry-button-stage{height:min(34vh,275px);padding:10px}.inquiry-settings-page .preview-form{padding:13px}.inquiry-settings-page .preview-form h3{font-size:1rem}.inquiry-settings-page .preview-field{font-size:.65rem}.inquiry-settings-page .preview-field input,.inquiry-settings-page .preview-field textarea{min-height:29px}.inquiry-settings-page .preview-form button{margin-top:10px;padding:8px}.inquiry-settings-page .preview-note{display:none}
  .inquiries-search .input-group{min-width:0}
  .inquiry-row{grid-template-columns:10px minmax(0,1fr);padding:13px 12px}.inquiry-time{grid-column:2;grid-row:auto;text-align:left}.inquiry-excerpt,.inquiry-source{grid-column:2}.inquiry-source{overflow-wrap:anywhere}
  .inquiry-detail-page .metric-grid{grid-template-columns:1fr}.inquiry-detail-top{display:grid}.inquiry-detail-top .btn{width:100%}.inquiry-detail-page .session-history{max-height:270px}
  .inquiry-automation-option{gap:10px;padding:13px}.inquiry-follow-up-step{padding:13px}.inquiry-follow-up-step-heading{align-items:flex-start;flex-wrap:wrap}.inquiry-follow-up-step-heading .form-check{margin-left:auto}.inquiry-reminder-item{grid-template-columns:30px minmax(0,1fr);padding:10px}.inquiry-reminder-check{width:30px;height:30px}.inquiry-reminder-actions .btn-dark span{display:none}.inquiry-reminder-actions .btn-dark{width:36px;height:34px;padding:0;display:grid;place-items:center}
  .inquiry-spam-summary{padding:16px 13px}.inquiry-spam-summary-copy{gap:10px}.inquiry-spam-summary-icon{flex-basis:38px;height:38px;border-radius:11px}.inquiry-spam-summary-stats{display:grid;grid-template-columns:1fr 1fr}.inquiry-spam-summary-stats div{min-width:0;padding:9px}.inquiry-spam-summary-stats span{white-space:normal}.inquiry-spam-actions>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.inquiry-spam-actions>div form:last-child{grid-column:1/-1}.inquiry-spam-actions .btn{width:100%}.inquiry-spam-review-banner{padding:14px 13px}
  .inquiry-analytics-kpis{grid-template-columns:1fr}.inquiry-analytics-kpis article{align-items:center}.inquiry-analytics-kpis em{white-space:normal}.inquiry-analytics-card{padding:16px 13px}.inquiry-analytics-card-heading{display:grid}.inquiry-privacy-pill{justify-self:start}.inquiry-source-table-row{grid-template-columns:minmax(105px,1.3fr) repeat(3,40px);gap:3px;font-size:.69rem}.inquiry-source-table-row.header{font-size:.58rem}.inquiry-field-analytics-label span{white-space:normal}
}
@media(max-width:760px){
  .inquiries-page{width:min(100% - 1rem,1120px);padding:.85rem 0 3rem}
  .inquiries-page .inquiry-page-header{align-items:flex-start;grid-template-columns:1fr}
  .inquiries-header-actions,.inquiries-header-actions .inquiry-header-action{width:100%}
  .inquiry-filter-group{display:grid;gap:.4rem}
  .inquiry-filter-group legend{float:none;margin:0}
  .inquiry-filter-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .inquiry-filter-tab{justify-content:center;width:100%;min-height:38px;font-size:.78rem}
}
@media(max-width:420px){
  .inquiry-search-control .form-control{font-size:.875rem}
  .inquiry-filter-tabs{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.inquiry-settings-page *,.inquiries-page *,.inquiry-analytics-page *{transition:none!important;animation:none!important}}
.inquiry-widget-document,
.inquiry-widget-document * { box-sizing:border-box; }
html.inquiry-widget-document,
body.inquiry-widget-document__body { margin:0; min-height:100%; background:transparent; }
body.inquiry-widget-document__body { padding:12px; font-family:system-ui,sans-serif; }
.orbit-widget-shell { font-family:var(--orbit-font); background:var(--orbit-bg); color:var(--orbit-text); border-radius:var(--orbit-radius); border:1px solid color-mix(in srgb,var(--orbit-text) 12%,transparent); padding:clamp(18px,4vw,32px); box-shadow:0 16px 45px rgba(17,24,39,.10); max-width:780px; margin:0 auto; }
.orbit-widget-shell header h1 { font-family:var(--orbit-font); font-size:clamp(1.45rem,4vw,2rem); line-height:1.2; margin:0 0 6px; }
.orbit-widget-shell header p { opacity:.68; margin:0 0 24px; line-height:1.5; }
.orbit-widget-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.orbit-widget-field { display:grid; gap:6px; font-size:.86rem; font-weight:600; }
.orbit-widget-field.is-wide { grid-column:1/-1; }
.orbit-widget-field input,
.orbit-widget-field textarea { appearance:none; width:100%; border:1px solid var(--orbit-input-border); background:var(--orbit-input-bg); color:var(--orbit-text); border-radius:calc(var(--orbit-radius) * .65); padding:12px 13px; font:400 1rem var(--orbit-font); outline:none; resize:vertical; }
.orbit-widget-field input:focus,
.orbit-widget-field textarea:focus { border-color:var(--orbit-accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--orbit-accent) 22%,transparent); }
.orbit-widget-field .is-invalid { border-color:#bc4051; }
.orbit-widget-consent { font-size:.73rem; opacity:.62; line-height:1.4; margin:15px 0; }
.orbit-widget-submit { width:100%; border:0; border-radius:var(--orbit-radius); padding:13px 18px; background:var(--orbit-button-bg); color:var(--orbit-button-text); font:700 .95rem var(--orbit-font); cursor:pointer; box-shadow:0 8px 22px rgba(17,24,39,.13); transition:.15s ease; }
.orbit-widget-submit:hover { transform:translateY(-1px); box-shadow:0 11px 26px rgba(17,24,39,.17); }
.orbit-widget-submit:disabled { opacity:.62; cursor:wait; transform:none; }
.orbit-widget-alert { border-radius:calc(var(--orbit-radius) * .65); padding:11px 13px; margin-bottom:16px; font-size:.86rem; }
.orbit-widget-error { background:#fcebed; color:#8f2637; border:1px solid #f2c6cd; }
.orbit-widget-success { background:#e9f6f1; color:#23634f; border:1px solid #bfe4d6; }
.orbit-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; opacity:0!important; }
.orbit-widget-state { min-height:320px; display:grid; place-items:center; text-align:center; color:#566170; padding:24px; }
.orbit-widget-state strong { color:#293440; }
.orbit-widget-state p { font-size:.85rem; }
.orbit-widget-state>div { border:1px solid #e2e6eb; border-radius:14px; padding:24px; background:#fff; }
@media(max-width:580px) {
  body.inquiry-widget-document__body { padding:6px; }
  .orbit-widget-shell { padding:20px 16px; }
  .orbit-widget-fields { grid-template-columns:1fr; }
  .orbit-widget-field.is-wide { grid-column:auto; }
}
@media(prefers-reduced-motion:reduce) {
  .inquiry-widget-document * { transition:none!important; }
}
.internal-document-page,
.internal-document-page body {
  min-height: 100%;
  background: #f5f7f7;
}

.internal-document-shell {
  --document-ink: #1c2a2f;
  --document-muted: #6b7b80;
  --document-brand: #3c727e;
  --document-brand-dark: #285762;
  --document-line: #dce4e5;
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.6rem) 0 3.5rem;
  color: var(--document-ink);
}

.internal-document-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--document-line);
}

.internal-document-hero__copy {
  min-width: 0;
}

.internal-document-hero h1 {
  margin: 0;
  color: var(--document-ink);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}

.internal-document-hero p {
  max-width: 620px;
  margin: .5rem 0 0;
  color: var(--document-muted);
  font-size: .9rem;
  line-height: 1.5;
}

.internal-document-hero__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
}

.internal-document-action {
  display: inline-flex !important;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: 0 !important;
  padding: .55rem .78rem !important;
  border: 1px solid var(--document-line) !important;
  border-radius: 9px !important;
  font-size: .8rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-align: center;
  text-decoration: none;
  box-shadow: none !important;
}

.internal-document-action--secondary {
  color: #51656b !important;
  background: #fff !important;
}

.internal-document-action--secondary:hover {
  border-color: #b5c8cb !important;
  color: var(--document-brand-dark) !important;
  background: #f8fafa !important;
}

.internal-document-action--primary {
  border-color: var(--document-brand) !important;
  color: #fff !important;
  background: var(--document-brand) !important;
}

.internal-document-action--primary:hover {
  border-color: var(--document-brand-dark) !important;
  color: #fff !important;
  background: var(--document-brand-dark) !important;
}

.internal-document-summary {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: .85rem 1.25rem;
  margin-top: 1rem;
  padding: .85rem 1rem;
  align-items: center;
  border: 1px solid var(--document-line);
  border-radius: 12px;
  background: #fff;
}

.internal-document-summary__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--document-brand);
  background: #eaf2f3;
  font-size: 1rem;
}

.internal-document-summary > div:not(.internal-document-summary__icon) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .12rem;
}

.internal-document-summary span {
  color: var(--document-muted);
  font-size: .75rem;
  font-weight: 700;
}

.internal-document-summary strong {
  overflow-wrap: anywhere;
  color: var(--document-ink);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.35;
}

.internal-document-surface {
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid var(--document-line);
  border-radius: 14px;
  background: #fff;
}

.internal-document-section {
  padding: 1.1rem;
}

.internal-document-section + .internal-document-section {
  border-top: 1px solid var(--document-line);
}

.internal-document-section__header {
  margin-bottom: .9rem;
}

.internal-document-section__header h2 {
  margin: 0;
  color: var(--document-ink);
  font-size: 1rem;
  font-weight: 750;
}

.internal-document-section__header p {
  margin: .22rem 0 0;
  color: var(--document-muted);
  font-size: .8rem;
  line-height: 1.45;
}

.internal-document-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 0;
}

.internal-document-field {
  min-width: 0;
  padding: .75rem .8rem;
  border: 1px solid #e2e8e9;
  border-radius: 10px;
  background: #fafcfc;
}

.internal-document-field dt {
  margin: 0 0 .28rem;
  color: #718287;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.internal-document-field dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: #2d4148;
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.45;
}

.internal-document-rich-text {
  overflow-wrap: anywhere;
  color: #34484f;
  font-size: .9rem;
  line-height: 1.7;
}

.internal-document-rich-text > :last-child {
  margin-bottom: 0;
}

.internal-document-rich-text img,
.internal-document-rich-text video {
  max-width: 100%;
  height: auto;
}

.internal-document-rich-text table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.contract-terms-list {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contract-term {
  display: flex;
  gap: .7rem;
  padding: .7rem .8rem;
  align-items: flex-start;
  border: 1px solid #e1e8e9;
  border-radius: 10px;
  background: #fafcfc;
}

.contract-term > span {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: .8rem;
}

.contract-term.is-agreed > span {
  color: #27684f;
  background: #e5f2ed;
}

.contract-term.is-declined > span {
  color: #944848;
  background: #faecec;
}

.contract-term strong {
  display: block;
  color: #31464d;
  font-size: .78rem;
  font-weight: 800;
}

.contract-term p {
  margin: .1rem 0 0;
  color: #5e7076;
  font-size: .84rem;
  line-height: 1.5;
}

.internal-document-note {
  padding: .8rem .9rem;
  border-left: 3px solid #9db7bc;
  color: #465b62;
  background: #f7fafa;
  font-size: .88rem;
  line-height: 1.6;
}

.internal-document-note > :last-child {
  margin-bottom: 0;
}

.contract-signature {
  display: flex;
  min-height: 130px;
  padding: 1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e8e9;
  border-radius: 10px;
  background: #fbfcfc;
}

.contract-signature img {
  display: block;
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.internal-document-empty {
  margin-top: 2rem;
  padding: 2.5rem 1rem;
  border: 1px solid var(--document-line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.internal-document-empty > span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--document-brand);
  background: #eaf2f3;
  font-size: 1.15rem;
}

.internal-document-empty h1 {
  margin: .8rem 0 0;
  font-size: 1.2rem;
}

.internal-document-empty p {
  margin: .3rem 0 0;
  color: var(--document-muted);
  font-size: .86rem;
}

@media (max-width: 640px) {
  .internal-document-shell {
    width: min(100% - 1rem, 980px);
    padding-top: .85rem;
  }

  .internal-document-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .internal-document-hero__actions,
  .internal-document-hero__actions > *,
  .internal-document-action {
    width: 100%;
  }

  .internal-document-summary {
    grid-template-columns: auto minmax(0, 1fr);
    gap: .7rem .85rem;
  }

  .internal-document-summary__icon {
    grid-row: 1 / span 3;
    align-self: start;
  }

  .internal-document-fields {
    grid-template-columns: 1fr;
  }

  .internal-document-section {
    padding: .85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .internal-document-shell * {
    transition: none !important;
  }
}
/* Authenticated location details build on the public location guide while
   keeping the scale and navigation appropriate for the Orbit workspace. */

html.internal-location-detail-page body {
  background: #f5f7f7;
}

.internal-location-detail {
  --location-page-bg: #f5f7f7;
  --location-font: system-ui;
  min-height: calc(100vh - 56px);
  padding-top: clamp(1.2rem, 3vw, 2.2rem);
}

.internal-location-detail__back {
  margin-bottom: clamp(1.15rem, 3vw, 2rem);
}

.internal-location-detail__header .public-location-detail__title-row h1 {
  max-width: 900px;
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.internal-location-detail .public-location-detail__gallery {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.internal-location-detail .public-location-panel,
.internal-location-detail .public-location-facts {
  background: #fff;
}

.internal-location-facts .public-location-facts__sessions span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.internal-location-facts__manage-link {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  margin-top: 1rem;
  padding: .65rem .8rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid #cadadd;
  border-radius: .72rem;
  color: #3c727e;
  background: #f8fafa;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.internal-location-facts__manage-link:hover {
  border-color: #3c727e;
  color: #285762;
  background: #eef5f6;
}

@media (max-width: 576px) {
  .internal-location-detail {
    min-height: calc(100vh - 50px);
    padding: .85rem;
  }

  .internal-location-detail__back {
    margin-bottom: 1rem;
  }

  .internal-location-detail__back > span:last-child {
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .internal-location-detail__header .public-location-detail__title-row h1 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }
}
/*
 * Readability pass for the redesigned internal workspaces.
 * This intentionally targets supporting copy only. Headings, buttons, chips,
 * badges, and primary values retain their existing visual hierarchy.
 */

/* Calendar */
.calendar-page .calendar-hero__copy > p:last-child {
  font-size: 1rem;
}

.calendar-page .calendar-surface__header p {
  font-size: .95rem;
  line-height: 1.5;
}

.calendar-page .calendar-overview__item span:not(.calendar-overview__icon),
.calendar-page .calendar-legend > span {
  font-size: .82rem;
}

/* Mission Control */
.mission-control-page .mission-control-hero p {
  font-size: 1rem;
  line-height: 1.55;
}

.mission-control-page .mission-control-surface__header p,
.mission-control-page .mission-control-shell .form-text,
.mission-control-page .mission-control-shell .locations-public-link-card p,
.mission-control-page .mission-control-shell .locations-public-link-card__control small,
.mission-control-page .mission-control-shell .location-address {
  font-size: .875rem;
  line-height: 1.5;
}

.mission-control-page .mission-control-shell :is(
  p.text-muted,
  div.text-muted,
  span.text-muted,
  .card-text.text-muted,
  small:not(.badge)
) {
  font-size: .875rem;
  line-height: 1.5;
}

/* Sessions index */
.photo-sessions-index-page .photo-sessions-hero__copy p {
  font-size: 1rem;
  line-height: 1.55;
}

.photo-sessions-index-page .photo-session-filter-group legend,
.photo-sessions-index-page .session-collection__title-row > span,
.photo-sessions-index-page .photo-session-card__meta,
.photo-sessions-index-page .session-collection-empty span {
  font-size: .875rem;
  line-height: 1.45;
}

/* Session workspace and timeslot details */
.photo-session-show-page .session-panel-kicker,
.photo-session-show-page .mmx .title,
.photo-session-show-page .session-facts dt {
  font-size: .8rem !important;
}

.photo-session-show-page .session-description-panel .text-secondary,
.photo-session-show-page :is(p, div, span).small.text-muted:not(.badge):not(.btn),
.photo-session-show-page :is(p, div, span).text-muted.small:not(.badge):not(.btn) {
  font-size: .9rem;
  line-height: 1.5;
}

.photo-session-show-page .mmx .money .label,
.photo-session-show-page .timeslot-detail-schedule__time,
.photo-session-show-page .timeslot-detail-client__identity span {
  font-size: .875rem;
}

.photo-session-show-page .timeslot-detail-kicker,
.photo-session-show-page .timeslot-detail-schedule__time small,
.photo-session-show-page .timeslot-detail-panel__heading p,
.photo-session-show-page .timeslot-detail-status-row > span,
.photo-session-show-page .timeslot-detail-status-row strong,
.photo-session-show-page .timeslot-detail-document-list span,
.photo-session-show-page .timeslot-detail-document-list small,
.photo-session-show-page .timeslot-detail-packages > span,
.photo-session-show-page .timeslot-detail-packages strong {
  font-size: .8rem;
  line-height: 1.4;
}

/* Gallery library, archives, and watermark supporting copy */
.gallery-library-page .gallery-library__hero p {
  font-size: 1rem;
  line-height: 1.55;
}

.gallery-library-page .gallery-library__metric span:not(.gallery-library__metric-icon),
.gallery-library-page .gallery-library-card__meta,
.gallery-library-page .gallery-library__empty-state p,
.gallery-library-page .archived-gallery-card__body > div:first-child > p,
.gallery-library-page .archived-gallery-card dt,
.gallery-library-page .archived-gallery-card dd,
.gallery-library-page .archived-library__delete-warning p,
.gallery-library-page .storage-cap-banner,
.gallery-library-page .watermark-editor__section-heading p,
.gallery-library-page .watermark-editor__field small {
  font-size: .875rem;
  line-height: 1.5;
}

/* Individual gallery workspace metadata */
.gallery-internal-view .associated-photo-session,
.gallery-internal-view .associated-photo-session .small,
.gallery-internal-view .gallery-sidebar > .small.text-muted,
.gallery-internal-view .storage-cap-banner {
  font-size: .875rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .calendar-page .calendar-surface__header p {
    font-size: .95rem;
  }

  .mission-control-page .mission-control-surface__header p,
  .photo-sessions-index-page .photo-session-card__meta,
  .gallery-library-page .gallery-library-card__meta {
    font-size: .875rem;
  }
}
/* Ensure the video player is properly displayed */
.video-js {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  height: auto !important;
}

/* Adjust modal body padding */
#videoModal .modal-body {
  padding: 0;
}

/* Ensure the close button is visible on the video */
#videoModal .btn-close {
  z-index: 10;
}


.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-three-dots {
  top: 5px;
  right: 5px;
  cursor: pointer;
  font-size: 15px;
  line-height: 8px;
  text-align: center;
  color: #4ec8e4;
  border-radius: 50%;
  padding: 4px;
  transition: opacity 0.3s ease;
  opacity: 0; /* Initially hidden */
  position: absolute;
  visibility: hidden;
}

.video-thumbnail-wrapper:hover .video-three-dots {
  opacity: 1; /* Show on hover */
  visibility: visible;
}

.video-options-menu {
  top: 40px; /* Adjust this value to control distance from the three dots */
  right: 5px;
  background-color: #4ec8e4;
  color: white;
  border-radius: 5px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 5px 0;
  position: absolute;
}

.video-options-menu a {
  font-size: 14px;
  padding: 6px 10px;
  color: white;
  text-decoration: none;
  background-color: #4ec8e4;
}

.video-options-menu a:hover {
  background-color: #6c757d;
}

.play-icon-overlay {
  font-size: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ========== Layout & page chrome ========== */
.gallery-internal-view {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.gallery-name-style {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px 0;
  text-align: left; /* keep title left */
}

/* ✅ Center the top action buttons */
.gallery-internal-view-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 8px 0 20px 0;
  flex-wrap: wrap;
}

.btn-sm { padding: 4px 8px; }

/* Two-column app layout */
.gallery-layout {
  display: grid;
  grid-template-columns: 320px 1fr; /* left sidebar, right content */
  gap: 24px;
  align-items: start;
}

.gallery-sidebar {
  position: sticky;
  top: 70px;
}

/* ========== Cover photo ========== */
.cover-photo-wrapper-container {
  transform: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 280px;
  width: 100%;
  max-width: 280px;
  background-color: #f0f0f0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.gallery-internal-view-cover-photo-placeholder {
  font-size: 18px;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.cover-img-thumbnail {
  width: 100%;
  max-width: 280px;
  height: 100%;
  object-fit: contain;
  border: none;
  box-shadow: none;
  cursor: default;
  transition: none;
}

.cover-photo-remove-btn {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .3s ease, box-shadow .3s ease;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
  text-align: center;
}
.cover-photo-wrapper-container:hover .cover-photo-remove-btn {
  background-color: #c82333;
  box-shadow: 0 4px 8px rgba(0,0,0,.2);
}
.cover-photo-remove-btn:focus {
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(220,53,69,.5);
}

/* ========== Pixieset-style album list (left) ========== */
.album-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.album-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.album-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border-left: 3px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.album-link:hover { background: #f7f7f7; }
.album-link.is-active { background: #eefbff; border-color: #4ec8e4; }
.album-name.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album-count.badge { background: #ececec !important; color: #333 !important; }
.album-row .dropdown { margin-left: 2px; }

/* ✅ Favorites CTA above Albums — no special rounding; matches other buttons */
.favorites-cta { /* space helper only */ }
.favorites-cta .btn {
  /* no custom radius or padding so it looks like other .btn-outline-secondary.btn-sm */
}

/* ========== Right content: videos + photos grid ========== */
.gallery-internal-view-photos { margin-top: 0; }

.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .5rem 0;
}

.gallery-internal-view-photos .photos,
.gallery-internal-view-photos .videos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start; /* left aligned */
}

/* photo/video tile wrapper */
.album-photo-wrapper-container {
  transform: none; /* avoid subpixel blur */
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: box-shadow .2s ease;
  height: 200px;
  width: 100%;
  max-width: 200px;
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: visible;
}

/* ✅ Hard reset any external blur/filters */
.gallery-internal-view img,
.gallery-internal-view .album-photo-wrapper-container,
.gallery-internal-view .album-img-thumbnail {
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  image-rendering: auto;
}

.album-img-thumbnail {
  width: 100%;
  max-width: 200px;
  height: 100%;
  object-fit: contain;
  border: none;
  box-shadow: none;
  cursor: default;
}
.album-photo-wrapper-container:hover { box-shadow: 0 1px 8px rgba(0,0,0,.08); cursor: pointer; }

/* ✅ Processing placeholder (like original) */
.placeholder-box {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}
.album-photo-processing-text {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  letter-spacing: .2px;
  animation: pulse 1.5s infinite;
  user-select: none;
}
@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

/* three-dots over tiles */
.album-photo-three-dots {
  top: 5px; right: 5px;
  cursor: pointer; font-size: 15px; line-height: 8px; text-align: center; color: black;
  border-radius: 50%; padding: 4px; transition: color .3s ease;
  opacity: 0; position: absolute; visibility: hidden;
}
.album-photo-wrapper-container:hover .album-photo-three-dots {
  color: #4ec8e4; opacity: 1; visibility: visible;
}

/* contextual menu */
.album-photo-delete-menu {
  position: absolute; top: 22%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 5px; background: #4ec8e4; color: white; border: none; cursor: pointer;
  text-align: center; z-index: 100; white-space: nowrap; padding: 3px 0;
  display: flex; flex-direction: column;
}
.album-photo-delete-menu a {
  display: block; font-size: 14px; padding: 6px 10px; color: white; background: #4ec8e4; text-decoration: none; margin-bottom: 0;
}
.album-photo-delete-menu a.btn-outline-danger,
.album-photo-delete-menu a.btn-outline-secondary { border: none; }
.album-photo-delete-menu a.btn-outline-danger:hover,
.album-photo-delete-menu a.btn-outline-secondary:hover { background: #6c757d; }

/* video tile chrome */
.video-thumbnail-wrapper { position: relative; }
.play-icon-overlay { pointer-events: none; }

/* modal image constraints */
.focal-point-preview-wrapper {
  position: relative; display: flex; justify-content: center; align-items: center;
  overflow: hidden; width: 100%; max-height: 80vh;
}
.cover-image-preview { max-width: 100%; max-height: 80vh; object-fit: contain; display: block; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .album-photo-wrapper-container .album-photo-three-dots,
  .cover-photo-wrapper-container .cover-photo-remove-btn,
  .gallery-menu-three-dots,
  .set-focal-point-btn {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
  }

  .cover-photo-wrapper-container .cover-photo-remove-btn,
  .set-focal-point-btn {
    display: block !important;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    cursor: pointer;
  }

  .album-photo-wrapper-container .album-photo-three-dots,
  .gallery-container .gallery-menu-three-dots {
    color: #4ec8e4;
  }
}

/* ---------------------------
   Mobile-only polish (≤768px)
   --------------------------- */
@media (max-width: 768px) {
  .gallery-layout { display: block; }
  .gallery-sidebar { position: static; margin-bottom: 16px; }
  .gallery-internal-view { padding: 15px; }
  .gallery-name-style { font-size: 1.5rem; }

  .gallery-internal-view-controls .btn { margin-bottom: 10px; }

  .gallery-internal-view-photos .row {
    display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px;
  }
  .gallery-internal-view-photos .col-6 {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    box-sizing: border-box;
  }

  /* 👇 Key mobile centering fix for finished images */
  .album-photo-wrapper-container {
    height: 200px;                /* keep tile size consistent */
    display: flex;
    align-items: center;          /* vertical centering */
    justify-content: center;      /* horizontal centering */
  }
  .album-photo-wrapper-container img {
    display: block;
    width: 100%;
    max-height: 100%;             /* let image grow up to tile height */
    height: auto;                 /* maintain aspect */
    object-fit: contain;
    object-position: center;      /* avoid top bias on some browsers */
    align-self: center;
  }

  /* keep the menu dots visible on mobile */
  .album-photo-wrapper-container .album-photo-three-dots {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    color: #4ec8e4;
  }

  /* 1) Name: tighten spacing & prevent overflow */
  .gallery-internal-view .gallery-name-style {
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 6px 0 10px;
    word-break: break-word;
  }

  /* 2) Photo Session block: neat stacked card */
  .gallery-internal-view .associated-photo-session {
    padding: 10px 12px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #fafafa;
    margin-bottom: 12px;
  }
  .gallery-internal-view .associated-photo-session .d-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .gallery-internal-view .associated-photo-session .btn,
  .gallery-internal-view .custom-associated-photo-session-btn {
    width: 100%;
  }
  .gallery-internal-view .associated-photo-session .w-100.small {
    margin-top: 4px !important;
  }

  /* 3) Action buttons: tidy two-column grid */
  .gallery-internal-view .gallery-internal-view-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0 14px;
  }
  .gallery-internal-view .gallery-internal-view-controls .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
  }

  /* 4) Cover photo: center block */
  .gallery-internal-view .cover-photo-wrapper-container {
    margin-left: auto;
    margin-right: auto;
  }
}

/* GLightbox fix */
.gslide-media { position: relative !important; }

/* analytics table minor polish */
.gallery-analytics-table .table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0,0,0,.05); }
.gallery-analytics-table th,
.gallery-analytics-table td { padding: 1rem; }

/* Hard reset: never blur anything inside the internal editor’s right pane */
.gallery-internal-view .gallery-content,
.gallery-internal-view .gallery-photos-section,
.gallery-internal-view #photos_frame,
.gallery-internal-view .album-item,
.gallery-internal-view .album-item .photos,
.gallery-internal-view .album-item .videos {
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
}

/* If any of these “lock/preview” classes leak into internal, neutralize them */
.gallery-internal-view .blurred,
.gallery-internal-view .download-locked,
.gallery-internal-view .locked,
.gallery-internal-view .watermark-preview,
.gallery-internal-view .apply-blur {
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
}

/* ==== FOCAL POINT FIXES ==== */
.focal-point-preview-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-height: 80vh;
}
#coverPhotoPreview {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
#focalPointIndicator {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(0, 0, 0, 0.5);
  position: absolute;
  display: none;
  z-index: 10;
  pointer-events: auto;
  cursor: grab;
  transform: translate(-50%, -50%);
}
#focalPointIndicator:active { cursor: grabbing; }
.set-focal-point-btn { z-index: 11; }

/* Album list highlight: very light tint of #355d65 */
.album-link:hover {
  background: rgba(53, 93, 101, 0.04); /* subtle hover */
}
.album-link.is-active {
  background: rgba(53, 93, 101, 0.10);
  border-color: rgba(53, 93, 101, 0.35);
}
.album-link:focus-visible {
  outline: 2px solid rgba(53, 93, 101, 0.35);
  outline-offset: 2px;
  border-color: rgba(53, 93, 101, 0.35);
}

/* Compact, centered, subtle (transparent) brand-orange chip */
.gallery-archive-banner {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  border-radius: 9999px;
  background-color: rgba(243, 158, 29, 0.12);
  border: 1px solid rgba(243, 158, 29, 0.35);
  color: #7a4a0b;
  font-weight: 600;
  font-size: .9rem;
  margin: 0 0 10px 0;
}
.gallery-archive-banner .bi {
  font-size: 1rem;
  color: #d68717;
}

.storage-cap-banner {
  background: #f1f3f5;   /* light grey */
  color: #000;           /* black text */
  border: 1px solid #e1e3e6;
  text-align: center;
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-top: .5rem;
}
.storage-cap-banner strong {
  font-weight: 600;
}
.storage-cap-banner__content {
  display: inline-block;
}

/* Orbit brand-orange button */
.btn-orbit {
  background-color: #f39e1d;
  border-color: #f39e1d;
  color: #fff;
}

.btn-orbit:hover,
.btn-orbit:focus {
  background-color: #e38c06; /* slightly darker on hover/focus */
  border-color: #e38c06;
  color: #fff;
}

.btn-orbit:active {
  background-color: #cf7f05; /* pressed */
  border-color: #cf7f05;
  color: #fff;
}

.btn-orbit:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(243, 158, 29, 0.35);
}

.btn-orbit:disabled,
.btn-orbit.disabled {
  background-color: #f39e1d;
  border-color: #f39e1d;
  color: #fff;
  opacity: .65;
}

/* Universal safeguard: center both placeholders and images inside tiles */
.album-photo-wrapper-container > img,
.album-photo-wrapper-container > .placeholder-box {
  align-self: center;
  justify-self: center;
}

/* Mobile: force the cover box to center even if Bootstrap adds me-4, ms-*, etc. */
@media (max-width: 768px) {
  /* Center the frame content */
  turbo-frame#cover_photo,
  #cover_photo {
    display: block;
    width: 100%;
  }

  /* Hard override any margin utilities (me-4, ms-*, etc.) that Turbo/partials add */
  #cover_photo .cover-photo-wrapper-container {
    max-width: 280px;                 /* keep your designed size */
    width: 100%;
    margin-left: auto !important;     /* override me-4, ms-*, etc. */
    margin-right: auto !important;    /* override me-4, ms-*, etc. */
    margin-inline: auto !important;   /* logical alias: future-proof */
    float: none !important;           /* in case any float sneaks in */
  }

  /* If only the placeholder renders inside the wrapper, keep it centered inside */
  #cover_photo .gallery-internal-view-cover-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
}

/* Gallery workspace refresh ------------------------------------------------ */
.gallery-internal-view {
  --workspace-ink: #18282d;
  --workspace-muted: #68797e;
  --workspace-brand: #3c727e;
  --workspace-brand-dark: #285762;
  --workspace-line: #dbe5e6;
  width: min(1240px, calc(100% - 2rem));
  min-height: calc(100vh - 56px);
  margin: 1.5rem auto 3.5rem;
  padding: 0;
  color: var(--workspace-ink);
  background: #f8f9fa;
}

.gallery-workspace-header {
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e1e7e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 48, 56, .055);
}

.gallery-workspace-topbar {
  margin: 0 0 1rem !important;
}

.gallery-workspace-back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .15rem;
  color: #52666d;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.gallery-workspace-back-link::before {
  content: "\2190";
  font-size: 1rem;
  transition: transform .15s ease;
}

.gallery-workspace-back-link:hover {
  color: var(--workspace-brand);
}

.gallery-workspace-back-link:hover::before {
  transform: translateX(-2px);
}

.gallery-workspace-back-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(60, 114, 126, .18);
  outline-offset: 2px;
}

.gallery-workspace-topbar .btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
}

.gallery-workspace-topbar .btn:not(.btn-orbit),
.gallery-internal-view .associated-photo-session .btn,
.gallery-internal-view .gallery-internal-view-controls .btn {
  border-color: #6f8d93 !important;
  color: #fff !important;
  background: #6f8d93 !important;
  box-shadow: 0 3px 8px rgba(37, 62, 70, .14);
}

.gallery-workspace-topbar .btn:not(.btn-orbit):hover,
.gallery-internal-view .associated-photo-session .btn:hover,
.gallery-internal-view .gallery-internal-view-controls .btn:hover {
  border-color: #5d7b82 !important;
  color: #fff !important;
  background: #5d7b82 !important;
}

.gallery-workspace-eyebrow {
  display: block;
  margin-bottom: .32rem;
  color: var(--workspace-brand);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gallery-internal-view .gallery-name-style {
  margin: 0;
  color: var(--workspace-ink);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.gallery-internal-view .associated-photo-session {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  align-items: center;
  gap: .5rem;
  margin: .65rem 0 0 !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5d6d73;
  font-size: .82rem;
}

.gallery-internal-view .associated-photo-session strong {
  color: #718087;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.gallery-internal-view .associated-photo-session .btn {
  display: inline-flex !important;
  width: auto;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: .38rem .6rem;
  border-radius: 7px;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
}

.gallery-internal-view .gallery-internal-view-controls {
  justify-content: flex-start;
  gap: .5rem;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--workspace-line);
}

.gallery-internal-view .gallery-internal-view-controls .btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: .62rem .8rem;
  border-color: #bfd0d2;
  border-radius: 7px;
  color: var(--workspace-brand-dark);
  background: #fff;
  font-size: .78rem;
  font-weight: 650;
}

.gallery-internal-view .gallery-internal-view-controls .btn:hover {
  border-color: var(--workspace-brand);
  color: #fff;
  background: var(--workspace-brand);
}

.gallery-internal-view .gallery-layout {
  grid-template-columns: minmax(250px, 285px) minmax(0, 1fr);
  gap: 1rem;
}

.gallery-internal-view .gallery-sidebar,
.gallery-internal-view .gallery-content {
  min-width: 0;
  border: 1px solid var(--workspace-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 48, 56, .055);
}

.gallery-internal-view .gallery-sidebar {
  top: 68px;
  padding: 1rem;
}

.gallery-internal-view .gallery-content {
  min-height: 520px;
  padding: clamp(.85rem, 2vw, 1.15rem);
}

.gallery-internal-view .cover-photo-wrapper-container {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--workspace-line);
  border-radius: 12px;
  background: #eef3f3;
}

.gallery-internal-view .cover-img-thumbnail {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.gallery-internal-view .gallery-internal-view-cover-photo-placeholder {
  color: #7f9297;
  background: linear-gradient(145deg, #edf3f3, #f8fafa);
  font-size: .8rem;
  font-weight: 650;
}

.gallery-internal-view .favorites-cta .btn,
.gallery-internal-view .album-row .btn,
.gallery-internal-view .gallery-sidebar .btn {
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 650;
}

.gallery-internal-view .album-list {
  gap: .32rem;
}

.gallery-internal-view .album-link {
  min-height: 40px;
  padding: .62rem .7rem;
  border: 1px solid transparent;
  border-left-width: 3px;
  border-radius: 8px;
  color: #31474d;
  font-size: .78rem;
  font-weight: 650;
}

.gallery-internal-view .album-link:hover {
  border-color: #d7e3e4;
  color: var(--workspace-brand-dark);
  background: #f7fafa;
}

.gallery-internal-view .album-link.is-active {
  border-color: #9dbdc2;
  color: var(--workspace-brand-dark);
  background: #eaf3f4;
}

.gallery-internal-view .album-count.badge {
  min-width: 25px;
  padding: .32rem .42rem;
  color: #49656b !important;
  background: #e4eded !important;
  border-radius: 7px;
  font-size: .64rem;
}

.gallery-internal-view .section-title {
  color: var(--workspace-ink);
  font-size: .92rem;
  font-weight: 700;
}

.gallery-internal-view .album-photo-wrapper-container,
.gallery-internal-view .video-thumbnail-wrapper {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: visible;
  border: 1px solid #dce5e6;
  border-radius: 12px;
  background: #f0f4f4;
  box-shadow: none;
}

.gallery-internal-view .album-img-thumbnail,
.gallery-internal-view .video-thumbnail {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
}

.gallery-internal-view .album-photo-wrapper-container:hover,
.gallery-internal-view .video-thumbnail-wrapper:hover {
  border-color: #adc4c8;
  box-shadow: 0 2px 6px rgba(28, 61, 68, .1);
}

.gallery-internal-view .album-photo-three-dots,
.gallery-internal-view .video-three-dots {
  top: .4rem;
  right: .4rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: .32rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 7px;
  color: #fff;
  background: rgba(20, 42, 47, .64);
  line-height: 5px;
}

.gallery-internal-view .album-photo-delete-menu {
  top: 2.65rem;
  right: auto;
  left: 50%;
  min-width: 164px;
  max-width: calc(100vw - 1.5rem);
  padding: .35rem;
  overflow: visible;
  border: 1px solid #d7e1e3;
  border-radius: 8px;
  color: #2d4148;
  background: #fff;
  box-shadow: 0 8px 20px rgba(27, 48, 56, .16);
  transform: translateX(-50%);
  z-index: 250;
}

.gallery-internal-view .album-photo-delete-menu a,
.gallery-internal-view .album-photo-delete-menu a.btn {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: .52rem .62rem;
  border: 0;
  border-radius: 5px;
  color: #2d4148 !important;
  background: transparent !important;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.gallery-internal-view .album-photo-delete-menu a:hover,
.gallery-internal-view .album-photo-delete-menu a:focus-visible {
  color: #294f58 !important;
  background: #edf3f4 !important;
}

.gallery-internal-view .album-photo-delete-menu a.btn-outline-danger {
  color: #a53b42 !important;
}

.gallery-internal-view .album-photo-delete-menu a.btn-outline-danger:hover,
.gallery-internal-view .album-photo-delete-menu a.btn-outline-danger:focus-visible {
  color: #8d2f36 !important;
  background: #fff1f2 !important;
}

.gallery-internal-view .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(23, 39, 44, .24);
}

.gallery-internal-view .modal-header {
  border-bottom-color: var(--workspace-line);
}

.gallery-internal-view .modal-title {
  color: var(--workspace-ink);
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .gallery-internal-view .gallery-layout {
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-internal-view {
    width: min(100% - 1rem, 1240px);
    margin-top: .75rem;
  }

  .gallery-workspace-header,
  .gallery-internal-view .gallery-sidebar,
  .gallery-internal-view .gallery-content {
    border-radius: 14px;
  }

  .gallery-internal-view .gallery-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gallery-internal-view .gallery-sidebar {
    position: static;
    margin: 0;
  }

  .gallery-internal-view .gallery-internal-view-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-internal-view .gallery-internal-view-controls .btn {
    min-height: 44px;
  }

  .gallery-internal-view .associated-photo-session {
    width: 100%;
    padding: 0;
  }

  .gallery-internal-view .album-photo-wrapper-container {
    height: auto;
  }
}

@media (max-width: 430px) {
  .gallery-workspace-topbar {
    align-items: stretch !important;
    flex-direction: column;
    gap: .5rem;
  }

  .gallery-workspace-topbar .me-auto,
  .gallery-workspace-topbar > .d-flex {
    width: 100%;
  }

  .gallery-workspace-topbar > .d-flex {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .gallery-workspace-topbar .btn {
    width: 100%;
    min-height: 44px;
  }

  .gallery-internal-view .gallery-internal-view-controls {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-internal-view .album-photo-wrapper-container,
  .gallery-internal-view .video-thumbnail-wrapper,
  .gallery-internal-view .gallery-internal-view-controls .btn {
    transition: none;
  }
}
/* Locations Container */
.locations-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Title Styling */
.locations-title {
  font-size: 1.75rem;
  color: #3c727e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Public page link — mirrors the Booking Page copy/open control. */
.locations-public-link-card {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(420px, 1.45fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.2rem;
  align-items: center;
  border: 1px solid #dce5e7;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 56, 64, .08);
  text-align: left;
}

.locations-public-link-card__intro { display: flex; min-width: 0; gap: .8rem; align-items: center; }
.locations-public-link-card__icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 2.65rem;
  place-items: center;
  border-radius: .8rem;
  color: #3c727e;
  background: #eaf3f4;
  font-size: 1.08rem;
}
.locations-public-link-card h2 { margin: 0; color: #203238; font-size: 1rem; font-weight: 750; }
.locations-public-link-card p { margin: .2rem 0 0; color: #6c7d83; font-size: .76rem; }
.locations-public-link-card__control { min-width: 0; text-align: right; }
.locations-public-link-card__control label { display: block; margin-bottom: .35rem; color: #53666c; font-size: .72rem; font-weight: 750; }
.locations-public-link-card__control .input-group { width: 100%; }
.locations-public-link-card__control .form-control {
  min-width: 0;
  color: #5e7076;
  background: #f8fafa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .78rem;
}
.locations-public-link-card__copy,
.locations-public-link-card__open { min-width: 76px; color: #fff; font-size: .78rem; font-weight: 750; }
.locations-public-link-card__copy { border-color: #6d8b92; background: #6d8b92; }
.locations-public-link-card__copy:hover { border-color: #58767d; color: #fff; background: #58767d; }
.locations-public-link-card__open { border-color: #3c727e; background: #3c727e; }
.locations-public-link-card__open:hover { border-color: #285762; color: #fff; background: #285762; }
.locations-public-link-card__control small { display: block; margin-top: .35rem; color: #829095; font-size: .68rem; }
.locations-public-link-card__copy.copied-pulse { border-color: #2f8766; background: #2f8766; }

/* Add Location Button */
.btn-add-location {
  display: inline-block;
  margin-bottom: 1.5rem;
  background-color: #3c727e;
  border-color: #3c727e;
  color: white;
  padding: 0.75rem 1.5rem;
}
.btn-add-location:hover {
  background-color: #2e5b69;
  border-color: #2e5b69;
}

/* Location List Styling */
.location-list {
  padding: 0;
  list-style: none;
}

/* Location Item Card */
.location-item-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem; /* give breathing room between info and actions */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.location-item-card:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Location Info Styling */
.location-info {
  flex: 1 1 auto;   /* take available space */
  min-width: 0;     /* allow text truncation */
  max-width: 100%;
}
.location-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3c727e;
  margin-bottom: .25rem;
}
.location-address {
  font-size: 0.9rem;
  color: #6d8c91;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* prevent pushing buttons */
}

/* Button Group Styling */
.btn-group-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 0 0 auto;     /* do not shrink */
  white-space: nowrap;/* keep labels on one line */
}
.btn-group-actions .btn {
  flex: 0 0 auto;     /* each button keeps its width */
  white-space: nowrap;/* no wrap inside buttons */
}

/* Base Button Sizing */
.edit-location-btn,
.view-details-btn,
.delete-location-btn {
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  line-height: 1.2;
}

/* Brand Button Colors */
.edit-location-btn,
.view-details-btn,
.delete-location-btn {
  background-color: #3c727e; /* brand color */
  border-color: #3c727e;
  color: #fff !important;
  font-weight: 600;
}

/* Distinct delete warning color */
.delete-location-btn {
  background-color: #f39e1d;
  border-color: #f39e1d;
}

/* Hover effects */
.edit-location-btn:hover,
.view-details-btn:hover {
  background-color: #2e5b69;
  border-color: #2e5b69;
  color: #fff !important;
}
.delete-location-btn:hover {
  background-color: #d68717;
  border-color: #d68717;
  color: #fff !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #custom-navbar .navbar-nav { text-align: center; }

  .location-item-card {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }

  .btn-group-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-group-actions .btn {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .btn-add-location {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #3c727e;
    color: white;
  }

  .locations-public-link-card { grid-template-columns: 1fr; gap: 1rem; }
  .locations-public-link-card__control { text-align: left; }
}

@media (max-width: 576px) {
  .locations-container { padding: 1rem; }
  .location-info { max-width: 100%; }
  .location-name { font-size: 1rem; }
  .location-address { font-size: 0.85rem; }
  .locations-public-link-card { padding: 1rem; }
  .locations-public-link-card__control .input-group { flex-wrap: wrap !important; gap: .5rem; }
  .locations-public-link-card__control .form-control { flex: 0 0 100%; border-radius: .55rem !important; }
  .locations-public-link-card__copy,
  .locations-public-link-card__open { flex: 1; border-radius: .55rem !important; }
}
.grid-template-columns {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}
.mission-control-page,
.mission-control-page body {
  min-height: 100%;
  background: #f5f7f7;
}

.mission-control-shell {
  --mc-ink: #1c2a2f;
  --mc-muted: #6b7b80;
  --mc-brand: #3c727e;
  --mc-brand-dark: #285762;
  --mc-accent: #ed9517;
  --mc-line: #dce4e5;
  width: min(1120px, calc(100% - 2rem));
  max-width: none;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.6rem) 0 3.5rem;
  color: var(--mc-ink);
  text-align: left;
}

.mission-control-shell:is(
  .locations-container,
  .session-categories-container,
  .packages-container,
  .questionnaire-templates-container,
  .contract-templates-container,
  .email-templates-container
) {
  max-width: none;
  padding: clamp(1.5rem, 3vw, 2.6rem) 0 3.5rem;
  text-align: left;
}

.mission-control-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid var(--mc-line);
}

.mission-control-hero__copy { min-width: 0; }
.mission-control-hero h1 {
  margin: 0;
  color: var(--mc-ink);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}
.mission-control-hero p {
  max-width: 660px;
  margin: .5rem 0 0;
  color: var(--mc-muted);
  font-size: .9rem;
}
.mission-control-hero__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .5rem;
}
.mission-control-hero__actions form { margin: 0; }

.mission-control-action {
  display: inline-flex !important;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: 0 !important;
  padding: .55rem .78rem !important;
  border: 1px solid var(--mc-line) !important;
  border-radius: 9px !important;
  font-size: .8rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-align: center;
  text-decoration: none;
  box-shadow: none !important;
}
.mission-control-action--primary {
  border-color: var(--mc-brand) !important;
  color: #fff !important;
  background: var(--mc-brand) !important;
}
.mission-control-action--primary:hover {
  border-color: var(--mc-brand-dark) !important;
  color: #fff !important;
  background: var(--mc-brand-dark) !important;
}
.mission-control-action--secondary { color: #51656b !important; background: #fff !important; }
.mission-control-action--secondary:hover { border-color: #b5c8cb !important; color: var(--mc-brand-dark) !important; background: #f8fafa !important; }

.mission-control-content { margin-top: 1.2rem; }
.mission-control-surface {
  overflow: hidden;
  border: 1px solid var(--mc-line);
  border-radius: 14px;
  background: #fff;
}
.mission-control-surface + .mission-control-surface { margin-top: 1rem; }
.mission-control-surface__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--mc-line);
}
.mission-control-surface__header h2 {
  margin: 0;
  color: var(--mc-ink);
  font-size: 1rem;
  font-weight: 700;
}
.mission-control-surface__header p { margin: .22rem 0 0; color: var(--mc-muted); font-size: .8rem; line-height: 1.45; }
.mission-control-surface__body { padding: 1rem; }

/* Existing Mission Control resource lists retain their controller contracts. */
.mission-control-shell :is(
  .session-category-list,
  .package-list,
  .questionnaire-template-list,
  .contract-template-list,
  .email-template-list,
  .location-list
) {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
.mission-control-shell :is(
  .session-category-item-card,
  .package-item-card,
  .questionnaire-template-item-card,
  .contract-template-item-card,
  .email-template-item-card,
  .location-item-card
) {
  display: flex !important;
  min-width: 0;
  align-items: center !important;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: .8rem .85rem;
  border: 1px solid var(--mc-line);
  border-radius: 11px;
  color: var(--mc-ink);
  background: #fff;
  box-shadow: none;
  text-align: left;
  transform: none;
}
.mission-control-shell :is(
  .session-category-item-card,
  .package-item-card,
  .questionnaire-template-item-card,
  .contract-template-item-card,
  .email-template-item-card,
  .location-item-card
):hover {
  border-color: #b7cacc;
  background: #fff;
  box-shadow: 0 6px 16px rgba(28,61,68,.065);
  transform: none;
}
.mission-control-shell :is(
  .session-category-name,
  .package-name,
  .questionnaire-template-name,
  .contract-template-name,
  .email-template-name,
  .location-name
) {
  margin: 0;
  color: var(--mc-ink);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
}
.mission-control-shell .btn-group-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
}
.mission-control-shell .btn-group-actions > form {
  display: inline-flex;
  margin: 0;
}
.mission-control-shell .btn-group-actions .btn {
  display: inline-flex !important;
  min-width: 0;
  min-height: 34px !important;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .4rem .58rem !important;
  border: 1px solid #bdcccf !important;
  border-radius: 8px !important;
  color: #51656b !important;
  background: #fff !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none !important;
}
.mission-control-shell .btn-group-actions .btn:hover {
  border-color: #b5c8cb !important;
  color: var(--mc-brand-dark) !important;
  background: #f8fafa !important;
  box-shadow: none !important;
}

.mission-control-shell .card {
  overflow: hidden;
  border-color: var(--mc-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none !important;
}
.mission-control-shell .card-header {
  min-height: 48px;
  padding: .8rem 1rem;
  border-bottom-color: var(--mc-line);
  color: var(--mc-ink);
  background: #f9fbfb;
  font-size: .875rem;
  font-weight: 800;
}
.mission-control-shell .card-body { padding: 1rem; }
.mission-control-shell .card-title {
  color: var(--mc-ink);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
}
.mission-control-shell .card-body > :last-child { margin-bottom: 0; }
.mission-control-shell .text-muted { color: var(--mc-muted) !important; }
.mission-control-shell .small,
.mission-control-shell small { font-size: .8125rem; line-height: 1.45; }

.mission-control-shell :is(.btn-primary, .btn-info, .btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-outline-danger, .btn-danger) {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border-radius: 8px;
  padding: .48rem .68rem;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  box-shadow: none;
}
.mission-control-shell .btn-primary,
.mission-control-shell .btn-info {
  border-color: var(--mc-brand) !important;
  color: #fff !important;
  background: var(--mc-brand) !important;
}
.mission-control-shell :is(.btn-primary, .btn-info):hover {
  border-color: var(--mc-brand-dark) !important;
  color: #fff !important;
  background: var(--mc-brand-dark) !important;
}
.mission-control-shell .btn-secondary {
  border-color: #789197 !important;
  color: #fff !important;
  background: #789197 !important;
}
.mission-control-shell :is(.btn-outline-primary, .btn-outline-secondary) {
  border-color: #bdcccf !important;
  color: #486169 !important;
  background: #fff !important;
}
.mission-control-shell :is(.btn-outline-primary, .btn-outline-secondary):hover {
  border-color: #9bb3b7 !important;
  color: var(--mc-brand-dark) !important;
  background: #f2f7f7 !important;
}
.mission-control-shell :is(.btn-danger, .btn-outline-danger) {
  border-color: var(--mc-accent) !important;
  color: #fff !important;
  background: var(--mc-accent) !important;
}
.mission-control-shell :is(.btn-danger, .btn-outline-danger):hover {
  border-color: #d58210 !important;
  color: #fff !important;
  background: #d58210 !important;
}

/* Destructive row actions use the same orange role as newsletter Delete. */
.mission-control-shell .btn-group-actions .btn:is(
  .btn-danger,
  .btn-outline-danger,
  [class*="delete-"],
  [class*="remove-"]
) {
  border-color: var(--mc-accent) !important;
  color: #fff !important;
  background: var(--mc-accent) !important;
}
.mission-control-shell .btn-group-actions .btn:is(
  .btn-danger,
  .btn-outline-danger,
  [class*="delete-"],
  [class*="remove-"]
):hover {
  border-color: #d58210 !important;
  color: #fff !important;
  background: #d58210 !important;
}
.mission-control-shell .form-control,
.mission-control-shell .form-select,
.mission-control-shell .input-group-text {
  min-height: 41px;
  border-color: #d2dcde;
  border-radius: 9px;
  font-size: .875rem;
}
.mission-control-shell .form-control:focus,
.mission-control-shell .form-select:focus {
  border-color: rgba(60,114,126,.62);
  box-shadow: 0 0 0 3px rgba(60,114,126,.1);
}
.mission-control-shell .form-check-input:checked { border-color: var(--mc-brand); background-color: var(--mc-brand); }
.mission-control-shell .form-label,
.mission-control-shell .col-form-label {
  color: #41555b;
  font-size: .82rem;
  font-weight: 700;
}
.mission-control-shell .form-text { color: #7b898d; font-size: .78rem; line-height: 1.45; }
.mission-control-shell .form-switch { display: flex; align-items: center; gap: .4rem; }
.mission-control-shell .form-switch .form-check-input { flex: 0 0 auto; margin-top: 0; }
.mission-control-shell .alert {
  border-radius: 10px;
  border-color: #d8e2e3;
  font-size: .84rem;
}

.mission-control-shell .table-responsive {
  border: 1px solid var(--mc-line);
  border-radius: 11px;
}
.mission-control-shell .table { margin: 0; color: var(--mc-ink); font-size: .82rem; }
.mission-control-shell .table thead th {
  padding: .7rem .75rem;
  border-bottom-color: var(--mc-line);
  color: #718287;
  background: #f8fafa;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mission-control-shell .table tbody td { padding: .75rem; border-color: #edf1f1; vertical-align: middle; }
.mission-control-shell .badge {
  border-radius: 7px;
  padding: .34rem .5rem;
  font-size: .75rem;
  font-weight: 750;
}

.mission-control-account { padding: 1rem; }
.mission-control-account > .account-settings > hr { border-color: var(--mc-line); opacity: 1; }
.mission-control-account h4 {
  margin: 0 0 .85rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--mc-line);
  color: var(--mc-ink);
  font-size: .95rem;
  font-weight: 700;
}
.mission-control-account .card { background: #fbfcfc; }
.mission-control-account .account-build-stamp {
  padding-top: 1rem;
  border-top: 1px solid var(--mc-line);
  color: var(--mc-muted);
  font-size: 1rem;
}
.mission-control-account .account-build-stamp .small { font-size: .875rem; }
.mission-control-account .business-logo-wrapper-container:has(.business-logo-wrapper) {
  min-height: 132px;
  width: fit-content;
  padding: .4rem;
  border: 1px solid var(--mc-line);
  border-radius: 11px;
  background: #f9fbfb;
}
.mission-control-account :is(#pending_invitations_section, [data-user-management-target="message"]) + .row .card,
.mission-control-account #pending_invitations_section .card { height: 100%; }

.mission-control-shell .provider-header {
  background: #f9fbfb !important;
}
.mission-control-shell .provider-header + .card-body { padding-top: 1.1rem; padding-bottom: 1.1rem; }

.mission-control-shell[data-controller="sms-notifications"] .card-body > code,
.mission-control-shell[data-controller="sms-notifications"] .small code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: .35rem;
  padding: .65rem .75rem;
  border: 1px solid #dfe7e8;
  border-radius: 8px;
  color: #38575e;
  background: #f5f8f8;
  white-space: normal;
}

.mission-control-shell .locations-public-link-card {
  border-radius: 14px;
  box-shadow: none;
}
.mission-control-shell .locations-public-link-card p { font-size: .82rem; line-height: 1.45; }
.mission-control-shell .locations-public-link-card__control label { font-size: .78rem; }
.mission-control-shell .locations-public-link-card__control small { font-size: .75rem; line-height: 1.45; }
.mission-control-shell .location-address { margin-top: .24rem; color: var(--mc-muted); font-size: .8rem; line-height: 1.4; }
.mission-control-shell .view-details-btn {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: .4rem .58rem;
  border: 1px solid #bdcccf;
  border-radius: 8px !important;
  color: #51656b !important;
  background: #fff;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
}
.mission-control-shell .view-details-btn:hover {
  border-color: #b5c8cb;
  color: var(--mc-brand-dark) !important;
  background: #f8fafa;
}

.payment-settings .mission-control-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-right: 0;
  margin-left: 0;
}
.payment-settings .mission-control-content > [class*="col-"] {
  width: auto;
  margin: 0 !important;
  padding: 0;
}
.payment-settings :is(.payment-settings__intro, .payment-settings__owner-note, .payment-settings__preferences, .payment-settings__tips) {
  grid-column: 1 / -1;
}
.payment-settings .payment-settings__provider .card { height: 100%; }

.mission-control-shell .row.mission-control-content > [class*="col-"] > .card {
  transition: border-color .14s ease, box-shadow .14s ease;
}
.mission-control-shell .row.mission-control-content > [class*="col-"] > .card:hover {
  border-color: #b7cacc;
  box-shadow: 0 6px 16px rgba(28,61,68,.065) !important;
}

.mission-control-intro {
  padding: 1rem;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  color: var(--mc-muted);
  background: #fff;
  font-size: .875rem;
}
.mission-control-intro > :last-child { margin-bottom: 0; }
.mission-control-intro li + li { margin-top: .35rem; }

.mission-control-page .modal-content { border: 0; border-radius: 14px; box-shadow: 0 22px 60px rgba(19,44,50,.22); }

.mission-control-shell .nl-list :is(.nl-card, .nl-row) {
  border-color: var(--mc-line);
  border-radius: 11px;
  box-shadow: none !important;
}
.mission-control-shell .nl-list .btn-action {
  min-width: 0;
  min-height: 34px;
  border-radius: 8px;
  padding: .4rem .58rem;
  box-shadow: none;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
}
.mission-control-shell .nl-list .btn-soft {
  border-color: #bdcccf !important;
  color: #51656b !important;
  background: #fff !important;
}
.mission-control-shell .nl-list .btn-soft:hover {
  border-color: #b5c8cb !important;
  color: var(--mc-brand-dark) !important;
  background: #f8fafa !important;
}

@media (max-width: 640px) {
  .mission-control-shell { width: min(100% - 1rem, 1120px); padding-top: .85rem; }
  .mission-control-hero { align-items: flex-start; flex-direction: column; }
  .mission-control-hero__actions,
  .mission-control-hero__actions > *,
  .mission-control-hero__actions form,
  .mission-control-hero__actions .mission-control-action { width: 100%; }
  .mission-control-surface__header { align-items: flex-start; flex-direction: column; }
  .mission-control-surface__header .mission-control-action { width: 100%; }
  .mission-control-surface__body { padding: .75rem; }
  .mission-control-shell :is(
    .session-category-item-card,
    .package-item-card,
    .questionnaire-template-item-card,
    .contract-template-item-card,
    .email-template-item-card,
    .location-item-card
  ) { align-items: flex-start !important; flex-direction: column; }
  .mission-control-shell .btn-group-actions,
  .mission-control-shell :is(
    .session-category-item-card,
    .package-item-card,
    .questionnaire-template-item-card,
    .contract-template-item-card,
    .email-template-item-card,
    .location-item-card
  ) > .d-flex:last-child { width: 100%; }
  .mission-control-shell .btn-group-actions > *,
  .mission-control-shell :is(
    .session-category-item-card,
    .package-item-card,
    .questionnaire-template-item-card,
    .contract-template-item-card,
    .email-template-item-card,
    .location-item-card
  ) > .d-flex:last-child > * { flex: 1 1 0; }
  .mission-control-shell .btn-group-actions > form .btn { width: 100%; }
  .mission-control-account { padding: .75rem; }
  .payment-settings .mission-control-content { grid-template-columns: 1fr; }
  .payment-settings .mission-control-content > * { grid-column: 1; }
}

@media (max-width: 420px) {
  .mission-control-hero h1 { font-size: 1.9rem; }
  .mission-control-shell :is(
    .session-category-item-card,
    .package-item-card,
    .questionnaire-template-item-card,
    .contract-template-item-card,
    .email-template-item-card,
    .location-item-card
  ) > .d-flex:last-child { display: grid !important; grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mission-control-shell * { scroll-behavior: auto !important; transition: none !important; }
}
/* Navbar Background */
#custom-navbar {
  background-color: #343436 !important; /* Dark background */
  position: relative;
  z-index: 1050;
}

/* Dropdown menu styling */
#custom-navbar .dropdown-menu {
  position: absolute;
  z-index: 1051;
  top: 100%;
}

/* Navbar Brand Link */
#custom-navbar .navbar-brand {
  color: #a4cbd0 !important;
  padding: 0;
  display: flex;
  align-items: center;
}
#custom-navbar .navbar-brand:hover { color: #6d8c91 !important; }

/* Primary Navbar Links */
#custom-navbar .navbar-nav .nav-link {
  color: #a4cbd0 !important;
  transition: color .3s;
}
#custom-navbar .navbar-nav .nav-link:hover { color: #6d8c91 !important; }
.inquiry-nav-badge{display:inline-grid;place-items:center;margin-left:3px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#f39e1d;color:#1e1e20;font-size:.68rem;font-weight:900;vertical-align:1px}
.inquiry-nav-badge:empty,.inquiry-nav-badge[data-count="0"]{display:none}

/* Secondary Text */
#custom-navbar .navbar-text { color: #a4cbd0 !important; }

/* Sign-Out Link */
#custom-navbar .nav-link.text-danger { color: #f39e1d !important; }
#custom-navbar .nav-link.text-danger:hover { color: #6d8c91 !important; }

/* Navbar Logo */
.navbar-brand-logo {
  height: 40px;
  width: auto;
  max-height: 40px;
  padding: 0;
  display: inline-block;
}

/* =========================
   Animated Hamburger (→ X)
   ========================= */

/* Remove Bootstrap’s default icon & border */
#custom-navbar .navbar-toggler {
  --toggler-line: #f39e1d;   /* bar color */
  --bar-w: 22px;             /* line length */
  --bar-h: 2px;              /* line thickness */
  --bar-gap: 5px;            /* space between lines */
  --anim: 180ms cubic-bezier(.4,0,.2,1);

  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  padding: 8px;
  width: auto;
  height: auto;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--bar-gap);
}

#custom-navbar .navbar-toggler-icon {
  background-image: none !important;
  background-color: transparent !important;
}

/* The three bars */
#custom-navbar .navbar-toggler .toggler-bar {
  display: block;
  width: var(--bar-w);
  height: var(--bar-h);
  background: var(--toggler-line);
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform var(--anim),
    opacity var(--anim),
    background-color var(--anim);
}

/* Hover/active feedback */
#custom-navbar .navbar-toggler:hover .toggler-bar { opacity: .9; }
#custom-navbar .navbar-toggler:active .toggler-bar { opacity: .75; }
#custom-navbar .navbar-toggler:focus,
#custom-navbar .navbar-toggler:focus-visible {
  outline: none;
  box-shadow: none !important;
}

/* When menu is OPEN → make an “X”
   Bootstrap sets aria-expanded="true" on the button */
#custom-navbar .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: translateY(calc(var(--bar-h) + var(--bar-gap))) rotate(45deg);
}
#custom-navbar .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}
#custom-navbar .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: translateY(calc(-1 * (var(--bar-h) + var(--bar-gap)))) rotate(-45deg);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #custom-navbar .navbar-toggler .toggler-bar { transition: none; }
}

/* Slightly larger bars on ultra-narrow phones */
@media (max-width: 360px) {
  #custom-navbar .navbar-toggler { --bar-w: 24px; }
}

/* =========================
   Desktop-only fixes
   ========================= */

/* Hide the hamburger ≥992px (desktop/tablet landscape) */
@media (min-width: 992px) {
  #custom-navbar .navbar-toggler { display: none !important; }
}

/* Make sure the nav stays visible on desktop even if it was collapsed on mobile */
@media (min-width: 992px) {
  #navbarNavCentered { display: flex !important; }
}
/* app/assets/stylesheets/newsletters.css */

/* ============================================================
   Orbit brand tokens (newsletter UI)
   ============================================================ */
:root {
  --orbit-orange: #D18412;             /* user requested */
  --orbit-orange-rgb: 209, 132, 18;    /* for rgba() */
}

/* ============================================================
   Base preview shell (shared for all themes)
   ============================================================ */
.newsletter-preview-shell {
  padding: 16px;
  border-radius: 0.5rem;
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.5;
  word-wrap: break-word;
}

/* Links & headings in preview */
.newsletter-preview-shell h1,
.newsletter-preview-shell h2,
.newsletter-preview-shell h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.newsletter-preview-shell p {
  margin-bottom: 0.75rem;
}

.newsletter-preview-shell a {
  text-decoration: underline;
}

/* Orbit (light) theme */
.newsletter-theme-orbit {
  background-color: #ffffff;
  color: #111827;
}

.newsletter-theme-orbit a {
  color: #2563eb;
}

/* Warm theme */
.newsletter-theme-warm {
  background-color: #fff7ed;
  color: #1f2937;
}

.newsletter-theme-warm a {
  color: #b45309;
}

/* Dark theme */
.newsletter-theme-dark {
  background-color: #111827;
  color: #e5e7eb;
}

.newsletter-theme-dark a {
  color: #93c5fd;
}

/* Optional: images in preview */
.newsletter-preview-shell img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px 0;
}

/* Make the Quill editor inside the newsletter modal taller */
[data-controller~="newsletter-editor"] .ql-container {
  min-height: 320px;
}

/* Keep images inside the editor sane-sized too */
[data-controller~="newsletter-editor"] .ql-editor img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px 0;
}

/* --- Floating resize overlay (EDITOR ONLY) --- */

.nl-img-overlay {
  position: fixed;
  pointer-events: none; /* handles/delete will re-enable pointer events */
  z-index: 9999;
  border: 1px solid rgba(var(--orbit-orange-rgb), 0.5);
  box-sizing: border-box;
}

/* generic handle (small circle) */
.nl-img-overlay .nl-img-handle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: #ffffff;
  border: 2px solid var(--orbit-orange);
  box-sizing: border-box;
  z-index: 20;
  pointer-events: auto;
}

/* top-left corner */
.nl-img-overlay .nl-img-handle-tl {
  top: -6px;
  left: -6px;
  cursor: nwse-resize;
}

/* top-right corner */
.nl-img-overlay .nl-img-handle-tr {
  top: -6px;
  right: -6px;
  cursor: nesw-resize;
}

/* bottom-left corner */
.nl-img-overlay .nl-img-handle-bl {
  bottom: -6px;
  left: -6px;
  cursor: nesw-resize;
}

/* bottom-right corner */
.nl-img-overlay .nl-img-handle-br {
  bottom: -6px;
  right: -6px;
  cursor: nwse-resize;
}

/* --- Delete pill on overlay --- */

.nl-img-overlay .nl-img-delete {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background-color: #111827;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  pointer-events: auto;
}

/* hover state */
.nl-img-overlay .nl-img-delete:hover {
  background-color: #4b5563;
}

/* --- Session link toolbar button --- */

.ql-toolbar .ql-formats button.ql-sessionLink {
  width: auto;
  min-width: 90px;
  padding: 0 8px;
}

.ql-toolbar .ql-formats button.ql-sessionLink::before {
  content: "Session link";
  font-size: 12px;
}

/* --- Session dropdown menu --- */

.newsletter-session-menu {
  position: fixed;
  z-index: 9999; /* sit above modal content/backdrop */
  background-color: #ffffff;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  padding: 4px 0;
  min-width: 220px;
  max-width: 320px;
  max-height: 260px;
  overflow-y: auto;
}

.newsletter-session-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  line-height: 1.3;
  color: #111827;
  cursor: pointer;
}

.newsletter-session-menu-item:hover {
  background-color: #eff6ff;
}

/* --- “Button” style for special CTA links in editor + preview --- */
/* ✅ New system uses nl_cta=1; keep nl_session=1 for backward compatibility */

.ql-editor a[href*="nl_cta=1"],
.newsletter-preview-shell a[href*="nl_cta=1"],
.ql-editor a[href*="nl_session=1"],
.newsletter-preview-shell a[href*="nl_session=1"],
.ql-editor a[href*="nl_booking=1"],
.newsletter-preview-shell a[href*="nl_booking=1"] {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: var(--orbit-orange);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  text-decoration: none !important;
}

/* Remove old pencil hint so it doesn't affect sizing */
.ql-editor a[href*="nl_cta=1"]::after,
.newsletter-preview-shell a[href*="nl_cta=1"]::after,
.ql-editor a[href*="nl_session=1"]::after,
.newsletter-preview-shell a[href*="nl_session=1"]::after,
.ql-editor a[href*="nl_booking=1"]::after,
.newsletter-preview-shell a[href*="nl_booking=1"]::after {
  content: "";
}

/* keep underline off for any children as well */
.ql-editor a[href*="nl_cta=1"] *,
.newsletter-preview-shell a[href*="nl_cta=1"] *,
.ql-editor a[href*="nl_session=1"] *,
.newsletter-preview-shell a[href*="nl_session=1"] *,
.ql-editor a[href*="nl_booking=1"] *,
.newsletter-preview-shell a[href*="nl_booking=1"] * {
  text-decoration: none !important;
}

/* Mobile newsletter cards */
.newsletters-mobile-card .text-truncate {
  max-width: 100%;
}

.newsletters-mobile-meta > div {
  padding: 2px 0;
}

.newsletters-mobile-card .min-w-0 {
  min-width: 0; /* enables truncation properly in flex */
}

/* --- Booking page link toolbar button (next to Session link) --- */

.ql-toolbar .ql-formats button.ql-bookingPageLink {
  width: auto;
  min-width: 110px;
  padding: 0 8px;
}

.ql-toolbar .ql-formats button.ql-bookingPageLink::before {
  content: "Booking page";
  font-size: 12px;
}

/* (Optional) make both custom buttons feel consistent */
.ql-toolbar .ql-formats button.ql-sessionLink,
.ql-toolbar .ql-formats button.ql-bookingPageLink {
  height: 24px;
  line-height: 24px;
}

/* Linen theme (soft ivory) */
.newsletter-theme-linen {
  background-color: #fffaf3;
  color: #1f2937;
}

.newsletter-theme-linen a {
  color: #1d4ed8;
}

/* Sage theme (soft green) */
.newsletter-theme-sage {
  background-color: #f2f7f4;
  color: #1f2937;
}

.newsletter-theme-sage a {
  color: #0f766e;
}

/* Blush theme (soft pink) */
.newsletter-theme-blush {
  background-color: #fff1f5;
  color: #1f2937;
}

.newsletter-theme-blush a {
  color: #be123c;
}

/* ============================================================
   ✅ Orbit status pills (list + analytics)
   We override Bootstrap bg-* classes ONLY when the element
   is a newsletter pill, so we don’t affect the rest of the app.
   ============================================================ */

/* Table/list status pills */
.nl-list .status-pill.bg-primary,
.nl-list .status-pill.bg-info,
.nl-list .status-pill.bg-warning {
  background-color: var(--orbit-orange) !important;
  color: #ffffff !important;
}

/* (optional) ensure icon stays readable */
.nl-list .status-pill.bg-primary i,
.nl-list .status-pill.bg-info i,
.nl-list .status-pill.bg-warning i {
  color: #ffffff !important;
}

/* Analytics pills */
.nl-analytics .badge.pill.bg-primary,
.nl-analytics .badge.pill.bg-info,
.nl-analytics .badge.pill.bg-warning {
  background-color: var(--orbit-orange) !important;
  color: #ffffff !important;
}

.nl-analytics .badge.pill.bg-primary i,
.nl-analytics .badge.pill.bg-info i,
.nl-analytics .badge.pill.bg-warning i {
  color: #ffffff !important;
}
.packages-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.packages-title {
  font-size: 1.75rem;
  color: #3c727e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.btn-add-package {
  display: inline-block;
  margin-bottom: 1.5rem;
  background-color: #3c727e;
  border-color: #3c727e;
  color: white;
  padding: 0.75rem 1.5rem;
}
.btn-add-package:hover {
  background-color: #2e5b69;
  border-color: #2e5b69;
}

.modal-content {
  text-align: left; /* Override inherited text alignment */
  margin: 0 auto; /* Keep it centered within the modal dialog */
}

.package-list {
  padding: 0;
  list-style: none;
}

.package-item-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.package-item-card:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.package-info {
  max-width: 70%;
}
.package-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3c727e;
}

.btn-group-actions {
  display: flex;
  gap: 0.5rem;
}
.edit-package-btn,
.delete-package-btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.edit-package-btn {
  border-color: #3c727e;
  color: #3c727e;
}

.delete-package-btn {
  border-color: #f39e1d;
  color: #f39e1d;
}

.edit-package-btn:hover {
  background-color: #3c727e;
  color: white;
}

.delete-package-btn:hover {
  background-color: #f39e1d;
  color: white;
}

.package-modal-header {
  background-color: #6d8c91;
  color: white;
}
.package-modal-body {
  background-color: #f8f9fa;
  padding: 1.5rem;
  text-align: left; /* Prevent centering */
}
.package-modal-title {
  font-weight: bold;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Center Navbar Links */
  #custom-navbar .navbar-nav {
    text-align: center;
  }

  .package-item-card {
    flex-direction: column;
    text-align: center;
  }

  /* Full-Width Buttons */
  .btn-group-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-group-actions .btn {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .btn-add-package {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #3c727e;
    color: white;
  }
}

@media (max-width: 576px) {
  /* Padding Adjustment for Small Screens */
  .packages-container {
    padding: 1rem;
  }

  /* Adjusted Font Sizes for Small Screens */
  .package-name {
    font-size: 1rem;
  }

}

/* PACKAGES — force solid brand fills like Session Categories */
.package-item-card .btn-group-actions .btn.edit-package-btn {
  background-color: #3c727e !important;
  border-color: #3c727e !important;
  color: #fff !important;
  font-weight: 600;
}
.package-item-card .btn-group-actions .btn.edit-package-btn:hover {
  background-color: #2e5b69 !important;
  border-color: #2e5b69 !important;
  color: #fff !important;
}

.package-item-card .btn-group-actions .btn.delete-package-btn {
  background-color: #f39e1d !important;
  border-color: #f39e1d !important;
  color: #fff !important;
  font-weight: 600;
}
.package-item-card .btn-group-actions .btn.delete-package-btn:hover {
  background-color: #d68717 !important;
  border-color: #d68717 !important;
  color: #fff !important;
}
/* Password Reset Sent — matches Forgot Password / Sign In visuals */

/* Logo sizing (same as Sign In) */
.auth-page .centered-logo {
  width: clamp(96px, 18vw, 140px);
  height: auto;
}

/* Card shape & container queries */
.auth-card {
  border-radius: 2rem;
  overflow: hidden;
  container-type: inline-size;   /* enables container queries below */
  container-name: auth;
}
.auth-card .card-body {
  border-radius: inherit;
}

/* Page layout helpers (same rhythm as your forgot-password page) */
.auth-page {
  padding-block: 1.25rem;
}
@media (min-height: 640px) {
  .auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}

/* Container query-driven refinements (mirror your other auth pages) */
@container auth (max-width: 360px) {
  .auth-card .card-body { padding: 1rem 1.25rem; }
  .auth-card .btn { padding-block: .7rem; }
}
@container auth (min-width: 420px) {
  .auth-card .card-body { padding: 1.5rem 1.75rem; }
}
@container auth (min-width: 560px) {
  .auth-card .card-body { padding: 2rem 2.25rem; }
  .auth-card .card-title,
  .auth-card .h4,
  .auth-card h1 { font-size: 1.35rem; }
}

/* Comfortable control sizing on large screens */
@media (min-width: 992px) {
  .auth-card .btn {
    font-size: 1rem;
    padding-top: .6rem;
    padding-bottom: .6rem;
  }
}

/* Professional, neutral confirmation (not blue) */
.status-callout {
  background: #f8f9fa;           /* light neutral */
  border: 1px solid #e9ecef;     /* subtle border */
  color: #343a40;                /* readable neutral text */
  border-radius: .75rem;
  padding: 1rem 1.125rem;
  line-height: 1.5;
  font-size: 1rem;
}

/* Button polish */
.d-grid .btn {
  border-radius: .75rem;
}

/* Subtle link styling for the “Try a different email” link */
.link-secondary {
  color: #6c757d;
  text-decoration: none;
}
.link-secondary:hover,
.link-secondary:focus {
  color: #5a636b;
  text-decoration: underline;
}

/* Optional: lists look tidy inside the small helper block */
.text-muted.small ul {
  margin: 0;
  padding-left: 1.1rem; /* modest indent for bullets if you ever switch from list-unstyled */
}
/* ===== Payment Settings (scoped) ===== */
.payment-settings {}

/* Header that holds the logo */
.payment-settings .provider-header{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f3f5;
  min-height: 0 !important;
  height: 64px;            /* cap header height on desktop */
  overflow: hidden;        /* prevent tall content from expanding */
}

/* 🔒 FORCE a fixed-width badge so global rules can't inflate it */
.payment-settings .provider-header img.brand{
  display: inline-block !important;
  width: 160px !important;      /* desktop cap */
  max-width: 160px !important;
  height: auto !important;      /* keep aspect ratio */
  object-fit: contain !important;
  line-height: 0;
}

/* Buttons */
.payment-settings .card-body .btn{ white-space: nowrap; }

/* Currency/Sales Tax tiny nicety */
.payment-settings #sales_tax_rate{ text-align: right; }

/* ===== Mobile only ===== */
@media (max-width: 576px){
  .payment-settings .provider-header{
    padding: 8px 10px;
    gap: 8px;
    height: 50px;          /* shorter header on phones */
  }
  /* Smaller badges on phones */
  .payment-settings .provider-header img.brand{
    width: 120px !important;     /* phone cap */
    max-width: 120px !important;
    height: auto !important;
  }
}

/* Ultra-narrow phones */
@media (max-width: 360px){
  .payment-settings .provider-header{
    height: 46px;          /* extra-compact on very small screens */
  }
  .payment-settings .provider-header img.brand{
    width: 100px !important;
    max-width: 100px !important;
  }
}
.booking-payment__layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .68fr); gap: 1.15rem; align-items: start; }
.booking-payment__main { display: grid; min-width: 0; gap: 1.15rem; }

.payment-addon-list { display: grid; }
.payment-addon-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .72rem 0; border-top: 1px solid #dbe5e6; }
.payment-addon-list span { color: #53666c; font-size: var(--booking-text-body, 1rem); }
.payment-addon-list strong { color: #17272c; font-size: var(--booking-text-body, 1rem); white-space: nowrap; }
.payment-addon-list__total { margin-top: .1rem; font-weight: 850; }

.payment-tip-panel .booking-panel__heading h2 small { margin-left: .28rem; padding: .2rem .4rem; border-radius: 999px; color: #65777d; background: #edf1f1; font-size: var(--booking-text-caption, .8125rem); font-weight: 800; vertical-align: .1rem; }
.payment-tip-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; }
.payment-tip-options button { min-height: 46px; margin: 0; padding: .6rem .45rem; border: 1px solid #bdccce; border-radius: 10px; color: #35565d; background: #fff; font: inherit; font-size: var(--booking-text-small, .875rem); font-weight: 800; cursor: pointer; transition: border-color .14s ease, color .14s ease, background-color .14s ease, box-shadow .14s ease; }
.payment-tip-options button:hover { border-color: #3c727e; }
.payment-tip-options button.active { border-color: #3c727e; color: #fff; background: #3c727e; box-shadow: 0 5px 14px rgba(40, 87, 98, .15); }
.payment-tip-options button:focus-visible { outline: 3px solid rgba(60, 114, 126, .22); outline-offset: 2px; }
.payment-tip-other { margin-top: .75rem; }
.payment-tip-other label { display: block; margin-bottom: .38rem; color: #4a5e64; font-size: var(--booking-text-small, .875rem); font-weight: 800; }
.payment-tip-other input { display: block; width: 100%; min-height: 50px; padding: .75rem .85rem; border: 1px solid #cfdadc; border-radius: 11px; color: #17272c; background: #fff; font: inherit; font-size: var(--booking-text-body, 1rem); }
.payment-tip-other input:focus { border-color: #3c727e; outline: 0; box-shadow: 0 0 0 3px rgba(60, 114, 126, .14); }

.payment-gift-panel__topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.payment-gift-panel__topline h2 { margin: 0; color: #17272c; font-size: var(--booking-text-heading, 1.125rem); font-weight: 850; }
.payment-gift-panel__topline p { margin: .18rem 0 0; color: #68797e; font-size: var(--booking-text-small, .875rem); line-height: 1.45; }
.gcapply-trigger { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: .55rem .8rem; border: 1px solid #b7c9cc; border-radius: 10px; color: #285762; background: #fff; font: inherit; font-size: var(--booking-text-small, .875rem); font-weight: 800; cursor: pointer; white-space: nowrap; }
.gcapply-trigger:hover { border-color: #3c727e; background: #f1f7f7; }
.payment-gift-entry { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid #dbe5e6; }
.payment-gift-entry > label { display: block; margin-bottom: .38rem; color: #4a5e64; font-size: var(--booking-text-small, .875rem); font-weight: 800; }
.payment-gift-entry > div:first-of-type { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.payment-gift-entry input { min-width: 0; min-height: 48px; padding: .7rem .8rem; border: 1px solid #cfdadc; border-right: 0; border-radius: 10px 0 0 10px; color: #17272c; font: inherit; font-size: var(--booking-text-body, 1rem); text-transform: uppercase; }
.payment-gift-entry input:focus { position: relative; z-index: 1; border-color: #3c727e; outline: 0; box-shadow: 0 0 0 3px rgba(60, 114, 126, .14); }
.payment-gift-entry > div:first-of-type button { min-height: 48px; padding: .7rem .9rem; border: 1px solid #3c727e; border-radius: 0 10px 10px 0; color: #fff; background: #3c727e; font: inherit; font-size: var(--booking-text-small, .875rem); font-weight: 800; cursor: pointer; }
.payment-gift-message { margin-top: .65rem; padding: .75rem .8rem; border: 1px solid; border-radius: 11px; font-size: var(--booking-text-small, .875rem); line-height: 1.45; }
.payment-gift-message.is-error { display: none; border-color: #efc8cb; color: #872d36; background: #fff4f5; }
.payment-gift-message.is-success { border-color: #d2e7e0; color: #285f51; background: #eff8f5; }
.payment-gift-message.is-success > div { display: flex; justify-content: space-between; gap: .7rem; }
.payment-gift-message.is-success small { display: block; margin-top: .25rem; color: #617a73; }

.payment-checkout-card { position: sticky; top: 1rem; overflow: hidden; padding: 1.25rem; border: 1px solid #dbe5e6; border-radius: 20px; background: rgba(255, 255, 255, .98); box-shadow: 0 14px 38px rgba(28, 61, 68, .075); }
.payment-checkout-card__heading { padding-bottom: 1rem; border-bottom: 1px solid #dbe5e6; }
.payment-checkout-card__heading > span { display: block; margin-bottom: .3rem; color: #3c727e; font-size: var(--booking-text-caption, .8125rem); font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.payment-checkout-card__heading h2 { margin: 0; color: #17272c; font-size: var(--booking-text-heading, 1.125rem); font-weight: 850; }
.payment-breakdown { display: grid; gap: .72rem; padding: 1rem 0; }
.payment-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.payment-breakdown span { color: #68797e; font-size: var(--booking-text-small, .875rem); }
.payment-breakdown strong { color: #17272c; font-size: var(--booking-text-small, .875rem); white-space: nowrap; }
.payment-breakdown .is-credit strong { color: #28705d; }
.payment-breakdown .is-note { align-items: flex-start; flex-direction: column; gap: .15rem; padding: .65rem .7rem; border-radius: 10px; background: #f4f7f7; }
.payment-breakdown .is-note strong { color: #3f555b; }
.payment-breakdown .is-note small { color: #66787d; font-size: var(--booking-text-caption, .8125rem); line-height: 1.4; }
.payment-checkout-card__total { padding: 1rem 0; border-top: 1px solid #dbe5e6; text-align: right; }
.payment-checkout-card__total span,
.payment-checkout-card__total strong,
.payment-checkout-card__total small { display: block; }
.payment-checkout-card__total span { margin-bottom: .2rem; color: #53666c; font-size: var(--booking-text-small, .875rem); font-weight: 800; }
.payment-checkout-card__total strong { color: #285762; font-size: 1.55rem; font-weight: 900; letter-spacing: -.03em; }
.payment-checkout-card__total small { margin-top: .16rem; color: #6d7e83; font-size: var(--booking-text-caption, .8125rem); }

.payment-methods { display: grid; gap: .65rem; padding-top: .2rem; }
.payment-methods form { margin: 0; }
.payment-provider-button,
.payment-book-now { display: flex; width: 100%; min-height: 49px; align-items: center; justify-content: center; gap: .5rem; margin: 0; padding: .7rem .9rem; border-radius: 12px; font: inherit; cursor: pointer; transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease, transform .14s ease; }
.payment-provider-button--stripe { border: 1px solid #d2dcde; color: #29383d; background: #fff; font-size: var(--booking-text-small, .875rem); font-weight: 750; }
.payment-provider-button--stripe:hover { border-color: #aebfc2; box-shadow: 0 7px 18px rgba(28, 61, 68, .09); transform: translateY(-1px); }
.payment-provider-button--stripe .stripe-logo { display: block; width: auto; height: 18px; }
.payment-book-now { border: 0; color: #fff; background: #3c727e; font-size: var(--booking-text-body, 1rem); font-weight: 850; }
.payment-book-now:hover { background: #285762; }
.payment-method-divider { display: flex; align-items: center; gap: .5rem; color: #74858a; font-size: var(--booking-text-caption, .8125rem); text-transform: uppercase; }
.payment-method-divider::before,
.payment-method-divider::after { height: 1px; flex: 1 1 auto; background: #e0e7e8; content: ""; }
.paypal-button-container { width: 100%; min-height: 42px; }
.payment-zero-due { display: flex; align-items: center; flex-direction: column; padding: .8rem; border: 1px solid #d2e7e0; border-radius: 12px; color: #285f51; background: #eff8f5; text-align: center; }
.payment-zero-due i { margin-bottom: .3rem; font-size: 1.05rem; }
.payment-zero-due strong,
.payment-zero-due span { display: block; }
.payment-zero-due strong { font-size: var(--booking-text-body, 1rem); }
.payment-zero-due span { margin-top: .12rem; color: #617a73; font-size: var(--booking-text-small, .875rem); }
.payment-methods__unavailable { margin: 0; padding: .85rem; border-radius: 11px; color: #765719; background: #fff8e8; font-size: var(--booking-text-small, .875rem); line-height: 1.5; text-align: center; }
.payment-checkout-card__security { display: flex; align-items: flex-start; justify-content: center; gap: .35rem; margin: .75rem 0 0; color: #66787d; font-size: var(--booking-text-caption, .8125rem); line-height: 1.45; text-align: center; }
.payment-checkout-card__security i { flex: 0 0 auto; color: #3c727e; }

@media (max-width: 900px) {
  .booking-payment__layout { grid-template-columns: 1fr; }
  .payment-checkout-card { position: static; }
}

@media (max-width: 600px) {
  .payment-tip-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .payment-tip-options button { min-height: 44px; }
  .payment-gift-panel__topline { align-items: flex-start; flex-direction: column; }
  .gcapply-trigger { width: 100%; min-height: 44px; }
  .payment-checkout-card { border-radius: 17px; }
}

@media (max-width: 390px) {
  .payment-tip-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-gift-entry > div:first-of-type { grid-template-columns: 1fr; gap: .45rem; }
  .payment-gift-entry input { min-height: 48px; border: 1px solid #cfdadc; border-radius: 10px; font-size: 16px; }
  .payment-gift-entry > div:first-of-type button { min-height: 46px; border-radius: 10px; }
  .payment-provider-button,
  .payment-book-now { min-height: 52px; }
}
/* ============================
   Download Status (brand UI)
   ============================ */
:root {
  --brand-color: #3c727e; /* already in your file */
}

/* Page + title */
.download-status-page { font-family: var(--gallery-font, Arial); }
.download-status-page .ds-title {
  font-family: var(--gallery-font, Arial);
  font-weight: 600;
  letter-spacing: .01em;
  color: #111827;
  /* Smaller, responsive, balanced with cards/buttons */
  font-size: clamp(1.125rem, 2.2vw, 1.6rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

/* Header logo area (above title) */
.public-view-header-logo {
  font-family: var(--gallery-font, Arial);
}
.public-view-header-logo__img {
  max-height: 48px;               /* tidy size */
  width: auto;
  object-fit: contain;
  /*filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.2));*/
}

/* Card shell */
.status-card {
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: #111827;
  margin: 0 auto;
}

/* Top accent by state */
.status-card--processing { border-top: 4px solid var(--brand-color); }
.status-card--success    { border-top: 4px solid var(--brand-color); }
.status-card--error      { border-top: 4px solid #dc3545; }

/* Icon chip */
.status-icon {
  width: 56px; height: 56px;
  margin: 0 auto .75rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-color) 14%, transparent);
  color: var(--brand-color);
  font-size: 26px;
}
.status-icon--success { background: color-mix(in srgb, var(--brand-color) 18%, transparent); }
.status-icon--error   { background: rgba(220,53,69,.12); color: #dc3545; }

/* Text */
.status-lead {
  font-family: var(--gallery-font, Arial);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0;
}
.status-sub {
  font-size: .95rem;
  color: #6b7280;
  margin: 0;
}

/* Brand loader (spinner ring) */
@keyframes ds-spin { to { transform: rotate(360deg); } }
.brand-loader {
  width: 38px; height: 38px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--brand-color) 22%, transparent);
  border-top-color: var(--brand-color);
  animation: ds-spin 900ms linear infinite;
}

/* Buttons */
.brand-btn {
  font-family: var(--gallery-font, Arial);
  display: inline-flex; align-items: center; justify-content: center;
  gap: .35rem;
  border-radius: 9999px;
  padding: .6rem 1rem;           /* slightly tighter */
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .06s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  font-size: .98rem;
}

.brand-btn--primary {
  color: #fff !important;
  background: linear-gradient(180deg,
              color-mix(in srgb, var(--brand-color) 92%, #ffffff 8%),
              var(--brand-color));
  border-color: color-mix(in srgb, var(--brand-color) 85%, #000 15%);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-color) 28%, transparent),
              inset 0 1px rgba(255,255,255,.25);
}
.brand-btn--primary:hover,
.brand-btn--primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand-color) 32%, transparent),
              inset 0 1px rgba(255,255,255,.3);
}

.brand-btn--ghost {
  color: var(--brand-color);
  background: #fff;
  border-color: color-mix(in srgb, var(--brand-color) 35%, #000 0%);
}
.brand-btn--ghost:hover,
.brand-btn--ghost:focus {
  background: color-mix(in srgb, var(--brand-color) 6%, #fff);
}

/* Brand link */
.brand-link {
  color: var(--brand-color);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-color) 40%, transparent);
}
.brand-link:hover { border-bottom-color: currentColor; }
.photo-sessions-index-page,
.photo-sessions-index-page body {
  min-height: 100%;
  background: #f5f7f7;
}

.photo-sessions-index {
  --sessions-ink: #1c2a2f;
  --sessions-muted: #6b7b80;
  --sessions-brand: #3c727e;
  --sessions-brand-dark: #285762;
  --sessions-accent: #ed9517;
  --sessions-line: #dce4e5;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.6rem) 0 3.5rem;
  color: var(--sessions-ink);
}

.photo-sessions-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid var(--sessions-line);
}
.photo-sessions-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -.035em; }
.photo-sessions-hero__copy p { margin: .5rem 0 0; color: var(--sessions-muted); font-size: .9rem; }
.photo-sessions-hero__actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; }
.photo-sessions-hero__actions turbo-frame { display: inline-flex; }

.sessions-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 39px;
  padding: .55rem .78rem;
  border: 1px solid var(--sessions-line);
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
.sessions-action--primary { border-color: var(--sessions-brand); color: #fff; background: var(--sessions-brand); }
.sessions-action--primary:hover { border-color: var(--sessions-brand-dark); color: #fff; background: var(--sessions-brand-dark); }
.sessions-action--secondary { color: #51656b; background: #fff; }
.sessions-action--secondary:hover { border-color: #b5c8cb; color: var(--sessions-brand-dark); background: #f8fafa; }
.sessions-action.is-disabled { opacity: .5; pointer-events: none; }

.photo-session-filters {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--sessions-line);
  border-radius: 14px;
  background: #fff;
}
.photo-session-search { display: flex; align-items: center; min-height: 43px; padding-left: .8rem; border: 1px solid #d2dcde; border-radius: 10px; background: #fafbfb; }
.photo-session-search:focus-within { border-color: rgba(60,114,126,.6); background: #fff; box-shadow: 0 0 0 3px rgba(60,114,126,.1); }
.photo-session-search > i { color: var(--sessions-brand); font-size: .85rem; }
.photo-session-search input { width: 100%; min-width: 0; padding: .6rem .65rem; border: 0; outline: 0; color: var(--sessions-ink); background: transparent; font: inherit; font-size: .875rem; }
.photo-session-search input::placeholder { color: #98a4a8; }
.photo-session-search button { align-self: stretch; padding: 0 .8rem; border: 0; border-left: 1px solid #e2e8e9; color: var(--sessions-muted); background: transparent; font: inherit; font-size: .75rem; font-weight: 750; cursor: pointer; }
.photo-session-search button:hover { color: var(--sessions-brand-dark); background: #f3f7f7; }

.photo-session-filter-groups { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .85rem 1.5rem; margin-top: .8rem; }
.photo-session-filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.photo-session-filter-group legend { float: left; width: auto; margin: .52rem .65rem 0 0; color: #53686e; font-family: "Open Sans", "Segoe UI", Arial, sans-serif; font-size: .78rem; font-weight: 650; letter-spacing: 0; }
.photo-session-filter-group legend small { display: none; }
.photo-session-filter-group > div { display: flex; flex-wrap: wrap; gap: .35rem; }
.session-filter-chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 34px; margin: 0; padding: .42rem .62rem; border: 1px solid #d8e1e2; border-radius: 8px; color: #566b71; background: #fff; font-family: "Open Sans", "Segoe UI", Arial, sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: 0; cursor: pointer; }
.session-filter-chip:hover { border-color: #b9cbce; color: var(--sessions-brand-dark); }
.photo-session-filter-group .btn-check:checked + .session-filter-chip { border-color: #9bb7bc; color: var(--sessions-brand-dark); background: #eaf2f3; }
.photo-session-filter-group .btn-check:checked + .session-filter-chip--paid { border-color: #b5d3c7; color: #2f6654; background: #eaf5f0; }
.photo-session-filter-group .btn-check:checked + .session-filter-chip--deposit { border-color: #dec99f; color: #8b621e; background: #fbf5e9; }
.photo-session-filter-group .btn-check:checked + .session-filter-chip--unpaid { border-color: #dec0c0; color: #8d4848; background: #fbefef; }
.photo-session-filter-group .btn-check:focus-visible + .session-filter-chip { box-shadow: 0 0 0 3px rgba(60,114,126,.15); }

#sessions_results { display: block; }
.session-collections { display: grid; gap: 1.7rem; margin-top: 1.55rem; }
.session-collection { min-width: 0; }
.session-collection__header { margin-bottom: .65rem; }
.session-collection__title-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.session-collection__title-row h2 { margin: 0; font-size: 1rem; font-weight: 850; }
.session-collection__title-row > span { flex: 0 0 auto; color: var(--sessions-muted); font-size: .75rem; font-weight: 700; }
.session-collection__title-row b { color: var(--sessions-brand-dark); }

.session-card-grid { display: grid; grid-template-columns: 1fr; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.photo-session-card { min-width: 0; border: 1px solid var(--sessions-line); border-radius: 11px; background: #fff; transition: border-color .14s ease, box-shadow .14s ease; }
.photo-session-card:hover { border-color: #b7cacc; box-shadow: 0 6px 16px rgba(28,61,68,.065); }
.photo-session-card__link,
.photo-session-card__link:visited { display: block; color: inherit; text-decoration: none; }
.photo-session-card__link:hover,
.photo-session-card__link:focus { color: inherit; text-decoration: none; }
.photo-session-card__content { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(190px, .9fr) minmax(250px, 1.25fr); align-items: center; gap: .8rem 1rem; min-height: 76px; padding: .75rem .85rem; }
.photo-session-card__heading { display: flex; align-items: center; justify-content: space-between; gap: .65rem; min-width: 0; }
.photo-session-card__heading > div { min-width: 0; }
.photo-session-card h3 { overflow: hidden; margin: 0; color: var(--sessions-ink); font-size: .9rem; font-weight: 800; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.photo-session-card__arrow { display: grid; flex: 0 0 auto; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: #84999e; background: #f1f5f5; font-size: .72rem; }
.photo-session-card:hover .photo-session-card__arrow { color: var(--sessions-brand-dark); background: #e8f1f2; }
.photo-session-card__badges { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.photo-session-card__status,
.photo-session-card__category {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: .34rem .55rem;
  border-radius: 7px;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.photo-session-card__status { gap: .28rem; color: #326551; background: #e9f3ef; }
.photo-session-card__status > i { width: 5px; height: 5px; border-radius: 50%; background: #43866c; }
.photo-session-card__category { overflow: hidden; color: #64757a; background: #eff3f3; text-overflow: ellipsis; white-space: nowrap; }
.photo-session-card__meta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .35rem .8rem; color: var(--sessions-muted); font-size: .78rem; }
.photo-session-card__meta span { display: inline-flex; align-items: center; min-width: 0; gap: .28rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-session-card__meta i { flex: 0 0 auto; color: #859ba0; }

.session-collection-empty { display: flex; min-height: 120px; align-items: center; justify-content: center; flex-direction: column; padding: 1.25rem; border: 1px dashed #ccd8da; border-radius: 11px; color: var(--sessions-muted); background: #fafbfb; text-align: center; }
.session-collection-empty > i { margin-bottom: .45rem; color: #91a7ac; font-size: 1.15rem; }
.session-collection-empty strong { color: var(--sessions-ink); font-size: .875rem; }
.session-collection-empty span { margin-top: .15rem; font-size: .8rem; }

@media (max-width: 860px) {
  .photo-session-card__content { grid-template-columns: minmax(0, 1fr) auto; }
  .photo-session-card__badges { justify-content: flex-end; }
  .photo-session-card__meta { grid-column: 1 / -1; justify-content: flex-start; padding-top: .45rem; border-top: 1px solid #edf1f1; }
}

@media (max-width: 640px) {
  .photo-sessions-index { width: min(100% - 1rem, 1120px); padding-top: .85rem; }
  .photo-sessions-hero { align-items: flex-start; flex-direction: column; }
  .photo-sessions-hero__actions,
  .photo-sessions-hero__actions > *,
  .photo-sessions-hero__actions turbo-frame { width: 100%; }
  .photo-sessions-hero__actions .sessions-action { width: 100%; }
  .photo-session-filter-groups { display: grid; grid-template-columns: 1fr; }
  .photo-session-filter-group legend { float: none; margin: 0 0 .4rem; }
  .photo-session-filter-group > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .session-filter-chip { justify-content: center; width: 100%; min-height: 38px; font-size: .78rem; }
  .photo-session-card__content { display: flex; align-items: stretch; min-height: 0; padding: .85rem; flex-direction: column; gap: .65rem; }
  .photo-session-card__heading { width: 100%; }
  .photo-session-card h3 { overflow: visible; font-size: .94rem; line-height: 1.35; text-overflow: clip; white-space: normal; }
  .photo-session-card__badges { justify-content: flex-start; }
  .photo-session-card__status,
  .photo-session-card__category { min-height: 30px; font-size: .75rem; }
  .photo-session-card__meta { justify-content: flex-start; padding-top: .6rem; border-top: 1px solid #edf1f1; font-size: .8rem; }
}

@media (max-width: 420px) {
  .photo-session-search input { font-size: .875rem; }
  .photo-session-filter-group > div { grid-template-columns: 1fr; }
  .session-collection__title-row { align-items: flex-start; }
  .photo-session-card__meta { align-items: flex-start; flex-direction: column; gap: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-sessions-index * { scroll-behavior: auto !important; transition: none !important; }
}
/* app/assets/stylesheets/photo-sessions-show.css */

/* ===== Brand ===== */
:root {
  --brand-primary: #3c727e;

  /* V2 polish tokens */
  --ps-surface: var(--bs-body-bg, #fff);
  --ps-border: rgba(15, 23, 42, .10);         /* slate-ish */
  --ps-border-strong: rgba(15, 23, 42, .16);
  --ps-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 1px rgba(15, 23, 42, .04);
  --ps-shadow-md: 0 10px 26px rgba(15, 23, 42, .10);

  /* ✅ Brand selection + focus (replaces Bootstrap blue) */
  --ps-brand-rgb: 60, 114, 126;               /* rgb of #3c727e */
  --ps-ring: 0 0 0 .2rem rgba(var(--ps-brand-rgb), .22);
  --ps-open-border: rgba(var(--ps-brand-rgb), .55);
  --ps-open-bg: rgba(var(--ps-brand-rgb), .06);
  --ps-open-shadow: 0 12px 30px rgba(var(--ps-brand-rgb), .16);
}

/* Brand-colored session status pill (top-of-page) */
.badge-status {
  background-color: var(--brand-primary) !important;
  color: #fff !important;
}

/* Subtle polish */
.card.border-0.shadow-sm { border-radius: .75rem; }
.sun-icon { width: 18px; height: 18px; vertical-align: text-bottom; opacity: .9; }

/* ===== Timeslot status chips — single source of truth ===== */

/* Base badge look */
.badge.rounded-pill.timeslot-badge,
.badge.rounded-pill[data-timeslot-badge] {
  padding: .26rem .62rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .01em;
  border: 0;
  font-size: .74rem;
}

/* ---------- BOOKED ---------- */
.badge.rounded-pill.timeslot-badge[data-status="booked"],
.badge.rounded-pill[data-timeslot-badge][data-status="booked"],
.badge.rounded-pill.text-bg-danger,
.badge.rounded-pill.bg-danger,
.badge.rounded-pill.badge-danger,
.badge.rounded-pill.bg-danger-subtle {
  background-color: #f8d7da !important;
  color: #842029 !important;
}

/* ---------- BOOKING IN PROGRESS ---------- */
.badge.rounded-pill.timeslot-badge[data-status="booking_in_progress"],
.badge.rounded-pill[data-timeslot-badge][data-status="booking_in_progress"],
.badge.rounded-pill.text-bg-warning,
.badge.rounded-pill.bg-warning,
.badge.rounded-pill.badge-warning,
.badge.rounded-pill.bg-warning-subtle {
  background-color: #fff3cd !important;
  color: #664d03 !important;
}

/* ---------- AVAILABLE ---------- */
.badge.rounded-pill.timeslot-badge[data-status="available"],
.badge.rounded-pill[data-timeslot-badge][data-status="available"],
.badge.rounded-pill.text-bg-success,
.badge.rounded-pill.bg-success,
.badge.rounded-pill.badge-success,
.badge.rounded-pill.bg-success-subtle {
  background-color: #d1e7dd !important;
  color: #0f5132 !important;
}

/* Normalize legacy "text-dark" that might be added alongside warning */
.badge.rounded-pill.text-dark { color: inherit !important; }

/* ===================================================================== */
/* Sessiondate + Timeslots (V2 polish)                                    */
/* ===================================================================== */

.timeslots-label,
.small.text-muted.mb-1 {
  color: rgba(15, 23, 42, .68);
  font-weight: 600;
  letter-spacing: .01em;
}

.small.text-muted.mb-1 {
  margin-bottom: .35rem !important;
}

/* ===================================================================== */
/* Mini Session Timeslots (V2 UI)                                         */
/* ===================================================================== */

.timeslot-row-v2 {
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--ps-surface);
  box-shadow: var(--ps-shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease, background-color .18s ease;
  cursor: pointer;
  user-select: none;
}

/* Hover polish (desktop) */
.timeslot-row-v2:hover {
  border-color: var(--ps-border-strong);
  box-shadow: var(--ps-shadow-md);
  transform: translateY(-1px);
}

/* ✅ Open/selected state (brand) */
.timeslot-row-v2.is-open {
  border-color: var(--ps-open-border);
  background-color: var(--ps-open-bg);
  box-shadow: var(--ps-open-shadow), var(--ps-shadow-sm);
}

/* ✅ Keyboard accessibility (brand ring) */
.timeslot-row-v2:focus-visible {
  outline: none;
  box-shadow: var(--ps-shadow-sm), var(--ps-ring);
}

/* Caret indicator */
.timeslot-row-caret::before {
  content: "›";
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform .15s ease, opacity .15s ease;
  opacity: .55;
}

.timeslot-row-v2.is-open .timeslot-row-caret::before {
  transform: rotate(-90deg);
  opacity: .8;
}

/* Action area separation */
.timeslot-row-actions {
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.timeslot-row-actions .btn { border-radius: 10px; }

.timeslot-row-v2 .fw-semibold {
  font-weight: 700 !important;
  letter-spacing: .01em;
}

/* Locked */
.timeslot-row-v2.is-locked,
.timeslot-row-v2[aria-disabled="true"] {
  pointer-events: none;
  opacity: .82;
  filter: grayscale(35%) brightness(.98);
}

/* ===================================================================== */
/* Mini Session Timeslots - left aligned layout                           */
/* ===================================================================== */

.timeslots-root {
  display: block;
  padding-left: 0;
  margin: 0;
}

.timeslots-root .timeslot-row-v2 {
  width: 100%;
  max-width: 680px;
  margin-left: 0;
  margin-right: auto;
}

.timeslots-root { text-align: left; }

.timeslots-root .timeslot-row-v2 + .timeslot-row-v2 {
  margin-top: 8px;
}

/* ===================================================================== */
/* Responsive tuning                                                     */
/* ===================================================================== */

@media (max-width: 576px) {
  .timeslot-row-v2 {
    padding: 10px 12px;
    border-radius: 14px;
  }
  .timeslot-row-v2:hover {
    transform: none;
    box-shadow: var(--ps-shadow-sm);
  }
  .timeslot-row-caret::before { font-size: 19px; }

  .timeslots-root .timeslot-row-v2 { max-width: none; }
}

/* Ultra-mobile responsiveness */
@media (max-width: 576px) {
  .container { padding-left: .75rem; padding-right: .75rem; }
  .card-body { padding: 1rem; }
  .list-group-item { padding: .75rem .75rem; }
  .sun-icon { width: 16px; height: 16px; }
  .h3 { font-size: 1.25rem; }
  .btn-sm { padding: .25rem .5rem; font-size: .825rem; }
  .fw-semibold { font-weight: 600; }
  .small.text-muted { font-size: .85rem; }
}

/* Brand badge helpers */
.badge-brand {
  background-color: var(--brand-primary) !important;
  color: #fff !important;
}
.badge-brand-subtle {
  background-color: rgba(60, 114, 126, .12) !important;
  color: var(--brand-primary) !important;
  border: 1px solid rgba(60, 114, 126, .28) !important;
}

/* Center the Edit/Delete/Archive row on phones when it wraps below the title */
@media (max-width: 576px) {
  .session-summary-header {
    justify-content: flex-start !important;
    gap: .5rem 1rem;
  }

  .session-summary-header .session-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: .25rem;
  }
}

/* Inline grid of attached/staged thumbs (same size as placeholder) */
.ps-thumb-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-thumb,
.photo-tile {
  position: relative;
  width: var(--ps-thumb-w, 180px);
  aspect-ratio: var(--ps-thumb-ratio, 4/5);
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.ps-thumb img,
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Controls */
.ps-thumb-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.95);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ps-thumb-choose {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.95);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.photo-tile.is-thumb {
  outline: 3px solid #0d6efd;
  outline-offset: -3px;
}

/* Processing placeholder */
.ps-processing-surface {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.02) 0px,
    rgba(0,0,0,0.02) 10px,
    transparent 10px,
    transparent 20px
  );
  border: 1px dashed #cbd5e1;
}

.ps-processing-label {
  font-weight: 600;
  color: #6b7280;
  animation: psPulse 1.4s ease-in-out infinite;
}

@keyframes psPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

/* Proper z-index stacking for nested modals (child above parent) */
.modal.modal-child { z-index: 1060; }

/* Send Session modal status line */
#sendSessionModal .session-status {
  font-size: .95rem;
  font-weight: 600;
}
#sendSessionModal .session-status.ok { color: #198754; }
#sendSessionModal .session-status.err { color: #dc3545; }

/* ===================================================================== */
/* Waitlist modal: full-viewport on phones                                */
/* ===================================================================== */

#waitlistModal .modal-dialog-scrollable .modal-body{
  max-height: none !important;
  overflow: auto !important;
}

@media (max-width: 576px) {
  #waitlistModal .modal-dialog{
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    height: 100%;
  }
  #waitlistModal .modal-dialog.modal-dialog-scrollable{ height: 100%; }

  #waitlistModal .modal-content{
    height: 100%;
    border-radius: 0.75rem 0.75rem 0 0;
    display: flex;
    flex-direction: column;
  }

  #waitlistModal .modal-header{
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--bs-body-bg);
  }

  #waitlistModal .modal-body{
    flex: 1 1 auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    max-height: none !important;
    padding-bottom: .5rem;
  }
}

@media (max-width: 576px) {
  #waitlistModal .waitlist-modal-dialog {
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }
  #waitlistModal .modal-content { border-radius: 0.75rem; }
}

/* Select tiles */
.select-tile {
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: .75rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  cursor: pointer;
  background: var(--bs-body-bg, #fff);
}

.select-tile .tile-body {
  display: block;
  padding: .6rem .75rem;
  height: 100%;
}

.select-tile .tile-title {
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.1;
}

.select-tile .badge { font-size: .7rem; }

.select-tile .tile-caption {
  font-size: .75rem;
  margin-top: .25rem;
  line-height: 1.1;
}

/* ✅ brand instead of bootstrap blue */
.select-tile:has(input[type="checkbox"]:checked) {
  border-color: rgba(var(--ps-brand-rgb), .70);
  background: rgba(var(--ps-brand-rgb), .05);
  box-shadow: 0 0 0 .15rem rgba(var(--ps-brand-rgb), .18);
}
.select-tile.is-selected {
  border-color: rgba(var(--ps-brand-rgb), .70);
  background: rgba(var(--ps-brand-rgb), .05);
  box-shadow: 0 0 0 .15rem rgba(var(--ps-brand-rgb), .18);
}

.select-tile.is-disabled { opacity: .6; }

.select-tile input[type="checkbox"]:focus-visible + .tile-body {
  outline: 3px solid rgba(var(--ps-brand-rgb), .30);
  outline-offset: 2px;
}

/* Hide native checkbox but keep accessibility */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

/* Ensure the header card can "escape" and sit above following cards */
.session-summary-card,
.session-summary-card > .card-body {
  position: relative;
  overflow: visible !important;
}

#customer-selection-field .inline-client-group > .btn { white-space: nowrap; }
#customer-selection-field .inline-client-create-btn {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding-inline: .75rem;
}
#customer-selection-field .inline-client-create-btn .plus {
  font-weight: 700;
  line-height: 1;
}

/* ===================================================================== */
/* Session workspace                                                     */
/* ===================================================================== */

.photo-session-show-page body {
  background: #f6f8f9;
  color: #243138;
}

.photo-session-show-page .photo-session-workspace {
  width: min(100% - 2rem, 1120px);
  max-width: 1120px;
  margin: 1.5rem auto 3.5rem;
  padding: 0;
}

.photo-session-show-page .photo-session-back-row {
  margin-bottom: .75rem;
}

.photo-session-show-page .photo-session-back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #52666d;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  padding: .45rem .15rem;
}

.photo-session-show-page .photo-session-back-link::before {
  content: "\2190";
  font-size: 1rem;
  transition: transform .15s ease;
}

.photo-session-show-page .photo-session-back-link:hover {
  color: var(--brand-primary);
}

.photo-session-show-page .photo-session-back-link:hover::before {
  transform: translateX(-2px);
}

.photo-session-show-page .session-overview-panel,
.photo-session-show-page .session-metrics-panel,
.photo-session-show-page .session-description-panel,
.photo-session-show-page .session-detail-panel,
.photo-session-show-page .session-documents-panel,
.photo-session-show-page .session-packages-panel,
.photo-session-show-page .session-waitlist-panel {
  border: 1px solid #e1e7e9 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(27, 48, 56, .055) !important;
  background: #fff;
}

.photo-session-show-page .session-summary-header {
  min-height: 96px;
  padding: 1.25rem 1.5rem;
}

.photo-session-show-page .session-overview-panel__identity {
  min-width: 0;
  flex: 1 1 280px;
}

.photo-session-show-page .session-overview-panel__title {
  color: #243138;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.photo-session-show-page .session-panel-kicker {
  color: #718087;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.photo-session-show-page .badge-status,
.photo-session-show-page .session-overview-panel .badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
  padding: .34rem .65rem;
  text-rendering: geometricPrecision;
}

.photo-session-show-page .session-actions {
  flex: 0 1 auto;
}

.photo-session-show-page .session-actions .session-actions-menu {
  min-width: 240px;
}

.photo-session-show-page .session-actions .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.1;
  padding-inline: .75rem;
  text-align: center;
  vertical-align: middle;
}

.photo-session-show-page .session-actions .btn:not(.btn-orbit):not(.btn-danger) {
  background: #6f8d93 !important;
  border-color: #6f8d93 !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(37, 62, 70, .14);
}

.photo-session-show-page .session-actions .btn:not(.btn-orbit):not(.btn-danger):hover {
  background: #5d7b82 !important;
  border-color: #5d7b82 !important;
  color: #fff !important;
}

.photo-session-show-page .session-actions .btn-orbit,
.photo-session-show-page .session-actions .btn-danger {
  box-shadow: 0 3px 8px rgba(91, 64, 20, .14);
}

/* Compact metrics without the oversized dashboard treatment. */
.photo-session-show-page .session-metrics-panel .card-body {
  padding: .65rem;
}

.photo-session-show-page .mmx {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.photo-session-show-page .mmx .tile {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 102px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .8rem 1rem;
  text-align: center;
}

.photo-session-show-page .mmx .tile + .tile {
  border-left: 1px solid #e6ebed;
}

.photo-session-show-page .mmx .title {
  color: #718087 !important;
  font-size: .68rem;
  font-weight: 750 !important;
  letter-spacing: .1em;
}

.photo-session-show-page .mmx .display-6,
.photo-session-show-page .mmx .h3 {
  color: #26373d;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.photo-session-show-page .mmx .money {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: center;
  gap: .22rem .75rem;
  margin-top: .15rem;
  text-align: left;
}

.photo-session-show-page .mmx .money .label {
  color: #718087 !important;
  font-size: .82rem;
}

.photo-session-show-page .mmx .money .amt {
  color: #26373d;
  font-size: .95rem;
  white-space: nowrap;
}

.photo-session-show-page .mmx .btn {
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 650;
}

.photo-session-show-page .session-description-panel .card-body {
  padding: 1.15rem 1.35rem;
}

.photo-session-show-page .session-description-panel .text-secondary {
  color: #5d6d73 !important;
  line-height: 1.65;
}

.photo-session-show-page .session-description-panel p:last-child {
  margin-bottom: 0;
}

.photo-session-show-page .session-panel-heading {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: .9rem 1.15rem;
  border-bottom: 1px solid #e6ebed;
  color: #2d4148;
  font-size: .92rem;
  font-weight: 700 !important;
}

.photo-session-show-page .session-detail-panel .card-body,
.photo-session-show-page .session-documents-panel .card-body,
.photo-session-show-page .session-packages-panel .card-body {
  padding: 1.15rem;
}

.photo-session-show-page .session-facts dt,
.photo-session-show-page .session-facts dd {
  margin-bottom: .85rem;
}

.photo-session-show-page .session-facts dt {
  color: #79878c !important;
  font-size: .68rem !important;
  font-weight: 750;
  letter-spacing: .075em;
}

.photo-session-show-page .session-facts dd {
  color: #26373d;
  line-height: 1.45;
}

.photo-session-show-page .session-facts dt:last-of-type,
.photo-session-show-page .session-facts dd:last-child {
  margin-bottom: 0;
}

.photo-session-show-page .session-detail-panel .btn,
.photo-session-show-page .session-document-card .btn,
.photo-session-show-page .session-package-card .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  border-color: #b9c9cd;
  border-radius: 8px;
  color: #3d6872;
  font-size: .73rem;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
  vertical-align: middle;
}

.photo-session-show-page .session-detail-panel .btn {
  background: #6f8d93 !important;
  border-color: #6f8d93 !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(37, 62, 70, .12);
}

.photo-session-show-page .session-detail-panel .btn:hover,
.photo-session-show-page .session-detail-panel .btn:focus-visible {
  background: #5d7b82 !important;
  border-color: #5d7b82 !important;
  color: #fff !important;
}

.photo-session-show-page .session-document-card,
.photo-session-show-page .session-package-card {
  border-color: #e1e7e9 !important;
  border-radius: 12px !important;
  background: #fbfcfc;
  box-shadow: none !important;
}

.photo-session-show-page .session-document-card h6,
.photo-session-show-page .session-package-card .card-title {
  color: #2b3d43;
  font-weight: 650;
}

.photo-session-show-page .session-document-card .badge,
.photo-session-show-page .session-facts .badge {
  font-size: .7rem;
  font-weight: 700;
  text-rendering: geometricPrecision;
}

.photo-session-show-page .session-package-card .card-body {
  padding: 1rem;
}

.photo-session-show-page .session-waitlist-panel .card-body {
  padding: .9rem 1.1rem;
}

.photo-session-show-page .session-waitlist-panel .form-check-label {
  color: #34494f;
  font-size: .88rem;
  font-weight: 650;
}

.photo-session-show-page .session-waitlist-panel .form-check-input:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* Dates read as one section rather than a detached heading and list. */
.photo-session-show-page .session-dates-panel {
  overflow: hidden;
  border: 1px solid #dfe6e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 48, 56, .055);
}

.photo-session-show-page .session-dates-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e4eaec;
  background: #fbfcfc;
}

.photo-session-show-page .session-dates-panel__title {
  color: #293d44;
  font-size: 1.03rem;
  font-weight: 700;
}

.photo-session-show-page .session-dates-panel__header .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
}

.photo-session-show-page .session-dates-panel__body {
  padding: 0;
}

.photo-session-show-page .session-dates-list {
  margin: 0;
}

.photo-session-show-page .sessiondate-entry {
  padding: 1.15rem 1.25rem;
  border: 0;
  background: #fff;
}

.photo-session-show-page .sessiondate-entry + .sessiondate-entry {
  border-top: 1px solid #e4eaec;
}

.photo-session-show-page .sessiondate-entry__header {
  padding-bottom: .25rem;
}

.photo-session-show-page .sessiondate-entry__date {
  color: #263a41;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.photo-session-show-page .sessiondate-entry__header .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 7px;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
}

.photo-session-show-page .timeslots-label {
  color: #748389;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.photo-session-show-page .timeslots-root .timeslot-row-v2 {
  max-width: 760px;
  border-color: #dfe6e8;
  border-radius: 10px;
  box-shadow: none;
}

.photo-session-show-page .timeslot-row-v2:hover {
  border-color: #b9c9cd;
  box-shadow: 0 5px 14px rgba(30, 55, 64, .07);
  transform: none;
}

.photo-session-show-page .timeslot-row-v2 .fw-semibold {
  color: #2c3d43;
  font-size: .88rem;
  font-weight: 650 !important;
}

.photo-session-show-page .timeslot-row-v2 .timeslot-badge {
  font-size: .72rem;
  text-rendering: geometricPrecision;
}

.photo-session-show-page .session-dates-empty {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.35rem 1.25rem;
}

.photo-session-show-page .session-dates-empty__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(var(--ps-brand-rgb), .1);
  color: var(--brand-primary);
}

.photo-session-show-page .package-details-modal .modal-content,
.photo-session-show-page .package-details-modal .modal-header {
  background: #fff !important;
}

@media (max-width: 767.98px) {
  .photo-session-show-page .photo-session-workspace {
    width: min(100% - 1.25rem, 1120px);
    margin-top: .8rem;
    margin-bottom: 2rem;
  }

  .photo-session-show-page .session-summary-header {
    min-height: 0;
    padding: 1.1rem;
  }

  .photo-session-show-page .session-summary-header .session-actions {
    width: auto;
    margin: 0 0 0 auto;
  }

  /* Keep the complete action list below its trigger. Popper previously flipped
     this menu above the button, which hid its first actions behind the mobile
     navigation bar. Static dropdown positioning is deliberate here. */
  .photo-session-show-page .session-actions .dropdown {
    position: relative;
  }

  .photo-session-show-page .session-actions .session-actions-menu[data-bs-popper="static"],
  .photo-session-show-page .session-actions .session-actions-menu {
    top: calc(100% + .45rem);
    right: 0;
    left: auto;
    max-width: calc(100vw - 1.5rem);
    max-height: min(68vh, 430px);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transform: none !important;
    z-index: 1080;
  }

  .photo-session-show-page .session-actions .session-actions-menu .dropdown-item {
    min-height: 44px;
    white-space: normal;
  }

  .photo-session-show-page .session-details-grid {
    --bs-gutter-y: .75rem;
  }

  .photo-session-show-page .mmx {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-session-show-page .mmx .tile:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid #e6ebed;
    border-left: 0;
  }

  .photo-session-show-page .session-panel-heading,
  .photo-session-show-page .session-detail-panel .card-body,
  .photo-session-show-page .session-documents-panel .card-body,
  .photo-session-show-page .session-packages-panel .card-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .photo-session-show-page .session-facts dt {
    margin-bottom: .2rem;
  }

  .photo-session-show-page .session-facts dd {
    margin-bottom: .95rem;
  }

  .photo-session-show-page .sessiondate-entry {
    padding: 1rem;
  }

  .photo-session-show-page .timeslots-root .timeslot-row-v2 {
    max-width: none;
  }
}

@media (max-width: 399.98px) {
  .photo-session-show-page .mmx {
    grid-template-columns: 1fr;
  }

  .photo-session-show-page .mmx .tile + .tile,
  .photo-session-show-page .mmx .tile:nth-child(3) {
    grid-column: auto;
    border-top: 1px solid #e6ebed;
    border-left: 0;
  }

  .photo-session-show-page .session-dates-panel__header {
    align-items: flex-start;
    padding: .9rem;
  }

  .photo-session-show-page .session-dates-panel__header .btn {
    white-space: nowrap;
  }

  .photo-session-show-page .sessiondate-entry__header {
    align-items: flex-start !important;
  }
}

/* Mini-session public visit analytics. Kept in the compiled stylesheet so
   CSP and Turbo rendering cannot leave the modal partially unstyled. */
.photo-session-show-page .visit-analytics-modal .modal-dialog {
  max-width: min(980px, calc(100vw - 2rem));
}

.photo-session-show-page .visit-analytics-modal .modal-content {
  overflow: hidden;
  border: 1px solid #dce4e7;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(24, 46, 55, .2);
}

.photo-session-show-page .visit-analytics-modal .modal-header {
  align-items: center;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid #e4eaec;
  background: #f8fafb;
}

.photo-session-show-page .visit-analytics-modal__eyebrow {
  margin-bottom: .18rem;
  color: #668087;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.photo-session-show-page .visit-analytics-modal .modal-title {
  color: #24363d;
  font-size: 1.1rem;
  font-weight: 720;
}

.photo-session-show-page .visit-analytics-modal .modal-body {
  min-height: 220px;
  padding: 1.25rem;
  background: #fff;
}

.photo-session-show-page .visit-analytics .va-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.photo-session-show-page .visit-analytics .va-total {
  display: flex;
  align-items: baseline;
  gap: .65rem;
}

.photo-session-show-page .visit-analytics .va-total span {
  color: #687b82;
  font-size: .78rem;
  font-weight: 680;
}

.photo-session-show-page .visit-analytics .va-total strong {
  color: #263a41;
  font-size: 1.55rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.photo-session-show-page .visit-analytics .va-range {
  padding: .38rem .65rem;
  border: 1px solid #dce5e7;
  border-radius: 999px;
  color: #62767d;
  background: #f6f9fa;
  font-size: .72rem;
  font-weight: 650;
  white-space: nowrap;
}

.photo-session-show-page .visit-analytics .va-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe7e9;
  border-radius: 13px;
}

.photo-session-show-page .visit-analytics .va-table {
  min-width: 720px;
  font-size: .84rem;
}

.photo-session-show-page .visit-analytics .va-table thead th {
  padding: .72rem .8rem;
  border-bottom: 1px solid #dfe7e9;
  color: #60757c;
  background: #f5f8f9;
  font-size: .68rem;
  font-weight: 780;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.photo-session-show-page .visit-analytics .va-table td {
  padding: .75rem .8rem;
  border-color: #edf1f2;
  color: #344950;
  vertical-align: middle;
}

.photo-session-show-page .visit-analytics .va-row:nth-child(even) td {
  background: #fafcfc;
}

.photo-session-show-page .visit-analytics .va-cell {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.photo-session-show-page .visit-analytics .va-when {
  min-width: 150px;
}

.photo-session-show-page .visit-analytics .va-date {
  font-weight: 720;
}

.photo-session-show-page .visit-analytics .va-time {
  margin-top: .12rem;
  color: #78898f;
  font-size: .74rem;
}

.photo-session-show-page .visit-analytics .va-long {
  max-width: 290px;
}

.photo-session-show-page .visit-analytics-error {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .65rem;
  padding: 2rem;
  border: 1px dashed #d8e1e4;
  border-radius: 14px;
  color: #687b82;
  background: #fafcfc;
  text-align: center;
}

.photo-session-show-page .visit-analytics-error i {
  color: #a56b36;
  font-size: 1.5rem;
}

@media (max-width: 575.98px) {
  .photo-session-show-page .visit-analytics-modal .modal-dialog {
    max-width: none;
  }

  .photo-session-show-page .visit-analytics-modal .modal-content {
    border: 0;
    border-radius: 0;
  }

  .photo-session-show-page .visit-analytics-modal .modal-body {
    padding: .9rem;
  }

  .photo-session-show-page .visit-analytics .va-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-session-show-page .visit-analytics .va-table-wrap {
    overflow: visible;
    border: 0;
  }

  .photo-session-show-page .visit-analytics .va-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 .7rem;
  }

  .photo-session-show-page .visit-analytics .va-table thead {
    display: none;
  }

  .photo-session-show-page .visit-analytics .va-table tbody,
  .photo-session-show-page .visit-analytics .va-row {
    display: block;
  }

  .photo-session-show-page .visit-analytics .va-row {
    padding: .7rem .85rem;
    border: 1px solid #dfe7e9;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(31, 55, 64, .06);
  }

  .photo-session-show-page .visit-analytics .va-table td {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    padding: .3rem 0;
    border: 0;
    background: transparent !important;
    text-align: right;
  }

  .photo-session-show-page .visit-analytics .va-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: #6c7f85;
    font-size: .72rem;
    font-weight: 720;
    text-align: left;
  }

  .photo-session-show-page .visit-analytics .va-table .va-when {
    align-items: baseline;
    margin-bottom: .25rem;
  }

  .photo-session-show-page .visit-analytics .va-when-wrap {
    display: flex;
    justify-content: flex-end;
    gap: .4rem;
  }

  .photo-session-show-page .visit-analytics .va-long {
    max-width: 65%;
  }
}

/* ===================================================================== */
/* Timeslot details modal                                                */
/* ===================================================================== */

.photo-session-show-page .timeslot-details-dialog {
  --tsd-ink: #263a41;
  --tsd-muted: #708087;
  --tsd-line: #dfe7e9;
  --tsd-soft: #f7f9f9;
  --tsd-brand: #3c727e;
  --tsd-brand-dark: #2d5e69;
  max-width: 840px;
}

.photo-session-show-page .timeslot-details-modal-content {
  overflow: hidden;
  border: 1px solid rgba(31, 58, 66, .13);
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(19, 42, 49, .2);
}

.photo-session-show-page .timeslot-details-modal-header {
  min-height: 62px;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid #e3e9eb;
}

.photo-session-show-page .timeslot-details-modal-header .modal-title {
  color: #2c4047;
  font-size: 1.02rem;
  font-weight: 700;
}

.photo-session-show-page .timeslot-details-modal-body {
  padding: 1.25rem;
  background: #f6f8f8;
}

.timeslot-detail-sheet,
.timeslot-detail-sheet * {
  box-sizing: border-box;
}

.timeslot-detail-sheet {
  display: grid;
  gap: 1rem;
  color: var(--tsd-ink, #263a41);
}

.timeslot-detail-kicker {
  color: var(--tsd-muted, #708087);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.timeslot-detail-schedule {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .9rem;
  padding: 1.1rem 1.2rem;
  align-items: center;
  border: 1px solid #d8e4e6;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef5f6, #fff 72%);
}

.timeslot-detail-schedule__icon,
.timeslot-detail-panel__heading > span,
.timeslot-detail-payment__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--tsd-brand, #3c727e);
  background: #e2eff1;
  font-size: 1rem;
}

.timeslot-detail-schedule h2 {
  margin: 0;
  color: var(--tsd-ink, #263a41);
  font-size: 1.16rem;
  font-weight: 720;
  letter-spacing: -.02em;
}

.timeslot-detail-schedule__time {
  display: flex;
  gap: .4rem;
  margin: .3rem 0 0;
  align-items: baseline;
  color: #4f646b;
  font-size: .86rem;
  font-weight: 650;
}

.timeslot-detail-schedule__time small {
  margin-left: .15rem;
  color: #849197;
  font-size: .65rem;
  font-weight: 700;
}

.timeslot-detail-booking-badge {
  display: inline-flex;
  min-height: 28px;
  padding: .35rem .65rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #775018;
  background: #fff1d5;
  font-size: .68rem;
  font-weight: 800;
}

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

.timeslot-detail-panel,
.timeslot-detail-payment,
.timeslot-detail-packages {
  border: 1px solid var(--tsd-line, #dfe7e9);
  border-radius: 14px;
  background: #fff;
}

.timeslot-detail-panel {
  min-width: 0;
  padding: 1.1rem;
}

.timeslot-detail-panel__heading,
.timeslot-detail-payment__heading {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.timeslot-detail-panel__heading {
  margin-bottom: 1rem;
}

.timeslot-detail-panel__heading h3,
.timeslot-detail-payment__heading h3 {
  margin: 0;
  color: var(--tsd-ink, #263a41);
  font-size: .9rem;
  font-weight: 720;
  letter-spacing: -.01em;
}

.timeslot-detail-panel__heading p {
  margin: .12rem 0 0;
  color: var(--tsd-muted, #708087);
  font-size: .68rem;
}

.timeslot-detail-client__identity {
  display: flex;
  min-width: 0;
  margin-bottom: .75rem;
  flex-direction: column;
}

.timeslot-detail-client__identity strong {
  color: #2c4047;
  font-size: .88rem;
  font-weight: 700;
}

.timeslot-detail-client__identity span {
  overflow: hidden;
  margin-top: .12rem;
  color: #6b7c82;
  font-size: .74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeslot-detail-button {
  display: inline-flex !important;
  min-height: 32px;
  padding: .48rem .72rem;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.timeslot-detail-button--secondary,
.timeslot-detail-button--primary {
  border-color: #6f8d93;
  color: #fff;
  background: #6f8d93;
}

.timeslot-detail-button--secondary:hover,
.timeslot-detail-button--primary:hover {
  border-color: #58767d;
  color: #fff;
  background: #58767d;
}

.timeslot-detail-button--public {
  border-color: #c9d7da;
  color: #426d76;
  background: #fff;
}

.timeslot-detail-button--public:hover {
  border-color: #87a5ab;
  color: #2d5e69;
  background: #f1f6f7;
}

.timeslot-detail-button--danger {
  border-color: #efd1d1;
  color: #a13d3d;
  background: #fff7f7;
}

.timeslot-detail-button--danger:hover {
  border-color: #d99b9b;
  color: #812c2c;
  background: #ffeded;
}

.timeslot-detail-status-row {
  display: flex;
  gap: .65rem;
  margin-top: .9rem;
  padding-top: .8rem;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid #e7ecee;
}

.timeslot-detail-status-row > span {
  color: #77868c;
  font-size: .68rem;
  font-weight: 700;
}

.timeslot-detail-status-row strong {
  color: #556a71;
  font-size: .66rem;
  font-weight: 750;
  text-align: right;
}

.timeslot-detail-status-row strong.is-success {
  display: inline-flex;
  gap: .3rem;
  color: #277052;
}

.timeslot-detail-document-list {
  display: grid;
}

.timeslot-detail-document-list > div {
  display: flex;
  min-width: 0;
  gap: .75rem;
  padding: .68rem 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e7ecee;
}

.timeslot-detail-document-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.timeslot-detail-document-list > div:last-child {
  padding-bottom: 0;
}

.timeslot-detail-document-list span {
  color: #465b62;
  font-size: .73rem;
  font-weight: 680;
}

.timeslot-detail-document-list a,
.timeslot-detail-document-list small {
  flex: 0 0 auto;
  color: var(--tsd-brand, #3c727e);
  font-size: .67rem;
  font-weight: 750;
  text-decoration: none;
}

.timeslot-detail-document-list small {
  color: #89969a;
  font-weight: 650;
}

.timeslot-detail-packages {
  display: flex;
  gap: 1rem;
  padding: .8rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.timeslot-detail-packages > span {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  color: #718187;
  font-size: .68rem;
  font-weight: 750;
}

.timeslot-detail-packages strong {
  color: #40565d;
  font-size: .75rem;
  font-weight: 700;
  text-align: right;
}

.timeslot-detail-payment {
  overflow: hidden;
}

.timeslot-detail-payment.is-complete {
  border-color: #cfe5da;
}

.timeslot-detail-payment__heading {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #e5ebed;
  background: #fbfcfc;
}

.timeslot-detail-payment.is-complete .timeslot-detail-payment__heading {
  background: #f4faf7;
}

.timeslot-detail-payment__heading > div:nth-child(2) {
  min-width: 0;
  flex: 1 1 auto;
}

.timeslot-detail-payment__paid {
  display: inline-flex;
  min-width: max-content;
  flex: 0 0 auto;
  gap: .35rem;
  margin-left: auto;
  padding: .35rem .55rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #277052;
  background: #e5f3ed;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.timeslot-detail-payment__body {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  align-items: center;
  justify-content: space-between;
}

.timeslot-detail-payment__amounts {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.timeslot-detail-payment__amounts > div {
  display: flex;
  flex-direction: column;
}

.timeslot-detail-payment__amounts span {
  color: #7d8b90;
  font-size: .64rem;
  font-weight: 700;
}

.timeslot-detail-payment__amounts strong {
  margin-top: .12rem;
  color: #30464d;
  font-size: .9rem;
  font-weight: 750;
}

.timeslot-detail-payment__offline {
  flex: 0 0 auto;
  margin: 0;
}

.timeslot-detail-payment__offline .form-check-label {
  color: #53686f;
  font-size: .72rem;
  font-weight: 650;
}

.timeslot-detail-payment__offline .form-check-input:checked {
  border-color: var(--tsd-brand, #3c727e);
  background-color: var(--tsd-brand, #3c727e);
}

.timeslot-detail-payment__reminder {
  padding: 0 1.1rem 1rem;
}

.timeslot-detail-payment__reminder .btn {
  display: inline-flex !important;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-color: #9db6bb !important;
  border-radius: 8px;
  color: #3c6b75 !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.1;
  opacity: 1 !important;
  text-shadow: none !important;
}

.timeslot-detail-payment__reminder .balance-reminder-button:hover:not(:disabled) {
  border-color: #71949b !important;
  color: #2e5e68 !important;
  background: #eef5f6 !important;
}

.timeslot-detail-payment__reminder .balance-reminder-button:disabled,
.timeslot-detail-payment__reminder .balance-reminder-button[aria-busy="true"] {
  border-color: #b8c8cb !important;
  color: #526e74 !important;
  background: #f4f7f7 !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.timeslot-detail-payment__reminder .balance-reminder-button.btn-success {
  border-color: #2f7c5c !important;
  color: #fff !important;
  background: #2f7c5c !important;
}

.timeslot-detail-payment__reminder .balance-reminder-button::before,
.timeslot-detail-payment__reminder .balance-reminder-button::after {
  display: none !important;
  content: none !important;
}

.timeslot-detail-payment__reminder .balance-reminder-button > i,
.timeslot-detail-payment__reminder .balance-reminder-button > span {
  position: relative;
  z-index: 1;
  color: inherit !important;
}

.timeslot-detail-actions {
  display: flex;
  gap: .8rem;
  padding-top: .1rem;
  align-items: center;
  justify-content: space-between;
}

.timeslot-detail-actions > div {
  display: flex;
  gap: .55rem;
  align-items: center;
}

.timeslot-cancel-warning {
  display: flex;
  gap: .8rem;
  padding: 1rem;
  border: 1px solid #f0d5b1;
  border-radius: 12px;
  color: #62491e;
  background: #fff9ed;
}

.timeslot-cancel-warning > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #ffedc8;
}

.timeslot-cancel-warning strong {
  display: block;
  margin-bottom: .25rem;
  font-size: .85rem;
}

.timeslot-cancel-warning p {
  color: #78643d;
  font-size: .76rem;
  line-height: 1.55;
}

.timeslot-child-modal {
  border: 1px solid rgba(31, 58, 66, .13);
  box-shadow: 0 24px 70px rgba(19, 42, 49, .2);
}

.timeslot-detail-muted {
  color: #849197;
  font-size: .75rem;
}

@media (max-width: 767.98px) {
  .photo-session-show-page .timeslot-details-modal-content {
    border-radius: 14px !important;
  }

  .photo-session-show-page .timeslot-details-modal-body {
    padding: .85rem;
  }

  .timeslot-detail-grid {
    grid-template-columns: 1fr;
  }

  .timeslot-detail-payment__body,
  .timeslot-detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .timeslot-detail-actions > div,
  .timeslot-detail-actions .timeslot-detail-button {
    width: 100%;
  }

  .timeslot-detail-actions > div .timeslot-detail-button {
    flex: 1 1 0;
  }

  .timeslot-detail-payment__offline {
    align-self: flex-start;
  }
}

@media (max-width: 399.98px) {
  .timeslot-detail-schedule {
    grid-template-columns: auto minmax(0, 1fr);
    padding: .95rem;
  }

  .timeslot-detail-booking-badge {
    grid-column: 2;
    justify-self: start;
  }

  .timeslot-detail-schedule__time {
    flex-wrap: wrap;
  }

  .timeslot-detail-panel {
    padding: .95rem;
  }

  .timeslot-detail-document-list > div {
    align-items: flex-start;
    flex-direction: column;
    gap: .25rem;
  }
}
/* Scoped styles for the price sheet container */
.price-sheet-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.price-sheet-title {
  font-size: 2rem;
  color: #3c727e;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: capitalize;
}

/* Price sheet card styles - Force override Bootstrap */
.price-sheet-container .price-sheet-card {
  border: 1px solid #e9ecef !important;
  border-radius: 8px !important;
  overflow: hidden;
  background-color: #ffffff !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-sheet-container .price-sheet-card:hover {
  background-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Force card header styling */
.price-sheet-container .price-sheet-card .card-header {
  background-color: #f8f9fa !important;
  color: #3c727e !important;
  font-weight: bold;
  font-size: 1rem;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9ecef !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

/* Product text styling */
.price-sheet-container .price-sheet-product {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #3c727e !important;
}

.price-sheet-container .price-sheet-product strong {
  color: #3c727e !important;
}

.price-sheet-container .price-sheet-product span {
  color: #3c727e !important;
}

/* Card body styles */
.price-sheet-container .price-sheet-card .card-body {
  background-color: #ffffff !important;
  padding: 1rem;
  color: #333 !important;
  border: none !important;
}

/* Button styling - Force override */
.price-sheet-container .btn {
  font-size: 0.9rem;
}

/* Make outline-primary buttons filled with brand color */
.price-sheet-container .btn-outline-primary {
  background-color: #3c727e !important;
  border-color: #3c727e !important;
  color: white !important;
  transition: all 0.3s ease;
}

.price-sheet-container .btn-outline-primary:hover {
  background-color: #2e5b69 !important;
  color: white !important;
  border-color: #2e5b69 !important;
}

.price-sheet-container .btn-primary {
  background-color: #3c727e !important;
  border-color: #3c727e !important;
  color: white !important;
}

.price-sheet-container .btn-primary:hover {
  background-color: #2e5b69 !important;
  border-color: #2e5b69 !important;
}

.price-sheet-container .btn-secondary {
  background-color: #e9ecef !important;
  border-color: #ccc !important;
  color: #333 !important;
}

.price-sheet-container .btn-secondary:hover {
  background-color: #d6d6d6 !important;
  border-color: #aaa !important;
}

/* Back button specific styling - filled brand color */
.price-sheet-container .price-sheet-back-btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background-color: #3c727e !important;
  border-color: #3c727e !important;
  color: white !important;
}

.price-sheet-container .price-sheet-back-btn:hover {
  background-color: #2e5b69 !important;
  color: white !important;
  border-color: #2e5b69 !important;
}

/* Form Inputs */
.price-sheet-container form .form-control {
  border-radius: 5px;
  padding: 0.75rem;
  border: 1px solid #ccc;
  background-color: #ffffff !important;
  color: #333 !important;
}

/* Form Labels */
.price-sheet-container .form-label {
  color: #3c727e !important;
  font-weight: 600;
}

/* Error Message */
.price-sheet-container .text-danger {
  font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .price-sheet-container {
    padding: 1rem;
  }

  .price-sheet-title {
    font-size: 1.5rem;
  }

  .price-sheet-container .price-sheet-card .card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .price-sheet-container .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .price-sheet-title {
    font-size: 1.25rem;
  }

  .price-sheet-container .price-sheet-card {
    border-radius: 5px !important;
  }

  .price-sheet-container {
    padding: 1rem;
  }
}
.public-document__intro { align-items: center; }

.public-document__progress {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem;
  margin: 0;
  padding: 0;
  color: #66777c;
  list-style: none;
}

.public-document__progress li { display: flex; flex: 0 0 auto; align-items: center; gap: .4rem; font-size: var(--booking-text-small, .875rem); line-height: 1.2; white-space: nowrap; }
.public-document__progress li + li::before { width: 20px; height: 1px; margin-right: .08rem; background: #d5e0e1; content: ""; }
.public-document__progress li > span,
.public-document__progress li > i { display: grid; flex: 0 0 auto; width: 27px; height: 27px; place-items: center; border: 1px solid #cbd7d9; border-radius: 50%; background: #fff; font-size: var(--booking-text-caption, .8125rem); font-style: normal; }
.public-document__progress strong { font-weight: 800; }
.public-document__progress .is-complete { color: #38685e; }
.public-document__progress .is-complete > i { border-color: #cce1db; background: #e3f1ed; }
.public-document__progress .is-current { color: #285762; }
.public-document__progress .is-current > span { border-color: #3c727e; color: #fff; background: #3c727e; }

.public-document__errors { display: flex; align-items: flex-start; gap: .72rem; margin-bottom: 1rem; padding: .9rem 1rem; border: 1px solid #efc8cb; border-radius: 14px; color: #872d36; background: #fff4f5; }
.public-document__errors > i { flex: 0 0 auto; margin-top: .06rem; }
.public-document__errors strong { font-size: var(--booking-text-body, 1rem); }
.public-document__errors ul { margin: .35rem 0 0; padding-left: 1rem; font-size: var(--booking-text-small, .875rem); line-height: 1.45; }

.public-document__form { margin: 0; }
.public-document__layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .62fr); gap: 1.15rem; align-items: start; }
.public-document__main { display: grid; min-width: 0; gap: 1.15rem; }
.public-document__panel { min-width: 0; }

.public-document__field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.public-document__field,
.public-document__fact { min-width: 0; }
.public-document__field--wide { grid-column: 1 / -1; }
.public-document__field label { display: block; margin-bottom: .42rem; color: #31444a; font-size: var(--booking-text-small, .875rem); font-weight: 800; }
.public-document__field input,
.public-document__field textarea,
.public-questionnaire__question textarea { display: block; width: 100%; min-height: 50px; margin: 0; padding: .78rem .85rem; border: 1px solid #cfdadc; border-radius: 11px; color: #17272c; background: #fff; font: inherit; font-size: var(--booking-text-body, 1rem); line-height: 1.5; transition: border-color .14s ease, box-shadow .14s ease; }
.public-document__field textarea,
.public-questionnaire__question textarea { min-height: 104px; resize: vertical; }
.public-document__field input:hover,
.public-document__field textarea:hover,
.public-questionnaire__question textarea:hover { border-color: #adc3c6; }
.public-document__field input:focus,
.public-document__field textarea:focus,
.public-questionnaire__question textarea:focus { border-color: #3c727e; outline: 0; box-shadow: 0 0 0 3px rgba(60, 114, 126, .14); }
.public-document__field small,
.public-questionnaire__question small { display: block; margin-top: .34rem; color: #66787d; font-size: var(--booking-text-caption, .8125rem); line-height: 1.45; }
.public-document__fact { display: flex; min-height: 72px; justify-content: center; flex-direction: column; padding: .78rem .85rem; border: 1px solid #dbe5e6; border-radius: 12px; background: #f8fafa; }
.public-document__fact span { color: #607278; font-size: var(--booking-text-caption, .8125rem); font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.public-document__fact strong { margin-top: .22rem; overflow-wrap: anywhere; color: #23363b; font-size: var(--booking-text-body, 1rem); line-height: 1.4; }

.public-contract__copy { overflow-wrap: anywhere; color: #3f5156; font-size: var(--booking-text-body, 1rem); line-height: 1.75; }
.public-contract__copy > :first-child { margin-top: 0; }
.public-contract__copy > :last-child { margin-bottom: 0; }
.public-contract__copy h2,
.public-contract__copy h3,
.public-contract__copy h4 { margin: 1.1rem 0 .5rem; color: #22353a; font-weight: 850; line-height: 1.3; }
.public-contract__copy h2 { font-size: 1.3rem; }
.public-contract__copy h3 { font-size: 1.15rem; }
.public-contract__copy h4 { font-size: 1.05rem; }
.public-contract__copy a { color: #285762; font-weight: 750; }
.public-contract__copy img,
.public-contract__copy table { max-width: 100%; }
.public-contract__copy blockquote { margin: .8rem 0; padding: .2rem 0 .2rem .85rem; border-left: 3px solid #b9d0d3; color: #596b70; }

.public-contract__terms { display: grid; gap: .7rem; }
.public-contract__term { min-width: 0; margin: 0; padding: .9rem; border: 1px solid #dbe5e6; border-radius: 13px; background: #fbfcfc; }
.public-contract__term legend { display: flex; width: 100%; align-items: flex-start; gap: .68rem; margin: 0 0 .8rem; color: #25383e; font-size: var(--booking-text-body, 1rem); font-weight: 780; line-height: 1.5; }
.public-contract__term legend > span { display: grid; flex: 0 0 auto; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: #285762; background: #e8f1f2; font-size: var(--booking-text-caption, .8125rem); }
.public-contract__term-options { display: flex; flex-wrap: wrap; gap: .45rem; padding-left: 2.32rem; }
.public-document__choice-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.public-contract__term-options label { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .36rem; margin: 0; padding: .62rem .85rem; border: 1px solid #b9cbce; border-radius: 10px; color: #285762; background: #fff; font-size: var(--booking-text-small, .875rem); font-weight: 800; cursor: pointer; }
.public-contract__term-options label.is-secondary { color: #697a7f; }
.public-document__choice-input:checked + label { border-color: #3c727e; color: #fff; background: #3c727e; box-shadow: 0 4px 12px rgba(40, 87, 98, .14); }
.public-document__choice-input:focus-visible + label { outline: 3px solid rgba(60, 114, 126, .22); outline-offset: 2px; }

.public-contract__signature { margin-top: 1.1rem; }
.public-contract__signature-topline { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .4rem; }
.public-contract__signature-topline label { margin: 0; color: #31444a; font-size: var(--booking-text-small, .875rem); font-weight: 800; }
.public-contract__signature-topline button { min-height: 40px; margin: 0; padding: .48rem .7rem; border: 1px solid #c5d2d4; border-radius: 9px; color: #53676c; background: #fff; font: inherit; font-size: var(--booking-text-caption, .8125rem); font-weight: 800; cursor: pointer; }
.public-contract__signature-topline button[hidden] { display: none; }
.public-contract__signature-surface { position: relative; overflow: hidden; border: 1px solid #bdccce; border-radius: 13px; background: linear-gradient(#fff, #fbfcfc); }
.public-contract__signature-surface::after { position: absolute; right: 1rem; bottom: 2.3rem; left: 1rem; height: 1px; background: #b7c5c8; content: ""; pointer-events: none; }
.public-contract__signature-surface canvas { position: relative; z-index: 1; display: block; width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.public-contract__signature-surface canvas:focus-visible { outline: 3px solid rgba(60, 114, 126, .22); outline-offset: -3px; }
.public-contract__signature-surface > span { position: absolute; right: 1rem; bottom: .75rem; color: #75868b; font-size: var(--booking-text-caption, .8125rem); font-weight: 700; pointer-events: none; }
.public-contract__signature-error { margin: .45rem 0 0; color: #a33b45; font-size: var(--booking-text-small, .875rem); font-weight: 750; }

.public-document__summary { position: sticky; top: 1rem; padding: 1.2rem; border: 1px solid #dbe5e6; border-radius: 20px; background: rgba(255, 255, 255, .98); box-shadow: 0 12px 34px rgba(28, 61, 68, .07); }
.public-document__summary-eyebrow { display: block; margin-bottom: .34rem; color: #3c727e; font-size: var(--booking-text-caption, .8125rem); font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.public-document__summary h2 { margin: 0; overflow-wrap: anywhere; color: #17272c; font-size: var(--booking-text-heading, 1.125rem); font-weight: 850; line-height: 1.35; }
.public-document__summary > ul { display: grid; gap: .68rem; margin: 1rem 0; padding: 1rem 0; border-top: 1px solid #dbe5e6; border-bottom: 1px solid #dbe5e6; list-style: none; }
.public-document__summary > ul li { display: flex; align-items: flex-start; gap: .5rem; color: #52656a; font-size: var(--booking-text-small, .875rem); line-height: 1.5; }
.public-document__summary > ul i { flex: 0 0 auto; color: #34705f; }
.public-document__primary-action { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: .5rem; margin: 0; padding: .78rem .9rem; border: 0; border-radius: 12px; color: #fff; background: #3c727e; box-shadow: 0 8px 20px rgba(40, 87, 98, .18); font: inherit; font-size: var(--booking-text-body, 1rem); font-weight: 850; cursor: pointer; }
.public-document__primary-action:hover { background: #285762; }
.public-document__primary-action:focus-visible { outline: 3px solid rgba(60, 114, 126, .25); outline-offset: 2px; }
.public-document__secondary-action { display: flex; min-height: 48px; align-items: center; justify-content: center; margin-top: .55rem; padding: .68rem .8rem; border: 1px solid #c8d4d6; border-radius: 11px; color: #52666b; background: #fff; font-size: var(--booking-text-small, .875rem); font-weight: 800; text-decoration: none; }
.public-document__secondary-action:hover { border-color: #8fa9ad; color: #285762; background: #f8fafa; }
.public-document__summary > p { display: flex; align-items: flex-start; justify-content: center; gap: .35rem; margin: .7rem 0 0; color: #66787d; font-size: var(--booking-text-caption, .8125rem); line-height: 1.45; text-align: center; }
.public-document__summary > p i { flex: 0 0 auto; color: #3c727e; }

.public-questionnaire__list { display: grid; gap: .2rem; counter-reset: question; }
.public-questionnaire__question { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .72rem; padding: 1rem 0; border-top: 1px solid #dbe5e6; }
.public-questionnaire__number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #285762; background: #e8f1f2; font-size: var(--booking-text-small, .875rem); font-weight: 850; }
.public-questionnaire__label { display: block; margin: .24rem 0 .5rem; color: #26393e; font-size: var(--booking-text-body, 1rem); font-weight: 800; line-height: 1.5; }
.public-questionnaire__summary-list { display: grid; gap: .7rem; margin: 1rem 0; padding: 1rem 0; border-top: 1px solid #dbe5e6; border-bottom: 1px solid #dbe5e6; }
.public-questionnaire__summary-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; }
.public-questionnaire__summary-list dt { color: #66787d; font-size: var(--booking-text-small, .875rem); font-weight: 700; }
.public-questionnaire__summary-list dd { margin: 0; overflow-wrap: anywhere; color: #26393e; font-size: var(--booking-text-small, .875rem); font-weight: 800; text-align: right; }

@media (max-width: 900px) {
  .public-document__intro { align-items: flex-start; }
  .public-document__layout { grid-template-columns: 1fr; }
  .public-document__summary { position: static; }
}

@media (max-width: 640px) {
  .public-document__progress { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
  .public-document__progress li + li::before { display: none; }
  .public-document__field-grid { grid-template-columns: 1fr; }
  .public-document__field--wide { grid-column: auto; }
  .public-document__summary { border-radius: 17px; }
  .public-contract__term-options { padding-left: 0; }
  .public-contract__term-options label { flex: 1 1 auto; min-height: 44px; }
  .public-contract__signature-surface canvas { height: 160px; }
}

@media (max-width: 390px) {
  .public-document__progress li { gap: .3rem; font-size: var(--booking-text-caption, .8125rem); }
  .public-document__progress li > span,
  .public-document__progress li > i { width: 25px; height: 25px; }
  .public-document__field input,
  .public-document__field textarea,
  .public-questionnaire__question textarea { min-height: 50px; font-size: 16px; }
  .public-questionnaire__question textarea { min-height: 112px; }
  .public-questionnaire__question { grid-template-columns: 1fr; gap: .3rem; }
  .public-contract__signature-surface canvas { height: 145px; }
  .public-document__primary-action { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .public-document * { scroll-behavior: auto !important; transition: none !important; }
}
/*public-gallery.css

/* ────────────────────────────────────────────────────────────── */
/* 1.  Global resets & variables                                 */
/* ────────────────────────────────────────────────────────────── */
:root {
  --preview-offset: 0px;            /* will become 48 px in preview */
  --star-font-size: 1.3rem;         /* star icon size */
  --star-hit-size: 42px;            /* star click-target box */
  --select-size: calc(var(--star-font-size) + 2px); /* select circle ≈ star size */
  --brand-color: #3c727e;           /* BRAND COLOR for notices/banners */
  --mobile-gap: .18rem;             /* gap between tiles on phones */
}

html.public-gallery body,
body.public-gallery {
  margin: 0 !important;
  padding: 0 !important;
  height: 100%;
  overflow-x: hidden;
}

/* Cyan “Gallery Preview” strip (only in preview mode) */
.preview-notice {
  margin: 0 !important;
  --preview-offset: 48px;
}

/* Shared hero typography */
.hero-typography {
  font-family: var(--gallery-font, Arial);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

/* Brand name at very top of hero */
.brand-banner {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  text-align: center;
  font-size: clamp(16px, 1.6vw, 22px);
  color: #fff !important; /* ensure exact white like gallery title */
}
@media (max-width: 576px) { .brand-banner { top: 12px; } }

/* Also ensure global UI elements use the gallery font */
body.public-gallery .btn,
body.public-gallery .alert,
body.public-gallery .modal-title,
body.public-gallery .form-label {
  font-family: var(--gallery-font, Arial) !important;
}

/* ────────────────────────────────────────────────────────────── */
/* 2.  Hero (cover-photo block or placeholder)                   */
/* ────────────────────────────────────────────────────────────── */
.cover-photo,
.cover-photo > .position-relative {
  min-height: 100dvh;
  overflow: hidden;
  position: relative;
}
@supports not (height: 100dvh) {
  .cover-photo,
  .cover-photo > .position-relative { min-height: 100vh; }
}
.cover-photo .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.preview-notice + .cover-photo,
.preview-notice + .cover-photo > .position-relative { min-height: calc(100dvh - 48px); }
@supports not (height: 100dvh) {
  .preview-notice + .cover-photo,
  .preview-notice + .cover-photo > .position-relative { min-height: calc(100vh - 48px); }
}

/* ================== MOBILE HERO FIXES (phones only) ===================== */
@media (max-width: 576px) {
  .cover-photo,
  .cover-photo > .position-relative {
    min-height: calc(100svh - var(--preview-offset));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
  }
  .cover-photo .cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .cover-photo .cover-content,
  .cover-photo .gallery-name,
  .cover-photo .view-gallery-button {
    position: relative !important;
    inset: auto !important;
    margin: 0 !important;
    text-align: center !important;
  }
  .cover-photo .cover-content {
    display: grid;
    gap: .75rem;
    padding: 0 16px;
    z-index: 2;
  }
  .cover-photo::before,
  .cover-photo::after,
  .cover-photo > .position-relative::before,
  .cover-photo > .position-relative::after {
    content: none !important;
    display: none !important;
  }
  .cover-photo + * { margin-top: .5rem !important; }
}

/* ────────────────────────────────────────────────────────────── */
/* 2a.  View Gallery CTA — GLASS look, but NOT pill              */
/* ────────────────────────────────────────────────────────────── */
.view-gallery-btn {
  font-family: var(--gallery-font, Arial);
  color: #fff !important;
  background: linear-gradient(to bottom, rgba(255,255,255,.20), rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.55);
  border-radius: .375rem;
  padding: .6rem 1.25rem;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: saturate(150%) blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.2);
  transition: transform .08s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.view-gallery-btn:hover,
.view-gallery-btn:focus {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.85);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,0,0,.30), inset 0 1px rgba(255,255,255,.25);
}
.view-gallery-btn:active {
  transform: translateY(0);
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.75);
  box-shadow: 0 4px 18px rgba(0,0,0,.25) inset;
}
.view-gallery-btn:focus-visible {
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 3px;
}

/* ────────────────────────────────────────────────────────────── */
/* 2b.  Upgrade Gallery CTA — original WHITE glass, rectangular  */
/* ────────────────────────────────────────────────────────────── */
.upgrade-gallery-btn {
  font-family: var(--gallery-font, Arial);
  color: #1f2937 !important;
  background: linear-gradient(to bottom, rgba(255,255,255,.96), rgba(255,255,255,.90));
  border: 1px solid rgba(0,0,0,.14);
  border-radius: .375rem;
  padding: .55rem 1.15rem;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 6px 16px rgba(17,24,39,.08);
  transition: transform .08s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.upgrade-gallery-btn:hover,
.upgrade-gallery-btn:focus {
  background: #fff;
  border-color: rgba(0,0,0,.20);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17,24,39,.12);
}
.upgrade-gallery-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.08);
}
.upgrade-gallery-btn:focus-visible {
  outline: 3px solid rgba(0,0,0,.18);
  outline-offset: 3px;
}

/* ────────────────────────────────────────────────────────────── */
/* 3.  Masonry grid (albums)                                     */
/* ────────────────────────────────────────────────────────────── */
.masonry-grid {
  column-count: 4;
  column-gap: 0.2em;
  margin: 0;
  padding: 0;
}
.masonry-item {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0.08rem;
  vertical-align: top;
  position: relative;
  line-height: 0;
}

/* Tight wrapper so overlays anchor to the actual image bounds */
.photo-tile {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

/* Desktop/tablet column counts */
@media (max-width: 1200px) { .masonry-grid { column-count: 3; } }
@media (max-width: 900px)  { .masonry-grid { column-count: 2; } }

/* ================== MOBILE GRID FIXES (phones only) ===================== */
@media (max-width: 576px) {
  .masonry-grid  { column-count: 2; column-gap: var(--mobile-gap) !important; }
  .masonry-item  { margin: 0 0 var(--mobile-gap) 0 !important; }

  /* Kill any theme borders/padding/shadows that create a “white border” */
  .album-photos .masonry-item,
  .album-photos .photo-tile,
  .album-photos .photo-tile > a[data-glightbox="true"],
  .album-photos .watermark-preview-container {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
  }

  /* Clip rounded corners on the WRAPPER (prevents white halo around img) */
  .album-photos .photo-tile {
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  /* Image fills wrapper; let wrapper handle rounding */
  .album-photos .photo-tile img,
  .album-photos .watermark-preview-container img {
    border-radius: 0 !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* ────────────────────────────────────────────────────────────── */
/* 4.  Album / watermark / misc                                  */
/* ────────────────────────────────────────────────────────────── */
.album-buttons .btn.active { background: #0d6efd; color: #fff; }

.watermark-layer,
.watermark-tiled-layer { z-index: 1; }
.watermark-tiled-layer {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cover-content               { z-index: 2; }
.gallery-name,
.view-gallery-button         { z-index: 3; }

.vertical-image,
.horizontal-image { width: 100%; max-height: 100vh; object-fit: cover; }

/* “Previously Downloaded” — pill anchored INSIDE each image */
.watermark-preview-container .downloaded-label,
.downloaded-label {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.68);
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 9999px;
  text-align: center;
  z-index: 14;
  pointer-events: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  display: inline-block;
  max-width: calc(100% - 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

body.public-gallery .watermark-preview-container {
  position: relative !important;
  display: inline-block !important;
  vertical-align: top;
  line-height: 0;
}

/* Mobile: fill available width with safe insets, no translate */
@media (max-width: 640px) {
  .watermark-preview-container .downloaded-label,
  .downloaded-label {
    left: 8px;
    right: 8px;
    transform: none;
    max-width: none;
    padding: .35rem .5rem;
    font-size: clamp(12px, 2.8vw, 14px);
  }
}

/* Download button – icon only, subtle hover, tighter spacing */
.album-content .text-center.my-4 {
  margin-top: .75rem !important;
  margin-bottom: .75rem !important;
}

/* Keep the download button gray (never white) across all states */
.gallery-download-btn,
.gallery-download-btn:hover,
.gallery-download-btn:active,
.gallery-download-btn:focus,
.gallery-download-btn:focus-visible {
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  line-height: 1;
  box-shadow: none !important;
  transform: none !important;
  outline: none;
  color: #6c757d !important;
}
.gallery-download-btn:hover,
.gallery-download-btn:focus,
.gallery-download-btn:active,
.gallery-download-btn.show,
.gallery-download-btn[aria-expanded="true"] {
  color: #343a40 !important;
}
.gallery-download-icon {
  font-size: 2rem;
  color: currentColor;
  transition: color .15s ease-in-out;
}
.gallery-download-btn:focus-visible {
  outline: 2px dotted currentColor;
  outline-offset: 2px;
}

/* ────────────────────────────────────────────────────────────── */
/* 5.  Video thumbnails & misc                                   */
/* ────────────────────────────────────────────────────────────── */
.video-thumbnail-wrapper { position: relative; width: 100%; overflow: hidden; }
.video-thumbnail-container img.video-thumbnail {
  width: 100%; height: auto; display: block;
}
.download-icon {
  position: absolute; top: 10px; right: 10px;
  color: #fff; font-size: 1.5rem; opacity: .8;
  z-index: 2; transition: opacity .2s;
}
.video-thumbnail-wrapper:hover .download-icon { opacity: 1; }
.play-icon-overlay { pointer-events: none; }
.subtle-divider    { border: none; border-top: 1px solid #ddd; width: 80%; margin: 0 auto; opacity: .6; }
.video-item        { flex: 1 1 250px; max-width: 300px; margin: 10px; }

/* Make sure photo select control is always visible on very small screens */
@media (max-width: 768px) {
  .photo-select,
  .photo-select-checkbox { display: block !important; }
}

/* place in public-gallery.css or any global file that loads after Bootstrap */
.notice:empty,
.alert:empty { display: none; }

/* Preview strip uses brand color (only for PREVIEW banner) */
.preview-notice.alert-info {
  background-color: var(--brand-color) !important;
  border-color:   var(--brand-color) !important;
  color: #fff !important;
}

/* ────────────────────────────────────────────────────────────── */
/* 6.  Favorite + Select (dynamic star placement)                 */
/* ────────────────────────────────────────────────────────────── */
.favorite-toggle {
  position: absolute;
  bottom: 12px;
  right: 6px;
  z-index: 12;
  display: grid;
  align-items: center;
  justify-items: end;
  padding-right: 2px;
  width: var(--star-hit-size);
  height: var(--star-hit-size);
  padding-left: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  cursor: pointer;
  transition: opacity .15s ease-in-out, right .15s ease-in-out;
  opacity: 0;
  pointer-events: none;
}
.photo-tile:hover .favorite-toggle,
.masonry-item:hover .favorite-toggle { opacity: 1; pointer-events: auto; }
.favorite-toggle.is-favorited { opacity: 1; pointer-events: auto; }
.photo-tile:has(.photo-select):hover .favorite-toggle,
.photo-tile:has(.select-input:checked) .favorite-toggle {
  right: calc(6px + var(--select-size) + 2px);
}
@media (max-width: 768px) {
  .photo-tile:has(.photo-select) .favorite-toggle {
    right: calc(6px + var(--select-size) + 2px);
  }
}
.favorite-toggle i { grid-area: 1 / 1; font-size: var(--star-font-size); line-height: 1; }
.favorite-toggle .bi-star-fill { color: rgba(0,0,0,.55); z-index: 1; }
.favorite-toggle .bi-star      { color: #fff; z-index: 2; text-shadow: 0 0 2px rgba(0,0,0,.50), 0 0 6px rgba(0,0,0,.25); }
.favorite-toggle.is-favorited .bi-star-fill { color: #fff; z-index: 1; text-shadow: none; }
.favorite-toggle.is-favorited .bi-star      { display: inline; color: #000; z-index: 2; text-shadow: none; }
.favorite-toggle:hover .bi-star,
.favorite-toggle:hover .bi-star-fill { filter: brightness(1.05); }
.favorite-toggle:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid rgba(255,255,255,.8);
  outline-offset: 2px;
}

/* === Select (download) pill ==================================== */
.photo-select {
  z-index: 13;
  position: absolute;
  bottom: calc(12px + (var(--star-hit-size) - var(--select-size)) / 2);
  right: 6px;
  line-height: 1;
  display: none;
}
.masonry-item:hover .photo-select,
.photo-tile:hover .photo-select { display: block; }
.photo-select:has(.select-input:checked) { display: block !important; }
.masonry-item:hover .photo-select-checkbox,
.photo-tile:hover .photo-select-checkbox { display: block; }

.select-input.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.select-pill {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--select-size);
  height: var(--select-size);
  cursor: pointer;
  border-radius: 9999px;
  background: rgba(0,0,0,.55);
  border: 2px solid #fff;
  color: inherit;
  transition: background-color .15s ease-in-out, border-color .15s ease-in-out, transform .1s ease-in-out;
}
.select-pill .bi,
.select-pill .bi-circle,
.select-pill .bi-check-circle-fill { display: none !important; }
.select-pill:hover,
.select-pill:focus-visible { background: rgba(0,0,0,.65); border-color: #fff; }
.select-input:checked + .select-pill { background: rgba(0,0,0,.78); border-color: rgba(255,255,255,.95); }
.select-pill::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: calc(var(--select-size) * .42);
  height: calc(var(--select-size) * .22);
  border: calc(var(--select-size) * .10) solid #fff;
  border-top: 0;
  border-right: 0;
  transform: translate(-50%, -58%) rotate(-45deg);
  display: none;
}
.select-input:checked + .select-pill::after { display: block; }
.select-pill:active { transform: scale(0.97); }

/* ===== GLightbox: full-page pure white, no glow, above navbar ===== */

/* Put the overlay on TOP of any fixed headers */
.glightbox .goverlay,
.glightbox-container { z-index: 999999 !important; }

/* Make the overlay full-bleed solid white */
.glightbox .goverlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #fff !important;       /* no transparency */
  opacity: 1 !important;              /* ignore theme opacity */
}

/* Some themes also color inner wrappers — force them white too */
.glightbox-container,
.glightbox-container .gcontainer,
.glightbox-container .gslider,
.glightbox-container .ginner-container,
.glightbox-container .gslide,
.glightbox-container .gslide-media {
  background: #fff !important;
  box-shadow: none !important;
  filter: none !important;
  border: 0 !important;
}

/* Kill any drop-shadows / glows on the image itself */
.glightbox .gslide-media img,
.glightbox .gslide-image img,
.glightbox .ginner-container img,
.glightbox .gslide-media video,
.glightbox .gslide-media iframe {
  box-shadow: none !important;
  filter: none !important;
  background: transparent !important;
  border: 0 !important;
}

/* Controls readable on white, no shadow halo */
.glightbox .gclose,
.glightbox .gnext,
.glightbox .gprev {
  color: #111 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  background: rgba(255,255,255,0.7) !important;
  border-radius: 999px !important;
}
.glightbox .gclose:hover,
.glightbox .gnext:hover,
.glightbox .gprev:hover { background: rgba(0,0,0,0.06) !important; }

/* Captions/titles dark on white */
.glightbox .gdesc-inner,
.glightbox .gslide-title,
.glightbox .gslide-description,
.glightbox .gcounter {
  color: #111 !important;
  text-shadow: none !important;
}

/* If the “clean” theme adds a panel bg, override it */
.glightbox-clean .gslide-inner-content { background: #fff !important; }

/* Belt & suspenders: when body is in GB open state, keep backdrop white */
html.glightbox-open,
body.glightbox-open { background: #fff !important; }
html.public-location-detail-page body { margin: 0; background: #f5f7f7; }

.public-location-detail,
.public-location-detail * { box-sizing: border-box; }

.public-location-detail {
  --pd-ink: #17252b;
  --pd-muted: #66787e;
  --pd-brand: #3c727e;
  --pd-brand-dark: #285762;
  --pd-line: #dce5e7;
  min-height: 100vh;
  padding: clamp(1rem, 3vw, 2.5rem);
  color: var(--pd-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(60, 114, 126, .1), transparent 26rem),
    var(--location-page-bg, #f5f7f7);
  font-family: var(--location-font, system-ui), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-location-detail.is-modal-view { min-height: 0; padding: clamp(1rem, 2.5vw, 2rem); background: #f7f9f9; }
.public-location-detail__shell { width: min(1160px, 100%); margin: 0 auto; }

.public-location-detail__back {
  display: flex;
  min-height: 34px;
  gap: .55rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  color: #839096;
  font-size: .74rem;
}
.public-location-detail__back a { display: inline-flex; gap: .4rem; align-items: center; color: var(--pd-brand); font-weight: 800; text-decoration: none; }

.public-location-detail__header { margin-bottom: 1.25rem; }
.public-location-detail__eyebrow,
.public-location-facts__eyebrow {
  margin-bottom: .55rem;
  color: var(--pd-brand);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.public-location-detail__title-row { display: flex; align-items: flex-end; gap: 1.5rem; }
.public-location-detail__title-row h1 {
  margin: 0;
  color: var(--pd-ink);
  font-size: clamp(2.25rem, 6vw, 4.7rem);
  font-weight: 690;
  letter-spacing: -.06em;
  line-height: .98;
}
.public-location-detail__title-row p { display: flex; gap: .4rem; margin: .7rem 0 0; align-items: center; color: var(--pd-muted); font-size: .9rem; }

.public-location-detail__badges { display: flex; gap: .45rem; margin-top: 1rem; flex-wrap: wrap; }
.public-location-detail__badges span {
  display: inline-flex;
  gap: .35rem;
  padding: .34rem .58rem;
  align-items: center;
  border: 1px solid #d5e1e3;
  border-radius: 999px;
  color: #536f77;
  background: rgba(255, 255, 255, .75);
  font-size: .68rem;
  font-weight: 750;
}
.public-location-detail__badges .is-seasonal { color: #806022; border-color: #eddeae; background: #fff9e9; }

.public-location-detail__gallery { margin: clamp(1.5rem, 4vw, 2.75rem) 0; }
.public-location-detail__gallery-track {
  width: 100%;
  overflow: hidden;
}
.public-location-detail__gallery-track.flickity-enabled { position: relative; }
.public-location-detail__gallery-track .flickity-viewport {
  position: relative;
  height: clamp(260px, 38vw, 430px) !important;
  overflow: hidden;
}
.public-location-detail__gallery-track .flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}
.public-location-detail__gallery-track:not(.flickity-enabled) {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(76vw, 500px);
  gap: .8rem;
  overflow-x: auto;
  padding: .15rem .15rem .7rem;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(60, 114, 126, .45) transparent;
  scrollbar-width: thin;
  scroll-snap-type: inline mandatory;
}
.public-location-detail__gallery .carousel-cell {
  width: min(76vw, 500px);
  height: 100%;
  margin: 0 .8rem 0 0;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #e4ecee;
  box-shadow: 0 14px 38px rgba(26, 52, 60, .12);
  scroll-snap-align: start;
}
.public-location-detail__gallery-track:not(.flickity-enabled) .carousel-cell {
  width: auto;
  height: clamp(260px, 38vw, 430px);
  margin-right: 0;
}
.public-location-detail__gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.public-location-detail__gallery .carousel-cell:hover img { transform: scale(1.025); }
.public-location-detail__gallery > p { display: flex; gap: .45rem; margin: .25rem 0 0; align-items: center; color: var(--pd-muted); font-size: .72rem; }

.public-location-detail__content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 330px); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.public-location-detail__main { display: grid; gap: 1.25rem; min-width: 0; }

.public-location-panel,
.public-location-facts {
  border: 1px solid rgba(42, 75, 84, .12);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(27, 55, 63, .07);
}
.public-location-panel { padding: clamp(1.1rem, 3vw, 1.6rem); }
.public-location-panel__heading { display: flex; gap: .8rem; margin-bottom: 1.15rem; align-items: center; }
.public-location-panel__heading > span { display: grid; width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; place-items: center; border-radius: .75rem; color: var(--pd-brand); background: #eaf3f4; }
.public-location-panel__heading h2 { margin: 0; color: var(--pd-ink); font-size: 1.1rem; font-weight: 780; letter-spacing: -.02em; }
.public-location-panel__heading p { margin: .12rem 0 0; color: var(--pd-muted); font-size: .76rem; }

.public-location-detail__rich-text,
.public-location-detail__empty-copy { color: #475b62; font-size: .9rem; line-height: 1.75; }
.public-location-detail__rich-text > :last-child { margin-bottom: 0; }

.public-location-detail__address-row { display: flex; gap: 1rem; margin-bottom: .85rem; padding: .85rem 1rem; align-items: center; justify-content: space-between; border: 1px solid #dee7e9; border-radius: .8rem; background: #f7f9f9; }
.public-location-detail__address-row div { display: flex; min-width: 0; flex-direction: column; }
.public-location-detail__address-row small { color: #829095; font-size: .6rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.public-location-detail__address-row strong { overflow: hidden; color: #3d5259; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.public-location-detail__address-row a { display: inline-flex; flex: 0 0 auto; gap: .4rem; color: var(--pd-brand); font-size: .72rem; font-weight: 800; text-decoration: none; }
.public-location-detail__map { width: 100%; height: clamp(280px, 38vw, 410px); overflow: hidden; border-radius: .9rem; background: #e6edef; }

.public-location-facts { position: sticky; top: 1.25rem; padding: 1.35rem; }
.public-location-facts h2 { margin: .45rem 0 1.1rem; font-size: 1.22rem; font-weight: 780; letter-spacing: -.025em; }
.public-location-facts dl { display: grid; gap: 0; margin: 0; }
.public-location-facts dl > div { padding: .9rem 0; border-top: 1px solid var(--pd-line); }
.public-location-facts dt { display: flex; gap: .4rem; margin-bottom: .45rem; align-items: center; color: #718288; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.public-location-facts dd { display: flex; margin: 0; flex-direction: column; }
.public-location-facts dd strong { color: #354c53; font-size: .86rem; }
.public-location-facts dd > span { margin-top: .2rem; color: #77868b; font-size: .72rem; line-height: 1.45; }
.public-location-facts__sessions { display: flex; gap: .35rem; flex-wrap: wrap; }
.public-location-facts__sessions span { padding: .28rem .48rem; border-radius: .42rem; color: #3f6972; background: #eaf3f4; font-size: .68rem; font-weight: 750; }
.public-location-facts__booking-link { display: flex; min-height: 44px; margin-top: 1rem; padding: .65rem .8rem; align-items: center; justify-content: center; gap: .45rem; border-radius: .72rem; color: #fff; background: var(--pd-brand); font-size: .78rem; font-weight: 800; text-decoration: none; }
.public-location-facts__booking-link:hover { color: #fff; background: var(--pd-brand-dark); }

.public-location-detail__bottom-nav { display: flex; margin-top: 1.5rem; justify-content: center; }
.public-location-detail__bottom-nav a { display: inline-flex; min-height: 44px; padding: .65rem 1rem; align-items: center; gap: .45rem; border: 1px solid #cadadd; border-radius: .72rem; color: var(--pd-brand); background: #fff; font-size: .78rem; font-weight: 800; text-decoration: none; }
.public-location-detail__bottom-nav a:hover { border-color: var(--pd-brand); color: var(--pd-brand-dark); }

@media (max-width: 800px) {
  .public-location-detail__content-grid { grid-template-columns: 1fr; }
  .public-location-facts { position: static; order: -1; }
}

@media (max-width: 576px) {
  .public-location-detail { padding: 1rem; }
  .public-location-detail__gallery .carousel-cell { width: 86vw; border-radius: .9rem; }
  .public-location-detail__gallery-track:not(.flickity-enabled) { grid-auto-columns: 86vw; }
  .public-location-detail__gallery-track:not(.flickity-enabled) .carousel-cell,
  .public-location-detail__gallery-track .flickity-viewport { height: 270px !important; }
  .public-location-detail__address-row { align-items: flex-start; flex-direction: column; }
  .public-location-detail__address-row strong { white-space: normal; }
  .public-location-detail__address-row a { min-height: 38px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .public-location-detail * { transition: none !important; }
}
html.public-locations-page,
html.public-locations-page body { min-height: 100%; }

html.public-locations-page body {
  margin: 0;
  color: #17252b;
  background: #f5f7f7;
}

.public-locations-directory,
.public-locations-directory * { box-sizing: border-box; }

.public-locations-directory {
  --pl-ink: #17252b;
  --pl-muted: #66787e;
  --pl-brand: #3c727e;
  --pl-brand-dark: #285762;
  --pl-line: #dce5e7;
  min-height: 100vh;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  color: var(--pl-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(60, 114, 126, .1), transparent 28rem),
    var(--locations-page-bg, #f5f7f7);
  font-family: var(--locations-font, system-ui), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-locations-directory__masthead {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2rem, 5vw, 4.5rem);
}

.public-locations-directory__brand {
  display: flex;
  min-height: 42px;
  margin-bottom: clamp(2.5rem, 7vw, 5.5rem);
  align-items: center;
  color: var(--pl-ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.public-locations-directory__brand img {
  display: block;
  width: auto;
  max-width: min(240px, 60vw);
  max-height: 56px;
  object-fit: contain;
}

.public-locations-directory__intro { max-width: 840px; }
.public-locations-directory__eyebrow {
  margin-bottom: .75rem;
  color: var(--pl-brand);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.public-locations-directory__intro h1 {
  max-width: 800px;
  margin: 0;
  color: var(--pl-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.public-locations-directory__intro p {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: var(--pl-muted);
  font-size: clamp(.98rem, 2vw, 1.13rem);
  line-height: 1.7;
}

.public-locations-directory__summary {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid rgba(60, 114, 126, .16);
  border-radius: .95rem;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 32px rgba(28, 56, 64, .06);
  backdrop-filter: blur(10px);
}

.public-locations-directory__summary div {
  display: flex;
  min-width: 108px;
  padding: .75rem 1rem;
  flex-direction: column;
}
.public-locations-directory__summary div + div { border-left: 1px solid var(--pl-line); }
.public-locations-directory__summary strong { color: var(--pl-ink); font-size: 1.1rem; font-weight: 800; }
.public-locations-directory__summary span { color: var(--pl-muted); font-size: .7rem; font-weight: 650; text-transform: lowercase; }

.public-locations-directory__main {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.public-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.public-location-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 71, 80, .12);
  border-radius: 1.25rem;
  flex-direction: column;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 45px rgba(25, 52, 60, .08);
  transition: box-shadow .25s ease, transform .25s ease;
}
.public-location-card:hover { box-shadow: 0 24px 55px rgba(25, 52, 60, .14); transform: translateY(-4px); }

.public-location-card__media {
  position: relative;
  display: block;
  height: clamp(240px, 31vw, 370px);
  overflow: hidden;
  color: var(--pl-brand);
  background: linear-gradient(135deg, #e7f0f1, #d5e5e7);
  text-decoration: none;
}
.public-location-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.public-location-card:hover .public-location-card__media img { transform: scale(1.025); }
.public-location-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; font-size: 2.2rem; opacity: .55; }

.public-location-card__availability {
  position: absolute;
  display: inline-flex;
  gap: .42rem;
  right: .85rem;
  bottom: .85rem;
  padding: .38rem .62rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  color: #23383e;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 6px 16px rgba(17, 37, 44, .14);
  font-size: .7rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.public-location-card__availability > span { width: 7px; height: 7px; border-radius: 50%; background: #2d9b70; }
.public-location-card__availability.is-off-season > span { background: #c7862d; }

.public-location-card__body { display: flex; padding: clamp(1.15rem, 2.5vw, 1.5rem); flex: 1; flex-direction: column; }
.public-location-card__badges { display: flex; min-height: 25px; gap: .4rem; flex-wrap: wrap; }
.public-location-card__badges span {
  display: inline-flex;
  gap: .3rem;
  padding: .28rem .5rem;
  align-items: center;
  border: 1px solid #d9e4e6;
  border-radius: 999px;
  color: #557078;
  background: #f5f9f9;
  font-size: .65rem;
  font-weight: 750;
  line-height: 1;
}
.public-location-card__badges .is-seasonal { color: #806022; border-color: #eddeae; background: #fff9e9; }

.public-location-card h2 { margin: .8rem 0 .25rem; color: var(--pl-ink); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 760; letter-spacing: -.035em; }
.public-location-card__address { margin: 0; color: #60757c; font-size: .82rem; }
.public-location-card__excerpt { margin: .85rem 0 0; color: #53676e; font-size: .86rem; line-height: 1.65; }

.public-location-card__meta { display: grid; gap: .7rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #e5ebec; }
.public-location-card__meta > div { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: .75rem; align-items: start; }
.public-location-card__meta > div > span { color: #7a898e; font-size: .66rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.public-location-card__meta strong { color: #40565d; font-size: .76rem; font-weight: 650; line-height: 1.5; }
.public-location-card__sessions { display: flex; gap: .3rem; flex-wrap: wrap; }
.public-location-card__sessions b { padding: .22rem .42rem; border-radius: .35rem; color: #3c6973; background: #eaf3f4; font-size: .66rem; font-weight: 750; }

.public-location-card__actions { display: flex; gap: .65rem; margin-top: auto; padding-top: 1.25rem; align-items: stretch; }
.public-location-card__primary,
.public-location-card__map {
  display: inline-flex;
  min-height: 43px;
  padding: .65rem .85rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: .7rem;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.public-location-card__primary { flex: 1; color: #fff; background: var(--pl-brand); }
.public-location-card__primary:hover { color: #fff; background: var(--pl-brand-dark); }
.public-location-card__map { border: 1px solid #cadadd; color: var(--pl-brand); background: #fff; }
.public-location-card__map:hover { border-color: var(--pl-brand); color: var(--pl-brand-dark); background: #f3f8f8; }

.public-locations-empty {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  border: 1px dashed #bfcfd2;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, .7);
  text-align: center;
}
.public-locations-empty > span { display: grid; width: 4rem; height: 4rem; margin: 0 auto 1rem; place-items: center; border-radius: 1.15rem; color: var(--pl-brand); background: #e7f1f2; font-size: 1.5rem; }
.public-locations-empty h2 { margin: 0; font-size: 1.35rem; font-weight: 760; }
.public-locations-empty p { margin: .45rem 0 0; color: var(--pl-muted); }

.public-locations-directory__footer {
  display: flex;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(44, 78, 87, .15);
  color: var(--pl-muted);
  font-size: .72rem;
}
.public-locations-directory__footer a { display: inline-flex; gap: .4rem; align-items: center; color: var(--pl-brand); font-weight: 800; text-decoration: none; }

@media (max-width: 760px) {
  .public-location-grid { grid-template-columns: 1fr; }
  .public-locations-directory__brand { margin-bottom: 3rem; }
  .public-location-card__media { height: clamp(235px, 70vw, 350px); }
}

@media (max-width: 480px) {
  .public-locations-directory__summary { width: 100%; }
  .public-locations-directory__summary div { min-width: 0; padding: .65rem .7rem; flex: 1; }
  .public-location-card__meta > div { grid-template-columns: 82px minmax(0, 1fr); }
  .public-location-card__actions { flex-direction: column; }
  .public-locations-directory__footer { align-items: flex-start; flex-direction: column; gap: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .public-locations-directory * { transition: none !important; }
}
/* Public session-category detail — also rendered inside the booking-page modal. */
.public-category-detail {
  --pc-ink: #17252b;
  --pc-muted: #65767c;
  --pc-brand: #3c727e;
  --pc-brand-dark: #285762;
  --pc-tint: #eef6f7;
  --pc-line: #dce6e8;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--pc-ink);
  background: #fff;
}

.public-category-detail__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.public-category-detail__eyebrow,
.public-category-book-card__eyebrow,
.public-category-submodal__eyebrow {
  color: var(--pc-brand, #3c727e);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.public-category-detail__title {
  margin: .3rem 0 0;
  color: var(--pc-ink);
  font-size: clamp(2rem, 5vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.public-category-detail__price {
  flex: 0 0 auto;
  padding: .7rem .9rem;
  border: 1px solid var(--pc-line);
  border-radius: .85rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 48, 56, .06);
  text-align: right;
}

.public-category-detail__price span {
  display: block;
  color: var(--pc-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.public-category-detail__price strong {
  display: block;
  margin-top: .1rem;
  color: var(--pc-ink);
  font-size: 1.15rem;
}

.public-category-gallery {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.public-category-gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72vw, 420px);
  gap: .75rem;
  overflow-x: auto;
  padding: .15rem .15rem .7rem;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(60, 114, 126, .45) transparent;
  scrollbar-width: thin;
  scroll-snap-type: inline mandatory;
}

.public-category-gallery__item {
  height: clamp(220px, 31vw, 340px);
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #eef2f3;
  box-shadow: 0 10px 28px rgba(22, 46, 54, .1);
  scroll-snap-align: start;
}

.public-category-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.public-category-gallery__item:hover .public-category-gallery__image { transform: scale(1.025); }

.public-category-gallery__hint {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: .25rem 0 0;
  color: var(--pc-muted);
  font-size: .78rem;
}

.public-category-detail__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 315px);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.public-category-detail__main {
  display: grid;
  gap: 2rem;
  min-width: 0;
}

.public-category-section {
  min-width: 0;
}

.public-category-section + .public-category-section {
  padding-top: 2rem;
  border-top: 1px solid var(--pc-line);
}

.public-category-section__heading {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.public-category-section__icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  place-items: center;
  border-radius: .8rem;
  color: var(--pc-brand);
  background: var(--pc-tint);
  font-size: 1.05rem;
}

.public-category-section__heading h2 {
  margin: 0;
  color: var(--pc-ink);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -.015em;
}

.public-category-section__heading p {
  margin: .15rem 0 0;
  color: var(--pc-muted);
  font-size: .86rem;
}

.public-category-rich-text,
.public-category-empty-copy {
  color: #42555c;
  font-size: .96rem;
  line-height: 1.75;
}

.public-category-rich-text > :last-child { margin-bottom: 0; }

.public-category-locations,
.public-category-packages {
  display: grid;
  gap: .8rem;
}

.public-category-location-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--pc-line);
  border-radius: 1rem;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.public-category-location-card:hover {
  border-color: rgba(60, 114, 126, .45);
  box-shadow: 0 12px 28px rgba(28, 62, 71, .09);
  transform: translateY(-2px);
}

.public-category-location-card__media {
  min-height: 142px;
  background: linear-gradient(135deg, #e8f1f2, #d8e8ea);
}

.public-category-location-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-category-location-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(60, 114, 126, .5);
  font-size: 1.6rem;
}

.public-category-location-card__content {
  display: flex;
  min-width: 0;
  padding: .9rem 1rem;
  flex-direction: column;
  align-items: flex-start;
}

.public-category-location-card__badges {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.public-category-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .24rem .48rem;
  border: 1px solid #d5e2e4;
  border-radius: 999px;
  color: #52676e;
  background: #f6f9f9;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1;
}

.public-category-chip--seasonal { color: #816020; background: #fff9e9; border-color: #f0dfac; }
.public-category-chip--available { color: #2b6a51; background: #edf8f3; border-color: #cde8dc; }

.public-category-location-card h3 {
  margin: .55rem 0 .2rem;
  color: var(--pc-ink);
  font-size: 1rem;
  font-weight: 750;
}

.public-category-location-card p {
  display: flex;
  min-width: 0;
  gap: .4rem;
  margin: 0 0 .65rem;
  color: var(--pc-muted);
  font-size: .78rem;
}

.public-category-location-card__link,
.public-category-package__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  color: var(--pc-brand);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.public-category-location-card__link:hover,
.public-category-package__link:hover { color: var(--pc-brand-dark); }

.public-category-package {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1rem;
  border: 1px solid var(--pc-line);
  border-radius: .85rem;
  background: #fff;
}

.public-category-package h3 { margin: 0; color: var(--pc-ink); font-size: .95rem; font-weight: 750; }
.public-category-package p { margin: .2rem 0 0; color: var(--pc-muted); font-size: .82rem; }

.public-category-book-card {
  position: sticky;
  top: 1.25rem;
  padding: 1.4rem;
  border: 1px solid rgba(60, 114, 126, .2);
  border-radius: 1.2rem;
  color: var(--pc-ink);
  background: linear-gradient(145deg, #f7fbfb, #eaf4f5);
  box-shadow: 0 18px 45px rgba(30, 65, 75, .11);
}

.public-category-book-card h2 { margin: .55rem 0 .45rem; font-size: 1.25rem; font-weight: 750; }
.public-category-book-card > p { margin: 0 0 1rem; color: var(--pc-muted); font-size: .86rem; line-height: 1.55; }

.public-category-book-card__button {
  display: flex;
  min-height: 46px;
  padding: .7rem 1rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: .75rem;
  color: #fff;
  background: var(--pc-brand);
  box-shadow: 0 8px 18px rgba(60, 114, 126, .2);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.public-category-book-card__button:hover { color: #fff; background: var(--pc-brand-dark); transform: translateY(-1px); }

.public-category-book-card__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: .8rem;
  color: var(--pc-muted);
  font-size: .72rem;
}

.public-category-submodal {
  --pc-brand: #3c727e;
  overflow: hidden;
  border: 0;
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 38, 45, .25);
}

.public-category-submodal .modal-header {
  padding: 1rem 1.25rem;
  border-bottom-color: #e3eaec;
  background: #fff;
}

.public-category-submodal .modal-title { margin-top: .2rem; font-size: 1.05rem; font-weight: 750; }
.public-category-submodal .modal-body { padding: 0; background: #f7f9f9; }

#sessionCategoryDetailModal .modal-content { background: #fff; }
#sessionCategoryDetailModal .modal-body { padding: 0; background: #fff; }
#sessionCategoryDetailModal .modal-dialog { width: min(1180px, calc(100% - 2rem)); }
#sessionCategoryDetailModal .booking-detail-modal {
  overflow: hidden;
  border: 0;
  border-radius: 1.2rem;
  box-shadow: 0 28px 80px rgba(17, 37, 44, .26);
}
#sessionCategoryDetailModal > .modal-dialog > .modal-content > .modal-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom-color: #e4eaec;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.booking-detail-modal__eyebrow {
  margin-bottom: .15rem;
  color: #3c727e;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.booking-detail-modal__header .modal-title { color: #17252b; font-size: 1rem; font-weight: 750; }

@media (min-width: 920px) {
  .public-category-gallery__track:has(.public-category-gallery__item:only-child) {
    grid-auto-columns: min(100%, 680px);
  }
}

@media (max-width: 800px) {
  .public-category-detail__body { grid-template-columns: 1fr; }
  .public-category-book-card { position: static; order: -1; }
}

@media (max-width: 576px) {
  #sessionCategoryDetailModal .modal-dialog { width: auto; height: calc(100% - 1rem); margin: .5rem; }
  #sessionCategoryDetailModal .booking-detail-modal { border-radius: .9rem; }
  .public-category-detail { padding: 1rem; }
  .public-category-detail__header { align-items: flex-start; flex-direction: column; gap: .85rem; }
  .public-category-detail__price { width: 100%; text-align: left; }
  .public-category-gallery__track { grid-auto-columns: 84vw; }
  .public-category-gallery__item { height: 245px; border-radius: .8rem; }
  .public-category-location-card { grid-template-columns: 106px minmax(0, 1fr); }
  .public-category-location-card__media { min-height: 160px; }
  .public-category-section__heading { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .public-category-detail * { scroll-behavior: auto !important; transition: none !important; }
}
.public-photo-session-page,
.public-photo-session-page body {
  min-height: 100%;
  background: #f4f7f7;
}

.ps-public {
  --ps-ink: #17272c;
  --ps-muted: #65777d;
  --ps-brand: #3c727e;
  --ps-brand-dark: #285762;
  --ps-accent: #ed9517;
  --ps-line: #dce5e6;
  min-height: 100vh;
  padding: clamp(.85rem, 2.6vw, 2.2rem);
  color: var(--ps-ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(60,114,126,.12), transparent 28rem),
    var(--ps-page-bg, #f4f7f7);
  font-family: var(--ps-font, system-ui), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ps-shell { width: min(1120px, 100%); margin-inline: auto; }

.ps-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  margin-bottom: 1rem;
}
.ps-brand__identity { display: inline-flex; align-items: center; gap: .7rem; }
.ps-brand__logo { display: block; width: auto; max-width: 230px; max-height: 58px; object-fit: contain; }
.ps-brand__label { display: inline-flex; align-items: center; gap: .4rem; color: var(--ps-muted); font-size: .78rem; font-weight: 700; }
.ps-brand__label i { color: var(--ps-brand); }

.ps-hero-flickity { position: relative; margin-bottom: 1.15rem; }
.ps-hero-carousel { width: 100%; overflow: hidden; border-radius: 22px; }
.ps-hero-flickity .flickity-viewport { height: clamp(260px, 38vw, 450px) !important; }
.ps-hero-flickity .flickity-slider { height: 100%; }
.ps-hero-carousel .carousel-cell {
  display: block;
  width: 54%;
  height: 100%;
  margin: 0 .35rem 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: #dfe7e8;
}
.ps-hero-flickity[data-count="1"] .carousel-cell { width: 100%; margin-right: 0; }
.ps-hero-flickity[data-count="2"] .carousel-cell { width: calc(64% - .35rem); }
.ps-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-hero-carousel:not(.flickity-enabled) { display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.ps-hero-carousel:not(.flickity-enabled) .carousel-cell { flex: 0 0 54%; scroll-snap-align: start; }
.ps-hero-flickity[data-count="1"] .ps-hero-carousel:not(.flickity-enabled) .carousel-cell { flex-basis: 100%; }
.ps-gallery-hint { position: absolute; right: .85rem; bottom: .75rem; z-index: 2; display: inline-flex; align-items: center; gap: .38rem; margin: 0; padding: .42rem .62rem; border-radius: 999px; color: #fff; background: rgba(17,39,44,.78); backdrop-filter: blur(8px); font-size: .69rem; font-weight: 750; }
.ps-hero-flickity .flickity-prev-next-button { width: 38px; height: 38px; background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(23,39,44,.2); }
.ps-hero-flickity .flickity-page-dots { bottom: 12px; }
.ps-hero-flickity .flickity-page-dots .dot { width: 7px; height: 7px; margin: 0 4px; background: #fff; opacity: .6; }
.ps-hero-flickity .flickity-page-dots .dot.is-selected { opacity: 1; }

.ps-content { display: grid; gap: 1.15rem; }
.ps-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.35rem, 3.8vw, 2.4rem);
  border: 1px solid rgba(37,84,94,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 16px 45px rgba(28,61,68,.08);
}
.ps-eyebrow { display: block; margin-bottom: .45rem; color: var(--ps-brand); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.ps-title { margin: 0; max-width: 760px; color: var(--ps-ink); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.03; letter-spacing: -.045em; }
.ps-intro p { max-width: 620px; margin: .75rem 0 0; color: var(--ps-muted); font-size: .95rem; }
.ps-intro__badges { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .45rem; }
.ps-intro__badges span { display: inline-flex; align-items: center; gap: .38rem; padding: .42rem .62rem; border-radius: 999px; color: var(--ps-brand-dark); background: #e8f1f2; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.ps-intro__badges span.is-muted { color: #5b6568; background: #edf0f0; }

.ps-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--ps-line);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 28px rgba(28,61,68,.055);
}
.ps-summary > div { min-width: 0; padding: 1rem 1.2rem; }
.ps-summary > div + div { border-left: 1px solid var(--ps-line); }
.ps-summary span { display: flex; align-items: center; gap: .4rem; margin-bottom: .25rem; color: var(--ps-muted); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ps-summary span i { color: var(--ps-brand); }
.ps-summary strong,
.ps-summary small { display: block; }
.ps-summary strong { overflow: hidden; font-size: .91rem; text-overflow: ellipsis; white-space: nowrap; }
.ps-summary small { margin-top: .12rem; color: var(--ps-muted); font-size: .72rem; }

.ps-card { padding: clamp(1.2rem, 3vw, 1.7rem); border: 1px solid var(--ps-line); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 12px 34px rgba(28,61,68,.06); }
.ps-section-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.15rem; }
.ps-section-heading > span { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--ps-brand-dark); background: #e8f1f2; }
.ps-section-heading h2 { margin: 0; color: var(--ps-ink); font-size: 1.05rem; font-weight: 850; }
.ps-section-heading p { margin: .12rem 0 0; color: var(--ps-muted); font-size: .79rem; }
.ps-text { color: #46585e; line-height: 1.72; }
.ps-text > :last-child { margin-bottom: 0; }

.ps-kv { display: grid; margin: 0; }
.ps-kv-row { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 1rem; align-items: start; padding: .85rem 0; border-top: 1px solid var(--ps-line); }
.ps-kv-row dt { margin: 0; color: var(--ps-muted); font-size: .78rem; font-weight: 750; }
.ps-kv-row dd { margin: 0; color: var(--ps-ink); font-size: .9rem; }
.ps-kv-compact .ps-kv-row { padding: .55rem 0; }
.ps-location-value { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ps-location-value strong,
.ps-location-value span { display: block; }
.ps-location-value span { margin-top: .1rem; color: var(--ps-muted); font-size: .78rem; }
.ps-inline-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--ps-brand-dark); font-size: .78rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ps-inline-link:hover { color: var(--ps-accent); }

.ps-packages .row { margin-top: -.15rem; }
.ps-package { height: 100%; padding: 1rem; border: 1px solid var(--ps-line); border-radius: 15px; background: #fbfcfc; }
.ps-package-title { margin: 0; color: var(--ps-ink); font-size: .92rem; font-weight: 800; }
.ps-price { padding: .25rem .48rem; border-radius: 8px; color: var(--ps-brand-dark); background: #e8f1f2; font-size: .73rem; font-weight: 800; }
.ps-package .btn { border-color: #b8cccf; border-radius: 9px; color: var(--ps-brand-dark); font-size: .72rem; font-weight: 750; }
.ps-package .btn:hover { border-color: var(--ps-brand); color: #fff; background: var(--ps-brand); }

.ps-date-block { padding: 1rem; border: 1px solid var(--ps-line); border-radius: 15px; background: #fbfcfc; }
.ps-date-block + .ps-date-block { margin-top: .75rem; }
.ps-date-heading { margin-bottom: .75rem; color: var(--ps-ink); font-size: .9rem; font-weight: 850; }
.timeslot-button { display: flex !important; width: 100%; min-height: 48px; padding: .58rem .72rem; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent !important; border-radius: 11px !important; color: #fff !important; background: var(--ps-brand) !important; font-size: .82rem !important; font-weight: 800 !important; line-height: 1.15; transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease; }
.timeslot-button:not(:disabled):hover { background: var(--ps-brand-dark) !important; box-shadow: 0 6px 15px rgba(40,87,98,.18); transform: translateY(-1px); }
.timeslot-button.selected { border-color: #fff !important; background: var(--ps-accent) !important; box-shadow: 0 0 0 3px rgba(237,149,23,.25); }
.timeslot-button:focus-visible { box-shadow: 0 0 0 3px rgba(60,114,126,.25); }
.timeslot-button__time { min-width: 0; }
.timeslot-button__status { flex: 0 0 auto; padding: .2rem .38rem; border-radius: 999px; color: #5f686b; background: rgba(255,255,255,.72); font-size: .62rem; font-weight: 850; letter-spacing: .025em; white-space: nowrap; }
.timeslot-button.is-booked,
.timeslot-button.is-booking-in-progress,
.timeslot-button.is-unavailable,
.timeslot-button:disabled:not(.is-available) { border-color: #d7dfe0 !important; color: #707b7e !important; background: #e9edee !important; box-shadow: none !important; cursor: not-allowed; opacity: 1 !important; transform: none !important; }
.timeslot-button.is-booking-in-progress { color: #778184 !important; background: #f0f2f2 !important; }
.ps-waitlist-cta { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--ps-line); }
.ps-waitlist-cta p { margin: 0; color: var(--ps-muted); font-size: .78rem; }
.ps-waitlist-cta .btn { border-color: #abc1c5; border-radius: 9px; color: var(--ps-brand-dark); font-size: .72rem; font-weight: 800; }

.ps-public button[data-timeslot-status-target="bookButton"],
.ps-public button[data-target="timeslot_status.bookButton"] {
  position: fixed;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 1000;
  display: none;
  width: min(260px, 90vw);
  min-height: 48px;
  margin: auto;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--ps-accent);
  box-shadow: 0 10px 26px rgba(23,39,44,.24);
  font-weight: 850;
}
.ps-public button[data-timeslot-status-target="bookButton"]:hover,
.ps-public button[data-target="timeslot_status.bookButton"]:hover { background: #d97f06; }

.ps-task-list { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.ps-task-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-height: 68px; padding: .72rem; border: 1px solid #ead9bf; border-radius: 14px; background: #fffaf2; }
.ps-task-list__icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #9a5e0a; background: #ffedcf; }
.ps-task-list strong,
.ps-task-list small { display: block; }
.ps-task-list strong { font-size: .86rem; }
.ps-task-list small { margin-top: .1rem; color: var(--ps-muted); font-size: .73rem; }
.ps-task-list form { margin: 0; }
.ps-task-list__action { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; margin: 0; padding: .48rem .7rem; border: 0; border-radius: 9px; color: #fff; background: var(--ps-accent); font: inherit; font-size: .72rem; font-weight: 850; line-height: 1; text-decoration: none; cursor: pointer; }
.ps-task-list__action:hover { color: #fff; background: #d97f06; }

.ps-public .modal-content { overflow: hidden; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(23,39,44,.24); }
.ps-public .modal-header { border-bottom-color: var(--ps-line); }
.ps-public .modal-title { color: var(--ps-ink); font-weight: 800; }
.ps-public .wl-date-btn { border-radius: 10px; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.ps-public .wl-date-btn[aria-pressed="true"],
.ps-public .wl-date-btn.wl-selected { border-color: var(--ps-accent) !important; color: #fff !important; background: var(--ps-accent) !important; box-shadow: 0 0 0 .18rem rgba(237,149,23,.26); }
.ps-public .wl-date-btn[disabled] { opacity: .5; pointer-events: none; }

.ps-footer { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: 1rem 0 .35rem; color: var(--ps-muted); font-size: .75rem; }
.ps-footer span { display: inline-flex; align-items: center; gap: .35rem; }
.ps-footer img { display: block; width: auto; }

@media (max-width: 720px) {
  .ps-brand__label { font-size: 0; }
  .ps-brand__label i { font-size: 1rem; }
  .ps-brand__logo { max-width: 160px; max-height: 48px; }
  .ps-intro { align-items: start; flex-direction: column; }
  .ps-intro__badges { justify-content: flex-start; }
  .ps-summary { grid-template-columns: 1fr; }
  .ps-summary > div + div { border-top: 1px solid var(--ps-line); border-left: 0; }
  .ps-location-value { align-items: flex-start; flex-direction: column; }
  .ps-task-list li { grid-template-columns: 38px minmax(0, 1fr); }
  .ps-task-list li > form,
  .ps-task-list li > .ps-task-list__action { grid-column: 2; justify-self: start; }
}

@media (max-width: 480px) {
  .timeslot-button { min-height: 52px; padding-inline: .55rem; flex-direction: column; gap: .22rem; }
  .timeslot-button__status { padding: .15rem .34rem; font-size: .58rem; }
  .ps-waitlist-cta { align-items: stretch; flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .ps-public { padding: .75rem; }
  .ps-hero-carousel { border-radius: 18px; }
  .ps-hero-flickity .flickity-viewport { height: clamp(235px, 72vw, 340px) !important; }
  .ps-hero-carousel .carousel-cell,
  .ps-hero-flickity[data-count="2"] .carousel-cell { width: 88%; border-radius: 15px; }
  .ps-hero-flickity[data-count="1"] .carousel-cell { width: 100%; }
  .ps-intro,
  .ps-card { border-radius: 17px; }
  .ps-kv-row { grid-template-columns: 100px minmax(0, 1fr); }
  .ps-gallery-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ps-public * { scroll-behavior: auto !important; transition: none !important; }
}
.public-timeslot-detail-page,
.public-timeslot-detail-page body {
  min-height: 100%;
  background: #f4f7f7;
}

.public-timeslot-detail {
  --pt-ink: #17272c;
  --pt-muted: #65777d;
  --pt-brand: #3c727e;
  --pt-brand-dark: #285762;
  --pt-accent: #ed9517;
  --pt-line: #dce5e6;
  min-height: 100vh;
  padding: clamp(1rem, 3vw, 2.5rem);
  color: var(--pt-ink);
  background:
    radial-gradient(circle at 9% 4%, rgba(60, 114, 126, .12), transparent 25rem),
    var(--pt-page-bg, #f4f7f7);
  font-family: var(--pt-font, system-ui), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-timeslot-detail__shell { max-width: 1120px; margin: 0 auto; }

.public-timeslot-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  margin-bottom: 1.15rem;
}

.public-timeslot-brand a { text-decoration: none; }
.public-timeslot-brand__identity { display: inline-flex; align-items: center; gap: .7rem; color: var(--pt-ink); }
.public-timeslot-brand__logo { display: block; width: auto; max-width: 230px; max-height: 60px; object-fit: contain; }
.public-timeslot-brand__back { display: inline-flex; align-items: center; gap: .45rem; color: var(--pt-brand-dark); font-size: .88rem; font-weight: 750; }
.public-timeslot-brand__back:hover { color: var(--pt-accent); }

.public-timeslot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem 2rem;
  padding: clamp(1.5rem, 4vw, 3.15rem);
  overflow: hidden;
  border: 1px solid rgba(37, 84, 94, .16);
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(255,255,255,.98), rgba(244,249,249,.94)),
    #fff;
  box-shadow: 0 20px 55px rgba(28, 61, 68, .1);
}

.public-timeslot-eyebrow {
  display: block;
  margin-bottom: .55rem;
  color: var(--pt-brand);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.public-timeslot-hero h1 { max-width: 720px; margin: 0; font-size: clamp(2rem, 5vw, 3.55rem); line-height: 1.02; letter-spacing: -.045em; }
.public-timeslot-hero__copy > p { max-width: 590px; margin: .9rem 0 0; color: var(--pt-muted); font-size: 1rem; }

.public-timeslot-status {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: #fff4e5;
  color: #8d570d;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}
.public-timeslot-status.is-complete { color: #24614e; background: #e6f4ee; }

.public-timeslot-schedule {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--pt-line);
  border-radius: 16px;
  background: #fff;
}
.public-timeslot-schedule > div { min-width: 0; padding: 1.05rem 1.2rem; }
.public-timeslot-schedule > div + div { border-left: 1px solid var(--pt-line); }
.public-timeslot-schedule span { display: flex; align-items: center; gap: .42rem; margin-bottom: .28rem; color: var(--pt-muted); font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.public-timeslot-schedule span i { color: var(--pt-brand); }
.public-timeslot-schedule strong { display: block; overflow: hidden; font-size: .96rem; text-overflow: ellipsis; white-space: nowrap; }

.public-timeslot-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .8fr); gap: 1.25rem; margin-top: 1.25rem; align-items: start; }
.public-timeslot-main { display: grid; gap: 1.25rem; }
.public-timeslot-panel,
.public-timeslot-next { border: 1px solid var(--pt-line); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 12px 34px rgba(28, 61, 68, .07); }
.public-timeslot-panel { padding: clamp(1.2rem, 3vw, 1.65rem); }
.public-timeslot-panel__heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.public-timeslot-panel__heading > span { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--pt-brand-dark); background: #e8f1f2; }
.public-timeslot-panel__heading h2 { margin: 0; font-size: 1.03rem; font-weight: 800; }
.public-timeslot-panel__heading p { margin: .15rem 0 0; color: var(--pt-muted); font-size: .82rem; }

.public-timeslot-facts { margin: 0; }
.public-timeslot-facts > div { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--pt-line); }
.public-timeslot-facts dt { color: var(--pt-muted); font-size: .79rem; font-weight: 750; }
.public-timeslot-facts dd { margin: 0; }
.public-timeslot-facts dd strong,
.public-timeslot-facts dd span { display: block; }
.public-timeslot-facts dd span { margin-top: .12rem; color: var(--pt-muted); font-size: .83rem; }
.public-timeslot-packages { display: flex; flex-wrap: wrap; gap: .4rem; }
.public-timeslot-packages span { margin: 0 !important; padding: .35rem .6rem; border-radius: 999px; color: var(--pt-brand-dark) !important; background: #e8f1f2; font-size: .75rem !important; font-weight: 750; }

.public-timeslot-location__address { display: flex; align-items: flex-start; gap: .48rem; margin: -.2rem 0 1.1rem; color: var(--pt-muted); font-size: .88rem; }
.public-timeslot-location__address i { margin-top: .05rem; color: var(--pt-brand); }
.public-timeslot-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--pt-brand-dark); font-size: .86rem; font-weight: 800; text-decoration: none; }
.public-timeslot-link:hover { color: var(--pt-accent); }

.public-timeslot-next { position: sticky; top: 1rem; padding: clamp(1.3rem, 3vw, 1.75rem); }
.public-timeslot-next h2 { margin: 0; font-size: 1.35rem; font-weight: 850; }
.public-timeslot-next__intro { margin: .45rem 0 1.1rem; color: var(--pt-muted); font-size: .86rem; }
.public-timeslot-checklist { display: grid; gap: .55rem; }
.public-timeslot-task { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: .65rem; min-height: 62px; padding: .65rem; border: 1px solid #ead9bf; border-radius: 14px; background: #fffaf2; }
.public-timeslot-task.is-complete { border-color: #d9e9e2; background: #f3faf7; }
.public-timeslot-task__icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: #a1640e; background: #ffedcf; }
.public-timeslot-task.is-complete .public-timeslot-task__icon { color: #2c6c56; background: #dcefe6; }
.public-timeslot-task div { min-width: 0; }
.public-timeslot-task strong,
.public-timeslot-task small { display: block; }
.public-timeslot-task strong { font-size: .85rem; }
.public-timeslot-task small { margin-top: .08rem; color: var(--pt-muted); font-size: .72rem; }
.public-timeslot-task form { margin: 0; }
.public-timeslot-task__action { display: inline-flex; border: 0; padding: .46rem .62rem; border-radius: 9px; color: #fff; background: var(--pt-accent); font: inherit; font-size: .72rem; font-weight: 800; line-height: 1; text-decoration: none; cursor: pointer; }
.public-timeslot-task__action:hover { color: #fff; background: #d97f06; }
.public-timeslot-overview-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--pt-line); color: var(--pt-brand-dark); font-size: .82rem; font-weight: 800; text-decoration: none; }
.public-timeslot-overview-link:hover { color: var(--pt-accent); }

.public-timeslot-footer { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: 2rem 0 .5rem; color: var(--pt-muted); font-size: .76rem; }
.public-timeslot-footer img { display: block; width: auto; }

@media (max-width: 800px) {
  .public-timeslot-layout { grid-template-columns: 1fr; }
  .public-timeslot-next { position: static; }
}

@media (max-width: 620px) {
  .public-timeslot-detail { padding: .8rem; }
  .public-timeslot-brand { min-height: 56px; }
  .public-timeslot-brand__logo { max-width: 150px; max-height: 48px; }
  .public-timeslot-brand__back { font-size: 0; }
  .public-timeslot-brand__back i { font-size: 1.05rem; }
  .public-timeslot-hero { grid-template-columns: 1fr; border-radius: 19px; }
  .public-timeslot-status { justify-self: start; }
  .public-timeslot-schedule { grid-template-columns: 1fr; }
  .public-timeslot-schedule > div + div { border-top: 1px solid var(--pt-line); border-left: 0; }
  .public-timeslot-facts > div { grid-template-columns: 88px minmax(0, 1fr); }
  .public-timeslot-panel,
  .public-timeslot-next { border-radius: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .public-timeslot-detail * { scroll-behavior: auto !important; transition: none !important; }
}
.questionnaire-actions .btn-secondary {
  border-color: #285762 !important;
  color: #fff !important;
  background: #285762 !important;
}

.qa-shell {
  color: var(--document-ink, #1c2a2f);
}

.qa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--document-line, #dce4e5);
  background: #f9fbfb;
}

.qa-header h2 {
  margin: 0;
  color: var(--document-ink, #1c2a2f);
  font-size: 1rem;
  font-weight: 750;
}

.qa-header p {
  margin: .2rem 0 0;
  color: var(--document-muted, #6b7b80);
  font-size: .8rem;
  line-height: 1.45;
}

.qa-header > span {
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 .5rem;
  border-radius: 8px;
  color: #496169;
  background: #eaf0f1;
  font-size: .75rem;
  font-weight: 800;
}

.qa-body {
  display: grid;
}

.qa-row {
  padding: 1rem;
  border-bottom: 1px solid var(--document-line, #dce4e5);
}

.qa-row:last-child {
  border-bottom: 0;
}

.qa-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.qa-question {
  min-width: 0;
}

.qa-kicker {
  margin-bottom: .18rem;
  color: #718287;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.qa-qtext {
  overflow-wrap: anywhere;
  margin: 0;
  color: #2b4047;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.4;
}

.qa-answer,
.qa-input {
  display: block;
  width: 100%;
  margin-top: .55rem;
  padding: .65rem .75rem;
  border: 1px solid #dfe7e8;
  border-radius: 9px;
  color: #40545b;
  background: #f8fafa;
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-align: left !important;
  white-space: pre-wrap;
}

.qa-answer-empty {
  color: #89969a;
  font-style: italic;
}

.qa-input {
  min-height: 42px;
  resize: none;
  background: #fff;
}

.qa-input:focus {
  border-color: rgba(60, 114, 126, .62);
  box-shadow: 0 0 0 3px rgba(60, 114, 126, .1);
}

.q-answer-display,
.q-answer-input {
  text-indent: 0 !important;
}

.qa-row[data-editing="true"] .q-answer-display {
  display: none;
}

.qa-row[data-editing="true"] .q-answer-input {
  display: block !important;
}

.qa-status {
  display: inline-flex;
  min-width: 28px;
  min-height: 25px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: .25rem .45rem;
  border: 1px solid #dce4e5;
  border-radius: 7px;
  color: #78878c;
  background: #fff;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}

.qa-status[data-state="saving"] {
  border-color: #e5d3a9;
  color: #81621f;
  background: #fbf6ea;
}

.qa-status[data-state="saved"] {
  border-color: #bdd9cd;
  color: #2e6853;
  background: #eaf5f0;
}

.qa-status[data-state="error"] {
  border-color: #e3c2c2;
  color: #8a4545;
  background: #fbefef;
}

.qa-empty {
  display: flex;
  gap: .75rem;
  min-height: 100px;
  padding: 1rem;
  align-items: center;
}

.qa-empty > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #52727a;
  background: #eaf2f3;
}

.qa-empty strong {
  color: #31464d;
  font-size: .86rem;
}

.qa-empty p {
  margin: .15rem 0 0;
  color: #748389;
  font-size: .8rem;
}

@media (max-width: 640px) {
  .qa-header {
    align-items: flex-start;
  }

  .qa-row {
    padding: .85rem;
  }
}
.questionnaire-templates-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Title Styling */
.questionnaire-templates-title {
  font-size: 1.75rem;
  color: #3c727e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Add Location Button */
.btn-add-questionnaire-template {
  display: inline-block;
  margin-bottom: 1.5rem;
  background-color: #3c727e;
  border-color: #3c727e;
  color: white;
  padding: 0.75rem 1.5rem;
}
.btn-add-questionnaire-template:hover {
  background-color: #2e5b69;
  border-color: #2e5b69;
}

/* Ensure modal content is not centered by parent container */
.modal-content {
  text-align: left; /* Override inherited text alignment */
  margin: 0 auto; /* Keep it centered within the modal dialog */
}

.questionnaire-template-list {
  padding: 0;
  list-style: none;
}

.questionnaire-template-item-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.questionnaire-template-item-card:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.questionnaire-template-info {
  max-width: 70%;
}
.questionnaire-template-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3c727e;
}

.btn-group-actions {
  display: flex;
  gap: 0.5rem;
}
.edit-questionnaire-template-btn,
.delete-questionnaire-template-btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.edit-questionnaire-template-btn {
  border-color: #3c727e;
  color: #3c727e;
}

.delete-questionnaire-template-btn {
  border-color: #f39e1d;
  color: #f39e1d;
}

.edit-questionnaire-template-btn:hover {
  background-color: #3c727e;
  color: white;
}

.delete-questionnaire-template-btn:hover {
  background-color: #f39e1d;
  color: white;
}

.questionnaire-template-modal-header {
  background-color: #6d8c91;
  color: white;
}
.questionnaire-template-modal-body {
  background-color: #f8f9fa;
  padding: 1.5rem;
  text-align: left; /* Prevent centering */
}
.questionnaire-template-modal-title {
  font-weight: bold;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Center Navbar Links */
  #custom-navbar .navbar-nav {
    text-align: center;
  }

  /* Full-Width Location Item Card for Mobile */
  .questionnaire-template-item-card {
    flex-direction: column;
    text-align: center;
  }

  /* Full-Width Buttons */
  .btn-group-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-group-actions .btn {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  /* Smaller Add Location Button for Mobile */
  .btn-add-questionnaire-template {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #3c727e;
    color: white;
  }
}

@media (max-width: 576px) {
  /* Padding Adjustment for Small Screens */
  .questionnaire-templates-container {
    padding: 1rem;
  }

  /* Adjusted Font Sizes for Small Screens */
  .questionnaire-template-name {
    font-size: 1rem;
  }

}

/* Questionnaire Templates — solid brand fills like Session Categories */
.questionnaire-template-item-card .btn-group-actions .btn.edit-questionnaire-template-btn,
.questionnaire-template-item-card .btn-group-actions .btn.delete-questionnaire-template-btn {
  font-weight: 600;
  border-width: 1px;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* Edit = brand teal */
.questionnaire-template-item-card .btn-group-actions .btn.edit-questionnaire-template-btn {
  background-color: #3c727e !important;
  border-color: #3c727e !important;
  color: #fff !important;
}
.questionnaire-template-item-card .btn-group-actions .btn.edit-questionnaire-template-btn:hover {
  background-color: #2e5b69 !important;
  border-color: #2e5b69 !important;
  color: #fff !important;
}

/* Delete = brand orange */
.questionnaire-template-item-card .btn-group-actions .btn.delete-questionnaire-template-btn {
  background-color: #f39e1d !important;
  border-color: #f39e1d !important;
  color: #fff !important;
}
.questionnaire-template-item-card .btn-group-actions .btn.delete-questionnaire-template-btn:hover {
  background-color: #d68717 !important;
  border-color: #d68717 !important;
  color: #fff !important;
}
/* Match the sign-in / forgot-password look & feel */
.auth-page .centered-logo { width: clamp(96px, 18vw, 140px); height: auto; }

/* Round the outer card and ensure inner edges clip to the curve */
.auth-card {
  border-radius: 2rem;
  overflow: hidden;

  /* Enable container queries on the card */
  container-type: inline-size;
  container-name: auth;
}

/* Give the inner white area the same curve */
.auth-card .card-body { border-radius: inherit; }

/* --- Container query-driven refinements --- */
@container auth (max-width: 360px) {
  .auth-card .card-body { padding: 1rem 1.25rem; }
  .auth-card .form-control-lg { font-size: 0.95rem; }
  .auth-card .btn { padding-block: .7rem; }
}

@container auth (min-width: 420px) {
  .auth-card .card-body { padding: 1.5rem 1.75rem; }
}

@container auth (min-width: 560px) {
  .auth-card .card-body { padding: 2rem 2.25rem; }
  .auth-card .h4, .auth-card h1, .auth-card .card-title { font-size: 1.35rem; }
}

/* Keep inputs comfortably large on phones,
   but tone them down a bit on big screens (viewport fallback/tweak) */
@media (min-width: 992px) {
  .auth-card .form-control-lg {
    font-size: 1rem;
    padding-top: .6rem;
    padding-bottom: .6rem;
  }
}
/* Locations Container */
.session-categories-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Title Styling */
.session-categories-title {
  font-size: 1.75rem;
  color: #3c727e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Add Location Button */
.btn-add-session-category {
  display: inline-block;
  margin-bottom: 1.5rem;
  background-color: #3c727e;
  border-color: #3c727e;
  color: white;
  padding: 0.75rem 1.5rem;
}
.btn-add-session-category:hover {
  background-color: #2e5b69;
  border-color: #2e5b69;
}

/* Ensure modal content is not centered by parent container */
.modal-content {
  text-align: left; /* Override inherited text alignment */
  margin: 0 auto; /* Keep it centered within the modal dialog */
}

.session-category-list {
  padding: 0;
  list-style: none;
}

.session-category-item-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.session-category-item-card:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.session-category-info {
  max-width: 70%;
}
.session-category-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3c727e;
}

.btn-group-actions {
  display: flex;
  gap: 0.5rem;
}
.edit-session-category-btn,
.delete-session-category-btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.edit-session-category-btn {
  border-color: #3c727e;
  color: #3c727e;
}

.delete-session-category-btn {
  border-color: #f39e1d;
  color: #f39e1d;
}

.edit-session-category-btn:hover {
  background-color: #3c727e;
  color: white;
}

.delete-session-category-btn:hover {
  background-color: #f39e1d;
  color: white;
}

.session-category-modal-header {
  background-color: #6d8c91;
  color: white;
}
.session-category-modal-body {
  background-color: #f8f9fa;
  padding: 1.5rem;
  text-align: left; /* Prevent centering */
}
.session-category-modal-title {
  font-weight: bold;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Center Navbar Links */
  #custom-navbar .navbar-nav {
    text-align: center;
  }

  /* Full-Width Location Item Card for Mobile */
  .session-category-item-card {
    flex-direction: column;
    text-align: center;
  }

  /* Full-Width Buttons */
  .btn-group-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-group-actions .btn {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  /* Smaller Add Location Button for Mobile */
  .btn-add-session-category {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #3c727e;
    color: white;
  }
}

@media (max-width: 576px) {
  /* Padding Adjustment for Small Screens */
  .session-categories-container {
    padding: 1rem;
  }

  /* Adjusted Font Sizes for Small Screens */
  .session-category-name {
    font-size: 1rem;
  }

}

/* ACTION BUTTONS — match Locations style */
.session-category-item-card .btn.edit-session-category-btn,
.session-category-item-card .btn.delete-session-category-btn {
  font-weight: 600;
  border-width: 1px;
}

/* Edit = brand teal, solid fill */
.edit-session-category-btn {
  background-color: #3c727e;
  border-color: #3c727e;
  color: #fff !important;
}
.edit-session-category-btn:hover {
  background-color: #2e5b69;
  border-color: #2e5b69;
  color: #fff !important;
}

/* Delete = brand orange, solid fill */
.delete-session-category-btn {
  background-color: #f39e1d;
  border-color: #f39e1d;
  color: #fff !important;
}
.delete-session-category-btn:hover {
  background-color: #d68717;
  border-color: #d68717;
  color: #fff !important;
}
/* app/assets/stylesheets/set-session-dates.css */

/* ===== Brand ===== */
:root { --brand-primary: #3c727e; }

/* ===== Tiny sun icon (hard clamp) ===== */
.sun-icon {
  width: 16px !important;
  height: 16px !important;
  display: inline-block !important;
  vertical-align: text-bottom;
  object-fit: contain;
  margin-left: .25rem;
}

/* Failsafe: if class gets dropped or another rule wins, catch by filename */
img[src*="sun_icon"] {
  width: 20px !important;
  height: 20px !important;
  display: inline-block !important;
  object-fit: contain;
}

/* Top status pill */
.badge-status { background-color: var(--brand-primary) !important; color: #fff !important; }

/* Subtle card polish */
.card.border-0.shadow-sm { border-radius: .75rem; }

/* ===== Timeslot status chips ===== */
.badge.rounded-pill.timeslot-badge,
.badge.rounded-pill[data-timeslot-badge] {
  padding: .25rem .6rem;
  line-height: 1;
  font-weight: 500;
  border: 0;
}
.badge.rounded-pill.timeslot-badge[data-status="booked"],
.badge.rounded-pill[data-timeslot-badge][data-status="booked"],
.badge.rounded-pill.text-bg-danger,
.badge.rounded-pill.bg-danger,
.badge.rounded-pill.badge-danger,
.badge.rounded-pill.bg-danger-subtle { background-color: #f8d7da !important; color: #842029 !important; }
.badge.rounded-pill.timeslot-badge[data-status="booking_in_progress"],
.badge.rounded-pill[data-timeslot-badge][data-status="booking_in_progress"],
.badge.rounded-pill.text-bg-warning,
.badge.rounded-pill.bg-warning,
.badge.rounded-pill.badge-warning,
.badge.rounded-pill.bg-warning-subtle { background-color: #fff3cd !important; color: #664d03 !important; }
.badge.rounded-pill.timeslot-badge[data-status="available"],
.badge.rounded-pill[data-timeslot-badge][data-status="available"],
.badge.rounded-pill.text-bg-success,
.badge.rounded-pill.bg-success,
.badge.rounded-pill.badge-success,
.badge.rounded-pill.bg-success-subtle { background-color: #d1e7dd !important; color: #0f5132 !important; }

.badge.rounded-pill.text-dark { color: inherit !important; }

/* ===== Modal polishing (prevents skew, always closable) ===== */
.modal-content { border-radius: 1rem; }
.modal-header.sticky-top { top: 0; z-index: 1056; }
.modal-dialog.modal-dialog-scrollable .modal-content { max-height: 100vh; }

/* Prevent inputs from overflowing in tight screens */
.modal .form-control,
.modal .form-select { min-width: 0; }

/* Make modal layouts adapt to their own width */
.modal-dialog { container-type: inline-size; }
@container (max-width: 420px) {
  .modal .modal-body { padding: 1rem 1rem; }
  .modal .btn { padding-block: .6rem; }
}

/* ===== Mobile-friendly spacing ===== */
@media (max-width: 576px) {
  .container { padding-left: .75rem; padding-right: .75rem; }
  .card-body { padding: 1rem; }
  .list-group-item { padding: .75rem .75rem; }
  .h3 { font-size: 1.25rem; }
  .btn-sm { padding: .25rem .5rem; font-size: .825rem; }
  .fw-semibold { font-weight: 600; }
  .small.text-muted { font-size: .85rem; }

  /* Remove phantom gap at top of content */
  #editSessionDateModal .modal-body,
  #sessionDateModal .modal-body {
    padding-top: 0.75rem !important;
  }
}

/* ==== Date row (SAFE compact layout for all screens) ==== */
/* Replace the old negative-margin hack with a grid that never overflows */
.sessiondate-form .sessiondate-date-row {
  display: grid;
  grid-template-columns: auto 1fr auto; /* label | input | sun icon */
  align-items: center;
  gap: .5rem .75rem;
  margin-top: 0;       /* ensure visible on mobile */
  margin-bottom: .75rem;
}

.sessiondate-form .sessiondate-date-row .form-label { margin-bottom: 0 !important; }
.sessiondate-form .sessiondate-date-row .form-control {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  line-height: 1.2;
  min-width: 0; /* prevent overflow in grid */
}

/* On very narrow screens, allow the label to wrap instead of pushing things off-screen */
@media (max-width: 420px) {
  .sessiondate-form .sessiondate-date-row { grid-template-columns: minmax(0, auto) 1fr auto; }
}

/* Safety: if a skeleton remains inside the frame, collapse it visually */
#editSessionDateModal .modal-body turbo-frame .d-flex.align-items-center.justify-content-center {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Brand badge helpers */
.badge-brand { background-color: var(--brand-primary) !important; color: #fff !important; }
.badge-brand-subtle {
  background-color: rgba(60, 114, 126, .12) !important;
  color: var(--brand-primary) !important;
  border: 1px solid rgba(60, 114, 126, .28) !important;
}

/* Availability block styling */
.availability-block-added {
  background-color: #6d8c91;
  padding: 10px;
  border-radius: 5px;
}
.availability-block-added input,
.availability-block-added label,
.availability-block-added button { background-color: transparent; }

/* --- Fix mobile date-picker inside Bootstrap modals --- */
#sessionDateModal .modal-dialog,
#editSessionDateModal .modal-dialog {
  /* disable container queries/containment for these modals */
  container-type: normal !important;   /* overrides .modal-dialog { container-type: inline-size; } */
  contain: none !important;
  transform: none !important;          /* guard against any future transforms */
}

/* make sure nothing overlays the date input */
#sessionDateModal input[type="date"],
#editSessionDateModal input[type="date"] {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

/* keep the date row safely below the sticky header on phones */
@media (max-width: 576px) {
  #sessionDateModal .modal-body,
  #editSessionDateModal .modal-body {
    padding-top: 0.75rem !important;
  }

  #sessionDateModal .sessiondate-form .sessiondate-date-row,
  #editSessionDateModal .sessiondate-form .sessiondate-date-row {
    margin-top: 0 !important;
    margin-bottom: .5rem !important;
    display: grid;
    grid-template-columns: auto 1fr auto; /* Label | Input | Sun icon */
    align-items: center;
    gap: .5rem;
  }
}

/* Ensure the native calendar button receives taps on iOS/Android */
.sessiondate-form input[type="date"]::-webkit-calendar-picker-indicator {
  pointer-events: auto;       /* some resets set this to none */
  opacity: 1;                 /* unblock visibility if a reset dims it */
  display: block;             /* guard against 'display:none' resets */
  position: relative;
  z-index: 2;                 /* sit above any background decorations */
  cursor: pointer;
}

/* Make sure the date input itself is the top tap target */
.sessiondate-form .sessiondate-date-row input[type="date"] {
  position: relative;
  z-index: 2;
  min-width: 0; /* prevent overflow in tight flex/grids */
}

/* Prevent the sun icon wrapper from ever overlapping the input on phones */
.sessiondate-form .sessiondate-date-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.sessiondate-form .sessiondate-date-row .form-control {
  flex: 1 1 auto;  /* grow/shrink safely */
  min-width: 0;
}

.sessiondate-form .sessiondate-date-row > span {
  flex: 0 0 auto;  /* do NOT shrink into the input */
  position: relative;
  z-index: 1;      /* below the input’s indicator */
}

/* If any prior styles applied transforms/containment to the dialog, undo them
   for both Add and Edit modals so mobile browsers can show native pickers. */
#sessionDateModal .modal-dialog,
#editSessionDateModal .modal-dialog {
  container-type: normal !important;
  contain: none !important;
  transform: none !important;
}

/* Remove earlier negative margins that could push the row under the header */
@media (max-width: 576px) {
  #sessionDateModal .sessiondate-form .sessiondate-date-row,
  #editSessionDateModal .sessiondate-form .sessiondate-date-row {
    margin-top: 0 !important;
    margin-bottom: .5rem !important;
  }
}
/* app/assets/stylesheets/sign-in.css */

/* Center everything and prevent awkward scrolling */
.auth-page {
  min-height: 100svh;           /* mobile-safe viewport unit */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;           /* small breathing room, still fits */
  background: var(--bs-body-bg, #f8f9fa);
}

/* Fixed, pleasant max-width so it never hugs the left on mobile */
.auth-box {
  width: 100%;
  max-width: 420px;             /* adjust to taste (400–480px is typical) */
  margin: 0 auto;
}

/* Logo sizing */
.auth-page .centered-logo { width: clamp(96px, 18vw, 140px); height: auto; }

/* Round the outer card and ensure inner edges clip to the curve */
.auth-card {
  border-radius: 2rem;
  overflow: hidden;

  /* Enable container queries on the card */
  container-type: inline-size;
  container-name: auth;
}

/* Give the inner white area the same curve */
.auth-card .card-body { border-radius: inherit; }

/* --- Container query-driven refinements --- */
@container auth (max-width: 360px) {
  .auth-card .card-body { padding: 1rem 1.25rem; }
  .auth-card .form-control-lg { font-size: 0.95rem; }
  .auth-card .btn { padding-block: .7rem; }
}

@container auth (min-width: 420px) {
  .auth-card .card-body { padding: 1.5rem 1.75rem; }
}

@container auth (min-width: 560px) {
  .auth-card .card-body { padding: 2rem 2.25rem; }
  .auth-card .h4, .auth-card h1, .auth-card .card-title { font-size: 1.35rem; }
}

/* Keep inputs comfortably large on phones, but tone down on desktops */
@media (min-width: 992px) {
  .auth-card .form-control-lg {
    font-size: 1rem;
    padding-top: .6rem;
    padding-bottom: .6rem;
  }
}

/* ---- Password toggle (eye button) ---- */
.password-field {
  position: relative;
}

.password-field .password-reveal-btn {
  position: absolute;
  right: .625rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: .25rem;
  line-height: 1;
  background: transparent;
  color: #9aa0a6;                 /* lighter by default */
  cursor: pointer;
  transition: color .15s ease;
  -webkit-tap-highlight-color: transparent; /* remove iOS blue tap highlight */
}

/* Hover/focus: only change color, no blue box */
.password-field .password-reveal-btn:hover,
.password-field .password-reveal-btn:focus,
.password-field .password-reveal-btn:focus-visible,
.password-field .password-reveal-btn:active {
  color: #6c757d;                  /* medium on hover/focus/active */
  outline: none;                   /* remove default outline */
  box-shadow: none;                /* remove blue-ish focus ring */
  border-radius: .375rem;          /* harmless, keeps hit area neat */
}

/* Darker when pressed (i.e., password visible) */
.password-field .password-reveal-btn[aria-pressed="true"] {
  color: #343a40;                  /* darkest when showing */
}

/* Ensure the button stays tappable without shifting layout */
.password-field .form-control {
  padding-right: 2.25rem;          /* space for the eye */
}
/* app/assets/stylesheets/sign-up.css */

/* Center everything and prevent awkward scrolling */
.auth-page {
  min-height: 100svh;           /* mobile-safe viewport unit */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;           /* small breathing room, still fits */
  background: var(--bs-body-bg, #f8f9fa);
}

/* Fixed, pleasant max-width so it never hugs the left on mobile */
.auth-box {
  width: 100%;
  max-width: 420px;             /* adjust to taste (400–480px is typical) */
  margin: 0 auto;
}

/* Logo sizing */
.auth-page .centered-logo { width: clamp(96px, 18vw, 140px); height: auto; }

/* Round the outer card and ensure inner edges clip to the curve */
.auth-card {
  border-radius: 2rem;   /* bigger outer curve */
  overflow: hidden;      /* makes inner corners appear rounded */

  /* Enable container queries on the card */
  container-type: inline-size;
  container-name: auth;
}

/* Inner white area mirrors the curve */
.auth-card .card-body { border-radius: inherit; }

/* --- Container query-driven refinements --- */
@container auth (max-width: 360px) {
  .auth-card .card-body { padding: 1rem 1.25rem; }
  .auth-card .form-control-lg { font-size: 0.95rem; }
  .auth-card .btn { padding-block: .7rem; }
}

@container auth (min-width: 420px) {
  .auth-card .card-body { padding: 1.5rem 1.75rem; }
}

@container auth (min-width: 560px) {
  .auth-card .card-body { padding: 2rem 2.25rem; }
  .auth-card .h4, .auth-card h1, .auth-card .card-title { font-size: 1.35rem; }
}

/* Keep inputs comfortably large on desktops */
@media (min-width: 992px) {
  .auth-card .form-control-lg {
    font-size: 1rem;
    padding-top: .6rem;
    padding-bottom: .6rem;
  }
}

/* ---- Password toggle (eye button) ---- */
.password-field { position: relative; }

.password-field .password-reveal-btn {
  position: absolute;
  right: .625rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: .25rem;
  line-height: 1;
  background: transparent;
  color: #9aa0a6;                 /* lighter by default */
  cursor: pointer;
  transition: color .15s ease;
  -webkit-tap-highlight-color: transparent; /* remove iOS blue tap highlight */
}

/* Hover/focus/active: only color change, no blue ring */
.password-field .password-reveal-btn:hover,
.password-field .password-reveal-btn:focus,
.password-field .password-reveal-btn:focus-visible,
.password-field .password-reveal-btn:active {
  color: #6c757d;
  outline: none;
  box-shadow: none;
  border-radius: .375rem;
}

/* Darker when pressed (i.e., password visible) */
.password-field .password-reveal-btn[aria-pressed="true"] {
  color: #343a40;                  /* darkest when showing */
}

/* Ensure the button stays tappable without shifting layout */
.password-field .form-control {
  padding-right: 2.25rem;          /* space for the eye */
}
/* app/assets/stylesheets/signature_pad.css */
.signature-pad canvas {
  width: 100%;
  height: 100px;
  touch-action: none;
}
.support-impersonation-banner {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 9px clamp(14px, 3vw, 36px);
  border-bottom: 1px solid rgba(114, 226, 186, 0.4);
  background: #0b1118;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  color: #eef3fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.support-impersonation-banner__identity,
.support-impersonation-banner__actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.support-impersonation-banner__identity div,
.support-impersonation-banner__identity strong,
.support-impersonation-banner__identity span {
  display: block;
}

.support-impersonation-banner__identity strong {
  color: #72e2ba;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-impersonation-banner__identity div > span,
.support-impersonation-banner__actions > span {
  color: #b4c0d1;
  font-size: 0.78rem;
}

.support-impersonation-banner__pulse {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #72e2ba;
  box-shadow: 0 0 16px #72e2ba;
}

.support-impersonation-banner__actions form { margin: 0; }

.support-impersonation-banner__button {
  min-height: 36px;
  border: 1px solid rgba(114, 226, 186, 0.45);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(114, 226, 186, 0.12);
  color: #b9f3df;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.support-impersonation-banner__button:hover { background: rgba(114, 226, 186, 0.2); }

@media (max-width: 680px) {
  .support-impersonation-banner {
    position: relative;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .support-impersonation-banner__actions { justify-content: space-between; }
  .support-impersonation-banner__actions > span { display: none; }
  .support-impersonation-banner__actions form { width: 100%; }
  .support-impersonation-banner__button { width: 100%; min-height: 42px; }
}
/* app/assets/stylesheets/verify.css */

/* Scope everything so sign-in styles are unaffected */
.verify-page.auth-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bs-body-bg, #f8f9fa);
}

.verify-page .auth-box {
  width: 100%;
  max-width: 560px; /* wider only on verify page */
  margin: 0 auto;
}

.verify-page .centered-logo {
  width: clamp(96px, 18vw, 140px);
  height: auto;
}

.verify-page .auth-card {
  border-radius: 2rem;
  overflow: hidden;
  container-type: inline-size;
  container-name: verify-card;
}

.verify-page .auth-card .card-body {
  border-radius: inherit;
}

/* Tighter padding on very small cards */
@container verify-card (max-width: 420px) {
  .verify-page .auth-card .card-body { padding: 1rem 1.25rem; }
  .verify-page .auth-card .btn { padding-block: .7rem; }
}

/* Default card padding for mid sizes */
@container verify-card (min-width: 421px) and (max-width: 639px) {
  .verify-page .auth-card .card-body { padding: 1.5rem 1.75rem; }
}

/* Roomier on wider cards */
@container verify-card (min-width: 640px) {
  .verify-page .auth-card .card-body { padding: 2rem 2.25rem; }
  .verify-page .auth-card .h4,
  .verify-page .auth-card h1,
  .verify-page .auth-card .card-title { font-size: 1.35rem; }
}

/* Subtle icon badge */
.verify-page .verify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(60,114,126,.08); /* Orbit cyan hint */
  color: var(--bs-primary, #0d6efd);
}
.watermark-library__notice {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: .85rem 0 1rem;
  padding: .78rem .9rem;
  border: 1px solid #dce4e5;
  border-radius: 14px;
  color: #30494f;
  background: #fff;
}

.watermark-library__notice > span {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: #3c727e;
  background: #e8f1f2;
}

.watermark-library__notice strong,
.watermark-library__notice p {
  display: block;
}

.watermark-library__notice strong {
  font-size: .84rem;
  font-weight: 750;
}

.watermark-library__notice p {
  max-width: 760px;
  margin: .18rem 0 0;
  color: #5b756e;
  font-size: .78rem;
  line-height: 1.5;
}

.watermark-library__count {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: .45rem .65rem;
  border: 1px solid #d6e0e1;
  border-radius: 7px;
  color: #49656b;
  background: #edf3f3;
  font-size: .74rem;
  font-weight: 700;
}

.watermark-library__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.watermark-library__item {
  min-width: 0;
}

.watermark-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #d6dfe1;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.watermark-card:hover {
  border-color: #aabfc3;
  box-shadow: 0 6px 16px rgba(28, 61, 68, .065);
}

.watermark-card__preview.watermark-preview-container {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e9eeee;
}

.watermark-card__preview .watermark-preview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watermark-card__preview-label {
  position: absolute;
  z-index: 4;
  right: .65rem;
  bottom: .6rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .5rem;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 7px;
  color: #fff;
  background: rgba(20, 42, 47, .62);
  font-size: .66rem;
  font-weight: 700;
  backdrop-filter: blur(7px);
}

.watermark-card__body {
  padding: .9rem;
}

.watermark-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.watermark-card__heading > div {
  min-width: 0;
}

.watermark-card__heading > div > span {
  display: block;
  margin-bottom: .12rem;
  color: #3c727e;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.watermark-card__heading h3 {
  margin: 0;
  overflow: hidden;
  color: #18282d;
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watermark-card__position {
  flex: 0 0 auto;
  padding: .2rem 0;
  border-radius: 0;
  color: #49656b;
  background: transparent;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.watermark-card__text {
  margin: .65rem 0 0;
  overflow: hidden;
  color: #5f7277;
  font-size: .8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watermark-card__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin: .8rem 0;
  padding: .65rem 0;
  border-top: 1px solid #e2e8e9;
  border-bottom: 1px solid #e2e8e9;
  border-radius: 0;
  background: transparent;
}

.watermark-card__details div {
  min-width: 0;
}

.watermark-card__details dt {
  color: #718287;
  font-size: .64rem;
  font-weight: 750;
  text-transform: uppercase;
}

.watermark-card__details dd {
  margin: .08rem 0 0;
  overflow: hidden;
  color: #18282d;
  font-size: .78rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watermark-card__actions {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: .45rem;
}

.watermark-card__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem .75rem;
  border: 1px solid #bfd0d2;
  border-radius: 7px;
  color: #285762;
  background: #fff;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.watermark-card__button:hover {
  border-color: #3c727e;
  color: #fff;
  background: #3c727e;
}

.watermark-card__button--delete {
  padding: 0;
  border-color: #ecd1d3;
  color: #a53b42;
}

.watermark-card__button--delete:hover {
  border-color: #d89ba0;
  color: #8d2f36;
  background: #fff1f2;
}

.watermark-editor-modal .modal-dialog {
  max-width: min(1120px, calc(100vw - 1.5rem));
}

.watermark-editor-modal .modal-body {
  padding: 0;
}

.watermark-editor {
  color: #18282d;
}

.watermark-editor__errors {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 1rem 1.2rem 0;
  padding: .8rem;
  border: 1px solid #efc5c8;
  border-radius: 8px;
  color: #8a343b;
  background: #fff3f4;
  font-size: .78rem;
}

.watermark-editor__errors ul {
  margin: .25rem 0 0;
  padding-left: 1rem;
}

.watermark-editor__layout {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
}

.watermark-editor__settings,
.watermark-editor__previews {
  min-width: 0;
  padding: clamp(1.1rem, 2.8vw, 1.5rem);
}

.watermark-editor__previews {
  border-left: 1px solid #dbe5e6;
  background: #f7fafa;
}

.watermark-editor__section-heading {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
}

.watermark-editor__section-heading > span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #285762;
  background: #e7f0f1;
}

.watermark-editor__section-heading h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
}

.watermark-editor__section-heading p {
  margin: .12rem 0 0;
  color: #718287;
  font-size: .75rem;
}

.watermark-editor__fields {
  display: grid;
  gap: .85rem;
}

.watermark-editor__field {
  min-width: 0;
}

.watermark-editor__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.watermark-editor__field label,
.watermark-editor__label-row label {
  display: block;
  margin-bottom: .4rem;
  color: #273b40;
  font-size: .78rem;
  font-weight: 650;
}

.watermark-editor__field small {
  display: block;
  margin-top: .3rem;
  color: #7b8a8e;
  font-size: .7rem;
}

.watermark-editor .form-control,
.watermark-editor .form-select,
.watermark-editor .orbit-font-picker__toggle {
  min-height: 44px;
  border-color: #ccd9da;
  border-radius: 8px;
  color: #18282d;
  background-color: #fff;
  font-size: .88rem;
}

.watermark-editor .form-control:focus,
.watermark-editor .form-select:focus {
  border-color: #3c727e;
  box-shadow: 0 0 0 .2rem rgba(60, 114, 126, .15);
}

.watermark-editor__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.watermark-editor__label-row > span {
  color: #7b8a8e;
  font-size: .68rem;
}

.watermark-editor .form-range {
  accent-color: #3c727e;
}

.watermark-preview-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(160px, .65fr);
  gap: .8rem;
  align-items: end;
}

.watermark-editor__preview.watermark-preview-container {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cfdadb;
  border-radius: 10px;
  background: #dfe6e6;
  box-shadow: 0 1px 3px rgba(28, 61, 68, .08);
}

.watermark-editor__preview--landscape {
  aspect-ratio: 3 / 2;
}

.watermark-editor__preview--portrait {
  aspect-ratio: 2 / 3;
}

.watermark-editor__preview.watermark-preview-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watermark-editor__preview figcaption {
  position: absolute;
  z-index: 5;
  right: .55rem;
  bottom: .5rem;
  padding: .3rem .45rem;
  border-radius: 7px;
  color: #fff;
  background: rgba(18, 37, 42, .58);
  font-size: .62rem;
  font-weight: 650;
  backdrop-filter: blur(6px);
}

.watermark-editor__preview .positioned-watermark {
  font-size: clamp(.8rem, 2.2vw, 1.55rem);
}

.watermark-editor__preview-note {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  margin: .75rem 0 0;
  color: #6c7e83;
  font-size: .72rem;
  line-height: 1.45;
}

.watermark-editor__preview-note i {
  flex: 0 0 auto;
  color: #3c727e;
}

.watermark-editor__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid #dbe5e6;
  background: #fff;
}

.watermark-editor__footer p {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  color: #718287;
  font-size: .72rem;
}

.watermark-editor__footer p i {
  color: #3c727e;
}

.watermark-editor__submit {
  min-height: 44px;
  padding: .72rem 1rem;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #3c727e;
  box-shadow: none;
  font: inherit;
  font-size: .78rem;
  font-weight: 650;
}

.watermark-editor__submit:hover {
  background: #285762;
}

@media (max-width: 820px) {
  .watermark-editor__layout {
    grid-template-columns: 1fr;
  }

  .watermark-editor__previews {
    border-top: 1px solid #dbe5e6;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .watermark-library__grid {
    grid-template-columns: 1fr;
  }

  .watermark-card__button {
    min-height: 44px;
  }

  .watermark-editor-modal .modal-dialog {
    max-width: calc(100vw - .75rem);
    margin: .375rem;
  }

  .watermark-editor-modal .modal-content {
    max-height: calc(100vh - .75rem);
    border-radius: 14px;
  }

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

  .watermark-editor__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .watermark-editor__submit {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 420px) {
  .watermark-preview-wrapper {
    grid-template-columns: 1fr;
  }

  .watermark-editor__preview--portrait {
    width: min(74%, 230px) !important;
    margin-inline: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .watermark-card {
    transition: none;
  }
}
/* watermarks.css */

/* ──────────────────────────────────────────────────────────────
   Flex layout for previewing watermark images side by side
   ────────────────────────────────────────────────────────────── */
.watermark-preview-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;             /* space between images */
  flex-wrap: wrap;       /* wrap to new line on small screens */
}

.watermark-preview-container {
  position: relative;
  border: 1px solid #ccc;
  margin-bottom: 1.5px;
  display: inline-block;
  width: auto;
  height: auto;
}

.watermark-preview-container img {
  display: block;
  width: 100%;
  height: 100%;
}

.positioned-watermark {
  position: absolute;
  z-index: 3;
  color: white;
  opacity: 0.5;
  font-family: Arial, sans-serif;
  font-size: 30px;
}

/* Ensure that positioning works for top-left, top-right, bottom-left, bottom-right */
.top-left { top: 0; left: 0; }
.top-right { top: 0; right: 0; }
.bottom-left { bottom: 0; left: 0; }
.bottom-right { bottom: 0; right: 0; }

/* Tiled layer */
.watermark-tiled-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  display: none;
}

/* ──────────────────────────────────────────────────────────────
   Public gallery tiles: remove inline baseline gap & stretching
   ────────────────────────────────────────────────────────────── */
.album-photos .photo-tile > a[data-glightbox="true"] {
  display: block !important;   /* inline -> block removes baseline gap */
  line-height: 0 !important;
}

.album-photos .watermark-preview-container {
  display: block !important;   /* not inline-block inside masonry */
  line-height: 0 !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;        /* no gray border */
}

.album-photos .watermark-preview-container img,
.album-photos .photo-tile img {
  display: block !important;
  width: 100% !important;
  height: auto !important;     /* never stretch vertically */
}

/* Ensure star is positioned relative to the actual image area */
.album-photos .photo-tile { position: relative !important; overflow: hidden; }
.album-photos .favorite-toggle { bottom: 12px !important; right: 6px !important; }

/* ──────────────────────────────────────────────────────────────
   PUBLIC GRID MIRROR OVERRIDES
   ────────────────────────────────────────────────────────────── */

/* Remove inline baseline gap and any fixed-height/aspect on wrappers */
.album-photos .photo-tile > a[data-glightbox="true"] {
  display: block !important;
  line-height: 0 !important;
}
.album-photos .watermark-preview-container {
  display: block !important;
  line-height: 0 !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
}
.album-photos .masonry-item,
.album-photos .photo-tile,
.album-photos .watermark-preview-container,
.album-photos .photo-tile > a[data-glightbox="true"],
.album-photos img.img-fluid {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}
.album-photos .masonry-item::before,
.album-photos .masonry-item::after,
.album-photos .photo-tile::before,
.album-photos .photo-tile::after {
  content: none !important;
  display: none !important;
}

/* Image controls height */
.album-photos .watermark-preview-container img,
.album-photos .photo-tile img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  /* IMPORTANT: square corners */
  border-radius: 0 !important;
}

/* Overlays pinned to the actual photo edge */
.album-photos .photo-tile { position: relative !important; overflow: hidden !important; }
.album-photos .favorite-toggle { bottom: 12px !important; right: 6px !important; }

/* ===== MOBILE-ONLY: make star & select pill visible without hover ===== */
@media (max-width: 576px) {
  /* Select pill (when JS inserts it): always show */
  .photo-select,
  .photo-select-checkbox {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Favorite star: always visible, interactive */
  .favorite-toggle {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Since pill is present on mobile, keep the star shifted left */
  .photo-tile:has(.photo-select) .favorite-toggle {
    right: calc(6px + var(--select-size, 20px) + 2px) !important;
  }
}

/* ===== DESKTOP: when pill exists/appears, shift star so they sit side-by-side ===== */
@media (min-width: 577px) {
  /* If this tile contains a pill at all, position the star with space for it */
  .photo-tile:has(.photo-select) .favorite-toggle {
    right: calc(6px + var(--select-size, 20px) + 2px) !important;
  }
  /* Ensure the same when hovering the masonry item (common hover target) */
  .masonry-item:hover .photo-tile:has(.photo-select) .favorite-toggle {
    right: calc(6px + var(--select-size, 20px) + 2px) !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   FINAL: force square corners everywhere (desktop + mobile)
   ────────────────────────────────────────────────────────────── */

/* wrappers should not clip/round */
.album-photos .masonry-item,
.album-photos .photo-tile,
.album-photos .watermark-preview-container,
.video-thumbnail-wrapper,
.album-photos .photo-tile > a[data-glightbox="true"] {
  border-radius: 0 !important;
  overflow: visible !important; /* don't clip corners */
}

/* images must be square too */
.album-photos .watermark-preview-container img,
.album-photos .photo-tile img,
.album-photos img.img-fluid,
.album-photos .img-fluid,
.video-thumbnail-container img.video-thumbnail {
  border-radius: 0 !important;
}

/* nuke any theme utility that sneaks in rounding */
.album-photos img.rounded,
.album-photos .rounded {
  border-radius: 0 !important;
}
:root {
  --lp-brand: #3c727e;
  --lp-brand-dark: #2d5d68;
  --lp-ink: #24343a;
  --lp-muted: #65777e;
  --lp-line: #d8e2e5;
  --lp-page: #f4f7f7;
  --lp-soft: #edf4f5;
  --lp-white: #fff;
  --lp-orange: #ee9712;
  --lp-green: #2f7a61;
  --lp-red: #a94442;
}

html:has(.launch-pad) body,
body:has(.launch-pad) {
  background: var(--lp-page);
}

.launch-pad {
  width: min(100% - 2rem, 1180px);
  min-height: calc(100vh - 56px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.4rem) 0 4rem;
  color: var(--lp-ink);
}

.launch-pad a { color: inherit; }

.launch-pad-kicker {
  margin: 0 0 .35rem;
  color: var(--lp-brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .105em;
  line-height: 1.3;
  text-transform: uppercase;
}

.launch-pad-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid var(--lp-line);
}

.launch-pad-hero__copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 450;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.launch-pad-hero__date {
  margin: .45rem 0 0;
  color: var(--lp-muted);
  font-size: .95rem;
  line-height: 1.4;
}

.launch-pad-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem;
}

.launch-pad-action,
.workflow-settings-toggle,
.workflow-hidden-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid #bfd0d4;
  border-radius: 9px;
  background: #fff;
  color: #40565e;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1;
  padding: .72rem .9rem;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.launch-pad-action:hover,
.workflow-settings-toggle:hover,
.workflow-hidden-button:hover {
  border-color: #8caeb5;
  background: #f9fbfb;
  color: var(--lp-brand-dark);
  transform: translateY(-1px);
}

.launch-pad-action--primary {
  border-color: var(--lp-brand);
  background: var(--lp-brand);
  color: #fff !important;
  box-shadow: 0 5px 13px rgba(49, 101, 113, .16);
}

.launch-pad-action--primary:hover {
  border-color: var(--lp-brand-dark);
  background: var(--lp-brand-dark);
  color: #fff;
}

.launch-pad-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.25rem 0;
}

.launch-pad-stat {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  min-height: 88px;
  padding: .85rem 1rem;
  border: 1px solid var(--lp-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 13px rgba(31, 57, 66, .035);
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.launch-pad-stat:hover {
  border-color: #a8c2c8;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(31, 57, 66, .07);
}

.launch-pad-stat.has-attention { border-color: #edd4ab; }

.launch-pad-stat__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: var(--lp-soft);
  color: var(--lp-brand);
  font-size: 1.05rem;
}

.launch-pad-stat.has-attention .launch-pad-stat__icon {
  background: #fff4df;
  color: #b76d00;
}

.launch-pad-stat > span:last-child {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: .35rem;
}

.launch-pad-stat small {
  grid-column: 1 / -1;
  color: var(--lp-muted);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.3;
}

.launch-pad-stat strong {
  color: var(--lp-ink);
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.launch-pad-stat em {
  min-width: 0;
  color: #7a898e;
  font-size: .75rem;
  font-style: normal;
  line-height: 1.2;
}

.launch-pad-activity {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
  margin: 0 0 1rem;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 13px rgba(31, 57, 66, .035);
}

.launch-pad-activity__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .8rem .9rem;
  border-right: 1px solid var(--lp-line);
  background: #fafcfc;
}

.launch-pad-activity__header > div { display: grid; gap: .12rem; }
.launch-pad-activity__header h2 { margin: 0; color: var(--lp-ink); font-size: .9rem; font-weight: 750; line-height: 1.25; }
.launch-pad-activity__header > div > span { color: var(--lp-muted); font-size: .74rem; line-height: 1.3; }
.launch-pad-activity__header .launch-pad-live { display: none; }

.launch-pad-activity__items {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.launch-pad-activity-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  min-height: 72px;
  padding: .65rem .8rem;
  border-right: 1px solid #e5ecee;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.launch-pad-activity-item:last-child { border-right: 0; }
.launch-pad-activity-item:hover { background: #f8fbfb; }
.launch-pad-activity-item:hover .launch-pad-activity-item__content > span > span { color: var(--lp-brand-dark); }

.launch-pad-activity-item__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--lp-soft);
  color: var(--lp-brand);
  font-size: .88rem;
}

.launch-pad-activity-item.is-payments .launch-pad-activity-item__icon { background: #fff4df; color: #ad6900; }
.launch-pad-activity-item.is-gallery_views .launch-pad-activity-item__icon { background: #f0f1f7; color: #676f91; }
.launch-pad-activity-item.is-inquiries .launch-pad-activity-item__icon { background: #eaf4f1; color: var(--lp-green); }
.launch-pad-activity-item__content { display: grid; min-width: 0; gap: .12rem; }
.launch-pad-activity-item__content > span { display: flex; min-width: 0; align-items: baseline; gap: .35rem; }
.launch-pad-activity-item__content strong { color: var(--lp-ink); font-size: 1.15rem; font-weight: 750; line-height: 1; }
.launch-pad-activity-item__content > span > span { overflow: hidden; color: #4f646b; font-size: .76rem; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.launch-pad-activity-item__content time,
.launch-pad-activity-item__content small { overflow: hidden; color: var(--lp-muted); font-size: .68rem; font-style: normal; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.launch-pad-activity-item > .bi-chevron-right { color: #a3b0b4; font-size: .68rem; }

.launch-pad-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 1rem;
  align-items: start;
}

.launch-pad-panel,
.workflow-section {
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 23px rgba(31, 57, 66, .045);
}

.launch-pad-panel { overflow: hidden; }

.launch-pad-panel__header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid #e3eaec;
}

.launch-pad-panel__header h2,
.workflow-section__heading h2 {
  margin: 0;
  color: var(--lp-ink);
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -.012em;
  line-height: 1.3;
}

.launch-pad-panel__header > div > span,
.workflow-section__heading > div > p:last-child {
  display: block;
  margin: .2rem 0 0;
  color: var(--lp-muted);
  font-size: .84rem;
  line-height: 1.45;
}

.launch-pad-panel__link {
  flex: 0 0 auto;
  color: var(--lp-brand) !important;
  font-size: .8rem;
  font-weight: 750;
  text-decoration: none;
}

.launch-pad-panel__link:hover { text-decoration: underline; }

.launch-pad-live {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  color: #4d686f;
  font-size: .74rem;
  font-weight: 750;
}

.launch-pad-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #47a481;
  box-shadow: 0 0 0 4px rgba(71, 164, 129, .12);
}

.today-schedule,
.attention-list {
  display: grid;
  padding: .35rem 1.2rem .55rem;
}

.attention-list {
  max-height: 180px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #b8c8cc transparent;
  scrollbar-width: thin;
}

.today-session {
  display: grid;
  grid-template-columns: 58px 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-height: 78px;
  border-bottom: 1px solid #e8edef;
  text-decoration: none;
}

.today-session:last-child { border-bottom: 0; }
.today-session:hover .today-session__title { color: var(--lp-brand); }

.today-session__time { display: grid; text-align: right; }
.today-session__time strong { font-size: .98rem; font-weight: 750; line-height: 1.1; }
.today-session__time span { color: var(--lp-muted); font-size: .68rem; font-weight: 700; }

.today-session__line {
  width: 3px;
  height: 40px;
  border-radius: 3px;
  background: var(--lp-orange);
}

.today-session__content { display: grid; min-width: 0; gap: .1rem; }
.today-session__title { overflow: hidden; font-size: .9rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.today-session__meta,
.today-session__duration { color: var(--lp-muted); font-size: .78rem; line-height: 1.35; }
.today-session > .bi-chevron-right { color: #9aabad; font-size: .78rem; }

.attention-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  min-height: 64px;
  border-bottom: 1px solid #e8edef;
  text-decoration: none;
}

.attention-item:last-child { border-bottom: 0; }

.attention-item__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #eef4f5;
  color: var(--lp-brand);
}

.attention-item.is-overdue .attention-item__icon { background: #fff0ef; color: var(--lp-red); }
.attention-item.is-payment .attention-item__icon { background: #fff4df; color: #ad6900; }
.attention-item.is-paperwork .attention-item__icon { background: #f0f1f7; color: #676f91; }

.attention-item__content { display: grid; min-width: 0; gap: .08rem; }
.attention-item__content strong { overflow: hidden; font-size: .85rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.attention-item__content > span { overflow: hidden; color: var(--lp-muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.attention-item__content small { color: #7b898e; font-size: .72rem; }
.attention-item__arrow { color: #a3b0b4; font-size: .75rem; }
.attention-item:hover .attention-item__content strong { color: var(--lp-brand); }

.launch-pad-empty {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 130px;
  justify-content: center;
  padding: 1.25rem;
  color: var(--lp-muted);
}

.launch-pad-empty.is-compact { min-height: 150px; }
.launch-pad-empty > span { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 12px; background: #eaf4f1; color: var(--lp-green); font-size: 1.15rem; }
.launch-pad-empty strong { display: block; color: #405159; font-size: .9rem; }
.launch-pad-empty p { max-width: 330px; margin: .22rem 0 0; font-size: .8rem; line-height: 1.5; }

.launch-pad-panel__footer {
  padding: .58rem 1.2rem;
  border-top: 1px solid #edf1f2;
  color: #839197;
  background: #fafcfc;
  font-size: .7rem;
  text-align: right;
}

.attention-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-align: left;
}

.attention-footer > span:last-child { flex: 0 0 auto; }
.attention-footer strong { color: #ad6900; }
.attention-footer a { color: var(--lp-brand); font-weight: 700; text-decoration: none; }
.attention-footer a:hover { text-decoration: underline; }

.workflow-section { margin-top: 1rem; padding: 1.2rem; }

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

.workflow-settings-toggle[aria-expanded="true"] { background: var(--lp-soft); color: var(--lp-brand-dark); }

.workflow-settings {
  margin: 0 0 1rem;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  background: #f8fafa;
}

.workflow-settings__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  padding: .9rem;
}

.workflow-setting {
  display: grid;
  align-content: start;
  gap: .4rem;
  color: #53676e;
  font-size: .75rem;
  font-weight: 700;
}

.workflow-setting__controls { display: grid; grid-template-columns: minmax(62px, .7fr) minmax(82px, 1fr); gap: .4rem; }
.workflow-setting .form-control,
.workflow-setting .form-select { min-height: 39px; border-color: #cbd8dc; border-radius: 8px; background-color: #fff; color: #33484f; font-size: .82rem; }
.workflow-setting small { min-height: .8rem; color: var(--lp-green); font-size: .68rem; }

.workflow-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  align-items: start;
}

.wf-column {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 13px;
  background: #f9fbfb;
}

.wf-col-header {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  min-height: 70px;
  padding: .75rem .85rem;
  border-bottom: 1px solid var(--lp-line);
  background: #fff;
}

.wf-col-header__icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 10px; }
.wf-col-header__icon.is-upcoming { background: #edf4f5; color: var(--lp-brand); }
.wf-col-header__icon.is-editing { background: #fff4df; color: #ac6900; }
.wf-col-header__icon.is-delivered { background: #eaf4f1; color: var(--lp-green); }
.wf-col-header > span:nth-child(2) { display: grid; min-width: 0; }
.wf-col-header strong { font-size: .84rem; font-weight: 750; }
.wf-col-header small { color: var(--lp-muted); font-size: .7rem; font-weight: 500; }

.wf-count {
  display: inline-grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  padding: 0 .4rem;
  border-radius: 999px;
  background: #edf2f3;
  color: #587078;
  font-size: .72rem;
  font-weight: 800;
}

.wf-cards { display: grid; gap: .55rem; padding: .65rem; scrollbar-color: #c2d0d3 transparent; scrollbar-width: thin; }

.wf-card {
  overflow: hidden;
  border: 1px solid #dce5e7 !important;
  border-radius: 10px !important;
  background: #fff;
  box-shadow: none !important;
  transition: border-color .16s ease, transform .16s ease, opacity .18s ease;
}

.wf-card:hover { border-color: #a9c1c6 !important; transform: translateY(-1px); }
.wf-card .card-body { padding: .8rem; }
.wf-card .fw-semibold,
.wf-card .wf-card-title { color: #2f4249; font-size: .84rem; font-weight: 750 !important; line-height: 1.35; }
.wf-card .small { color: var(--lp-muted) !important; font-size: .74rem; line-height: 1.45; }
.wf-card a.wf-card-title { text-decoration: none; }
.wf-card a.wf-card-title:hover { color: var(--lp-brand); text-decoration: underline; }
.launch-pad .wf-card-remove {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  padding: 0;
  border: 1px solid #bfd0d4;
  border-radius: 9px;
  background: #fff;
  color: #38626c;
  box-shadow: none;
  font-size: .78rem;
  line-height: 1;
  opacity: 1;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.launch-pad .wf-card-remove:hover {
  border-color: #7ea4ac;
  background: #eaf2f3;
  color: #1f4d57;
}

.launch-pad .wf-card-remove:focus-visible {
  outline: 3px solid rgba(56, 113, 126, .22);
  outline-offset: 2px;
}
.wf-empty { padding: 1.2rem .8rem; color: var(--lp-muted); font-size: .78rem; line-height: 1.5; text-align: center; }
.wf-hide { opacity: .2; transform: scale(.98); }

.workflow-footer { display: flex; justify-content: flex-end; padding-top: .9rem; }
.workflow-hidden-button .badge { display: inline-grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; background: #e8eef0; color: #506970; font-size: .68rem; }
.workflow-hidden-drawer { width: min(390px, 100vw) !important; }
.workflow-hidden-drawer .offcanvas-header { align-items: flex-start; border-bottom: 1px solid var(--lp-line); padding: 1.1rem 1.2rem; }
.workflow-hidden-drawer .offcanvas-title { color: var(--lp-ink); font-size: 1.25rem; }
.workflow-hidden-drawer .offcanvas-body { background: #f8fafa; padding: 1rem; }
.wf-hidden-section .fw-semibold { font-size: .9rem; }
.wf-hidden-list { max-height: 260px; overflow-y: auto; padding-right: 2px; -webkit-overflow-scrolling: touch; }
.wf-hidden-item { border: 1px solid var(--lp-line) !important; border-radius: 10px !important; }
.wf-status { transition: opacity .2s ease; }
.wf-status-hide { opacity: 0; }

.launch-pad [aria-busy="true"] { opacity: .72; transition: opacity .12s ease; }

@media (max-width: 1040px) {
  .launch-pad-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launch-pad-activity { grid-template-columns: 135px minmax(0, 1fr); }
  .launch-pad-activity__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launch-pad-activity-item:nth-child(2) { border-right: 0; }
  .launch-pad-activity-item:nth-child(-n + 2) { border-bottom: 1px solid #e5ecee; }
  .workflow-board-grid { grid-template-columns: 1fr; }
  .wf-cards { max-height: none !important; overflow-y: visible !important; }
}

@media (max-width: 820px) {
  .launch-pad-hero { align-items: stretch; flex-direction: column; gap: 1.15rem; }
  .launch-pad-hero__actions { justify-content: flex-start; }
  .launch-pad-focus-grid { grid-template-columns: 1fr; }
  .workflow-settings__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .launch-pad { width: min(100% - 1rem, 1180px); padding: 1.25rem 0 2.5rem; }
  .launch-pad-hero { padding: 0 .25rem 1.15rem; }
  .launch-pad-hero__copy h1 { font-size: 2rem; }
  .launch-pad-hero__date { font-size: .88rem; }
  .launch-pad-hero__actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .launch-pad-action { min-height: 44px; }
  .launch-pad-action--primary { grid-column: 1 / -1; }
  .launch-pad-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: .85rem 0; }
  .launch-pad-stat { grid-template-columns: 35px minmax(0, 1fr); gap: .55rem; min-height: 78px; padding: .7rem; }
  .launch-pad-stat__icon { width: 35px; height: 35px; border-radius: 9px; font-size: .92rem; }
  .launch-pad-stat small { font-size: .7rem; }
  .launch-pad-stat strong { font-size: 1.25rem; }
  .launch-pad-stat em { display: none; }
  .launch-pad-activity { grid-template-columns: 1fr; margin-bottom: .85rem; border-radius: 13px; }
  .launch-pad-activity__header { min-height: 44px; padding: .55rem .75rem; border-right: 0; border-bottom: 1px solid var(--lp-line); }
  .launch-pad-activity__header .launch-pad-live { display: inline-flex; }
  .launch-pad-activity-item { min-height: 64px; padding: .5rem .7rem; }
  .launch-pad-activity-item__content > span > span { font-size: .74rem; }
  .launch-pad-activity-item__content time,
  .launch-pad-activity-item__content small { font-size: .66rem; }
  .launch-pad-panel,
  .workflow-section { border-radius: 13px; }
  .launch-pad-panel__header { min-height: 82px; padding: .9rem; }
  .launch-pad-panel__header > div > span,
  .workflow-section__heading > div > p:last-child { font-size: .8rem; }
  .today-schedule,
  .attention-list { padding: .25rem .85rem .45rem; }
  .today-session { grid-template-columns: 50px 8px minmax(0, 1fr) auto; gap: .55rem; min-height: 76px; }
  .today-session__time strong { font-size: .88rem; }
  .today-session__meta,
  .today-session__duration { font-size: .74rem; }
  .attention-item { grid-template-columns: 35px minmax(0, 1fr) auto; gap: .6rem; min-height: 64px; }
  .attention-item__icon { width: 35px; height: 35px; }
  .attention-item__content strong { font-size: .82rem; }
  .attention-item__content > span { font-size: .74rem; }
  .attention-footer { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .workflow-section { padding: .85rem; }
  .workflow-section__heading { align-items: stretch; flex-direction: column; }
  .workflow-settings-toggle { width: 100%; min-height: 44px; }
  .workflow-settings__grid { grid-template-columns: 1fr; }
  .workflow-setting .form-control,
  .workflow-setting .form-select { min-height: 44px; font-size: 1rem; }
  .wf-col-header { min-height: 68px; }
  .wf-card .card-body { padding: .85rem; }
  .workflow-footer { justify-content: stretch; }
  .workflow-hidden-button { width: 100%; min-height: 44px; }
}

@media (max-width: 340px) {
  .launch-pad-summary { grid-template-columns: 1fr; }
  .launch-pad-stat em { display: inline; }
  .launch-pad-hero__actions { grid-template-columns: 1fr; }
  .launch-pad-action--primary { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-pad *, .launch-pad *::before, .launch-pad *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *





 */
.pac-container {
    z-index: 9999; /* Ensure the autocomplete dropdown appears above the modal */
}

/* session_categories.css */
#session_category_form .session-category-packages {
    height: auto; /* Adjust this as needed */
    overflow-y: auto; /* Enable scrolling if necessary */
}

#session_category_form .session-category-packages[disabled] {
    opacity: 0.5; /* Visually indicate the field is disabled */
}

.contract_template_draggable {
    cursor: move;
    background-color: #f8f9fa; /* Light gray background */
    border: 1px solid #ced4da; /* Slightly darker border for visibility */
    padding: 10px;
    margin-bottom: 5px;
}

.signature-box {
    position: relative;
    border: 2px solid #ccc;
    height: 100px; /* Adjust height as necessary */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-placeholder {
    color: #ccc;
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
}

.questionnaire-answer-box {
    background-color: #f8f9fa;
    margin-top: 5px;
    padding: 10px;
}

#photoCarousel .carousel-item img {
    max-width: 100%; /* Make image max out at 100% of its container width */
    max-height: 1080px; /* Maximum height for the image */
    object-fit: contain; /* This will make sure the image is scaled properly */
    width: auto; /* Ensures the width is responsive */
    height: auto; /* Ensures the height is responsive */
    margin: auto; /* Center the image horizontally */
    display: block; /* Remove inline nature of images to allow margin auto to work */
}

.filepond--root {
    position: relative; /* Make sure your FilePond root is positioned relatively */
}

.filepond--warning {
    display: contents;
    text-align: center;
    width: 100%; /* Take up the full width */
    margin-top: 10px; /* Add some space above the message */
}

.filepond--warning-message {
    transition: opacity 0.5s ease-in-out; /* example duration */
}

/* Responsive styles for the map container */
@media (max-width: 767px) {
    #location-map {
        height: 300px; /* Adjust height for smaller devices */
    }
}

@media (min-width: 768px) {
    #location-map {
        height: 400px; /* Larger height for tablets and desktops */
    }
}

/* Styles for the location details modal */
.modal-content {
    border-radius: 0.5rem; /* Rounded corners for a modern look */
}

.location-details-modal .modal-body {
    padding: 1.5rem; /* Better padding for readability */
}

.location-details-modal .modal-content {
    overflow-x: hidden;
    max-width: 100%;
}

.location-details-item {
    display: inline-flex;
    justify-content: start;
    align-items: center;
    width: 100%;
}

.location-details-button {
    margin-left: 10px; /* Adjust the spacing as needed */
}

.highlight-new-timeoff-blocks {
    background-color: #7CC1D7;
    /*border: 1px solid #ffcc00; /* Yellow border */
}

.fc-event-time {
    display: none; /* Hide the time text */
}

/* Ensure the event harness occupies the full width of its container */
.fc-timegrid-event-harness {
  width: 100% !important;
  left: 0 !important;
}

/* Ensure the event itself also stretches to full width */
.fc-timegrid-event,
.fc-v-event {
  width: 100% !important;
  left: 0 !important;
}

/* Specific class for the partial session if needed */
.fc-timegrid-event-harness.fc-timegrid-event-harness-inset {
  width: 100% !important;
  left: 0 !important;
}


.time-off-partial-day .fc-event-title {
    font-weight: normal; /* Make the font weight normal */
    color: white !important; /* Ensure the text color is white */
}

.time-off-partial-day {
    background-color: #8f6d55 !important; /* Match the calendar's Time off legend */
}

.photo-session-partial .fc-event-title {
    font-weight: normal; /* Make the font weight normal */
    color: white !important; /* Ensure the text color is white */
}

.photo-session-partial {
    background-color: #ee9712 !important; /* Match the calendar's Sessions legend */
}





/* General styles for the carousel images to ensure proper scaling */
#photoCarousel .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Prevent images from being cut off */
}

/* app/assets/stylesheets/application.css */



/* Ensure table rows are hidden on small screens */
@media (max-width: 576px) {
  .customer-table-row {
    display: none !important;
  }
}

/* Ensure cards are hidden on larger screens */
@media (min-width: 577px) {
  .customer-card {
    display: none !important;
  }
}

.move-minisession-custom-button {
  width: auto;
  max-width: 400px; /* Increase width */
  padding: 0.75rem 1.5rem; /* Increase padding for height */
  font-size: 1.25rem; /* Increase font size */
  line-height: 1.5;
  border-radius: 0.3rem;
  display: inline-block;
}

/*
 * Application-wide switches
 *
 * Keep Bootstrap switches compact and horizontal even when a page has other
 * input sizing rules. The security/support admin styles are excluded from this
 * bundle above, but these explicit dimensions also make every app switch feel
 * consistent across cards, forms, and modals.
 */
.form-check.form-switch .form-check-input {
  width: 2.65rem;
  min-width: 2.65rem;
  height: 1.45rem;
  min-height: 1.45rem;
  margin-top: .04rem;
  padding: 0;
  appearance: none;
  border: 1px solid #aeb8c4;
  border-radius: 999px;
  background-color: #c9d1da;
  background-image: radial-gradient(circle, #fff 0 46%, transparent 49%);
  background-repeat: no-repeat;
  background-position: .12rem center;
  background-size: 1.08rem 1.08rem;
  box-shadow: inset 0 1px 2px rgba(27, 39, 51, .12);
  cursor: pointer;
  vertical-align: middle;
  transition: background-color .18s ease, background-position .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.form-check.form-switch .form-check-input:hover:not(:disabled) {
  border-color: #84919f;
}

.form-check.form-switch .form-check-input:checked {
  border-color: #477f87;
  background-color: #4f8e97;
  background-image: radial-gradient(circle, #fff 0 46%, transparent 49%);
  background-position: calc(100% - .12rem) center;
}

.form-check.form-switch .form-check-input:focus {
  border-color: #477f87;
  box-shadow: 0 0 0 .2rem rgba(79, 142, 151, .2), inset 0 1px 2px rgba(27, 39, 51, .1);
  outline: 0;
}

.form-check.form-switch .form-check-input:disabled {
  cursor: not-allowed;
  filter: saturate(.55);
  opacity: .55;
}

.form-check.form-switch.form-switch-sm .form-check-input {
  width: 2.4rem;
  min-width: 2.4rem;
  height: 1.3rem;
  min-height: 1.3rem;
  background-position: .1rem center;
  background-size: .96rem .96rem;
}

.form-check.form-switch.form-switch-sm .form-check-input:checked {
  background-position: calc(100% - .1rem) center;
}

.form-check.form-switch .form-check-label {
  min-height: 1.45rem;
  line-height: 1.45rem;
}

@media (prefers-reduced-motion: reduce) {
  .form-check.form-switch .form-check-input { transition: none; }
}

/* Shared font picker ------------------------------------------------------- */
.orbit-font-picker {
  position: relative;
  width: 100%;
}

.orbit-font-picker__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
  pointer-events: none;
}

.orbit-font-picker__toggle {
  width: 100%;
  min-height: 44px;
  padding: .55rem .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border: 1px solid #ced4da;
  border-radius: .5rem;
  background: #fff;
  color: #17212b;
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .03);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.orbit-font-picker__toggle:hover {
  border-color: #93a2b1;
  background: #fcfdfd;
}

.orbit-font-picker__toggle:focus-visible,
.orbit-font-picker__toggle[aria-expanded="true"] {
  border-color: #5f979f;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(79, 142, 151, .18);
}

.orbit-font-picker__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}

.orbit-font-picker__chevron {
  flex: 0 0 auto;
  color: #6f7b88;
  font-size: .82rem;
  transition: transform .16s ease;
}

.orbit-font-picker__toggle[aria-expanded="true"] .orbit-font-picker__chevron {
  transform: rotate(180deg);
}

.orbit-font-picker__menu {
  position: absolute;
  z-index: 1090;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  max-height: min(360px, 46vh);
  padding: .45rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #dfe5ea;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, .17), 0 3px 10px rgba(17, 24, 39, .06);
}

.orbit-font-picker.is-dropup .orbit-font-picker__menu {
  top: auto;
  bottom: calc(100% + 7px);
}

.orbit-font-picker__option {
  width: 100%;
  min-height: 43px;
  padding: .55rem .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-radius: .55rem;
  background: transparent;
  color: #17212b;
  font-size: 1.04rem;
  line-height: 1.3;
  text-align: left;
  font-weight: 400;
}

.orbit-font-picker__option:hover,
.orbit-font-picker__option:focus-visible {
  background: #eef7f8;
  outline: 0;
}

.orbit-font-picker__option.is-selected {
  background: #e5f2f4;
  color: #285f67;
}

.orbit-font-picker__option-meta {
  min-width: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
}

.orbit-font-picker__sample {
  color: #8a95a2;
  font-size: .85em;
}

.orbit-font-picker__check {
  width: 1rem;
  color: #3f7d84;
  opacity: 0;
}

.orbit-font-picker__option.is-selected .orbit-font-picker__check {
  opacity: 1;
}

@media (max-width: 575.98px) {
  .orbit-font-picker__menu {
    max-height: min(320px, 42vh);
  }

  .orbit-font-picker__option {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-font-picker__toggle,
  .orbit-font-picker__chevron { transition: none; }
}
/* Language choice is available before an account exists. Account-backed public
   pages intentionally suppress it because the studio locale is authoritative. */
.orbit-locale-switcher {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1080;
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.25rem 1rem rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(8px);
}

.orbit-locale-switcher__link {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: #4b5563;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.orbit-locale-switcher__link:hover,
.orbit-locale-switcher__link.is-active {
  background: #111827;
  color: #fff;
}
