.market-top { --mt-ink: #152041; --mt-muted: #8190ad; --mt-line: #e2e8f3; color: var(--mt-ink); }
.market-top button, .market-top select, .market-top input { font: inherit; }
.mt-intro { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.mt-intro h2 { font-size:24px; margin:0 0 7px; letter-spacing:-.6px; }
.mt-intro p, .mt-source span { color:var(--mt-muted); font-size:13px; margin:0; }
.mt-source { display:grid; gap:6px; font-size:13px; }
.mt-filters { padding:20px 22px 0; margin-bottom:20px; }
.mt-main-filters, .mt-advanced { display:flex; align-items:flex-end; gap:14px; flex-wrap:wrap; }
.mt-main-filters > .mt-button { min-height:39px; }
.mt-segment { display:flex; align-self:stretch; align-items:center; padding:5px; border-radius:13px; background:#f3f6fb; gap:2px; }
.mt-segment button { border:0; background:none; color:#7e8ca7; padding:12px 14px; border-radius:10px; cursor:pointer; font-weight:600; }
.mt-segment .is-active { background:#fff; color:#315ded; box-shadow:0 3px 12px #1520410b; }
.mt-field { display:grid; gap:5px; font-size:11px; color:var(--mt-muted); }
.mt-field--sector { width:230px; max-width:100%; }
.mt-field--sector select { width:100%; min-width:0; text-overflow:ellipsis; }
.mt-field--issuer { position:relative; width:230px; max-width:100%; min-width:0; }
.mt-issuer-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-width:0; min-height:39px; padding:7px 12px; border:1px solid var(--mt-line); border-radius:10px; background:#fff; color:#3c4964; font-size:13px!important; text-align:left; cursor:pointer; }
.mt-issuer-toggle > span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mt-issuer-chevron { flex:none; width:7px; height:7px; margin:0 2px 4px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
.mt-issuer-toggle[aria-expanded="true"] { border-color:#8ba5f7; }
.mt-issuer-toggle:disabled { color:#8893a8; background:#f5f7fb; cursor:not-allowed; }
.mt-issuer-picker { position:absolute; top:calc(100% + 7px); left:0; z-index:20; width:100%; box-sizing:border-box; padding:10px; border:1px solid var(--mt-line); border-radius:12px; background:#fff; box-shadow:0 12px 32px #15204120; }
.mt-issuer-picker input { box-sizing:border-box; width:100%; min-width:0; min-height:39px; padding:8px 10px; border:1px solid var(--mt-line); border-radius:8px; background:#f7f9fe; color:var(--mt-ink); font-size:13px; }
.mt-issuer-options { max-height:260px; overflow-y:auto; overscroll-behavior:contain; margin-top:7px; padding:3px; }
.mt-issuer-options button { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-height:38px; padding:9px 8px; border:0; border-radius:7px; background:none; color:#3c4964; text-align:left; font-size:13px; cursor:pointer; }
.mt-issuer-options button > span:first-child { overflow-wrap:anywhere; }
.mt-issuer-options button:hover, .mt-issuer-options button[aria-pressed="true"] { background:#f0f4ff; color:#315ded; }
.mt-issuer-empty { margin:8px; color:var(--mt-muted); font-size:12px; line-height:1.5; }
.mt-field--source { min-width:180px; max-width:260px; }
.mt-field--source select { width:100%; max-width:100%; text-overflow:ellipsis; }
.mt-field select { border:1px solid var(--mt-line); background:#fff; color:#3c4964; border-radius:10px; min-height:39px; padding:7px 30px 7px 12px; font-size:13px; cursor:pointer; }
.mt-own-toggle { display:flex; align-items:center; gap:7px; cursor:pointer; font-size:13px; white-space:nowrap; }
.mt-own-toggle input { accent-color:#4266ef; width:17px; height:17px; }
.mt-button { border:1px solid var(--mt-line); background:#fff; border-radius:10px; color:#405070; padding:10px 13px; cursor:pointer; font-size:12px!important; white-space:nowrap; }
.mt-button:disabled { opacity:.6; cursor:wait; }
.mt-advanced { border-top:1px solid var(--mt-line); padding-top:16px; margin-top:18px; align-items:end; }
.mt-filter-summary { border-top:1px solid var(--mt-line); margin-top:18px; padding:13px 0; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--mt-muted); font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.mt-filter-summary strong { color:#3f527a; font-weight:600; }
.mt-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,520px),1fr)); align-items:start; gap:20px; }
.mt-leaders { overflow:hidden; min-width:0; container-type:inline-size; }
.mt-table-title { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; padding:20px; }
.mt-table-title h2 { font-size:19px; margin:0; letter-spacing:-.4px; }
.mt-table-title > span { color:var(--mt-muted); font-size:11px; white-space:nowrap; }
.mt-table-title > .mt-comparison-note { white-space:normal; line-height:1.45; text-align:center; max-width:180px; justify-self:center; }
@container(max-width:570px) { .mt-table-title { grid-template-columns:1fr auto; gap:8px 12px; } .mt-comparison-note { grid-row:2; grid-column:1 / -1; } .mt-table-title > .mt-comparison-note { max-width:none; justify-self:start; text-align:left; } .mt-leader-count { grid-row:1; grid-column:2; } }
.mt-direction { font-size:23px; margin-right:4px; }
.market-top .down { color:#bd515e; }
.market-top .up { color:#338a68; }
.mt-scroll { overflow:auto; }
.market-top table { width:100%; min-width:510px; border-collapse:collapse; table-layout:auto; font-variant-numeric:tabular-nums; }
.market-top thead { background:linear-gradient(100deg,#4b91e8,#4631f3); color:white; }
.market-top th { padding:12px 8px; text-align:right; font-size:11px; white-space:nowrap; background:none; color:inherit; }
.market-top th:first-child, .market-top td:first-child { text-align:left; padding-left:18px; }
.market-top th:last-child, .market-top td:last-child { padding-right:18px; }
.market-top th button { border:0; background:none; color:inherit; cursor:pointer; padding:0; white-space:nowrap; font-size:inherit; }
.market-top th button span { opacity:.8; padding-left:2px; }
.market-top td { padding:14px 8px; border-bottom:1px solid var(--mt-line); text-align:right; font-size:12px; white-space:nowrap; }
.market-top tbody tr:last-child td { border-bottom:0; }
.market-top tbody tr:hover { background:#f7f9fe; }
.mt-name { display:flex; align-items:center; gap:6px; }
.mt-name button, .mt-name strong { font-weight:600; font-size:12px; max-width:180px; overflow:hidden; text-overflow:ellipsis; }
.mt-name button { border:0; background:none; cursor:pointer; padding:0; color:var(--mt-ink); }
.mt-name button:hover { color:#4266ef; }
.mt-owned { border:1px solid #d9e4fd; background:#f0f5ff; color:#4266d8; font-size:9px; border-radius:4px; padding:1px 3px; }
.mt-rating { color:#65738d; font-size:11px; }
.mt-change { font-weight:700; }
.market-top .mt-empty { padding:34px 18px; text-align:center; color:var(--mt-muted); white-space:normal; }
.mt-note { color:var(--mt-muted); font-size:11px; line-height:1.7; margin:16px 2px 0; max-width:1120px; }
.mt-status { border:1px solid #efdfb6; background:#fff9ee; color:#896b31; border-radius:12px; padding:12px 16px; font-size:13px; line-height:1.5; }
.market-top button:focus-visible, .market-top select:focus-visible, .market-top input:focus-visible { outline:2px solid #4069fa; outline-offset:3px; }
@media(max-width:650px) { .mt-field--issuer { width:100%; } .mt-issuer-picker { width:100%; max-width:100%; } .mt-issuer-picker input { font-size:16px; } }
@media(max-width:650px) { .mt-filters { padding:14px 14px 0; } .mt-intro h2 { font-size:21px; } .mt-intro { gap:14px; } .mt-source { line-height:1.5; } .mt-main-filters { gap:12px; } .mt-segment { width:100%; justify-content:space-between; } .mt-table-title { padding:17px 15px; } .mt-own-toggle { min-height:36px; } }

.mt-pro-promo { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding:0 0 18px; margin-bottom:18px; border-bottom:1px solid var(--mt-line); }
.mt-pro-promo strong { color:var(--mt-ink); font-size:16px; }
.mt-pro-promo p { margin:7px 0 0; color:#5f6e8b; font-size:13px; line-height:1.5; max-width:680px; }
.mt-pro-promo .mt-button { color:#315ded; background:#f3f6ff; border-color:#cfdbff; font-weight:600; }
.mt-free-scope { color:#405070; font-size:13px; line-height:1.5; }

.mt-locked-preview { position:relative; min-height:186px; overflow:hidden; border-top:1px solid var(--mt-line); background:#f9fbff; display:grid; place-items:center; }
.mt-locked-skeleton { position:absolute; inset:0; min-width:510px; pointer-events:none; user-select:none; filter:blur(4px); opacity:.5; }
.mt-locked-row { display:grid; grid-template-columns:1.7fr repeat(5,1fr); align-items:center; gap:16px; height:60px; padding:0 18px; border-bottom:1px solid var(--mt-line); }
.mt-locked-row span { display:block; width:var(--line-width); height:9px; border-radius:3px; background:#8393ae; justify-self:end; }
.mt-locked-row span:first-child { justify-self:start; }
.mt-locked-content { position:relative; display:grid; justify-items:center; gap:9px; padding:16px 24px; margin:14px; border:1px solid #e1e7f5; border-radius:14px; background:rgba(255,255,255,.95); box-shadow:0 6px 24px #2438670c; text-align:center; }
.mt-locked-title { display:flex; align-items:center; justify-content:center; gap:9px; font-size:16px; font-weight:700; color:#192443; }
.mt-locked-title svg { color:#4266ef; flex:none; }
.mt-locked-content p { margin:0; color:#63718c; font-size:12px; line-height:1.5; }
.mt-locked-content .mt-button { margin-top:2px; color:#fff; background:linear-gradient(110deg,#3d7af1,#4933f3); border-color:transparent; font-weight:600; }

.mt-field > span { display:flex; align-items:center; gap:7px; }
.mt-filter-pro { display:inline-block; border:1px solid #ead8b6; border-radius:4px; color:#9d752f; background:#fbf7ed; padding:1px 4px; font-size:9px; line-height:1.25; letter-spacing:.5px; font-weight:700; }
.mt-field select:disabled { opacity:1; color:#8893a8; background:#f5f7fb; cursor:not-allowed; -webkit-text-fill-color:#8893a8; }
.mt-segment button:disabled { opacity:.65; cursor:not-allowed; }
.mt-segment button.is-active:disabled { opacity:1; color:#71809b; }
.mt-button[data-mt-advanced]:disabled { opacity:1; color:#8893a8; background:#f5f7fb; cursor:not-allowed; }
.mt-button[data-mt-advanced] .mt-filter-pro { margin-left:5px; vertical-align:middle; }
@media(max-width:650px) { .mt-kind-field { width:100%; } .mt-kind-field .mt-segment { width:auto; } }

.mt-liquidity-date { font-size:12px; color:var(--mt-muted); margin:0 0 16px; }
