/* Free checklists (/checklists/, feed/build_checklists.py). Built on the
   site's guide layout; every rule is scoped to ck- classes or .ck-page.
   Text sizes stay at 16px or more on form fields (iOS zooms on focus below
   that — see the rl-phone-layout notes). */
.ck-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-2); margin: 6px 0 22px; }
.ck-meta b { color: var(--ink); font-weight: 600; }
.ck-jump { display: none; }
.ck-progress { position: sticky; top: 74px; z-index: 5; background: #fff; border: 1px solid var(--grid); border-radius: 999px;
  padding: 8px 18px; display: flex; align-items: center; gap: 14px; margin: 0 0 26px; box-shadow: 0 8px 24px -18px rgba(0,0,0,.35); }
.ck-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--linen); overflow: hidden; }
.ck-bar span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .25s ease; }
.ck-count { font-size: 13px; font-weight: 600; white-space: nowrap; }
.ck-print { font: inherit; font-size: 13px; font-weight: 600; color: var(--red-text); background: none; border: 0; cursor: pointer; padding: 6px 0; }
.ck-stage { margin: 0 0 34px; }
.ck-page .guide__body h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ck-when { font-family: "Hanken Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-text); }
.ck-page .guide__body .ck-intro { margin: 0 0 12px; }
.ck-page .guide__body .ck-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--grid); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ck-page .guide__body .ck-list li { margin: 0; }
.ck-list li + li { border-top: 1px solid var(--grid); }
.ck-item { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 16px; cursor: pointer; align-items: start; }
.ck-item input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--orange); cursor: pointer; }
.ck-item strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ck-sub { display: block; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin-top: 3px; }
.ck-item input:checked ~ div strong { text-decoration: line-through; text-decoration-color: var(--ink-3); color: var(--ink-3); }
.ck-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.4;
  background: var(--orange-soft); color: var(--red-text); border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }
.ck-note { background: var(--surface); border: 1px solid var(--grid); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 34px; }
.ck-page .guide__body .ck-note p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.55; }
.ck-page .guide__body .ck-note p + p { margin-top: 8px; }
.ck-faq details { border-top: 1px solid var(--grid); padding: 14px 0; }
.ck-faq details:last-child { border-bottom: 1px solid var(--grid); }
.ck-faq summary { font-weight: 600; cursor: pointer; }
.ck-page .guide__body .ck-faq details p { margin: 8px 0 0; }
.ck-related, .ck-morewrap { margin-top: 34px; }
.ck-fine { font-size: 13px !important; color: var(--ink-3) !important; }
.ck-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.ck-more a { display: block; border: 1px solid var(--grid); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); background: #fff; }
.ck-more a:hover { border-color: var(--orange); }
.ck-more a b { display: block; font-size: 15px; }
.ck-more a span { font-size: 13px; color: var(--ink-2); }
/* the form card */
.ck-cover { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; }
.ck-cover img { width: 85px; height: 110px; border-radius: 6px; border: 1px solid var(--grid); box-shadow: 0 6px 16px -10px rgba(0,0,0,.5); background: #fff; object-fit: cover; flex: none; }
.ck-cover h3 { margin-top: 0; }
.ck-cover .mtg-card-sub { margin: 0; }
.ck-form input[type=text], .ck-form input[type=email], .ck-form select { font-size: 16px; }
.ck-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ck-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.45; margin: 4px 0 14px; cursor: pointer; }
.ck-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--orange); }
.ck-done .mtg-submit { display: block; text-align: center; text-decoration: none; }
.ck-done-next { margin-top: 16px !important; }
/* closing-costs calculator */
.ck-calc { background: var(--surface); border: 1px solid var(--grid); border-radius: var(--radius); padding: 20px; margin: 0 0 34px; }
.ck-calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.ck-calc-grid label { font-size: 13px; font-weight: 600; color: var(--ink); display: grid; gap: 4px; }
.ck-calc-grid input { font: inherit; font-size: 16px; font-weight: 400; padding: 10px 12px; border: 1px solid var(--grid); border-radius: 10px; background: #fff; width: 100%; }
.ck-calc-out { display: grid; gap: 6px; margin: 0; }
.ck-calc-out div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.ck-calc-out dt { color: var(--ink-2); }
.ck-calc-out dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.ck-calc-net { border-top: 1px solid var(--grid); padding-top: 8px; font-size: 17px !important; }
.ck-calc-net dd { color: var(--ink); }
/* hub */
.ck-hub-layout { grid-template-columns: minmax(0, 1fr) !important; }
.ck-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 12px 0 30px; }
.ck-hubcard { display: flex; gap: 16px; align-items: center; border: 1px solid var(--grid); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); background: #fff; }
.ck-hubcard:hover { border-color: var(--orange); }
.ck-hubcard img { width: 85px; height: 110px; border-radius: 6px; border: 1px solid var(--grid); flex: none; }
.ck-hubcard b { display: block; font-size: 17px; margin-bottom: 4px; }
.ck-hubcard span span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.ck-hubcard .ck-hubmeta { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--red-text); }
/* phones: the checklist first, the form after it (the site puts the
   evaluation form first; .eval-proof would otherwise pull this card up too) */
@media (max-width: 820px) {
  .guide__side.ck-side, .guide__side.ck-side:has(.eval-proof) { order: 2; position: static; }
  .ck-progress { top: 66px; }
  .ck-jump { display: block; margin: 0 0 18px; font-size: 15px; }
  .ck-jump a { font-weight: 600; color: var(--red-text); }
}
@media print {
  .dgn-wrap, footer, .dg-footer, .guide__side, .ck-progress, .ck-jump, .ck-faq, .ck-morewrap, .ck-related, .guide__crumb, .crumbs, .call-bar { display: none !important; }
  .guide__layout { display: block !important; }
  .ck-list { border-color: #999 !important; }
  .ck-item { padding: 8px 10px; break-inside: avoid; }
}
