/* Pet care reminder planner (2026-11-28). Scoped under .cpl; builds on printables.css (.pr-*) */
.cpl .pr-hero-art { aspect-ratio: 1.45; }
.cpl-form { display: grid; gap: 22px; }
.cpl-step { border: 0; margin: 0; padding: 22px 24px 24px; background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 2px var(--line); min-width: 0; }
.cpl-step legend, .cpl-legend { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--navy); padding: 0; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; float: left; width: 100%; }
.cpl-step legend + * { clear: both; }
.cpl-legend { float: none; }
.cpl-num { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: 0 0 auto; }
.cpl-pets { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cpl-pet { border-radius: 16px; box-shadow: inset 0 0 0 2px var(--line); background: #FFFCF4; transition: box-shadow .15s, background .15s; }
.cpl-pet.is-on { box-shadow: inset 0 0 0 3px var(--navy); background: #fff; }
.cpl-pick { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; min-height: 56px; }
.cpl-pick input { width: 20px; height: 20px; accent-color: var(--navy); flex: 0 0 auto; margin: 0; }
.cpl-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--tint, #FFF0B8); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cpl-pname { font-weight: 800; font-size: 16px; line-height: 1.2; }
.cpl-name { display: none; padding: 0 12px 12px; }
.cpl-pet.is-on .cpl-name { display: block; }
.cpl-name input { width: 100%; font: inherit; font-size: 15px; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 2px solid var(--line); background: #fff; }
.cpl-hint, .cpl-small { font-size: 15px; color: var(--ink-soft); margin: 12px 0 0; }
.cpl-times { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.cpl-times label { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 15px; color: var(--ink-soft); }
.cpl-times input, .cpl-times select { font: inherit; font-size: 16px; padding: 8px 10px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--ink); min-height: 44px; }
.cpl-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; font-size: 16px; font-weight: 700; }
.cpl-checks label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cpl-checks input { width: 20px; height: 20px; accent-color: var(--navy); }
.cpl-result { background: var(--yellow-soft); box-shadow: none; }
.cpl-empty { margin: 0; font-size: 17px; }
.cpl-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.cpl-dl button { border: 0; cursor: pointer; font-family: inherit; }
.cpl-dl-note { font-size: 15px; color: var(--ink-soft); max-width: 420px; }
.cpl-msg { margin: 10px 0 0; font-weight: 800; color: var(--navy); }
.cpl-msg:empty { display: none; }
#cpl-out { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
#cpl-out > .cpl-dl, #cpl-out > .cpl-empty { grid-column: 1 / -1; }
.cpl-sched { background: #fff; border-radius: 18px; padding: 16px 18px 12px; }
.cpl-sched header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cpl-sched h3 { margin: 0; font-size: 20px; flex: 1; }
.cpl-sched h3 span { font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); font-weight: 700; }
.cpl-pdf { font-size: 14px; font-weight: 800; white-space: nowrap; }
.cpl-sched ul { list-style: none; margin: 0; padding: 0; }
.cpl-when { font-family: var(--font-head); font-weight: 600; color: var(--coral); font-size: 15px; margin: 12px 0 4px; }
.cpl-task { font-size: 15px; line-height: 1.4; padding: 6px 0; border-top: 1.5px solid var(--line); }
.cpl-when + .cpl-task { border-top: 0; }
.cpl-d { color: var(--ink-soft); font-size: 14px; }
.cpl-who { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 1px 8px; vertical-align: 1px; white-space: nowrap; }
.cpl-who-kid { background: #E3F1EE; color: #035258; }
.cpl-who-adult { background: var(--coral-soft); color: #8E2410; }
.cpl-noscript { background: var(--yellow-soft); padding: 14px 18px; border-radius: 14px; }

.cpl-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cpl-help > div { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: inset 0 0 0 2px var(--line); }
.cpl-help h3 { margin: 0 0 6px; font-size: 19px; }
.cpl-help p { margin: 0; font-size: 16px; }

.cpl-list { display: grid; gap: 12px; }
.cpl-petsched { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 2px var(--line); }
.cpl-petsched summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; }
.cpl-petsched summary::-webkit-details-marker { display: none; }
.cpl-petsched summary::after { content: "+"; margin-left: auto; font-family: var(--font-head); font-size: 26px; color: var(--navy); line-height: 1; }
.cpl-petsched[open] summary::after { content: "\2013"; }
.cpl-sum-t { display: flex; flex-direction: column; }
.cpl-sum-t b { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); }
.cpl-sum-t span { font-size: 15px; color: var(--ink-soft); line-height: 1.35; }
.cpl-body { display: grid; grid-template-columns: 1fr 300px; gap: 22px; padding: 4px 20px 22px; }
.cpl-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cpl-group h4 { margin: 0 0 6px; font-size: 16px; color: var(--coral); letter-spacing: .3px; }
.cpl-group ul { list-style: none; margin: 0; padding: 0; }
.cpl-group li { font-size: 15px; line-height: 1.4; padding: 7px 0; border-top: 1.5px solid var(--line); }
.cpl-group li:first-child { border-top: 0; }
.cpl-group .cpl-d { display: block; }
.cpl-often { font-size: 12.5px; font-weight: 800; color: var(--navy); margin-left: 4px; }
.cpl-ref { font-size: 12px; margin-left: 2px; text-decoration: none; vertical-align: super; line-height: 0; }
.cpl-dag { color: var(--ink-soft); font-size: 13px; margin-left: 1px; vertical-align: super; line-height: 0; }
.cpl-side { background: var(--cream); border-radius: 14px; padding: 14px 16px; align-self: start; }
.cpl-notes { margin: 0 0 12px; padding-left: 18px; font-size: 15px; }
.cpl-notes li { margin: 0 0 6px; }
.cpl-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cpl-side .pr-btn-ghost { color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.cpl-side .pr-btn-ghost:hover { background: var(--yellow-soft); color: var(--navy); }
.cpl-side .cpl-small { font-size: 14px; }
.cpl-sources ol { font-size: 15px; padding-left: 22px; }
.cpl-sources li { margin: 3px 0; }

@media (max-width: 860px) {
  .cpl-body { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cpl-step { padding: 18px 16px; }
  .cpl-pets { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cpl-pick { padding: 8px; gap: 8px; }
  .cpl-ic { width: 34px; height: 34px; }
  .cpl-pname { font-size: 15px; }
  .cpl-times label { flex: 1 1 140px; }
  .cpl-petsched summary { padding: 12px 14px; }
  .cpl-body { padding: 4px 14px 16px; }
}
