:root{color-scheme:dark;--page:#080e15;--surface:#0e1924;--border:#263b4c;--ink:#dce7f1;--muted:#8ca2b5;--grid:#213241;--vn60:#22d7aa;--penny:#ff5267}*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font:14px/1.5 Inter,system-ui,sans-serif}body.light{color-scheme:light;--page:#f2f5f8;--surface:#fff;--border:#d4dee7;--ink:#243745;--muted:#61788b;--grid:#dfe7ee;--vn60:#00856b;--penny:#d52d43}button{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:8px 13px;cursor:pointer}button:hover,button:focus-visible{border-color:var(--vn60)}button:disabled{opacity:.5;cursor:wait}.comparison-header{display:flex;gap:20px;align-items:center;padding:10px 24px;border-bottom:1px solid var(--border);min-height:64px;background:var(--page)}.comparison-header .brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:800;font-size:22px}.brand-mark{width:44px;height:44px;object-fit:contain}.brand small{display:block;font-size:9px;letter-spacing:2px;font-weight:500}.chapter{flex:1;color:var(--muted);font-size:13px}.comparison-main{max-width:1800px;margin:auto;padding:26px 48px 38px}.comparison-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--vn60);font-weight:750;margin:0 0 8px}h1{font-size:30px;line-height:1.2;margin:0 0 8px}h1 span{color:var(--muted);font-weight:400}.muted{color:var(--muted)}.comparison-heading p:last-child{margin:0;font-size:12px}.performance-card{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}.performance-legend{display:flex;align-items:center;gap:30px;padding:20px 24px 12px;flex-wrap:wrap}.performance-legend>span{display:inline-flex;gap:9px;align-items:center;font-weight:650}.performance-legend i{width:22px;height:3px;border-radius:3px}.vn60{background:var(--vn60)}.penny{background:var(--penny)}#vn60Return{color:var(--vn60)}#pennyReturn{color:var(--penny)}.performance-legend small{margin-left:auto;color:var(--muted);font-size:11px}.performance-plot{height:clamp(310px,57vh,680px);position:relative;min-width:0}#performanceChart{display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab}.performance-bottom{border-top:1px solid var(--border);padding:15px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.performance-bottom>span{color:var(--muted);font-size:11px}.periods{display:flex;gap:7px}.periods button{min-width:52px;padding:7px 12px}.periods button[aria-pressed=true]{background:#21d7aa1c;color:var(--vn60);border-color:var(--vn60)}.comparison-note{font-size:11px;line-height:1.7;margin:14px 0 22px}.comparison-state{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:30px;text-align:center;color:var(--muted);background:var(--surface)}[hidden]{display:none!important}.performance-tooltip{position:absolute;z-index:5;pointer-events:none;padding:10px 13px;border:1px solid var(--border);border-radius:8px;background:var(--page);box-shadow:0 5px 18px #0004;font-size:12px;min-width:150px}.performance-tooltip strong{display:block;margin-bottom:6px}.performance-tooltip span{display:flex;justify-content:space-between;gap:20px}.basket-details{border:1px solid var(--border);border-radius:10px;padding:16px 20px;background:var(--surface)}.basket-details summary{cursor:pointer;font-weight:650}.basket-details p{color:var(--muted);font-size:12px;max-width:1100px}.basket-scroll{overflow:auto;max-height:420px;margin-top:15px}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:9px 12px;border-bottom:1px solid var(--border)}th{position:sticky;top:0;background:var(--surface);font-weight:600;color:var(--muted)}td:last-child,th:last-child{text-align:right;font-variant-numeric:tabular-nums}td:nth-child(2){color:var(--vn60);font-weight:700}@media(max-width:680px){.comparison-header{padding:8px 16px;gap:10px}.comparison-header .brand{font-size:18px}.chapter{font-size:11px}.comparison-main{padding:22px 28px 30px}h1{font-size:25px}.comparison-heading{align-items:flex-start}.comparison-heading>button{font-size:11px;padding:7px 9px;white-space:nowrap}.performance-legend{padding:16px 13px 8px;gap:12px 18px;font-size:12px}.performance-legend small{width:100%;margin:0}.performance-bottom{padding:12px}.periods{gap:5px;width:100%}.periods button{flex:1;min-width:0;padding:7px 8px}.performance-plot{height:390px}.basket-details{padding:13px}.brand small{font-size:8px}.performance-bottom>span{font-size:10px}}

#performanceChart.dragging{cursor:grabbing}.zoom-controls{display:flex;gap:6px}.zoom-controls button{min-width:36px;padding:6px 10px}

@media(max-width:400px){.periods{gap:3px}.periods button{padding:7px 3px}}

:root{--vn30:#4b99ff;--vnindex:#f2b544}
.performance-legend {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 4px 12px;
}
.performance-legend-series {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.performance-legend .comparison-series{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;padding:3px 0;font:inherit;font-weight:650;color:var(--ink);cursor:pointer;border-radius:3px;white-space:nowrap}
.performance-legend .comparison-series i { width: 15px; }
.performance-legend #rangeDates {
  justify-self: end;
  width: auto;
  margin: 0;
  padding-top: 4px;
  white-space: nowrap;
}
.performance-legend #rangeDates:empty { display: none; }
@media (max-width: 520px) {
  .performance-legend { grid-template-columns: minmax(0, 1fr); }
  .performance-legend #rangeDates { grid-row: 1; padding-top: 0; }
}
.performance-legend .comparison-series:focus-visible{outline:1px solid var(--muted);outline-offset:3px}
.performance-legend .comparison-series[aria-pressed=false]{opacity:.45;color:var(--muted)}
.performance-legend .comparison-series[aria-pressed=false] strong{color:var(--muted)!important}
.vn30{background:var(--vn30)}.vnindex{background:var(--vnindex)}#vn30Return{color:var(--vn30)}#vnindexReturn{color:var(--vnindex)}

.performance-summary{margin:0 0 22px;border:1px solid var(--border);border-radius:9px;overflow:hidden;background:var(--surface)}
.performance-summary table{table-layout:fixed;width:100%;font-size:13px}
.performance-summary th,.performance-summary td{padding:10px 12px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);text-align:right;font-variant-numeric:tabular-nums}
.performance-summary thead th{position:static;color:var(--ink);background:var(--page);font-weight:650}
.performance-summary th:first-child{width:19%;text-align:left;background:#8ca2b50d;font-weight:650}
.performance-summary th:last-child,.performance-summary td:last-child{border-right:0}
.performance-summary tfoot th,.performance-summary tfoot td{border-bottom:0;font-size:12px}
.performance-summary .summary-up{color:#16a34a;font-weight:650}.performance-summary .summary-down{color:#ef2b2d;font-weight:650}.performance-summary .summary-flat{color:#f2a900}.performance-summary .summary-unknown{color:var(--muted)}
.performance-summary small{display:block;padding:7px 12px;color:var(--muted);font-size:10px;border-top:1px solid var(--border)}
.performance-summary .summary-loading{text-align:center;color:var(--muted)}
@media(max-width:680px){.performance-summary{margin-bottom:18px}.performance-summary table{font-size:10px}.performance-summary th,.performance-summary td{padding:8px 4px}.performance-summary tfoot th,.performance-summary tfoot td{font-size:9px}.performance-summary th:first-child{width:20%}.performance-summary thead th{font-size:9px}}

.performance-summary th{position:static}

.performance-summary th:first-child{width:15%}.performance-summary td[data-summary-turnover]{white-space:nowrap}.performance-summary{overflow-x:auto}@media(max-width:680px){.performance-summary table{min-width:600px}.performance-summary th:first-child{width:16%}}

@media(max-width:680px){.comparison-main{padding-left:0;padding-right:0}.comparison-heading,.rankings-meta,.comparison-note{padding-left:8px;padding-right:8px}.performance-summary,.performance-card,.movers-card{border-radius:0}}

.comparison-main{max-width:none;padding-left:0;padding-right:0}.comparison-heading,.rankings-meta,.comparison-note{padding-left:8px;padding-right:8px}

.summary-overview{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:12px;margin-bottom:22px;align-items:start}.summary-overview .performance-summary{margin-bottom:0;min-width:0}.sentiment-card{min-width:0;border:1px solid var(--border);border-radius:9px;background:var(--surface);overflow:hidden}.sentiment-card h2{font-size:14px;margin:0;padding:10px 12px;border-bottom:1px solid var(--border)}.sentiment-card table{width:100%;table-layout:fixed}.sentiment-card th,.sentiment-card td{position:static;padding:8px;font-size:12px;text-align:right;border-bottom:1px solid var(--border)}.sentiment-card th:first-child,.sentiment-card td:first-child{width:38%;text-align:left;color:var(--ink)}.sentiment-card td{font-variant-numeric:tabular-nums;color:var(--ink)}.sentiment-card .cold-strong{background:var(--cold-strong-bg,#ff2424);color:var(--cold-strong-text,#000);font-weight:750}.sentiment-card .cold-light{background:var(--cold-light-bg,#ff52524d);color:var(--cold-light-text,#ff9c9c);font-weight:650}.sentiment-card .sentiment-hot,.sentiment-card .sentiment-cold{font-weight:650}.sentiment-card .sentiment-drawdown{color:var(--ink);font-weight:700}.sentiment-card .sentiment-drawdown.sentiment-floor{color:#00e5e5}.sentiment-card .sentiment-bad{color:#ff5267}.sentiment-card small{display:block;padding:7px 10px;color:var(--muted);font-size:10px}@media(max-width:1100px){.summary-overview{grid-template-columns:minmax(0,1fr)}}@media(max-width:680px){.sentiment-card{border-radius:0}.sentiment-card th,.sentiment-card td{font-size:11px;padding:8px}.summary-overview{gap:12px}}

@media(min-width:1200px){.summary-overview{grid-template-columns:repeat(4,minmax(0,1fr))}.summary-overview>.performance-summary{grid-column:span 2}.summary-overview>.sentiment-card{grid-column:3}.summary-overview .performance-summary table{font-size:12px}.summary-overview .performance-summary th,.summary-overview .performance-summary td{padding:9px 6px}}
@media(min-width:1101px) and (max-width:1199px){.summary-overview{grid-template-columns:minmax(0,1fr)}}

.assessment-card{min-width:0;border:1px solid var(--border);border-radius:9px;background:var(--surface);overflow:hidden}.assessment-card table{width:100%;table-layout:fixed}.assessment-card th,.assessment-card td{position:static;padding:9px 5px;font-size:11px;border-bottom:1px solid var(--border);text-align:right;vertical-align:middle}.assessment-card th{font-size:10px;color:var(--muted)}.assessment-card th:first-child,.assessment-card td:first-child{width:25%;text-align:left}.assessment-card td{color:var(--ink);font-variant-numeric:tabular-nums}.assessment-card tr:last-child td{border-bottom:0}.assessment-card td:last-child{font-size:10px;font-weight:750;text-align:center}.assessment-card td.rating-up{background:#00d438;color:#07120a}.assessment-card td.rating-down{background:#ff2d2d;color:#000}.assessment-card td.rating-unclear{background:#ffb300;color:#201600}.assessment-card td.average-up{color:#00d438}.assessment-card td.average-down{color:#ff2d2d}@media(min-width:1200px){.summary-overview>.assessment-card{grid-column:3}.summary-overview>.sentiment-card{grid-column:4}}@media(max-width:680px){.assessment-card{border-radius:0}.assessment-card th,.assessment-card td{padding:9px 6px;font-size:11px}.assessment-card td:last-child{font-size:10px}}

.performance-legend .comparison-series{color:var(--ink)}
.performance-legend .comparison-series[aria-pressed=false]{color:var(--muted)}

.sentiment-card .sentiment-drawdown.sentiment-drawdown-green { color: #00d438; }
.sentiment-card .sentiment-drawdown.sentiment-drawdown-red { color: #ff2d2d; }
.summary-overview > .sentiment-card { border: 2px solid #ff2d2d; }
