/* ============================================================================
   NarraPay "Glass" UI — app-wide light glassmorphism theme.
   Layered on top of app.css (which still holds the structural styles + tokens).
   This file is the look-and-feel surface: translucent frosted cards, a soft
   light colour mesh behind them, hairline borders, pill-shaped status chips,
   frosted modals/popovers, and a semantic budget gradient (green within / red
   over budget). Toggle the whole theme off by removing this one file.

   Conventions for NEW features (keep the app cohesive):
   - Wrap content in `.ps-card` / `.ps-tablecard` to inherit the glass panel.
   - Categorical / status values → render as the pill recipe below, not a flat
     full-bleed coloured cell.
   - Budget / threshold figures → set `.pos` (good/within) or `.neg` (bad/over)
     on the value so the semantic gradient + colour applies automatically.
   - Dialogs → use dmc.Modal / dmc.Popover; they pick up the frosted treatment.
   ========================================================================== */

:root {
  --glass-fill: rgba(255, 255, 255, 0.55);
  --glass-fill-strong: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-radius: 18px;
  --glass-blur: blur(16px) saturate(135%);
  --glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 10px 30px -12px rgba(27, 35, 51, 0.18),
    0 2px 6px rgba(27, 35, 51, 0.05);
  --glass-positive: 31, 157, 107;   /* matches --ps-positive */
  --glass-negative: 216, 69, 59;    /* matches --ps-negative */
}

/* ----- Soft light colour mesh behind every page's content ----------------- */
.ps-main {
  background:
    radial-gradient(680px 460px at 4% -6%, rgba(85, 98, 234, 0.10), transparent 60%),
    radial-gradient(620px 460px at 100% 4%, rgba(18, 179, 166, 0.09), transparent 58%),
    radial-gradient(720px 560px at 60% 116%, rgba(233, 162, 59, 0.08), transparent 60%),
    linear-gradient(160deg, #f3f5fc, #f7f9ff);
}

/* Frosted, sticky topbar over the mesh. */
.ps-topbar {
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

/* ----- Shared glass treatment for every panel / card --------------------- */
.ps-kpi,
.ps-spend,
.ps-card,
.ps-tablecard,
.ps-snap-card {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
}

/* Faint, restrained per-tile colour tint across neutral KPI tiles. */
.ps-kpi:nth-child(3n + 1) {
  background: linear-gradient(135deg, rgba(85, 98, 234, 0.07), rgba(255, 255, 255, 0)), var(--glass-fill);
}
.ps-kpi:nth-child(3n + 2) {
  background: linear-gradient(135deg, rgba(18, 179, 166, 0.07), rgba(255, 255, 255, 0)), var(--glass-fill);
}
.ps-kpi:nth-child(3n + 3) {
  background: linear-gradient(135deg, rgba(233, 162, 59, 0.08), rgba(255, 255, 255, 0)), var(--glass-fill);
}

/* ----- Semantic budget gradient: green within budget, red over budget -----
   A tile turns green/red only when it carries a pos/neg value; neutral tiles
   keep the plain glass tint above. :has() comes later so it wins. */
.ps-kpi:has(.ps-kpi-value.pos) {
  background:
    linear-gradient(135deg, rgba(var(--glass-positive), 0.22), rgba(var(--glass-positive), 0.05) 70%),
    rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(var(--glass-positive), 0.30);
}
.ps-kpi:has(.ps-kpi-value.neg) {
  background:
    linear-gradient(135deg, rgba(var(--glass-negative), 0.22), rgba(var(--glass-negative), 0.06) 70%),
    rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(var(--glass-negative), 0.30);
}

/* Subtle hover lift on interactive cards. */
.ps-kpi,
.ps-card,
.ps-tablecard,
.ps-snap-card {
  transition: box-shadow .18s ease, transform .18s ease;
}
.ps-kpi:hover,
.ps-card:hover,
.ps-snap-card:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 16px 36px -12px rgba(27, 35, 51, 0.22),
    0 3px 8px rgba(27, 35, 51, 0.06);
}

/* KPI icon badges: glassy chips rather than flat solid fills. */
.ps-kpi-badge {
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ============================================================================
   AG Grid — STANDARD: solid WHITE data surface everywhere for readability.
   Every data grid sits on an opaque white card (not the frosted/translucent
   treatment) so dense table text is always crisp and grids look identical
   regardless of what's behind them. The glass stays on the page around tables,
   never behind the data.
   ========================================================================== */
.ag-theme-quartz.ps-grid {
  --ag-background-color: #ffffff;
  --ag-odd-row-background-color: #f7f8fb;      /* subtle zebra for row tracking */
  --ag-header-background-color: #f2f4f9;
  --ag-row-hover-color: #eef1fb;
  --ag-selected-row-background-color: rgba(85, 98, 234, 0.12);
  --ag-border-color: rgba(27, 35, 51, 0.10);
  --ag-row-border-color: rgba(27, 35, 51, 0.06);
  background: #ffffff;
  border-radius: var(--glass-radius);
  overflow: hidden;                            /* clip rows to the rounded corners */
  box-shadow: var(--glass-shadow);
}
.ag-theme-quartz.ps-grid .ag-header {
  background: #f2f4f9;
  border-bottom: 1px solid rgba(27, 35, 51, 0.10);
}
/* A grid provides its own white card, so a .ps-tablecard that WRAPS a grid shouldn't double up
   the glass panel behind it (non-grid table cards keep their glass). */
.ps-tablecard:has(.ag-theme-quartz.ps-grid) {
  background: transparent; border: none; box-shadow: none; padding: 0;
}

/* ----- Coloured group bands + status cells → inset rounded PILLS ----------
   The cell itself goes transparent; the tint becomes a pill on the inner
   value/label so it reads as a soft glass chip, not an unstyled block. */
.ag-theme-quartz.ps-grid .ps-grp-current,
.ag-theme-quartz.ps-grid .ps-grp-current-loaded,
.ag-theme-quartz.ps-grid .ps-grp-proposed,
.ag-theme-quartz.ps-grid .ps-grp-proposed-loaded,
.ag-theme-quartz.ps-grid .ps-grp-change,
.ag-theme-quartz.ps-grid .ps-grp-mgr,
.ag-theme-quartz.ps-grid .ps-grp-mgr-loaded,
.ag-theme-quartz.ps-grid .ps-cell-unaccepted,
.ag-theme-quartz.ps-grid .ps-cell-queried {
  background: transparent !important;
}
.ag-theme-quartz.ps-grid .ps-grp-current .ag-header-group-text,
.ag-theme-quartz.ps-grid .ps-grp-current .ag-cell-value,
.ag-theme-quartz.ps-grid .ps-grp-current-loaded .ag-header-group-text,
.ag-theme-quartz.ps-grid .ps-grp-current-loaded .ag-cell-value,
.ag-theme-quartz.ps-grid .ps-grp-proposed .ag-header-group-text,
.ag-theme-quartz.ps-grid .ps-grp-proposed .ag-cell-value,
.ag-theme-quartz.ps-grid .ps-grp-proposed-loaded .ag-header-group-text,
.ag-theme-quartz.ps-grid .ps-grp-proposed-loaded .ag-cell-value,
.ag-theme-quartz.ps-grid .ps-grp-change .ag-header-group-text,
.ag-theme-quartz.ps-grid .ps-grp-change .ag-cell-value,
.ag-theme-quartz.ps-grid .ps-grp-mgr .ag-header-group-text,
.ag-theme-quartz.ps-grid .ps-grp-mgr .ag-cell-value,
.ag-theme-quartz.ps-grid .ps-grp-mgr-loaded .ag-header-group-text,
.ag-theme-quartz.ps-grid .ps-grp-mgr-loaded .ag-cell-value,
.ag-theme-quartz.ps-grid .ps-cell-unaccepted .ag-cell-value,
.ag-theme-quartz.ps-grid .ps-cell-queried .ag-cell-value {
  display: inline-flex; align-items: center;
  padding: 3px 11px; border-radius: 999px;
  font-weight: 650; line-height: 1.3;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.ps-grp-current .ag-header-group-text,
.ps-grp-current .ag-cell-value        { background: rgba(20, 113, 90, 0.16); color: #0f5a47; }
.ps-grp-current-loaded .ag-header-group-text,
.ps-grp-current-loaded .ag-cell-value { background: rgba(15, 90, 71, 0.20); color: #0c4a3a; }
.ps-grp-proposed .ag-header-group-text,
.ps-grp-proposed .ag-cell-value       { background: rgba(27, 79, 160, 0.16); color: #1b4fa0; }
.ps-grp-proposed-loaded .ag-header-group-text,
.ps-grp-proposed-loaded .ag-cell-value{ background: rgba(22, 63, 128, 0.20); color: #163f80; }
.ps-grp-change .ag-header-group-text,
.ps-grp-change .ag-cell-value         { background: rgba(151, 96, 15, 0.16); color: #97600f; }
.ps-grp-mgr .ag-header-group-text,
.ps-grp-mgr .ag-cell-value            { background: rgba(91, 59, 165, 0.16); color: #5b3ba5; }
.ps-grp-mgr-loaded .ag-header-group-text,
.ps-grp-mgr-loaded .ag-cell-value     { background: rgba(74, 46, 140, 0.20); color: #4a2e8c; }
.ps-cell-unaccepted .ag-cell-value    { background: rgba(214, 158, 0, 0.20); color: #8a6400; }
.ps-cell-queried .ag-cell-value       { background: rgba(232, 62, 124, 0.18); color: #a51d51; }
/* Pay cut: proposed pay below current. A light-red cell + dark-red bold text — the whole
   cell (MoneyCell renders a bare value, not a pill), overriding the light-blue 'proposed'
   fill. !important so it beats the inline proposed-column style and any group colour. */
.ag-theme-quartz.ps-grid .ps-cut      { background: #ffe0e0 !important; color: #c92a2a !important;
                                        font-weight: 800; }

/* ============================================================================
   Modals, popovers & menus (dmc.Modal / dmc.Popover / mention menu).
   ========================================================================== */
.mantine-Modal-overlay {
  background: rgba(27, 35, 51, 0.18) !important;
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
}
.mantine-Modal-content,
.mantine-Popover-dropdown,
.ps-mention-menu {
  background: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 20px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 24px 60px -20px rgba(27, 35, 51, 0.35),
    0 4px 12px rgba(27, 35, 51, 0.10) !important;
}
.mantine-Popover-dropdown,
.ps-mention-menu { border-radius: 16px !important; }

.mantine-Modal-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(27, 35, 51, 0.06);
}
.mantine-Modal-content .mantine-Input-input,
.mantine-Modal-content textarea,
.mantine-Popover-dropdown .mantine-Input-input {
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(27, 35, 51, 0.12) !important;
  border-radius: 12px !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.mantine-Modal-close {
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px !important;
}

/* ----- Login card ---------------------------------------------------------- */
.ps-login-shell {
  background:
    radial-gradient(700px 480px at 12% 0%, rgba(85, 98, 234, 0.16), transparent 60%),
    radial-gradient(640px 480px at 100% 100%, rgba(18, 179, 166, 0.13), transparent 58%),
    linear-gradient(160deg, #eef1fb, #f6f8ff);
}
.ps-login {
  background: rgba(255, 255, 255, 0.6) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 22px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 24px 60px -20px rgba(27, 35, 51, 0.30) !important;
}

/* ============================================================================
   Wider coverage — page-level controls & chrome that were still flat.
   Scoped to .ps-page so modals/login (handled above) are untouched. Dropdown
   LISTS stay opaque (handled in app.css) for readability.
   ========================================================================== */
/* Form controls on pages (Settings, Review Cycles): inputs, selects, date/number
   pickers, textareas — give them the frosted-field treatment. */
.ps-page .mantine-Input-input,
.ps-page .mantine-Textarea-input,
.ps-page textarea,
.ps-page .mantine-Select-input,
.ps-page .mantine-NumberInput-input,
.ps-page .ps-search-input {
  background: rgba(255, 255, 255, 0.55) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(27, 35, 51, 0.12) !important;
  border-radius: 12px !important;
}

/* Tabs bar (Settings, Review Cycles detail) → a frosted pill strip. */
.ps-page .mantine-Tabs-list {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 4px; gap: 2px;
}
.ps-page .mantine-Tabs-tab[data-active] {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
}

/* Segmented controls (cost basis, phase, scope) → glass track. */
.mantine-SegmentedControl-root {
  background: var(--glass-fill) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}
.mantine-SegmentedControl-indicator {
  background: rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Accordion (Review Cycles → excluded roster) → glass panel. */
.ps-page .mantine-Accordion-item {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border) !important;
  border-radius: 14px !important;
  margin-bottom: 8px; overflow: hidden;
}

/* Light/default Buttons → subtle glass; primary/filled keep their solid colour. */
.mantine-Button-root[data-variant="light"],
.mantine-Button-root[data-variant="default"],
.mantine-Button-root[data-variant="subtle"] {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* App banners → frosted tint instead of a flat strip. */
.ps-banner.warn {
  background: rgba(253, 241, 223, 0.7) !important;
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
}
.ps-banner.info {
  background: rgba(238, 240, 255, 0.7) !important;
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
}

/* ===== App background: soft gradient behind the glass ==============================
   A soft blue gradient sits behind everything; glass cards blur it (true glassmorphism). A
   light veil over the content area keeps text/cards legible. */
/* The veil + image live on the BODY so nav and content share ONE continuous background
   (no seam between the sidebar and the content area). */
body {
  background:
    linear-gradient(rgba(244, 247, 255, 0.45), rgba(244, 247, 255, 0.45)),
    url("/assets/app-bg.jpg") center center / cover fixed no-repeat;
}
.ps-app { background: transparent; }
.ps-main { background: transparent !important; }   /* veil is on body now */
/* Login: same shared background. */
.ps-login-shell {
  background:
    linear-gradient(rgba(244, 247, 255, 0.45), rgba(244, 247, 255, 0.45)),
    url("/assets/app-bg.jpg") center center / cover fixed no-repeat !important;
}
/* ===== end app background ======================================================== */

/* Home tiles sit directly on the app background — strip the wrapper card chrome
   (the individual .ps-kpi tiles keep their own glass). */
.ps-tiles-card {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* ===== Nav: a floating "liquid glass" card, sized to its menu (not a full-height rail) === */
.ps-sidebar {
  position: sticky;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36) 55%,
                    rgba(255, 255, 255, 0.5)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
  backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -12px 24px -12px rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(27, 35, 51, 0.05),
    0 14px 32px -12px rgba(27, 35, 51, 0.28),
    0 2px 6px rgba(27, 35, 51, 0.06) !important;
  color: var(--ps-text) !important;
  height: auto !important;          /* only as tall as its contents → floats */
  align-self: flex-start;           /* don't stretch to full height */
  margin: 16px;
  top: 16px;                        /* sticky offset as you scroll */
  padding: 16px 12px;
  isolation: isolate;
}
/* Specular glint across the top of the nav card. */
.ps-sidebar::after {
  content: "";
  position: absolute; left: 8%; right: 8%; top: 0; height: 90px;
  border-radius: 20px 20px 50% 50% / 20px 20px 40px 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  pointer-events: none; z-index: -1;
}
.ps-nav-spacer { display: none !important; }   /* no full-height push — card hugs its items */
.ps-brand { color: var(--ps-text) !important; }            /* wordmark */
.ps-nav { color: var(--ps-text-muted) !important; }
.ps-nav-ico { opacity: 0.75; }
.ps-nav:hover {
  background: rgba(255, 255, 255, 0.5) !important;
  color: var(--ps-text) !important;
}
.ps-nav.active {
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--ps-text) !important;
}
/* User chip at the foot of the nav → light glass instead of the dark pill. */
.ps-userbox { background: rgba(255, 255, 255, 0.5) !important; }
.ps-userinfo b { color: var(--ps-text) !important; }
.ps-userinfo span { color: var(--ps-text-muted) !important; }
/* ===== end nav ==================================================================== */

/* ===== Page heading: "liquid glass" chip ========================================== */
.ps-pagehead { display: block; }   /* let the heading bar span the row */
.ps-pagehead h2 {
  display: block;
  width: 50%;                       /* stretch to half the page width */
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  padding: 9px 20px;
  border-radius: 16px;
  font-weight: 500;
  color: var(--ps-text);
  /* Blue liquid-glass gradient (matches the app background) with a diagonal sheen. */
  background:
    linear-gradient(135deg, rgba(56, 135, 240, 0.50), rgba(150, 195, 245, 0.26) 55%,
                    rgba(40, 120, 235, 0.42));
  -webkit-backdrop-filter: blur(18px) saturate(180%) brightness(1.06);
  backdrop-filter: blur(18px) saturate(180%) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),   /* bright top specular edge */
    inset 0 -8px 16px -8px rgba(255, 255, 255, 0.45),
    inset 0 -1px 2px rgba(27, 35, 51, 0.06),     /* faint bottom depth */
    0 10px 26px -10px rgba(27, 35, 51, 0.30),    /* soft drop */
    0 2px 6px rgba(27, 35, 51, 0.06);
}
/* A moving glint of light across the top — the 'liquid' specular streak. */
.ps-pagehead h2::after {
  content: "";
  position: absolute; left: 6%; right: 6%; top: 0; height: 45%;
  border-radius: 16px 16px 60% 60% / 16px 16px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  pointer-events: none; z-index: -1;
}
/* ===== end page heading =========================================================== */

/* ===== Liquid-glass dropdowns (all dcc.Dropdown — the menu portals out, so style globally) === */
.dash-dropdown-trigger {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)) !important;
  -webkit-backdrop-filter: blur(16px) saturate(170%) brightness(1.04);
  backdrop-filter: blur(16px) saturate(170%) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    0 6px 16px -8px rgba(27, 35, 51, 0.22) !important;
}
.dash-dropdown-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.7)) !important;
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 18px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 28px 64px -22px rgba(27, 35, 51, 0.40) !important;
  padding: 6px !important;
  overflow: hidden;
}
.dash-dropdown-content .dash-options-list-option {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  margin: 2px 0 !important;
}
/* Raised "glass pill" on the hovered / selected item (per the reference). */
.dash-dropdown-content .dash-options-list-option:hover,
.dash-dropdown-content .dash-options-list-option.selected {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 6px -1px rgba(27, 35, 51, 0.14) !important;
}
/* Frosted the in-menu search box too. */
.dash-dropdown-content .dash-dropdown-search {
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 10px !important;
}
/* ===== end dropdowns ============================================================== */

/* ===== Calm the "dark blue" text → the muted nav colour ============================
   Indigo light/subtle buttons + chips used indigo text; recolour to the app's muted text so
   they match the nav/heading type. Filled CTAs (white text) and red/destructive buttons are
   unaffected (they use their own colour vars). */
:root { --mantine-color-indigo-light-color: var(--ps-text-muted); }
.mantine-Button-root[data-variant="light"],
.mantine-Button-root[data-variant="subtle"] { font-weight: 500 !important; }
/* Banner links (FX/rate warnings) → muted too. */
.ps-banner-link, .ps-banner-x { color: var(--ps-text-muted) !important; font-weight: 500 !important; }
/* ===== end blue-text ============================================================== */
