/* Compact market boards, based on the supplied visual reference. */
.search-results .found{gap:12px;margin-top:16px}
.search-quote{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(0,2fr);border:1px solid #1b3c4d;border-radius:7px;background:linear-gradient(110deg,#0b1c29,#0e2637);overflow:hidden}
.search-asset{padding:17px;display:flex;gap:12px;align-items:center;min-width:0}
.search-asset .asset-symbol{width:36px;height:36px;font-size:13px}
.search-identity{min-width:0}.search-identity h4{margin:0 0 3px;font-size:14px}.search-name{display:block;color:#bfd0db;font-size:11px;overflow-wrap:anywhere}
.search-quote .search-price{display:block;margin:8px 0 0;font-size:16px;color:#eef6fb}.search-date{display:block;margin-top:4px;color:var(--muted);font-size:10px}
.search-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.search-change{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:16px;border-left:1px solid #1b3c4d;border-top:3px solid transparent}
.search-change.up{color:var(--green);border-top-color:#08735f;background:#07554315}.search-change.down{color:var(--red);border-top-color:#92383d;background:#6b23301a}.search-change.neutral{color:#a8bac9}
.change-period{font-size:11px;color:#c6d4de}.search-quote .change-value{font-size:21px;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.change-state{font-size:10px}
@media(max-width:900px){.search-quote{grid-template-columns:1fr}.search-change:first-child{border-left:0}.search-periods{border-top:1px solid #1b3c4d}}
@media(max-width:450px){.search-change{padding:12px 8px;gap:5px}.search-quote .change-value{font-size:17px}.change-period{font-size:10px}.change-state{font-size:9px}.search-asset{padding:14px}}
.overview-strip{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);align-items:stretch;background:#0c1d2b;border:1px solid var(--line);border-radius:7px;margin-bottom:13px}
.overview-strip .metrics{border:0;background:none;margin:0}
.overview-strip .notice{border:0;border-left:1px solid var(--line);border-radius:0;background:none;margin:15px 0;padding:0 18px;align-items:center}
.overview-strip .notice p{line-height:1.6}
@media(max-width:600px){.overview-strip{grid-template-columns:1fr}.overview-strip .notice{border-left:0;border-top:1px solid var(--line);margin:0 12px;padding:12px 0}}
.ranking-grid tr[hidden]{display:none}
button.result-count{border:0;background:none;border-radius:3px;padding:2px 0;font:inherit;cursor:pointer}
button.result-count:hover{text-decoration:underline;color:#b3e9ff}
body.dialog-open{overflow:hidden}
dialog.ranking-dialog{padding:0;width:min(620px,calc(100% - 28px));max-height:calc(100dvh - 40px);margin:auto;color:var(--text);overflow:auto;box-shadow:0 24px 90px #0009}
dialog.ranking-dialog::backdrop{background:#020a13c9;backdrop-filter:blur(3px)}
.ranking-dialog .card-heading{position:sticky;top:0;z-index:1}
.ranking-dialog .card-heading h3{white-space:normal}
.dialog-close{margin-left:auto;background:none;border:0;color:#e9f5ff;font-size:26px;line-height:24px;padding:0 3px;cursor:pointer}
.dialog-description{font-size:11px;color:var(--muted);padding:14px 16px;margin:0}
.ranking-dialog td{height:52px}
.ranking-dialog .company{white-space:normal;overflow:visible;font-size:11px}
.ranking-dialog .dialog-done{font-size:11px;padding:5px 13px}
:root{--bg:#060f18;--card:#0c1f2e;--line:#163344;--green:#00e6ab;--red:#ff595c;--muted:#8da6b7}
body{background:radial-gradient(ellipse at 50% 0,#102331 0, #060f18 65%)}
header{height:66px;background:#07131de6}
main{max-width:1440px;padding:0 24px}
.intro{padding:25px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.intro .eyebrow{width:100%;font-size:9px;letter-spacing:1.7px;margin-bottom:-18px}
h1{font-size:29px;line-height:1.15;margin:10px 0 0;letter-spacing:-.8px}
h1 br{display:none}h1 span{font-size:22px;margin-left:7px;color:#92aabd}
.intro p{font-size:12px;line-height:1.7;margin:6px 0 0}.intro .desktop{display:none}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:15px 0;border-radius:7px;background:#0c1d2b}
.metrics>div{gap:4px;padding:0 20px;border-right:1px solid var(--line);border-bottom:0}.metrics>div:last-child{border-right:0}.metrics strong{font-size:20px}.metrics strong.date{font-size:17px}.metrics small{font-size:8px}.metrics span{font-size:10px}
.notice{margin:13px 0;padding:10px 14px;border-radius:5px;background:#0b1c28;border-color:#183748}.notice strong{font-size:11px}.notice p{font-size:10px}.notice-icon{font-size:11px;width:16px;height:16px;line-height:14px}
.data-note{font-size:10px;color:var(--muted);margin:10px 0 23px}.data-note summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:14px}.data-note summary>span{color:#6bbada}.data-note p{max-width:1050px;line-height:1.8}
.rankings-top{margin-bottom:15px}.rankings-top h2{font-size:20px}.rankings-top p{font-size:11px}
form{background:#0a1b28;border-radius:5px;padding:3px 5px 3px 10px}form>span{font-size:21px}form input{font-size:11px}form button{font-size:10px;padding:6px 10px}
.ranking-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ranking{border:1px solid #123244;background:linear-gradient(115deg,#0b1c29,#0d2232);border-radius:7px;box-shadow:0 5px 18px #0002}
.ranking.up{border-top-color:#08735f}.ranking.down{border-top-color:#92383d}
.card-heading{padding:8px 12px;gap:10px;min-height:40px;background:linear-gradient(100deg,#064b45,#07352f);border-bottom:1px solid #08705c}
.down .card-heading{background:linear-gradient(100deg,#52262c,#321d29);border-bottom-color:#7a333a}
.direction-icon,.down .direction-icon{background:none;width:24px;flex-shrink:0;height:24px;line-height:24px;font-size:25px;font-weight:750;border-radius:0}
.card-heading h3{font-size:12px;font-weight:700;letter-spacing:.1px;white-space:nowrap}.heading-period{color:#e1e8ed;font-weight:650}
.mini-bars{display:flex;align-items:flex-end;gap:2px;height:20px;margin-left:auto;color:var(--green)}.down .mini-bars{color:var(--red)}.mini-bars i{width:3px;background:currentColor;border-radius:1px;opacity:.9}.mini-bars i:nth-child(1){height:5px}.mini-bars i:nth-child(2){height:10px}.mini-bars i:nth-child(3){height:15px}.mini-bars i:nth-child(4){height:20px}.down .mini-bars{transform:scaleX(-1)}
table{table-layout:fixed;font-size:11px}th{font-size:9px;padding:7px 8px;background:#102738;border-block-color:#173849;color:#c2d3df}th:first-child,td:first-child{width:27px;padding-left:12px;padding-right:3px}th:nth-child(2){width:107px}th:last-child{width:82px}th:last-child,td:last-child{padding-right:12px}
td{height:41px;padding:6px 8px;border-bottom-color:#153143;background:transparent}tbody tr:nth-child(even){background:#112a3b44}tbody tr:last-child td{border-bottom:0}td:first-child{color:#d6e3ed;font-size:10px}td b{font-size:10px;letter-spacing:.1px}
.asset{display:flex;align-items:center;gap:8px;min-width:0}.asset-symbol{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#125c62,#10334f);border:1px solid #33708780;color:#b4edf0;width:23px;height:23px;border-radius:5px;flex-shrink:0;font-size:9px;font-weight:800;letter-spacing:.3px}tbody tr:nth-child(3n+2) .asset-symbol{background:linear-gradient(135deg,#244e88,#142d47);color:#a8d7ff;border-color:#416ca080}tbody tr:nth-child(3n) .asset-symbol{background:linear-gradient(135deg,#5d4f25,#302d28);color:#f5dc8a;border-color:#88744980}
.row-price{display:block;color:#7d9bad;font-size:8px;margin-top:1px;font-variant-numeric:tabular-nums}.company{font-size:10px;color:#c3d0db;max-width:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.company-cell{min-width:0}
.variation{font-size:13px;font-weight:750;letter-spacing:-.3px;font-variant-numeric:tabular-nums;color:var(--green)}.down .variation{color:var(--red)}
.card-foot{padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#0c2232;font-size:9px;min-height:32px;border-top:1px solid #173546}.result-count{color:#79caed;white-space:nowrap}.result-count>span{margin-left:5px}
.ranking .match{background:#174b4480}.ranking .empty{height:220px}
.method{margin-top:22px;background:#0b1b27;font-size:11px;border-radius:6px}footer{padding:20px 0 25px}
@media(min-width:1350px){main{padding:0 24px}}
@media(max-width:1100px){.ranking-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.card-heading{padding:8px;gap:6px}.card-heading h3{font-size:11px}.mini-bars{gap:1px}.mini-bars i{width:2px}th:nth-child(2){width:91px}th:last-child{width:72px}td{padding-inline:5px}td:last-child,th:last-child{padding-right:8px}.asset{gap:5px}.asset-symbol{width:20px;height:22px;font-size:8px}.variation{font-size:12px}h1 span{font-size:19px}}
@media(max-width:900px){.ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.intro{gap:8px}.intro .eyebrow{margin-bottom:0}.intro p{width:100%}.metrics>div{padding:0 12px}.metrics strong.date{font-size:14px}.metrics span{font-size:9px}}
@media(max-width:600px){main{padding:0 12px}header{padding:0 14px;height:60px}.intro{padding:20px 0 16px}h1{font-size:25px}h1 span{display:block;margin:7px 0 0;font-size:20px}.metrics{grid-template-columns:1fr;padding:0 12px}.metrics>div{padding:11px 0;gap:3px;border-right:0;border-bottom:1px solid var(--line)}.metrics>div:last-child{border-bottom:0}.metrics strong{font-size:18px}.metrics strong.date{font-size:16px}.metrics span{font-size:10px}.ranking-grid{grid-template-columns:1fr;gap:14px}.rankings-top{gap:12px}.data-note{margin-bottom:18px}.data-note summary{display:block}.data-note summary>span{display:block;margin-top:4px}.card-heading{padding:9px 12px;gap:10px}.card-heading h3{font-size:13px}th:nth-child(2){width:107px}th:last-child{width:82px}.asset-symbol{width:23px;height:23px}.variation{font-size:13px}.company{max-width:none;font-size:10px}td{height:43px}.notice{align-items:flex-start}.rankings-top p{font-size:10px}}
