:root {
  --bg: #ffffff;
  --fg: #141516;
  --muted: #6b6f75;
  --line: #e4e6e9;
  --field: #f6f7f8;
  --accent: #1f5f4a;
  --accent-fg: #ffffff;
  --bad: #b3261e;
  --good: #1e7a46;
  --font: ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111314; --fg: #eceef0; --muted: #9aa0a6; --line: #2a2e31; --field: #1a1d1f;
    --accent: #5fbf98; --accent-fg: #0c1410; --bad: #f2867f; --good: #6fd39b;
  }
}
:root[data-theme="dark"] {
  --bg: #111314; --fg: #eceef0; --muted: #9aa0a6; --line: #2a2e31; --field: #1a1d1f;
  --accent: #5fbf98; --accent-fg: #0c1410; --bad: #f2867f; --good: #6fd39b;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); line-height: 1.5; }
a { color: inherit; }
h1, h2 { text-wrap: balance; letter-spacing: -0.01em; }
.num { font-variant-numeric: tabular-nums; }

/* coming soon */
.soon { min-height: 100vh; display: grid; grid-template-rows: 1fr auto; padding: 2rem 16px; }
.soon-mark { align-self: center; justify-self: center; text-align: center; display: grid; gap: .5rem; }
.soon-mark h1 { font-size: 1.75rem; font-weight: 600; margin: 0; }
.soon-mark p { margin: 0; color: var(--muted); }
.brands { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 36px; padding: 2rem 0 1rem; max-width: 960px; margin: 0 auto; }
.brands img { height: 44px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.brands img:hover { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .brands img { transition: none; } }

/* forms */
.panel { max-width: 380px; margin: 12vh auto; padding: 0 16px; display: grid; gap: 1rem; }
.panel h1 { font-size: 1.4rem; margin: 0; }
.field { display: grid; gap: .35rem; font-size: .9rem; }
.field input { font: inherit; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 6px; background: var(--field); color: var(--fg); }
.field input:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn { font: inherit; font-weight: 600; padding: .7rem 1rem; border: 0; border-radius: 6px; background: var(--accent); color: var(--accent-fg); cursor: pointer; }
.btn[disabled] { opacity: .6; cursor: progress; }
.err { color: var(--bad); font-size: .9rem; margin: 0; min-height: 1.35em; }

/* prose (privacy, terms) */
.prose { max-width: 68ch; margin: 3rem auto; padding: 0 16px; }
.prose h1 { font-size: 1.8rem; }
.prose h2 { font-size: 1.15rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--fg); }

/* tables */
.wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }

/* report */
.rp { --rp-surface: var(--bg); --rp-subtle: var(--field); --rp-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06); --rp-green: #16a34a; --rp-red: #dc2626; --rp-amber: #b45309; font-size: 14px; min-height: 100vh; background: var(--bg); color: var(--fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rp { --rp-green: #4ade80; --rp-red: #f87171; --rp-amber: #fbbf24; --rp-shadow: none; } }
:root[data-theme="dark"] .rp { --rp-green: #4ade80; --rp-red: #f87171; --rp-amber: #fbbf24; --rp-shadow: none; }
.rp-wrap { max-width: 1400px; margin: 0 auto; padding: 28px 16px; }
.rp-muted { color: var(--muted); }
.rp-small { font-size: 11px; }
.rp-norm { font-weight: 500; font-size: 12px; }
.rp-green { color: var(--rp-green); }
.rp-red { color: var(--rp-red); }
.rp-amber { color: var(--rp-amber); font-size: 11px; }
.rp-good { color: var(--rp-green); }
.rp-warn { color: var(--rp-amber); }
.rp-mono { font-family: var(--mono); }
.rp-grow { flex: 1; min-width: 0; }
.rp-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rp .r, .rp-inv .r { text-align: right; }
.rp-card { background: var(--rp-surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--rp-shadow); }
.rp-pad { padding: 20px; }
.rp-pad-x { padding: 12px 18px; }
.rp-gap { margin-bottom: 28px; }
.rp-alert { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; padding: 10px 20px; border-radius: 8px; margin-bottom: 16px; font-size: 13px; overflow-wrap: anywhere; }
.rp-loading, .rp-empty { color: var(--muted); font-size: 13px; padding: 24px 0; }

.rp-monitor { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 16px; background: var(--field); border-bottom: 1px solid var(--line); font-size: 12px; }
.rp-monitor-l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rp-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; }
.rp-dot-sm { width: 6px; height: 6px; }
.rp-pulse { animation: rp-pulse 1.8s ease-in-out infinite; }
@keyframes rp-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5) } 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0) } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0) } }
.rp-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: 11px; color: var(--muted); }

.rp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.rp-head h1 { font-size: 26px; font-weight: 800; margin: 0; letter-spacing: -.4px; }
.rp-head p { margin: 2px 0 0; font-size: 13px; }
.rp-range { display: flex; gap: 6px; }
.rp-range a { font-size: 12px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--muted); text-decoration: none; }
.rp-range a.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.rp-range a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.rp-stores { margin-bottom: 24px; overflow: hidden; }
.rp-cap { padding: 8px 20px; border-bottom: 1px solid var(--line); background: var(--field); font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.rp-cap-plain { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.rp-stores-list { max-height: 240px; overflow-y: auto; }
.rp-store { display: flex; align-items: center; gap: 20px; padding: 10px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; font-size: 12px; }
.rp-store:last-child { border-bottom: 0; }
.rp-store > div { display: grid; }
.rp-store-name { flex: 1 1 200px; min-width: 0; }
.rp-store-name strong { font-size: 13px; }
.rp-k { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.rp-k2 { font-size: 11px; color: var(--muted); margin-bottom: 2px; }

.rp-grid { display: grid; gap: 14px; margin-bottom: 24px; }
.rp-g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rp-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rp-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-g21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-bottom: 28px; }
@media (max-width: 1100px) { .rp-g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rp-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rp-g21 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .rp-g5, .rp-g4, .rp-g3 { grid-template-columns: minmax(0, 1fr); } .rp-split-row { grid-template-columns: 1fr !important; } .rp-op { text-align: left !important; } }

.rp-stat { padding: 20px; }
.rp-stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12px; font-weight: 500; color: var(--muted); gap: 8px; }
.rp-ico { font-size: 16px; opacity: .6; }
.rp-stat-value { font-size: 26px; font-weight: 800; letter-spacing: -.5px; overflow-wrap: anywhere; }
.rp-live { margin-top: 4px; padding-top: 4px; border-top: 1px dashed var(--line); color: #737373; }
.rp-live-v { font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
.rp-live-l { font-size: 10px; }
.rp-sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.rp-badge { display: inline-flex; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 20px; margin-top: 6px; }
.rp-badge.up { background: #dcfce7; color: #15803d; }
.rp-badge.down { background: #fee2e2; color: #b91c1c; }

.rp-split { padding: 18px; margin-bottom: 24px; }
.rp-split-row { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr; align-items: center; gap: 8px; }
.rp-big { font-size: 22px; font-weight: 800; }
.rp-op { font-size: 22px; font-weight: 700; color: var(--muted); text-align: center; }

.rp-h { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.rp-h0 { font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.rp-hsub { font-size: 12px; color: var(--muted); margin: 0 0 16px; }

.rp-mod { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 200px; display: flex; flex-direction: column; color: #fff; }
.rp-mod-spy { background: linear-gradient(145deg, #dc2626, #b91c1c); }
.rp-mod-720 { background: linear-gradient(145deg, #2563eb, #1d4ed8); }
.rp-mod-sizzle { background: linear-gradient(145deg, #ea580c, #c2410c); }
.rp-mod-boost { background: linear-gradient(145deg, #374151, #1f2937); }
.rp-mod-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px 8px; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 12px; letter-spacing: .3px; }
.rp-mod-head strong { font-weight: 800; }
.rp-mod-tag { margin-left: auto; font-size: 9px; font-weight: 600; background: rgba(255,255,255,.2); padding: 2px 7px; border-radius: 10px; }
.rp-mod-body { flex: 1; padding: 0 14px; display: flex; align-items: center; overflow: hidden; }
.rp-mod-empty { color: rgba(255,255,255,.6); font-size: 13px; font-style: italic; }
.rp-ticker { display: flex; gap: 48px; white-space: nowrap; animation: rp-ticker 20s linear infinite; font-size: 13px; color: rgba(255,255,255,.92); }
.rp-ticker-big { gap: 36px; font-size: 36px; font-weight: 600; line-height: 1.2; }
@keyframes rp-ticker { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) { .rp-ticker, .rp-pulse, .rp-boost-banner { animation: none !important; } }
.rp-boost-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 10px; }
.rp-boost-txt { font-size: 10px; color: rgba(255,255,255,.7); max-width: 120px; line-height: 1.4; }
.rp-boost-foot { padding: 0 14px 10px; font-size: 10px; color: rgba(255,255,255,.6); line-height: 1.5; }
.rp-switch { position: relative; width: 44px; height: 26px; cursor: pointer; display: block; }
.rp-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rp-switch span { position: absolute; inset: 0; border-radius: 26px; background: rgba(255,255,255,.25); transition: background .3s; pointer-events: none; }
.rp-switch span::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: left .3s; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.rp-switch input:checked + span { background: #22c55e; }
.rp-switch input:checked + span::after { left: 21px; }
.rp-switch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.rp-boost-on { display: none; background: rgba(34,197,94,.4); }
.rp-boost-banner { display: none; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(135deg, #7c3aed, #db2777, #f97316); color: #fff; font-size: 13px; font-weight: 600; }
/* Ad Boost is a CSS-only toggle: the checkbox flips the page into its dark "boost" look. */
.rp:has(#rp-boost:checked) { --bg: #0a0a0a; --rp-surface: #141414; --line: #2a2a2a; --fg: #fafafa; --muted: #a3a3a3; --field: #1a1a1a; }
.rp:has(#rp-boost:checked) .rp-boost-banner { display: flex; animation: rp-banner 2s ease-in-out infinite; }
.rp:has(#rp-boost:checked) .rp-stat-value { color: #f97316; }
.rp:has(#rp-boost:checked) .rp-mod-boost { background: linear-gradient(145deg, #7c3aed, #5b21b6); }
.rp:has(#rp-boost:checked) .rp-boost-on { display: inline; }
.rp:has(#rp-boost:checked) .rp-boost-off { display: none; }
@keyframes rp-banner { 0%, 100% { opacity: 1 } 50% { opacity: .85 } }

.rp-tv { padding: 18px 20px; }
.rp-tv-v { font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.rp-bars { display: block; width: 100%; height: 32px; margin-top: 10px; }

.rp-hm { padding: 20px; background: #f0fdf4; border-color: #86efac; color: #15803d; }
.rp-hm .rp-stat-top, .rp-hm .rp-sub { color: #15803d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rp-hm { background: #0f2a1a; border-color: #166534; color: #86efac; } :root:not([data-theme="light"]) .rp-hm .rp-stat-top, :root:not([data-theme="light"]) .rp-hm .rp-sub { color: #86efac; } }
:root[data-theme="dark"] .rp-hm { background: #0f2a1a; border-color: #166534; color: #86efac; }

.rp-chart-box { margin-top: 16px; min-height: 180px; }
.rp-chart { display: block; width: 100%; height: auto; }
.rp-chart .rp-gl { stroke: var(--line); stroke-dasharray: 3 3; }
.rp-axis { fill: var(--muted); font-size: 10px; font-family: var(--font); }
.rp-hit { fill: #000; fill-opacity: 0; }
.rp-hit:hover { fill: var(--fg); fill-opacity: .06; }
.rp-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.rp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rp-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.rp-legend em { font-style: normal; color: var(--muted); font-weight: 400; }
.rp-legend .rp-green { font-weight: 600; }
.rp-legend-r { margin-left: auto; }
.rp-src { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.rp-src:last-child { border-bottom: 0; }
.rp-src-n { flex: 1; font-weight: 500; }
.rp-src-bar { flex: 2; height: 6px; background: var(--field); border-radius: 3px; overflow: hidden; }
.rp-src-bar div { height: 100%; border-radius: 3px; }
.rp-src-p { font-weight: 700; width: 36px; text-align: right; }

.rp-table { margin-bottom: 24px; overflow: hidden; }
.rp-table-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.rp-table-head span { font-size: 11px; }
.rp-table-head0 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-size: 14px; }
.rp-table-head0 > span { font-size: 11px; }
.rp table { font-size: 13px; }
.rp td { padding: 10px 12px; }
.rp th { padding: 8px 12px; font-size: 10px; font-weight: 700; background: var(--field); }
.rp th.r { text-align: right; }
.rp-total td { font-weight: 700; border-top: 2px solid var(--line); background: var(--field); }
.rp-total td:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.rp-fade { max-width: 100px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, #000 60%, transparent); mask-image: linear-gradient(to right, #000 60%, transparent); }
.rp-wrapcell { white-space: normal; min-width: 200px; }
.rp-paid { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 700; background: #dcfce7; color: #15803d; }
.rp-btn-dark { display: inline-block; padding: 5px 12px; border-radius: 6px; background: #0f172a; color: #fff; font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rp-btn-dark { background: #e2e8f0; color: #0f172a; } }
:root[data-theme="dark"] .rp-btn-dark { background: #e2e8f0; color: #0f172a; }
.rp-banner-paid { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-color: #16a34a; margin-bottom: 20px; }
.rp-banner-pending, .rp-pending { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; background: #fef3c7; color: #78350f; border: 1px dashed #f59e0b; border-radius: 12px; margin-bottom: 20px; }
.rp-pending { margin: 0; border: 0; border-radius: 8px; }
.rp-pending-box { border: 1px dashed #f59e0b; }
.rp-ico-lg { font-size: 24px; }
.rp-started { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; white-space: nowrap; color: #92400e; }

.rp-plan { margin-top: 32px; overflow: hidden; }
.rp-plan-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.rp-plan-grid { padding: 18px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rp-plan-v { font-size: 20px; font-weight: 700; }
.rp-plan-act { padding: 16px 18px; border-top: 1px solid var(--line); background: var(--field); font-size: 13px; }
.rp-plan-act p { margin: 0 0 10px; }
.rp-plan-pay { border-top: 1px solid var(--line); }
.rp-btn-go, .rp-btn-stop, .rp-btn-ghost { font: inherit; font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 6px; cursor: pointer; }
.rp-btn-go { border: 0; background: #15803d; color: #fff; }
.rp-btn-stop { border: 0; background: #b91c1c; color: #fff; }
.rp-btn-ghost { border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 400; }
.rp-btn-go[disabled], .rp-btn-stop[disabled] { opacity: .6; cursor: progress; }
.rp-plan form { display: inline; }
.rp-foot { margin-top: 48px; padding: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 11px; color: var(--muted); }

.rp-pick { max-width: 640px; }
.rp-pick ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.rp-pick a { text-decoration: none; font-weight: 600; }

.rp-inv-page { background: var(--field); min-height: 100vh; padding: 32px 16px; }
.rp-inv-bar { max-width: 768px; margin: 0 auto 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.rp-inv { max-width: 768px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 48px; }
@media (max-width: 640px) { .rp-inv { padding: 24px 16px; } .rp-inv-2 { grid-template-columns: 1fr !important; } }
.rp-inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.rp-inv-head h1 { font-size: 30px; margin: 0; }
.rp-inv-no { font-size: 24px; font-weight: 700; font-family: var(--mono); margin: 4px 0 12px; }
.rp-inv-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rp-inv footer.rp-inv-2 { border-bottom: 0; }
.rp-inv-sec { padding: 32px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rp-inv-sec td { white-space: normal; border-bottom: 0; }
.rp-inv-tot table { width: 18rem; margin-left: auto; }
.rp-inv-tot .rp-total td { font-size: 16px; }
.rp-inv-thanks { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.rp-inv-msg { max-width: 640px; margin: 4rem auto; padding: 0 16px; text-align: center; color: var(--muted); }
.rp-inv-msg.rp-red { color: var(--bad); }
.rp-inv .rp-cap-plain { font-size: 12px; }
.rp-inv .rp-total td { background: transparent; text-transform: none; letter-spacing: 0; font-size: 16px; }
@media print { .no-print { display: none !important; } .rp-inv-page { background: #fff; padding: 0; } .rp-inv { border: 0; } }

.lg { background: #f5f1e8; color: #5a4a3a; min-height: 100vh; }
.lg-in { max-width: 64rem; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lg-nav { border-bottom: 1px solid #d4c5a0; }
.lg-nav .lg-in { height: 64px; }
.lg-brand { font-size: 1.5rem; font-weight: 700; color: #2c4a3e; text-decoration: none; }
.lg-brand span { color: #8b7355; }
.lg-back { font-size: .875rem; color: #5a4a3a; text-decoration: none; }
.lg-body { padding-top: 1rem; padding-bottom: 2rem; }
.lg-body h1, .lg-body h2 { color: #2c4a3e; }
.lg-body p, .lg-body li { color: #5a4a3a; }
.lg-body a { color: #2c4a3e; }
.lg-date { color: #8b7355 !important; font-size: .875rem; margin-bottom: 3rem; }
.lg-list { list-style: none; padding-left: 1rem; display: grid; gap: .5rem; }
.lg-list li::before { content: "— "; color: #2c4a3e; font-weight: 700; }
.lg-list strong { color: #2c4a3e; }
.lg-foot { border-top: 1px solid #d4c5a0; padding: 2rem 0; margin-top: 4rem; font-size: .875rem; color: #8b7355; }
.lg-links { display: flex; gap: 1.5rem; }
.lg-links a { color: #8b7355; text-decoration: none; }

/* billing */
.b-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.b-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 16px; border-bottom: 1px solid var(--line); }
.b-brand { font-weight: 700; font-size: 1.1rem; text-decoration: none; letter-spacing: -0.01em; }
.b-tag { font-size: .85rem; color: var(--muted); }
.b-page { width: 100%; max-width: 640px; margin: 0 auto; padding: 2rem 16px 3rem; display: grid; gap: 1.25rem; }
.b-hero { text-align: center; display: grid; gap: .35rem; }
.b-hero h1 { font-size: 1.8rem; margin: 0; }
.b-muted { color: var(--muted); margin: 0; }
.b-note { font-size: .82rem; color: var(--muted); margin: 0; }
.b-center { text-align: center; }
.b-stack { display: grid; gap: 1rem; }
.b-card { border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; display: grid; gap: .75rem; background: var(--bg); margin: 0; min-width: 0; }
.b-card h2, .b-card h3 { margin: 0; font-size: 1.05rem; }
.b-legend { font-weight: 600; font-size: 1.05rem; padding: 0; float: left; width: 100%; margin-bottom: .25rem; }
.b-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.b-row .b-input { flex: 1 1 12rem; }
.b-input { font: inherit; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 6px; background: var(--field); color: var(--fg); width: 100%; min-width: 0; }
.b-input:focus-visible, .b-seg input:focus-visible + span, .b-check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.b-mono { font-family: var(--mono); }
.b-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .b-grid2 { grid-template-columns: 1fr; } }
.b-seg { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.b-seg label { position: relative; }
.b-seg input { position: absolute; opacity: 0; inset: 0; }
.b-seg span { display: block; text-align: center; padding: .7rem .5rem; border: 2px solid var(--line); border-radius: 10px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.b-seg input:checked + span { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.b-total { background: var(--fg); color: var(--bg); border-radius: 12px; padding: 1rem 1.1rem; display: grid; gap: .35rem; }
.b-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.b-total-row strong { font-size: 1.9rem; letter-spacing: -0.02em; }
.b-total-sub { font-size: .8rem; opacity: .75; }
.b-big { font-size: 1.3rem; font-weight: 700; }
.b-roi { border-color: var(--good); }
.b-info p { margin: 0; }
.b-check { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.b-check input { margin-top: .25rem; width: 1rem; height: 1rem; accent-color: var(--accent); flex: none; }
.b-wide { width: 100%; padding: .95rem 1rem; font-size: 1rem; }
.b-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.b-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.b-actions .btn { text-decoration: none; }
.b-alert { border: 1px solid var(--bad); color: var(--bad); border-radius: 8px; padding: .7rem .9rem; font-size: .9rem; }
.b-alert[hidden] { display: none; }
.b-off { border: 1px dashed var(--muted); border-radius: 8px; padding: .6rem .8rem; font-size: .88rem; color: var(--muted); margin: 0; }
.b-good { border-color: var(--good); color: var(--good); }
.b-warn { border: 1px solid var(--bad); border-radius: 8px; padding: .75rem .9rem; font-size: .9rem; }
.b-ref { font-family: var(--mono); font-size: 2.2rem; font-weight: 700; letter-spacing: .15em; overflow-wrap: anywhere; }
.b-kv { margin: 0; display: grid; }
.b-kv div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.b-kv div:last-child { border-bottom: 0; }
.b-kv dt { color: var(--muted); font-size: .88rem; flex: none; }
.b-kv dd { margin: 0; text-align: right; font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.b-steps { margin: 0; padding-left: 1.25rem; display: grid; gap: .6rem; font-size: .92rem; }
body.b-dark { background: #0f172a; color: #f8fafc; }
.b-join { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; text-align: center; }
.b-join-inner { max-width: 460px; display: grid; gap: .75rem; }
.b-join-brand { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #38bdf8; font-weight: 700; }
.b-join h1 { font-size: 2rem; margin: .5rem 0 0; }
.b-join .b-muted, .b-join .b-note { color: #94a3b8; }
.b-join-code { justify-self: center; padding: 14px 20px; background: #1e293b; border-radius: 12px; }
