/* Shared web theme: stone surfaces, sage accents and local Inter. Keep Tabler's components. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter/InterVariable.woff2') format('woff2');
}
:root.care-theme {
  --tblr-font-sans-serif: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tblr-body-font-family: var(--tblr-font-sans-serif);
  --tblr-body-font-size: 1rem;
  --tblr-body-line-height: 1.55;
  --tblr-body-bg: #ecefec;
  --tblr-body-bg-rgb: 236, 239, 236;
  --tblr-body-color: #29352f;
  --tblr-body-color-rgb: 41, 53, 47;
  --tblr-heading-color: #29352f;
  --tblr-emphasis-color: #29352f;
  --tblr-secondary: #5d6b63;
  --tblr-secondary-rgb: 93, 107, 99;
  --tblr-secondary-color: #5d6b63;
  --tblr-bg-surface: #fafbf8;
  --tblr-bg-surface-primary: #fafbf8;
  --tblr-bg-surface-secondary: #f1f4f0;
  --tblr-bg-surface-tertiary: #ecefec;
  --tblr-bg-forms: #fafbf8;
  --tblr-border-color: #d8dfd8;
  --tblr-border-color-translucent: rgba(41, 53, 47, .12);
  --tblr-shadow-card: 0 1px 3px rgba(41, 53, 47, .025);
}
.care-theme body { font-optical-sizing: auto; }
.care-theme .care-sidebar,
.care-theme .care-topbar,
.care-theme .care-header { background: #f1f4f0; }
.care-theme .card { --tblr-card-border-color: #d8dfd8; }
.care-theme .page-title { font-size: 1.625rem; font-weight: 600; letter-spacing: -.025em; }
.care-theme .card-title,
.care-theme .modal-title { font-weight: 600; }
.care-theme .form-control,
.care-theme .form-select { font-size: 1rem; border-color: #809187; }
/* Tabler flat inputs are one control: match the adjoining icon's border in every state. */
.care-theme .input-group-flat > .input-group-text { border-color: #809187; }
.care-theme .input-group-flat:focus-within > .form-control,
.care-theme .input-group-flat:focus-within > .input-group-text { border-color: var(--care-ink) !important; }
.care-theme .input-group-flat.is-invalid > .form-control,
.care-theme .input-group-flat.is-invalid > .input-group-text,
.care-theme .input-group-flat:has(> .form-control.is-invalid) > .form-control,
.care-theme .input-group-flat:has(> .form-control.is-invalid) > .input-group-text { border-color: var(--tblr-danger) !important; }
.care-theme .input-group-flat:has(> .form-control.is-invalid):focus-within {
  box-shadow: 0 0 0 .25rem rgba(var(--tblr-danger-rgb), .15);
}
.care-theme .form-control::placeholder { color: #5d6b63; opacity: 1; }
.care-theme .form-control:focus,
.care-theme .form-select:focus { border-color: var(--care-ink); }
.care-theme .form-control.is-invalid,
.care-theme .form-select.is-invalid { border-color: var(--tblr-danger); }
.care-theme .calendar-card {
  --fc-border-color: #d8dfd8;
  --fc-neutral-bg-color: #f1f4f0;
  --fc-today-bg-color: #e8f0e9;
}
.care-theme #calendar-app input,
.care-theme #calendar-app .fc,
.care-theme #calendar-title { font-variant-numeric: tabular-nums; }
@media (max-width: 575px) {
  .care-theme .page-title { font-size: 1.5rem; }
}
