/* Cares4Seniors appearance switch: accessible on all pages, sage and lavender in both modes. */
html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark;
  --ink: #edf5ef;
  --ink-soft: #bdd1c3;
  --sage: #263a30;
  --cream: #121c18;
  --paper: #1b2921;
  --sand: #24332b;
  --terracotta: #dac4fa;
  --border: #415b4a;
  --color-destructive: #ffadb2;
}
.site-header { flex-wrap: wrap; }
.site-header .theme-toggle { flex-shrink: 0; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; min-width: 118px; padding: 9px 14px; border: 1px solid #b9cbbd; border-radius: 999px; background: #f1f0f6; color: #345547; cursor: pointer; font: 700 12px Arial, sans-serif; white-space: nowrap; transition: background-color .18s, border-color .18s; }
.theme-toggle:hover { background: #e6e0f0; border-color: #9f8eb8; }
.theme-toggle-icon { font-size: 19px; line-height: 1; }
.theme-toggle:focus-visible { outline: 3px solid #aa8cdb; outline-offset: 3px; }
@media (max-width: 760px) {
  .site-header .theme-toggle { order: 2; margin-left: auto; }
  .site-header nav { order: 3; }
  .theme-toggle { min-width: 106px; min-height: 42px; padding: 8px 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .theme-toggle { transition: none; } }

/* Text, site chrome, headings and links */
html[data-theme="dark"] body,
html[data-theme="dark"] .site-header { background: var(--cream); color: var(--ink); }
html[data-theme="dark"] .site-header { border-bottom-color: var(--border); }
html[data-theme="dark"] .site-header nav a { color: #e2efe6; }
html[data-theme="dark"] .site-header nav a:hover,
html[data-theme="dark"] .site-header nav a[aria-current="page"] { color: #dec9ff; }
html[data-theme="dark"] .brand-name small { color: #b3cfc0; }
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .tile-no,
html[data-theme="dark"] .document-list article > span,
html[data-theme="dark"] .documents-status { color: #d9c3fb; }
html[data-theme="dark"] h1 em,
html[data-theme="dark"] h2 em { color: #d9c3fb; }
html[data-theme="dark"] .lead,
html[data-theme="dark"] .hero-mini,
html[data-theme="dark"] .hero-no-obligation,
html[data-theme="dark"] .section-heading > p,
html[data-theme="dark"] .fine,
html[data-theme="dark"] .care-tile p,
html[data-theme="dark"] .consult-card p,
html[data-theme="dark"] .consult-card .detail,
html[data-theme="dark"] .steps p,
html[data-theme="dark"] .trust-strip span,
html[data-theme="dark"] .funding-disclaimer,
html[data-theme="dark"] .documents-private p:not(.eyebrow),
html[data-theme="dark"] .package-card p,
html[data-theme="dark"] .pricing-card p,
html[data-theme="dark"] .document-list p,
html[data-theme="dark"] .intake-request-card p:not(.eyebrow),
html[data-theme="dark"] .intake-request-band p:not(.eyebrow),
html[data-theme="dark"] .intake-request-actions .fine,
html[data-theme="dark"] .paperwork-request-actions .fine,
html[data-theme="dark"] .ask-hero-copy > p:not(.eyebrow),
html[data-theme="dark"] .ask-below p,
html[data-theme="dark"] .ask-form-head > p:last-child,
html[data-theme="dark"] .ask-privacy,
html[data-theme="dark"] .ask-status,
html[data-theme="dark"] .hero-price-line span,
html[data-theme="dark"] .quick-trust span,
html[data-theme="dark"] .service-intro p,
html[data-theme="dark"] .info-panel p,
html[data-theme="dark"] .what-next p,
html[data-theme="dark"] .documents-private p,
html[data-theme="dark"] .owner-intro-card p { color: #c0d5c7; }
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .ask-direct a,
html[data-theme="dark"] .ask-extras a { color: #d9c7f2; text-decoration-color: #8d7aa9; }
html[data-theme="dark"] .site-header .theme-toggle,
html[data-theme="dark"] .theme-toggle { background: #33463c; border-color: #7b9a83; color: #f5f7ef; }
html[data-theme="dark"] .theme-toggle:hover { background: #42594b; }
html[data-theme="dark"] .brand-logo { background: #fcfaf7; }

/* Surfaces and panels */
html[data-theme="dark"] .care-tile,
html[data-theme="dark"] .care-tile:nth-child(even),
html[data-theme="dark"] .consult-card,
html[data-theme="dark"] .loading-card,
html[data-theme="dark"] .booking-card,
html[data-theme="dark"] .ask-form-shell,
html[data-theme="dark"] .package-card,
html[data-theme="dark"] .package-card.featured,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .pricing-card.pricing-featured,
html[data-theme="dark"] .document-list article,
html[data-theme="dark"] .documents-placeholder,
html[data-theme="dark"] .care-uses > div { background: #213128; color: #edf5ef; border-color: #46604f; }
html[data-theme="dark"] .owner-intro-card,
html[data-theme="dark"] .funding-section,
html[data-theme="dark"] .funding-disclaimer,
html[data-theme="dark"] .uses-section,
html[data-theme="dark"] .booking-preview,
html[data-theme="dark"] .package-preview,
html[data-theme="dark"] .documents-private,
html[data-theme="dark"] .other-help,
html[data-theme="dark"] .what-next,
html[data-theme="dark"] .booking-fallback,
html[data-theme="dark"] .service-meta span,
html[data-theme="dark"] .consult-card .price,
html[data-theme="dark"] .info-panel,
html[data-theme="dark"] .quick-trust,
html[data-theme="dark"] .hero-price-line { background: #283a2e; color: #edf5ef; border-color: #455a4a; }
html[data-theme="dark"] .pricing-featured,
html[data-theme="dark"] .paperwork-teaser,
html[data-theme="dark"] .intake-request-card,
html[data-theme="dark"] .intake-request-band,
html[data-theme="dark"] .subhero,
html[data-theme="dark"] .ask-hero { background: linear-gradient(115deg, #1d3026 0%, #272535 100%); color: #edf5ef; border-color: #4a4b62; }
html[data-theme="dark"] .ask-below { background: #19281f; color: #edf5ef; }
html[data-theme="dark"] .hero-logo-scene { background: radial-gradient(circle at 52% 47%, #3a3648 0%, #222c26 70%, #18231e 100%); }
html[data-theme="dark"] .hero-logo-caption { color: #f6efff; }
html[data-theme="dark"] .trust-strip { background: #1b2921; border-color: #405847; }
html[data-theme="dark"] .story-block { background: #244536; color: #f2f7ee; }
html[data-theme="dark"] .cta-band { background: #4d4166; color: #f8f4ff; }
html[data-theme="dark"] footer { background: #18281f; color: #e8f0e9; }
html[data-theme="dark"] .simple-footer { background: #233c2e; color: #f0f5eb; }
html[data-theme="dark"] .mini-rule,
html[data-theme="dark"] .trust-strip > i { background: #4a6252; }
html[data-theme="dark"] .family-faq details { border-color: #49614e; }
html[data-theme="dark"] .success-state { background: #25452d; color: #d5f6da; }
html[data-theme="dark"] .hero-price-line strong,
html[data-theme="dark"] .quick-trust strong,
html[data-theme="dark"] .ask-points span { color: #dcf2dd; }

/* Buttons and interactive content */
html[data-theme="dark"] .site-header .nav-cta,
html[data-theme="dark"] .nav-cta,
html[data-theme="dark"] .btn-dark,
html[data-theme="dark"] .book-button { background: #a5cdb1; color: #15271b; }
html[data-theme="dark"] .site-header .nav-cta:hover,
html[data-theme="dark"] .nav-cta:hover,
html[data-theme="dark"] .btn-dark:hover,
html[data-theme="dark"] .book-button:hover:not(:disabled) { background: #c4e2cc; color: #122319; }
html[data-theme="dark"] .btn-cream { background: #394b3c; color: #f1f8ef; }
html[data-theme="dark"] .btn-cream:hover { background: #506553; }
html[data-theme="dark"] .day-button,
html[data-theme="dark"] .time-button,
html[data-theme="dark"] .week-nav { background: #2a3b30; color: #eaf6e9; border-color: #5b7762; }
html[data-theme="dark"] .day-button.selected,
html[data-theme="dark"] .time-button[aria-pressed="true"] { background: #514761; border-color: #b29cca; color: #fff; }
html[data-theme="dark"] .field label,
html[data-theme="dark"] .ask-form-fields .field label { color: #e0f1e2; }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .ask-form-fields input,
html[data-theme="dark"] .ask-form-fields textarea { background: #122118; border: 1px solid #6f8b76; color: #f3f9f3; }
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #b6c7b9; }
html[data-theme="dark"] .ask-direct,
html[data-theme="dark"] .family-faq details { border-color: #4b6753; }

/* Availability table, including disabled/open/closed distinction */
html[data-theme="dark"] .availability-section { background: #1a2a22; }
html[data-theme="dark"] .availability-widget { background: #213229; border-color: #4c6756; color: #eaf5ec; }
html[data-theme="dark"] .av-legend,
html[data-theme="dark"] .av-loading { color: #c8ddcd; }
html[data-theme="dark"] .av-control,
html[data-theme="dark"] .av-segments button { background: #2b4034; color: #e5f4e8; border-color: #73987c; }
html[data-theme="dark"] .av-control.primary { background: #55496b; border-color: #9a84bd; color: #fff; }
html[data-theme="dark"] .av-control:hover:not(:disabled) { background: #3b5745; }
html[data-theme="dark"] .av-segments button.is-active,
html[data-theme="dark"] .av-segments button[aria-pressed="true"] { background: #a28cc9; color: #17201b; border-color: #a28cc9; }
html[data-theme="dark"] .av-table-scroll { background: #182b20; border-color: #4c6b54; }
html[data-theme="dark"] .av-grid th,
html[data-theme="dark"] .av-grid td { border-color: #435a4a; }
html[data-theme="dark"] .av-grid thead th { background: #31483a; color: #ebf7ed; }
html[data-theme="dark"] .av-grid thead th.av-today { background: #4b415e; color: #fff; }
html[data-theme="dark"] .av-grid tbody th { background: #253b2d; color: #e9f2eb; }
html[data-theme="dark"] .av-grid tbody td { background: #213328; color: #eaf4eb; }
html[data-theme="dark"] .av-cell.av-open { background: #244532; }
html[data-theme="dark"] .av-cell.av-open:hover { background: #2b6540; }
html[data-theme="dark"] .av-cell.av-closed { background: #3d272e; }
html[data-theme="dark"] .av-cell.av-unknown { background: #27322c; }
html[data-theme="dark"] .av-extra,
html[data-theme="dark"] .av-more { color: #c6d9c9; }

/* Care services in dark mode */
html[data-theme="dark"] .care-service-shortcuts a,
html[data-theme="dark"] .consult-service-links a { background:#2b4033; border-color:#526c57; color:#e2f3e7; }
html[data-theme="dark"] .care-service-shortcuts a:hover,
html[data-theme="dark"] .consult-service-links a:hover { background:#4b425e; border-color:#9e8ab6; }
html[data-theme="dark"] .care-service-section,
html[data-theme="dark"] .care-service-section:nth-child(even),
html[data-theme="dark"] .care-service-section:last-child { background:#203126; color:#f2f7ee; border-color:#526955; }
html[data-theme="dark"] .care-service-section:nth-child(even) { background:#29283a; border-color:#554e68; }
html[data-theme="dark"] .care-service-section:last-child { background:linear-gradient(115deg,#283c2c,#303043); }
html[data-theme="dark"] .care-service-number { color:#dac7f7; }
html[data-theme="dark"] .care-service-section p,
html[data-theme="dark"] .care-service-section ul,
html[data-theme="dark"] .care-service-note { color:#c7dacc; }
html[data-theme="dark"] .care-service-link { color:#d9c7f8; }
html[data-theme="dark"] .care-service-prompt { background:#273c30; border:1px solid #506a55; color:#f1f8ee; }



/* Holiday consultation request banner in dark mode */
html[data-theme="dark"] .holiday-intakes{background:linear-gradient(120deg,#213529,#322a43);border-color:#526e59;color:#ecf6ee}
html[data-theme="dark"] .holiday-intakes .eyebrow{color:#e0cafd}
html[data-theme="dark"] .holiday-intakes-intro p:not(.eyebrow),html[data-theme="dark"] .holiday-intakes-label{color:#dcf1df}
html[data-theme="dark"] .holiday-intakes-actions{background:#26362d;border-color:#536c59}
html[data-theme="dark"] .holiday-date-links a{background:#344a3a;color:#e6f5e7;border-color:#719078}
html[data-theme="dark"] .holiday-date-links a:hover{background:#514363}
html[data-theme="dark"] .holiday-intakes-footnote,html[data-theme="dark"] .ask-availability-note{color:#c9dbcc}
html[data-theme="dark"] .ask-availability-note{background:#2a4030;border-left-color:#d0b2f2}
html[data-theme="dark"] .ask-form-fields select{background:#122118;color:#f3f9f3;border:1px solid #6f8b76}
