/* 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; }

/* 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; }

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