:root {
  --ink: #23322d;
  --muted: #78827e;
  --cream: #f7f4ed;
  --paper: #fffefa;
  --line: #e8e5dc;
  --green: #2c6b58;
  --green-dark: #205344;
  --mint: #dceee7;
  --peach: #f5dfcf;
  --blue: #dfe9ee;
  --lavender: #e8e2f1;
  --orange: #d57745;
  --shadow: 0 18px 50px rgba(45, 59, 52, 0.11);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  color: var(--ink);
  background: #e8e4db;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #e8e4db; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
svg { display: block; }

.app-shell { position: relative; width: min(100%, 560px); min-height: 100vh; margin: 0 auto; overflow: hidden; background: var(--cream); box-shadow: 0 0 80px rgba(31, 43, 38, .12); }
.topbar { position: sticky; z-index: 20; top: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; background: rgba(247, 244, 237, .92); backdrop-filter: blur(14px); }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; color: white; border-radius: 13px 13px 17px 13px; background: var(--green); transform: rotate(-4deg); }
.brand-mark svg { width: 23px; fill: currentColor; transform: rotate(4deg); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 21px; letter-spacing: .13em; }
.brand small { margin-top: 4px; font-family: Nunito, sans-serif; font-size: 9px; letter-spacing: .24em; color: var(--green); }
.profile-button { position: relative; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; overflow: visible; color: #fff; font-weight: 700; border: 3px solid var(--paper); border-radius: 50%; background: #d29978; box-shadow: 0 3px 10px rgba(42, 63, 54, .16); }
.profile-button img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.status-dot { position: absolute; z-index: 2; right: -2px; bottom: 0; width: 11px; height: 11px; border: 2px solid white; border-radius: 50%; background: #4eab78; }

main { min-height: calc(100vh - 76px); }
.view { display: none; padding: 0 22px calc(108px + var(--safe-bottom)); animation: appear .3s ease; }
.view.active { display: block; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } }

.hero-copy { padding: 29px 3px 24px; }
.eyebrow { margin: 0 0 10px; color: var(--orange); font-family: Nunito, "Noto Sans TC", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy h1, .page-title h1, .success-view h1 { margin: 0; font-size: clamp(33px, 8vw, 44px); line-height: 1.35; letter-spacing: -.04em; }
.hero-copy > p:last-child, .page-title > p:last-child, .success-view > p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-card { position: relative; width: 100%; min-height: 164px; display: flex; align-items: center; gap: 14px; padding: 25px 20px; overflow: hidden; text-align: left; border-radius: 26px 26px 26px 7px; background: var(--green); color: white; box-shadow: 0 17px 30px rgba(44, 107, 88, .22); }
.hero-card:active { transform: scale(.99); }
.hero-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); }
.blob-one { width: 180px; height: 180px; right: -80px; top: -80px; }
.blob-two { width: 110px; height: 110px; left: -50px; bottom: -65px; }
.hero-icon { position: relative; flex: 0 0 80px; width: 80px; height: 96px; display: grid; place-items: center; border-radius: 48% 48% 45% 45%; background: #efd6bd; transform: rotate(-3deg); }
.hero-icon::after { content: ""; position: absolute; width: 12px; height: 12px; right: 4px; top: 8px; border-radius: 50%; background: #efa66f; }
.hero-icon svg { width: 54px; fill: none; stroke: var(--green-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transform: rotate(3deg); }
.hero-card-copy { position: relative; display: flex; min-width: 0; flex: 1; flex-direction: column; }
.hero-card-copy small { width: fit-content; margin-bottom: 9px; padding: 4px 8px; font-size: 12px; font-weight: 700; border-radius: 20px; color: #205344; background: #bfe0d1; }
.hero-card-copy strong { font-size: 24px; white-space: nowrap; }
.hero-card-copy em { margin-top: 7px; font-size: 14px; font-style: normal; opacity: .72; }
.circle-arrow { position: relative; flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; align-self: flex-end; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }

.section-block { margin: 35px 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 21px; }
.section-heading button { padding: 4px; color: var(--green); font-size: 14px; font-weight: 600; background: transparent; }
.service-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-preview { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; padding: 18px; text-align: left; border: 1px solid rgba(35,50,45,.04); border-radius: 22px 22px 8px 22px; transition: .2s ease; }
.service-preview:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(42, 63, 54, .09); }
.service-preview.blue { background: var(--blue); }
.service-preview.peach { background: var(--peach); }
.preview-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: var(--green); background: rgba(255,255,255,.64); }
.preview-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-preview strong { font-size: 17px; }
.service-preview small { margin-top: 5px; color: #68736f; font-size: 13px; line-height: 1.5; }
.availability-preview { margin: 35px 0; }
.availability-strip { display: flex; gap: 10px; margin: 0 -22px; padding: 2px 22px 13px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.availability-strip::-webkit-scrollbar { display: none; }
.available-mini { flex: 0 0 232px; display: grid; grid-template-columns: 45px 1fr; gap: 11px; align-items: center; padding: 14px; text-align: left; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); scroll-snap-align: start; }
.sitter-avatar { position: relative; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: white; font-weight: 800; background: #719185; }
.sitter-avatar::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 9px; height: 9px; border: 2px solid white; border-radius: 50%; background: #55ab78; }
.available-mini p { min-width: 0; display: flex; flex-direction: column; margin: 0; }
.available-mini strong { font-size: 15px; }.available-mini small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.available-mini em { margin-top: 6px; color: var(--green); font-size: 12px; font-style: normal; font-weight: 700; }

.trust-row { display: grid; gap: 12px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-row > div { display: flex; align-items: center; gap: 12px; }
.trust-row > div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--green); font-weight: 700; background: var(--mint); }
.trust-row p { display: flex; flex-direction: column; margin: 0; }
.trust-row strong { font-size: 15px; }
.trust-row small { margin-top: 2px; color: var(--muted); font-size: 13px; }
.upcoming-card { margin: 30px 0; padding: 20px; border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); }
.mini-booking { display: flex; gap: 14px; align-items: center; }
.date-tile { flex: 0 0 54px; width: 54px; padding: 8px; text-align: center; border-radius: 15px; color: var(--green); background: var(--mint); }
.date-tile small, .date-tile strong { display: block; }
.date-tile small { font-size: 12px; }
.date-tile strong { font-size: 24px; }
.mini-booking p { margin: 0; display: flex; flex-direction: column; }
.mini-booking p strong { font-size: 16px; }
.mini-booking p small { margin-top: 5px; color: var(--muted); font-size: 13px; }

.bottom-nav { position: fixed; z-index: 30; left: 50%; bottom: 0; width: min(100%, 560px); height: calc(76px + var(--safe-bottom)); display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 8px 25px var(--safe-bottom); border-top: 1px solid rgba(35,50,45,.06); background: rgba(255, 254, 250, .95); transform: translateX(-50%); backdrop-filter: blur(16px); }
.bottom-nav.hidden { display: none; }
.bottom-nav button { display: flex; align-items: center; justify-content: center; gap: 5px; flex-direction: column; padding: 5px; color: #9a9f9c; font-size: 12px; background: transparent; }
.bottom-nav button.active { color: var(--green); font-weight: 700; }
.bottom-nav svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav .booking-fab { position: relative; color: var(--green); }
.booking-fab > span { position: absolute; top: -27px; width: 58px; height: 58px; display: grid; place-items: center; border: 6px solid var(--cream); border-radius: 50%; color: white; background: var(--green); box-shadow: 0 7px 18px rgba(32,83,68,.25); }
.booking-fab svg { width: 25px; }
.booking-fab em { margin-top: 35px; font-style: normal; font-weight: 700; }

/* Booking flow */
#bookingView { min-height: 100vh; padding: 0 22px 124px; background: var(--paper); }
.booking-header { height: 70px; display: grid; grid-template-columns: 45px 1fr 45px; align-items: center; text-align: center; }
.booking-header > div { display: flex; flex-direction: column; line-height: 1.35; }
.booking-header span { color: var(--muted); font-size: 12px; }
.booking-header strong { font-size: 16px; }
.icon-button, .text-button { padding: 8px 0; background: transparent; }
.icon-button { text-align: left; color: var(--green); font-size: 29px; }
.text-button { color: var(--muted); font-size: 14px; }
.progress-track { height: 3px; margin: 0 -22px; background: #eeeae1; }
.progress-track span { display: block; width: 20%; height: 100%; background: var(--orange); transition: width .35s ease; }
.booking-step { display: none; animation: stepIn .25s ease; }
.booking-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(8px); } }
.step-intro { padding: 34px 1px 28px; }
.step-intro h2 { margin: 0; font-size: 32px; line-height: 1.35; letter-spacing: -.03em; }
.step-intro > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.choice-list { display: grid; gap: 12px; }
.choice-card { position: relative; min-height: 100px; display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: 20px; background: white; cursor: pointer; transition: .2s ease; }
.choice-card:has(input:checked) { border-color: var(--green); box-shadow: 0 8px 25px rgba(44,107,88,.11); }
.choice-card input { position: absolute; opacity: 0; }
.choice-emoji { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 18px; color: var(--green); font-size: 29px; }
.choice-emoji.mint { background: var(--mint); }.choice-emoji.peach { background: var(--peach); }.choice-emoji.lavender { background: var(--lavender); }
.choice-card > span:nth-child(3) { min-width: 0; display: flex; flex-direction: column; }
.choice-card strong { font-size: 17px; }
.choice-card small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.choice-card em { margin-top: 7px; color: var(--green); font-size: 13px; font-style: normal; font-weight: 600; }
.choice-card i { width: 22px; height: 22px; display: grid; place-items: center; color: transparent; border: 1px solid #d9ddd9; border-radius: 50%; font-size: 14px; font-style: normal; }
.choice-card:has(input:checked) i { color: white; border-color: var(--green); background: var(--green); }
.field-label { display: block; margin: 0 0 9px; color: #48534f; font-size: 14px; font-weight: 600; }
label + label, .form-grid + label { display: block; margin-top: 18px; }
.text-field { width: 100%; min-height: 50px; padding: 13px 15px; border: 1.5px solid var(--line); outline: none; border-radius: 13px; color: var(--ink); background: white; transition: .2s ease; }
.text-field:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(44,107,88,.08); }
.text-field.invalid { border-color: #c95045; }
textarea.text-field { resize: vertical; line-height: 1.6; }
select.text-field { appearance: none; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%2378827e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) center; }
.time-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 4px; }
.time-choice { position: relative; }
.time-choice input { position: absolute; opacity: 0; }
.time-choice span { display: block; padding: 12px 5px; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; color: #59635f; font-size: 15px; background: white; }
.time-choice input:checked + span { color: white; border-color: var(--green); background: var(--green); }
.time-choice.disabled span { color: #b9bdbb; text-decoration: line-through; background: #f4f2ed; }
.calendar-picker { margin: 0 0 22px; }
.calendar-weekdays, .calendar-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.calendar-weekdays span { display: block; text-align: center; color: var(--muted); font-size: 12px; font-weight: 700; }
.calendar-cell { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2px; border: 1.5px solid var(--line); border-radius: 13px; background: white; }
.calendar-cell.empty { visibility: hidden; border: none; }
.calendar-cell em { display: block; margin-bottom: 1px; color: var(--muted); font-size: 9px; font-style: normal; }
.calendar-cell strong { font-size: 18px; }
.calendar-cell.active { color: white; border-color: var(--green); background: var(--green); box-shadow: 0 7px 18px rgba(44,107,88,.18); }.calendar-cell.active em { color: rgba(255,255,255,.74); }
.sitter-list { display: grid; gap: 13px; }
.sitter-card { padding: 17px; border: 1.5px solid var(--line); border-radius: 20px; background: white; transition: .2s ease; }
.sitter-card.selected { border-color: var(--green); box-shadow: 0 9px 25px rgba(44,107,88,.1); }
.sitter-profile { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; }
.sitter-profile .sitter-avatar { width: 54px; height: 54px; font-size: 21px; }
.sitter-info { display: flex; min-width: 0; flex-direction: column; }.sitter-info strong { font-size: 16px; }.sitter-info small { margin-top: 3px; color: var(--muted); font-size: 12px; }.sitter-info em { margin-top: 5px; color: #c07a4c; font-size: 12px; font-style: normal; }
.sitter-badge { padding: 5px 8px; border-radius: 20px; color: var(--green); font-size: 10px; font-weight: 700; background: var(--mint); }
.slot-label { display: block; margin: 15px 0 8px; color: var(--muted); font-size: 12px; }
.slot-row { display: flex; flex-wrap: wrap; gap: 7px; }
.slot-button { min-width: 65px; padding: 9px 10px; border: 1px solid #cfd7d3; border-radius: 10px; color: var(--green); font-size: 13px; background: white; }
.slot-button.selected { color: white; border-color: var(--green); background: var(--green); }.slot-button:disabled { color: #b8bdbb; border-color: #e5e5e1; text-decoration: line-through; background: #f4f3ef; cursor: not-allowed; }
.no-slot { margin: 8px 0 2px; color: var(--muted); font-size: 13px; }
.info-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding: 15px; border-radius: 15px; background: var(--blue); }
.info-note > span { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-size: 13px; font-weight: 700; }
.info-note p { display: flex; flex-direction: column; margin: 0; }
.info-note strong { font-size: 14px; }.info-note small { margin-top: 4px; color: #67736e; font-size: 13px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; }
.form-grid label { min-width: 0; margin: 0; }
.consent { display: flex !important; align-items: center; gap: 10px; margin: 20px 0 0; color: #5d6763; font-size: 14px; cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--green); }
.field-error { min-height: 20px; margin-top: 8px; color: #c95045; font-size: 13px; }
.booking-actions { position: fixed; z-index: 25; left: 50%; bottom: 0; width: min(100%, 560px); padding: 14px 22px calc(14px + var(--safe-bottom)); border-top: 1px solid var(--line); background: rgba(255,254,250,.96); transform: translateX(-50%); backdrop-filter: blur(14px); }
.primary-button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border-radius: 16px 16px 16px 5px; color: white; font-size: 16px; font-weight: 700; background: var(--green); box-shadow: 0 9px 20px rgba(44,107,88,.19); }
.primary-button:disabled { opacity: .65; cursor: wait; }
.primary-button span { font-size: 23px; line-height: 1; }
.secondary-button { width: 100%; min-height: 48px; margin-top: 9px; color: var(--green); font-weight: 600; background: transparent; }
.review-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; }
.review-row { display: grid; grid-template-columns: 32px 86px 1fr; gap: 8px; padding: 16px; border-bottom: 1px solid var(--line); }
.review-row:last-child { border: 0; }
.review-row > span:first-child { color: var(--green); }
.review-row small { color: var(--muted); font-size: 13px; }.review-row strong { font-size: 14px; font-weight: 600; }
.price-summary { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 18px; border-radius: 16px; background: var(--mint); }
.price-summary span { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; }
.price-summary small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; }
.price-summary strong { color: var(--green); font-size: 23px; }

/* Bookings */
.page-title { padding: 36px 1px 26px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 13px; background: #ebe8e0; }
.segmented button { padding: 10px; border-radius: 10px; color: var(--muted); font-size: 14px; background: transparent; }
.segmented button.active { color: var(--green); font-weight: 700; background: white; box-shadow: 0 3px 10px rgba(45,59,52,.08); }
#bookingList { display: grid; gap: 14px; padding-top: 20px; }
.booking-item { padding: 19px; border: 1px solid rgba(35,50,45,.06); border-radius: 22px 22px 7px 22px; background: var(--paper); box-shadow: 0 10px 30px rgba(45,59,52,.07); }
.booking-item-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.booking-number { color: var(--muted); font-size: 12px; }
.status-pill { padding: 5px 9px; border-radius: 20px; color: #8b603e; font-size: 12px; font-weight: 700; background: #f8e6ca; }
.status-pill.confirmed,
.status-pill.accepted { color: var(--green); background: var(--mint); }
.status-pill.in_progress { color: #315f78; background: #deedf5; }
.status-pill.completed { color: #426b4a; background: #dfeee1; }
.status-pill.rejected,
.status-pill.cancelled,
.status-pill.voided { color: #8b5e56; background: #f3e7e3; }
.booking-item-body { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 16px 0 5px; }
.booking-item-body p { display: flex; flex-direction: column; margin: 0; }
.booking-item-body strong { font-size: 17px; }.booking-item-body small { margin-top: 5px; color: var(--muted); font-size: 13px; }
.booking-item-actions { display: flex; gap: 8px; margin-top: 13px; }
.booking-item-actions button { flex: 1; padding: 10px; border-radius: 11px; color: var(--green); font-size: 13px; font-weight: 600; background: var(--mint); }
.booking-item-actions .cancel-action { color: #966359; background: #f3e7e3; }
.empty-state { padding: 50px 25px; text-align: center; color: var(--muted); }
.empty-state span { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: var(--green); font-size: 31px; background: var(--mint); }
.empty-state strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 17px; }.empty-state p { margin: 0; font-size: 14px; line-height: 1.6; }

/* Success */
.success-view { padding-top: 65px; text-align: center; }
.success-art { position: relative; width: 105px; height: 105px; display: grid; place-items: center; margin: 0 auto 30px; }
.success-art::before, .success-art::after { content: ""; position: absolute; border-radius: 50%; background: var(--peach); }
.success-art::before { width: 13px; height: 13px; left: -3px; top: 18px; }.success-art::after { width: 8px; height: 8px; right: 2px; bottom: 14px; }
.success-art svg { position: relative; z-index: 2; width: 78px; height: 78px; padding: 20px; border-radius: 50%; fill: none; stroke: white; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; background: var(--green); box-shadow: 0 10px 25px rgba(44,107,88,.23); }
.success-ring { position: absolute; inset: 4px; border: 1px dashed #98b9ad; border-radius: 50%; animation: rotate 20s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.success-ticket { margin: 30px 0 22px; padding: 19px; text-align: left; border: 1px dashed #cfd4cf; border-radius: 17px; background: white; }
.success-ticket .review-row { padding: 10px 0; border: 0; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 95px; max-width: calc(100% - 44px); padding: 11px 16px; color: white; font-size: 14px; text-align: center; border-radius: 20px; background: rgba(35,50,45,.92); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 560px) {
  .app-shell { min-height: calc(100vh - 30px); margin: 15px auto; border-radius: 26px; }
  .bottom-nav, .booking-actions { bottom: 15px; border-radius: 0 0 26px 26px; }
  .bottom-nav { width: 560px; }
  .booking-actions { width: 560px; }
}

@media (max-width: 370px) {
  .view, #bookingView { padding-left: 16px; padding-right: 16px; }
  .hero-card { padding: 20px 15px; }.hero-icon { flex-basis: 66px; width: 66px; }.hero-card-copy strong { font-size: 20px; }.circle-arrow { display: none; }
  .choice-card { grid-template-columns: 49px 1fr 21px; padding: 13px; gap: 10px; }.choice-emoji { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Readable typography: keep essential labels comfortable on mobile. */
body { font-size: 18px; }
.brand small { font-size: 12px; }
.hero-card-copy small { font-size: 14px; }
.hero-card-copy em { font-size: 16px; }
.section-heading h2 { font-size: 23px; }
.section-heading button { font-size: 16px; }
.service-preview strong { font-size: 20px; }
.service-preview small { font-size: 15px; }
.available-mini strong { font-size: 17px; }
.available-mini small, .available-mini em { font-size: 14px; }
.trust-row strong { font-size: 17px; }
.trust-row small { font-size: 15px; }
.mini-booking p strong { font-size: 18px; }
.mini-booking p small { font-size: 15px; }
.bottom-nav button { font-size: 14px; }
.booking-header span { font-size: 14px; }
.booking-header strong { font-size: 18px; }
.text-button { font-size: 16px; }
.step-intro > p:last-child { font-size: 17px; }
.choice-card strong { font-size: 20px; }
.choice-card small, .choice-card em { font-size: 15px; }
.field-label { font-size: 16px; }
.text-field { font-size: 18px; }
.time-choice span { font-size: 17px; }
.calendar-cell em { font-size: 10px; }
.calendar-cell strong { font-size: 20px; }
.sitter-info strong { font-size: 18px; }
.sitter-info small, .sitter-info em { font-size: 14px; }
.sitter-badge { font-size: 13px; }
.slot-label, .slot-button, .no-slot { font-size: 15px; }
.info-note strong { font-size: 16px; }
.info-note small { font-size: 15px; }
.consent { font-size: 16px; }
.field-error { font-size: 15px; }
.primary-button { font-size: 18px; }
.secondary-button { font-size: 16px; }
.review-row small { font-size: 15px; }
.review-row strong { font-size: 16px; }
.price-summary span { font-size: 16px; }
.price-summary small { font-size: 13px; }
.segmented button { font-size: 16px; }
.booking-number, .status-pill { font-size: 14px; }
.booking-item-body strong { font-size: 20px; }
.booking-item-body small { font-size: 15px; }
.booking-item-actions button { font-size: 15px; }
.empty-state strong { font-size: 20px; }
.empty-state p { font-size: 16px; }
.toast { font-size: 16px; }

.calendar-cell.unavailable { color: #a7aeaa; border-color: #ecebe6; background: #f2f1ed; box-shadow: none; cursor: not-allowed; }
.calendar-cell.unavailable em { color: #a7aeaa; }
.calendar-cell.has-availability::after, .calendar-cell.limited::after { content: ""; width: 6px; height: 6px; margin-top: 2px; border-radius: 50%; }
.calendar-cell.has-availability::after { background: var(--green); }
.calendar-cell.limited::after { background: #d98a5f; }
.calendar-cell.active.has-availability::after, .calendar-cell.active.limited::after { background: rgba(255,255,255,.85); }
.legend-dot { display: inline-block; width: 8px; height: 8px; margin: 0 3px 0 8px; border-radius: 50%; vertical-align: middle; }
.legend-dot:first-child { margin-left: 0; }
.legend-dot.has-availability { background: var(--green); }
.legend-dot.limited { background: #d98a5f; }
.legend-dot.unavailable { background: #c7cdc9; }
