/* Xpress Cash product prototype, built to the Xpress Cash brand guideline.
   Soft Ivory and white carry the surface, Xpress Green marks selection and brand moments, Deep Emerald anchors navigation and
   headings and is the hover state; buttons are Xpress Green as the guideline asks (white text on it is 3.6:1, accepted by the owner),
   Fresh Lime is the Best value tag, Mint Green the secondary accent, Energy Orange promotions and notices, Forest Charcoal text.
   Helvetica, fixed scale 12 / 13 / 14 / 15 / 17 / 22 / 32, with 56 for the landing headline. One system, desktop and phone. */

:root { --pt-h: 100px; color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: calc(var(--pt-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f5f8ec; color: #172b27; font: 400 15px/1.45 Helvetica, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #172b27; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Prototype toolbar (outside the product) ---------- */
.pt { position: sticky; top: 0; z-index: 50; background: #10201c; color: #fff; }
.pt-row { display: flex; align-items: center; gap: 16px; padding: 10px 20px; }
.pt-brand { margin: 0; font-size: 14px; flex: 1; min-width: 0; }
.pt-brand span { color: rgba(255, 255, 255, 0.7); margin-left: 8px; }
.pt-back { color: #fff; font-size: 14px; font-weight: 700; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.pt-view { display: flex; gap: 4px; padding: 3px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; }
.pt-view button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: #fff; font: 700 14px Helvetica, Arial, sans-serif; cursor: pointer; }
.pt-view button[aria-pressed="true"] { background: #fff; color: #172b27; }
.pt-nav { display: flex; gap: 4px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.pt-nav::-webkit-scrollbar { display: none; }
.pt-nav button { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: rgba(255, 255, 255, 0.78); font: 700 14px Helvetica, Arial, sans-serif; cursor: pointer; }
.pt-nav button:hover { color: #fff; }
.pt-nav button[aria-current="page"] { color: #fff; border-bottom-color: #55c9a0; }
.pt :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) { .pt-brand span { display: none; } .pt-row { padding: 8px 12px; } }

/* ---------- Stage ---------- */
.stage { display: flex; justify-content: center; padding: 24px 16px 40px; position: relative; }
.stage[data-view="phone"] { background: #f5f8ec; padding-block: 32px; }
.xp { container: xp / inline-size; width: 100%; max-width: 1360px; background: #f5f8ec; border: 1px solid #dce4d0; border-radius: 14px; overflow: clip; }
.stage[data-view="phone"] .xp { width: 390px; height: 790px; overflow: auto; border: 8px solid #0e1a17; border-radius: 40px; scrollbar-width: none; }
.stage[data-view="phone"] .xp::-webkit-scrollbar { display: none; }

/* ---------- Product tokens and base ---------- */
.xp {
  --deep: #087a50; --green: #159b50; --lime: #b5de72; --mint: #55c9a0; --orange: #f47b35; --charcoal: #172b27;
  --tint: #e4f1de; --lime-tint: #eaf4cd; --mint-tint: #d9f3e8; --bg: #f5f8ec; --white: #fff; --ink: #172b27; --muted: #566a63; --line: #dce4d0; --edge: #c3cdb8; --danger: #b3261e;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.xp h1, .xp h2, .xp h3, .xp p, .xp ul, .xp dl, .xp dd { margin: 0; }
.xp ul { padding: 0; list-style: none; }
.xp :where(button) { font: inherit; color: inherit; cursor: pointer; }
.xp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.xp :focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; }
.xp ::selection { background: var(--deep); color: #fff; }
.xp [tabindex="-1"]:focus { outline: none; }
.xp .small { font-size: 13px; color: var(--muted); }
.xp .lab { font-size: 13px; color: var(--muted); }
.xp .brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; min-height: 44px; }
.xp .mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--green); color: #fff; font-size: 15px; font-weight: 700; }

/* Actions */
.xp .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--green); color: #fff; font-size: 15px; font-weight: 700; transition: background 0.15s; text-decoration: none; }
.xp .btn:hover { background: var(--deep); }
.xp .btn:active { background: var(--charcoal); }
.xp .btn.sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.xp .btn.ghost { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.xp .btn.ghost:hover { background: rgba(8, 122, 80, 0.08); }
.xp .btn.ghost.on-dark { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.xp .btn.ghost.on-dark:hover { background: rgba(255, 255, 255, 0.12); }
.xp .btn.ghost.on-dark[aria-pressed="true"] { background: #fff; color: var(--deep); }
.xp .btn.inv { background: #fff; color: var(--deep); }
.xp .btn.inv:hover { background: var(--tint); }
.xp svg.fa { fill: currentColor; stroke: none; }
.xp .btn svg { width: 16px; height: 16px; }
.xp .link { border: 0; background: none; padding: 10px 2px; min-height: 44px; color: var(--deep); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-align: left; display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; }
.xp .link:hover { color: var(--charcoal); }
.xp .link.on-dark { color: #fff; }
.xp .link.back { padding-left: 0; text-decoration: none; margin-bottom: 4px; }
.xp .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Forms */
.xp .field { display: grid; gap: 6px; }
.xp .input { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 52px; padding: 0 14px; background: var(--white); border: 1px solid var(--edge); border-radius: 10px; }
.xp .input:focus-within { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.xp .input input { flex: 1; width: 0; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink); font: 700 22px/1 Helvetica, Arial, sans-serif; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.xp .input input::-webkit-outer-spin-button, .xp .input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.xp .input b, .xp .input em { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 700; }
.xp .input.fixed { font-weight: 700; background: #eaf0df; border-color: transparent; }
.xp .ctl { display: grid; gap: 6px; }
.xp .seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.xp .seg button { min-height: 44px; padding: 4px 8px; border: 1px solid var(--edge); border-radius: 10px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.15; }
.xp .seg button:hover { border-color: var(--green); }
.xp .seg button[aria-pressed="true"] { border-color: var(--tint); box-shadow: none; background: var(--tint); color: var(--charcoal); }
.xp .chips { display: flex; gap: 8px; }
.xp .chips button { flex: 1; min-height: 44px; border: 1px solid var(--edge); border-radius: 10px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; }
.xp .chips button[aria-pressed="true"] { border-color: var(--tint); box-shadow: none; background: var(--tint); color: var(--charcoal); }
.xp .error { min-height: 0; font-size: 14px; font-weight: 700; color: var(--danger); }
.xp .error:empty { display: none; }
.xp .switch { position: relative; flex: none; width: 52px; height: 44px; border: 0; background: none; padding: 0; }
.xp .switch::before { content: ""; position: absolute; left: 2px; top: 9px; width: 48px; height: 26px; border-radius: 13px; background: #b6c1ab; transition: background 0.15s; }
.xp .switch[aria-checked="true"]::before { background: var(--green); }
.xp .switch i { position: absolute; left: 5px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.xp .switch[aria-checked="true"] i { transform: translateX(22px); }
.xp .search { position: relative; display: block; flex: 1; min-width: 200px; }
.xp .search svg { position: absolute; left: 12px; top: 14px; color: var(--muted); }
.xp .search input { width: 100%; min-height: 48px; padding: 0 14px 0 40px; border: 1px solid var(--edge); border-radius: 10px; background: #fff; font: 400 15px Helvetica, Arial, sans-serif; color: var(--ink); }
.xp .search input:focus { outline: none; border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.xp .select { display: grid; gap: 4px; }
.xp .select select { min-height: 48px; padding: 0 12px; border: 1px solid var(--edge); border-radius: 10px; background: #fff; font: 700 14px Helvetica, Arial, sans-serif; color: var(--ink); }

/* Tags and notes */
.xp .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.xp .tag { display: inline-block; font-style: normal; font-size: 12px; font-weight: 700; line-height: 1.3; padding: 1px 6px; border-radius: 6px; }
.xp .tag.gold { background: var(--lime); color: var(--ink); }
.xp .tag.alt { background: var(--white); box-shadow: inset 0 0 0 1px #9bab92; color: var(--ink); }
.xp .tag.alt.on-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.xp .tag.sample { background: transparent; border: 1px dashed #6f8078; color: var(--ink); padding: 0 6px; }
.xp .banner { padding: 12px 14px; border-radius: 10px; background: var(--tint); color: var(--ink); font-size: 14px; }
.xp .note { padding: 12px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-size: 14px; }
.xp .insight { padding: 12px 14px; border-radius: 10px; background: var(--lime-tint); color: var(--ink); font-size: 14px; }
.xp .left { padding-left: 18px; list-style: disc; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.xp .loading { font-weight: 700; margin: 12px 0; }
.xp .skel { display: grid; gap: 10px; }
.xp .skel i { display: block; height: 72px; border-radius: 12px; background: #e1e8d6; }
@media (prefers-reduced-motion: no-preference) { .xp .skel i { animation: xcpulse 1s ease-in-out infinite alternate; } @keyframes xcpulse { to { background: #d1dac4; } } }

/* Panels, rows, lists */
.xp .panel { display: grid; gap: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; align-content: start; }
.xp .panel h2 { font-size: 17px; }
.xp .form { gap: 16px; }
.xp .set h3 { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.xp .rows { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.xp .row, .xp .line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 14px; min-height: 48px; }
.xp .row + .row, .xp .line + .line { border-top: 1px solid var(--line); }
.xp .row span:first-child { color: var(--muted); }
.xp .row span:last-child { text-align: right; }
.xp .row.strong { font-size: 15px; }
.xp .row.strong span { color: var(--ink); font-weight: 700; }
.xp .line { width: 100%; border: 0; background: none; text-align: left; }
.xp button.line:hover { background: var(--bg); }
.xp .line small { display: block; font-size: 13px; color: var(--muted); }
.xp .line.static { min-height: 44px; }
.xp .line.static small { flex: none; }
.xp .line svg { color: var(--muted); }
.xp .line-act { display: inline-flex; align-items: center; gap: 4px; }
.xp .big { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.xp .rail { display: grid; gap: 20px; align-content: start; }
.xp .rail.cols { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 8px; }
.xp .stack { display: grid; gap: 20px; }
.xp .toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.xp .meta { font-size: 14px; color: var(--muted); }
.xp .meta b { color: var(--ink); }
.xp .qbar { display: grid; gap: 16px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 20px; align-items: end; }
.xp .trio { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 20px; }
.xp .checks { display: grid; gap: 12px; }
.xp .checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; }
.xp .checks svg { color: var(--green); width: 22px; height: 22px; }

/* Tables */
.xp .tbl { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; }
.xp .tbl th, .xp .tbl td { padding: 12px 12px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.xp .tbl thead th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 700; background: #fafcf4; }
.xp .tbl .num { text-align: right; }
.xp .tbl tbody th { font-weight: 400; }
.xp .tbl tbody th b { display: block; font-size: 15px; }
.xp .tbl tbody th small { display: block; font-size: 13px; color: var(--muted); }
.xp .tbl tr.best { background: var(--tint); }
.xp .tbl .gets b { font-size: 17px; }
.xp .tbl .act { text-align: right; white-space: nowrap; }
.xp .tbl .empty { text-align: center; color: var(--muted); padding: 28px 12px; }

/* Provider details header and scale */
.xp .phead { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 24px; margin: 8px 0 20px; background: var(--deep); color: #fff; border-radius: 16px; }
.xp .phead .h1 { color: #fff; font-size: 22px; }
.xp .phead .tag.sample { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.xp .phead .lab { color: rgba(255, 255, 255, 0.78); margin-top: 14px; }
.xp .hero-num { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.xp .phead .sub { color: rgba(255, 255, 255, 0.82); font-size: 14px; margin-top: 2px; }
.xp .scale { display: grid; gap: 10px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; }
.xp .scale-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; }
.xp .scale-h span { color: var(--muted); }
.xp .scale-h b { font-size: 17px; }
.xp .track { position: relative; height: 8px; margin: 6px 4px 30px; border-radius: 4px; background: #e1e8d6; }
.xp .fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--green); }
.xp .tick { position: absolute; top: -6px; width: 2px; height: 20px; background: var(--ink); }
.xp .tick em { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; white-space: nowrap; color: var(--muted); }

/* Chart */
.xp [data-chart] { width: 100%; min-height: 220px; }
.xp .chart { display: block; width: 100%; height: auto; }
.xp .chart text { font: 12px Helvetica, Arial, sans-serif; fill: var(--muted); }
.xp .chart .tt { fill: var(--charcoal); font-weight: 700; }
.xp .chart .grid { stroke: var(--line); stroke-width: 1; }
.xp .chart .series { fill: none; stroke: var(--deep); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.xp .chart .target { stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 5 4; }
.xp .chart .now { fill: var(--green); stroke: #fff; stroke-width: 2; }
.xp .chart-h { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; align-items: baseline; }

/* Sheet (hand-off) and toast */
.xp dialog.sheet, dialog.sheet { border: 0; padding: 20px; border-radius: 20px; width: min(440px, calc(100% - 32px)); color: #172b27; font: 400 15px/1.45 Helvetica, Arial, sans-serif; }
dialog.sheet::backdrop { background: rgba(8, 13, 28, 0.6); }
dialog.sheet h2 { font-size: 17px; margin: 0 0 12px; }
dialog.sheet .rows { background: #fff; border: 1px solid #dce4d0; border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
dialog.sheet .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 14px; min-height: 48px; align-items: center; }
dialog.sheet .row + .row { border-top: 1px solid #dce4d0; }
dialog.sheet .row span:first-child { color: #566a63; }
dialog.sheet .row.strong span { font-weight: 700; }
dialog.sheet .checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
dialog.sheet .checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; }
dialog.sheet svg { width: 22px; height: 22px; color: #087a50; }
dialog.sheet svg.fa { fill: currentColor; stroke: none; }
dialog.sheet .actions { display: flex; flex-wrap: wrap; gap: 12px; }
dialog.sheet .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: #159b50; color: #fff; font: 700 15px Helvetica, Arial, sans-serif; cursor: pointer; }
dialog.sheet .btn.ghost { background: transparent; color: #172b27; box-shadow: inset 0 0 0 1.5px #172b27; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; max-width: min(520px, 92vw); margin: 0; padding: 12px 16px; border-radius: 12px; background: #172b27; color: #fff; font-size: 14px; }
.toast[hidden] { display: none; }

/* ---------- Landing page ---------- */
.xp[data-route="landing"] { background: #fff; }
.xp .land-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 20px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.xp .land-nav nav { display: flex; align-items: center; gap: 4px; }
.xp .land-nav .link { display: none; }
.xp .hero { display: grid; gap: 28px; padding: 28px 20px 44px; background: var(--deep); color: #fff; }
.xp .hero h1 { font-size: clamp(34px, 9.5cqw, 56px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; max-width: 17ch; }
.xp .hero .lede { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, 0.86); max-width: 46ch; }
.xp .hero-line { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.xp .hero-calc { display: grid; gap: 14px; align-content: start; padding: 20px; border-radius: 16px; background: var(--white); color: var(--ink); }
.xp .hero-calc h2 { font-size: 22px; letter-spacing: -0.01em; }
.xp .est { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--muted); }
.xp .est b { font-size: 22px; color: var(--ink); }
.xp .best { padding: 10px 12px; border-radius: 10px; background: var(--mint-tint); font-size: 14px; color: var(--ink); }
.xp .band { padding: 40px 20px; }
.xp .band h2, .xp .promise h2 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 20px; }
.xp .band.tint { background: var(--bg); }
.xp .why { display: grid; border-top: 1px solid var(--line); }
.xp .why > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.xp .why dt { font-size: 17px; font-weight: 700; }
.xp .why dd { color: var(--muted); }
.xp .note-line { margin: -8px 0 16px; color: var(--muted); font-size: 14px; max-width: 60ch; }
.xp .plist { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.xp .plist li { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 14px; }
.xp .plist li + li { border-top: 1px solid var(--line); }
.xp .plist .pname { display: grid; }
.xp .plist .pname b { font-size: 17px; }
.xp .plist small { font-size: 13px; color: var(--muted); }
.xp .plist .tag { justify-self: start; grid-column: 1; }
.xp .plist .btn { grid-column: 2; grid-row: 1 / span 2; }
.xp .promise { padding: 40px 20px; background: var(--charcoal); color: #fff; }
.xp .promise ul { display: grid; }
.xp .promise li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.xp .promise b { font-size: 17px; }
.xp .promise span { color: rgba(255, 255, 255, 0.78); }
.xp .land-foot { display: grid; gap: 6px; padding: 24px 20px 28px; background: #10201c; color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.xp .land-foot b { color: #fff; font-size: 15px; margin-right: 8px; }
.xp[data-route="landing"] :focus-visible { outline-color: var(--deep); }
.xp .hero :focus-visible, .xp .promise :focus-visible { outline-color: #fff; }
.xp .hero-calc :focus-visible { outline-color: var(--deep); }

/* ---------- App shell ---------- */
.xp .shell { display: flex; flex-direction: column; min-height: 100%; }
.xp .side { display: none; }
.xp .col { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.xp .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 16px; background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.xp .top-note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.xp .top-note .rate { display: none; }
.xp .avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--deep); color: #fff; font-size: 14px; font-weight: 700; flex: none; }
.xp .avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.xp .page { padding: 20px 16px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; flex: 1; }
.xp .h1 { font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.xp .lede.dark { color: var(--muted); font-size: 15px; max-width: 64ch; }
.xp .who { display: flex; align-items: center; gap: 14px; }
.xp .who .avatar { width: 56px; height: 56px; font-size: 17px; }
.xp .two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.xp .stack > *, .xp .two > * { min-width: 0; }
.xp .disclaimer { padding: 8px 16px 16px; font-size: 12px; color: var(--muted); }
.xp .tabs { position: sticky; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--white); border-top: 1px solid var(--line); padding-bottom: 6px; }
.xp .tabs button { display: grid; justify-items: center; gap: 2px; padding: 8px 0 4px; min-height: 56px; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; }
.xp .tabs svg { width: 24px; height: 24px; }
.xp .tabs button[aria-current="page"] { color: var(--deep); }

/* Narrow tables become labelled rows */
@container xp (max-width: 719px) {
  .xp .tbl { display: block; border: 0; background: none; }
  .xp .tbl thead { display: none; }
  .xp .tbl tbody { display: grid; gap: 10px; }
  .xp .tbl tr { display: block; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
  .xp .tbl tr.best { background: var(--tint); }
  .xp .tbl th[scope="row"] { display: block; padding: 0 0 8px; border: 0; }
  .xp .tbl td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; border: 0; text-align: right; }
  .xp .tbl td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 13px; text-align: left; }
  .xp .tbl td.gets b { font-size: 22px; }
  .xp .tbl td.act { display: block; padding-top: 8px; text-align: left; }
  .xp .tbl td.act .btn { width: 100%; }
  .xp .tbl .empty { display: block; }
  .xp .admin td.act { display: flex; flex-wrap: wrap; justify-content: flex-start; }
}

/* ---------- Tablet and up ---------- */
@container xp (min-width: 720px) {
  .xp .land-nav { padding: 10px 40px; }
  .xp .land-nav .link { display: inline-flex; }
  .xp .hero { grid-template-columns: 1.15fr 0.85fr; gap: 48px; padding: 56px 40px 64px; align-items: center; }
  .xp .band, .xp .promise { padding: 56px 40px; }
  .xp .why { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .xp .promise ul { grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
  .xp .promise li { border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .xp .plist li { grid-template-columns: 1fr auto auto; }
  .xp .plist .tag { grid-column: 2; justify-self: end; }
  .xp .plist .btn { grid-column: 3; grid-row: 1; }
  .xp .land-foot { padding-inline: 40px; grid-auto-flow: column; justify-content: space-between; }
  .xp .page { padding: 28px 28px 32px; }
  .xp .qbar { grid-template-columns: 180px 1fr 1fr auto; }
  .xp .qbar .seg-wide { grid-column: auto; }
  .xp .phead { padding: 28px; }
  .xp .hero-num { font-size: 32px; }
  .xp .top-note .rate { display: inline; }
}

/* ---------- Desktop with sidebar ---------- */
@container xp (min-width: 1024px) {
  .xp .shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); }
  .xp .side { display: flex; flex-direction: column; gap: 20px; padding: 20px 14px; background: var(--deep); color: #fff; position: sticky; top: var(--pt-h); align-self: start; height: calc(100vh - var(--pt-h)); overflow-y: auto; }
  .xp .side .brand { padding: 0 8px; }
  .xp .side nav ul { display: grid; gap: 2px; }
  .xp .side nav button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, 0.82); font-size: 15px; font-weight: 700; text-align: left; }
  .xp .side nav button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
  .xp .side nav button[aria-current="page"] { background: rgba(255, 255, 255, 0.14); color: #fff; }
  .xp .side :focus-visible { outline-color: #fff; }
  .xp .side-foot { margin-top: auto; display: grid; gap: 4px; padding: 0 8px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
  .xp .top .brand { display: none; }
  .xp .top { justify-content: flex-end; padding: 4px 32px; position: static; }
  .xp .top-note { margin-right: auto; }
  .xp .tabs { display: none; }
  .xp .page { padding: 32px 40px 40px; max-width: 1180px; width: 100%; }
  .xp .h1 { font-size: 32px; }
  .xp .qbar { grid-template-columns: 170px 1.3fr 1fr 1fr auto; }
}
@container xp (min-width: 1100px) {
  .xp .two { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .xp .rail.sticky { position: sticky; top: calc(var(--pt-h) + 16px); }
}
@container xp (max-width: 1023px) {
  .xp .shell { padding-bottom: 0; }
}

/* ---------- Prototype notes ---------- */
.notes { background: #fff; padding: 48px 20px 64px; color: #172b27; }
.notes-in { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.notes h2 { font-size: 22px; margin: 0; letter-spacing: -0.01em; }
.notes h3 { font-size: 17px; margin: 12px 0 0; }
.notes p { margin: 0; max-width: 66ch; }
.notes-lede { color: #566a63; }
.notes-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.notes-tbl th, .notes-tbl td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-top: 1px solid #dce4d0; }
.notes-tbl thead th { border-top: 0; color: #566a63; font-size: 13px; }
.notes-tbl tbody th { font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .xp .switch::before, .xp .switch i, .xp .btn { transition: none; } }

.xp .tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.xp .results th[scope="row"] { min-width: 190px; }
.xp .results td[data-label="Arrives"] { min-width: 110px; }
.xp .results td small { display: block; font-size: 13px; color: var(--muted); }
.xp .results .fee { display: none; }
.xp .qsum { display: none; }
.xp .admin td.act .link + .link { margin-left: 8px; }
.xp .admin td.act { white-space: nowrap; }
@container xp (max-width: 719px) { .xp .tbl-wrap { overflow: visible; border: 0; background: none; } .xp .results .fee { display: flex; } .xp .wide-only { display: none; } .xp .qsum { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 8px 14px; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; } .xp .qsum small { display: block; font-size: 13px; color: var(--muted); } .xp .qbar { display: none; } .xp .qbar.open { display: grid; } .xp .results th[scope="row"], .xp .results td[data-label="Arrives"] { min-width: 0; } .xp .admin td.act { white-space: normal; } }

/* Brand accents */
.xp .brand.logo { padding: 0; }
.xp .logo-h { display: block; height: 48px; width: auto; }
.xp .logo-h.sm { height: 30px; }
.xp .logo-i { display: block; height: 52px; width: auto; }
.xp .tag.promo, .xp .tag.warn { background: var(--orange); color: var(--charcoal); }
.xp .land-foot { border-top: 1px solid rgba(255, 255, 255, 0.12); }

/* Landing refresh: ivory hero with the brand illustration, ruled lists, one dark closing band */
.xp .hero { background: var(--bg); color: var(--ink); }
.xp .hero h1 { max-width: 15ch; }
.xp .hero .lede { color: var(--muted); }
.xp .hero-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--deep); }
.xp .hero-line svg { width: 14px; height: 14px; color: var(--deep); }
.xp .hero-art { display: block; width: 100%; max-width: 460px; height: auto; margin-top: 24px; }
.xp .hero-calc { border: 1px solid var(--line); border-radius: 8px; }
.xp .hero :focus-visible { outline-color: var(--deep); }
.xp .how { display: grid; gap: 28px; background: #fff; }
.xp .how .note-line { margin: -8px 0 16px; }
.xp .steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; border-top: 1px solid var(--line); }
.xp .steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.xp .steps li::before { content: counter(s); grid-row: span 2; font-weight: 700; font-size: 17px; color: var(--deep); }
.xp .steps b { font-size: 17px; }
.xp .steps span { color: var(--muted); }
.xp .how-art { width: 100%; height: auto; display: block; border-radius: 8px; }
.xp .promise .cta { display: grid; gap: 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.xp .promise .cta h3 { font-size: 22px; letter-spacing: -0.01em; }
.xp .promise .cta p { color: rgba(255, 255, 255, 0.78); margin-top: 4px; }
.xp .promise .cta .btn { justify-self: start; background: #fff; color: var(--deep); }
.xp .promise .cta .btn:hover { background: var(--tint); }
.xp .land-foot { display: grid; gap: 16px; }
.xp .foot-top { display: grid; gap: 2px; }
.xp .foot-name { color: #fff; font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 0.02em; }
.xp .foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.xp .foot-note { max-width: 70ch; }
@container xp (min-width: 720px) {
  .xp .hero { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .xp .how { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .xp .promise .cta { grid-template-columns: 1fr auto; align-items: center; }
  .xp .foot-links { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; }
}

/* Send flow */
.xp .step { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.xp .phead + .two, .xp .step + .phead { margin-top: 0; }
.xp .input.est-fixed { justify-content: space-between; }
.xp .input.est-fixed b { font-size: 22px; }
.xp .form-grid { display: grid; gap: 14px; }
.xp .line[aria-pressed="true"] { background: var(--tint); }
.xp .line[aria-pressed] svg { color: var(--deep); }
.xp .trail { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.xp .trail li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.xp .trail svg { width: 18px; height: 18px; margin-top: 2px; color: var(--deep); }
.xp .trail i { width: 12px; height: 12px; margin: 5px; border: 1.5px solid var(--edge); border-radius: 50%; }
.xp .trail b { display: block; font-size: 15px; }
.xp .trail small { font-size: 13px; color: var(--muted); }
.xp .trail li:not([aria-current]) b { color: var(--muted); }

/* Send and receive: one panel, two legs, a currency tag on each */
.xp .calcbox { padding: 4px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.xp .leg { padding: 12px 0; }
.xp .leg + .leg { border-top: 1px solid var(--line); }
.xp .calcbox .lab { margin: 0; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.xp .leg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.xp .calcbox .amt { flex: 1; display: flex; align-items: baseline; gap: 6px; }
.xp .calcbox .amt b { font-size: 17px; font-weight: 400; color: var(--muted); }
.xp .calcbox .amt input { flex: 1; min-width: 0; width: 100%; padding: 0; border: 0; outline: none; background: transparent; color: var(--ink); font: 700 22px/1.2 Helvetica, Arial, sans-serif; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.xp .calcbox .amt input::-webkit-outer-spin-button, .xp .calcbox .amt input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.xp .calcbox .amt:focus-within { box-shadow: 0 2px 0 var(--deep); }
.xp .calcbox .fig { font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.xp .calcbox .ccy { padding: 2px 8px; border-radius: 6px; background: var(--tint); color: var(--deep); font-size: 12px; font-weight: 700; }

/* Help */
.xp .faq { border-top: 1px solid var(--line); }
.xp .faq details { border-bottom: 1px solid var(--line); }
.xp .faq summary { cursor: pointer; padding: 14px 0; min-height: 52px; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.xp .faq summary::-webkit-details-marker { display: none; }
.xp .faq p { margin: 0 0 14px; color: var(--muted); max-width: 60ch; }

/* Where are you sending money: progress, pill amount, radios, payment select */
.xp .prog { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 520px; }
.xp .prog li { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.xp .prog i { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.xp .prog li.on i { background: var(--green); }
.xp .prog li[aria-current] { color: var(--ink); font-weight: 700; }
.xp .input.pill { border-radius: 24px; min-height: 52px; padding: 0 8px 0 18px; }
.xp .input.pill input { font-size: 17px; font-weight: 400; }
.xp .tagc { font-style: normal; flex: none; padding: 2px 10px; border-radius: 6px; background: var(--tint); color: var(--deep); font-size: 12px; font-weight: 700; }
.xp .country { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.xp .country .lab { margin: 0; text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; }
.xp .country-name { margin: 2px 0 0; font-weight: 700; font-size: 17px; }
.xp .radios { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.xp .radios legend { padding: 0; margin-bottom: 6px; text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; }
.xp .radio { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; cursor: pointer; }
.xp .radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.xp .pay-select { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--edge); border-radius: 24px; background: #fff; color: var(--ink); font: inherit; }
.xp .pay-select:focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; }
.xp form[data-form="send"] .btn { width: 100%; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 24px; }
.xp form[data-form="send"] .btn svg { width: 14px; height: 14px; }

/* Bottom navigation: icon over label, a short green bar marks the current tab */
.xp .tabs { padding: 0 4px 8px; background: var(--bg); border-top: 1px solid var(--line); }
.xp .tabs button { position: relative; gap: 4px; min-height: 56px; padding: 10px 0 6px; font-size: 12px; font-weight: 400; color: var(--muted); }
.xp .tabs svg { width: 22px; height: 22px; }
.xp .tabs button span { line-height: 1.1; }
.xp .tabs button[aria-current="page"] { color: var(--deep); font-weight: 700; }
.xp .tabs button[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 0 0 3px 3px; background: var(--green); }
.xp .tabs button:hover { color: var(--ink); }
.xp .tabs button:focus-visible { outline-offset: -4px; border-radius: 6px; }

.xp .h1.ask { font-size: 36px; line-height: 1.15; }
@container xp (min-width: 720px) { .xp .h1.ask { font-size: 36px; } }

/* Panel icons: flags on the currency tags, an icon on each delivery option, a chevron on the select */
.xp .tagc { display: inline-flex; align-items: center; gap: 6px; }
.xp .flag { width: 16px; height: 12px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(23, 43, 39, 0.18); }
.xp .radio .ico { display: inline-flex; width: 18px; height: 18px; flex: none; color: var(--deep); }
.xp .radio .ico svg { width: 18px; height: 18px; }
.xp .selwrap { position: relative; display: block; }
.xp .selwrap .pay-select { appearance: none; -webkit-appearance: none; padding-right: 48px; }
.xp .selwrap > svg { position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; margin-top: -7px; color: var(--muted); pointer-events: none; }

/* Receiving country selector */
.xp .country-sel { display: block; margin-top: 2px; }
.xp .country-select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0 22px 0 0; font: 700 17px/1.3 Helvetica, Arial, sans-serif; color: var(--ink); cursor: pointer; }
.xp .country-sel > svg { position: absolute; right: auto; left: auto; margin-left: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; color: var(--muted); pointer-events: none; }
.xp .country-select:focus-visible { outline: 2px solid var(--deep); outline-offset: 4px; border-radius: 4px; }

/* Chevrons (back, continue, select arrow) at 16px */
.xp .link.back svg { width: 16px; height: 16px; }
.xp form[data-form="send"] .btn svg { width: 16px; height: 16px; }
.xp .selwrap > svg { width: 16px; height: 16px; margin-top: -8px; }
.xp .country-sel > svg { width: 16px; height: 16px; margin-top: -8px; }

/* Receiving country: the label sits above the value, not jammed against it */
.xp .country > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.xp .country .lab { display: block; }
.xp .country-sel { margin-top: 0; }

/* Currency tags: flag and code sit on the panel with no tinted background */
.xp .tagc, .xp .calcbox .ccy { background: none; padding-left: 0; padding-right: 0; }

/* Landing, closer to the supplied mock: Deep Emerald hero with a white send panel, then ivory sections with icon tiles */
.xp .hero { background: var(--deep); color: #fff; }
.xp .hero .lede { color: rgba(255, 255, 255, 0.88); }
.xp .hero h1 { max-width: 18ch; text-wrap: balance; }
.xp .hero :focus-visible { outline-color: #fff; }
.xp .hero-calc :focus-visible { outline-color: var(--deep); }
.xp .hero-calc { border: 0; border-radius: 16px; }
.xp .hero-calc .btn svg { width: 16px; height: 16px; }
.xp .band.choice, .xp .band.experience { background: var(--bg); }
.xp .band.experience { padding-top: 8px; }
.xp .tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.xp .tiles li { display: grid; align-content: start; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.xp .tiles svg { display: none; }
.xp .tiles b { font-size: 16px; }
.xp .tiles span { font-size: 14px; color: var(--muted); }
.xp .save { margin: 28px 0 0; padding: 14px 0 0; border-top: 2px solid var(--deep); color: var(--deep); font-weight: 700; }
@container xp (min-width: 720px) { .xp .tiles { grid-template-columns: repeat(4, 1fr); gap: 0; } .xp .tiles li { padding-right: 24px; } .xp .hero { align-items: center; } }

/* Send screen: the line under the heading is 16px */
.xp .h1.ask + .lede.dark { font-size: 16px; }

/* Symbol: transparent, so it sits straight on the Deep Emerald hero and sidebar */
.xp .logo-i { height: 56px; }

/* Phone view: scale the device to the window height so it fits without scrolling */
.stage[data-view="phone"] { --z: 1; }
@media (max-height: 1000px) { .stage[data-view="phone"] { --z: .88; } }
@media (max-height: 900px) { .stage[data-view="phone"] { --z: .78; } }
@media (max-height: 800px) { .stage[data-view="phone"] { --z: .68; } }
@media (max-height: 700px) { .stage[data-view="phone"] { --z: .58; } }
.stage[data-view="phone"] .xp { zoom: var(--z); }

.xp .band.experience .tiles + .fine { margin-top: 20px; }

/* Manage transfers: warnings, date fields, schedule list */
.xp .note { margin-bottom: 14px; }
.xp .note.warn { border-color: var(--danger); }
.xp .note.warn b { color: var(--danger); }
.xp .input input[type="date"] { -webkit-appearance: none; appearance: none; font-size: 17px; font-weight: 400; min-height: 44px; }
.xp .set.sched { margin-top: 28px; max-width: 760px; }
.xp .rail .panel .btn.ghost { width: 100%; }

/* My Account: air between the stacked sections */
.xp[data-route="account"] .set + .set, .xp[data-route="account"] .set + .small { margin-top: 28px; }
.xp[data-route="account"] .set .rows + .small, .xp[data-route="account"] .set .seg, .xp[data-route="account"] .set .ctl { margin-top: 12px; }

/* Folded rows (phone view): one summary line per heavy section */
.xp details.fold { border-top: 1px solid var(--line); }
.xp details.fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 10px 0; cursor: pointer; }
.xp details.fold > summary::-webkit-details-marker { display: none; }
.xp details.fold > summary b { display: block; font-size: 15px; }
.xp details.fold > summary small { display: block; font-size: 13px; color: var(--muted); }
.xp details.fold > summary svg { flex: none; width: 16px; height: 16px; color: var(--muted); transition: transform 0.15s; }
.xp details.fold[open] > summary svg { transform: rotate(90deg); }
.xp details.fold > :not(summary) { margin-bottom: 14px; }
.xp details.fold > summary:focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .xp details.fold > summary svg { transition: none; } }

.xp .faq summary svg { flex: none; width: 16px; height: 16px; color: var(--muted); transition: transform 0.15s; }
.xp .faq details[open] summary svg { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .xp .faq summary svg { transition: none; } }

/* Review: who it is for, then one receipt list */
.xp .to { display: grid; gap: 2px; padding: 4px 0 14px; }
.xp .to b { font-size: 22px; line-height: 1.2; }
.xp .to span:last-child { font-size: 15px; color: var(--muted); }
.xp .receipt .row.strong { border-top: 2px solid var(--ink); font-size: 18px; }
.xp .receipt + .small { margin-top: 12px; }

@container xp (min-width: 720px) { .xp .tiles.three { grid-template-columns: repeat(3, 1fr); } }

/* Smooth transitions between screens. Off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes xp-fwd { from { transform: translateX(28px); opacity: 0.4; } to { transform: none; opacity: 1; } }
  @keyframes xp-back { from { transform: translateX(-28px); opacity: 0.4; } to { transform: none; opacity: 1; } }
  .xp[data-enter="fwd"] { animation: xp-fwd 0.28s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .xp[data-enter="back"] { animation: xp-back 0.28s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .xp .btn, .xp .seg button, .xp .tiles li { transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.1s; }
  .xp .btn:active { transform: scale(0.985); }
}
