/* ============================================================
   BTX DPKit — bundled CSS (tokens + BTX theme overrides + ux primitives)
   ============================================================
   [H2 fix per BTX-MOCKUPS-V3-WEBAPP-001 spec §13]
   Source: ~/Documents/tinker/projects/enquirypilot/landing_page/demo/maxalu/_kit/
   Source commit: 113a76b42 (enquirypilot, 2026-05-23)
   Reskinned: 2026-05-24 for BeeTrustScore (honey/teal/plum palette)
   Concatenation order: maxalu/tokens.css → BTX override block → maxalu/ux.css
   Drift detection: if maxalu kit advances past 113a76b42, this file goes stale.
     Follow-up sprint: BTX-DPKIT-CONVERGE-001 (planning) — unify kits post-Navin.
   To re-sync: copy tokens.css + ux.css from source path, preserve BTX override
     block between them, bump source-commit field in this header.
   ============================================================ */

/* ============================================================
   DP Mockup Kit — tokens.css (neutral base)
   ============================================================
   Sprint: DP-MOCKUP-KIT-001 (MKT-T1)
   Authored: 2026-05-22

   Neutral CSS custom properties for the mockup kit. Consumers
   (EP MaxAlu, chisel-mockups, beetrustscore, etc.) OVERRIDE these
   via a per-project theme.css per design-fidelity-adapt-not-copy.md.
   Goal: the kit renders sensibly out-of-box with neutral palette,
   then each project tints it via theme tokens.

   USAGE (in consuming HTML, with link tag):
     load tokens.css first, then ux.css, then optional project theme.css

   OVERRIDE PATTERN (in project theme.css):
     :root {
       --primary-500: #f59e0b;
       --primary-100: #fef3c7;
     }
   ============================================================ */

:root {
  /* ── Neutral palette: slate (neutrals) ─────────────────── */
  --slate-50:   #f8fafc;
  --slate-100:  #f1f5f9;
  --slate-200:  #e2e8f0;
  --slate-300:  #cbd5e1;
  --slate-400:  #94a3b8;
  --slate-500:  #64748b;
  --slate-600:  #475569;
  --slate-700:  #334155;
  --slate-800:  #1e293b;
  --slate-900:  #0f172a;

  /* ── Primary palette (neutral default = slate; consumers override) ── */
  /* Default primary is slate so the kit renders neutrally without theme.css.
     Projects override --primary-* in their theme.css to brand-color. */
  --primary-50:   var(--slate-50);
  --primary-100:  var(--slate-100);
  --primary-200:  var(--slate-200);
  --primary-300:  var(--slate-300);
  --primary-500:  var(--slate-500);
  --primary-700:  var(--slate-700);
  --primary-900:  var(--slate-900);

  /* ── Amber (a common alternate; explicit values for direct use) ── */
  --amber-50:   #fffbeb;
  --amber-100:  #fef3c7;
  --amber-200:  #fde68a;
  --amber-300:  #fcd34d;
  --amber-500:  #f59e0b;
  --amber-600:  #d97706;
  --amber-700:  #b45309;
  --amber-800:  #92400e;
  --amber-900:  #78350f;

  /* ── Semantic colors (status feedback) ─────────────────── */
  --success-500: #16a34a;
  --success-600: #15803d;
  --success-bg:  #dcfce7;
  --success-fg:  #14532d;

  --error-500:   #dc2626;
  --error-600:   #b91c1c;
  --error-bg:    #fee2e2;
  --error-fg:    #7f1d1d;

  --warning-500: #d97706;
  --warning-600: #b45309;
  --warning-bg:  #fef3c7;
  --warning-fg:  #78350f;

  --info-500:    #0ea5e9;
  --info-600:    #0284c7;
  --info-bg:     #e0f2fe;
  --info-fg:     #0c4a6e;

  /* ── Surface + text + borders ──────────────────────────── */
  --surface:        #ffffff;
  --surface-card:   #ffffff;
  --surface-page:   var(--slate-50);
  --surface-muted:  var(--slate-100);

  --text:           #0f172a;
  --text-secondary: #475569;
  --text-muted:     #64748b;
  --text-disabled:  #94a3b8;

  --border:         var(--slate-200);
  --border-strong:  var(--slate-300);
  --border-muted:   var(--slate-100);

  /* ── Spacing scale (compact 4-px grid) ─────────────────── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;

  /* ── Border radii ──────────────────────────────────────── */
  --r-sm:   3px;
  --r-md:   6px;
  --r-lg:   8px;
  --r-xl:   12px;
  --r-pill: 999px;

  /* ── Shadows ───────────────────────────────────────────── */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.08), 0 4px 6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px rgba(15, 23, 42, 0.1), 0 10px 10px rgba(15, 23, 42, 0.04);

  /* ── Typography (neutral system stack; consumers override fonts in theme.css) ── */
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Monaco, Consolas, monospace;
  --font-display: var(--font-body);

  --fs-xs:   11px;
  --fs-sm:   13px;
  --fs-base: 14px;
  --fs-md:   15px;
  --fs-lg:   17px;
  --fs-xl:   20px;
  --fs-2xl:  24px;
  --fs-3xl:  30px;

  --lh-tight:  1.2;
  --lh-snug:   1.35;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-heavy:  800;

  /* ── Transitions ───────────────────────────────────────── */
  --tx-fast: 120ms ease;
  --tx-norm: 180ms ease;
  --tx-slow: 260ms ease;

  /* ── Z-index scale ─────────────────────────────────────── */
  --z-base:    1;
  --z-raised:  10;
  --z-sticky:  100;
  --z-overlay: 1000;
  --z-modal:   9999;
  --z-toast:   10000;
}

/* ── Optional: dark-mode override stub (consumers can extend) ─── */
@media (prefers-color-scheme: dark) {
  /* :root { --surface: #0f172a; --text: #f8fafc; ... } */
  /* Disabled by default — opt-in per consumer via theme.css */
}

/* ============================================================
   ── BTX THEME OVERRIDES (cascade wins; appears AFTER tokens.css) ──
   ============================================================
   Maps DPKit semantic tokens to BTX brand vars (defined in _shared/brand.css).
   These rules override the neutral slate defaults from tokens.css above.
   Per ~/.claude/rules/design-fidelity-adapt-not-copy.md: BTX = honey/teal/plum.
   ============================================================ */
:root {
  /* Primary palette: BTX honey */
  --primary-50:   var(--honey-glow,  #FEF3C7);
  --primary-100:  var(--honey-cream, #FEF6E0);
  --primary-200:  var(--honey-soft,  #FCD34D);
  --primary-300:  var(--honey-soft,  #FCD34D);
  --primary-500:  var(--honey,       #F59E0B);
  --primary-700:  var(--honey-d,     #B45309);
  --primary-900:  #78350F;
  --primary-rgb:  180, 83, 9;

  /* Surfaces: BTX cream + fog (matches brand.css body bg) */
  --surface:        #FFFFFF;
  --surface-card:   #FFFFFF;
  --surface-page:   var(--fog,  #F8FAFC);
  --surface-muted:  var(--mist, #F1F5F9);

  /* Text: BTX ink + body + mute */
  --text:           var(--ink,   #0B1220);
  --text-secondary: var(--body,  #475569);
  --text-muted:     var(--mute,  #64748B);

  /* Borders: BTX line */
  --border:         var(--line,  #E2E8F0);
  --border-strong:  #CBD5E1;
  --border-muted:   #F1F5F9;

  /* Status: BTX emerald (success) + rose (error) + honey (warning) + teal (info) */
  --success-500: var(--emerald,    #10B981);
  --success-600: var(--emerald-d,  #059669);
  --success-bg:  var(--emerald-glow, #D1FAE5);
  --success-fg:  #064E3B;

  --error-500:   var(--rose,       #E11D48);
  --error-600:   var(--rose-d,     #9F1239);
  --error-bg:    var(--rose-glow,  #FFE4E6);
  --error-fg:    #881337;

  --warning-500: var(--honey,      #F59E0B);
  --warning-600: var(--honey-d,    #B45309);
  --warning-bg:  var(--honey-glow, #FEF3C7);
  --warning-fg:  #78350F;

  --info-500:    var(--teal,       #0F766E);
  --info-600:    var(--teal-d,     #134E4A);
  --info-bg:     var(--teal-glow,  #CCFBF1);
  --info-fg:     #134E4A;

  /* Typography: BTX uses Inter + JetBrains Mono (matches brand.css) */
  --font-body:    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Monaco, Consolas, monospace;
  --font-display: "Inter", system-ui, sans-serif;
}

/* ============================================================
   ── DPKit UX primitives (ux.css verbatim from maxalu) ──
   ============================================================ */

/* ============================================================
   DP Mockup Kit — ux.css (6 UX primitive class families)
   ============================================================
   Sprint: DP-MOCKUP-KIT-001 (MKT-T6)
   Authored: 2026-05-22
   Depends on: tokens.css (MKT-T1) — must load first

   PROVIDES (6 class families, all dp-* prefixed):
     1. .dp-toast*       — transient feedback (4 severities × 2 positions × 2 dismiss modes)
                            <div class="dp-toast dp-toast--success">…</div>
     2. .dp-modal*       — overlay dialogs (confirm / alert / custom + danger variant)
                            <div class="dp-modal" role="dialog">…</div>
     3. .dp-field-error* — inline form errors + summary banner
                            <input aria-invalid="true"><div class="dp-field-error">…</div>
     4. .dp-pagination*  — numbered / simple / compact pagination
                            <div class="dp-pagination dp-pagination--numbered">…</div>
     5. .dp-empty*       — no-data / no-results / no-access empty states
                            <div class="dp-empty"><span class="dp-empty-icon">…</span>…</div>
     6. .dp-skeleton / .dp-spinner / .dp-page-loading — loading states

   ANIMATIONS: 4 keyframes (dp-toast-in/out, dp-modal-in, dp-shimmer, dp-spin).
   PRINT: all kit chrome hidden via @media print at end of file.

   Class prefix `.dp-*` is reserved for DP-portfolio mockup-kit primitives.
   Consumer projects MUST NOT override `.dp-*` classes directly; use a
   project-theme.css with custom-property overrides on :root instead
   (per design-fidelity-adapt-not-copy.md).
   ============================================================ */


/* ============================================================
   0. BUTTON — neutral primitives used by other components
   ============================================================
   Lightweight button family — kit's own components reference these.
   Consumers MAY use directly OR override with their own .ep-btn / etc.
   Variants: primary (filled, primary brand), secondary (filled neutral),
             ghost (text-only), danger (filled red).
   Sizes: default (32px), sm (24px), lg (40px).
   ============================================================ */
.dp-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  line-height: 1.2;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--surface-card);
  color: var(--text);
  cursor: pointer;
  transition: background var(--tx-fast), border-color var(--tx-fast), box-shadow var(--tx-fast), transform var(--tx-fast);
  white-space: nowrap;
  user-select: none;
}
.dp-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
}
.dp-btn:active:not(:disabled) { transform: translateY(0.5px); }
.dp-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* primary — filled with brand color */
.dp-btn--primary {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
  box-shadow: var(--shadow-xs);
}
.dp-btn--primary:hover:not(:disabled) {
  background: var(--primary-900);
  border-color: var(--primary-900);
}
.dp-btn--primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 15, 23, 42), 0.25);
}

/* secondary — filled with neutral surface, subtle border */
.dp-btn--secondary {
  background: var(--surface-card);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.dp-btn--secondary:hover:not(:disabled) {
  background: var(--surface-muted);
  border-color: var(--text-muted);
}

/* ghost — text-only, no fill, no border */
.dp-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.dp-btn--ghost:hover:not(:disabled) {
  background: var(--surface-muted);
  color: var(--text);
}

/* danger — filled red, for destructive actions */
.dp-btn--danger {
  background: var(--error-500);
  color: #ffffff;
  border-color: var(--error-500);
  box-shadow: var(--shadow-xs);
}
.dp-btn--danger:hover:not(:disabled) {
  background: var(--error-600);
  border-color: var(--error-600);
}

/* size variants */
.dp-btn--sm { padding: 4px 10px; font-size: var(--fs-xs); border-radius: var(--r-sm); }
.dp-btn--lg { padding: 10px 20px; font-size: var(--fs-md); border-radius: var(--r-md); }


/* ============================================================
   1. TOAST — transient feedback
   ============================================================ */
.dp-toast-container {
  position: fixed;
  top: var(--sp-4);
  right: var(--sp-4);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  pointer-events: none;
}
.dp-toast-container > * { pointer-events: auto; }
.dp-toast-container.dp-toast-container--top-center {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.dp-toast {
  min-width: 320px;
  max-width: 440px;
  padding: 14px 16px 14px 14px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  color: var(--text);
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--slate-900);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: dp-toast-in 180ms ease-out;
}
.dp-toast.is-leaving { animation: dp-toast-out 180ms ease-in forwards; }

/* Severity = colored left accent + tinted icon-circle (white card stays clean) */
.dp-toast--success { border-left-color: var(--success-500); }
.dp-toast--success .dp-toast-icon { background: var(--success-bg); color: var(--success-600); }
.dp-toast--error   { border-left-color: var(--error-500); }
.dp-toast--error   .dp-toast-icon { background: var(--error-bg);   color: var(--error-600); }
.dp-toast--info    { border-left-color: var(--info-500); }
.dp-toast--info    .dp-toast-icon { background: var(--info-bg);    color: var(--info-600); }
.dp-toast--warning { border-left-color: var(--warning-500); }
.dp-toast--warning .dp-toast-icon { background: var(--warning-bg); color: var(--warning-600); }

.dp-toast-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
}
.dp-toast-body {
  flex: 1;
  min-width: 0;
}
.dp-toast-msg {
  flex: 1;
  font-weight: var(--fw-medium);
  color: var(--text);
}
.dp-toast-title {
  font-weight: var(--fw-semi);
  color: var(--text);
  margin-bottom: 2px;
  line-height: var(--lh-tight);
}
.dp-toast-sub {
  font-weight: var(--fw-normal);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  line-height: var(--lh-snug);
}
.dp-toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: var(--fs-lg);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  margin-top: -2px;
  transition: color var(--tx-fast);
}
.dp-toast-close:hover { color: var(--text); }

@keyframes dp-toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dp-toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(20px); }
}


/* ============================================================
   2. MODAL — overlay dialogs
   ============================================================ */
.dp-modal-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}
.dp-modal-root.is-open { display: flex; }

.dp-modal {
  position: relative;
  background: var(--surface-card);
  border-radius: var(--r-lg);
  min-width: 360px;
  max-width: 520px;
  width: 90vw;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.1),
    0 24px 48px -8px rgba(15, 23, 42, 0.25);
  animation: dp-modal-in 200ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Top accent stripe (default neutral; danger overrides) */
.dp-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-500);
  opacity: 0;
  transition: opacity var(--tx-norm);
}
.dp-modal--danger::before {
  background: var(--error-500);
  opacity: 1;
}

.dp-modal-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin: 0 0 var(--sp-2);
  color: var(--text);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
}
.dp-modal-body {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-5);
}
.dp-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-2);
  padding-top: var(--sp-3);
  margin: 0 calc(var(--sp-5) * -1) calc(var(--sp-4) * -1);
  padding: var(--sp-3) var(--sp-5);
  border-top: 1px solid var(--border-muted);
  background: var(--surface-muted);
  border-bottom-left-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
}

.dp-modal--danger .dp-modal-confirm {
  background: var(--error-500);
  border-color: var(--error-500);
  color: #ffffff;
}
.dp-modal--danger .dp-modal-confirm:hover {
  background: var(--error-600);
  border-color: var(--error-600);
}

@keyframes dp-modal-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}


/* ============================================================
   3. FORM ERROR — inline + summary banner
   ============================================================ */
.dp-field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--error-500);
  font-weight: var(--fw-medium);
}
.dp-field-error::before {
  content: "\26a0";
  font-size: 11px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--error-500) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.dp-form-summary {
  padding: var(--sp-3) var(--sp-4);
  background: var(--error-bg);
  border: 1px solid #fca5a5;
  border-radius: var(--r-md);
  color: var(--error-fg);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
}
.dp-form-summary-title {
  display: block;
  margin-bottom: var(--sp-1);
  font-weight: var(--fw-bold);
}
.dp-form-summary-list {
  margin: 0;
  padding-left: 18px;
}


/* ============================================================
   4. PAGINATION — numbered / simple / compact
   ============================================================ */
.dp-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-card);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  flex-wrap: wrap;
}
.dp-pagination-pages {
  display: flex;
  gap: var(--sp-1);
  align-items: center;
}
.dp-pagination-btn {
  padding: 6px 10px;
  min-width: 32px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  color: var(--text);
  cursor: pointer;
  transition: background var(--tx-fast);
}
.dp-pagination-btn:hover:not(:disabled) { background: var(--surface-muted); }
.dp-pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.dp-pagination-btn.is-current {
  background: var(--primary-500);
  color: #ffffff;
  border-color: var(--primary-500);
}
.dp-pagination-ellipsis {
  padding: 0 6px;
  color: var(--text-muted);
}
.dp-pagination-meta {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}
.dp-pagination-size {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dp-pagination-size select {
  padding: 4px var(--sp-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
}

/* mode variants */
.dp-pagination--compact .dp-pagination-pages > .dp-pagination-btn[data-page],
.dp-pagination--compact .dp-pagination-ellipsis { display: none; }
.dp-pagination--simple  .dp-pagination-pages > .dp-pagination-btn[data-page],
.dp-pagination--simple  .dp-pagination-ellipsis { display: none; }


/* ============================================================
   5. EMPTY STATE — no-data / no-results / no-access
   ============================================================ */
.dp-empty {
  text-align: center;
  padding: var(--sp-7) var(--sp-5);
  color: var(--text-muted);
}
.dp-empty-icon {
  font-size: 36px;
  margin-bottom: var(--sp-3);
  opacity: 0.4;
  display: block;
}
.dp-empty-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  color: var(--text);
  margin: 0 0 6px;
}
.dp-empty-hint {
  font-size: var(--fs-sm);
  margin: 0 auto var(--sp-4);
  max-width: 360px;
  line-height: var(--lh-normal);
}
.dp-empty-action { margin-top: var(--sp-2); }


/* ============================================================
   6. LOADING — skeleton / spinner / page overlay
   ============================================================ */
.dp-skeleton {
  display: block;
  background: linear-gradient(
    90deg,
    var(--slate-100) 25%,
    var(--slate-200) 50%,
    var(--slate-100) 75%
  );
  background-size: 200% 100%;
  border-radius: var(--r-sm);
  height: 14px;
  margin-bottom: var(--sp-2);
  animation: dp-shimmer 1.4s ease-in-out infinite;
}
.dp-skeleton:last-child { margin-bottom: 0; }
.dp-skeleton-row {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4);
}

.dp-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: dp-spin 700ms linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

.dp-page-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-overlay);
}
.dp-page-loading .dp-spinner {
  width: 32px;
  height: 32px;
  border-width: 3px;
  color: var(--primary-500);
}

button[data-dp-loading="true"] {
  pointer-events: none;
  opacity: 0.7;
}

@keyframes dp-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
@keyframes dp-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ============================================================
   PRINT — hide all kit chrome
   ============================================================ */
@media print {
  .dp-toast-container,
  .dp-modal-root,
  .dp-pagination,
  .dp-empty,
  .dp-skeleton,
  .dp-spinner,
  .dp-page-loading {
    display: none !important;
  }
}
