/* "Get Your Home Ready for Painting" — /painting-prep-checklist/ (docs/PREP-CHECKLIST.md). Navy #112e5b, gold #f0b323. */
.pc { max-width: 980px; margin: 18px auto 0; }
.pc-step { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.pc [hidden] { display: none !important; }
.pc-step legend { font-family: 'Patua One', Georgia, serif; color: #112e5b; font-size: 1.2rem; margin-bottom: 10px; padding: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pc-step legend small { font-family: 'Open Sans', Arial, sans-serif; font-size: .8rem; color: #6b7785; }
.pc-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #112e5b; color: #fff; font-size: .95rem; flex: none; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chip { position: relative; cursor: pointer; }
.pc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pc-chip span { display: inline-block; padding: 8px 14px; border: 2px solid #e3e7ec; border-radius: 999px; font-size: .95rem; color: #425469; background: #fff; }
.pc-chip input:checked + span { border-color: #112e5b; background: #112e5b; color: #fff; }
.pc-chip input:focus-visible + span { outline: 3px solid #f0b323; outline-offset: 2px; }
.pc-pick { text-align: center; color: #425469; font-weight: 600; margin: 8px 0 0; }

.pc-bar { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid #e3e7ec; border-radius: 12px; padding: 10px 14px; margin: 6px 0 14px; box-shadow: 0 4px 14px rgba(17,46,91,.08); }
.pc-progress { margin: 0; font-weight: 700; color: #112e5b; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-egg { background: linear-gradient(90deg, #fff6e0, #eef4fb); border-radius: 8px; padding: 8px 12px; font-weight: 600; margin: 0 0 12px; }

.pc-sheet { background: #fff; border: 1px solid #e3e7ec; border-left: 6px solid #f0b323; border-radius: 12px; padding: 8px 22px 16px; }
.pc-print-head, .pc-print-foot { display: none; }
.pc-phase { padding: 14px 0 6px; border-bottom: 1px dashed #e3e7ec; }
.pc-phase:last-of-type { border-bottom: 0; }
.pc-phase h2 { margin: 0 0 6px; font-size: 1.35rem; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pc-phase h2 small { font-family: 'Open Sans', Arial, sans-serif; font-size: .85rem; color: #6b7785; font-weight: 400; }
.pc-phase h3 { margin: 12px 0 6px; font-size: 1rem; color: #425469; text-transform: uppercase; letter-spacing: .04em; }
.pc-todos, .pc-crew { list-style: none; margin: 0; padding: 0; }
.pc-todos li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 7px 0; border-top: 1px solid #f1f3f6; }
.pc-todos li:first-child { border-top: 0; }
.pc-todos label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; flex: 1 1 320px; }
.pc-todos input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #112e5b; }
.pc-todos li.pc-done .pc-text { color: #8a95a3; text-decoration: line-through; text-decoration-color: #f0b323; text-decoration-thickness: 2px; }
.pc-crew li { position: relative; padding: 5px 0 5px 26px; color: #425469; }
.pc-crew li::before { content: '🖌'; position: absolute; left: 0; top: 5px; font-size: .9rem; }
.pc-crew li > span { margin-right: 6px; }
.pc-tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #eef2f7; color: #425469; white-space: nowrap; }
.pc:not(.pc-mode-both) .pc-tag-scope { display: none; }
.pc-tag-old { background: #fff4d6; color: #7a5600; }
.pc-tag-tip { background: #eaf5ec; color: #2c6a3a; }
.pc-link { font-size: .88rem; font-weight: 600; white-space: nowrap; }
.pc-notes { margin: 14px 0 0; }
.pc-notes label { display: block; margin-bottom: 4px; color: #112e5b; }
.pc-notes small { color: #6b7785; font-weight: 400; }
.pc-notes textarea { width: 100%; box-sizing: border-box; border: 1px solid #cfd6df; border-radius: 8px; padding: 8px 10px; font: inherit; resize: vertical; }
.pc-notes textarea:focus-visible { outline: 3px solid #f0b323; outline-offset: 1px; }
.pc-notes-print { display: none; }
.pc-tipnote { font-size: .85rem; color: #6b7785; margin: 12px 0 0; }
.pc-rooms { margin-top: 10px; }
.pc-room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pc-room { border: 1px solid #e3e7ec; border-radius: 10px; padding: 8px 12px; background: #fafbfd; }
.pc-room h4 { margin: 2px 0 4px; color: #112e5b; font-size: 1rem; }
.pc-room .pc-todos li { padding: 4px 0; font-size: .92rem; }
.pc-note { font-size: .85rem; color: #6b7785; text-align: center; margin: 12px 0 0; }
.pc-can { background: none; border: 0; cursor: pointer; font-size: 1rem; padding: 2px 4px; }
.pc-wet .pc-sheet { animation: pc-drip 2.4s ease-out; }
@keyframes pc-drip { 0% { box-shadow: inset 0 0 0 #f0b323; } 30% { box-shadow: inset 0 14px 0 #f0b323; } 100% { box-shadow: inset 0 0 0 #f0b323; } }
.pc-source { font-size: .85rem; color: #6b7785; }
@media (prefers-reduced-motion: reduce) { .pc-wet .pc-sheet { animation: none; } }
@media (max-width: 700px) {
  .pc-sheet { padding: 6px 12px 12px; }
  .pc-bar { position: static; padding: 8px 10px; }
  .pc-bar .btn { padding: 8px 12px; font-size: .9rem; }
}

/* Print / Save as PDF: only the checklist, clean black-on-white, page-break friendly. */
@media print {
  @page { margin: 14mm; }
  .site-header, .site-footer, .mobile-cta, .estimate-aside, .skip-link, .page-hero, .cta-band { display: none !important; }
  main > *:not(:has(#pc)) { display: none !important; }
  .pc-controls, .pc-bar, .pc-pick, .pc-egg, .pc-note, #main .prose.center, .pc-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section-tight { padding: 0 !important; }
  .pc { max-width: none; margin: 0; }
  .pc-sheet { border: 0; padding: 0; box-shadow: none; }
  .pc-print-head { display: block; border-bottom: 2px solid #112e5b; margin-bottom: 6px; }
  .pc-print-brand { font-family: 'Patua One', Georgia, serif; font-size: 16pt; color: #112e5b; margin: 0; }
  .pc-print-for { margin: 2px 0 6px; font-weight: 700; }
  .pc-notes { display: none !important; }
  .pc-notes-print:not([hidden]) { display: block; border: 1px solid #999; padding: 6px 8px; margin: 10px 0 0; white-space: pre-wrap; }
  .pc-print-foot { display: block; border-top: 1px solid #999; margin-top: 10px; padding-top: 6px; font-size: 9.5pt; }
  .pc-print-foot p { margin: 2px 0; }
  .pc-phase { break-inside: auto; border-bottom: 1px solid #ccc; padding: 8px 0 4px; }
  .pc-phase h2, .pc-phase h3, .pc-rooms h3 { break-after: avoid; }
  .pc-phase h2 { font-size: 13pt; }
  .pc-phase h3 { font-size: 9.5pt; margin: 6px 0 2px; color: #333; }
  .pc-todos li, .pc-crew li, .pc-room { break-inside: avoid; }
  .pc-todos li { padding: 3px 0; }
  .pc-todos input[type="checkbox"] { -webkit-appearance: none; appearance: none; border: 1.5px solid #000; border-radius: 2px; width: 13px; height: 13px; }
  .pc-todos input[type="checkbox"]:checked { background: #000; }
  .pc-todos li.pc-done .pc-text { color: #000; text-decoration: line-through; }
  .pc-crew li { padding: 2px 0 2px 18px; color: #222; }
  .pc-tag { border: 1px solid #999; background: none !important; color: #333 !important; }
  .pc-room { background: none; }
  [hidden] { display: none !important; }
}
