/* Dividends page (Investments → Dividends). */
.dv-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;align-items:end;height:150px;margin-top:8px}
.dv-month{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:4px}
.dv-bar{width:100%;max-width:38px;border-radius:6px 6px 2px 2px;background:var(--brand);min-height:2px}
.dv-amt{color:var(--ink);font-size:11px;font-weight:600;white-space:nowrap}
.dv-mlabel{color:var(--muted);font-size:11px}
@media (max-width:639px){.dv-amt{font-size:9px;transform:rotate(-60deg);transform-origin:center;margin-bottom:8px}}
.dv-grid td,.dv-grid th{white-space:nowrap}
.dv-grid td.dv-pay{color:var(--brand);font-weight:600}
.dv-grid td.dv-none{color:#cbbfc4}
.dv-shares{width:96px;padding:6px 8px;border:1px solid rgba(var(--brand-rgb),.2);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:13px;text-align:right}
.dv-shares:focus{outline:2px solid var(--brand);outline-offset:1px}
.dv-shares.is-changed{background:#fbf3f6;border-color:var(--brand)}
.dv-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
.dv-reset{padding:8px 14px;border:1px solid rgba(var(--brand-rgb),.2);border-radius:10px;background:#f8f2f4;color:var(--brand);font-size:13px;font-weight:500;cursor:pointer}
.dv-reset:hover{background:var(--tint-2)}
.dv-nonpay{margin-top:14px;color:var(--muted);font-size:13px;line-height:1.6}
tr[data-dv] td:nth-child(2){white-space:normal;min-width:200px;padding-right:20px}
/* Frozen columns: Ticker and Company stay put; only the columns to their right scroll. */
section[aria-labelledby="dv-calc"] :is(thead, tbody) :is(th, td):first-child,
.dv-grid :is(thead, tbody) :is(th, td):first-child{position:sticky;left:0;z-index:1;width:84px;min-width:84px;max-width:84px;background:#fff}
section[aria-labelledby="dv-calc"] :is(thead th:nth-child(2), td.dv-co){position:sticky;left:84px;z-index:1;width:220px;min-width:220px;max-width:220px;padding-right:16px;white-space:normal;background:#fff;box-shadow:inset -1px 0 0 #eadfe3}
.dv-grid :is(thead, tbody) :is(th, td):first-child{box-shadow:inset -1px 0 0 #eadfe3}
section[aria-labelledby="dv-calc"] tfoot th,.dv-grid tfoot th{position:sticky;left:0;z-index:1;background:#fff}
section[aria-labelledby="dv-calc"] tbody tr:hover :is(th, td.dv-co),.dv-grid tbody tr:hover th{background:#fcf9fa}
@media (max-width:639px){
  section[aria-labelledby="dv-calc"] :is(thead, tbody) :is(th, td):first-child,.dv-grid :is(thead, tbody) :is(th, td):first-child{width:64px;min-width:64px;max-width:64px;padding-left:12px;padding-right:8px}
  section[aria-labelledby="dv-calc"] :is(thead th:nth-child(2), td.dv-co){left:64px;width:132px;min-width:132px;max-width:132px;padding-right:10px}
}
