.market-selector{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 24px}.market-selector-link{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:82px;padding:14px 18px;border:1px solid #bdcdbf;border-radius:9px;background:#fff;color:#304a34;text-decoration:none!important;line-height:1.45}.market-selector-link strong{font-size:1rem;font-weight:750}.market-selector-link span{font-size:.8125rem;color:#597049}.market-selector-link:hover{border-color:#71974d;background:#f3f7ee}.market-selector-link[aria-current=page]{background:#dfeecc;border-color:#71974d;box-shadow:inset 0 0 0 1px #71974d;color:#2c481f}.market-selector-link:focus-visible{outline:3px solid #7f9f55;outline-offset:4px}.gold-side-filter{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 16px}.gold-side-filter button{font:700 .875rem/1.5 Manrope,Arial,sans-serif;min-height:44px;min-width:76px;border:1px solid #bdcdbf;border-radius:8px;background:#fff;color:#48613f;padding:9px 18px;cursor:pointer}.gold-side-filter button[aria-pressed=true]{background:#dfeecc;border-color:#71974d;color:#2c481f}.account-workspace .workspace-cards{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:850px){.market-selector,.account-workspace .workspace-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.market-selector{gap:8px}.market-selector-link{padding:12px;min-height:84px}.market-selector-link strong{font-size:.9375rem}.market-selector-link span{font-size:.75rem}.account-workspace .workspace-cards{grid-template-columns:1fr}}
.workspace-destinations.market-overview-destinations{grid-template-columns:repeat(4,minmax(0,1fr))}.market-overview-destinations .membership-feature{padding:28px 22px}@media(max-width:1100px){.workspace-destinations.market-overview-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.workspace-destinations.market-overview-destinations{grid-template-columns:1fr}}

/* Match the FX summary layout for the other H4 grids. */
.scanner-page[data-market=shares] .scan-overview,.scanner-page[data-market=indices] .scan-overview{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.scanner-page[data-market=shares] .scan-overview,.scanner-page[data-market=indices] .scan-overview{gap:8px}}

/* Familiar index names lead; native broker symbols remain underneath. */
[data-market="indices"] .signal-top{align-items:flex-start;min-height:2.5em}
[data-market="indices"] .symbol-name{min-width:0;font-size:17px;line-height:1.25;letter-spacing:-.025em;white-space:normal}
[data-market="indices"] .tile-arrow{flex-shrink:0}

/* Summary cards are the primary signal filters. */
.scanner-page .summary-filters .overview-card{appearance:none;font:inherit;text-align:left;color:inherit;width:100%;min-height:116px;padding:18px 20px 38px;cursor:pointer;border:1px solid #bdcdbf;border-radius:10px;background:#fff;box-shadow:none;transition:border-color .15s,background .15s;position:relative}
.scanner-page .summary-filters .overview-card:hover{border-color:#6a8b47;background:#f1f6e9}
.scanner-page .summary-filters .overview-card[aria-pressed=true]{border-color:#57753b;background:#e7f0d9;box-shadow:inset 0 0 0 1px #57753b}
.scanner-page .summary-filters .overview-card.bull[aria-pressed=true]{border-color:#28745b;background:#e4f2e9;box-shadow:inset 0 0 0 1px #28745b}
.scanner-page .summary-filters .overview-card.bear[aria-pressed=true]{border-color:#a5465c;background:#f9e9ed;box-shadow:inset 0 0 0 1px #a5465c}
.scanner-page .summary-filters .overview-card:focus-visible,.scanner-page .secondary-filter select:focus-visible{outline:3px solid #43677b;outline-offset:4px}
.scanner-page .summary-filters .overview-card>svg{display:none}
.overview-action{position:absolute;right:16px;bottom:12px;font-size:12px;font-weight:700;line-height:1.3;color:#405539}
.overview-show::after{content:' →'}
.overview-selected{display:none}
[aria-pressed=true]>.overview-action .overview-show{display:none}
[aria-pressed=true]>.overview-action .overview-selected{display:inline}
.scanner-page .summary-results{align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.secondary-filter{display:flex;align-items:center;gap:10px;font-size:13px;color:#526052}
.scanner-page .secondary-filter select{font:inherit;color:#243c32;background:#fff;border:1px solid #bdcdbf;border-radius:8px;min-height:44px;padding:9px 32px 9px 12px;max-width:100%;cursor:pointer}
.scanner-page .summary-results .result-count{margin-left:auto;white-space:normal;text-align:right}
@media(max-width:650px){
 .scanner-page .scan-overview.summary-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .scanner-page .summary-filters .overview-card:first-child{grid-column:1/-1}
 .scanner-page .summary-filters .overview-card{min-height:110px;padding:14px 14px 34px}
 .scanner-page .summary-filters .overview-card:first-child{min-height:88px}
 .scanner-page .summary-filters .overview-card small{font-size:13px}
 .scanner-page .summary-filters .overview-card strong{font-size:28px;line-height:1.3;margin-top:7px}
 .scanner-page .summary-filters .overview-note{display:none}
 .scanner-page .summary-filters .overview-card:first-child .overview-note{display:inline;font-size:11px;margin-left:10px}
 .scanner-page .summary-results{flex-wrap:wrap;gap:8px}
 .scanner-page .summary-results .result-count{font-size:12px}
 .secondary-filter{gap:6px;font-size:12px}
}
