:root {
  --focus: #1d6f5b;
  --attention: #8f3518;
  --attention-bg: #fff1e9;
  --watch: #6b4c05;
  --watch-bg: #fff7d9;
  --success: #205c32;
  --success-bg: #e8f5e8;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #78b7a4;
  outline-offset: 3px;
}
.primary,
.dark-btn {
  background-color: #123d35 !important;
  background-image: linear-gradient(135deg, #164b40, #0f332c) !important;
  color: #fff !important;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.25;
  border: 1px solid currentColor;
}
.status b {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: 9px;
  background: currentColor;
  color: #fff;
}
.status.good {
  background: var(--success-bg);
  color: var(--success);
}
.status.shed {
  background: #eff0fb;
  color: #4c5682;
}
.status.warn {
  background: var(--attention-bg);
  color: var(--attention);
}
.signal-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #173f35;
  color: #fff;
  font-weight: 900;
}
.signal-symbol.warn {
  background: var(--attention);
}
.signal-symbol.shed {
  background: #515f8c;
}
.signal-symbol.good {
  background: var(--success);
}
.dialog-head > button {
  width: auto !important;
  min-width: 64px !important;
  height: 38px !important;
  padding: 0 13px !important;
  border: 1px solid #cbd6ce !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #173f35 !important;
  font-size: 11px !important;
  font-weight: 850;
}
.month-nav button {
  width: auto !important;
  min-width: 112px;
  padding: 0 12px;
  font-size: 9px;
  font-weight: 800;
}
.ask-input-row {
  align-items: stretch;
}
.mobile-menu {
  width: auto !important;
  padding: 8px 10px !important;
  font-size: 11px !important;
  font-weight: 850;
}
.task-empty {
  padding: 24px 10px;
  text-align: center;
}
.task-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.task input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.task:focus-within {
  outline: 3px solid #78b7a4;
  outline-offset: 2px;
  border-radius: 10px;
}
.insight-highlight small,
.insight-highlight strong {
  display: block;
}
.insight-highlight small {
  margin-bottom: 5px;
  color: #6d5449;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.insight-highlight.signal-attention {
  background: var(--attention-bg);
  border-color: #edbca9;
  color: #722c14;
}
.insight-highlight.signal-watch {
  background: var(--watch-bg);
  border-color: #e9d58e;
  color: #584006;
}
.insight-highlight.signal-info {
  background: var(--success-bg);
  border-color: #bcd9c0;
  color: #214f31;
}
.signal-evidence-mini {
  display: grid;
  gap: 6px;
  margin: 15px 0;
}
.signal-evidence-mini > strong {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.signal-evidence-mini button {
  border: 0;
  border-radius: 8px;
  background: #f1f5ef;
  padding: 8px 10px;
  color: #385047;
  text-align: left;
  font-size: 9px;
}
.signal-evidence-mini p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}
.signal-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.care-signal {
  padding: 18px;
  border: 1px solid #dce4dc;
  border-left: 5px solid #3f7950;
  border-radius: 15px;
  background: #fff;
}
.care-signal.signal-attention {
  border-left-color: var(--attention);
  background: #fffbf9;
}
.care-signal.signal-watch {
  border-left-color: #8d6a15;
  background: #fffdf5;
}
.care-signal-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.care-signal-head small {
  color: #5d6e65;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.care-signal h4 {
  margin: 4px 0 0;
  font-size: 14px;
}
.care-signal > p {
  margin: 12px 0;
  color: #46584f;
  font-size: 11px;
  line-height: 1.6;
}
.signal-evidence {
  display: grid;
  gap: 6px;
  padding-top: 11px;
  border-top: 1px solid #e8ede8;
}
.signal-evidence > strong,
.signal-next > strong {
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.signal-evidence button {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  background: #f5f7f4;
  padding: 8px 10px;
  color: #34463f;
  text-align: left;
  font-size: 9px;
}
.signal-evidence button span {
  color: #50665c;
  font-weight: 850;
}
.signal-next {
  margin-top: 10px;
  padding: 11px;
  border-radius: 10px;
  background: #edf5eb;
}
.signal-next p {
  margin: 4px 0 0;
  font-size: 9px;
  line-height: 1.5;
}
.care-memory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 15px;
  background: #123d35;
  color: #fff;
}
.care-memory > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  column-gap: 8px;
}
.care-memory > div > span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--lime);
  color: #173f35;
  font-size: 10px;
  font-weight: 900;
}
.care-memory strong {
  font-size: 9px;
}
.care-memory small {
  color: #c8d9d3;
  font-size: 7px;
}
.care-memory i {
  color: var(--lime);
  font-style: normal;
}
.profile-baseline,
.profile-photo-strip {
  margin: 0 28px 24px;
  padding: 20px;
  border: 1px solid #e0e8e1;
  border-radius: 17px;
  background: #fbfcf9;
}
.baseline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 15px 0;
}
.baseline-grid > div {
  padding: 12px;
  border-radius: 11px;
  background: #f0f5ef;
}
.baseline-grid strong {
  font-size: 9px;
}
.baseline-grid p {
  margin: 5px 0 0;
  color: #465b51;
  font-size: 9px;
  line-height: 1.55;
}
.profile-baseline > a {
  color: #174c3c;
  font-size: 9px;
  font-weight: 850;
}
.verification-badge {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff3ce;
  color: #684a04;
  font-size: 8px;
  font-weight: 900;
}
.template-caution {
  margin: 12px 0 0;
  color: #66756d;
  font-size: 8px;
}
.profile-photo-strip > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.profile-photo-strip img {
  width: 100%;
  height: 92px;
  border-radius: 11px;
  object-fit: cover;
}
.profile-photo-strip button {
  border: 0;
  background: none;
  color: #174c3c;
  font-size: 9px;
  font-weight: 850;
}
.species-template-preview {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #cadbcd;
  border-radius: 12px;
  background: #f2f8f1;
}
.species-template-preview > strong {
  font-size: 10px;
}
.species-template-preview > p {
  margin: 5px 0;
  color: #5c6c64;
  font-size: 9px;
}
.template-heading {
  display: flex;
  gap: 9px;
  align-items: center;
}
.template-heading > span {
  color: #39725d;
}
.template-heading strong,
.template-heading small {
  display: block;
}
.template-heading small {
  margin-top: 3px;
  color: #5e7067;
  font-size: 8px;
}
.species-template-preview ul {
  margin: 12px 0;
  padding-left: 18px;
  color: #3d5148;
  font-size: 9px;
  line-height: 1.55;
}
.species-template-preview label {
  display: flex !important;
  gap: 7px;
  align-items: flex-start;
  padding-top: 10px;
  border-top: 1px solid #d8e4d8;
  font-size: 9px !important;
  line-height: 1.45;
}
.species-template-preview input {
  flex: 0 0 auto;
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
}
.secondary-action {
  border: 1px solid #9eb6a8 !important;
  background: #fff !important;
  color: #123d35 !important;
  box-shadow: none !important;
}
.secondary-action:hover {
  background: #edf5ef !important;
}
.export-dialog {
  width: min(760px, 94vw);
  max-height: 90vh;
}
.export-dialog form {
  display: grid;
  gap: 18px;
  padding: 28px;
  max-height: 90vh;
  overflow: auto;
}
.export-dialog h2 {
  margin: 4px 0 0;
}
.export-dialog fieldset,
.handoff-compose fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.export-dialog legend,
.handoff-compose legend {
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 900;
}
.export-pet-options,
.export-section-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.export-pet-options label,
.export-section-options label {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid #c9d7cc;
  border-radius: 10px;
  background: #fff;
  color: #233a31;
  font-size: 9px;
  font-weight: 800;
}
.export-pet-options input,
.export-section-options input,
.export-record-choices input {
  width: 15px;
  height: 15px;
}
.record-choice-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.record-choice-toolbar button {
  border: 1px solid #c5d3c9;
  border-radius: 8px;
  background: #fff;
  padding: 7px 9px;
  color: #294b3f;
  font-size: 8px;
  font-weight: 850;
}
.record-choice-toolbar span {
  margin-left: auto;
  color: #53665c;
  font-size: 9px;
}
.export-record-choices {
  display: grid;
  gap: 5px;
  max-height: 260px;
  overflow: auto;
  padding: 4px;
}
.export-record-choices > label {
  display: grid;
  grid-template-columns: 18px 28px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dbe4dc;
  border-radius: 10px;
  background: #fafbf8;
}
.record-choice-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: #eaf2e8;
}
.export-record-choices strong,
.export-record-choices small {
  display: block;
}
.export-record-choices strong {
  font-size: 9px;
}
.export-record-choices small {
  margin-top: 3px;
  color: #5d7067;
  font-size: 8px;
  line-height: 1.4;
}
.handoff-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.7fr) minmax(0, 1.3fr);
  gap: 22px;
}
.handoff-compose {
  height: max-content;
}
.handoff-compose form {
  display: grid;
  gap: 18px;
}
.handoff-compose label {
  font-size: 10px;
  font-weight: 850;
}
.handoff-compose input {
  height: 43px;
  margin-top: 7px;
  padding: 0 11px;
}
.handoff-compose textarea {
  min-height: 96px;
  margin-top: 7px;
}
.form-help {
  margin: 0;
  text-align: center;
  color: #5d6e66;
  font-size: 8px;
}
.handoff-preview {
  min-height: 520px;
}
.handoff-empty {
  display: grid;
  place-content: center;
  min-height: 460px;
  text-align: center;
  color: #61746a;
}
.handoff-empty > span {
  font-size: 38px;
  color: #356f5b;
}
.handoff-empty h3 {
  margin: 12px 0 5px;
  color: #203f34;
}
.handoff-empty p {
  max-width: 330px;
  font-size: 10px;
  line-height: 1.55;
}
.handoff-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e3e9e3;
}
.handoff-editor-head h3 {
  margin: 5px 0;
}
.handoff-editor-head p {
  margin: 0;
  color: #53675d;
  font-size: 9px;
}
.handoff-emergency {
  margin: 16px 0;
  padding: 13px;
  border: 1px solid #e4c5aa;
  border-radius: 12px;
  background: #fff8ee;
}
.handoff-emergency strong {
  font-size: 9px;
}
.handoff-emergency textarea {
  min-height: 68px;
  margin-top: 7px;
  border-color: #dcc8b8;
  background: #fff;
}
.handoff-task {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 17px 0;
  border-bottom: 1px solid #e6ebe6;
}
.handoff-task-number {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #173f35;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.handoff-task-fields > label {
  font-size: 9px;
  font-weight: 850;
}
.handoff-task-fields input {
  height: 38px;
  margin-top: 6px;
  padding: 0 9px;
}
.handoff-task-fields textarea {
  min-height: 70px;
  margin-top: 6px;
}
.handoff-reason {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 9px;
  padding: 9px;
  border-radius: 9px;
  background: #f1f5ef;
  font-size: 8px;
}
.handoff-reason small {
  width: 100%;
  color: #53685e;
}
.verify-check {
  display: flex !important;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #d2ded5;
  border-radius: 9px;
  background: #fff;
  font-size: 9px !important;
}
.verify-check input {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
}
.handoff-verification {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.handoff-verification p {
  flex: 1;
  margin: 0;
  color: #425a50;
  font-size: 9px;
  font-weight: 850;
}
.handoff-verification button {
  width: auto;
}
.handoff-verification button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.calendar-stats .stat-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}
.calendar-stats p {
  font-size: 9px;
}
.calendar-stats strong {
  font-size: 18px;
}
.calendar-toolbar {
  gap: 16px;
}
.event {
  color: #27443a;
}
.day[aria-label] {
  position: relative;
}
.day:focus-visible {
  z-index: 2;
}
.profile-view-btn,
.dark-btn,
.primary,
.full-btn,
.record-edit-btn {
  min-height: 42px;
}
.nav-item small {
  line-height: 1.3;
}
@media (max-width: 980px) {
  .handoff-layout {
    grid-template-columns: 1fr;
  }
  .care-memory {
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
  }
  .baseline-grid {
    grid-template-columns: 1fr;
  }
  .calendar-toolbar {
    align-items: flex-start;
  }
  .month-nav {
    flex-wrap: wrap;
  }
  .month-nav h3 {
    order: -1;
    width: 100%;
    text-align: left;
  }
  .page-intro.row {
    gap: 15px;
    align-items: flex-start;
  }
}
@media (max-width: 720px) {
  .care-memory {
    grid-template-columns: 1fr;
  }
  .care-memory > i {
    transform: rotate(90deg);
    text-align: center;
  }
  .profile-baseline,
  .profile-photo-strip {
    margin: 0 20px 20px;
  }
  .profile-photo-strip img {
    height: 76px;
  }
  .export-dialog form {
    padding: 20px;
  }
  .record-choice-toolbar {
    flex-wrap: wrap;
  }
  .record-choice-toolbar span {
    width: 100%;
    margin-left: 0;
  }
  .handoff-verification {
    align-items: stretch;
  }
  .handoff-verification p {
    width: 100%;
    flex-basis: 100%;
  }
  .handoff-verification button {
    width: 100%;
  }
  .calendar-toolbar {
    display: grid;
  }
  .calendar-filters {
    overflow: auto;
    max-width: 100%;
    padding-bottom: 4px;
  }
  .month-nav button {
    min-width: 102px;
  }
  .signal-evidence button {
    grid-template-columns: 1fr;
  }
  .page-intro.row .secondary-action {
    width: 100%;
  }
}

:root {
  --muted: #52645b;
  --soft-ink: #3d5148;
  font-family: Inter, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}
body,
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 14px;
}
h1,
h2,
h3,
h4,
.hero h2,
.section-head h2,
.page-intro h2,
.auth-card h2,
.login-brand:after {
  font-family: inherit;
}
.eyebrow {
  color: #416b5b;
  font-size: 10px;
  line-height: 1.4;
}
.section-head p,
.page-intro p {
  max-width: 650px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.section-head {
  align-items: flex-end;
}
.panel-head h3 {
  margin-top: 7px;
  font-size: 19px;
}
.count-pill,
.status {
  font-size: 11px;
}
.text-btn {
  min-height: 40px;
  font-size: 13px;
}
.nav-label {
  font-size: 10px;
}
.nav-copy {
  font-size: 14px;
  line-height: 1.2;
}
.nav-copy small {
  margin-top: 4px;
  color: #71817a;
  font-size: 11px;
  line-height: 1.3;
}
.nav-new {
  font-size: 9px !important;
}
.brand small,
.user-row small {
  font-size: 10px;
}
.user-row > span:nth-child(2) {
  font-size: 14px;
}
.hero p {
  font-size: 15px;
  line-height: 1.6;
}
.hero .progress {
  margin-top: 25px;
}
.dashboard-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
}
.pet-card-compact {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 24px;
}
.pet-card-compact h3 {
  margin: 18px 0 4px;
  font-size: 22px;
}
.pet-card-compact > p:not(.pet-signal-copy) {
  font-size: 13px;
}
.pet-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.pet-summary > span {
  padding: 12px;
  border: 1px solid #e6ebe5;
  border-radius: 12px;
  background: #fafbf8;
}
.pet-summary small,
.pet-summary strong {
  display: block;
}
.pet-summary small {
  color: #71817a;
  font-size: 10px;
}
.pet-summary strong {
  margin-top: 5px;
  font-size: 13px;
}
.pet-signal-copy {
  min-height: 38px;
  margin: 13px 0 0 !important;
  color: #42554c !important;
  font-size: 12px !important;
  line-height: 1.55;
}
.card-link {
  margin-top: auto;
  padding-top: 14px;
  color: #174c3c;
  font-size: 12px;
  font-weight: 850;
}
.task {
  min-height: 66px;
}
.task strong {
  font-size: 13px;
  line-height: 1.4;
}
.task small {
  font-size: 11px;
  line-height: 1.45;
}
.task-empty p,
.signal-evidence-mini p {
  font-size: 12px;
  line-height: 1.55;
}
.timeline-row {
  min-height: 66px;
}
.timeline-row strong {
  font-size: 13px;
}
.timeline-row p {
  font-size: 12px;
  line-height: 1.45;
}
.timeline-type,
.timeline-row time {
  font-size: 10px;
}
.insight-highlight strong {
  font-size: 14px;
  line-height: 1.4;
}
.insight-highlight p {
  font-size: 12px;
  line-height: 1.55;
}
.signal-evidence-mini > strong {
  font-size: 10px;
}
.signal-evidence-mini button {
  font-size: 11px;
  line-height: 1.45;
}
.dark-btn,
.primary,
.full-btn,
.profile-view-btn {
  font-size: 13px;
}
.field > label,
.form-grid label,
#petForm label,
.auth-form label,
.photo-form label,
.notification-form label {
  font-size: 13px;
}
.field > small,
.form-help,
.account-help {
  font-size: 11px;
  line-height: 1.5;
}
textarea,
input,
select {
  font-size: 14px;
}
.pet-chip span:nth-of-type(2) {
  font-size: 12px;
}
.pet-chip small {
  font-size: 10px;
}
.preview-record strong {
  font-size: 12px;
}
.preview-record p {
  font-size: 11px;
  line-height: 1.45;
}
.preview-record small,
.preview-note {
  font-size: 10px;
}
.empty-preview p,
.calendar-detail-empty p,
.handoff-empty p {
  font-size: 13px;
  line-height: 1.6;
}
.report-title {
  align-items: flex-start;
  gap: 20px;
}
.report-title h3 {
  margin: 7px 0 8px;
  font-size: 24px;
  line-height: 1.2;
}
.report-title p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 13px;
  line-height: 1.6;
}
.signal-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}
.signal-label b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  color: #fff;
}
.signal-label.signal-attention {
  background: var(--attention-bg);
  color: var(--attention);
}
.signal-label.signal-watch {
  background: var(--watch-bg);
  color: var(--watch);
}
.signal-label.signal-info {
  background: var(--success-bg);
  color: var(--success);
}
.priority-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 14px;
  margin-top: 22px;
}
.priority-evidence > div {
  min-width: 0;
}
.priority-evidence > div > strong,
.signal-next > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.priority-evidence button {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #f3f6f2;
  color: #31473e;
  text-align: left;
  font-size: 11px;
  line-height: 1.45;
}
.priority-evidence button span {
  display: block;
  margin-bottom: 3px;
  color: #5f7469;
  font-size: 10px;
  font-weight: 850;
}
.priority-evidence .signal-next {
  margin: 0;
  padding: 15px;
}
.priority-evidence .signal-next p {
  font-size: 12px;
}
.evidence-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.other-signals {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5eae5;
}
.signal-summary {
  border: 1px solid #dfe6df;
  border-radius: 12px;
  background: #fff;
}
.signal-summary summary {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}
.signal-summary summary::-webkit-details-marker {
  display: none;
}
.signal-summary summary small,
.signal-summary summary strong {
  display: block;
}
.signal-summary summary small {
  color: #64766d;
  font-size: 10px;
}
.signal-summary summary strong {
  margin-top: 3px;
  font-size: 12px;
}
.signal-summary .signal-symbol {
  width: 30px;
  height: 30px;
}
.summary-action {
  color: #315f4c;
  font-size: 11px;
  font-weight: 850;
}
.signal-summary > div {
  padding: 0 14px 14px 58px;
}
.signal-summary > div p {
  color: #52645b;
  font-size: 12px;
  line-height: 1.55;
}
.signal-summary > div > strong {
  font-size: 10px;
  text-transform: uppercase;
}
.signal-summary > div button {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: #f3f6f2;
  color: #385047;
  text-align: left;
  font-size: 10px;
}
.care-memory-compact {
  padding: 14px;
}
.care-memory-compact strong {
  font-size: 11px;
}
.care-memory-compact small {
  font-size: 9px;
}
.safety-card p,
.ask-answer > p {
  font-size: 12px;
  line-height: 1.6;
}
.ai-connection {
  font-size: 10px;
}
.ask-answer li,
.personalized-note p {
  font-size: 11px;
}
.ai-safety-note {
  font-size: 10px;
  line-height: 1.5;
}
.handoff-layout {
  grid-template-columns: minmax(300px, 0.64fr) minmax(0, 1.36fr);
}
.handoff-compose label {
  font-size: 12px;
}
.handoff-compose input {
  font-size: 13px;
}
.handoff-editor-head h3 {
  font-size: 21px;
}
.handoff-editor-head p {
  font-size: 12px;
  line-height: 1.55;
}
.handoff-emergency {
  margin: 16px 0;
  padding: 13px;
}
.handoff-emergency summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}
.handoff-emergency textarea {
  font-size: 12px;
}
.handoff-task {
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 18px 0;
}
.handoff-task-number {
  font-size: 12px;
}
.handoff-task-fields > label {
  font-size: 12px;
}
.handoff-task-fields input {
  font-size: 12px;
}
.handoff-task-fields textarea {
  min-height: 58px;
  font-size: 12px;
}
.handoff-reason {
  display: block;
  margin-top: 10px;
  padding: 0;
  border: 1px solid #e1e7e1;
  background: #f7f9f6;
  font-size: 11px;
}
.handoff-reason summary {
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 800;
}
.handoff-reason strong,
.handoff-reason span,
.handoff-reason small {
  display: block;
  padding: 0 12px;
}
.handoff-reason strong {
  font-size: 11px;
}
.handoff-reason span {
  margin-top: 4px;
  color: #465a50;
}
.handoff-reason small {
  width: auto;
  margin: 5px 0 11px;
  color: #65766e;
  font-size: 10px;
}
.verify-check {
  font-size: 11px !important;
  line-height: 1.45;
}
.handoff-verification p {
  font-size: 11px;
}
.profile-kicker {
  font-size: 10px;
}
.profile-identity p {
  font-size: 12px;
}
.profile-entry-count small {
  font-size: 9px;
}
.profile-body dt {
  font-size: 9px;
}
.profile-body dd {
  font-size: 11px;
}
.profile-latest small {
  font-size: 9px;
}
.profile-latest strong {
  font-size: 11px;
}
.profile-view-btn {
  font-size: 12px;
}
.profile-dialog-name p {
  font-size: 12px;
}
.profile-dialog-stats span,
.profile-health-note span {
  font-size: 9px;
}
.profile-dialog-stats strong {
  font-size: 12px;
}
.profile-health-note h3 {
  font-size: 13px;
}
.profile-record-row strong {
  font-size: 12px;
}
.profile-record-row small {
  font-size: 10px;
}
.baseline-grid strong {
  font-size: 11px;
}
.baseline-grid p {
  font-size: 11px;
}
.verification-badge,
.template-caution,
.profile-baseline > a,
.profile-photo-strip button {
  font-size: 10px;
}
.species-template-preview > strong {
  font-size: 12px;
}
.species-template-preview > p,
.species-template-preview ul,
.species-template-preview label {
  font-size: 11px !important;
}
.template-heading small {
  font-size: 10px;
}
.calendar-stats p {
  font-size: 11px;
}
.calendar-stats strong {
  font-size: 20px;
}
.weekdays span {
  font-size: 11px;
}
.day > span {
  font-size: 11px;
}
.event {
  font-size: 9px;
}
.calendar-record-copy strong {
  font-size: 13px;
}
.calendar-record-copy p {
  font-size: 12px;
}
.calendar-record-copy small {
  font-size: 10px;
}
.record-edit-btn {
  font-size: 11px;
}
.export-dialog legend {
  font-size: 12px;
}
.export-pet-options label,
.export-section-options label {
  font-size: 11px;
}
.export-record-choices strong {
  font-size: 11px;
}
.export-record-choices small {
  font-size: 10px;
}
.record-choice-toolbar button,
.record-choice-toolbar span {
  font-size: 10px;
}
@media (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .priority-evidence {
    grid-template-columns: 1fr;
  }
  .handoff-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .hero p {
    font-size: 13px;
  }
  .pet-grid {
    grid-template-columns: 1fr;
  }
  .pet-card-compact {
    min-height: 0;
  }
  .report-title {
    display: grid;
  }
  .signal-label {
    width: max-content;
  }
  .signal-summary > div {
    padding-left: 14px;
  }
  .handoff-task {
    grid-template-columns: 30px 1fr;
  }
  .handoff-task .form-grid {
    grid-template-columns: 1fr;
  }
  .profile-dialog-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.collection-empty {
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  min-height: 250px;
  padding: 42px 28px;
  border: 1px dashed #c9d7cd;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.collection-empty > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #e5efe2;
  color: #245343;
  font-size: 24px;
  font-weight: 800;
}
.collection-empty strong {
  margin-top: 16px;
  color: #173f35;
  font-size: 18px;
}
.collection-empty p {
  max-width: 430px;
  margin: 8px 0 20px;
  color: #687970;
  font-size: 12px;
  line-height: 1.6;
}
.selector-empty {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px;
  border: 1px dashed #ccd8ce;
  border-radius: 11px;
  background: #f6f8f4;
}
.selector-empty strong {
  color: #365047;
  font-size: 11px;
}
.selector-empty span {
  color: #74837b;
  font-size: 10px;
}
.profile-empty {
  min-height: 390px;
}

.ai-care-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 6px;
  margin-bottom: 20px;
  padding: 5px;
  border-radius: 12px;
  background: #e9eee8;
}
.ai-care-switcher button {
  min-height: 42px;
  padding: 11px 20px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #66756e;
  font-size: 11px;
  font-weight: 800;
}
.ai-care-switcher button.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 3px 9px #d9dfd8;
}
.ai-mode-panel[hidden] {
  display: none;
}
.ai-question-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.38fr) minmax(0, 1.62fr);
  gap: 18px;
  align-items: stretch;
}
.care-review-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}
.ai-question-history,
.ai-question-workspace,
.care-review-compose,
.care-review-result {
  padding: 26px;
}
.ai-question-layout > .panel {
  min-height: 580px;
}
.care-review-layout > .panel {
  min-height: 610px;
}
.ai-product-card {
  background: #fff !important;
  color: #1c2b26 !important;
}
.ai-product-card .ai-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.ai-product-card .ai-card-heading .spark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #e5efe2;
  color: #235343;
  font-size: 17px;
}
.ai-product-card h3 {
  margin: 8px 0 7px;
  color: #173f35;
  font-size: 21px;
  line-height: 1.25;
}
.ai-product-card > p,
.ai-card-copy {
  margin: 0;
  color: #66776e !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}
.ai-question-workspace {
  display: flex;
  flex-direction: column;
}
.ai-question-workspace .quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 12px;
}
.ai-question-workspace .quick-questions button {
  width: auto !important;
  min-height: 36px;
  padding: 8px 11px !important;
  border: 1px solid #d5e0d6 !important;
  border-radius: 999px !important;
  background: #f1f5ef !important;
  color: #315446 !important;
  font-size: 10px !important;
}
.ai-question-workspace .quick-questions button:hover {
  border-color: #96b5a4 !important;
  background: #e7efe4 !important;
}
.ai-question-workspace .ask-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
}
.ai-question-workspace .ask-input-row textarea {
  display: block;
  width: 100%;
  min-height: 76px;
  padding: 13px;
  border: 1px solid #cad7ce;
  border-radius: 12px;
  background: #fbfcfa;
  color: #213a31;
  font-size: 12px;
  line-height: 1.55;
  resize: vertical;
}
.ai-question-workspace .ask-input-row button {
  width: 100% !important;
  min-height: 76px;
  border-radius: 11px !important;
  background: var(--green) !important;
  color: #fff !important;
  font-size: 11px !important;
}
.ask-shortcut {
  display: block;
  margin-top: 7px;
  color: #7a8981;
  font-size: 9px;
  text-align: right;
}
.ai-question-conversation {
  display: grid;
  flex: 1;
  min-height: 220px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid #e0e7e0;
  border-radius: 15px;
  background: #fbfcfa;
}
.ai-question-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 176px;
  text-align: center;
}
.ai-question-empty > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #e7efe4;
  color: #315f4d;
  font-size: 20px;
  font-weight: 900;
}
.ai-question-empty h3 {
  max-width: 420px;
  margin: 16px 0 7px;
  color: #173f35;
  font-size: 19px;
}
.ai-question-empty > p {
  max-width: 410px;
  margin: 0;
  color: #687970;
  font-size: 12px;
  line-height: 1.6;
}
.ai-result-boundary {
  display: grid;
  gap: 3px;
  width: min(100%, 420px);
  margin-top: 22px;
  padding: 12px;
  border-radius: 11px;
  background: #f2f6ef;
}
.ai-result-boundary strong {
  color: #315446;
  font-size: 10px;
  text-transform: uppercase;
}
.ai-result-boundary span {
  color: #687970;
  font-size: 10px;
}
.ai-question-workspace .ask-answer {
  display: block;
  min-height: 176px;
  max-height: 390px;
  margin: 0;
  padding: 4px;
  background: transparent;
  color: #31483e !important;
  overflow: auto;
}
.ai-question-workspace .ask-answer.hidden {
  display: none;
}
.ai-question-workspace .ask-answer.loading,
.ai-question-workspace .ask-answer.error {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}
.ai-question-workspace .ask-answer > p,
.ai-question-workspace .ask-answer li,
.ai-question-workspace .personalized-note p {
  font-size: 12px;
  line-height: 1.65;
}
.ai-question-workspace .ai-answer-head {
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e1e8e1;
}
.ai-question-workspace .ai-answer-head span,
.ai-question-workspace .ai-answer-head strong {
  display: block;
}
.ai-question-workspace .ai-answer-head span {
  margin-bottom: 7px;
  color: #3e6b5a;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.ai-question-workspace .ai-answer-head strong {
  color: #173f35;
  font-size: 21px;
  line-height: 1.3;
}
.ai-question-workspace .personalized-note {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: #f1f6ef;
}
.ai-answer-sources {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #e1e8e1;
}
.ai-answer-sources > strong {
  color: #3e6b5a;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ai-answer-sources a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid #dce5dc;
  border-radius: 9px;
  background: #f4f7f2;
  color: #274a3d;
  text-decoration: none;
}
.ai-answer-sources a:hover {
  border-color: #a9c1b2;
  background: #edf3ea;
}
.ai-answer-sources a span {
  font-size: 10px;
  font-weight: 800;
}
.ai-answer-sources a small {
  flex: 0 0 auto;
  color: #687970;
  font-size: 8px;
}
.ai-question-history {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.question-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.question-history-head h3 {
  margin: 7px 0 0;
  color: #173f35;
  font-size: 19px;
}
.question-history-head button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #cad8ce;
  border-radius: 11px;
  background: #edf3ea;
  color: #17483c;
  font-size: 20px;
  font-weight: 700;
}
.ai-question-history > p {
  margin: 8px 0 20px;
  color: #687970;
  font-size: 11px;
  line-height: 1.5;
}
.question-history-list {
  display: grid;
  align-content: start;
  gap: 7px;
  flex: 1;
  max-height: 455px;
  overflow: auto;
}
.question-history-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #f4f7f2;
  color: #263e35;
  text-align: left;
}
.question-history-item > span:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #e0ebdd;
  color: #2e5d4b;
  font-weight: 900;
}
.question-history-item strong,
.question-history-item small {
  display: block;
}
.question-history-item strong {
  overflow: hidden;
  color: #294239;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.question-history-item small {
  margin-top: 4px;
  color: #78877f;
  font-size: 8px;
}
.question-history-item:hover,
.question-history-item.active {
  border-color: #b8cdbf;
  background: #eaf1e7;
}
.question-history-empty {
  display: grid;
  justify-items: center;
  padding: 42px 12px;
  border: 1px dashed #d4dfd6;
  border-radius: 12px;
  color: #6c7d74;
  text-align: center;
}
.question-history-empty > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #e7efe4;
  color: #315f4d;
  font-weight: 900;
}
.question-history-empty strong {
  color: #365047;
  font-size: 10px;
}
.question-history-empty small {
  margin-top: 4px;
  font-size: 8px;
}
.question-history-note {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 11px;
  background: #f0f4ef;
}
.question-history-note strong {
  color: #365047;
  font-size: 9px;
}
.question-history-note span {
  color: #718078;
  font-size: 8px;
  line-height: 1.5;
}
.review-safety-framework ul,
.review-action-grid ul {
  margin: 0;
  padding-left: 18px;
}
.review-safety-framework li,
.review-action-grid li {
  margin: 8px 0;
  color: #4f6259;
  font-size: 12px;
  line-height: 1.5;
}
.care-review-compose form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}
.care-review-compose label,
.review-period-fieldset legend {
  color: #253b33;
  font-size: 10px;
  font-weight: 850;
}
.care-review-compose select,
.care-review-compose input {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 7px;
  padding: 0 12px;
  border: 1px solid #cad7ce;
  border-radius: 11px;
  background: #fbfcfa;
  color: #213a31;
  font-size: 11px;
  font-weight: 700;
}
.care-review-compose .form-grid {
  gap: 10px;
}
.review-period-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.review-period-fieldset legend {
  margin-bottom: 8px;
}
.review-range-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 4px;
  border-radius: 11px;
  background: #edf1eb;
}
.review-range-options button {
  min-height: 34px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #5f6f67;
  font-size: 9px;
  font-weight: 800;
}
.review-range-options button.active {
  border-color: #ccd8ce;
  background: #fff;
  color: #173f35;
  box-shadow: 0 3px 10px rgba(23, 63, 53, 0.08);
}
.care-review-scope {
  min-height: 70px;
  padding: 13px;
  border: 1px solid #d9e3da;
  border-radius: 12px;
  background: #f5f8f3;
}
.care-review-scope > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.care-review-scope strong,
.care-review-scope span {
  display: block;
}
.care-review-scope strong {
  font-size: 11px;
}
.care-review-scope > span,
.care-review-scope > div:first-child span {
  color: #6a7a71;
  font-size: 9px;
}
.care-review-scope.empty,
.care-review-scope.invalid {
  display: grid;
  align-content: center;
  gap: 4px;
  border-color: #ead6c4;
  background: #fff8f0;
}
.review-scope-types {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.review-scope-types span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #e2ece1;
  color: #355548;
  font-size: 8px;
  font-weight: 800;
}
.review-safety-framework {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #123d35;
  color: #fff;
}
.review-safety-framework > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-safety-framework > div > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b9e976;
  color: #173f35;
  font-weight: 900;
}
.review-safety-framework strong,
.review-safety-framework p {
  display: block;
  margin: 0;
}
.review-safety-framework strong {
  font-size: 11px;
}
.review-safety-framework p {
  margin-top: 2px;
  color: #c9d9d3;
  font-size: 9px;
}
.review-safety-framework ul {
  padding-left: 17px;
}
.review-safety-framework li {
  margin: 5px 0;
  color: #dbe8e2;
  font-size: 9px;
}
.care-review-result {
  min-height: 610px;
}
.care-review-empty,
.care-review-loading,
.care-review-error {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 540px;
  text-align: center;
}
.care-review-empty > span,
.care-review-error > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #e7efe4;
  color: #315f4d;
  font-size: 21px;
  font-weight: 900;
}
.care-review-empty h3,
.care-review-loading h3,
.care-review-error h3 {
  margin: 15px 0 6px;
  font-size: 18px;
}
.care-review-empty p,
.care-review-loading p,
.care-review-error p {
  max-width: 370px;
  margin: 0;
  color: #687970;
  font-size: 12px;
  line-height: 1.6;
}
.care-review-error > span {
  background: var(--attention-bg);
  color: var(--attention);
}
.care-review-error small {
  max-width: 390px;
  margin-top: 10px;
  color: #7b675e;
  font-size: 10px;
}
.review-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.review-result-head h3 {
  margin: 7px 0;
  font-size: 24px;
  line-height: 1.2;
}
.review-result-head p {
  margin: 0;
  color: #566960;
  font-size: 12px;
  line-height: 1.6;
}
.review-signal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}
.review-signal b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  color: #fff;
}
.review-signal.insufficient {
  background: #f1f3ef;
  color: #596861;
}
.review-signal.clear {
  background: var(--success-bg);
  color: var(--success);
}
.review-signal.monitor {
  background: var(--watch-bg);
  color: var(--watch);
}
.review-signal.attention {
  background: var(--attention-bg);
  color: var(--attention);
}
.review-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 23px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8e2;
}
.review-result-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f0f4ef;
  color: #52665c;
  font-size: 9px;
  font-weight: 750;
  text-transform: capitalize;
}
.review-findings {
  display: grid;
  gap: 10px;
}
.review-finding {
  display: grid;
  grid-template-columns: minmax(150px, 0.78fr) minmax(0, 1.22fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid #e0e6df;
  border-radius: 13px;
  background: #fbfcfa;
}
.review-finding > div:first-child > span {
  color: #315f4d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-finding p {
  margin: 6px 0 0;
  color: #3e5148;
  font-size: 11px;
  line-height: 1.55;
}
.review-evidence strong {
  display: block;
  margin-bottom: 5px;
  color: #61736a;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-evidence button {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 8px 9px;
  border: 0;
  border-radius: 8px;
  background: #edf3ec;
  color: #334b41;
  text-align: left;
  font-size: 9px;
  line-height: 1.45;
}
.review-evidence button span {
  display: block;
  margin-bottom: 2px;
  color: #577066;
  font-size: 8px;
  font-weight: 850;
}
.review-no-findings {
  margin: 0;
  padding: 15px;
  border-radius: 11px;
  background: #f3f6f1;
  color: #607168;
  font-size: 11px;
}
.review-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.review-action-grid section {
  padding: 14px;
  border-radius: 13px;
  background: #f3f6f1;
}
.review-action-grid section:last-child {
  background: #edf5eb;
}
.review-action-grid p {
  margin: 9px 0 0;
  color: #556860;
  font-size: 10px;
  line-height: 1.55;
}
.review-action-grid li {
  font-size: 10px;
}
.review-vet-guidance {
  display: flex;
  gap: 11px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #edd4c4;
  border-radius: 13px;
  background: #fff8f2;
}
.review-vet-guidance > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #8f3518;
  color: #fff;
  font-weight: 900;
}
.review-vet-guidance strong {
  font-size: 10px;
  text-transform: uppercase;
}
.review-vet-guidance p {
  margin: 4px 0 0;
  color: #6b5145;
  font-size: 10px;
  line-height: 1.55;
}
.review-safety-note {
  margin: 14px 0 0;
  color: #6a7770;
  font-size: 9px;
  line-height: 1.55;
}
.review-safety-note strong {
  margin-right: 6px;
  color: #465b51;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .ai-question-layout,
  .care-review-layout {
    grid-template-columns: 1fr;
  }
  .ai-question-layout > .panel,
  .care-review-layout > .panel {
    min-height: auto;
  }
  .care-review-result {
    min-height: 480px;
  }
  .care-review-empty,
  .care-review-loading,
  .care-review-error {
    min-height: 410px;
  }
  .ai-question-conversation,
  .ai-question-empty,
  .ai-question-workspace .ask-answer {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .ai-care-switcher {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .ai-care-switcher button {
    min-height: 54px;
    padding: 9px 10px;
    line-height: 1.35;
  }
  .review-range-options {
    grid-template-columns: 1fr 1fr;
  }
  .ai-question-history,
  .ai-question-workspace,
  .care-review-compose,
  .care-review-result {
    padding: 20px;
  }
  .care-review-result {
    min-height: 390px;
  }
  .care-review-empty,
  .care-review-loading,
  .care-review-error {
    min-height: 348px;
  }
  .ai-question-workspace .ask-input-row {
    grid-template-columns: 1fr;
  }
  .ai-question-workspace .ask-input-row button {
    min-height: 46px;
  }
  .ai-question-conversation,
  .ai-question-empty,
  .ai-question-workspace .ask-answer {
    min-height: 240px;
  }
  .review-result-head,
  .care-review-scope > div:first-child {
    display: grid;
  }
  .review-signal {
    width: max-content;
  }
  .review-finding,
  .review-action-grid {
    grid-template-columns: 1fr;
  }
}
