/* Presentation only. These two class signatures uniquely identify the
   existing program goals panel and client GoalSelector in the current release.
   No changes to disabled states, goal compatibility or saved values. */
.space-y-2.rounded-2xl.border.border-appBorder.bg-appBg.p-3,
.space-y-4.rounded-2xl.border.border-appBorder.bg-appCard.p-4 {
  border: 2px solid #b4db47;
  box-shadow: 0 0 0 3px rgba(180, 219, 71, 0.10);
  background-image: linear-gradient(rgba(180, 219, 71, 0.045), rgba(180, 219, 71, 0.045));
}
/* Keep long Russian goal labels readable on phone/tablet widths. */
.space-y-2.rounded-2xl.border.border-appBorder.bg-appBg.p-3 > div:first-child {
  flex-wrap: wrap;
  gap: 8px;
}
.space-y-2.rounded-2xl.border.border-appBorder.bg-appBg.p-3 button {
  white-space: normal;
}

/* Existing light preset: neutral white surfaces, dark foreground and
   accessible FruitFit accents. Dark mode and all application logic unchanged. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1a1c1f;
  --muted: #62666d;
  --border: #dedfe3;
  --input-bg: #ffffff;
  --sidebar: #f7f7f8;
  --sidebar-text: #41454c;
  --sidebar-active: #345709;
  --page-grad-a: transparent;
  --page-grad-b: #ffffff;
  --island-shadow: 0 2px 8px rgba(26,28,31,.035);
  --island-hover-shadow: 0 3px 12px rgba(26,28,31,.07);
  --header-shadow: 0 1px 4px rgba(26,28,31,.035);
}
:root[data-theme="light"] .admin-sidebar {
  border-right: 1px solid var(--border);
  box-shadow: none;
}
:root[data-theme="light"] .admin-sidebar .text-white { color: var(--text); }
:root[data-theme="light"] .nav-item:hover {
  background: #eaecee;
  color: #1a1c1f;
}
:root[data-theme="light"] .nav-item.active { background: #e8f2d9; }
:root[data-theme="light"] .admin-main .bg-appBg,
:root[data-theme="light"] .admin-table th,
:root[data-theme="light"] .badge-muted { background-color: #f7f7f8; }
:root[data-theme="light"] .admin-main section.border,
:root[data-theme="light"] .admin-main article.border,
:root[data-theme="light"] .stat-card,
:root[data-theme="light"] .settings-card,
:root[data-theme="light"] .field-input,
:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea { border-color: var(--border); }
:root[data-theme="light"] .field-input,
:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea { color: var(--text); }
/* Bright lime is a fill/accent, not a readable text colour on white. */
:root[data-theme="light"] .text-appGreen { color: #416b0c; }
:root[data-theme="light"] .text-amber-200,
:root[data-theme="light"] .text-amber-300,
:root[data-theme="light"] .text-amber-400 { color: #855208; }
:root[data-theme="light"] .text-purple-300,
:root[data-theme="light"] .text-purple-400 { color: #753caa; }
:root[data-theme="light"] .text-sky-300,
:root[data-theme="light"] .text-sky-400 { color: #08668c; }
:root[data-theme="light"] .text-red-300,
:root[data-theme="light"] .text-red-400 { color: #b02c2c; }
:root[data-theme="light"] .text-emerald-300,
:root[data-theme="light"] .text-emerald-400 { color: #08714e; }
/* Preserve contrasting lime labels on intentionally dark action buttons. */
:root[data-theme="light"] .bg-appDark.text-appGreen { color: #d8ff8f; }
:root[data-theme="light"] .space-y-2.rounded-2xl.border.border-appBorder.bg-appBg.p-3 button:disabled {
  color: #62666d;
  opacity: .7;
}
:root[data-theme="light"] .space-y-2.rounded-2xl.border.border-appBorder.bg-appBg.p-3,
:root[data-theme="light"] .space-y-4.rounded-2xl.border.border-appBorder.bg-appCard.p-4 {
  border-color: #719b32;
  background-color: #fafcf7;
  box-shadow: 0 0 0 3px rgba(113,155,50,.09);
}
