/* Nature palette from the chosen L design */
:root { --forest: #01472e; --sage: #ccd5ae; --olive: #e9edc9; --cream: #fefae0; --moss: #a3b18a; --err: #a4161a; }
body { background: var(--cream); color: var(--forest); font-family: 'Inter', 'Noto Sans SC', sans-serif; }
.font-display { font-family: 'Anton', 'Noto Sans SC', sans-serif; letter-spacing: -0.02em; }
.text-forest { color: var(--forest); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }

.bar { display: flex; justify-content: space-between; align-items: center; padding: 16px; max-width: 72rem; margin: 0 auto; }
.brand { font-family: 'Anton', sans-serif; font-size: 1.6rem; text-transform: uppercase; color: var(--forest); }
.brand span { color: var(--moss); }

.step { margin-top: 2.5rem; }
.step h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.step h2 b { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--forest); color: var(--cream); font-size: .9rem; }
small { font-weight: 400; opacity: .65; font-size: .8em; }

.card { display: block; background: #fff; border: 2px solid var(--olive); border-radius: 1.25rem; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; }
.card img { width: 100%; height: 130px; object-fit: cover; }
.card:hover { transform: translateY(-2px); }
.card:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 3px var(--sage); }
.card:has(input:focus-visible) { outline: 3px solid var(--moss); }

.stepper { display: inline-flex; align-items: center; background: #fff; border: 2px solid var(--olive); border-radius: 999px; }
.stepper button { width: 48px; height: 48px; font-size: 1.5rem; border-radius: 999px; }
.stepper button:hover { background: var(--olive); }
.stepper output { min-width: 6rem; text-align: center; font-weight: 700; font-size: 1.1rem; }

.fld { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 500; }
.fld input, .fld select, .fld textarea { background: #fff; border: 2px solid var(--olive); border-radius: .9rem; padding: .7rem .9rem; font-size: 1rem; min-height: 48px; color: #1f2a1f; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--forest); outline: none; }
.hint { font-size: .78rem; font-weight: 400; opacity: .65; }

.days { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.days button { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; width: 4.6rem; padding: .5rem 0; background: #fff; border: 2px solid var(--olive); border-radius: 1rem; }
.days button b { font-size: 1.4rem; line-height: 1.2; }
.days button[aria-selected=true] { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .5rem; }
/* full-row message instead of squeezing into one slot column */
.slots > p { grid-column: 1 / -1; }
.days button:disabled { opacity: .35; cursor: not-allowed; background: #f3f3ee; }
.slots button { min-height: 44px; background: #fff; border: 2px solid var(--olive); border-radius: .8rem; font-weight: 600; }
.slots button:hover { border-color: var(--moss); }
.slots button[aria-pressed=true] { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 1rem; background: #fff; border: 2px solid var(--olive); border-radius: 999px; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--forest); background: var(--olive); }

.btn { background: var(--forest); color: var(--cream); padding: .9rem 1.6rem; border-radius: 999px; font-weight: 700; min-height: 48px; white-space: nowrap; }
/* links styled as buttons don't center their text like <button> does */
.btn, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn-ghost { border: 2px solid var(--forest); padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; min-height: 48px; }
.btn-danger { color: var(--err); border-color: var(--err); }
.summary { position: fixed; inset: auto 0 0 0; background: var(--olive); border-top: 2px solid var(--sage); z-index: 40; }
.msg { font-size: .9rem; margin-top: .5rem; min-height: 1.2em; }
.msg.ok { color: var(--forest); }
.msg.err, .err { color: var(--err); }
.panel { background: #fff; border-radius: 1.5rem; padding: 1.25rem; border: 2px solid var(--olive); }
.kv { display: grid; grid-template-columns: 8.5rem 1fr; gap: .5rem 1rem; }
.kv dt { opacity: .65; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
