
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-opsz.woff2") format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-opsz-italic.woff2") format("woff2-variations"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2-variations"); font-weight: 300 900; font-style: normal; font-display: swap; }
:root {
--paper: #ffffff;
--mist: #f2f5f4;
--mist-2: #e4ebe9;
--line: #d5dfdc;
--ink: #1c2a29;
--ink-2: #4a5a58;
--teal: #3b7a75;
--teal-deep: #285955;
--teal-wash: #e3efec;
--amber: #8a5d0f;
--amber-wash: #fbf2df;
--rose: #9c3f37;
--rose-wash: #f9ebe9;
--serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
--sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
--measure: 40rem;
--wide: 76rem;
--gutter: clamp(1.1rem, 4vw, 2.5rem);
--arch: 50% 50% 6px 6px / 40% 40% 6px 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 1.1875rem; line-height: 1.65; font-optical-sizing: auto; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; font-family: var(--sans); }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.012em; margin: 0 0 .5em; }
h1, .prose h2 { text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.55rem); font-weight: 560; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.ui { font-family: var(--sans); }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.brand-name span { color: var(--teal); font-style: italic; font-weight: 500; }
.nav { font-family: var(--sans); font-size: .97rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: .35rem 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--teal); color: var(--teal-deep); }
.nav-toggle { display: none; font-family: var(--sans); font-size: .95rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem; color: var(--ink); cursor: pointer; }
@media (max-width: 980px) {
.nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
.nav { position: absolute; left: 0; right: 0; top: 4.5rem; background: var(--paper); border-bottom: 1px solid var(--line); display: none; z-index: 5; box-shadow: 0 12px 24px -18px rgba(28,42,41,.35); }
.nav.open { display: block; }
.nav ul { flex-direction: column; padding: .5rem var(--gutter) 1rem; gap: 0; }
.nav li { border-top: 1px solid var(--mist-2); }
.nav a { display: block; padding: .8rem 0; }
.site-header { position: relative; }
}
.crumbs { font-family: var(--sans); font-size: .9rem; color: var(--ink-2); margin: 1.4rem 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--teal-deep); text-decoration: underline; }
.arch { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); margin: 0; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.credit { font-family: var(--sans); font-size: .78rem; color: var(--ink-2); margin-top: .5rem; line-height: 1.4; }
.credit a { color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-weight: 600; font-size: 1rem; text-decoration: none; padding: .8rem 1.3rem; border-radius: 999px; background: var(--teal-deep); color: #fff; border: 2px solid var(--teal-deep); cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.quiet { background: transparent; color: var(--teal-deep); }
.btn.quiet:hover { background: var(--teal-wash); color: var(--ink); border-color: var(--teal-deep); }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: end; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; margin-bottom: .45em; max-width: 14ch; }
.hero .lede { font-size: 1.32rem; line-height: 1.55; color: var(--ink-2); max-width: 34rem; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero figure { max-width: 25rem; justify-self: end; width: 100%; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .hero figure { justify-self: start; max-width: 16rem; } }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-2); font-family: var(--sans); font-size: 1rem; max-width: 34rem; }
.band { background: var(--mist); }
.band + .section, .section + .band { border-top: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 1.2rem 1.4rem 0 0; }
.steps li + li { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.6rem; font-weight: 400; color: var(--teal); line-height: 1; display: block; margin-bottom: .6rem; font-variant-numeric: oldstyle-nums; }
.steps h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.steps p { font-family: var(--sans); font-size: .98rem; color: var(--ink-2); margin: 0 0 .5rem; line-height: 1.5; }
.steps a { font-family: var(--sans); font-size: .95rem; font-weight: 600; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.2rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { border-left: 0; padding-left: 0; } .steps li + li { border-top: 1px solid var(--line); margin-top: 1.2rem; } }
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.8rem 2.2rem; }
.topic { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem; align-items: start; text-decoration: none; color: var(--ink); }
.topic .arch { aspect-ratio: 4 / 5; }
.topic h3 { font-size: 1.22rem; margin: .15rem 0 .25rem; }
.topic p { font-family: var(--sans); font-size: .94rem; color: var(--ink-2); margin: 0; line-height: 1.45; }
.topic:hover h3 { color: var(--teal-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 2.4rem 2rem; }
.card { text-decoration: none; color: var(--ink); display: block; }
.card .thumb { aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: var(--mist); margin-bottom: .9rem; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.card .kicker { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--teal); margin: 0 0 .3rem; }
.card h3 { font-size: 1.25rem; line-height: 1.22; margin: 0 0 .4rem; }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.card p { font-family: var(--sans); font-size: .95rem; color: var(--ink-2); line-height: 1.5; margin: 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.feature .lead .thumb { aspect-ratio: 4 / 3; }
.feature .lead h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.feature .list { list-style: none; margin: 0; padding: 0; }
.feature .list li { border-top: 1px solid var(--line); padding: 1rem 0; }
.feature .list li:first-child { border-top: 2px solid var(--ink); }
.feature .list a { text-decoration: none; color: var(--ink); display: block; }
.feature .list h3 { font-size: 1.15rem; margin: 0 0 .25rem; }
.feature .list a:hover h3 { text-decoration: underline; }
.feature .list p { font-family: var(--sans); font-size: .93rem; color: var(--ink-2); margin: 0; line-height: 1.45; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }
.tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 2rem; }
.tools li { border-top: 1px solid var(--line); padding: 1rem 0 1.1rem; }
.tools a { text-decoration: none; color: var(--ink); display: grid; grid-template-columns: 2.2rem 1fr; gap: .2rem .8rem; }
.tools svg { width: 2.2rem; height: 2.2rem; color: var(--teal); grid-row: span 2; }
.tools strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.tools span { font-family: var(--sans); font-size: .93rem; color: var(--ink-2); line-height: 1.45; }
.tools a:hover strong { text-decoration: underline; color: var(--teal-deep); }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 6px; padding: 1.4rem 1.6rem; background: var(--paper); }
.notice svg { width: 2rem; height: 2rem; color: var(--teal); }
.notice h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.notice p { font-family: var(--sans); font-size: 1rem; color: var(--ink-2); margin: 0 0 .5rem; line-height: 1.55; }
.hub-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; padding: 1.5rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.hub-head .lede { font-size: 1.25rem; color: var(--ink-2); max-width: 38rem; }
.hub-head figure { max-width: 15rem; justify-self: end; width: 100%; }
@media (max-width: 760px) { .hub-head { grid-template-columns: 1fr; } .hub-head figure { display: none; } }
.article-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: end; padding: 1.6rem 0 2.2rem; border-bottom: 1px solid var(--line); }
.article-head .kicker { font-family: var(--sans); font-weight: 600; font-size: .95rem; margin: 0 0 .8rem; }
.article-head .kicker a { color: var(--teal); text-decoration: none; }
.article-head .dek { font-size: 1.3rem; line-height: 1.5; color: var(--ink-2); max-width: 36rem; }
.meta { font-family: var(--sans); font-size: .9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.3rem; }
.meta a { color: var(--ink-2); }
.article-head figure { max-width: 21rem; justify-self: end; width: 100%; margin: 0; }
@media (max-width: 760px) {
.article-head { grid-template-columns: 1fr; }
.article-head figure { justify-self: stretch; max-width: none; order: 2; }
.article-head .arch { aspect-ratio: 3 / 2; border-radius: 6px; }
}
.article-body { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 15rem); gap: clamp(2rem, 6vw, 5rem); justify-content: space-between; padding: 2.4rem 0 1rem; }
@media (max-width: 1000px) { .article-body { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.toc { font-family: var(--sans); font-size: .92rem; position: sticky; top: 1.5rem; align-self: start; border-top: 2px solid var(--ink); padding-top: .9rem; }
.toc p { font-weight: 700; margin: 0 0 .5rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0 0 .55rem; line-height: 1.35; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--teal-deep); text-decoration: underline; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.2em; scroll-margin-top: 1rem; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--teal); }
.prose strong { font-weight: 650; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border-top: 2px solid var(--ink); }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: .95rem; line-height: 1.45; }
.prose th { text-align: left; font-weight: 700; padding: .7rem .8rem .6rem 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.prose td { padding: .65rem .8rem .65rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose blockquote { margin: 1.8em 0; padding: 1.1rem 1.3rem; border-radius: 6px; background: var(--mist); font-family: var(--sans); font-size: 1rem; line-height: 1.55; border-left: 4px solid var(--teal); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote.c-safety { background: var(--rose-wash); border-left-color: var(--rose); }
.prose blockquote.c-vet { background: var(--amber-wash); border-left-color: var(--amber); }
.prose blockquote.c-tip, .prose blockquote.c-parents { background: var(--teal-wash); border-left-color: var(--teal); }
.prose blockquote.c-myth { background: var(--mist); border-left-color: var(--ink-2); }
.health-note { font-family: var(--sans); font-size: .95rem; line-height: 1.5; background: var(--amber-wash); border-radius: 6px; padding: .9rem 1.1rem; margin: 0 0 2rem; color: var(--ink); }
.faq { margin-top: 2.5rem; }
.faq details { border-top: 1px solid var(--line); padding: .9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; }
.sources { margin-top: 2.5rem; font-family: var(--sans); font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
.sources h2 { font-family: var(--serif); color: var(--ink); }
.sources ol { padding-left: 1.3em; }
.sources li { margin-bottom: .45rem; overflow-wrap: anywhere; }
.about-article { font-family: var(--sans); font-size: .93rem; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.2rem; line-height: 1.55; }
.site-footer { background: var(--ink); color: #dfe7e5; margin-top: 4rem; font-family: var(--sans); font-size: .95rem; }
.site-footer .wrap { padding-top: 3.2rem; padding-bottom: 2.2rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: #fff; margin: 0 0 .8rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #dfe7e5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-name span { color: #9fd0c9; }
.site-footer p { color: #b9c7c4; line-height: 1.55; }
.fineprint { border-top: 1px solid #3a4b49; margin-top: 2.4rem; padding-top: 1.4rem; font-size: .85rem; color: #a9b8b5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.page { padding: 1rem 0 2rem; }
.page .prose { margin-top: 1.5rem; }
.page-head { border-bottom: 1px solid var(--line); padding: 1.4rem 0 1.8rem; }
.page-head .lede { font-size: 1.25rem; color: var(--ink-2); max-width: 40rem; margin: 0; }
.tool { font-family: var(--sans); font-size: 1rem; line-height: 1.5; }
.tool-bar { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; position: sticky; top: 0; background: var(--paper); z-index: 2; }
.tool-bar .controls { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.progress { display: flex; align-items: center; gap: .8rem; min-width: 14rem; }
.progress .meter { flex: 1; height: .55rem; background: var(--mist-2); border-radius: 999px; overflow: hidden; }
.progress .meter span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .25s ease; }
.progress output { font-weight: 700; white-space: nowrap; }
.check-section { margin: 0 0 2rem; }
.check-section h2 { font-family: var(--serif); font-size: 1.45rem; border-bottom: 2px solid var(--ink); padding-bottom: .4rem; margin-bottom: .2rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { border-bottom: 1px solid var(--line); }
.check-list label { display: grid; grid-template-columns: 1.6rem 1fr; gap: .7rem; padding: .8rem 0; cursor: pointer; }
.check-list input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--teal-deep); }
.check-list .t { font-weight: 600; color: var(--ink); }
.check-list .why { display: block; color: var(--ink-2); font-size: .93rem; margin-top: .15rem; }
.check-list input:checked + span .t { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--teal); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; margin-left: .4rem; vertical-align: .1em; }
.tag.critical { background: var(--rose-wash); color: var(--rose); }
.tag.important { background: var(--amber-wash); color: var(--amber); }
.tag.good, .tag.essential { background: var(--teal-wash); color: var(--teal-deep); }
.result { border-radius: 6px; padding: 1.1rem 1.3rem; background: var(--teal-wash); margin: 1rem 0 2rem; }
.result h2 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 .3rem; }
.result p { margin: 0; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input[type="number"], .field input[type="text"], .field select { font: inherit; padding: .55rem .7rem; border: 1px solid #a9b9b6; border-radius: 6px; background: #fff; color: var(--ink); min-width: 0; width: 100%; }
.field .hint { font-size: .85rem; color: var(--ink-2); }
.chip-group { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font: inherit; font-size: .93rem; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.cost-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cost-table caption { text-align: left; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.cost-table td, .cost-table th { padding: .6rem .5rem .6rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cost-table th { font-weight: 600; }
.cost-table .range { color: var(--ink-2); font-size: .9rem; white-space: nowrap; }
.cost-table td.amt { width: 9rem; }
.cost-table input { font: inherit; width: 100%; padding: .4rem .5rem; border: 1px solid #a9b9b6; border-radius: 6px; }
.cost-table .note { display: block; font-size: .82rem; color: var(--ink-2); font-weight: 400; }
.totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin: 0 0 2rem; }
.totals div { border-top: 2px solid var(--ink); padding-top: .6rem; }
.totals dt { font-size: .9rem; color: var(--ink-2); }
.totals dd { margin: .1rem 0 0; font-family: var(--serif); font-size: 2rem; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 2.5rem; align-items: start; }
.calc-layout aside { position: sticky; top: 5rem; }
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } .calc-layout aside { position: static; order: -1; } }
.signals { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.2rem; }
.signal { border-top: 4px solid var(--teal); padding: .9rem 0 0; }
.signal[data-mood="anxious"] { border-top-color: var(--amber); }
.signal[data-mood="upset"] { border-top-color: var(--rose); }
.signal h3 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 .35rem; }
.signal .mood { font-size: .82rem; font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .35rem; }
.signal .mood::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--teal); }
.signal[data-mood="anxious"] .mood::before { background: #c8932e; }
.signal[data-mood="upset"] .mood::before { background: var(--rose); }
.signal p { margin: 0 0 .4rem; font-size: .95rem; }
.signal .do { color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .93rem; margin: 0 0 1.4rem; }
.chart { width: 100%; border-collapse: collapse; table-layout: fixed; }
.chart th, .chart td { border: 1px solid #9fb0ad; padding: .5rem; text-align: center; }
.chart th:first-child, .chart td:first-child { text-align: left; width: 38%; }
.chart thead th { background: var(--mist); font-size: .9rem; }
.chart td .box { display: inline-block; width: 1.3rem; height: 1.3rem; border: 2px solid var(--teal-deep); border-radius: 4px; }
.chart .task small { display: block; color: var(--ink-2); font-size: .8rem; }
.chart .weekly td.na { background: repeating-linear-gradient(135deg, #fff, #fff 6px, var(--mist) 6px, var(--mist) 12px); }
.chart-name { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 1rem; }
.band-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.6rem; }
.band-card { border-top: 2px solid var(--ink); padding-top: .8rem; }
.band-card h2 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 .3rem; }
.band-card ul { list-style: none; padding: 0; margin: .6rem 0 0; }
.band-card li { padding: .45rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .8rem; }
.sup { font-size: .8rem; font-weight: 700; white-space: nowrap; color: var(--teal-deep); }
.sup.adult { color: var(--rose); }
.sup.checks { color: var(--amber); }
.tool-sources { font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1rem; }
.tool-sources ol { padding-left: 1.2rem; }
.tool-sources li { overflow-wrap: anywhere; margin-bottom: .3rem; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print {
.site-header, .site-footer, .crumbs, .tool-bar .controls button, .no-print, .toc, .related, .skip { display: none !important; }
body { font-size: 11pt; }
.tool-bar { position: static; border: 0; }
a { color: inherit; text-decoration: none; }
.check-list label { padding: .3rem 0; }
.check-section, .band-card, .signal { break-inside: avoid; }
.chart th, .chart td { border-color: #555; }
.wrap { max-width: none; padding: 0; }
}
@media (max-width: 600px) {
.cost-table, .cost-table tbody { display: block; }
.cost-table caption { display: block; }
.cost-table tr { display: grid; grid-template-columns: 1fr 8rem; gap: .35rem .8rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.cost-table th { grid-column: 1 / -1; border: 0; padding: 0; }
.cost-table td, .cost-table td.amt { border: 0; padding: 0; width: auto; }
.totals dd { font-size: 1.7rem; }
}
.site-footer p a { text-decoration: underline; text-underline-offset: .18em; }
.cost-table tr.off input[type="number"] { background: var(--mist); color: var(--ink-2); }
.cost-table tr.off th label { font-weight: 500; }
.section:not(:first-child) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
@media print { .section { content-visibility: visible; } }
