/* ui/dashboard.css — the dashboard only (shared card styles are in pages.css) */

/* profit & loss summary */
.sum-card { background: var(--panel); border-radius: var(--r-tile); padding: 12px 14px; }
.sum-top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.sum-fig { display: flex; gap: 8px; align-items: center; min-width: 0; }
.sum-fig small { display: block; color: var(--muted); font-size: 11.5px; }
.sum-fig b { font-size: 21px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.sum-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--panel2); display: grid; place-items: center; font-size: 13px; flex: none; }
.sum-sep { width: 1px; height: 34px; background: var(--line); }
@media (max-width: 480px) { .sum-top { gap: 10px; } .sum-fig b { font-size: 18px; } .sum-ico { display: none; } }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 140px; padding-top: 8px; position: relative; }
.bars .b { flex: 1; border-radius: 999px; min-height: 5px; background: var(--bar-off); position: relative; cursor: default; }
.bars .b.pos { background: var(--accent); }
.bars .b:hover::after { content: attr(data-t); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--text); color: var(--bg); padding: 4px 8px; border-radius: 8px; font-size: 11px; white-space: nowrap; z-index: 2; }
.bars-note { color: var(--dim); font-size: 11px; margin-top: 6px; display: flex; justify-content: space-between; gap: 8px; }

/* market tiles */
.brbar { height: 8px; border-radius: 999px; background: var(--sell-dim); overflow: hidden; }
.brbar i { display: block; height: 100%; background: var(--buy); border-radius: 999px; width: 50%; transition: width .4s; }
.vix-meter { height: 7px; border-radius: 999px; background: linear-gradient(90deg, #4ADE80, #FACC15 45%, #F97316 70%, #EF4444);
             position: relative; margin-top: 4px; }
.vix-meter i { position: absolute; top: -4px; width: 4px; height: 15px; border-radius: 3px; background: #fff; }

/* status */
.status { padding: 12px 14px; }
.st-list { display: flex; flex-direction: column; }
.st { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.st:last-child { border-bottom: 0; }
.st .dot { width: 9px; height: 9px; border-radius: 50%; margin-left: 6px; }
.st .dot.g { background: var(--buy); box-shadow: 0 0 0 4px var(--buy-dim); }
.st .dot.o { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.st .dot.r { background: var(--sell); box-shadow: 0 0 0 4px var(--sell-dim); }
.st .dot.m { background: var(--dim); }
.st b { font-size: 12.5px; }
.st small { display: block; color: var(--muted); font-size: 11px; margin-top: 1px; line-height: 1.4; }
html body .st a { font-size: 11.5px; font-weight: 600; color: var(--accent); }

/* news */
.news { padding: 2px 12px; }
.nw { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 3px 9px; }
.nw:last-child { border-bottom: 0; }
.nw .s { font-weight: 700; font-size: 11px; background: var(--panel2); border-radius: 7px; padding: 3px 7px; height: fit-content; }
.nw .t { font-size: 12.5px; line-height: 1.45; }
.nw .m { grid-column: 2; color: var(--dim); font-size: 11px; }

.disclaimer { color: var(--dim); font-size: 11px; margin-top: 14px; text-align: center; }
