:root {
	color-scheme: light;
	--page: #f4f5f7;
	--bg: #ffffff;
	--fg: #14171c;
	--muted: #5f6672;
	--accent: #14171c;
	--asphalt: #14171c;
	--yellow: #f4b400;
	--yellow-soft: #fff6db;
	--green: #1f7a46;
	--border: #e3e6ea;
	--line: #cfd4da;
	--danger: #b42318;
	--radius: 12px;
	--radius-lg: 20px;
	--space: 1rem;
	--shadow: 0 1px 2px rgba(20, 23, 28, 0.04), 0 8px 24px -8px rgba(20, 23, 28, 0.1);
	--shadow-lg: 0 2px 4px rgba(20, 23, 28, 0.04), 0 24px 48px -16px rgba(20, 23, 28, 0.18);
	--font: "Manrope", "Helvetica Neue", Arial, sans-serif;
	--display: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-size: 16px;
	background: var(--page);
	color: var(--fg);
	font-family: var(--font);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.shell {
	max-width: 42rem;
	margin: 0 auto;
	padding: calc(var(--space) * 3) var(--space);
}

h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.6rem, 4vw, 2.25rem);
	letter-spacing: -0.02em;
}

.lede {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
}

.hint {
	margin: 0;
	color: var(--muted);
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.9rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}

.btn:hover {
	filter: brightness(1.05);
}

.btn-secondary {
	background: transparent;
	color: var(--fg);
	border-color: var(--border);
}

.card {
	padding: var(--space);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
}

.input,
.select,
.textarea {
	width: 100%;
	padding: 0.55rem 0.7rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--fg);
	font: inherit;
}

.field {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.35rem;
	margin-bottom: var(--space);
}

.field > label {
	font-size: 0.875rem;
	color: var(--muted);
}

/*
 * 390px-safe, like .grid below. A grid with no column list gets one implicit
 * auto column, and an auto column is never narrower than its widest item's
 * min-content width. One nowrap scrolling strip (days, time slots) anywhere
 * inside an item therefore widened the whole column past the screen: the page
 * scrolled sideways instead of the strip scrolling on its own. minmax(0, 1fr)
 * caps the column at the container; the min-width rule keeps a child from
 * bringing the same floor back if an app redefines the columns. :where() adds
 * no specificity, so a min-width the app sets on a child still wins.
 */
.stack {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space);
}

:where(.field, .stack, .list) > * {
	min-width: 0;
}

.row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/*
 * 390px-safe. An unclamped minmax track overflows a 390px viewport once the
 * shell padding is subtracted, and nothing in the pipeline ever looked at a
 * phone-width layout, so every generated app inherited the horizontal scroll.
 * min() clamps the track to the container instead.
 */
.grid {
	display: grid;
	gap: var(--space);
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}

.list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th,
.table td {
	padding: 0.6rem 0.5rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.table th {
	font-size: 0.8125rem;
	color: var(--muted);
	font-weight: 600;
}

.empty {
	padding: calc(var(--space) * 2);
	text-align: center;
	color: var(--muted);
}

.empty-title {
	margin: 0 0 0.25rem;
	color: var(--fg);
	font-weight: 600;
}

/* Loading. Every fetch has one; without a primitive each app invented its own. */
.loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: calc(var(--space) * 1.5);
	color: var(--muted);
}

.spinner {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid var(--border);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: fab-spin 0.7s linear infinite;
}

@keyframes fab-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Placeholder for content whose shape is known before its data arrives. */
.skeleton {
	display: block;
	height: 1rem;
	border-radius: calc(var(--radius) / 2);
	background: linear-gradient(90deg, var(--border), transparent, var(--border));
	background-size: 200% 100%;
	animation: fab-shimmer 1.2s linear infinite;
}

@keyframes fab-shimmer {
	to {
		background-position: -200% 0;
	}
}

/* Error strip: a failure the user can see and retry, never a silent no-op. */
.alert {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--border);
	border-left: 3px solid var(--muted);
	border-radius: var(--radius);
}

.alert-error {
	border-left-color: var(--danger);
	color: var(--danger);
}

.badge {
	display: inline-block;
	padding: 0.1rem 0.5rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: 0.8125rem;
	color: var(--muted);
}

/*
 * The scaffold had exactly one @media rule (prefers-color-scheme) and no width
 * breakpoint at all, so the shell was a 42rem column at every size.
 * Mobile-first stays the default; these only widen it.
 */
@media (min-width: 48rem) {
	.shell {
		max-width: 52rem;
		padding: calc(var(--space) * 3) calc(var(--space) * 1.5);
	}
}

@media (min-width: 64rem) {
	.shell {
		max-width: 64rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spinner,
	.skeleton {
		animation: none;
	}
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* ---- Michua's Tire Service ---- */

a {
	color: inherit;
}

.demo-banner {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 0.3rem 0.75rem;
	background: #f6f7f8;
	border-bottom: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.75rem;
	line-height: 1.35;
	text-align: center;
}

.btn {
	min-height: 44px;
	justify-content: center;
	font-weight: 600;
	text-decoration: none;
}

.btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.btn:active:not(:disabled) {
	transform: translateY(1px);
}

.btn-big {
	width: 100%;
	min-height: 52px;
	font-family: var(--display);
	font-size: 1.3rem;
	letter-spacing: 0.01em;
}

.btn-yellow {
	background: var(--yellow);
	color: var(--asphalt);
}

.btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary {
	background: var(--bg);
}

.btn-ready {
	background: var(--green);
}

.input,
.select,
.textarea {
	min-height: 44px;
	border-color: #b9bfc5;
}

.field > label {
	color: var(--fg);
	font-weight: 600;
	font-size: 0.9375rem;
}

.field-hint {
	color: var(--muted);
	font-size: 0.875rem;
}

.hint a {
	color: var(--fg);
}

/* Hero */
.hero {
	position: relative;
	min-height: 22rem;
	display: flex;
	align-items: flex-end;
	background: var(--asphalt);
	color: #fff;
	overflow: hidden;
}

.hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 22, 25, 0.45) 0%, rgba(20, 22, 25, 0.88) 75%);
}

.hero-inner {
	position: relative;
	width: 100%;
	max-width: 64rem;
	margin: 0 auto;
	padding: 3rem 1rem 2.25rem;
}

.hero-kicker {
	margin: 0 0 0.5rem;
	color: var(--yellow);
	font-weight: 600;
}

.hero-title {
	margin: 0 0 0.75rem;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(2.9rem, 11vw, 5.5rem);
	line-height: 0.92;
	letter-spacing: -0.01em;
}

.hero-lede {
	max-width: 34rem;
	margin: 0 0 1.5rem;
	font-size: 1.125rem;
	color: #e7e9eb;
}

.road-stripe {
	height: 8px;
	background: repeating-linear-gradient(90deg, var(--yellow) 0 48px, var(--asphalt) 48px 72px);
}

/* Layout */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 60rem) {
	.layout {
		grid-template-columns: minmax(0, 1fr) 19rem;
	}
	.info {
		position: sticky;
		top: 3.5rem;
	}
}

.card {
	border-color: var(--border);
	box-shadow: 0 1px 2px rgba(20, 22, 25, 0.06);
}

.booking {
	padding: 1.25rem;
	border-top: 4px solid var(--yellow);
	scroll-margin-top: 3rem;
}

@media (min-width: 40rem) {
	.booking {
		padding: 2rem;
	}
}

.section-title {
	margin: 0 0 0.25rem;
	font-family: var(--display);
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.05;
	scroll-margin-top: 4rem;
}

.group {
	margin: 0;
	padding: 1.25rem 0 0;
	border: 0;
	border-top: 1px solid var(--border);
	min-width: 0;
}

.group > legend {
	padding: 0 0.5rem 0 0;
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 700;
}

.two {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
	column-gap: 1rem;
}

.choices {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.choice {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0.55rem 0.75rem;
	border: 1px solid #b9bfc5;
	border-radius: var(--radius);
	background: var(--bg);
	cursor: pointer;
	line-height: 1.3;
}

.choice input {
	flex: none;
	width: 1.1rem;
	height: 1.1rem;
	accent-color: var(--asphalt);
}

.choice.is-on {
	border-color: var(--asphalt);
	background: #fff8d6;
	box-shadow: inset 4px 0 0 var(--yellow);
}

.slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
	gap: 0.5rem;
}

.slot {
	min-height: 44px;
	border: 1px solid #b9bfc5;
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--fg);
	font: inherit;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
}

.slot[aria-pressed="true"] {
	background: var(--asphalt);
	border-color: var(--asphalt);
	color: var(--yellow);
}

.slot:disabled {
	color: #9aa1a8;
	background: #f1f2f3;
	text-decoration: line-through;
	cursor: not-allowed;
}

.notice {
	margin: 0;
	padding: 0.7rem 0.85rem;
	border-left: 3px solid var(--yellow);
	background: #fff8d6;
	border-radius: var(--radius);
}

.done .lede {
	font-size: 1.125rem;
}

.code {
	padding: 0.1rem 0.4rem;
	background: var(--yellow);
	border-radius: 4px;
	letter-spacing: 0.08em;
}

.summary {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 0.4rem 1rem;
	margin: 0;
}

.summary dt {
	color: var(--muted);
}

.summary dd {
	margin: 0;
	font-weight: 600;
}

.aside-title {
	margin: 0 0 0.6rem;
	font-family: var(--display);
	font-size: 1.5rem;
}

.info-line {
	margin: 0 0 0.6rem;
	font-weight: 500;
}

.info-line a {
	font-weight: 600;
}

.svc-list {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--fg);
}

.svc-list li {
	padding: 0.15rem 0;
}

.svc-list li::marker {
	color: #b08a00;
}

.footer {
	margin-top: 1rem;
	background: var(--asphalt);
	color: #cfd3d7;
	font-size: 0.875rem;
}

.footer .shell {
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: space-between;
}

/* Owner */
.owner-bar {
	background: var(--asphalt);
	color: #fff;
}

.owner-bar .shell {
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
}

.owner-bar-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: space-between;
	align-items: center;
}

.owner-bar-inner strong {
	font-family: var(--display);
	font-size: 1.3rem;
}

.gate {
	max-width: 28rem;
}

.week-head {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: flex-end;
}

.stats {
	margin-top: 0.5rem;
	gap: 0.4rem;
}

.badge {
	background: var(--bg);
	font-weight: 500;
}

.badge-requested {
	background: #fff8d6;
	border-color: #e6c95a;
	color: #5c4700;
}

.badge-confirmed {
	background: #e8eef7;
	border-color: #a9bcd9;
	color: #24406b;
}

.badge-ready {
	background: #e3f3ea;
	border-color: #94c9a9;
	color: #165c35;
}

.day-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0.75rem 0 0.5rem;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid var(--asphalt);
	font-family: var(--display);
	font-size: 1.6rem;
}

.day-count {
	font-family: var(--font);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted);
}

.day .empty {
	padding: 1rem;
	background: var(--bg);
	border: 1px dashed var(--border);
	border-radius: var(--radius);
}

.job {
	display: grid;
	gap: 0.6rem;
	padding: 1rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-left: 5px solid #e6c95a;
	border-radius: var(--radius);
}

.job-confirmed {
	border-left-color: #5b7fb5;
}

.job-ready {
	border-left-color: var(--green);
}

.job-top {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: space-between;
	align-items: center;
}

.job-time {
	font-family: var(--display);
	font-size: 1.5rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.job-body p {
	margin: 0 0 0.2rem;
}

.job-vehicle {
	font-weight: 600;
	font-size: 1.0625rem;
}

.job-contact {
	overflow-wrap: anywhere;
}

.job-notes {
	padding: 0.4rem 0.6rem;
	background: var(--page);
	border-radius: 4px;
	font-size: 0.9375rem;
}

.move {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
	column-gap: 0.75rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--border);
}

.move .row,
.move .notice {
	grid-column: 1 / -1;
}

.move .notice {
	margin-bottom: 0.75rem;
}

.job-actions {
	gap: 0.5rem;
}

/* ---- Polished theme ---- */

.btn {
	border-radius: 999px;
	padding: 0.6rem 1.25rem;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-yellow {
	box-shadow: 0 8px 20px -8px rgba(244, 180, 0, 0.7);
}

.btn-yellow:hover {
	background: #ffc21a;
}

.btn-big {
	min-height: 56px;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0;
	box-shadow: 0 10px 24px -12px rgba(20, 23, 28, 0.6);
}

.input,
.select,
.textarea {
	min-height: 50px;
	border-color: var(--line);
	border-radius: var(--radius);
	background: #fbfbfc;
	font-size: 1rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
	background: #fff;
	border-color: var(--asphalt);
	box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.22);
}

.field > label {
	font-size: 0.875rem;
}

.card {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

/* Top bar */
.topbar {
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 72rem;
	margin: 0 auto;
	padding: 0.9rem 1.25rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 800;
	font-size: 1.0625rem;
	letter-spacing: -0.01em;
}

.brand-mark {
	flex: none;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: radial-gradient(circle, var(--yellow) 0 28%, var(--asphalt) 30% 100%);
	box-shadow: inset 0 0 0 3px #3a3f47;
}

.topbar-phone {
	font-weight: 700;
	font-size: 0.9375rem;
	text-decoration: none;
	white-space: nowrap;
}

.topbar-phone:hover {
	text-decoration: underline;
}

@media (max-width: 30rem) {
	.brand > span:last-child {
		font-size: 0.9375rem;
	}
	.topbar-phone {
		font-size: 0.875rem;
	}
}

/* Hero */
.hero {
	min-height: min(38rem, 78vh);
	align-items: center;
	background: #0d0f12;
}

.hero-img {
	object-position: center 60%;
}

.hero-scrim {
	background:
		linear-gradient(90deg, rgba(10, 12, 15, 0.86) 0%, rgba(10, 12, 15, 0.55) 55%, rgba(10, 12, 15, 0.2) 100%),
		linear-gradient(0deg, rgba(10, 12, 15, 0.6) 0%, rgba(10, 12, 15, 0) 40%);
}

.hero-inner {
	max-width: 72rem;
	padding: 5rem 1.25rem 4.5rem;
}

.hero-kicker {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: 0.35rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
}

.hero-title {
	max-width: 13ch;
	margin: 0 0 1rem;
	font-weight: 800;
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.hero-lede {
	max-width: 30rem;
	margin: 0 0 2rem;
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.82);
}

.btn-hero {
	min-height: 54px;
	padding: 0.75rem 1.75rem;
	font-size: 1.0625rem;
	font-weight: 700;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.9375rem;
}

.hero-meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.hero-meta li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--yellow);
}

/* Sections */
.site-main {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.services,
.book-wrap {
	padding: 4.5rem 0 0;
}

.book-wrap {
	padding-bottom: 5rem;
	scroll-margin-top: 2.5rem;
}

.section-head {
	max-width: 36rem;
	margin: 0 auto 2rem;
	text-align: center;
}

.eyebrow {
	margin: 0 0 0.5rem;
	color: #a37800;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.section-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4.5vw, 2.5rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	scroll-margin-top: 4rem;
}

.svc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 30rem) {
	.svc-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.svc-tile {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.1rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: var(--shadow);
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.3;
}

.svc-icon {
	flex: none;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	background:
		radial-gradient(circle, var(--yellow-soft) 0 18%, var(--asphalt) 20% 44%, var(--yellow-soft) 46% 100%);
}

@media (max-width: 30rem) {
	.svc-tile {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
		padding: 0.9rem;
	}
	.svc-icon {
		width: 2rem;
		height: 2rem;
	}
}

/* Booking card */
.booking {
	max-width: 46rem;
	margin: 0 auto;
	padding: 1.25rem;
	border-top: 1px solid var(--border);
	box-shadow: var(--shadow-lg);
	scroll-margin-top: 3rem;
}

@media (min-width: 40rem) {
	.booking {
		padding: 2.5rem;
	}
}

.booking > form.stack {
	gap: 0;
}

.group {
	padding: 1.75rem 0;
	border-top: 1px solid var(--border);
}

.group:first-of-type {
	border-top: 0;
	padding-top: 0.25rem;
}

.group > legend {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.9rem;
	padding: 0;
	font-family: var(--font);
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.step-num {
	display: inline-grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--asphalt);
	color: var(--yellow);
	font-size: 0.8125rem;
	font-weight: 800;
}

.group .field:last-child {
	margin-bottom: 0;
}

.choices {
	grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr));
	gap: 0.6rem;
}

@media (max-width: 30rem) {
	.choices {
		grid-template-columns: 1fr 1fr;
	}
}

.choice {
	min-height: 52px;
	padding: 0.7rem 0.85rem;
	border-color: var(--line);
	border-radius: var(--radius);
	font-size: 0.9375rem;
	font-weight: 600;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.choice:hover {
	border-color: #9aa1aa;
}

.choice.is-on {
	border-color: var(--asphalt);
	background: var(--yellow-soft);
	box-shadow: 0 0 0 1px var(--asphalt);
}

.slots {
	grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
	gap: 0.5rem;
	margin-top: 0.25rem;
}

@media (max-width: 30rem) {
	.slots {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.slot {
	min-height: 48px;
	border-color: var(--line);
	border-radius: 999px;
	font-size: 0.9375rem;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.slot:hover:not(:disabled) {
	border-color: var(--asphalt);
}

.slot:disabled {
	background: #f3f4f6;
	border-color: #eceef1;
}

.notice {
	border-left: 0;
	border: 1px solid #f1dc9c;
	background: var(--yellow-soft);
	border-radius: var(--radius);
}

.submit-bar {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: grid;
	gap: 0.75rem;
	margin: 0 -1.25rem -1.25rem;
	padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border-top: 1px solid var(--border);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

@media (min-width: 40rem) {
	.submit-bar {
		position: static;
		margin: 0;
		padding: 1.5rem 0 0;
		background: none;
		backdrop-filter: none;
	}
}

.done {
	padding: 0.5rem 0;
}

.code {
	border-radius: 8px;
	padding: 0.15rem 0.5rem;
}

.summary {
	padding: 1.1rem 1.25rem;
	background: var(--page);
	border-radius: var(--radius);
}

/* Footer */
.footer {
	margin-top: 0;
	background: #0f1215;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.9375rem;
}

.footer-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
	gap: 2rem;
	max-width: 72rem;
	margin: 0 auto;
	padding: 3.5rem 1.25rem 2.5rem;
}

.footer .brand {
	color: #fff;
	margin-bottom: 0.75rem;
}

.footer-col h3 {
	margin: 0 0 0.75rem;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-col p {
	margin: 0 0 0.5rem;
}

.footer-col a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.footer-col a:hover {
	text-decoration: underline;
}

.footer-base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	max-width: 72rem;
	margin: 0 auto;
	padding: 1.25rem 1.25rem 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.8125rem;
}

.footer-base a {
	color: rgba(255, 255, 255, 0.68);
}

.footer :focus-visible {
	outline-color: var(--yellow);
}

/* Owner area, same palette */
.owner-bar-inner strong {
	font-family: var(--font);
	font-size: 1.0625rem;
	font-weight: 800;
}

.day-title {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	border-bottom-width: 1px;
	border-bottom-color: var(--line);
}

.job {
	border-radius: 16px;
	box-shadow: var(--shadow);
}

.job-time {
	font-size: 1.25rem;
	font-weight: 800;
}

.badge {
	border-radius: 999px;
}

.day .empty {
	border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
