:root {
  --ink: #111114;
  --on-ink: #FFFFFF;
  --muted: #55555C;
  --line: #E6E6EB;
  --ground: #F5F5F7;
  --card: #FFFFFF;
  --soft: #F0F0F4;
  --track: #EDEDF0;
  --protein: #D9534A;
  --carbs: #E08A2E;
  --fat: #3F74E0;
  --plant: #3E9B52;
  --good: #1E6B45;
  --good-bg: #E2F2E8;
  --danger: #B3261E;
  --shadow: 0 2px 10px rgba(17, 17, 20, 0.05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F2F2F5; --on-ink: #111114; --muted: #A5A5AF; --line: #2B2B31; --ground: #0F0F12; --card: #1A1A1F;
    --soft: #24242A; --track: #2A2A31; --protein: #F0726A; --carbs: #F2A454; --fat: #7AA2F5; --plant: #6EC480;
    --good: #82D3A6; --good-bg: #173326; --danger: #FF8A80; --shadow: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #F2F2F5; --on-ink: #111114; --muted: #A5A5AF; --line: #2B2B31; --ground: #0F0F12; --card: #1A1A1F;
  --soft: #24242A; --track: #2A2A31; --protein: #F0726A; --carbs: #F2A454; --fat: #7AA2F5; --plant: #6EC480;
  --good: #82D3A6; --good-bg: #173326; --danger: #FF8A80; --shadow: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } /* no automatic text inflation */
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 15px/1.4 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; /* pinch zoom allowed for people with poor sight (phone check 2026-10-15); no double-tap zoom, so quick taps all count */
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.view {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100%;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 18px calc(env(safe-area-inset-bottom, 0px) + 120px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.top h1 { margin: 0; font-size: 22px; font-weight: 800; flex-grow: 1; text-wrap: balance; }
.brand { letter-spacing: -0.02em; }
h2 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.muted { color: var(--muted); font-size: 13px; }
.empty { margin: 0; }

button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--fat); outline-offset: 2px; }
/* The parts the browser draws still carry the palette. */
:root { accent-color: var(--ink); scrollbar-color: var(--track) transparent; }
::selection { background: color-mix(in srgb, var(--fat) 28%, transparent); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
input, textarea { caret-color: var(--fat); }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }

.dark { background: var(--ink); color: var(--on-ink); }
.link { border: none; background: none; color: var(--muted); font-size: 14px; font-weight: 600; min-height: 44px; }
.back { width: 44px; height: 44px; margin-left: -10px; border: none; background: none; display: grid; place-items: center; flex-shrink: 0; }
.wide { min-height: 52px; border-radius: 26px; border: none; font-weight: 700; font-size: 16px; width: 100%; }
.danger { background: none; color: var(--danger); }

#home, #progress, #settings { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 170px); } 

.tabs { display: flex; gap: 18px; }
.tabs button { border: none; background: none; padding: 0 0 4px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; min-height: 36px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.big { padding: 20px 22px; border-radius: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.page { flex: 0 0 100%; scroll-snap-align: start; }

  
   

  
/* Over target: the calorie, protein, carbs and fat meters and numbers go the red the calorie number goes (Kaz, 2026-10-13) */
svg.over .arc { stroke: var(--protein); } 

.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.item { background: var(--card); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.item-main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.item-name { font-weight: 700; overflow-wrap: anywhere; }
.item-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }

button.item { width: 100%; border: none; text-align: left; font: inherit; }

.tag { padding: 1px 7px; border-radius: 7px; background: var(--good-bg); color: var(--good); font-size: 11px; font-weight: 700; }

.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; border: none; margin: 0; padding: 0; min-width: 0; }
.pw { position: relative; display: block; }
.field .pw input { padding-right: 52px; }
.pw-eye { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; border: none; border-radius: 10px; background: none; color: var(--muted); display: grid; place-items: center; }
.pw-eye .off, .pw-eye[aria-pressed="true"] .on { display: none; }
.pw-eye[aria-pressed="true"] .off { display: block; }
.field legend { padding: 0; margin-bottom: 6px; }
.field input:not([type="radio"]), .field select, .row input { height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); padding: 0 14px; font-size: 16px; font-weight: 600; width: 100%; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }

.narrow { max-width: 84px; }
.unit { position: relative; flex: 1; min-width: 0; }
.unit input { padding-right: 38px; }
.unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }

.seg { display: flex; gap: 6px; background: var(--soft); border-radius: 14px; padding: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; }
.seg label { flex: 1; text-align: center; padding: 12px 8px; border-radius: 11px; font-weight: 700; cursor: pointer; }
.seg.small label { padding: 8px; font-size: 13px; }
.seg input:checked + label { background: var(--card); box-shadow: var(--shadow); }
.seg input:focus-visible + label { outline: 3px solid var(--fat); }

.plan { padding: 16px; display: flex; flex-direction: column; gap: 6px; }

.pad { padding: 18px; }

.meter { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-top: 4px; }
.meter i { display: block; height: 100%; background: var(--ink); }

/* Cal AI section rhythm: header row outside the card, one segmented bar, then the card */
.roomy { gap: 12px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; }
.sec-head:first-child { margin-top: 0; }
.sec-head h2 { margin: 0; font-size: 18px; font-weight: 800; }
.sec-head .muted b { color: var(--ink); font-size: 15px; }

   

.btn-row { display: flex; gap: 8px; }
.btn-row > * { flex: 1 1 0; min-width: 0; min-height: 52px; border-radius: 16px; border: none; font: inherit; font-size: 14px; font-weight: 700; padding: 6px; text-align: center; }

 

.group-title { margin: 10px 4px -4px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.field textarea { border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 12px 14px; font: inherit; font-size: 16px; resize: vertical; }

.acct-btn { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: none; border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); font: inherit; font-size: 13px; font-weight: 700; }
.acct-btn.in { padding: 0; width: 44px; justify-content: center; }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.pill-dark { min-height: 44px; padding: 0 22px; border: none; border-radius: 22px; background: var(--ink); color: var(--on-ink); font-weight: 700; }

.report .top { flex-wrap: wrap; }
.report table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.report th, .report td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: right; }
.report th:first-child, .report td:first-child { text-align: left; }
@media print {
  body { background: #fff; color: #000; }
  .noprint, #nav, #open-search { display: none !important; }
  .report { padding: 0; max-width: none; }
}
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 160px); z-index: 3; width: min(440px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 8px 4px 16px; border-radius: 16px; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow); }
.toast .link { color: var(--on-ink); text-decoration: underline; }

.rowval { min-width: 0; overflow-wrap: anywhere; }
.small { font-size: 12px; }
 

/* On/off switches for settings */
.setrow.switchrow { flex-wrap: nowrap; cursor: pointer; }
.setrow.switchrow > span { flex: 1 1 auto; min-width: 0; }
.switch { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 50px; height: 30px; margin: 0; border-radius: 15px; background: var(--track); position: relative; cursor: pointer; transition: background-color 0.2s ease-out; }
.switch::before { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 12px; background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.switch:checked { background: var(--ink); }
.switch:checked::before { transform: translateX(20px); }

@media (prefers-reduced-motion: no-preference) {

  .toast:not([hidden]) { animation: toast-in 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
}
@keyframes streak-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.pick { height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 0 10px; font: inherit; font-weight: 600; }
.steps { margin: 0; padding-left: 20px; }

button.setrow, a.setrow { flex-wrap: nowrap; }
button.setrow > span:first-child, a.setrow > span:first-child { flex: 1 1 auto; min-width: 0; }
#acct-who { overflow-wrap: anywhere; min-width: 0; text-align: right; }
@media (max-width: 300px) { .report table { font-size: 11px; } .report th, .report td { padding: 5px 2px; } }

.warn { margin: 8px 0 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--carbs) 16%, var(--card)); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.coach-note { margin: 4px 0; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: 14px; line-height: 1.5; white-space: pre-line; }
/* On a computer the app sits in the middle as a phone-sized card, instead of a thin column stuck to the top. */
@media (min-width: 760px) and (pointer: fine) {
  body { background: color-mix(in srgb, var(--ground) 88%, var(--ink)); }
  .view { background: var(--ground); margin: 32px auto; min-height: calc(100vh - 64px); border-radius: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); }
  .bar { bottom: 32px; border-radius: 0 0 28px 28px; }
  .fab { bottom: 120px; }
}

 
@media (max-width: 300px) { .sec-head .link { font-size: 12px; } .setrow.switchrow > span { min-width: 45%; }  }
.price-note { margin: 0; font-weight: 700; }
.trial-note { display: block; width: 100%; margin: 0 0 12px; border: none; text-align: left; font-weight: 700; color: var(--ink); }
.filebtn { position: relative; }
.filebtn input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.scan-btn { background: var(--card); color: var(--ink); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; gap: 10px; }
.camera { position: relative; border-radius: 22px; overflow: hidden; background: #1C1C20; aspect-ratio: 3 / 4; max-width: 100%; }
.camera video { width: 100%; height: 100%; object-fit: cover; display: block; }

.group { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.setrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 8px 18px; font-size: 16px; width: 100%; border: none; background: none; color: var(--ink); font: inherit; font-weight: 600; text-align: left; }
.group > .setrow + .setrow { border-top: 1px solid var(--line); }
button.setrow { cursor: pointer; }
.chev { color: var(--muted); font-size: 22px; line-height: 1; }
.rowval { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
/* Settings → AI this year: the share of the yearly AI budget left (kit/shared/ai-budget.php); no money shown */
.ai-bar { display: block; flex: none; width: 64px; height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.ai-bar > i { display: block; height: 100%; background: var(--plant); }
.ai-bar.low > i { background: var(--carbs); }
.setrow { flex-wrap: wrap; }
.setrow .seg { flex-shrink: 0; margin-left: auto; }
.setrow .seg label { padding: 7px 10px; white-space: nowrap; flex: none; }
.note { margin: 0 4px; }
a.setrow { text-decoration: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ink); }

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto;
  padding: 6px 12px calc(env(safe-area-inset-bottom, 0px) + 10px);
  background: var(--card); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.navbtn { border: none; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px 0; min-height: 52px; }
.navbtn[aria-current="page"] { color: var(--ink); font-weight: 800; }
.fab {
  position: fixed; right: max(20px, calc((100% - 480px) / 2 + 20px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 88px); z-index: 2;
  width: 60px; height: 60px; border-radius: 30px; border: none; background: var(--ink); color: var(--on-ink);
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(17, 17, 20, 0.28);
}

/* Home: tappable cards (calories card, macro cards) and the macro sheet */
.tap { cursor: pointer; }
.tap:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Home header: the logo in colour (Kaz, 2026-10-11): vine and leaves plant green, tape measure carbs orange, letters ink.
   Split from wordmark.png by tools/logo_colours.py; one file per theme. */
.wordmark { display: block; height: 44px; aspect-ratio: 628 / 201; background: url(wordmark-light.png) no-repeat center / contain; }
:root[data-theme="dark"] .wordmark { background-image: url(wordmark-dark.png); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wordmark { background-image: url(wordmark-dark.png); } }

/* Kaz 2026-10-11: the final Add / Save button is always on screen, no scrolling or closing the keyboard to reach it. */
.sticky-save { position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); z-index: 2; box-shadow: 0 6px 18px rgba(17, 17, 20, 0.22); }

/* The move to joscaloriecounter.com (Kaz, 2026-10-12): above everything, in the middle of the screen */
.move-back { z-index: 50; align-items: center; }

/* ===== Jo's Plant Doctor screens (everything above is jocal's style.css) ===== */
.stack.tight { gap: 8px; }
.check-card { width: 100%; border: none; color: var(--ink); text-align: left; font: inherit; min-height: 112px; }
.check-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.cam-dot { flex-shrink: 0; width: 64px; height: 64px; border-radius: 32px; display: grid; place-items: center; background: var(--plant); color: #0B1409; }
.thumb { width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; object-fit: cover; background: var(--soft); display: block; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shot { margin: 0; position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--card); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.empty { display: grid; place-items: center; text-align: center; padding: 6px; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); background: none; }
.shot-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 16px; border: none; background: rgba(0, 0, 0, .6); color: #fff; font-size: 20px; line-height: 1; }
.btn-row > .filebtn { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.filebtn.dark { background: var(--ink); color: var(--on-ink); }
.filebtn.off { opacity: .4; pointer-events: none; }
.tips summary { cursor: pointer; min-height: 32px; }
.tips ul { margin-top: 8px; display: grid; gap: 6px; font-size: 14px; }
.wide:disabled { opacity: .45; }
.checking { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; }
.checking-img { width: 180px; height: 180px; object-fit: cover; border-radius: 28px; box-shadow: 0 0 0 4px var(--plant); }
.check-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 700; color: var(--muted); }
.check-steps .now { color: var(--ink); }
.check-steps .done { color: var(--plant); }
.check-steps .done::before { content: '✓ '; }
@media (prefers-reduced-motion: no-preference) { .check-steps .now { animation: pulse 1.2s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .5; } }
.result-photo { width: 100%; max-height: 300px; object-fit: cover; border-radius: 22px; display: block; }
.big-n { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.name-card i { margin-top: -6px; }
.about { margin: 0; font-size: 14px; line-height: 1.5; }
.credit { font-size: 11px; color: var(--muted); }
.toxic { border: 2px solid var(--carbs); }
.health.ok .big-n { color: var(--plant); }
.health.bad .big-n { color: color-mix(in srgb, var(--carbs) 62%, #000); } /* orange on white was 2.7:1, under the 3:1 large text needs (Kaz, 2026-10-21) */
:root[data-theme="dark"] .health.bad .big-n { color: var(--carbs); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .health.bad .big-n { color: var(--carbs); } }
.question .btn-row button { min-height: 48px; }
.question .btn-row .scan-btn { background: var(--soft); box-shadow: none; } /* Yes and No were white on a white card, hardly visible (Kaz, 2026-10-21) */
.issue summary, .more summary { cursor: pointer; display: flex; flex-direction: column; gap: 2px; list-style: none; min-height: 32px; }
.issue summary::-webkit-details-marker, .more summary::-webkit-details-marker { display: none; }
.issue-name { font-size: 17px; font-weight: 800; }
.issue p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.more summary { font-weight: 700; }
.tip { margin-top: 10px; display: grid; gap: 4px; font-size: 14px; }
.tip p { margin: 0; line-height: 1.5; }
.tip ul { display: grid; gap: 4px; }
.match { margin-top: 12px; display: grid; gap: 4px; }
.match-head { display: flex; justify-content: space-between; gap: 8px; }
.sims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.sims figure { margin: 0; display: grid; gap: 2px; }
.sims img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--soft); }
.test-flag { margin: 0; }
.num-in { width: 3.4em; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-align: center; font: inherit; font-weight: 700; }
.chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chat li { max-width: 86%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.chat .me { align-self: flex-end; background: var(--ink); color: var(--on-ink); }
.chat .bot { align-self: flex-start; background: var(--card); }
.ask-form { background: var(--ground); padding-top: 6px; box-shadow: none; }
.acct-logo { display: flex; justify-content: center; padding: 8px 0 4px; }
.wordmark.big-mark { height: 72px; }
.faq details { display: block; min-height: 0; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; }
.big-n + .muted { margin-top: -4px; }
.about.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }

/* Phone check 2026-10-15: every tap target at least 44px (same sizes as the calorie counter's block). */
.shot-x { width: 44px; height: 44px; border-radius: 22px; top: 0; right: 0; }
.credit a, a.credit { display: inline-block; padding: 14px 0; } /* a.credit: Read more and the Wikipedia credit are the links themselves, so were 13 px tall (Kaz, 2026-10-21) */
.seg.small label { min-height: 44px; display: flex; align-items: center; justify-content: center; }
.tips summary, .issue summary, .more summary, .faq summary, details > summary { min-height: 44px; }
.issue summary, .more summary { justify-content: center; }
.consent { min-height: 44px; align-items: center; }
.consent input { width: 24px; height: 24px; margin: 0; }
/* Short screens (a phone on its side, or the keyboard up): the save button stays in the page instead of floating over the box. */
@media (max-height: 520px) { .sticky-save { position: static; box-shadow: none; } }

/* First name card in Account (2026-10-18): no gap while there is no "Saved." */
#name-status:empty { display: none; }

/* Settings rows (Kaz, 2026-10-21): the label keeps its width and the value wraps beside it, so "Subscription" no longer sits under its own value and an email does not break mid-word. */
button.setrow > span:first-child, a.setrow > span:first-child { flex: 0 0 auto; }
.setrow .rowval { flex: 1 1 0; justify-content: flex-end; text-align: right; }
.setrow .rowval > span:not(.chev):not(.ai-bar) { min-width: 0; overflow-wrap: anywhere; }
.faq summary { display: list-item; align-content: center; }
/* A long web address or word in a help answer, a plant name or a note wraps instead of running off the card (Kaz, 2026-10-21) */
#help-answer span, .top h1, .about, .tip p, .tip li, .issue p, .match-head b, .name-card b { overflow-wrap: anywhere; }
