.tfr-page--brokers-list-index .brokers-list-hero__search{width:min(620px,100%)}
.tfr-page--brokers-list-index .brokers-list-hero__search input{flex:1;width:100%;background:#fff;color:#172641}
.tfr-page--brokers-list-index .brokers-list-hero__search .primary-button{display:flex;gap:8px;align-items:center;background:#c9472b;border-color:#c9472b;min-height:44px}
.tfr-page--brokers-list-index .brokers-list-hero__search .primary-button svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.8}
.tfr-page--brokers-list-index .directory-results{padding-top:34px}.tfr-page--brokers-list-index .tfr-directory-toolbar{padding:28px 30px;gap:28px;background:#f5f7fb;border:1px solid #e0e5ed;border-radius:12px 12px 0 0}
.directory-result-summary{min-width:0}.directory-eyebrow{display:block;font-size:10px;letter-spacing:.15em;color:#ad3b23;font-weight:700;margin-bottom:6px}
.directory-result-summary h2{font-size:30px;letter-spacing:-1.1px;line-height:1.2;color:#172641}
.directory-result-summary p{font-size:13px;color:#52627b;margin-top:7px;overflow-wrap:anywhere}
.directory-sort-form{flex-shrink:0}.directory-sort-form label{color:#52627b}.tfr-page--brokers-list-index .directory-sort-form select{background-color:#fff;color:#172641;max-width:240px;padding-right:30px;cursor:pointer}html:not(.no-js) .directory-sort-form select[data-tfr-custom-select]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.tfr-directory-select{position:relative;min-width:195px}.tfr-directory-select__trigger{width:100%;height:44px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 12px;border:1px solid #d7e0ec;border-radius:6px;background:#fff;color:#172641;font:inherit;text-align:left}.tfr-directory-select__trigger svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.5}.tfr-directory-select__list{position:absolute;top:calc(100% + 6px);right:0;z-index:10;width:max-content;min-width:100%;padding:5px;background:#fff;border:1px solid #d7e0ec;border-radius:7px;box-shadow:0 12px 26px rgba(23,38,65,.14)}.tfr-directory-select__list button{display:block;width:100%;padding:9px 10px;border-radius:4px;color:#253650;font:inherit;font-size:13px;text-align:left;white-space:nowrap}.tfr-directory-select__list button:hover,.tfr-directory-select__list button[aria-selected=true]{background:#edf2fb;color:#172641}

/* Directory sort control: exact shared height and reversible 300ms states. */
.tfr-page--brokers-list-index .brokers-list-hero__search :is(.search-input,.primary-button),
.tfr-page--brokers-list-index .directory-sort-form > .btn,
.tfr-page--brokers-list-index .tfr-directory-select__trigger {
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding-block: 0;
}
.tfr-page--brokers-list-index .brokers-list-hero__search .primary-button {
    min-height: 44px !important;
}
.tfr-page--brokers-list-index .tfr-directory-select__trigger {
    transition: background-color 300ms ease,border-color 300ms ease,color 300ms ease;
}
.tfr-page--brokers-list-index .tfr-directory-select__trigger svg {
    flex: none;
    transition: transform 300ms ease;
}
.tfr-page--brokers-list-index .tfr-directory-select__trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
@media (hover:hover) {
    .tfr-page--brokers-list-index .tfr-directory-select__trigger:hover:not(:focus-visible):not([aria-expanded="true"]) {
        background: #f7f9fc;
        border-color: #aebed2;
        box-shadow: none;
    }
}
.tfr-page--brokers-list-index .tfr-directory-select__trigger:is(:focus-visible,[aria-expanded="true"]) {
    outline: none;
    background: #fff5f0;
    border-color: #c9472b;
    box-shadow: none;
}
.tfr-page--brokers-list-index .tfr-directory-select__list {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 300ms ease,transform 300ms ease,visibility 0s linear 300ms;
}
.tfr-page--brokers-list-index .tfr-directory-select__list[data-state="open"],
.tfr-page--brokers-list-index .tfr-directory-select__trigger[aria-expanded="true"] + .tfr-directory-select__list {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 300ms ease,transform 300ms ease,visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
    .tfr-page--brokers-list-index :is(.tfr-directory-select__trigger,.tfr-directory-select__trigger svg,.tfr-directory-select__list) {
        transition: none;
    }
}
.directory-active-filters{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 20px;font-size:13px;color:#52627b}.directory-active-filters a{color:#ad3b23;font-weight:600;text-decoration:underline;text-underline-offset:4px}.directory-active-filters a span{margin-left:8px;font-size:20px}
.tfr-page--brokers-list-index .tfr-directory-table{border-radius:0 0 10px 10px;max-height:690px;overscroll-behavior-inline:contain;scroll-padding-inline-start:220px;box-shadow:0 14px 34px rgba(31,51,84,.06)}
.tfr-directory-table .directory-table{width:100%;min-width:920px;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:start}
.directory-table :is(th,td){padding:20px 18px;border-bottom:1px solid #e2e7ef;font-size:14px;line-height:1.55;text-align:start;color:#52627b;vertical-align:middle;background:#fff;overflow-wrap:anywhere}
.directory-table thead th{font-size:12px;font-weight:600;color:#fff;background:#172641;position:sticky;top:0;z-index:2;padding-block:15px}
.directory-table :is(th,td):first-child{width:25%;position:sticky;inset-inline-start:0;z-index:1;border-inline-end:1px solid #e2e7ef}
.directory-table thead th:first-child{z-index:3}.directory-table :is(th,td):nth-child(2){width:10%}.directory-table :is(th,td):nth-child(3){width:14%}.directory-table :is(th,td):nth-child(4){width:13%}.directory-table :is(th,td):nth-child(5){width:22%}.directory-table :is(th,td):last-child{width:16%}
.directory-table tbody tr:nth-child(even)>*{background:#f8f9fc}.directory-table tbody tr:last-child>*{border-bottom:0}
.directory-broker{display:flex;align-items:center;gap:12px;color:#172641;min-height:46px}.directory-broker img{width:42px;height:42px;flex:none;border:1px solid #dce3ed;border-radius:7px;background:#fff;object-fit:contain}.directory-broker strong{display:block;font-size:14px;font-weight:650;line-height:1.45}.directory-broker small{display:block;font-size:11px;font-weight:400;color:#52627b;margin-top:4px}
.directory-score{font-size:20px;font-weight:700;color:#172641;font-variant-numeric:tabular-nums}.directory-score-total{font-size:12px;color:#52627b}.directory-table .directory-deposit{font-weight:650;color:#172641;font-variant-numeric:tabular-nums}.directory-platforms{display:flex;flex-wrap:wrap;gap:5px}.directory-platforms span{font-size:11px;line-height:1.5;background:#eaf0f8;border:1px solid #dce4ef;color:#344d70;border-radius:4px;padding:4px 7px}
.directory-review{display:inline-flex;gap:7px;align-items:center;color:#172641;font-weight:650;font-size:13px;min-height:44px}.directory-review svg{width:17px;height:17px;flex:none;stroke:currentColor;stroke-width:1.8;transition:transform 180ms ease}.directory-table-note{font-size:12px;color:#52627b;margin-top:16px;max-width:80ch}.directory-scroll-hint{display:none;align-items:center;gap:8px;color:#52627b;font-size:12px;margin-bottom:12px}.directory-scroll-hint svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.5}
.directory-empty{padding:42px 24px;text-align:center;border:1px solid #dce3ed;background:#f5f7fb;border-radius:8px}.directory-empty>svg{width:80px;height:80px;margin:0 auto 16px}.directory-empty h3{font-size:24px;letter-spacing:-.5px}.directory-empty p{color:#52627b;font-size:14px;margin:10px auto 22px;max-width:48ch}.directory-empty a{display:inline-flex;gap:12px}.directory-pagination{margin-top:32px}
@media(hover:hover){.directory-table tbody tr:hover>*{background:#f0f4f9}.directory-broker:hover strong,.directory-review:hover{color:#ad3b23}.directory-review:hover svg{transform:translateX(3px)}.tfr-page--brokers-list-index .brokers-list-hero__search .primary-button:hover{background:#ad3b23}}
@media(max-width:1050px){.directory-scroll-hint{display:flex}.tfr-page--brokers-list-index .tfr-directory-toolbar{flex-wrap:wrap}.directory-sort-form{flex-shrink:1}.directory-table :is(th,td):first-child{width:220px}}
@media(max-width:600px){.tfr-page--brokers-list-index .directory-results{padding-top:24px}.tfr-page--brokers-list-index .tfr-directory-toolbar{align-items:stretch;gap:20px;padding:22px 18px}.tfr-page--brokers-list-index .directory-sort-form{display:grid;grid-template-columns:1fr auto;gap:7px 10px;align-items:stretch}.directory-sort-form label{grid-column:1/-1}.tfr-page--brokers-list-index .directory-sort-form select{width:100%;max-width:none;min-width:0}.tfr-directory-select{min-width:0}.tfr-site .tfr-directory-select__trigger{width:100%}.tfr-page--brokers-list-index .brokers-list-hero__title{font-size:38px;letter-spacing:-1.4px}.tfr-page--brokers-list-index .brokers-list-hero__search form{gap:8px;flex-wrap:nowrap!important}.tfr-page--brokers-list-index .brokers-list-hero__search .search-input{flex:1 1 auto;min-width:0}.tfr-page--brokers-list-index .brokers-list-hero__search form #submit-btn{width:auto!important;flex:0 0 auto;padding-inline:16px}.directory-result-summary h2{font-size:26px}.tfr-directory-table .directory-table{min-width:840px}.directory-table :is(th,td){padding:17px 12px}.directory-table :is(th,td):first-child{width:174px}.directory-broker{gap:8px}.directory-broker img{width:32px;height:32px}.directory-broker strong{font-size:13px}.directory-broker small{font-size:11px}.directory-table-note{line-height:1.7}.directory-active-filters{align-items:flex-start}.tfr-page--brokers-list-index .tfr-directory-table{scroll-padding-inline-start:174px}}
@media(prefers-reduced-motion:reduce){.directory-review svg{transition:none}.directory-review:hover svg{transform:none}}
/* Phones: each broker row becomes a stacked card instead of a sideways-scrolling table. */
@media(max-width:640px){
.directory-scroll-hint,.tfr-page--brokers-list-index .directory-scroll-hint{display:none}
.tfr-page--brokers-list-index .tfr-directory-table{max-height:none;overflow:visible;box-shadow:none;border-radius:0}
.tfr-directory-table .directory-table,.tfr-directory-table .directory-table tbody{display:block;min-width:0;width:100%}
.directory-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tfr-directory-table .directory-table tbody{display:grid;gap:12px;padding-top:12px}
.directory-table tbody tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #dce3ed;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 6px 18px rgba(31,51,84,.05)}
.directory-table tbody tr>:is(th,td){display:block;width:auto!important;position:static;padding:0;border:0;background:#fff}.directory-table tbody tr:nth-child(even)>*{background:#fff}
.directory-table tbody tr>th{grid-column:1/-1;position:static;padding:16px 92px 14px 16px}
.directory-table tbody .directory-rating{position:absolute;z-index:2;top:22px;right:16px;padding:0;white-space:nowrap}
.directory-table .directory-rating .directory-score{display:inline-block;min-width:36px;padding:3px 9px;border-radius:999px;background:#fbeae4;color:#172641;font-size:17px;text-align:center}
.directory-table tbody td[data-label]:not(.directory-rating){padding:12px 16px;border-top:1px solid #edf1f6;font-size:14px;color:#172641}
.directory-table tbody td[data-label]:not(.directory-rating)::before{content:attr(data-label);display:block;margin-bottom:3px;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#52627b}
.directory-table tbody td.directory-deposit+td{border-left:1px solid #edf1f6}
.directory-table .directory-platforms-cell{grid-column:1/-1}
.directory-table .directory-review-cell{grid-column:1/-1;padding:0;border-top:1px solid #e2e7ef;background:#f5f7fb}
.directory-table .directory-review-cell .directory-review{display:flex;justify-content:space-between;width:100%;padding:0 16px;min-height:48px}
.directory-broker img{width:40px;height:40px}.directory-broker strong{font-size:15px}
}
@media(max-width:640px) and (hover:hover){.directory-table tbody tr:hover>*{background:#fff}.directory-table tbody tr:hover .directory-review-cell{background:#f0f4f9}}
