:root{
  --bg:#f7f8fb;
  --card:#fff;
  --accent:#2b6cb0;
  --muted:#6b7280;
}
*{box-sizing:border-box}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;margin:0;background:var(--bg);color:#111}
.container{max-width:980px;margin:18px auto;padding:18px}
header h1{margin:0 0 6px}
.muted{color:var(--muted);font-size:0.9rem}
.controls{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.controls input{padding:6px;border-radius:6px;border:1px solid #ddd}
.controls button{padding:8px 12px;background:var(--accent);color:#fff;border:none;border-radius:6px;cursor:pointer}
#fundList{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.fundCard{background:var(--card);padding:12px;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,0.06);display:flex;flex-direction:column;gap:8px}
.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.row .small{font-size:0.9rem;color:var(--muted)}
.fundHeader{display:flex;justify-content:space-between;align-items:center}
.fundHeader h3{margin:0}
input[type=number]{width:140px}
.summaryRow{display:flex;gap:18px;flex-wrap:wrap;margin-top:10px}
.charts{margin-top:12px;background:var(--card);padding:8px;border-radius:8px}
footer{margin-top:18px;color:var(--muted)}
@media (max-width:560px){
  .controls input{width:100%}
  input[type=number]{width:100%}
}
