/* Start here plan (/start/) and first 72 hours checklist. Prefixes sp- and f72-. December 1, 2026. */

/* Without JavaScript the full checklist shows and prints; controls that need a script stay out of the way. */
.no-js .sp-intake, .no-js .sp-data, .no-js [data-print], .no-js .sp-na { display: none !important; }

/* Intake */
.sp-intake { margin-bottom: clamp(26px, 4vw, 40px); }
.sp-intake-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 24px; margin-bottom: 16px; }
.sp-intake-top .muted { margin: 0; max-width: 40em; font-size: .97rem; }
.sp-intake-top .tools-lock { margin: 4px 0 0; max-width: 22em; }
.sp-qs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.sp-q { margin: 0; min-width: 0; padding: 16px 16px 14px; border: 1px solid var(--hairline); border-radius: 18px; background: var(--paper); }
.sp-q legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; font-weight: 650; color: var(--text); font-size: 1.02rem; }
.sp-n { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--dusk); color: #fff; font-size: .8rem; font-weight: 700; }
.sp-why { clear: both; margin: 0; padding: 6px 0 12px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.sp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-pill { position: relative; display: inline-flex; }
.sp-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sp-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px; border: 1.5px solid var(--tint-2); border-radius: 999px; background: #fff; color: var(--text); font-size: .93rem; font-weight: 550; line-height: 1.2; transition: background .15s, border-color .15s, color .15s; }
.sp-pill:hover span { border-color: var(--dusk-soft); }
.sp-pill input:checked + span { background: var(--dusk); border-color: var(--dusk); color: #fff; }
.sp-pill input:checked + span::before { content: ""; width: 10px; height: 5px; margin: -3px 8px 0 0; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.sp-pill input:focus-visible + span { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.sp-date { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sp-date input[type=date] { flex: 1 1 170px; width: auto; min-width: 0; }
.sp-date input[type=date]:disabled { opacity: .5; }
.sp-intake-actions { margin: 18px 0 0; align-items: center; }
.sp-intake-actions .btn-primary { min-height: 44px; }

/* Plan */
.sp-plan { scroll-margin-top: 90px; }
.sp-plan-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-bottom: 10px; }
.sp-plan-top h2 { margin: 0 0 4px; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.sp-sum { margin: 0; color: var(--body); max-width: 42em; }
.sp-plan-top .btn-row { margin: 0; }
.sp-plan-top .btn { min-height: 44px; }
.sp-jump ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 4px; }
.sp-jump li { margin: 0; }
.sp-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--hairline); color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; }
.sp-jump a:hover { border-color: var(--dusk-soft); }
.sp-phase { margin: 16px 0 0; padding: clamp(18px, 3vw, 26px); background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--lift); scroll-margin-top: 90px; }
.sp-ph-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; padding-bottom: 12px; }
.sp-when { margin: 0 0 2px; color: var(--gold-ink); font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.sp-ph-head h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.55rem); letter-spacing: -.02em; }
.sp-ph-head .tag { font-size: .78rem; }
.sp-prog { flex: 0 1 260px; min-width: 180px; font-size: .9rem; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.sp-prog .meter { margin: 6px 0 0; height: 10px; }
ol.sp-steps { list-style: none; padding: 0; margin: 0; }
.sp-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; align-items: start; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.sp-box { -webkit-appearance: none; appearance: none; position: relative; display: block; width: 44px; height: 44px; margin: 0; border: 0; border-radius: 12px; background: none; cursor: pointer; }
.sp-box::before { content: ""; position: absolute; left: 10px; top: 10px; width: 24px; height: 24px; box-sizing: border-box; border: 2px solid var(--dusk-soft); border-radius: 7px; background: #fff; transition: background .15s, border-color .15s; }
.sp-box:checked::before { background: var(--dusk); border-color: var(--dusk); }
.sp-box:checked::after { content: ""; position: absolute; left: 17px; top: 16px; width: 10px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.sp-box:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 0; }
.sp-box:disabled { cursor: default; opacity: .5; }
.sp-h { display: block; padding-top: 10px; color: var(--text); font-weight: 650; font-size: 1.02rem; line-height: 1.35; cursor: pointer; }
.sp-body p { margin: 3px 0 4px; font-size: .95rem; line-height: 1.55; }
.sp-go, .sp-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: .94rem; }
.sp-go .icon, .sp-links .icon { width: 16px; height: 16px; }
ul.sp-links { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; padding: 0; margin: 0; }
ul.sp-links li { margin: 0; padding: 0; }
ul.sp-links li::before { display: none; }
.sp-url { display: none; }
.sp-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 14px; }
.sp-na { min-height: 44px; margin-left: auto; padding: 0 14px; border: 1px solid var(--tint-2); border-radius: 999px; background: #fff; color: var(--muted); font: inherit; font-size: .84rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.sp-na:hover { border-color: var(--dusk-soft); color: var(--text); }
.sp-done .sp-h { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.sp-is-na { opacity: .62; }
.sp-hidden-note { margin: 4px 0 0; padding-top: 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.sp-link { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--dusk); font: inherit; font-weight: 650; text-decoration: underline; cursor: pointer; }
.sp-data { margin-top: 22px; padding: 18px 20px; border-radius: 18px; background: var(--sand); }
.sp-data-h { margin: 0 0 8px; color: var(--text); font-weight: 650; }
.sp-data .btn-row { margin: 0; }
.sp-data .btn { min-height: 44px; }
.sp-restore { cursor: pointer; }
.sp-data:has(input[type=file]:focus-visible) .sp-restore { outline: 3px solid var(--gold-strong); outline-offset: 2px; }
.sp-data .tools-lock { margin-top: 12px; }
@media (max-width: 560px) {
  .sp-intake-actions .btn { width: 100%; justify-content: center; }
  .sp-prog { flex-basis: 100%; }
}

/* First 72 hours checklist */
.f72-actions { margin: 4px 0 14px; }
.f72-actions .btn { min-height: 44px; }
.prose ol.f72-list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0 0 10px; }
.prose ol.f72-list > li.f72-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; margin: 0; padding: 18px 20px 14px; background: #fff; border: 1px solid var(--hairline); border-radius: 18px; box-shadow: var(--lift); scroll-margin-top: 90px; }
.f72-card .ico { background: var(--gold-tint); color: var(--gold-ink); }
.f72-card h3 { display: flex; align-items: center; gap: 10px; margin: 8px 0 8px; font-size: 1.1rem; letter-spacing: -.01em; }
.f72-n { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--dusk); color: #fff; font-size: .8rem; font-weight: 700; }
.prose ul.f72-ticks { list-style: none; padding: 0; margin: 0 0 8px; }
.prose ul.f72-ticks > li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prose ul.f72-ticks > li:first-child { border-top: 0; }
.f72-ticks input { width: 22px; height: 22px; margin: 12px 0 0; accent-color: var(--dusk); cursor: pointer; }
.f72-ticks label { display: block; min-height: 44px; padding: 10px 0; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.f72-src { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.f72-src a { color: var(--muted); }
@media (max-width: 480px) {
  .prose ol.f72-list > li.f72-card { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px; }
  .f72-card .ico { width: 38px; height: 38px; }
}

@media print {
  .sp-intake, .sp-jump, .sp-data, .sp-na, .sp-hidden-note, .sp-plan-top .btn-row, .f72-actions, .page-hero:has(+ .tool-sec #sp), .tool-noscript { display: none !important; }
  .sp-phase { box-shadow: none; border: 1px solid #999; border-radius: 10px; padding: 12px 14px; margin-top: 12px; }
  .sp-ph-head { padding-bottom: 6px; }
  .sp-step { grid-template-columns: 34px minmax(0, 1fr); padding: 6px 0; break-inside: avoid; }
  .sp-box { width: 30px; height: 30px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sp-box::before { left: 4px; top: 4px; width: 20px; height: 20px; border-color: #333; }
  .sp-box:checked::after { left: 9px; top: 9px; }
  .sp-h { padding-top: 5px; }
  .sp-go, .sp-links a { min-height: 0; }
  .sp-go .icon, .sp-links .icon { display: none; }
  .sp-url { display: block; font-size: .78rem; color: #444; }
  .sp-prog .meter { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .prose ol.f72-list > li.f72-card { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
  .f72-card .ico { display: none; }
  .prose ol.f72-list > li.f72-card { grid-template-columns: minmax(0, 1fr); }
  .f72-ticks label { min-height: 0; padding: 5px 0; }
  .f72-ticks input { margin-top: 6px; }
}
