/* Four-area mobile prototype. Existing FrenchieOS colors and components remain the base. */
.home-task-progress { display: block; margin-top: 5px; color: var(--teal-deep); font: 800 10px/1.2 var(--font-ui); }
.club-content > #todayCareSection,
.club-content > #logSection,
.club-content > .sunny-note,
.club-content > .visit-note { display: none; }
.home-plan-link { width: 100%; min-height: 74px; margin: 12px 0; padding: 12px 15px; border: 1px solid var(--line-brand); border-radius: 19px; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; box-shadow: 0 6px 17px rgba(15,45,80,.06); }
.home-plan-link > span:first-child { display: grid; gap: 3px; }
.home-plan-link small,.home-health > div > span { color: var(--teal-deep); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.home-plan-link strong { font: 800 15px/1.15 var(--font-ui); }
.home-plan-link em { color: var(--muted-brand); font-size: 10px; font-style: normal; }
.home-plan-link > span:last-child { font-size: 22px; }
.home-health { margin: 4px 0 20px; padding: 16px; border: 1px solid var(--line-brand); border-radius: 21px; background: #fff; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; }
.home-health h2 { margin: 5px 0; color: var(--navy); font: 800 19px/1.1 var(--font-ui); }
.home-health p { margin: 0; color: var(--muted-brand); font-size: 11px; line-height: 1.4; }
.home-health button { min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--teal-wash); color: var(--navy); font-size: 12px; font-weight: 800; }
.home-health button span { margin-left: 3px; }
.walk-weather-copy small { font-size: 8px; }
.emergency-access { position: relative; z-index: 3; display: flex; justify-content: flex-end; margin-top: 10px; }
.emergency-shortcut { min-height: 48px; padding: 5px 15px 5px 6px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: var(--off-white); color: var(--navy); display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 7px 18px rgba(5,25,47,.2); font: 800 13px var(--font-ui); transition: transform .15s ease, box-shadow .15s ease; }
.emergency-shortcut:hover { box-shadow: 0 9px 22px rgba(5,25,47,.26); }
.emergency-shortcut:active { transform: scale(.97); }
.emergency-shortcut-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: var(--navy); display: grid; place-items: center; flex: 0 0 34px; }
.emergency-shortcut-icon svg { width: 17px; height: 17px; }
.emergency-shortcut-arrow { margin-left: 1px; font-size: 18px; line-height: 1; }
.club-content > .next-care { margin-top: 12px; margin-bottom: 16px; }
.calendar-preview-note { margin: 0; padding: 11px 13px; border-radius: 13px; background: var(--teal-wash); color: var(--navy); font-size: 11px; line-height: 1.4; }
.calendar-page-content { gap: 14px; }
.checkin-panel { position: fixed; z-index: 53; left: 50%; bottom: 0; width: min(100%,430px); max-height: calc(100dvh - 18px); padding: 18px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 25px 25px 0 0; background: var(--off-white); overflow-y: auto; transform: translateX(-50%); box-shadow: 0 -14px 45px rgba(15,45,80,.25); }
.checkin-panel[hidden] { display: none; }
.checkin-panel header { display: flex; justify-content: space-between; gap: 8px; }
.checkin-panel header small { color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.checkin-panel h2 { margin: 5px 0 0; color: var(--navy); font: 800 25px/1.05 var(--font-ui); }
.checkin-panel header button { width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 12px; background: var(--navy-wash); color: var(--navy); font-size: 24px; }
.checkin-panel > p { margin: 12px 0 16px; color: var(--muted-brand); font-size: 12px; line-height: 1.4; }
.checkin-panel form { display: grid; gap: 10px; }
.checkin-panel fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkin-panel legend { margin-bottom: 7px; color: var(--navy); font: 800 14px var(--font-ui); }
.checkin-panel label { min-height: 46px; padding: 10px; border: 1px solid var(--line-brand); border-radius: 12px; background: #fff; display: flex; align-items: center; gap: 7px; color: var(--charcoal); font-size: 12px; font-weight: 800; }
.checkin-panel label:has(input:checked) { border-color: var(--teal-deep); background: var(--teal-wash); }
.checkin-panel input { accent-color: var(--teal-deep); }
.checkin-save { min-height: 48px; margin-top: 4px; border: 0; border-radius: 13px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; }
.plan-panel { z-index: 53; }
.plan-panel input { width: 100%; min-height: 46px; padding: 0 11px; border: 1px solid var(--line-brand); border-radius: 12px; background: #fff; color: var(--navy); font: 700 14px var(--font-ui); }
.feature-live-label { margin: 0; color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.feature-hub-intro { margin: 0; padding: 14px 16px; border-radius: 17px; background: var(--teal-wash); color: var(--navy); font-size: 12px; line-height: 1.45; }
.feature-page-content > #todayCareSection,.feature-page-content > #logSection { display: block; }
.feature-page-content #todayCareSection { margin: 0; }
.plan-week-card { padding: 15px; border: 1px solid var(--line-brand); border-radius: 22px; background: #fff; box-shadow: 0 8px 21px rgba(15,45,80,.06); }
.plan-week-card h3 { margin: 3px 0 5px; color: var(--navy); font: 800 19px/1.1 var(--font-ui); }
.plan-week-card > small { color: var(--teal-deep); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.plan-week-card > p { margin: 0 0 9px; color: var(--muted-brand); font-size: 11px; }
.plan-step { padding: 11px 0; border-top: 1px solid var(--line-brand); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; }
.plan-step strong { display: block; color: var(--charcoal); font: 800 13px/1.2 var(--font-ui); }
.plan-step small { display: block; margin-top: 4px; color: var(--muted-brand); font-size: 10px; line-height: 1.3; }
.plan-step .plan-actions { display: grid; gap: 5px; }
.plan-step button { min-height: 34px; padding: 0 9px; border: 1px solid var(--line-brand); border-radius: 9px; background: var(--off-white); color: var(--navy); font-size: 10px; font-weight: 800; }
.plan-step button[data-plan-complete][aria-pressed="true"] { background: var(--teal-wash); border-color: var(--teal); }
.health-domain { border: 1px solid var(--line-brand); border-radius: 20px; background: #fff; overflow: hidden; }
.health-domain summary { min-height: 64px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--navy); font: 800 17px/1.2 var(--font-ui); cursor: pointer; }
.health-domain summary::after { content: "+"; color: var(--teal-deep); font-size: 22px; }
.health-domain[open] summary::after { content: "−"; }
.health-domain-body { padding: 0 15px 15px; }
.health-domain-body p { margin: 0 0 10px; color: var(--muted-brand); font-size: 11px; line-height: 1.4; }
.health-domain-body button { width: 100%; min-height: 43px; padding: 8px 10px; border: 0; border-radius: 11px; background: var(--teal-wash); color: var(--navy); text-align: left; font-size: 12px; font-weight: 800; }
.health-record-mini { display: grid; gap: 5px; padding: 12px 0; border-bottom: 1px solid var(--line-brand); }
.health-record-mini:last-child { border-bottom: 0; }
.health-record-mini strong { color: var(--navy); font-size: 13px; }
.health-record-mini small { color: var(--muted-brand); font-size: 11px; line-height: 1.4; }
.hub-actions { display: grid; gap: 8px; }
.hub-actions button { min-height: 52px; padding: 10px 13px; border: 1px solid var(--line-brand); border-radius: 15px; background: #fff; color: var(--navy); text-align: left; font-size: 13px; font-weight: 800; }
.hub-actions button small { display: block; margin-top: 3px; color: var(--muted-brand); font-size: 10px; font-weight: 600; }
.vet-select { display: grid; gap: 9px; }
.vet-select label { color: var(--navy); font-size: 12px; font-weight: 800; }
.vet-select select { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-brand); border-radius: 11px; background: #fff; color: var(--navy); font: 700 13px var(--font-ui); }
.vet-checks { display: grid; gap: 7px; }
.vet-checks label { min-height: 40px; padding: 9px 10px; border: 1px solid var(--line-brand); border-radius: 10px; display: flex; align-items: center; gap: 9px; color: var(--charcoal); font-size: 12px; }
.vet-checks input { accent-color: var(--teal-deep); }
.vet-preview { padding: 13px; border-radius: 13px; background: var(--navy-wash); color: var(--navy); font-size: 12px; line-height: 1.45; }
.vet-preview[hidden] { display: none; }
.result-grid + .timeline-value-card,.lead-card,.plan-preview-card { display: none; }
.pricing-wrap { display: none; }
.paywall-card .feature-grid { display: none; }
@media (max-width: 355px) {
  .walk-weather { min-height: 43px; }
  .walk-weather-copy { display: grid; gap: 1px; }
  .walk-weather-copy small { display: block; padding: 0; background: transparent; color: #d8f4ef; font-size: 8px; }
  .home-health { grid-template-columns: 1fr; }
  .home-health button { justify-self: start; }
  body.is-assessment .topbar-actions { min-width: 0; }
}
