/* Condition apps (AminoPath, KidneyPlate, IronPath). House tokens only (see healthspan.css). */
.ca .ca-boundary { color: var(--text-2); font-size: 13px; text-align: center; max-width: 680px; margin: 0 auto 6px; line-height: 1.5; }
.ca-conds { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.ca-cond[aria-selected="true"] { border-color: var(--accent); color: var(--accent); }
.ca-about { line-height: 1.55; margin: 0 0 6px; }
.ca-gene { border: 1px solid var(--hairline); border-radius: 10px; padding: 12px; margin-top: 12px; }
.ca-gene h3 { margin: 0 0 4px; font-size: 16px; }
.ca-step h4 { margin: 10px 0 4px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.ca-step ul { margin: 0; padding-left: 18px; }
.ca-step li { margin: 2px 0; line-height: 1.45; font-size: 14px; }
.ca-src { color: var(--text-2); font-size: 11px; font-family: var(--font-mono, 'IBM Plex Mono', monospace); }
.ca-lead { border-left: 3px solid var(--accent); padding: 8px 12px; margin-top: 12px; background: var(--surface); border-radius: 6px; }
.ca-lead p { margin: 4px 0 0; }
.ca-search { display: flex; flex-wrap: wrap; gap: 8px; }
.ca-search input, .ca-search select, .ca-dayitem input, #caLimRow input {
  background: var(--surface); color: var(--text); border: 1px solid var(--hairline-strong); border-radius: 8px;
  padding: 8px 10px; font: inherit; font-size: 15px; }
.ca-search input { flex: 1 1 220px; }
.ca-tablewrap { overflow-x: auto; margin-top: 8px; }
.ca-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ca-table th, .ca-table td { padding: 6px 8px; border-bottom: 1px solid var(--hairline); text-align: right; white-space: nowrap; }
.ca-table th:first-child, .ca-table td:first-child { text-align: left; white-space: normal; }
.ca-table th { font-weight: 600; color: var(--text-2); font-size: 12px; }
.ca-table a { color: var(--text); text-decoration: none; }
.ca-table a:hover { color: var(--accent); text-decoration: underline; }
.ca-hot { color: var(--accent) !important; font-weight: 600; }
.ca-unit { color: var(--text-2); font-weight: 400; font-size: 11px; }
.ca-add { padding: 2px 10px; }
.ca-more { margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ca-day { list-style: none; padding: 0; margin: 6px 0; }
.ca-dayitem { display: flex; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--hairline); }
.ca-dayname { flex: 1; font-size: 14px; }
.ca-dayitem input { width: 80px; }
#caLimRow input { width: 80px; padding: 4px 6px; font-size: 13px; }
.ca-totals { margin-top: 10px; }
.ca-amount-over { color: var(--neg) !important; font-weight: 700; }
@media print {
  .ca-search, .ca-add, .ca-rm, .ca-more, #caFoodH, .ca-tablewrap, .hs-hero .hs-credit { display: none !important; }
}
.ca-list { padding-left: 18px; line-height: 1.55; } .ca-list li { margin: 4px 0; }
.ca-sharebox { margin-top: 10px; border-top: 1px solid var(--hairline); padding-top: 10px; }
.ca-sharebox input { display: block; width: 100%; margin: 4px 0 8px; background: var(--surface); color: var(--text);
  border: 1px solid var(--hairline-strong); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; }
.ca-qr canvas { margin-top: 8px; width: 180px; height: 180px; image-rendering: pixelated; }
.ca-shared { border-color: var(--accent); }
.ca-embed { padding-top: 12px; }
.ca-foodh1 { font-size: clamp(24px, 5vw, 36px) !important; }
.ca-h3 { font-size: 14px; margin: 12px 0 4px; }
.ca-grams { width: 100px; background: var(--surface); color: var(--text); border: 1px solid var(--hairline-strong);
  border-radius: 8px; padding: 6px 8px; font: inherit; margin: 10px 0 4px; }
.ca-letters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0 4px; }
.ca-letters a { color: var(--accent); padding: 2px 6px; text-decoration: none; }
.ca-az { columns: 2 260px; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.ca-az a { color: var(--text); text-decoration: none; }
.ca-az a:hover { color: var(--accent); text-decoration: underline; }
.ca-code { background: var(--surface); border: 1px solid var(--hairline); border-radius: 8px; padding: 10px; overflow-x: auto; font-size: 12px; white-space: pre-wrap; word-break: break-all; }
.ca-letter-on { border: 1px solid var(--accent); border-radius: 6px; }
