/* The returns table is the primary workspace. No introductory stage. */
.topline{height:53px}.view-tabs{margin-top:4px}.view-tabs>button{padding:15px 0}.filter-panel{margin-top:15px;padding:14px 16px}.filter-panel label>span{margin-bottom:7px}.filter-panel input,.filter-panel select,.clear-button{height:36px}.table-bar{padding:18px 0 12px}.table-date{font:8px Plex,monospace;color:var(--muted);margin-left:10px;border-left:1px solid var(--line);padding-left:12px}.table-container{border:1px solid #33454d;border-top:2px solid var(--mint);box-shadow:0 12px 40px #0002;border-radius:4px;overflow:clip}table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%}.column-groups th{padding:9px 6px;background:#12212c;color:#8bb8d5;font:8px Plex,monospace;letter-spacing:.7px;text-align:center;border-bottom:1px solid #334754}.column-groups th:nth-child(2){color:#92ebd3;background:#112923}.column-groups th:nth-child(3){color:var(--mint);background:#202a17}.column-groups th:nth-child(4){color:#c0b6eb;background:#211e30}#head th{background:#182533;border-bottom:1px solid #394c60;border-right:1px solid #314050;position:relative}#head th button{font-size:8px;color:#d8e6f3;font-weight:800;line-height:1.5;min-height:54px;padding:11px 3px}#head th:nth-child(n+6):nth-child(-n+11){background:#153029}#head th:nth-child(n+12):nth-child(-n+14){background:#28331b}#head th:nth-child(n+15){background:#29243b}#head th[aria-sort=ascending],#head th[aria-sort=descending]{background:#334c17;box-shadow:inset 0 -3px var(--mint)}#head th[aria-sort=ascending] button,#head th[aria-sort=descending] button{color:#d5ff8a}.arrow{opacity:.7;color:inherit}td{height:57px;padding:10px 3px;border-bottom:1px solid var(--line);background:var(--bg);font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:-.3px}tbody tr:nth-child(even) td{background:var(--panel)}td:nth-child(5),td:nth-child(11),td:nth-child(14){border-right:2px solid var(--line)}td.sorted-column{box-shadow:inset 0 0 0 999px #9bc85408}.return-cell .cell-value{display:block;padding:7px 1px;border-radius:3px;white-space:nowrap;font-weight:500}.return-cell.gain .cell-value{background:#41f29a0c;color:var(--green)}.return-cell.loss .cell-value{background:#ff597c12;color:var(--red)}tbody tr:hover td{background:var(--panel2)}tbody tr:hover td:first-child{box-shadow:inset 3px 0 var(--mint)}tbody tr:hover .return-cell.gain .cell-value{background:#41f29a1a}tbody tr:hover .return-cell.loss .cell-value{background:#ff597c20}td:first-child{padding-left:8px}.fund-code strong{font-family:Manrope,sans-serif;font-size:12px;font-weight:800;letter-spacing:.2px}.fund-logo{width:23px;height:23px}td:nth-child(2){padding:10px 8px;font-size:10px;letter-spacing:0;text-align:left}td:nth-child(2) button{line-height:1.5;text-align:left;color:var(--text)}td.index .cell-value{display:inline-block;font-size:8px;letter-spacing:0;padding:5px 3px;color:#98caff;border:1px solid #98caff26;border-radius:3px}.missing .cell-value{color:var(--muted);background:none}.risk{font-size:10px;border:1px solid var(--line);border-radius:50%;width:23px;height:23px;display:inline-grid;place-items:center}.table-bar .live-mark{box-shadow:none}.table-bar small{color:var(--muted)}
html[data-theme=light] .column-groups th{background:#e0eaf4;color:#36536c;border-color:#c2d0dc}html[data-theme=light] .column-groups th:nth-child(2){background:#dceee7;color:#185a45}html[data-theme=light] .column-groups th:nth-child(3){background:#e8efce;color:#476000}html[data-theme=light] .column-groups th:nth-child(4){background:#e8e1f4;color:#5b487c}html[data-theme=light] #head th{background:#d3e2f0;border-color:#b8cbdc}html[data-theme=light] #head th button{color:#183c59}html[data-theme=light] #head th:nth-child(n+6):nth-child(-n+11){background:#d1e9dd}html[data-theme=light] #head th:nth-child(n+12):nth-child(-n+14){background:#e1e9c4}html[data-theme=light] #head th:nth-child(n+15){background:#ded5ee}html[data-theme=light] #head th[aria-sort=ascending],html[data-theme=light] #head th[aria-sort=descending]{background:#c5db91}html[data-theme=light] #head th[aria-sort=ascending] button,html[data-theme=light] #head th[aria-sort=descending] button{color:#294300}html[data-theme=light] td.index .cell-value{color:#245a8c;border-color:#245a8c30}
@media(min-width:1600px){td{font-size:11px}.return-cell .cell-value{padding:8px 2px}#head th button{font-size:9px}}
@media(max-width:1250px) and (min-width:1001px){main{padding:0 12px}.sidebar{width:115px}main{margin-left:115px}.fund-code{flex-direction:column;gap:3px}.fund-code strong{font-size:10px}td{font-size:8px;letter-spacing:-.4px}td:nth-child(2){font-size:9px;padding:8px 3px}#head th button{font-size:7px}.column-groups th{font-size:6px;letter-spacing:0}}
@media(max-width:1000px){.table-date{font-size:7px}.fund-card{border-top:2px solid var(--mint)}.card-returns>div{background:var(--bg);border:1px solid var(--line);padding:10px 8px;border-radius:3px}.card-returns{gap:7px}.card-head{padding-bottom:6px}}
@media(max-width:620px){.topline{height:47px}.view-tabs{margin-top:0}.view-tabs>button{padding:14px 0}.filter-panel{padding:12px;margin-top:12px}.filter-panel select,.filter-panel input,.clear-button{height:40px}.table-bar{flex-wrap:wrap;gap:10px}.table-bar>div{flex-wrap:wrap}.table-date{font-size:6px;margin-left:0;padding-left:6px}.card-returns strong{font-size:12px}.card-returns small{font-size:7px}.profile-note{padding:9px 12px}.fund-logo{width:25px;height:25px}}
/* Explicit user color semantics, including zero and absent values. */
:root,html[data-theme=dark],html[data-theme=light]{--green:#39ff14;--red:#ff1744;--neon-blue:#00cfff}
.gain,.return-cell.gain .cell-value,.card-returns .gain{color:var(--green)!important;text-shadow:0 0 8px #39ff1440}
.loss,.return-cell.loss .cell-value,.card-returns .loss{color:var(--red)!important;text-shadow:0 0 8px #ff174440}
.neutral,.neutral .cell-value,.missing .cell-value,.return-cell.neutral .cell-value,.card-returns .neutral{color:var(--neon-blue)!important;text-shadow:0 0 8px #00cfff40}
td:nth-child(1),td:nth-child(2){text-shadow:none}
.return-cell .cell-value{font-weight:700}.return-cell.gain .cell-value{background:#39ff1410}.return-cell.loss .cell-value{background:#ff174414}.return-cell.neutral .cell-value{background:#00cfff0b}
html[data-theme=light] .return-cell .cell-value,html[data-theme=light] .card-returns strong{background:#0b1520;padding:7px 2px;border-radius:3px}
.metric-origin{font:7px Plex,monospace;color:var(--muted);margin:0 0 12px;line-height:1.8}.metric-origin span{margin-left:12px;opacity:.85}
@media(max-width:620px){.metric-origin{font-size:6px}.metric-origin span{display:block;margin-left:0}}
.risk{color:inherit}.card-meta b.neutral{color:var(--neon-blue)!important}
/* Index symbols use the available cell width, with wrapping for long mappings. */
td.index .cell-value{display:block;font-family:Manrope,Arial,sans-serif;font-size:clamp(11px,.82vw,14px);font-weight:800;line-height:1.4;letter-spacing:0;padding:6px 2px;overflow-wrap:anywhere;white-space:normal;border:none;background:#98caff0b}
.table-bar .table-actions{display:flex;align-items:center;gap:18px}.star-horizon-label{display:flex;align-items:center;gap:7px;font:8px Plex,monospace;color:var(--muted)}#star-horizon{background:var(--panel2);color:var(--text);border:1px solid var(--line);padding:6px 8px;border-radius:3px;font:9px Plex,monospace}
@media(max-width:620px){.table-bar .table-actions{width:100%;justify-content:space-between;gap:8px}.star-horizon-label{font-size:7px}}
/* Values scale against their own cell, including long percentages. */
td{container-type:inline-size;height:62px}.cell-value{font-size:clamp(11px,calc((100cqw - 8px) / var(--chars, 6) * 1.5),16px);font-weight:700;line-height:1.35}.return-cell .cell-value{font-size:clamp(11px,calc((100cqw - 8px) / var(--chars, 6) * 1.5),16px);padding:8px 1px}.fund-code strong{font-size:14px}td:nth-child(2){font-size:clamp(10px,.76vw,13px)}td[data-column="stars"] .cell-value{letter-spacing:0;font-size:clamp(12px,1vw,17px)}
.risk[data-risk]{--risk-color:#39ff14;position:relative;isolation:isolate;display:inline-grid;place-items:center;width:27px;height:27px;border:0;border-radius:50%;font:800 16px Manrope,sans-serif;color:var(--risk-color)!important;background:#0a1116;text-shadow:0 0 5px var(--risk-color);box-shadow:0 0 9px color-mix(in srgb,var(--risk-color) 60%,transparent)}.risk[data-risk]:before{content:'';position:absolute;inset:4px;z-index:-1;transform:rotate(45deg);border:2px solid var(--risk-color);border-radius:4px;background:linear-gradient(135deg,color-mix(in srgb,var(--risk-color) 28%,#071016),#071016)}
.risk[data-risk="1"]{--risk-color:#39ff14}.risk[data-risk="2"]{--risk-color:#70ff00}.risk[data-risk="3"]{--risk-color:#bdff00}.risk[data-risk="4"]{--risk-color:#ffff00}.risk[data-risk="5"]{--risk-color:#ffbe00}.risk[data-risk="6"]{--risk-color:#ff7300}.risk[data-risk="7"]{--risk-color:#ff1744}
.card-returns strong{font-size:16px!important}.card-meta .risk{vertical-align:middle}
@media(max-width:1250px) and (min-width:1001px){.cell-value,.return-cell .cell-value{font-size:clamp(9px,calc((100cqw - 5px) / var(--chars,6) * 1.45),14px)}.risk[data-risk]{width:23px;height:23px;font-size:14px}.fund-code strong{font-size:12px}}
.value-box{display:block;width:100%;container-type:inline-size}.value-box>.cell-value{display:block}td{container-type:normal}
/* Compact, equal-height single-line rows. Full names are available in a transient tooltip. */
.column-groups th{font-size:12px;height:34px;padding:10px 6px}
#rows tr{height:52px}#rows td{height:52px;padding-top:8px;padding-bottom:8px;white-space:nowrap;vertical-align:middle;overflow:hidden}#rows td:nth-child(2){padding:8px}
#rows .fund-name{display:block;width:100%;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:22px;text-align:left;font:700 12px Manrope,sans-serif}
#rows .cell-value{white-space:nowrap;line-height:1.25;letter-spacing:0;box-sizing:border-box}#rows .value-box{min-width:0;max-width:100%}#rows td.index .cell-value{white-space:nowrap;overflow-wrap:normal}.fund-code{flex-direction:row}
#fund-name-tooltip{position:fixed;z-index:1000;pointer-events:none;max-width:min(440px,calc(100vw - 24px));padding:14px 17px;border:1px solid var(--mint);border-left:3px solid var(--mint);border-radius:6px;background:var(--panel2);color:var(--text);box-shadow:0 12px 35px #0006;font:650 13px/1.7 Manrope,sans-serif;letter-spacing:.1px;overflow-wrap:anywhere}
@media(max-width:1250px) and (min-width:1001px){.column-groups th{font-size:9px}#rows .fund-name{font-size:10px}.fund-code{gap:3px}.fund-logo{width:19px;height:19px}}
#rows td{height:52px;padding:0 3px!important}#rows td:nth-child(2){padding:0 8px!important}#rows .value-box{height:36px;display:flex;align-items:center}#rows .value-box>.cell-value{width:100%}#rows .fund-code{height:36px;padding:0}
.coverage-heading{margin-top:30px;font-size:14px;letter-spacing:1px}.coverage-audit{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:16px 0 25px}.coverage-audit article{display:grid;grid-template-columns:1fr auto;gap:9px;background:var(--panel);border:1px solid var(--line);padding:16px}.coverage-audit strong{grid-column:1/-1;font-size:11px}.coverage-audit span,.coverage-audit b{font:10px Plex,monospace}.coverage-audit small{grid-column:1/-1;font-size:9px;color:var(--muted);line-height:1.5}

/* High-contrast, readable fund search and classification filters. */
.filter-panel label>span{display:block;width:fit-content;max-width:100%;font:850 14px/1.3 Manrope,Segoe UI,sans-serif;letter-spacing:.55px;text-transform:uppercase;margin-bottom:9px;padding:2px 0 2px 8px;border-left:2px solid currentColor;color:#62e9ff;text-shadow:0 0 10px #00cfff66}
.filter-panel label:nth-of-type(2)>span{color:#bdff00;text-shadow:0 0 10px #bdff0066}
.filter-panel label:nth-of-type(3)>span{color:#ff79e8;text-shadow:0 0 10px #ff4dff66}
.filter-panel label:nth-of-type(4)>span{color:#ffd166;text-shadow:0 0 10px #ffbe0066}
.filter-panel label:nth-of-type(5)>span{color:#ff6b87;text-shadow:0 0 10px #ff174466}
.filter-panel input,.filter-panel select{height:46px;font-size:15.75px;font-weight:650;border-color:#355066}
.filter-panel input{box-shadow:inset 0 0 0 1px #00cfff12}
.filter-panel input:focus,.filter-panel select:focus{outline:2px solid #62e9ff;outline-offset:2px;border-color:#62e9ff;box-shadow:0 0 14px #00cfff44}
.filter-panel input::placeholder{font-size:19.25px;font-weight:600;color:#9bdcf0;opacity:1}
@media(max-width:1250px){.filter-panel label>span{font-size:10.5px}.filter-panel input,.filter-panel select{font-size:15.75px}.filter-panel input::placeholder{font-size:17.5px}}
@media(max-width:620px){.filter-panel label>span{font-size:10.5px;line-height:1.3}.filter-panel input,.filter-panel select{height:44px;font-size:14px}.filter-panel input::placeholder{font-size:17.5px}.filter-panel{row-gap:14px}}
