/*
Prop firms marketplace surface
- Uses the darker TSB app language from the main index.
- Keeps editorial ranking, offers, and commercial status visually separate.
- Loaded after the older per-page trust CSS so it can normalize the /new-era pages.
*/
:root {
    --pfm-bg: #050505;
    --pfm-panel: #101010;
    --pfm-panel-soft: #0c0c0c;
    --pfm-panel-muted: #151515;
    --pfm-line: rgba(255, 255, 255, 0.09);
    --pfm-line-strong: rgba(255, 255, 255, 0.14);
    --pfm-text: #f5f5f5;
    --pfm-muted: #a1a1aa;
    --pfm-dim: #71717a;
    --pfm-faint: #52525b;
    --pfm-accent: #4dab9a;
    --pfm-accent-strong: #5bc4b0;
    --pfm-accent-soft: rgba(77, 171, 154, 0.12);
    --pfm-accent-line: rgba(77, 171, 154, 0.28);
    --pfm-yellow: #f5c85c;
    --pfm-yellow-soft: rgba(245, 200, 92, 0.12);
    --pfm-red: #f87171;
    --pfm-red-soft: rgba(248, 113, 113, 0.12);
    --pfm-radius: 12px;
    --pfm-radius-sm: 8px;
    --pfm-width: 1380px;
    --pfm-font: "Inter", "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: var(--pfm-bg);
    color: var(--pfm-text);
    font-family: var(--pfm-font);
}

.nav {
    border-bottom: 1px solid var(--pfm-line);
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-links {
    border: 1px solid var(--pfm-line);
    background: rgba(255, 255, 255, 0.045);
}

.nav-links a {
    color: rgba(245, 245, 245, 0.72);
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    border: 1px solid rgba(77, 171, 154, 0.36);
    background: var(--pfm-accent);
    color: #031211;
}

.footer {
    border-top: 1px solid var(--pfm-line);
    background: #050505;
}

.footer-col h4,
.footer-tagline strong {
    color: var(--pfm-text);
}

body:has(.pf-page),
body:has(.offers-page),
body:has(.challenge-page),
body:has(.firm-profile),
body:has(.matcher-page),
body:has(.rankings-page) {
    overflow-x: hidden;
    background: var(--pfm-bg);
    color: var(--pfm-text);
    font-family: var(--pfm-font);
}

body:has(.pf-page) .nav,
body:has(.offers-page) .nav,
body:has(.challenge-page) .nav,
body:has(.firm-profile) .nav,
body:has(.matcher-page) .nav,
body:has(.rankings-page) .nav {
    border-bottom: 1px solid var(--pfm-line);
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body:has(.pf-page) .nav-links,
body:has(.offers-page) .nav-links,
body:has(.challenge-page) .nav-links,
body:has(.firm-profile) .nav-links,
body:has(.matcher-page) .nav-links,
body:has(.rankings-page) .nav-links {
    border: 1px solid var(--pfm-line);
    background: rgba(255, 255, 255, 0.045);
}

body:has(.pf-page) .nav-links a,
body:has(.offers-page) .nav-links a,
body:has(.challenge-page) .nav-links a,
body:has(.firm-profile) .nav-links a,
body:has(.matcher-page) .nav-links a,
body:has(.rankings-page) .nav-links a {
    color: rgba(245, 245, 245, 0.72);
}

body:has(.pf-page) .nav-links a:hover,
body:has(.offers-page) .nav-links a:hover,
body:has(.challenge-page) .nav-links a:hover,
body:has(.firm-profile) .nav-links a:hover,
body:has(.matcher-page) .nav-links a:hover,
body:has(.rankings-page) .nav-links a:hover {
    color: #fff;
}

body:has(.pf-page) .nav-cta,
body:has(.offers-page) .nav-cta,
body:has(.challenge-page) .nav-cta,
body:has(.firm-profile) .nav-cta,
body:has(.matcher-page) .nav-cta,
body:has(.rankings-page) .nav-cta {
    border: 1px solid rgba(77, 171, 154, 0.36);
    background: var(--pfm-accent);
    color: #031211;
}

body:has(.pf-page) .footer,
body:has(.offers-page) .footer,
body:has(.challenge-page) .footer,
body:has(.firm-profile) .footer,
body:has(.matcher-page) .footer,
body:has(.rankings-page) .footer {
    border-top: 1px solid var(--pfm-line);
    background: #050505;
}

body:has(.pf-page) .footer-col h4,
body:has(.offers-page) .footer-col h4,
body:has(.challenge-page) .footer-col h4,
body:has(.firm-profile) .footer-col h4,
body:has(.pf-page) .footer-tagline strong,
body:has(.offers-page) .footer-tagline strong,
body:has(.challenge-page) .footer-tagline strong,
body:has(.firm-profile) .footer-tagline strong,
body:has(.matcher-page) .footer-col h4,
body:has(.rankings-page) .footer-col h4,
body:has(.matcher-page) .footer-tagline strong,
body:has(.rankings-page) .footer-tagline strong {
    color: var(--pfm-text);
}

.pf-page,
.offers-page,
.challenge-page,
.firm-profile,
.matcher-page,
.rankings-page {
    min-height: 100vh;
    padding: 52px 0 96px;
    background: linear-gradient(180deg, #050505 0%, #080808 46%, #050505 100%) !important;
    color: var(--pfm-text);
    overflow-x: clip;
}

.pf-page .container,
.offers-page .container,
.challenge-page .container,
.firm-profile .container,
.matcher-page .container,
.rankings-page .container {
    width: min(var(--pfm-width), calc(100vw - 56px));
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.pf-page .trust-hero,
.offers-page .trust-hero,
.challenge-page .trust-hero,
.firm-profile .trust-hero,
.rankings-page .trust-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: end;
    min-height: auto;
    margin: 0 0 42px;
    padding: 42px 0 42px;
    border-bottom: 1px solid var(--pfm-line);
    text-align: left;
}

.pf-page .trust-hero-main,
.offers-page .trust-hero-main,
.challenge-page .trust-hero-main,
.firm-profile .trust-hero-main,
.rankings-page .trust-hero-main {
    max-width: 900px;
    padding: 0;
}

.pf-page .trust-eyebrow,
.offers-page .trust-eyebrow,
.challenge-page .trust-eyebrow,
.firm-profile .trust-eyebrow,
.rankings-page .trust-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin: 0 0 16px;
    padding: 0 10px;
    border: 1px solid var(--pfm-accent-line);
    border-radius: var(--pfm-radius-sm);
    background: var(--pfm-accent-soft);
    color: #b9f3e9;
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pf-page .trust-eyebrow::before,
.offers-page .trust-eyebrow::before,
.challenge-page .trust-eyebrow::before,
.firm-profile .trust-eyebrow::before,
.rankings-page .trust-eyebrow::before {
    display: none;
}

.pf-page .trust-title,
.offers-page .trust-title,
.challenge-page .trust-title,
.firm-profile .trust-title,
.rankings-page .trust-title {
    max-width: 940px;
    margin: 0;
    color: var(--pfm-text);
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.92;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.pf-page .trust-subtitle,
.offers-page .trust-subtitle,
.challenge-page .trust-subtitle,
.firm-profile .trust-subtitle,
.rankings-page .trust-subtitle {
    max-width: 780px;
    margin: 20px 0 0;
    color: rgba(245, 245, 245, 0.70);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.55;
}

.profile-title {
    display: grid;
    gap: 0;
}

.profile-title-name,
.profile-title-suffix {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.pf-page .trust-inline-links,
.offers-page .trust-inline-links,
.challenge-page .trust-inline-links,
.firm-profile .trust-inline-links,
.rankings-page .trust-inline-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 9px;
    margin-top: 24px;
}

.pf-page .trust-inline-links a,
.offers-page .trust-inline-links a,
.challenge-page .trust-inline-links a,
.firm-profile .trust-inline-links a,
.rankings-page .trust-inline-links a,
.pf-link-secondary,
.offer-code,
.profile-link-card,
.pf-filter,
.challenge-filter,
.offer-filter,
.pf-market-tab {
    border-radius: var(--pfm-radius-sm) !important;
}

.pf-page .trust-inline-links a,
.offers-page .trust-inline-links a,
.challenge-page .trust-inline-links a,
.firm-profile .trust-inline-links a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--pfm-line);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(245, 245, 245, 0.78);
    font-size: 13px;
    font-weight: 720;
    line-height: 1.25;
    white-space: normal;
    text-decoration: none;
}

.pf-page .trust-inline-links a:hover,
.offers-page .trust-inline-links a:hover,
.challenge-page .trust-inline-links a:hover,
.firm-profile .trust-inline-links a:hover {
    border-color: var(--pfm-accent-line);
    background: var(--pfm-accent-soft);
    color: #fff;
}

.pf-page .trust-section,
.offers-page .trust-section,
.challenge-page .trust-section,
.firm-profile .trust-section {
    margin: 0;
    padding: 44px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.pf-page .trust-section + .trust-section,
.offers-page .trust-section + .trust-section,
.challenge-page .trust-section + .trust-section,
.firm-profile .trust-section + .trust-section {
    border-top: 1px solid var(--pfm-line);
}

.pf-page .trust-section h2,
.offers-page .trust-section h2,
.challenge-page .trust-section h2,
.firm-profile .trust-section h2 {
    max-width: 760px;
    margin: 0 0 12px;
    color: var(--pfm-text);
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.pf-page .trust-section p,
.offers-page .trust-section p,
.challenge-page .trust-section p,
.firm-profile .trust-section p {
    max-width: 820px;
    color: rgba(245, 245, 245, 0.66);
}

.pf-command,
.offers-console,
.challenge-console,
.profile-panel,
.pf-market-card,
.pf-watch-card,
.pf-board-shell,
.pf-intake,
.offer-controls,
.challenge-controls,
.pf-card,
.pf-table-wrap,
.offers-table-wrap,
.challenge-table-wrap,
.profile-table-wrap,
.offer-card,
.profile-fact,
.profile-link-card,
.pf-page .trust-card,
.offers-page .trust-card,
.challenge-page .trust-card,
.firm-profile .trust-card,
.trust-callout {
    border: 1px solid var(--pfm-line) !important;
    border-radius: var(--pfm-radius) !important;
    background: rgba(16, 16, 16, 0.88) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.pf-command {
    display: block !important;
}

.pf-market-card,
.pf-watch-card,
.offers-console,
.challenge-console,
.profile-panel {
    padding: 20px;
}

.pf-command::before,
.pf-market-card::before {
    display: none !important;
}

.pf-stat-pills {
    justify-content: flex-start;
}

.pf-stat-pill,
.pf-snapshot-card,
.offers-stat,
.challenge-stat,
.pf-board-legend span,
.pf-status-pill,
.pf-offer-pill,
.pf-chip,
.profile-pill,
.challenge-pill,
.offer-badge,
.pf-platform-chip,
.pf-country-pill {
    min-height: 28px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius-sm) !important;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(245, 245, 245, 0.74);
    box-shadow: none;
}

.pf-snapshot-card,
.offers-stat,
.challenge-stat {
    min-height: 104px;
    padding: 15px;
}

.pf-snapshot-card strong,
.offers-stat strong,
.challenge-stat strong {
    color: var(--pfm-text);
}

.pf-snapshot-card span,
.offers-stat span,
.challenge-stat span {
    color: rgba(245, 245, 245, 0.62);
}

.pf-note,
.offers-note,
.challenge-warning {
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius);
    background: rgba(77, 171, 154, 0.08);
    color: rgba(245, 245, 245, 0.74);
}

.pf-note strong,
.offers-note strong,
.challenge-warning strong {
    color: var(--pfm-text);
}

.pf-status-pill,
.offer-badge {
    border-color: var(--pfm-accent-line);
    background: var(--pfm-accent-soft);
    color: #b9f3e9;
}

.pf-status-pill--medium,
.challenge-pill--warn,
.offer-badge--warn {
    border-color: rgba(245, 200, 92, 0.30);
    background: var(--pfm-yellow-soft);
    color: #ffe2a0;
}

.pf-status-pill--review {
    border-color: rgba(248, 113, 113, 0.24);
    background: var(--pfm-red-soft);
    color: #ffc3c3;
}

.pf-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--pfm-accent);
    box-shadow: none;
}

.pf-section-kicker span,
.pf-board-firm strong,
.pf-score-cell strong,
.pf-allocation strong,
.pf-mini-offer b,
.pf-mini-offer strong,
.pf-watch-copy strong,
.pf-card h3,
.pf-table strong,
.offer-card h3,
.profile-fact strong,
.profile-link-card,
.challenge-firm strong,
.profile-verdict strong,
.pf-page .trust-card h3,
.offers-page .trust-card h3,
.challenge-page .trust-card h3,
.firm-profile .trust-card h3 {
    color: var(--pfm-text) !important;
}

.pf-section-kicker a,
.pf-watch-action {
    color: #b9f3e9;
}

.pf-mini-offer small,
.pf-watch-copy span,
.pf-board-toolbar p,
.pf-card p,
.pf-page .trust-card p,
.offers-page .trust-card p,
.challenge-page .trust-card p,
.firm-profile .trust-card p,
.pf-table td,
.offers-table td,
.challenge-table td,
.profile-table td,
.pf-row-note,
.pf-card-status,
.pf-meta-row strong,
.profile-verdict,
.profile-link-card span,
.profile-fact span,
.challenge-firm span,
.offer-card p {
    color: rgba(245, 245, 245, 0.66) !important;
}

.pf-board,
.offers-table,
.challenge-table,
.profile-table {
    border-collapse: separate;
    border-spacing: 0;
}

.pf-board th,
.offers-table th,
.challenge-table th,
.profile-table th {
    border-bottom: 1px solid var(--pfm-line);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(245, 245, 245, 0.48);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.08em;
}

.pf-board td,
.offers-table td,
.challenge-table td,
.profile-table td {
    border-bottom: 1px solid var(--pfm-line);
    background: transparent !important;
}

.pf-board tr:last-child td,
.offers-table tr:last-child td,
.challenge-table tr:last-child td,
.profile-table tr:last-child td {
    border-bottom: 0;
}

.pf-board-rank,
.pf-score-badge,
.pf-years-ring {
    border: 1px solid var(--pfm-accent-line);
    background: var(--pfm-accent-soft);
    color: #d7fff8;
    box-shadow: none;
}

.pf-years-ring::before {
    display: none;
}

.pf-allocation-bar {
    background: rgba(255, 255, 255, 0.08);
}

.pf-allocation em {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
    font-style: normal;
    font-weight: 760;
    text-align: center;
    white-space: nowrap;
}

.pf-allocation-bar span {
    background: linear-gradient(90deg, var(--pfm-accent), var(--pfm-yellow));
}

.pf-promo-box {
    border-color: rgba(245, 200, 92, 0.34);
    border-radius: var(--pfm-radius-sm);
    background: rgba(245, 200, 92, 0.08);
    box-shadow: none;
}

.pf-promo-box span {
    background: rgba(245, 200, 92, 0.16);
    color: #ffe2a0;
}

.pf-promo-box b {
    color: rgba(245, 245, 245, 0.82);
}

.pf-mini-offer,
.pf-watch-item,
.offer-card,
.pf-card,
.profile-link-card,
.profile-fact,
.pf-page .trust-card,
.offers-page .trust-card,
.challenge-page .trust-card,
.firm-profile .trust-card {
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.pf-card:hover,
.offer-card:hover,
.profile-link-card:hover,
.pf-watch-item:hover,
.pf-mini-offer:hover {
    transform: translateY(-2px);
    border-color: var(--pfm-accent-line) !important;
    background: rgba(21, 21, 21, 0.96) !important;
}

.pf-logo,
.offer-logo,
.challenge-logo,
.profile-mark {
    border: 1px solid var(--pfm-line-strong);
    border-radius: var(--pfm-radius-sm) !important;
    background: #080808;
    color: #b9f3e9;
    box-shadow: none;
}

.pf-logo img,
.offer-logo img,
.challenge-logo img,
.profile-mark img,
.pf-platform-chip img {
    border-radius: 4px;
}

.pf-logo img[src$="/uprofit.svg"],
.offer-logo img[src$="/uprofit.svg"],
.challenge-logo img[src$="/uprofit.svg"],
.profile-mark img[src$="/uprofit.svg"] {
    filter: brightness(0) invert(1);
}

.pf-logo img[src$="/the5ers-new.svg"],
.offer-logo img[src$="/the5ers-new.svg"],
.challenge-logo img[src$="/the5ers-new.svg"],
.profile-mark img[src$="/the5ers-new.svg"] {
    box-sizing: border-box;
    padding: 4px;
    border-radius: 6px;
    background: #f5f5f5;
}

.offer-logo img[src$="/the5ers-new.svg"],
.challenge-logo img[src$="/the5ers-new.svg"] {
    padding: 3px;
}

.profile-mark img[src$="/the5ers-new.svg"] {
    padding: 6px;
}

.pf-search,
.offer-search,
.challenge-search {
    min-height: 44px;
    border: 1px solid var(--pfm-line-strong);
    border-radius: var(--pfm-radius-sm);
    background: rgba(255, 255, 255, 0.055);
    color: var(--pfm-text);
    box-shadow: none;
}

.pf-search::placeholder,
.offer-search::placeholder,
.challenge-search::placeholder {
    color: rgba(245, 245, 245, 0.38);
}

.pf-search:focus,
.offer-search:focus,
.challenge-search:focus {
    border-color: var(--pfm-accent-line);
    box-shadow: 0 0 0 3px rgba(77, 171, 154, 0.11);
    outline: none;
}

.pf-filter,
.offer-filter,
.challenge-filter,
.pf-market-tab {
    min-height: 36px;
    border: 1px solid var(--pfm-line);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(245, 245, 245, 0.72);
}

.pf-filter:hover,
.offer-filter:hover,
.challenge-filter:hover,
.pf-market-tab:hover,
.pf-filter.is-active,
.offer-filter.is-active,
.challenge-filter.is-active,
.pf-market-tab.is-active {
    transform: none;
    border-color: var(--pfm-accent-line);
    background: var(--pfm-accent-soft);
    color: #fff;
}

.pf-link-primary,
.pf-board-action,
.offer-link,
.challenge-action,
.pf-mini-offer a,
.pf-watch-action {
    min-height: 38px;
    border: 1px solid rgba(77, 171, 154, 0.38);
    border-radius: var(--pfm-radius-sm) !important;
    background: var(--pfm-accent) !important;
    color: #031211 !important;
    box-shadow: none !important;
}

.pf-link-secondary,
.offer-code {
    border: 1px solid var(--pfm-line);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(245, 245, 245, 0.78);
}

.pf-favorite {
    min-width: 34px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius-sm);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(245, 245, 245, 0.74);
}

.pf-favorite.is-saved {
    border-color: rgba(245, 200, 92, 0.34);
    background: var(--pfm-yellow-soft);
    color: #ffe2a0;
}

.pf-meta-row,
.profile-fact,
.profile-table th,
.profile-table td {
    border-color: var(--pfm-line) !important;
}

.offer-discount {
    color: var(--pfm-text);
}

.pf-country-pill {
    gap: 7px;
}

.pf-country-flag {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 1;
}

.pf-trust-signal {
    display: grid;
    gap: 5px;
    min-width: 150px;
    padding: 10px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
}

.pf-trust-signal strong {
    color: var(--pfm-text);
    font-size: 13px;
    line-height: 1.2;
}

.pf-trust-signal > span:not(.pf-trust-stars) {
    color: rgba(245, 245, 245, 0.58);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.pf-trust-stars {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    width: max-content;
    max-width: 100%;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.pf-trust-stars--inline {
    margin-left: 8px;
    vertical-align: -3px;
}

.pf-trust-stars--pending {
    color: rgba(245, 245, 245, 0.56);
    font-size: 11px;
    font-weight: 760;
}

.pf-trust-star {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 2px;
    background: linear-gradient(90deg, #00b67a 0 var(--star-fill), rgba(255, 255, 255, 0.16) var(--star-fill) 100%);
    color: #fff;
    line-height: 1;
}

.profile-reputation-card .pf-trust-stars,
.profile-reputation-card .pf-trust-star,
.firm-profile .profile-reputation-card .pf-trust-stars,
.firm-profile .profile-reputation-card .pf-trust-star {
    display: inline-flex !important;
    margin: 0 !important;
}

.profile-reputation-card .pf-trust-stars,
.firm-profile .profile-reputation-card .pf-trust-stars {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 2px !important;
    margin-top: 8px !important;
    width: max-content;
}

.profile-reputation-card .pf-trust-star,
.firm-profile .profile-reputation-card .pf-trust-star {
    color: #fff !important;
}

.pf-trust-star-icon {
    width: 13px;
    height: 13px;
    fill: currentColor;
    transform: translateY(-0.2px);
}

.pf-trust-signal:hover {
    border-color: var(--pfm-accent-line);
    background: var(--pfm-accent-soft);
}

.pf-board-shell {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
}

.pf-country-seo-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.pf-country-seo-links span,
.pf-country-seo-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: var(--pfm-radius-sm);
    font-size: 11px;
    font-weight: 820;
    line-height: 1;
}

.pf-country-seo-links span {
    color: rgba(245, 245, 245, 0.46);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pf-country-seo-links a {
    border: 1px solid var(--pfm-line);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(245, 245, 245, 0.76);
}

.pf-country-seo-links a:hover {
    border-color: var(--pfm-accent-line);
    background: var(--pfm-accent-soft);
    color: #FFFFFF;
}

.pf-board-toolbar {
    background: transparent !important;
}

.pf-board-legend {
    gap: 16px;
}

.pf-board-legend span {
    min-height: auto;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: rgba(245, 245, 245, 0.58);
}

.pf-board {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    width: 100%;
    min-width: 0 !important;
    padding: 0 !important;
    table-layout: fixed;
}

.pf-board-wrap {
    overflow: visible !important;
}

.pf-board th:nth-child(1),
.pf-board td:nth-child(1) {
    width: 17%;
}

.pf-board th:nth-child(2),
.pf-board td:nth-child(2) {
    width: 14%;
}

.pf-board th:nth-child(3),
.pf-board td:nth-child(3) {
    width: 12%;
}

.pf-board th:nth-child(4),
.pf-board td:nth-child(4) {
    width: 7%;
}

.pf-board th:nth-child(5),
.pf-board td:nth-child(5) {
    width: 6%;
}

.pf-board th:nth-child(6),
.pf-board td:nth-child(6) {
    width: 10%;
}

.pf-board th:nth-child(7),
.pf-board td:nth-child(7) {
    width: 10%;
}

.pf-board th:nth-child(8),
.pf-board td:nth-child(8) {
    width: 10%;
}

.pf-board th:nth-child(9),
.pf-board td:nth-child(9) {
    width: 14%;
}

.pf-board th {
    padding: 14px 14px 11px !important;
    border-bottom: 1px solid var(--pfm-line) !important;
    background: rgba(255, 255, 255, 0.026) !important;
}

.pf-board td {
    padding: 20px 14px !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--pfm-line) !important;
    background: transparent !important;
}

.pf-board-firm,
.pf-score-cell,
.pf-platform-list,
.pf-allocation {
    min-width: 0 !important;
}

.pf-board-firm-copy,
.pf-score-cell > span {
    min-width: 0;
}

.pf-board-firm strong,
.pf-board-firm-copy > span,
.pf-score-cell strong,
.pf-row-note {
    overflow-wrap: anywhere;
}

.pf-board tr td:first-child,
.pf-board tr td:last-child {
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
}

.pf-board-row--featured td,
.pf-board-row--review td {
    background: transparent !important;
    border-color: var(--pfm-line) !important;
}

.pf-board-row--featured td:first-child {
    box-shadow: inset 2px 0 0 rgba(245, 200, 92, 0.58);
}

.pf-score-cell .pf-status-pill {
    min-height: auto;
    margin-top: 6px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: #b9f3e9;
}

.pf-score-cell .pf-status-pill--medium {
    color: #ffe2a0;
}

.pf-score-cell .pf-status-pill--review {
    color: #ffc3c3;
}

.pf-country-pill {
    min-width: 0;
    min-height: auto;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    gap: 6px;
    color: rgba(245, 245, 245, 0.76);
}

.pf-trust-signal {
    min-width: 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
}

.pf-trust-signal:hover {
    background: transparent !important;
}

.pf-board-tags {
    gap: 8px;
}

.pf-board-tags .pf-chip,
.pf-platform-chip {
    min-height: auto;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: rgba(245, 245, 245, 0.64);
}

.pf-board-tags .pf-chip {
    font-size: 12px;
    line-height: 1.45;
}

.pf-platform-chip {
    gap: 7px;
    font-size: 12px;
}

.pf-platform-chip img {
    background: rgba(255, 255, 255, 0.92);
}

.pf-board-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 142px;
}

.pf-offer-cell {
    display: grid;
    justify-items: stretch;
    gap: 8px;
    min-width: 0;
}

.pf-offer-cell .pf-promo-box {
    width: 100%;
    min-width: 0;
}

.pf-offer-cell .pf-board-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    min-width: 0;
}

.pf-offer-cell .pf-board-actions > * {
    width: 100%;
    min-height: 30px;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 10px;
}

.pf-compare-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius-sm);
    background: transparent;
    color: rgba(245, 245, 245, 0.76);
    font: inherit;
    font-size: 12px;
    font-weight: 820;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.pf-compare-toggle:hover,
.pf-compare-toggle.is-saved {
    border-color: var(--pfm-accent-line);
    background: var(--pfm-accent-soft);
    color: #d7fff8;
}

.pf-compare-toggle:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.pf-favorite.pf-compare-toggle {
    min-width: 82px;
    height: 34px;
    color: rgba(245, 245, 245, 0.76);
}

.pf-compare-lab {
    scroll-margin-top: 96px;
}

.pf-compare-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
}

.pf-compare-status {
    display: grid;
    gap: 4px;
    min-width: 150px;
    padding: 12px 14px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius-sm);
    background: rgba(255, 255, 255, 0.035);
    text-align: right;
}

.pf-compare-status strong {
    color: var(--pfm-text);
    font-size: 15px;
}

.pf-compare-status span,
.pf-compare-empty {
    color: rgba(245, 245, 245, 0.58);
    font-size: 13px;
    line-height: 1.45;
}

.pf-compare-empty {
    margin-top: 20px;
    padding: 18px;
    border: 1px dashed var(--pfm-line-strong);
    border-radius: var(--pfm-radius);
    background: rgba(255, 255, 255, 0.025);
}

.pf-compare-matrix-wrap {
    margin-top: 22px;
    overflow-x: auto;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius);
    background: rgba(16, 16, 16, 0.82);
}

.pf-compare-matrix {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.pf-compare-matrix th,
.pf-compare-matrix td {
    padding: 15px;
    border-bottom: 1px solid var(--pfm-line);
    text-align: left;
    vertical-align: top;
}

.pf-compare-matrix tr:last-child th,
.pf-compare-matrix tr:last-child td {
    border-bottom: 0;
}

.pf-compare-matrix th {
    width: 168px;
    color: rgba(245, 245, 245, 0.46);
    font-size: 11px;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pf-compare-matrix td {
    min-width: 220px;
    color: rgba(245, 245, 245, 0.66);
    font-size: 13px;
    line-height: 1.45;
}

.pf-compare-matrix td strong {
    display: block;
    color: var(--pfm-text);
    font-size: 14px;
    line-height: 1.28;
}

.pf-compare-matrix td span:not(.pf-trust-stars):not(.pf-trust-star):not(.pf-compare-token-list):not(.pf-compare-token) {
    display: block;
    margin-top: 4px;
    color: rgba(245, 245, 245, 0.58);
}

.pf-compare-firm {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.pf-logo--compare {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: var(--pfm-radius-sm);
    font-size: 11px;
}

.pf-logo--compare img {
    width: 25px;
    height: 25px;
}

.pf-compare-firm small {
    display: block;
    margin-top: 3px;
    color: rgba(245, 245, 245, 0.52);
    font-size: 11px;
    font-weight: 720;
}

.pf-compare-firm button,
.pf-compare-clear {
    border: 0;
    background: transparent;
    color: rgba(245, 245, 245, 0.54);
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    cursor: pointer;
}

.pf-compare-firm button:hover,
.pf-compare-clear:hover {
    color: #fff;
}

.pf-compare-token-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pf-compare-token {
    color: rgba(245, 245, 245, 0.72);
    font-size: 13px;
}

.pf-compare-token + .pf-compare-token::before {
    content: "/";
    margin-right: 7px;
    color: rgba(245, 245, 245, 0.30);
}

.pf-trust-stars--compare {
    margin-top: 8px;
}

.pf-compare-dock {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 80;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    width: min(1040px, calc(100vw - 36px));
    margin: 0 auto;
    padding: 12px;
    border: 1px solid var(--pfm-line-strong);
    border-radius: var(--pfm-radius);
    background: rgba(10, 10, 10, 0.94);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.pf-compare-dock[hidden] {
    display: none !important;
}

.pf-compare-dock-copy {
    display: grid;
    gap: 3px;
    min-width: 168px;
}

.pf-compare-dock-copy strong {
    color: var(--pfm-text);
    font-size: 14px;
}

.pf-compare-dock-copy span {
    color: rgba(245, 245, 245, 0.56);
    font-size: 12px;
}

.pf-compare-dock-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.pf-compare-dock-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    color: rgba(245, 245, 245, 0.78);
    font-size: 12px;
    font-weight: 760;
}

.pf-compare-dock-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pf-compare-open {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(77, 171, 154, 0.38);
    border-radius: var(--pfm-radius-sm);
    background: var(--pfm-accent);
    color: #031211;
    font: inherit;
    font-size: 12px;
    font-weight: 860;
    cursor: pointer;
}

.pf-compare-open:disabled {
    border-color: var(--pfm-line);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(245, 245, 245, 0.40);
    cursor: not-allowed;
}

body:has(#pfCompareDock:not([hidden])) .pf-page {
    padding-bottom: 180px;
}

.pf-fit-lab {
    position: relative;
}

.pf-fit-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 28px;
    align-items: end;
}

.pf-fit-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pf-fit-tab {
    display: grid;
    gap: 4px;
    min-height: 72px;
    padding: 13px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(245, 245, 245, 0.70);
    text-align: left;
    cursor: pointer;
}

.pf-fit-tab span {
    color: var(--pfm-text);
    font-size: 14px;
    font-weight: 780;
}

.pf-fit-tab small {
    color: rgba(245, 245, 245, 0.54);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
}

.pf-fit-tab.is-active,
.pf-fit-tab:hover {
    border-color: var(--pfm-accent-line);
    background: var(--pfm-accent-soft);
}

.pf-fit-panels {
    margin-top: 22px;
}

.pf-fit-profile {
    display: none;
}

.pf-fit-profile.is-active {
    display: block;
}

.pf-fit-profile-copy {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.pf-fit-profile-copy strong {
    color: var(--pfm-text);
    font-size: 17px;
}

.pf-fit-profile-copy span {
    color: rgba(245, 245, 245, 0.62);
    font-size: 14px;
    line-height: 1.45;
}

.pf-fit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pf-fit-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 18px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius);
    background: rgba(16, 16, 16, 0.88);
}

.pf-fit-card-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.pf-fit-card h3 {
    margin: 0 0 7px;
    color: var(--pfm-text);
    font-size: 18px;
    line-height: 1.12;
    letter-spacing: 0;
}

.pf-fit-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--pfm-accent-line);
    border-radius: 999px;
    background: var(--pfm-accent-soft);
    color: #d7fff8;
    font-size: 18px;
    font-weight: 900;
}

.pf-fit-card p {
    margin: 0;
    color: rgba(245, 245, 245, 0.64);
    font-size: 14px;
    line-height: 1.55;
}

.pf-fit-card .pf-card-actions {
    margin-top: auto;
}

.pf-method-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.pf-method-card {
    min-height: 176px;
    padding: 16px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius);
    background: rgba(16, 16, 16, 0.88);
}

.pf-method-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 9px;
    border: 1px solid var(--pfm-accent-line);
    border-radius: var(--pfm-radius-sm);
    background: var(--pfm-accent-soft);
    color: #d7fff8;
    font-size: 12px;
    font-weight: 860;
}

.pf-method-card h3 {
    margin: 16px 0 8px;
    color: var(--pfm-text);
    font-size: 18px;
    line-height: 1.08;
    letter-spacing: 0;
}

.pf-method-card p {
    margin: 0;
    color: rgba(245, 245, 245, 0.62);
    font-size: 13px;
    line-height: 1.5;
}

.profile-reputation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.profile-hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
    min-width: 0;
}

.profile-hero-metric {
    display: grid;
    gap: 7px;
    min-width: 0;
    min-height: 112px;
    padding: 14px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius);
    background: rgba(255, 255, 255, 0.035);
}

.profile-hero-metric span,
.profile-action-kicker {
    color: rgba(245, 245, 245, 0.48);
    font-size: 11px;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-hero-metric strong {
    color: var(--pfm-text);
    font-size: 15px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.profile-hero-metric--score strong {
    font-size: 24px;
    letter-spacing: 0;
}

.profile-hero-metric em,
.profile-score-card-head em,
.profile-score-row em,
.profile-source-date {
    color: rgba(245, 245, 245, 0.54);
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
}

.profile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.profile-score-badge {
    display: grid;
    place-items: center;
    width: 86px;
    min-height: 72px;
    border: 1px solid var(--pfm-accent-line);
    border-radius: var(--pfm-radius);
    background: var(--pfm-accent-soft);
    text-align: center;
}

.profile-score-badge strong {
    color: #d7fff8;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0;
}

.profile-score-badge span {
    margin-top: 5px;
    color: rgba(215, 255, 248, 0.72);
    font-size: 10px;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-section-head {
    max-width: 820px;
}

.profile-decision-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 16px;
    margin-top: 24px;
}

.profile-score-card,
.profile-action-card {
    min-width: 0;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius);
    background: rgba(16, 16, 16, 0.88);
    box-shadow: none;
}

.profile-score-card {
    padding: 20px;
}

.profile-action-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.profile-score-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 16px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pfm-line);
}

.profile-score-card-head span {
    color: rgba(245, 245, 245, 0.54);
    font-size: 13px;
    font-weight: 760;
}

.profile-score-card-head strong {
    color: var(--pfm-text);
    font-size: 34px;
    line-height: 0.95;
    letter-spacing: 0;
}

.profile-score-card-head em {
    grid-column: 1 / -1;
}

.profile-score-rows {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.profile-score-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.72fr) minmax(160px, 1fr) minmax(180px, 0.82fr);
    gap: 12px;
    align-items: center;
}

.profile-score-row div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.profile-score-row span {
    color: rgba(245, 245, 245, 0.70);
    font-size: 13px;
    font-weight: 760;
}

.profile-score-row strong {
    color: #d7fff8;
    font-size: 13px;
}

.profile-score-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.profile-score-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pfm-accent), var(--pfm-yellow));
}

.profile-action-card h3 {
    margin: 0;
    color: var(--pfm-text);
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0;
}

.profile-action-card p {
    margin: 0;
    color: rgba(245, 245, 245, 0.66);
    font-size: 14px;
    line-height: 1.55;
}

.profile-action-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
}

.profile-action-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    text-decoration: none;
}

.profile-source-link {
    display: inline-flex;
    margin-bottom: 5px;
    color: #b9f3e9;
    font-size: 13px;
    font-weight: 780;
    text-decoration: none;
}

.profile-source-link:hover {
    color: #fff;
}

.profile-source-date {
    display: block;
}

.profile-reputation-card {
    min-height: 170px;
    padding: 18px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius);
    background: rgba(16, 16, 16, 0.88);
}

.profile-reputation-card span {
    display: block;
    margin-bottom: 10px;
    color: rgba(245, 245, 245, 0.48);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-reputation-card strong {
    display: block;
    color: var(--pfm-text);
    font-size: 20px;
    line-height: 1.15;
}

.profile-reputation-card p {
    margin: 12px 0 0;
    color: rgba(245, 245, 245, 0.62);
    font-size: 14px;
    line-height: 1.55;
}

.offer-disclosure,
.pf-commercial-note,
.profile-commercial-note {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 10px;
    padding: 0 9px;
    border: 1px solid rgba(245, 200, 92, 0.26);
    border-radius: var(--pfm-radius-sm);
    background: var(--pfm-yellow-soft);
    color: #ffe2a0;
    font-size: 11px;
    font-weight: 760;
    line-height: 1.2;
}

.pf-commercial-note {
    margin-top: 0;
    color: rgba(245, 245, 245, 0.78);
    border-color: var(--pfm-line);
    background: rgba(255, 255, 255, 0.045);
}

.profile-commercial-note {
    display: flex;
    align-items: flex-start;
    min-height: 0;
    padding: 12px;
    color: rgba(245, 245, 245, 0.76);
    line-height: 1.45;
}

.profile-dossier-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.profile-dossier-card,
.profile-evidence-card,
.profile-dossier-panel,
.profile-country-card {
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius);
    background: rgba(16, 16, 16, 0.88);
}

.profile-dossier-card {
    display: grid;
    gap: 8px;
    min-height: 142px;
    padding: 18px;
}

.profile-dossier-card span,
.profile-dossier-panel > h3,
.profile-country-card span {
    color: rgba(245, 245, 245, 0.48);
    font-size: 11px;
    font-weight: 840;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-dossier-card strong {
    color: var(--pfm-text);
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.profile-dossier-card p,
.profile-evidence-card p,
.profile-country-card p,
.profile-dossier-line span {
    margin: 0;
    color: rgba(245, 245, 245, 0.62);
    font-size: 13px;
    line-height: 1.52;
}

.profile-evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.profile-evidence-card {
    min-height: 168px;
    padding: 18px;
}

.profile-evidence-card h3 {
    margin: 14px 0 8px;
    color: var(--pfm-text);
    font-size: 18px;
    line-height: 1.1;
}

.profile-audit-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    width: fit-content;
    max-width: 100%;
    padding: 0 9px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius-sm);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(245, 245, 245, 0.72);
    font-size: 11px;
    font-weight: 820;
    line-height: 1.2;
}

.profile-audit-badge--mapped {
    border-color: rgba(77, 171, 154, 0.30);
    background: rgba(77, 171, 154, 0.12);
    color: #b9f3e9;
}

.profile-audit-badge--snapshot {
    border-color: rgba(245, 200, 92, 0.30);
    background: rgba(245, 200, 92, 0.12);
    color: #ffe2a0;
}

.profile-audit-badge--pending {
    border-color: rgba(248, 113, 113, 0.26);
    background: rgba(248, 113, 113, 0.10);
    color: #fecaca;
}

.profile-program-table {
    min-width: 1180px;
}

.profile-dossier-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.profile-dossier-panel {
    padding: 18px;
}

.profile-dossier-panel > h3 {
    margin: 0 0 16px;
    color: #b9f3e9;
}

.profile-dossier-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.52fr);
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-top: 1px solid var(--pfm-line);
}

.profile-dossier-line:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.profile-dossier-line strong,
.profile-dossier-line b {
    display: block;
    color: var(--pfm-text);
    font-size: 14px;
    line-height: 1.32;
}

.profile-dossier-line b {
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.profile-country-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.profile-country-card {
    display: grid;
    gap: 12px;
    min-height: 154px;
    padding: 18px;
}

.profile-country-card strong {
    display: block;
    margin-top: 8px;
    color: var(--pfm-text);
    font-size: 18px;
    line-height: 1.15;
}

.profile-country-card--unavailable {
    border-color: rgba(248, 113, 113, 0.28);
    background: linear-gradient(180deg, rgba(248, 113, 113, 0.11), rgba(16, 16, 16, 0.88));
}

.profile-country-card--verify {
    border-color: rgba(245, 200, 92, 0.24);
}

.firm-profile .profile-panel,
.firm-profile .profile-fact,
.firm-profile .profile-table-wrap,
.firm-profile .profile-review-card,
.firm-profile .profile-pro-card,
.firm-profile .profile-alt-card,
.firm-profile .profile-faq-item,
.firm-profile .profile-availability-summary,
.firm-profile .profile-availability-priority,
.firm-profile .profile-availability-stat,
.firm-profile .profile-checklist li,
.firm-profile .profile-country-card,
.firm-profile .profile-country-all,
.firm-profile .profile-dossier-card,
.firm-profile .profile-evidence-card,
.firm-profile .profile-dossier-panel,
.firm-profile .profile-reputation-card,
.firm-profile .profile-score-card,
.firm-profile .profile-action-card {
    border-color: var(--pfm-line) !important;
    border-radius: var(--pfm-radius) !important;
    background: rgba(16, 16, 16, 0.86) !important;
    box-shadow: none !important;
}

.firm-profile .profile-panel,
.firm-profile .profile-availability-summary,
.firm-profile .profile-availability-priority,
.firm-profile .profile-dossier-panel,
.firm-profile .profile-score-card,
.firm-profile .profile-action-card {
    padding: 20px;
}

.firm-profile .profile-fact-grid,
.firm-profile .profile-review-grid,
.firm-profile .profile-pros-grid,
.firm-profile .profile-alternative-grid,
.firm-profile .profile-faq-list,
.firm-profile .profile-dossier-grid,
.firm-profile .profile-evidence-grid,
.firm-profile .profile-reputation-grid {
    gap: 12px;
}

.firm-profile .profile-section-head {
    max-width: 820px;
}

.firm-profile .profile-section-head p,
.firm-profile .trust-section > p {
    max-width: 840px;
}

.firm-profile .profile-fact,
.firm-profile .profile-review-card,
.firm-profile .profile-pro-card,
.firm-profile .profile-alt-card,
.firm-profile .profile-faq-item {
    padding: 16px;
}

.firm-profile .profile-fact span,
.firm-profile .profile-review-card span,
.firm-profile .profile-pro-card span,
.firm-profile .profile-alt-card span,
.firm-profile .profile-availability-summary > span,
.firm-profile .profile-availability-priority > span,
.firm-profile .profile-country-strip-head span,
.firm-profile .profile-dossier-card span,
.firm-profile .profile-dossier-panel > h3,
.firm-profile .profile-country-card-head span,
.firm-profile .profile-reputation-card span {
    color: rgba(245, 245, 245, 0.48) !important;
}

.firm-profile .profile-fact strong,
.firm-profile .profile-review-card strong,
.firm-profile .profile-pro-card strong,
.firm-profile .profile-alt-card strong,
.firm-profile .profile-faq-item h3,
.firm-profile .profile-availability-summary h3,
.firm-profile .profile-availability-priority h3,
.firm-profile .profile-country-strip-head h3,
.firm-profile .profile-country-card-head strong,
.firm-profile .profile-availability-stat b,
.firm-profile .profile-dossier-card strong,
.firm-profile .profile-dossier-panel strong,
.firm-profile .profile-dossier-panel b,
.firm-profile .profile-reputation-card strong {
    color: var(--pfm-text) !important;
}

.firm-profile .profile-review-card p,
.firm-profile .profile-pro-card p,
.firm-profile .profile-pro-card li,
.firm-profile .profile-alt-card p,
.firm-profile .profile-faq-item p,
.firm-profile .profile-availability-summary p,
.firm-profile .profile-availability-priority p,
.firm-profile .profile-country-strip-head p,
.firm-profile .profile-country-card p,
.firm-profile .profile-country-card-meta,
.firm-profile .profile-availability-stat span,
.firm-profile .profile-checklist li,
.firm-profile .profile-dossier-card p,
.firm-profile .profile-dossier-line span,
.firm-profile .profile-reputation-card p {
    color: rgba(245, 245, 245, 0.62) !important;
}

.firm-profile .profile-status--mapped {
    border: 1px solid var(--pfm-accent-line);
    background: var(--pfm-accent-soft);
    color: #b9f3e9;
}

.firm-profile .profile-status--pending {
    border: 1px solid rgba(245, 200, 92, 0.28);
    background: var(--pfm-yellow-soft);
    color: #ffe2a0;
}

.firm-profile .profile-availability-layout {
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
    gap: 14px;
}

.firm-profile .profile-availability-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.firm-profile .profile-availability-stat {
    min-height: 86px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.035) !important;
}

.firm-profile .profile-country-strip {
    margin-top: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.firm-profile .profile-country-strip-head {
    max-width: 820px;
}

.firm-profile .profile-country-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.firm-profile .profile-country-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.firm-profile .profile-country-card {
    min-height: 0;
    padding: 14px;
    gap: 9px;
}

.firm-profile .profile-country-card--mapped {
    border-color: rgba(77, 171, 154, 0.24) !important;
    background: rgba(77, 171, 154, 0.075) !important;
}

.firm-profile .profile-country-card--verify,
.firm-profile .profile-country-card--unknown,
.firm-profile .profile-country-card--empty {
    border-color: rgba(245, 200, 92, 0.26) !important;
    background: rgba(245, 200, 92, 0.08) !important;
}

.firm-profile .profile-country-card--unavailable {
    border-color: rgba(248, 113, 113, 0.30) !important;
    background: rgba(248, 113, 113, 0.10) !important;
}

.firm-profile .profile-country-card--quick,
.firm-profile .profile-country-card--mini {
    padding: 12px;
}

.firm-profile .profile-country-card--quick p,
.firm-profile .profile-country-card--mini p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.firm-profile .profile-country-card--mini {
    gap: 7px;
    font-size: 12px;
}

.firm-profile .profile-country-card--mini .profile-country-card-meta {
    display: none;
}

.firm-profile .profile-country-chip-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.firm-profile .profile-country-chip {
    display: grid;
    gap: 5px;
    min-height: 62px;
    padding: 11px 12px;
    border: 1px solid var(--pfm-line);
    border-radius: var(--pfm-radius-sm);
    background: rgba(255, 255, 255, 0.04);
}

.firm-profile .profile-country-chip > span {
    color: rgba(245, 245, 245, 0.58);
    font-size: 12px;
    font-weight: 820;
    line-height: 1;
}

.firm-profile .profile-country-chip strong {
    color: var(--pfm-text);
    font-size: 12px;
    line-height: 1.2;
}

.firm-profile .profile-country-chip--mapped {
    border-color: rgba(77, 171, 154, 0.20);
    background: rgba(77, 171, 154, 0.07);
}

.firm-profile .profile-country-chip--verify,
.firm-profile .profile-country-chip--unknown {
    border-color: rgba(245, 200, 92, 0.24);
    background: rgba(245, 200, 92, 0.075);
}

.firm-profile .profile-country-chip--unavailable {
    border-color: rgba(248, 113, 113, 0.28);
    background: rgba(248, 113, 113, 0.09);
}

.firm-profile .profile-country-all {
    margin-top: 12px;
    overflow: hidden;
    background: transparent !important;
}

.firm-profile .profile-country-all summary {
    min-height: 42px;
    padding: 12px 14px;
    color: rgba(245, 245, 245, 0.82) !important;
    list-style-position: inside;
}

.firm-profile .profile-country-all[open] summary {
    border-bottom-color: var(--pfm-line) !important;
}

.firm-profile .profile-country-all .profile-country-grid {
    padding: 12px;
}

.firm-profile .profile-link-card,
.firm-profile .profile-alt-card {
    text-decoration: none;
}

.firm-profile .profile-review-card,
.firm-profile .profile-faq-item,
.firm-profile .profile-alt-card {
    min-height: 0;
}

.firm-profile .profile-checklist {
    gap: 8px;
}

.firm-profile .profile-checklist li {
    padding: 13px 14px;
}

.trust-callout {
    padding: 20px;
    color: rgba(245, 245, 245, 0.70);
}

.trust-callout strong {
    color: var(--pfm-text);
}

.pf-no-results,
.offer-no-results,
.challenge-no-results {
    border-color: var(--pfm-line-strong);
    border-radius: var(--pfm-radius);
    color: rgba(245, 245, 245, 0.66);
}

@media (max-width: 1180px) {
    .pf-board-toolbar {
        margin-bottom: 12px;
        padding: 16px;
        border: 1px solid var(--pfm-line) !important;
        border-radius: var(--pfm-radius) !important;
        background: rgba(16, 16, 16, 0.72) !important;
    }

    .pf-board,
    .pf-board thead,
    .pf-board tbody,
    .pf-board tr,
    .pf-board td {
        display: block;
        width: 100% !important;
    }

    .pf-board thead {
        display: none;
    }

    .pf-board tbody {
        display: grid;
        gap: 12px;
    }

    .pf-board-row {
        overflow: hidden;
        border: 1px solid var(--pfm-line);
        border-radius: var(--pfm-radius);
        background: rgba(16, 16, 16, 0.78);
    }

    .pf-board-row.is-hidden {
        display: none !important;
    }

    .pf-board-row--featured {
        border-color: rgba(245, 200, 92, 0.30);
        box-shadow: inset 2px 0 0 rgba(245, 200, 92, 0.70);
    }

    .pf-board td {
        display: grid;
        grid-template-columns: 124px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 12px 14px !important;
        border: 0 !important;
    }

    .pf-board td + td {
        border-top: 1px solid var(--pfm-line) !important;
    }

    .pf-board td::before {
        content: attr(data-label);
        color: rgba(245, 245, 245, 0.42);
        font-size: 10px;
        font-weight: 860;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .pf-board td[data-label="Firm"] {
        display: block;
        padding: 15px 14px !important;
    }

    .pf-board td[data-label="Firm"]::before {
        display: none;
    }

    .pf-board-row--featured td:first-child {
        box-shadow: none;
    }

    .pf-board-firm {
        width: 100%;
    }

    .pf-score-cell,
    .pf-platform-list,
    .pf-board-tags {
        justify-content: flex-start;
        max-width: none;
    }

    .pf-allocation strong,
    .pf-allocation em {
        text-align: left;
    }

    .pf-offer-cell {
        grid-template-columns: minmax(128px, 0.78fr) minmax(0, 1fr);
        align-items: center;
    }
}

@media (max-width: 1100px) {
    .pf-page .trust-hero,
    .offers-page .trust-hero,
    .challenge-page .trust-hero,
    .firm-profile .trust-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .pf-marketplace {
        grid-template-columns: 1fr;
    }

    .pf-fit-head,
    .pf-compare-head,
    .pf-fit-grid,
    .pf-method-grid,
    .profile-hero-metrics,
    .profile-decision-grid,
    .profile-reputation-grid,
    .profile-dossier-grid,
    .profile-evidence-grid,
    .profile-dossier-split {
        grid-template-columns: 1fr;
    }

    .pf-fit-tabs {
        grid-template-columns: 1fr;
    }

    .pf-compare-status {
        width: fit-content;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .pf-board-toolbar {
        padding: 14px;
    }

    .pf-board td {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 8px;
    }

    .pf-board td::before {
        margin-bottom: -2px;
    }

    .pf-offer-cell {
        grid-template-columns: 1fr;
    }

    .pf-offer-cell .pf-board-actions {
        grid-template-columns: 1fr 1fr;
    }

    .pf-offer-cell .pf-board-action {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body:has(.pf-page),
    body:has(.offers-page),
    body:has(.challenge-page),
    body:has(.firm-profile),
    body:has(.matcher-page),
    body:has(.rankings-page) {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .pf-page,
    .offers-page,
    .challenge-page,
    .firm-profile {
        padding-top: 28px;
        overflow-x: hidden;
    }

    .pf-page .container,
    .offers-page .container,
    .challenge-page .container,
    .firm-profile .container {
        width: min(calc(100vw - 32px), var(--pfm-width)) !important;
        max-width: calc(100vw - 32px) !important;
        min-width: 0;
    }

    .firm-profile .container {
        width: min(calc(100vw - 48px), var(--pfm-width)) !important;
        max-width: calc(100vw - 48px) !important;
    }

    .pf-page .trust-hero,
    .offers-page .trust-hero,
    .challenge-page .trust-hero,
    .firm-profile .trust-hero {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: calc(100vw - 48px);
        min-width: 0;
        padding: 28px 0 34px;
        margin-bottom: 26px;
    }

    .pf-page .trust-title,
    .offers-page .trust-title,
    .challenge-page .trust-title,
    .firm-profile .trust-title {
        max-width: 100%;
        font-size: clamp(34px, 10vw, 42px);
        line-height: 1;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .pf-page .trust-section,
    .offers-page .trust-section,
    .challenge-page .trust-section,
    .firm-profile .trust-section {
        padding: 34px 0;
    }

    .pf-command {
        display: none !important;
    }

    .pf-stat-pills,
    .pf-page .trust-inline-links,
    .offers-page .trust-inline-links,
    .challenge-page .trust-inline-links,
    .firm-profile .trust-inline-links {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        max-width: 100%;
        min-width: 0;
    }

    .pf-page .trust-inline-links a,
    .offers-page .trust-inline-links a,
    .challenge-page .trust-inline-links a,
    .firm-profile .trust-inline-links a {
        justify-content: center;
        min-width: 0;
        width: 100%;
        overflow-wrap: anywhere;
    }

    .pf-offer-rail,
    .offers-strip,
    .pf-grid,
    .pf-fit-grid,
    .pf-method-grid,
    .profile-decision-grid,
    .profile-reputation-grid,
    .profile-fact-grid,
    .profile-link-list {
        grid-template-columns: 1fr !important;
    }

    .profile-hero-metrics {
        grid-template-columns: 1fr 1fr !important;
    }

    .profile-hero-metric {
        min-height: 104px;
    }

    .profile-panel,
    .profile-panel--decision,
    .profile-score-card,
    .profile-action-card,
    .profile-page-nav {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .profile-page-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .profile-page-nav::-webkit-scrollbar {
        display: none;
    }

    .profile-score-card-head,
    .profile-score-row {
        grid-template-columns: 1fr;
    }

    .profile-score-row div:first-child {
        justify-content: flex-start;
    }

    .profile-action-list a {
        width: 100%;
    }

    .pf-fit-profile-copy {
        display: grid;
        gap: 6px;
    }

    .profile-country-grid {
        grid-template-columns: 1fr;
    }

    .profile-dossier-line {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pf-board-actions {
        display: grid;
        min-width: 96px;
    }

    .pf-compare-matrix {
        min-width: 760px;
    }

    .pf-compare-dock {
        right: 10px;
        bottom: 10px;
        left: 10px;
        grid-template-columns: 1fr;
        width: calc(100vw - 20px);
        gap: 10px;
    }

    .pf-compare-dock-copy {
        min-width: 0;
    }

    .pf-compare-dock-actions {
        justify-content: space-between;
    }
}

@media (max-width: 520px) {
    .firm-profile .container {
        width: min(320px, calc(100vw - 48px)) !important;
        max-width: min(320px, calc(100vw - 48px)) !important;
        margin-left: 24px;
        margin-right: auto;
    }

    .firm-profile .trust-hero {
        max-width: min(320px, calc(100vw - 48px)) !important;
    }

    .profile-hero-metrics {
        grid-template-columns: 1fr !important;
    }

    .profile-panel-head {
        display: grid;
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 12px;
    }

    .profile-score-badge {
        flex: 0 0 auto;
        justify-self: start;
        width: 78px;
        min-height: 68px;
    }

    .profile-pill-row {
        min-width: 0;
    }

    .profile-pill {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Find My Prop Firm and prop rankings */
.matcher-page,
.rankings-page {
    --matcher-line: rgba(255, 255, 255, 0.10);
    --matcher-line-strong: rgba(255, 255, 255, 0.16);
    --matcher-muted: rgba(245, 245, 245, 0.66);
    --matcher-dim: rgba(245, 245, 245, 0.46);
    --matcher-good: #4dab9a;
    --matcher-warn: #f5c85c;
    --matcher-bad: #f87171;
}

.matcher-page h1,
.matcher-page h2,
.matcher-page h3,
.rankings-page .trust-title,
.rankings-page h2,
.rankings-page h3 {
    letter-spacing: 0;
}

.matcher-shell {
    display: grid;
    gap: 22px;
}

.matcher-workspace {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
    gap: 18px;
    align-items: start;
}

.matcher-stage,
.matcher-results,
.matcher-compare,
.matcher-seo-section,
.matcher-faq,
.rankings-snapshot,
.rankings-card,
.rankings-seo-band article,
.rankings-related-grid a,
.rankings-faq-grid article {
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026));
}

.matcher-stage {
    min-height: 650px;
    padding: clamp(22px, 3vw, 34px);
}

.matcher-kicker,
.matcher-step-label,
.rankings-section-head span,
.matcher-section-head span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border: 1px solid rgba(77, 171, 154, 0.28);
    border-radius: 8px;
    background: rgba(77, 171, 154, 0.10);
    color: #b9f3e9;
    font-size: 11px;
    font-weight: 780;
    text-transform: uppercase;
}

.matcher-stage h1 {
    max-width: 720px;
    margin: 16px 0 0;
    color: #fff;
    font-size: clamp(46px, 6vw, 86px);
    line-height: 0.96;
}

.matcher-stage > p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--matcher-muted);
    font-size: 18px;
    line-height: 1.55;
}

.matcher-progress {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 30px 0;
}

.matcher-progress span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

.matcher-progress span.is-active {
    background: linear-gradient(90deg, var(--matcher-good), #b6f4a8);
}

.matcher-form {
    display: grid;
    gap: 20px;
}

.matcher-step {
    display: none;
    min-height: 318px;
}

.matcher-step.is-active {
    display: block;
}

.matcher-step h2 {
    max-width: 680px;
    margin: 16px 0 22px;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.06;
}

.matcher-select-label {
    display: block;
    margin-bottom: 8px;
    color: var(--matcher-dim);
    font-size: 12px;
    font-weight: 760;
    text-transform: uppercase;
}

.matcher-step select {
    width: min(100%, 520px);
    height: 54px;
    padding: 0 15px;
    border: 1px solid var(--matcher-line-strong);
    border-radius: 8px;
    background: #0b0b0b;
    color: #fff;
    font: inherit;
    font-weight: 720;
}

.matcher-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.matcher-choice-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.matcher-choice {
    min-height: 86px;
    padding: 14px;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.matcher-choice:hover,
.matcher-choice.is-selected {
    border-color: rgba(77, 171, 154, 0.58);
    background: rgba(77, 171, 154, 0.12);
    transform: translateY(-1px);
}

.matcher-choice span {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.matcher-choice small {
    display: block;
    margin-top: 6px;
    color: var(--matcher-muted);
    font-size: 12px;
    line-height: 1.35;
}

.matcher-choice-grid--compact .matcher-choice {
    min-height: 54px;
}

.matcher-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.matcher-nav {
    min-width: 118px;
    height: 46px;
    border: 1px solid var(--matcher-line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font: inherit;
    font-weight: 780;
    cursor: pointer;
}

.matcher-nav:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.matcher-nav--primary {
    border-color: rgba(77, 171, 154, 0.50);
    background: var(--matcher-good);
    color: #031211;
}

.matcher-results {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 118px);
    overflow: auto;
    padding: 18px;
}

.matcher-results-head,
.matcher-section-head,
.rankings-section-head,
.rankings-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.matcher-results-head span {
    color: var(--matcher-good);
    font-size: 12px;
    font-weight: 840;
    text-transform: uppercase;
}

.matcher-results-head h2,
.matcher-section-head h2,
.rankings-section-head h2 {
    margin: 6px 0 0;
    color: #fff;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.08;
}

.matcher-results-head a,
.matcher-section-head a,
.rankings-section-head a,
.rankings-card-top a,
.rankings-action,
.matcher-compare-card > a,
.matcher-seo-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(77, 171, 154, 0.38);
    border-radius: 8px;
    color: #b9f3e9;
    font-size: 12px;
    font-weight: 820;
    text-decoration: none;
    white-space: nowrap;
}

.rankings-decision-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 190px;
}

.rankings-decision-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(77, 171, 154, 0.30);
    border-radius: 8px;
    background: rgba(77, 171, 154, 0.08);
    color: #b9f3e9;
    font-size: 11px;
    font-weight: 820;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.rankings-decision-links a:hover {
    border-color: rgba(199, 244, 93, 0.45);
    color: #f4ffd0;
}

.matcher-top-list {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.matcher-result {
    display: grid;
    grid-template-columns: 34px 48px minmax(0, 1fr) 52px;
    gap: 10px;
    align-items: center;
    min-height: 76px;
    padding: 10px;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
}

.matcher-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(77, 171, 154, 0.25);
    border-radius: 999px;
    color: #b9f3e9;
    font-size: 12px;
    font-weight: 850;
}

.matcher-result-logo,
.rankings-firm > span,
.rankings-mini-logos span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid var(--matcher-line-strong);
    border-radius: 8px;
    background: #050505;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.matcher-result-logo img,
.rankings-firm > span img,
.rankings-mini-logos img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.matcher-result-main {
    min-width: 0;
}

.matcher-result-main a {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
}

.matcher-result-main span,
.matcher-result-main small,
.matcher-compare-card p,
.rankings-table small {
    display: block;
    overflow-wrap: anywhere;
    color: var(--matcher-muted);
    font-size: 12px;
    line-height: 1.3;
}

.matcher-result-main small {
    color: rgba(245, 245, 245, 0.52);
}

.matcher-result > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(77, 171, 154, 0.38);
    border-radius: 999px;
    background: rgba(77, 171, 154, 0.13);
    color: #d9fff7;
    font-size: 15px;
}

.matcher-availability {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-top: 5px;
    padding: 3px 7px;
    border: 1px solid rgba(245, 200, 92, 0.35);
    border-radius: 8px;
    color: #ffe7a5;
    font-size: 11px;
    font-weight: 760;
}

.matcher-availability--blocked {
    border-color: rgba(248, 113, 113, 0.38);
    color: #fecaca;
}

.matcher-compare {
    padding: 22px;
}

.matcher-compare-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.matcher-compare-card {
    display: grid;
    gap: 14px;
    min-height: 100%;
    padding: 14px;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
}

.matcher-compare-top {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
}

.matcher-compare-top .matcher-result-logo {
    width: 46px;
    height: 46px;
}

.matcher-compare-top h3 {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.matcher-compare-top strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(77, 171, 154, 0.14);
    color: #d9fff7;
}

.matcher-compare-card dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.matcher-compare-card dl div {
    display: grid;
    gap: 2px;
}

.matcher-compare-card dt {
    color: var(--matcher-dim);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.matcher-compare-card dd {
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.matcher-seo-section,
.matcher-faq {
    padding: 24px;
}

.matcher-seo-section > h2,
.matcher-faq > h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(26px, 4vw, 40px);
}

.matcher-seo-section > p {
    max-width: 980px;
    color: var(--matcher-muted);
    font-size: 16px;
    line-height: 1.7;
}

.matcher-seo-grid,
.matcher-faq-grid,
.rankings-path-grid,
.rankings-faq-grid,
.rankings-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.matcher-seo-grid article,
.matcher-faq-grid article {
    min-height: 180px;
    padding: 18px;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
}

.matcher-seo-grid h3,
.matcher-faq-grid h3,
.rankings-path-grid h3,
.rankings-faq-grid h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
}

.matcher-seo-grid p,
.matcher-faq-grid p,
.rankings-path-grid p,
.rankings-faq-grid p,
.rankings-related-grid span {
    margin: 0;
    color: var(--matcher-muted);
    font-size: 14px;
    line-height: 1.55;
}

.matcher-seo-grid a {
    width: fit-content;
    margin-top: 16px;
}

.matcher-link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.matcher-link-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
}

.rankings-hero .trust-title {
    max-width: 980px;
    line-height: 0.98;
}

.rankings-snapshot {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px;
    align-self: stretch;
}

.rankings-snapshot strong {
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 0.95;
}

.rankings-snapshot span {
    margin-bottom: 10px;
    color: var(--matcher-muted);
    line-height: 1.4;
}

.rankings-intent-map,
.rankings-list-section,
.rankings-seo-band,
.rankings-related,
.rankings-faq {
    padding: 24px;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.026);
}

.rankings-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.rankings-card {
    min-height: 222px;
    padding: 18px;
}

.rankings-card-top span {
    color: var(--matcher-good);
    font-size: 12px;
    font-weight: 820;
    text-transform: uppercase;
}

.rankings-card h3 {
    margin: 18px 0 10px;
    color: #fff;
    font-size: clamp(20px, 3vw, 28px);
}

.rankings-card p {
    margin: 0;
    color: var(--matcher-muted);
    line-height: 1.58;
}

.rankings-mini-logos {
    display: flex;
    gap: 0;
    margin-top: 18px;
}

.rankings-mini-logos span {
    width: 38px;
    height: 38px;
    margin-right: -8px;
    background: #050505;
}

.rankings-path-grid article,
.rankings-faq-grid article {
    min-height: 178px;
    padding: 18px;
}

.rankings-path-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(77, 171, 154, 0.14);
    color: #b9f3e9;
    font-weight: 850;
}

.rankings-table-wrap {
    margin-top: 18px;
    overflow-x: auto;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
}

.rankings-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}

.rankings-table th {
    padding: 13px 14px;
    border-bottom: 1px solid var(--matcher-line);
    background: rgba(255, 255, 255, 0.045);
    color: var(--matcher-dim);
    font-size: 11px;
    font-weight: 850;
    text-align: left;
    text-transform: uppercase;
}

.rankings-table td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--matcher-line);
    color: rgba(245, 245, 245, 0.88);
    font-size: 14px;
    line-height: 1.45;
    vertical-align: middle;
}

.rankings-table tbody tr:last-child td {
    border-bottom: 0;
}

.rankings-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(77, 171, 154, 0.28);
    border-radius: 999px;
    color: #b9f3e9;
    font-weight: 850;
}

.rankings-firm {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: #fff;
    font-weight: 850;
    text-decoration: none;
}

.rankings-firm strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rankings-availability {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 3px 7px;
    border: 1px solid rgba(245, 200, 92, 0.35);
    border-radius: 8px;
    color: #ffe7a5;
    font-size: 11px;
    font-style: normal;
    font-weight: 760;
}

.rankings-availability--unavailable {
    border-color: rgba(248, 113, 113, 0.38);
    color: #fecaca;
}

.rankings-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.rankings-chip-list span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    font-size: 12px;
}

.rankings-related-grid a {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 16px;
    color: #fff;
    text-decoration: none;
}

.rankings-related-grid strong {
    color: #fff;
    font-size: 17px;
}

@media (max-width: 1180px) {
    .matcher-workspace,
    .rankings-page .trust-hero {
        grid-template-columns: 1fr;
    }

    .matcher-results {
        position: static;
        max-height: none;
    }

    .matcher-compare-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .matcher-page,
    .rankings-page {
        padding-top: 28px;
    }

    .matcher-stage {
        min-height: auto;
    }

    .matcher-choice-grid,
    .matcher-choice-grid--compact,
    .matcher-seo-grid,
    .matcher-faq-grid,
    .rankings-card-grid,
    .rankings-path-grid,
    .rankings-faq-grid,
    .rankings-related-grid {
        grid-template-columns: 1fr;
    }

    .matcher-compare-grid {
        grid-template-columns: 1fr;
    }

    .rankings-table,
    .rankings-table thead,
    .rankings-table tbody,
    .rankings-table tr,
    .rankings-table th,
    .rankings-table td {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .rankings-table thead {
        display: none;
    }

    .rankings-table tr {
        padding: 14px;
        border-bottom: 1px solid var(--matcher-line);
    }

    .rankings-table td {
        padding: 8px 0;
        border-bottom: 0;
    }

    .rankings-table td::before {
        display: block;
        margin-bottom: 4px;
        color: var(--matcher-dim);
        font-size: 10px;
        font-weight: 850;
        text-transform: uppercase;
    }

    .rankings-table td:nth-child(1)::before { content: "Rank"; }
    .rankings-table td:nth-child(2)::before { content: "Firm"; }
    .rankings-table td:nth-child(3)::before { content: "TSB Fit"; }
    .rankings-table td:nth-child(4)::before { content: "Why it ranks"; }
    .rankings-table td:nth-child(5)::before { content: "Platforms"; }
    .rankings-table td:nth-child(6)::before { content: "Max Scale"; }
    .rankings-table td:nth-child(7)::before { content: "Promo"; }
    .rankings-table td:nth-child(8)::before { content: "Decision links"; }
}

@media (max-width: 560px) {
    .matcher-stage,
    .matcher-results,
    .matcher-compare,
    .matcher-seo-section,
    .matcher-faq,
    .rankings-intent-map,
    .rankings-list-section,
    .rankings-seo-band,
    .rankings-related,
    .rankings-faq {
        padding: 16px;
    }

    .matcher-stage h1 {
        font-size: 44px;
    }

    .matcher-result {
        grid-template-columns: 32px 42px minmax(0, 1fr);
    }

    .matcher-result > strong {
        grid-column: 3;
        width: fit-content;
        height: 28px;
        padding: 0 10px;
        border-radius: 8px;
    }

    .matcher-results-head,
    .matcher-section-head,
    .rankings-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Final product pass for the main prop-firms marketplace.
   Keep this at the end: it flattens the older MVP surface without touching data logic. */
.pf-page {
    background:
        radial-gradient(circle at 14% 0%, rgba(77, 171, 154, 0.08), transparent 30%),
        linear-gradient(180deg, #050606 0%, #070908 42%, #050606 100%) !important;
}

.pf-page .container {
    width: min(1320px, calc(100vw - 64px));
}

.pf-page .trust-hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    margin-bottom: 26px;
    padding: 32px 0 46px;
}

.pf-page .trust-title {
    max-width: 760px;
    font-size: clamp(44px, 5.2vw, 72px);
    line-height: 0.96;
}

.pf-page .trust-subtitle {
    max-width: 680px;
    margin-top: 18px;
    color: rgba(245, 245, 245, 0.66);
    font-size: 16px;
}

.pf-page .trust-eyebrow {
    min-height: 22px;
    margin-bottom: 14px;
    padding: 0 8px;
    border-radius: 6px !important;
    background: rgba(77, 171, 154, 0.08);
    color: rgba(185, 243, 233, 0.86);
    font-size: 10px;
    letter-spacing: 0.10em;
}

.pf-stat-pills {
    gap: 8px;
    margin-top: 18px;
}

.pf-stat-pill {
    min-height: 26px;
    padding: 0 9px;
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.032);
    color: rgba(245, 245, 245, 0.62);
    font-size: 11px;
}

.pf-stat-pill strong {
    color: rgba(245, 245, 245, 0.92);
}

.pf-page .trust-inline-links {
    gap: 8px;
    margin-top: 20px;
}

.pf-page .trust-inline-links a {
    min-height: 32px;
    padding: 0 10px;
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(245, 245, 245, 0.70);
    font-size: 12px;
}

.pf-command {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.pf-command-inner {
    gap: 10px;
}

.pf-command-top,
.pf-terminal-dots,
.pf-command-label {
    display: none !important;
}

.pf-snapshot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pf-snapshot-card {
    min-height: 94px;
    padding: 14px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.pf-snapshot-card strong {
    font-size: 30px;
    line-height: 1;
}

.pf-snapshot-card span {
    font-size: 11px;
    line-height: 1.35;
}

.pf-note {
    padding: 13px 14px;
    border-color: rgba(77, 171, 154, 0.16);
    background: rgba(77, 171, 154, 0.06);
    color: rgba(245, 245, 245, 0.64);
    font-size: 12px;
}

.pf-note strong {
    display: inline;
    margin: 0;
    font-size: 12px;
}

.pf-marketplace {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 18px;
    margin: 20px 0 18px;
    padding: 20px 0 34px;
    border-bottom: 1px solid var(--pfm-line);
}

.pf-market-card,
.pf-watch-card {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.pf-section-kicker {
    margin-bottom: 12px;
}

.pf-section-kicker span {
    color: rgba(245, 245, 245, 0.82);
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.pf-section-kicker a {
    color: rgba(185, 243, 233, 0.88);
    font-size: 12px;
}

.pf-offer-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pf-mini-offer,
.pf-watch-item,
.pf-fit-card,
.pf-method-card {
    border-color: rgba(255, 255, 255, 0.075) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.032) !important;
}

.pf-mini-offer {
    min-height: 142px;
    padding: 13px;
}

.pf-mini-offer strong {
    color: rgba(245, 245, 245, 0.92) !important;
    font-size: 18px;
}

.pf-mini-offer small {
    margin-bottom: 10px;
    color: rgba(245, 245, 245, 0.52) !important;
}

.pf-mini-offer a,
.pf-link-primary,
.pf-board-action,
.offer-link,
.challenge-action,
.pf-watch-action {
    min-height: 32px;
    border: 0 !important;
    border-radius: 7px !important;
    background: var(--pfm-accent) !important;
    color: #041615 !important;
}

.pf-watch-list {
    gap: 8px;
}

.pf-watch-item {
    padding: 10px;
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.pf-watch-rank {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(245, 245, 245, 0.78);
}

.pf-watch-action {
    justify-self: end;
    width: auto;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(77, 171, 154, 0.22) !important;
    border-radius: 7px !important;
    background: rgba(77, 171, 154, 0.08) !important;
    color: rgba(185, 243, 233, 0.88) !important;
}

.pf-fit-lab {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
}

.pf-fit-head {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
}

.pf-fit-tabs {
    gap: 8px;
}

.pf-fit-tab {
    min-height: 58px;
    padding: 11px 12px;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.032);
}

.pf-fit-tab.is-active,
.pf-fit-tab:hover {
    background: rgba(77, 171, 154, 0.10);
}

.pf-fit-card {
    min-height: 214px;
    padding: 16px;
}

.pf-fit-score {
    width: 46px;
    height: 46px;
    font-size: 16px;
}

.pf-chip,
.pf-platform-chip,
.pf-status-pill,
.pf-offer-pill {
    border-radius: 6px !important;
}

.pf-favorite,
.pf-favorite.is-saved {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(245, 245, 245, 0.66);
}

#leaderboard {
    padding-top: 42px !important;
}

.pf-market-tabs {
    justify-content: flex-start;
    gap: 7px;
    margin: 18px 0 12px;
}

.pf-market-tab,
.pf-filter {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(245, 245, 245, 0.66);
    font-size: 11px;
}

.pf-market-tab.is-active,
.pf-filter.is-active,
.pf-market-tab:hover,
.pf-filter:hover {
    border-color: rgba(77, 171, 154, 0.24);
    background: rgba(77, 171, 154, 0.10);
    color: rgba(245, 245, 245, 0.92);
}

.pf-advanced-filters {
    grid-template-columns: repeat(6, minmax(120px, 1fr)) auto auto;
    gap: 8px;
    padding: 10px;
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.032);
}

.pf-advanced-filters label {
    gap: 5px;
}

.pf-advanced-filters label > span {
    color: rgba(245, 245, 245, 0.42);
    font-size: 9px;
}

.pf-advanced-filters select,
.pf-clear-filters {
    min-height: 34px;
    border-radius: 7px !important;
    background-color: rgba(5, 6, 6, 0.86);
}

.pf-country-seo-links {
    margin: 10px 0 12px;
}

.pf-country-seo-links span,
.pf-country-seo-links a {
    min-height: 26px;
    border-radius: 6px;
    font-size: 10px;
}

.pf-country-checker {
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    background: transparent;
}

.pf-country-panel,
.pf-country-map-card {
    border-color: rgba(255, 255, 255, 0.075);
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.032);
}

.pf-country-panel {
    padding: 16px;
}

.pf-country-map-card {
    padding: 12px;
}

.pf-country-status {
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.035);
}

.pf-country-status--verify b,
.pf-status-pill--medium,
.challenge-pill--warn,
.offer-badge--warn {
    color: rgba(245, 245, 245, 0.82);
}

.pf-country-map-legend span:nth-child(3)::before,
.pf-country-status--blocked b,
.pf-status-pill--review {
    color: #f2a7a7;
}

.pf-board-shell {
    margin-top: 12px;
}

.pf-board-toolbar {
    padding: 0 0 14px;
}

.pf-board-legend {
    gap: 12px;
}

.pf-board th {
    padding: 12px 12px 10px !important;
    background: rgba(255, 255, 255, 0.018) !important;
}

.pf-board td {
    padding: 17px 12px !important;
}

.pf-board-row--featured td:first-child {
    box-shadow: inset 2px 0 0 rgba(77, 171, 154, 0.36);
}

.pf-promo-box {
    border-color: rgba(77, 171, 154, 0.18);
    background: rgba(77, 171, 154, 0.075);
}

.pf-promo-box span {
    background: rgba(77, 171, 154, 0.10);
    color: rgba(185, 243, 233, 0.90);
}

.pf-allocation-bar span,
.profile-score-track span {
    background: linear-gradient(90deg, var(--pfm-accent), rgba(185, 243, 233, 0.72));
}

.offer-disclosure,
.pf-commercial-note,
.profile-commercial-note {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(245, 245, 245, 0.68);
}

@media (max-width: 1180px) {
    .pf-marketplace,
    .pf-page .trust-hero,
    .pf-fit-head,
    .pf-country-checker {
        grid-template-columns: 1fr;
    }

    .pf-offer-rail,
    .pf-fit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pf-advanced-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .pf-page .container {
        width: min(calc(100vw - 32px), var(--pfm-width));
    }

    .pf-page .trust-hero {
        padding-top: 22px;
    }

    .pf-offer-rail,
    .pf-fit-grid,
    .pf-advanced-filters {
        grid-template-columns: 1fr;
    }

    .pf-marketplace {
        padding-bottom: 26px;
    }
}

@media (max-width: 760px) {
    .firm-profile .profile-availability-layout,
    .firm-profile .profile-availability-stats,
    .firm-profile .profile-country-grid,
    .firm-profile .profile-country-grid--compact,
    .firm-profile .profile-country-chip-grid,
    .firm-profile .profile-dossier-grid,
    .firm-profile .profile-evidence-grid,
    .firm-profile .profile-dossier-split,
    .firm-profile .profile-reputation-grid,
    .firm-profile .profile-pros-grid,
    .firm-profile .profile-alternative-grid,
    .firm-profile .profile-faq-list {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .firm-profile .profile-availability-summary,
    .firm-profile .profile-availability-priority,
    .firm-profile .profile-country-card,
    .firm-profile .profile-faq-item,
    .firm-profile .profile-pro-card,
    .firm-profile .profile-alt-card,
    .firm-profile .profile-review-card {
        width: 100%;
        min-width: 0;
    }

    .firm-profile .profile-country-card--quick p,
    .firm-profile .profile-country-card--mini p {
        -webkit-line-clamp: 3;
    }

    .firm-profile .profile-country-all .profile-country-grid {
        padding: 10px;
    }

    .firm-profile .profile-country-chip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* /prop-firms product workspace pass. Keep last so it wins over older MVP layers. */
.pf-page {
    --pf-hot: #4dab9a;
    --pf-hot-2: #87d8c8;
    --pf-accent: #4dab9a;
    --pf-muted: rgba(239, 244, 242, 0.60);
    --pf-soft: rgba(239, 244, 242, 0.46);
    --pf-line: rgba(255, 255, 255, 0.085);
    --pf-board-surface: #0c0d0d;
    --pf-board-row: #101212;
    background: #050606 !important;
}

.pf-page .container {
    display: flex;
    width: min(1480px, calc(100vw - 48px));
    max-width: 1480px;
    flex-direction: column;
}

.pf-page .container > * {
    order: 50;
}

.pf-page .trust-hero {
    order: 1;
    display: grid;
    overflow: hidden;
    grid-template-areas: "main";
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    margin: 18px 0 16px;
    padding: 0;
    border: 1px solid var(--pf-line);
    border-radius: 18px;
    background: #080909;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    text-align: left;
}

.pf-page .trust-hero-main {
    grid-area: main;
    max-width: none;
    padding: clamp(20px, 3vw, 32px);
}

.pf-page .trust-hero-main::before {
    content: "TSB Workspace / Prop Firms";
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-bottom: 14px;
    padding: 0 10px;
    border: 1px solid rgba(77, 171, 154, 0.20);
    border-radius: 7px;
    background: rgba(77, 171, 154, 0.08);
    color: rgba(185, 243, 233, 0.84);
    font-size: 11px;
    font-weight: 850;
}

.pf-page .trust-eyebrow {
    min-height: 22px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(239, 244, 242, 0.42);
    font-size: 10px;
    letter-spacing: 0.16em;
}

.pf-page .trust-title {
    max-width: 740px;
    margin: 0;
    color: #f7faf8;
    font-size: clamp(32px, 3.25vw, 48px);
    letter-spacing: -0.045em;
    line-height: 1.01;
}

.pf-page .trust-subtitle {
    max-width: 720px;
    margin: 10px 0 0;
    color: rgba(239, 244, 242, 0.66);
    font-size: 14px;
    line-height: 1.55;
}

.pf-stat-pills,
.pf-page .trust-inline-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.pf-stat-pills::-webkit-scrollbar,
.pf-page .trust-inline-links::-webkit-scrollbar {
    display: none;
}

.pf-stat-pill,
.pf-page .trust-inline-links a {
    flex: 0 0 auto;
}

.pf-stat-pills {
    gap: 8px;
    margin-top: 18px;
}

.pf-stat-pill {
    min-height: 30px;
    padding: 0 10px;
    border-color: var(--pf-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(239, 244, 242, 0.58);
    font-size: 11px;
    box-shadow: none;
    backdrop-filter: none;
}

.pf-stat-dot {
    width: 6px;
    height: 6px;
    background: #69d4bf;
    box-shadow: 0 0 14px rgba(105, 212, 191, 0.42);
}

.pf-page .trust-inline-links {
    gap: 8px;
    margin-top: 20px;
}

.pf-page .trust-inline-links a {
    min-height: 32px;
    padding: 0 10px;
    border-color: var(--pf-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(239, 244, 242, 0.68);
    font-size: 12px;
    box-shadow: none;
}

.pf-page .trust-inline-links a:hover {
    border-color: rgba(77, 171, 154, 0.28);
    background: rgba(77, 171, 154, 0.10);
    color: #f7faf8;
}

.pf-command {
    grid-area: rail;
    display: block !important;
    min-width: 0;
    padding: 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #0b0c0c !important;
    box-shadow: none !important;
}

.pf-command::before {
    display: none;
}

.pf-command-inner {
    gap: 12px;
}

.pf-command-top {
    display: flex !important;
}

.pf-terminal-dots {
    display: flex !important;
}

.pf-command-label {
    display: block !important;
    color: rgba(239, 244, 242, 0.44);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.pf-snapshot {
    grid-template-columns: 1fr;
    gap: 8px;
}

.pf-snapshot-card {
    min-height: 62px;
    padding: 10px 11px;
    border-color: var(--pf-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.pf-snapshot-card strong {
    color: #f7faf8;
    font-size: 22px;
}

.pf-snapshot-card span {
    margin-top: 4px;
    color: rgba(239, 244, 242, 0.54);
    font-size: 10px;
}

.pf-note {
    padding: 10px 11px;
    border: 1px solid rgba(77, 171, 154, 0.16);
    border-radius: 10px;
    background: rgba(77, 171, 154, 0.06);
    color: rgba(239, 244, 242, 0.58);
    font-size: 11px;
    line-height: 1.42;
}

.pf-note strong {
    color: rgba(239, 244, 242, 0.92);
    font-size: 12px;
}

.pf-page #leaderboard {
    order: 3;
    display: flex;
    flex-direction: column;
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid var(--pf-line);
    border-radius: 18px;
    background: #080909;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.pf-page #leaderboard > h2 {
    order: 1;
    margin: 0;
    color: #f7faf8;
    font-size: clamp(24px, 2.4vw, 34px);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.pf-page #leaderboard > p {
    order: 2;
    max-width: 820px;
    margin: 8px 0 16px;
    color: rgba(239, 244, 242, 0.56);
    font-size: 13px;
    line-height: 1.55;
}

.pf-workspace-bar {
    order: 3;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(96px, 0.18fr)) auto;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 10px;
}

.pf-workspace-search,
.pf-workspace-metric,
.pf-workspace-primary {
    border: 1px solid var(--pf-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.pf-workspace-search {
    display: grid;
    gap: 5px;
    padding: 8px 11px;
}

.pf-workspace-search span,
.pf-workspace-metric small {
    color: rgba(239, 244, 242, 0.42);
    font-size: 10px;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pf-workspace-search .pf-search {
    width: 100%;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f7faf8;
    font-size: 15px;
    outline: 0;
    box-shadow: none;
}

.pf-workspace-search .pf-search::placeholder {
    color: rgba(239, 244, 242, 0.34);
}

.pf-workspace-metric {
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 58px;
    padding: 10px 12px;
}

.pf-workspace-metric strong {
    color: #f7faf8;
    font-size: 21px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.pf-workspace-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 16px;
    border-color: rgba(77, 171, 154, 0.30);
    background: #4dab9a;
    color: #041615;
    font-size: 13px;
    font-weight: 900;
}

.pf-market-tabs {
    order: 4;
    justify-content: flex-start;
    gap: 7px;
    margin: 0 0 10px;
}

.pf-market-tab,
.pf-filter {
    min-height: 32px;
    padding: 0 10px;
    border-color: var(--pf-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(239, 244, 242, 0.60);
    font-size: 11px;
    box-shadow: none;
    transform: none;
}

.pf-market-tab:hover,
.pf-filter:hover,
.pf-filter.is-active,
.pf-market-tab.is-active {
    transform: none;
    border-color: rgba(77, 171, 154, 0.28);
    background: rgba(77, 171, 154, 0.11);
    color: #f7faf8;
}

.pf-advanced-filters {
    order: 5;
    grid-template-columns: repeat(6, minmax(112px, 1fr)) minmax(136px, auto) auto;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px;
    border-color: var(--pf-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.pf-advanced-filters label > span {
    color: rgba(239, 244, 242, 0.38);
    font-size: 9px;
}

.pf-advanced-filters select,
.pf-clear-filters,
.pf-availability-toggle {
    min-height: 34px;
    border-color: rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    background: #0b0c0c;
    color: rgba(239, 244, 242, 0.78);
    font-size: 11px;
}

.pf-board-shell {
    order: 6;
    overflow: hidden !important;
    margin-top: 0;
    border-color: var(--pf-line);
    border-radius: 14px;
    background: var(--pf-board-surface);
    box-shadow: none;
}

.pf-board-toolbar {
    padding: 12px 14px;
    border-bottom-color: var(--pf-line);
    background: rgba(255, 255, 255, 0.025);
}

.pf-board-toolbar p {
    max-width: 78ch;
    color: rgba(239, 244, 242, 0.50);
    font-size: 12px;
    line-height: 1.45;
}

.pf-board-legend {
    gap: 6px;
}

.pf-board-legend span {
    min-height: 26px;
    border-color: var(--pf-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(239, 244, 242, 0.58);
    font-size: 10px;
}

.pf-board-wrap {
    max-height: min(860px, calc(100vh - 150px));
    overflow: auto !important;
    scrollbar-color: rgba(77, 171, 154, 0.50) rgba(255, 255, 255, 0.05);
}

.pf-board {
    min-width: 1320px !important;
    padding: 0;
    border-spacing: 0;
    table-layout: auto;
}

.pf-board th {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 11px 12px !important;
    border-bottom: 1px solid var(--pf-line) !important;
    background: #0b0c0c !important;
    color: rgba(239, 244, 242, 0.42);
    font-size: 10px;
    letter-spacing: 0.09em;
}

.pf-board td {
    padding: 13px 12px !important;
    border-top: 0;
    border-bottom: 1px solid var(--pf-line);
    background: var(--pf-board-row);
    color: rgba(239, 244, 242, 0.62);
}

.pf-board tr:hover td {
    background: #131616;
}

.pf-board tr td:first-child,
.pf-board tr td:last-child {
    border-radius: 0;
}

.pf-board-row--featured td {
    border-color: rgba(245, 200, 92, 0.16);
    background: rgba(245, 200, 92, 0.055);
}

.pf-board-row--review td {
    background: rgba(255, 255, 255, 0.026);
}

.pf-board-row--featured td:first-child {
    box-shadow: inset 3px 0 0 rgba(245, 200, 92, 0.65);
}

.pf-board-rank,
.pf-score-badge,
.pf-years-ring {
    border-color: rgba(77, 171, 154, 0.25);
    background: rgba(77, 171, 154, 0.08);
    color: rgba(185, 243, 233, 0.90);
}

.pf-score-badge {
    width: 42px;
    height: 42px;
    font-size: 13px;
}

.pf-years-ring {
    width: auto;
    min-width: 42px;
    height: 30px;
    padding: 0 12px;
    background: rgba(77, 171, 154, 0.08);
}

.pf-years-ring::before {
    display: none;
}

.pf-logo--market {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 10px;
}

.pf-logo--market img {
    width: 32px;
    height: 32px;
}

.pf-score-stars {
    color: #69d4bf;
    letter-spacing: 0.02em;
}

.pf-promo-box {
    min-width: 112px;
    border-color: rgba(245, 200, 92, 0.28);
    border-radius: 8px;
    background: rgba(245, 200, 92, 0.075);
    box-shadow: none;
}

.pf-promo-box span {
    background: rgba(245, 200, 92, 0.13);
    color: #f8d57a;
}

.pf-promo-box b {
    color: rgba(239, 244, 242, 0.74);
}

.pf-mini-offer a,
.pf-watch-action,
.pf-board-action,
.pf-link-primary {
    background: #4dab9a;
    color: #041615;
    box-shadow: none;
}

.pf-country-seo-links {
    order: 7;
    margin: 12px 0 10px;
}

.pf-country-checker {
    order: 8;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.pf-country-panel,
.pf-country-map-card,
.pf-market-card,
.pf-watch-card,
.pf-fit-card,
.pf-method-card,
.pf-page .trust-card {
    border-color: var(--pf-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
    backdrop-filter: none;
}

.pf-country-map-card {
    padding: 12px;
}

.pf-country-map-canvas {
    min-height: 390px;
    border-radius: 10px;
}

.pf-page .container > .pf-marketplace {
    order: 4;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
    margin: 0 0 18px;
    padding: 0;
    border-bottom: 0;
}

.pf-page .container > .pf-money-paths {
    order: 2;
}

.pf-market-card,
.pf-watch-card {
    padding: 16px !important;
    background: #080909 !important;
}

.pf-market-card::before {
    display: none;
}

.pf-section-kicker span {
    color: rgba(239, 244, 242, 0.78);
    font-size: 12px;
}

.pf-section-kicker a {
    color: rgba(185, 243, 233, 0.86);
}

.pf-offer-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pf-mini-offer {
    min-height: 128px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.pf-market-disclosure {
    margin: 12px 0 0;
    color: rgba(239, 244, 242, 0.48);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.pf-watch-item {
    border-radius: 8px !important;
}

.pf-page .container > .pf-fit-lab {
    order: 5;
}

#fit-score {
    order: 6;
}

#compare {
    order: 7;
}

.pf-page .container > .pf-tools-section {
    order: 8;
}

.pf-page .container > .pf-faq-section {
    order: 9;
}

.pf-money-paths {
    margin: 0;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

.pf-money-paths .pf-compare-head {
    align-items: end;
    gap: 16px;
    margin-bottom: 14px;
}

.pf-money-paths .pf-compare-head h2 {
    max-width: 760px;
    font-size: clamp(24px, 2.25vw, 34px);
    line-height: 1.04;
}

.pf-money-paths .pf-compare-head p {
    max-width: 720px;
    font-size: 13px;
    line-height: 1.5;
}

.pf-money-grid {
    gap: 10px;
}

.pf-money-cluster {
    min-height: 100%;
    padding: 14px;
    border-color: var(--pf-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
}

.pf-money-cluster h3 {
    color: var(--pf-strong);
    font-size: 17px;
    letter-spacing: 0;
}

.pf-money-link {
    min-height: 52px;
    border-color: rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.026);
}

.pf-money-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.pf-money-link {
    min-height: 48px;
    padding: 9px;
}

.pf-money-link:hover {
    border-color: rgba(84, 196, 178, 0.30);
    background: rgba(84, 196, 178, 0.075);
}

.pf-money-link strong {
    color: rgba(239, 244, 242, 0.90);
}

.pf-money-link span {
    color: rgba(185, 243, 233, 0.74);
}

.pf-money-more {
    display: grid;
    gap: 8px;
}

.pf-money-more summary {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.028);
    color: rgba(185, 243, 233, 0.78);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    list-style: none;
}

.pf-money-more summary::-webkit-details-marker {
    display: none;
}

.pf-money-more summary::after {
    content: "+";
    margin-left: 8px;
    color: rgba(239, 244, 242, 0.48);
}

.pf-money-more[open] summary::after {
    content: "-";
}

.pf-money-more-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.pf-fit-lab,
.pf-score-method,
.pf-compare-lab,
.pf-page .trust-section:not(#leaderboard) {
    padding: 34px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    box-shadow: none;
}

.pf-fit-head {
    grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
    gap: 18px;
}

.pf-fit-tabs {
    gap: 8px;
}

.pf-fit-tab {
    min-height: 54px;
    border-radius: 9px;
}

.pf-fit-grid {
    gap: 10px;
}

@media (max-width: 1180px) {
    .pf-page .trust-hero,
    .pf-workspace-bar,
    .pf-marketplace,
    .pf-money-grid,
    .pf-fit-head,
    .pf-country-checker {
        grid-template-columns: 1fr;
    }

    .pf-page .trust-hero {
        grid-template-areas: "main";
    }

    .pf-page .trust-hero-main {
        border-bottom: 0;
    }

    .pf-snapshot {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pf-workspace-primary {
        min-height: 46px;
    }
}

@media (max-width: 760px) {
    .pf-page .container {
        width: min(100vw - 28px, 1480px);
    }

    .pf-money-paths {
        overflow: hidden;
    }

    .pf-money-paths .pf-compare-head {
        gap: 10px;
        margin-bottom: 12px;
    }

    .pf-money-paths .pf-compare-head h2 {
        font-size: 28px;
    }

    .pf-money-paths .pf-compare-status {
        display: none;
    }

    .pf-money-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .pf-money-grid::-webkit-scrollbar {
        display: none;
    }

    .pf-money-cluster {
        width: min(82vw, 320px);
        min-width: min(82vw, 320px);
        scroll-snap-align: start;
    }

    .pf-money-links {
        grid-template-columns: 1fr;
    }

    .pf-money-more-links {
        grid-template-columns: 1fr;
    }

    .pf-page .trust-hero {
        grid-template-areas: "main";
        border-radius: 14px;
    }

    .pf-command {
        display: none !important;
    }

    .pf-page .trust-hero-main,
    .pf-page #leaderboard {
        padding: 14px !important;
    }

    .pf-page .trust-title {
        width: 100%;
        max-width: 100%;
        font-size: clamp(34px, 10vw, 42px);
        letter-spacing: -0.035em;
    }

    .pf-page .trust-subtitle,
    .pf-page .trust-hero-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .pf-stat-pills {
        display: none;
    }

    .pf-page .trust-inline-links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-top: 14px;
        padding-bottom: 2px;
    }

    .pf-page .trust-inline-links a {
        width: auto !important;
        min-width: max-content;
        min-height: 34px;
        padding: 0 12px;
        white-space: nowrap;
    }

    .pf-workspace-bar {
        grid-template-columns: minmax(0, 1fr);
    }

    .pf-workspace-metric {
        display: none;
    }

    .pf-workspace-primary {
        min-height: 44px;
    }

    .pf-market-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .pf-market-tabs::-webkit-scrollbar {
        display: none;
    }

    .pf-snapshot,
    .pf-offer-rail,
    .pf-fit-grid,
    .pf-advanced-filters,
    .pf-country-status-grid {
        grid-template-columns: 1fr;
    }

    .pf-advanced-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pf-availability-toggle,
    .pf-clear-filters {
        width: auto;
    }

    .pf-board-wrap {
        max-height: none;
        overflow: visible !important;
    }

    .pf-board {
        min-width: 0 !important;
    }

    .pf-board th {
        position: static;
    }

}

.pf-board-row--rank-1 {
    background:
        linear-gradient(90deg, rgba(245, 200, 92, 0.105), rgba(245, 200, 92, 0.035) 42%, rgba(255, 255, 255, 0.012)) !important;
}

.pf-board-row--rank-2 {
    background:
        linear-gradient(90deg, rgba(203, 214, 226, 0.075), rgba(203, 214, 226, 0.026) 42%, rgba(255, 255, 255, 0.012)) !important;
}

.pf-board-row--rank-3 {
    background:
        linear-gradient(90deg, rgba(196, 121, 82, 0.085), rgba(196, 121, 82, 0.028) 42%, rgba(255, 255, 255, 0.012)) !important;
}

.pf-board-row--rank-1:hover {
    background:
        linear-gradient(90deg, rgba(245, 200, 92, 0.145), rgba(245, 200, 92, 0.052) 42%, rgba(255, 255, 255, 0.018)) !important;
}

.pf-board-row--rank-2:hover {
    background:
        linear-gradient(90deg, rgba(203, 214, 226, 0.108), rgba(203, 214, 226, 0.038) 42%, rgba(255, 255, 255, 0.018)) !important;
}

.pf-board-row--rank-3:hover {
    background:
        linear-gradient(90deg, rgba(196, 121, 82, 0.118), rgba(196, 121, 82, 0.042) 42%, rgba(255, 255, 255, 0.018)) !important;
}

.pf-board-row--rank-1 td,
.pf-board-row--rank-2 td,
.pf-board-row--rank-3 td {
    background: transparent !important;
}

.pf-board-row--rank-1 td {
    border-bottom-color: rgba(245, 200, 92, 0.24) !important;
}

.pf-board-row--rank-2 td {
    border-bottom-color: rgba(203, 214, 226, 0.22) !important;
}

.pf-board-row--rank-3 td {
    border-bottom-color: rgba(196, 121, 82, 0.24) !important;
}

.pf-board-row--rank-1 td:first-child {
    box-shadow: inset 3px 0 0 #f5c85c;
}

.pf-board-row--rank-2 td:first-child {
    box-shadow: inset 3px 0 0 #cbd6e2;
}

.pf-board-row--rank-3 td:first-child {
    box-shadow: inset 3px 0 0 #c47952;
}

.pf-board-row--rank-1 .pf-board-rank {
    border-color: rgba(245, 200, 92, 0.58);
    background: rgba(245, 200, 92, 0.18);
    color: #ffe48b;
}

.pf-board-row--rank-2 .pf-board-rank {
    border-color: rgba(203, 214, 226, 0.48);
    background: rgba(203, 214, 226, 0.13);
    color: #eff6ff;
}

.pf-board-row--rank-3 .pf-board-rank {
    border-color: rgba(196, 121, 82, 0.54);
    background: rgba(196, 121, 82, 0.16);
    color: #ffc5a6;
}

.pf-board-row--rank-1 .pf-logo--market {
    border-color: rgba(245, 200, 92, 0.58);
    box-shadow: 0 0 0 1px rgba(245, 200, 92, 0.18), 0 14px 34px rgba(245, 200, 92, 0.10);
}

.pf-board-row--rank-2 .pf-logo--market {
    border-color: rgba(203, 214, 226, 0.44);
    box-shadow: 0 0 0 1px rgba(203, 214, 226, 0.12);
}

.pf-board-row--rank-3 .pf-logo--market {
    border-color: rgba(196, 121, 82, 0.52);
    box-shadow: 0 0 0 1px rgba(196, 121, 82, 0.14);
}

.pf-board-rank,
.pf-score-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    border-radius: 50% !important;
    box-sizing: border-box;
    line-height: 1 !important;
    white-space: nowrap;
    text-align: center;
    flex-grow: 0;
    flex-shrink: 0;
}

.pf-board-rank {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    font-size: 10px;
}

.pf-score-badge {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    font-size: 13px;
}

.pf-years-ring {
    width: max-content !important;
    min-width: 42px;
    height: 30px !important;
    padding: 0 12px;
    border: 1px solid rgba(77, 171, 154, 0.24);
    border-radius: 999px;
    background: rgba(77, 171, 154, 0.08) !important;
    box-shadow: none;
    color: rgba(185, 243, 233, 0.92);
    justify-self: start;
}

.pf-years-ring::before {
    display: none !important;
}

.pf-years-ring b {
    position: static;
    z-index: auto;
    font-size: 12px;
    line-height: 1;
}

.pf-offer-cell {
    gap: 8px;
}

.pf-offer-cell .pf-board-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    min-width: 132px;
    width: 100%;
}

.pf-offer-cell .pf-board-actions > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 860;
    letter-spacing: 0;
    line-height: 1;
}

.pf-offer-cell .pf-board-actions i,
.pf-offer-cell .pf-board-actions svg {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    stroke-width: 2.4;
}

.pf-offer-cell .pf-board-actions .pf-action-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-offer-cell .pf-favorite,
.pf-offer-cell .pf-compare-toggle {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.035) !important;
    color: rgba(239, 244, 242, 0.62) !important;
}

.pf-offer-cell .pf-favorite:hover,
.pf-offer-cell .pf-compare-toggle:hover,
.pf-offer-cell .pf-favorite.is-saved,
.pf-offer-cell .pf-compare-toggle.is-saved {
    border-color: rgba(77, 171, 154, 0.34);
    background: rgba(77, 171, 154, 0.10);
    color: rgba(185, 243, 233, 0.96);
}

.pf-offer-cell .pf-board-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-height: 36px;
    border: 1px solid rgba(77, 171, 154, 0.32);
    background: rgba(77, 171, 154, 0.10) !important;
    color: rgba(185, 243, 233, 0.94) !important;
    box-shadow: none;
}

.pf-offer-cell .pf-board-action--visit {
    border-color: rgba(77, 171, 154, 0.78);
    background: #4dab9a !important;
    color: #041615 !important;
}

.pf-offer-cell .pf-board-action--profile:last-child {
    grid-column: 1 / -1;
}

.pf-offer-cell .pf-board-action:hover {
    transform: translateY(-1px);
}

.pf-offer-cell .pf-promo-box--public {
    border-color: rgba(77, 171, 154, 0.50);
    background: rgba(77, 171, 154, 0.13);
}

.pf-offer-cell .pf-promo-box--public span {
    background: rgba(77, 171, 154, 0.18);
    color: rgba(185, 243, 233, 0.96);
}

.pf-offer-cell .pf-promo-box--verify {
    border-color: rgba(245, 200, 92, 0.34);
    background: rgba(245, 200, 92, 0.08);
}

.pf-offer-cell .pf-promo-box--verify span {
    background: rgba(245, 200, 92, 0.14);
    color: #f8d57a;
}

.pf-offer-cell .pf-promo-box--partner,
.pf-offer-cell .pf-promo-box--product,
.pf-offer-cell .pf-promo-box--cost {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.045);
}

.pf-offer-cell .pf-promo-box--partner span,
.pf-offer-cell .pf-promo-box--product span,
.pf-offer-cell .pf-promo-box--cost span {
    background: rgba(255, 255, 255, 0.065);
    color: rgba(239, 244, 242, 0.78);
}

.pf-page #leaderboard .pf-board-toolbar {
    border-bottom: 0 !important;
}

.pf-page #leaderboard .pf-board-wrap {
    overflow: visible !important;
}

.pf-board-row.is-board-page-hidden {
    display: none !important;
}

.pf-board-row--top-10:not(.pf-board-row--rank-1):not(.pf-board-row--rank-2):not(.pf-board-row--rank-3) {
    background:
        linear-gradient(90deg, rgba(77, 171, 154, 0.065), rgba(77, 171, 154, 0.018) 44%, rgba(255, 255, 255, 0.01)) !important;
}

.pf-board-row--top-10:not(.pf-board-row--rank-1):not(.pf-board-row--rank-2):not(.pf-board-row--rank-3) td:first-child {
    box-shadow: inset 2px 0 0 rgba(77, 171, 154, 0.34);
}

.pf-board-row--top-10:not(.pf-board-row--rank-1):not(.pf-board-row--rank-2):not(.pf-board-row--rank-3) .pf-board-rank {
    border-color: rgba(77, 171, 154, 0.40);
    background: rgba(77, 171, 154, 0.12);
    color: rgba(185, 243, 233, 0.96);
}

.pf-board-rank img {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
}

.pf-board-rank {
    position: relative;
}

.pf-board-rank b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.pf-board-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(77, 171, 154, 0.22);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(77, 171, 154, 0.12), rgba(77, 171, 154, 0.035) 46%, rgba(255, 255, 255, 0.02)),
        #0a0d0d;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.pf-board-pagination[hidden],
.pf-board-load-more[hidden] {
    display: none !important;
}

.pf-board-pagination span {
    color: rgba(239, 244, 242, 0.76);
    font-size: 13px;
    font-weight: 820;
}

.pf-board-load-more {
    width: min(360px, 42vw);
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(77, 171, 154, 0.62);
    border-radius: 10px;
    background: linear-gradient(135deg, #58c7b7, #2f9d8c);
    color: #061111;
    font: inherit;
    font-size: 14px;
    font-weight: 920;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(77, 171, 154, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.pf-board-load-more:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(77, 171, 154, 0.24);
}

@media (max-width: 760px) {
    .pf-board-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .pf-board-load-more {
        width: 100%;
    }
}

.pf-page #leaderboard {
    margin: 10px 0 22px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pf-page #leaderboard > h2,
.pf-page #leaderboard > p {
    padding-right: 0;
    padding-left: 0;
}

.pf-page #leaderboard > h2 {
    order: 1;
}

.pf-page #leaderboard > p {
    order: 2;
}

.pf-page #leaderboard > .pf-country-checker {
    order: 3;
}

.pf-page #leaderboard > .pf-country-seo-links {
    order: 4;
}

.pf-page #leaderboard > .pf-workspace-bar {
    order: 5;
}

.pf-page #leaderboard > .pf-market-controls {
    order: 6;
}

.pf-page #leaderboard > .pf-advanced-filters {
    order: 7;
}

.pf-page #leaderboard > .pf-board-shell {
    order: 8;
}

.pf-page #leaderboard .pf-board-shell {
    overflow: visible !important;
    margin-top: 22px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pf-page #leaderboard .pf-board-toolbar {
    padding: 0 0 14px;
    border-bottom: 1px solid var(--pf-line);
    background: transparent;
}

.pf-page #leaderboard .pf-board-wrap {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    border: 1px solid var(--pf-line);
    border-radius: 12px;
    background: #090a0a;
}

.pf-page #leaderboard .pf-board {
    background: transparent;
}

.pf-page #leaderboard .pf-board-wrap {
    scrollbar-width: none;
}

.pf-page #leaderboard .pf-board-wrap::-webkit-scrollbar {
    display: none;
}

.pf-board-row--rank-1 .pf-board-rank,
.pf-board-row--rank-2 .pf-board-rank,
.pf-board-row--rank-3 .pf-board-rank {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.pf-board-row--rank-1 .pf-board-rank img,
.pf-board-row--rank-2 .pf-board-rank img,
.pf-board-row--rank-3 .pf-board-rank img {
    width: 32px;
    height: 32px;
}

@media (max-width: 760px) {
    .pf-board-row--rank-1 {
        border-color: rgba(245, 200, 92, 0.30);
        background: rgba(245, 200, 92, 0.08);
    }

    .pf-board-row--rank-2 {
        border-color: rgba(203, 214, 226, 0.24);
        background: rgba(203, 214, 226, 0.055);
    }

    .pf-board-row--rank-3 {
        border-color: rgba(196, 121, 82, 0.28);
        background: rgba(196, 121, 82, 0.065);
    }

    .pf-board-row--rank-1 td:first-child,
    .pf-board-row--rank-2 td:first-child,
    .pf-board-row--rank-3 td:first-child {
        box-shadow: none;
    }
}

.pf-page #leaderboard .pf-workspace-bar {
    grid-template-columns: minmax(360px, 1fr) minmax(310px, 0.72fr) auto;
    gap: 10px;
    align-items: stretch;
    margin: 0 0 12px;
}

.pf-page #leaderboard .pf-workspace-search {
    min-height: 64px;
    padding: 11px 14px;
    border-color: rgba(255, 255, 255, 0.105);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.pf-page #leaderboard .pf-workspace-search .pf-search {
    min-height: 28px;
    font-size: 14px;
}

.pf-workspace-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pf-page #leaderboard .pf-workspace-metric {
    min-height: 64px;
    padding: 11px 12px;
    border-color: rgba(255, 255, 255, 0.085);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.028);
}

.pf-page #leaderboard .pf-workspace-metric strong {
    font-size: 20px;
    line-height: 1;
}

.pf-page #leaderboard .pf-workspace-primary {
    min-width: 116px;
    min-height: 64px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
}

.pf-market-controls {
    order: 4;
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 10px 14px;
    align-items: center;
    margin: 0 0 12px;
}

.pf-market-controls .pf-market-tabs,
.pf-market-controls .pf-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.pf-market-controls .pf-market-tabs {
    order: 0;
    margin: 0;
    padding: 0 14px 0 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-market-controls .pf-quick-filters {
    order: 1;
    justify-content: flex-start;
}

.pf-market-controls .pf-market-tab,
.pf-market-controls .pf-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.pf-market-controls .pf-market-tab {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.032);
    color: rgba(239, 244, 242, 0.60);
}

.pf-market-controls .pf-market-tab.is-active,
.pf-market-controls .pf-filter.is-active {
    border-color: rgba(77, 171, 154, 0.42);
    background: rgba(77, 171, 154, 0.12);
    color: rgba(229, 255, 250, 0.94);
}

.pf-market-controls .pf-filter {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.022);
    color: rgba(239, 244, 242, 0.54);
}

.pf-page #leaderboard .pf-advanced-filters {
    display: grid;
    grid-template-columns: repeat(6, minmax(118px, 1fr)) minmax(126px, auto) 70px;
    gap: 8px;
    align-items: end;
    margin: 0 0 22px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.pf-page #leaderboard .pf-advanced-filters label {
    gap: 6px;
    min-width: 0;
}

.pf-page #leaderboard .pf-advanced-filters label > span {
    padding-left: 2px;
    color: rgba(239, 244, 242, 0.38);
    font-size: 9px;
}

.pf-page #leaderboard .pf-advanced-filters select,
.pf-page #leaderboard .pf-clear-filters,
.pf-page #leaderboard .pf-availability-toggle {
    width: 100%;
    min-height: 34px;
    border-color: rgba(255, 255, 255, 0.085);
    border-radius: 8px;
    background-color: rgba(7, 8, 8, 0.88);
}

.pf-page #leaderboard .pf-availability-toggle {
    align-self: end;
    justify-content: center;
    padding: 0 10px;
}

.pf-page #leaderboard .pf-clear-filters {
    align-self: end;
}

.pf-count-inline {
    display: inline-flex;
    align-items: center;
    margin-left: 3px;
}

.pf-page #leaderboard .pf-country-checker {
    display: grid;
    grid-template-columns: minmax(300px, 0.58fr) minmax(520px, 1fr);
    gap: 0;
    margin: 18px 0 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(77, 171, 154, 0.045), rgba(255, 255, 255, 0.018) 42%, rgba(0, 0, 0, 0.16));
}

.pf-page #leaderboard .pf-country-panel,
.pf-page #leaderboard .pf-country-map-card {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.pf-page #leaderboard .pf-country-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.075);
}

.pf-page #leaderboard .pf-country-checker-copy {
    display: grid;
    gap: 8px;
}

.pf-page #leaderboard .pf-country-checker-copy > span {
    color: rgba(107, 221, 202, 0.88);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.pf-page #leaderboard .pf-country-checker-copy strong {
    max-width: 430px;
    color: #fff;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.03;
}

.pf-page #leaderboard .pf-country-checker-copy p {
    max-width: 500px;
    margin: 0;
    color: rgba(239, 244, 242, 0.62);
    font-size: 13px;
    line-height: 1.5;
}

.pf-page #leaderboard .pf-country-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pf-page #leaderboard .pf-country-status {
    min-height: 86px;
    padding: 12px;
    border-color: rgba(255, 255, 255, 0.085);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.032);
}

.pf-page #leaderboard .pf-country-status b {
    font-size: 23px;
}

.pf-country-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
}

.pf-country-hide-toggle {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(77, 171, 154, 0.34);
    border-radius: 8px;
    background: rgba(77, 171, 154, 0.10);
    color: rgba(219, 255, 249, 0.92);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.pf-country-hide-toggle.is-active {
    border-color: rgba(77, 171, 154, 0.78);
    background: #4dab9a;
    color: #061514;
}

.pf-country-actions > span {
    color: rgba(239, 244, 242, 0.46);
    font-size: 11px;
    line-height: 1.35;
}

.pf-page #leaderboard .pf-country-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pf-page #leaderboard .pf-country-chip {
    width: auto;
    min-width: 42px;
    height: 36px;
    border-radius: 999px;
}

.pf-page #leaderboard .pf-country-map-card {
    padding: 18px 18px 14px;
}

.pf-page #leaderboard .pf-country-map-head {
    margin: 0 0 10px;
}

.pf-page #leaderboard .pf-country-map-canvas {
    min-height: 310px;
    border-color: rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    background: radial-gradient(circle at 50% 50%, rgba(77, 171, 154, 0.09), rgba(5, 8, 8, 0.94) 58%);
}

.pf-page #leaderboard .pf-country-map-chart,
.pf-page #leaderboard .pf-country-map-chart svg {
    width: 100%;
    height: 310px;
}

.pf-page #leaderboard .pf-country-map-chart .datamaps-subunit {
    cursor: default;
    transition: fill 0.16s ease, stroke 0.16s ease, opacity 0.16s ease;
}

.pf-page #leaderboard .pf-country-map-chart .datamaps-subunit.is-tracked {
    cursor: pointer;
}

.pf-page #leaderboard .pf-country-map-chart .datamaps-subunit.is-tracked:hover {
    stroke: rgba(115, 235, 215, 0.72) !important;
    stroke-width: 0.9px !important;
}

.pf-page #leaderboard .pf-country-map-chart .datamaps-subunit.is-selected,
.pf-page #leaderboard .pf-country-map-chart .datamaps-subunit.is-selected:hover {
    stroke: rgba(117, 255, 231, 0.92) !important;
    stroke-width: 1.15px !important;
    filter: drop-shadow(0 0 5px rgba(87, 214, 193, 0.32));
}

.pf-page #leaderboard .pf-country-map-chart .datamaps-subunit.is-untracked:hover {
    stroke: rgba(255, 255, 255, 0.13) !important;
    stroke-width: 0.65px !important;
}

.pf-page #leaderboard .pf-country-map-legend {
    margin-top: 8px;
}

.pf-page #leaderboard .pf-country-seo-links {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
}

.pf-board-row.is-region-unavailable:not(.is-hidden) {
    opacity: 0.72;
}

.pf-card.is-region-unavailable:not(.is-hidden) {
    border-color: rgba(255, 112, 122, 0.26);
}

@media (max-width: 1220px) {
    .pf-page #leaderboard .pf-workspace-bar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .pf-page #leaderboard .pf-workspace-stats {
        grid-column: 1 / -1;
        order: 3;
    }

    .pf-market-controls {
        grid-template-columns: 1fr;
    }

    .pf-market-controls .pf-market-tabs {
        padding-right: 0;
        border-right: 0;
    }

    .pf-page #leaderboard .pf-advanced-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pf-page #leaderboard .pf-country-checker {
        grid-template-columns: 1fr;
    }

    .pf-page #leaderboard .pf-country-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    }
}

@media (max-width: 760px) {
    .pf-page #leaderboard .pf-workspace-bar {
        grid-template-columns: 1fr;
    }

    .pf-page #leaderboard .pf-workspace-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        order: 0;
    }

    .pf-page #leaderboard .pf-workspace-metric {
        display: grid;
        min-height: 54px;
        padding: 9px;
    }

    .pf-page #leaderboard .pf-workspace-metric strong {
        font-size: 17px;
    }

    .pf-page #leaderboard .pf-workspace-metric small {
        font-size: 8px;
    }

    .pf-page #leaderboard .pf-workspace-primary {
        min-height: 42px;
    }

    .pf-market-controls .pf-market-tabs,
    .pf-market-controls .pf-quick-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .pf-market-controls .pf-market-tabs::-webkit-scrollbar,
    .pf-market-controls .pf-quick-filters::-webkit-scrollbar {
        display: none;
    }

    .pf-page #leaderboard .pf-advanced-filters {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 18px;
    }

    .pf-page #leaderboard .pf-country-checker {
        margin-top: 14px;
        border-radius: 10px;
    }

    .pf-page #leaderboard .pf-country-panel,
    .pf-page #leaderboard .pf-country-map-card {
        padding: 14px;
    }

    .pf-page #leaderboard .pf-country-checker-copy strong {
        font-size: 23px;
    }

    .pf-page #leaderboard .pf-country-status-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .pf-page #leaderboard .pf-country-status {
        min-height: 78px;
        padding: 9px 8px;
    }

    .pf-page #leaderboard .pf-country-status b {
        font-size: 20px;
    }

    .pf-page #leaderboard .pf-country-status span {
        font-size: 8px;
        line-height: 1.18;
    }

    .pf-page #leaderboard .pf-country-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .pf-page #leaderboard .pf-country-strip::-webkit-scrollbar {
        display: none;
    }

    .pf-page #leaderboard .pf-country-map-canvas {
        min-height: 220px;
    }

    .pf-page #leaderboard .pf-country-map-chart,
    .pf-page #leaderboard .pf-country-map-chart svg {
        height: 220px;
    }

    .pf-page #leaderboard .pf-availability-toggle,
    .pf-page #leaderboard .pf-clear-filters {
        min-height: 36px;
    }
}

@media (min-width: 761px) {
    .pf-page #leaderboard .pf-board-wrap {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .pf-page #leaderboard .pf-board {
        border-collapse: separate !important;
        border-spacing: 0 12px !important;
        background: transparent !important;
    }

    .pf-page #leaderboard .pf-board thead,
    .pf-page #leaderboard .pf-board thead tr,
    .pf-page #leaderboard .pf-board th {
        background: transparent !important;
    }

    .pf-page #leaderboard .pf-board th {
        position: static !important;
        padding: 0 14px 7px !important;
        border: 0 !important;
        color: rgba(239, 244, 242, 0.44);
        font-size: 10px;
        letter-spacing: 0.11em;
    }

    .pf-page #leaderboard .pf-board th button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 24px;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        letter-spacing: inherit;
        text-transform: uppercase;
        cursor: pointer;
    }

    .pf-page #leaderboard .pf-board th button::after {
        content: "sort";
        color: rgba(77, 171, 154, 0.82);
        font-size: 9px;
        font-weight: 900;
        letter-spacing: 0;
        text-transform: lowercase;
    }

    .pf-page #leaderboard .pf-board th button.is-active-sort {
        color: rgba(239, 244, 242, 0.84);
    }

    .pf-page #leaderboard .pf-board th button.is-active-sort::after {
        content: attr(data-sort-direction);
        color: rgba(185, 243, 233, 0.98);
    }

    .pf-page #leaderboard .pf-board tbody td {
        padding: 19px 14px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.075) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.075) !important;
        background: #101212 !important;
        vertical-align: middle;
    }

    .pf-page #leaderboard .pf-board tbody td:first-child {
        border-left: 1px solid rgba(255, 255, 255, 0.075) !important;
        border-radius: 10px 0 0 10px !important;
    }

    .pf-page #leaderboard .pf-board tbody td:last-child {
        border-right: 1px solid rgba(255, 255, 255, 0.075) !important;
        border-radius: 0 10px 10px 0 !important;
    }

    .pf-page #leaderboard .pf-board tbody tr:hover td {
        border-color: rgba(77, 171, 154, 0.22) !important;
        background: #141717 !important;
    }

    .pf-page #leaderboard .pf-board-row--rank-1 td {
        border-color: rgba(245, 200, 92, 0.23) !important;
        background:
            linear-gradient(90deg, rgba(245, 200, 92, 0.105), rgba(245, 200, 92, 0.032) 42%, rgba(16, 18, 18, 0.98)) !important;
    }

    .pf-page #leaderboard .pf-board-row--rank-2 td {
        border-color: rgba(203, 214, 226, 0.20) !important;
        background:
            linear-gradient(90deg, rgba(203, 214, 226, 0.075), rgba(203, 214, 226, 0.026) 42%, rgba(16, 18, 18, 0.98)) !important;
    }

    .pf-page #leaderboard .pf-board-row--rank-3 td {
        border-color: rgba(196, 121, 82, 0.22) !important;
        background:
            linear-gradient(90deg, rgba(196, 121, 82, 0.085), rgba(196, 121, 82, 0.026) 42%, rgba(16, 18, 18, 0.98)) !important;
    }

    .pf-page #leaderboard .pf-board-row--rank-1 td:first-child {
        box-shadow: inset 3px 0 0 #f5c85c;
    }

    .pf-page #leaderboard .pf-board-row--rank-2 td:first-child {
        box-shadow: inset 3px 0 0 #cbd6e2;
    }

    .pf-page #leaderboard .pf-board-row--rank-3 td:first-child {
        box-shadow: inset 3px 0 0 #c47952;
    }

    .pf-page #leaderboard .pf-board-row--top-10:not(.pf-board-row--rank-1):not(.pf-board-row--rank-2):not(.pf-board-row--rank-3) td {
        border-color: rgba(77, 171, 154, 0.13) !important;
        background:
            linear-gradient(90deg, rgba(77, 171, 154, 0.052), rgba(77, 171, 154, 0.015) 42%, rgba(16, 18, 18, 0.98)) !important;
    }

    .pf-page #leaderboard .pf-board-row--top-10:not(.pf-board-row--rank-1):not(.pf-board-row--rank-2):not(.pf-board-row--rank-3) td:first-child {
        box-shadow: inset 2px 0 0 rgba(77, 171, 154, 0.42);
    }
}

.pf-page #leaderboard .pf-platform-list {
    align-items: center;
    gap: 7px;
    min-width: 0 !important;
    overflow: visible;
}

.pf-page #leaderboard .pf-platform-chip {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: rgba(239, 244, 242, 0.78);
    outline: none;
    overflow: visible;
}

.pf-page #leaderboard .pf-platform-chip:hover,
.pf-page #leaderboard .pf-platform-chip:focus-visible {
    border-color: rgba(77, 171, 154, 0.48) !important;
    background: rgba(77, 171, 154, 0.12) !important;
}

.pf-page #leaderboard .pf-platform-chip img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
}

.pf-page #leaderboard .pf-platform-chip-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(77, 171, 154, 0.14);
    color: rgba(185, 243, 233, 0.96);
    font-size: 8px;
    font-weight: 920;
    line-height: 1;
    letter-spacing: 0;
}

.pf-page #leaderboard .pf-platform-chip-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.pf-page #leaderboard .pf-platform-chip::after {
    content: attr(data-platform-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 30;
    min-width: max-content;
    max-width: 180px;
    padding: 6px 8px;
    border: 1px solid rgba(77, 171, 154, 0.28);
    border-radius: 7px;
    background: rgba(8, 12, 12, 0.98);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
    color: rgba(239, 244, 242, 0.92);
    font-size: 11px;
    font-weight: 820;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 4px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.pf-page #leaderboard .pf-platform-chip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 3px);
    z-index: 31;
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(77, 171, 154, 0.28);
    border-bottom: 1px solid rgba(77, 171, 154, 0.28);
    background: rgba(8, 12, 12, 0.98);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 4px) rotate(45deg);
    transition: opacity 140ms ease, transform 140ms ease;
}

.pf-page #leaderboard .pf-platform-chip:hover::after,
.pf-page #leaderboard .pf-platform-chip:hover::before,
.pf-page #leaderboard .pf-platform-chip:focus-visible::after,
.pf-page #leaderboard .pf-platform-chip:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

.pf-page #leaderboard .pf-platform-chip:hover::before,
.pf-page #leaderboard .pf-platform-chip:focus-visible::before {
    transform: translate(-50%, 0) rotate(45deg);
}

.pf-page #leaderboard .pf-platform-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.pf-page #leaderboard .pf-platform-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(244, 74, 212, 0.22);
    border-radius: 999px;
    background: rgba(244, 74, 212, 0.18);
    color: #ff6fdc;
    font: inherit;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    cursor: pointer;
}

.pf-page #leaderboard .pf-platform-more-button:hover,
.pf-page #leaderboard .pf-platform-more-button:focus-visible,
.pf-page #leaderboard .pf-platform-more.is-open .pf-platform-more-button {
    border-color: rgba(244, 74, 212, 0.48);
    background: rgba(244, 74, 212, 0.28);
    color: #ffd3f4;
    outline: none;
}

.pf-page #leaderboard .pf-platform-popover {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 40;
    display: grid;
    grid-template-columns: max-content;
    gap: 6px;
    min-width: 190px;
    max-width: 240px;
    padding: 10px;
    border: 1px solid rgba(77, 171, 154, 0.26);
    border-radius: 10px;
    background: rgba(8, 12, 12, 0.98);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
    color: rgba(239, 244, 242, 0.92);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 6px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.pf-page #leaderboard .pf-platform-popover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 9px;
    height: 9px;
    border-right: 1px solid rgba(77, 171, 154, 0.26);
    border-bottom: 1px solid rgba(77, 171, 154, 0.26);
    background: rgba(8, 12, 12, 0.98);
    transform: translateX(-50%) rotate(45deg);
}

.pf-page #leaderboard .pf-platform-more:hover .pf-platform-popover,
.pf-page #leaderboard .pf-platform-more:focus-within .pf-platform-popover,
.pf-page #leaderboard .pf-platform-more.is-open .pf-platform-popover {
    pointer-events: auto;
    opacity: 1;
    transform: translate(-50%, 0);
}

.pf-page #leaderboard .pf-platform-popover-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 24px;
    color: rgba(239, 244, 242, 0.88);
    font-size: 11px;
    font-weight: 820;
    line-height: 1.15;
    white-space: nowrap;
}

.pf-page #leaderboard .pf-platform-popover-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
}

/* Keep reputation stars horizontal even inside cards that style generic span labels. */
.firm-profile .pf-trust-stars,
.pf-page .pf-trust-stars,
.offers-page .pf-trust-stars,
.challenge-page .pf-trust-stars,
.rankings-page .pf-trust-stars {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 2px !important;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
}

.firm-profile .pf-trust-stars > .pf-trust-star,
.pf-page .pf-trust-stars > .pf-trust-star,
.offers-page .pf-trust-stars > .pf-trust-star,
.challenge-page .pf-trust-stars > .pf-trust-star,
.rankings-page .pf-trust-stars > .pf-trust-star {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    color: #fff !important;
}

/* Prop firm profile dossier polish */
.firm-profile {
    --profile-card-bg: rgba(17, 19, 18, 0.92);
    --profile-card-bg-soft: rgba(255, 255, 255, 0.035);
    --profile-card-border: rgba(255, 255, 255, 0.095);
    --profile-muted: rgba(245, 245, 245, 0.62);
    --profile-soft: rgba(245, 245, 245, 0.46);
    --profile-strong: #f5f5f2;
    --profile-accent: #54c4b2;
    --profile-accent-soft: rgba(84, 196, 178, 0.12);
    --profile-warn: #f0c45b;
    --profile-danger: #ef7777;
    background:
        linear-gradient(180deg, #050606 0%, #070908 42%, #050606 100%) !important;
    padding-top: 24px !important;
}

.firm-profile .container {
    width: min(1440px, calc(100vw - 64px));
}

.firm-profile .trust-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.54fr);
    align-items: stretch;
    gap: clamp(24px, 4vw, 56px);
    margin-bottom: 22px;
    padding: 26px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.firm-profile .trust-hero-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 12px;
}

.firm-profile .trust-eyebrow {
    min-height: 22px;
    width: fit-content;
    margin-bottom: 14px;
    padding: 0 8px;
    border: 1px solid rgba(84, 196, 178, 0.22);
    border-radius: 6px !important;
    background: rgba(84, 196, 178, 0.08);
    color: rgba(186, 246, 236, 0.92);
    font-size: 10px;
    letter-spacing: 0.10em;
}

.firm-profile .profile-title {
    max-width: 880px;
    font-size: clamp(46px, 5.2vw, 74px);
    line-height: 0.94;
}

.firm-profile .profile-title-name,
.firm-profile .profile-title-suffix {
    display: block;
}

.firm-profile .profile-title-suffix {
    color: rgba(245, 245, 245, 0.72);
}

.firm-profile .trust-subtitle {
    max-width: 720px;
    margin-top: 18px;
    color: rgba(245, 245, 245, 0.68);
    font-size: 16px;
}

.firm-profile .trust-inline-links {
    gap: 8px;
    margin-top: 22px;
}

.firm-profile .trust-inline-links a {
    min-height: 34px;
    padding: 0 11px;
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(245, 245, 245, 0.74);
    font-size: 12px;
}

.firm-profile .trust-inline-links a:hover,
.firm-profile .profile-hero-action:hover,
.firm-profile .profile-link-card:hover,
.firm-profile .profile-alt-card:hover {
    border-color: rgba(84, 196, 178, 0.34);
    color: #fff;
}

.firm-profile .profile-hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.firm-profile .profile-hero-metric {
    min-height: 106px;
    padding: 14px;
    border: 1px solid var(--profile-card-border);
    border-radius: 8px;
    background: var(--profile-card-bg-soft);
}

.firm-profile .profile-hero-metric span,
.firm-profile .profile-action-kicker,
.firm-profile .profile-decision-copy > span,
.firm-profile .profile-quick-signal > span,
.firm-profile .profile-risk-note > span {
    color: var(--profile-soft);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.firm-profile .profile-hero-metric strong {
    color: var(--profile-strong);
    font-size: 16px;
    line-height: 1.16;
}

.firm-profile .profile-hero-metric--score strong {
    color: #d7fff8;
    font-size: 28px;
}

.firm-profile .profile-hero-metric em {
    color: var(--profile-muted);
    font-size: 12px;
}

.firm-profile .profile-panel--decision.profile-hero-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
    padding: 22px !important;
    border: 1px solid var(--profile-card-border) !important;
    border-radius: 10px !important;
    background:
        linear-gradient(180deg, rgba(84, 196, 178, 0.055), transparent 42%),
        var(--profile-card-bg) !important;
}

.firm-profile .profile-panel-head {
    margin: 0;
}

.firm-profile .profile-mark {
    width: 64px;
    height: 64px;
    margin: 0;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: #050606;
}

.firm-profile .profile-mark img {
    width: 46px;
    height: 46px;
}

.firm-profile .profile-score-badge {
    width: 78px;
    min-height: 64px;
    border-radius: 8px;
}

.firm-profile .profile-score-badge strong {
    font-size: 26px;
}

.firm-profile .profile-decision-copy {
    display: grid;
    gap: 8px;
}

.firm-profile .profile-decision-copy h2 {
    margin: 0;
    color: var(--profile-strong);
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0;
}

.firm-profile .profile-decision-copy p {
    margin: 0;
    color: rgba(245, 245, 245, 0.68);
    font-size: 14px;
    line-height: 1.55;
}

.firm-profile .profile-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.firm-profile .profile-hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--profile-card-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(245, 245, 245, 0.82);
    font-size: 13px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
}

.firm-profile .profile-hero-action--primary {
    border-color: rgba(84, 196, 178, 0.56);
    background: var(--profile-accent);
    color: #061211;
}

.firm-profile .profile-hero-action--primary:hover {
    color: #061211;
    filter: brightness(1.06);
}

.firm-profile .profile-quick-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.firm-profile .profile-quick-signal {
    display: grid;
    gap: 6px;
    min-width: 0;
    min-height: 70px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.firm-profile .profile-quick-signal strong {
    color: var(--profile-strong);
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.firm-profile .profile-risk-note {
    display: grid;
    gap: 7px;
    padding: 14px;
    border: 1px solid rgba(240, 196, 91, 0.24);
    border-radius: 8px;
    background: rgba(240, 196, 91, 0.075);
}

.firm-profile .profile-risk-note strong {
    color: rgba(255, 236, 178, 0.96);
    font-size: 13px;
    line-height: 1.45;
}

.firm-profile .profile-pill-row {
    gap: 7px;
    margin-top: 0;
}

.firm-profile .profile-pill {
    min-height: 28px;
    border: 1px solid rgba(84, 196, 178, 0.18);
    border-radius: 7px;
    background: rgba(84, 196, 178, 0.075);
    color: rgba(215, 255, 248, 0.78);
}

.firm-profile .profile-page-nav {
    top: 72px;
    gap: 7px;
    margin: 0 0 26px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 0;
    background: rgba(5, 6, 6, 0.86);
    box-shadow: none;
}

.firm-profile .profile-page-nav a {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.028);
    color: rgba(245, 245, 245, 0.68);
}

.firm-profile .profile-page-nav a:hover {
    border-color: rgba(84, 196, 178, 0.28);
    background: rgba(84, 196, 178, 0.10);
}

.firm-profile .profile-money-path {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 28px;
    padding: 0 0 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.firm-profile .profile-money-card {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 142px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-decoration: none;
}

.firm-profile .profile-money-card:hover {
    border-color: rgba(84, 196, 178, 0.32);
    background: rgba(84, 196, 178, 0.07);
}

.firm-profile .profile-money-card--primary {
    border-color: rgba(84, 196, 178, 0.42);
    background:
        linear-gradient(180deg, rgba(84, 196, 178, 0.14), rgba(84, 196, 178, 0.045));
}

.firm-profile .profile-money-card span {
    color: var(--profile-soft);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.09em;
    line-height: 1.15;
    text-transform: uppercase;
}

.firm-profile .profile-money-card strong {
    color: var(--profile-strong);
    font-size: 15px;
    line-height: 1.22;
}

.firm-profile .profile-money-card p {
    margin: 0;
    color: var(--profile-muted);
    font-size: 12px;
    line-height: 1.45;
}

.firm-profile .trust-section {
    padding: 42px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.firm-profile .trust-section:first-of-type {
    border-top: 0;
}

.firm-profile .trust-section h2 {
    color: var(--profile-strong);
    font-size: clamp(28px, 3vw, 44px);
    line-height: 0.98;
}

.firm-profile .trust-section > p,
.firm-profile .profile-section-head p {
    color: rgba(245, 245, 245, 0.62);
    font-size: 14px;
}

.firm-profile .profile-fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.firm-profile .profile-fact,
.firm-profile .profile-review-card,
.firm-profile .profile-pro-card,
.firm-profile .profile-alt-card,
.firm-profile .profile-faq-item,
.firm-profile .profile-dossier-card,
.firm-profile .profile-evidence-card,
.firm-profile .profile-dossier-panel,
.firm-profile .profile-reputation-card,
.firm-profile .profile-score-card,
.firm-profile .profile-action-card,
.firm-profile .profile-availability-summary,
.firm-profile .profile-availability-priority,
.firm-profile .profile-availability-stat,
.firm-profile .profile-country-card,
.firm-profile .profile-country-all,
.firm-profile .trust-card,
.firm-profile .trust-callout {
    border: 1px solid var(--profile-card-border) !important;
    border-radius: 8px !important;
    background: var(--profile-card-bg-soft) !important;
    box-shadow: none !important;
}

.firm-profile .profile-fact,
.firm-profile .profile-review-card,
.firm-profile .profile-pro-card,
.firm-profile .profile-alt-card,
.firm-profile .profile-faq-item,
.firm-profile .profile-dossier-card,
.firm-profile .profile-evidence-card,
.firm-profile .profile-reputation-card,
.firm-profile .trust-card,
.firm-profile .trust-callout {
    padding: 16px;
}

.firm-profile .profile-score-card,
.firm-profile .profile-action-card,
.firm-profile .profile-availability-summary,
.firm-profile .profile-availability-priority,
.firm-profile .profile-dossier-panel {
    padding: 20px !important;
}

.firm-profile .profile-fact span,
.firm-profile .profile-review-card > span,
.firm-profile .profile-pro-card > span,
.firm-profile .profile-alt-card > span,
.firm-profile .profile-dossier-card > span,
.firm-profile .profile-reputation-card > span,
.firm-profile .profile-availability-summary > span,
.firm-profile .profile-availability-priority > span,
.firm-profile .profile-country-strip-head > span {
    color: var(--profile-soft) !important;
}

.firm-profile .profile-fact strong,
.firm-profile .profile-review-card strong,
.firm-profile .profile-pro-card strong,
.firm-profile .profile-alt-card strong,
.firm-profile .profile-faq-item h3,
.firm-profile .profile-dossier-card strong,
.firm-profile .profile-reputation-card strong,
.firm-profile .profile-availability-summary h3,
.firm-profile .profile-availability-priority h3,
.firm-profile .profile-country-strip-head h3,
.firm-profile .trust-card h3 {
    color: var(--profile-strong) !important;
}

.firm-profile .profile-fact strong {
    font-size: 15px;
}

.firm-profile .profile-review-card p,
.firm-profile .profile-pro-card p,
.firm-profile .profile-pro-card li,
.firm-profile .profile-alt-card p,
.firm-profile .profile-faq-item p,
.firm-profile .profile-dossier-card p,
.firm-profile .profile-evidence-card p,
.firm-profile .profile-reputation-card p,
.firm-profile .profile-availability-summary p,
.firm-profile .profile-availability-priority p,
.firm-profile .profile-country-strip-head p,
.firm-profile .trust-card p {
    color: var(--profile-muted) !important;
}

.firm-profile .profile-decision-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
}

.firm-profile .profile-score-card,
.firm-profile .profile-action-card {
    background: var(--profile-card-bg) !important;
}

.firm-profile .profile-score-card-head {
    border-bottom-color: rgba(255, 255, 255, 0.075);
}

.firm-profile .profile-score-row {
    grid-template-columns: minmax(170px, 0.64fr) minmax(160px, 0.86fr) minmax(210px, 0.92fr);
}

.firm-profile .profile-score-track {
    height: 7px;
}

.firm-profile .profile-action-list a,
.firm-profile .offer-link,
.firm-profile .pf-link-primary,
.firm-profile .pf-link-secondary {
    border-radius: 8px;
}

.firm-profile .profile-commercial-note {
    border-radius: 8px;
}

.firm-profile .profile-table-wrap {
    margin-top: 20px;
    border: 1px solid var(--profile-card-border) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.025) !important;
}

.firm-profile .profile-table {
    border-collapse: separate;
    border-spacing: 0;
}

.firm-profile .profile-table th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    background: transparent;
    color: rgba(245, 245, 245, 0.46);
}

.firm-profile .profile-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    color: rgba(245, 245, 245, 0.72);
}

.firm-profile .profile-table tbody tr:hover td {
    background: rgba(84, 196, 178, 0.045);
}

.firm-profile .profile-audit-badge,
.firm-profile .profile-status {
    min-height: 24px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    text-transform: none;
}

.firm-profile .profile-audit-badge--mapped,
.firm-profile .profile-status--mapped {
    border-color: rgba(84, 196, 178, 0.28) !important;
    background: rgba(84, 196, 178, 0.12) !important;
    color: #baf6ec !important;
}

.firm-profile .profile-audit-badge--snapshot,
.firm-profile .profile-audit-badge--pending,
.firm-profile .profile-status--pending {
    border-color: rgba(240, 196, 91, 0.28) !important;
    background: rgba(240, 196, 91, 0.10) !important;
    color: #ffe4a3 !important;
}

.firm-profile .profile-dossier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.firm-profile .profile-evidence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.firm-profile .profile-dossier-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.firm-profile .profile-dossier-line {
    border-bottom-color: rgba(255, 255, 255, 0.075);
}

.firm-profile .profile-dossier-line b {
    color: var(--profile-strong);
}

.firm-profile .profile-availability-layout {
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
}

.firm-profile .profile-availability-state {
    display: block;
    margin-bottom: 6px;
    color: #d7fff8;
    font-size: 14px;
    line-height: 1.35;
}

.firm-profile .profile-country-strip {
    margin-top: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.firm-profile .profile-country-chip-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.firm-profile .profile-country-chip {
    border-radius: 8px;
}

.firm-profile .profile-country-all {
    background: rgba(255, 255, 255, 0.025) !important;
}

.firm-profile .profile-reputation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.firm-profile .profile-reputation-card {
    min-height: 148px;
}

.firm-profile .profile-reputation-card .pf-trust-stars {
    margin-top: 8px;
}

.firm-profile .trust-grid {
    gap: 12px;
}

.firm-profile .profile-link-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.firm-profile .profile-link-card {
    border-radius: 8px !important;
}

.firm-profile .profile-evidence-disclosure,
.firm-profile .profile-secondary-disclosure {
    margin-top: 14px;
    border: 1px solid var(--profile-card-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.026);
    overflow: hidden;
}

.firm-profile .profile-evidence-disclosure summary,
.firm-profile .profile-secondary-disclosure summary {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
    color: var(--profile-strong);
    cursor: pointer;
    list-style: none;
}

.firm-profile .profile-evidence-disclosure summary::-webkit-details-marker,
.firm-profile .profile-secondary-disclosure summary::-webkit-details-marker {
    display: none;
}

.firm-profile .profile-evidence-disclosure summary::after,
.firm-profile .profile-secondary-disclosure summary::after {
    content: "+";
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    border: 1px solid rgba(84, 196, 178, 0.24);
    border-radius: 7px;
    background: rgba(84, 196, 178, 0.08);
    color: rgba(185, 243, 233, 0.92);
    font-size: 16px;
    font-weight: 900;
}

.firm-profile .profile-evidence-disclosure[open] summary::after,
.firm-profile .profile-secondary-disclosure[open] summary::after {
    content: "-";
}

.firm-profile .profile-evidence-disclosure summary span,
.firm-profile .profile-secondary-disclosure summary span {
    color: var(--profile-soft);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.firm-profile .profile-evidence-disclosure summary strong,
.firm-profile .profile-secondary-disclosure summary strong {
    margin-left: auto;
    color: rgba(245, 245, 245, 0.84);
    font-size: 13px;
    font-weight: 850;
}

.firm-profile .profile-evidence-disclosure[open] .profile-evidence-grid,
.firm-profile .profile-secondary-disclosure[open] .profile-review-grid,
.firm-profile .profile-secondary-disclosure[open] .profile-table-wrap {
    margin: 0;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.firm-profile .profile-secondary-disclosure .profile-table-wrap {
    border-width: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.firm-profile .profile-availability-more-link {
    width: fit-content;
    margin-top: 12px;
}

.firm-profile .profile-country-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.firm-profile .profile-country-grid--compact .profile-country-card {
    min-height: 118px;
}

.firm-profile .profile-country-chip-grid {
    max-height: 190px;
    overflow: hidden;
}

.firm-profile .trust-hero {
    min-height: auto;
    gap: clamp(20px, 3vw, 40px);
    padding: 18px 0 24px;
}

.firm-profile .profile-title {
    font-size: clamp(42px, 4.7vw, 64px);
}

.firm-profile .trust-subtitle {
    margin-top: 14px;
}

.firm-profile .profile-hero-metrics {
    margin-top: 18px;
}

.firm-profile .profile-hero-metric {
    min-height: 86px;
    padding: 12px;
}

.firm-profile .profile-panel--decision.profile-hero-card {
    gap: 12px;
    padding: 18px !important;
}

.firm-profile .profile-quick-signal {
    min-height: 58px;
    padding: 10px;
}

.firm-profile .profile-risk-note {
    padding: 12px;
}

.firm-profile .profile-page-nav {
    margin-bottom: 18px;
    padding-bottom: 10px;
}

.firm-profile .profile-money-path {
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.firm-profile .profile-money-card {
    min-height: 116px;
    padding: 13px;
}

.firm-profile .trust-section {
    padding: 34px 0;
}

.firm-profile .trust-section h2 {
    max-width: 840px;
    font-size: clamp(26px, 2.55vw, 38px);
}

.firm-profile .profile-section-head {
    max-width: 920px;
}

.firm-profile .profile-fact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.firm-profile .profile-fact {
    min-height: 86px;
    padding: 13px !important;
}

.firm-profile .profile-fact strong {
    font-size: 14px;
    line-height: 1.35;
}

.firm-profile .profile-dossier-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.firm-profile .profile-dossier-card {
    min-height: 118px;
    padding: 14px !important;
}

.firm-profile .profile-dossier-card strong {
    font-size: clamp(18px, 2vw, 24px);
}

.firm-profile .profile-evidence-card,
.firm-profile .profile-review-card {
    min-height: 128px;
    padding: 14px !important;
}

@media (max-width: 1180px) {
    .firm-profile .profile-hero-metrics,
    .firm-profile .profile-money-path,
    .firm-profile .profile-fact-grid,
    .firm-profile .profile-dossier-grid,
    .firm-profile .profile-evidence-grid,
    .firm-profile .profile-link-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .firm-profile .profile-score-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .firm-profile .profile-score-row div:first-child {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .firm-profile .container {
        width: min(calc(100vw - 32px), var(--pfm-width)) !important;
        max-width: calc(100vw - 32px) !important;
    }

    .firm-profile .trust-hero {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px;
        width: 100%;
        max-width: 100%;
        padding-top: 26px;
    }

    .firm-profile .trust-hero-main,
    .firm-profile .profile-title,
    .firm-profile .profile-hero-metrics,
    .firm-profile .profile-panel--decision.profile-hero-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .firm-profile .profile-title {
        font-size: clamp(36px, 11vw, 48px);
        line-height: 0.98;
    }

    .firm-profile .trust-subtitle {
        font-size: 14px;
    }

    .firm-profile .trust-inline-links {
        display: flex;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .firm-profile .trust-inline-links::-webkit-scrollbar {
        display: none;
    }

    .firm-profile .trust-hero-main .trust-inline-links a {
        width: auto !important;
        min-width: max-content;
        flex: 0 0 auto;
        padding: 0 12px;
    }

    .firm-profile .profile-money-card {
        min-height: 0;
    }

    .firm-profile .profile-hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .firm-profile .profile-hero-metric {
        min-height: 76px;
        padding: 10px;
    }

    .firm-profile .profile-hero-metric strong {
        font-size: 14px;
    }

    .firm-profile .profile-hero-metric--score strong {
        font-size: 22px;
    }

    .firm-profile .profile-panel--decision.profile-hero-card {
        padding: 14px !important;
    }

    .firm-profile .profile-mark {
        width: 54px;
        height: 54px;
    }

    .firm-profile .profile-mark img {
        width: 38px;
        height: 38px;
    }

    .firm-profile .profile-score-badge {
        width: 64px;
        min-height: 54px;
    }

    .firm-profile .profile-score-badge strong {
        font-size: 22px;
    }

    .firm-profile .profile-decision-copy h2 {
        font-size: 24px;
    }

    .firm-profile .profile-fact-grid,
    .firm-profile .profile-dossier-grid,
    .firm-profile .profile-evidence-grid,
    .firm-profile .profile-reputation-grid,
    .firm-profile .profile-dossier-split,
    .firm-profile .profile-availability-layout,
    .firm-profile .profile-country-chip-grid,
    .firm-profile .profile-link-list {
        grid-template-columns: 1fr !important;
    }

    .firm-profile .profile-quick-signal-grid {
        display: none;
    }

    .firm-profile .profile-hero-actions {
        grid-template-columns: 1fr;
    }

    .firm-profile .profile-quick-signal {
        min-height: 54px;
        padding: 9px;
    }

    .firm-profile .profile-pill-row {
        display: none;
    }

    .firm-profile .profile-money-path {
        display: flex;
        grid-template-columns: none !important;
        max-width: 100%;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .firm-profile .profile-money-path::-webkit-scrollbar {
        display: none;
    }

    .firm-profile .profile-money-card {
        width: min(82vw, 300px);
        min-width: min(82vw, 300px);
        scroll-snap-align: start;
    }

    .firm-profile .profile-country-grid--compact {
        grid-template-columns: 1fr;
    }

    .firm-profile .profile-page-nav {
        top: 0;
        box-sizing: border-box;
        width: calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
        min-width: 0;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .firm-profile .profile-page-nav::-webkit-scrollbar {
        display: none;
    }
}
