/* Affiliate: partner portal, auth pages, admin screen and the public landing page.
   One token set; --brand comes from the program (admin-configurable). */

.aff {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --surface-2: #fafbfd;
  --surface-3: #f1f3f8;
  --line: #e5e8ef;
  --line-strong: #d3d8e2;
  --text: #0f1729;
  --text-2: #4b5567;
  --text-3: #8790a3;
  --brand: #16b990;
  --on-brand: #ffffff;
  --brand-weak: color-mix(in srgb, var(--brand) 13%, transparent);
  --brand-soft: color-mix(in srgb, var(--brand) 6%, var(--surface));
  --brand-ink: color-mix(in srgb, var(--brand) 78%, var(--text));
  --good: #0c7d45; --good-bg: #e6f6ed;
  --bad: #c03434; --bad-bg: #fdeeee;
  --warn: #9a5b00; --warn-bg: #fff3da;
  --grid: #eceef4; --axis: #cfd4de; --compare: #a2aabb;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgb(15 23 41 / .05);
  --shadow: 0 1px 2px rgb(15 23 41 / .04), 0 10px 30px -16px rgb(15 23 41 / .14);
  --shadow-lg: 0 30px 70px -24px rgb(15 23 41 / .35);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
  font-family: var(--font);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.aff.portal, .aff.auth-page { background: var(--bg); margin: 0; min-height: 100vh; }

/* Dark theme for the partner portal and auth pages (the admin screen lives in a light shell). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .aff.portal, :root:not([data-theme="light"]) .aff.auth-page {
    --bg: #0a0d13; --surface: #11151d; --surface-2: #151a24; --surface-3: #1b2130; --line: #222937; --line-strong: #2d3546;
    --text: #f2f4f8; --text-2: #b3bbca; --text-3: #7c8699; --brand-ink: color-mix(in srgb, var(--brand) 70%, #fff);
    --good: #43cf86; --good-bg: rgb(67 207 134 / .12); --bad: #f07070; --bad-bg: rgb(240 112 112 / .12); --warn: #f0b04d; --warn-bg: rgb(240 176 77 / .12);
    --grid: #1d2431; --axis: #2d3546; --compare: #5f6a7d;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -18px rgb(0 0 0 / .6); --shadow-lg: 0 30px 80px -20px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] .aff.portal, :root[data-theme="dark"] .aff.auth-page {
  --bg: #0a0d13; --surface: #11151d; --surface-2: #151a24; --surface-3: #1b2130; --line: #222937; --line-strong: #2d3546;
  --text: #f2f4f8; --text-2: #b3bbca; --text-3: #7c8699; --brand-ink: color-mix(in srgb, var(--brand) 70%, #fff);
  --good: #43cf86; --good-bg: rgb(67 207 134 / .12); --bad: #f07070; --bad-bg: rgb(240 112 112 / .12); --warn: #f0b04d; --warn-bg: rgb(240 176 77 / .12);
  --grid: #1d2431; --axis: #2d3546; --compare: #5f6a7d;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -18px rgb(0 0 0 / .6); --shadow-lg: 0 30px 80px -20px rgb(0 0 0 / .7);
  color-scheme: dark;
}

.aff *, .aff *::before, .aff *::after { box-sizing: border-box; }
.aff [hidden] { display: none !important; }
.aff a { color: inherit; text-decoration: none; }
.aff button, .aff input, .aff textarea, .aff select { font: inherit; color: inherit; }
.aff button, .aff summary { cursor: pointer; }
.aff button:disabled { opacity: .5; cursor: not-allowed; }
.aff :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.aff h1, .aff h2, .aff h3, .aff p, .aff ul, .aff ol, .aff dl, .aff dd { margin: 0; }
.aff ul, .aff ol { padding: 0; list-style: none; }
.aff h1, .aff h2, .aff h3 { letter-spacing: -.02em; line-height: 1.2; font-weight: 650; }
.aff p { color: var(--text-2); }
.aff .muted, .aff small.muted { color: var(--text-3); }
.aff .block { display: block; }
.aff .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.aff .i.big { width: 40px; height: 40px; stroke-width: 1.4; color: var(--brand); }
.aff .wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.aff .spacer { flex: 1; }

/* ---------------------------------------------------------------- controls */

.aff .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.aff .btn .i { width: 16px; height: 16px; }
.aff .btn.primary, .aff .primary.btn { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 16px -8px var(--brand); }
.aff .btn.primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.aff .btn.ghost, .aff .ghost.btn { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.aff .btn.ghost:hover { border-color: var(--text-3); background: var(--surface-2); }
.aff .btn.danger { background: var(--bad-bg); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 30%, transparent); }
.aff .btn.small { min-height: 32px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.aff .btn.block { width: 100%; min-height: 46px; }
.aff .icon-btn {
  display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; border-radius: 9px; background: var(--surface);
  border: 1px solid var(--line); color: var(--text-2);
}
.aff .icon-btn:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface-2); }
.aff .icon-btn .i { width: 17px; height: 17px; }
.aff .text-link { color: var(--brand-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.aff .text-link:hover { text-decoration: underline; }
.aff .text-link .i { width: 14px; height: 14px; }

.aff label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.aff input:not([type=checkbox]):not([type=radio]), .aff select, .aff textarea {
  width: 100%; min-width: 0; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); color: var(--text); font-weight: 400; font-size: 14px; transition: border-color .15s, box-shadow .15s;
}
.aff textarea { resize: vertical; }
.aff input:focus, .aff select:focus, .aff textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-weak); }
.aff input:disabled { background: var(--surface-3); color: var(--text-3); }
.aff select { appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238790a3' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.aff .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; color: var(--text-2); }
.aff input[type=checkbox] { accent-color: var(--brand); width: 17px; height: 17px; flex-shrink: 0; margin: 0; }
.aff .field-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.aff .fine-print { font-size: 12.5px; color: var(--text-3); font-weight: 400; line-height: 1.55; }
.aff .error-text { color: var(--bad); font-size: 13.5px; margin-top: 12px; min-height: 1px; }
.aff .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aff .form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aff .span-2 { grid-column: 1 / -1; }

.aff .segmented { display: inline-flex; background: var(--surface-3); border-radius: 9px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.aff .segmented button { border: 0; background: none; padding: 5px 10px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.aff .segmented button[aria-selected="true"], .aff .segmented button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.aff .badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: var(--surface-3); color: var(--text-2); }
.aff .badge.approved, .aff .badge.complete, .aff .badge.published, .aff .badge.paid, .aff .badge.finalized { background: var(--good-bg); color: var(--good); }
.aff .badge.failed, .aff .badge.rejected, .aff .badge.suspended { background: var(--bad-bg); color: var(--bad); }
.aff .badge.pending, .aff .badge.requested, .aff .badge.queued, .aff .badge.running { background: var(--warn-bg); color: var(--warn); }
.aff .badge.review, .aff .badge.estimated, .aff .badge.reserved { background: var(--brand-weak); color: var(--brand-ink); }

.aff .note { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2);
  padding: 12px 16px; border-radius: 12px; font-size: 13.5px; margin: 0; }
.aff .note.warning { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 25%, transparent); color: var(--warn); }
.aff .empty { text-align: center; padding: 48px 20px; color: var(--text-3); }
.aff .empty h3 { color: var(--text); margin-bottom: 8px; font-size: 18px; }
.aff .empty p { max-width: 460px; margin: 0 auto 18px; }
.aff .hero-empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 56px 24px; display: grid; justify-items: center; gap: 10px; }
.aff .loading { padding: 80px 20px; text-align: center; color: var(--text-3); }

.aff #toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #0f1729; color: #fff;
  border-radius: 12px; padding: 12px 20px; z-index: 10000; max-width: calc(100% - 32px); box-shadow: var(--shadow-lg); transition: opacity .2s, transform .2s; font-size: 14px; }
.aff #toast.show { opacity: 1; transform: translate(-50%, 0); }
.aff dialog { border: 1px solid var(--line); border-radius: 18px; padding: 28px; width: min(560px, calc(100% - 28px)); max-height: 90dvh; color: var(--text);
  background: var(--surface); box-shadow: var(--shadow-lg); }
.aff dialog::backdrop { background: rgb(8 12 20 / .55); backdrop-filter: blur(3px); }
.aff dialog h2 { font-size: 21px; margin-bottom: 18px; padding-right: 36px; }
.aff .dialog-close { position: absolute; right: 14px; top: 14px; font-size: 20px; }
.aff .modal-form { display: grid; gap: 16px; }

/* ---------------------------------------------------------------- cards & tables */

.aff .stack { display: grid; gap: 20px; min-width: 0; }
.aff .stack.narrow { max-width: 640px; }
.aff .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.aff .grid-main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.aff .panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); min-width: 0; }
.aff .card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.aff .card-header h2 { font-size: 15.5px; font-weight: 650; }
.aff .card-header p { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.aff .card-body { padding: 18px 20px; min-width: 0; }
.aff .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.aff .page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.aff .page-heading h1 { font-size: 26px; letter-spacing: -.03em; }
.aff .page-heading p { margin-top: 6px; font-size: 14px; }
.aff .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }

.aff .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.aff .stat-card { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.aff .stat-card .stat-label { font-size: 13px; color: var(--text-2); font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.aff .stat-card .stat-label span { display: none; }
.aff .stat-card strong { display: block; font-size: 26px; font-weight: 650; letter-spacing: -.03em; margin-top: 8px; overflow-wrap: anywhere; }
.aff .stat-card small { font-size: 12.5px; color: var(--text-3); display: block; margin-top: 4px; }
.aff .stat-card.featured { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 92%, #000), color-mix(in srgb, var(--brand) 70%, #000)); color: var(--on-brand); border-color: transparent; }
.aff .stat-card.featured .stat-label, .aff .stat-card.featured small { color: color-mix(in srgb, var(--on-brand) 78%, transparent); }

.aff .data-list { display: grid; }
.aff .data-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.aff .data-list > div:last-child { border: 0; }
.aff .data-list span { color: var(--text-2); }
.aff .table-wrap { overflow-x: auto; }
.aff table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.aff th { text-align: left; font-size: 12px; font-weight: 600; color: var(--text-3); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); }
.aff td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.aff td small, .aff td .block { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.aff tbody tr:hover td { background: var(--surface-2); }
.aff tbody tr.clickable { cursor: pointer; }
.aff tbody tr:last-child td { border-bottom: 0; }
.aff tfoot td { font-weight: 650; border-top: 1px solid var(--line-strong); border-bottom: 0; background: var(--surface-2); }
.aff .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aff th.num .sort { justify-content: flex-end; }
.aff .sort { all: unset; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; width: 100%; }
.aff .sort:hover { color: var(--text); }
.aff .sort-mark { color: var(--brand-ink); font-size: 11px; min-width: 8px; }
.aff .table-empty { text-align: center; color: var(--text-3); padding: 32px 12px; }
.aff .cell-title b { display: block; font-weight: 600; }
.aff .row-actions { width: 1%; }
.aff .icon-actions { display: flex; gap: 6px; justify-content: flex-end; }
.aff .icon-actions .icon-btn { min-width: 32px; min-height: 32px; }
.aff .money.positive { color: var(--good); }
.aff .money.negative { color: var(--bad); }
.aff .pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 0 0; color: var(--text-3); font-size: 13px; flex-wrap: wrap; }
.aff .pager span { margin-right: auto; }
.aff .data-table > .table-wrap { margin: 0 -20px; }
.aff .data-table > .table-wrap th:first-child, .aff .data-table > .table-wrap td:first-child { padding-left: 20px; }
.aff .data-table > .table-wrap th:last-child, .aff .data-table > .table-wrap td:last-child { padding-right: 20px; }
.aff .toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.aff .toolbar select { width: auto; min-width: 170px; }
.aff .search-field { position: relative; flex: 1 1 240px; max-width: 360px; }
.aff .search-field .i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); width: 16px; height: 16px; }
.aff .search-field input[type=search] { padding-left: 34px; }

/* ---------------------------------------------------------------- charts */

.aff .chart { position: relative; width: 100%; outline: none; }
.aff .chart svg { display: block; overflow: visible; }
.aff .chart .grid { stroke: var(--grid); stroke-width: 1; }
.aff .chart .axis { stroke: var(--axis); stroke-width: 1; }
.aff .chart .tick { fill: var(--text-3); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.aff .chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.aff .chart .line.primary { stroke: var(--brand); }
.aff .chart .line.compare { stroke: var(--compare); stroke-width: 1.6; }
.aff .chart .area { fill: var(--brand); opacity: .1; }
.aff .chart .cross { stroke: var(--line-strong); stroke-width: 1; }
.aff .chart .dot { stroke: var(--surface); stroke-width: 2; }
.aff .chart .dot.primary { fill: var(--brand); }
.aff .chart .dot.compare { fill: var(--compare); }
.aff .chart .hit { fill: transparent; cursor: crosshair; }
.aff .chart:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.aff .chart-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; box-shadow: var(--shadow-lg); font-size: 12.5px; min-width: 150px; white-space: nowrap; }
.aff .chart-tip .tip-title { font-weight: 650; margin-bottom: 5px; color: var(--text); }
.aff .chart-tip .tip-row { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.aff .chart-tip .tip-row b { margin-left: auto; padding-left: 14px; color: var(--text); font-variant-numeric: tabular-nums; }
.aff .key { display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: var(--brand); flex-shrink: 0; }
.aff .key.compare { background: var(--compare); }
.aff .chart-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); margin-bottom: 10px; }
.aff .chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.aff .chart-empty { color: var(--text-3); font-size: 13.5px; padding: 18px 0; text-align: center; }
.aff .axis-note { display: flex; justify-content: space-between; color: var(--text-3); font-size: 12px; margin-top: 6px; }

.aff .bar-list { display: grid; gap: 4px; }
.aff .bar-list li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(60px, 1fr) 128px; gap: 14px; align-items: center; padding: 7px 0; font-size: 13.5px; }
.aff .bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.aff .bar-track { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.aff .bar-track i { display: block; height: 100%; background: var(--brand); border-radius: 0 4px 4px 0; }
.aff .bar-list.wide li { grid-template-columns: minmax(0, 1.1fr) minmax(60px, 1fr) 196px; }
.aff .bar-value { display: flex; align-items: baseline; gap: 8px; justify-content: flex-end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aff .bar-value small { color: var(--text-3); font-size: 12px; min-width: 42px; text-align: right; }

.aff .heatmap { position: relative; display: grid; gap: 3px; overflow-x: auto; padding-bottom: 2px; }
.aff .heat-row { display: grid; grid-template-columns: 34px repeat(24, minmax(14px, 1fr)); gap: 3px; align-items: center; }
.aff .heat-day, .aff .heat-hour { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.aff .heat-cell { display: block; height: 22px; border-radius: 4px; background: color-mix(in srgb, var(--brand) calc(var(--level) * 100%), var(--surface-3)); }
.aff .heat-cell:hover { outline: 2px solid var(--text); outline-offset: -1px; }
.aff .heat-legend { display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-size: 12px; color: var(--text-3); margin-top: 8px; }
.aff .heat-legend i { width: 90px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--surface-3), var(--brand)); }

.aff .funnel-wrap { display: grid; gap: 18px; }
.aff .funnel { display: grid; gap: 12px; }
.aff .funnel-head { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; }
.aff .funnel-head b { font-variant-numeric: tabular-nums; }
.aff .funnel-track { height: 12px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.aff .funnel-track i { display: block; height: 100%; border-radius: 0 6px 6px 0; background: color-mix(in srgb, var(--brand) calc(100% - var(--step) * 18%), var(--surface-3)); }
.aff .funnel-step { font-size: 12px; color: var(--text-3); margin-top: 4px; min-height: 16px; }
.aff .rate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aff .rate-grid div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.aff .rate-grid dt { font-size: 12px; color: var(--text-3); }
.aff .rate-grid dd { font-size: 16px; font-weight: 650; margin-top: 2px; font-variant-numeric: tabular-nums; }

.aff .spark { display: block; margin-top: 8px; width: 100%; height: 30px; }
.aff .spark-line { fill: none; stroke: var(--compare); stroke-width: 1.6; stroke-linejoin: round; }
.aff .spark-dot { fill: var(--brand); }
.aff .columns { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 3px; }
.aff .column { flex: 1 1 0; max-width: 22px; background: var(--brand); border-radius: 3px 3px 0 0; min-height: 2px; transition: height .4s; }
.aff .column[data-empty] { background: var(--surface-3); }
.aff .column:hover { filter: brightness(1.15); }

.aff .delta { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 650; padding: 1px 6px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.aff .delta.up { color: var(--good); background: var(--good-bg); }
.aff .delta.down { color: var(--bad); background: var(--bad-bg); }
.aff .delta.flat, .aff .delta.new { color: var(--text-3); background: var(--surface-3); }

/* ---------------------------------------------------------------- KPI tiles */

.aff .kpi-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.aff .kpi-tile { position: relative; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 10px;
  display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.aff .kpi-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.aff .kpi-tile.active { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); background: var(--brand-soft); box-shadow: inset 0 3px 0 var(--brand); }
.aff .kpi-tile.active .spark-line { stroke: var(--brand); }
.aff .kpi-name { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aff .kpi-name .i { width: 15px; height: 15px; color: var(--text-3); }
.aff .kpi-tile.active .kpi-name .i { color: var(--brand-ink); }
.aff .kpi-value { font-size: 25px; font-weight: 680; letter-spacing: -.03em; line-height: 1.15; }
.aff .kpi-foot { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-height: 20px; }
.aff .kpi-foot small { color: var(--text-3); font-size: 11.5px; white-space: nowrap; }

/* ---------------------------------------------------------------- portal */

.aff.portal .portal-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.aff .aff-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px; background: var(--surface);
  border-right: 1px solid var(--line); overflow-y: auto; z-index: 40; }
.aff .brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; line-height: 1.2; min-width: 0; }
.aff .brand small { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.aff .brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; }
.aff .brand-symbol { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 17px;
  box-shadow: 0 8px 20px -10px var(--brand); flex-shrink: 0; }
.aff-sidebar .brand { padding: 4px 8px 14px; }
.aff .nav-caption { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 14px 10px 6px; }
.aff #partner-nav { display: grid; gap: 2px; }
.aff #partner-nav a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px; color: var(--text-2); font-weight: 550; font-size: 14px; }
.aff #partner-nav a:hover { background: var(--surface-3); color: var(--text); }
.aff #partner-nav a.active { background: var(--brand-weak); color: var(--brand-ink); }
.aff #partner-nav a .live-dot { margin-left: auto; }
.aff .sidebar-bottom { margin-top: auto; display: grid; gap: 10px; padding-top: 16px; }
.aff .side-balance { border-radius: 12px; padding: 14px; background: linear-gradient(140deg, var(--brand-soft), var(--surface-2)); border: 1px solid var(--line); display: grid; gap: 2px; }
.aff .side-balance span, .aff .side-balance small { font-size: 12px; color: var(--text-3); }
.aff .side-balance strong { font-size: 19px; letter-spacing: -.02em; }
.aff .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgb(34 197 94 / .6); animation: aff-pulse 2s infinite; display: inline-block; flex-shrink: 0; }
@keyframes aff-pulse { 70% { box-shadow: 0 0 0 7px rgb(34 197 94 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); } }
.aff .portal-main { min-width: 0; display: flex; flex-direction: column; }
.aff .portal-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 28px; min-height: 64px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.aff .crumb { font-size: 16px; font-weight: 650; margin-right: auto; white-space: nowrap; }
.aff .topbar-controls { display: flex; gap: 10px; align-items: center; }
.aff .campaign-filter { width: auto !important; min-width: 180px; min-height: 38px !important; }
.aff .account-chip { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 13.5px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.aff .avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-weak); color: var(--brand-ink); font-size: 12px; font-weight: 700; }
.aff .mobile-toggle { display: none; }
.aff .sidebar-backdrop { display: none; }
.aff .portal-content { padding: 26px 28px 56px; width: 100%; max-width: 1520px; margin: 0 auto; outline: none; }
.aff .sync-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.aff .announcement { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); border-radius: 12px; padding: 12px 16px; }
.aff .announcement .i { color: var(--brand-ink); margin-top: 2px; }
.aff .announcement p { color: var(--text); font-size: 13.5px; }
.aff .announcement p + p { margin-top: 4px; }

.aff .range { position: relative; }
.aff .range-button { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13.5px; }
.aff .range-button b { font-weight: 650; margin-right: 6px; }
.aff .range-button span span { color: var(--text-2); }
.aff .range-button .chev { width: 14px; height: 14px; color: var(--text-3); }
.aff .range-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 50; }
.aff .preset-list button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; width: 100%; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 13.5px; }
.aff .preset-list button:hover, .aff .preset-list button:focus-visible { background: var(--surface-3); }
.aff .preset-list button .tick { visibility: hidden; width: 16px; height: 16px; stroke-width: 2.6; color: var(--brand-ink); }
.aff .preset-list button.selected { font-weight: 650; }
.aff .preset-list button.selected .tick { visibility: visible; }
.aff .preset-list small { color: var(--text-3); font-size: 12px; }
.aff .custom-range { border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 10px 6px; display: grid; gap: 10px; }
.aff .date-pair { display: flex; align-items: center; gap: 8px; }
.aff .date-pair input { min-height: 38px; padding: 6px 8px; font-size: 13px; }
.aff .range-actions { display: flex; justify-content: flex-end; gap: 8px; }

.aff .trend-card .card-body { padding-top: 14px; }
.aff .earnings-card .card-body { display: grid; gap: 6px; }
.aff .eyebrow-text { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.aff .hero-number { font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.aff .mini-bars { display: grid; gap: 10px; margin: 12px 0 4px; }
.aff .mini-bars li { display: grid; grid-template-columns: minmax(0, 1fr) 70px auto; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-2); }
.aff .mini-bars b { color: var(--text); font-variant-numeric: tabular-nums; }
.aff .earnings-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.aff .earnings-foot span { display: block; font-size: 12px; color: var(--text-3); }
.aff .live-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.aff .live-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.aff .live-count { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-top: 4px; }
.aff .live-head small { color: var(--text-3); font-size: 12.5px; }
.aff .live-count small { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.aff .live-sub { display: block; white-space: nowrap; }
.aff .live-card.big .live-count { font-size: 46px; }

.aff .mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.aff .mini-stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.aff .mini-stats span { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.aff .mini-stats strong { display: block; font-size: 20px; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.aff .quality { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.aff .quality > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.aff .quality span { font-size: 12.5px; color: var(--text-3); display: block; }
.aff .quality strong { font-size: 22px; display: block; letter-spacing: -.02em; }
.aff .quality small { color: var(--text-3); font-size: 12px; }
.aff .cohort { font-size: 12.5px; }
.aff .cohort th { background: none; }
.aff .cohort-cell { text-align: center; background: color-mix(in srgb, var(--brand) calc(var(--level) * 100%), var(--surface)); color: var(--text); }
.aff .cohort-cell.blank { background: none; }
.aff .builder-form { display: grid; gap: 16px; }
.aff .link-output { display: block; padding: 14px; border-radius: 10px; background: var(--surface-2); border: 1px dashed var(--line-strong); font-size: 13px; word-break: break-all; margin-bottom: 14px; color: var(--text); }
.aff .link-field { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-top: 10px; min-width: 0; }
.aff .link-field code { flex: 1; font-size: 12.5px; word-break: break-all; }
.aff details.direct { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.aff details.direct summary { font-weight: 600; font-size: 13.5px; }
.aff details.direct p { font-size: 13px; margin-top: 8px; }
.aff .tips { display: grid; gap: 10px; }
.aff .tips li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 13.5px; }
.aff .tips li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.aff .material-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.aff .material-card { display: grid; gap: 10px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.aff .material-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.aff .material-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-weak); color: var(--brand-ink); }
.aff .material-card small { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-ink); font-weight: 600; }
.aff .material-card small .i { width: 14px; height: 14px; }
.aff .profile-form { display: grid; gap: 16px; }
.aff .contract-block { padding: 16px 0; border-bottom: 1px solid var(--line); }
.aff .contract-block:last-child { border: 0; }
.aff .contract-block h3 { font-size: 15px; margin-bottom: 8px; }
.aff .pending-hero { max-width: 640px; margin: 40px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.aff .pending-hero h1 { font-size: 30px; letter-spacing: -.03em; }
.aff .pending-hero .btn { justify-self: start; }
.aff .pending-steps { display: grid; gap: 0; margin: 8px 0; border-left: 2px solid var(--line); }
.aff .pending-steps li { position: relative; padding: 0 0 18px 22px; display: grid; }
.aff .pending-steps li::before { content: ''; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); }
.aff .pending-steps li.done::before { background: var(--brand); border-color: var(--brand); }
.aff .pending-steps li.now::before { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-weak); }
.aff .pending-steps span { color: var(--text-3); font-size: 13px; }

.aff .skeleton-page { display: grid; gap: 18px; }
.aff .sk { background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: aff-shimmer 1.4s infinite; border-radius: 12px; }
.aff .sk-title { height: 34px; width: 280px; }
.aff .sk-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.aff .sk-tile { height: 118px; }
.aff .sk-chart { height: 340px; }
.aff .sk-line { height: 110px; }
@keyframes aff-shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- auth pages */

.aff.auth-page .auth-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }
.aff .auth-story { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px 56px; color: #f2f4f8;
  background: radial-gradient(1000px 600px at 0% 100%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 60%), #0a0d13; }
.aff .auth-story .brand small { color: #9aa4b6; }
.aff .auth-copy { position: relative; z-index: 1; max-width: 520px; display: grid; gap: 18px; }
.aff .auth-copy .eyebrow { color: color-mix(in srgb, var(--brand) 70%, #fff); }
.aff .auth-copy h1 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.04em; line-height: 1.05; }
.aff .auth-copy p { color: #aeb7c7; font-size: 16px; }
.aff .auth-points { position: relative; z-index: 1; display: grid; gap: 14px; max-width: 520px; }
.aff .auth-points li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); }
.aff .auth-points b { font-size: 14.5px; }
.aff .auth-points span { color: #9aa4b6; font-size: 13.5px; }
.aff .auth-glow { position: absolute; width: 520px; height: 520px; right: -180px; top: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 45%, transparent), transparent 65%); filter: blur(10px); }
.aff .auth-main { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px; position: relative; }
.aff .auth-main .back { position: absolute; top: 28px; right: 28px; color: var(--text-2); }
.aff .auth-card { width: min(440px, 100%); display: grid; gap: 8px; }
.aff .auth-card h2 { font-size: 30px; letter-spacing: -.03em; }
.aff .auth-card form { display: grid; gap: 16px; margin-top: 18px; }
.aff .auth-switch { margin-top: 14px; font-size: 14px; }
.aff .auth-switch a { color: var(--brand-ink); font-weight: 600; }
.aff .password { position: relative; display: block; }
.aff .password input { padding-right: 72px; }
.aff .password button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--surface-3); border-radius: 7px; padding: 4px 9px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.aff .strength { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 4px; align-items: center; margin-top: 2px; }
.aff .strength i { height: 4px; border-radius: 2px; background: var(--surface-3); }
.aff .strength span { font-size: 12px; color: var(--text-3); min-width: 90px; text-align: right; font-weight: 500; }
.aff .strength[data-score="1"] i:nth-child(-n+1), .aff .strength[data-score="2"] i:nth-child(-n+2) { background: var(--bad); }
.aff .strength[data-score="3"] i:nth-child(-n+3) { background: var(--warn); }
.aff .strength[data-score="4"] i:nth-child(-n+4), .aff .strength[data-score="5"] i:nth-child(-n+5) { background: var(--good); }
.aff details.terms { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--surface); }
.aff details.terms summary { font-weight: 600; font-size: 13.5px; color: var(--text-2); }
.aff details.terms p { font-size: 13px; margin-top: 8px; white-space: pre-line; max-height: 220px; overflow: auto; }

/* ---------------------------------------------------------------- admin screen */

/* Inside the OtoBonus admin shell: its indigo accent and slate greys. */
.aff.aff-admin { --brand: #635bff; --on-brand: #ffffff; --bg: #f8fafc; --surface-2: #f8fafc; --surface-3: #f1f5f9; --line: #e2e8f0; --line-strong: #cbd5e1;
  --text: #0f172a; --text-2: #475569; --text-3: #94a3b8; }
.aff-admin { max-width: 1520px; display: grid; gap: 20px; }
.aff-admin .admin-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.aff-admin .admin-hero h1 { font-size: 28px; letter-spacing: -.03em; }
.aff-admin .admin-hero p { margin-top: 6px; }
.aff-admin .program-bar { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.aff-admin .program-bar label { min-width: 280px; max-width: 420px; flex: 1; }
.aff-admin .admin-tabs { display: flex; gap: 4px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; scrollbar-width: thin; }
.aff-admin .admin-tabs button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; color: var(--text-2); white-space: nowrap; font-size: 13.5px; font-weight: 600; }
.aff-admin .admin-tabs button:hover { background: var(--surface-3); color: var(--text); }
.aff-admin .admin-tabs button.active { background: var(--brand-weak); color: var(--brand-ink); }
.aff-admin #admin-content { display: grid; gap: 20px; min-width: 0; }
.aff-admin #admin-content > .page-heading + * { margin-top: 0; }
.aff-admin .section-title { font-size: 18px; margin-bottom: 14px; }
.aff-admin .setting-section { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 14px; }
.aff-admin .setting-section h3 { font-size: 16px; }
.aff-admin .rule-editor { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 14px 16px; }
.aff-admin .rule-editor[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.aff-admin .rule-editor > summary { display: flex; align-items: center; gap: 10px; list-style: none; font-weight: 600; }
.aff-admin .rule-editor .form-grid { margin-top: 16px; }
.aff-admin .tier-rows { display: grid; gap: 8px; }
.aff-admin .tier-row { display: grid; grid-template-columns: 1fr 1fr 40px; gap: 10px; }
.aff-admin .faq-row, .aff-admin .material-row { display: grid; grid-template-columns: 1fr 1.6fr 40px; gap: 10px; align-items: start; }
.aff-admin .domain-card { border: 1px solid var(--line); background: var(--surface); padding: 20px; border-radius: var(--radius); display: grid; gap: 12px; }
.aff-admin .domain-card h3 { font-size: 18px; overflow-wrap: anywhere; }
.aff-admin .domain-status { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.aff-admin .domain-status .yes { color: var(--good); font-weight: 600; }
.aff-admin .dns-record { background: var(--surface-2); border: 1px solid var(--line); padding: 14px; border-radius: 10px; display: grid; gap: 6px; font-size: 13px; }
.aff-admin .dns-record code { word-break: break-all; }
.aff-admin .status-checks { display: grid; }
.aff-admin .status-checks > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.aff-admin .status-checks > div:last-child { border: 0; }
.aff-admin .insights-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.aff-admin .insights-bar select { width: auto; min-width: 200px; }
.aff-admin .insights-tabs { margin-right: auto; }
.aff-admin .stat-card { box-shadow: none; }
.aff-admin .btn { box-shadow: none; }
body:has(.aff-admin) .page-header { display: none; }
body:has(.aff-admin) .main-content, body:has(.aff-admin) .page-content { min-width: 0; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1380px) {
  .aff .kpi-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aff .sk-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1180px) {
  .aff .grid-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .aff.portal .portal-shell { grid-template-columns: minmax(0, 1fr); }
  .aff .aff-sidebar { position: fixed; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); z-index: 60; }
  .aff .aff-sidebar.open { transform: none; }
  .aff .aff-sidebar.open ~ .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgb(8 12 20 / .45); z-index: 55; }
  .aff .mobile-toggle { display: inline-grid; }
  .aff .portal-header { flex-wrap: wrap; padding: 10px 16px; position: relative; }
  .aff .topbar-controls { order: 5; width: 100%; flex-wrap: wrap; }
  .aff .topbar-controls > * { flex: 1 1 auto; }
  .aff .range-button { width: 100%; }
  .aff .range-pop { left: 0; right: auto; width: min(340px, calc(100vw - 32px)); }
  .aff .account-chip span:not(.avatar) { display: none; }
  .aff .account-chip { padding: 3px; }
  .aff .portal-content { padding: 18px 16px 48px; }
  .aff .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .aff.auth-page .auth-shell { grid-template-columns: minmax(0, 1fr); }
  .aff .auth-story { padding: 28px 22px; gap: 24px; }
  .aff .auth-points { display: none; }
  .aff .auth-main { padding: 32px 18px 48px; justify-content: flex-start; }
  .aff .auth-main .back { position: static; align-self: flex-start; margin-bottom: 18px; }
  .aff .form-grid.three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .aff .kpi-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .aff .kpi-value { font-size: 21px; }
  .aff .kpi-tile { padding: 12px 12px 8px; }
  .aff .kpi-foot small { display: none; }
  .aff .sk-row { grid-template-columns: repeat(2, 1fr); }
  .aff .page-heading h1 { font-size: 22px; }
  .aff .card-header, .aff .card-body { padding-left: 16px; padding-right: 16px; }
  .aff .data-table > .table-wrap { margin: 0 -16px; }
  .aff .data-table > .table-wrap th:first-child, .aff .data-table > .table-wrap td:first-child { padding-left: 16px; }
  .aff .bar-list li, .aff .bar-list.wide li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .aff .bar-list .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .aff .bar-value small.muted { display: none; }
  .aff .form-grid { grid-template-columns: minmax(0, 1fr); }
  .aff .span-2 { grid-column: auto; }
  .aff .rate-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .aff .hero-number { font-size: 28px; }
  .aff .pending-hero { padding: 26px 20px; margin: 10px auto; }
  .aff dialog { padding: 22px 18px; }
  .aff-admin .program-bar label { min-width: 100%; }
  .aff-admin .tier-row, .aff-admin .faq-row, .aff-admin .material-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .aff *, .aff *::before, .aff *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .aff .bar-track i, .aff .column, .aff .funnel-track i, .aff .heat-cell { forced-color-adjust: none; }
}

/* ---------------------------------------------------------------- landing page */

.aff.landing { --ink: #eef1f7; --ink-2: #a5aec0; --ink-3: #6f798b; --card: rgb(255 255 255 / .035); --card-line: rgb(255 255 255 / .08);
  --surface: #11151d; --surface-2: #151a24; --surface-3: #1b2130; --line: rgb(255 255 255 / .1); --line-strong: rgb(255 255 255 / .16); --text: #eef1f7; --text-2: #a5aec0; --text-3: #6f798b;
  background: #07090e; color: var(--ink); margin: 0; font-size: 16px; overflow-x: hidden; color-scheme: dark; }
.aff.landing p { color: var(--ink-2); }
.aff.landing h2, .aff.landing h3 { color: #fff; }
.aff.landing .brand small { color: var(--ink-3); }
.aff.landing .eyebrow { color: color-mix(in srgb, var(--brand) 62%, #fff); }
.aff .preview-banner { position: sticky; top: 0; z-index: 100; background: #f0b04d; color: #1a1200; text-align: center; padding: 8px; font-weight: 650; font-size: 13px; }
.aff .btn.ghost-dark { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .14); color: var(--ink); }
.aff .btn.ghost-dark:hover { background: rgb(255 255 255 / .11); }
.aff .btn.large { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 13px; }
.aff.landing .btn.primary { box-shadow: 0 10px 34px -10px var(--brand); }

.land-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.land-nav.scrolled, .land-nav.open { background: rgb(7 9 14 / .8); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--card-line); }
.land-nav .nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.land-nav .nav-links { display: flex; gap: 28px; margin: 0 auto; }
.land-nav .nav-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.land-nav .nav-links a:hover { color: #fff; }
.land-nav .nav-cta { display: flex; gap: 10px; align-items: center; }
.land-nav .nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--card-line); background: rgb(255 255 255 / .05); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.land-nav .nav-toggle span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s; }
.land-nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.land-nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.landing .hero { position: relative; padding: 64px 0 120px; overflow: hidden; }
.landing .hero-bg { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.landing .glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.landing .g1 { width: 640px; height: 640px; background: var(--brand); left: -200px; top: -300px; opacity: .3; }
.landing .g2 { width: 560px; height: 560px; background: color-mix(in srgb, var(--brand) 55%, #3b82f6); right: -180px; top: 140px; opacity: .2; }
.landing .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 25%, transparent 75%); }
.landing .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.landing .pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / .05); border: 1px solid var(--card-line);
  font-size: 13px; font-weight: 650; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.landing .hero h1 { font-size: clamp(42px, 5.8vw, 78px); line-height: 1.02; letter-spacing: -.05em; font-weight: 760; margin: 24px 0 22px;
  background: linear-gradient(180deg, #fff 35%, color-mix(in srgb, var(--brand) 50%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.landing .lead { font-size: 19px; line-height: 1.6; max-width: 560px; }
.landing .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.landing .offer-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.landing .offer-chips li { display: grid; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); min-width: 140px; }
.landing .offer-chips b { font-size: 22px; letter-spacing: -.02em; color: #fff; }
.landing .offer-chips span { font-size: 12.5px; color: var(--ink-3); }

.landing .hero-visual { position: relative; }
.landing .mock { position: relative; border-radius: 22px; background: linear-gradient(180deg, rgb(255 255 255 / .075), rgb(255 255 255 / .025)); border: 1px solid rgb(255 255 255 / .11);
  box-shadow: 0 50px 130px -40px color-mix(in srgb, var(--brand) 55%, transparent), 0 30px 60px -30px #000; backdrop-filter: blur(20px); overflow: hidden;
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.landing .hero-visual:hover .mock { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.landing .mock-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--card-line); font-size: 12.5px; color: var(--ink-3); }
.landing .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .14); display: inline-block; margin-right: 6px; }
.landing .mock-live { margin-left: auto; display: inline-flex; gap: 7px; align-items: center; color: var(--ink-2); }
.landing .mock-body { padding: 22px; display: grid; gap: 18px; }
.landing .mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.landing .mock-head small { color: var(--ink-3); font-size: 13px; display: block; }
.landing .mock-head strong { font-size: 40px; letter-spacing: -.045em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.landing .mock-delta { color: #4ade80; background: rgb(74 222 128 / .12); padding: 4px 9px; border-radius: 8px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.landing .mock-chart { width: 100%; height: 120px; color: var(--brand); display: block; }
.landing .mock-area { fill: url(#mock-fill); }
.landing .mock-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: aff-draw 2.4s .5s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes aff-draw { to { stroke-dashoffset: 0; } }
.landing .mock-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.landing .mock-tiles div { padding: 12px 14px; border-radius: 12px; background: rgb(255 255 255 / .04); border: 1px solid var(--card-line); }
.landing .mock-tiles small { color: var(--ink-3); font-size: 12px; display: block; }
.landing .mock-tiles b { font-size: 21px; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.landing .mock-sources { display: grid; gap: 9px; }
.landing .mock-sources li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.landing .mock-sources i, .landing .vis-bars i { display: block; height: 7px; border-radius: 4px; width: var(--w); background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 45%, #fff));
  transform-origin: left; animation: aff-grow 1.4s .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes aff-grow { from { transform: scaleX(0); } }
.landing .float-card { position: absolute; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgb(17 21 29 / .92);
  border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 24px 50px -20px #000; backdrop-filter: blur(12px); font-size: 13px; }
.landing .toast-card { left: -44px; bottom: -4px; min-width: 210px; }
.landing .toast-card b { display: block; color: #fff; }
.landing .toast-card span { color: var(--ink-3); font-size: 12px; }
.landing .toast-card.pop { animation: aff-pop .55s cubic-bezier(.2,.9,.3,1.3); }
@keyframes aff-pop { from { transform: translateY(12px) scale(.94); opacity: 0; } }
.landing .rank-card { right: -30px; top: 27%; display: grid; gap: 0; }
.landing .rank-card small, .landing .rank-card span { color: var(--ink-3); font-size: 12px; }
.landing .rank-card b { font-size: 24px; color: #fff; letter-spacing: -.02em; }
.landing .mock-note { text-align: right; font-size: 12px; color: var(--ink-3); margin-top: 22px; }

.landing .section { padding: 112px 0; position: relative; }
.landing .section.alt { background: linear-gradient(180deg, transparent, rgb(255 255 255 / .022) 18%, rgb(255 255 255 / .022) 82%, transparent);
  border-top: 1px solid rgb(255 255 255 / .05); border-bottom: 1px solid rgb(255 255 255 / .05); }
.landing .section-head { max-width: 700px; margin-bottom: 52px; }
.landing h2 { font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.045em; line-height: 1.05; margin: 14px 0 16px; font-weight: 740; }
.landing .section-head p { font-size: 18px; }
.landing .fine { font-size: 13.5px; color: var(--ink-3); margin-top: 24px; }

.landing .offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.landing .offer-card { position: relative; padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); overflow: hidden; display: grid; gap: 10px; align-content: start;
  transition: transform .3s, border-color .3s; }
.landing .offer-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.landing .offer-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), transparent); }
.landing .offer-label { font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.landing .offer-card strong { font-size: 48px; letter-spacing: -.05em; color: #fff; line-height: 1.05; }
.landing .offer-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.landing .offer-card li { font-size: 12px; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / .06); }

.landing .feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.landing .feature { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); display: grid; gap: 10px; align-content: start; transition: transform .3s, border-color .3s; }
.landing .feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.landing .feature h3 { font-size: 18px; letter-spacing: -.02em; }
.landing .feature p { font-size: 14.5px; }
.landing .feature-visual { height: 156px; border-radius: 14px; background: rgb(0 0 0 / .28); border: 1px solid var(--card-line); padding: 16px; margin-bottom: 8px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.landing .live-visual { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 4px; }
.landing .live-visual i { flex: 1; max-width: 14px; height: var(--h); background: var(--brand); border-radius: 3px 3px 0 0; opacity: .9; transform-origin: bottom;
  animation: aff-bob 2.4s calc(var(--d) * .13s) ease-in-out infinite alternate; }
@keyframes aff-bob { to { transform: scaleY(.5); } }
.landing .vis-bars { display: grid; gap: 11px; }
.landing .vis-bars li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; font-size: 12px; color: var(--ink-2); }
.landing .vis-link { display: grid; gap: 10px; }
.landing .vis-link code { font-size: 12.5px; color: var(--ink-2); background: rgb(255 255 255 / .05); padding: 10px; border-radius: 10px; border: 1px dashed rgb(255 255 255 / .16); }
.landing .vis-link code b { color: color-mix(in srgb, var(--brand) 65%, #fff); font-weight: 650; }
.landing .vis-copy { justify-self: start; font-size: 12px; font-weight: 700; color: var(--on-brand); background: var(--brand); padding: 4px 10px; border-radius: 999px; }
.landing .vis-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.landing .vis-tags span { font-size: 11.5px; color: var(--ink-2); border: 1px solid var(--card-line); border-radius: 6px; padding: 2px 8px; }
.landing .vis-ledger { display: grid; gap: 8px; }
.landing .vis-ledger li { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px solid var(--card-line); }
.landing .vis-ledger li:last-child { border: 0; padding: 0; }
.landing .vis-ledger b { color: #fff; font-variant-numeric: tabular-nums; }
.landing .vis-ledger .pos { color: #4ade80; }
.landing .benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; margin-top: 52px; }
.landing .benefit-list li { display: flex; gap: 12px; align-items: center; font-size: 16.5px; color: var(--ink); }
.landing .tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 22%, transparent);
  color: color-mix(in srgb, var(--brand) 65%, #fff); font-size: 13px; font-weight: 800; flex-shrink: 0; }

.landing .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.landing .steps li { padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); display: grid; gap: 18px; align-content: start; }
.landing .step-n { font-size: 14px; font-weight: 800; color: var(--on-brand); background: var(--brand); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px var(--brand); }
.landing .steps h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.3; }

.landing .calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.landing .calc-grid > div > p { font-size: 18px; max-width: 460px; }
.landing .calculator { padding: 32px; border-radius: 24px; background: linear-gradient(180deg, rgb(255 255 255 / .065), rgb(255 255 255 / .02)); border: 1px solid rgb(255 255 255 / .11);
  display: grid; gap: 24px; box-shadow: 0 50px 110px -50px color-mix(in srgb, var(--brand) 50%, transparent); }
.landing .slider { color: var(--ink-2); gap: 12px; font-weight: 600; font-size: 14.5px; }
.landing .slider > span { display: flex; justify-content: space-between; gap: 12px; }
.landing .slider output { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.aff.landing .slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; min-height: 0; padding: 0; border: 0; border-radius: 3px; cursor: pointer;
  background: linear-gradient(90deg, var(--brand) var(--fill, 50%), rgb(255 255 255 / .1) var(--fill, 50%)); box-shadow: none; }
.aff.landing .slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 4px 14px rgb(0 0 0 / .4); }
.aff.landing .slider input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }
.landing .calc-result { border-top: 1px solid var(--card-line); padding-top: 22px; display: grid; gap: 4px; }
.landing .calc-result small { color: var(--ink-3); font-size: 13.5px; }
.landing #calc-total { font-size: 52px; letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; transition: opacity .2s; }
.landing .calculator.busy #calc-total { opacity: .55; }
.landing #calc-components { display: grid; gap: 10px; margin-top: 12px; }
.landing #calc-components li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.landing #calc-components i { display: block; height: 6px; border-radius: 3px; background: var(--brand); width: var(--w); transition: width .4s; }
.landing #calc-components b { color: #fff; font-variant-numeric: tabular-nums; }

.landing .faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; }
.landing .faq-grid > div > p { font-size: 17px; }
.landing .faq-list details { border-bottom: 1px solid var(--card-line); padding: 22px 0; }
.landing .faq-list details:first-child { border-top: 1px solid var(--card-line); }
.landing .faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 18px; font-weight: 600; color: #fff; }
.landing .faq-list summary::-webkit-details-marker { display: none; }
.landing .faq-list summary span { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: rgb(255 255 255 / .07); }
.landing .faq-list summary span::before, .landing .faq-list summary span::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s; }
.landing .faq-list summary span::after { transform: rotate(90deg); }
.landing .faq-list details[open] summary span::after { transform: rotate(0); }
.landing .faq-list details p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; max-width: 640px; }

.landing .final-cta { position: relative; overflow: hidden; text-align: center; padding: 96px 32px; border-radius: 32px; display: grid; justify-items: center; gap: 6px;
  background: radial-gradient(900px 420px at 50% 0%, color-mix(in srgb, var(--brand) 42%, transparent), transparent 70%), rgb(255 255 255 / .03); border: 1px solid rgb(255 255 255 / .1); }
.landing .final-cta h2 { font-size: clamp(38px, 5.4vw, 68px); }
.landing .final-cta p { font-size: 18px; max-width: 520px; }
.landing .final-cta .hero-actions { justify-content: center; }
.landing .land-footer { border-top: 1px solid var(--card-line); padding: 40px 0 64px; }
.landing .footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.landing .footer-inner nav { display: flex; gap: 22px; flex-wrap: wrap; }
.landing .footer-inner nav a { color: var(--ink-2); font-size: 14px; }
.landing .footer-inner nav a:hover { color: #fff; }
.landing .footer-terms { width: 100%; color: var(--ink-3); font-size: 13px; }
.landing .footer-terms summary { font-weight: 600; color: var(--ink-2); }
.landing .footer-terms p { white-space: pre-line; margin-top: 10px; font-size: 13px; max-width: 900px; }

.js .landing .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .landing .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .landing .hero-grid, .landing .calc-grid, .landing .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .landing .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing .mock { transform: none; }
  .landing .hero-visual { max-width: 620px; }
  .landing .toast-card { left: -12px; }
  .landing .rank-card { right: -12px; }
}
@media (max-width: 860px) {
  .land-nav .nav-links { display: none; }
  .land-nav .nav-toggle { display: inline-flex; }
  .land-nav .nav-cta .ghost-dark { display: none; }
  .land-nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; gap: 2px; background: #0d1118;
    border: 1px solid var(--card-line); border-radius: 16px; padding: 8px; box-shadow: 0 30px 60px -20px #000; }
  .land-nav.open .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .land-nav.open .nav-links a:hover { background: rgb(255 255 255 / .05); }
}
@media (max-width: 640px) {
  .aff.landing .wrap { width: calc(100% - 32px); }
  .landing .hero { padding: 36px 0 72px; }
  .landing .lead { font-size: 17px; }
  .landing .hero-actions .btn { flex: 1 1 100%; }
  .landing .offer-chips li { min-width: 0; flex: 1 1 40%; }
  .landing .section { padding: 76px 0; }
  .landing .feature-grid, .landing .benefit-list { grid-template-columns: minmax(0, 1fr); }
  .landing .float-card { display: none; }
  .landing .mock-head strong { font-size: 30px; }
  .landing .mock-tiles b { font-size: 17px; }
  .landing .calculator { padding: 22px; }
  .landing #calc-total { font-size: 40px; }
  .landing .final-cta { padding: 64px 20px; border-radius: 24px; }
  .landing .offer-card strong { font-size: 40px; }
}
