/* Verwaltung (/admin): nüchterne Arbeitsseite auf Papier, baut auf den Tokens aus app.css auf. */

.admin { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 72px; }
.admin > * { min-width: 0; }
.admin h2 { font-size: 1.25rem; margin-bottom: 12px; }
.admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.admin-head h2 { margin-bottom: 0; }
.admin .card { display: grid; gap: 16px; }
.admin .card > * { min-width: 0; }
.admin .card > h2 { margin-bottom: 0; }

.admin-denied { max-width: 34rem; margin: 0 auto; padding: 72px var(--gutter); display: grid; gap: 16px; justify-items: start; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.admin-stats > div { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.admin-stats dt { order: 2; font-size: .9375rem; font-weight: 600; }
.admin-stats dd.note { order: 3; font-family: var(--font-text); font-size: .8125rem; font-weight: 400; line-height: 1.4; color: var(--ink-2); }
.admin-stats dd { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }

.admin-activity { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 160px; }
.admin-activity li { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; min-width: 0; text-align: center; }
.admin-activity .col { align-self: end; background: var(--iris-soft); border-radius: 6px 6px 2px 2px; min-height: 2px; position: relative; overflow: hidden; }
.admin-activity .col i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--iris); }
.admin-activity span { font-size: .6875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

.admin-scroll { overflow-x: auto; position: relative; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { color: var(--ink-2); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td:last-child { text-align: right; padding-right: 0; }
.admin-table .name { font-weight: 650; }
.admin-table .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-table .pill { min-height: 26px; padding: 2px 10px; font-size: .8125rem; }

.admin-check { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; }

.admin-unlocks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.admin-unlocks li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
dialog h3 { font-size: 1.0625rem; }
