:root {
	color-scheme: light;
	--bg: #f3f4f6;
	--surface: #ffffff;
	--text: #111827;
	--muted: #6b7280;
	--border: #e5e7eb;
	--mark-bg: #111827;
	--mark-fg: #ffffff;
	--status: #047857;
	--status-bg: #ecfdf5;
	--radius: 8px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	width: min(400px, 100%);
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: var(--mark-bg);
	color: var(--mark-fg);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.02em;
}

.brand-name {
	font-size: 15px;
	font-weight: 600;
}

.card {
	width: min(400px, 100%);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 24px;
}

h1 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.lede {
	margin: 0 0 24px;
	color: var(--muted);
}

.details {
	margin: 0;
	border-top: 1px solid var(--border);
}

.details-row {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 12px;
	align-items: start;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

.details-row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

dt {
	margin: 0;
	padding-top: 2px;
	font-size: 13px;
	color: var(--muted);
	font-weight: 500;
}

dd {
	margin: 0;
	min-width: 0;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--status-bg);
	color: var(--status);
	font-size: 13px;
	font-weight: 500;
}

.status::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

code {
	display: block;
	font-family: var(--mono);
	font-size: 12px;
	line-height: 1.45;
	color: var(--text);
	word-break: break-all;
}

.brand-link {
	display: flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}

.form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.field label {
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
}

.field input {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid var(--border);
	border-radius: 6px;
	font: inherit;
	color: var(--text);
	background: var(--surface);
}

.field input:focus {
	outline: 2px solid var(--text);
	outline-offset: 1px;
}

.hint {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
}

.hint a,
.alt-link a {
	color: var(--text);
}

.alt-link {
	margin: 20px 0 0;
	font-size: 13px;
}

.banner {
	margin: 0 0 16px;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 13px;
}

.banner.error {
	background: #fef2f2;
	color: #b91c1c;
}

.lede.success {
	color: var(--status);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 6px;
	background: var(--mark-bg);
	color: var(--mark-fg);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.button.secondary {
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
}

.field-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text);
}

.field-check input {
	width: auto;
	margin: 0;
}
