:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#182d40;background:#f2f5f6;--muted:#536779;--border:#dce5e9;--accent:#086c65}*{box-sizing:border-box}body{margin:0}header{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid var(--border);padding:12px max(24px,calc((100% - 1320px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}nav,.brand,.title,.panelhead,.sectionhead,.filters,.pagination{display:flex;align-items:center;gap:16px}.brand b{padding:8px 11px;background:#193d45;color:white;border-radius:8px}.brand span{font-weight:750}.brand .sub{margin-left:10px;color:var(--muted);font-size:12px}a{color:inherit;text-decoration:none}nav a{font-size:14px;color:var(--muted)}a:hover{color:var(--accent)}main{max-width:1368px;margin:auto;padding:35px 24px}section{scroll-margin-top:82px;margin-bottom:38px}.title,.sectionhead,.panelhead{justify-content:space-between}.title{margin-bottom:23px}h1,h2,h3,p{margin:0}h1{font-size:46px;letter-spacing:-.06em;margin:6px 0 9px}h2{font-size:20px}h3{font-size:16px}.eyebrow{color:var(--accent);font-size:13px;font-weight:750}.muted,.panelhead p,article>p{color:var(--muted);font-size:13px;line-height:1.65}.button,button{background:var(--accent);color:white;padding:10px 15px;border-radius:8px;border:1px solid transparent;white-space:nowrap;font:inherit;font-size:13px;cursor:pointer}.button:hover{color:white;background:#09594f}.secondary,button{background:white;color:var(--accent);border-color:var(--border)}button:disabled{opacity:.45;cursor:default}.cards,.plots,.reviews,.comparisons{display:grid;gap:14px}.cards{grid-template-columns:repeat(4,1fr);margin-bottom:14px}.plots{grid-template-columns:minmax(0,2.3fr) minmax(245px,1fr)}article{background:#fff;border:1px solid var(--border);border-radius:13px;padding:18px;min-width:0}.cards article span{font-size:13px;color:var(--muted)}strong{display:block;font-size:32px;letter-spacing:-.05em;margin:9px 0;font-variant-numeric:tabular-nums}small{font-size:14px;letter-spacing:0}.sectionhead{margin-bottom:12px}.reviews{grid-template-columns:repeat(4,1fr)}.comparisons{grid-template-columns:1fr 1fr;margin-top:14px}.reviews h3,.comparisons h3{margin-bottom:8px}.reviews p+p,.comparisons p+p{margin-top:8px}.tag{float:right;background:#fbe9e4;color:#9a3523;padding:2px 6px;border-radius:4px;font-size:12px}.tag.mid{background:#fff2d8;color:#76500b}.tag.low{background:#e5f4ee;color:#236348}label{font-size:12px;color:var(--muted)}select{margin-left:6px;background:#fff;border:1px solid var(--border);padding:7px;border-radius:6px;color:#183445;font:inherit}canvas{width:100%;height:285px;display:block}#legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin:12px 0 3px;font-size:12px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}.share-row{margin:15px 0;display:grid;grid-template-columns:67px 1fr 48px;align-items:center;gap:8px;font-size:13px}.track{background:#edf2f4;height:8px;border-radius:6px}.fill{display:block;height:100%;border-radius:6px}.tablewrap{overflow:auto;margin-top:10px}table{border-collapse:collapse;min-width:1100px;width:100%;font-size:12px;font-variant-numeric:tabular-nums}td,th{padding:9px 8px;text-align:right;white-space:nowrap;border-bottom:1px solid #e8eff2}th{background:#eef4f5}td:nth-child(-n+4),th:nth-child(-n+4){text-align:left}.pagination{justify-content:flex-end;margin-top:12px;font-size:12px}.filters{flex-wrap:wrap;margin-bottom:8px}footer{font-size:12px;color:var(--muted)}@media(max-width:900px){.reviews,.cards{grid-template-columns:repeat(2,1fr)}.plots{grid-template-columns:1fr}}@media(max-width:550px){header{padding:10px 12px}nav,.brand .sub{display:none}main{padding:20px 12px}.comparisons{grid-template-columns:1fr}.reviews article,.cards article{padding:12px}h1{font-size:36px}}
.store-nav{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:22px;padding:10px;background:#fff;border:1px solid var(--border);border-radius:12px}.store-nav button[aria-pressed=true]{background:#086c65;color:white;border-color:#086c65}.store-nav button:hover{border-color:#086c65}.roi-low{color:#a13528}.roi-good{color:#086c65}.performance{min-width:610px}.store-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:14px;margin-bottom:14px}.store-layout p+p{margin-top:9px}.store-title{margin-bottom:16px}.mini-trend{display:flex;align-items:end;gap:5px;height:140px;margin:10px 0}.mini-trend div{display:flex;flex:1;height:100%;flex-direction:column;justify-content:end;align-items:center;gap:5px;font-size:10px;color:var(--muted)}.mini-trend i{width:70%;background:#078577;border-radius:4px 4px 0 0}.store-filter{margin-bottom:10px}@media(max-width:700px){.store-layout{grid-template-columns:1fr}}
.date-filter{padding:10px 14px;background:white;border:1px solid var(--border);border-radius:10px;margin-bottom:20px}.date-filter select{min-width:80px}
.investment-periods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.investment-periods h3{margin:0 0 10px}.investment-periods label{display:block}.investment-periods select{display:block;margin:4px 0 0;width:100%;font-size:13px}.period-metrics p,.period-metrics dt{color:var(--muted);font-size:13px}.period-metrics dl{display:grid;grid-template-columns:1fr auto;gap:8px;margin:14px 0 0;font-size:13px}.period-metrics dd{margin:0;text-align:right}.investment-detail-title{margin:0 0 10px}@media(max-width:1050px){.investment-periods{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.investment-periods{grid-template-columns:1fr}}
@media(min-width:1100px){#overview>.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}

:root {
  color-scheme: dark;
  color: #e9f3ff;
  background: #080f20;
  --muted: #a0b5d0;
  --border: #243855;
  --accent: #66e8f3;
  --surface: #101d33;
}
body {
  background:
    radial-gradient(ellipse at 82% 0%, #13375c 0%, transparent 46%),
    repeating-linear-gradient(0deg, #659ff00b 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, #659ff00b 0 1px, transparent 1px 36px);
  min-height: 100vh;
}
header { background: #091324eF; backdrop-filter: blur(14px); }
.brand b { background: linear-gradient(145deg, #58e9f4, #7a9eff); color: #091425; }
article { background: linear-gradient(145deg, #142641, var(--surface) 74%); }
.store-nav, .date-filter { background: #0c192de8; }
button, .button.secondary, select {
  background: #111f35;
  border-color: var(--border);
  color: #dcecff;
}
.button, .button:hover, .store-nav button[aria-pressed=true] {
  background: linear-gradient(110deg, #57e4ec, #83acff);
  color: #091425;
  border-color: #72dce9;
}
.button.secondary:hover { background: #173653; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#overview .cards article, .investment-periods article {
  border-top: 2px solid #4c8fbf;
  box-shadow: inset 0 1px 18px #54abff10, 0 10px 24px #0207125c;
}
#overview strong, .period-metrics strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: -.055em;
}
#overview strong { color: #8debf9; font-size: clamp(20px, 2.5vw, 32px); }
.roi-good { color: #63efb9; }
.roi-low { color: #ff9d94; }
.period-metrics dl { border-top: 1px solid var(--border); padding-top: 12px; }
.track { background: #20334c; }
.mini-trend i { background: linear-gradient(#6ef0ec, #547aff); }
th { background: #172a45; }
td, th { border-color: var(--border); }
tbody tr:nth-child(even) { background: #21385435; }
tbody tr:hover { background: #26466360; }
.tag { background: #492933; color: #ffb9b0; }
.tag.mid { background: #433620; color: #ffd28c; }
.tag.low { background: #173e39; color: #8be8c5; }

#storeView .cards .store-roi-value {
  font-size: clamp(36px, 5vw, 48px);
  color: inherit;
}
#storeView .cards .store-roi-value.roi-good { color: #63efb9; }
#storeView .cards .store-roi-value.roi-low { color: #ff9b9b; }

.brand-avatar {
  display: block;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 14px;
  margin-top: 14px;
}
.actions-grid h3 { margin-bottom: 8px; }
.actions-grid dl { margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
.actions-grid dt { font-weight: 700; margin-top: 8px; }
.actions-grid dd { margin: 2px 0 0; color: var(--muted); }
#review > p { margin-bottom: 10px; }
#review > p a { text-decoration: underline; }

.product-panel { margin-bottom: 14px; }
.product-totals { margin-top: 12px; }
.product-form { align-items: end; }
.product-form input {
  display: block;
  width: 100%;
  max-width: 205px;
  margin-top: 4px;
  padding: 6px;
  color: inherit;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.product-panel td img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 5px;
}

.product-editor { margin-top: 14px; }
.product-editor summary { cursor: pointer; font-weight: 650; }
.product-editor form { margin-top: 10px; }
.product-panel td.product-identity { min-width: 170px; }
.product-identity img { vertical-align: middle; margin-right: 10px; }
.product-identity strong { display: inline; font-size: 14px; letter-spacing: normal; }
.product-panel th:nth-child(n+2), .product-panel td:nth-child(n+2) { text-align: right; }



.daily-platform-row{display:grid;grid-template-columns:85px minmax(60px,1fr) 165px;gap:16px;align-items:center;min-height:58px;font-size:15px}.daily-platform-row>span{text-align:right}.daily-platform-track{height:18px;background:#213650;border-radius:5px;overflow:hidden}.daily-platform-track i{display:block;height:100%;border-radius:5px}#dailyPlatformBars{padding:12px 0}#chart[hidden],#dailyPlatformBars[hidden]{display:none!important}@media(max-width:600px){.daily-platform-row{grid-template-columns:64px minmax(35px,1fr) 125px;gap:8px;font-size:12px}}
