:root {
	color-scheme: light dark;
	--fg: #0f172a;
	--bg: #f8fafc;
	--muted: #475569;
	--line: #cbd5e1;
	--accent: #1d4ed8;
}
@media (prefers-color-scheme: dark) {
	:root {
		--fg: #e2e8f0;
		--bg: #0f172a;
		--muted: #94a3b8;
		--line: #334155;
		--accent: #93c5fd;
	}
}
* { box-sizing: border-box; }
body {
	margin: 0;
	font: 16px/1.6 system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
	color: var(--fg);
	background: var(--bg);
}
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: 1.5rem; line-height: 1.3; }
.row, fieldset {
	display: grid;
	gap: 4px;
	margin: 0 0 16px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
}
fieldset label { display: block; }
small { color: var(--muted); }
input, select, button { font: inherit; }
input:not([type="radio"]), select {
	padding: 6px 8px;
	border: 1px solid var(--muted);
	border-radius: 6px;
	background: transparent;
	color: inherit;
}
button {
	padding: 8px 16px;
	border: 0;
	border-radius: 6px;
	background: var(--accent);
	color: var(--bg);
	cursor: pointer;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.fake-label { font-weight: 600; }
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
[role="status"] {
	min-height: 1.6em;
	padding: 8px 12px;
	border-left: 4px solid var(--accent);
}
