/**
 * waiver_mode.css — In-booking waiver overlay styles (map page only).
 * Loaded alongside booking_mode.css and info.css in map.html.
 *
 * Layout mirrors info.css exactly:
 *   .waiver-mode-overlay → .info-mode-overlay
 *   .waiver-shell → .info-shell
 *   .waiver-nav / .waiver-tab → .info-nav / .info-tab
 *   .waiver-panels / .waiver-panel → .info-panels / .info-panel
 *
 * Reuses .panel-scroll-area, .panel-section, .section-header, .section-body
 * directly from info.css — no duplication.
 *
 * Waiver-specific additions: .waiver-footer, .waiver-initials-row,
 * .waiver-read-sentinel, .waiver-read-progress.
 */

/* ============================================================================
   WAIVER MODE — INFO-STYLE OVERLAY
   ============================================================================ */

/* ── Overlay — mirrors .info-mode-overlay ────────────────────────────────── */
.waiver-mode-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;   /* fallback */
  height: 100dvh;  /* dynamic viewport */
  z-index: 1100;   /* above info (500) and nav — prevents mode-switch during waiver */
  padding: calc(var(--header-height, 60px) + 0.8rem) 0.8rem 0.8rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* CRITICAL: The [hidden] attribute sets display:none, but an explicit CSS
   display:flex overrides it. This rule ensures the overlay stays hidden
   until WaiverMode.dock() removes the attribute. */
.waiver-mode-overlay[hidden] {
  display: none !important;
}

/* ── Shell — mirrors .info-shell ─────────────────────────────────────────── */
.waiver-shell {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: var(--radius-6xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-border, #e0e4e8);
}


/* ── Tab Nav Wrapper — positions scroll-overflow chevrons ───────────────── */
.waiver-nav-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border, #e0e4e8);
}

/* Chevrons: hidden by default (desktop wrapping layout needs none) */
.waiver-nav-chevron {
  display: none;
}

/* ── Tab Nav — reuses .info-nav rules; add waiver-specific alias ─────────── */
.waiver-nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  overflow: visible;
  gap: 0;
  padding: var(--space-sm) var(--space-md);
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  border-bottom: none;  /* wrapper owns the border */
  border-right: none;
  flex-shrink: 0;
}

/* ── Tab — identical to .info-tab; uses border-right pipe separator ──────── */
.waiver-tab {
  flex-shrink: 1;
  min-width: 0;
  width: auto;
  padding: 0 var(--space-xs);
  border: none;
  border-radius: 0;
  border-right: 3px solid var(--color-text-tertiary);
  background: transparent;
  color: var(--color-ink, #1a1a1a);
  font-family: var(--font-family-base);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium, 500);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: color 0.15s ease;
}

.waiver-tab:last-child,
.waiver-tab.row-end {
  border-right: none;
}

.waiver-tab:hover {
  background: transparent;
  color: var(--color-ink, #1a1a1a);
}

.waiver-tab.active {
  background: transparent;
  color: var(--color-extra-muted, #99a1b0);
  font-weight: var(--font-weight-semibold, 600);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.waiver-tab:focus-visible {
  outline: 2px solid var(--color-primary, #1a56db);
  outline-offset: -2px;
}

/* ── Panels container — mirrors .info-panels ─────────────────────────────── */
.waiver-panels {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* ── Individual panel — mirrors .info-panel ──────────────────────────────── */
.waiver-panel {
  display: none;
  background: color-mix(in srgb, var(--color-background) 85%, transparent);
  height: 100%;
  overflow: hidden;
  padding: 0 var(--space-xs) var(--space-xl) var(--space-md);
  max-width: 100%;
}

.waiver-panel.active {
  display: flex;
  flex-direction: column;
}

/* ── Section header without icon — simplified 2-column grid.
   Scoped to waiver panels only to avoid changing info-mode headers. ─────── */
.waiver-panel .section-header--no-icon {
  grid-template-columns: 1fr auto;
}

.waiver-panel .section-header--no-icon h3 {
  padding-inline: 0;
  grid-column: 1;
}

/* Chevron: info.css targets grid-column:3 (3-col grid with icon).
   No-icon headers use a 2-column grid, so shift chevron to col 2. */
.waiver-panel .section-header--no-icon::after {
  grid-column: 2;
}

/* Panels that require initials render as:
   [icon] [title] [initials] [chevron] on a single row. */
.waiver-panel .section-header--with-initials {
  grid-template-columns: var(--size-section-icon) minmax(0, 1fr) auto auto;
  align-items: center;
}

.waiver-panel .section-header--with-initials h3 {
  grid-column: 2;
  grid-row: 1;
  padding-inline: 0;
}

.waiver-panel .section-header--with-initials::after {
  grid-column: 4;
}

.waiver-panel .section-header--with-initials.section-header--no-icon {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.waiver-panel .section-header--with-initials.section-header--no-icon h3 {
  grid-column: 1;
}

.waiver-panel .section-header--with-initials.section-header--no-icon::after {
  grid-column: 3;
}

/* ── [WAIVER] Action row — pinned below scroll area, always visible ───────── */
.waiver-action-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border, #e0e4e8);
  background: color-mix(in srgb, var(--color-surface) 95%, transparent);
  flex-shrink: 0;
}

.waiver-action-row label {
  font-weight: var(--font-weight-semibold, 600);
  font-size: var(--text-md);
  color: var(--color-ink, #1a1a1a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50%;
  margin-left: auto;
}

/* ── [WAIVER] Next button — advances to next waiver tab ──────────────────── */
.waiver-next-btn {
  padding: 6px 16px;
  background: var(--color-primary, #1a56db);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold, 600);
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.waiver-next-btn:hover {
  background: color-mix(in srgb, var(--color-primary) 85%, black);
}

/* ── [WAIVER] Legacy initials row — kept for standalone template ─────────── */
.waiver-initials-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border-light, #f0f0f0);
  margin-top: var(--space-sm);
}

.waiver-initials-row label {
  font-weight: var(--font-weight-semibold, 600);
  font-size: var(--text-md);
  color: var(--color-ink, #1a1a1a);
  white-space: nowrap;
}

/* ── [WAIVER] Embedded headings inside section-body ──────────────────────────
   Waiver content_html is seeded with a leading <h3> that mirrors the accordion
   title above. Normalize h2–h4 to body text scale so they don't clash with
   the panel's own section-header h3. Covers all heading tags allowed by the
   content sanitizer (h2, h3, h4). ────────────────────────────────────────── */
.waiver-panel .section-body h2,
.waiver-panel .section-body h3,
.waiver-panel .section-body h4 {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--color-ink, #1a1a1a);
  margin: 0 0 var(--space-xs, 0.25rem);
  text-transform: none;
  line-height: var(--line-height-normal, 1.5);
}

/* ── [WAIVER] Static section header — Legal Text, always expanded ────────── */
.section-header--static {
  cursor: default !important;
}

.section-header--static::after {
  display: none !important;
}

.section-body--static {
  max-height: none !important;
  overflow: visible !important;
}

.waiver-initials {
  width: 72px;
  text-align: center;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold, 600);
  padding: 6px 8px;
  border: 1px solid var(--color-border, #e0e4e8);
  border-radius: 4px;
  font-size: var(--text-md);
}

.waiver-initials:focus {
  outline: 2px solid var(--color-primary, #1a56db);
  outline-offset: -1px;
  border-color: var(--color-primary, #1a56db);
}

/* ── [WAIVER] Read sentinel — invisible scroll marker ────────────────────── */
.waiver-read-sentinel {
  height: 1px;
  width: 100%;
  flex-shrink: 0;
}

/* ── [WAIVER] Footer — pinned below panels, never scrolls ────────────────── */
.waiver-footer {
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border, #e0e4e8);
  background: color-mix(in srgb, var(--color-surface) 95%, transparent);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.waiver-footer.waiver-footer--signature-active {
  flex-direction: row;
  align-items: center;
}

.waiver-footer.waiver-footer--signature-active .waiver-footer-actions {
  flex: 0 0 auto;
  justify-content: flex-start;
}

.waiver-footer.waiver-footer--signature-active .waiver-signature-row {
  flex: 1;
  min-width: 0;
}

/* ── Footer actions row — Exit | progress | Next Initial ─────────────── */
.waiver-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.waiver-footer-actions[hidden] {
  display: none;
}

.waiver-exit-btn {
  padding: 8px 16px;
  background: transparent;
  color: var(--color-muted, #555);
  border: 1px solid var(--color-border, #e0e4e8);
  border-radius: 4px;
  font-size: var(--text-md);
  font-weight: var(--font-weight-medium, 500);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.waiver-exit-btn:hover {
  background: var(--color-border-light, #f0f4f8);
  color: var(--color-ink, #1a1a1a);
}

.waiver-initials-progress {
  font-size: var(--text-md);
  color: var(--color-muted, #555);
  text-align: center;
  flex: 1;
}

.waiver-next-initial-btn {
  padding: 8px 16px;
  background: var(--color-primary, #1a56db);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold, 600);
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.waiver-next-initial-btn:hover {
  background: color-mix(in srgb, var(--color-primary) 85%, black);
}

.waiver-next-initial-btn[hidden] {
  display: none;
}

.waiver-signature-row {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.waiver-signature-row[hidden] {
  display: none;
}

/* ── In-header initials field ────────────────────────────────────────── */
.waiver-panel .section-header .waiver-initials {
  margin-left: auto;
  flex-shrink: 0;
}

.waiver-panel .section-header--with-initials .waiver-initials {
  grid-column: 3;
  grid-row: 1;
  margin-left: 0;
  justify-self: end;
}

.waiver-panel .section-header--with-initials.section-header--no-icon .waiver-initials {
  grid-column: 2;
}

.waiver-panel .section-header .waiver-initials[readonly] {
  background: #f7f7f7;
  cursor: pointer;
}

.waiver-initials-progress.waiver-initials-progress--warning {
  color: #c0392b;
  font-weight: 600;
}

#waiverLegalNameInput {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--color-border, #e0e4e8);
  border-radius: 4px;
  font-size: var(--text-md);
  font-family: var(--font-family-base);
}

#waiverLegalNameInput:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

#waiverLegalNameInput:focus {
  outline: 2px solid var(--color-primary, #1a56db);
  outline-offset: -1px;
}

#waiverSignBtn {
  padding: 10px 24px;
  background: var(--color-primary, #1a56db);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold, 600);
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

#waiverSignBtn:disabled {
  background: var(--color-muted, #999);
  cursor: not-allowed;
}

#waiverSignBtn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--color-primary) 85%, black);
}

/* Body class to prevent scroll behind overlay */
body.waiver-mode-active {
  overflow: hidden;
}

/* ============================================================================
   STANDALONE WAIVER PAGE — background + layout overrides
   Applied via body.waiver-standalone (waiver.html / waiver_review.html).
   No site header present, so overlay padding is reduced to a small gutter.
   ============================================================================ */

body.waiver-standalone {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: var(--text-base);
  color: var(--color-ink, #0f172a);
  /* Cover ensures the image always fills the viewport regardless of aspect ratio */
  background-image: url("/static/content/images/background_area_images/waiver/waiver_background_desktop.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* height: 100dvh keeps the body exactly one viewport tall with no overflow */
  height: 100dvh;
  height: 100vh; /* fallback first for older browsers */
  height: 100dvh;
}

/* Mobile: swap to portrait-optimized image */
@media (max-width: 768px) {
  body.waiver-standalone {
    background-image: url("/static/content/images/background_area_images/waiver/waiver_background_mobile.webp");
    background-position: center top;
  }
}

/* Standalone overlay: no header offset, small uniform gutter */
body.waiver-standalone .waiver-mode-overlay {
  box-sizing: border-box;
  padding: 0.8rem;
}

@media (max-width: 768px) {
  body.waiver-standalone .waiver-mode-overlay {
    padding: 0.4rem;
  }
}

/* Standalone shell: solid surface over the background image */
body.waiver-standalone .waiver-shell {
  flex: 1 1 0;
  min-height: 0;
  background: color-mix(in srgb, var(--color-background) 85%, transparent);
}

/* Waiver review page: hide interactive elements */
body.waiver-standalone.waiver-review .waiver-action-row,
body.waiver-standalone.waiver-review .waiver-footer,
body.waiver-standalone.waiver-review .waiver-footer-actions,
body.waiver-standalone.waiver-review #waiverTokenCountdown {
  display: none !important;
}

/* ── Responsive — mirrors info.css mobile behaviour ──────────────────────── */
@media (max-width: 768px) {
  .waiver-mode-overlay {
    padding: calc(var(--header-height, 60px) + 0.4rem) 0.4rem 0.4rem;
  }

  .waiver-shell {
    border-radius: var(--radius-2xl, 1rem);
  }

  /* Horizontal scroll on mobile — tabs overflow rather than wrap */
  .waiver-nav {
    flex-flow: row nowrap;
    justify-content: flex-start;
    overflow: auto hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* Firefox */
    padding: var(--space-xs) var(--space-sm);
    background: transparent;
  }

  .waiver-nav::-webkit-scrollbar {
    display: none;                /* Chrome/Safari */
  }

  .waiver-tab {
    flex: 0 0 auto;               /* prevent shrinking; let tabs be natural width */
    font-size: var(--text-md);
    padding-left: var(--space-xxs, 4px);
    padding-right: var(--space-xxs, 4px);
    white-space: nowrap;
  }

  /* Nav wrapper height bump on mobile — padding drives height, not a fixed rem */
  .waiver-nav-wrapper {
    padding-block: 0.35em;
    background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  }

  /* Chevrons: visible on mobile, hidden until JS adds the state class */
  .waiver-nav-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-ink, #1a1a1a);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 1;
  }

  .waiver-nav-chevron--left {
    left: 0;
    background: linear-gradient(to right, var(--color-surface, #fff) 60%, transparent);
  }

  .waiver-nav-chevron--right {
    right: 0;
    background: linear-gradient(to left, var(--color-surface, #fff) 60%, transparent);
  }

  .waiver-nav-wrapper.can-scroll-left  .waiver-nav-chevron--left  { opacity: 1; }
  .waiver-nav-wrapper.can-scroll-right .waiver-nav-chevron--right { opacity: 1; }

  .waiver-signature-row {
    flex-direction: column;
  }

  #waiverLegalNameInput {
    width: 100%;
  }

  #waiverSignBtn {
    width: 100%;
  }

  .waiver-footer-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
  }

  .waiver-initials-progress {
    width: 100%;
    order: -1;
  }

  .waiver-footer.waiver-footer--signature-active {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Guest info: additional guest rows (Fix #6) ──────────────────────── */
/* These classes are used in _addGuestInfoGuestRow() and the guest info popup.
 * They were removed from booking_mode.css during the waiver cleanup. */
.waiver-guest-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .waiver-guest-row {
    grid-template-columns: 1fr;
  }
}

.waiver-add-guest-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: transparent;
  border: 1px dashed #2a6b3c;
  border-radius: 4px;
  color: #2a6b3c;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s;
}

.waiver-add-guest-btn:hover {
  background: #eaf4ed;
}

.waiver-remove-guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 50%;
  color: #888;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.waiver-remove-guest-btn:hover {
  background: #fee;
  border-color: #c0392b;
  color: #c0392b;
}

/* ── Token countdown timer (Fix #9) ─────────────────────────────────── */
.waiver-token-countdown {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  background: #f5f5f5;
}

.waiver-token-countdown--warning {
  color: #c0392b;
  font-weight: 600;
  background: #fdf3f2;
  border: 1px solid #f5b7b1;
}

/* ── DOM toast fallback (Fix #15) ────────────────────────────────────── */
.waiver-toast-fallback {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  background: #333;
  color: #fff;
}

.waiver-toast-fallback.hidden {
  display: none;
}

.waiver-toast-fallback[data-type="error"] {
  background: #c0392b;
}

.waiver-toast-fallback[data-type="warning"] {
  background: #e67e22;
}

.waiver-toast-fallback[data-type="success"] {
  background: #27ae60;
}

/* ── Mobile initials sheet — mobile-only keyboard reduction flow ───────── */
.waiver-mobile-initials-modal {
  display: none;
}

.waiver-mobile-initials-modal[hidden] {
  display: none !important;
}

/* ── Cancel header — title left, close (×) button right ──────────── */
.waiver-cancel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xs) var(--space-md);
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  border-bottom: 1px solid var(--color-border, #e0e4e8);
  flex-shrink: 0;
}

.waiver-cancel-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-muted, #555);
}

.waiver-cancel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-ink, #1a1a1a);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.waiver-cancel-btn:hover {
  background: var(--color-border-light, #f0f4f8);
}

.waiver-cancel-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (width <= 768px) {
  .waiver-mobile-initials-modal {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    z-index: 30;
  }

  .waiver-mobile-initials-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgb(15 23 42 / 40%);
    padding: 0;
    margin: 0;
    cursor: pointer;
  }

  .waiver-mobile-initials-sheet {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm, 0.75rem);
    padding: var(--space-md, 1rem);
    border-radius: 1.25rem 1.25rem 0 0;
    background: var(--color-surface, #fff);
    box-shadow: 0 -12px 30px rgb(15 23 42 / 24%);
  }

  .waiver-mobile-initials-kicker {
    margin: 0;
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-weight-semibold, 600);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted, #555);
  }

  .waiver-mobile-initials-title {
    margin: 0;
    font-size: var(--text-xl, 1.25rem);
    line-height: 1.2;
    color: var(--color-ink, #1a1a1a);
  }

  .waiver-mobile-initials-description,
  .waiver-mobile-initials-preview,
  .waiver-mobile-initials-error {
    margin: 0;
    font-size: var(--text-sm, 0.875rem);
    line-height: 1.5;
  }

  .waiver-mobile-initials-description,
  .waiver-mobile-initials-preview {
    color: var(--color-muted, #555);
  }

  .waiver-mobile-initials-error {
    color: #c0392b;
    font-weight: 600;
  }

  .waiver-mobile-initials-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-weight-semibold, 600);
    color: var(--color-ink, #1a1a1a);
  }

  .waiver-mobile-initials-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--color-border, #e0e4e8);
    border-radius: 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
  }

  .waiver-mobile-initials-field input:focus {
    outline: 2px solid var(--color-primary, #1a56db);
    outline-offset: -1px;
    border-color: var(--color-primary, #1a56db);
  }

  .waiver-mobile-initials-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .waiver-mobile-initials-primary,
  .waiver-mobile-initials-secondary {
    min-height: 2.75rem;
    border-radius: 999px;
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-weight-semibold, 600);
    cursor: pointer;
  }

  .waiver-mobile-initials-primary {
    flex: 1 1 13rem;
    border: none;
    background: var(--color-primary, #1a56db);
    color: #fff;
    padding: 0.85rem 1rem;
  }

  .waiver-mobile-initials-secondary {
    flex: 1 1 8rem;
    border: 1px solid var(--color-border, #e0e4e8);
    background: #fff;
    color: var(--color-ink, #1a1a1a);
    padding: 0.85rem 1rem;
  }

  .waiver-cancel-header {
    padding: var(--space-xxs, 4px) var(--space-sm);
  }
}
