body.depth-page { display:block; height:auto; min-height:100%; }
#depth { padding:16px; max-width:1080px; margin:0 auto; }

.insight {
  background:var(--panel); border:1px solid var(--line);
  border-left:3px solid var(--accent); border-radius:10px;
  padding:14px 18px; margin-bottom:16px;
}
.insight .big { font-size:22px; font-weight:700; line-height:1.25; }
.insight .big b.s { color:#ff9b6b; }      /* kort */
.insight .big b.l { color:#5bd07f; }      /* lång */
.insight .sub { color:var(--muted); font-size:13px; margin-top:6px; }
.insight .take { color:var(--accent); font-weight:600; }

.grid { display:grid; grid-template-columns:minmax(320px,1.15fr) 1fr; gap:16px; }
@media (max-width:780px){ .grid{ grid-template-columns:1fr; } }

.card {
  background:var(--panel); border:1px solid var(--line);
  border-radius:10px; padding:14px;
}
.card h3 { margin:0 0 10px; font-size:14px; }
.card h3 .hint { color:var(--muted); font-weight:400; font-size:12px; }

.plot-card { display:flex; flex-direction:column; }
#plot { width:100%; }
#plot svg { width:100%; height:auto; display:block; }

.lie-legend { display:flex; flex-wrap:wrap; gap:12px; margin-top:10px; font-size:12px; color:var(--muted); }
.lie-legend span { display:flex; align-items:center; gap:6px; }
.lie-legend i { width:9px; height:9px; border-radius:50%; display:inline-block; }

table.data { width:100%; border-collapse:collapse; font-size:13px; }
table.data th, table.data td { padding:6px 8px; text-align:right; border-bottom:1px solid var(--line); }
table.data th { color:var(--muted); font-weight:500; font-size:11px; text-transform:uppercase; letter-spacing:.03em; }
table.data td:first-child, table.data th:first-child { text-align:left; }
table.data .s { color:#ff9b6b; }   /* kort */
table.data .l { color:#5bd07f; }   /* lång */
table.data .warn td { color:var(--muted); }
.fineprint { color:var(--muted); font-size:11.5px; margin:10px 0 0; }

#tip {
  position:fixed; display:none; z-index:2000; pointer-events:none;
  background:rgba(20,24,30,0.96); border:1px solid var(--line); border-radius:8px;
  padding:7px 10px; font-size:12.5px; line-height:1.45; color:var(--fg);
  box-shadow:0 4px 14px rgba(0,0,0,0.4); max-width:200px;
}
#tip b { color:var(--accent); }
#tip .m { color:var(--muted); font-size:11px; }
