/* ============================================================
   PlantMapper — Common Problems (Chickens silo)
   Pairs with plantmapper.css + ecosystem.css + garden-images.css.
   Same warm hen-and-straw theme as the rest of the Chickens silo
   (body.theme-chicken), and the same component set as
   chicken-health.css / winter-care.css / predator-protection.css /
   bedding.css / cleaning.css so the silo reads as one set: severity
   pills, warning and advice panels, inspection cards, wide
   comparison tables, numbered sequences, hardware grids, schedule
   tabs, printable checklists and expandable FAQ notes.
   Adds three page-only components at the end of the file: the
   traffic-light urgency legend, the interactive symptom checker and
   the group-scoped checklists.
   Photographs only — no illustration, motif or overlay is ever
   painted on top of an image on this page.
   Does not modify any shared stylesheet.
   ============================================================ */



/* ---- warm hen-and-straw theme (matches chicken-coops.css) ---- */
body.theme-chicken {
  --rose:      #B06A3E;   /* warm hen terracotta accent            */
  --rose-deep: #8A4F2E;   /* deep russet — text, icons, rules      */
  --rose-soft: #F6E7DA;   /* pale straw wash                       */
  --bg-cream:  #F6EFE6;   /* warm straw cream                      */
  background:
    radial-gradient(1200px 660px at 84% -12%, #f3e6d6 0%, transparent 58%),
    radial-gradient(960px 560px at -8% 2%, #eef0df 0%, transparent 56%),
    var(--bg);
}

/* ============================================================
   WIDE DATA TABLES (symptom triage + parasite comparison)
   Scroll horizontally on small screens rather than squashing.
   ============================================================ */
.table-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.table-scroll::-webkit-scrollbar { height: 9px; }
.table-scroll::-webkit-scrollbar-thumb { background: #d9cdbd; border-radius: 999px; }
.table-scroll::-webkit-scrollbar-track { background: transparent; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
}
.data-table--wide { min-width: 880px; }
.data-table--mid  { min-width: 760px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table thead th {
  position: sticky; top: 0;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  /* headings wrap onto two lines so every column fits a desktop
     container without horizontal scrolling; the min-width above is
     the fallback that turns on scrolling for tablets and phones */
  white-space: normal;
  line-height: 1.25;
}
.data-table thead th:first-child { white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: rgba(246, 239, 230, .55); }
.data-table tbody tr:hover { background: var(--rose-soft); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 600; color: var(--ink); }
.data-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .note { color: var(--ink-soft); font-size: .82rem; }
.table-hint {
  margin: 8px 0 0;
  font-size: .78rem;
  color: var(--muted);
}
.table-hint svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; }

/* ---- urgency pills used inside the triage table and elsewhere ---- */
.sev {
  display: inline-block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.sev-watch { background: #e9efdc; color: #4d6a37; }   /* monitor at home   */
.sev-soon  { background: #fbeecd; color: #8a6a2e; }   /* vet within a day  */
.sev-vet   { background: #f0ddc7; color: #8a4f2e; }   /* vet appointment   */
.sev-now   { background: #f6ded4; color: #a8452c; }   /* urgent / emergency*/

/* ============================================================
   HEAD-TO-TOE INSPECTION CARDS
   ============================================================ */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}
.check-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 21px;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .25s ease;
}
.check-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.check-head { display: flex; align-items: center; gap: 10px; margin-bottom: 3px; }
.check-head span {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 11px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.check-head span svg { width: 19px; height: 19px; }
.check-card h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; }
.check-what {
  margin: 0 0 12px 44px;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  text-transform: uppercase; color: var(--rose-deep);
}
.check-card > p { margin: 0 0 11px; font-size: .88rem; color: var(--ink-soft); }

/* Normal inline text flow, NOT flex — a flex row would split the bold
   lead-in and the sentence that follows it into separate columns. */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 7px 0 7px 15px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.check-list li b { color: var(--ink); font-weight: 600; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
}
.check-list li.bad::before { background: #a8452c; }

/* ============================================================
   NORMAL vs ABNORMAL two-column comparison
   ============================================================ */
.norm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.norm-col {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 20px 22px;
  box-shadow: var(--shadow-1);
}
.norm-col.is-good { border-left: 4px solid #6d8a4f; }
.norm-col.is-bad  { border-left: 4px solid #a8452c; }
.norm-col h3 {
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem;
}
.norm-col.is-good h3 { color: #3f5c31; }
.norm-col.is-bad  h3 { color: #7d3320; }
.norm-col h3 .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .74rem; font-weight: 800;
}
.norm-col.is-good h3 .tick { background: #e2ecd6; color: #3f5c31; }
.norm-col.is-bad  h3 .tick { background: #f6ded4; color: #a8452c; }
.norm-col > p { margin: 0 0 12px; font-size: .87rem; color: var(--ink-soft); }
.norm-col ul { margin: 0; padding-left: 18px; font-size: .87rem; color: var(--ink-soft); }
.norm-col li { margin-bottom: 7px; }
.norm-col li b { color: var(--ink); font-weight: 600; }

/* ============================================================
   EMERGENCY / VETERINARY ALERT PANELS
   .danger-panel  = red, "act now"
   .vet-panel     = amber, "this needs a vet"
   ============================================================ */
.danger-panel {
  border: 1px solid #e4c3b2;
  border-left: 4px solid #a8452c;
  background: linear-gradient(180deg, #fdf1ec 0%, var(--bg-elev) 62%);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-1);
}
.danger-head { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; }
.danger-head span {
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: #f6ded4; color: #a8452c;
  display: inline-flex; align-items: center; justify-content: center;
}
.danger-head span svg { width: 20px; height: 20px; }
.danger-head h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.16rem; color: #7d3320; }
.danger-panel > p { margin: 0 0 18px; font-size: .9rem; color: var(--ink-soft); }
.danger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 12px;
}
.danger-card {
  background: var(--bg-elev);
  border: 1px solid #eddbd1;
  border-radius: var(--radius-sm, 12px);
  padding: 14px 16px;
}
.danger-card h4 {
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-serif); font-weight: 600; font-size: .98rem; color: #7d3320;
}
.danger-card h4 .x {
  flex: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #f6ded4; color: #a8452c;
  display: grid; place-items: center;
  font-size: .68rem; font-weight: 800;
}
.danger-card p { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.danger-foot {
  margin: 18px 0 0; padding-top: 14px;
  border-top: 1px solid #eddbd1;
  font-size: .86rem; color: var(--ink-soft);
}
.danger-foot b { color: #7d3320; }

.vet-panel {
  border: 1px solid #e6d5ab;
  border-left: 4px solid #b08a3e;
  background: linear-gradient(180deg, #fbf4e4 0%, var(--bg-elev) 62%);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-1);
}
.vet-head { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; }
.vet-head span {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: #f7ecd0; color: #866223;
  display: inline-flex; align-items: center; justify-content: center;
}
.vet-head span svg { width: 19px; height: 19px; }
.vet-head h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; color: #6f5219; }
.vet-panel p { margin: 0 0 9px; font-size: .89rem; color: var(--ink-soft); }
.vet-panel p:last-child { margin-bottom: 0; }
.vet-panel b, .vet-panel strong { color: #6f5219; font-weight: 700; }
.vet-panel ul { margin: 0 0 4px; padding-left: 18px; font-size: .88rem; color: var(--ink-soft); }
.vet-panel li { margin-bottom: 6px; }

/* ============================================================
   AILMENT CARDS (respiratory, parasites, crop, disease…)
   ============================================================ */
.ail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.ail-card {
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 21px;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.ail-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--rose); }
.ail-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; margin-bottom: 6px;
}
.ail-card h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; }
.ail-card > p { margin: 0 0 10px; font-size: .87rem; color: var(--ink-soft); }
.ail-row {
  margin: 0; padding: 9px 0 0;
  border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-soft); line-height: 1.5;
}
.ail-row + .ail-row { margin-top: 8px; }
.ail-row b {
  display: block;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--rose-deep); margin-bottom: 2px;
}
.ail-card .ail-foot { margin-top: auto; }

/* ============================================================
   NUMBERED SEQUENCE (quarantine / isolation procedure)
   ============================================================ */
.step-list { list-style: none; counter-reset: pmstep; margin: 0; padding: 0; display: grid; gap: 12px; }
.step-list li {
  counter-increment: pmstep;
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 16px 60px;
  box-shadow: var(--shadow-1);
  font-size: .88rem; color: var(--ink-soft); line-height: 1.55;
}
.step-list li::before {
  content: counter(pmstep);
  position: absolute; left: 17px; top: 15px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--rose-soft); color: var(--rose-deep);
  display: grid; place-items: center;
  font-size: .84rem; font-weight: 800;
}
.step-list li h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}

/* ============================================================
   FIRST-AID KIT GRID
   ============================================================ */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 14px;
}
.kit-item {
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px 18px;
  box-shadow: var(--shadow-1);
}
.kit-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.kit-head span {
  width: 30px; height: 30px; flex: none;
  border-radius: 9px;
  background: var(--rose-soft); color: var(--rose-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.kit-head span svg { width: 17px; height: 17px; }
.kit-item h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1rem; }
.kit-item p { margin: 0; font-size: .85rem; color: var(--ink-soft); }

/* ============================================================
   PRINTABLE-STYLE CHECKLIST
   ============================================================ */
.tick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}
.tick-col {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px 21px;
  box-shadow: var(--shadow-1);
}
.tick-col h3 {
  margin: 0 0 3px;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.06rem;
}
.tick-col .tick-when {
  margin: 0 0 11px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--rose-deep);
}
.tick-col ul { list-style: none; margin: 0; padding: 0; }
.tick-col li {
  position: relative;
  padding: 7px 0 7px 26px;
  border-top: 1px solid var(--line);
  font-size: .86rem; line-height: 1.5; color: var(--ink-soft);
}
.tick-col li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 15px; height: 15px;
  border: 1.6px solid var(--rose);
  border-radius: 4px;
  background: var(--bg);
}
.tick-col li b { color: var(--ink); font-weight: 600; }

/* ============================================================
   SHARED COMPONENTS reused across the Chickens silo — kept
   identical to feeding-chickens.css so the silo reads as one set.
   ============================================================ */
.scheme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.scheme {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 21px;
  box-shadow: var(--shadow-1);
}
.scheme h3 { margin: 0 0 3px; font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; }
.scheme .scheme-meta {
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  text-transform: uppercase; color: var(--rose-deep); margin: 0 0 11px;
}
.scheme ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: .9rem; }
.scheme li { margin-bottom: 6px; }
.scheme li b { color: var(--ink); font-weight: 600; }
.scheme .scheme-note {
  margin: 12px 0 0; padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--ink-soft);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.link-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 17px;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--rose); }
.link-card .lc-ic { width: 26px; height: 26px; color: var(--rose-deep); margin-bottom: 4px; }
.link-card .lc-ic svg { display: block; width: 100%; height: 100%; }
.link-card .lc-name { font-family: var(--font-serif); font-weight: 600; font-size: 1rem; color: var(--ink); }
.link-card .lc-desc { font-size: .84rem; color: var(--ink-soft); }
.link-card .lc-go { font-size: .82rem; font-weight: 600; color: var(--rose-deep); margin-top: 2px; }
.link-card .lc-soon {
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--earth); background: var(--bg-cream);
  border-radius: 999px; padding: 2px 8px; align-self: flex-start; margin-top: 2px;
}

.callout-tip {
  background: var(--rose-soft);
  border-left: 3px solid var(--rose);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 15px 20px;
}
.callout-tip p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.callout-tip p strong, .callout-tip p b { color: var(--rose-deep); font-weight: 600; }

.cost-table {
  width: 100%; border-collapse: collapse; margin: 8px 0 4px;
  font-size: .92rem; background: var(--bg-elev);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.cost-table th, .cost-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.cost-table thead th {
  background: var(--rose-soft); color: var(--rose-deep); font-weight: 700;
  font-size: .8rem; letter-spacing: .03em; text-transform: uppercase;
}
.cost-table td:last-child, .cost-table th:last-child { text-align: right; }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table tfoot td { font-weight: 700; color: var(--ink); background: var(--bg-cream); }

/* ---- narrow-phone hero guard ----
   .eco-hero--photo .eco-hero-inner uses a `1fr` track, whose automatic
   minimum is min-content. The hero disclaimer is a flex row of inline
   links, so on a page with several of them its min-content width can
   exceed a small phone viewport and stretch the whole hero panel.
   minmax(0,1fr) caps the track, and letting the disclaimer wrap keeps
   the text inside the frosted panel. Scoped to this page only. */
.eco-hero--photo .eco-hero-inner { grid-template-columns: minmax(0, 1fr); }
.eco-hero--photo .eco-hero-inner > div { max-width: min(528px, 100%); }
.eco-hero--photo .disclaimer { flex-wrap: wrap; }

/* ---- FAQ / disclosure notes use <h3> here for a correct H1–H4
        outline, so mirror the shared .compliance .note h4 styling
        exactly — the notes look identical to every other page. ---- */
.compliance .note h3 {
  margin: 0 0 5px;
  font-size: .84rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-family: inherit;
  font-weight: 700;
}

/* ---- multi-paragraph section intros ----
   The shared .section-head p rule is margin:0, which is right for the
   single-paragraph intros used elsewhere. Several intros on this page
   run to two or three paragraphs, so give them a gap. Scoped to this
   page only; the shared rule is untouched. ---- */
.section-head p + p { margin-top: .72em; }

/* ---- HARD GUARD — belt and braces.
   Nothing may ever paint a decorative pseudo-element on top of a
   photograph on this page. Photographs only. ---- */
.gt-gallery figure::before, .gt-gallery figure::after,
.gt-feature::before, .gt-finished::before { content: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Six- and nine-card sections sit as even rows on desktop rather
   than an awkward 4 + 2 with a lone card stranded on a second row. */
@media (min-width: 980px) {
  .check-grid, .ail-grid, .kit-grid, .tick-grid { grid-template-columns: repeat(3, 1fr); }
  /* every .danger-grid on this page holds six or nine cards — 3 across
     keeps them as even rows rather than 4 + 2 or 4 + 4 + 1 */
  .danger-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 861px) and (max-width: 979px) {
  .check-grid, .ail-grid, .kit-grid, .tick-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .data-table { font-size: .82rem; }
  .data-table th, .data-table td { padding: 9px 11px; }
  .danger-panel { padding: 20px 18px; }
  .vet-panel { padding: 18px 17px; }
  .check-what { margin-left: 0; }
  .step-list li { padding: 15px 16px 15px 54px; }
}
@media (max-width: 480px) {
  .check-grid, .ail-grid, .kit-grid, .tick-grid, .norm-grid { grid-template-columns: 1fr; }
  .danger-grid { grid-template-columns: 1fr; }
  .ail-top { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .check-card, .ail-card, .link-card { transition: none; }
  .check-card:hover, .ail-card:hover, .link-card:hover { transform: none; }
}

/* ============================================================
   CLEANING PAGE — interactive components
   Schedule tabs, tick-box checklist, timed deep-clean steps and
   expandable FAQ notes. All built from the same tokens as the rest
   of the silo so they read as part of the existing component set.
   Nothing here is used by any other page.
   ============================================================ */

/* ---- small button variant (used by the checklist and FAQ tools) ---- */
.btn-sm {
  padding: 7px 14px;
  font-size: .82rem;
  border-radius: 999px;
}

/* ---- schedule tabs ---------------------------------------- */
.sched {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  overflow: hidden;
}
.sched-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--rose-soft);
  border-bottom: 1px solid var(--line);
}
.sched-tab {
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, .06);
  background: transparent;
  padding: 13px 10px 11px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--rose-deep);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
  transition: background .16s ease, color .16s ease;
}
.sched-tab:last-child { border-right: 0; }
.sched-tab span {
  font-family: var(--font-sans, inherit);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.sched-tab:hover { background: rgba(255, 255, 255, .55); }
.sched-tab.is-on {
  background: var(--bg-elev);
  box-shadow: inset 0 -3px 0 var(--rose);
}
.sched-tab:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: -3px;
}
.sched-panel { padding: 18px 20px 20px; }
.sched-panel[hidden] { display: none; }
.sched-panel ul { list-style: none; margin: 0; padding: 0; }
.sched-panel li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.sched-panel li:last-child { margin-bottom: 0; }
.sched-panel li b { color: var(--ink); font-weight: 600; }
.sched-panel li::before {
  content: "";
  position: absolute;
  left: 3px; top: .48em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rose);
}

/* ---- tick-box checklist ----------------------------------- */
.ck-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--rose-soft);
}
.ck-count { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.ck-count b { color: var(--rose-deep); font-weight: 700; }
.ck-meter {
  flex: 1 1 180px;
  height: 8px;
  min-width: 140px;
  border-radius: 999px;
  background: rgba(138, 79, 46, .16);
  overflow: hidden;
}
.ck-meter span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d8a4f, #b06a3e);
  transition: width .25s ease;
}
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.ck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.ck-col {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.ck-col h3 {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.06rem;
}
.ck-list { list-style: none; margin: 10px 0 0; padding: 0; }
.ck-list li { margin-bottom: 8px; }
.ck-list li:last-child { margin-bottom: 0; }

.ck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.ck input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}
.ck-box {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 1px;
  border: 1.6px solid #c9b7a6;
  border-radius: 5px;
  background: #fff;
  position: relative;
  transition: background .14s ease, border-color .14s ease;
}
.ck-box::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(.4);
  opacity: 0;
  transition: opacity .14s ease, transform .14s ease;
}
.ck input:checked + .ck-box {
  background: #6d8a4f;
  border-color: #6d8a4f;
}
.ck input:checked + .ck-box::after { opacity: 1; transform: rotate(45deg) scale(1); }
.ck input:focus-visible + .ck-box {
  outline: 2px solid var(--rose-deep);
  outline-offset: 2px;
}
.ck input:checked ~ .ck-txt {
  text-decoration: line-through;
  color: #9aa294;
}
.ck-txt { transition: color .14s ease; }

/* ---- timed deep-clean steps -------------------------------- */
.step-list--timed li { padding-top: 34px; }
.step-list--timed .step-time {
  position: absolute;
  top: 12px;
  left: 58px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: var(--rose-soft);
  border-radius: 999px;
  padding: 3px 10px;
}
.step-list--timed li h3 { margin-top: 0; }

/* ---- expandable FAQ notes ---------------------------------- */
.faq-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
/* wider minimum so an opened answer keeps a comfortable line length,
   while the collapsed grid still reads as the silo's usual card wall */
.faq-list { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); align-items: start; }
.faq-list .note { padding-top: 0; padding-bottom: 0; }
.faq-list .note > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
}
.faq-list .note > summary::-webkit-details-marker { display: none; }
.faq-list .note > summary h3 { margin: 0; }
.faq-list .note > summary:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
.faq-list .note-chev {
  flex: 0 0 auto;
  width: 14px; height: 14px;
  margin-top: 3px;
  color: var(--rose-deep);
  transition: transform .18s ease;
}
.faq-list .note-chev svg { display: block; width: 100%; height: 100%; }
.faq-list .note[open] .note-chev { transform: rotate(180deg); }
.faq-list .note > p { margin: 0; padding-bottom: 16px; }
.faq-list .note[open] { background: var(--bg-elev); }

/* ---- quick-tip variant ------------------------------------- */
.callout-tip--quick { border-left-color: #6d8a4f; }

/* ---- print: the checklist only ----------------------------- */
@media print {
  body.pm-print-checklist > *:not(main),
  body.pm-print-checklist main > *:not(#checklist) { display: none !important; }
  body.pm-print-checklist #checklist { display: block !important; }
  body.pm-print-checklist .ck-bar,
  body.pm-print-checklist .ck-actions { display: none !important; }
  body.pm-print-checklist .ck-grid { grid-template-columns: repeat(2, 1fr); }
  body.pm-print-checklist .ck-col { break-inside: avoid; border-color: #999; }
  body.pm-print-checklist .ck-box { border-color: #666; }
}

/* ---- narrow screens ---------------------------------------- */
@media (max-width: 620px) {
  .sched-tabs { grid-template-columns: repeat(2, 1fr); }
  .sched-tab { border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .sched-tab:nth-child(2) { border-right: 0; }
  .sched-tab:nth-child(n+3) { border-bottom: 0; }
  .step-list--timed .step-time { left: 52px; }
}

/* ---- reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ck-meter span, .ck-box, .ck-box::after, .faq-list .note-chev { transition: none; }
}

/* ============================================================
   Common Problems — page-only components
   Traffic-light urgency legend, interactive symptom checker and
   the group-scoped checklists. Built entirely from the existing
   silo tokens so the page reads as part of the same set.
   ============================================================ */

/* ---- visually hidden label --------------------------------- */
.sr-only-lite {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---- urgency legend ---------------------------------------- */
.urg-legend {
  margin-top: 18px;
  padding: 20px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.urg-legend h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  color: var(--earth);
}
.urg-legend ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.urg-legend li {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.urg-legend li .sev { justify-self: start; }
.urg-legend > p {
  margin: 14px 0 0;
  font-size: .86rem;
  color: var(--muted);
}
@media (max-width: 560px) {
  .urg-legend li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---- symptom checker --------------------------------------- */
.sc { margin-top: 18px; }
.sc-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sc-search {
  position: relative;
  flex: 1 1 300px;
  display: flex;
  align-items: center;
}
.sc-search .sc-ico {
  position: absolute;
  left: 12px;
  width: 16px; height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.sc-search .sc-ico svg { display: block; width: 100%; height: 100%; }
.sc-search input {
  width: 100%;
  font: inherit;
  font-size: .93rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px 10px 36px;
  -webkit-appearance: none;
  appearance: none;
}
.sc-search input::placeholder { color: var(--muted); }
.sc-search input:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 2px;
  border-color: var(--rose-deep);
}
.sc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sc-chip {
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.sc-chip:hover { border-color: var(--rose-deep); color: var(--earth); }
.sc-chip:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.sc-chip.is-on {
  background: var(--rose-soft);
  border-color: var(--rose-deep);
  color: var(--rose-deep);
}
.sc-count {
  margin: 0;
  font-size: .84rem;
  color: var(--muted);
  white-space: nowrap;
}
.sc-count b { color: var(--earth); }
.sc tbody tr[hidden] { display: none; }
.sc td a {
  display: inline-block;
  margin-top: 4px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--rose-deep);
  text-decoration: none;
  white-space: nowrap;
}
.sc td a:hover { text-decoration: underline; }
.sc-empty {
  margin: 14px 0 0;
  padding: 16px 18px;
  background: var(--bg-elev);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: .92rem;
  color: var(--ink-soft);
}
.sc-empty[hidden] { display: none; }
@media (max-width: 720px) {
  .sc-count { width: 100%; }
}

/* ---- grouped checklists ------------------------------------ */
.ck-wrap + .ck-wrap { margin-top: 26px; }
.ck-wrap .ck-bar { margin-top: 0; }

/* the anchor a section is given so print can isolate it */
@media print {
  body.pm-print-checklist main > .section:not(.pm-print-on) { display: none !important; }
  body.pm-print-checklist main > .section.pm-print-on { display: block !important; }
  body.pm-print-checklist .ck-wrap:not(.pm-print-on) { display: none !important; }
  body.pm-print-checklist .ck-bar,
  body.pm-print-checklist .ck-actions { display: none !important; }
  body.pm-print-checklist .ck-grid { grid-template-columns: repeat(2, 1fr); }
  body.pm-print-checklist .ck-col { break-inside: avoid; border-color: #999; }
  body.pm-print-checklist .ck-box { border-color: #666; }
  body.pm-print-checklist .anchor-nav,
  body.pm-print-checklist .site-nav,
  body.pm-print-checklist .foot,
  body.pm-print-checklist .eco-hero { display: none !important; }
}

/* ---- reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sc-chip { transition: none; }
}
