/* dashboard.css - the Permissions Dashboard (/permissions-dashboard), on top of style.css and explain.css (the same theme, the same glass cards, the same pill buttons).
   Nothing here moves or flashes: no animation, no transition beyond the buttons' own. */
.dashboard .dash-title { text-align: center; margin: 6px 0 6px; }
.dashboard .dash-sub { text-align: center; margin: 0 0 14px; font-size: 16px; line-height: 1.45; }
.dashboard .dash-section { margin: 18px 0 6px; font-family: var(--display); font-weight: 500; font-synthesis: none; font-size: 19px; letter-spacing: 0.04em; text-align: center; color: var(--peach-soft); }
.dash-status { min-height: 0; }
.dash-message { margin: 10px 0; padding: 12px 14px; border: 1px solid var(--peach-line); border-radius: 14px; background: rgba(232, 196, 192, 0.08); color: var(--peach-ink); font-size: 17px; line-height: 1.4; text-align: center; }
/* THE LIST SCROLLS (owner): it keeps its own scroll position across every poll, because the page never rebuilds it (dashboard.js). */
.grant-list { list-style: none; margin: 0; padding: 0 2px 8px; max-height: calc(100dvh - 300px); min-height: 160px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.grant-list > li { list-style: none; }
.grant-list .card { margin: 12px 0; }
.grants-empty-row { margin: 0; padding: 0; }
.grants-empty { margin: 16px 6px; text-align: center; color: var(--muted); font-size: 17px; line-height: 1.45; }
.card-approved { color: var(--muted); font-size: 15px; margin-top: 10px; font-variant-numeric: lining-nums tabular-nums; }
.card-approved:empty { display: none; }
.grant-card .card-countdown { color: var(--peach-soft); font-size: 17px; font-weight: 500; margin-top: 4px; }
/* ONE button, styled as the approval cards' Deny (the one that ends or refuses keeps the warning red). */
button.card-revoke { color: var(--danger); border-color: var(--danger-line); background: var(--danger-wash); margin: 0; }
.grant-card .card-actions { margin-top: 14px; }
@media (max-width: 559px) { .grant-list { max-height: calc(100dvh - 380px); } }
