:root {
  color-scheme: light;
  --ink: #173527;
  --muted: #4c6254;
  --green: #285441;
  --dark: #173f31;
  --paper: #f7f8f0;
  --white: #fffef9;
  --line: #d9e2d4;
  --lime: #daf098;
  --peach: #f4d9bf;
  --panel-gap: 1.1rem;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: inherit; }
main { width: min(1120px, 90%); margin: 2.5rem auto 4rem; flex: 1; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.09; }
h1 { font: 500 clamp(2.9rem, 6.2vw, 5.55rem)/.98 Georgia, serif; letter-spacing: -.063em; overflow-wrap: anywhere; }
h2 { font-size: 1.4rem; letter-spacing: -.045em; }
h3 { font-size: 1.05rem; letter-spacing: -.018em; }
p { color: var(--muted); }
p + p { margin-top: .8rem; }
.top, .footer { padding-inline: max(5vw, calc((100vw - 1120px) / 2)); }
.top { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); background: var(--white); }
.brand { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
.brand img { display: block; width: clamp(9.5rem, 20vw, 11rem); max-width: 100%; height: auto; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.65rem, 2.6vw, 1.85rem); font-size: .92rem; }
nav a { text-decoration: none; font-weight: 650; }
nav a:hover, nav [aria-current] { text-decoration: underline; text-underline-offset: .26rem; }
.nav-app { border: 1px solid var(--line); border-radius: 100px; padding: .5rem .86rem; }
.footer { padding-block: clamp(1.35rem, 4vw, 2.5rem) 1.2rem; border-top: 1px solid var(--line); background: #edf2e8; color: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem 2rem; }
.footer-brand .brand img { width: 10rem; }
.footer-brand p { max-width: 28ch; margin-top: .35rem; font-size: .95rem; }
.footer-links { display: block; font-size: .95rem; }
.footer-links h2 { font-size: 1rem; letter-spacing: 0; }
.footer-links ul { list-style: none; padding: 0; margin: .45rem 0 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 35px; }
.footer-socials { gap: .45rem; margin-top: .65rem; }
.footer-socials a, .profile-links a { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--green); }
.footer-socials a:hover, .profile-links a:hover { background: #e2ecdb; border-color: #9fb29e; }
.footer-legal { margin-top: 1.5rem; padding-top: .85rem; border-top: 1px solid #cfdccf; font-size: .9rem; }
.skip-link { position: absolute; z-index: 1; inset: .6rem auto auto .6rem; transform: translateY(calc(-100% - 1rem)); background: var(--white); color: var(--dark); padding: .55rem .8rem; border-radius: .5rem; }
.skip-link:focus { transform: none; }
.landing-hero { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); align-items: stretch; gap: .85rem; }
.landing-copy { background: var(--dark); color: var(--white); padding: clamp(1.5rem, 4.5vw, 3.55rem); border-radius: 1.75rem; }
.landing-copy h1 { margin-bottom: 1rem; max-width: 11ch; font-size: clamp(2.8rem, 6.1vw, 5.55rem); }
.landing-copy p { max-width: 44ch; color: #dfede1; font-size: 1.06rem; }
.landing-copy .hero-tagline { color: var(--lime); font-size: .95rem; font-weight: 750; margin-bottom: .85rem; }
.landing-copy .actions { gap: .7rem 1.15rem; }
.landing-copy .text-link { color: var(--white); }
.landing-copy .text-link:hover { color: var(--lime); }
.landing-copy :focus-visible, .landing-cta :focus-visible { outline-color: var(--lime); }
.hero-photo { border-radius: 1.75rem; overflow: hidden; background: #dce7d8; position: relative; min-height: 260px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pill { display: inline-block; width: max-content; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: .875rem; font-weight: 750; padding: .22rem .68rem; white-space: nowrap; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.25rem; }
.text-link { font-weight: 700; text-underline-offset: .23rem; }
.text-link:hover { color: #58712c; }
.how-section, .landing-roles, .landing-plans, .landing-roadmap, .landing-faq { margin: clamp(2.6rem, 6vw, 4.7rem) 0; }
.section-title { margin-bottom: 1.2rem; }
.section-title h2, .landing-contact h2 { font: 500 clamp(2rem, 4.3vw, 3.3rem)/1.04 Georgia, serif; letter-spacing: -.055em; margin-bottom: .55rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.steps article { border-top: 2px solid #bdcea6; padding: .95rem .15rem 0; }
.steps h3 { margin-bottom: .45rem; font-size: 1.16rem; }
.landing-example { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: clamp(1rem, 5vw, 3.45rem); padding: clamp(1.3rem, 4.3vw, 3.35rem); border-radius: 1.75rem; background: #e7efdf; }
.landing-example-copy { margin: 0; }
.landing-example-copy h2 { max-width: none; }
.landing-example-copy p { max-width: 60ch; }
.sample-plan { background: var(--white); border: 1px solid var(--line); border-radius: 1.15rem; padding: clamp(.95rem, 2.8vw, 1.65rem); box-shadow: 0 .65rem 1.55rem #17352710; }
.sample-plan figcaption { margin-bottom: .6rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.sample-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.sample-heading h3 { font-size: 1.25rem; }
.sample-heading p { margin-top: .18rem; }
.sample-plan progress { display: block; margin: .65rem 0 .72rem; }
.sample-checklist { list-style: none; padding: 0; margin: 0; }
.sample-checklist li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.sample-checklist p { font-size: .89rem; }
.sample-checklist .pill { background: #e8f1db; }
.sample-due { flex-shrink: 0; font-size: .875rem; color: var(--muted); font-weight: 650; }
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.role-card { padding: clamp(1.3rem, 3vw, 2.05rem); border: 1px solid var(--line); border-radius: 1.15rem; background: var(--white); }
.role-card h3 { font-size: 1.3rem; }
.role-card ul { display: grid; gap: .53rem; margin: .9rem 0 0; padding-left: 1.25rem; color: var(--muted); }
.role-card li::marker { color: var(--green); }
.plans-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 1.5rem; margin-bottom: 1.2rem; }
.plans-heading .section-title { margin-bottom: 0; max-width: 58ch; }
.billing-period { display: inline-flex; gap: .16rem; padding: .22rem; border: 1px solid var(--line); border-radius: 100px; background: #edf2e8; }
.billing-period button { background: transparent; color: var(--ink); padding-inline: .82rem; font-size: .94rem; }
.billing-period button[aria-pressed="true"] { background: var(--dark); color: var(--white); }
.billing-period button:hover { text-decoration: underline; text-underline-offset: .22rem; }
.billing-period button[aria-pressed="false"]:hover { background: var(--white); }
.plan-card { display: flex; flex-direction: column; min-width: 0; }
.plan-card > :is(a, button) { align-self: flex-start; margin-top: auto; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .45rem; color: inherit; margin-top: .45rem; }
.plan-price strong { font: 500 clamp(2.65rem, 5vw, 4.25rem)/1.04 Georgia, serif; letter-spacing: -.06em; }
.plan-price span { font-size: .91rem; }
.plan-card .plan-allowances { display: block; list-style: none; color: inherit; margin: 1rem 0 1.1rem; padding: 0; }
.plan-allowances li { padding: .5rem 0; border-top: 1px solid var(--line); }
.plan-unlimited { background: var(--dark); color: var(--white); border-color: var(--dark); }
.plan-unlimited .plan-allowances li { border-color: #fff4; }
.plan-unlimited .plan-savings { color: var(--lime); margin-top: .35rem; font-size: .9rem; }
.plan-unlimited :focus-visible { outline-color: var(--lime); }
.plan-caregivers { margin-top: .95rem; }
.plan-caregivers strong { color: var(--ink); }
.roadmap-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin: 0; padding: 0; list-style: none; }
.roadmap-list li { padding: clamp(1rem, 2.6vw, 1.45rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
.roadmap-list li:first-child { border-color: #b1c78c; background: #eaf1df; }
.roadmap-stage { color: var(--green); font-weight: 750; font-size: .92rem; margin-bottom: .5rem; }
.roadmap-list h3 { font-size: 1.22rem; }
.roadmap-list h3 + p { margin-top: .4rem; }
.landing-faq { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); align-items: start; gap: clamp(1.2rem, 4vw, 3rem); }
.faq-items { border-top: 1px solid var(--line); }
.faq-items details { border-bottom: 1px solid var(--line); padding: .83rem .2rem; }
.faq-items summary { cursor: pointer; font-weight: 700; }
.faq-items details p { margin: .45rem 0 .12rem; max-width: 61ch; }
.landing-cta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: clamp(1.35rem, 4.3vw, 2.85rem); color: var(--white); background: var(--dark); border-radius: 1.55rem; }
.landing-cta .section-title { margin: 0; }
.landing-cta p { color: #dfede1; }
.landing-contact { padding: clamp(1.35rem, 4vw, 2.8rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 1.5rem 2rem; margin-top: 1rem; background: #edf1e6; border: 1px solid var(--line); border-radius: 1.55rem; }
.landing-contact p { max-width: 46ch; }
.feedback-form { background: var(--white); color: var(--ink); border-radius: 1.05rem; padding: clamp(1rem, 3vw, 1.5rem); }
.feedback-form p { color: var(--ink); }
.feedback-status:not(:empty) { margin-top: .65rem; }
.story { max-width: 760px; margin: 3.2rem auto 0; }
.story h1 { margin: .8rem 0 1.1rem; }
.story .lede { font-size: clamp(1.12rem, 2.7vw, 1.45rem); max-width: 53ch; margin-bottom: 2rem; }
.story-card p { margin-top: .65rem; }
.story-card a { display: inline-block; margin-top: .8rem; }
.membership { display: grid; gap: 1rem; }
.membership-usage, .membership-options { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.membership-usage { margin: 1rem 0 0; }
.membership-usage dd { margin: .15rem 0 0; font-size: 1.5rem; font-weight: 700; }
.membership-options ul { padding-left: 1.25rem; margin: .8rem 0 0; }
.about-note { margin-top: 1.25rem; }
.auth-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; max-width: 920px; margin: 2rem auto; }
.auth-copy { background: #e6eddf; border-radius: 1.45rem; padding: clamp(1.4rem, 4vw, 3rem); }
.auth-copy h1 { margin: .8rem 0 1.4rem; max-width: 8ch; }
.auth-card { margin-bottom: 0 !important; }
.auth-card h2 { margin: 1.15rem 0 .9rem; }
.auth-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.auth-tabs [aria-pressed="true"] { background: var(--dark); color: white; }
.auth-tabs [aria-pressed="true"]:hover { background: var(--green); }
.form-status { margin-top: .65rem; }
.form-status:empty { display: none; }
[role="status"][data-state="success"]:not(:empty), [role="status"][data-state="error"]:not(:empty) {
  width: fit-content; max-width: 100%; padding: .5rem .7rem; border-radius: .55rem; overflow-wrap: anywhere;
}
[role="status"][data-state="success"] { color: #275134; background: #e8f2e1; }
[role="status"][data-state="error"] { color: #782c27; background: #faeae4; }
#status[data-state="success"]:not(:empty), #status[data-state="error"]:not(:empty) { position: sticky; top: .5rem; z-index: 1; }
#account-profile .actions .form-status { margin: 0; }
.full { width: 100%; }
#continue-link { display: inline-block; margin-top: .75rem; }
.hero { border-radius: 1.4rem; background: var(--dark); color: white; padding: clamp(1.3rem, 4vw, 2.8rem); min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dashboard-page .hero { margin-bottom: var(--panel-gap); }
.dashboard-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .25rem;
  padding: .3rem;
  margin-bottom: var(--panel-gap);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #edf2e9;
}
.dashboard-tabs button {
  flex-wrap: wrap;
  gap: .2rem .4rem;
  padding: .4rem .15rem;
  border-radius: .65rem;
  color: var(--dark);
  background: transparent;
  font-size: clamp(.82rem, 2.4vw, 1rem);
}
.dashboard-tabs button:hover { background: #e0ead9; }
.dashboard-tabs button[aria-selected="true"] { color: white; background: var(--dark); }
.dashboard-tabs .pill { min-width: 1.25rem; padding: 0 .25rem; font-size: .75rem; }
.dashboard-today, .dashboard-people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  align-items: start;
  column-gap: var(--panel-gap);
}
#dashboard-load-status:empty, #progress-status:empty, #starter-status:empty { display: none; }
.next-tasks > .text-link { display: inline-flex; align-items: center; min-height: 44px; }
#full-agenda { margin-top: .8rem; border-top: 1px solid var(--line); }
#full-agenda summary { min-height: 44px; padding-block: .55rem; font-weight: 700; cursor: pointer; }
.progress-presets, .task-shortcuts > div { display: flex; flex-wrap: wrap; gap: .45rem; }
.progress-presets button, .task-shortcuts button { font-size: .875rem; }
#progress-handoff-hint { margin-top: .4rem; }
#progress-handoff-field { max-width: 26rem; }
.progress-range { display: flex; align-items: end; flex-wrap: wrap; gap: .55rem .8rem; margin-block: .75rem .5rem; }
.progress-range label { flex: 0 1 11rem; min-width: min(100%, 8rem); margin: 0; }
.progress-range input { min-width: 0; }
.progress-range .actions { margin: 0; gap: .45rem; }
.starter-routine { margin-top: .9rem; }
.starter-banner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem .9rem;
  padding: .85rem; border: 1px solid var(--line); border-radius: .85rem; background: #eef3e9;
}
.starter-banner p { margin-top: .3rem; }
.starter-routine form { margin-top: .75rem; }
.starter-routine legend { font-weight: 700; }
.starter-routine .starter-choice {
  display: flex;
  gap: .6rem;
  align-items: start;
  padding: .55rem 0;
  margin: 0;
  min-height: 44px;
}
.starter-choice input { width: auto; flex-shrink: 0; margin: .35rem 0 0; }
.starter-choice small { display: block; color: var(--muted); font-weight: 400; }
#starter-review { margin-top: .5rem; }
.starter-schedule { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.starter-schedule label { margin-block: .35rem 0; }
.starter-schedule input { min-width: 0; }
.task-shortcuts { display: grid; gap: .3rem; margin: -.3rem 0 .7rem; font-size: .875rem; }
.hero h1 { font-size: clamp(2.25rem, 5.6vw, 4.65rem); margin: .5rem 0 .65rem; }
.hero p { color: #deebdf; }
.hero .eyebrow { color: var(--lime); font-size: .875rem; font-weight: 800; letter-spacing: .09em; }
.app-header-actions { display: flex; flex-wrap: wrap; gap: .55rem; flex: 0 1 auto; max-width: 100%; }
.layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: var(--panel-gap); align-items: start; }
.panel { padding: clamp(1rem, 3vw, 1.65rem); background: var(--white); border: 1px solid var(--line); border-radius: 1.2rem; margin-bottom: var(--panel-gap); overflow-wrap: anywhere; }
.heading { display: flex; align-items: start; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.heading p, .panel > h2 + p { margin-top: .3rem; }
#details h3 { margin: 1rem 0 .25rem; }
label, legend { font-weight: 700; font-size: .94rem; }
label { display: block; margin-bottom: .9rem; }
input, textarea, select, button { font: inherit; }
input, textarea, select { font-size: 1rem; }
input, textarea, select { display: block; width: 100%; min-width: 0; border: 1px solid #a7b9ab; border-radius: .65rem; padding: .62rem .72rem; margin-top: .3rem; color: var(--ink); background: #fcfdf7; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.6rem; }
input[type="file"] { background: transparent; padding: .38rem; }
textarea { resize: vertical; }
button, .button { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: white; border: 1px solid transparent; border-radius: 100px; font-weight: 740; padding: .57rem .95rem; min-height: 44px; text-decoration: none; text-align: center; }
button:hover, .button:hover { background: #173b2d; }
button:disabled { opacity: .7; cursor: default; }
button.secondary { background: #eef3e9; color: var(--dark); border-color: var(--line); }
button.secondary:hover { background: #e0eadb; }
button.pale, .button.pale { background: var(--lime); color: var(--ink); }
button.pale:hover, .button.pale:hover { background: #e8f6ba; }
:focus-visible { outline: 3px solid #6b8737; outline-offset: 3px; }
.hero :focus-visible, .landing-contact :focus-visible { outline-color: #a6c866; }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
#plan-form > fieldset > legend { font-size: 1.04rem; margin-bottom: .5rem; }
.editor-section { border-bottom: 1px solid var(--line); padding-bottom: .85rem; }
.profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .75rem; }
.wide { grid-column: 1 / -1; }
.photo-upload { display: flex; align-items: center; gap: .75rem; }
.photo-upload > div { min-width: 0; }
#photo-preview { height: 80px; width: 80px; object-fit: cover; border-radius: .85rem; }
.pet-photo { display: block; width: 100%; max-height: 280px; aspect-ratio: 4/3; object-fit: cover; border-radius: .85rem; margin-bottom: .85rem; }
.task { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .65rem; align-items: end; margin: 0 0 .7rem; padding: .85rem; border: 1px solid var(--line); border-radius: .95rem; background: #f4f6ed; }
.task label, .task fieldset { margin: 0; }
.task-label { grid-column: 1 / -1; }
.clock-fields { display: flex; gap: .35rem; }
.clock-fields select { flex: 1; }
.remove-task { grid-column: 1 / -1; justify-self: start; }
.share button, .share .text-link { margin: .65rem .25rem 0 0; }
.share .text-link { display: inline-block; }
.guide { background: #e6eddf; }
.multiline { white-space: pre-wrap; }
.hint { font-size: .9rem; margin-top: .7rem; }
#password-hint { margin: -.35rem 0 .75rem; }
progress { width: 100%; accent-color: var(--green); margin-bottom: 1rem; }
.check-row { display: flex; justify-content: space-between; align-items: center; gap: .7rem; border-top: 1px solid var(--line); padding: .8rem 0; }
.check-row button { flex-shrink: 0; }
.check-row small { display: block; font-size: .875rem; color: var(--muted); }
.check-row .check-by { color: var(--green); }
#status { min-height: 1.5rem; margin: .45rem 0; color: var(--green); }
#status:empty { min-height: 0; margin: 0; }
.saved-plans { padding: 0; list-style: none; }
.saved-plans li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--line); padding: .65rem 0; }
@media (max-width: 980px) {
  .roadmap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .top { min-height: 66px; flex-wrap: wrap; padding-block: .7rem; gap: .6rem; }
  .landing-hero { grid-template-columns: 1fr; }
  .landing-copy h1 { font-size: clamp(2.65rem, 6vw, 4.25rem); }
  .hero-photo { min-height: 0; aspect-ratio: 4/3; }
  .task { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 690px) {
  main { margin-top: 1.1rem; }
  .landing-example, .landing-faq, .role-grid, .roadmap-list, .landing-contact, .auth-layout, .layout { grid-template-columns: 1fr; }
  .auth-layout { margin-top: 0; }
  .landing-copy h1 { max-width: 13ch; }
  .steps { grid-template-columns: 1fr; }
  .landing-faq { gap: .35rem; }
  .layout { gap: 0; }
  .app-header-actions { align-self: flex-start; }
  .hero { flex-direction: column; align-items: start; }
  .nav-app { padding: .27rem .55rem; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 450px) and (max-width: 690px) {
  .task { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

.step-label {
  display: inline-block;
  padding: .25rem .7rem;
  margin-bottom: .65rem;
  color: var(--dark);
  background: var(--lime);
  border-radius: 99px;
  font-size: .875rem;
  font-weight: 750;
}
#editor-title, #profile-layout h2 { margin-bottom: .9rem; }
#profile-layout, .check-heading, .detail-heading { margin-top: 1.1rem; }
#profile-dashboard-link { display: inline-block; margin-top: .7rem; }
#invitation .button { margin-top: .75rem; }
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 0 0 .65rem;
}
.calendar-nav button { padding-inline: .85rem; font-size: 1.3rem; line-height: 1; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .25rem;
  container: care-calendar / inline-size;
}
.weekday { text-align: center; color: var(--muted); font-size: .82rem; font-weight: 700; }
.calendar-day {
  position: relative;
  background: #eef3e9;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: .65rem;
  padding: .2rem;
  justify-content: flex-start;
  padding-inline-start: .55rem;
  min-height: 54px;
}
.calendar-count { background: #daf098; color: #24442b; }
.calendar-issue { background: #f5d9a6; color: #633b0c; }
.calendar-count, .calendar-issue {
  display: inline-grid; place-items: center; min-inline-size: 1.15rem; min-block-size: 1.15rem;
  border-radius: 1rem; padding-inline: .15rem; font-size: .75rem; line-height: 1; font-weight: 750;
}
.calendar-day .calendar-count { position: absolute; inset: 3px 3px auto auto; }
.calendar-day .calendar-issue { position: absolute; inset: auto 3px 3px auto; }
.calendar-legend { display: flex; gap: .35rem .8rem; flex-wrap: wrap; margin-top: .65rem; font-size: .875rem; }
.calendar-legend > span { display: inline-flex; gap: .3rem; align-items: center; }
.calendar-selection { margin-top: .4rem; font-size: .875rem; color: var(--muted); }
.calendar-day[data-large-count] .calendar-date { align-self: end; }
.calendar-day[aria-current="date"] { border-color: var(--green); }
.calendar-day:hover { color: var(--ink); background: #e0eadb; }
.calendar-day[aria-pressed="true"] { background: var(--green); color: white; }
.check-heading { padding-top: 1rem; border-top: 1px solid var(--line); }
.empty-checks { padding-block: .4rem .75rem; }
.task-editor { margin-top: 1rem; padding: .9rem; border-radius: .85rem; background: #eef3e9; }
.task-editor h3 { margin-bottom: .75rem; }
#time-hint { display: block; margin-top: .25rem; font-weight: 400; color: var(--muted); }
.rule-actions { display: flex; justify-content: end; gap: .35rem; flex-wrap: wrap; }
#rule-list { margin-top: .75rem; }
.social-options { display: grid; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); gap: .5rem; }
@media (max-width: 400px) {
  .calendar-grid { gap: .17rem; }
  .calendar-day { border-radius: .45rem; }
  .task-editor .profile-fields { grid-template-columns: 1fr; }
}

.navigation-status { width: min(1120px, 90%); margin-inline: auto; }
.invitation-card { max-width: 42rem; }
.invitation-card > p, #owner-card > p { margin-top: .55rem; }
.person { display: flex; align-items: center; gap: .62rem; }
#owner-person, #invitation-person { margin-block: .75rem; }
.person small, .handoff-summary small { display: block; color: var(--muted); }
.initials {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #e6eddf;
  color: var(--dark);
  font-size: .87rem;
  font-weight: 750;
}
#handoff-form { margin-top: .9rem; }
#handoff-link-field { margin-top: .8rem; }
.handoff-summary { min-width: 0; }
.handoff-summary .pill { margin-top: .2rem; white-space: normal; }
.handoff-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .3rem; }
.handoff-actions button { margin: 0; }
.legacy-access, #archived-pets { padding-top: .8rem; border-top: 1px solid var(--line); }
.legacy-access h3 { margin-bottom: .45rem; }
#legacy-list .person { justify-content: flex-start; }
#archived-pets summary { cursor: pointer; font-weight: 700; }
@media (max-width: 480px) {
  #handoff-form .profile-fields { grid-template-columns: 1fr; }
}
#manage-handoffs { flex-shrink: 0; }
#invite-hint { margin: -.45rem 0 .65rem; }

.muted { color: var(--muted); }
.pet-table-wrap { margin-top: .65rem; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: .55rem 0 0; }
.metrics div { background: #f1f4ea; border: 1px solid var(--line); padding: .8rem 1rem; border-radius: .8rem; }
.metrics div:nth-child(2) { background: #eaf2d8; }
.metrics dt { font-size: .92rem; font-weight: 700; color: var(--muted); }
.metrics dd { margin: .2rem 0 0; font: 500 clamp(1.7rem, 3vw, 2.5rem)/1 Georgia, serif; font-variant-numeric: tabular-nums; }
.pet-table { border-collapse: collapse; width: 100%; text-align: left; }
.pet-table th, .pet-table td { padding: .75rem .65rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pet-table thead th { font-size: .9rem; color: var(--muted); }
.pet-table tbody th { font-size: 1.02rem; }
.pet-table .person + .person { margin-top: .45rem; }
.pet-table small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.pet-table .pill { margin-top: .2rem; }
.dashboard-progress { display: block; width: min(100%, 12rem); min-width: 4rem; margin: .23rem 0 0; }
.directory-list, .profile-links { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: .8rem 0 0; }
.directory-list li.person { background: #f1f4ea; border: 1px solid var(--line); border-radius: .85rem; padding: .55rem .75rem; }
.initials { overflow: hidden; }
.initials img { height: 100%; width: 100%; object-fit: cover; }
.activity summary { cursor: pointer; font-size: 1.35rem; font-weight: 750; letter-spacing: -.035em; }
.activity > p { margin-top: .4rem; }
#activity-list { list-style: none; padding: 0; margin: .85rem 0 0; }
#activity-list li { display: flex; align-items: flex-start; gap: .7rem; padding-block: .6rem; border-top: 1px solid var(--line); }
#activity-list small { display: block; font-size: .875rem; color: var(--muted); }
.activity-dot { width: .67rem; height: .67rem; margin-top: .47rem; flex: 0 0 .67rem; border-radius: 50%; background: #709481; }
.activity-dot[data-verb="completed"] { background: #3f7448; }
.activity-dot[data-verb="removed"] { background: #98765f; }
.profile-photo-editor, .contact-profile { display: flex; align-items: flex-start; gap: 1rem; }
.profile-photo-editor { margin-bottom: 1rem; }
.profile-photo-editor > div, .contact-profile > div { min-width: 0; }
.profile-image { width: 88px; height: 88px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.contact-profile { margin-top: 1.1rem; }
.contact-profile .profile-links { margin-bottom: .9rem; }
.interaction-list { list-style: none; padding: 0; margin: .8rem 0 0; }
.interaction-list li { border-top: 1px solid var(--line); padding-block: .7rem; }
.interaction-list small, .directory-list .person small { color: var(--muted); }
.choice { display: flex; align-items: baseline; gap: .55rem; }
.choice input { width: auto; margin: 0; accent-color: var(--green); }
.social-fields legend { margin-bottom: .55rem; }

@media (max-width: 660px) {
  .metrics div { padding: .55rem .58rem; }
  .metrics dt { font-size: .86rem; }
  .pet-table, .pet-table tbody { display: block; }
  .pet-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pet-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: .7rem; margin-bottom: .65rem; border: 1px solid var(--line); border-radius: .85rem; }
  .pet-table tbody th { grid-column: 1 / -1; font-size: 1.09rem; }
  .pet-table th, .pet-table td { padding: .3rem .25rem; border-bottom: 0; }
  .pet-table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .82rem; font-weight: 700; margin-bottom: .18rem; }
}

.metrics div:last-child, .issue-pill { background: #f7ecd7; color: #63451e; }
.pet-table .issue-count { color: #63451e; margin-top: .2rem; }
.check-details { flex: 1 1 12rem; min-width: 0; }
.check-actions { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: .35rem; }
.check-more { position: relative; }
.check-more summary { list-style: none; cursor: pointer; background: #eef3e9; color: var(--dark); border-color: var(--line); }
.check-more summary:hover { background: #e0eadb; }
.check-more summary::-webkit-details-marker { display: none; }
.check-more-menu {
  position: absolute; top: calc(100% + .3rem); right: 0; z-index: 3;
  width: min(15rem, 77vw); padding: .25rem; border: 1px solid var(--line);
  border-radius: .8rem; background: var(--white); box-shadow: 0 .3rem 1rem #17352722;
}
.check-more-menu button {
  width: 100%; justify-content: flex-start; text-align: left; border-radius: .5rem;
  border-color: transparent; background: transparent; font-size: .9rem;
}
.check-more-menu button:hover { background: #e6eddf; }
@media (max-width: 540px) {
  .dashboard-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .starter-schedule .profile-fields { grid-template-columns: 1fr; }
}
@container care-calendar (width < 392px) {
  .calendar-day { justify-content: center; padding-inline: .15rem; }
  .calendar-day[data-scheduled] .calendar-date { align-self: end; margin-bottom: .15rem; }
  .calendar-day .calendar-issue { inset: 3px auto auto 2px; }
  .calendar-day .calendar-count { right: 2px; }
  .calendar-day .calendar-count, .calendar-day .calendar-issue {
    min-inline-size: .9rem; min-block-size: .9rem; padding-inline: .13rem; font-size: .68rem;
  }
  .calendar-day[data-large-count]:has(.calendar-issue) { min-height: 66px; }
  .calendar-day[data-large-count]:has(.calendar-issue) .calendar-date { align-self: center; margin-bottom: 0; }
  .calendar-day[data-large-count] .calendar-issue { inset: auto 2px 2px auto; }
}
@media (max-width: 510px) {
  .checks .check-actions { position: relative; align-self: stretch; justify-content: start; }
  .check-more { position: static; }
  .check-more-menu { right: auto; left: 0; max-width: 100%; }
}
.check-note { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: .35rem; }
.check-heading #progress { white-space: normal; text-align: right; }
.activity-dot[data-verb="exception"] { background: #a17b41; }
.form-dialog { color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 1.15rem; width: min(30rem, 90vw); padding: clamp(1rem, 4vw, 1.65rem); }
.form-dialog::backdrop { background: #17352780; }
.form-dialog h2 { margin-bottom: .35rem; }
.form-dialog label { margin-top: .9rem; }

@media (max-width: 510px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks .check-row { align-items: flex-start; flex-direction: column; }
  .check-details { flex: auto; }
  .check-actions { justify-content: start; }
}

.account-menu { position: relative; }
.account-menu > summary { display: flex; align-items: center; gap: .45rem; list-style: none; min-height: 44px; padding: .2rem .48rem .2rem .25rem; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu-name { max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; }
.account-avatar { width: 32px; height: 32px; flex-basis: 32px; }
.account-chevron { border-right: 2px solid; border-bottom: 2px solid; width: .45rem; height: .45rem; transform: translateY(-.1rem) rotate(45deg); margin-inline: .12rem; }
.account-dropdown { position: absolute; right: 0; top: calc(100% + .55rem); width: min(15.5rem, 74vw); z-index: 2; padding: .45rem; border: 1px solid var(--line); background: var(--white); border-radius: .9rem; box-shadow: 0 .5rem 1.8rem #17352726; }
.account-dropdown-head { padding: .5rem .65rem .6rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.account-dropdown-head span { display: block; color: var(--muted); }
.account-dropdown > a, .account-dropdown > button { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: start; padding: .36rem .65rem; border-radius: .5rem; font: inherit; font-weight: 650; }
.account-dropdown > a:hover { background: #eef3e9; }
.account-dropdown > [data-logout] { margin-top: .25rem; }
.security-card form, #contact-bio { margin-top: .8rem; }
.security-card .hint { margin-bottom: .7rem; }
.contact-initials { width: 88px; height: 88px; font-size: 1.65rem; }
.contact-profile h2 + p { margin-top: .3rem; }
.contact-pets { display: flex; flex-wrap: wrap; list-style: none; gap: .35rem; padding: 0; margin: .55rem 0; }
.contact-pets li { padding: .18rem .62rem; background: #e6eddf; border-radius: 99px; font-size: .91rem; }
@media (max-width: 580px) {
  .account-menu-name { display: none; }
  .top > nav { position: relative; flex-basis: 100%; }
  .account-menu { position: static; }
}

.section-links { margin-bottom: 1rem; gap: .55rem; }
.section-links a { display: inline-block; padding: .4rem .7rem; background: #edf2e9; border: 1px solid var(--line); border-radius: 99px; }
.plan-layout.single-column { grid-template-columns: minmax(0, 1fr); }
.emergency-contacts { border-left: 3px solid #88a77b; }
.weekday-options { display: flex; gap: .35rem .8rem; flex-wrap: wrap; margin: .5rem 0 0; }
.weekday-options legend { margin-bottom: .35rem; }
.weekday-options label { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; margin: 0; }
.weekday-options input { width: auto; margin: 0; }
.attention-panel:not(.attention-open) { padding-block: .65rem; }
.attention-panel:not(.attention-open) p { color: var(--green); font-weight: 700; }
.attention-open { border-left: 4px solid #a17b41; }
.attention-group h3 { margin-bottom: .45rem; }
.attention-items { list-style: none; padding-left: 0; }
.attention-row-heading { margin-bottom: .25rem; flex-wrap: wrap; }
.attention-row-heading time { font-size: .875rem; }
.task-instructions { margin-top: .35rem; }
.task-supply-photo { display: block; width: auto; max-width: min(100%, 16rem); max-height: 12rem; margin-top: .55rem; border-radius: .65rem; }
.task-photo-editor { margin: .7rem 0; }
#task-photo-preview { width: 5rem; height: 5rem; object-fit: cover; border-radius: .55rem; }
.agenda-list { list-style: none; padding: 0; margin: .75rem 0 0; }
.agenda-list li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .8rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.agenda-list small { display: block; color: var(--muted); }
button.danger { color: #782c27; background: #faeae4; border-color: #e3b9b3; }
button.danger:hover { background: #f3d9d2; }
.checklist-tools { display: flex; justify-content: end; margin-bottom: .65rem; }
.activity-original { margin: .35rem 0; padding-left: .65rem; border-left: 2px solid var(--line); }
.app-utilities { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; border-top: 1px solid var(--line); padding-top: .5rem; }
button.app-feedback-link, button.app-feedback-link:hover { margin-left: auto; padding: .4rem .2rem; border-radius: .35rem; color: var(--green); background: none; text-decoration: underline; }
#attention-list:empty, .admin-list:empty { margin: 0; }
.admin-list { list-style: none; padding-left: 0; }
.admin-list li { border-top: 1px solid var(--line); padding: .65rem 0; overflow-wrap: anywhere; }
.admin-list li > button { margin-top: .4rem; }
.admin-list small { color: var(--muted); }
.inline-form { display: flex; align-items: end; gap: .6rem; flex-wrap: wrap; margin: .7rem 0; }
.inline-form label { margin: 0; }
.admin-metrics { grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); }
.narrow-panel { max-width: 35rem; margin-inline: auto; }
.narrow-panel h2, .recovery-panel h1 { margin-bottom: .7rem; }
.recovery-panel h1 { font-size: clamp(2rem, 6vw, 3.7rem); }
#recovery-form { margin-top: 1rem; }
.account-links { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: .85rem; font-size: .92rem; }
#invite-context, #recovery-context { margin-block: .65rem; font-weight: 750; color: var(--dark); }
.owner-sample { border-left: 4px solid #a17b41; }
.sample-note { margin-block: .7rem .3rem; padding: .5rem .7rem; border-radius: .65rem; background: #f7ecd7; }
.sample-checklist .issue-pill { background: #f7ecd7; }
@media (max-width: 560px) {
  .section-links button, .section-links a { min-height: 44px; }
  .sample-checklist .pill { max-width: 42%; white-space: normal; text-align: center; }
  #owner-invitations .heading { flex-wrap: wrap; }
}

.help-page { display: grid; gap: 1rem; }
.help-page h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin: 0; }
.help-page .lede { margin: 0; }
.help-page .panel { margin: 0; }
.help-search { display: flex; align-items: end; flex-wrap: wrap; gap: .7rem; }
.help-search label { flex: 1 1 12rem; margin: 0; min-width: 0; }
.help-topic ul { list-style: none; padding: 0; margin: .55rem 0 0; }
.help-topic li { border-top: 1px solid var(--line); padding: .6rem 0; }
.help-topic li p { margin-top: .15rem; }
.help-article { display: grid; gap: .85rem; }
.help-article .panel p { white-space: pre-line; }
.help-context { margin-bottom: 1rem; }
