/* Fillable Printables. One stylesheet: tokens, base, layout, components, the printable sheet, print rules. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #fbf8f3;
  --surface: #ffffff;
  --desk: #efeae0;
  --ink: #1e2a28;
  --muted: #5c6964;
  --line: #e6e0d5;
  --green: #14524a;
  --green-dark: #0e3d37;
  --green-soft: #e4efec;
  --yellow: #ffd25e;
  --yellow-soft: #fff4d1;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgb(30 42 40 / 6%), 0 8px 24px rgb(30 42 40 / 7%);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-underline-offset: 0.18em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { max-width: 78rem; margin: 0 auto; padding: 0 1.25rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--surface); padding: 0.5rem 0.9rem; border-radius: var(--radius); z-index: 20; }
.skip:focus { left: 0.5rem; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.2; padding: 0.65rem 1.05rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.1s; }
.button:hover { border-color: var(--green); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: 0.45; cursor: default; border-color: var(--line); }
.button.primary { background: var(--green); border-color: var(--green); color: #fff; }
.button.primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.button.ghost { background: transparent; }
.button.large { font-size: 1.05rem; padding: 0.9rem 1.4rem; }
.link-button { font: inherit; font-size: 0.9rem; background: none; border: 0; padding: 0.25rem 0; color: var(--muted); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.link-button:hover { color: var(--green); }
.text-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2.1rem; height: 2.1rem; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name span { color: var(--green); }
.site-header nav { display: flex; align-items: center; gap: 1.5rem; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.site-header nav a:hover { color: var(--green); text-decoration: underline; }

/* Home: hero */
.hero { padding: 4rem 0 4.5rem; overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.02; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62% 92%, transparent 92%); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36rem; margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.chips { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.95rem; color: var(--muted); }
.chips li { display: inline-flex; align-items: center; gap: 0.4rem; }
.chips .icon { color: var(--green); }

/* Home: hero illustration, built from boxes so it stays sharp and weighs nothing */
.hero-art { position: relative; height: 24rem; max-width: 30rem; width: 100%; margin: 0 auto; }
.hero-art::before { content: ""; position: absolute; inset: 6% 4% 2% 10%; background: var(--green-soft); border-radius: 2rem; transform: rotate(-3deg); }
.art-sheet { position: absolute; right: 2%; top: 0; width: 66%; height: 92%; background: var(--surface); border-radius: 6px; box-shadow: var(--shadow); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; transform: rotate(2.5deg); }
.art-sheet strong { font-size: 1.35rem; font-family: var(--serif); line-height: 1.1; }
.art-kind { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.art-meta { font-size: 0.7rem; color: var(--muted); }
.art-rule { height: 2px; background: var(--ink); margin-top: 0.3rem; }
.art-h { font-size: 0.72rem; font-weight: 700; margin-top: 0.7rem; }
.art-line { height: 0.5rem; border-radius: 1rem; background: var(--line); }
.w95 { width: 95%; } .w90 { width: 90%; } .w88 { width: 88%; } .w82 { width: 82%; } .w75 { width: 75%; } .w60 { width: 60%; }
.art-form { position: absolute; left: 0; bottom: 9%; width: 58%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.1rem; display: grid; gap: 0.3rem; transform: rotate(-2deg); }
.art-label { font-size: 0.72rem; font-weight: 700; margin-top: 0.3rem; }
.art-input { font-size: 0.85rem; border: 1.5px solid var(--green); border-radius: 8px; padding: 0.45rem 0.6rem; display: flex; align-items: center; background: var(--yellow-soft); }
.art-input.muted { border-color: var(--line); background: var(--surface); color: var(--muted); }
.art-input i { width: 2px; height: 1.1em; background: var(--green); margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.art-badge { position: absolute; right: 0; bottom: 3%; display: inline-flex; align-items: center; gap: 0.45rem; background: var(--green); color: #fff; font-size: 0.85rem; font-weight: 600; padding: 0.55rem 0.9rem; border-radius: 99px; box-shadow: var(--shadow); }

/* Home: sections */
.section { padding: 4.5rem 0; }
.section.tinted { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head h2, .promise h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--muted); margin-top: 0.6rem; font-size: 1.1rem; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
/* Three across on wide screens; the first (live) template is featured at double width so five cards fill two rows. */
@media (min-width: 62rem) { .cards { grid-template-columns: repeat(3, 1fr); } .cards li:first-child { grid-column: span 2; } .cards li:first-child .card { padding: 2rem; background: linear-gradient(135deg, var(--surface) 55%, var(--green-soft)); } .cards li:first-child .card-art { width: 7rem; height: 7rem; } .cards li:first-child h3 { font-size: 1.7rem; } .cards li:first-child p { font-size: 1.08rem; max-width: 30rem; } }
.card { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card-art { width: 5.5rem; height: 5.5rem; margin-bottom: 0.5rem; }
.card-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--green); margin-top: 0.4rem; }
.card.upcoming { background: transparent; border-style: dashed; }
.card.upcoming .card-art { opacity: 0.75; }
.card.upcoming h3 { color: var(--muted); }
.pill { align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 99px; background: var(--yellow-soft); color: #6b5310; margin-top: 0.4rem; }

.steps-row { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: step; }
.steps-row li { counter-increment: step; }
.steps-row h3 { font-size: 1.3rem; margin: 1rem 0 0.4rem; }
.steps-row h3::before { content: counter(step) ". "; color: var(--green); }
.steps-row p { color: var(--muted); }
.step-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1.3rem; }

.promise { display: grid; gap: 1.5rem; background: var(--green); color: #f3f7f5; border-radius: var(--radius-lg); padding: clamp(1.75rem, 5vw, 3.5rem); }
.promise h2 { color: #fff; }
.promise p { margin: 0.9rem 0 1.25rem; max-width: 42rem; color: #d5e5e0; font-size: 1.1rem; }
.promise a { color: var(--yellow); }
.promise-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1.4rem; }
@media (min-width: 48rem) { .promise { grid-template-columns: auto 1fr; } }

/* Footer */
.site-footer { background: var(--green-dark); color: #cfe0db; margin-top: 4rem; font-size: 0.95rem; --mark-page: #fbf8f3; --mark-fold: #a9cfc6; --mark-ink: #14524a; }
.site-footer .brand, .site-footer .brand-name span { color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 2.5rem; }
.footer-grid p { margin-top: 0.9rem; max-width: 24rem; }
.site-footer nav { display: grid; gap: 0.5rem; align-content: start; }
.site-footer nav h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8fb5ab; margin-bottom: 0.3rem; }
.site-footer nav a { color: #e9f2ef; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid rgb(255 255 255 / 12%); padding-top: 1.25rem; padding-bottom: 1.5rem; color: #8fb5ab; font-size: 0.85rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Tool page: heading */
.tool-head { padding: 1.75rem 0 0.5rem; }
.crumbs { display: flex; gap: 0.5rem; font-size: 0.88rem; color: var(--muted); margin-bottom: 0.9rem; }
.crumbs a { color: var(--muted); }
.tool-head h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); letter-spacing: -0.025em; }
.tool-head .lede { font-size: 1.1rem; max-width: 46rem; margin-top: 0.8rem; }
.tool-head .chips { margin-top: 1rem; }

/* Tool page: form beside preview on wide screens, stacked on phones */
.workspace { display: grid; gap: 1.5rem; margin: 1.75rem 0 4rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.25rem; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.saved { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; color: var(--muted); }
.saved .icon { display: none; }
.saved.is-saved { color: var(--green); }
.saved.is-saved .icon { display: block; }
@media (min-width: 64rem) {
  .workspace { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); align-items: start; }
  .preview { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); display: flex; flex-direction: column; }
  .desk { overflow: auto; }
}

/* Step tabs */
.stepper { list-style: none; margin: 0; padding: 0.8rem 1.25rem; display: flex; flex-wrap: wrap; gap: 0.3rem 0.4rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.stepper button { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--muted); background: none; border: 1px solid transparent; border-radius: 99px; padding: 0.35rem 0.8rem 0.35rem 0.4rem; cursor: pointer; }
.stepper button:hover { color: var(--ink); background: var(--surface); }
.stepper [aria-current] { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: 0 1px 2px rgb(30 42 40 / 8%); }
.step-number { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; font-size: 0.78rem; background: var(--line); color: var(--muted); }
.stepper [aria-current] .step-number { background: var(--green); color: #fff; }
.stepper .done .step-number { background: var(--yellow); color: var(--ink); font-size: 0; }
.stepper .done .step-number::after { content: "✓"; font-size: 0.8rem; font-weight: 700; }

/* Form */
.maker { padding: 1.25rem 1.25rem 0.25rem; }
.maker fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.maker legend { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; padding: 0; letter-spacing: -0.015em; }
.hint { color: var(--muted); font-size: 0.95rem; margin: 0.3rem 0 0.6rem; }
.fields { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.fields .wide, .row .wide { grid-column: 1 / -1; }
.maker label { display: block; font-size: 0.9rem; font-weight: 600; margin-top: 0.9rem; }
.maker input, .maker textarea, .maker select { display: block; width: 100%; margin-top: 0.3rem; padding: 0.65rem 0.75rem; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color 0.15s, box-shadow 0.15s; }
.maker input::placeholder, .maker textarea::placeholder { color: #a3aaa6; }
.maker input:hover, .maker textarea:hover { border-color: #cfc7b8; }
.maker select { appearance: none; padding-right: 2.2rem; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314524a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.7rem center / 1rem; cursor: pointer; }
.maker input[type="color"] { height: 2.9rem; padding: 0.3rem; cursor: pointer; }
.maker input:focus, .maker textarea:focus, .maker select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.maker textarea { resize: vertical; min-height: 4.5rem; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0 0.9rem; align-items: end; padding: 0.3rem 1rem 0.9rem; margin-top: 0.9rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.row .grow { grid-column: span 2; }
.row [data-remove] { justify-self: start; margin-top: 0.7rem; }
.button.add { margin: 1rem 0.5rem 0 0; border-style: dashed; color: var(--green); }
.step-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1.25rem; }
.step-count { font-size: 0.85rem; color: var(--muted); }
.quiet-actions { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; padding: 0.8rem 1.25rem; border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* Phone: actions pinned to the bottom, since the preview sits below the form */
.mobile-bar { position: sticky; bottom: 0; z-index: 10; display: flex; gap: 0.6rem; padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom)); background: rgb(251 248 243 / 94%); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.mobile-bar .button { flex: 1; }
@media (min-width: 64rem) { .mobile-bar { display: none; } }
@media (max-width: 40rem) { .hide-small { display: none; } .brand { gap: 0.45rem; } .brand-mark { width: 1.8rem; height: 1.8rem; } .brand-name { font-size: 1.02rem; } .site-header nav { gap: 0.85rem; } .site-header nav a { font-size: 0.92rem; } .panel-actions [data-print-blank] { flex: 1; } .panel-actions .primary { display: none; } }

/* The printable sheet, shown as paper on a desk */
.desk { background: var(--desk); padding: 1.25rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.sheet { background: #fff; color: #1c2321; font-family: var(--sans); box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 10px 30px rgb(0 0 0 / 8%); padding: 2.25rem; font-size: 0.86rem; line-height: 1.5; min-height: 26rem; border-radius: 3px; }
.sheet h2, .sheet h3 { font-family: var(--sans); letter-spacing: 0; }
.sheet-kind { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #5b6663; }
.sheet-name { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.sheet h2 { font-size: 0.95rem; font-weight: 700; margin: 1.3rem 0 0.45rem; padding-bottom: 0.25rem; border-bottom: 2px solid #1c2321; }
.sheet h3 { font-size: 0.85rem; font-weight: 700; margin: 0.8rem 0 0.1rem; }
.sheet [data-out], .sheet td { white-space: pre-line; overflow-wrap: anywhere; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.2rem 1.25rem; }
.facts dt { display: inline; font-weight: 700; }
.facts dt::after { content: ": "; }
.facts dd { display: inline; margin: 0; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: left; vertical-align: top; padding: 0.35rem 0.6rem 0.35rem 0; border-bottom: 1px solid #d9dedb; }
.sheet th { font-size: 0.78rem; color: #5b6663; font-weight: 700; }
.sheet tr, .answer { break-inside: avoid; }
.sheet h2 { break-after: avoid; }
.sheet [data-collapse] td:first-child { font-weight: 700; white-space: nowrap; }
.sheet tr.group-start:not(:first-child) td { border-top: 1.5px solid #1c2321; }
.sheet .total { margin-top: 0.6rem; text-align: right; font-weight: 700; }
.sheet.blank .total span { display: inline-block; min-width: 6rem; border-bottom: 1px solid #1c2321; }
.empty-note { display: none; color: var(--muted); text-align: center; padding: 5rem 1rem; font-size: 0.98rem; }
@media screen {
  .sheet [data-goto] { cursor: pointer; border-radius: 4px; outline: 2px solid transparent; outline-offset: 6px; transition: outline-color 0.15s; }
  .sheet [data-goto]:hover { outline-color: var(--yellow); }
}

/* ponytail: empty fields and sections are hidden with :has() instead of JavaScript.
   Browsers from before 2024 without :has() show the empty labels; add a JS fallback only if that matters. */
.sheet:not(.blank) [data-field]:has(:is([data-out], [data-sum]):empty),
.sheet:not(.blank) [data-section]:not(:has([data-out]:not(:empty), tbody tr)),
.sheet:not(.blank):not(:has([data-out]:not(:empty), tbody tr)) header { display: none; }
.sheet:not(.blank):not(:has([data-out]:not(:empty), tbody tr)) .empty-note { display: block; }

/* Blank copy: every field shown, with ruled lines to write on */
.sheet.blank .sheet-name { border-bottom: 1px solid #1c2321; min-height: 2.6rem; font-family: var(--sans); }
.sheet.blank .sheet-name::before { content: attr(data-blank-label); font-size: 0.8rem; font-weight: 700; letter-spacing: 0; }
.sheet.blank .facts { grid-template-columns: 1fr 1fr; gap: 0.9rem 1.25rem; }
.sheet.blank .facts div { display: flex; gap: 0.3rem; align-items: flex-end; }
.sheet.blank .facts dd { flex: 1; border-bottom: 1px solid #1c2321; min-height: 1.2rem; }
.sheet.blank td { height: 2rem; border-bottom-color: #1c2321; }
/* Three writing lines per answer, drawn with borders (a striped background did not print reliably). */
.sheet.blank .answer p { position: relative; height: 6rem; border-bottom: 1px solid #1c2321; }
.sheet.blank .answer p::before, .sheet.blank .answer p::after { content: ""; position: absolute; left: 0; right: 0; border-bottom: 1px solid #1c2321; }
.sheet.blank .answer p::before { top: 2rem; }
.sheet.blank .answer p::after { top: 4rem; }

/* Article under the tool, and the plain pages */
.article-grid { display: grid; gap: 3rem; padding-bottom: 2rem; }
.article-aside { display: none; }
@media (min-width: 64rem) {
  .article-grid { grid-template-columns: minmax(0, 46rem) 17rem; justify-content: space-between; }
  .article-aside { display: block; position: sticky; top: 1.5rem; align-self: start; }
}
.page { padding: 3rem 0 1rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.025em; margin-bottom: 1.25rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.75rem; margin: 2.75rem 0 0.9rem; scroll-margin-top: 1.5rem; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.55rem; }
.prose li::marker { color: var(--green); font-weight: 700; }
.callout { background: var(--yellow-soft); border-left: 4px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.2rem; }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--green); flex: none; }
.faq[open] summary::after { content: "−"; }
.faq h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.faq p { color: var(--muted); padding-bottom: 0.2rem; }
.toc { display: grid; gap: 0.55rem; padding-left: 1rem; border-left: 2px solid var(--line); font-size: 0.95rem; }
.toc h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--green); text-decoration: underline; }
.aside-card { display: flex; gap: 0.75rem; margin-top: 2rem; padding: 1rem; background: var(--green-soft); border-radius: var(--radius); font-size: 0.92rem; color: var(--green-dark); }
.related { list-style: none; padding: 0; }
.related li { color: var(--muted); }
.aside-card .icon { margin-top: 0.15rem; }

@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
@media (max-width: 30rem) { .hero { padding: 2.5rem 0 3rem; } .hero-art { height: 20rem; } .section { padding: 3rem 0; } .sheet { padding: 1.25rem; } .desk { padding: 0.75rem; } }

/* Camping checklist: one line per item with a tick box, flowing in two columns; a section name starts its group */
.button.build { margin-top: 1.25rem; }
.sheet .checklist thead { display: none; }
.sheet .checklist tbody { display: block; columns: 2; column-gap: 2rem; }
.sheet .checklist tr { display: flex; flex-wrap: wrap; align-items: baseline; break-inside: avoid; border-bottom: 1px solid #d9dedb; }
.sheet .checklist tr.group-start:not(:first-child) td { border-top: 0; }
.sheet .checklist td { border: 0; padding: 0.22rem 0; }
.sheet .checklist td:first-child { flex-basis: 100%; padding-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.sheet .checklist td:first-child:empty { display: none; }
.sheet .checklist td:nth-child(2) { flex: 1; }
.sheet .checklist td:nth-child(2)::before { content: ""; display: inline-block; width: 0.85em; height: 0.85em; margin-right: 0.55em; vertical-align: -0.1em; border: 1.3px solid #1c2321; border-radius: 2px; }
.sheet .checklist td:nth-child(3) { padding-left: 0.6rem; color: #5b6663; white-space: nowrap; }
.sheet.blank .checklist td { height: auto; }
.sheet.blank .checklist td:nth-child(2) { min-height: 1.75rem; }
@media screen and (max-width: 40rem) { .sheet .checklist tbody { columns: 1; } }

/* Paper squishy */
.designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 0.4rem; }
.design { display: grid; justify-items: center; gap: 0.25rem; padding: 0.7rem 0.3rem 0.6rem; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.design:hover { border-color: #cfc7b8; }
.design[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); background: var(--surface); }
.design svg { width: 4.4rem; height: 5rem; }
.squishy-tip, .cal-tip { padding: 0 1.25rem 1.25rem; }
.squishy-print { display: block; width: 100%; height: auto; margin-top: 0.75rem; }
.squishy-steps { margin: 0.9rem 0 0; padding-left: 1.2rem; font-size: 0.82rem; color: #3b4542; }

/* Calendar */
.cal-months-nav { padding: 1.25rem 1.25rem 1rem; }
.cal-months-nav h3 { font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0; margin-bottom: 0.5rem; }
.cal-months-nav nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(3.6rem, 1fr)); gap: 0.4rem; }
.cal-months-nav a { text-align: center; padding: 0.4rem 0; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.cal-months-nav a:hover { border-color: var(--green); }
.cal-months-nav a[aria-current] { background: var(--green); border-color: var(--green); color: #fff; }
.cal-sheet { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.cal-sheet a { color: inherit; text-decoration: none; }
.cal-year-title { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; text-align: center; line-height: 1; margin-bottom: 1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.4rem; }
.landscape .cal-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem 1.2rem; }
.sheet .mini h2 { margin: 0 0 0.2rem; padding: 0; border: 0; text-align: center; font-size: 0.88rem; }
.mini table { table-layout: fixed; }
.sheet .mini th, .sheet .mini td { text-align: center; padding: 0.08rem 0; border: 0; font-size: 0.72rem; }
.sheet .mini th { color: #5b6663; font-size: 0.62rem; }
.sheet .mini td { white-space: nowrap; }
@media screen and (max-width: 40rem) { .cal-grid, .landscape .cal-grid { grid-template-columns: repeat(2, 1fr); } .hol-list, .landscape .hol-list { columns: 1; } }
.mini td.hol { font-weight: 700; background: #ffe7a3; border-radius: 3px; }
.hol-list { list-style: none; columns: 3; column-gap: 1.25rem; margin: 1.1rem 0 0; padding: 0.8rem 0 0; border-top: 2px solid #1c2321; font-size: 0.7rem; line-height: 1.45; }
.landscape .hol-list { columns: 4; }
.hol-list li { break-inside: avoid; color: #3b4542; }
.hol-list .federal { color: #1c2321; font-weight: 600; }
.hol-list b { display: inline-block; min-width: 3.2em; }
.month-big + .month-big { margin-top: 2.5rem; }
.sheet .month-big h2 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 0.5rem; padding: 0; border: 0; font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.sheet .month-big h2 span + span { color: #5b6663; font-size: 1.3rem; }
.month-big table { table-layout: fixed; }
.sheet .month-big th { text-align: center; padding: 0.3rem 0; border: 0; border-bottom: 2px solid #1c2321; }
.sheet .month-big td { height: 5.4rem; padding: 0.25rem 0.35rem; border: 1px solid #1c2321; overflow: hidden; }
.landscape .month-big td { height: 4.2rem; }
.with-notes .month-big td { height: 4.4rem; }
.with-notes.landscape .month-big td { height: 3rem; }
.sheet .month-big td.out { background: #f1f3f2; }
.day-num { display: block; font-weight: 700; font-size: 0.85rem; }
.hol-name { display: block; font-size: 0.6rem; line-height: 1.2; color: #5b6663; white-space: normal; }
.hol-name.federal { color: #14524a; font-weight: 700; }
.cal-notes { margin-top: 0.8rem; height: 6rem; padding: 0.3rem 0.45rem; border: 1px solid #1c2321; font-size: 0.72rem; font-weight: 700; color: #5b6663; }
.landscape .cal-notes { height: 4rem; }
@page landscape { size: landscape; }
.cal-sheet:not(.monday) .start-monday, .cal-sheet.monday .start-sunday,
.cal-sheet.months .layout-year, .cal-sheet:not(.months) .layout-months,
.cal-sheet:not(.with-notes) .cal-notes, .no-holidays .hol-name, .no-holidays .hol-list { display: none; }
.no-holidays .mini td.hol { background: none; font-weight: inherit; }

@page { margin: 0.6in; }
@media print {
  ins.adsbygoogle, .google-auto-placed { display: none !important; }
  body { background: none; font-size: 10.5pt; }
  .no-print { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .workspace { display: block; margin: 0; }
  .panel, .desk { border: 0; box-shadow: none; background: none; padding: 0; border-radius: 0; position: static; max-height: none; overflow: visible; display: block; }
  .sheet { box-shadow: none; padding: 0; font-size: 10.5pt; min-height: 0; border-radius: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  body:has(.cal-sheet.landscape) { page: landscape; }
  .month-big + .month-big { margin-top: 0; break-before: page; }
  .month-big { break-inside: avoid; }
  /* Day boxes sized for the smaller of Letter and A4 (A4 is narrower, Letter is shorter). */
  .sheet .month-big td { height: 1.33in; }
  .landscape .month-big td { height: 0.98in; }
  .with-notes .month-big td { height: 1.1in; }
  .with-notes.landscape .month-big td { height: 0.8in; }
  .sheet .checklist td { padding: 0.02rem 0; font-size: 9.5pt; }
  .sheet:has(.checklist) .facts { grid-template-columns: repeat(3, 1fr); }
  .sheet .checklist td:first-child { padding-top: 0.45rem; font-size: 8pt; }
  .squishy-print { width: 7in; height: 4.3in; margin: 0.3in auto 0; }
  .squishy-steps { font-size: 10pt; margin-top: 0.3in; }
}
