:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #070706;
  --sidebar: #0a0908;
  --panel: #121515;
  --panel-2: #181b1b;
  --panel-3: #0e1010;
  --line: #2a2d2b;
  --line-soft: #202422;
  --text: #f6f2ea;
  --muted: #9faaa8;
  --soft: #d1d0c8;
  --teal: #41d6c5;
  --teal-soft: rgba(65, 214, 197, 0.1);
  --amber: #f0b85e;
  --amber-soft: rgba(240, 184, 94, 0.15);
  --coral: #f47f72;
  --blue: #89b7ff;
  --green: #91df8c;
  --purple: #c9a7ff;
  --brand-word: #f6f2ea;
  --brand-orange: #f26419;
  --radius: 8px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #fff8ef;
  --sidebar: #fffdf8;
  --panel: #fffaf4;
  --panel-2: #f8f0ff;
  --panel-3: #eff8ff;
  --line: #ead9c7;
  --line-soft: #f0e2d1;
  --text: #211b14;
  --muted: #776d60;
  --soft: #463d32;
  --teal: #0f9c91;
  --teal-soft: rgba(15, 156, 145, 0.1);
  --amber: #e95a12;
  --amber-soft: rgba(233, 90, 18, 0.12);
  --coral: #c64f43;
  --blue: #316fb8;
  --green: #437d36;
  --purple: #7d54c4;
  --brand-word: #062846;
  --brand-orange: #f2b85f;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(240, 184, 94, 0.11), transparent 220px),
    linear-gradient(90deg, rgba(137, 183, 255, 0.055), transparent 360px),
    var(--bg);
  color: var(--text);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 220, 140, 0.36), transparent 320px),
    radial-gradient(circle at 88% 10%, rgba(178, 220, 255, 0.42), transparent 360px),
    linear-gradient(180deg, #fff8ef 0%, #f4fbff 48%, #fff7fb 100%),
    var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 16%, rgba(242, 184, 95, 0.2), transparent 300px),
    radial-gradient(circle at 82% 0%, rgba(65, 214, 197, 0.08), transparent 340px),
    var(--bg);
}

.login-screen[hidden] {
  display: none;
}

.login-card {
  width: min(560px, 100%);
  display: grid;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(242, 100, 25, 0.12), rgba(65, 214, 197, 0.06)),
    var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

.login-brand {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.login-brand .brand-dot {
  width: 48px;
  height: 48px;
}

.login-card h1 {
  margin: 6px 0 0;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.02;
  letter-spacing: 0;
}

.login-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.45;
}

.login-form,
.demo-credentials {
  display: grid;
  gap: 10px;
}

.login-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.login-form label:nth-of-type(2) {
  grid-column: 1 / -1;
}

.login-form .primary-button {
  grid-column: 1 / -1;
  width: 100%;
}

.login-form .secondary-button {
  min-width: 132px;
  width: 100%;
}

.login-error {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.demo-credentials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-credentials[hidden] {
  display: none;
}

.login-note {
  margin: -4px 0 0;
  font-size: 13px;
  text-align: center;
}

html[data-theme="light"] .login-screen {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 204, 125, 0.32), transparent 300px),
    radial-gradient(circle at 82% 0%, rgba(151, 216, 255, 0.26), transparent 340px),
    var(--bg);
}

html[data-theme="light"] .login-form {
  background: rgba(255, 255, 255, 0.72);
}

.demo-credentials button {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #090d0c;
  color: var(--text);
  text-align: left;
}

.demo-credentials button:hover {
  border-color: rgba(240, 184, 94, 0.48);
}

.demo-credentials span {
  color: var(--muted);
  font-size: 12px;
}

.app-shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  width: min(1320px, calc(100vw - 24px));
  height: calc(100vh - 24px);
  min-height: calc(100vh - 24px);
  margin: 12px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(10, 9, 8, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.sidebar {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
}

.brand {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  padding: 14px 16px 13px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}

.brand:focus-visible {
  outline: 2px solid rgba(240, 184, 94, 0.55);
  outline-offset: -4px;
}

.brand > div:not(.brand-mark) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-mark,
.owner-avatar,
.dog-avatar,
.decision-icon,
.task-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #0b0b09;
  color: var(--brand-orange);
}

.paw-badge svg,
.wordmark-paw svg,
.paw-badge img {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.paw-badge {
  box-shadow:
    inset 0 0 0 1px rgba(242, 100, 25, 0.28),
    0 10px 24px rgba(242, 100, 25, 0.12);
}

html[data-theme="light"] .brand-mark {
  background: #fff8ef;
}

.brand h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--brand-word);
  letter-spacing: 0;
  white-space: nowrap;
}

.wordmark-image {
  display: none;
  width: 146px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.wordmark-image-dark {
  display: block;
}

html[data-theme="light"] .wordmark-image-dark {
  display: none;
}

html[data-theme="light"] .wordmark-image-light {
  display: block;
  width: 136px;
  height: 38px;
}

.wordmark-play {
  display: none;
  color: var(--brand-word);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Avenir Next Rounded", system-ui, sans-serif;
  font-size: 1.2em;
  font-weight: 950;
  line-height: 0.9;
  transform: translateY(2px) rotate(-1deg);
}

.wordmark-paw {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0 1px 0 3px;
  color: var(--brand-orange);
  transform: translateY(1px) rotate(-4deg);
}

.wordmark-paw svg {
  transform: scale(1.22);
  transform-origin: center;
}

.wordmark-chief {
  display: none;
  color: var(--brand-word);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.18;
  max-width: none;
  text-align: center;
  text-align: left;
  white-space: nowrap;
}

.brand-tagline span {
  display: inline;
  white-space: nowrap;
}

.nav-list {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 14px;
}

.nav-section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 2px 4px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-section-label:first-child {
  margin-top: 0;
}

.nav-section-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(242, 184, 95, 0.35), transparent);
}

.nav-list button,
.nav-list a,
.setup-link {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  text-decoration: none;
  font-weight: 650;
}

.nav-list button span,
.nav-list a span,
.setup-link span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
}

.nav-list [data-icon="briefing"] {
  color: var(--amber);
}

.nav-list [data-icon="supplies"] {
  color: var(--green);
}

.nav-list [data-icon="health"] {
  color: var(--coral);
}

.nav-list [data-icon="appointments"] {
  color: var(--blue);
}

.nav-list [data-icon="routine"] {
  color: var(--amber);
}

.nav-list [data-icon="care"],
.setup-link span {
  color: var(--teal);
}

.nav-list [data-icon="life"] {
  color: #c6a7ff;
}

.nav-list [data-icon="assistant"] {
  color: #ff9fd2;
}

.nav-list [data-icon="photos"] {
  color: #7ce7ff;
}

.nav-list [data-icon="expenses"] {
  color: #a6f28f;
}

.nav-list [data-icon="documents"] {
  color: #ffd166;
}

.nav-list [data-icon="setup"] {
  color: var(--teal);
}

.nav-list button:hover,
.nav-list a:hover,
.setup-link:hover {
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
}

.nav-list button.active,
.nav-list a.active,
.setup-link.active {
  background: var(--amber-soft);
  border-radius: 22px;
  color: var(--amber);
  font-weight: 800;
}

.nav-list button.active span,
.nav-list a.active span,
.setup-link.active span {
  background: rgba(242, 184, 95, 0.16);
  color: var(--amber);
}

.sidebar-footer {
  position: relative;
  padding: 14px;
  border-top: 1px solid var(--line-soft);
}

.setup-link {
  margin-bottom: 12px;
}

.owner-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #071827;
  color: var(--text);
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.owner-card.no-avatar {
  gap: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 13px 12px;
  text-align: left;
}

.owner-card.no-avatar .owner-avatar {
  display: none;
}

.owner-card:hover,
.sidebar-footer.menu-open .owner-card {
  border-color: rgba(242, 100, 25, 0.36);
  background: rgba(242, 100, 25, 0.08);
}

.owner-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(240, 184, 94, 0.18);
  color: var(--amber);
  font-weight: 800;
  overflow: hidden;
}

.owner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-card strong,
.owner-card span {
  display: block;
}

.owner-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.owner-menu-indicator {
  justify-self: end;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid rgba(240, 184, 94, 0.18);
  border-radius: 10px;
  background: rgba(240, 184, 94, 0.06);
}

.owner-menu-indicator i {
  width: 8px;
  height: 8px;
  display: block;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.sidebar-footer.menu-open .owner-menu-indicator {
  border-color: rgba(65, 214, 197, 0.28);
  background: rgba(65, 214, 197, 0.08);
}

.sidebar-footer.menu-open .owner-menu-indicator i {
  border-color: var(--teal);
  transform: rotate(225deg) translateY(-2px);
}

.account-menu {
  position: absolute;
  right: 14px;
  bottom: calc(100% - 4px);
  left: 14px;
  z-index: 6;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b0f0f;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.account-menu[hidden] {
  display: none;
}

.sidebar-footer.menu-open .account-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.account-menu button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--soft);
  text-align: left;
  font-weight: 750;
}

.account-menu button:hover,
.account-menu button.active {
  background: var(--amber-soft);
  color: var(--amber);
}

.account-menu button span {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.account-menu button:hover span,
.account-menu button.active span {
  color: var(--amber);
}

.main {
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  background: var(--bg);
}

.main,
.workspace,
.content-column,
#mainView,
.panel,
.briefing-hero,
.launch-strip,
.focus-card,
.signal-card,
.task,
.dog-snapshot {
  max-width: 100%;
  min-width: 0;
}

.briefing-hero > div,
.launch-strip > div,
.focus-card > div,
.signal-card > div,
.task > div,
.dog-snapshot > div {
  min-width: 0;
}

.briefing-hero[hidden] {
  display: none;
}

h1,
h2,
h3,
h4,
p,
span,
strong,
small {
  overflow-wrap: break-word;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: #101417;
}

.theme-toggle {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.theme-toggle:hover {
  border-color: rgba(240, 184, 94, 0.5);
  color: var(--amber);
}

html[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(168, 102, 19, 0.38);
}

.topbar h2 {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.topbar-home {
  cursor: pointer;
}

.topbar-home:focus-visible {
  border-radius: 12px;
  outline: 2px solid rgba(240, 184, 94, 0.55);
  outline-offset: 4px;
}

.screen-title {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.screen-title > span:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(240, 184, 94, 0.28);
  border-radius: 9px;
  background: rgba(240, 184, 94, 0.1);
  color: var(--amber);
}

.screen-title > span:first-child svg {
  width: 17px;
  height: 17px;
}

.eyebrow {
  margin: 0;
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-button,
.secondary-button,
.merchant-link,
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: var(--radius);
  text-decoration: none;
}

.primary-button {
  padding: 0 14px;
  border: 1px solid rgba(242, 100, 25, 0.62);
  background: rgba(242, 100, 25, 0.15);
  color: var(--amber);
  font-weight: 800;
}

#topAction[hidden] {
  display: none;
}

.secondary-button,
.menu-button,
.merchant-link {
  border: 1px solid var(--line);
  background: #090e10;
  color: var(--soft);
}

.secondary-button,
.merchant-link {
  padding: 0 12px;
  font-size: 14px;
}

.merchant-link.best {
  border-color: rgba(240, 184, 94, 0.7);
  color: var(--amber);
}

.merchant-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: contain;
  background: #fff;
}

.menu-button {
  display: none;
  width: 40px;
}

.workspace {
  padding: 20px 24px 22px;
}

.content-column {
  display: grid;
  gap: 14px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  padding: 6px 2px 2px;
  color: var(--muted);
  font-size: 12px;
}

.legal-footer a {
  color: var(--soft);
  text-decoration: none;
}

.legal-footer a:hover {
  color: var(--amber);
}

html[data-theme="light"] .sidebar,
html[data-theme="light"] .topbar,
html[data-theme="light"] .panel,
html[data-theme="light"] .quick-card,
html[data-theme="light"] .setup-card,
html[data-theme="light"] .feature-panel,
html[data-theme="light"] .daily-tracker-card,
html[data-theme="light"] .tracker-section,
html[data-theme="light"] .supply-category-card,
html[data-theme="light"] .calendar-shell,
html[data-theme="light"] .calendar-day,
html[data-theme="light"] .calendar-add-panel,
html[data-theme="light"] .appointment-notice,
html[data-theme="light"] .desktop-pet-switcher button,
html[data-theme="light"] .owner-card,
html[data-theme="light"] .account-menu,
html[data-theme="light"] .modal-card,
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background-color: var(--panel);
  color: var(--text);
}

html[data-theme="light"] .desktop-pet-switcher button,
html[data-theme="light"] .owner-card,
html[data-theme="light"] .secondary-button,
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  border-color: var(--line);
}

html[data-theme="light"] .sidebar,
html[data-theme="light"] .topbar,
html[data-theme="light"] .panel,
html[data-theme="light"] .quick-card,
html[data-theme="light"] .setup-card,
html[data-theme="light"] .feature-panel {
  box-shadow: 0 18px 45px rgba(80, 60, 30, 0.08);
}

html[data-theme="light"] .nav-list button,
html[data-theme="light"] .nav-list a,
html[data-theme="light"] .account-menu button,
html[data-theme="light"] .secondary-button {
  color: var(--soft);
}

html[data-theme="light"] .nav-list button.active,
html[data-theme="light"] .nav-list button:hover,
html[data-theme="light"] .nav-list a.active,
html[data-theme="light"] .nav-list a:hover,
html[data-theme="light"] .account-menu button:hover,
html[data-theme="light"] .desktop-pet-switcher button.active,
html[data-theme="light"] .desktop-pet-switcher button:hover {
  background: var(--amber-soft);
  color: var(--amber);
}

.chip.selected,
.chip[aria-pressed="true"] {
  border-color: rgba(242, 184, 95, 0.82);
  background:
    linear-gradient(145deg, rgba(242, 184, 95, 0.26), rgba(242, 100, 25, 0.16)),
    rgba(242, 184, 95, 0.16) !important;
  color: var(--amber) !important;
  box-shadow: inset 0 0 0 1px rgba(242, 184, 95, 0.22), 0 10px 24px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .chip.selected,
html[data-theme="light"] .chip[aria-pressed="true"] {
  border-color: rgba(242, 100, 25, 0.76);
  background:
    linear-gradient(145deg, #fff3e8, #ffd8ba),
    #ffe4cc !important;
  color: #7d3b08 !important;
  box-shadow: inset 0 0 0 1px rgba(242, 100, 25, 0.18), 0 10px 24px rgba(216, 91, 20, 0.16);
}

.chip.selected,
.chip[aria-pressed="true"] {
  border-color: rgba(242, 184, 95, 0.82);
  background:
    linear-gradient(145deg, rgba(242, 184, 95, 0.26), rgba(242, 100, 25, 0.16)),
    rgba(242, 184, 95, 0.16) !important;
  color: var(--amber) !important;
  box-shadow: inset 0 0 0 1px rgba(242, 184, 95, 0.22), 0 10px 24px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .chip.selected,
html[data-theme="light"] .chip[aria-pressed="true"] {
  border-color: rgba(242, 100, 25, 0.76);
  background:
    linear-gradient(145deg, #fff3e8, #ffd8ba),
    #ffe4cc !important;
  color: #7d3b08 !important;
  box-shadow: inset 0 0 0 1px rgba(242, 100, 25, 0.18), 0 10px 24px rgba(216, 91, 20, 0.16);
}

.chip.selected,
.chip[aria-pressed="true"] {
  border-color: rgba(242, 184, 95, 0.82);
  background:
    linear-gradient(145deg, rgba(242, 184, 95, 0.26), rgba(242, 100, 25, 0.16)),
    rgba(242, 184, 95, 0.16) !important;
  color: var(--amber) !important;
  box-shadow: inset 0 0 0 1px rgba(242, 184, 95, 0.22), 0 10px 24px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .chip.selected,
html[data-theme="light"] .chip[aria-pressed="true"] {
  border-color: rgba(242, 100, 25, 0.76);
  background:
    linear-gradient(145deg, #fff3e8, #ffd8ba),
    #ffe4cc !important;
  color: #7d3b08 !important;
  box-shadow: inset 0 0 0 1px rgba(242, 100, 25, 0.18), 0 10px 24px rgba(216, 91, 20, 0.16);
}

html[data-theme="light"] .life-card.current {
  border-color: rgba(226, 112, 34, 0.34);
  background:
    radial-gradient(circle at 86% 4%, rgba(255, 222, 154, 0.46), transparent 32%),
    linear-gradient(145deg, #fffefa 0%, #fff7ee 46%, #eef8ff 100%) !important;
  color: #1f1a14;
  box-shadow:
    0 0 0 1px rgba(226, 112, 34, 0.12),
    0 12px 34px rgba(117, 74, 31, 0.14);
}

html[data-theme="light"] .life-card.current .life-card-top > span {
  background: linear-gradient(145deg, rgba(255, 236, 184, 0.94), rgba(255, 246, 230, 0.96));
  color: #c45a13;
  box-shadow:
    inset 0 0 0 1px rgba(196, 90, 19, 0.16),
    0 10px 22px rgba(196, 90, 19, 0.12);
}

html[data-theme="light"] .life-card.current strong {
  color: #201812;
}

html[data-theme="light"] .life-card.current small,
html[data-theme="light"] .life-card.current p {
  color: #625442;
}

html[data-theme="light"] .life-card.current .life-bubbles span,
html[data-theme="light"] .life-card.current em {
  border-color: rgba(196, 90, 19, 0.18);
  background: rgba(255, 244, 224, 0.84);
  color: #8d4f12;
}

html[data-theme="light"] .life-card.current {
  border-color: rgba(226, 112, 34, 0.34);
  background:
    radial-gradient(circle at 86% 4%, rgba(255, 222, 154, 0.46), transparent 32%),
    linear-gradient(145deg, #fffefa 0%, #fff7ee 46%, #eef8ff 100%) !important;
  color: #1f1a14;
  box-shadow:
    0 0 0 1px rgba(226, 112, 34, 0.12),
    0 12px 34px rgba(117, 74, 31, 0.14);
}

html[data-theme="light"] .life-card.current .life-card-top > span {
  background: linear-gradient(145deg, rgba(255, 236, 184, 0.94), rgba(255, 246, 230, 0.96));
  color: #c45a13;
  box-shadow:
    inset 0 0 0 1px rgba(196, 90, 19, 0.16),
    0 10px 22px rgba(196, 90, 19, 0.12);
}

html[data-theme="light"] .life-card.current strong {
  color: #201812;
}

html[data-theme="light"] .life-card.current small,
html[data-theme="light"] .life-card.current p {
  color: #625442;
}

html[data-theme="light"] .life-card.current .life-bubbles span,
html[data-theme="light"] .life-card.current em {
  border-color: rgba(196, 90, 19, 0.18);
  background: rgba(255, 244, 224, 0.84);
  color: #8d4f12;
}

html[data-theme="light"] .panel:nth-of-type(3n + 1),
html[data-theme="light"] .quick-card:nth-of-type(3n + 1),
html[data-theme="light"] .tracker-section:nth-of-type(3n + 1),
html[data-theme="light"] .supply-category:nth-of-type(3n + 1) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 251, 255, 0.74)),
    #f8fdff !important;
}

html[data-theme="light"] .panel:nth-of-type(3n + 2),
html[data-theme="light"] .quick-card:nth-of-type(3n + 2),
html[data-theme="light"] .tracker-section:nth-of-type(3n + 2),
html[data-theme="light"] .supply-category:nth-of-type(3n + 2) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 252, 0.76)),
    #fffafd !important;
}

html[data-theme="light"] .calendar-pet-filter,
html[data-theme="light"] .calendar-pet-filter.active {
  border-color: rgba(190, 150, 105, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 253, 255, 0.74)),
    #f8fdff !important;
  color: var(--text);
  box-shadow: 0 10px 22px rgba(95, 62, 25, 0.06);
}

html[data-theme="light"] .life-hero,
html[data-theme="light"] .life-panel,
html[data-theme="light"] .life-celebration,
html[data-theme="light"] .life-card.current {
  border-color: rgba(242, 100, 25, 0.22);
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 232, 173, 0.48), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 252, 0.7) 58%, rgba(248, 253, 255, 0.75)),
    #fffafd !important;
  color: var(--text);
}

html[data-theme="light"] .life-hero::before,
html[data-theme="light"] .life-hero::after {
  opacity: 0.34;
}

html[data-theme="light"] .life-card.current {
  border-color: rgba(226, 112, 34, 0.34);
  background:
    radial-gradient(circle at 86% 4%, rgba(255, 222, 154, 0.46), transparent 32%),
    linear-gradient(145deg, #fffefa 0%, #fff7ee 46%, #eef8ff 100%) !important;
  color: #1f1a14;
  box-shadow:
    0 0 0 1px rgba(226, 112, 34, 0.12),
    0 12px 34px rgba(117, 74, 31, 0.14);
}

html[data-theme="light"] .life-card.current .life-card-top > span {
  background: linear-gradient(145deg, rgba(255, 236, 184, 0.94), rgba(255, 246, 230, 0.96));
  color: #c45a13;
  box-shadow:
    inset 0 0 0 1px rgba(196, 90, 19, 0.16),
    0 10px 22px rgba(196, 90, 19, 0.12);
}

html[data-theme="light"] .life-card.current strong {
  color: #201812;
}

html[data-theme="light"] .life-card.current small,
html[data-theme="light"] .life-card.current p {
  color: #625442;
}

html[data-theme="light"] .life-card.current .life-bubbles span,
html[data-theme="light"] .life-card.current em {
  border-color: rgba(196, 90, 19, 0.18);
  background: rgba(255, 244, 224, 0.84);
  color: #8d4f12;
}

html[data-theme="light"] .spend-chart,
html[data-theme="light"] .expense-bar,
html[data-theme="light"] .routine-progress {
  border-color: rgba(190, 150, 105, 0.22);
  background: linear-gradient(145deg, #ffffff, #f7fbff) !important;
  box-shadow: inset 0 0 0 1px rgba(190, 150, 105, 0.08);
}

html[data-theme="light"] .spend-chart span,
html[data-theme="light"] .expense-bar span,
html[data-theme="light"] .routine-progress span {
  background: linear-gradient(180deg, rgba(242, 100, 25, 0.76), rgba(242, 184, 95, 0.42));
}

html[data-theme="light"] .daily-tracker-hero,
html[data-theme="light"] .family-progress-grid article,
html[data-theme="light"] .dog-tracker-card,
html[data-theme="light"] .dog-tracker-head,
html[data-theme="light"] .tracker-check,
html[data-theme="light"] .tracker-check select,
html[data-theme="light"] .tracker-check button,
html[data-theme="light"] .tracker-cues span,
html[data-theme="light"] .supply-summary span,
html[data-theme="light"] .supply-column,
html[data-theme="light"] .supply-item,
html[data-theme="light"] .supply-add-card,
html[data-theme="light"] .supply-table-row,
html[data-theme="light"] .supply-add-row,
html[data-theme="light"] .supply-add-row-small,
html[data-theme="light"] .supply-ai-nudge,
html[data-theme="light"] .supply-meter,
html[data-theme="light"] .supply-meter div,
html[data-theme="light"] .food-status-card,
html[data-theme="light"] .mini-card,
html[data-theme="light"] .detail-card,
html[data-theme="light"] .life-card,
html[data-theme="light"] .life-stage-card,
html[data-theme="light"] .life-next,
html[data-theme="light"] .calendar-event-card,
html[data-theme="light"] .calendar-list-item,
html[data-theme="light"] .calendar-filter-card,
html[data-theme="light"] .calendar-export-card,
html[data-theme="light"] .assistant-live-answer,
html[data-theme="light"] .assistant-common,
html[data-theme="light"] .assistant-example,
html[data-theme="light"] .assistant-history-item,
html[data-theme="light"] .assistant-quick-starts button,
html[data-theme="light"] .photo-card,
html[data-theme="light"] .upload-card,
html[data-theme="light"] .studio-preview,
html[data-theme="light"] .studio-presets button,
html[data-theme="light"] .document-card,
html[data-theme="light"] .expense-card,
html[data-theme="light"] .profile-owner-panel,
html[data-theme="light"] .profile-pet-card,
html[data-theme="light"] .profile-form-card,
html[data-theme="light"] .profile-photo-row,
html[data-theme="light"] .pet-photo-row,
html[data-theme="light"] .chip,
html[data-theme="light"] .account-menu button,
html[data-theme="light"] .secondary-button,
html[data-theme="light"] .merchant-link,
html[data-theme="light"] .supply-links a {
  border-color: rgba(190, 150, 105, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 239, 0.6)),
    #fffaf4;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(95, 62, 25, 0.06);
}

html[data-theme="light"] .tracker-check[data-member-tone="amber"],
html[data-theme="light"] .family-progress-grid article[data-member-tone="amber"],
html[data-theme="light"] .supply-column[data-tone="amber"] {
  background: linear-gradient(145deg, #fffdf6, #fff1c9);
}

html[data-theme="light"] .tracker-check[data-member-tone="blue"],
html[data-theme="light"] .family-progress-grid article[data-member-tone="blue"],
html[data-theme="light"] .supply-column[data-tone="blue"] {
  background: linear-gradient(145deg, #fbfdff, #dfefff);
}

html[data-theme="light"] .tracker-check[data-member-tone="teal"],
html[data-theme="light"] .family-progress-grid article[data-member-tone="teal"],
html[data-theme="light"] .supply-column[data-tone="teal"] {
  background: linear-gradient(145deg, #fbfffd, #def8ef);
}

html[data-theme="light"] .tracker-check[data-member-tone="coral"],
html[data-theme="light"] .family-progress-grid article[data-member-tone="coral"],
html[data-theme="light"] .supply-column[data-tone="coral"] {
  background: linear-gradient(145deg, #fffafa, #ffe2df);
}

html[data-theme="light"] .tracker-check[data-member-tone="green"],
html[data-theme="light"] .family-progress-grid article[data-member-tone="green"] {
  background: linear-gradient(145deg, #fdfff8, #e5f6d8);
}

html[data-theme="light"] .tracker-check[data-member-tone="purple"],
html[data-theme="light"] .family-progress-grid article[data-member-tone="purple"] {
  background: linear-gradient(145deg, #fefbff, #eee4ff);
}

html[data-theme="light"] .family-progress-grid div,
html[data-theme="light"] .supply-meter div,
html[data-theme="light"] .progress-track,
html[data-theme="light"] .calendar-event-pill {
  background: rgba(120, 95, 60, 0.12);
  box-shadow: none;
}

html[data-theme="light"] .tracker-check button.active,
html[data-theme="light"] .secondary-button:hover,
html[data-theme="light"] .supply-links a:hover,
html[data-theme="light"] .chip.suggested {
  background: rgba(242, 100, 25, 0.12);
  color: var(--amber);
}

html[data-theme="light"] .chip.selected {
  border-color: rgba(242, 100, 25, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 235, 213, 0.96), rgba(255, 215, 180, 0.84)),
    #ffe6d2 !important;
  color: #7d3b08 !important;
  box-shadow: 0 10px 24px rgba(216, 91, 20, 0.14);
}

html[data-theme="light"] .daily-tracker-hero,
html[data-theme="light"] .family-progress-grid article,
html[data-theme="light"] .dog-tracker-card,
html[data-theme="light"] .dog-tracker-head,
html[data-theme="light"] .tracker-check,
html[data-theme="light"] .tracker-check select,
html[data-theme="light"] .tracker-check button,
html[data-theme="light"] .tracker-cues span,
html[data-theme="light"] .supply-summary span,
html[data-theme="light"] .supply-column,
html[data-theme="light"] .supply-item,
html[data-theme="light"] .supply-add-card,
html[data-theme="light"] .supply-table-row,
html[data-theme="light"] .supply-add-row,
html[data-theme="light"] .supply-add-row-small,
html[data-theme="light"] .supply-ai-nudge,
html[data-theme="light"] .supply-meter,
html[data-theme="light"] .food-status-card,
html[data-theme="light"] .mini-card,
html[data-theme="light"] .detail-card,
html[data-theme="light"] .life-card,
html[data-theme="light"] .life-stage-card,
html[data-theme="light"] .life-next,
html[data-theme="light"] .calendar-event-card,
html[data-theme="light"] .calendar-list-item,
html[data-theme="light"] .calendar-filter-card,
html[data-theme="light"] .calendar-export-card,
html[data-theme="light"] .assistant-live-answer,
html[data-theme="light"] .assistant-common,
html[data-theme="light"] .assistant-example,
html[data-theme="light"] .assistant-history-item,
html[data-theme="light"] .assistant-quick-starts button,
html[data-theme="light"] .photo-card,
html[data-theme="light"] .upload-card,
html[data-theme="light"] .studio-preview,
html[data-theme="light"] .studio-presets button,
html[data-theme="light"] .document-card,
html[data-theme="light"] .expense-card,
html[data-theme="light"] .profile-owner-panel,
html[data-theme="light"] .profile-pet-card,
html[data-theme="light"] .profile-form-card,
html[data-theme="light"] .profile-photo-row,
html[data-theme="light"] .pet-photo-row,
html[data-theme="light"] .chip,
html[data-theme="light"] .account-menu button,
html[data-theme="light"] .secondary-button,
html[data-theme="light"] .merchant-link,
html[data-theme="light"] .supply-links a {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 239, 0.62)),
    #fffaf4 !important;
  color: var(--text) !important;
}

html[data-theme="light"] .supply-order-history b,
html[data-theme="light"] .supply-order-history small {
  border-color: rgba(190, 150, 105, 0.2);
  background: rgba(255, 255, 255, 0.78);
  color: #31506b;
}

.briefing-hero,
.decision-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.briefing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 16px;
  padding: 22px;
}

.briefing-hero h2 {
  max-width: 720px;
  margin: 8px 0 0;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: 0;
}

.briefing-hero p:not(.eyebrow),
.decision-card p,
.helper-copy {
  color: var(--soft);
  line-height: 1.45;
  font-size: 14px;
}

.briefing-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 10px 0 0;
}

.dog-snapshot {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: center;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-3);
}

.dog-avatar,
.dog-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.dog-avatar {
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 22px;
  font-weight: 900;
}

.dog-photo {
  object-fit: cover;
  border: 2px solid rgba(240, 184, 94, 0.46);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.dog-snapshot strong,
.dog-snapshot span {
  display: block;
}

.dog-snapshot strong {
  font-size: 15px;
}

.dog-snapshot span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

#mainView {
  display: grid;
  gap: 18px;
}

.decision-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(240, 184, 94, 0.11), transparent 60%),
    var(--panel);
}

.decision-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: var(--amber);
}

.decision-card h3,
.feature-panel h3 {
  margin: 6px 0 0;
  font-size: 19px;
  line-height: 1.24;
  letter-spacing: 0;
}

.decision-card p {
  max-width: 720px;
  margin: 8px 0 0;
}

.decision-actions,
.effect-row,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.launch-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(240, 184, 94, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 184, 94, 0.16), transparent 58%),
    var(--panel);
}

.launch-strip h3 {
  max-width: 690px;
  margin: 5px 0 0;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: 0;
}

.panel {
  padding: 18px;
}

.quiet-panel {
  background: #0d1315;
}

.home-score-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-color: rgba(240, 184, 94, 0.34);
  background:
    linear-gradient(135deg, rgba(240, 184, 94, 0.14), transparent 58%),
    var(--panel);
}

.desktop-today-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-color: rgba(240, 184, 94, 0.34);
  background:
    linear-gradient(135deg, rgba(240, 184, 94, 0.14), transparent 58%),
    var(--panel);
}

.desktop-pet-switcher {
  display: grid;
  grid-template-columns: 0.8fr repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.desktop-pet-switcher.pet-switcher-detail {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  width: 100%;
  max-width: 720px;
}

.desktop-pet-switcher.briefing-pet-tabs {
  display: flex;
  gap: 12px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.desktop-pet-switcher.briefing-pet-tabs::-webkit-scrollbar {
  display: none;
}

.desktop-pet-switcher button {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--soft);
  text-align: left;
}

.desktop-pet-switcher .all-dogs-button {
  grid-template-columns: 1fr;
}

.desktop-pet-switcher.briefing-pet-tabs button {
  flex: 0 0 auto;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  min-width: 128px;
  max-width: 168px;
  min-height: 66px;
  padding: 9px 13px;
  border-radius: var(--radius);
}

.desktop-pet-switcher.briefing-pet-tabs .all-dogs-button {
  grid-template-columns: 1fr;
  width: 112px;
  min-width: 112px;
}

.desktop-pet-switcher button.active,
.desktop-pet-switcher button:hover {
  border-color: rgba(240, 184, 94, 0.55);
  background: var(--amber-soft);
  color: var(--amber);
}

.desktop-pet-switcher img {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(240, 184, 94, 0.28);
  border-radius: 50%;
  object-fit: cover;
}

.desktop-pet-switcher.briefing-pet-tabs img {
  width: 46px;
  height: 46px;
}

.pet-switcher-detail button {
  grid-template-columns: 66px minmax(0, 1fr);
  min-height: 86px;
  padding: 12px 14px;
  border-radius: 16px;
}

.pet-switcher-detail img {
  width: 62px;
  height: 62px;
}

.pet-switcher-detail strong {
  font-size: 18px;
}

.pet-switcher-detail span {
  font-size: 14px;
  line-height: 1.25;
}

.desktop-pet-switcher div {
  min-width: 0;
}

.desktop-pet-switcher strong,
.desktop-pet-switcher span {
  display: block;
  min-width: 0;
}

.desktop-pet-switcher strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-pet-switcher span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.household-pet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.household-pet-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  cursor: pointer;
}

.household-pet-card img {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(240, 184, 94, 0.32);
  border-radius: 50%;
  object-fit: cover;
}

.household-pet-card h3 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: 0;
}

.household-pet-card p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.home-score-copy h3 {
  max-width: 620px;
  margin: 7px 0 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.home-score-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 9px 0 0;
  color: var(--soft);
  line-height: 1.45;
}

.home-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.daily-tracker-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-color: rgba(240, 184, 94, 0.28);
  background:
    linear-gradient(145deg, rgba(240, 184, 94, 0.1), rgba(65, 214, 197, 0.05)),
    var(--panel);
}

.daily-tracker-hero h3 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.1;
}

.daily-tracker-hero p {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.daily-tracker-hero > span {
  min-width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 184, 94, 0.38);
  border-radius: 50%;
  background: rgba(240, 184, 94, 0.11);
  color: var(--amber);
  font-size: 20px;
  font-weight: 950;
}

.appointment-notice {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid rgba(137, 183, 255, 0.26);
  border-radius: 14px;
  background: rgba(137, 183, 255, 0.055);
  color: var(--soft);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.appointment-notice:hover {
  border-color: rgba(137, 183, 255, 0.46);
  background: rgba(137, 183, 255, 0.085);
  transform: translateY(-1px);
}

.appointment-notice span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(137, 183, 255, 0.12);
  color: var(--blue);
}

.appointment-notice span svg {
  width: 15px;
  height: 15px;
}

.appointment-notice div {
  flex: 1;
  min-width: 0;
}

.appointment-notice strong {
  display: block;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.25;
}

.appointment-notice small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.appointment-notice em {
  font-style: normal;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.daily-tracker-list {
  display: grid;
  gap: 12px;
}

.household-dog-trackers {
  display: grid;
  gap: 14px;
}

.dog-tracker-card {
  display: grid;
  gap: 14px;
}

.dog-tracker-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 68px;
  gap: 12px;
  align-items: center;
}

.dog-tracker-head img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(240, 184, 94, 0.36);
}

.dog-tracker-head h3,
.dog-tracker-head p {
  margin: 0;
}

.dog-tracker-head h3 {
  margin-top: 3px;
  font-size: 21px;
}

.dog-tracker-head p:not(.eyebrow) {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.dog-tracker-head > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(65, 214, 197, 0.32);
  border-radius: 50%;
  background: rgba(65, 214, 197, 0.09);
  color: var(--teal);
  font-weight: 950;
}

.today-pet-notes {
  display: grid;
  gap: 6px;
  margin: 2px 0 10px;
  padding: 10px;
  border: 1px solid rgba(65, 214, 197, 0.18);
  border-radius: 14px;
  background: rgba(65, 214, 197, 0.055);
}

.today-pet-notes label {
  display: grid;
  gap: 7px;
}

.today-pet-notes label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.today-pet-notes label > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.today-pet-notes input {
  min-height: 36px;
}

.today-pet-notes input:focus::placeholder,
#calendarMonthNoteInput:focus::placeholder,
#calendarDayNoteInput:focus::placeholder {
  color: transparent;
}

.today-pet-notes small {
  color: var(--amber);
  font-size: 11px;
  font-weight: 850;
}

.family-progress {
  display: grid;
  gap: 14px;
}

.family-progress h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.family-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.family-progress-grid article {
  --member: var(--soft);
  --member-bg: rgba(255, 255, 255, 0.035);
  display: grid;
  gap: 6px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--member-bg), #090d0c 58%);
  box-shadow: inset 3px 0 0 var(--member);
}

.family-progress-grid article[data-member-tone="amber"] {
  --member: var(--amber);
  --member-bg: rgba(240, 184, 94, 0.09);
}

.family-progress-grid article[data-member-tone="blue"] {
  --member: var(--blue);
  --member-bg: rgba(137, 183, 255, 0.08);
}

.family-progress-grid article[data-member-tone="teal"] {
  --member: var(--teal);
  --member-bg: rgba(65, 214, 197, 0.075);
}

.family-progress-grid article[data-member-tone="coral"] {
  --member: var(--coral);
  --member-bg: rgba(244, 127, 114, 0.075);
}

.family-progress-grid article[data-member-tone="green"] {
  --member: var(--green);
  --member-bg: rgba(145, 223, 140, 0.075);
}

.family-progress-grid article[data-member-tone="purple"] {
  --member: var(--purple);
  --member-bg: rgba(201, 167, 255, 0.075);
}

.family-progress-grid strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--soft);
}

.family-progress-grid strong::before {
  content: "";
  width: 8px;
  height: 18px;
  border-radius: 999px;
  background: var(--member);
  box-shadow: 0 0 16px color-mix(in srgb, var(--member) 42%, transparent);
}

.family-progress-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.family-progress-grid div {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.family-progress-grid i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--member), rgba(255, 255, 255, 0.24));
}

.daily-tracker-list.compact {
  gap: 8px;
}

.daily-tracker-list.compact .tracker-section {
  padding: 10px 12px;
  background: #080d0c;
}

.tracker-section {
  --task: var(--soft);
  --task-bg: rgba(255, 255, 255, 0.032);
  display: grid;
  gap: 9px;
  padding: 16px;
  background: linear-gradient(145deg, var(--task-bg), #080d0c 58%);
  box-shadow: inset 3px 0 0 var(--task);
}

.tracker-section[data-tone="amber"],
.tracker-check[data-tone="amber"] {
  --task: var(--amber);
  --task-bg: rgba(240, 184, 94, 0.075);
}

.tracker-section[data-tone="blue"],
.tracker-check[data-tone="blue"] {
  --task: var(--blue);
  --task-bg: rgba(137, 183, 255, 0.07);
}

.tracker-section[data-tone="teal"],
.tracker-check[data-tone="teal"] {
  --task: var(--teal);
  --task-bg: rgba(65, 214, 197, 0.065);
}

.tracker-section[data-tone="green"],
.tracker-check[data-tone="green"] {
  --task: var(--green);
  --task-bg: rgba(145, 223, 140, 0.06);
}

.tracker-section[data-tone="coral"],
.tracker-check[data-tone="coral"] {
  --task: var(--coral);
  --task-bg: rgba(244, 127, 114, 0.065);
}

.tracker-section[data-tone="purple"],
.tracker-check[data-tone="purple"] {
  --task: var(--purple);
  --task-bg: rgba(201, 167, 255, 0.06);
}

.tracker-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  cursor: pointer;
}

.tracker-section-head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
}

.tracker-section-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.section-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--amber);
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.section-toggle:hover {
  border-color: rgba(240, 184, 94, 0.46);
  background: var(--amber-soft);
}

.tracker-section-body,
.supply-category-body {
  display: grid;
  gap: 8px;
}

.tracker-section-body[hidden],
.supply-category-body[hidden] {
  display: none;
}

.tracker-cues {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tracker-cues span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: var(--task-bg);
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
}

.tracker-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.tracker-check {
  --task: var(--soft);
  --task-bg: rgba(255, 255, 255, 0.03);
  --member: var(--soft);
  --member-bg: rgba(255, 255, 255, 0.035);
  display: grid;
  grid-template-columns: minmax(62px, 0.7fr) minmax(110px, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 9px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--task-bg), #090d0c 58%);
  box-shadow: inset 3px 0 0 var(--task);
}

.tracker-section[data-count="1"] .tracker-check {
  box-shadow: none;
}

.tracker-check[data-member-tone="amber"] {
  --member: var(--amber);
  --member-bg: rgba(240, 184, 94, 0.08);
}

.tracker-check[data-member-tone="blue"] {
  --member: var(--blue);
  --member-bg: rgba(137, 183, 255, 0.075);
}

.tracker-check[data-member-tone="teal"] {
  --member: var(--teal);
  --member-bg: rgba(65, 214, 197, 0.07);
}

.tracker-check[data-member-tone="coral"] {
  --member: var(--coral);
  --member-bg: rgba(244, 127, 114, 0.07);
}

.tracker-check[data-member-tone="green"] {
  --member: var(--green);
  --member-bg: rgba(145, 223, 140, 0.07);
}

.tracker-check[data-member-tone="purple"] {
  --member: var(--purple);
  --member-bg: rgba(201, 167, 255, 0.07);
}

.tracker-check[data-value="done"] {
  border-color: rgba(65, 214, 197, 0.38);
  background: rgba(65, 214, 197, 0.08);
}

.tracker-check.solo-tracker-check {
  grid-template-columns: minmax(0, 1fr) auto;
}

.tracker-check > span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}

.tracker-check > div {
  display: grid;
  gap: 6px;
}

.tracker-check label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tracker-check select {
  width: 100%;
  min-height: 31px;
  padding: 6px 8px;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--member-bg), #080d0c 62%);
  color: var(--soft);
  font-size: 12px;
  box-shadow: inset 2px 0 0 var(--member);
}

.tracker-check button {
  width: auto;
  min-width: 76px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.tracker-check button svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.tracker-check button.active {
  border-color: rgba(240, 184, 94, 0.48);
  background: rgba(240, 184, 94, 0.13);
  color: var(--amber);
}

.care-load-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background:
    linear-gradient(135deg, rgba(124, 231, 255, 0.07), transparent 60%),
    #0d1213;
}

.care-load-card h3 {
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.care-load-card p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.care-load-metrics {
  display: grid;
  grid-template-columns: repeat(3, 62px);
  gap: 6px;
}

.care-load-metrics span {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.care-load-metrics strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}

.care-load-metrics small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.care-load-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.safety-note {
  padding: 10px 12px;
  border: 1px solid rgba(240, 184, 94, 0.28);
  border-radius: var(--radius);
  background: rgba(240, 184, 94, 0.08);
  color: var(--soft);
  font-size: 13px;
  line-height: 1.4;
}

.next-item-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.next-item-card h3 {
  margin: 5px 0 0;
  font-size: 17px;
  line-height: 1.22;
  letter-spacing: 0;
}

.next-item-card p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.4;
  font-size: 14px;
}

.section-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-header > div {
  min-width: 0;
}

.section-header h3 {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(240, 184, 94, 0.13);
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.briefing-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signal-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.focus-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(240, 184, 94, 0.5);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 184, 94, 0.14), transparent 62%),
    var(--panel-2);
}

.focus-card[data-tone="amber"] {
  border-color: rgba(244, 185, 95, 0.55);
  background:
    linear-gradient(135deg, rgba(244, 185, 95, 0.14), transparent 62%),
    var(--panel-2);
}

.focus-card[data-tone="blue"] {
  border-color: rgba(140, 183, 255, 0.55);
  background:
    linear-gradient(135deg, rgba(140, 183, 255, 0.14), transparent 62%),
    var(--panel-2);
}

.focus-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: var(--amber);
}

.focus-card[data-tone="amber"] .focus-icon {
  background: rgba(244, 185, 95, 0.14);
  color: var(--amber);
}

.focus-card[data-tone="blue"] .focus-icon {
  background: rgba(140, 183, 255, 0.14);
  color: var(--blue);
}

.focus-card h3 {
  margin: 6px 0 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.focus-card p:not(.eyebrow) {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--soft);
  line-height: 1.45;
  font-size: 14px;
}

.signal-card strong,
.signal-card span {
  display: block;
}

.signal-card strong {
  font-size: 13px;
}

.signal-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.32;
}

.task {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.task .secondary-button {
  grid-column: 2;
  justify-self: start;
}

.task-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: #0b1113;
}

.task-icon[data-tone="teal"] {
  color: var(--teal);
}

.task-icon[data-tone="amber"] {
  color: var(--amber);
}

.task-icon[data-tone="coral"] {
  color: var(--coral);
}

.task-icon[data-tone="blue"] {
  color: var(--blue);
}

.task-icon[data-tone="green"] {
  color: var(--green);
}

.task-icon[data-tone="purple"] {
  color: #c6a7ff;
}

.task h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0;
}

.task-status {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-bottom: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(240, 184, 94, 0.13);
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.task p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.mini-grid,
.detail-grid,
.routine-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-card {
  min-height: 136px;
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.detail-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.metric {
  display: block;
  margin-top: 10px;
  color: var(--amber);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.08;
}

.detail-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.38;
}

.focus-reason {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  max-width: 720px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

.focus-reason span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.focus-reason strong {
  color: var(--text);
}

.focus-reason p {
  margin: 0;
  color: var(--muted);
}

.slim-panel {
  padding-bottom: 14px;
}

.insight-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.score-card,
.forgetting-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--panel) 0 56%, transparent 57%),
    conic-gradient(var(--amber) var(--score), #0a0f10 0);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.score-ring.large {
  width: 168px;
  height: 168px;
}

.score-ring.large strong {
  font-size: 40px;
}

.score-ring.large span {
  margin-top: 72px;
}

.score-ring strong,
.score-ring span {
  grid-area: 1 / 1;
  display: block;
}

.score-ring strong {
  color: var(--text);
  font-size: 32px;
  line-height: 1;
}

.score-ring span {
  margin-top: 58px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-card > p {
  margin: 0;
  color: var(--soft);
  line-height: 1.45;
  text-align: center;
}

.forget-list {
  display: grid;
  gap: 9px;
}

.forget-list button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 64px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--soft);
  text-align: left;
}

.forget-list button:hover {
  border-color: rgba(240, 184, 94, 0.4);
  background: rgba(240, 184, 94, 0.08);
}

.forget-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--amber-soft);
  color: var(--amber);
}

.forget-list strong,
.forget-list small {
  display: block;
}

.forget-list small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.35;
}

.feature-panel {
  display: grid;
  gap: 18px;
}

.supply-layout {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.supply-studio {
  display: grid;
  gap: 16px;
}

.supply-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.supply-hero h3 {
  max-width: 620px;
  margin: 5px 0 0;
  font-size: 23px;
  line-height: 1.18;
}

.supply-hero p:not(.eyebrow) {
  max-width: 740px;
  color: var(--muted);
  line-height: 1.45;
}

.supply-summary {
  display: grid;
  grid-template-columns: repeat(3, 96px);
  gap: 8px;
}

.supply-summary span {
  display: grid;
  gap: 2px;
  padding: 12px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #090d0c;
}

.supply-summary strong {
  font-size: 24px;
}

.supply-summary small,
.supply-item small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.supply-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.supply-column {
  --supply-tone: var(--amber);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: 12px;
  height: 430px;
  min-height: 430px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #090d0c;
  box-shadow: inset 3px 0 0 var(--supply-tone);
}

.supply-column[data-tone="coral"] {
  --supply-tone: var(--coral);
}

.supply-column[data-tone="teal"] {
  --supply-tone: var(--teal);
}

.supply-column-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.supply-column-head h4,
.supply-add-card h4 {
  margin: 0;
  font-size: 17px;
}

.supply-column-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.supply-column-head > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--supply-tone);
  font-weight: 950;
}

.supply-items {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.supply-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: var(--panel-2);
}

.supply-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.supply-item strong,
.supply-item span {
  display: block;
}

.supply-item span,
.supply-item p,
.supply-empty {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.supply-links,
.supply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.supply-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.supply-add-card {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel-2);
}

.supply-form {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.8fr));
  gap: 10px;
}

.supply-form label:last-child {
  grid-column: 1 / -1;
}

.danger-button {
  border-color: rgba(244, 127, 114, 0.28);
  color: var(--coral);
}

.supply-category-list {
  display: grid;
  gap: 14px;
}

.supply-category {
  --supply-tone: var(--amber);
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #090d0c;
  box-shadow: inset 3px 0 0 var(--supply-tone);
}

.supply-category[data-tone="coral"] {
  --supply-tone: var(--coral);
}

.supply-category[data-tone="teal"] {
  --supply-tone: var(--teal);
}

.supply-category-head,
.supply-category-meta,
.supply-table-row {
  display: grid;
  align-items: center;
  gap: 12px;
}

.supply-category-head {
  grid-template-columns: minmax(0, 1fr) auto auto;
  cursor: pointer;
}

.supply-category-head h4 {
  margin: 0;
  font-size: 18px;
}

.supply-category-head p,
.supply-category-meta,
.supply-table-row small {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.supply-category-meta {
  grid-template-columns: repeat(2, max-content);
  color: var(--supply-tone);
  font-weight: 900;
  text-transform: uppercase;
}

.icon-plus-button svg,
.icon-only-button svg {
  width: 15px;
  height: 15px;
}

.supply-table {
  display: grid;
  gap: 7px;
}

.supply-table-row {
  grid-template-columns: minmax(150px, 1.1fr) minmax(150px, 0.95fr) minmax(190px, 0.95fr) minmax(160px, 0.8fr) 38px;
  min-height: 54px;
  padding: 10px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--panel-2);
}

.supply-table-head {
  min-height: 34px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.supply-table-row strong {
  display: block;
  font-size: 14px;
}

.supply-date-cell,
.supply-reminder-cell,
.supply-row-delete {
  display: flex;
  align-items: center;
  gap: 8px;
}

.supply-date-cell {
  align-items: stretch;
  flex-direction: column;
}

.supply-reminder-cell {
  display: grid;
  gap: 4px;
}

.supply-reminder-cell small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.supply-date-cell input,
.supply-reminder-cell select {
  min-height: 36px;
}

.supply-date-cell input {
  width: 100%;
}

.supply-saved-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
}

.supply-pending-note {
  color: var(--amber);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.supply-saved-note svg {
  width: 14px;
  height: 14px;
}

.supply-order-history {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  padding-top: 2px;
}

.supply-order-history span {
  width: 100%;
  color: var(--muted);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.supply-order-history b,
.supply-order-history small {
  padding: 4px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-size: 10px;
  font-weight: 850;
}

.supply-row-delete {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.supply-add-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(210px, 1fr) minmax(190px, 0.9fr) auto;
  gap: 9px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(240, 184, 94, 0.2);
  border-radius: 14px;
  background: rgba(240, 184, 94, 0.055);
}

.supply-add-row-small {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.supply-ai-nudge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(137, 183, 255, 0.22);
  border-radius: 16px;
  background: rgba(137, 183, 255, 0.055);
}

.supply-ai-nudge > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.supply-ai-nudge > div:last-child {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.supply-ai-nudge span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(137, 183, 255, 0.12);
  color: var(--blue);
}

.supply-ai-nudge span svg {
  width: 17px;
  height: 17px;
}

.supply-ai-nudge strong {
  display: block;
  font-size: 14px;
}

.supply-ai-nudge p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.supply-ai-nudge .ai-value-copy {
  width: fit-content;
  margin-top: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(240, 184, 94, 0.22);
  border-radius: 999px;
  background: rgba(240, 184, 94, 0.09);
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.food-status-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(240, 184, 94, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 184, 94, 0.1), transparent 60%),
    var(--panel-2);
}

.food-status-card span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.food-status-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.food-status-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.supply-meter,
.merchant-card {
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.supply-meter {
  display: grid;
  align-content: space-between;
  min-height: 180px;
  background:
    linear-gradient(145deg, rgba(240, 184, 94, 0.14), transparent),
    var(--panel-2);
}

.meter-label,
.merchant-card span,
.expense-hero span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.supply-meter strong,
.merchant-card strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 20px;
}

.merchant-card strong .merchant-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 13px;
}

.supply-meter p,
.merchant-card p {
  color: var(--muted);
  line-height: 1.4;
}

.meter-track,
.routine-progress,
.expense-bar {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #080d0f;
}

.meter-track span,
.routine-progress span,
.expense-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
}

.merchant-card.best {
  border-color: rgba(240, 184, 94, 0.6);
}

.timeline {
  display: grid;
  gap: 10px;
}

.calendar-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(240, 184, 94, 0.09), transparent 58%),
    var(--panel-2);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calendar-head span,
.calendar-head strong {
  display: block;
}

.calendar-head span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-head strong {
  margin-top: 3px;
  font-size: 18px;
}

.calendar-title-wrap {
  min-width: 170px;
}

.calendar-jump {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.calendar-jump select,
.calendar-jump input {
  min-height: 38px;
  border-radius: 12px;
  font-size: 13px;
}

.calendar-jump select {
  width: 132px;
}

.calendar-jump input {
  width: 86px;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 82px;
  max-height: 104px;
  padding: 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #0f1212;
  overflow: hidden;
}

.calendar-day.empty {
  opacity: 0.28;
}

.calendar-day strong,
.calendar-day span {
  display: block;
}

.calendar-day strong {
  color: var(--text);
  font-size: 13px;
}

.calendar-day span {
  margin-top: 10px;
  padding: 6px 7px;
  border-radius: 999px;
  background: rgba(240, 184, 94, 0.13);
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-day[data-tone="teal"] {
  border-color: rgba(65, 214, 197, 0.32);
}

.calendar-day[data-tone="teal"] span {
  background: rgba(65, 214, 197, 0.12);
  color: var(--teal);
}

.calendar-day[data-tone="amber"] {
  border-color: rgba(240, 184, 94, 0.38);
}

.calendar-day[data-tone="blue"] {
  border-color: rgba(137, 183, 255, 0.36);
}

.calendar-day[data-tone="blue"] span {
  background: rgba(137, 183, 255, 0.13);
  color: var(--blue);
}

.calendar-day[data-tone="green"] {
  border-color: rgba(145, 223, 140, 0.34);
}

.calendar-day[data-tone="green"] span {
  background: rgba(145, 223, 140, 0.12);
  color: var(--green);
}

.calendar-day[data-tone="coral"] {
  border-color: rgba(244, 127, 114, 0.36);
}

.calendar-day[data-tone="coral"] span {
  background: rgba(244, 127, 114, 0.13);
  color: var(--coral);
}

.care-calendar-page {
  gap: 16px;
}

.calendar-toolbar,
.category-results > div:first-child {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.calendar-toolbar h3 {
  margin: 5px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.calendar-export-card {
  min-width: min(100%, 620px);
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(240, 184, 94, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(240, 184, 94, 0.08), rgba(65, 214, 197, 0.04)),
    #090d0c;
}

.calendar-export-copy strong,
.calendar-export-copy span {
  display: block;
}

.calendar-export-copy strong {
  color: var(--text);
  font-size: 14px;
}

.calendar-export-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.calendar-export-control {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.calendar-export-control select {
  min-height: 42px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-weight: 800;
}

.calendar-export-control .secondary-button {
  min-height: 42px;
  white-space: nowrap;
}

.calendar-search input {
  width: 100%;
}

.calendar-pet-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.calendar-pet-filters::-webkit-scrollbar {
  display: none;
}

.calendar-pet-filter {
  flex: 0 0 auto;
  min-width: 124px;
  max-width: 156px;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: #0b0f0f;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.calendar-pet-filter.active {
  border-color: rgba(240, 184, 94, 0.68);
  background: linear-gradient(145deg, rgba(240, 184, 94, 0.16), rgba(240, 184, 94, 0.03));
}

.calendar-pet-filter img,
.calendar-stack-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
}

.calendar-pet-filter img {
  object-fit: cover;
  border: 1px solid rgba(240, 184, 94, 0.34);
}

.calendar-stack-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 184, 94, 0.34);
  background: rgba(240, 184, 94, 0.12);
  color: var(--amber);
}

.calendar-stack-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.calendar-pet-filter strong,
.calendar-pet-filter small {
  display: block;
}

.calendar-pet-filter strong {
  overflow: hidden;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-pet-filter small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.care-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
  align-items: start;
}

.full-calendar-card {
  min-height: 680px;
}

.full-calendar-card .calendar-day {
  min-height: 118px;
}

.calendar-day-view {
  display: grid;
  gap: 14px;
}

.calendar-day-view-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.calendar-day-view-head h3 {
  margin: 3px 0 0;
  font-size: 24px;
  line-height: 1.12;
}

.calendar-day-agenda {
  display: grid;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(240, 184, 94, 0.32);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.care-calendar-card .calendar-day {
  cursor: pointer;
  text-align: left;
}

.calendar-day.selected {
  border-color: rgba(240, 184, 94, 0.7);
  background:
    linear-gradient(145deg, rgba(240, 184, 94, 0.16), transparent 72%),
    #0f1212;
  box-shadow: 0 0 0 2px rgba(240, 184, 94, 0.08);
}

.calendar-day.today {
  position: relative;
  border-color: rgba(255, 209, 102, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 209, 102, 0.22),
    0 0 0 2px rgba(255, 209, 102, 0.08);
}

.calendar-day.today strong {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.18);
  color: var(--amber);
}

.calendar-day.today::after {
  content: "Today";
  position: absolute;
  top: 9px;
  right: 9px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calendar-day span[data-tone] {
  margin-top: 6px;
}

.calendar-day span[data-tone="blue"] {
  background: rgba(137, 183, 255, 0.13);
  color: var(--blue);
}

.calendar-day span[data-tone="coral"] {
  background: rgba(244, 127, 114, 0.13);
  color: var(--coral);
}

.calendar-day span[data-tone="teal"] {
  background: rgba(65, 214, 197, 0.12);
  color: var(--teal);
}

.calendar-day span[data-tone="green"] {
  background: rgba(145, 223, 140, 0.12);
  color: var(--green);
}

.calendar-day span[data-tone="purple"] {
  background: rgba(180, 151, 255, 0.13);
  color: #b497ff;
}

.calendar-day small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.calendar-day .calendar-note-badge {
  width: fit-content;
  margin-top: 5px;
  padding: 3px 7px;
  border: 1px solid rgba(65, 214, 197, 0.22);
  border-radius: 999px;
  background: rgba(65, 214, 197, 0.1);
  color: var(--teal);
  font-size: 10px;
  line-height: 1;
}

.calendar-day-panel,
.category-results,
.calendar-add-form {
  display: grid;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.calendar-day-panel {
  border-color: rgba(240, 184, 94, 0.32);
  box-shadow: inset 0 0 0 1px rgba(240, 184, 94, 0.08);
}

.calendar-add-form {
  border-color: rgba(240, 184, 94, 0.44);
  background: #090d0c;
  box-shadow: inset 0 0 0 1px rgba(240, 184, 94, 0.08);
}

.calendar-day-notes {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(65, 214, 197, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(65, 214, 197, 0.08), rgba(240, 184, 94, 0.05)),
    var(--panel-2);
}

.calendar-day-notes h4 {
  margin: 4px 0 0;
  font-size: 16px;
}

.calendar-note-input {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.calendar-month-note {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(120px, 0.45fr) 150px minmax(220px, 1.2fr) auto;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid rgba(240, 184, 94, 0.2);
  border-radius: 14px;
  background: rgba(240, 184, 94, 0.055);
}

.calendar-month-note p,
.calendar-month-note strong {
  margin: 0;
}

.calendar-month-note strong {
  color: var(--text);
  font-size: 13px;
}

.calendar-note-list {
  display: grid;
  gap: 8px;
}

.calendar-note-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.calendar-note-item span {
  color: var(--text);
  font-weight: 800;
}

.calendar-note-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.calendar-add-summary {
  width: 100%;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.calendar-add-summary > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 184, 94, 0.36);
  border-radius: 50%;
  background: rgba(240, 184, 94, 0.1);
  color: var(--amber);
}

.calendar-add-form.open .calendar-add-summary > span {
  transform: rotate(45deg);
}

.calendar-add-summary svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.calendar-add-summary strong {
  font-size: 14px;
  font-weight: 900;
}

.calendar-add-summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-add-form:not(.open) {
  padding: 12px 14px;
}

.calendar-add-form:not(.open) .calendar-add-body {
  display: none;
}

.calendar-add-body {
  display: grid;
  gap: 11px;
}

.calendar-day-panel h4,
.category-results h4 {
  margin: 2px 0 0;
  font-size: 17px;
}

.empty-day {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.calendar-event-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--amber);
  border-radius: 14px;
  background: #0b0f0f;
}

.calendar-event-card[data-tone="blue"] {
  border-left-color: var(--blue);
}

.calendar-event-card[data-tone="coral"] {
  border-left-color: var(--coral);
}

.calendar-event-card[data-tone="teal"] {
  border-left-color: var(--teal);
}

.calendar-event-card[data-tone="green"] {
  border-left-color: var(--green);
}

.calendar-event-card[data-tone="purple"] {
  border-left-color: #b497ff;
}

.calendar-event-card[data-tone="slate"] {
  border-left-color: var(--muted);
}

.calendar-event-card img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(240, 184, 94, 0.34);
}

.calendar-event-card strong,
.calendar-event-card span {
  display: block;
}

.calendar-event-card strong {
  color: var(--text);
  font-size: 14px;
}

.calendar-event-card span,
.calendar-event-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.calendar-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calendar-form-grid label {
  margin: 0;
}

.calendar-title-field,
.calendar-other-field {
  grid-column: 1 / -1;
}

.calendar-other-field {
  display: none;
}

.calendar-other-field.show {
  display: grid;
}

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.category-strip button {
  min-width: 150px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: var(--panel-2);
  color: var(--soft);
  text-align: left;
}

.category-strip button.active,
.category-strip button:hover {
  border-color: rgba(240, 184, 94, 0.56);
  background: rgba(240, 184, 94, 0.09);
}

.category-strip button[data-tone="blue"] {
  border-top: 3px solid var(--blue);
}

.category-strip button[data-tone="coral"] {
  border-top: 3px solid var(--coral);
}

.category-strip button[data-tone="teal"] {
  border-top: 3px solid var(--teal);
}

.category-strip button[data-tone="green"] {
  border-top: 3px solid var(--green);
}

.category-strip button[data-tone="purple"] {
  border-top: 3px solid #b497ff;
}

.category-strip button[data-tone="slate"] {
  border-top: 3px solid var(--muted);
}

.category-strip strong,
.category-strip span {
  display: block;
}

.category-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.category-event-list {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 90px auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.timeline-item[data-tone="amber"] {
  border-color: rgba(244, 185, 95, 0.34);
  background: linear-gradient(90deg, rgba(244, 185, 95, 0.1), transparent), var(--panel-2);
}

.timeline-item[data-tone="blue"] {
  border-color: rgba(140, 183, 255, 0.34);
  background: linear-gradient(90deg, rgba(140, 183, 255, 0.1), transparent), var(--panel-2);
}

.timeline-item[data-tone="green"] {
  border-color: rgba(138, 223, 149, 0.34);
  background: linear-gradient(90deg, rgba(138, 223, 149, 0.1), transparent), var(--panel-2);
}

.timeline-item[data-tone="coral"] {
  border-color: rgba(255, 122, 114, 0.34);
  background: linear-gradient(90deg, rgba(255, 122, 114, 0.1), transparent), var(--panel-2);
}

.timeline-item span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.timeline-item strong {
  font-size: 15px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.routine-planner {
  display: grid;
  gap: 10px;
}

.routine-step {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.routine-step[data-tone="teal"] {
  border-color: rgba(52, 211, 191, 0.32);
}

.routine-step[data-tone="amber"] {
  border-color: rgba(244, 185, 95, 0.32);
}

.routine-step[data-tone="blue"] {
  border-color: rgba(140, 183, 255, 0.32);
}

.routine-step[data-tone="green"] {
  border-color: rgba(138, 223, 149, 0.32);
}

.routine-time {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.routine-step strong {
  display: block;
}

.routine-step p {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.routine-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.assistant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
}

.assistant-simple {
  display: grid;
  width: 100%;
  gap: 18px;
}

.assistant-simple h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
}

.assistant-intro {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.assistant-answer {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.assistant-input-row input {
  min-height: 52px;
}

.assistant-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.assistant-scope-actions {
  display: grid;
  grid-template-columns: minmax(180px, 220px) auto;
  gap: 8px;
  justify-content: flex-end;
}

.assistant-scope-actions select,
.assistant-scope-actions .primary-button {
  min-height: 42px;
  white-space: nowrap;
}

.assistant-quick-starts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-quick-starts button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(240, 184, 94, 0.22);
  border-radius: 999px;
  background: rgba(240, 184, 94, 0.07);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.assistant-common {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--panel-2);
}

.assistant-common summary {
  padding: 15px 16px;
  color: var(--soft);
  font-weight: 900;
  cursor: pointer;
}

.assistant-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}

.assistant-example,
.assistant-history-item {
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #080d0e;
}

.assistant-example strong {
  color: var(--amber);
}

.assistant-example p,
.assistant-history-item p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.assistant-history {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--panel-2);
}

.assistant-history summary {
  padding: 15px 16px;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.assistant-history span,
.assistant-empty-history {
  display: block;
  padding: 0 16px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.assistant-history .assistant-history-item {
  margin: 0 16px 12px;
}

.assistant-history-item strong {
  color: var(--soft);
}

.assistant-live-answer {
  padding: 14px;
  border: 1px solid rgba(65, 214, 197, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(65, 214, 197, 0.09), rgba(240, 184, 94, 0.06)),
    var(--panel-2);
}

.assistant-live-answer span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistant-live-answer strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 15px;
}

.assistant-live-answer p {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.45;
}

html[data-theme="light"] .assistant-common {
  border-color: rgba(190, 150, 105, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 255, 0.72)),
    #f8fdff !important;
  color: #2b2118;
  box-shadow: 0 14px 34px rgba(95, 62, 25, 0.07);
}

html[data-theme="light"] .assistant-common summary {
  color: #2b2118;
}

html[data-theme="light"] .assistant-example {
  border-color: rgba(190, 150, 105, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 239, 0.66)),
    #fffaf4 !important;
  color: #2b2118;
  box-shadow: 0 10px 24px rgba(95, 62, 25, 0.06);
}

html[data-theme="light"] .assistant-example strong {
  color: #9b5d12;
}

html[data-theme="light"] .assistant-example p {
  color: #6f6254;
}

.clarity-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  color: var(--amber);
  font-weight: 900;
  text-decoration: none;
}

.life-panel {
  display: grid;
  gap: 16px;
}

.life-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
  align-items: center;
  min-height: 220px;
  padding: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(240, 184, 94, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 209, 102, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(240, 184, 94, 0.18), rgba(244, 127, 114, 0.09) 48%, rgba(65, 214, 197, 0.08)),
    var(--panel-2);
}

.life-hero::before,
.life-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.life-hero::before {
  width: 180px;
  height: 180px;
  right: -58px;
  bottom: -76px;
  border: 1px solid rgba(240, 184, 94, 0.28);
}

.life-hero::after {
  width: 88px;
  height: 88px;
  right: 176px;
  top: 22px;
  border: 1px solid rgba(65, 214, 197, 0.22);
}

.life-hero > div {
  position: relative;
  z-index: 1;
}

.life-hero h3,
.life-next h3 {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.life-hero p:not(.eyebrow),
.life-next p:not(.eyebrow) {
  color: var(--soft);
  line-height: 1.45;
}

.life-age {
  padding: 18px;
  border: 1px solid rgba(255, 209, 102, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 209, 102, 0.2), rgba(65, 214, 197, 0.08)),
    rgba(8, 13, 14, 0.66);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.life-age span,
.life-age small {
  display: block;
  color: var(--muted);
}

.life-age strong {
  display: block;
  margin: 5px 0;
  color: var(--amber);
  font-size: 26px;
  line-height: 1.05;
}

html[data-theme="light"] .life-age {
  border-color: rgba(226, 112, 34, 0.24);
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 217, 151, 0.5), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 235, 0.82) 58%, rgba(241, 249, 255, 0.86)),
    #fffaf4;
  color: #201812;
  box-shadow:
    0 0 0 1px rgba(226, 112, 34, 0.08),
    0 16px 34px rgba(117, 74, 31, 0.12);
}

html[data-theme="light"] .life-age span {
  color: #9a5a17;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[data-theme="light"] .life-age strong {
  color: #26384b;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

html[data-theme="light"] .life-age small {
  color: #6e6255;
  font-size: 12px;
  font-weight: 800;
}

.life-celebration {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.life-celebration span {
  padding: 12px 13px;
  border: 1px solid rgba(240, 184, 94, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(240, 184, 94, 0.09), transparent 70%),
    var(--panel-2);
  color: var(--soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.life-path {
  position: relative;
  min-height: 112px;
  padding: 24px 18px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 209, 102, 0.08), rgba(65, 214, 197, 0.08), rgba(140, 183, 255, 0.07)),
    var(--panel-2);
}

.life-line {
  position: absolute;
  top: 44px;
  left: 38px;
  right: 38px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #070b0c;
}

.life-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0b85e, #f47f72 34%, #41d6c5 68%, #89b7ff);
}

.life-node {
  position: absolute;
  top: 20px;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 90px;
  transform: translateX(-8px);
}

.life-node span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 4px solid var(--panel-2);
  border-radius: 50%;
  background: #0a1012;
  color: var(--muted);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.life-node span .stage-dog-icon {
  width: 48px;
  height: 48px;
  stroke-width: 2.6;
}

.life-node span .stage-dog-icon.puppy {
  width: 38px;
  height: 38px;
}

.life-node span .stage-dog-icon.teen {
  width: 44px;
  height: 44px;
}

.life-node span .stage-dog-icon.adult {
  width: 50px;
  height: 50px;
}

.life-node span .stage-dog-icon.senior {
  width: 56px;
  height: 56px;
}

.life-node:nth-of-type(2) span {
  background: rgba(255, 209, 102, 0.16);
  color: #ffd166;
}

.life-node:nth-of-type(3) span {
  background: rgba(255, 122, 114, 0.14);
  color: var(--coral);
}

.life-node:nth-of-type(4) span {
  background: rgba(65, 214, 197, 0.12);
  color: var(--teal);
}

.life-node:nth-of-type(5) span {
  background: rgba(140, 183, 255, 0.14);
  color: var(--blue);
}

.life-node.current span {
  background: var(--teal-soft);
  color: var(--teal);
  box-shadow:
    0 0 0 5px rgba(65, 214, 197, 0.11),
    0 16px 28px rgba(65, 214, 197, 0.1);
}

.life-node strong {
  color: var(--soft);
  font-size: 13px;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.life-card {
  position: relative;
  min-height: 244px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel-2);
}

.life-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.07;
}

.life-card[data-tone="amber"] {
  border-color: rgba(255, 209, 102, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 209, 102, 0.13), transparent 62%),
    var(--panel-2);
}

.life-card[data-tone="coral"] {
  border-color: rgba(255, 122, 114, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 122, 114, 0.12), transparent 62%),
    var(--panel-2);
}

.life-card[data-tone="teal"] {
  border-color: rgba(65, 214, 197, 0.34);
  background:
    linear-gradient(145deg, rgba(65, 214, 197, 0.1), transparent 62%),
    var(--panel-2);
}

.life-card[data-tone="blue"] {
  border-color: rgba(140, 183, 255, 0.4);
  background:
    linear-gradient(145deg, rgba(140, 183, 255, 0.12), transparent 62%),
    var(--panel-2);
}

.life-card.current {
  z-index: 2;
  border-color: rgba(255, 209, 102, 0.7);
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 209, 102, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(65, 214, 197, 0.2), rgba(255, 209, 102, 0.13) 58%, rgba(244, 127, 114, 0.08) 82%),
    var(--panel-2);
  transform: translateY(-10px) scale(1.035);
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, 0.2),
    0 0 0 6px rgba(240, 184, 94, 0.07),
    0 24px 62px rgba(0, 0, 0, 0.34),
    0 18px 42px rgba(65, 214, 197, 0.14);
}

.life-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.life-card-top > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(65, 214, 197, 0.1);
  color: var(--teal);
}

.life-card-top > span .stage-dog-icon {
  width: 46px;
  height: 46px;
  stroke-width: 2.5;
}

.life-card-top > span .stage-dog-icon.puppy {
  width: 38px;
  height: 38px;
}

.life-card-top > span .stage-dog-icon.teen {
  width: 43px;
  height: 43px;
}

.life-card-top > span .stage-dog-icon.adult {
  width: 48px;
  height: 48px;
}

.life-card-top > span .stage-dog-icon.senior {
  width: 53px;
  height: 53px;
}

.life-card[data-tone="amber"] .life-card-top > span,
.life-card[data-tone="amber"] .life-bubbles span {
  background: rgba(255, 209, 102, 0.13);
  color: #ffd166;
}

.life-card[data-tone="coral"] .life-card-top > span,
.life-card[data-tone="coral"] .life-bubbles span {
  background: rgba(255, 122, 114, 0.13);
  color: var(--coral);
}

.life-card[data-tone="teal"] .life-card-top > span,
.life-card[data-tone="teal"] .life-bubbles span {
  background: rgba(65, 214, 197, 0.11);
  color: var(--teal);
}

.life-card[data-tone="blue"] .life-card-top > span,
.life-card[data-tone="blue"] .life-bubbles span {
  background: rgba(140, 183, 255, 0.13);
  color: var(--blue);
}

.life-card.current .life-card-top > span {
  background: rgba(255, 209, 102, 0.18);
  color: var(--amber);
  box-shadow:
    0 0 0 5px rgba(255, 209, 102, 0.09),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

.life-card.current strong {
  color: var(--text);
}

.life-card.current p {
  color: var(--soft);
}

.life-card.current .life-bubbles span {
  border: 1px solid rgba(255, 209, 102, 0.28);
}

.life-card strong,
.life-card small {
  display: block;
}

.life-card strong {
  font-size: 17px;
  line-height: 1.15;
}

.life-card small {
  margin-top: 2px;
  color: var(--muted);
}

.life-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.life-bubbles span {
  padding: 6px 8px;
  border-radius: 999px;
  background: #090e10;
  color: var(--soft);
  font-size: 12px;
}

.life-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.life-card em {
  display: inline-flex;
  margin-top: 14px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.15);
  color: var(--amber);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.life-next {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(140, 183, 255, 0.38);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(140, 183, 255, 0.17), rgba(240, 184, 94, 0.08) 58%, transparent 72%),
    var(--panel-2);
}

.life-next-art {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.2), transparent 32%),
    rgba(140, 183, 255, 0.14);
  color: var(--amber);
}

.life-next-art svg {
  width: 34px;
  height: 34px;
}

.chat-box {
  display: grid;
  gap: 10px;
}

.chat-message {
  max-width: 760px;
  padding: 13px 14px;
  border-radius: var(--radius);
  color: var(--soft);
  line-height: 1.45;
}

.chat-message.user {
  justify-self: end;
  background: var(--teal-soft);
  color: var(--text);
}

.chat-message.ai {
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
}

.ask-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

label {
  display: block;
  margin: 14px 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  background: #070c0d;
  color: var(--soft);
}

textarea {
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.35;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(52, 211, 191, 0.76);
  box-shadow: 0 0 0 3px rgba(52, 211, 191, 0.1);
}

.form-grid,
.setup-screen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.setup-screen .feature-panel {
  grid-column: span 2;
}

.setup-score-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.setup-score-panel h3 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.22;
}

.setup-checks {
  display: grid;
  gap: 8px;
}

.setup-checks span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.setup-checks span svg {
  color: var(--amber);
}

.setup-checks span.done {
  border-color: rgba(145, 223, 140, 0.26);
  color: var(--soft);
}

.setup-checks span.done svg {
  color: var(--green);
}

.profile-owner-panel .helper-copy,
.profile-pets-panel .helper-copy {
  max-width: 760px;
}

.profile-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.profile-photo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.pet-photo-row {
  margin-top: 18px;
  margin-bottom: 0;
}

.profile-avatar,
.profile-avatar-img {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(240, 184, 94, 0.1);
  object-fit: cover;
  overflow: hidden;
}

.profile-avatar {
  display: grid;
  place-items: center;
  color: var(--amber);
  font-weight: 900;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-upload-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.photo-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.photo-credit-pill {
  width: fit-content;
  margin-top: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(242, 184, 95, 0.28);
  border-radius: 999px;
  background: rgba(242, 184, 95, 0.1);
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

html[data-theme="light"] .photo-credit-pill {
  border-color: rgba(226, 112, 34, 0.2);
  background: #fff0df;
  color: #c95b13;
}

.profile-pet-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.profile-pet-cards button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--panel-2);
  color: var(--text);
  text-align: left;
}

.profile-pet-cards button.active {
  border-color: rgba(240, 184, 94, 0.48);
  background: rgba(240, 184, 94, 0.09);
}

.profile-pet-cards .add-pet-card {
  border-style: dashed;
  border-color: rgba(240, 184, 94, 0.34);
  background: rgba(240, 184, 94, 0.055);
}

.profile-pet-cards .add-pet-card > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(240, 184, 94, 0.14);
  color: var(--amber);
}

.profile-pet-cards img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
}

.profile-pet-cards strong,
.profile-pet-cards small {
  display: block;
}

.profile-pet-cards small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.profile-pet-form {
  margin-top: 4px;
}

.food-suggestion-row {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.food-suggestion-row > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.food-suggestion-row small {
  color: var(--muted);
  font-size: 12px;
}

.search-wrap {
  position: relative;
}

.suggestions {
  position: absolute;
  z-index: 10;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #070c0d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

.suggestions.open {
  display: block;
}

.suggestions button {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  color: var(--soft);
  text-align: left;
}

.suggestions button:hover {
  background: var(--teal-soft);
  color: var(--teal);
}

.chip {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #090e10;
  color: var(--muted);
}

.chip.suggested {
  border-color: rgba(52, 211, 191, 0.68);
  background: var(--teal-soft);
  color: var(--teal);
}

.chip.selected {
  border-color: rgba(242, 184, 95, 0.72);
  background: rgba(242, 184, 95, 0.18);
  color: var(--amber);
}

.document-grid,
.expense-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.document-card,
.expense-card {
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.document-card[data-tone="blue"] {
  border-color: rgba(140, 183, 255, 0.35);
}

.document-card[data-tone="amber"] {
  border-color: rgba(244, 185, 95, 0.35);
}

.document-card[data-tone="green"] {
  border-color: rgba(138, 223, 149, 0.35);
}

.document-card[data-tone="coral"] {
  border-color: rgba(255, 122, 114, 0.35);
}

.document-card[data-tone="teal"] {
  border-color: rgba(52, 211, 191, 0.35);
}

.document-card[data-tone="purple"] {
  border-color: rgba(198, 167, 255, 0.35);
}

.doc-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: rgba(52, 211, 191, 0.1);
  color: var(--teal);
}

.document-card strong,
.document-card span {
  display: block;
}

.document-card p {
  min-height: 42px;
  color: var(--muted);
  line-height: 1.35;
}

.document-card span {
  color: var(--soft);
  font-weight: 800;
}

.records-page {
  display: grid;
  gap: 16px;
}

.records-head {
  display: block;
}

.record-upload-button {
  position: relative;
  overflow: hidden;
}

.record-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.record-upload-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.record-upload-panel p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.emergency-packet-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(240, 184, 94, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 10%, rgba(240, 184, 94, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(240, 184, 94, 0.09), rgba(21, 31, 29, 0.94));
}

.emergency-packet-card strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.emergency-packet-card p {
  max-width: 760px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.emergency-packet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.emergency-packet-actions .primary-button,
.emergency-packet-actions .secondary-button {
  white-space: nowrap;
}

.record-file-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.record-file-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.record-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-3);
}

.record-file-row b,
.record-file-row small {
  display: block;
}

.record-file-row b {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-file-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

html[data-theme="light"] .record-upload-panel,
html[data-theme="light"] .emergency-packet-card,
html[data-theme="light"] .record-file-row {
  border-color: rgba(190, 150, 105, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 239, 0.64)),
    #fffaf4;
  color: var(--text);
}

.expense-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 184, 94, 0.14), transparent 58%),
    var(--panel-2);
}

.expense-hero strong {
  display: block;
  margin-top: 6px;
  font-size: 32px;
  line-height: 1;
}

.expense-hero p {
  color: var(--soft);
  line-height: 1.4;
}

.spend-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 150px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #090e10;
}

.spend-chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--amber), rgba(240, 184, 94, 0.28));
}

.expense-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.expense-card strong {
  font-size: 15px;
}

.expense-card span {
  color: var(--text);
  font-weight: 900;
}

.expense-card p {
  margin: 10px 0;
  color: var(--muted);
}

.expense-card[data-tone="blue"] .expense-bar span {
  background: var(--blue);
}

.expense-card[data-tone="green"] .expense-bar span {
  background: var(--green);
}

.expense-card[data-tone="coral"] .expense-bar span {
  background: var(--coral);
}

.expense-card[data-tone="amber"] .expense-bar span {
  background: var(--amber);
}

.expenses-page {
  display: grid;
  gap: 16px;
}

.expense-scope-total {
  justify-self: end;
  color: var(--amber);
  font-size: 34px;
  line-height: 1;
}

.expense-summary-grid,
.expense-entry-list {
  display: grid;
  gap: 10px;
}

.expense-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.expense-add-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.expense-add-card h3 {
  margin: 0;
  font-size: 17px;
}

.expense-form {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 1fr 0.85fr 1.2fr;
  gap: 10px;
  align-items: end;
}

.expense-entry {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(180px, 0.8fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.expense-entry-editing {
  grid-template-columns: 1.2fr 0.65fr 0.9fr 0.9fr 0.8fr 1fr auto;
  align-items: end;
}

.expense-entry span,
.expense-entry small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.expense-entry strong {
  color: var(--text);
  font-size: 14px;
}

.expense-entry b {
  color: var(--amber);
  font-size: 13px;
}

.expense-entry-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.expense-entry-actions .secondary-button {
  min-width: 70px;
}

.expense-entry .danger-button,
.expense-entry-actions {
  justify-self: end;
}

html[data-theme="light"] .expense-add-card,
html[data-theme="light"] .expense-entry {
  border-color: rgba(190, 150, 105, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 239, 0.62)),
    #fffaf4;
}

.profile-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.profile-summary img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(52, 211, 191, 0.36);
}

.profile-summary strong,
.profile-summary span,
.profile-summary small {
  display: block;
}

.profile-summary span {
  margin-top: 3px;
  color: var(--muted);
}

.profile-summary small {
  margin-top: 5px;
  color: var(--soft);
  line-height: 1.35;
}

.care-details-grid {
  margin-top: 14px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 12px;
}

.photo-studio {
  display: grid;
  gap: 18px;
}

.studio-head,
.studio-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.studio-head h3 {
  max-width: 720px;
  margin: 6px 0 0;
  font-size: 21px;
  line-height: 1.2;
}

.studio-head p:not(.eyebrow),
.studio-side p {
  color: var(--muted);
  line-height: 1.45;
}

.studio-workbench {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(240, 184, 94, 0.1), rgba(65, 214, 197, 0.07)),
    var(--panel-2);
}

.studio-preview {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(240, 184, 94, 0.28);
  border-radius: 18px;
  background: #080d0e;
}

.studio-preview img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: filter 180ms ease, transform 180ms ease;
}

.studio-preview > img:not(.caricature-ink),
.saved-edit-card > img:not(.caricature-ink) {
  position: relative;
  z-index: 0;
}

.studio-preview[data-effect="caricature"]::before,
.saved-edit-card[data-effect="caricature"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 226, 122, 0.34), transparent 21%),
    radial-gradient(circle at 82% 14%, rgba(255, 124, 69, 0.28), transparent 22%),
    repeating-radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 7px);
  mix-blend-mode: soft-light;
}

.caricature-ink {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  object-fit: cover;
  opacity: 0.42;
  filter: grayscale(1) contrast(4.5) brightness(0.86) blur(0.35px);
  mix-blend-mode: multiply;
  transform: scale(1.045);
  pointer-events: none;
}

.photo-effect-sticker {
  filter: saturate(1.45) contrast(1.16) brightness(1.04);
}

.photo-effect-poster {
  filter: saturate(1.18) contrast(1.05) sepia(0.12);
}

.photo-effect-comic {
  filter: saturate(1.65) contrast(1.34) brightness(1.03);
}

.photo-effect-storybook {
  filter: sepia(0.22) saturate(1.1) contrast(0.96) brightness(1.08);
}

.photo-effect-meme {
  filter: saturate(1.3) contrast(1.22) brightness(1.02);
}

.photo-effect-caricature {
  filter: saturate(2.25) contrast(1.75) brightness(1.08) sepia(0.08);
  transform: scale(1.04) rotate(-0.7deg);
}

.photo-effect-caption {
  filter: saturate(1.18) contrast(1.06) brightness(1.03);
}

.photo-effect-emoji {
  filter: saturate(1.34) contrast(1.08) brightness(1.05);
}

.photo-effect-glasses {
  filter: saturate(1.2) contrast(1.1);
}

.photo-effect-party-card {
  filter: sepia(0.08) saturate(1.35) contrast(1.08) brightness(1.04);
}

.photo-caption-sticker,
.photo-party-ribbon,
.photo-doodle,
.photo-emoji,
.photo-glasses {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.photo-caption-sticker,
.photo-party-ribbon {
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%) rotate(-2deg);
  padding: 9px 14px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: linear-gradient(145deg, #ff8a2a, #f0b85e);
  color: #1b1208;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.photo-party-ribbon {
  top: 18px;
  bottom: auto;
  background: linear-gradient(145deg, #ffe3a4, #f29a44);
}

.photo-doodle-spark {
  top: 22px;
  right: 28px;
  color: #ffd36a;
  font-size: 48px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.photo-doodle-wow {
  top: 28px;
  left: 24px;
  transform: rotate(-10deg);
  padding: 6px 9px;
  border-radius: 12px;
  background: #fff8ea;
  color: #e85d16;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.photo-emoji {
  font-size: 34px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.photo-emoji-one {
  top: 22px;
  left: 22px;
}

.photo-emoji-two {
  right: 26px;
  top: 78px;
}

.photo-emoji-three {
  right: 34px;
  bottom: 70px;
}

.photo-glasses {
  left: 50%;
  top: 37%;
  width: 150px;
  height: 54px;
  transform: translateX(-50%) rotate(-4deg);
}

.photo-glasses::before {
  content: "";
  position: absolute;
  left: 64px;
  top: 21px;
  width: 24px;
  height: 7px;
  border-radius: 999px;
  background: #121212;
}

.photo-glasses i {
  position: absolute;
  width: 58px;
  height: 42px;
  border: 7px solid #111;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.photo-glasses i:first-child {
  left: 2px;
}

.photo-glasses i:last-child {
  right: 2px;
}

.saved-edit-card .photo-caption-sticker,
.saved-edit-card .photo-party-ribbon {
  bottom: 42px;
  padding: 5px 8px;
  font-size: 9px;
}

.saved-edit-card .photo-party-ribbon {
  top: 9px;
  bottom: auto;
}

.saved-edit-card .photo-doodle-spark,
.saved-edit-card .photo-emoji {
  font-size: 21px;
}

.saved-edit-card .photo-doodle-wow {
  font-size: 10px;
}

.saved-edit-card .photo-glasses {
  width: 78px;
  height: 28px;
}

.saved-edit-card .photo-glasses::before {
  left: 33px;
  top: 11px;
  width: 13px;
  height: 4px;
}

.saved-edit-card .photo-glasses i {
  width: 31px;
  height: 23px;
  border-width: 4px;
}

.studio-badge {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(8, 13, 14, 0.82);
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.studio-side {
  display: grid;
  align-content: center;
  gap: 10px;
}

.studio-side h4 {
  margin: 0;
  font-size: 21px;
}

.studio-actions,
.studio-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.photo-caption-control {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-caption-control input {
  letter-spacing: 0;
  text-transform: none;
}

.studio-presets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.studio-presets button {
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--panel-2);
  color: var(--soft);
  text-align: left;
}

.studio-presets button.active {
  border-color: rgba(240, 184, 94, 0.58);
  background:
    linear-gradient(145deg, rgba(240, 184, 94, 0.15), rgba(65, 214, 197, 0.07)),
    var(--panel-2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.studio-presets strong,
.studio-presets span,
.studio-presets small {
  display: block;
}

.studio-presets span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.32;
}

.studio-presets small {
  align-self: end;
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.studio-roll {
  grid-template-columns: 1fr repeat(3, minmax(0, 0.9fr));
}

.upload-card,
.photo-card {
  min-height: 210px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}

.upload-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  background: var(--panel-2);
  color: var(--teal);
  text-align: center;
  cursor: pointer;
}

.photo-import-button {
  cursor: pointer;
}

.photo-import-button input {
  display: none;
}

.upload-card strong,
.upload-card span {
  display: block;
}

.upload-card span {
  color: var(--muted);
  font-size: 13px;
}

.photo-card {
  overflow: hidden;
  background: var(--panel-2);
  padding: 0;
  cursor: pointer;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card.active {
  border-color: rgba(240, 184, 94, 0.68);
  box-shadow: 0 0 0 3px rgba(240, 184, 94, 0.14);
}

.saved-edits {
  display: grid;
  gap: 12px;
}

.saved-edit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.saved-edit-card {
  position: relative;
}

.saved-edit-card > span:last-child {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(8, 13, 14, 0.82);
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
}

.modal-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.waitlist-modal {
  position: relative;
  width: min(440px, 100%);
  padding: 22px;
  border: 1px solid rgba(240, 184, 94, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(240, 184, 94, 0.13), transparent 58%),
    #0c1011;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
}

.waitlist-modal h2 {
  margin: 7px 0 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.waitlist-modal p {
  color: var(--soft);
  line-height: 1.45;
}

.waitlist-modal small {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #070c0d;
  color: var(--soft);
  font-size: 22px;
  line-height: 1;
}

.full-button {
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 1060px) {
  .app-shell {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    min-height: 100vh;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .login-form,
  .demo-credentials {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  body.nav-open .sidebar {
    position: fixed;
    z-index: 20;
    inset: 0 auto 0 0;
    display: grid;
    width: min(310px, calc(100vw - 34px));
    box-shadow: 24px 0 80px rgba(0, 0, 0, 0.5);
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    z-index: 19;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
  }

  .menu-button {
    display: inline-flex;
  }

  .content-column {
    width: 100%;
  }

  .briefing-hero,
  .assistant-layout,
  .assistant-input-row,
  .life-hero,
  .home-score-panel,
  .expense-form,
  .expense-entry,
  .expense-summary-grid,
  .setup-screen {
    grid-template-columns: 1fr;
  }

  .assistant-scope-actions,
  .assistant-examples {
    grid-template-columns: 1fr;
  }

  .setup-screen .feature-panel {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 0 14px;
  }

  .topbar > div {
    min-width: 0;
  }

  .topbar h2 {
    font-size: 16px;
  }

  .primary-button {
    width: 40px;
    padding: 0;
    font-size: 0;
  }

  .workspace {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 14px 18px 14px 10px;
  }

  .content-column {
    width: 100%;
    max-width: calc(100vw - 36px);
    margin: 0;
  }

  .launch-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .launch-strip .primary-button {
    width: 100%;
    font-size: 14px;
  }

  .section-header {
    flex-wrap: wrap;
  }

  .status-pill {
    max-width: 100%;
  }

  .briefing-hero h2 {
    font-size: 23px;
  }

  .focus-card h3,
  .launch-strip h3,
  .section-header h3 {
    max-width: calc(100vw - 76px);
    overflow-wrap: anywhere;
  }

  .focus-card p:not(.eyebrow),
  .briefing-hero p:not(.eyebrow),
  .score-card > p,
  .signal-card span {
    max-width: calc(100vw - 76px);
  }

  .decision-card,
  .focus-card,
  .focus-reason,
  .launch-strip,
  .insight-grid,
  .care-load-card,
  .care-load-metrics,
  .care-load-actions,
  .desktop-pet-switcher,
  .household-pet-grid,
  .daily-tracker-hero,
  .home-next-grid,
  .tracker-section-head,
  .task-list.compact,
  .briefing-feed,
  .supply-hero,
  .supply-board,
  .supply-form,
  .supply-category-head,
  .supply-table-row,
  .supply-add-row,
  .supply-add-row-small,
  .supply-ai-nudge,
  .profile-section-head,
  .supply-layout,
  .food-status-card,
  .mini-grid,
  .detail-grid,
  .life-grid,
  .life-next,
  .document-grid,
  .expense-grid,
  .expense-form,
  .expense-entry,
  .expense-summary-grid,
  .expense-hero,
  .calendar-head,
  .routine-row,
  .routine-summary,
  .form-grid,
  .photo-grid,
  .ask-row {
    grid-template-columns: 1fr;
  }

  .daily-tracker-hero,
  .tracker-section-head,
  .tracker-check {
    flex-direction: column;
    align-items: stretch;
  }

  .family-progress-grid,
  .dog-tracker-head,
  .tracker-check {
    grid-template-columns: 1fr;
  }

  .tracker-checks {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .focus-reason {
    gap: 5px;
  }

  .routine-step {
    grid-template-columns: 1fr;
  }

  .calendar-weekdays,
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-day.empty,
  .calendar-weekdays {
    display: none;
  }
}

html[data-theme="light"] .topbar,
html[data-theme="light"] .sidebar,
html[data-theme="light"] .calendar-shell,
html[data-theme="light"] .owner-card,
html[data-theme="light"] .account-menu,
html[data-theme="light"] .modal-card,
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background-color: var(--panel);
  color: var(--text);
}

html[data-theme="light"] .panel,
html[data-theme="light"] .quick-card,
html[data-theme="light"] .setup-card,
html[data-theme="light"] .feature-panel,
html[data-theme="light"] .daily-tracker-card,
html[data-theme="light"] .tracker-section,
html[data-theme="light"] .supply-category,
html[data-theme="light"] .calendar-card,
html[data-theme="light"] .calendar-day,
html[data-theme="light"] .calendar-add-panel,
html[data-theme="light"] .calendar-day-panel,
html[data-theme="light"] .calendar-add-form,
html[data-theme="light"] .appointment-notice,
html[data-theme="light"] .desktop-pet-switcher button {
  border-color: rgba(190, 150, 105, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 239, 0.54)),
    #fffaf4;
  color: var(--text);
  box-shadow: 0 16px 38px rgba(95, 62, 25, 0.08);
}

html[data-theme="light"] .panel:nth-of-type(3n + 1),
html[data-theme="light"] .quick-card:nth-of-type(3n + 1),
html[data-theme="light"] .tracker-section:nth-of-type(3n + 1),
html[data-theme="light"] .supply-category:nth-of-type(3n + 1) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(230, 245, 255, 0.72)),
    #eff8ff;
}

html[data-theme="light"] .panel:nth-of-type(3n + 2),
html[data-theme="light"] .quick-card:nth-of-type(3n + 2),
html[data-theme="light"] .tracker-section:nth-of-type(3n + 2),
html[data-theme="light"] .supply-category:nth-of-type(3n + 2) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 238, 247, 0.72)),
    #fff3f8;
}

html[data-theme="light"] .panel:nth-of-type(3n),
html[data-theme="light"] .quick-card:nth-of-type(3n),
html[data-theme="light"] .tracker-section:nth-of-type(3n),
html[data-theme="light"] .supply-category:nth-of-type(3n) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 247, 204, 0.72)),
    #fff8dc;
}

html[data-theme="light"] .tracker-section[data-tone="amber"],
html[data-theme="light"] .calendar-day[data-tone="amber"],
html[data-theme="light"] .calendar-event-card[data-tone="amber"] {
  background: linear-gradient(145deg, #fffaf0, #fff1bf);
}

html[data-theme="light"] .tracker-section[data-tone="blue"],
html[data-theme="light"] .calendar-day[data-tone="blue"],
html[data-theme="light"] .calendar-event-card[data-tone="blue"] {
  background: linear-gradient(145deg, #f5fbff, #dff0ff);
}

html[data-theme="light"] .tracker-section[data-tone="teal"],
html[data-theme="light"] .supply-category[data-tone="teal"],
html[data-theme="light"] .calendar-day[data-tone="teal"],
html[data-theme="light"] .calendar-event-card[data-tone="teal"] {
  background: linear-gradient(145deg, #f5fffb, #dcf8f0);
}

html[data-theme="light"] .tracker-section[data-tone="coral"],
html[data-theme="light"] .supply-category[data-tone="coral"],
html[data-theme="light"] .calendar-day[data-tone="coral"],
html[data-theme="light"] .calendar-event-card[data-tone="coral"] {
  background: linear-gradient(145deg, #fff8f7, #ffe5e1);
}

html[data-theme="light"] .tracker-section[data-tone="green"],
html[data-theme="light"] .calendar-day[data-tone="green"],
html[data-theme="light"] .calendar-event-card[data-tone="green"] {
  background: linear-gradient(145deg, #fbfff3, #e7f6d8);
}

html[data-theme="light"] .tracker-section[data-tone="purple"],
html[data-theme="light"] .calendar-day[data-tone="purple"],
html[data-theme="light"] .calendar-event-card[data-tone="purple"] {
  background: linear-gradient(145deg, #fbf8ff, #efe4ff);
}

html[data-theme="light"] .nav-list button.active,
html[data-theme="light"] .nav-list button:hover,
html[data-theme="light"] .nav-list a.active,
html[data-theme="light"] .nav-list a:hover,
html[data-theme="light"] .account-menu button:hover,
html[data-theme="light"] .desktop-pet-switcher button.active,
html[data-theme="light"] .desktop-pet-switcher button:hover {
  background: var(--amber-soft);
  color: var(--amber);
}

.chip.selected,
.chip[aria-pressed="true"] {
  border-color: rgba(242, 184, 95, 0.82);
  background:
    linear-gradient(145deg, rgba(242, 184, 95, 0.26), rgba(242, 100, 25, 0.16)),
    rgba(242, 184, 95, 0.16) !important;
  color: var(--amber) !important;
  box-shadow: inset 0 0 0 1px rgba(242, 184, 95, 0.22), 0 10px 24px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .chip.selected,
html[data-theme="light"] .chip[aria-pressed="true"] {
  border-color: rgba(242, 100, 25, 0.76);
  background:
    linear-gradient(145deg, #fff3e8, #ffd8ba),
    #ffe4cc !important;
  color: #7d3b08 !important;
  box-shadow: inset 0 0 0 1px rgba(242, 100, 25, 0.18), 0 10px 24px rgba(216, 91, 20, 0.16);
}
