/* Kagn Plants: the Guides tab and a care guide's page. Only what app.css does not already cover.
   The look is the breed list's and the breed page's (cat app); colours are the app's. No drawn icons:
   a guide without a photo shows no picture at all. */

/* the list */
.guides-search { padding: 14px 20px 0; }
.guides-search input { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); font: 17px var(--sans); }
.guides-chips { padding-top: 10px; }
.guides-count { padding: 8px 20px 0; }
.row-nophoto { min-height: 60px; }
.row-nophoto .row-text { padding-left: 2px; }
.row-sci { font-style: italic; }

/* The search box and the rows in Kagn's look (owner 2026-12-01): Kagn's Field Guide (kagn.app/field-guide), its
   search box with the magnifier and its result rows as white cards with a 56 px photo. Only this list: the guide's
   own page and every other screen are unchanged. */
.guides-head { gap: 14px; padding: 18px 20px 2px; background: none; }
.guides-head .view-title { color: var(--forest); font-size: 28px; line-height: 1.1; letter-spacing: -0.015em; }
.guides-head .search { position: relative; align-items: center; }
.guides-head .search-icon { position: absolute; left: 14px; color: #6b6b6b; pointer-events: none; }
.guides-head .search input { -webkit-appearance: none; appearance: none; min-height: 50px; padding: 0 14px 0 42px; border: 1px solid var(--green); border-radius: 14px; background: #fff; color: #1a1a1a; font-size: 16px; }
.guides-head .search input:focus-visible { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(45, 90, 61, .18); }
#guide-rows { gap: 8px; padding-top: 6px; padding-bottom: 8px; }
#guide-rows .row, #guide-rows .row:last-child { min-height: 0; gap: 12px; padding: 10px 12px; border: 1px solid #e4e0d4; border-radius: 14px; background: var(--card); color: var(--forest); }
#guide-rows .thumb { width: 56px; height: 56px; border-radius: 10px; background: #e4e0d4; }
#guide-rows .row-text { gap: 2px; }
#guide-rows .row-name { font-size: 16px; font-weight: 600; }
#guide-rows .row-meta { font-size: 13px; color: #6b6b6b; }
#guide-rows .row-nophoto { min-height: 78px; }

/* a guide */
.guide-names { display: flex; flex-direction: column; gap: 4px; }
.guide-sci { font-style: italic; color: var(--muted); font-size: 17px; }
.guide-also { font-size: 15px; color: var(--muted); }
.guide-summary { font-size: 18px; line-height: 1.5; }
.care { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.care-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.care-label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-text); }
.care-value { font-size: 17px; font-weight: 700; }
.care-text { font-size: 16px; line-height: 1.45; }
.care-check { font-size: 15px; color: var(--forest); font-weight: 600; }
.problems { display: flex; flex-direction: column; gap: 10px; }
.problem { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.problem-sign { font-weight: 700; font-size: 17px; }
.problem-cause { font-size: 15px; color: var(--muted); }
.problem-fix { font-size: 16px; line-height: 1.45; }

/* the pet-safety box: toxic (alert colours), non-toxic (green), a toxic relative or not on the list (gold) */
.safety { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--gold-line); background: var(--gold-pale); line-height: 1.45; }
.safety-toxic { background: var(--alert-pale); border-color: var(--alert-line); }
.safety-toxic .safety-title { color: var(--alert); }
.safety-nontoxic { background: var(--green-pale); border-color: #bfdcc9; }
.safety-title { font-weight: 700; font-size: 17px; }
.safety-line { font-size: 15px; }
.safety-source { font-size: 14px; }

.guide-fact { font-size: 17px; line-height: 1.5; }
.guide-actions { display: flex; flex-direction: column; gap: 10px; }
/* The follow-up questions under the care cards: the app's outline button as a row, its words on the left. */
.guide-qs { display: flex; flex-direction: column; gap: 10px; }
.guide-q { justify-content: space-between; gap: 12px; padding: 10px 18px; text-align: left; }
.guide-ask-note { margin-top: 10px; }

@media (min-width: 400px) {
    .care { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .care-wide { grid-column: 1 / -1; }
}
