/* ═══════════════════════════════════════════════════════════════════════
   platform-forex.css — Unified design system for forex broker detail
   Single accent color, trust-centric layout, IB-focused UX
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Design tokens ─────────────────────────────────────────────── */
body.page-platform-forex {
    --bg-base: #FFFFFF;
    --bg-body: #F8FAFC;
    --bg-subtle: #FAFBFC;
    --bg-surface: #F1F5F9;
    --bg-elevated: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;
    --text-muted: #CBD5E1;
    --border-light: #E2E8F0;
    --border-hover: #CBD5E1;
    --border-focus: #6366F1;
    --accent: #4F46E5;
    --accent-hover: #4338CA;
    --accent-soft: #EEF2FF;
    --accent-muted: #C7D2FE;
    --success: #059669;
    --success-bg: #ECFDF5;
    --success-accent: #10B981;
    --warning: #D97706;
    --warning-bg: #FFFBEB;
    --danger: #DC2626;
    --danger-bg: #FEF2F2;
    --danger-accent: #EF4444;
    --decision-snapshot-warn-chip: #ffb156;
    --radius-xs: 3px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 6px -1px rgba(15,23,42,0.05), 0 2px 4px -1px rgba(15,23,42,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15,23,42,0.06), 0 4px 6px -2px rgba(15,23,42,0.03);
    --shadow-floating: 0 20px 25px -5px rgba(15,23,42,0.08), 0 8px 10px -6px rgba(15,23,42,0.04);
    --ease: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --flag-inline-width: 1.25rem;
    --pfx-tech-badge-padding-y: 7px;
    --pfx-tech-badge-padding-x: 12px;
    --pfx-tech-badge-font-size: 11px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body.page-platform-forex { background-color: var(--bg-body); color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.page-platform-forex a { text-decoration: none; color: inherit; transition: var(--ease); }
.page-platform-forex .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }

/* ── 2. Buttons ───────────────────────────────────────────────────── */
.page-platform-forex .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; font-weight: 600; font-size: 14px; border-radius: var(--radius-md); cursor: pointer; transition: var(--ease); border: 1px solid transparent; font-family: inherit; }
.page-platform-forex .btn-sm { padding: 8px 16px; font-size: 13px; }
.page-platform-forex .btn-primary { background-color: var(--accent); color: #FFF; box-shadow: var(--shadow-xs); }
.page-platform-forex .btn-primary:hover { background-color: var(--accent-hover); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.page-platform-forex .btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.page-platform-forex .btn-primary.is-disabled { opacity: 0.45; pointer-events: none; cursor: default; transform: none; box-shadow: none; }
.page-platform-forex .btn-dark { background-color: var(--text-primary); color: #FFF; box-shadow: var(--shadow-xs); }
.page-platform-forex .btn-dark:hover { opacity: 0.9; box-shadow: var(--shadow-sm); }
.page-platform-forex .btn-outline { background-color: var(--bg-base); color: var(--text-primary); border: 1px solid var(--border-light); }
.page-platform-forex .btn-outline:hover { border-color: var(--border-hover); background-color: var(--bg-surface); }
.page-platform-forex .btn-glow { box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3); }
.page-platform-forex .btn-glow:hover { box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4); transform: translateY(-2px); }

/* ── 3. Badges ────────────────────────────────────────────────────── */
.page-platform-forex .badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--bg-surface); color: var(--text-secondary); border: 1px solid var(--border-light); line-height: 1.2; }
.page-platform-forex .pfx-tech-stack-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.page-platform-forex .badge.badge-sm.pfx-tech-badge {
    padding: var(--pfx-tech-badge-padding-y) var(--pfx-tech-badge-padding-x);
    font-size: var(--pfx-tech-badge-font-size);
    font-weight: 600;
    line-height: 1.2;
    border-radius: 20px;
}
.page-platform-forex .badge.badge-sm.pfx-tech-badge--s2s {
    background: var(--success-bg);
    color: #047857;
    border: 1px solid #A7F3D0;
}
.page-platform-forex .badge.badge-sm.pfx-tech-badge--api {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
.page-platform-forex .badge.badge-sm.pfx-tech-badge--software-known {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid var(--accent-muted);
}
.page-platform-forex .badge.badge-sm.pfx-tech-badge--software-default {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
/* Generic chips (tracking methods, platforms, withdrawals) — same neutral read as API badges */
.page-platform-forex .badge.badge-sm.pfx-tech-badge--item {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
.page-platform-forex .badge.badge-sm.pfx-tech-badge.pfx-reg-tier-badge--tier1 {
    background: var(--success-bg);
    color: #047857;
    border: 1px solid #A7F3D0;
}
.page-platform-forex .badge.badge-sm.pfx-tech-badge.pfx-reg-tier-badge--tier2 {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid var(--accent-muted);
}
.page-platform-forex .badge.badge-sm.pfx-tech-badge.pfx-reg-tier-badge--tier3 {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
.page-platform-forex .badge.badge-sm.pfx-tech-badge.pfx-reg-tier-badge--tier4 {
    background: var(--mc-reg-tier4-bg);
    color: var(--mc-reg-tier4-text);
    border: 1px solid var(--mc-reg-tier4-border);
}
.page-platform-forex .badge.profile-claimed { background: var(--success-bg); color: #047857; border-color: #A7F3D0; }
.page-platform-forex .badge.profile-unclaimed {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border-color: var(--border-light);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    appearance: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: inherit;
    margin: 0;
}
.page-platform-forex .profile-unclaimed__dot {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    border-radius: 50%;
    box-sizing: border-box;
    background: #fde68a;
    border: 2px solid #1f2937;
}
.page-platform-forex .unclaimed-tooltip {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    width: 280px;
    padding: 14px 16px;
    background: #0F172A;
    border: 1px solid #334155;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    z-index: 10000;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    line-height: 1.6;
    pointer-events: none;
}
.page-platform-forex .unclaimed-tooltip.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.page-platform-forex .unclaimed-tooltip strong { font-size: 13px; font-weight: 700; color: #E2E8F0; display: block; }
.page-platform-forex .unclaimed-tooltip__text { font-size: 12px; font-weight: 500; color: #94A3B8; }
.page-platform-forex .unclaimed-tooltip__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-muted);
    margin-top: 4px;
    transition: var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.page-platform-forex .unclaimed-tooltip__link:hover { color: #FFF; }
.page-platform-forex .unclaimed-tooltip__link i { font-size: 10px; }
.page-platform-forex .badge.verified { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; background: var(--success-bg); color: #047857; text-transform: uppercase; letter-spacing: 0.04em; }
.page-platform-forex .badge.rep { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; background: var(--text-primary); color: #FFF; text-transform: uppercase; letter-spacing: 0.04em; }
.page-platform-forex a.badge { text-decoration: none; cursor: pointer; transition: var(--ease); }
.page-platform-forex a.badge:hover { border-color: var(--border-hover); box-shadow: var(--shadow-xs); }

/* Hero: Trustpilot strip (SVG + label + score + reviews); root is <a> when review_url is set. */
.page-platform-forex .profile-hero__badges .directory-trustpilot {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    height: 16px;
    line-height: 16px;
    font-size: 14px;
}
.page-platform-forex .profile-hero__badges a.directory-trustpilot {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.page-platform-forex .profile-hero__badges a.directory-trustpilot:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--mc-blue-bg);
    border-radius: var(--radius-sm);
}
.page-platform-forex .profile-hero__badges .directory-trustpilot__stars {
    height: 16px;
    line-height: 16px;
    width: auto;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    object-position: left center;
}
.page-platform-forex .profile-hero__badges .directory-trustpilot__meta {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    line-height: 16px;
    font-size: 14px;
}
.page-platform-forex .profile-hero__badges .directory-trustpilot__label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 16px;
    white-space: nowrap;
}
.page-platform-forex .profile-hero__badges .directory-trustpilot__score {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 16px;
    letter-spacing: -0.02em;
}
.page-platform-forex .profile-hero__badges .directory-trustpilot__sep {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
}
.page-platform-forex .profile-hero__badges .directory-trustpilot__reviews {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 16px;
}

/* ── 4. Link utilities ────────────────────────────────────────────── */
.page-platform-forex .link-subtle { color: var(--text-secondary); text-decoration: none; transition: var(--ease); }
.page-platform-forex .link-subtle:hover { color: var(--accent); }
.page-platform-forex .link-subtle.is-disabled { opacity: 0.45; pointer-events: none; cursor: default; }

/* ── 5. Back bar / breadcrumbs ────────────────────────────────────── */
.page-platform-forex .back-bar { background: var(--bg-base); border-bottom: 1px solid var(--border-light); padding: 12px 0; }
.page-platform-forex .platform-back-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.page-platform-forex .platform-breadcrumb__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; font-weight: 600; line-height: 1.35; }
.page-platform-forex .platform-breadcrumb__item { display: inline-flex; align-items: center; color: var(--text-secondary); }
.page-platform-forex .platform-breadcrumb__item:not(:last-child)::after { content: '>'; margin: 0 10px; color: var(--text-tertiary); font-weight: 600; user-select: none; }
.page-platform-forex .platform-breadcrumb__item a { color: var(--text-secondary); transition: var(--ease); }
.page-platform-forex .platform-breadcrumb__item a:hover { color: var(--accent); }
.page-platform-forex .platform-breadcrumb__item--current { color: var(--text-primary); }
.page-platform-forex .platform-breadcrumb__current { display: inline-block; max-width: min(100vw - 120px, 42rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.page-platform-forex .staff-os-edit-link i { font-size: 13px; opacity: 0.88; }

/* ── 6. Profile hero ──────────────────────────────────────────────── */
.page-platform-forex .profile-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 5vw, 5.25rem) 0;
    background-color: var(--bg-subtle);
    border-bottom: 1px solid var(--border-light);
}
.page-platform-forex .profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--border-light) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border-light) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.45;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    pointer-events: none;
}
.page-platform-forex .profile-hero .container { position: relative; z-index: 1; }
.page-platform-forex .profile-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(min(100%, 480px), 480px);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.page-platform-forex .profile-hero__identity {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1rem, 2.2vw, 1.35rem);
    min-width: 0;
}
.page-platform-forex .profile-hero__identity-head {
    display: flex;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: flex-start;
    min-width: 0;
    width: 100%;
}
.page-platform-forex .profile-hero__hero-trust-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.8vw, 14px);
    width: 100%;
    min-width: 0;
}
.page-platform-forex .hero-logo {
    width: clamp(88px, 11vw, 120px);
    height: clamp(88px, 11vw, 120px);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--accent);
}
.page-platform-forex .hero-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-xl); }
.page-platform-forex .hero-info { display: flex; flex-direction: column; gap: clamp(8px, 1.5vw, 12px); min-width: 0; flex: 1; }
.page-platform-forex .hero-title-wrap { display: flex; align-items: flex-start; }
.page-platform-forex .hero-title { margin: 0; font-size: clamp(1.625rem, 3.5vw, 2.25rem); font-weight: 800; color: var(--text-primary); letter-spacing: -0.03em; line-height: 1.12; }
.page-platform-forex .hero-title__line { display: block; }
.page-platform-forex .hero-title__line--secondary { margin-top: 0.2em; font-size: 0.88em; font-weight: 700; color: var(--text-secondary); letter-spacing: -0.02em; }
.page-platform-forex .profile-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* Regulation strip — white panel (matches reg-tiles-preview style1-wrapper) */
.page-platform-forex .reg-tiles-wrapper {
    padding: 20px 22px;
    background: var(--bg-base);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    width: 100%;
}
/* Regulation tiles — Edge Indicator; desktop: 50% wrapper width each (2 cols), mobile: full width */
.page-platform-forex .reg-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}
.page-platform-forex .reg-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    width: 100%;
    padding: 10px 16px;
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--border-light);
    box-sizing: border-box;
    transition: var(--ease);
}
.page-platform-forex .reg-tile:hover { background: var(--bg-subtle); }
.page-platform-forex .reg-tile--active {
    border-left-color: var(--success);
    background: var(--bg-subtle);
}
.page-platform-forex .reg-tile__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}
.page-platform-forex .reg-tile__label i {
    color: var(--text-tertiary);
    font-size: 14px;
    flex-shrink: 0;
}
.page-platform-forex .reg-tile--active .reg-tile__label i { color: var(--success); }
.page-platform-forex .reg-tile__value {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 0;
    overflow-wrap: break-word;
}

/* Hero strip: Regulatory status row; label matches other tiles; icon + left edge by tier */
.page-platform-forex .reg-tile--forex-reg-status {
    background: var(--bg-subtle);
}
.page-platform-forex .reg-tile--forex-reg-status-tier1 {
    border-left-color: var(--success);
}
.page-platform-forex .reg-tile--forex-reg-status-tier1 .reg-tile__label i {
    color: var(--mc-reg-tier1-text);
}
.page-platform-forex .reg-tile--forex-reg-status-tier2 {
    border-left-color: var(--mc-purple-text);
}
.page-platform-forex .reg-tile--forex-reg-status-tier2 .reg-tile__label i {
    color: var(--mc-purple-text);
}
.page-platform-forex .reg-tile--forex-reg-status-tier3 {
    border-left-color: var(--text-secondary);
}
.page-platform-forex .reg-tile--forex-reg-status-tier3 .reg-tile__label i {
    color: var(--text-secondary);
}
.page-platform-forex .reg-tile--forex-reg-status-tier4 {
    border-left-color: var(--mc-reg-tier4-text);
}
.page-platform-forex .reg-tile--forex-reg-status-tier4 .reg-tile__label i {
    color: var(--mc-reg-tier4-text);
}
.page-platform-forex .reg-tile--forex-reg-status-no-data {
    border-left-color: var(--mc-reg-unregulated-text);
}
.page-platform-forex .reg-tile--forex-reg-status-no-data .reg-tile__label i {
    color: var(--mc-reg-unregulated-text);
}

/* Inline country flags (local flagcdn WebP, w20 source) */
.page-platform-forex .country-flag-inline-list { display: inline; }
.page-platform-forex .country-flag-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.375em;
    vertical-align: middle;
}
.page-platform-forex .country-flag-inline__img {
    width: var(--flag-inline-width);
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
    vertical-align: middle;
}
.page-platform-forex .country-flag-inline__name { font-weight: inherit; }
.page-platform-forex .premium-table td.val .country-flag-inline__name,
.page-platform-forex .premium-table td.val--country-full .country-flag-inline__name {
    font-weight: 300;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.35;
}
.page-platform-forex .premium-table td.val .country-flag-inline-sep,
.page-platform-forex .premium-table td.val--country-full .country-flag-inline-sep {
    color: var(--text-tertiary);
    font-weight: 400;
}

.page-platform-forex .country-flag-inline-list--table {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.35em;
    row-gap: 0.35em;
}

.page-platform-forex .country-flag-inline-list--names-only .country-flag-inline {
    gap: 0;
}

.page-platform-forex .premium-table td.val--country-full {
    vertical-align: top;
}
.page-platform-forex .premium-table__country-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
}
.page-platform-forex .premium-table__country-block-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 0.65em;
    width: 100%;
}
.page-platform-forex .premium-table__country-block-main {
    width: 100%;
    min-width: 0;
}
.page-platform-forex .premium-table__country-block .sub {
    margin-top: 0.5em;
}

/* Trust glass (inline in hero) */
.page-platform-forex .trust-glass {
    width: 100%;
}
.page-platform-forex .trust-glass__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}
.page-platform-forex .trust-glass__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    letter-spacing: 0.02em;
}
.page-platform-forex .trust-glass__badge i { font-size: 11px; color: var(--success); }
.page-platform-forex .trust-glass__details {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    flex: 1;
}
.page-platform-forex .trust-glass__details time { font-weight: 700; color: var(--text-primary); }
.page-platform-forex .trust-glass__dot { color: var(--text-tertiary); }
.page-platform-forex .trust-glass__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    padding: var(--radius-md) var(--radius-lg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
    transition: var(--ease);
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
}
.page-platform-forex .trust-glass__link:hover { background: var(--bg-surface); color: var(--text-primary); }
.page-platform-forex .trust-glass__link-icon {
    font-size: 11px;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
}
.page-platform-forex .trust-glass__link-text { line-height: 1.2; }
.page-platform-forex .trust-glass__link:hover .trust-glass__link-icon { color: var(--accent-hover); }
.page-platform-forex .trust-glass__tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: 300px;
    padding: 14px 16px;
    background: var(--text-primary);
    border: 1px solid #334155;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    z-index: 100;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.page-platform-forex .trust-glass__tooltip-arrow {
    position: absolute;
    right: 18px;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: var(--text-primary);
    border: 1px solid #334155;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    box-sizing: border-box;
    pointer-events: none;
}
.page-platform-forex .trust-glass__link:hover .trust-glass__tooltip { visibility: visible; opacity: 1; }

/* ── 7. IB stats datatable (hero) ─────────────────────────────────── */
.page-platform-forex .profile-hero__hero-ib-datatable {
    width: 100%;
    min-width: 0;
}
.page-platform-forex .ib-stats-card {
    background: var(--bg-base);
    width: 100%;
    border-radius: var(--radius-xl);
    padding: 8px 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.page-platform-forex .ib-stats-card .stat-row {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid var(--bg-surface);
}
.page-platform-forex .ib-stats-card .stat-row:last-child { border-bottom: none; }
.page-platform-forex .ib-stats-card .label-group {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}
.page-platform-forex .ib-stats-card .label-group i { font-size: 16px; width: 18px; text-align: center; flex-shrink: 0; color: var(--text-tertiary); }
.page-platform-forex .ib-stats-card .value-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-transform: capitalize;
}
.page-platform-forex .ib-stats-card .value-text--unknown { color: var(--text-tertiary); font-style: italic; font-weight: 500; }
.page-platform-forex .ib-stats-card .stat-row:hover .label-group { color: var(--accent); }
.page-platform-forex .ib-stats-card .stat-row:hover .label-group i { color: var(--accent); }
/* (Data source badge removed — trust signals consolidated in Trust Bar) */

/* ── 9. Main body layout ──────────────────────────────────────────── */
.page-platform-forex .layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    padding: 48px 0 96px;
    align-items: start;
}
/* Prevent main column from forcing horizontal overflow (long tables / flex children) */
.page-platform-forex .layout-grid > main {
    min-width: 0;
}

/* ── 10. Section cards (shared) ───────────────────────────────────── */
.page-platform-forex .section-card {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    margin-bottom: 32px;
}
.page-platform-forex .section-card.data-sections {
    overflow: hidden;
}
.page-platform-forex .section-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-light);
}
.page-platform-forex .section-card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.page-platform-forex .section-card__title { font-size: 20px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; margin: 0; }
.page-platform-forex .section-card__header--with-action .section-card__title { flex: 1; min-width: 0; }
.page-platform-forex .partnership-accordion-master-toggle {
    flex-shrink: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--bg-base);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--ease);
}
.page-platform-forex .partnership-accordion-master-toggle:hover {
    color: var(--accent);
    border-color: var(--accent-soft);
    background: var(--accent-soft);
}
.page-platform-forex .partnership-accordion-master-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.page-platform-forex .partnership-accordion-master-toggle__icon {
    font-size: 1rem;
    line-height: 1;
    pointer-events: none;
}
.page-platform-forex .partnership-accordion-master-toggle__icon--collapse {
    display: none;
}
.page-platform-forex .partnership-accordion-master-toggle.is-all-expanded .partnership-accordion-master-toggle__icon--expand {
    display: none;
}
.page-platform-forex .partnership-accordion-master-toggle.is-all-expanded .partnership-accordion-master-toggle__icon--collapse {
    display: block;
}
.page-platform-forex .section-card__body { padding: 28px; }

/* ── 11. Expert verdict / IB editorial ────────────────────────────── */
.page-platform-forex .analysis-section { margin-bottom: 32px; }
.page-platform-forex .verdict-main-title { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; margin-bottom: 28px; color: var(--text-primary); letter-spacing: -0.02em; }
.page-platform-forex .verdict-main-title i { color: var(--accent); font-size: 20px; }
.page-platform-forex .verdict-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 24px; }
.page-platform-forex .verdict-card { background: var(--bg-base); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.page-platform-forex .verdict-card.theme-strengths { border-top: 4px solid var(--success-accent); }
.page-platform-forex .verdict-card.theme-strengths .verdict-card-header { color: var(--success); }
.page-platform-forex .verdict-card.theme-strengths .icon-bullet { background-color: var(--success-bg); color: var(--success-accent); }
.page-platform-forex .verdict-card.theme-considerations { border-top: 4px solid var(--danger-accent); }
.page-platform-forex .verdict-card.theme-considerations .verdict-card-header { color: var(--danger); }
.page-platform-forex .verdict-card.theme-considerations .icon-bullet { background-color: var(--danger-bg); color: var(--danger-accent); }
.page-platform-forex .verdict-card-header { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; border-bottom: 1px solid var(--bg-surface); padding-bottom: 14px; }
.page-platform-forex .verdict-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.page-platform-forex .verdict-item { display: flex; align-items: flex-start; gap: 14px; }
.page-platform-forex .icon-bullet { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 2px; font-weight: 900; }
.page-platform-forex .verdict-text { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.page-platform-forex .analysis-text-block { padding-top: 20px; border-top: 1px solid var(--border-light); }
.page-platform-forex .analysis-text-block h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.page-platform-forex .analysis-text-block ul { padding-left: 20px; list-style-type: disc; color: var(--text-secondary); font-size: 14px; }
.page-platform-forex .analysis-text-block ul li { margin-bottom: 8px; }

/* IB editorial summary */
.page-platform-forex .ib-editorial-summary-block { margin-top: 4px; }
.page-platform-forex .ib-editorial-summary-list { list-style-type: disc; padding-left: 20px; margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.page-platform-forex .ib-editorial-summary-list li { margin-bottom: 10px; }
.page-platform-forex .ib-editorial-summary-detail { font-weight: 400; }

/* ── 12. Data Sections ──────────────────────────────────────────── */
.page-platform-forex .data-sections .table-container { border: none; border-radius: 0; box-shadow: none; }

/* IB Decision Snapshot — compact and scan-first */
.page-platform-forex .decision-snapshot {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-subtle);
}
.page-platform-forex .decision-snapshot__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}
.page-platform-forex .decision-snapshot__item {
    --snapshot-chip: var(--text-muted);
    padding: 20px 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    border-top: 3px solid var(--snapshot-chip);
    background: var(--bg-base);
}
.page-platform-forex .decision-snapshot__item--good { --snapshot-chip: var(--success-accent); }
.page-platform-forex .decision-snapshot__item--warn { --snapshot-chip: var(--decision-snapshot-warn-chip); }
.page-platform-forex .decision-snapshot__item--risk { --snapshot-chip: var(--danger-accent); }
.page-platform-forex .decision-snapshot__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
    font-weight: 300;
    margin-bottom: 3px;
    line-height: 1.25;
}
.page-platform-forex .decision-snapshot__value {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    word-break: break-word;
}

/* Premium table */
.page-platform-forex .table-container { border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-base); }
.page-platform-forex .premium-table { width: 100%; border-collapse: collapse; text-align: left; }
.page-platform-forex .premium-table th, .page-platform-forex .premium-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-light); }
.page-platform-forex .premium-table th { font-size: 11px; text-transform: capitalize; letter-spacing: 0.06em; color: var(--text-tertiary); font-weight: 700; background: var(--bg-surface); }
.page-platform-forex .premium-table tr:last-child td { border-bottom: none; }
/* Regulatory licences panel (nested table inside partnership accordion) */
.page-platform-forex #partnership-program-detail-table .pfx-regulatory-licences-accordion-cell {
    padding: 0;
    vertical-align: top;
}
.page-platform-forex #partnership-program-detail-table .pfx-regulatory-licences-accordion-cell .premium-table--regulatory-licences {
    border-radius: 0;
}
/* Regulatory licences: explicit column widths (Country 25%, Tier 15%); remainder Licences / Full name. */
.page-platform-forex .premium-table--regulatory-licences {
    table-layout: fixed;
    width: 100%;
}
.page-platform-forex .premium-table--regulatory-licences th,
.page-platform-forex .premium-table--regulatory-licences td {
    vertical-align: top;
    min-width: 0;
}
.page-platform-forex .premium-table--regulatory-licences thead th:nth-child(1) {
    width: 21%;
}
.page-platform-forex .premium-table--regulatory-licences thead th:nth-child(2) {
    width: 39%;
}
.page-platform-forex .premium-table--regulatory-licences thead th:nth-child(3) {
    width: 25%;
}
.page-platform-forex .premium-table--regulatory-licences thead th:nth-child(4) {
    width: 15%;
}
.page-platform-forex .premium-table--regulatory-licences thead th {
    background: var(--bg-base);
}
.page-platform-forex .premium-table--regulatory-licences .pfx-regulatory-licences__code {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}
.page-platform-forex .premium-table--regulatory-licences .pfx-regulatory-licences__label {
    font-weight: 600;
    color: var(--text-primary);
}
.page-platform-forex .premium-table--regulatory-licences .pfx-regulatory-licences__country .country-flag-inline-list {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}
.page-platform-forex .premium-table--regulatory-licences .pfx-regulatory-licences__tier .pfx-reg-tier-badge {
    vertical-align: middle;
}
.page-platform-forex #partnership-program-detail-table td.pfx-regulatory-licences__empty {
    font-style: italic;
    color: var(--text-secondary);
    font-weight: 500;
}
.page-platform-forex .premium-table tbody tr { transition: var(--ease); }
/* Partnership rows: hover per tr. Exclude regulatory wrapper row — nested table has its own row hovers. */
.page-platform-forex .premium-table tbody tr:not(.premium-table__group-header):not(.premium-table__regulatory-licences-row):hover {
    background-color: var(--bg-surface);
}
.page-platform-forex .premium-table--regulatory-licences tbody tr:hover {
    background-color: var(--bg-surface);
}
/* Unregulated: single cell row (no nested licences table) */
.page-platform-forex tr.premium-table__regulatory-licences-row:not(:has(.premium-table--regulatory-licences)):hover {
    background-color: var(--bg-surface);
}
.page-platform-forex .premium-table td.lbl { font-weight: 600; color: var(--text-secondary); font-size: 14px; width: 45%; }
.page-platform-forex .premium-table tr.premium-table__row--critical td {
    border-bottom-color: var(--accent-muted);
}
.page-platform-forex .premium-table td.val { font-weight: 600; color: var(--text-primary); font-size: 14px; }
.page-platform-forex .premium-table td .sub { font-size: 12px; color: var(--text-tertiary); display: block; margin-top: 4px; font-weight: 400; }
.page-platform-forex .premium-table td.lbl .sub {
    margin-top: 6px;
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
/* Data row titles (wrapped in .pfx-slider by JS): capitalize first letter of each word */
.page-platform-forex #partnership-program-detail-table .pfx-partnership-row-label {
    text-transform: capitalize;
}
/* Partnership Program Details: semantic value tones */
.page-platform-forex .program-detail-value {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.4em;
    max-width: 100%;
    min-width: 0;
}
.page-platform-forex .program-detail-value--no-leading-icon {
    align-items: center;
    gap: 0;
}
.page-platform-forex .program-detail-value__icon {
    flex-shrink: 0;
    font-size: 0.95em;
    line-height: 1;
    margin-top: 0.2em;
}
.page-platform-forex .program-detail-value__text {
    font-weight: 600;
    line-height: 1.35;
    min-width: 0;
}
.page-platform-forex .program-detail-value--neutral .program-detail-value__icon {
    color: var(--accent);
}
.page-platform-forex .program-detail-value--neutral .program-detail-value__text {
    color: var(--text-primary);
    font-weight: 600;
}
.page-platform-forex .program-detail-value--available .program-detail-value__icon {
    color: var(--success-accent);
}
.page-platform-forex .program-detail-value--available .program-detail-value__text {
    color: var(--text-primary);
}
.page-platform-forex .program-detail-value--unavailable .program-detail-value__icon {
    color: var(--danger-accent);
}
.page-platform-forex .program-detail-value--unavailable .program-detail-value__text {
    color: var(--danger);
}
.page-platform-forex .program-detail-value--not_accepted .program-detail-value__icon {
    color: var(--danger-accent);
}
.page-platform-forex .program-detail-value--not_accepted .program-detail-value__text {
    color: var(--text-primary);
}
.page-platform-forex .program-detail-value--unknown .program-detail-value__icon {
    color: var(--text-tertiary);
}
.page-platform-forex .program-detail-value--unknown .program-detail-value__text {
    color: var(--text-secondary);
    font-weight: 500;
    font-style: italic;
}
.page-platform-forex .premium-table__group-header td {
    padding: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
}
.page-platform-forex .table-group-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.page-platform-forex .table-group-label i { 
    color: var(--accent); 
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-base);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Partnership program table: per-section accordion (multiple tbody, stays semantic table) */
.page-platform-forex #partnership-program-detail-table {
    --pfx-accordion-duration: 0.36s;
    --pfx-accordion-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.page-platform-forex #partnership-program-detail-table .partnership-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 20px;
    border: none;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
    color: inherit;
    border-radius: 0;
    transition: background-color 0.25s var(--pfx-accordion-ease), color 0.22s var(--pfx-accordion-ease);
}
.page-platform-forex #partnership-program-detail-table .partnership-accordion__toggle:hover {
    background: var(--bg-subtle);
}
.page-platform-forex #partnership-program-detail-table .partnership-accordion__toggle:hover .table-group-label {
    color: var(--text-primary);
}
.page-platform-forex #partnership-program-detail-table .partnership-accordion__toggle:hover .table-group-label i {
    background: var(--accent);
    color: #fff;
}
.page-platform-forex #partnership-program-detail-table .partnership-accordion__toggle:hover .partnership-accordion__chevron {
    color: var(--text-primary);
    background: var(--bg-surface);
}
.page-platform-forex #partnership-program-detail-table .partnership-accordion__toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    background: var(--bg-subtle);
}
.page-platform-forex #partnership-program-detail-table .partnership-accordion__chevron {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-tertiary);
    border-radius: 50%;
    transition: transform var(--pfx-accordion-duration) var(--pfx-accordion-ease), color 0.25s ease, background-color 0.25s ease;
}
.page-platform-forex #partnership-program-detail-table .partnership-accordion-block.is-collapsed .partnership-accordion__chevron {
    transform: rotate(-90deg);
}
/* Body rows: final collapsed state (no layout gap); during is-accordion-animating JS drives max-height on pfx-slider */
.page-platform-forex #partnership-program-detail-table .partnership-accordion-block.is-collapsed > tr:not(:first-child) {
    display: none;
}

.page-platform-forex #partnership-program-detail-table .pfx-slider {
    overflow: hidden;
    transition:
        max-height var(--pfx-accordion-duration) var(--pfx-accordion-ease),
        opacity 0.26s var(--pfx-accordion-ease);
}

.page-platform-forex #partnership-program-detail-table .partnership-accordion-block.is-accordion-animating > tr:not(:first-child) td {
    transition:
        padding-top var(--pfx-accordion-duration) var(--pfx-accordion-ease),
        padding-bottom var(--pfx-accordion-duration) var(--pfx-accordion-ease),
        border-bottom-width var(--pfx-accordion-duration) var(--pfx-accordion-ease);
}
@media (prefers-reduced-motion: reduce) {
    .page-platform-forex #partnership-program-detail-table .partnership-accordion__chevron,
    .page-platform-forex #partnership-program-detail-table .pfx-slider,
    .page-platform-forex #partnership-program-detail-table .partnership-accordion-block.is-accordion-animating > tr:not(:first-child) td {
        transition-duration: 0.01ms !important;
    }
}

/* ── 13. IB Narrative / Description ───────────────────────────────── */
.page-platform-forex .ib-narrative__shell { display: flex; flex-direction: column; gap: clamp(1.25rem, 3vw, 1.75rem); }
.page-platform-forex .ib-narrative__segment { display: flex; flex-direction: column; gap: 0.65rem; }
.page-platform-forex .ib-narrative__kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); margin: 0; }
.page-platform-forex .ib-narrative__prose { font-size: 15px; line-height: 1.75; color: var(--text-secondary); }
.page-platform-forex .ib-narrative__prose p { margin-bottom: 12px; }
.page-platform-forex .ib-narrative__prose p:last-child { margin-bottom: 0; }
.page-platform-forex .ib-narrative__summary {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
}
.page-platform-forex .ib-narrative__col-icon--accent { background: var(--accent-soft); color: var(--accent); }

/* FAQ (inline under Strategic Summary — static Q&A, no accordion) */
.page-platform-forex .ib-narrative__faq {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}
.page-platform-forex .ib-narrative__faq .ib-narrative__faq-header {
    margin-bottom: 4px;
}
.page-platform-forex .ib-narrative__col-icon--faq {
    background: var(--bg-surface);
    color: var(--text-secondary);
}
.page-platform-forex .platform-faq-minimal {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.page-platform-forex .platform-faq-minimal__item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}
.page-platform-forex .platform-faq-minimal__item:first-child {
    padding-top: 0.35rem;
}
.page-platform-forex .platform-faq-minimal__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.page-platform-forex .platform-faq-minimal__q {
    margin: 0 0 0.5rem 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.page-platform-forex .platform-faq-minimal__a {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}
.page-platform-forex .platform-faq-minimal__a p {
    margin: 0 0 0.5rem 0;
}
.page-platform-forex .platform-faq-minimal__a p:last-child {
    margin-bottom: 0;
}
.page-platform-forex .platform-faq-section .section-card__icon {
    background: var(--bg-surface);
    color: var(--text-secondary);
}

/* Advantages / Considerations columns */
.page-platform-forex .ib-narrative__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.page-platform-forex .ib-narrative__col {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
}
.page-platform-forex .ib-narrative__col-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.page-platform-forex .ib-narrative__col-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.page-platform-forex .ib-narrative__col-icon--success { background: var(--success-bg); color: var(--success); }
.page-platform-forex .ib-narrative__col-icon--warning { background: var(--warning-bg); color: var(--warning); }
.page-platform-forex .ib-narrative__col-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin: 0; letter-spacing: -0.01em; }
.page-platform-forex .ib-narrative__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.page-platform-forex .ib-narrative__list-item { display: flex; flex-direction: column; gap: 3px; }
.page-platform-forex .ib-narrative__item-headline { display: block; font-size: 13px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.page-platform-forex .ib-narrative__item-detail { display: block; font-size: 13px; line-height: 1.6; color: var(--text-secondary); }

/* ── 14. Comments section ─────────────────────────────────────────── */
.page-platform-forex .comments-section .card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-light);
}
.page-platform-forex .comments-section .comments-header-main { display: flex; align-items: flex-start; gap: 14px; min-width: 0; flex: 1 1 auto; }
.page-platform-forex .comments-section .card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.page-platform-forex .comments-section .comments-header-copy { min-width: 0; }
.page-platform-forex .comments-section .card-title { font-size: 18px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
.page-platform-forex .comments-section .text-sm { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--text-tertiary); }
.page-platform-forex .comments-section .comments-header-cta { flex: 0 0 auto; align-self: center; white-space: nowrap; }
.page-platform-forex .comments-section .comments-header-cta-icon { font-size: 10px; margin-left: 3px; }
.page-platform-forex .comments-section .card-body { padding: 28px; }

/* Review prompt chips */
.page-platform-forex .review-prompt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.page-platform-forex .review-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--text-secondary); background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: 100px; cursor: pointer; transition: var(--ease); }
.page-platform-forex .review-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.page-platform-forex .review-chip.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.page-platform-forex .review-chip i { font-size: 10px; }

/* Comment form */
.page-platform-forex .comment-form-wrapper { margin-bottom: 0; margin-top: 0; }
.page-platform-forex .comment-form { display: flex; flex-direction: column; }
.page-platform-forex .comment-input-group { display: flex; gap: 12px; align-items: flex-start; }
.page-platform-forex .comment-input-group > .comment-avatar { flex-shrink: 0; }
.page-platform-forex .comment-form-body { flex: 1; }
.page-platform-forex .form-input { width: 100%; padding: 12px 16px; border: 1px solid var(--border-light); border-radius: var(--radius-lg); font-family: inherit; font-size: 14px; color: var(--text-primary); background: var(--bg-surface); transition: var(--ease); outline: none; resize: vertical; min-height: 72px; }
.page-platform-forex .form-input::placeholder { color: var(--text-tertiary); }
.page-platform-forex .form-input:focus { border-color: var(--accent); background: var(--bg-base); box-shadow: 0 0 0 3px var(--accent-soft); }
.page-platform-forex .form-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.page-platform-forex .form-hint { font-size: 11px; color: var(--text-tertiary); display: flex; align-items: center; gap: 4px; }
.page-platform-forex .form-hint i { font-size: 13px; vertical-align: middle; }

/* Thread */
.page-platform-forex .comments-divider { border: none; height: 1px; background: var(--border-light); margin: 24px 0; }
.page-platform-forex .comment-thread { display: flex; flex-direction: column; gap: 0; }
.page-platform-forex .comment-thread::before { display: none; }
.page-platform-forex .forum-post {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.page-platform-forex .forum-post:first-child { padding-top: 0; }
.page-platform-forex .forum-post:last-child { border-bottom: none; padding-bottom: 0; }
.page-platform-forex .forum-post.official-reply { background: var(--accent-soft); border-radius: var(--radius-lg); padding: 20px; margin: 4px 0; border: 1px solid var(--accent-muted); border-bottom: 1px solid var(--accent-muted); }

/* User sidebar — compact column next to content */
.page-platform-forex .forum-user-sidebar {
    width: auto;
    padding: 0;
    background: transparent;
    border-right: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    flex-shrink: 0;
}
.page-platform-forex .forum-post.official-reply .forum-user-sidebar { background: transparent; border-right: none; }
.page-platform-forex .comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-surface); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--text-secondary); margin-bottom: 0; border: 2px solid var(--bg-base); box-shadow: var(--shadow-xs); flex-shrink: 0; }
.page-platform-forex .comment-avatar.has-image { background: var(--text-primary); color: #FFF; overflow: hidden; }
.page-platform-forex .comment-avatar.has-image img { width: 100%; height: 100%; object-fit: cover; }
.page-platform-forex .forum-post.official-reply .comment-avatar { background: var(--accent); border-color: var(--accent-soft); }
.page-platform-forex .comment-author { font-size: 0; line-height: 0; margin: 0; overflow: hidden; width: 0; height: 0; }
.page-platform-forex .forum-user-stats { display: none; }

/* Post main content */
.page-platform-forex .forum-post-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.page-platform-forex .forum-post-header {
    padding: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}
.page-platform-forex .forum-post-header .comment-author-inline { font-weight: 700; color: var(--text-primary); }
.page-platform-forex .forum-post-header .comment-author-inline a { color: inherit; }
.page-platform-forex .forum-post-header .comment-author-inline a:hover { color: var(--accent); }
.page-platform-forex .forum-post.official-reply .forum-post-header { border-bottom: none; }
.page-platform-forex .comment-date { font-weight: 500; font-size: 12px; color: var(--text-tertiary); }
.page-platform-forex .forum-post-header .header-dot { color: var(--text-muted); }
.page-platform-forex .comment-text { padding: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 0; word-break: break-word; }
.page-platform-forex .forum-post-footer { padding: 6px 0 0; background: transparent; border-top: none; }
.page-platform-forex .forum-post.official-reply .forum-post-footer { background: transparent; border-top: none; }
.page-platform-forex .footer-actions { display: flex; justify-content: flex-start; align-items: center; gap: 16px; }
.page-platform-forex .post-actions-left { display: flex; gap: 8px; }
.page-platform-forex .reply-btn { font-size: 12px; font-weight: 600; color: var(--text-tertiary); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: var(--ease); background: none; border: none; font-family: inherit; padding: 0; text-decoration: none; }
.page-platform-forex .reply-btn:hover { color: var(--accent); }
.page-platform-forex .comment-pagination { padding: 20px 0 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--border-light); margin-top: 4px; }
.page-platform-forex .comment-pagination .page-info { font-size: 13px; font-weight: 500; color: var(--text-secondary); padding: 0 10px; }
.page-platform-forex .empty-state { padding: 40px 20px; text-align: center; color: var(--text-tertiary); }
.page-platform-forex .empty-state i { font-size: 32px; margin-bottom: 12px; opacity: 0.4; display: block; }
.page-platform-forex .empty-state p { font-size: 13px; margin: 0; }

/* ── 15. Sidebar ──────────────────────────────────────────────────── */
.page-platform-forex .sidebar-widgets { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.page-platform-forex .sidebar-widget { background: var(--bg-base); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-xs); }
.page-platform-forex .action-widget { border-top: 4px solid var(--accent); padding-top: 20px; }
.page-platform-forex .action-widget h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.page-platform-forex .action-widget p { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
.page-platform-forex .action-widget .btn { width: 100%; margin-bottom: 14px; padding: 13px; font-size: 14px; }
.page-platform-forex .action-widget .official-link { text-align: center; }
.page-platform-forex .action-widget .official-link a { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.page-platform-forex .action-widget .official-link a i { font-size: 11px; }
.page-platform-forex .compare-links-widget h3 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.page-platform-forex .compare-links-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.page-platform-forex .compare-links-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 10px 12px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-subtle);
}
.page-platform-forex .compare-links-item:hover {
    background: var(--accent-soft);
    border-color: var(--accent-muted);
    color: var(--accent);
}
.page-platform-forex .compare-links-item i { font-size: 11px; flex-shrink: 0; }
.page-platform-forex .claim-widget { background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-surface) 100%); text-align: center; }
.page-platform-forex .claim-icon-wrap { width: 52px; height: 52px; background: #FFF; border: 1px solid var(--border-light); color: var(--text-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto 14px; box-shadow: var(--shadow-xs); }
.page-platform-forex .claim-widget h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.page-platform-forex .claim-widget p { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; }
.page-platform-forex .claim-widget .btn { width: 100%; }

/* Social channels */
.page-platform-forex .platform-official-socials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 2.25rem); column-gap: var(--radius-md); row-gap: var(--radius-md); justify-content: center; }
.page-platform-forex .platform-official-socials li { margin: 0; padding: 0; }
.page-platform-forex .platform-official-socials a { color: var(--text-tertiary); display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-md); transition: var(--ease); }
.page-platform-forex .platform-official-socials a:hover { color: var(--text-primary); background: var(--bg-surface); }
.page-platform-forex .platform-official-socials i { font-size: 1.125rem; line-height: 1; }

/* Partnership docs */
.page-platform-forex .partnership-doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.page-platform-forex .partnership-doc-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); font-size: 13px; font-weight: 600; padding: 10px 12px; border-radius: var(--radius-lg); border: 1px solid var(--border-light); transition: var(--ease); }
.page-platform-forex .partnership-doc-link:hover { background: var(--bg-surface); border-color: var(--border-hover); }
.page-platform-forex .partnership-doc-icon { flex-shrink: 0; width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: var(--bg-surface); font-size: 1rem; }
.page-platform-forex .partnership-doc-icon--pdf { color: #b91c1c; }
.page-platform-forex .partnership-doc-icon--word { color: #1d4ed8; }
.page-platform-forex .partnership-doc-icon--excel { color: #047857; }
.page-platform-forex .partnership-doc-title { min-width: 0; word-break: break-word; }


/* ── 19. Sticky mobile CTA ────────────────────────────────────────── */
.page-platform-forex .mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--bg-base);
    border-top: 1px solid var(--border-light);
    padding: 12px 20px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}
.page-platform-forex .mobile-sticky-cta .btn { width: 100%; padding: 14px; font-size: 15px; }

/* ── 20. Responsive ───────────────────────────────────────────────── */
@media (max-width: 992px) {
    .page-platform-forex .profile-hero__grid { grid-template-columns: 1fr; row-gap: clamp(1.75rem, 5vw, 2.5rem); }
    .page-platform-forex .layout-grid { grid-template-columns: 1fr; padding-bottom: 80px; }
    .page-platform-forex .sidebar-widgets { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .page-platform-forex .verdict-grid { grid-template-columns: 1fr; gap: 20px; }
    .page-platform-forex .mobile-sticky-cta { display: block; }
}
@media (max-width: 768px) {
    .page-platform-forex .sidebar-widgets { grid-template-columns: 1fr; }

    /* Hero — IB stats card: stack label / value; avoid cramped two-column grid */
    .page-platform-forex .ib-stats-card {
        padding: 4px 12px;
        border-radius: var(--radius-lg);
    }
    .page-platform-forex .ib-stats-card .stat-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px 0;
    }
    .page-platform-forex .ib-stats-card .label-group {
        font-size: 13px;
        gap: 10px;
    }
    .page-platform-forex .ib-stats-card .label-group i {
        font-size: 15px;
        width: 1.125rem;
    }
    .page-platform-forex .ib-stats-card .value-text {
        text-align: left;
        font-size: 13px;
        line-height: 1.45;
        width: 100%;
        padding-left: calc(1.125rem + 10px);
        box-sizing: border-box;
    }

    /* Partnership Program Details — section chrome */
    .page-platform-forex .data-sections .section-card__header {
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 12px;
        padding: 18px 16px;
    }
    .page-platform-forex .data-sections .section-card__header .section-card__title {
        font-size: clamp(1.0625rem, 4.2vw, 1.25rem);
        line-height: 1.25;
    }
    .page-platform-forex .data-sections .partnership-accordion-master-toggle {
        margin-left: auto;
    }

    .page-platform-forex .decision-snapshot {
        padding: 16px 14px;
    }
    .page-platform-forex .decision-snapshot__grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr));
        gap: 10px;
    }
    .page-platform-forex .decision-snapshot__item {
        padding: 14px 10px;
        min-width: 0;
    }
    .page-platform-forex .decision-snapshot__value {
        font-size: 12px;
        line-height: 1.35;
    }

    .page-platform-forex #partnership-program-detail-table .partnership-accordion__toggle {
        padding: 14px 16px;
        align-items: flex-start;
    }
    .page-platform-forex #partnership-program-detail-table .table-group-label {
        min-width: 0;
        flex: 1 1 auto;
        align-items: flex-start;
        line-height: 1.35;
    }
    .page-platform-forex #partnership-program-detail-table .table-group-label i {
        margin-top: 0.125rem;
    }
    .page-platform-forex #partnership-program-detail-table .partnership-accordion__chevron {
        margin-top: 0.35rem;
    }

    /* Partnership detail: fill viewport width, allow cells to shrink so text wraps (no side clip) */
    .page-platform-forex #partnership-program-detail-table.table-container {
        overflow-x: visible;
        overflow-y: visible;
    }
    /* Only the root partnership table — not nested .premium-table--regulatory-licences */
    .page-platform-forex #partnership-program-detail-table > .premium-table {
        table-layout: fixed;
        width: 100%;
    }
    .page-platform-forex #partnership-program-detail-table > .premium-table td,
    .page-platform-forex #partnership-program-detail-table .pfx-slider {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-platform-forex #partnership-program-detail-table .premium-table td.lbl,
    .page-platform-forex #partnership-program-detail-table .premium-table td.val {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .page-platform-forex #partnership-program-detail-table .program-detail-value {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }
    .page-platform-forex #partnership-program-detail-table .program-detail-value__text {
        flex: 1 1 0;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .page-platform-forex #partnership-program-detail-table .premium-table__country-block,
    .page-platform-forex #partnership-program-detail-table .premium-table__country-block-main {
        min-width: 0;
        max-width: 100%;
    }

    .page-platform-forex .premium-table th, .page-platform-forex .premium-table td { padding: 12px 16px; }
    .page-platform-forex .premium-table td { display: block; border-bottom: none; padding-bottom: 8px; }
    .page-platform-forex .premium-table td.lbl { width: 100%; padding-top: 14px; color: var(--text-tertiary); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
    .page-platform-forex .premium-table td.lbl .sub { text-transform: none; letter-spacing: 0; }
    .page-platform-forex .premium-table td.val { padding-top: 4px; border-bottom: 1px solid var(--border-light); padding-bottom: 14px; }
    .page-platform-forex .premium-table td.val--country-full { padding-top: 14px; }
    .page-platform-forex .premium-table__country-block-label {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-tertiary);
    }
    .page-platform-forex .premium-table tr { border-bottom: 1px solid var(--border-light); display: block; }
    /* Partnership table: separators come from td.val only (avoid tr + td double borders) */
    .page-platform-forex #partnership-program-detail-table .premium-table > tbody > tr {
        border-bottom: none;
    }
    /* Block-level tr: visibility:collapse does not free layout; hide collapsed accordion rows fully */
    .page-platform-forex #partnership-program-detail-table .partnership-accordion-block.is-collapsed > tr:not(:first-child) {
        display: none;
    }
    .page-platform-forex #partnership-program-detail-table .partnership-accordion-block:not(.is-collapsed) > tr:not(:first-child) {
        display: block;
    }
    .page-platform-forex #partnership-program-detail-table .premium-table__group-header td {
        padding: 0;
    }
    .page-platform-forex .premium-table thead { display: none; }
    /* Regulatory licences: stacked “card per row” (mobile-first responsive table pattern) */
    .page-platform-forex #partnership-program-detail-table .pfx-regulatory-licences-accordion-cell {
        overflow-x: visible;
        overflow-y: visible;
        overscroll-behavior-x: auto;
        vertical-align: top;
    }
    .page-platform-forex .premium-table--regulatory-licences {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        display: block;
        border: none;
        background: transparent;
    }
    /* Override .premium-table thead { display: none } — keep in a11y tree, hide visually */
    .page-platform-forex .premium-table--regulatory-licences thead {
        display: block;
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .page-platform-forex .premium-table--regulatory-licences tbody {
        display: block;
    }
    .page-platform-forex .premium-table--regulatory-licences tbody tr {
        display: block !important;
        margin-top: 12px;
        margin-bottom: 12px;
        padding: 14px 16px;
        background: var(--bg-subtle);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-xs);
        transition: var(--ease);
    }
    .page-platform-forex .premium-table--regulatory-licences tbody tr:last-child {
        margin-bottom: 0;
    }
    .page-platform-forex .premium-table--regulatory-licences tbody tr:hover {
        background: var(--bg-surface);
    }
    .page-platform-forex .premium-table--regulatory-licences tbody td {
        display: block !important;
        width: 100% !important;
        max-width: 100%;
        padding: 10px 0;
        border: none;
        border-bottom: 1px solid var(--border-light);
        font-size: 14px;
        text-align: left;
        box-sizing: border-box;
    }
    .page-platform-forex .premium-table--regulatory-licences tbody td:first-child {
        padding-top: 0;
    }
    .page-platform-forex .premium-table--regulatory-licences tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .page-platform-forex .premium-table--regulatory-licences tbody td::before {
        content: attr(data-pfx-reg-label);
        display: block;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-tertiary);
        margin-bottom: 6px;
    }
    .page-platform-forex .premium-table--regulatory-licences .pfx-regulatory-licences__code {
        font-size: 14px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .page-platform-forex .premium-table--regulatory-licences .pfx-regulatory-licences__label {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .page-platform-forex .premium-table--regulatory-licences .pfx-regulatory-licences__country .country-flag-inline-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 0.35em;
        row-gap: 0.35em;
    }

    .page-platform-forex #partnership-program-detail-table .premium-table td.lbl,
    .page-platform-forex #partnership-program-detail-table .premium-table td.val {
        padding-left: 16px;
        padding-right: 16px;
    }
    .page-platform-forex #partnership-program-detail-table .premium-table td.pfx-regulatory-licences-accordion-cell {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 4px;
        padding-bottom: 16px;
    }
    .page-platform-forex .comments-section .card-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .page-platform-forex .comments-section .comments-header-cta { width: 100%; justify-content: center; min-height: 38px; }
    .page-platform-forex .ib-narrative__columns { grid-template-columns: 1fr; }
    .page-platform-forex .reg-tiles {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .page-platform-forex .unclaimed-tooltip.is-visible {
        left: 16px !important;
        right: 16px !important;
        bottom: 24px !important;
        top: auto !important;
        width: auto !important;
    }
}
@media (max-width: 560px) {
    .page-platform-forex .profile-hero__identity-head { flex-direction: column; align-items: flex-start; }
    .page-platform-forex .profile-hero__hero-trust-stack { gap: 12px; }
    .page-platform-forex .reg-tiles-wrapper { padding: 18px 16px; }
    .page-platform-forex .hero-logo { width: 88px; height: 88px; }
    .page-platform-forex .row-flex { flex-direction: column; gap: 16px; }
    .page-platform-forex .input-wrap { width: 100px; }
}
@media (max-width: 480px) {
    .page-platform-forex .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .page-platform-forex .decision-snapshot__grid {
        grid-template-columns: 1fr;
    }
    .page-platform-forex .decision-snapshot__item {
        padding: 12px 12px;
    }
    .page-platform-forex .data-sections .section-card__header {
        padding: 16px 14px;
    }
    .page-platform-forex #partnership-program-detail-table .partnership-accordion__toggle {
        padding: 12px 14px;
    }
    .page-platform-forex #partnership-program-detail-table .premium-table td.lbl,
    .page-platform-forex #partnership-program-detail-table .premium-table td.val {
        padding-left: 14px;
        padding-right: 14px;
    }
    .page-platform-forex #partnership-program-detail-table .premium-table td.pfx-regulatory-licences-accordion-cell {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 14px;
    }
}

/* ── IB calculator standalone (/calc) ─────────────────────────────── */
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-head {
    max-width: 42rem;
    margin: 0 auto clamp(1.25rem, 3vw, 2rem);
    text-align: center;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-head__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.625rem, 3.5vw, 2.125rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-head__lead {
    margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    text-align: left;
    max-width: min(100%, 28rem);
    margin: 0 auto;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-toolbar__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-toolbar__select {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: var(--ease);
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-toolbar__select:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
    border-color: var(--accent);
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-toolbar__status {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin: 0;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-toolbar__error {
    font-size: 0.8125rem;
    color: var(--danger);
    margin: 0;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    padding-top: 0.35rem;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-meta__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    width: 100%;
    text-align: center;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-meta__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-meta__link:hover {
    color: var(--accent-hover);
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-meta__cta {
    margin-left: auto;
    margin-right: auto;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-empty {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}
.page-platform-forex.page-ib-calculator-standalone .ib-calc-standalone-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}
.page-platform-forex.page-ib-calculator-standalone .profile-hero__ib-calculator {
    width: 100%;
    max-width: 480px;
}

