:root{--bg:#090e15;--panel:#0e151f;--border:#202c3a;--text:#e3ecfa;--muted:#8297b4;--green:#08d5a0;--red:#fa8796}
aside{width:246px;background:#0b1017;border-right:1px solid #243040;padding:20px 10px 10px;box-shadow:none}.brand{gap:10px;padding:0 8px;letter-spacing:-.4px;font-size:16px;font-weight:700;align-items:center}.brand-monogram{display:grid;place-items:center;width:36px;height:36px;border-radius:16px;background:linear-gradient(130deg,#20d8b2,#7c92ff);color:#071b28;font-size:16px;font-weight:600;letter-spacing:-1px;flex-shrink:0}.brand-wordmark{display:grid;gap:3px}.brand-wordmark small{font-size:9px;font-weight:400;color:#627c9d;letter-spacing:2px}.caption{font-size:9px;letter-spacing:2px;color:#617c9e;margin:30px 8px 14px}nav{gap:3px}nav button{position:relative;min-height:40px;border-radius:0 18px 18px 0;padding:10px 12px;gap:12px;font-size:13px;color:#9bacc5;transition:background .16s,color .16s}nav button .ico{width:17px;height:19px;color:#667789;display:grid;place-items:center;font-size:17px}nav button .ico svg{width:18px;height:18px}nav button.active{background:#121923;color:#e8f0ff;font-weight:600}nav button.active:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:5px;background:#00e8b4}nav button.active .ico{color:#00e8b4}@media(hover:hover){nav button:not(.active):hover{background:#121b27;color:#edf4ff}}.sidebar-bottom{border:0;padding:20px 2px 0;margin-top:auto}.workspace-card{border:1px solid #202c3b;border-radius:20px;background:linear-gradient(125deg,#101721,#0c1119);padding:17px 16px 16px}.workspace-card .workspace-title{font-size:11px;font-weight:700;color:#00e6ad;letter-spacing:.4px;display:flex;align-items:center;gap:7px}.workspace-card .workspace-title:before{content:'';width:6px;height:6px;border-radius:50%;background:#00c69d}.workspace-card p{font-size:12px;line-height:1.7;color:#8ca1bf;margin:10px 0}.workspace-card button{border:0;border-radius:22px;min-height:32px;background:#08d5a0;width:100%;color:#041712;font-weight:600;font-size:11px;padding:8px}.workspace-card button:hover{background:#30e6b6}main{margin-left:246px}header{background:#0b1119}.card.featured{background:linear-gradient(125deg,#112c2a,#101b24);border-color:#25423f}.card,.panel{border-radius:14px}.primary{border-radius:9px}.secondary,.chip{background:#111c29}.chip.active{background:#10382e;border-color:#226e5a;color:#27e7b8}.select summary{background:#101c29}.select .options{background:#111b28;border-color:#2a3d50}.options button:hover{background:#16382f}.result{background:#102d29}.asset-icon{background:#142b2c;border-color:#25403f}.notice{background:#0f211f;border-color:#25413a;color:#a0bcb9}.ticker{background:#0b1119}th{background:#0b121c}tbody tr:hover{background:#10221f}.avatar{background:#163a32}.profile{display:none}@media(max-width:1100px) and (min-width:801px){aside{width:226px}main{margin-left:226px}}@media(max-width:800px){aside{width:246px;box-shadow:20px 0 50px #0009}main{margin-left:0}}@media(max-height:740px){.caption{margin-top:24px}nav{gap:1px}nav button{min-height:37px;padding-top:8px;padding-bottom:8px}.workspace-card{padding:14px 16px}.sidebar-bottom{padding-top:16px}}@media(max-height:610px){aside{overflow-y:auto}.sidebar-bottom{margin-top:20px}}
.rank-cell{display:flex;align-items:center;gap:13px;min-width:150px}.rank-number{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border:1px solid #263a42;border-radius:9px;background:#101e25;color:#19ddb0;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.rank-identity{gap:9px}.rank-identity strong{font-weight:600;letter-spacing:.2px}.rank-identity .asset-icon{width:34px;height:34px;border-radius:9px}.rank-caption{display:block;margin:6px 0 0 43px;max-width:210px;white-space:normal}
.method-accordion{margin-top:22px}.method-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none;color:var(--text)}.method-accordion>summary::-webkit-details-marker{display:none}.method-accordion>summary strong{display:block;font-size:14px;font-weight:600}.method-accordion>summary small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.method-chevron{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--border);border-radius:9px;color:#9cb2c8;transition:transform .18s}.method-accordion[open] .method-chevron{transform:rotate(180deg)}.method-content{padding:0 20px 20px;border-top:1px solid var(--border)}.method-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:14px 24px;padding-top:17px}.method-grid section{min-width:0}.method-grid h3{margin:0 0 7px;color:#dce8f5;font-size:12px;font-weight:600}.method-grid p{font-size:11px;line-height:1.65}.method-grid .method-notes{grid-column:1/-1;padding-top:12px;border-top:1px solid #1d2b36}.method-notes p+p{margin-top:8px}@media(max-width:800px){.method-accordion>summary{padding:16px}.method-content{padding:0 16px 16px}.method-grid{grid-template-columns:1fr;gap:14px}.method-grid .method-notes{grid-column:auto}}
.brand{padding:0 4px}.brand-logo{display:block;width:100%;max-width:218px;height:auto;object-fit:contain}
.brand-logo{height:46px;object-fit:cover;object-position:center center;border-radius:2px}.caption{margin-top:24px}
/* Ranking compacto: retornos visíveis, premissas expansíveis. */
.rank-panel{container-type:inline-size;min-width:0;max-width:100%;border-color:#202c3b;background:#0e151f}
.rank-panel .panel-head{padding:22px 22px 18px;margin:0;border-bottom:1px solid #1d2936;align-items:flex-start}
.rank-panel .panel-head>div{min-width:0;max-width:100%}
.rank-panel .panel-head p{line-height:1.6}
.rank-panel .select .options{width:220px;max-width:calc(100cqw - 44px);white-space:normal;box-shadow:0 12px 30px #0006}
.rank-panel .select .options button{line-height:1.5}
.rank-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 22px 12px}
.rank-search-wrap{position:relative;flex:1 1 220px;max-width:390px;min-width:0}
.rank-search-wrap>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:19px;color:#768aa0;pointer-events:none}
.rank-search-wrap .search{width:100%;padding-left:39px;min-height:41px;border-radius:10px;border:1px solid #273648;background:#0b121b;color:#e7edf5}
.rank-filter-builder{min-width:0}
.rank-filter-builder>summary{list-style:none;cursor:pointer;display:flex;align-items:center;width:fit-content;min-height:41px;padding:0 15px;border:1px solid #2b4050;border-radius:10px;background:#10231f;color:#36dfb5;font-size:12px;font-weight:600}
.rank-filter-builder>summary::-webkit-details-marker{display:none}
.rank-filter-builder[open]{order:3;flex:1 1 100%}
.rank-filter-builder[open]>summary{border-color:#22866e}
.rank-filter-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:10px;padding:14px;background:#101c26;border:1px solid #294339;border-radius:10px}
.rank-filter-form label{display:grid;gap:6px;flex:1 1 120px;min-width:0;color:#9bacc0;font-size:11px}
.rank-filter-form input,.rank-filter-form select{width:100%;height:38px;padding:0 10px;border:1px solid #2b3b4d;border-radius:8px;background:#0b121a;color:#e8eef6;font:inherit}
.rank-filter-form button{height:38px;white-space:nowrap}
.rank-filter-builder>small{display:block;margin:8px 0 0;color:#8297b4;font-size:10px}
.rank-count{margin-left:auto;color:#8e9eaf;font-size:11px;white-space:nowrap}
.rank-filter-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:0 22px 14px}
.rank-filter-chip{padding:6px 10px;border:1px solid #235346;border-radius:20px;background:#102b25;color:#8de8cb;font-size:10px;cursor:pointer}
.rank-clear{padding:6px 8px;border:0;background:none;color:#9aabbc;font-size:10px;cursor:pointer}
.rank-list{padding:0 12px 12px;min-width:0}
.rank-list-hint{padding:2px 10px 15px;font-size:11px;color:#8297b4}
.rank-list-head,.rank-entry-summary{display:grid;grid-template-columns:minmax(170px,1.6fr) minmax(100px,1fr) minmax(90px,.9fr) minmax(90px,.9fr) 24px;align-items:center;gap:12px}
.rank-list-head{padding:12px 10px;background:#101d28;border-radius:8px;font-size:9px;font-weight:600;letter-spacing:.6px;color:#8da8bd;text-align:right}
.rank-list-head>span:first-child{text-align:left}
.rank-entry{border-bottom:1px solid #1e2b39}
.rank-entry:last-child{border-bottom:0}
.rank-entry-summary{padding:15px 10px;list-style:none;cursor:pointer;border-radius:9px;transition:background .15s}
.rank-entry-summary::-webkit-details-marker{display:none}
.rank-entry-summary:hover{background:#12212b}
.rank-entry-summary:focus-visible,.rank-filter-builder>summary:focus-visible{outline:2px solid #08d5a0;outline-offset:2px}
.rank-entry[open]{margin:5px 0;border:1px solid #294336;border-radius:11px;background:#101d25}
.rank-entry[open] .rank-entry-summary{padding:14px 9px}
.rank-asset{display:flex;align-items:center;gap:10px;min-width:0}
.rank-asset .rank-number{width:26px;height:26px;flex-basis:26px;font-size:10px;background:transparent;border-color:#263744;border-radius:7px}
.rank-asset .rank-identity{display:flex;align-items:center;min-width:0;font-size:12px}
.rank-asset .rank-identity>span{min-width:0}
.rank-asset .asset-icon{flex-shrink:0}
.rank-entry-caption{display:block;max-width:180px;overflow-wrap:anywhere;margin-top:4px;font-size:10px;color:#8297b4}
.rank-quote,.rank-return{min-width:0;text-align:right;font-variant-numeric:tabular-nums}
.rank-quote strong{display:block;font-size:12px;font-weight:600}
.rank-quote>small:not(.rank-mobile-label){display:block;margin-top:5px;font-size:10px;color:#8297b4}
.rank-return .variation-value{font-size:15px;font-weight:600;letter-spacing:-.3px}
.rank-mobile-label{display:none}
.rank-chevron{display:grid;place-items:center;width:24px;height:24px;color:#8195aa;font-size:17px;transition:transform .15s}
.rank-entry[open] .rank-chevron{transform:rotate(180deg);color:#27dfb3}
.rank-entry-detail{padding:0 16px 16px}
.rank-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0;padding:17px 0;border-top:1px solid #293840}
.rank-metrics>div{min-width:0}
.rank-metrics dt{font-size:10px;color:#90a4ba;margin-bottom:7px}
.rank-metrics dd{font-size:13px;color:#e3ecfa;font-weight:600;margin:0;font-variant-numeric:tabular-nums}
.rank-metrics small{display:block;font-size:10px;color:#8297b4;line-height:1.5;margin-top:5px}
.rank-metrics .rank-hypothesis{color:#d4bd80}
.rank-entry-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #293840;padding-top:13px}
.rank-entry-footer p{flex:1 1 230px;font-size:10px;line-height:1.6;color:#8297b4;overflow-wrap:anywhere}
.rank-entry-footer p.rank-warning{color:#d4bd80}
.rank-entry-footer button{font-size:11px;flex-shrink:0}
@container(max-width:620px){
.rank-panel .panel-head{padding:18px 16px 15px;position:relative}
.rank-panel .select{position:static}
.rank-panel .select .options{top:100%;left:14px;right:14px;width:auto;max-width:none}
.rank-controls{padding:14px 16px 10px}
.rank-filter-chips{padding:0 16px 12px}
.rank-list{padding:0 10px 10px}
.rank-list-hint{padding:4px 6px 14px;line-height:1.5}
.rank-list-head{display:none}
.rank-entry{border:1px solid #22323e;border-radius:11px;margin:0 0 10px;background:#0f1923}
.rank-entry:last-child{border-bottom:1px solid #22323e;margin-bottom:0}
.rank-entry[open]{margin:0 0 10px}
.rank-entry-summary,.rank-entry[open] .rank-entry-summary{position:relative;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:17px 12px;padding:14px}
.rank-asset{gap:8px}
.rank-asset .rank-identity{gap:8px;font-size:12px}
.rank-asset .rank-number{border:0;flex-basis:19px;width:19px}
.rank-asset .asset-icon{width:30px;height:30px;border-radius:8px}
.rank-quote{padding-right:21px}
.rank-chevron{position:absolute;right:8px;top:23px}
.rank-return{text-align:left;border-top:1px solid #26333e;padding-top:12px}
.rank-return-real{text-align:right}
.rank-mobile-label{display:block;font-size:10px;color:#8fa4ba;margin-bottom:5px;font-weight:400;letter-spacing:0}
.rank-quote .rank-mobile-label{display:none}
.rank-return .variation-value{font-size:18px}
.rank-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}
.rank-entry-caption{font-size:9px}
}
@container(max-width:380px){.rank-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rank-search-wrap{max-width:none;flex-basis:100%}.rank-filter-form button{width:100%}.rank-panel .panel-head{padding:16px 14px}}

/* Faixa contínua de cotações, com altas e baixas identificadas. */
.ticker{display:block!important;overflow:hidden;padding:0;border-bottom:1px solid var(--border);white-space:nowrap}.ticker-track{display:flex;width:max-content;animation:ticker-scroll 32s linear infinite}.ticker:hover .ticker-track{animation-play-state:paused}.ticker-group{display:flex;align-items:center;flex:0 0 auto;gap:36px;padding:14px 18px}.ticker-item{display:flex;align-items:center;gap:9px;font-size:12px}.ticker-item strong{font-weight:600;color:#d9e3ee}.ticker-item span{margin:0;color:#91a3b9}.ticker-item .quote-change{font-weight:600;margin:0}.ticker-item .quote-change.positive{color:#08d5a0!important}.ticker-item .quote-change.negative{color:#fa8796!important}@keyframes ticker-scroll{to{transform:translateX(-50%)}}@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}}@media(max-width:800px){.ticker-group{gap:24px;padding:12px 14px}.ticker-item{font-size:11px}}
.asset-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;color:var(--muted);font-size:11px;border-top:1px solid var(--border)}.asset-pagination>div{display:flex;gap:8px}.asset-pagination button{padding:8px 12px}.asset-pagination button:disabled{opacity:.45;cursor:not-allowed}.suggestions{max-height:250px}.suggestions button{display:flex;justify-content:space-between;gap:10px;align-items:center}.suggestions button .small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65%}
.outside-identity{display:flex;align-items:center;gap:9px;min-width:170px;text-align:left}.outside-identity>span{min-width:0}.outside-identity strong,.outside-identity small{display:block}.outside-identity small{max-width:230px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:10px}
/* Compact introduction for the embedded return workspace. */
.rank-intro{margin-bottom:24px}.rank-intro-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:4px 0 28px}.rank-intro-kicker{display:block;color:#24d7b5;font-size:10px;font-weight:700;letter-spacing:1.9px;margin-bottom:12px}.rank-intro h1{margin:0;color:#e4ecf8;font-size:32px;line-height:1.15;font-weight:600;letter-spacing:-1px}.rank-intro-heading p{margin:10px 0 0;color:#8fa3bf;font-size:14px;line-height:1.6}.rank-manual-button{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:44px;padding:12px 18px}.rank-intro-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px}.rank-mode-tabs{display:flex;gap:4px;background:#0c1520;border:1px solid #233243;border-radius:12px;padding:5px}.rank-mode-tabs button{border:0;background:transparent;color:#8fa3bd;padding:10px 17px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px}.rank-mode-tabs button.active{background:#19372f;color:#37ebbf;box-shadow:0 1px 5px #0002}.rank-mode-tabs button span{font-size:11px;min-width:19px;padding:2px 5px;background:#ffffff0a;border-radius:5px}.rank-refresh{display:flex;align-items:center;justify-content:center;gap:7px;color:#a9bbd0;background:transparent;border:1px solid #293a4b;border-radius:9px;font-size:12px;padding:10px 13px;cursor:pointer}.rank-refresh:hover{border-color:#3a776c;color:#38e7ba}.rank-refresh:disabled{opacity:.6;cursor:wait}.rank-refresh>span{font-size:18px;line-height:1}.rank-data-info{border-top:1px solid #22303e;border-bottom:1px solid #22303e;background:transparent}.rank-data-info summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 2px;cursor:pointer;list-style:none}.rank-data-info summary::-webkit-details-marker{display:none}.rank-data-summary{display:flex;align-items:center;flex-wrap:wrap;gap:9px 16px;font-size:12px;color:#8397b2}.rank-data-summary strong{color:#bdccdc;font-weight:500}.rank-data-dot{width:6px;height:6px;background:#2ed5aa;border-radius:50%;flex-shrink:0}.rank-universe{border-left:1px solid #2b3a48;padding-left:16px}.rank-data-more{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:12px;color:#a4b6ca}.rank-data-more>span{transition:transform .2s}.rank-data-info[open] .rank-data-more>span{transform:rotate(180deg)}.rank-data-body{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:6px 18px 19px;color:#91a6bf;font-size:12px;line-height:1.7}.rank-data-body strong{color:#c7d4e3;font-weight:500}.rank-data-body p{margin:7px 0 0}.rank-manual-note{margin:0;padding:14px 0;border-top:1px solid #22303e;color:#91a6bf;font-size:12px;line-height:1.6}.rank-intro button:focus-visible,.rank-data-info summary:focus-visible{outline:2px solid #25d9b3;outline-offset:3px}
@media(max-width:650px){.rank-intro-heading{align-items:flex-start;flex-direction:column;gap:18px;padding-bottom:22px}.rank-intro h1{font-size:27px}.rank-intro-heading p{font-size:13px}.rank-manual-button{width:100%}.rank-intro-toolbar{gap:10px;flex-wrap:wrap}.rank-mode-tabs{flex:1}.rank-mode-tabs button{justify-content:center;flex:1;padding:10px 12px}.rank-refresh{margin-left:auto}.rank-data-info summary{align-items:flex-start}.rank-data-summary{gap:8px;font-size:11px}.rank-universe{flex-basis:100%;border-left:0;padding-left:14px}.rank-data-more{font-size:11px}.rank-data-body{grid-template-columns:1fr;gap:18px;padding:4px 14px 18px}.rank-data-more{font-size:0}.rank-data-more>span{font-size:16px}}

.ticker-loading{display:block;padding:14px 18px;color:#8fa3bf;font-size:12px}.ticker:focus-within .ticker-track{animation-play-state:paused}@media(prefers-reduced-motion:reduce){.ticker{overflow-x:auto}}

/* Compact navigation for the embedded-return ranking. */
.rank-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:18px 10px 6px;border-top:1px solid var(--border);color:var(--muted);font-size:12px}
.rank-pagination>div{display:flex;align-items:center;gap:12px}
.rank-pagination .secondary{padding:9px 13px;white-space:nowrap}
.rank-pagination button:disabled{opacity:.35;cursor:not-allowed}
.rank-page-current{font-size:11px;white-space:nowrap}
.rank-list-hint:focus{outline:none}
@media(max-width:600px){.rank-pagination{justify-content:center;padding:16px 0 6px;gap:12px}.rank-page-range{width:100%;text-align:center}.rank-pagination>div{width:100%;justify-content:space-between;gap:6px}.rank-pagination .secondary{padding:9px 10px;font-size:11px}.rank-page-current{font-size:10px}}


/* Shared disclosure control across accordions, rows and dropdowns. */
details>summary{list-style:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
details>summary::-webkit-details-marker{display:none}
details>summary::marker{content:''}
details>summary::after{
 content:'';display:block;flex:0 0 30px;width:30px;height:30px;box-sizing:border-box;margin-left:auto;
 border:1px solid #304755;border-radius:10px;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239eb9cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center/18px 18px no-repeat,linear-gradient(145deg,#1b2b39,#111b27);
 box-shadow:inset 0 1px 0 #ffffff08,0 2px 5px #0002;
 transition:transform .2s ease,border-color .2s ease,background-color .2s ease,box-shadow .2s ease;
}
@media (hover:hover){
 details>summary:hover::after{border-color:#2c9b87;box-shadow:0 0 0 3px #1bd4ae0c,inset 0 1px 0 #ffffff0a}
}
details[open]>summary::after{
 content:'';transform:rotate(180deg);border-color:#298c78;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233de6be' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center/18px 18px no-repeat,linear-gradient(145deg,#163a33,#102720);
 box-shadow:0 0 0 3px #1bd4ae0a;
}
details>summary:focus-visible{outline:2px solid #2bdfb8;outline-offset:4px}
.select>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:7px 9px 7px 13px;border-radius:10px}
.select>summary::after,.select[open]>summary::after{content:'';width:24px;height:24px;flex-basis:24px;margin-left:0;border-radius:8px}
.rank-list-head,.rank-entry-summary{grid-template-columns:minmax(170px,1.6fr) minmax(100px,1fr) minmax(90px,.9fr) minmax(90px,.9fr) 32px}
.rank-entry-summary::after{width:32px;height:32px;justify-self:end;margin-left:0}
.rank-filter-builder>summary{gap:12px;padding:7px 10px 7px 14px}
.rank-filter-builder>summary::after{width:24px;height:24px;flex-basis:24px;border-radius:8px;margin-left:0}
.rank-data-info>summary{justify-content:initial;gap:12px}
.rank-data-more{margin-left:auto}
.rank-data-info>summary::after{margin-left:0}
.panel:not(.method-accordion)>summary:not(.rank-entry-summary){display:flex;align-items:center;gap:12px;flex-wrap:wrap}
@container(max-width:620px){
 .rank-entry-summary,.rank-entry[open] .rank-entry-summary{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
 .rank-entry-summary::after{position:absolute;right:12px;top:14px;width:30px;height:30px}
 .rank-quote{padding-right:38px}
}
@media(max-width:650px){.rank-data-info>summary{align-items:center}.rank-data-more{display:none}.rank-data-info>summary::after{margin-left:auto}}
@media(prefers-reduced-motion:reduce){details>summary::after{transition:none}}
.dash-history .panel-head{gap:16px;flex-wrap:wrap}.dash-history .periods{display:flex;gap:5px;flex-wrap:wrap}.dash-history-actions{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.dash-history-actions input{display:block;max-width:220px;margin-top:8px}.dash-records{max-height:240px;overflow:auto}.dash-records>div{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #253747}.dash-records span{flex:1}.field input{max-width:100%;box-sizing:border-box}
/* Shared dates and asset autocomplete */
input[type=date],input[type=datetime-local],input[type=month]{color-scheme:dark;appearance:none;-webkit-appearance:none;display:block;width:100%;min-height:48px;background:#0a141e;color:#e1ebf6;border:1px solid #2b4050;border-radius:12px;padding:12px 15px;font:inherit;line-height:1.4;box-sizing:border-box;transition:border-color .18s,box-shadow .18s}
input[type=date]:hover,input[type=datetime-local]:hover,input[type=month]:hover{border-color:#4a687b}
input[type=date]:focus-visible,input[type=datetime-local]:focus-visible,input[type=month]:focus-visible{outline:0;border-color:#00d2ad;box-shadow:0 0 0 3px #00d2ad1c}
input::-webkit-calendar-picker-indicator{padding:7px;border-radius:8px;background-color:#1b303e;cursor:pointer;opacity:.9}
input::-webkit-datetime-edit{padding:0}input::-webkit-datetime-edit-fields-wrapper{padding:0}
.suggestions{display:flex;flex-direction:column;gap:5px;background:transparent;border:0;border-radius:14px;margin:10px 0 18px;max-height:300px;overflow:auto;scrollbar-width:thin;scrollbar-color:#304959 transparent}
.suggestions:empty{display:none}
.suggestions button.asset-suggestion{width:100%;display:flex;align-items:center;justify-content:initial;gap:12px;padding:13px;background:#101e29;border:1px solid #213746;border-radius:12px;text-align:left;color:#e1ebf6;transition:background .18s,border-color .18s;min-height:66px}
.suggestions button.asset-suggestion:hover,.suggestions button.asset-suggestion:focus-visible{background:#142e31;border-color:#00b99b;outline:none}
.asset-suggestion .asset-icon{width:36px;height:36px;border-radius:10px}
.suggestion-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.suggestion-copy strong{font-size:13px;letter-spacing:.3px}.suggestion-copy>span{font-size:11px;color:#8fa9bf;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}
.suggestion-class{font-size:10px;color:#80cdbc;background:#173535;border:1px solid #26504b;border-radius:6px;padding:4px 7px;white-space:nowrap}.suggestion-arrow{font-size:16px;color:#6a8b9e}
@media(max-width:480px){.suggestion-arrow{display:none}.suggestions button.asset-suggestion{gap:9px;padding:11px}.suggestion-class{font-size:9px;padding:4px}}
.performance-panel{padding:26px;overflow:hidden;background:radial-gradient(ellipse at 15% 0,#10302e35,transparent 65%),#0e1722}.performance-header,.performance-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.performance-eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#6f9eab}.performance-header h2{margin:9px 0 0;font-size:17px}.performance-refresh{padding:9px 12px!important;font-size:12px}.performance-toolbar{margin-top:28px}.performance-result{display:flex;flex-direction:column;gap:6px}.performance-result strong{font-size:28px;letter-spacing:-1px;font-weight:600}.performance-result>span{font-size:11px;color:#8198ad}.performance-periods{display:flex;gap:4px;padding:4px;border:1px solid #263846;border-radius:10px;background:#0a121c}.performance-periods button{padding:7px 13px;border:0;border-radius:7px;background:transparent;color:#8fa7bc;font-size:11px;cursor:pointer}.performance-periods button.active{background:#164138;color:#45e6bf}.performance-periods button:focus-visible{outline:2px solid #13d9b0}.performance-plot{margin-top:18px}.performance-plot svg{width:100%;display:block;overflow:visible}.performance-point{opacity:0;cursor:crosshair}.performance-point:hover{opacity:1;stroke:#0e1722;stroke-width:2}.performance-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:10px;color:#7e98ac;padding:16px 0;border-bottom:1px solid #233442}.performance-footer>span:first-child{color:#c0d1df;display:flex;align-items:center;gap:7px}.performance-footer i{height:6px;width:6px;border-radius:50%}.performance-info{margin-top:16px;font-size:11px;color:#8ba3b8}.performance-info summary{display:flex;align-items:center;gap:12px}.performance-info p{line-height:1.8;margin-top:12px}.performance-empty{min-height:225px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px}.performance-empty-icon{font-size:36px;color:#2bc6ab}.performance-empty strong{font-size:14px;color:#bed0df}.performance-empty p{max-width:360px;font-size:12px;line-height:1.7;color:#829db3}@media(max-width:600px){.performance-panel{padding:18px}.performance-header h2{font-size:15px}.performance-refresh span{display:none}.performance-result strong{font-size:25px}.performance-toolbar{margin-top:22px}}
.performance-plot{position:relative;touch-action:pan-y}.performance-tooltip{position:absolute;z-index:5;pointer-events:none;min-width:170px;padding:13px 15px;background:linear-gradient(135deg,#1c3440f5,#10232df7);border:1px solid #3b666d;border-radius:12px;box-shadow:0 12px 30px #0005,0 0 0 1px #00d4ad08;backdrop-filter:blur(12px);font-size:11px;color:#a8c0cf}.performance-tooltip[hidden]{display:none}.performance-tooltip>span{display:block;font-size:10px;color:#8daab9;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #42606a66;text-transform:capitalize}.performance-tooltip>div{display:flex;align-items:center;gap:7px}.performance-tooltip strong{margin-left:auto;padding-left:18px;font-size:14px;font-variant-numeric:tabular-nums}.performance-tooltip i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#13d9b0;box-shadow:0 0 8px #13d9b044}.performance-cursor{pointer-events:none}.performance-point{pointer-events:none}
.reference-cards{gap:18px}.cards .reference-card{background:#0b1117;border:1px solid #24303e;border-radius:24px;padding:24px 23px 10px;min-width:0;overflow:hidden;box-shadow:none}.reference-card-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:#62778d;white-space:nowrap}.reference-card-label>span{font-size:20px;color:#62778d;letter-spacing:0}.reference-card-value{font-size:29px;font-weight:700;letter-spacing:-1px;margin:13px 0 11px;white-space:nowrap;color:#e4eaf0}.reference-card-meta{display:flex;align-items:center;gap:9px;min-height:24px}.reference-card-meta b{color:#00dfb1;background:#0e302c;border-radius:20px;padding:4px 10px;font-size:12px;white-space:nowrap}.reference-card-meta b.down{color:#ff8392;background:#3c202b}.reference-card-meta>span{font-size:10px;line-height:1.4;color:#8295ab}.dash-mini{display:block;width:100%;height:58px;margin-top:16px}.dash-mini-empty{height:58px;padding-top:27px;font-size:10px;color:#52667b}.reference-performance,.reference-allocation{background:#0b1218!important;border:1px solid #24303e!important;border-radius:24px!important;box-shadow:none;padding:25px!important;position:relative}.reference-performance h2,.reference-allocation h2{font-size:16px;font-weight:650;letter-spacing:-.5px;margin:0}.reference-evolution-header p,.reference-allocation-head p{font-size:12px;color:#8999ad;margin:6px 0 0}.reference-evolution-header{padding-right:200px;min-height:48px}.reference-view-switch{position:absolute;right:24px;top:24px;display:flex;gap:2px;background:#121c27;border:1px solid #23303e;padding:4px;border-radius:24px;z-index:2}.reference-view-switch button{border:0;background:none;color:#8c9eb5;padding:8px 12px;border-radius:20px;font-size:12px}.reference-view-switch button.active{background:#0a1118;color:#e2e9ef}.reference-evolution-legend{display:flex;gap:20px;font-size:11px;color:#8b9aae;margin:15px 0 0}.reference-evolution-legend span{display:flex;gap:7px;align-items:center}.reference-evolution-legend i{width:18px;height:6px;border-radius:6px;background:#00d4aa}.reference-evolution-legend span+span i{background:#667386}.reference-evolution-svg{display:block;width:100%;margin-top:8px;min-height:220px}.reference-evolution-note{font-size:10px;color:#697f93;line-height:1.5;margin:8px 0 0}.reference-compare{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border:1px solid #24303e;border-radius:14px;background:#0b1218;font-size:11px;color:#8ba3b7}.reference-compare strong{margin-left:9px;color:#00d4aa}.grid:has(.reference-allocation){grid-template-columns:minmax(0,2.05fr) minmax(300px,1fr);align-items:start;position:relative}.grid:has(.reference-allocation)>.reference-compare{grid-column:1}.grid:has(.reference-allocation)>.reference-allocation{grid-column:2;grid-row:1 / span 2;align-self:stretch}.reference-allocation-head{display:flex;gap:13px;align-items:center}.reference-pie-icon{width:37px;height:37px;display:grid;place-items:center;color:#00d4aa;background:#101c26;border:1px solid #263440;border-radius:50%;font-size:23px}.reference-allocation-body{display:flex;align-items:center;gap:25px;margin-top:44px;min-height:230px}.reference-donut{width:170px;height:170px;border-radius:50%;flex-shrink:0;padding:18px;display:grid;place-items:center}.reference-donut>div{width:100%;height:100%;background:#0b1218;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.reference-donut span{font-size:10px;letter-spacing:1.6px;color:#677e94}.reference-donut strong{font-size:17px;color:#e0e8ee;letter-spacing:-.5px}.reference-alloc-list{flex:1;min-width:0;display:grid;gap:22px}.reference-alloc-list>div{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:12px}.reference-alloc-list span{display:flex;align-items:center;gap:8px;color:#8c9db0}.reference-alloc-list i{width:9px;height:9px;border-radius:50%;flex-shrink:0}.reference-alloc-list strong{font-size:13px;white-space:nowrap}.reference-performance .performance-header{padding-right:190px}.reference-performance .performance-refresh{display:none}@media(max-width:1450px){.reference-allocation-body{flex-direction:column;gap:24px;margin-top:27px}.reference-alloc-list{width:100%}.reference-card-value{font-size:25px}.reference-card-label{font-size:9px;letter-spacing:1px}}@media(max-width:1050px){.grid:has(.reference-allocation){grid-template-columns:1fr}.grid:has(.reference-allocation)>.reference-allocation{grid-row:auto;grid-column:1}.reference-allocation-body{flex-direction:row;justify-content:center}.reference-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-alloc-list{max-width:250px}}@media(max-width:550px){.reference-cards{gap:10px}.cards .reference-card{padding:17px 14px 8px;border-radius:19px}.reference-card-value{font-size:23px}.reference-card-meta{align-items:flex-start;flex-direction:column;gap:5px}.reference-card-label{font-size:8px;letter-spacing:.6px}.reference-performance,.reference-allocation{padding:20px!important}.reference-allocation-body{flex-direction:column}.reference-donut{width:180px;height:180px}}
/* Typography matched to the reference dashboard. */
body,button,input,select,textarea{font-family:'Inter',Arial,sans-serif;font-optical-sizing:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.reference-card-label{font-weight:500;letter-spacing:1.6px;font-size:10px}
.reference-card-value{font-weight:700;letter-spacing:-1.15px;line-height:1.18;font-variant-numeric:tabular-nums}
.reference-card-meta b{font-weight:600;letter-spacing:-.15px}.reference-card-meta>span{font-weight:400;letter-spacing:.05px}
.reference-performance h2,.reference-allocation h2{font-weight:700;letter-spacing:-.6px;line-height:1.3}
.reference-evolution-header p,.reference-allocation-head p,.reference-alloc-list span{font-weight:400;letter-spacing:-.15px}
.reference-alloc-list strong,.reference-donut strong{font-weight:700;font-variant-numeric:tabular-nums}
.reference-view-switch button{font-weight:500;letter-spacing:-.2px}.reference-donut>div>span{font-weight:500}
.performance-plot svg text,.reference-evolution-svg text{font-family:'Inter',Arial,sans-serif;font-weight:500}
.cards .reference-alpha{overflow:visible;position:relative}.reference-alpha .reference-card-label{gap:8px}.reference-alpha .select>summary{min-height:29px;padding:4px 6px 4px 9px;font-size:10px;letter-spacing:0;text-transform:none;gap:7px}.reference-alpha .select>summary::after{width:20px;height:20px;flex-basis:20px}.reference-alpha .options{top:36px;min-width:170px;z-index:20;letter-spacing:0;text-transform:none}.reference-alpha .reference-card-meta{min-height:24px}.reference-alpha-period{font-size:9px;color:#71869b;margin-top:4px}.reference-alpha .dash-mini{margin-top:3px;height:49px}.reference-alpha .dash-mini-empty{height:49px;padding-top:16px}.grid:has(.reference-allocation)>.reference-allocation{grid-row:1}
.top-positions{background:#0b1218;border:1px solid #24303e;border-radius:24px;overflow:hidden;padding:0;margin-top:26px;box-shadow:none}.top-positions-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 23px 20px;border-bottom:1px solid #24303e}.top-positions-heading h2{font-size:16px;font-weight:700;letter-spacing:-.5px;line-height:1.3;margin:0;color:#e3eaf0}.top-positions-heading p{font-size:13px;line-height:1.5;margin:4px 0 0;color:#8d9caf}.top-positions-heading .text-btn{color:#00d4aa;font-size:12px;font-weight:600;white-space:nowrap;padding:0;display:flex;align-items:center;gap:7px}.top-positions-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#304553 transparent}.top-positions table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:710px}.top-positions th{padding:13px 23px;font-size:10px;letter-spacing:1.2px;font-weight:600;color:#627388;background:transparent;border-bottom:1px solid #24303e;text-align:right;white-space:nowrap}.top-positions th:first-child{width:34%;text-align:left}.top-positions th:nth-child(2){width:17%}.top-positions th:nth-child(3){width:16%}.top-positions th:nth-child(4){width:16%}.top-positions th:last-child{width:17%}.top-positions td{padding:15px 23px;height:67px;text-align:right;border-bottom:1px solid #24303e;font-size:13px;font-variant-numeric:tabular-nums}.top-positions tbody tr:last-child td{border-bottom:0}.top-positions tbody tr{background:transparent}.top-positions tbody tr:hover{background:#10212a55}.top-position-identity{display:flex;align-items:center;gap:13px;border:0;background:transparent;padding:0;text-align:left;width:100%;color:inherit}.top-position-identity .asset-icon{width:37px;height:37px;border-radius:12px;flex-shrink:0}.top-position-identity>span:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}.top-position-identity strong{font-size:13px;font-weight:700;color:#e0e8ef}.top-position-identity small{font-size:11px;color:#667b90;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}.top-position-value{font-weight:600;color:#e0e8ef;white-space:nowrap}.top-position-weight{display:flex;align-items:center;justify-content:flex-end;gap:10px}.top-position-weight strong{min-width:42px;font-size:12px;color:#899bad;font-weight:600;white-space:nowrap}.top-position-bar{width:75px;height:7px;background:#1c2633;border-radius:10px;overflow:hidden;display:block;flex-shrink:0}.top-position-bar i{display:block;height:100%;background:#00d4aa;border-radius:10px}.top-position-coverage{margin:0;padding:12px 23px;font-size:11px;color:#879bad;border-top:1px solid #24303e}@media(max-width:1100px){.top-positions th,.top-positions td{padding-left:15px;padding-right:15px}.top-position-bar{width:55px}}@media(max-width:600px){.top-positions-heading{padding:20px 18px;gap:12px}.top-positions-heading p{font-size:11px}.top-positions-heading h2{font-size:15px}.top-positions{border-radius:20px}}
.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(300px,1fr);gap:20px;align-items:start;margin-top:26px}.dashboard-bottom-grid .top-positions{margin-top:0}.dividends-card{padding:24px 23px;background:#0b1218;border:1px solid #24303e;border-radius:24px;overflow:hidden;min-width:0}.dividends-heading{display:flex;gap:13px;align-items:center}.dividends-heading h2{font-size:16px;margin:0;font-weight:700;letter-spacing:-.5px}.dividends-heading p{font-size:12px;color:#8d9caf;margin:5px 0 0;line-height:1.5}.dividends-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;border:1px solid #253440;color:#00d4aa;background:#101c26;flex-shrink:0}.dividend-tabs{display:flex;gap:5px;margin:20px 0 10px}.dividend-tabs button{padding:6px 10px;border:1px solid #243440;background:transparent;border-radius:8px;color:#8d9caf;font-size:10px}.dividend-tabs button.active{background:#16352e;color:#20dcb2}.dividend-bars{display:flex;gap:8px;height:125px;align-items:flex-end;margin:16px 0 18px}.dividend-bars>div{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;height:100%;gap:10px}.dividend-bars span{background:#bf9c3f;border-radius:3px 3px 0 0}.dividend-bars small{font-size:10px;text-transform:uppercase;letter-spacing:.8px;text-align:center;color:#657a8e}.dividend-list>a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #24303e;text-decoration:none;color:inherit}.dividend-list>a:hover strong{color:#00d4aa}.dividend-list strong{font-size:12px;display:block;margin-bottom:4px}.dividend-list small{display:block;color:#6d8297;font-size:10px;line-height:1.6}.dividend-list b{font-size:12px;color:#e8bc44;white-space:nowrap;text-align:right}.dividend-empty{padding:26px 0;line-height:1.7;font-size:12px;color:#8298ac}.dividend-method{font-size:10px;color:#7e96aa;margin-top:12px;border-top:1px solid #24303e;padding-top:15px}.dividend-method summary{display:flex;align-items:center;gap:8px}.dividend-method p{line-height:1.8;margin:12px 0 0}.dashboard-bottom-grid .top-positions table{min-width:670px}.dashboard-bottom-grid .top-positions th,.dashboard-bottom-grid .top-positions td{padding-left:15px;padding-right:15px}.dashboard-bottom-grid .top-position-bar{width:55px}@media(max-width:1100px){.dashboard-bottom-grid{grid-template-columns:1fr}.dividends-card{padding:22px}}
.dividends-card{padding:25px 24px 0;background:#0b1218;border-radius:24px;border:1px solid #24303e}.dividends-heading-button{width:100%;padding:0;display:flex;align-items:center;gap:15px;text-align:left;background:transparent;border:0;color:inherit}.dividends-heading-button>span:last-child{display:flex;flex-direction:column;gap:5px;min-width:0}.dividends-heading-button strong{font-size:17px;line-height:1.25;font-weight:700;letter-spacing:-.6px;color:#e0e7ef}.dividends-heading-button small{font-size:13px;line-height:1.4;font-weight:400;color:#8d9caf}.dividends-heading-button:hover strong{color:#f1f7fa}.dividends-icon{width:37px;height:37px;background:#111c27;color:#00d4aa;border:1px solid #253440}.dividend-bars{margin:43px 0 21px;height:122px;gap:7px}.dividend-bars>div{gap:10px}.dividend-bars span{background:#bf9c3f;border-radius:3px 3px 0 0}.dividend-bars small{font-size:11px;color:#66798d;letter-spacing:.6px}.dividend-list{margin-left:-24px;margin-right:-24px}.dividend-list>a{padding:13px 24px;min-height:61px;border-top:1px solid #24303e;gap:15px}.dividend-list strong{font-size:13px;font-weight:700;margin-bottom:4px;letter-spacing:-.2px}.dividend-list small{font-size:11px;line-height:1.3;color:#63788d}.dividend-list b{color:#e8bc44;font-size:13px;font-weight:650}.dividend-empty{padding:20px 24px;margin:0;border-top:1px solid #24303e}.dividend-chart-empty{height:170px;display:grid;place-items:center;color:#667d90;font-size:11px;text-align:center}.dividend-detail-event{display:flex;flex-direction:column;gap:6px;padding:15px 0;border-top:1px solid #24303e;text-decoration:none;color:#90a9bd;font-size:11px;line-height:1.6}.dividend-detail-event strong{color:#00d4aa;font-size:13px}.dividends-card:has(.dividend-list:empty){padding-bottom:20px}@media(max-width:1100px){.dividends-card{padding:25px 24px 0}}
.portfolio-insights{margin-top:26px;padding:24px;background:#0b1218;border:1px solid #24303e;border-radius:24px}.insight-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.insight-title{display:flex;align-items:center;gap:14px}.insight-bulb{display:grid;place-items:center;width:38px;height:38px;background:#111c27;border:1px solid #243440;border-radius:50%;color:#00d4aa;flex-shrink:0}.insight-header h2{font-size:16px;letter-spacing:-.5px;margin:0;font-weight:700}.insight-header p{font-size:12px;margin:5px 0 0;line-height:1.6;color:#8d9caf}.insight-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.insight-controls>span{font-size:11px;background:#0f302b;color:#00d4aa;border:1px solid #14604e;padding:7px 12px;border-radius:20px;white-space:nowrap}.insight-controls>button{background:none;border:0;padding:5px;color:#7b94aa;font-size:10px}.portfolio-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.portfolio-insight{--accent:#7185ff;display:flex;flex-direction:column;padding:19px;background:#0e161f;border:1px solid #24303e;border-radius:22px;min-width:0}.portfolio-insight.danger{--accent:#ff4b78}.portfolio-insight.warning{--accent:#ffba42}.portfolio-insight.success{--accent:#00d4aa}.insight-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}.insight-status{color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent);border-radius:50%;width:37px;height:37px;display:grid;place-items:center}.insight-category{border:1px solid #273848;border-radius:20px;padding:4px 9px;color:#687e93;text-transform:uppercase;font-size:10px;letter-spacing:.3px}.portfolio-insight h3{font-size:13px;letter-spacing:-.25px;font-weight:700;line-height:1.5;margin:0 0 6px;color:#dce5ed}.portfolio-insight>p{font-size:12px;color:#8c9db0;line-height:1.8;margin:0 0 15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.insight-card-bottom{border-top:1px solid #263441;margin-top:auto;padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:14px}.insight-card-bottom strong{font-size:22px;color:var(--accent);font-weight:700;letter-spacing:-.4px}.insight-card-bottom small{display:block;margin-top:5px;font-size:10px;color:#657e94}.insight-card-bottom button{border:1px solid #263847;border-radius:20px;background:#0b131b;color:#90a4b8;padding:8px 12px;font-size:10px;white-space:nowrap}.insight-card-bottom button:hover{border-color:var(--accent);color:var(--accent)}@media(max-width:1150px){.portfolio-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.portfolio-insights{padding:18px}.insight-header{flex-wrap:wrap}.portfolio-insight-grid{grid-template-columns:1fr}.insight-controls{justify-content:flex-start}.portfolio-insight{padding:18px}}

/* Reference top bar: compact search, live market capsule, and account controls. */
header.topbar{height:78px;display:flex;gap:14px;padding:0 28px;background:#080b0e;border-top:1px solid #27303a;border-bottom:1px solid #222c38;position:sticky;top:0;z-index:8;justify-content:flex-start;min-width:0}
.topbar-search{position:relative;flex:0 1 252px;min-width:155px;height:42px;display:flex;align-items:center;gap:10px;padding:0 14px;background:#171e28;border:1px solid #222d3b;border-radius:25px;color:#67778c}
.topbar-search>svg{width:19px;height:19px;flex-shrink:0}.topbar-search>input{width:100%;min-width:0;border:0;outline:0;background:none;color:#e1e8f0;font-size:13px;padding:0;box-shadow:none}.topbar-search:focus-within{border-color:#218571;box-shadow:0 0 0 3px #00d4aa0b}.topbar-search>input::placeholder{color:#647387}.topbar-search>input:focus-visible{outline:0}
.topbar .topbar-ticker{flex:1 1 360px;min-width:100px;height:35px;border:1px solid #24303e!important;border-radius:24px;background:#0c1117;overflow:hidden;mask-image:none}.topbar-ticker .ticker-group{padding:8px 15px;gap:24px}.topbar-ticker .ticker-item{font-size:11px;gap:8px;line-height:17px}.topbar-ticker .ticker-item strong{font-size:11px;font-weight:500;color:#93a8c2}.topbar-ticker .ticker-item span{font-size:12px;font-weight:600;color:#edf3fb}.topbar-ticker .ticker-item b{font-size:11px;font-weight:600}.topbar-ticker .ticker-loading{font-size:11px;padding:8px 14px}
.topbar .header-right{gap:14px;flex:0 0 auto}.topbar .badge[hidden]{display:none!important}
.topbar-contribute{height:40px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;border:1px solid #075e4e;border-radius:24px;background:#07231f;color:#00dfb1;font-size:13px;font-weight:650;white-space:nowrap}.topbar-contribute svg{width:18px;height:18px}.topbar-contribute:hover{background:#0c352c;border-color:#13997b}
.topbar-bell{width:40px;height:40px;padding:9px;border:1px solid #24303d;border-radius:50%;background:#0c1219;color:#95a5b8;display:grid;place-items:center}.topbar-bell svg{width:21px;height:21px}.topbar-bell:hover{color:#00d4aa;border-color:#218571}
.topbar-profile{display:flex;align-items:center;gap:11px;height:50px;padding:6px 14px 6px 7px;min-width:180px;border:1px solid #24303d;border-radius:22px;background:#0d1219;text-align:left}.topbar-avatar{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:linear-gradient(140deg,#7c91ff,#14d4b2);font-size:12px;font-weight:700;color:#051b25}.topbar-profile-copy{display:grid;gap:3px}.topbar-profile-copy strong{font-size:13px;font-weight:650;letter-spacing:-.2px;color:#dce4ed}.topbar-profile-copy small{font-size:11px;font-weight:400;color:#64758b}.topbar-profile:hover{border-color:#456076}
.topbar-results{position:absolute;left:0;top:51px;width:360px;max-width:calc(100vw - 40px);padding:7px;border-radius:18px;border:1px solid #2a3b4b;background:#0e1620;box-shadow:0 20px 45px #0009;z-index:30}.topbar-results[hidden]{display:none}.topbar-results button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 9px;border:0;border-radius:12px;background:none;text-align:left;color:#dce6ef}.topbar-results button:hover,.topbar-results button:focus-visible{background:#173029}.topbar-results button>span:not(.asset-icon){display:grid;gap:4px;min-width:0}.topbar-results strong{font-size:12px}.topbar-results small{font-size:10px;color:#8698ac;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}.topbar-results em{font-style:normal;color:#7f98ac;font-size:9px;margin-left:auto}.topbar-results p{padding:10px;font-size:12px}.topbar .mobile-menu{flex-shrink:0;padding:0;color:#9caec1}
@media(max-width:1350px) and (min-width:801px){header.topbar{padding:0 20px;gap:10px}.topbar-search{flex-basis:190px}.topbar .header-right{gap:9px}.topbar-profile{min-width:0;padding-right:10px}.topbar-profile-copy small{font-size:10px}.topbar-contribute{padding:0 11px;font-size:12px}}
@media(max-width:1100px) and (min-width:801px){.topbar-profile-copy{display:none}.topbar-profile{padding:5px;height:44px;border-radius:50%}.topbar-search{flex-basis:170px}.topbar-contribute{gap:5px}.topbar .topbar-ticker{flex-basis:160px}}
@media(max-width:800px){header.topbar{height:auto;min-height:116px;padding:12px 16px;gap:10px;flex-wrap:wrap}.topbar-search{flex:1 1 150px;height:40px;min-width:0}.topbar .header-right{gap:8px}.topbar-profile{padding:4px;min-width:0;height:40px;width:40px;border-radius:50%}.topbar-avatar{width:30px;height:30px}.topbar-profile-copy{display:none}.topbar-contribute{height:38px;padding:0 12px;font-size:11px}.topbar-bell{width:36px;height:36px;padding:7px}.topbar .topbar-ticker{order:4;flex:1 0 100%;height:32px}.topbar-ticker .ticker-group{padding:7px 14px}.topbar-results{top:48px;width:min(360px,calc(100vw - 78px))}}
@media(max-width:520px){.topbar-contribute span{display:none}.topbar-contribute{width:36px;height:36px;padding:0}.topbar-search>input{font-size:12px}.topbar .header-right{gap:6px}header.topbar{gap:8px;padding-left:12px;padding-right:12px}.topbar-bell{width:34px;height:34px}.topbar-profile{width:36px;height:36px}.topbar-avatar{width:28px;height:28px}}

/* Keep the benchmark selector inside narrow cards, including long USD labels. */
.cards .reference-alpha{container-type:inline-size}
.reference-alpha .reference-card-label{flex-wrap:wrap;min-width:0;row-gap:10px}
.reference-alpha .reference-card-label>.reference-alpha-title{font:inherit;color:inherit;letter-spacing:inherit}
.reference-alpha .select{min-width:0;max-width:100%;flex-shrink:0}
.reference-alpha .select>summary{min-width:0;max-width:100%;box-sizing:border-box}
.benchmark-current{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reference-alpha .select>summary::after{flex-shrink:0}
.reference-alpha .options{max-width:100%;min-width:min(170px,100%);box-sizing:border-box}
.reference-alpha .options button{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
@container(max-width:240px){.reference-alpha .reference-card-label{flex-direction:column;align-items:flex-start;white-space:normal}.reference-alpha .select{width:100%}.reference-alpha .select>summary{width:100%}.reference-alpha .options{width:100%;min-width:0}.reference-alpha .reference-card-value{font-size:clamp(19px,12cqi,29px)}}

.evolution-plot{margin-top:8px;cursor:crosshair}
.evolution-plot .reference-evolution-svg{margin-top:0;min-height:0}
.evolution-tooltip{min-width:min(220px,100%);max-width:100%}
.evolution-tooltip .evolution-cost-marker{background:#a4b5c8}
.evolution-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Source-backed asset profiles in the market details dialog. */
dialog:has(.asset-profile){width:min(570px,calc(100vw - 26px));max-height:calc(100dvh - 26px);overflow:auto}
.asset-profile{margin-top:19px;padding:16px;border:1px solid #283842;border-radius:14px;background:#0b141b}
.asset-profile-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:8px}
.asset-profile h3{font-size:14px;font-weight:650;color:#ecf2f5;margin:0 0 8px}
.asset-profile-heading h3{margin:0}
.asset-profile-heading>span{font-size:10px;color:#83e4cb;background:#12332f;border:1px solid #205247;border-radius:14px;padding:4px 9px}
.asset-profile p,.asset-profile dd{font-size:12px;color:#a9bccb;line-height:1.6}
.asset-profile dl{display:grid;gap:10px;margin:12px 0}
.asset-profile dt{font-size:11px;font-weight:650;color:#e0eaef;margin-bottom:3px}
.asset-profile dd{margin:0}
.asset-profile-source-label{border-top:1px solid #23343e;padding-top:10px;color:#829bab;font-size:10px}
.asset-watch-list{display:grid;gap:6px;margin:8px 0 0;padding:0;list-style:none}
.asset-watch-list>li{display:grid;grid-template-columns:5px minmax(0,1fr);align-items:start;gap:9px;color:#a9bccb;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.asset-watch-list>li::before{content:'';height:5px;margin-top:calc(.75em - 2.5px);border-radius:50%;background:#53dcb9}
.asset-profile-sources{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:6px}
.asset-profile-sources a{font-size:11px;color:#53dcb9;text-decoration:underline;text-underline-offset:3px;line-height:1.55}

.top-position-mobile-label{display:none}

@media(max-width:700px){
 .reference-evolution-header,.reference-performance .performance-header{padding-right:0;min-height:0}
 .reference-view-switch{position:static;width:fit-content;max-width:100%;margin-top:12px}
 .reference-view-switch button{min-height:36px;padding:6px 10px}
 .reference-evolution-legend{flex-wrap:wrap;gap:8px 14px}
 .reference-performance .performance-tooltip{position:static;min-width:0;margin-top:8px;padding:9px 11px;box-shadow:none}
 .reference-performance .performance-tooltip>span{padding-bottom:5px;margin-bottom:5px}
 .reference-performance .performance-tooltip>div{display:grid;grid-template-columns:auto 1fr;column-gap:6px;row-gap:3px}
 .reference-performance .performance-tooltip>div:has(i){grid-template-columns:auto minmax(0,1fr) auto}
 .reference-performance .performance-tooltip strong{padding-left:0;font-size:12px;white-space:nowrap}
 .reference-performance .reference-evolution-svg text,.reference-performance .performance-axis-date{font-size:24px}
 .reference-performance .performance-date,.reference-performance .performance-date-bg{display:none}
 .dashboard-bottom-grid .top-positions table,.top-positions table{min-width:0;display:block}
 .top-positions thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .top-positions tbody{display:block}
 .top-positions tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;padding:14px 15px;border-bottom:1px solid #24303e}
 .top-positions tbody tr:last-child{border-bottom:0}
 .dashboard-bottom-grid .top-positions td,.top-positions td{height:auto;min-width:0;padding:0;border:0;text-align:left}
 .top-positions td:first-child{grid-column:span 2}
 .top-positions td:nth-child(2){align-self:center;text-align:right}
 .top-position-mobile-label{display:block;color:#899bad;font-size:10px;font-weight:500;margin-bottom:3px}
 .top-position-weight{justify-content:flex-start}
 .top-position-weight strong{min-width:0}
 .dashboard-bottom-grid .top-position-bar,.top-position-bar{display:none}
}

/* Mobile layouts share the same content and actions as the desktop tables. */
main,.content,.panel,.table-wrap,.tools-grid>*,.grid>*{min-width:0}
.asset>div,.asset>span,.rank-identity,.outside-identity{min-width:0}
.asset-icon{flex-shrink:0}
@media(max-width:800px){
 .heading,.panel-head,.bottom,.asset-pagination{flex-wrap:wrap}
 .heading>div,.panel-head>div{min-width:0;flex:1 1 210px}
 .heading>.primary,.panel-head>.primary{flex:0 1 auto;white-space:normal}
 .bottom>span{overflow-wrap:anywhere}
 .asset-pagination{gap:12px}
 .asset-pagination>div{display:flex;gap:8px;flex-wrap:wrap}
 .label{gap:8px;flex-wrap:wrap}
 .result strong{font-size:clamp(21px,6vw,29px);overflow-wrap:anywhere}
 .field,.search,dialog input,dialog select,dialog textarea{min-width:0;max-width:100%}
 dialog{padding:20px;width:calc(100% - 24px);max-width:470px;max-height:calc(100dvh - 24px);overflow-y:auto;overflow-wrap:anywhere}
 dialog .asset small,.asset-profile-sources a{white-space:normal;overflow-wrap:anywhere}
 .suggestion-copy{min-width:0}
 .suggestion-class{flex-shrink:0}
 .reference-card-value{font-size:clamp(20px,5.7vw,30px);overflow-wrap:anywhere}
 .reference-card-label,.reference-card-meta{flex-wrap:wrap;gap:8px}
 .reference-alpha .reference-card-label>.select{max-width:100%}
 .reference-donut{max-width:100%}
 .performance-toolbar{flex-wrap:wrap}
 .performance-info summary,.method-accordion>summary{min-width:0;overflow-wrap:anywhere}
 .dash-history-actions,.dash-records>div{flex-wrap:wrap}
 aside{max-width:calc(100vw - 32px);overflow-y:auto}
 .workspace-card{flex-shrink:0}
 table.mobile-data-table{display:block;min-width:0;width:100%;white-space:normal}
 .mobile-data-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .mobile-data-table tbody{display:block}
 .mobile-data-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;padding:18px 16px;border-bottom:1px solid var(--border)}
 .mobile-data-table tbody tr:last-child{border-bottom:0}
 .mobile-data-table td{display:block;min-width:0;padding:0;border:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
 .mobile-data-table td::before{content:attr(data-label);display:block;margin-bottom:5px;font-size:10px;font-weight:500;color:var(--muted)}
 .mobile-data-table .mobile-cell-wide{grid-column:1 / -1}
 .mobile-data-table td:first-child::before,.mobile-data-table td[data-label=""]::before{display:none}
 .mobile-data-table .asset small,.mobile-data-table .outside-identity small{white-space:normal;max-width:100%;overflow-wrap:anywhere}
 .mobile-data-table td[data-label=""]{display:flex;flex-wrap:wrap;gap:10px}
 .mobile-data-table td button{min-height:38px}
 .mobile-data-table .rank-caption{max-width:none}
 .top-positions-heading{flex-wrap:wrap}
 .top-positions-heading>div{flex:1 1 180px;min-width:0}
}
@media(max-width:380px){
 .cards{grid-template-columns:minmax(0,1fr)}
 .reference-card-value{font-size:28px}
 .reference-allocation-body{min-width:0}
 .rank-mode-tabs{flex-wrap:wrap}
 .rank-mode-tabs button{min-width:0}
 .rank-intro-heading,.rank-intro-toolbar{padding-left:16px;padding-right:16px}
}

.rank-pending-reason{white-space:normal;min-width:220px;max-width:360px}
@media(max-width:800px){.mobile-data-table .rank-pending-reason{min-width:0;max-width:none;grid-column:1 / -1}}
@media(max-width:380px){
 .top-positions tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}
 .top-positions td:nth-child(2){text-align:left}
 .top-position-value{white-space:normal;overflow-wrap:anywhere}
}

@media(max-width:800px){
 .portfolio-positions.mobile-data-table tbody tr{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  padding:12px;
 }
 .portfolio-positions.mobile-data-table td::before{margin-bottom:2px}
 .portfolio-positions.mobile-data-table td:nth-child(5){grid-column:span 2}
 .portfolio-positions.mobile-data-table td:empty{display:none}
 .portfolio-positions .asset small{margin-top:2px}
}

#sidebarBackdrop{display:none}
@media(max-width:800px){
 #sidebar.open + #sidebarBackdrop{display:block;position:fixed;inset:0;z-index:9;background:#0006}
}

.rank-asset-tabs{width:fit-content;max-width:100%;margin:12px 22px 0}

.portfolio-page{min-width:0}
.portfolio-page>.eyebrow{text-transform:uppercase;color:#00dfaa;font-weight:700;letter-spacing:2px;margin-bottom:10px}
.portfolio-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:56px}
.portfolio-heading h1{font-size:32px;line-height:1.1;font-weight:700;margin:0 0 10px}
.portfolio-heading p{color:#8fa7bf;font-size:15px}
.portfolio-heading>.primary{border-radius:999px;padding:10px 18px;flex-shrink:0}
.portfolio-demo{margin:-34px 0 16px}
.portfolio-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:28px}
.portfolio-metric{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-width:0;min-height:100px;padding:15px 18px;border:1px solid #24303e;border-radius:23px;background:#0e131a;color:var(--text);text-align:left}
button.portfolio-metric:hover{border-color:#00a888}
.portfolio-metric-label{display:flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:1px;font-size:11px;color:#879cb1;font-weight:650}
.portfolio-metric-label svg{width:17px;height:17px;flex-shrink:0}
.portfolio-metric strong{font-size:clamp(18px,1.65vw,26px);line-height:1.15;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.portfolio-metric small{font-size:10px;color:#879cb1}
.portfolio-gold{color:#e8bc44}
.portfolio-panels{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(0,1fr);gap:18px;margin-bottom:24px}
.portfolio-panels>*{min-width:0}
.portfolio-panels .reference-evolution-header{padding-right:0}
.portfolio-panels .reference-evolution-legend{position:absolute;right:24px;top:24px;margin:0}
.portfolio-panels .reference-evolution:has(.reference-evolution-legend) .reference-evolution-header{padding-right:180px}
.portfolio-panels .reference-allocation-body{flex-direction:row;gap:clamp(10px,2vw,36px);margin-top:28px}
.portfolio-panels .reference-donut{width:clamp(108px,11vw,176px);height:auto;aspect-ratio:1;padding:clamp(12px,1.25vw,20px)}
.portfolio-panels .reference-donut strong{font-size:clamp(12px,1.35vw,22px);text-align:center}
.portfolio-panels .reference-alloc-list{width:auto;max-width:none;gap:17px}
.portfolio-panels .reference-alloc-list span{min-width:0;overflow-wrap:anywhere}
@media(max-width:1200px){
 .portfolio-panels .reference-allocation-body{flex-direction:column}
 .portfolio-panels .reference-alloc-list{width:100%}
}
@media(max-width:900px){
 .portfolio-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 .portfolio-panels{grid-template-columns:minmax(0,1fr)}
 .portfolio-panels .reference-allocation-body{flex-direction:row;min-height:0}
 .portfolio-panels .reference-alloc-list{width:auto;max-width:280px}
}
@media(max-width:600px){
 .portfolio-heading{align-items:flex-start;flex-direction:column;margin-bottom:25px}
 .portfolio-heading h1{font-size:27px}
 .portfolio-heading p{font-size:13px}
 .portfolio-demo{margin:0 0 12px}
 .portfolio-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .portfolio-metric{padding:12px;min-height:82px;border-radius:16px}
 .portfolio-metric:last-child{grid-column:1 / -1}
 .portfolio-panels .reference-evolution:has(.reference-evolution-legend) .reference-evolution-header{padding-right:0}
 .portfolio-panels .reference-evolution-legend{position:static;margin:12px 0 0}
 .portfolio-panels .reference-alloc-list>div{gap:6px}
}

.portfolio-dividend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:24px}
.portfolio-dividend-card{background:#0b1218;border:1px solid #24303e;border-radius:24px}
.portfolio-dividend-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:24px;text-align:left}
button.portfolio-dividend-header{justify-content:flex-start;align-items:center}
.portfolio-dividend-header h2,.portfolio-dividend-header strong{font-size:16px;font-weight:700}
.portfolio-dividend-header p,.portfolio-dividend-header small{font-size:12px;color:#8d9caf}
.portfolio-dividend-list,.portfolio-month-bars{padding:0;margin:0;list-style:none}
.portfolio-dividend-list a{display:flex;align-items:center;gap:13px;padding:15px 24px;border-top:1px solid #24303e;color:inherit;text-decoration:none}
.portfolio-dividend-list a:hover{background:#111c25}
.portfolio-dividend-ticker{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:13px;background:#c6a04514;border:1px solid #c6a04545;color:#e8bc44;font-size:11px;font-weight:700}
.portfolio-dividend-event,.portfolio-dividend-amount{display:grid;gap:4px;min-width:0}
.portfolio-dividend-amount{margin-left:auto;text-align:right}
.portfolio-dividend-amount strong{color:#e8bc44;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.portfolio-dividend-monthly .portfolio-dividend-amount strong{font-size:clamp(16px,2vw,22px)}
.portfolio-dividend-card small{color:#8d9caf;font-size:11px}
.portfolio-month-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:20px 24px 0;text-align:center}
.portfolio-month-track{height:clamp(95px,14vw,174px);display:flex;align-items:flex-end;border-bottom:1px solid #24303e}
.portfolio-month-track span{width:100%;border-radius:4px 4px 0 0;background:#c6a045}
.portfolio-month-bars small{display:block;margin-top:8px;text-transform:uppercase}
.portfolio-dividend-note,.portfolio-dividend-empty{padding:14px 24px 20px;font-size:11px;color:#8d9caf}
@media(max-width:800px){.portfolio-dividend-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){
 .portfolio-dividend-header,.portfolio-dividend-list a{padding:14px;gap:8px}
 .portfolio-month-bars{margin:14px 14px 0}
 .portfolio-dividend-note,.portfolio-dividend-empty{padding:12px 14px 16px}
}

.panorama-page{min-width:0}
.panorama-page>.eyebrow{color:#00dfaa;font-weight:700;text-transform:uppercase;letter-spacing:2px;margin-bottom:10px}
.panorama-heading{margin-bottom:56px}
.panorama-heading h1{font-size:32px;font-weight:700;line-height:1.1;margin:0 0 10px}
.panorama-heading p{color:#8fa7bf;font-size:15px}
.panorama-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;margin-bottom:28px;border:1px solid #24303e;border-radius:23px;background:#0e131a}
.panorama-status>div{display:flex;align-items:baseline;gap:9px;min-width:0}
.panorama-status p{font-size:13px;color:#8fa7bf}
.panorama-status strong{color:var(--text)}
.panorama-info{color:#00dfaa}
.panorama-status button{flex-shrink:0}
.panorama-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.panorama-card{min-width:0;display:grid;grid-template-rows:auto auto auto 40px auto;gap:8px;padding:17px 18px 14px;border-radius:23px;background:#0b1218;border:1px solid #24303e}
.panorama-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.panorama-card-heading h2{font-size:14px;font-weight:550;color:#8d9caf}
.panorama-card-heading span{font-size:11px;font-weight:700;color:#879cb1}
.panorama-price{font-size:clamp(18px,1.8vw,26px);font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.panorama-change{font-size:13px;font-weight:600;color:#8d9caf}
.panorama-sparkline{display:block;width:100%;height:40px;overflow:visible}
.panorama-no-series,.panorama-source{color:#8d9caf;font-size:10px}
.panorama-no-series{display:flex;align-items:center}
.panorama-empty{grid-column:1/-1;padding:22px}
@media(max-width:1100px){.panorama-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .panorama-heading{margin-bottom:25px}
 .panorama-heading h1{font-size:27px}
 .panorama-heading p{font-size:13px}
 .panorama-status{flex-wrap:wrap;margin-bottom:14px;border-radius:16px}
 .panorama-grid{gap:9px}
 .panorama-card{padding:12px 10px;border-radius:16px;gap:6px}
 .panorama-card-heading{flex-wrap:wrap;gap:3px}
 .panorama-card-heading h2{font-size:12px}
 .panorama-card-heading span{font-size:9px}
}

.panorama-detail-grid{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(0,1fr);gap:18px;margin-top:28px}
.panorama-detail-side{display:grid;align-content:start;gap:18px;min-width:0}
.panorama-detail-card{min-width:0;padding:24px;background:#0d1218;border:1px solid #222e3b;border-radius:24px;color:#e6ecf5}
.panorama-detail-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.panorama-detail-heading h2{font-size:17px;line-height:1.2;letter-spacing:-.035em;margin:0 0 4px}
.panorama-detail-heading p{font-size:14px;color:#8997a9;margin:0;line-height:1.3}
.panorama-detail-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border:1px solid #202c3b;border-radius:50%;background:#131b26;color:#0be5ad}
.panorama-detail-icon svg{width:21px;height:21px}
.panorama-index-summary{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:17px}
.panorama-index-price{font-size:clamp(27px,3vw,38px);font-weight:750;line-height:1.07;font-variant-numeric:tabular-nums;white-space:nowrap}
.panorama-index-price small{font-size:20px;color:#728195}
.panorama-index-change{display:flex;align-items:baseline;gap:10px;margin-top:7px;font-size:14px;color:#8997a9}
.panorama-periods{display:flex;align-items:center;gap:2px;padding:4px;background:#121923;border:1px solid #222e3b;border-radius:19px}
.panorama-periods button{min-width:36px;padding:7px 5px;border:0;border-radius:14px;background:transparent;color:#8997a9;font-family:inherit;font-size:13px;font-weight:600;line-height:1.25;cursor:pointer}
.panorama-periods button[aria-pressed=true]{color:#e6ecf5;background:#0c1219;font-weight:750}
.panorama-periods button:focus-visible{outline:2px solid #0be5ad;outline-offset:1px}
.panorama-index-chart{min-width:0;min-height:294px}
.panorama-index-chart svg{display:block;width:100%;height:264px}
.panorama-index-axis{display:flex;justify-content:space-between;gap:4px;padding-top:12px;color:#8391a5;font-size:10px;white-space:nowrap}
.panorama-chart-state{display:grid;place-items:center;color:#8997a9;border-block:1px solid #222e3b}
.panorama-index-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 0;padding-top:18px;border-top:1px solid #222e3b}
.panorama-index-stats dt{font-size:14px;color:#8997a9}
.panorama-index-stats dd{font-size:14px;font-weight:750;margin:2px 0 0}
.panorama-rate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.panorama-rate{display:grid;align-content:center;gap:10px;min-height:122px;padding:14px;border:1px solid #222e3b;background:#10161e;border-radius:19px}
.panorama-rate span,.panorama-rate small{font-size:12px;color:#8997a9}
.panorama-rate strong{font-size:22px;line-height:1.15;font-variant-numeric:tabular-nums}
.panorama-sentiment-bar{display:flex;height:12px;border-radius:99px;overflow:hidden;background:#222e3b}
.panorama-sentiment-up{background:#2ce7af}.panorama-sentiment-down{background:#ff5278}.panorama-sentiment-flat{background:#8391a5}
.panorama-sentiment-labels{display:flex;justify-content:space-between;gap:6px;margin-top:12px;font-size:14px}
.panorama-detail-note{margin:8px 0 0;color:#8391a5;font-size:11px}
@media(max-width:1050px){
 .panorama-detail-grid{grid-template-columns:minmax(0,1fr)}
 .panorama-detail-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}
@media(max-width:600px){
 .panorama-detail-grid,.panorama-detail-side{gap:12px}
 .panorama-detail-side{grid-template-columns:minmax(0,1fr)}
 .panorama-detail-card{padding:16px;border-radius:18px}
 .panorama-index-summary{align-items:start;flex-direction:column}
 .panorama-index-chart{min-height:211px}
 .panorama-index-chart svg{height:180px}
 .panorama-index-axis span:nth-child(2n):not(:last-child){display:none}
}

.pulse-grid{display:grid;grid-template-columns:minmax(0,1.52fr) minmax(0,1fr);gap:18px;margin-top:28px}
.pulse-highlights{padding:24px 0 15px}
.pulse-grid .panorama-detail-heading{margin-bottom:18px}
.pulse-highlights>.panorama-detail-heading,.pulse-tabs,.pulse-table-note{margin-left:24px;margin-right:24px}
.pulse-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;background:#121923;border:1px solid #222e3b;border-radius:18px;margin-bottom:14px}
.pulse-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:37px;padding:6px 5px;border:0;border-radius:13px;background:transparent;color:#8997a9;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.pulse-tabs button svg{width:15px;height:15px;flex:none}
.pulse-tabs button[aria-pressed=true]{color:#e6ecf5;background:#0d1218}
.pulse-tabs button:focus-visible,.pulse-table-scroll:focus-visible{outline:2px solid #0be5ad;outline-offset:1px}
.pulse-table-scroll{overflow-x:auto}
.pulse-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}
.pulse-table th,.pulse-table td{padding:15px 10px;border:0;border-top:1px solid #222e3b;background:transparent;text-align:right;white-space:nowrap;vertical-align:middle;font-size:14px;font-variant-numeric:tabular-nums}
.pulse-table thead th{padding-top:13px;padding-bottom:13px;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.09em;color:#8997a9}
.pulse-table thead th small{font-size:9px}
.pulse-table th:first-child{width:35%;text-align:left;padding-left:24px}
.pulse-table thead th:nth-child(2){width:20%}
.pulse-table thead th:nth-child(3){width:19%}
.pulse-table tbody th{color:#e6ecf5}
.pulse-table th:last-child,.pulse-table td:last-child{padding-right:24px}
.pulse-stock{display:flex;align-items:center;gap:12px;min-width:0}
.pulse-stock>div{min-width:0}
.pulse-stock strong{display:block;font-size:15px}
.pulse-stock small{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;color:#8997a9;font-weight:400}
.pulse-stock .asset-logo{width:38px;height:38px;border-radius:50%;background:#131b26;color:#0be5ad}
.pulse-volume{color:#a0adbd;font-variant-numeric:tabular-nums}
.pulse-empty,.pulse-table td.pulse-empty{text-align:center;color:#8997a9;padding:24px 12px;white-space:normal}
.pulse-sectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.pulse-sector{min-height:76px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:13px 14px;border:1px solid #222e3b;border-radius:17px;font-size:13px}
.pulse-sector:nth-child(-n+4){min-height:92px}
.pulse-sector span{font-size:17px;font-weight:750;font-variant-numeric:tabular-nums}
@media(max-width:1050px){.pulse-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
 .pulse-grid{gap:12px}
 .pulse-highlights{padding:16px 0 12px}
 .pulse-highlights>.panorama-detail-heading,.pulse-tabs,.pulse-table-note{margin-left:12px;margin-right:12px}
 .pulse-tabs button{font-size:11px;gap:3px}
 .pulse-tabs button svg{width:12px;height:12px}
 .pulse-table{font-size:12px}
 .pulse-table th,.pulse-table td{padding:11px 4px;font-size:12px}
 .pulse-table thead th:nth-child(3){width:22%}
 .pulse-table th:first-child{padding-left:10px}
 .pulse-table thead th{padding-top:9px;padding-bottom:9px;font-size:9px;letter-spacing:0;white-space:normal}
 .pulse-table thead th small{font-size:8px}
 .pulse-table th:last-child,.pulse-table td:last-child{padding-right:8px}
 .pulse-stock{gap:5px}
 .pulse-stock strong{font-size:12px}
 .pulse-stock small{font-size:10px}
 .pulse-stock .asset-logo{width:20px;height:20px;font-size:8px}
 .pulse-sector{padding:11px 10px}
 .pulse-sector:nth-child(-n+4){min-height:76px}
}

.world-market-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.05fr);gap:18px;margin-top:28px}
.world-commodities{margin:0}
.world-commodity{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:77px;padding:12px 0}
.world-commodity+.world-commodity{border-top:1px solid #222e3b}
.world-commodity dt,.world-commodity dd{display:grid;gap:5px;margin:0}
.world-commodity dt strong{font-size:15px}
.world-commodity dd{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.world-commodity dd strong{font-size:17px}
.world-commodity small{color:#8997a9;font-size:12px}
.world-commodity dd small{font-size:13px;font-weight:650}
.world-calendar{padding:24px 0 12px}
.world-calendar>.panorama-detail-heading{margin-inline:24px}

@media(max-width:1050px){.world-market-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
 .world-market-grid{gap:12px}
 .world-commodity{min-height:64px}
 .world-calendar{padding:16px 0 12px}
 .world-calendar>.panorama-detail-heading{margin-inline:16px}
}
.world-agenda-wrap{overflow:hidden}
.world-agenda-table{width:100%;table-layout:fixed;border-collapse:collapse;white-space:normal}
.world-agenda-table th,.world-agenda-table td{background:transparent;border:0;border-top:1px solid #222e3b;text-align:left;vertical-align:middle;padding:12px 8px}
.world-agenda-table thead th{height:42px;font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#8493a5}
.world-agenda-table th:first-child,.world-agenda-table td:first-child{padding-left:23px}
.world-agenda-table th:last-child,.world-agenda-table td:last-child{padding-right:23px}
.world-agenda-table th:nth-child(1){width:16%}
.world-agenda-table th:nth-child(2){width:41%}
.world-agenda-table th:nth-child(3){width:15%}
.world-agenda-table th:nth-child(n+4){width:14%;text-align:right}
.world-agenda-table td{height:65px;font-size:14px;color:#a0adbd}
.world-agenda-table td strong{color:#e6ecf5;font-weight:650}
.world-agenda-table .agenda-date strong,.world-agenda-table .agenda-date small{display:block;white-space:nowrap}
.agenda-date small{margin-top:3px;font-size:12px;color:#8493a5}
.agenda-event-content{display:flex;align-items:flex-start;gap:8px}
.agenda-event-content strong{min-width:0;overflow-wrap:anywhere;line-height:1.35}
.agenda-region{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:30px;padding:3px 7px;border:1px solid #222e3b;border-radius:14px;background:#141b25;color:#a0adbd;font-size:11px;font-weight:700;vertical-align:middle}
.agenda-impact-content{display:inline-flex;align-items:center;gap:6px}
.agenda-dot{flex:none;width:9px;height:9px;border-radius:50%;background:#657489}
.agenda-dot.agenda-medium{background:#eac056}.agenda-dot.agenda-high{background:#ff587c}
.world-agenda-table .agenda-forecast,.world-agenda-table .agenda-previous{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.world-agenda-table .agenda-empty{text-align:center;color:#8997a9;height:130px;padding:12px}
.world-agenda-credit{margin:10px 23px 0;font-size:11px;color:#8997a9}
.world-agenda-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media(max-width:600px){
 .world-agenda-table th,.world-agenda-table td{padding:9px 4px;font-size:11px}
 .world-agenda-table th:first-child,.world-agenda-table td:first-child{padding-left:10px}
 .world-agenda-table th:last-child,.world-agenda-table td:last-child{padding-right:7px}
 .world-agenda-table th:nth-child(1){width:20%}
 .world-agenda-table th:nth-child(2){width:33%}
 .world-agenda-table th:nth-child(3){width:15%}
 .world-agenda-table th:nth-child(n+4){width:16%}
 .world-agenda-table thead th{font-size:8px;letter-spacing:.025em}
 .world-agenda-table .agenda-date strong{white-space:normal}
 .agenda-date small{font-size:10px}
 .agenda-event-content{gap:4px}
 .agenda-region{padding:2px 4px;min-width:0;font-size:8px}
 .agenda-impact-content{gap:3px;font-size:10px}
 .agenda-dot{width:6px;height:6px}
 .world-agenda-credit{margin-inline:10px}
}

.market-news{margin-top:28px}
.market-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.market-news-card{position:relative;display:flex;flex-direction:column;gap:14px;min-width:0;min-height:160px;padding:18px 19px;border:1px solid #222e3b;border-radius:19px;background:#11161e}
.market-news-card:hover,.market-news-card:focus-within{border-color:#3b776d}
.market-news-top,.market-news-card footer{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.market-news-top{justify-content:space-between}
.market-news-top span{padding:4px 9px;border-radius:14px;background:#12332e;color:#2be3b5;font-size:12px;font-weight:700}
.market-news-top time,.market-news-note{color:#a0adbd;font-size:12px}
.market-news-card h3{margin:0;color:#e6ecf5;font-size:16px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.market-news-card h3 a{color:inherit;text-decoration:none}
.market-news-card h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.market-news-card h3 a:focus-visible{outline:2px solid #2be3b5;outline-offset:4px}
.market-news-card footer{margin-top:auto;color:#a0adbd;font-size:12px}
.market-news-card footer span{display:inline-flex;align-items:center;gap:6px}
.market-news-card footer svg{width:14px;height:14px}
.market-news-card footer small{padding:3px 6px;border:1px solid #283545;border-radius:5px;font-size:11px;font-weight:650}
.market-news-note{margin:12px 0 0}
@media(max-width:1050px){.market-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .market-news-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .market-news-card{min-height:0;padding:15px;gap:12px}
}

/* Signed figures align with surrounding numbers and keep their color at every size. */
.variation-value {
 font-weight:650;
 font-variant-numeric:tabular-nums;
 white-space:nowrap;
}
.variation-value.positive{color:#5adbb0!important}
.variation-value.negative{color:#ff8e9d!important}
.variation-value.neutral,.variation-value.unavailable{color:#9cabc0}
.portfolio-metric>.variation-value{font-size:clamp(18px,1.65vw,26px);line-height:1.15}
.value>.variation-value{font-size:13px}
.reference-card-meta>.variation-value{font-weight:650}
.reference-card-value.variation-value{font-weight:700}
.panorama-index-change .variation-value{font-size:17px}
.top-positions .variation-value,.portfolio-positions .variation-value{font-size:12px}

@media(min-width:801px){
 .portfolio-positions{table-layout:fixed}
 .portfolio-positions :is(th,td){padding-inline:clamp(5px,1vw,17px);white-space:normal;overflow-wrap:anywhere}
 .portfolio-positions th:first-child{width:27%}
 .portfolio-positions th:nth-child(2){width:10%}
 .portfolio-positions th:nth-child(3){width:12%}
 .portfolio-positions th:nth-child(4){width:11%}
 .portfolio-positions th:nth-child(5){width:14%}
 .portfolio-positions th:nth-child(6){width:11%}
 .portfolio-positions th:last-child{width:15%}
 .portfolio-positions .asset small{white-space:normal;overflow-wrap:anywhere}
}

@media(max-width:600px){
 .pulse-table .variation-value{font-size:11px}
}

/* Empty portfolio: focused introduction, without an empty table. */
.top-positions-empty .top-positions-heading { padding: 22px 24px 18px; border-bottom-color: #202c38; }
.positions-onboarding { display: flex; align-items: center; gap: 18px; padding: 32px 24px 34px; }
.positions-onboarding-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid #00d4aa29; border-radius: 15px; background: #00d4aa0b; color: #00d4aa; }
.positions-onboarding-icon svg { width: 25px; height: 25px; }
.positions-onboarding-copy { flex: 1; min-width: 0; }
.positions-onboarding-copy h3 { margin: 0 0 7px; color: #e3eaf0; font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: -.3px; }
.positions-onboarding-copy p { margin: 0; max-width: 380px; font-size: 12px; line-height: 1.7; color: #8d9caf; text-wrap: pretty; }
.positions-onboarding-add { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; min-height: 42px; padding: 10px 15px; border-radius: 12px; background: #00d4aa; border-color: #00d4aa; color: #04211c; font-size: 12px; white-space: nowrap; }
.positions-onboarding-add:hover { background: #24e3bb; border-color: #24e3bb; }
.positions-onboarding-add span { font-size: 18px; line-height: 1; }
@media (max-width: 700px) {
  .positions-onboarding { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 26px 20px; }
  .positions-onboarding-icon { width: 44px; height: 44px; align-self: start; }
  .positions-onboarding-add { grid-column: 1 / -1; width: 100%; margin-top: 4px; min-height: 44px; }
  .top-positions-empty .top-positions-heading { padding: 20px; }
}
