:root {
	--bg: #fff;
	--text: #111;
	--panel-bg: #fff;
	--panel-border: #ccc;
	--hero-bg: #d4f1d4;
	--hero-border: #7fc97f;
	--hero-text: #1f5f1f;
	--button-bg: #dcecff;
	--button-bg-hover: #cfe3fb;
	--button-border: #7faee0;
	--button-text: #1f4f82;
	--button-text-hover: #183f68;
	--focus: #1f4f82;
	--muted: rgba(17, 17, 17, 0.72);
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #111417;
		--text: #e8ecef;
		--panel-bg: #1a1f24;
		--panel-border: #3a4148;
		--hero-bg: #17311f;
		--hero-border: #2d6b3f;
		--hero-text: #d9f3df;
		--button-bg: #1c324c;
		--button-bg-hover: #26486d;
		--button-border: #40658f;
		--button-text: #d9e9ff;
		--button-text-hover: #fff;
		--focus: #d9e9ff;
		--muted: rgba(232, 236, 239, 0.72);
	}
}

body {
	margin: 0;
	padding: 0 8px;
	text-align: center;
	font-family: system-ui, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	background: #fff;
	color: #111;
	background: var(--bg);
	color: var(--text);
}

@media (max-width: 480px) {
	body {
		font-size: 13px;
	}
}

h1 {
	margin: 0;
	font-weight: 700;
}

h2 {
	margin: 0 0 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: .7;
}

.box {
	max-width: 520px;
	margin: 14px auto;
	padding: 12px 16px 14px;
	border: 1px solid #ccc;
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 12px;
	background: var(--panel-bg);
}

.hero {
	background: #d4f1d4;
	border-color: #7fc97f;
	color: #1f5f1f;
	background: var(--hero-bg);
	border-color: var(--hero-border);
	color: var(--hero-text);
	padding: 14px 18px;
}

.field-list {
	margin: 0;
	padding: 0;
}

.k {
	margin: 0 0 4px;
	opacity: .7;
}

.v {
	margin: 0 0 10px;
	font-weight: 600;
}

.time {
	font-size: 1.4em;
	font-weight: 700;
}

.wrap {
	word-wrap: break-word;
	overflow-wrap: anywhere;
	word-break: break-word;
	font-weight: 500;
	opacity: .85;
}

.button-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 110px;
	min-height: 42px;
	padding: 0 14px;
	background: #dcecff;
	color: #1f4f82;
	background: var(--button-bg);
	color: var(--button-text);
	text-decoration: none;
	border: 1px solid #7faee0;
	border: 1px solid var(--button-border);
	border-radius: 8px;
	font-weight: 600;
}

.button-grid {
	margin: 10px auto 0;
	border-collapse: separate;
	border-spacing: 10px 8px;
}

.button-grid td {
	padding: 0;
	text-align: center;
	vertical-align: middle;
}

.legacy-button {
	display: block;
	width: 140px;
	margin: 0;
	padding: 8px 10px;
	background: #dcecff;
	color: #1f4f82;
	background: var(--button-bg);
	color: var(--button-text);
	text-decoration: none;
	border: 1px solid #7faee0;
	border: 1px solid var(--button-border);
	border-radius: 8px;
	font-weight: 600;
	white-space: nowrap;
}

.is-hidden {
	display: none;
}

.button:hover,
.legacy-button:hover {
	background: #cfe3fb;
	color: #183f68;
	background: var(--button-bg-hover);
	color: var(--button-text-hover);
}

.button:focus-visible,
.legacy-button:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
	background: var(--button-bg-hover);
	color: var(--button-text-hover);
}

.foot {
	margin: 14px 0 18px;
	opacity: .65;
}
