/* The tables pack. Colors come from the theme's variables. */ .tbl-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); } .tbl-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .tbl { border-collapse: collapse; width: 100%; font-size: .95rem; } .tbl caption { caption-side: top; text-align: left; padding: 14px 16px 4px; color: var(--muted); font-size: .9rem; } .tbl th, .tbl td { text-align: left; vertical-align: top; padding: 11px 16px; border-bottom: 1px solid var(--line); } .tbl thead th { font-size: .82rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; border-bottom-width: 2px; } .tbl tbody tr:last-child > * { border-bottom: 0; } .tbl tbody tr:nth-child(even) > * { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); } .tbl-rowheads tbody th { font-weight: 650; } .tbl-numbers th:not(:first-child), .tbl-numbers td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; } .tbl-compact th, .tbl-compact td { padding: 6px 12px; } .tbl-note { margin-top: 10px; color: var(--muted); font-size: .9rem; } .tbl-note > :first-child { margin-top: 0; } .tbl-note > :last-child { margin-bottom: 0; }