/*
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: var(--lz-font, "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif);
}

body.public-ecosystem-page {
    overflow-x: hidden;
    background: var(--pfm-bg);
    color: var(--pfm-text);
    font-family: var(--pfm-font);
}

.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);
}

.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-market-card,
.pf-watch-card,
.offers-console,
.challenge-console,
.profile-panel {
    padding: 20px;
}

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

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

.pf-stat-pill,
.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;
}

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

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

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

.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);
}

.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.public-ecosystem-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-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;
}

.rankings-coupon-link {
    display: inline-grid;
    gap: 5px;
    min-width: 128px;
    padding: 9px 12px;
    border: 1px solid rgba(245, 200, 92, 0.28);
    border-radius: 8px;
    background: rgba(245, 200, 92, 0.075);
    color: rgba(245, 245, 245, 0.9);
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.rankings-coupon-link:hover,
.rankings-coupon-link:focus-visible {
    border-color: rgba(77, 171, 154, 0.50);
    background: rgba(77, 171, 154, 0.11);
    outline: none;
    transform: translateY(-1px);
}

.rankings-coupon-link small,
.rankings-table .rankings-coupon-link small {
    color: rgba(185, 243, 233, 0.82);
}

.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;
    }
}

@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;
    }
}

/* 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;
    }
}

/* Shared prop typography bridge.
   Do not reset every descendant: buttons, pills, and data labels need their
   own weight. This keeps prop pages aligned with the index/public shell
   tokens without fighting the header/footer source of truth. */
:where(
    .pf-page,
    .firm-profile,
    .offers-page,
    .challenge-page,
    .rankings-page,
    .availability-intent,
    .country-page,
    .partner-prop-page
) {
    font-family: var(--lz-font, var(--pfm-font));
    font-weight: 400;
}

:where(
    .pf-page,
    .firm-profile,
    .offers-page,
    .challenge-page,
    .rankings-page,
    .availability-intent,
    .country-page,
    .partner-prop-page
) :where(h1, .trust-title) {
    font-weight: var(--lz-title-weight, 760) !important;
    letter-spacing: -0.045em;
}

:where(
    .pf-page,
    .firm-profile,
    .offers-page,
    .challenge-page,
    .rankings-page,
    .availability-intent,
    .country-page,
    .partner-prop-page
) :where(h2, h3, h4, .profile-title, .pf-board-title) {
    font-weight: 720;
}

:where(
    .pf-page,
    .firm-profile,
    .offers-page,
    .challenge-page,
    .rankings-page,
    .availability-intent,
    .country-page,
    .partner-prop-page
) :where(strong, b) {
    font-weight: 650;
}

:where(
    .pf-page,
    .firm-profile,
    .offers-page,
    .challenge-page,
    .rankings-page,
    .availability-intent,
    .country-page,
    .partner-prop-page
) :where(.trust-subtitle, .trust-section p, .profile-fact span, .profile-link-card span, .pf-row-note) {
    font-weight: 400;
}

:where(
    .pf-page,
    .firm-profile,
    .offers-page,
    .challenge-page,
    .rankings-page,
    .availability-intent,
    .country-page,
    .partner-prop-page
) :where(.trust-eyebrow, .profile-kicker, .profile-label, .pf-table-head, .pf-row-label, .pf-board th) {
    font-weight: 700;
}

:where(
    .pf-page,
    .firm-profile,
    .offers-page,
    .challenge-page,
    .rankings-page,
    .availability-intent,
    .country-page,
    .partner-prop-page
) :where(.pf-workspace-primary, .pf-visit-button, .pf-profile-button, .pf-board-action, .pf-clear-filters, .pf-money-more summary, .trust-inline-links a, .pf-mini-offer a) {
    font-weight: 700;
}

body.public-prop-segment :where(
    .trust-page,
    .pf-page,
    .firm-profile,
    .offers-page,
    .challenge-page,
    .rankings-page,
    .availability-intent,
    .country-page,
    .partner-prop-page,
    .firm-intent-page,
    .comparison-page,
    .rule-topic-page,
    .spread-page,
    .payout-page,
    .matcher-page
) {
    padding-bottom: clamp(24px, 3vw, 46px) !important;
}

body.public-prop-segment :where(.trust-page, .availability-intent, .firm-profile, .pf-page) > .container > :last-child {
    margin-bottom: 0 !important;
}

body.public-prop-segment .lz-footer {
    margin-top: clamp(18px, 2.5vw, 36px) !important;
}

body.public-prop-segment .lz-footer-hero {
    min-height: clamp(210px, 18vw, 240px) !important;
    padding-top: clamp(34px, 4vw, 46px) !important;
    padding-bottom: clamp(34px, 4vw, 44px) !important;
}

.trust-inline-links--spaced {
    margin-top: 18px !important;
}

.trust-inline-links--compact-top {
    margin-top: 14px !important;
}

.profile-section-head--spaced {
    margin-top: 34px !important;
}
