/* ==========================================================================
   Royal Price Matching — design system
   Built on Bootstrap 5.3 (vendored) via its CSS variables.
   Sections: 1 fonts · 2 tokens · 3 base · 4 layout · 5 navigation · 6 buttons
   7 forms · 8 cards & surfaces · 9 badges & chips · 10 feedback · 11 data
   12 page modules · 13 utilities · 14 motion & print
   ========================================================================== */

/* 1. Fonts — Inter (SIL OFL 1.1), self-hosted, variable weight 400–700 -------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Tokens ------------------------------------------------------------------ */
:root {
  color-scheme: light;

  /* Brand + neutrals */
  --rpm-ink: #0f1b2d;          /* headings, primary text (17:1 on white) */
  --rpm-ink-2: #344054;        /* body copy (10:1) */
  --rpm-muted: #5b6475;        /* secondary text (≥5.2:1 on every light surface) */
  --rpm-subtle: #98a1b0;       /* decorative only — never for text */
  --rpm-bg: #f8f6f1;           /* warm sand page background */
  --rpm-bg-2: #f2efe8;         /* recessed sand */
  --rpm-surface: #ffffff;
  --rpm-border: #e7e2d8;
  --rpm-border-strong: #d4cdc0;
  --rpm-navy: #0f1b2d;
  --rpm-navy-2: #16294a;

  /* Ocean blue — primary actions (6.7:1 on white) */
  --rpm-primary: #0b5cad;
  --rpm-primary-hover: #094c90;
  --rpm-primary-active: #083f78;
  --rpm-primary-ink: #083d73;
  --rpm-primary-soft: #e9f2fb;
  --rpm-primary-soft-2: #d3e5f7;
  --rpm-sky: #5cc8f5;

  /* Semantic: price drops / rises / warnings */
  --rpm-drop: #0e6d66;
  --rpm-drop-strong: #0f766e;
  --rpm-drop-soft: #e3f4f1;
  --rpm-rise: #b42318;
  --rpm-rise-soft: #fdecea;
  --rpm-warn: #8a5a00;
  --rpm-warn-soft: #fff4dc;
  --rpm-gold: #d6a43a;

  /* Fills that carry white text or icons. Light: the same colours as above.
     Dark: mid tones that keep white text at >= 5:1, while --rpm-primary,
     --rpm-drop and --rpm-rise become light tints legible as text. */
  --rpm-on-fill: #ffffff;
  --rpm-primary-fill: #0b5cad;
  --rpm-primary-fill-hover: #094c90;
  --rpm-primary-fill-active: #083f78;
  --rpm-primary-disabled: #7aa4cf;
  --rpm-drop-fill: #0e6d66;
  --rpm-drop-fill-hover: #0a5852;
  --rpm-rise-fill: #b42318;
  --rpm-rise-fill-hover: #93190f;
  --rpm-rise-fill-active: #7a150d;
  --rpm-dark-btn: var(--rpm-navy);
  --rpm-dark-btn-hover: var(--rpm-navy-2);
  --rpm-dark-btn-active: #0a1320;

  /* Tints, borders and inks for soft surfaces */
  --rpm-primary-border: #9fc0e4;       /* hover/selected borders */
  --rpm-primary-border-soft: #c7dcf2;  /* borders of primary-soft panels */
  --rpm-primary-tint: #f1f8ff;         /* highlighted rows */
  --rpm-drop-ink: #0b4f4a;
  --rpm-drop-border: #b4e0d9;
  --rpm-rise-ink: #8c1b12;
  --rpm-rise-border: #f3c3be;
  --rpm-rise-border-btn: #ecb3ad;
  --rpm-warn-ink: #6b4600;
  --rpm-warn-border: #f1d9a4;
  --rpm-gold-soft: #fbf1da;
  --rpm-gold-ink: #7a4f00;
  --rpm-navy-soft: #e6eaf1;
  --rpm-navy-ink: #16294a;

  /* Surfaces and states */
  --rpm-surface-raised: #ffffff;       /* dropdowns */
  --rpm-surface-hover: #fcfdff;
  --rpm-surface-selected: #fbfdff;
  --rpm-input-bg: #ffffff;
  --rpm-segment-on: #ffffff;
  --rpm-header-bg: rgba(255, 255, 255, .88);
  --rpm-border-hover: #b9b1a2;
  --rpm-card-hover-border: #cfdcea;
  --rpm-placeholder: #7b8494;
  --rpm-focus: rgba(11, 92, 173, .6);
  --rpm-skeleton-hi: #f8f6f1;
  --rpm-backdrop: #0f1b2d;
  --rpm-hero-top: #ffffff;
  --rpm-accent-2: #0f9488;
  --rpm-step-bg: var(--rpm-navy);
  --rpm-line-cel: #1f2937;
  --rpm-mock-dot: #e2dccf;

  /* Charts (history chart and the sparkline mock) */
  --rpm-chart-grid: #efebe3;
  --rpm-chart-axis: #e7e2d8;
  --rpm-chart-text: #5b6475;
  --rpm-chart-tooltip-bg: #0f1b2d;
  --rpm-chart-tooltip-border: rgba(0, 0, 0, 0);
  --rpm-chart-booked: #0e6d66;

  /* Chart series (validated categorical order: CVD ΔE ≥ 10) */
  --rpm-series-1: #0b5cad;
  --rpm-series-2: #d9480f;
  --rpm-series-3: #0f9488;
  --rpm-series-4: #8b5cf6;
  --rpm-series-5: #b7791f;

  /* Type */
  --rpm-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rpm-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --rpm-fs-xs: .75rem;     /* 12 */
  --rpm-fs-sm: .875rem;    /* 14 */
  --rpm-fs-base: 1rem;     /* 16 */
  --rpm-fs-lg: 1.125rem;   /* 18 */
  --rpm-fs-xl: 1.25rem;    /* 20 */
  --rpm-fs-2xl: 1.5rem;    /* 24 */
  --rpm-fs-3xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --rpm-fs-4xl: clamp(2.125rem, 1.6rem + 2.4vw, 3rem);
  --rpm-fs-5xl: clamp(2.5rem, 1.7rem + 3.6vw, 4rem);

  /* Space (8-px grid) */
  --rpm-space-1: .25rem; --rpm-space-2: .5rem; --rpm-space-3: .75rem; --rpm-space-4: 1rem;
  --rpm-space-5: 1.5rem; --rpm-space-6: 2rem; --rpm-space-7: 3rem; --rpm-space-8: 4rem; --rpm-space-9: 6rem;

  /* Shape + depth */
  --rpm-radius-xs: 6px;
  --rpm-radius-sm: 8px;
  --rpm-radius: 12px;
  --rpm-radius-lg: 16px;
  --rpm-radius-xl: 24px;
  --rpm-shadow-xs: 0 1px 2px rgba(15, 27, 45, .06);
  --rpm-shadow-sm: 0 1px 2px rgba(15, 27, 45, .05), 0 2px 6px -1px rgba(15, 27, 45, .06);
  --rpm-shadow-md: 0 2px 4px -2px rgba(15, 27, 45, .06), 0 8px 20px -4px rgba(15, 27, 45, .10);
  --rpm-shadow-lg: 0 4px 8px -4px rgba(15, 27, 45, .08), 0 24px 48px -12px rgba(15, 27, 45, .22);
  --rpm-ring: 0 0 0 3px rgba(11, 92, 173, .35);
  --rpm-header-h: 64px;
  --rpm-ease: cubic-bezier(.2, .8, .2, 1);

  /* Bootstrap bridge */
  --bs-font-sans-serif: var(--rpm-font);
  --bs-body-font-family: var(--rpm-font);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--rpm-ink-2);
  --bs-body-color-rgb: 52, 64, 84;
  --bs-body-bg: var(--rpm-bg);
  --bs-body-bg-rgb: 248, 246, 241;
  --bs-emphasis-color: var(--rpm-ink);
  --bs-secondary-color: var(--rpm-muted);
  --bs-secondary-bg: var(--rpm-bg-2);
  --bs-tertiary-bg: #fbfaf7;
  --bs-heading-color: var(--rpm-ink);
  --bs-primary: #0b5cad;
  --bs-primary-rgb: 11, 92, 173;
  --bs-primary-text-emphasis: #083d73;
  --bs-primary-bg-subtle: #e9f2fb;
  --bs-primary-border-subtle: #bcd6f1;
  --bs-success: #0e6d66;
  --bs-success-rgb: 14, 109, 102;
  --bs-danger: #b42318;
  --bs-danger-rgb: 180, 35, 24;
  --bs-warning: #d6a43a;
  --bs-link-color: var(--rpm-primary);
  --bs-link-color-rgb: 11, 92, 173;
  --bs-link-hover-color: var(--rpm-primary-active);
  --bs-link-hover-color-rgb: 8, 63, 120;
  --bs-border-color: var(--rpm-border);
  --bs-border-color-translucent: rgba(15, 27, 45, .1);
  --bs-border-radius: 10px;
  --bs-border-radius-sm: 8px;
  --bs-border-radius-lg: 14px;
  --bs-border-radius-xl: 20px;
  --bs-border-radius-pill: 999px;
  --bs-focus-ring-color: rgba(11, 92, 173, .35);
  --bs-form-invalid-color: var(--rpm-rise);
  --bs-form-invalid-border-color: var(--rpm-rise);
  --bs-form-valid-color: var(--rpm-drop);
  --bs-form-valid-border-color: var(--rpm-drop);
}

/* 2b. Night mode ---------------------------------------------------------------
   <html data-bs-theme="dark">, set before first paint by the inline script in
   base.html from the visitor's choice (Light / Dark / Match system), which is
   kept in their browser. Every text pair below clears WCAG AA (4.5:1) on the
   surfaces it sits on; the chart series are the light series' five hues,
   stepped for the dark surface and validated as a set (CVD separation,
   lightness band, >= 3:1 against #121c2d). */
:root[data-bs-theme="dark"] {
  color-scheme: dark;

  --rpm-ink: #eef2f8;
  --rpm-ink-2: #c7d0dd;
  --rpm-muted: #9ba7b9;
  --rpm-subtle: #5f6c80;
  --rpm-bg: #0b1322;
  --rpm-bg-2: #1a2537;
  --rpm-surface: #121c2d;
  --rpm-border: #263348;
  --rpm-border-strong: #3b4b65;
  --rpm-navy: #070c16;
  --rpm-navy-2: #16233a;

  --rpm-primary: #7ab6f7;
  --rpm-primary-hover: #a3cdfa;
  --rpm-primary-active: #a3cdfa;
  --rpm-primary-ink: #c2ddfb;
  --rpm-primary-soft: #132a46;
  --rpm-primary-soft-2: #1b3a60;

  --rpm-drop: #5cd0bd;
  --rpm-drop-strong: #3fc2ac;
  --rpm-drop-soft: #0e2c2b;
  --rpm-rise: #ff9a8f;
  --rpm-rise-soft: #3a1a19;
  --rpm-warn: #f2c25c;
  --rpm-warn-soft: #342812;

  --rpm-primary-fill: #2e6fbf;
  --rpm-primary-fill-hover: #3a7cce;
  --rpm-primary-fill-active: #2862ab;
  --rpm-primary-disabled: #2a4566;
  --rpm-drop-fill: #117a70;
  --rpm-drop-fill-hover: #15897e;
  --rpm-rise-fill: #c23a2e;
  --rpm-rise-fill-hover: #cf4a3e;
  --rpm-rise-fill-active: #a93226;
  --rpm-dark-btn: #24344d;
  --rpm-dark-btn-hover: #2e4160;
  --rpm-dark-btn-active: #1d2a3f;

  --rpm-primary-border: #2f5a8c;
  --rpm-primary-border-soft: #23446c;
  --rpm-primary-tint: #11223a;
  --rpm-drop-ink: #b6ece2;
  --rpm-drop-border: #1d5a54;
  --rpm-rise-ink: #ffcdc7;
  --rpm-rise-border: #6e2f2a;
  --rpm-rise-border-btn: #7a3a34;
  --rpm-warn-ink: #f8dfa6;
  --rpm-warn-border: #6a5222;
  --rpm-gold-soft: #33290f;
  --rpm-gold-ink: #f2c25c;
  --rpm-navy-soft: #1c2a40;
  --rpm-navy-ink: #c6d4ea;

  --rpm-surface-raised: #162236;
  --rpm-surface-hover: #16233a;
  --rpm-surface-selected: #13243c;
  --rpm-input-bg: #0e1828;
  --rpm-segment-on: #2a3a54;
  --rpm-header-bg: rgba(11, 19, 34, .86);
  --rpm-border-hover: #536580;
  --rpm-card-hover-border: #3b4b65;
  --rpm-placeholder: #8794a8;
  --rpm-focus: rgba(122, 182, 247, .75);
  --rpm-skeleton-hi: #223047;
  --rpm-backdrop: #000000;
  --rpm-hero-top: #0f1a2c;
  --rpm-accent-2: #2dd4bf;
  --rpm-step-bg: #24344d;
  --rpm-line-cel: #9ba7b9;
  --rpm-mock-dot: #33435c;

  --rpm-chart-grid: #1d2939;
  --rpm-chart-axis: #2c3a50;
  --rpm-chart-text: #9ba7b9;
  --rpm-chart-tooltip-bg: #0b1322;
  --rpm-chart-tooltip-border: #3b4b65;
  --rpm-chart-booked: #5cd0bd;
  --rpm-series-1: #3f8be3;
  --rpm-series-2: #e8642a;
  --rpm-series-3: #14a191;
  --rpm-series-4: #9474f0;
  --rpm-series-5: #bd8a26;

  --rpm-shadow-xs: 0 1px 2px rgba(0, 0, 0, .3);
  --rpm-shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 6px -1px rgba(0, 0, 0, .3);
  --rpm-shadow-md: 0 2px 4px -2px rgba(0, 0, 0, .35), 0 8px 20px -4px rgba(0, 0, 0, .45);
  --rpm-shadow-lg: 0 4px 8px -4px rgba(0, 0, 0, .4), 0 24px 48px -12px rgba(0, 0, 0, .6);
  --rpm-ring: 0 0 0 3px rgba(122, 182, 247, .35);

  /* Bootstrap bridge */
  --bs-body-color: var(--rpm-ink-2);
  --bs-body-color-rgb: 199, 208, 221;
  --bs-body-bg: var(--rpm-bg);
  --bs-body-bg-rgb: 11, 19, 34;
  --bs-emphasis-color: var(--rpm-ink);
  --bs-emphasis-color-rgb: 238, 242, 248;
  --bs-secondary-color: var(--rpm-muted);
  --bs-secondary-bg: var(--rpm-bg-2);
  --bs-tertiary-bg: #101a2a;
  --bs-heading-color: var(--rpm-ink);
  --bs-primary: #2e6fbf;
  --bs-primary-rgb: 46, 111, 191;
  --bs-primary-text-emphasis: var(--rpm-primary-ink);
  --bs-primary-bg-subtle: var(--rpm-primary-soft);
  --bs-primary-border-subtle: var(--rpm-primary-border-soft);
  --bs-success: #117a70;
  --bs-success-rgb: 17, 122, 112;
  --bs-danger: #c23a2e;
  --bs-danger-rgb: 194, 58, 46;
  --bs-link-color: var(--rpm-primary);
  --bs-link-color-rgb: 122, 182, 247;
  --bs-link-hover-color: #a3cdfa;
  --bs-link-hover-color-rgb: 163, 205, 250;
  --bs-border-color: var(--rpm-border);
  --bs-border-color-translucent: rgba(255, 255, 255, .12);
  --bs-focus-ring-color: rgba(122, 182, 247, .4);
  --bs-form-invalid-color: var(--rpm-rise);
  --bs-form-invalid-border-color: var(--rpm-rise);
  --bs-form-valid-color: var(--rpm-drop);
  --bs-form-valid-border-color: var(--rpm-drop);
}
/* Dark-only touches: separate the always-navy blocks from the dark page, and
   ring the brand mark so its navy tile keeps an edge. */
[data-bs-theme="dark"] .site-footer { border-top: 1px solid var(--rpm-border); }
[data-bs-theme="dark"] .cta-band, [data-bs-theme="dark"] .surface-dark,
[data-bs-theme="dark"] .rpm-toast { border: 1px solid var(--rpm-border-strong); }
[data-bs-theme="dark"] .brand svg, [data-bs-theme="dark"] .mock-mail-head svg { border-radius: 25%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
[data-bs-theme="dark"] .hero::before { opacity: .75; }
[data-bs-theme="dark"] .help-shot-light { display: none; }
:root:not([data-bs-theme="dark"]) .help-shot-dark { display: none; }

/* Theme switch (header) */
.theme-switch { margin-left: auto; margin-right: .5rem; }
@media (min-width: 992px) { .theme-switch { order: 3; margin: 0 0 0 .75rem; } }
.theme-toggle { color: var(--rpm-ink-2); border: 1px solid var(--rpm-border) !important; width: 44px; height: 44px; min-height: 44px; }
.theme-toggle .theme-icon-dark { display: none; }
[data-bs-theme="dark"] .theme-toggle .theme-icon-dark { display: inline-block; }
[data-bs-theme="dark"] .theme-toggle .theme-icon-light { display: none; }
.theme-menu { min-width: 13rem; }
.theme-menu .theme-check { margin-left: auto; visibility: hidden; color: var(--rpm-primary); }
.theme-menu [aria-pressed="true"] { color: var(--rpm-ink); font-weight: 600; }
.theme-menu [aria-pressed="true"] .theme-check { visibility: visible; }

/* 3. Base -------------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--rpm-header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--rpm-font);
  background: var(--rpm-bg);
  color: var(--rpm-ink-2);
  font-feature-settings: "cv11", "ss01", "ss03";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
main:focus { outline: none; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--rpm-ink);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--rpm-fs-4xl); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
h2, .h2 { font-size: var(--rpm-fs-3xl); letter-spacing: -.025em; }
h3, .h3 { font-size: var(--rpm-fs-xl); }
h4, .h4 { font-size: var(--rpm-fs-lg); }
h5, .h5, h6, .h6 { font-size: var(--rpm-fs-base); }
p { text-wrap: pretty; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: 650; color: inherit; }
small, .small { font-size: var(--rpm-fs-sm); }
hr { border-color: var(--rpm-border); opacity: 1; }
::selection { background: var(--rpm-primary-soft-2); color: var(--rpm-ink); }
code { color: var(--rpm-primary-ink); background: var(--rpm-primary-soft); padding: .1em .35em; border-radius: 4px; font-size: .875em; }
.lead { font-size: var(--rpm-fs-lg); line-height: 1.6; color: var(--rpm-ink-2); font-weight: 400; }
.text-muted, .text-body-secondary { color: var(--rpm-muted) !important; }
.text-ink { color: var(--rpm-ink) !important; }
.text-drop { color: var(--rpm-drop) !important; }
.text-rise { color: var(--rpm-rise) !important; }
/* Bootstrap's colour utilities use its fill colours; as text they follow our text tokens
   (identical in light mode, legible in night mode). */
.text-primary { color: var(--rpm-primary) !important; }
.text-danger { color: var(--rpm-rise) !important; }
.tabular { font-variant-numeric: tabular-nums; }

/* Focus: one ring everywhere, keyboard only */
:focus-visible { outline: 3px solid var(--rpm-focus); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible, .form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible {
  outline: 3px solid var(--rpm-focus); outline-offset: 2px; box-shadow: none;
}
.form-control:focus, .form-select:focus { border-color: var(--rpm-primary); box-shadow: var(--rpm-ring); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 2000;
  background: var(--rpm-navy); color: #fff; padding: .75rem 1rem; border-radius: var(--rpm-radius-sm);
  font-weight: 600; text-decoration: none; box-shadow: var(--rpm-shadow-lg);
}
.skip-link:focus { top: 12px; color: #fff; }

/* 4. Layout ------------------------------------------------------------------ */
.container, .container-lg, .container-xl { --bs-gutter-x: 2rem; }
@media (min-width: 1200px) { .container, .container-lg, .container-xl { max-width: 1160px; } }
.container-narrow { max-width: 760px; margin-inline: auto; padding-inline: 1rem; width: 100%; }
.container-form { max-width: 480px; margin-inline: auto; padding-inline: 1rem; width: 100%; }
.section { padding-block: var(--rpm-space-8); }
.section-sm { padding-block: var(--rpm-space-7); }
@media (min-width: 992px) { .section { padding-block: var(--rpm-space-9); } }
.section-alt { background: var(--rpm-surface); border-block: 1px solid var(--rpm-border); }
.section-head { max-width: 680px; margin-bottom: var(--rpm-space-7); }
.section-head.text-center { margin-inline: auto; }
.section-head p { color: var(--rpm-muted); font-size: var(--rpm-fs-lg); margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--rpm-fs-xs); font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rpm-primary); margin-bottom: .75rem;
}
.page-header { padding-block: var(--rpm-space-7) var(--rpm-space-6); }
.page-header h1 { font-size: var(--rpm-fs-3xl); margin-bottom: .5rem; }
.page-header .page-sub { color: var(--rpm-muted); font-size: var(--rpm-fs-lg); margin: 0; max-width: 640px; }
.page-header-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.page-body { padding-bottom: var(--rpm-space-8); }
.stack > * + * { margin-top: var(--rpm-space-4); }
.stack-lg > * + * { margin-top: var(--rpm-space-6); }

/* 5. Navigation -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--rpm-header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rpm-border);
}
.site-header .navbar { min-height: var(--rpm-header-h); padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; color: var(--rpm-ink); font-weight: 700; letter-spacing: -.02em; font-size: 1.0625rem; }
.brand:hover { color: var(--rpm-ink); text-decoration: none; }
.brand img, .brand svg { width: 32px; height: 32px; flex: none; }
.brand-name span { color: var(--rpm-primary); }
.site-nav .nav-link {
  color: var(--rpm-ink-2); font-weight: 550; font-size: .9375rem;
  padding: .5rem .75rem !important; border-radius: var(--rpm-radius-sm);
}
.site-nav .nav-link:hover { color: var(--rpm-ink); background: var(--rpm-bg-2); }
.site-nav .nav-link.active, .site-nav .nav-link[aria-current="page"] { color: var(--rpm-primary-ink); background: var(--rpm-primary-soft); }
.navbar-toggler {
  border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius-sm);
  padding: .5rem; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--rpm-ink);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .icon-close { display: none; }
.navbar-toggler[aria-expanded="true"] .icon-open { display: none; }
.navbar-toggler[aria-expanded="true"] .icon-close { display: inline; }
.account-toggle {
  display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--rpm-border);
  background: var(--rpm-surface); border-radius: 999px; padding: .25rem .625rem .25rem .25rem; color: var(--rpm-ink); font-weight: 550; font-size: .9375rem;
}
.account-toggle:hover { border-color: var(--rpm-border-strong); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--rpm-primary-fill), var(--rpm-navy-2)); color: #fff; font-size: .8125rem; font-weight: 650; flex: none;
}
.dropdown-menu {
  --bs-dropdown-bg: var(--rpm-surface-raised); --bs-dropdown-border-color: var(--rpm-border); --bs-dropdown-border-radius: var(--rpm-radius);
  --bs-dropdown-link-active-bg: var(--rpm-primary-soft); --bs-dropdown-link-active-color: var(--rpm-primary-ink);
  --bs-dropdown-link-hover-bg: var(--rpm-bg-2); --bs-dropdown-padding-y: .375rem; --bs-dropdown-item-padding-y: .5rem;
  box-shadow: var(--rpm-shadow-lg); min-width: 15rem; padding: .375rem;
}
.dropdown-item { border-radius: var(--rpm-radius-xs); display: flex; align-items: center; gap: .625rem; font-size: .9375rem; color: var(--rpm-ink-2); width: 100%; }
.dropdown-item .icon { color: var(--rpm-muted); }
.dropdown-header { color: var(--rpm-muted); font-size: var(--rpm-fs-sm); padding: .5rem .75rem; }
.plan-pill { display: inline-flex; align-items: center; gap: .25rem; font-size: var(--rpm-fs-xs); font-weight: 650; padding: .125rem .5rem; border-radius: 999px; background: var(--rpm-primary-soft); color: var(--rpm-primary-ink); }
@media (max-width: 991.98px) {
  .site-nav { padding-block: .75rem 1rem; border-top: 1px solid var(--rpm-border); margin-top: .5rem; }
  .site-nav .nav-link { padding: .75rem !important; font-size: 1rem; }
  .site-nav .nav-actions { flex-direction: column; align-items: stretch !important; gap: .5rem !important; margin-top: .75rem; }
  .site-nav .nav-actions .btn { width: 100%; }
  .site-nav .dropdown-menu { box-shadow: none; border: 0; padding: 0; position: static !important; transform: none !important; }
  .account-toggle { width: 100%; border-radius: var(--rpm-radius); padding: .5rem; }
}

/* Footer */
.site-footer { background: var(--rpm-navy); color: #c5cedb; margin-top: auto; padding-block: var(--rpm-space-8) var(--rpm-space-6); font-size: var(--rpm-fs-sm); }
.site-footer a, .site-footer .link-button { color: #e3e9f2; text-decoration: none; }
.site-footer a:hover, .site-footer .link-button:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: var(--rpm-sky); }
.footer-title { color: #fff; font-size: var(--rpm-fs-sm); font-weight: 650; letter-spacing: 0; margin-bottom: .875rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .625rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: var(--rpm-space-7); padding-top: var(--rpm-space-5); color: #b6c1d1; font-size: var(--rpm-fs-xs); line-height: 1.6; }
.site-footer :focus-visible { outline-color: var(--rpm-sky); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--rpm-primary); cursor: pointer; text-align: left; }
.link-button:hover { text-decoration: underline; }

/* 6. Buttons ----------------------------------------------------------------- */
.btn {
  --bs-btn-font-weight: 600; --bs-btn-padding-y: .5625rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: .9375rem;
  --bs-btn-border-radius: var(--rpm-radius-sm); --bs-btn-line-height: 1.35;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  letter-spacing: -.005em; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s;
  min-height: 40px;
}
.btn:active { transform: translateY(1px); }
.btn-lg { --bs-btn-padding-y: .75rem; --bs-btn-padding-x: 1.375rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: var(--rpm-radius); min-height: 48px; }
.btn-sm { --bs-btn-padding-y: .3125rem; --bs-btn-padding-x: .75rem; --bs-btn-font-size: .875rem; min-height: 32px; gap: .375rem; }
.btn-primary {
  --bs-btn-color: var(--rpm-on-fill); --bs-btn-hover-color: var(--rpm-on-fill); --bs-btn-active-color: var(--rpm-on-fill);
  --bs-btn-bg: var(--rpm-primary-fill); --bs-btn-border-color: var(--rpm-primary-fill);
  --bs-btn-hover-bg: var(--rpm-primary-fill-hover); --bs-btn-hover-border-color: var(--rpm-primary-fill-hover);
  --bs-btn-active-bg: var(--rpm-primary-fill-active); --bs-btn-active-border-color: var(--rpm-primary-fill-active);
  --bs-btn-disabled-bg: var(--rpm-primary-disabled); --bs-btn-disabled-border-color: var(--rpm-primary-disabled); --bs-btn-disabled-opacity: 1;
  box-shadow: 0 1px 2px rgba(11, 92, 173, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn-dark {
  --bs-btn-bg: var(--rpm-dark-btn); --bs-btn-border-color: var(--rpm-dark-btn);
  --bs-btn-hover-bg: var(--rpm-dark-btn-hover); --bs-btn-hover-border-color: var(--rpm-dark-btn-hover);
  --bs-btn-active-bg: var(--rpm-dark-btn-active); --bs-btn-active-border-color: var(--rpm-dark-btn-active);
}
.btn-neutral, .btn-outline-secondary, .btn-light {
  --bs-btn-color: var(--rpm-ink); --bs-btn-bg: var(--rpm-surface); --bs-btn-border-color: var(--rpm-border-strong);
  --bs-btn-hover-color: var(--rpm-ink); --bs-btn-hover-bg: var(--rpm-bg); --bs-btn-hover-border-color: var(--rpm-border-hover);
  --bs-btn-active-color: var(--rpm-ink); --bs-btn-active-bg: var(--rpm-bg-2); --bs-btn-active-border-color: var(--rpm-border-hover);
  --bs-btn-disabled-color: var(--rpm-muted); --bs-btn-disabled-bg: var(--rpm-bg-2); --bs-btn-disabled-border-color: var(--rpm-border);
  box-shadow: var(--rpm-shadow-xs);
}
.btn-outline-primary {
  --bs-btn-color: var(--rpm-primary); --bs-btn-border-color: var(--rpm-primary-border); --bs-btn-bg: var(--rpm-surface);
  --bs-btn-hover-color: var(--rpm-primary-ink); --bs-btn-hover-bg: var(--rpm-primary-soft); --bs-btn-hover-border-color: var(--rpm-primary);
  --bs-btn-active-color: var(--rpm-primary-ink); --bs-btn-active-bg: var(--rpm-primary-soft-2); --bs-btn-active-border-color: var(--rpm-primary);
}
.btn-ghost {
  --bs-btn-color: var(--rpm-ink-2); --bs-btn-bg: transparent; --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--rpm-ink); --bs-btn-hover-bg: var(--rpm-bg-2); --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--rpm-ink); --bs-btn-active-bg: var(--rpm-border); --bs-btn-active-border-color: transparent;
}
.btn-danger {
  --bs-btn-color: var(--rpm-on-fill); --bs-btn-hover-color: var(--rpm-on-fill); --bs-btn-active-color: var(--rpm-on-fill);
  --bs-btn-bg: var(--rpm-rise-fill); --bs-btn-border-color: var(--rpm-rise-fill);
  --bs-btn-hover-bg: var(--rpm-rise-fill-hover); --bs-btn-hover-border-color: var(--rpm-rise-fill-hover); --bs-btn-active-bg: var(--rpm-rise-fill-active); --bs-btn-active-border-color: var(--rpm-rise-fill-active);
}
.btn-outline-danger {
  --bs-btn-color: var(--rpm-rise); --bs-btn-border-color: var(--rpm-rise-border-btn); --bs-btn-bg: var(--rpm-surface);
  --bs-btn-hover-color: var(--rpm-on-fill); --bs-btn-hover-bg: var(--rpm-rise-fill); --bs-btn-hover-border-color: var(--rpm-rise-fill);
  --bs-btn-active-color: var(--rpm-on-fill); --bs-btn-active-bg: var(--rpm-rise-fill-hover); --bs-btn-active-border-color: var(--rpm-rise-fill-hover);
}
.btn-success {
  --bs-btn-color: var(--rpm-on-fill); --bs-btn-hover-color: var(--rpm-on-fill); --bs-btn-active-color: var(--rpm-on-fill);
  --bs-btn-bg: var(--rpm-drop-fill); --bs-btn-border-color: var(--rpm-drop-fill);
  --bs-btn-hover-bg: var(--rpm-drop-fill-hover); --bs-btn-hover-border-color: var(--rpm-drop-fill-hover);
  --bs-btn-active-bg: var(--rpm-drop-fill-hover); --bs-btn-active-border-color: var(--rpm-drop-fill-hover);
  --bs-btn-disabled-bg: var(--rpm-drop-fill); --bs-btn-disabled-border-color: var(--rpm-drop-fill); --bs-btn-disabled-opacity: 1;
}
.btn-on-dark {
  --bs-btn-color: #fff; --bs-btn-bg: rgba(255, 255, 255, .08); --bs-btn-border-color: rgba(255, 255, 255, .28);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .16); --bs-btn-hover-border-color: rgba(255, 255, 255, .5);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(255, 255, 255, .22);
}
.btn-light-on-dark {
  --bs-btn-color: var(--rpm-navy); --bs-btn-bg: #fff; --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--rpm-navy); --bs-btn-hover-bg: #e9f2fb; --bs-btn-hover-border-color: #e9f2fb;
}
.btn-icon { width: 36px; height: 36px; min-height: 36px; padding: 0; justify-content: center; }
.btn-icon.btn-sm { width: 32px; height: 32px; min-height: 32px; }
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .15em; }
.btn[aria-busy="true"] { cursor: progress; }
.btn-block { width: 100%; }

/* 7. Forms ------------------------------------------------------------------- */
.form-label { font-weight: 600; color: var(--rpm-ink); font-size: .9375rem; margin-bottom: .375rem; }
.form-label .optional { font-weight: 400; color: var(--rpm-muted); font-size: var(--rpm-fs-sm); }
.form-text { color: var(--rpm-muted); font-size: var(--rpm-fs-sm); margin-top: .375rem; }
.form-control, .form-select {
  border-color: var(--rpm-border-strong); border-radius: var(--rpm-radius-sm); min-height: 44px;
  font-size: 1rem; color: var(--rpm-ink); background-color: var(--rpm-input-bg); padding: .5625rem .875rem;
  box-shadow: var(--rpm-shadow-xs); transition: border-color .15s, box-shadow .15s;
}
.form-select { padding-right: 2.5rem; }
.form-control::placeholder { color: var(--rpm-placeholder); }
.form-control:hover:not(:disabled):not(:focus), .form-select:hover:not(:disabled):not(:focus) { border-color: var(--rpm-border-hover); }
.form-control:disabled, .form-select:disabled { background-color: var(--rpm-bg-2); color: var(--rpm-muted); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--rpm-rise); background-image: none; padding-right: .875rem; }
.form-select.is-invalid { padding-right: 2.5rem; background-image: var(--bs-form-select-bg-img); }
.form-control.is-invalid:focus, .form-select.is-invalid:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .25); }
.invalid-feedback, .field-error { display: flex; gap: .375rem; align-items: flex-start; color: var(--rpm-rise); font-size: var(--rpm-fs-sm); font-weight: 500; margin-top: .375rem; }
.field-error .icon { margin-top: .15rem; flex: none; }
.form-check-input { border-color: var(--rpm-border-strong); width: 1.125rem; height: 1.125rem; margin-top: .2rem; }
.form-check-input:checked { background-color: var(--rpm-primary-fill); border-color: var(--rpm-primary-fill); }
.form-check-label { color: var(--rpm-ink-2); }
.input-group-text { background: var(--rpm-bg); border-color: var(--rpm-border-strong); color: var(--rpm-muted); font-weight: 600; }
.input-group > .form-control { box-shadow: none; }
.field { margin-bottom: 1.25rem; }
.field:last-child { margin-bottom: 0; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 5rem; }
.password-toggle {
  position: absolute; right: 6px; top: 6px; height: 32px; min-height: 32px; padding: 0 .625rem; font-size: var(--rpm-fs-sm);
  font-weight: 600; color: var(--rpm-primary); background: transparent; border: 0; border-radius: var(--rpm-radius-xs);
}
.password-toggle:hover { background: var(--rpm-primary-soft); }
.req-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .25rem; font-size: var(--rpm-fs-sm); color: var(--rpm-muted); }
.req-list li { display: flex; gap: .375rem; align-items: center; }
.req-list .icon { color: var(--rpm-subtle); }
.req-list li.is-met { color: var(--rpm-drop); }
.req-list li.is-met .icon { color: var(--rpm-drop); }
.form-legal { font-size: var(--rpm-fs-xs); color: var(--rpm-muted); line-height: 1.5; }
.form-legal a { color: inherit; text-decoration: underline; }
fieldset legend.form-label { font-size: .9375rem; float: none; width: auto; margin-bottom: .5rem; }
.select-wrap { position: relative; }
.select-status { display: flex; align-items: center; gap: .5rem; font-size: var(--rpm-fs-sm); color: var(--rpm-muted); margin-top: .5rem; min-height: 0; }
.select-status:empty { display: none; }
.select-status.is-error { color: var(--rpm-rise); }
.select-status .spinner-border { width: .875rem; height: .875rem; border-width: .15em; color: var(--rpm-primary); }

/* Option cards: real radios/checkboxes, visually styled as cards or chips */
.choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice-card {
  display: flex; gap: .875rem; align-items: flex-start; height: 100%;
  padding: 1rem 1.125rem; border: 1.5px solid var(--rpm-border-strong); border-radius: var(--rpm-radius);
  background: var(--rpm-surface); cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s;
  color: var(--rpm-ink-2); margin: 0;
}
.choice-card:hover { border-color: var(--rpm-primary-border); background: var(--rpm-surface-hover); }
.choice-card .choice-title { display: block; font-weight: 650; color: var(--rpm-ink); line-height: 1.3; }
.choice-card .choice-desc { display: block; font-size: var(--rpm-fs-sm); color: var(--rpm-muted); margin-top: .125rem; line-height: 1.45; }
.choice-card .choice-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--rpm-bg-2); color: var(--rpm-ink-2); transition: background-color .15s, color .15s;
}
.choice-card .choice-check {
  margin-left: auto; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--rpm-border-strong);
  display: grid; place-items: center; color: transparent; transition: all .15s; background: var(--rpm-input-bg);
}
.choice-input:checked + .choice-card { border-color: var(--rpm-primary); box-shadow: 0 0 0 1px var(--rpm-primary), var(--rpm-shadow-sm); background: var(--rpm-surface-selected); }
.choice-input:checked + .choice-card .choice-icon { background: var(--rpm-primary-soft); color: var(--rpm-primary); }
.choice-input:checked + .choice-card .choice-check { background: var(--rpm-primary-fill); border-color: var(--rpm-primary-fill); color: var(--rpm-on-fill); }
.choice-input:focus-visible + .choice-card { outline: 3px solid var(--rpm-focus); outline-offset: 2px; }
.choice-input:disabled + .choice-card { opacity: .55; cursor: not-allowed; background: var(--rpm-bg-2); }
.choice-input.is-invalid + .choice-card { border-color: var(--rpm-rise); }

.chip {
  display: inline-flex; align-items: center; gap: .375rem; min-height: 36px; padding: .375rem .875rem;
  border: 1.5px solid var(--rpm-border-strong); border-radius: 999px; background: var(--rpm-surface);
  font-size: var(--rpm-fs-sm); font-weight: 550; color: var(--rpm-ink-2); cursor: pointer; user-select: none;
  transition: background-color .15s, border-color .15s, color .15s; margin: 0; white-space: nowrap;
}
.chip:hover { border-color: var(--rpm-primary-border); color: var(--rpm-ink); }
.chip .icon { display: none; }
.choice-input:checked + .chip { background: var(--rpm-primary-soft); border-color: var(--rpm-primary); color: var(--rpm-primary-ink); }
.choice-input:checked + .chip .icon { display: inline-block; }
.choice-input:focus-visible + .chip { outline: 3px solid var(--rpm-focus); outline-offset: 2px; }
.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }

.segmented {
  display: inline-flex; padding: 4px; background: var(--rpm-bg-2); border: 1px solid var(--rpm-border); border-radius: 999px; gap: 2px; position: relative;
}
.segmented label {
  padding: .4375rem 1rem; border-radius: 999px; font-weight: 600; font-size: var(--rpm-fs-sm); color: var(--rpm-ink-2);
  cursor: pointer; margin: 0; display: inline-flex; align-items: center; gap: .375rem; min-height: 36px; transition: background-color .15s, color .15s, box-shadow .15s;
}
.segmented .choice-input:checked + label { background: var(--rpm-segment-on); color: var(--rpm-ink); box-shadow: var(--rpm-shadow-sm); }
.segmented .choice-input:focus-visible + label { outline: 3px solid var(--rpm-focus); outline-offset: 1px; }
.segmented-sm label { padding: .25rem .75rem; min-height: 30px; font-size: var(--rpm-fs-xs); }

.check-list {
  max-height: 220px; overflow-y: auto; border: 1px solid var(--rpm-border-strong); border-radius: var(--rpm-radius-sm);
  background: var(--rpm-surface); padding: .375rem; margin: 0;
}
.check-list .form-check { padding: .375rem .5rem .375rem 2.125rem; margin: 0; border-radius: var(--rpm-radius-xs); }
.check-list .form-check:hover { background: var(--rpm-bg); }
.check-list .form-check-input { margin-left: -1.625rem; }
.check-list .form-check-label { font-size: var(--rpm-fs-sm); width: 100%; cursor: pointer; }
.check-list-meta { font-size: var(--rpm-fs-xs); color: var(--rpm-muted); }

/* 8. Cards & surfaces ---------------------------------------------------------- */
.card, .rpm-card {
  --bs-card-border-color: var(--rpm-border); --bs-card-border-radius: var(--rpm-radius-lg); --bs-card-bg: var(--rpm-surface);
  --bs-card-spacer-y: 1.5rem; --bs-card-spacer-x: 1.5rem; --bs-card-cap-bg: transparent;
  background: var(--rpm-surface); border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius-lg); box-shadow: var(--rpm-shadow-xs);
}
.rpm-card { padding: 1.5rem; }
@media (min-width: 768px) { .rpm-card-lg { padding: 2rem; } }
.rpm-card-flush { padding: 0; overflow: hidden; }
.card-title, .rpm-card-title { font-size: var(--rpm-fs-lg); font-weight: 650; color: var(--rpm-ink); margin-bottom: .25rem; }
.card-sub { color: var(--rpm-muted); font-size: var(--rpm-fs-sm); margin-bottom: 0; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { border-color: var(--rpm-primary-border); box-shadow: var(--rpm-shadow-md); color: inherit; }
.card-divider { border-top: 1px solid var(--rpm-border); margin: 1.25rem -1.5rem; }
.surface-muted { background: var(--rpm-bg); border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius); padding: 1rem 1.125rem; }
.surface-primary { background: var(--rpm-primary-soft); border: 1px solid var(--rpm-primary-border-soft); border-radius: var(--rpm-radius); padding: 1rem 1.125rem; color: var(--rpm-primary-ink); }
.surface-dark { background: var(--rpm-navy); color: #d6deea; border-radius: var(--rpm-radius-xl); }
.surface-dark h2, .surface-dark h3, .surface-dark .h2 { color: #fff; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--rpm-primary-soft); color: var(--rpm-primary); margin-bottom: 1rem;
}
.feature-icon.is-drop { background: var(--rpm-drop-soft); color: var(--rpm-drop); }
.feature-icon.is-gold { background: var(--rpm-gold-soft); color: var(--rpm-warn); }
.feature-icon.is-navy { background: var(--rpm-navy-soft); color: var(--rpm-navy-ink); }
.feature-icon.is-rise { background: var(--rpm-rise-soft); color: var(--rpm-rise); }
.feature-card h3 { font-size: var(--rpm-fs-lg); margin-bottom: .375rem; }
.feature-card p { color: var(--rpm-muted); margin-bottom: 0; font-size: .9375rem; }

/* Stat tile */
.stat { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.stat-label { font-size: var(--rpm-fs-sm); color: var(--rpm-muted); font-weight: 500; display: flex; align-items: center; gap: .375rem; }
.stat-value { font-size: var(--rpm-fs-2xl); font-weight: 700; color: var(--rpm-ink); letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-value small { font-size: var(--rpm-fs-base); color: var(--rpm-muted); font-weight: 500; letter-spacing: 0; }
.stat-meta { font-size: var(--rpm-fs-sm); color: var(--rpm-muted); }
.meter { height: 8px; background: var(--rpm-bg-2); border-radius: 999px; overflow: hidden; margin-top: .5rem; }
.meter > span { display: block; height: 100%; background: var(--rpm-primary); border-radius: 999px; }
.meter.is-full > span { background: var(--rpm-warn); }

/* Empty state */
.empty-state { text-align: center; padding: var(--rpm-space-8) var(--rpm-space-5); max-width: 520px; margin-inline: auto; }
.empty-state .empty-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 1.25rem;
  background: var(--rpm-primary-soft); color: var(--rpm-primary);
}
.empty-state h2, .empty-state h3 { font-size: var(--rpm-fs-xl); margin-bottom: .5rem; }
.empty-state p { color: var(--rpm-muted); }

/* 9. Badges & chips ------------------------------------------------------------ */
.badge-soft {
  display: inline-flex; align-items: center; gap: .3125rem; font-size: var(--rpm-fs-xs); font-weight: 650; line-height: 1.2;
  padding: .25rem .5625rem; border-radius: 999px; background: var(--rpm-bg-2); color: var(--rpm-ink-2); white-space: nowrap; border: 1px solid transparent;
}
.badge-soft .icon { width: 12px; height: 12px; }
.badge-primary { background: var(--rpm-primary-soft); color: var(--rpm-primary-ink); }
.badge-drop { background: var(--rpm-drop-soft); color: var(--rpm-drop); }
.badge-rise { background: var(--rpm-rise-soft); color: var(--rpm-rise); }
.badge-warn { background: var(--rpm-warn-soft); color: var(--rpm-warn); }
.badge-gold { background: var(--rpm-gold-soft); color: var(--rpm-gold-ink); }
.badge-navy { background: var(--rpm-navy); color: #fff; }
.badge-outline { background: var(--rpm-surface); border-color: var(--rpm-border-strong); color: var(--rpm-ink-2); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }
.line-tag { display: inline-flex; align-items: center; gap: .375rem; font-size: var(--rpm-fs-xs); font-weight: 650; color: var(--rpm-ink-2); text-transform: none; }
.line-tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--line-color, var(--rpm-primary)); }
.line-rc { --line-color: #0b5cad; }
.line-cel { --line-color: var(--rpm-line-cel); }
.line-car { --line-color: #d9480f; }

/* 10. Feedback: alerts, toasts, skeletons, consent ------------------------------ */
.alert {
  --bs-alert-border-radius: var(--rpm-radius); --bs-alert-padding-x: 1rem; --bs-alert-padding-y: .875rem;
  display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; line-height: 1.5; border-width: 1px;
}
.alert > .icon { flex: none; margin-top: .15rem; }
.alert .alert-body { flex: 1; min-width: 0; }
.alert .alert-body > :last-child { margin-bottom: 0; }
.alert .btn-close { position: static; padding: .5rem; margin: -.375rem -.375rem -.375rem 0; flex: none; }
.alert-success { --bs-alert-bg: var(--rpm-drop-soft); --bs-alert-border-color: var(--rpm-drop-border); --bs-alert-color: var(--rpm-drop-ink); --bs-alert-link-color: var(--rpm-drop-ink); }
.alert-info { --bs-alert-bg: var(--rpm-primary-soft); --bs-alert-border-color: var(--rpm-primary-border-soft); --bs-alert-color: var(--rpm-primary-ink); --bs-alert-link-color: var(--rpm-primary-ink); }
.alert-warning { --bs-alert-bg: var(--rpm-warn-soft); --bs-alert-border-color: var(--rpm-warn-border); --bs-alert-color: var(--rpm-warn-ink); --bs-alert-link-color: var(--rpm-warn-ink); }
.alert-danger { --bs-alert-bg: var(--rpm-rise-soft); --bs-alert-border-color: var(--rpm-rise-border); --bs-alert-color: var(--rpm-rise-ink); --bs-alert-link-color: var(--rpm-rise-ink); }
.alert-neutral { --bs-alert-bg: var(--rpm-surface); --bs-alert-border-color: var(--rpm-border); --bs-alert-color: var(--rpm-ink-2); }
.alert a { font-weight: 600; }
.flash-region { padding-top: 1rem; }
.flash-region .alert { box-shadow: var(--rpm-shadow-xs); }

.toast-region {
  position: fixed; z-index: 1090; right: 16px; bottom: 16px; left: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; pointer-events: none;
}
@media (min-width: 576px) { .toast-region { left: auto; width: 400px; } }
.rpm-toast {
  pointer-events: auto; width: 100%; display: flex; gap: .75rem; align-items: flex-start; background: var(--rpm-navy); color: #e6ecf5;
  border-radius: var(--rpm-radius); padding: .875rem 1rem; box-shadow: var(--rpm-shadow-lg); font-size: .9375rem; line-height: 1.45;
  animation: toast-in .25s var(--rpm-ease);
}
.rpm-toast .toast-icon { flex: none; margin-top: .1rem; }
.rpm-toast.is-success .toast-icon { color: #5eead4; }
.rpm-toast.is-danger .toast-icon { color: #fca5a5; }
.rpm-toast.is-warning .toast-icon { color: #fcd34d; }
.rpm-toast.is-info .toast-icon { color: var(--rpm-sky); }
.rpm-toast .toast-body { flex: 1; min-width: 0; padding: 0; }
.rpm-toast .toast-body a { color: #fff; font-weight: 650; text-decoration: underline; }
.rpm-toast .toast-close { background: none; border: 0; color: #aab6c8; padding: .25rem; margin: -.25rem -.375rem -.25rem 0; border-radius: 6px; line-height: 0; }
.rpm-toast .toast-close:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.rpm-toast :focus-visible { outline-color: var(--rpm-sky); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.skeleton {
  display: block; background: linear-gradient(90deg, var(--rpm-bg-2) 0%, var(--rpm-skeleton-hi) 40%, var(--rpm-bg-2) 80%);
  background-size: 200% 100%; border-radius: var(--rpm-radius-sm); animation: shimmer 1.4s ease-in-out infinite;
}
.skeleton-line { height: 12px; margin-bottom: .625rem; }
.skeleton-block { height: 280px; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

.consent-banner {
  position: fixed; z-index: 1080; left: 16px; right: 16px; bottom: 16px; max-width: 560px;
  background: var(--rpm-surface); border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius-lg);
  box-shadow: var(--rpm-shadow-lg); padding: 1.25rem; font-size: var(--rpm-fs-sm); color: var(--rpm-ink-2);
}
.consent-banner h2 { font-size: var(--rpm-fs-base); margin-bottom: .375rem; }
.consent-banner p { margin-bottom: 1rem; }
.consent-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.consent-actions .btn { flex: 1 1 140px; }
@media (min-width: 768px) { .consent-banner { left: 24px; bottom: 24px; } }

/* Modals */
.modal { --bs-modal-bg: var(--rpm-surface); --bs-modal-border-radius: var(--rpm-radius-lg); --bs-modal-border-color: var(--rpm-border); --bs-modal-padding: 1.5rem; --bs-modal-header-padding: 1.25rem 1.5rem; --bs-modal-footer-gap: .5rem; }
.modal-content { box-shadow: var(--rpm-shadow-lg); }
.modal-header { border-bottom-color: var(--rpm-border); align-items: flex-start; }
.modal-title { font-size: var(--rpm-fs-xl); font-weight: 650; letter-spacing: -.015em; }
.modal-subtitle { color: var(--rpm-muted); font-size: var(--rpm-fs-sm); margin: .25rem 0 0; }
.modal-footer { border-top-color: var(--rpm-border); }
.btn-close { width: 2rem; height: 2rem; padding: .5rem; border-radius: var(--rpm-radius-xs); opacity: .7; }
.btn-close:hover { opacity: 1; background-color: var(--rpm-bg-2); }
.btn-close:focus { box-shadow: none; }
.btn-close:focus-visible { outline: 3px solid var(--rpm-focus); opacity: 1; }
.modal-backdrop { --bs-backdrop-bg: var(--rpm-backdrop); --bs-backdrop-opacity: .55; }
.modal-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; }
.modal-icon.is-danger { background: var(--rpm-rise-soft); color: var(--rpm-rise); }
.modal-icon.is-primary { background: var(--rpm-primary-soft); color: var(--rpm-primary); }

/* Accordion (FAQ) */
.accordion {
  --bs-accordion-border-color: var(--rpm-border); --bs-accordion-border-radius: var(--rpm-radius-lg); --bs-accordion-inner-border-radius: calc(var(--rpm-radius-lg) - 1px);
  --bs-accordion-btn-padding-x: 1.25rem; --bs-accordion-btn-padding-y: 1.125rem; --bs-accordion-body-padding-x: 1.25rem; --bs-accordion-body-padding-y: 0;
  --bs-accordion-active-bg: var(--rpm-surface); --bs-accordion-active-color: var(--rpm-ink); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-bg: var(--rpm-surface);
  --bs-accordion-btn-color: var(--rpm-ink);
}
.accordion-button { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.accordion-button:focus-visible { outline: 3px solid var(--rpm-focus); outline-offset: -3px; }
.accordion-body { color: var(--rpm-ink-2); padding-bottom: 1.25rem !important; }
.accordion-body > :last-child { margin-bottom: 0; }
.faq-list details { border-bottom: 1px solid var(--rpm-border); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.125rem 0; font-weight: 600; color: var(--rpm-ink); font-size: 1.0625rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-radius: 6px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { transition: transform .2s var(--rpm-ease); color: var(--rpm-muted); flex: none; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list .faq-a { padding-bottom: 1.125rem; color: var(--rpm-ink-2); }
.faq-list .faq-a > :last-child { margin-bottom: 0; }

/* 11. Data: tables, lists, pagination ------------------------------------------- */
.table { --bs-table-bg: transparent; --bs-table-color: var(--rpm-ink-2); --bs-table-border-color: var(--rpm-border); margin-bottom: 0; }
.table > thead th {
  font-size: var(--rpm-fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--rpm-muted); font-weight: 650;
  background: var(--rpm-bg); padding: .75rem 1rem; border-bottom-width: 1px; white-space: nowrap;
}
.table > tbody td, .table > tbody th { padding: .875rem 1rem; vertical-align: middle; }
.table > tbody tr:last-child > * { border-bottom: 0; }
.table-card { background: var(--rpm-surface); border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius-lg); overflow: hidden; box-shadow: var(--rpm-shadow-xs); }
.table-card .table-responsive { margin: 0; }
.compare-table th[scope="row"] { font-weight: 500; color: var(--rpm-ink-2); }
.compare-table td, .compare-table th { text-align: center; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; }
.compare-table .is-current { background: var(--rpm-primary-tint); }
.compare-table .icon-yes { color: var(--rpm-drop); }
.compare-table .icon-no { color: var(--rpm-subtle); }

.pagination { --bs-pagination-border-color: var(--rpm-border-strong); --bs-pagination-color: var(--rpm-ink-2); --bs-pagination-hover-bg: var(--rpm-bg-2); --bs-pagination-hover-color: var(--rpm-ink); --bs-pagination-active-bg: var(--rpm-primary-fill); --bs-pagination-active-border-color: var(--rpm-primary-fill); --bs-pagination-active-color: var(--rpm-on-fill); --bs-pagination-disabled-color: var(--rpm-subtle); --bs-pagination-border-radius: var(--rpm-radius-sm); gap: .25rem; flex-wrap: wrap; }
.pagination .page-link { border-radius: var(--rpm-radius-sm) !important; min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: var(--rpm-fs-sm); gap: .25rem; }
.pagination .page-item:not(:first-child) .page-link { margin-left: 0; }

dl.meta { display: grid; grid-template-columns: auto 1fr; gap: .375rem 1rem; margin: 0; font-size: var(--rpm-fs-sm); }
dl.meta dt { color: var(--rpm-muted); font-weight: 500; }
dl.meta dd { margin: 0; color: var(--rpm-ink); font-weight: 550; }

/* 12. Page modules ------------------------------------------------------------- */

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: var(--rpm-space-7) var(--rpm-space-8); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(92, 200, 245, .22), transparent 60%),
    radial-gradient(40rem 26rem at -10% 20%, rgba(11, 92, 173, .10), transparent 60%),
    linear-gradient(180deg, var(--rpm-hero-top) 0%, var(--rpm-bg) 100%);
}
@media (min-width: 992px) { .hero { padding-block: 5.5rem 6.5rem; } }
.hero h1 { font-size: var(--rpm-fs-5xl); letter-spacing: -.04em; line-height: 1.03; margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--rpm-primary); background: linear-gradient(90deg, var(--rpm-primary), var(--rpm-accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); max-width: 34rem; color: var(--rpm-ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; color: var(--rpm-muted); font-size: var(--rpm-fs-sm); }
.hero-note span { display: inline-flex; align-items: center; gap: .375rem; }
.hero-note .icon { color: var(--rpm-drop); }

/* Product visual: alert e-mail mock + sparkline */
.product-visual { position: relative; max-width: 540px; margin-inline: auto; padding-bottom: 8.5rem; }
@media (min-width: 576px) { .product-visual .mock-window { margin-right: 48px; } }
.mock-window {
  background: var(--rpm-surface); border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius-lg);
  box-shadow: var(--rpm-shadow-lg); overflow: hidden; position: relative;
}
.mock-bar { display: flex; align-items: center; gap: .375rem; padding: .625rem .875rem; background: var(--rpm-bg); border-bottom: 1px solid var(--rpm-border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rpm-mock-dot); display: block; }
.mock-bar .mock-bar-title { margin-left: .5rem; font-size: var(--rpm-fs-xs); color: var(--rpm-muted); font-weight: 550; }
.mock-mail-head { padding: 1rem 1.25rem .875rem; border-bottom: 1px solid var(--rpm-border); display: flex; gap: .75rem; align-items: center; }
.mock-mail-head img { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.mock-from { font-size: var(--rpm-fs-sm); font-weight: 650; color: var(--rpm-ink); line-height: 1.3; }
.mock-subject { font-size: var(--rpm-fs-sm); color: var(--rpm-ink-2); line-height: 1.35; }
.mock-time { margin-left: auto; font-size: var(--rpm-fs-xs); color: var(--rpm-muted); white-space: nowrap; align-self: flex-start; }
.mock-mail-body { padding: 1.125rem 1.25rem 1.25rem; }
.mock-sailing { font-weight: 650; color: var(--rpm-ink); font-size: .9375rem; }
.mock-sailing-meta { font-size: var(--rpm-fs-xs); color: var(--rpm-muted); margin-bottom: .875rem; }
.mock-fare { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .875rem 1rem; border-radius: var(--rpm-radius); background: var(--rpm-bg); border: 1px solid var(--rpm-border); flex-wrap: wrap; }
.mock-fare + .mock-fare { margin-top: .5rem; }
.mock-fare-label { font-size: var(--rpm-fs-sm); font-weight: 600; color: var(--rpm-ink); }
.mock-fare-prices { display: flex; align-items: baseline; gap: .5rem; font-variant-numeric: tabular-nums; }
.mock-fare-prices s { color: var(--rpm-muted); font-size: var(--rpm-fs-sm); }
.mock-fare-prices strong { font-size: var(--rpm-fs-lg); color: var(--rpm-ink); font-weight: 700; }
.mock-cta { display: inline-flex; align-items: center; gap: .375rem; margin-top: 1rem; font-size: var(--rpm-fs-sm); font-weight: 650; color: var(--rpm-on-fill); background: var(--rpm-primary-fill); padding: .5rem .875rem; border-radius: var(--rpm-radius-sm); }
.mock-chart {
  position: absolute; right: 0; bottom: 0; width: 60%; max-width: 300px; background: var(--rpm-surface); border: 1px solid var(--rpm-border);
  border-radius: var(--rpm-radius-lg); box-shadow: var(--rpm-shadow-lg); padding: .875rem 1rem .75rem;
}
.mock-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.mock-chart-title { font-size: var(--rpm-fs-xs); font-weight: 650; color: var(--rpm-ink); }
.mock-chart svg { display: block; width: 100%; height: auto; margin-top: .5rem; }
.mock-chart .spark-stop { stop-color: var(--rpm-series-1); }
.mock-chart .spark-grid { stroke: var(--rpm-chart-grid); }
.mock-chart .spark-line { stroke: var(--rpm-series-1); }
.mock-chart .spark-dot { fill: var(--rpm-chart-booked); stroke: var(--rpm-surface); }
.mock-label { position: absolute; top: -12px; right: 64px; z-index: 2; }
@media (max-width: 575.98px) {
  .product-visual { padding-bottom: 0; }
  .mock-chart { position: relative; right: auto; width: auto; max-width: none; margin: -1rem .75rem 0; }
}

.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; align-items: center; color: var(--rpm-ink-2); font-weight: 600; }
.logo-strip .line-name { font-size: var(--rpm-fs-lg); letter-spacing: -.01em; color: var(--rpm-ink); }
.logo-strip-note { color: var(--rpm-muted); font-size: var(--rpm-fs-sm); }
@media (max-width: 575.98px) { .logo-strip { flex-direction: column; gap: .25rem; } .logo-strip [aria-hidden="true"] { display: none; } }

.steps { counter-reset: step; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: var(--rpm-fs-sm);
  background: var(--rpm-step-bg); color: #fff; margin-bottom: 1rem;
}
.step h3 { font-size: var(--rpm-fs-lg); margin-bottom: .375rem; }
.step p { color: var(--rpm-muted); margin: 0; }

.timeline-check { display: grid; gap: .875rem; }
.claim-col h3 { font-size: var(--rpm-fs-lg); }
.claim-col ul { padding-left: 1.125rem; color: var(--rpm-ink-2); }
.claim-col li + li { margin-top: .375rem; }

.cta-band { background: var(--rpm-navy); color: #c9d3e1; border-radius: var(--rpm-radius-xl); padding: clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after {
  content: ""; position: absolute; inset: auto -10% -40% 30%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(92, 200, 245, .28), transparent);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d3e1; }

/* Pricing */
.price-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; position: relative; }
.price-card.is-featured { border-color: var(--rpm-primary); box-shadow: 0 0 0 1px var(--rpm-primary), var(--rpm-shadow-md); }
.price-card.is-current { border-color: var(--rpm-drop-strong); }
.price-card .plan-name { font-size: var(--rpm-fs-xl); margin-bottom: .25rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.price-card .plan-pitch { color: var(--rpm-muted); font-size: .9375rem; min-height: 3em; margin-bottom: 1.25rem; }
.price-amount { display: flex; align-items: baseline; gap: .375rem; flex-wrap: wrap; min-height: 3.25rem; }
.price-amount .amount { font-size: 2.5rem; font-weight: 700; color: var(--rpm-ink); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-amount .per { color: var(--rpm-muted); font-size: .9375rem; }
.price-note { font-size: var(--rpm-fs-sm); color: var(--rpm-muted); min-height: 1.5rem; margin: .375rem 0 1.25rem; }
.price-features { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .625rem; font-size: .9375rem; }
.price-features li { display: flex; gap: .625rem; align-items: flex-start; color: var(--rpm-ink-2); }
.price-features .icon { color: var(--rpm-drop); flex: none; margin-top: .2rem; }
.price-card .plan-cta { padding-top: .25rem; min-height: 48px; }
.price-card .featured-flag { position: absolute; top: -12px; left: 1.75rem; }
[data-billing="month"] .show-year, [data-billing="year"] .show-month { display: none !important; }

/* Dashboard */
.stats-grid { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.stats-grid > :last-child { grid-column: 1 / -1; }
@media (max-width: 767.98px) { .stats-grid .rpm-card { padding: 1rem; } .stats-grid .stat-value { font-size: var(--rpm-fs-xl); } }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .stats-grid > :last-child { grid-column: auto; } }
.onboard-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
@media (min-width: 768px) { .onboard-steps { grid-template-columns: repeat(2, 1fr); } }
.onboard-step { display: flex; align-items: center; gap: .75rem; padding: .75rem .875rem; border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius); background: var(--rpm-surface); font-weight: 550; color: var(--rpm-ink); text-decoration: none; }
a.onboard-step:hover { border-color: var(--rpm-primary-border); color: var(--rpm-ink); background: var(--rpm-surface-hover); }
.onboard-step .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--rpm-border-strong); color: transparent; flex: none; }
.onboard-step.is-done { color: var(--rpm-muted); background: var(--rpm-bg); }
.onboard-step.is-done .label { text-decoration: line-through; text-decoration-color: var(--rpm-subtle); }
.onboard-step.is-done .tick { background: var(--rpm-drop-fill); border-color: var(--rpm-drop-fill); color: var(--rpm-on-fill); }
.onboard-step .go { margin-left: auto; color: var(--rpm-primary); }
.progress-ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; background: conic-gradient(var(--rpm-drop-strong) calc(var(--p) * 1%), var(--rpm-bg-2) 0); }
.progress-ring span { width: 44px; height: 44px; border-radius: 50%; background: var(--rpm-surface); display: grid; place-items: center; font-size: var(--rpm-fs-xs); font-weight: 700; color: var(--rpm-ink); }

.watch-list { list-style: none; margin: 0; padding: 0; }
.watch-head { display: none; }
.watch-row { padding: 1.125rem 1.25rem; border-top: 1px solid var(--rpm-border); display: grid; gap: .75rem; grid-template-columns: 1fr; position: relative; transition: background-color .3s; }
.watch-row:first-child { border-top: 0; }
.watch-row.is-new { background: var(--rpm-primary-tint); box-shadow: inset 3px 0 0 var(--rpm-primary); }
.watch-row.is-muted .watch-title, .watch-row.is-muted .watch-target { color: var(--rpm-muted); }
.watch-main { display: flex; gap: .875rem; align-items: flex-start; min-width: 0; }
.watch-type { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--rpm-primary-soft); color: var(--rpm-primary); }
.watch-type.is-package { background: var(--rpm-gold-soft); color: var(--rpm-warn); }
.watch-title { font-weight: 650; color: var(--rpm-ink); font-size: 1rem; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.watch-sub { font-size: var(--rpm-fs-sm); color: var(--rpm-muted); display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin-top: .125rem; }
.watch-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; margin: 0; }
.watch-fields dt { font-size: var(--rpm-fs-xs); color: var(--rpm-muted); font-weight: 550; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .125rem; }
.watch-fields dd { margin: 0; font-size: var(--rpm-fs-sm); color: var(--rpm-ink); font-weight: 550; overflow-wrap: anywhere; }
.watch-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
@media (min-width: 992px) {
  .watch-head, .watch-row {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 300px; gap: 1.25rem; align-items: center;
  }
  .watch-head { padding: .75rem 1.25rem; background: var(--rpm-bg); border-bottom: 1px solid var(--rpm-border); font-size: var(--rpm-fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--rpm-muted); font-weight: 650; }
  .watch-head .fields { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1rem; }
  .watch-fields { grid-template-columns: 1.5fr 1fr 1fr; gap: 1rem; }
  .watch-fields dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .watch-actions { justify-content: flex-end; flex-wrap: wrap; }
}
@media (min-width: 1200px) {
  .watch-head, .watch-row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 368px; }
  .watch-actions { flex-wrap: nowrap; }
}

/* History chart */
.history-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1rem; }
@media (min-width: 576px) { .history-stats { grid-template-columns: repeat(4, 1fr); } }
.history-stats .stat { background: var(--rpm-bg); border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius); padding: .75rem .875rem; }
.history-stats .stat-value { font-size: var(--rpm-fs-lg); }
.history-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .75rem; }
.history-canvas-wrap { position: relative; height: 320px; }
@media (min-width: 768px) { .history-canvas-wrap { height: 360px; } }
.history-note { font-size: var(--rpm-fs-sm); color: var(--rpm-muted); margin-top: .75rem; display: flex; gap: .375rem; align-items: flex-start; }
.history-table-wrap { max-height: 280px; overflow: auto; border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius); margin-top: .75rem; }
.history-table-wrap .table > thead th { position: sticky; top: 0; z-index: 1; }
.history-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: var(--rpm-fs-sm); color: var(--rpm-ink-2); list-style: none; padding: 0; margin: 0 0 .75rem; }
.history-legend li { display: inline-flex; align-items: center; gap: .375rem; }
.history-legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.history-error { text-align: center; padding: 2.5rem 1rem; }
.history-error .icon-wrap { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 1rem; background: var(--rpm-rise-soft); color: var(--rpm-rise); }

/* Watcher form */
.wizard { display: grid; gap: 1rem; }
.wizard-step { padding: 1.5rem; }
.wizard-step[hidden] { display: none !important; }
.wizard-step-head { display: flex; gap: .875rem; align-items: flex-start; margin-bottom: 1.25rem; }
.wizard-step-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--rpm-step-bg); color: #fff; font-weight: 700; font-size: var(--rpm-fs-xs); flex: none; margin-top: .125rem; }
.wizard-step-head h2 { font-size: var(--rpm-fs-lg); margin: 0; }
.wizard-step-head p { margin: .125rem 0 0; color: var(--rpm-muted); font-size: var(--rpm-fs-sm); }
.choice-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.choice-grid > div { position: relative; }
.summary-panel { position: sticky; top: calc(var(--rpm-header-h) + 16px); }
.summary-sentence { font-size: 1.0625rem; color: var(--rpm-ink); line-height: 1.5; font-weight: 500; }
.summary-sentence strong { color: var(--rpm-primary-ink); }
.summary-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; font-size: var(--rpm-fs-sm); }
.summary-list li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--rpm-border); padding-bottom: .5rem; }
.summary-list li span:first-child { color: var(--rpm-muted); }
.summary-list li span:last-child { color: var(--rpm-ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.summary-list li.is-empty span:last-child { color: var(--rpm-subtle); font-weight: 500; }

/* Find Deals */
.filters-panel { padding: 1.25rem; }
.filter-group { padding-block: 1.125rem; border: 0; margin: 0; background: linear-gradient(var(--rpm-border), var(--rpm-border)) top left / 100% 1px no-repeat; }
.filter-group:first-of-type { background: none; padding-top: 0; }
.filter-group > legend, .filter-title { font-size: var(--rpm-fs-sm); font-weight: 650; color: var(--rpm-ink); margin-bottom: .625rem; float: none; width: auto; padding: 0; }
.filter-group .filter-tools { display: flex; gap: .75rem; font-size: var(--rpm-fs-xs); margin-bottom: .5rem; }
.filter-search { min-height: 36px; padding-block: .375rem; font-size: var(--rpm-fs-sm); margin-bottom: .5rem; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.results-count { color: var(--rpm-ink-2); font-size: .9375rem; margin: 0; }
.results-count strong { color: var(--rpm-ink); }
.sort-control { display: flex; align-items: center; gap: .5rem; }
.sort-control label { font-size: var(--rpm-fs-sm); color: var(--rpm-muted); font-weight: 500; white-space: nowrap; margin: 0; }
.sort-control .form-select { min-height: 38px; padding-block: .375rem; font-size: var(--rpm-fs-sm); width: auto; }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.result-card { padding: 1.125rem 1.25rem; display: grid; gap: 1rem; grid-template-columns: 1fr; transition: border-color .15s, box-shadow .15s; }
.result-card:hover { border-color: var(--rpm-card-hover-border); box-shadow: var(--rpm-shadow-sm); }
.result-ship { font-size: 1.0625rem; font-weight: 650; color: var(--rpm-ink); margin: .25rem 0 .125rem; }
.result-itin { font-size: var(--rpm-fs-sm); color: var(--rpm-muted); margin: 0 0 .625rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result-facts { display: flex; flex-wrap: wrap; gap: .375rem .875rem; font-size: var(--rpm-fs-sm); color: var(--rpm-ink-2); margin: 0; padding: 0; list-style: none; }
.result-facts li { display: inline-flex; align-items: center; gap: .3125rem; }
.result-facts .icon { color: var(--rpm-muted); }
.result-price { display: flex; flex-direction: column; gap: .25rem; }
.result-price .cabin { font-size: var(--rpm-fs-sm); font-weight: 600; color: var(--rpm-ink); }
.result-price .amount { font-size: 1.625rem; font-weight: 700; color: var(--rpm-ink); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result-price .per { font-size: var(--rpm-fs-xs); color: var(--rpm-muted); }
.result-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.result-actions .btn { flex: 1 1 auto; }
@media (min-width: 768px) {
  .result-card { grid-template-columns: minmax(0, 1fr) 236px; align-items: center; }
  .result-side { border-left: 1px solid var(--rpm-border); padding-left: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
  .result-actions { flex-direction: column; }
}
.result-badges { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .625rem; }
.watch-btn.is-watching { --bs-btn-color: var(--rpm-drop); --bs-btn-bg: var(--rpm-drop-soft); --bs-btn-border-color: var(--rpm-drop-border); --bs-btn-disabled-color: var(--rpm-drop); --bs-btn-disabled-bg: var(--rpm-drop-soft); --bs-btn-disabled-border-color: var(--rpm-drop-border); --bs-btn-disabled-opacity: 1; }
.upsell { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.upsell .upsell-body { flex: 1 1 260px; }

/* Account */
.settings-layout { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .settings-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 2.5rem; } }
.settings-nav { position: sticky; top: calc(var(--rpm-header-h) + 16px); align-self: start; }
.settings-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: .25rem; overflow-x: auto; }
@media (min-width: 992px) { .settings-nav ul { flex-direction: column; } }
@media (max-width: 991.98px) { .settings-nav { position: static; } .settings-nav ul { flex-wrap: wrap; } }
.settings-nav a { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: var(--rpm-radius-sm); color: var(--rpm-ink-2); text-decoration: none; font-weight: 550; font-size: var(--rpm-fs-sm); white-space: nowrap; }
.settings-nav a:hover { background: var(--rpm-bg-2); color: var(--rpm-ink); }
.settings-section { scroll-margin-top: calc(var(--rpm-header-h) + 16px); }
.settings-section .card-head { margin-bottom: 1rem; }
.settings-section h2 { font-size: var(--rpm-fs-lg); margin-bottom: .25rem; }
.danger-zone { border-color: var(--rpm-rise-border); }
.danger-zone h2 { color: var(--rpm-rise); }
.del-step[hidden] { display: none !important; }
.del-progress { display: flex; gap: .375rem; margin-bottom: 1.25rem; }
.del-progress span { height: 4px; flex: 1; border-radius: 4px; background: var(--rpm-bg-2); }
.del-progress span.is-on { background: var(--rpm-rise); }

/* Legal / prose */
.prose { color: var(--rpm-ink-2); font-size: 1rem; line-height: 1.75; }
.prose h2 { font-size: var(--rpm-fs-xl); margin: 2.5rem 0 .75rem; scroll-margin-top: calc(var(--rpm-header-h) + 16px); }
.prose h3 { font-size: var(--rpm-fs-base); margin: 1.5rem 0 .5rem; }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .375rem; }
.prose table { width: 100%; font-size: var(--rpm-fs-sm); border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--rpm-border); padding: .625rem .75rem; vertical-align: top; text-align: left; }
.prose th { background: var(--rpm-bg); color: var(--rpm-ink); font-weight: 650; }
.prose .table-scroll { overflow-x: auto; margin-bottom: 1rem; }
.prose .table-scroll table { margin-bottom: 0; min-width: 520px; }
.toc { font-size: var(--rpm-fs-sm); }
.toc ol { padding-left: 1.25rem; margin: 0; display: grid; gap: .375rem; }
.toc a { color: var(--rpm-ink-2); text-decoration: none; }
.toc a:hover { color: var(--rpm-primary); text-decoration: underline; }
.legal-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--rpm-muted); font-size: var(--rpm-fs-sm); }

/* How watchers work: short steps beside screenshots of the real app */
.help-steps { list-style: none; padding: 0 !important; margin: 1.5rem 0 2rem; display: grid; gap: 2.25rem; }
.prose .help-steps > li + li { margin-top: 0; }
.help-step { display: grid; gap: 1rem; align-items: start; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .help-step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.75rem; } }
.help-step > div > :last-child { margin-bottom: 0; }
.help-step h3 { display: flex; gap: .625rem; align-items: center; margin: 0 0 .5rem; }
.help-step h3 .wizard-step-num { margin-top: 0; }
.help-shot { margin: 0; min-width: 0; }
.help-shot > a { display: block; width: fit-content; max-width: 100%; border-radius: var(--rpm-radius); }
.help-shot > a:hover img { border-color: var(--rpm-primary-border); }
.help-shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius); box-shadow: var(--rpm-shadow-md); background: var(--rpm-surface); }
.help-shot figcaption { font-size: var(--rpm-fs-sm); color: var(--rpm-muted); margin-top: .625rem; line-height: 1.5; }
.help-shot.is-wide { margin: 1.25rem 0 1.5rem; }
.help-shot.is-narrow img { max-width: min(100%, 320px); }
.help-tip { display: flex; gap: .625rem; align-items: flex-start; background: var(--rpm-primary-soft); border: 1px solid var(--rpm-primary-border-soft); color: var(--rpm-primary-ink); border-radius: var(--rpm-radius); padding: .75rem .875rem; font-size: var(--rpm-fs-sm); line-height: 1.55; }
.help-tip .icon { flex: none; margin-top: .15rem; }
.help-badges { list-style: none; padding: 0 !important; display: grid; gap: .5rem; }
.prose .help-badges li + li { margin-top: 0; }
.help-badges li { display: flex; gap: .75rem; align-items: baseline; }
.help-badges .badge-soft { flex: none; min-width: 5.5rem; justify-content: center; }
.verdict-list { display: grid; gap: .75rem; margin: 0 0 1.25rem; }
.verdict-list > div { display: grid; gap: .25rem; padding: .875rem 1rem; border: 1px solid var(--rpm-border); border-radius: var(--rpm-radius); background: var(--rpm-surface); }
@media (min-width: 768px) { .verdict-list > div { grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; } }
.verdict-list dt { color: var(--rpm-ink); font-weight: 650; }
.verdict-list dd { margin: 0; }
.claim-cards { margin: 1.25rem 0; }
.claim-cards .claim-col ul { margin-bottom: 0; }

/* Auth */
.auth-shell { padding-block: var(--rpm-space-7) var(--rpm-space-8); }
.auth-card { padding: 2rem 1.5rem; }
@media (min-width: 576px) { .auth-card { padding: 2.5rem; } }
.auth-card h1 { font-size: var(--rpm-fs-2xl); margin-bottom: .375rem; letter-spacing: -.025em; }
.auth-card .auth-sub { color: var(--rpm-muted); margin-bottom: 1.75rem; }
.auth-foot { text-align: center; margin-top: 1.5rem; color: var(--rpm-muted); font-size: .9375rem; }
.auth-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.25rem; background: var(--rpm-primary-soft); color: var(--rpm-primary); }
.auth-icon.is-drop { background: var(--rpm-drop-soft); color: var(--rpm-drop); }
.auth-aside { display: none; }
@media (min-width: 992px) { .auth-aside { display: block; } }
.grecaptcha-badge { visibility: hidden !important; }

/* Error pages */
.error-page { text-align: center; padding-block: var(--rpm-space-9); max-width: 560px; margin-inline: auto; }
.error-code { font-size: var(--rpm-fs-sm); font-weight: 650; color: var(--rpm-primary); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; }
.error-page h1 { font-size: var(--rpm-fs-4xl); margin-bottom: 1rem; }
.error-page p { color: var(--rpm-muted); font-size: var(--rpm-fs-lg); }

/* Tier guide timeline */
.cadence { display: grid; gap: .75rem; }
.cadence-row { display: grid; grid-template-columns: 92px 1fr; gap: .75rem; align-items: center; }
@media (min-width: 576px) { .cadence-row { grid-template-columns: 120px 1fr; } }
.cadence-name { font-weight: 650; color: var(--rpm-ink); font-size: var(--rpm-fs-sm); }
.cadence-track { position: relative; height: 36px; background: var(--rpm-bg); border: 1px solid var(--rpm-border); border-radius: 10px; }
.cadence-track .tick { position: absolute; top: 50%; width: 2px; height: 14px; margin-top: -7px; background: var(--rpm-border-strong); border-radius: 2px; }
.cadence-track .ping { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--rpm-primary-fill); color: var(--rpm-on-fill); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--rpm-surface); }
.cadence-track .day { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--rpm-border-strong); }
.cadence-axis { display: grid; grid-template-columns: 92px 1fr; gap: .75rem; font-size: var(--rpm-fs-xs); color: var(--rpm-muted); }
@media (min-width: 576px) { .cadence-axis { grid-template-columns: 120px 1fr; } }
.cadence-axis .days { display: grid; grid-template-columns: repeat(3, 1fr); }
.cadence-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: var(--rpm-fs-sm); color: var(--rpm-muted); }
.cadence-legend span { display: inline-flex; align-items: center; gap: .375rem; }
.cadence-legend .k-tick { width: 2px; height: 12px; background: var(--rpm-border-strong); }
.cadence-legend .k-ping { width: 14px; height: 14px; border-radius: 50%; background: var(--rpm-primary-fill); }

/* 13. Utilities --------------------------------------------------------------- */
.icon { width: 1.125em; height: 1.125em; display: inline-block; vertical-align: -.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 14px; height: 14px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 28px; height: 28px; }
.gap-row { row-gap: 1.5rem; }
.min-w-0 { min-width: 0; }
.fw-650 { font-weight: 650 !important; }
.fs-sm { font-size: var(--rpm-fs-sm) !important; }
.fs-xs { font-size: var(--rpm-fs-xs) !important; }
.rounded-xl { border-radius: var(--rpm-radius-xl) !important; }
.divider-text { display: flex; align-items: center; gap: .75rem; color: var(--rpm-muted); font-size: var(--rpm-fs-sm); }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--rpm-border); }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .625rem; }
.list-check li { display: flex; gap: .625rem; align-items: flex-start; }
.list-check .icon { color: var(--rpm-drop); margin-top: .2rem; flex: none; }
.kbd-hint { font-size: var(--rpm-fs-xs); color: var(--rpm-muted); }
[hidden] { display: none !important; }

/* 14. Motion & print ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .skeleton { animation: none; }
}
@media (forced-colors: active) {
  .choice-input:checked + .choice-card, .choice-input:checked + .chip, .segmented .choice-input:checked + label { outline: 2px solid Highlight; }
  .btn { border: 1px solid ButtonText; }
}
@media print {
  .site-header, .site-footer, .consent-banner, .toast-region, .skip-link { display: none !important; }
  body { background: #fff; }
}

/* Scroll containers must contain absolutely-positioned descendants (e.g.
   .visually-hidden text), or those escape the clip and widen the page. */
.table-responsive, .table-scroll, .check-list, .history-table-wrap, .filters-panel, .modal-body { position: relative; }
.choice-grid.cols-3 .choice-card { flex-direction: column; gap: .75rem; position: relative; }
.choice-grid.cols-3 .choice-card .choice-check { position: absolute; top: 1rem; right: 1rem; }
@media (max-width: 575.98px) {
  .choice-grid.cols-3 .choice-card { flex-direction: row; align-items: center; }
  .choice-grid.cols-3 .choice-card .choice-check { position: static; }
}
[data-history-body]:focus, [data-history-inline]:focus { outline: none; }


/* My booking ------------------------------------------------------------------- */
.watch-booking { grid-column: 1 / -1; display: flex; gap: .75rem; align-items: flex-start; padding: .75rem .875rem;
  border-radius: var(--rpm-radius-sm); background: var(--rpm-bg); border: 1px solid var(--rpm-border); font-size: var(--rpm-fs-sm); color: var(--rpm-ink); }
.watch-booking > .min-w-0 { flex: 1; }
.watch-booking > p { flex: 1; color: var(--rpm-muted); }
.watch-booking-icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--rpm-surface); color: var(--rpm-muted); }
.watch-booking.is-good { background: var(--rpm-drop-soft); border-color: var(--rpm-drop-border); }
.watch-booking.is-good .watch-booking-icon { color: var(--rpm-drop); }
.watch-booking.is-maybe { background: var(--rpm-warn-soft); border-color: var(--rpm-warn-border); }
.watch-booking.is-maybe .watch-booking-icon { color: var(--rpm-warn); }
.watch-booking.is-empty { border-style: dashed; background: transparent; }
.flex-none { flex: none; }
@media (max-width: 575.98px) { .watch-booking { flex-wrap: wrap; } .watch-booking > .btn { margin-left: 40px; } }
.savings-banner { display: flex; gap: 1rem; align-items: center; background: linear-gradient(0deg, var(--rpm-drop-soft), var(--rpm-drop-soft)); border-color: var(--rpm-drop-border); }
.booking-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .booking-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.history-legend i.is-dashed { background: repeating-linear-gradient(90deg, var(--rpm-chart-booked) 0 6px, transparent 6px 10px) !important; height: 2px; }

/* My booking: fare entry */
.fare-input { max-width: 22rem; }
[data-fare-out]:empty { display: none; }
