/* Developer-only rules. Type, tokens, the sidebar shell and shared components are in /admin/static/shell.css. */

:root { --content: 56rem; }

.anchor { scroll-margin-top: calc(var(--top) + 1rem); }

.narrow { max-width: 28rem; }

.auth-main .card.narrow { max-width: none; }

label.check { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; }

label.check input { margin-top: 0.3rem; }

input.link { font-size: 0.9rem; color: var(--muted); }

button.quiet { margin-top: 0; padding: 0.4rem 0.75rem; }

.code { font-size: 1.1rem; letter-spacing: 0.06em; }

ul.links { list-style: none; padding: 0; margin: 0.5rem 0 0; }

ul.links li { margin-top: 0.75rem; }

.figures {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1rem 0 0.5rem;
}

.figures div {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0.85rem;
}

.figures span { display: block; font-size: 0.85rem; color: var(--muted); }

.figures strong { display: block; font-size: 1.3rem; margin-top: 0.2rem; }

@media (min-width: 40rem) {
	.figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }

th, td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }

thead th { background: #f9fafb; white-space: nowrap; }

tbody tr:last-child td { border-bottom: 0; }

td { overflow-wrap: anywhere; }

td.nowrap { white-space: nowrap; overflow-wrap: normal; }

@media (max-width: 39.99rem) {
	table.stack thead { display: none; }
	table.stack tr { display: block; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--line); }
	table.stack tbody tr:last-child { border-bottom: 0; }
	table.stack td { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; border: 0; text-align: right; }
	table.stack td::before { content: attr(data-label); flex: none; color: var(--muted); text-align: left; }
}

tr.voided td { color: var(--muted); text-decoration: line-through; }

tr.voided td .muted { text-decoration: none; }
