:root {
  --green: #245c46;
  --green-dark: #163e30;
  --green-pale: #eaf1e9;
  --ink: #24372f;
  --muted: #69786f;
  --bg: #f7f8f3;
  --line: #e2e7df;
  --orange: #a5501f;
  --red: #a13636;
  --radius: 18px;
  --shadow: 0 12px 40px #163e3010;
  color-scheme: light;
}
.nutrition-item {border:1px solid var(--line);border-radius:12px;margin:18px 0;padding:16px;min-width:0;}
.nutrition-item legend {padding:0 8px;font-weight:650;}
.nutrition-preparation {display:block;color:var(--muted);font-weight:400;margin-top:5px;}
.nutrition-sources {margin-top:18px;}
@media print {
  #care-root button, #care-root .actions {display:none!important;}
  #nutrition-summary {break-inside:auto;}
  #care-root .table-scroll {overflow:visible;}
  #care-root thead {display:table-header-group;}
  #care-root tr {break-inside:avoid;}
}
#care-root details {margin:16px 0;}
#care-root summary {cursor:pointer;font-weight:650;}
#care-root .care-facts dd {overflow-wrap:anywhere;}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #d0a858;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #7fa68b;
  outline-offset: 1px;
}
::selection {
  background: #d3e5cd;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  padding: 34px 20px 24px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--green-dark);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.7px;
  margin: 0 8px 42px;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--green);
  display: grid;
  place-items: center;
  font-size: 21px;
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 3px;
  color: var(--muted);
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #788579;
  padding: 0 14px;
  margin-bottom: 16px;
  font-weight: 650;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 5px;
  color: #626f65;
  font-weight: 550;
}
.nav-item:hover {
  background: #f3f6ef;
  text-decoration: none;
}
.nav-item.active {
  background: var(--green-pale);
  color: var(--green);
  font-weight: 700;
}
.nav-item > span {
  font-size: 21px;
  line-height: 1;
  width: 20px;
  text-align: center;
}
.sidebar-foot {
  margin-top: auto;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcf8;
  font-size: 11px;
}
.sidebar-foot p {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 10px;
}
.sidebar-foot strong {
  font-weight: 600;
}
.status-dot {
  display: inline-block;
  background: #609561;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
}
.main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: #fcfcf8;
  position: sticky;
  top: 0;
  z-index: 10;
}
.workspace-name {
  font-size: 12px;
  color: var(--muted);
}
.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
/* Keep the native picker while owning its closed appearance across platforms. */
.pet-select { position:relative; display:flex; align-items:center; width:168px; min-width:0; flex-shrink:1; }
.pet-select select { width:100%; max-width:100%; height:40px; min-width:0; appearance:none; -webkit-appearance:none; border:1px solid #dfe7dc; border-radius:12px; padding:0 32px 0 38px; background:#fff; color:#31513b; font:inherit; font-size:13px; font-weight:500; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; cursor:pointer; transition:border-color .15s,box-shadow .15s; }
.pet-select select:hover { border-color:#a7bca0; background:#fcfdf9; }
.pet-select select:focus-visible { outline:2px solid #63835c; outline-offset:3px; box-shadow:0 0 0 3px #edf4e8; }
.pet-select-icon { position:absolute; left:12px; top:50%; transform:translateY(-50%); display:flex; color:#72886a; pointer-events:none; }
.pet-select-icon svg { width:16px; height:16px; }
.pet-select-chevron { position:absolute; right:11px; top:50%; transform:translateY(-50%); width:15px; height:15px; color:#63815b; pointer-events:none; }
.language-button {
  border: none;
  background: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  padding: 10px;
}
.mobile-brand {
  display: none;
}
.content {
  max-width: 1350px;
  margin: auto;
  padding: 38px 42px 40px;
}
.view-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}
.view-head h1 {
  font-size: 29px;
  letter-spacing: -0.9px;
  font-weight: 700;
}
.view-head p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 640px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--green);
  padding: 11px 17px;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-weight: 600;
  font-size: 12px;
  min-height: 42px;
  white-space: normal;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: var(--green-dark);
}
.btn.secondary {
  background: white;
  border-color: var(--line);
  color: var(--green);
}
.btn.secondary:hover {
  background: #f1f5ee;
}
.btn.small {
  padding: 7px 11px;
  font-size: 11px;
  min-height: 34px;
}
.btn.light {
  background: #f9f7e9;
  color: var(--green);
  border-color: #f9f7e9;
}
.btn.outline-light {
  background: transparent;
  border-color: #ffffff4a;
  color: white;
}
.btn.danger,
.btn.danger:hover {
  background: var(--red);
  border-color: var(--red);
}
.btn.danger-outline {
  background: white;
  border-color: #e8c5c0;
  color: var(--red);
}
.icon-button {
  border: 0;
  background: none;
  padding: 9px 6px;
  color: var(--muted);
  font-size: 11px;
  border-radius: 6px;
  min-height: 36px;
}
.icon-button:hover {
  background: var(--green-pale);
  color: var(--green);
}
.danger-text {
  color: var(--red);
}
.daily-hero,
.welcome {
  position: relative;
  overflow: hidden;
  background: var(--green);
  border-radius: 20px;
  color: #fff;
  padding: 36px 40px;
}
.daily-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.2px;
  font-weight: 650;
  color: #d1dec2;
}
.daily-hero h2 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 600;
  line-height: 1.25;
  max-width: 550px;
  margin: 12px 0;
}
.daily-hero p {
  font-size: 12px;
  color: #d2dfd2;
  max-width: 570px;
  margin-bottom: 22px;
}
.hero-paw {
  font-size: 102px;
  opacity: 0.16;
  transform: rotate(-20deg);
  margin-right: 30px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 22px 0 28px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 23px;
}
.stat > span {
  font-size: 11px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 600;
  color: var(--green-dark);
  margin-top: 7px;
}
.stat strong small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.card > h2 {
  font-size: 17px;
  margin-bottom: 20px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.card > p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 15px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 16px;
  letter-spacing: -0.4px;
  font-weight: 650;
}
.section-head a {
  font-size: 10px;
}
.muted {
  color: var(--muted);
  font-size: 11px;
}
.tag {
  display: inline-block;
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--green-pale);
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}
.tag.orange {
  background: #fcf0e4;
  color: var(--orange);
}
.record-row,
.reminder-row {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #edf0ea;
  padding: 15px 0;
  min-width: 0;
}
.record-row:last-child,
.reminder-row:last-child {
  border-bottom: 0;
}
.record-icon {
  height: 38px;
  width: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f0f4e9;
  color: var(--green);
  font-size: 18px;
}
.kind-symptom,
.kind-vet {
  background: #f9eee4;
  color: var(--orange);
}
.kind-water {
  background: #edf4f5;
  color: #487481;
}
.record-body {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.row-title,
.record-body > strong {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.record-body .muted {
  margin-top: 4px;
  font-size: 10px;
}
.record-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  white-space: pre-wrap;
  max-height: 110px;
  overflow: auto;
}
.record-amount {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.record-amount small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.dashboard-grid .row-actions {
  flex-wrap: wrap;
  max-width: 90px;
  justify-content: flex-end;
}
.date-chip {
  width: 44px;
  height: 49px;
  border-radius: 9px;
  background: #f2f5ed;
  text-align: center;
  flex-shrink: 0;
  padding: 4px 2px;
}
.date-chip strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
}
.date-chip span {
  font-size: 8px;
  color: var(--muted);
}
.date-chip.late {
  background: #fcf0e4;
  color: var(--orange);
}
.fine-print {
  font-size: 11px !important;
  color: var(--muted);
  line-height: 1.7 !important;
  margin-top: 18px !important;
}
.empty-state {
  text-align: center;
  padding: 32px 12px;
  color: var(--muted);
}
.empty-state h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 10px 0;
}
.empty-state p {
  font-size: 12px;
  max-width: 310px;
  margin: 0 auto 18px;
}
.empty-mark {
  font-size: 30px;
  color: #8aa085;
}
.welcome {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 360px;
  background: #eaf0e4;
  color: var(--green-dark);
  padding: 48px;
}
.welcome .eyebrow {
  color: var(--green);
}
.welcome h2 {
  font-size: 39px;
  line-height: 1.14;
  letter-spacing: -1.6px;
  font-weight: 600;
  margin: 17px 0;
  max-width: 460px;
}
.welcome p {
  color: #637460;
  font-size: 13px;
  max-width: 450px;
  margin-bottom: 25px;
}
.welcome-note {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 16px;
}
.pet-art {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
}
.art-pet {
  font-size: 126px;
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 15px 20px #245c4610);
}
.art-cat {
  position: absolute;
  right: 0;
  bottom: 10px;
  font-size: 77px;
  z-index: 3;
}
.orbit {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid #adbe9c;
  border-radius: 50%;
  opacity: 0.4;
}
.orbit-two {
  width: 300px;
  height: 300px;
}
.floating-note {
  position: absolute;
  bottom: 25px;
  left: 0;
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  font-size: 10px;
  box-shadow: var(--shadow);
  z-index: 4;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.feature {
  padding: 25px 24px;
  border-top: 1px solid #d8e1d3;
}
.feature > span {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}
.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0;
}
.feature p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.pet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pet-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
}
.pet-card.archived {
  background: #f7f7f3;
}
.pet-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.pet-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #f1f3e6;
  font-size: 34px;
}
.pet-card h2 {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.6px;
  margin: 18px 0 3px;
  overflow-wrap: anywhere;
}
.pet-card dl {
  border-top: 1px solid var(--line);
  margin: 22px 0 16px;
}
.pet-card dl div {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  font-size: 11px;
  gap: 12px;
}
.pet-card dt {
  color: var(--muted);
}
.pet-card dd {
  margin: 0;
}
.allergy {
  background: #fcf4e8;
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 11px;
  color: #8d622c;
}
.allergy p {
  margin-top: 5px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.pet-note {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pet-card .actions {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.filter-bar {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  padding: 18px 20px;
  background: #eef2e9;
  border-radius: 12px;
  margin-bottom: 22px;
}
.filter-bar .field {
  margin: 0;
  flex: 1;
  min-width: 135px;
}
.filter-bar .field:first-child {
  flex: 0.8;
}
.filter-bar .field:nth-child(4) {
  flex: 1.4;
}
.field {
  display: block;
  margin: 0 0 18px;
  min-width: 0;
}
.field > span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #5a6e60;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  display: block;
  background: #fff;
  border: 1px solid #dbe2d7;
  width: 100%;
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  font-size: 12px;
  min-height: 41px;
}
.field textarea {
  resize: vertical;
}
.field input::placeholder {
  color: #89978b;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.load-more {
  display: flex;
  margin: 22px auto 0;
}
.completed-list {
  margin-top: 24px;
  opacity: 0.85;
}
.info-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 22px;
}
.trend-card {
  margin-top: 24px;
}
.chart-wrap {
  max-width: 750px;
  margin: 15px auto 0;
}
.chart-wrap svg {
  width: 100%;
  max-height: 210px;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  max-width: 750px;
  margin: 0 auto 24px;
}
.chart-labels strong {
  color: var(--green);
  font-size: 16px;
}
details {
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
  min-height: 30px;
  padding: 5px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
  margin-top: 12px;
}
th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.upload-label {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.upload-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.upload-label:focus-within {
  outline: 3px solid #d0a858;
  outline-offset: 3px;
}
.danger-zone {
  border-color: #ebd9d5;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.guide-card {
  padding: 30px;
}
.guide-card h2 {
  margin: 14px 0 12px;
}
.guide-card p {
  margin: 0;
}
.guide-number {
  font-size: 12px;
  color: #719273;
  font-weight: 650;
}
.alert {
  padding: 15px 18px;
  background: #e9f0e5;
  border: 1px solid #d2dfca;
  border-radius: 11px;
  font-size: 12px;
  margin-bottom: 22px;
  line-height: 1.8;
}
.alert.error {
  background: #fcf0ed;
  border-color: #edccc5;
  color: #92392f;
}
.alert.warning {
  background: #fff7e4;
  color: #866024;
  border-color: #ead9ad;
}
.alert h2 {
  font-size: 13px;
  margin-bottom: 15px;
  font-weight: 600;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  color: #fff;
  background: var(--green-dark);
  padding: 13px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 12px;
  max-width: min(580px, 90vw);
  transition: 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error {
  background: #973e32;
}
footer {
  margin-top: auto;
  padding: 20px 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #8b9689;
  font-size: 10px;
  gap: 20px;
}
#editor {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  max-width: 540px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  box-shadow: 0 20px 100px #163e3040;
}
#editor::backdrop {
  background: #172d2570;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  font-weight: 600;
}
.dialog-close {
  border: 0;
  background: #f1f4ec;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  color: var(--muted);
  line-height: 1;
}
.dialog-content {
  padding: 24px 26px 12px;
}
.dialog-content > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  background: #fcfcf9;
  position: sticky;
  bottom: 0;
}
#form-error {
  color: var(--red);
  font-size: 12px;
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -50px;
  left: 12px;
  background: white;
  padding: 8px;
  z-index: 200;
}
.skip-link:focus {
  top: 10px;
}
@media (min-width: 1550px) {
  .content {
    padding: 48px 60px;
  }
  .topbar {
    padding: 0 60px;
  }
  .dashboard-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding: 28px 14px;
  }
  .brand {
    font-size: 17px;
    margin-left: 3px;
  }
  .brand small {
    font-size: 8px;
  }
  .content {
    padding: 30px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .pet-grid {
    grid-template-columns: 1fr 1fr;
  }
  .welcome {
    padding: 32px;
  }
  .welcome h2 {
    font-size: 33px;
  }
  .art-pet {
    font-size: 105px;
  }
  .orbit {
    width: 180px;
    height: 180px;
  }
  .orbit-two {
    width: 240px;
    height: 240px;
  }
  .art-cat {
    font-size: 60px;
  }
  .dashboard-grid .row-actions {
    max-width: none;
  }
  .feature-grid {
    gap: 14px;
  }
  .feature {
    padding: 20px 10px;
  }
  .hero-paw {
    font-size: 75px;
    margin: 0;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .stat strong {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 6px 3px max(6px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    border-right: none;
    z-index: 30;
    background: #fff;
  }
  .sidebar .brand,
  .nav-label,
  .sidebar-foot {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: space-around;
  }
  .nav-item {
    flex-direction: column;
    gap: 4px;
    padding: 7px 4px;
    margin: 0;
    flex: 1;
    min-width: 49px;
    font-size: 8px;
    line-height: 1.3;
    text-align: center;
    border-radius: 8px;
  }
  .nav-item > span {
    font-size: 21px;
    height: 24px;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
    gap: 10px;
  }
  .workspace-name {
    display: none;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
  }
  .mobile-brand img {
    background: var(--green);
    border-radius: 8px;
    font-size: 16px;
    width: 28px;
    height: 28px;
  }
  .header-actions {
    gap: 3px;
  }
  .pet-select { width:clamp(84px,25vw,112px); }
  .pet-select select { height:36px; font-size:12px; padding:0 27px 0 11px; border-radius:10px; }
  .pet-select-icon { display:none; }
  .pet-select-chevron { right:9px; width:13px; height:13px; }
  .language-button {
    font-size: 10px;
    padding: 8px;
  }
  .content {
    padding: 26px 18px 24px;
  }
  .view-head {
    margin-bottom: 20px;
    align-items: start;
    gap: 12px;
  }
  .view-head h1 {
    font-size: 25px;
  }
  .view-head p {
    font-size: 11px;
    margin-top: 5px;
  }
  .view-head > .actions {
    max-width: 130px;
    flex-shrink: 0;
  }
  .view-head .btn {
    padding: 9px 12px;
    font-size: 11px;
  }
  .daily-hero {
    padding: 27px 24px;
  }
  .daily-hero h2 {
    font-size: 27px;
    max-width: 290px;
  }
  .daily-hero p {
    font-size: 11px;
    max-width: 290px;
  }
  .daily-hero .actions {
    gap: 7px;
  }
  .daily-hero .btn {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 36px;
  }
  .hero-paw {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 55px;
    opacity: 0.1;
    pointer-events: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0 22px;
  }
  .stat {
    padding: 15px 17px;
  }
  .stat strong {
    font-size: 26px;
  }
  .card {
    padding: 19px 18px;
    border-radius: 14px;
  }
  .dashboard-grid {
    gap: 18px;
  }
  .section-head h2 {
    font-size: 15px;
  }
  .record-row {
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
  }
  .record-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .record-row .row-actions {
    margin-left: auto;
  }
  .row-title {
    font-size: 12px;
  }
  .record-amount {
    margin-left: auto;
  }
  .reminder-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .reminder-row .row-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: -4px;
  }
  .reminder-row .tag {
    font-size: 8px;
  }
  .empty-state {
    padding: 25px 10px;
  }
  .pet-grid,
  .settings-grid,
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pet-card {
    padding: 23px;
  }
  .pet-card .actions {
    gap: 18px;
  }
  .filter-bar {
    gap: 10px;
    padding: 14px;
  }
  .filter-bar .field {
    flex: 1 1 40%;
    min-width: 120px;
  }
  .filter-bar .field:nth-child(4) {
    flex: 1 1 40%;
  }
  .filter-bar .btn {
    flex: 1;
  }
  .welcome {
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    min-height: 0;
    gap: 5px;
  }
  .welcome h2 {
    font-size: 35px;
    max-width: 350px;
  }
  .welcome p {
    font-size: 12px;
  }
  .pet-art {
    height: 190px;
    min-height: 190px;
    max-width: 300px;
    width: 100%;
    margin: 8px auto 0;
  }
  .art-pet {
    font-size: 105px;
  }
  .orbit {
    width: 150px;
    height: 150px;
  }
  .orbit-two {
    width: 205px;
    height: 205px;
  }
  .floating-note {
    bottom: 10px;
    left: 0;
    font-size: 9px;
    padding: 10px 12px;
  }
  .art-cat {
    right: 0;
    bottom: 0;
    font-size: 57px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 22px;
  }
  .feature {
    padding: 21px 5px;
  }
  .feature h3 {
    margin: 6px 0;
  }
  .feature > span {
    float: right;
  }
  .main-wrap {
    padding-bottom: 73px;
  }
  footer {
    padding: 18px;
    font-size: 9px;
  }
  .dialog-head {
    padding: 20px;
  }
  .dialog-content {
    padding: 20px 20px 10px;
  }
  .dialog-actions {
    padding: 15px 20px;
  }
  .form-grid {
    gap: 12px;
  }
  #editor {
    max-height: 92dvh;
  }
  #editor .field input,
  #editor .field select,
  #editor .field textarea {
    font-size: 16px;
  }
  .toast {
    bottom: 85px;
  }
  .guide-card {
    padding: 24px;
  }
  .chart-wrap svg {
    min-height: 150px;
  }
  .card > p {
    font-size: 12px;
  }
  .stack-actions .btn {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  footer,
  .view-head > .actions,
  .toast,
  .skip-link,
  dialog,
  .row-actions,
  .alert {
    display: none !important;
  }
  .app-shell,
  .main-wrap {
    display: block;
    padding: 0;
  }
  .content {
    padding: 0;
    max-width: none;
  }
  body {
    background: white;
  }
  .card,
  .stat {
    break-inside: avoid;
    box-shadow: none;
  }
  .stats {
    gap: 10px;
  }
  .card {
    margin-top: 15px;
  }
  .chart-wrap svg {
    max-height: 170px;
  }
  details {
    display: block;
  }
  details > table {
    display: table;
  }
  a {
    color: inherit;
  }
  .view-head h1 {
    font-size: 24px;
  }
}

.app-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
  min-height: 28px;
  background: #f0f4e9;
  padding: 2px 15px;
}
.app-status .icon-button {
  min-height: 26px;
  padding: 4px 7px;
  color: var(--green);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.faq summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.faq p {
  font-size: 13px;
  line-height: 1.8;
  margin: 12px 0 4px;
}
.policy h2 {
  margin: 24px 0 10px;
}
.policy p {
  font-size: 13px;
  line-height: 1.8;
}
.footer-links {
  display: flex;
  gap: 16px;
}
@media print {
  .app-status {
    display: none;
  }
}

.community-intro {
  padding: 22px 26px;
  background: var(--green-pale);
  border-radius: 16px;
  margin-bottom: 22px;
}
.community-intro h2 {
  font-size: 24px;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.community-intro p {
  font-size: 13px;
  max-width: 760px;
}
.community-intro details {
  margin-top: 14px;
}
.community-intro li {
  margin: 7px 0;
}
.guest-card {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.guest-card > div {
  flex: 1;
  min-width: 220px;
}
.community-feed,
.support-card {
  margin-top: 24px;
}
.community-post {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.community-post h3 {
  font-size: 18px;
  margin: 15px 0 8px;
}
.community-body {
  white-space: pre-wrap;
  line-height: 1.8;
  font-size: 14px;
  margin: 10px 0 16px;
}
.community-comment {
  border-left: 3px solid var(--line);
  padding: 10px 14px;
  margin: 12px 0;
  background: #f8faf5;
  font-size: 12px;
  white-space: pre-wrap;
}
.person-row { display:flex; align-items:center; gap:12px; min-width:0; }
.person-details { min-width:0; overflow-wrap:anywhere; }
.community-post > .section-head > .person-row { flex:1; }
.community-avatar { display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; height:44px; border-radius:50%; font-size:18px; font-weight:700; line-height:1; text-decoration:none; border:1px solid transparent; }
a.community-avatar:hover { box-shadow:0 0 0 3px var(--green-pale); text-decoration:none; }
a.community-avatar { font-size:18px; }
a.community-avatar:focus-visible { outline:3px solid var(--green-dark); outline-offset:3px; }
.avatar-tone-0 { background:#e3eee7; color:#244f3c; }
.avatar-tone-1 { background:#ede7f4; color:#5d3f77; }
.avatar-tone-2 { background:#e2edf7; color:#305472; }
.avatar-tone-3 { background:#f6e9dc; color:#79512e; }
.avatar-tone-4 { background:#f3e2e7; color:#7a3e52; }
.avatar-tone-5 { background:#e9eddb; color:#4d5e2f; }
.community-comment .person-row { white-space:normal; }
.inbox-peer-link > .person-row { flex:1; }
.inbox-peer-link > span:last-child { flex-shrink:0; }
.conversation-peer { margin-top:14px; }
.conversation-peer h2 { margin:0; }
.conversation-peer > span { display:flex; }
.community-author-line { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.community-author-line .community-author-name { font-size:14px; font-weight:700; color:var(--ink); }
#inbox-root [hidden] { display:none !important; }
/* Private messaging: a conversation rail and a focused, responsive chat canvas. */
.messenger-open .usage-choice, .messenger-open #app-status, .messenger-open .content > .view-head, .messenger-open .main-wrap > footer { display:none; }
.messenger-open .content { max-width:1600px; padding:24px; }
#inbox-root [hidden] { display:none !important; }
.messenger-workspace { display:grid; grid-template-columns:minmax(250px,300px) minmax(0,1fr); height:calc(100dvh - 128px); min-height:520px; background:#fff; border:1px solid #dfe7e0; border-radius:22px; overflow:hidden; box-shadow:0 8px 40px #21463506; }
.messenger-workspace svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.messenger-rail { min-width:0; min-height:0; border-right:1px solid #e7ece6; background:#fff; }
#inbox-conversations { height:100%; display:flex; flex-direction:column; }
.dm-rail-header { padding:28px 22px 20px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.dm-eyebrow { font-size:9px; letter-spacing:1.8px; font-weight:650; color:#697960; margin:0 0 7px; }
.dm-rail-header h2 { font-size:25px; letter-spacing:-.8px; font-weight:700; margin:0; color:#203f30; }
.dm-rail-tools { display:flex; gap:4px; }
.dm-icon-button { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; padding:8px; border:0; border-radius:50%; color:#718176; background:transparent; cursor:pointer; text-decoration:none; }
.dm-icon-button:hover { background:#edf3ed; color:#245c46; text-decoration:none; }
.dm-compose-link { background:#edf3ed; color:#245c46; }
.dm-search { display:flex; align-items:center; gap:8px; margin:0 18px; padding:0 12px; min-height:42px; background:#f5f7f3; border:1px solid transparent; border-radius:12px; color:#697960; }
.dm-search:focus-within { border-color:#84a88f; box-shadow:0 0 0 3px #eaf1e9; }
.dm-search svg { width:17px; height:17px; }
.dm-search input { width:100%; min-width:0; padding:10px 0; border:0; outline:0; background:transparent; font:inherit; font-size:12px; color:#304c3d; }
.dm-search input::placeholder { color:#697960; }
.dm-filter-tabs { display:flex; align-items:center; gap:6px; padding:18px 18px 12px; }
.dm-filter-tab { display:inline-flex; align-items:center; gap:5px; padding:7px 10px; margin:0; border:0; border-radius:8px; background:transparent; color:#697960; font:inherit; font-size:11px; cursor:pointer; white-space:nowrap; }
.dm-filter-tab.selected { background:#eaf2e9; color:#285d43; font-weight:650; }
.dm-filter-tab input { appearance:none; width:10px; height:10px; border:1px solid #a6b5a9; border-radius:50%; margin:0; }
.dm-filter-tab input:checked { background:#3f7552; border-color:#3f7552; box-shadow:inset 0 0 0 2px #eaf2e9; }
.messenger-workspace .inbox-list { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 10px 14px; scrollbar-width:thin; }
.messenger-workspace .inbox-peer-link { position:relative; display:flex; align-items:center; gap:8px; min-height:80px; padding:14px 12px; margin:3px 0; border:0; border-radius:12px; color:#294234; text-decoration:none; }
.messenger-workspace .inbox-peer-link:hover { background:#f5f8f2; text-decoration:none; }
.messenger-workspace .inbox-peer-link.is-active { background:#ecf3e9; }
.inbox-peer-link.is-active::before { content:''; position:absolute; left:0; top:22px; bottom:22px; width:3px; border-radius:0 3px 3px 0; background:#3b7050; }
.messenger-workspace .inbox-peer-link .person-row { flex:1; min-width:0; gap:11px; }
.messenger-workspace .inbox-peer-link .community-avatar { width:44px; height:44px; flex-basis:44px; font-size:16px; }
.messenger-workspace .inbox-peer-link .person-details { flex:1; min-width:0; }
.messenger-workspace .inbox-peer-link strong { display:block; font-size:13px; font-weight:600; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.messenger-workspace .inbox-peer-link.has-unread strong { font-weight:750; color:#213b2c; }
.dm-preview { display:block; color:#697960; margin-top:5px; font-size:12px; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.has-unread .dm-preview { color:#607464; font-weight:550; }
.dm-preview.has-draft { color:#9a6e3c; }
.messenger-workspace .inbox-list-meta { display:flex; flex-shrink:0; align-items:flex-end; flex-direction:column; gap:8px; max-width:64px; color:#697960; font-size:10px; white-space:nowrap; }
.dm-unread { display:flex; align-items:center; justify-content:center; min-width:18px; height:18px; border-radius:12px; padding:0 5px; background:#3d7652; color:#fff; font-size:9px; font-weight:650; }
.dm-blocked-label { color:#8d7973; font-size:9px; }
.dm-rail-footer { flex-shrink:0; display:flex; align-items:center; justify-content:center; gap:6px; padding:14px 10px; border-top:1px solid #eff2ed; color:#697960; font-size:10px; }
.dm-rail-footer svg { width:12px; height:12px; }
.dm-rail-empty { padding:50px 10px; text-align:center; color:#697960; }
.dm-rail-empty > span { display:inline-flex; background:#f2f6ef; border-radius:50%; padding:14px; }
.dm-rail-empty h3 { margin-top:18px; font-size:13px; color:#54705b; }
.dm-rail-empty p { font-size:11px; margin:8px 0 16px; }
.dm-rail-empty a { font-size:11px; font-weight:600; }
.dm-rail-loading, .dm-filter-empty { padding:30px 22px; font-size:12px; color:#697960; line-height:1.7; }
.dm-rail-note { font-size:9px; color:#697960; padding:5px 20px; }
.messenger-stage { display:flex; flex-direction:column; position:relative; min-width:0; min-height:0; background:#fcfdfb; }
.dm-welcome { flex:1; display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; padding:40px 20px; }
.dm-welcome-art { position:relative; display:grid; place-items:center; width:116px; height:116px; border-radius:50%; background:#eef4e9; color:#6b926f; margin-bottom:32px; box-shadow:0 0 0 17px #f6f9f1; }
.dm-welcome-art > svg { width:48px; height:48px; stroke-width:1.3; }
.dm-welcome-art > span { display:grid; place-items:center; position:absolute; right:0; bottom:0; padding:9px; background:#fff; border-radius:50%; color:#477451; box-shadow:0 3px 12px #345b3910; }
.dm-welcome-art > span svg { width:16px; height:16px; }
.dm-welcome .dm-eyebrow { margin:0 0 16px; }
.dm-welcome h2 { font-size:28px; line-height:1.35; letter-spacing:-.7px; font-weight:600; color:#294a34; }
.dm-welcome > p:not(.dm-eyebrow) { margin:16px 0 25px; font-size:12px; line-height:1.9; color:#697960; }
.dm-welcome .btn { gap:12px; font-size:11px; border-radius:10px; padding:12px 18px; }
.dm-welcome .btn svg { width:15px; height:15px; }
.dm-welcome > small { display:flex; align-items:center; gap:6px; margin-top:30px; font-size:9px; color:#697960; }
.dm-welcome > small svg { width:12px; height:12px; }
.messenger-workspace .conversation { display:flex; flex-direction:column; flex:1; height:100%; min-height:0; padding:0; border:0; border-radius:0; overflow:hidden; }
.dm-conversation-header { position:relative; display:flex; align-items:center; gap:12px; min-height:86px; padding:18px 24px; background:#fff; border-bottom:1px solid #edf0e9; flex-shrink:0; }
.messenger-workspace .conversation-peer { flex:1; gap:11px; min-width:0; margin:0; }
.conversation-peer .community-avatar { width:42px; height:42px; flex-basis:42px; font-size:16px; }
.dm-conversation-header h2 { font-size:15px; font-weight:650; letter-spacing:-.2px; color:#2a4634; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dm-peer-caption { display:block; margin-top:3px; font-size:10px; color:#697960; }
.dm-conversation-tools { display:flex; gap:4px; align-items:center; }
.dm-options { position:relative; }
.dm-options summary { list-style:none; }
.dm-options summary::-webkit-details-marker { display:none; }
.dm-options[open] summary { background:#edf3ed; color:#3c6d49; }
.dm-options-panel { position:absolute; z-index:25; right:0; top:44px; width:240px; padding:18px; background:#fff; border:1px solid #e2e9df; box-shadow:0 12px 40px #2443291a; border-radius:14px; }
.dm-options-panel strong { display:block; font-size:12px; color:#324e38; }
.dm-options-panel p { font-size:11px; line-height:1.7; color:#697960; margin:8px 0 14px; }
.dm-options-panel a, .dm-menu-action { display:block; text-align:left; padding:9px 0; font-size:11px; background:none; border:0; font-family:inherit; }
.dm-connection { padding:10px 20px 0; text-align:center; font-size:9px; color:#697960; flex-shrink:0; }
.dm-history-tools { text-align:center; flex-shrink:0; }
.dm-history-button { margin:12px 0 0; border:1px solid #e6ece1; padding:7px 12px; border-radius:20px; font:inherit; font-size:10px; color:#697960; background:#fff; }
.messenger-workspace .message-log { display:flex; flex-direction:column; flex:1; min-height:80px; gap:2px; overflow-y:auto; overscroll-behavior:contain; padding:18px 26px; margin:0; scrollbar-width:thin; scrollbar-color:#dbe5d6 transparent; }
.messenger-workspace .message-log:focus-visible { outline:2px solid #8aa87e; outline-offset:-3px; }
.dm-day-divider { align-self:center; padding:6px 12px; margin:12px 0 18px; color:#697960; font-size:10px; line-height:1.4; letter-spacing:.2px; flex-shrink:0; }
.messenger-workspace .message-bubble { display:grid; grid-template-columns:26px minmax(0,1fr); column-gap:9px; align-self:flex-start; width:fit-content; max-width:84%; margin:0; padding:0; border-radius:0; background:none; flex-shrink:0; color:#40513f; font-size:12px; }
.messenger-workspace .message-bubble.sent { grid-template-columns:minmax(0,1fr); align-self:flex-end; background:none; }
.messenger-workspace .message-bubble.group-start { margin-top:12px; }
.dm-bubble-content { grid-column:2; padding:11px 15px; background:#fff; border:1px solid #e9eee3; border-radius:16px 16px 16px 5px; box-shadow:0 2px 3px #27463002; min-width:0; overflow-wrap:anywhere; }
.messenger-workspace .dm-bubble-content p { margin:0; font-size:14px; line-height:1.75; white-space:pre-wrap; }
.sent .dm-bubble-content { grid-column:1; background:#2e6348; color:#fff; border-color:#2e6348; border-radius:16px 16px 5px 16px; }
.received:not(.group-start) .dm-bubble-content { border-top-left-radius:5px; }
.received:not(.group-end) .dm-bubble-content { border-bottom-left-radius:5px; }
.sent:not(.group-start) .dm-bubble-content { border-top-right-radius:5px; }
.sent:not(.group-end) .dm-bubble-content { border-bottom-right-radius:5px; }
.dm-message-avatar { grid-column:1; grid-row:1/3; align-self:end; display:flex; padding-bottom:20px; }
.dm-message-avatar .community-avatar { width:26px; height:26px; flex-basis:26px; font-size:10px; }
.message-bubble:not(.group-end) .dm-message-avatar { visibility:hidden; }
.dm-message-meta { grid-column:2; display:flex; align-items:center; gap:8px; min-height:22px; padding:4px 3px 3px; font-size:10px; color:#697960; }
.sent .dm-message-meta { grid-column:1; justify-content:flex-end; }
.message-bubble:not(.group-end) .dm-message-meta { display:none; }
.dm-receipt { display:inline-flex; align-items:center; gap:3px; }
.dm-receipt svg { width:12px; height:12px; stroke-width:1.7; }
.dm-receipt.is-read { color:#3c6d49; }
.dm-report { display:flex; align-items:center; justify-content:center; width:24px; height:22px; padding:4px; border:0; background:transparent; border-radius:5px; color:#b2bdac; opacity:0; }
.dm-report svg { width:11px; height:11px; }
.message-bubble:hover .dm-report, .message-bubble:focus-within .dm-report { opacity:1; }
.dm-report:hover { color:#9d6556; background:#f5eee7; }
.messenger-workspace .inbox-new-messages { position:absolute; bottom:150px; left:50%; transform:translateX(-50%); z-index:5; border:1px solid #e0e8dc; border-radius:24px; background:#fff; color:#43704d; box-shadow:0 3px 15px #2a4b3220; padding:9px 15px; font:inherit; font-size:11px; white-space:nowrap; }
.messenger-workspace .dm-composer { display:block; flex-shrink:0; margin:0; padding:16px 24px 12px; background:#fff; border-top:1px solid #edf1e9; color:#9aa994; }
.dm-compose-box { display:flex; align-items:flex-end; gap:10px; padding:7px 8px 7px 16px; border:1px solid #dde7d7; border-radius:22px; background:#fafcf8; transition:border-color .15s,box-shadow .15s; }
.dm-compose-box:focus-within { border-color:#96b08c; box-shadow:0 0 0 3px #eff5ea; background:#fff; }
#inbox-message .dm-compose-box textarea { display:block; flex:1; min-width:0; min-height:36px; max-height:144px; field-sizing:content; padding:8px 0; border:0; outline:0; background:transparent; resize:none; font:inherit; line-height:1.6; font-size:13px; color:#344d37; }
#inbox-message textarea::placeholder { color:#a2ad9c; }
.dm-send { display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px; padding:8px; border:0; border-radius:50%; background:#31684a; color:#fff; box-shadow:0 2px 6px #28523c16; }
.dm-send:hover { background:#214e36; }
.dm-send:disabled { background:#dce6d7; color:#9eaf94; box-shadow:none; cursor:default; }
.dm-send svg { width:19px; height:19px; }
.dm-send[aria-busy=true] svg { animation:dm-send-pulse 1s ease-in-out infinite alternate; }
@keyframes dm-send-pulse { to { opacity:.3; transform:translateY(-2px); } }
.inbox-compose-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:9px 4px 0; min-height:12px; font-size:10px; color:#697960; }
#inbox-send-status:not(:empty) { font-size:10px; color:#6c9271; margin-top:6px; }
.messenger-workspace #inbox-error:not(:empty), #inbox-send-unavailable:not([hidden]) { padding:6px 0; font-size:11px; color:#a36859; }
.dm-conversation-empty { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px 15px; }
.dm-empty-avatar .community-avatar { width:72px; height:72px; font-size:26px; box-shadow:0 0 0 9px #f3f7ee; margin-bottom:26px; }
.dm-conversation-empty h3 { color:#486449; font-size:20px; font-weight:550; letter-spacing:-.3px; margin-bottom:12px; }
.dm-conversation-empty p { font-size:11px; line-height:1.9; color:#697960; }
.dm-private-note { display:flex; align-items:center; gap:5px; color:#697960; font-size:9px; margin-top:22px; }
.dm-private-note svg { width:12px; height:12px; }
.inbox-join { max-width:620px; margin:22px auto; padding:34px; border:1px solid #e0e8db; box-shadow:0 8px 40px #21463504; border-radius:22px; }
.inbox-join > h2 { font-size:23px; line-height:1.4; color:#31513a; letter-spacing:-.5px; }
.inbox-join form { margin:28px 0 16px; }
@media(max-width:1150px) and (min-width:1000px){
  .messenger-workspace { grid-template-columns:255px minmax(0,1fr); }
  .messenger-open .content { padding:18px; }
  .dm-rail-header { padding:24px 17px 20px; }
  .dm-conversation-header { padding-left:16px; padding-right:16px; gap:8px; }
}
@media(max-width:999px){
  .messenger-workspace { grid-template-columns:minmax(0,1fr); }
  .chat-open .messenger-rail, .messenger-open:not(.chat-open) .messenger-stage { display:none; }
  .messenger-workspace .message-bubble { max-width:82%; }
  .dm-report { opacity:1; }
}
@media(max-width:760px){
  .messenger-open .content { padding:0; }
  .messenger-workspace { height:calc(100dvh - 148px); min-height:420px; border:0; border-radius:0; }
  .chat-open .messenger-workspace { height:calc(100dvh - 64px); min-height:390px; }
  .messenger-rail { border-right:0; }
  .dm-rail-header { padding:24px 22px 18px; }
  .dm-search { margin:0 20px; }
  .dm-filter-tabs { padding-left:20px; }
  .dm-conversation-header { min-height:76px; padding:14px 16px; gap:9px; }
  .dm-conversation-header h2 { font-size:14px; }
  .dm-conversation-tools { gap:0; }
  .dm-conversation-tools .dm-icon-button { width:32px; height:32px; padding:7px; }
  .dm-back { width:24px; padding:3px; }
  .conversation-peer .community-avatar { width:38px; height:38px; flex-basis:38px; font-size:15px; }
  .dm-connection { font-size:10px; padding:9px 15px 0; }
  .messenger-workspace .message-log { padding:14px 16px; }
  .messenger-workspace .message-bubble { max-width:90%; }
  .messenger-workspace .dm-bubble-content p { font-size:14px; }
  .dm-bubble-content { padding:10px 13px; }
  .messenger-workspace .dm-composer { padding:12px 16px max(12px,env(safe-area-inset-bottom)); }
  .inbox-compose-actions #inbox-compose-help { visibility:hidden; }
  .inbox-compose-actions { margin-top:6px; }
  .dm-options-panel { width:220px; }
  .inbox-join { padding:24px 20px; margin:0; }
}
@media(prefers-reduced-motion:reduce){ .dm-send[aria-busy=true] svg { animation:none; } }

.comment-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.comment-form label {
  flex: 1;
}
.comment-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.report-form {
  background: #faf3eb;
  padding: 18px;
  margin-top: 18px;
  border-radius: 12px;
}
.consent {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 15px 0;
  font-size: 12px;
}
.consent input {
  flex: none;
  width: 16px;
  height: 16px;
}
.community-feed select {
  border: 1px solid var(--line);
  padding: 7px;
  border-radius: 8px;
  color: var(--ink);
  max-width: 155px;
}
.support-card > p {
  font-size: 12px;
  margin-bottom: 16px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .sidebar .nav-item {
    min-width: 45px;
    font-size: 7px;
  }
  .community-intro {
    padding: 20px;
  }
  .comment-form {
    flex-wrap: wrap;
  }
  .community-post h3 {
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .sidebar .nav-item {
    flex: 1;
    min-width: 0;
    font-size: 11px;
  }
  .sidebar nav {
    justify-content: space-around;
  }
}

.care-section { margin: 28px 0 12px; font-size: 18px; }
.care-links { padding-top: 7px; padding-bottom: 7px; }
.care-link { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); min-width:0; }
.care-link:last-child { border-bottom:0; }
.care-link strong,.care-link small { display:block; }
.care-link small { color:var(--muted); margin-top:4px; overflow-wrap:anywhere; }
.back-link { display:inline-block; margin-bottom:12px; }
.care-facts { display:grid; grid-template-columns:minmax(120px,1fr) 2fr; gap:12px 20px; }
.care-facts dt { font-weight:600; }
.care-facts dd { margin:0; color:var(--muted); overflow-wrap:anywhere; }
.care-saved { padding:16px 0; border-bottom:1px solid var(--line); }
.label-camera { border:2px dashed var(--line); border-radius:14px; padding:18px; display:flex; align-items:center; justify-content:center; min-height:180px; margin:18px 0; }
.label-camera img { max-width:100%; max-height:450px; object-fit:contain; border-radius:8px; }
.table-scroll { overflow:auto; }
.table-scroll table { width:100%; border-collapse:collapse; }
.table-scroll th,.table-scroll td { text-align:left; padding:12px; border-bottom:1px solid var(--line); vertical-align:top; overflow-wrap:anywhere; }
.community-photo-preview { display:block; max-width:100%; max-height:420px; object-fit:contain; border-radius:12px; margin:16px 0; }
.message-log { display:flex; flex-direction:column; gap:14px; margin:24px 0; }
.message-bubble { max-width:85%; padding:14px 18px; border-radius:16px; background:var(--bg); align-self:flex-start; overflow-wrap:anywhere; }
.message-bubble.sent { align-self:flex-end; background:var(--green-pale); }
.message-bubble p { white-space:pre-wrap; margin:0 0 6px; }
.message-bubble small { color:var(--muted); font-size:11px; }
.account-link { white-space:nowrap; }
@media(max-width:760px){
  .dm-mode .sidebar { display:none; }
  .dm-mode .main-wrap { padding-bottom:0; }
  .account-link { font-size:11px; padding:6px; }
  .mobile-brand { font-size:12px; }
  .topbar { padding:0 10px; gap:6px; }
  .care-facts { grid-template-columns:1fr; gap:4px; }
  .care-facts dd { margin-bottom:10px; }
  .message-bubble { max-width:95%; }
  .care-link { gap:10px; }
}

/* App-owned English date controls, independent of browser/OS locale. */
.field > label { display:block; font-size:11px; font-weight:600; color:#5a6e60; margin-bottom:7px; }
.field > .date-field { display:block; position:relative; margin-bottom:0; }
.field .date-field input { padding-right:44px; }
.date-open { position:absolute; right:1px; top:1px; bottom:1px; width:40px; display:grid; place-items:center; background:transparent; border:0; border-radius:7px; color:var(--green); cursor:pointer; }
.date-open svg { width:19px; height:19px; }
.date-calendar { width:min(360px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:18px; border:1px solid #dbe2d7; border-radius:16px; color:var(--ink); background:#fff; }
.date-calendar::backdrop { background:rgb(20 40 30 / 25%); }
.date-calendar-heading, .date-calendar-month, .date-calendar-actions { display:flex; align-items:center; gap:8px; }
.date-calendar-heading { justify-content:space-between; margin-bottom:14px; }
.date-calendar-heading h2 { margin:0; font-size:18px; }
.date-calendar-month { margin-bottom:12px; }
.date-calendar-month label:first-of-type { flex:1; min-width:0; }
.date-calendar-month select, .date-calendar-month input { width:100%; min-height:40px; border:1px solid #dbe2d7; border-radius:7px; padding:6px; font:inherit; background:#fff; color:var(--ink); }
.date-calendar-month label:last-of-type { width:74px; }
.date-calendar-month > button { padding:4px; width:28px; flex:none; font-size:24px; }
.date-calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; }
.date-calendar-days > span { text-align:center; font-size:11px; color:#5a6e60; padding:6px 0; }
.date-calendar-days > button { min-height:36px; border:1px solid transparent; border-radius:7px; padding:5px 0; background:#f5f7f1; color:var(--ink); font:inherit; cursor:pointer; }
.date-calendar-days > button[aria-current=date] { border-color:#2b5d4b; }
.date-calendar-days > button[aria-pressed=true] { background:#2b5d4b; color:#fff; }
.date-calendar button:disabled { opacity:.35; cursor:default; }
.date-calendar-actions { justify-content:space-between; margin-top:12px; }
.date-calendar button:focus-visible, .date-calendar input:focus-visible, .date-calendar select:focus-visible, .date-open:focus-visible { outline:2px solid #2b5d4b; outline-offset:2px; }

/* Voluntary usage and private product dashboard. */
.usage-choice{margin:12px 24px;padding:14px 18px;border:1px solid var(--line,#dce5da);border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.usage-choice p{margin:0;max-width:700px;font-size:13px}.usage-choice .actions{flex-shrink:0}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metrics-grid h2{font-size:16px}.metrics-grid .metric-value{font-size:32px;font-weight:700;margin:12px 0;color:#245c46}.admin-controls{display:flex;justify-content:space-between;align-items:center;gap:12px}.admin-controls nav{display:flex;gap:10px;flex-wrap:wrap}#admin-panel .card{margin-bottom:18px}#admin-panel table{width:100%;border-collapse:collapse}#admin-panel th,#admin-panel td{padding:12px;text-align:left;border-bottom:1px solid #e5ebe4}#admin-panel meter{width:120px;accent-color:#245c46}#admin-root[aria-busy=true]{opacity:.7}@media(max-width:760px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-choice{margin:10px 14px;display:block}.usage-choice .actions{margin-top:12px}.admin-controls{align-items:flex-start}.admin-controls nav{flex-direction:column}}@media(max-width:380px){.metrics-grid{grid-template-columns:1fr}}

/* Reserve image space while lightweight community text renders independently. */
.community-post-media { margin:16px 0; max-width:720px; }
.community-post-media .community-photo-preview { width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; margin:0; background:#f1f4ee; }
.community-image-note { padding:16px; border-radius:12px; background:#f1f4ee; }
/* Operator sign-in: keep clipboard input inspectable without storing it. */
.admin-key-row{display:flex;align-items:center;gap:12px;margin:8px 0 12px}.admin-key-row input{flex:1;min-width:0}.admin-key-row button{flex:none}.admin-login-help{margin-top:24px}.admin-login-help summary{cursor:pointer;font-weight:600}.admin-login-help li{margin:8px 0}

/* Task-first entry points and optional first-use guidance. */
.starter-steps { display:flex; align-items:center; gap:10px; list-style:none; padding:0; margin:20px 0 24px; }
.starter-steps li { display:flex; align-items:center; gap:7px; color:#7a8977; font-size:11px; line-height:1.4; }
.starter-steps li > span:first-child { display:grid; place-items:center; width:24px; height:24px; flex:0 0 24px; border:1px solid #d5e0cf; border-radius:50%; font-size:10px; background:#fff; }
.starter-steps li.current { color:#315b3c; font-weight:650; }
.starter-steps li.current > span:first-child { background:#315f43; border-color:#315f43; color:#fff; }
.starter-steps li.complete > span:first-child { background:#e9f1e4; color:#4a7350; border-color:#e0ead9; }
.starter-card { background:#f1f6ed; border:1px solid #dfe9d8; padding:24px 28px; border-radius:18px; margin-bottom:20px; }
.starter-top { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.starter-top .eyebrow { color:#647f59; font-size:10px; }
.starter-top .icon-button { white-space:nowrap; color:#6e8164; }
.starter-card h2 { color:#2e5038; font-size:24px; line-height:1.4; font-weight:600; letter-spacing:-.4px; }
.starter-card > p { margin:10px 0 20px; color:#687b5f; font-size:13px; line-height:1.8; max-width:640px; }
.starter-card .actions { gap:10px; }
.daily-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:22px 0; }
.daily-shortcuts a { display:flex; align-items:center; gap:10px; min-width:0; padding:15px 18px; border:1px solid #e0e8db; border-radius:12px; background:#fff; color:#4c6b4b; font-size:12px; font-weight:550; text-decoration:none; }
.daily-shortcuts a:hover { background:#f2f7ec; border-color:#b7cbb0; }
.daily-shortcuts a > svg { width:18px; height:18px; flex-shrink:0; color:#6b8860; }
.daily-shortcuts a > span:last-child { margin-left:auto; color:#92a089; }
.pet-setup-note { color:#697b60; font-size:12px; line-height:1.8; margin:0 0 20px; }
.pet-more-details { border-top:1px solid #e3e9dc; margin-top:24px; padding-top:18px; }
.pet-more-details > summary { cursor:pointer; color:#4a6945; font-size:12px; font-weight:600; padding:5px 0; }
.pet-more-details > p { margin:10px 0 16px; }
.pet-more-details .fine-print { color:#748568; }
.care-start-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0 0 28px; }
.care-start-card { display:flex; align-items:center; gap:12px; min-width:0; padding:20px 18px; border:1px solid #dce6d6; border-radius:15px; background:#fff; text-decoration:none; }
.care-start-card:hover { border-color:#9db892; background:#f6f9f1; text-decoration:none; }
.care-start-card > span:nth-child(2) { min-width:0; flex:1; }
.care-start-card strong { display:block; color:#355939; font-size:14px; line-height:1.5; font-weight:600; }
.care-start-card small { display:block; color:#6f8167; font-size:10px; line-height:1.6; margin-top:6px; }
.care-tool-icon { display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px; border-radius:11px; background:#edf4e6; color:#60875a; }
.care-tool-icon svg { width:21px; height:21px; }
.care-tool-arrow { color:#8b9e7d; }
.care-saved-heading { margin:28px 0 12px; }
.care-saved-heading .care-section { margin:0; }
.care-pet-setup { margin:0 0 24px; }
.care-pet-setup p { margin:10px 0 18px; }
.meal-flow { display:flex; gap:26px; counter-reset:meal-step; padding:0; list-style:none; margin:0 0 24px; color:#6c805f; font-size:12px; }
.meal-flow li { display:flex; align-items:center; gap:7px; counter-increment:meal-step; }
.meal-flow li::before { content:counter(meal-step); display:grid; place-items:center; width:23px; height:23px; border-radius:50%; background:#eaf2e3; color:#587b4d; font-size:10px; }
.meal-planning-intro { color:#6d7f62; font-size:13px; line-height:1.8; margin:0 0 24px; }
.manual-recipe-option { padding:18px 0 0; margin-top:24px; border-top:1px solid #e1e9d9; }
.manual-recipe-option summary { cursor:pointer; color:#53734a; font-size:13px; font-weight:600; }
.manual-recipe-option p { margin:14px 0; font-size:12px; line-height:1.8; color:#6f8163; }
.manage-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; align-items:start; }
.manage-group h2 { font-size:17px; color:#3f603f; margin-bottom:10px; }
.manage-group .care-link { padding:16px 0; }
.manage-group .care-link strong { font-size:12px; color:#496447; }
.manage-group .care-link small { font-size:11px; color:#74876a; }
.starter-restart { margin:20px 0; }
.community-join-panel { border:1px solid #dee7d8; border-radius:14px; background:#fff; margin:16px 0 20px; }
.community-join-panel > summary { cursor:pointer; padding:15px 20px; color:#41673d; font-size:12px; }
.community-join-panel > summary > span { margin-left:10px; color:#788c6f; font-size:11px; }
.community-join-content { padding:10px 20px 22px; }
.community-join-content h2 { color:#3e633c; font-size:16px; margin-bottom:18px; }
@media(max-width:1100px) and (min-width:761px){
 .care-start-card { flex-wrap:wrap; padding:16px; gap:10px; }
 .care-start-card > span:nth-child(2) { flex-basis:calc(100% - 52px); }
 .care-start-card .care-tool-arrow { display:none; }
 .manage-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px){
 .starter-steps { gap:9px; flex-wrap:wrap; }
 .starter-steps li { font-size:10px; gap:5px; }
 .starter-steps li > span:first-child { width:22px; height:22px; flex-basis:22px; }
 .starter-card { padding:20px; }
 .starter-card h2 { font-size:22px; }
 .starter-card .actions { gap:8px; }
 .starter-top .eyebrow { font-size:9px; }
 .daily-shortcuts { gap:8px; }
 .daily-shortcuts a { justify-content:center; padding:13px 7px; gap:6px; font-size:11px; }
 .daily-shortcuts a > span:last-child { display:none; }
 .daily-shortcuts a > svg { width:16px; height:16px; }
 .care-start-grid { grid-template-columns:minmax(0,1fr); gap:10px; margin-bottom:22px; }
 .care-start-card { padding:16px; }
 .care-start-card small { font-size:11px; margin-top:3px; }
 .manage-grid { grid-template-columns:minmax(0,1fr); }
 .meal-flow { gap:10px; flex-wrap:wrap; font-size:11px; }
 .community-join-panel > summary > span { display:block; margin:4px 0 0 15px; }
}
/* AI meal planning: a readable setup and an actual weighed-batch schedule. */
.planner-eyebrow {font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--muted);}
.planner-profile {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:22px 26px;margin-bottom:22px;background:#eaf1e6;border:1px solid #d9e5d4;border-radius:var(--radius);}
.planner-profile h2 {font-size:22px;margin:5px 0;}
.planner-profile p {margin:0;color:var(--muted);font-size:13px;}
.planner-profile-issues {flex-basis:100%;margin:8px 0 0;padding-left:20px;font-size:13px;color:var(--orange);}
.planner-section-heading {display:flex;align-items:flex-start;gap:14px;margin:24px 0 22px;}
.planner-section-heading:first-child {margin-top:0;}
.planner-section-heading h2 {margin:0 0 4px;font-size:19px;}
.planner-section-heading p {margin:0;color:var(--muted);font-size:13px;}
.planner-step {background:#edf2e8;border:1px solid #dce6d5;color:#66815a;border-radius:10px;min-width:36px;height:36px;display:grid;place-items:center;font-size:11px;font-weight:700;}
.planner-scope {padding:18px 20px;background:#f2f5ed;border:1px solid #e2e8db;border-radius:12px;margin:20px 0;}
.planner-scope strong {font-size:14px;}
.planner-scope p {font-size:13px;color:var(--muted);margin:8px 0;line-height:1.75;}
.planner-scope .btn {margin-top:8px;}
.planner-generate {display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:25px;}
.planner-generate p {flex:1;min-width:170px;font-size:12px;color:var(--muted);margin:0;line-height:1.7;}
.meal-plan-result .section-head {align-items:flex-start;gap:15px;}
.meal-plan-result .section-head h2 {margin:6px 0 0;}
.meal-plan-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0;}
.meal-plan-stats>div {padding:18px;background:#f5f7f0;border:1px solid #e6ebdf;border-radius:12px;}
.meal-plan-stats span,.meal-plan-stats small {display:block;color:var(--muted);font-size:11px;}
.meal-plan-stats strong {display:block;font-size:23px;margin:6px 0;letter-spacing:-.5px;}
.meal-plan-table {width:100%;border-collapse:collapse;font-size:13px;}
.meal-plan-table th {background:#f5f7f0;font-size:11px;color:var(--muted);font-weight:600;}
.meal-plan-table td,.meal-plan-table th {text-align:left;padding:14px 12px;border-bottom:1px solid var(--line);}
.meal-plan-table small {display:block;font-size:11px;color:var(--muted);max-width:280px;margin-top:4px;}
.meal-prep {margin:22px 0;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;}
.meal-prep summary {cursor:pointer;font-weight:650;}
.meal-prep li {margin:9px 0;line-height:1.8;color:var(--muted);}
.meal-plan-result .actions {gap:10px;}
@media(max-width:600px){
 .planner-profile {padding:18px;}
 .meal-plan-stats {gap:7px;}
 .meal-plan-stats>div {padding:13px 9px;}
 .meal-plan-stats strong {font-size:18px;}
 .meal-plan-stats span {font-size:10px;}
 .meal-plan-table td,.meal-plan-table th {padding:12px 8px;font-size:11px;}
 .meal-plan-table small {font-size:10px;max-width:115px;}
 .planner-generate {display:block;}
 .planner-generate .btn {width:100%;}
 .planner-generate p {margin-top:12px;}
 .meal-plan-result .section-head {flex-direction:column;}
}
@media print{
 .meal-plan-table {break-inside:auto;}
 .meal-plan-table tr {break-inside:avoid;}
 .meal-plan-stats {grid-template-columns:repeat(3,1fr);}
 .meal-plan-result .table-scroll {overflow:visible;}
}
.meal-nutrition-details>summary {cursor:pointer;font-weight:650;font-size:15px;}
.meal-nutrition-details>.card {box-shadow:none;padding:22px 0 0;border:0;margin-bottom:0;}
.meal-nutrition-details>.alert {margin-top:22px;}
#care-ai-guest .consent>span {min-width:0;flex:1;line-height:1.75;overflow-wrap:anywhere;}
/* First-use clarity: show the product's three jobs and the next useful action. */
.welcome-clarity{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:30px;min-height:0;padding:32px;}
.welcome-clarity h2{font-size:36px;max-width:470px;line-height:1.18;letter-spacing:-1px;}
.welcome-clarity p{font-size:14px;line-height:1.8;max-width:500px;}
.welcome-clarity .actions{margin:22px 0 0;}
.welcome-clarity .welcome-note{font-size:11px;max-width:490px;line-height:1.7;}
.welcome-workflow{padding:22px;border:1px solid #dce7d4;border-radius:16px;background:#f9fbf5;}
.welcome-workflow>div{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid #e5ecdf;}
.welcome-workflow>div:last-child{border:0;padding-bottom:0;}
.welcome-workflow>div>svg{padding:8px;width:38px;height:38px;border-radius:11px;background:#e8f0e0;color:#62834e;flex-shrink:0;}
.welcome-workflow strong{display:block;font-size:14px;color:#3f603c;}
.welcome-workflow small{display:block;font-size:11px;color:#7a8a6f;margin-top:3px;}
.product-spotlight{margin:26px 0;}
.spotlight-heading{margin-bottom:15px;}
.spotlight-heading .eyebrow{color:#74876c;font-size:10px;}
.spotlight-heading h2{font-size:20px;line-height:1.45;letter-spacing:-.35px;margin:7px 0;}
.spotlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;}
.spotlight-card{position:relative;display:flex;align-items:flex-start;gap:13px;min-width:0;background:#fff;border:1px solid #dce6d5;border-radius:15px;padding:21px 18px;text-decoration:none;transition:background .15s,border-color .15s;}
.spotlight-card:hover{background:#f1f6eb;border-color:#a8bf97;text-decoration:none;}
.spotlight-card>span:nth-child(2){min-width:0;}
.spotlight-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;background:#edf3e6;border-radius:10px;color:#688b54;}
.spotlight-card small{display:block;font-size:8px;letter-spacing:.6px;color:#889b7c;margin-bottom:6px;}
.spotlight-card strong{display:block;font-size:15px;color:#365c3c;line-height:1.4;}
.spotlight-card p{font-size:11px;color:#718368;line-height:1.75;margin:9px 0 0;}
.spotlight-arrow{position:absolute;right:13px;top:14px;color:#9aac8e;font-size:12px;}
.product-spotlight.compact .spotlight-heading h2{display:none;}
.product-spotlight.compact .spotlight-card{padding:15px 14px;}
.product-spotlight.compact .spotlight-card small{display:none;}
.product-spotlight.compact .spotlight-card strong{font-size:13px;}
.product-spotlight.compact .spotlight-card p{font-size:10px;margin-top:5px;}
.app-breadcrumbs{display:flex;gap:10px;align-items:center;font-size:11px;color:#879681;margin:0 0 18px;}
.app-breadcrumbs a{color:#58734e;text-decoration:none;}
.app-breadcrumbs [aria-current]{color:#536b4a;}
.account-link.active{background:#eaf1e4;color:#355b3b;border-radius:8px;}
.today-feeding{margin:26px 0;}
.today-feeding>.section-head h2{font-size:20px;letter-spacing:-.4px;}
.saved-plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px;}
.saved-plan-card{min-width:0;background:#fff;border:1px solid #dce6d5;border-radius:16px;padding:23px;}
.saved-plan-card header{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.saved-plan-card h3{font-size:21px;margin:5px 0;}
.saved-plan-portions{display:flex;gap:22px;margin:18px 0 22px;flex-wrap:wrap;}
.saved-plan-portions>div{flex:1;min-width:100px;}
.saved-plan-portions span,.saved-plan-portions small{display:block;font-size:11px;color:#76866d;}
.saved-plan-portions strong{display:block;font-size:25px;letter-spacing:-.5px;margin:4px 0;}
.saved-plan-card .fine-print{margin-bottom:0;}
.community-intro.community-intro-compact{padding:16px 20px;background:#edf3e8;margin-bottom:14px;}
.community-intro-compact h2{font-size:18px;margin:0 0 5px;}
.community-intro-compact p{font-size:12px;margin:5px 0;}
.community-intro-compact details{font-size:11px;margin-top:6px;}
.community-profile-menu{border:1px solid #e1e8da;border-radius:11px;background:#fff;margin:12px 0;}
.community-profile-menu>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 15px;font-size:12px;}
.community-profile-menu>summary>span:last-child{font-size:10px;color:#788d6d;}
.community-profile-menu .person-avatar{width:28px;height:28px;min-width:28px;font-size:12px;}
.community-profile-controls{padding:5px 16px 17px;border-top:1px solid #edf0e8;}
.community-profile-controls p{font-size:12px;}
.support-card>summary{cursor:pointer;font-size:14px;font-weight:600;}
.support-card>h2{font-size:18px;margin-top:18px;}
.consent>span{min-width:0;flex:1;line-height:1.75;overflow-wrap:anywhere;}
.planner-access .card{background:#f5f8f0;border:1px solid #dce7d3;}
@media(max-width:1100px){.spotlight-card{display:block;padding:18px;}.spotlight-icon{width:34px;margin-bottom:12px;}.product-spotlight.compact .spotlight-card{display:flex;}.product-spotlight.compact .spotlight-card p{display:none;}.product-spotlight.compact .spotlight-icon{margin:0;}}
@media(max-width:760px){
 .welcome-clarity{display:block;padding:25px 23px;}
 .welcome-clarity h2{font-size:29px;}
 .welcome-clarity p{font-size:12px;}
 .welcome-workflow{display:none;}
 .spotlight-grid{grid-template-columns:1fr;gap:10px;}
 .spotlight-card{display:flex;padding:17px 18px;gap:13px;}
 .spotlight-icon{margin-bottom:0;}
 .spotlight-card small{font-size:8px;margin-bottom:3px;}
 .spotlight-card strong{font-size:14px;}
 .spotlight-card p{margin:5px 0 0;font-size:11px;}
 .spotlight-heading h2{font-size:19px;}
 .product-spotlight.compact .spotlight-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
 .product-spotlight.compact .spotlight-card{display:block;padding:13px 9px;}
 .product-spotlight.compact .spotlight-icon{width:30px;height:30px;margin-bottom:9px;}
 .product-spotlight.compact .spotlight-card strong{font-size:11px;}
 .product-spotlight.compact .spotlight-arrow{display:none;}
 .saved-plans-grid{grid-template-columns:1fr;}
 .saved-plan-card{padding:19px;}
 .today-feeding>.section-head{align-items:center;gap:10px;}
 .today-feeding>.section-head h2{font-size:18px;}
 .today-feeding>.section-head a{font-size:10px;}
 .community-intro.community-intro-compact{padding:14px 16px;}
 .community-intro-compact h2{font-size:16px;}
}
@media print{.product-spotlight,.welcome-workflow,.app-breadcrumbs{display:none;}.saved-plan-card{break-inside:avoid;}}
.welcome-jumps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0;}
.welcome-jumps a{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 7px;border:1px solid #d5e3cd;background:#f8fbf2;border-radius:10px;text-decoration:none;color:#436743;font-size:11px;font-weight:600;}
.welcome-jumps a:hover{background:#fff;border-color:#a9bf98;}
.welcome-jumps svg{width:20px;height:20px;color:#658c54;}
@media(max-width:760px){.welcome-clarity{padding:23px 20px;}.welcome-clarity h2{font-size:27px;}.welcome-clarity p{margin-bottom:14px;}.welcome-clarity .actions{margin-top:16px;}.welcome-jumps{margin:16px 0 0;}.welcome-jumps a{font-size:10px;padding:11px 5px;}}
.community-profile-menu .community-avatar{width:28px;height:28px;min-width:28px;font-size:12px;}
.saved-plan-card .eyebrow{color:#74886a;}
/* Today is a daily workspace, with one record area and one tools/reminder rail. */
.today-mode .content{width:100%;max-width:1320px;padding:34px 38px 42px;}
.today-home>.view-head{margin-bottom:22px;}
.today-home>.view-head h1{font-size:30px;letter-spacing:-.8px;}
.today-home>.view-head p{font-size:13px;color:#7a897b;}
.today-workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px;align-items:start;}
.today-main,.today-side{display:flex;flex-direction:column;gap:20px;min-width:0;}
.today-home .card{padding:22px 24px;border-radius:16px;box-shadow:none;}
.today-home .section-head{margin-bottom:18px;align-items:center;gap:12px;}
.today-home .section-head h2{font-size:17px;letter-spacing:-.25px;margin:0;display:flex;align-items:center;gap:9px;}
.today-home .section-head a{font-size:11px;white-space:nowrap;}
.today-pulse{display:flex;gap:18px;flex-wrap:wrap;color:#778772;font-size:12px;margin:-8px 0 24px;}
.today-pulse span+span{padding-left:18px;border-left:1px solid #dce5d7;}
.today-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:7px;background:#eff4eb;font-size:11px;font-weight:500;color:#6e8864;}
.today-count.due{background:#f7ecdd;color:#a97b44;}
.today-journal-empty{padding:30px 15px 24px;text-align:center;color:#7a8b73;}
.today-empty-icon{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 14px;border-radius:13px;background:#f0f5e9;color:#8fa580;}
.today-empty-icon svg{width:23px;height:23px;}
.today-journal-empty h3{font-size:17px;font-weight:600;color:#4b6848;margin:10px 0 8px;}
.today-journal-empty p{font-size:13px;color:#7f8e78;margin:0 0 19px;line-height:1.7;}
.today-journal .record-row:last-child{border-bottom:0;}
.today-journal .row-title{font-size:14px;}
.today-journal .record-row>.row-actions{gap:4px;}
.today-journal .record-row{flex-wrap:wrap;}
.today-journal .record-body{min-width:140px;}
.today-repeat-meal{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;margin:0 0 12px;border:1px solid #e1e8da;border-radius:11px;background:#f9fbf6;}
.today-repeat-meal>span{min-width:0;}
.today-repeat-meal small{display:block;font-size:10px;color:#7a8b71;margin-bottom:5px;}
.today-repeat-meal strong{display:block;font-size:13px;overflow-wrap:anywhere;}
.today-repeat-meal .btn{flex-shrink:0;}
.record-reuse{color:#366446;font-weight:600;}
.today-quick-records{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 16px;}
.today-quick-record{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:12px 8px;border:1px solid #dce6d6;border-radius:10px;background:#f7faf3;color:#46683f;font:inherit;font-size:12px;font-weight:600;cursor:pointer;}
.today-quick-record svg{width:20px;height:20px;flex-shrink:0;color:#739364;}
.today-quick-record:hover{background:#edf4e6;border-color:#a9bf98;}
.today-quick-record:focus-visible{outline:3px solid #426b3b;outline-offset:3px;}
.today-tools .section-head{margin-bottom:8px;}
.today-tool{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #edf0e8;text-decoration:none;}
.today-tool:hover{text-decoration:none;}
.today-tool:hover strong{color:#245c46;}
.today-tool>span:nth-child(2){flex:1;min-width:0;}
.today-tool-icon{width:35px;height:35px;border-radius:10px;background:#eff5e8;display:grid;place-items:center;flex-shrink:0;color:#71975d;}
.today-tool-icon svg{width:19px;height:19px;}
.today-tool strong{font-size:14px;font-weight:600;color:#496c43;display:block;}
.today-tool small{font-size:11px;line-height:1.6;color:#8a9b7f;display:block;margin-top:3px;}
.today-tool>span:last-child{font-size:12px;color:#a1b094;}
.today-portion-link{display:block;font-size:11px;margin-top:15px;color:#7f9471;}
.today-reminder{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #edf0e8;padding:13px 0;}
.today-reminder>div{flex:1;min-width:120px;}
.today-reminder strong{font-size:13px;display:block;font-weight:550;}
.today-reminder small{font-size:11px;color:#8b9a82;display:block;margin-top:4px;}
.today-overdue{font-size:10px;color:#a87648;}
.today-reminder-empty{padding:3px 0 4px;}
.today-reminder-empty p{font-size:13px;color:#89987f;line-height:1.7;margin:0 0 8px;}
.today-reminder-empty .icon-button{padding-left:0;color:#52794c;font-size:12px;}
.today-reminder-note{font-size:10px!important;color:#9aa58f!important;margin:15px 0 0!important;line-height:1.6!important;}
.today-links.daily-shortcuts{display:flex;justify-content:space-between;gap:14px;margin:0;padding:0 5px;}
.today-links.daily-shortcuts a{border:0;padding:7px 0;background:none;border-radius:0;font-size:12px;font-weight:400;color:#7c8e71;gap:7px;}
.today-links.daily-shortcuts a:hover{background:none;color:#42653b;}
.today-links.daily-shortcuts svg{width:16px;height:16px;}
.today-main .today-feeding{margin:0;}
.today-main .today-feeding>.section-head{margin:0 0 12px;padding:0 2px;}
.today-main .saved-plans-grid{grid-template-columns:1fr;}
.today-main .saved-plan-card{padding:21px 23px;}
.today-main .saved-plan-card .fine-print{font-size:10px!important;}
.today-home .starter-card{padding:19px 23px;margin-bottom:23px;border-radius:14px;background:#f1f6eb;}
.today-home .starter-card h2{font-size:21px;margin:12px 0 7px;}
.today-home .starter-card>p{font-size:12px;margin:8px 0 15px;max-width:none;}
.today-home .starter-steps{margin:14px 0;}
@media(min-width:1550px){.today-mode .content{padding:40px 50px;}}
@media(max-width:1000px) and (min-width:761px){.today-mode .content{padding:28px 24px;}.today-workspace{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:16px;}.today-home .card{padding:20px;}.today-home .section-head a{font-size:10px;}}
@media(max-width:760px){
 .today-mode .content{padding:25px 18px 32px;}
 .today-home>.view-head{margin-bottom:20px;}
 .today-home>.view-head h1{font-size:26px;}
 .today-home>.view-head p{font-size:11px;}
 .today-home .view-head>.actions{max-width:125px;}
 .today-workspace{grid-template-columns:1fr;gap:18px;}
 .today-main,.today-side{gap:18px;}
 .today-home .card{padding:19px 20px;}
 .today-home .section-head h2{font-size:16px;}
 .today-journal-empty{padding:19px 8px 18px;}
 .today-journal-empty h3{font-size:16px;}
 .today-journal-empty p{font-size:12px;}
 .today-quick-records{grid-template-columns:repeat(2,minmax(0,1fr));}
 .today-pulse{font-size:11px;margin-top:-6px;gap:10px;}
 .today-pulse span+span{padding-left:10px;}
 .today-main .saved-plan-card{padding:19px;}
 .today-home .starter-card{padding:18px;}
 .today-home .starter-card h2{font-size:20px;}
 .today-links.daily-shortcuts a{font-size:11px;}
}
@media print{.today-workspace{display:block;}.today-main,.today-side{display:block;}.today-home .today-tools,.today-home .today-links,.today-quick-records{display:none;}.today-home .card{margin-bottom:18px;break-inside:avoid;}}
/* Community: readable post cards and a quiet contextual rail. */
.community-mode .content{width:100%;max-width:1110px;padding:34px 38px 42px;}
.community-mode .content>.view-head{margin-bottom:18px;align-items:center;}
.community-mode .view-head h1{font-size:30px;letter-spacing:-.7px;}
.community-mode .view-head p{font-size:13px;line-height:1.7;}
.community-utility{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px;min-width:0;}
.community-utility .back-link{font-size:12px;margin:0;}
.community-rules-shortcut{margin-left:auto;font-size:11px;color:#849477;white-space:nowrap;}
.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:start;}
.community-main,.community-side{min-width:0;}
.community-side{display:flex;flex-direction:column;gap:18px;}
.community-side .card{padding:21px;border-radius:15px;box-shadow:none;}
.community-aside-label{font-size:9px;letter-spacing:1.4px;color:#8da17d;font-weight:650;}
.community-about h2{font-size:20px;margin:13px 0;line-height:1.4;letter-spacing:-.35px;color:#43633c;}
.community-about p,.community-about li{font-size:12px;color:#849577;line-height:1.8;}
.community-about ul{padding-left:17px;margin:15px 0;}
.community-about li{margin:9px 0;}
.community-about details{font-size:12px;margin:16px 0;}
.community-about summary{cursor:pointer;font-weight:550;color:#6c8660;}
.community-safety-link{display:block;font-size:11px;margin-top:12px;color:#8c9d80;}
.community-side .support-card{margin:0;}
.community-side .support-card summary{font-size:13px;}
.community-side .support-card p{margin-top:15px;font-size:12px;line-height:1.8;color:#819473;}
.community-side .support-card form{margin-top:18px;}
.community-side .support-card .btn{font-size:11px;}
.community-utility .community-profile-menu{position:relative;background:transparent;border:0;margin:0;max-width:100%;}
.community-utility .community-profile-menu>summary{padding:0;gap:15px;justify-content:flex-start;font-size:12px;min-height:34px;}
.community-utility .community-profile-menu>summary>span:last-child{font-size:10px;}
.community-utility .community-profile-menu strong{display:block;max-width:145px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}
.community-utility .community-avatar{flex:0 0 28px;width:28px;height:28px;min-width:28px;font-size:12px;}
.community-utility .community-profile-controls{position:absolute;z-index:25;top:calc(100% + 8px);left:0;width:min(330px,calc(100vw - 42px));padding:14px 18px 18px;border:1px solid #dfe7d8;border-radius:13px;background:#fff;box-shadow:0 14px 35px #21463016;}
.community-profile-controls .icon-button{display:block;text-align:left;width:100%;padding-left:0;font-size:12px;}
.community-feed{margin-top:0;}
.community-feed-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 10px;}
.community-feed-header h2{font-size:15px;color:#6b805e;font-weight:600;margin:0;}
.community-feed-header .icon-button{font-size:11px;min-height:30px;padding:5px 0;}
.community-topic-tabs{display:flex;gap:7px;overflow-x:auto;max-width:100%;padding-bottom:12px;margin-bottom:3px;scrollbar-width:thin;}
.community-topic-tabs button{flex:none;border:1px solid #dfe6d7;border-radius:8px;padding:8px 11px;background:transparent;color:#8b9d7d;font:inherit;font-size:11px;white-space:nowrap;cursor:pointer;}
.community-topic-tabs button:hover{background:#edf3e7;}
.community-topic-tabs button[aria-pressed=true]{border-color:#cbdcc0;background:#e6efdf;color:#466c3e;font-weight:600;}
.community-post-list{display:flex;flex-direction:column;gap:18px;}
.community-post-list>.community-post{padding:23px 24px;border:1px solid #dfe7d8;border-radius:16px;background:#fff;box-shadow:none;}
.community-post>.section-head{margin-bottom:14px;align-items:flex-start;gap:12px;}
.community-author-line .community-author-name,.community-author-line>strong{font-size:14px;}
.community-guest-label{font-size:9px;color:#8b9f7e;line-height:1.4;}
.community-post-meta{margin:4px 0 0;font-size:11px!important;color:#91a084;line-height:1.7;}
.community-post-meta span{color:#718a63;}
.community-post-list .community-post h3{font-size:20px;line-height:1.5;letter-spacing:-.25px;margin:13px 0 10px;}
.community-post-list .community-post h3 a{color:#3e603b;text-decoration:none;}
.community-post-list .community-body{max-width:65ch;font-size:14px;line-height:1.85;color:#647d59;margin:10px 0 17px;}
.community-post-list .community-avatar{flex-basis:38px;width:38px;height:38px;font-size:16px;}
.community-post-list .community-post-media{margin:18px 0 16px;overflow:hidden;border-radius:11px;}
.community-post-list .community-post-media .community-photo-preview{display:block;width:100%;height:auto;max-height:360px;aspect-ratio:4/3;object-fit:contain;border-radius:11px;background:#f2f5ee;}
.is-detail .community-post-media .community-photo-preview{max-height:600px;}
.community-post-actions{display:flex;align-items:center;gap:15px;margin-top:17px;padding-top:13px;border-top:1px solid #edf1e7;flex-wrap:wrap;}
.community-post-actions .icon-button{font-size:11px;padding:6px 0;color:#819673;min-height:32px;}
.community-post-actions [aria-pressed=true]{color:#3e743b;font-weight:650;}
.community-post-actions .community-save{margin-left:auto;}
.community-read-more{font-size:12px;display:inline-block;margin-bottom:5px;}
.community-load-more{margin-top:20px;}
.community-loading{padding:25px 0;font-size:13px;}
.community-main>.community-join-panel{margin:0 0 18px;background:#f2f6ed;}
.community-compose{padding:26px;border-radius:16px;}
.community-compose>h2{font-size:20px;}
.community-compose .community-photo-preview{width:auto;max-width:100%;max-height:320px;object-fit:contain;margin:15px 0;}
.community-main .comment-form{margin-top:20px;}
.community-main .report-form{margin-top:20px;}
@media(max-width:1100px) and (min-width:981px){.community-mode .content{padding:28px 24px;}.community-layout{grid-template-columns:minmax(0,1fr) 220px;gap:18px;}.community-post-list>.community-post{padding:20px;}}
@media(max-width:980px){.community-layout{grid-template-columns:1fr;}.community-side{max-width:760px;}.community-main{max-width:760px;}.community-mode .content{max-width:850px;}.community-side .community-about{background:#f3f6ee;}.community-about h2{font-size:17px;}}
@media(max-width:760px){
 .community-mode .content{padding:25px 18px 30px;}
 .community-mode .view-head h1{font-size:26px;}
 .community-mode .view-head p{font-size:11px;}
 .community-mode .content>.view-head{align-items:flex-start;gap:12px;}
 .community-utility{gap:10px;margin-bottom:15px;}
 .community-rules-shortcut{font-size:10px;}
 .community-utility .community-profile-menu>summary{font-size:11px;gap:10px;}
 .community-utility .community-profile-menu strong{max-width:110px;}
 .community-utility .community-profile-menu>summary>span:last-child{font-size:9px;}
 .community-topic-tabs{gap:6px;}
 .community-topic-tabs button{padding:8px 10px;font-size:10px;}
 .community-post-list{gap:15px;}
 .community-post-list>.community-post{padding:18px;}
 .community-post-list .community-post h3{font-size:18px;}
 .community-post-list .community-body{font-size:13px;line-height:1.85;}
 .community-post-list .community-post-meta{font-size:10px!important;}
 .community-post-list .community-author-line .community-author-name,.community-post-list .community-author-line>strong{font-size:13px;}
 .community-post-list .community-avatar{flex-basis:34px;width:34px;height:34px;font-size:14px;}
 .community-post-list .community-post-media .community-photo-preview{max-height:300px;}
 .is-detail .community-post-media .community-photo-preview{max-height:500px;}
 .community-compose{padding:20px;}
 .community-utility .back-link{font-size:11px;}
}
@media print{.community-side,.community-utility,.community-topic-tabs{display:none;}.community-layout{display:block;}.community-post-list>.community-post{break-inside:avoid;}.community-post-list .community-post-media .community-photo-preview{max-height:420px;}}
@media(max-width:760px){.community-utility{position:relative;}.community-utility .community-profile-menu{position:static;}.community-main .comment-form label{min-width:0;}.community-main .comment-form input{min-width:0;}}
/* Post attachments use their own aspect ratio; actions stay visible and touchable. */
.community-post-list .community-body{color:#40543e;line-height:1.75;margin:10px 0 15px;}
.community-post-list .community-body p{color:inherit;font-size:inherit;line-height:inherit;white-space:pre-wrap;margin:0 0 12px;}
.community-post-list .community-body p:last-child{margin-bottom:0;}
.community-post-list .community-post h3 a{color:#304d32;}
.community-post-list .community-post-meta{color:#6d7f64;}
.community-guest-label{color:#6f8066;}
.community-post-list .community-post-media{width:fit-content;max-width:100%;margin:16px 0;border-radius:12px;background:transparent;}
.community-photo-open{position:relative;display:block;max-width:100%;padding:0;border:0;border-radius:12px;background:transparent;cursor:zoom-in;text-align:left;line-height:0;}
.community-photo-open:focus-visible{outline:3px solid #557b4b;outline-offset:4px;}
.community-photo-open:disabled{cursor:default;opacity:1;line-height:1.7;}
.community-post-list .community-post-media .community-photo-preview{width:auto;max-width:100%;height:auto;max-height:360px;aspect-ratio:auto;object-fit:contain;background:transparent;}
.is-detail .community-post-media .community-photo-preview{max-height:560px;}
.community-photo-hint{position:absolute;bottom:10px;right:10px;width:30px;height:30px;display:grid;place-items:center;background:#1f352ac7;border:1px solid #ffffff50;border-radius:8px;color:#fff;pointer-events:none;}
.community-photo-hint svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.community-post-actions{gap:9px;margin-top:17px;padding-top:12px;}
.community-post-actions .icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;line-height:1.4;min-height:40px;padding:8px 10px;color:#4f6848;border-radius:9px;white-space:nowrap;}
.community-post-actions .icon-button:hover{background:#eef4e8;color:#31552f;}
.community-post-actions .icon-button:focus-visible{outline:2px solid #557b4b;outline-offset:3px;}
.community-post-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.community-post-actions button[aria-pressed=true]{background:#eaf2e3;color:#376735;}
.community-post-actions button[aria-pressed=true] svg{fill:currentColor;}
.community-action-count{font-size:11px;}
.community-comment-section{margin-top:25px;padding-top:19px;border-top:1px solid #e5ebdd;}
.community-comment-section>h4{font-size:15px;margin:0 0 15px;}
.community-comment-section:focus{outline:0;}
#community-photo-viewer{width:min(1100px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce4d6;border-radius:17px;background:#fcfdf9;color:#28452d;box-shadow:0 25px 100px #14291f55;}
#community-photo-viewer::backdrop{background:#14251ee6;}
body:has(#community-photo-viewer[open]){overflow:hidden;}
.community-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px;border-bottom:1px solid #e5eadd;}
.community-viewer-head>div:first-child{min-width:0;}
.community-viewer-head h2{font-size:15px;margin:0 0 3px;}
.community-viewer-caption{font-size:12px;color:#7a8b70;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:65ch;margin:0;}
.community-viewer-controls{display:flex;gap:10px;align-items:center;flex:none;}
.community-viewer-controls button{font:inherit;font-size:12px;color:#496543;background:#f2f6eb;border:1px solid #dce5d3;border-radius:8px;min-height:38px;padding:7px 12px;cursor:pointer;}
.community-viewer-controls .community-viewer-close{width:38px;padding:9px;display:grid;place-items:center;}
.community-viewer-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;}
.community-viewer-stage{height:min(70dvh,740px);min-height:160px;overflow:auto;display:grid;place-items:center;padding:18px;background:#eef2e8;}
.community-viewer-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(min(70dvh,740px) - 36px);object-fit:contain;border-radius:6px;}
#community-photo-viewer.is-zoomed .community-viewer-stage{display:block;}
#community-photo-viewer.is-zoomed .community-viewer-stage img{max-width:none;max-height:none;margin:auto;}
.community-viewer-note{font-size:11px;padding:11px 22px;margin:0;color:#7c8e71;}
.community-viewer-error{font-size:13px;padding:0 22px;color:#956542;}
.community-viewer-error:empty{display:none;}
@media(max-width:760px){
 .community-post-actions{gap:4px;}
 .community-post-actions .icon-button{min-height:44px;font-size:12px;padding:8px 7px;gap:5px;}
 .community-post-list .community-post-media .community-photo-preview{max-height:320px;}
 .is-detail .community-post-media .community-photo-preview{max-height:460px;}
 #community-photo-viewer{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:13px;}
 .community-viewer-head{padding:14px;gap:10px;}
 .community-viewer-controls{gap:7px;}
 .community-viewer-controls button{font-size:11px;padding:7px 9px;}
 .community-viewer-caption{font-size:11px;}
 .community-viewer-stage{padding:10px;}
 .community-viewer-stage img{max-height:calc(70dvh - 20px);}
 .community-viewer-note{padding:10px 14px;font-size:10px;}
}
@media print{.community-photo-hint{display:none;}.community-photo-open{cursor:default;}.community-post-actions{display:none;}body:has(#community-photo-viewer[open]){overflow:visible;}}
.community-comment-join{font-size:13px;}
.community-comment-join .btn{font-size:12px;}
.community-post-list .community-post-media{overflow:visible;}

/* Content safety workflows: scoped controls, readable status and mobile review. */
.review-tab{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;font-size:13px;text-decoration:none;min-height:44px}
.review-tab[aria-current=page],.has-review-update{background:#e7f0e8;color:#214c3d;font-weight:700}
#community-review{min-width:0}.review-activity-item{padding:22px 0;border-bottom:1px solid var(--border,#dfe5da)}
.review-activity-item header,.review-operator-item header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;color:#52655d}
.review-state{display:inline-flex;padding:5px 10px;border-radius:999px;background:#e8f0e8;font-size:12px;font-weight:700;color:#244f3e}
.review-state.state-pending{background:#fff0cc;color:#755000}.review-state.state-hidden,.review-state.state-rejected{background:#f9e6e1;color:#8c372a}
.review-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;color:#304b40}
.review-activity-item a{display:inline-block;margin:6px 16px 6px 0}.review-activity-item small{display:block;overflow-wrap:anywhere;color:#53645c}
.review-notices{margin:20px 0;padding:16px;border:1px solid #dfe5da;border-radius:14px}.review-notices summary{cursor:pointer;font-weight:700;min-height:28px}
.review-notices article{padding:14px 0;border-bottom:1px solid #e8ece5}.review-notices article p{white-space:pre-wrap;overflow-wrap:anywhere}
.review-operator-item{margin:16px 0}.review-operator-item .community-body{white-space:pre-wrap;overflow-wrap:anywhere}.review-operator-item form{margin:18px 0;max-width:680px}
.review-operator-item details{padding:12px 0}.review-operator-item summary{cursor:pointer;min-height:30px;font-weight:700}.review-operator-item small,.review-flags{overflow-wrap:anywhere}
.review-photo img{display:block;max-width:100%;max-height:600px;object-fit:contain;border-radius:12px;margin-top:14px}
.review-views{display:flex;gap:10px;flex-wrap:wrap}.review-item-error,.review-error{color:#943e2a;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.review-operator-item form .btn{width:100%;min-height:44px}.review-activity-item{padding:18px 0}.review-operator-item{padding:18px}.review-views .btn{min-height:44px}.review-photo img{max-height:420px}}
.dm-removed{font-style:italic;color:#5d6b65;background:#f2f4ee!important;border-style:dashed!important;font-size:12px}

.routine-share-invite{display:flex;gap:18px;align-items:center;justify-content:space-between;border:1px solid #dce7d5;background:#f4f8ee;border-radius:14px;padding:18px 20px;}
.routine-share-invite strong{font-size:13px;color:#42623b;}
.routine-share-invite p{font-size:11px;line-height:1.7;margin:7px 0 0;color:#7b8c70;}
.routine-share-invite .actions{flex-shrink:0;gap:10px;}
.routine-share-invite .icon-button{font-size:11px;}
@media(max-width:650px){.routine-share-invite{align-items:flex-start;flex-direction:column;gap:12px;}.routine-share-invite .actions{align-self:flex-end;}}
@media print{.routine-share-invite{display:none!important;}}

/* Private care reports. */
.report-controls{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:0 0 24px;}
.report-periods{display:flex;gap:4px;padding:4px;border:1px solid #dce5d6;border-radius:11px;background:#f3f6ed;}
.report-period{border:0;border-radius:7px;padding:10px 17px;min-height:42px;font:inherit;font-size:13px;color:#718267;background:transparent;cursor:pointer;}
.report-period[aria-pressed=true]{background:white;color:#345b38;box-shadow:0 2px 5px #31472d12;font-weight:650;}
.report-period:focus-visible{outline:3px solid #426b3b;outline-offset:2px;}
.report-end{display:flex;align-items:center;gap:9px;font-size:12px;color:#6a7e60;}
.report-end input{width:155px;min-height:44px;background:white;border:1px solid #dce5d6;border-radius:8px;padding:9px;color:#294b33;font:inherit;}
.report-controls>p{font-size:11px;line-height:1.6;color:#819077;margin:0;}
.care-report .report-overview{margin-bottom:20px;}
.care-report-card{margin-top:22px;overflow:hidden;}
.care-report-card .section-head{align-items:center;gap:12px;}
.care-report-card .section-head h2{overflow-wrap:anywhere;}
.report-pet-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:18px 0 14px;gap:14px;}
.report-pet-metrics>div{padding:14px;background:#f6f8f1;border:1px solid #e8edde;border-radius:10px;min-width:0;}
.report-pet-metrics dt{font-size:11px;color:#7b8c71;line-height:1.6;}
.report-pet-metrics dd{margin:6px 0 0;font-size:24px;line-height:1.25;font-weight:600;overflow-wrap:anywhere;}
.report-pet-metrics small{display:block;font-size:10px;font-weight:400;color:#7b8c71;margin-top:5px;}
.report-weight-change{font-size:12px;color:#6a7d61;margin:16px 0;}
.report-chart{margin-top:8px;}
.report-weight-data{font-size:12px;margin:14px 0 22px;}
.report-weight-data summary{cursor:pointer;color:#547448;padding:8px 0;}
.report-weight-data table{width:100%;text-align:left;margin-top:10px;font-size:12px;}
.report-weight-data th,.report-weight-data td{padding:9px 6px;border-bottom:1px solid #e6edde;}
.report-appetite{padding:16px 18px;background:#f8faf4;border-left:3px solid #b5cba0;border-radius:0 8px 8px 0;margin:20px 0;}
.report-appetite h3,.report-observations h3{font-size:13px;margin:0 0 8px;font-weight:650;}
.report-appetite p{font-size:12px;line-height:1.9;margin:0;color:#697d5f;overflow-wrap:anywhere;}
.report-observations{margin:22px 0 14px;}
.report-observations ul{list-style:none;padding:0;margin:0;}
.report-observations li{padding:13px 0;border-bottom:1px solid #e9eee2;break-inside:avoid;}
.report-observations li>div{font-size:10px;color:#7e8f73;display:flex;gap:10px;margin-bottom:6px;}
.report-observations li>strong{font-size:13px;overflow-wrap:anywhere;}
.report-observations li>p{font-size:12px;line-height:1.8;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;}
.report-observations>p,.report-empty{font-size:12px;line-height:1.9;color:#7c8d72;}
.report-journal-link{font-size:12px;display:inline-block;padding:7px 0;}
@media(max-width:650px){
 .report-controls{gap:14px;}.report-controls>p{width:100%;}.report-end{flex:1;justify-content:flex-end;}.report-end input{width:138px;}
 .report-period{padding:9px 12px;}.report-pet-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}.report-pet-metrics>div{padding:12px;}
 .care-report-card{padding:20px;}.care-report-card .section-head{flex-wrap:wrap;}.care-report .view-head>.actions{gap:8px;}
 .care-report .view-head>.actions .btn{font-size:11px;padding:10px 12px;}.today-repeat-meal{flex-wrap:wrap;}.today-repeat-meal .btn{margin-left:auto;}
}
@media(max-width:360px){.report-end{justify-content:flex-start;}.report-controls{gap:12px;}.report-controls>p{margin-top:0;}}
@media print{
 .report-controls,.report-journal-link,.today-repeat-meal{display:none!important;}
 .care-report-card{overflow:visible;break-inside:auto;}.report-pet-metrics,.report-appetite,.report-chart{break-inside:avoid;}
 .report-observations ul{padding:0;}.report-weight-data table{font-size:10px;}.care-report .view-head{margin-bottom:16px;}
}

/* Recovery, message requests and backup care. */
.account-access-dialog{width:min(480px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid var(--line,#dce3d9);border-radius:20px;padding:28px;color:var(--ink,#243e3a);background:#fff;box-shadow:0 24px 80px #173d2e26}.account-access-dialog::backdrop{background:#19392c66}.account-access-dialog h2{font-size:1.3rem}.account-access-dialog form{display:grid;gap:16px}.account-access-dialog p{line-height:1.65}.account-access-dialog [role=alert]{color:#9e3d31}.dm-request-banner{display:flex;align-items:center;gap:18px;justify-content:space-between;margin:12px 24px;padding:16px 20px;border:1px solid #cfded0;border-radius:14px;background:#f0f5ec}.dm-request-banner p{font-size:.85rem;margin:6px 0 0}.dm-request-banner[hidden]{display:none}.dm-filter-tabs{flex-wrap:wrap}.backup-reminder{display:flex;gap:18px;justify-content:space-between;align-items:center;border:1px solid #dce4d7;border-radius:14px;background:#f1f5ed;padding:18px;margin-top:20px}.backup-reminder p{font-size:.85rem;margin:6px 0}.settings-grid .backup-reminder{display:block;font-size:.85rem}.ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ops-grid .card{margin:0}.ops-table td{overflow-wrap:anywhere;max-width:500px}.ops-dns{font-family:ui-monospace,monospace;font-size:.8rem;user-select:all}.ops-mail-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}.ops-state{display:inline-flex;padding:4px 10px;border-radius:20px;background:#edf2e9;font-size:.8rem}.ops-state.pending{background:#fff1d7}@media(max-width:650px){.ops-grid{grid-template-columns:1fr}.dm-request-banner,.backup-reminder{align-items:flex-start;flex-direction:column}.dm-request-banner{margin:10px 12px}.account-access-dialog{padding:20px}}

/* Comfortable touch targets and reachable editor actions. */
@media(max-width:640px){
 #editor{max-height:calc(100dvh - 16px);width:calc(100% - 16px);margin:8px auto;padding:0}
 #editor-form{display:flex;flex-direction:column;max-height:calc(100dvh - 16px)}
 #editor .dialog-content{overflow-y:auto;min-height:0;overscroll-behavior:contain;padding-bottom:24px}
 #editor .dialog-head,#editor .dialog-actions{flex-shrink:0}
 #editor .dialog-actions{padding-bottom:max(16px,env(safe-area-inset-bottom));background:var(--surface,#fff);border-top:1px solid #ddd}
 #editor input,#editor select,#editor textarea{font-size:16px;min-height:44px}
 .row-actions .icon-button,.quick-actions button,.starter-card button{min-height:44px}
 .backup-reminder{overflow-wrap:anywhere}.backup-reminder li{margin:10px 0}
}

@media (max-width:760px) {
  .sidebar nav { gap:4px; }
  .sidebar .nav-item { justify-content:center; min-height:50px; font-size:0.8125rem; }
  .header-actions { gap:4px; min-width:0; }
  .header-actions > :is(.site-share-trigger,.account-link,.language-button) { min-width:44px; min-height:44px; }
  .topbar .header-actions .pet-select select { height:44px; font-size:1rem; padding-inline:9px 21px; }
  .view-head p, .welcome-clarity p { font-size:0.9375rem; }
  .welcome-jumps a { min-height:44px; font-size:0.8125rem; }
  .welcome-clarity .actions .btn { min-height:44px; font-size:0.875rem; }
  .community-topic-tabs { flex-wrap:wrap; }
  .community-topic-tabs button { min-height:44px; font-size:0.8125rem; }
}

@media (max-width:360px) {
  .mobile-brand { font-size:0.6875rem; }
  .mobile-brand img { width:24px; height:24px; }
  .topbar .header-actions .pet-select { width:80px; }
  .view-head { flex-wrap:wrap; }
  .view-head > .actions { max-width:none; }
}

/* Public website sharing, shared by the landing page and app. */
.site-share-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 11px;border:1px solid #dce5d7;border-radius:10px;background:transparent;color:#496945;font:inherit;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;}
.site-share-trigger svg{width:17px;height:17px;flex-shrink:0;}
.site-share-trigger:hover{background:#eef4e8;border-color:#b9ccb1;}
.site-share-trigger:focus-visible,.site-share-dialog :is(button,a,input):focus-visible{outline:3px solid #63835c;outline-offset:3px;}
.site-share-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #dfe6da;border-radius:22px;background:#fff;color:#254437;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 28px 100px #142c2540;overflow:auto;overscroll-behavior:contain;}
.site-share-dialog::backdrop{background:#17382d6b;backdrop-filter:blur(3px);}
.site-share-dialog *{box-sizing:border-box;}
.site-share-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:25px 26px 0;}
.site-share-eyebrow{margin:0 0 8px;color:#79956d;font-size:9px;font-weight:700;letter-spacing:1.6px;line-height:1.5;}
.site-share-head h2{margin:0 0 10px;font-size:25px;letter-spacing:-.6px;line-height:1.2;}
.site-share-head #site-share-description{margin:0;color:#73836b;font-size:13px;line-height:1.7;}
.site-share-close{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;border:0;border-radius:50%;background:#f1f5ec;color:#5b7552;font-size:24px;font-weight:400;cursor:pointer;line-height:1;}
.site-share-body{padding:22px 26px 25px;}
.site-share-native{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;min-height:46px;margin:0 0 18px;border:1px solid #245c46;border-radius:11px;background:#245c46;color:#fff;font:inherit;font-size:13px;font-weight:650;cursor:pointer;}
.site-share-native svg{width:18px;height:18px;}
.site-share-label{display:block;margin:0 0 7px;font-size:11px;font-weight:600;color:#63785c;}
.site-share-copy-row{display:flex;gap:7px;align-items:stretch;}
.site-share-copy-row input{width:100%;min-width:0;min-height:44px;margin:0;padding:11px 12px;border:1px solid #dce5d7;border-radius:10px;background:#fafcf8;color:#50684b;font:inherit;font-size:12px;}
.site-share-copy-row button{display:flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;min-height:44px;padding:10px 13px;border:1px solid #d2e0ca;border-radius:10px;background:#eff5e8;color:#3e673b;font:inherit;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap;}
.site-share-copy-row svg{width:16px;height:16px;}
.site-share-status{min-height:18px;margin:6px 0 10px;color:#55734b;font-size:11px;line-height:1.6;}
.site-share-platforms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.site-share-platform{display:flex;align-items:center;flex-direction:column;gap:7px;padding:10px 2px;border:1px solid #e5ebdf;border-radius:12px;color:#5e7554;text-decoration:none;font-size:10px;line-height:1.4;}
.site-share-platform:hover{background:#f6f9f1;color:#31593d;border-color:#c1d0b6;text-decoration:none;}
.site-share-platform-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f0f5e8;color:#496e43;font-size:18px;font-weight:650;font-family:system-ui,sans-serif;}
.site-share-platform-mark.fb{font-family:Arial,sans-serif;font-size:24px;}
.site-share-platform-mark.x{font-size:20px;}
.site-share-platform-mark.tg{font-size:22px;}
.site-share-platform-mark svg{width:23px;height:23px;}
.site-share-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px;padding-top:16px;border-top:1px solid #e6ecdf;color:#87997b;font-size:10px;line-height:1.5;}
.site-share-card{display:block;width:100%;height:auto;margin:0;border:1px solid #e0e8d7;border-radius:13px;}
.site-share-card-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;}
.site-share-card-caption p{margin:0;max-width:260px;color:#7b8c70;font-size:11px;line-height:1.7;}
.site-share-card-caption small{display:block;font-size:10px;color:#94a188;margin-top:4px;}
.site-share-download{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;flex-shrink:0;padding:9px 12px;border:1px solid #d8e3ce;border-radius:10px;color:#45683e;font-size:11px;font-weight:650;text-decoration:none;white-space:nowrap;}
.site-share-download:hover{background:#f1f6ea;color:#31593d;text-decoration:none;}
.site-share-download svg{width:16px;height:16px;}
.site-share-dialog button:disabled{cursor:wait;opacity:.65;}
.site-share-footer{border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
.site-share-invite{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0;padding:23px 25px;border:1px solid #dce6d2;border-radius:16px;background:#f1f6eb;}
.site-share-invite h2{margin:0 0 8px;font-size:18px;line-height:1.5;}
.site-share-invite p{margin:0;color:#819176;font-size:12px;line-height:1.7;}
@media(max-width:640px){.site-nav .site-share-trigger>span{display:none;}.site-nav .site-share-trigger{padding:7px;min-width:36px;border:0;}.site-share-invite{padding:20px;flex-wrap:wrap;}}
@media(max-width:380px){.site-nav{gap:6px;font-size:12px;}.site-nav .button{padding-inline:10px;}}
@media(max-width:760px){.header-actions .site-share-trigger{min-width:36px;padding:8px;border:0;}.header-actions .site-share-trigger>span{display:none;}.topbar .header-actions{gap:5px;}.topbar .pet-select{width:125px;}.topbar .language-button{padding:9px 5px;}}
@media(max-width:380px){.topbar .mobile-brand{font-size:11px;gap:5px;}.topbar .mobile-brand img{width:25px;height:25px;}.topbar .pet-select{width:94px;}.topbar .pet-select select{font-size:11px;padding-left:25px;padding-right:20px;}.topbar .pet-select-icon{left:7px;}.topbar .pet-select-icon svg{width:13px;}.topbar .pet-select-chevron{right:6px;width:12px;}.topbar .header-actions{gap:2px;}.topbar .account-link{padding-inline:4px;}.topbar .language-button{padding-inline:3px;}.header-actions .site-share-trigger{min-width:32px;padding:7px;}}
@media(max-width:520px){.site-share-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:18px;}.site-share-head{padding:22px 20px 0;}.site-share-body{padding:18px 20px 22px;}.site-share-head h2{font-size:23px;}.site-share-head #site-share-description{font-size:12px;}.site-share-copy-row button{padding:10px;font-size:11px;}.site-share-copy-row input{padding:10px;font-size:11px;}.site-share-card-caption{align-items:flex-start;gap:10px;}.site-share-card-caption p{font-size:10px;}.site-share-download{font-size:11px;padding:8px 10px;}.site-share-platform{font-size:9px;}}
@media print{.site-share-trigger,.site-share-footer,.site-share-dialog{display:none!important;}}

.site-share-save-help{font-size:13px;line-height:1.65;color:#526b5c}.site-share-save-help a{color:#245c46;text-decoration:underline}.site-share-download{min-height:44px;display:inline-flex;align-items:center}@media(max-width:520px){.site-share-copy-row input{font-size:16px}.site-share-close,.site-share-copy-row button{min-width:44px;min-height:44px}}

.legal-nav{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}.legal-card{border:1px solid #dce5dc;border-radius:14px;background:#fff;padding:24px;margin:24px 0}.legal-card label{display:block;margin:16px 0;font-size:14px}.legal-card input:not([type=checkbox]),.legal-card select,.legal-card textarea{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #cbd6cb;border-radius:8px;background:white;color:#213e33;font:inherit;margin-top:6px}.legal-card input[type=checkbox]{margin-right:8px}.legal-card button{cursor:pointer}.legal-card [readonly]{background:#f5f8f3;overflow-wrap:anywhere}.legal-error{color:#9d2929}.request-body{white-space:pre-wrap;overflow-wrap:anywhere}.legal-card [hidden],[hidden]{display:none!important}.legal-table{width:100%;border-collapse:collapse;font-size:14px}.legal-table td,.legal-table th{padding:10px;text-align:left;vertical-align:top;border-bottom:1px solid #dce5dc}#legal-review{max-width:560px;padding:28px;border:1px solid #dce5dc;border-radius:18px}#legal-review p{margin:16px 0}#legal-review::backdrop{background:#153c3266}.privacy-queue{overflow-wrap:anywhere}.privacy-queue textarea{min-height:90px}

.site-demo-dialog{width:min(780px,calc(100vw - 28px));max-width:780px;max-height:90dvh;overflow:auto;padding:0;border:1px solid #dce5d6;border-radius:20px;background:#fafbf7;color:#203c32;box-shadow:0 24px 90px #17362e40;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;}
.site-demo-dialog::backdrop{background:#19382c70;}
.site-demo-dialog *{box-sizing:border-box;}
.demo-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:26px 28px 16px;}
.demo-head h2{font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.3;margin:6px 0 0;letter-spacing:-.025em;}
.demo-kicker{font-size:10px;font-weight:700;letter-spacing:.12em;color:#66805a;line-height:1.6;margin:0 0 8px;}
.demo-close{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border:1px solid #dce5d6;border-radius:50%;background:white;color:#496b40;font:inherit;font-size:24px;cursor:pointer;}
.demo-disclosure{font-size:12px;line-height:1.8;color:#6f8065;margin:0 28px 20px;padding:12px 15px;background:#edf3e7;border-radius:9px;}
.demo-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 28px;padding:5px;border:1px solid #dce5d6;background:#f0f4ea;border-radius:11px;}
.demo-tabs button{min-width:0;min-height:44px;padding:10px 8px;border:0;border-radius:7px;background:transparent;color:#6d8062;font:inherit;font-size:12px;font-weight:600;cursor:pointer;}
.demo-tabs button[aria-selected=true]{background:white;color:#345e3b;box-shadow:0 2px 6px #31472d12;}
.demo-panel{min-height:330px;padding:26px 28px 10px;}
.demo-panel h3{font-size:20px;line-height:1.4;letter-spacing:-.02em;margin:4px 0 18px;}
.demo-profile{display:flex;align-items:center;gap:17px;margin-bottom:25px;}
.demo-profile h3{font-size:27px;margin:0 0 3px;}
.demo-profile p:last-child{margin:0;font-size:12px;color:#728669;}
.demo-pet{display:grid;place-items:center;width:84px;height:84px;background:#edf3e6;border:1px solid #dce6d3;border-radius:22px;font-size:42px;}
.demo-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:15px 0 20px;}
.demo-facts>div{min-width:0;padding:15px 17px;border:1px solid #e1e8d9;border-radius:10px;background:white;}
.demo-facts dt{font-size:11px;color:#75876a;}
.demo-facts dd{font-size:17px;font-weight:650;margin:6px 0 0;color:#345c3c;overflow-wrap:anywhere;}
.demo-explain{font-size:12px;color:#6d8062;line-height:1.9;margin:17px 0 0;}
.demo-note{padding:14px 17px;border-left:3px solid #b5caa3;background:#f0f5e9;border-radius:0 9px 9px 0;font-size:12px;}
.demo-note strong{font-size:11px;}.demo-note p{margin:5px 0 0;}
.demo-label{padding:17px 20px;border:1px solid #dce5d6;background:white;border-radius:12px;}
.demo-label>strong{font-size:14px;}.demo-label>p{font-size:12px;color:#718265;margin:9px 0;}.demo-label .demo-facts{margin-bottom:0;gap:8px;}.demo-label .demo-facts>div{background:#f7f9f2;padding:11px 13px;}
.demo-weight{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:16px 18px;border:1px solid #dce5d6;border-radius:10px;background:#f1f6e9;}.demo-weight>span{font-size:12px;color:#708464;}.demo-weight strong{font-size:18px;}.demo-weight strong>span{font-size:13px;color:#92aa82;}.demo-weight small{font-size:11px;color:#7b8e6d;}
.demo-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #e2e9db;padding:20px 28px;margin-top:12px;background:white;}
.demo-foot p{font-size:11px;color:#7b8c70;line-height:1.7;margin:0;max-width:330px;}
.demo-start{display:inline-flex;align-items:center;gap:12px;text-decoration:none;border:1px solid #245c46;background:#245c46;color:white;border-radius:9px;padding:11px 17px;min-height:44px;font-size:12px;font-weight:650;white-space:nowrap;}
.demo-start:hover{background:#194831;color:white;}
.demo-close:focus-visible,.demo-tabs button:focus-visible,.demo-start:focus-visible,.demo-panel:focus-visible{outline:3px solid #987231;outline-offset:3px;}
@media(max-width:500px){.site-demo-dialog{width:calc(100vw - 20px);max-height:94dvh;border-radius:15px;}.demo-head{padding:20px 18px 13px;}.demo-disclosure{margin:0 18px 15px;padding:11px 13px;}.demo-tabs{margin:0 18px;gap:3px;padding:4px;}.demo-tabs button{padding:9px 3px;font-size:11px;}.demo-panel{padding:20px 18px 5px;min-height:0;}.demo-facts{gap:8px;}.demo-facts>div{padding:13px 12px;}.demo-facts dd{font-size:15px;}.demo-label{padding:15px 13px;}.demo-label .demo-facts>div{padding:10px;}.demo-foot{padding:17px 18px;gap:12px;}.demo-start{width:100%;justify-content:center;}.demo-foot p{max-width:none;}.demo-profile{gap:14px;}.demo-pet{width:70px;height:70px;font-size:34px;}.demo-head h2{font-size:1.4rem;}.demo-kicker{font-size:9px;}}
@media print{.site-demo-dialog{display:none!important;}}
