.routine-page [hidden] { display: none !important; }
.routine-skip-link { position: absolute; z-index: 5; top: -5rem; left: 1rem; padding: .75rem 1rem; background: #fbbf24; color: #0f172a; border-radius: .5rem; font-weight: 700; }
.routine-skip-link:focus { top: 1rem; }
.routine-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 1fr); align-items: center; gap: 4rem; text-align: left; padding-block: 4rem 3rem; }
.routine-hero h1 { margin: 0 0 1.5rem; max-width: 17ch; font: 500 clamp(2.5rem, 5.2vw, 4.4rem)/1.08 Georgia, 'Times New Roman', serif; letter-spacing: -.03em; }
.routine-hero h1 span { color: #fbbf24; }
.routine-hero .intro { max-width: 38rem; margin-inline: 0; }
.routine-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.routine-note { font-size: .85rem; color: #b3bfd1; line-height: 1.6; margin-top: 1rem; }
.routine-evening-card { padding: 1.5rem 1.75rem; border: 1px solid #4b4850; border-radius: 1.5rem; background: radial-gradient(ellipse at 50% 0, #3b3442 0, #1b263d 60%); box-shadow: 0 20px 60px #02061740; text-align: center; }
.routine-wooly { display: block; object-fit: contain; margin: -.5rem auto .25rem; }
.routine-card-kicker { color: #fbbf24; font-weight: 650; font-size: 1.15rem; margin: .5rem 0 1rem; }
.routine-at-a-glance { list-style: none; padding: 0; margin: 0; text-align: left; }
.routine-at-a-glance li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #ffffff12; font-size: .95rem; }
.routine-at-a-glance li span:last-child { white-space: nowrap; color: #d6bf88; font-size: .85rem; }
.routine-evening-card > p:last-child { font: italic 1rem/1.6 Georgia, serif; color: #cbd5e1; margin: 1.25rem 0 0; }
.routine-introduction { border-left: 3px solid #fbbf24; padding: .25rem 0 .25rem 1.5rem; margin: 1rem 0 3rem; max-width: 58rem; color: #cbd5e1; }
.routine-introduction p { margin: 0; }
.routine-introduction strong { color: #f8fafc; }
.routine-steps { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.routine-step { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem; padding: 0 0 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid #ffffff16; }
.routine-step:last-child { margin-bottom: 0; }
.routine-step-number { display: grid; place-items: center; align-self: start; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: #fbbf2414; border: 1px solid #fbbf2433; color: #fbbf24; font: 1.5rem Georgia, serif; }
.routine-step-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .75rem; }
.routine-step-heading h3 { margin: 0; font-size: 1.3rem; }
.routine-step-heading > span { color: #c8b989; font-size: .8rem; background: #fbbf240a; border: 1px solid #fbbf241f; padding: .2rem .65rem; border-radius: 99rem; white-space: nowrap; }
.routine-step p { color: #cbd5e1; margin: .6rem 0; max-width: 66ch; }
.routine-step p.routine-prompt { margin-top: 1rem; color: #f1f5f9; }
.routine-prompt > span { display: block; margin-bottom: .25rem; color: #fbbf24; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.routine-text-link { display: inline-block; color: #fbbf24; margin-top: .75rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.routine-prayer { border-left: 2px solid #fbbf2466; padding: .5rem 1.25rem; margin: 1.25rem 0 0; font: 1.2rem/1.7 Georgia, serif; color: #f1e5c9; max-width: 57ch; }
.routine-checklist-section { scroll-margin-top: 1.5rem; }
.routine-print-sheet { color-scheme: light; max-width: 48rem; margin: 2rem auto 0; padding: 2.5rem 3rem; border-radius: 1rem; color: #29313b; background: #fffdf7; box-shadow: 0 24px 60px #02061745; }
.routine-sheet-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid #d6d0c3; }
.routine-sheet-brand { text-transform: uppercase; font-size: .68rem; letter-spacing: .15em; font-weight: 750; color: #61543e; margin: 0 0 .6rem; }
.routine-sheet-heading h3 { font: 500 2.2rem/1.2 Georgia, serif; margin: 0 0 .5rem; color: #202836; }
.routine-sheet-heading p:last-child { margin: 0; font-size: .85rem; color: #5d6068; }
.routine-sheet-star { color: #8c6a22; font: 4rem/1 Georgia, serif; }
.routine-checklist { list-style: none; padding: 0; margin: .75rem 0 1.5rem; }
.routine-checklist li { border-bottom: 1px solid #e9e3d7; }
.routine-checklist label { display: flex; gap: 1rem; align-items: start; padding: 1rem 0; cursor: pointer; }
.routine-checklist input { flex: 0 0 auto; margin: .2rem 0 0; width: 1.4rem; height: 1.4rem; accent-color: #73550b; cursor: pointer; }
.routine-checklist input:focus-visible { outline: 3px solid #73550b; outline-offset: 3px; }
.routine-checklist label > span { flex: 1; min-width: 0; }
.routine-checklist strong { display: flex; justify-content: space-between; gap: .5rem; font-size: 1rem; }
.routine-checklist small { font-size: .75rem; font-weight: 400; white-space: nowrap; color: #655f51; padding-top: .2rem; }
.routine-checklist strong + span { display: block; font-size: .84rem; line-height: 1.55; color: #5d6068; margin-top: .2rem; }
.routine-checklist input:checked + span strong { color: #687264; }
.routine-sheet-prayer { padding: 1.1rem 1.3rem; background: #f4efe4; border-radius: .65rem; }
.routine-sheet-prayer h4 { margin: 0 0 .4rem; font-size: .95rem; }
.routine-sheet-prayer p { margin: 0; font: 1rem/1.65 Georgia, serif; }
.routine-sheet-blessing { margin: 1.4rem 0 0; font: italic 1.05rem/1.6 Georgia, serif; text-align: center; color: #554a37; }
.routine-print-credit { font-size: .65rem; text-align: center; color: #776e60; margin: 1.5rem 0 0; }
.routine-checklist-tools { max-width: 48rem; margin: 1.5rem auto 0; text-align: center; }
.routine-checklist-tools .routine-actions { justify-content: center; margin-top: 1rem; }
.routine-progress { font-size: .95rem; color: #e2e8f0; min-height: 1.6em; margin: 0; }
.routine-adaptations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.routine-adaptation { padding: 1.5rem; border: 1px solid #ffffff16; border-radius: 1rem; background: #172238; }
.routine-adaptation h3 { margin: 0 0 .75rem; font-size: 1.05rem; color: #f2dfa7; }
.routine-adaptation p { margin: 0; color: #cbd5e1; font-size: .95rem; }
.routine-coloring-callout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.routine-coloring-callout > div { max-width: 37rem; }
.routine-coloring-callout .button { flex: 0 0 auto; }
.routine-coloring-callout h2 { margin: .5rem 0; }
.routine-coloring-callout p:last-child { color: #cbd5e1; }
.routine-faq { margin-top: 2rem; }
.routine-faq details { border-bottom: 1px solid #ffffff1a; padding: 0; }
.routine-faq summary { padding: 1.25rem .25rem; cursor: pointer; font-size: 1.05rem; font-weight: 650; color: #f1f5f9; }
.routine-faq details[open] summary { color: #fbbf24; }
.routine-faq details p { margin: 0; padding: 0 .25rem 1.25rem; max-width: 72ch; color: #cbd5e1; }
.routine-story-callout { margin: 3rem 0 5rem; padding: 2.75rem 1.5rem; text-align: center; background: radial-gradient(ellipse at 50% 0%, #fbbf2412, transparent 75%); border-top: 1px solid #fbbf2430; }
.routine-story-callout h2 { font: 500 clamp(1.8rem, 3.5vw, 2.6rem)/1.2 Georgia, serif; margin: .75rem 0 1rem; }
.routine-story-callout > p:not(.eyebrow) { color: #cbd5e1; margin-bottom: 1.5rem; }

@media (max-width: 900px) {
  .routine-hero { gap: 2rem; }
  .routine-adaptations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routine-coloring-callout { align-items: flex-start; flex-direction: column; gap: 1rem; }
}
@media (max-width: 700px) {
  .routine-hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.5rem; }
  .routine-hero h1 { max-width: 18ch; }
  .routine-evening-card { max-width: 28rem; width: 100%; margin: 0 auto; }
  .routine-wooly { width: 90px; height: 90px; }
  .routine-step { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
  .routine-step-number { width: 2.5rem; height: 2.5rem; border-radius: .75rem; font-size: 1.15rem; }
  .routine-step-heading { align-items: flex-start; flex-direction: column; }
  .routine-print-sheet { padding: 1.5rem; }
  .routine-sheet-heading h3 { font-size: 1.75rem; }
  .routine-sheet-star { font-size: 2.75rem; }
  .routine-checklist label { gap: .75rem; }
  .routine-adaptations { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .routine-page, .routine-page * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  @page { size: auto; margin: 12mm; }
  html, body.routine-page { background: #fff !important; color: #111 !important; padding: 0 !important; margin: 0 !important; font-size: 11pt; }
  .routine-screen-only, .routine-skip-link { display: none !important; }
  .routine-page .resource-main, .routine-page article, .routine-checklist-section { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
  .routine-print-sheet { max-width: 180mm; padding: 5mm; margin: 0 auto; color: #111; background: #fff; border: 0; border-radius: 0; box-shadow: none; break-inside: avoid; }
  .routine-sheet-heading { padding-bottom: 6mm; border-color: #777; }
  .routine-sheet-brand { color: #333; font-size: 8pt; }
  .routine-sheet-heading h3 { font-size: 25pt; color: #111; }
  .routine-sheet-heading p:last-child { color: #333; font-size: 10pt; }
  .routine-sheet-star { color: #111; }
  .routine-checklist { margin: 2mm 0 5mm; }
  .routine-checklist label { padding: 4mm 0; gap: 4mm; }
  .routine-checklist input { display: none; }
  .routine-checklist label::before { content: ''; display: block; flex: 0 0 5mm; width: 5mm; height: 5mm; border: 1px solid #111; border-radius: 1mm; margin-top: 1mm; }
  .routine-checklist strong, .routine-checklist input:checked + span strong { color: #111; font-size: 12pt; }
  .routine-checklist small { color: #333; font-size: 9pt; }
  .routine-checklist strong + span { color: #333; font-size: 10pt; }
  .routine-sheet-prayer { border: 1px solid #777; padding: 4mm; background: #fff; border-radius: 2mm; }
  .routine-sheet-prayer h4 { font-size: 11pt; }
  .routine-sheet-prayer p { font-size: 11pt; line-height: 1.6; }
  .routine-sheet-blessing { color: #111; font-size: 12pt; margin-top: 5mm; }
  .routine-print-credit { color: #333; font-size: 8pt; margin-top: 6mm; }
}
