/*
 * benefitscalculator.app: navy ink on white raised cards over a pale blue-grey page. Coral is kept for
 * one thing, the place where a benefit ends (a cliff); green for one thing, money a household keeps.
 * One face, Instrument Sans (OFL), with tabular figures so amounts line up. A household's answer reads
 * like a bank statement ("Your month"), with the money left at every pay as a sharp line beside it.
 * Text contrast is at least 7:1. Motion (count-ups, the line drawing in, the cliff's one pulse, the
 * sliding tab, cards lifting) is all off for readers who ask for less motion.
 */

@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
	--font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--navy: #0A2540;
	--navy-2: #061A2E;
	--ink: #0A2540;
	--ink-2: #3D4F63;
	--page: #F4F7FB;
	--card: #FFFFFF;
	--hair: #E3E8EF;
	--hair-2: #EEF2F7;
	--hair-3: #CBD5E1;
	--link: #0B4F9C;
	--coral: #FF5A45;
	--coral-ink: #8F1F0E;
	--coral-soft: #FFF0EE;
	--coral-line: #FFC9C1;
	--green: #0B8F5E;
	--green-ink: #055C3C;
	--green-soft: #E8F6F0;
	--amber-ink: #6B4400;
	--amber-soft: #FFF4DC;
	--blue-soft: #EAF1FB;
	--on-navy: #C9D6E5;
	--on-navy-2: #AFC2D6;
	--lift: 0 1px 1px rgba(10, 37, 64, .04), 0 3px 8px rgba(10, 37, 64, .06), 0 14px 32px rgba(10, 37, 64, .08);
	--lift-2: 0 1px 1px rgba(10, 37, 64, .05), 0 6px 14px rgba(10, 37, 64, .08), 0 24px 48px rgba(10, 37, 64, .12);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--radius: 16px;
	--stick: 20px;
	color-scheme: light;
}
@media (min-width: 1180px) { :root { --stick: 84px; } }

/* ---- Base ------------------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--page); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.55 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: rgba(11, 79, 156, .45); }
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { text-wrap: balance; color: var(--ink); }
b, strong { font-weight: 600; }
small { font-size: .82em; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 14px; background: #fff; color: var(--ink); font-weight: 600; border-radius: 8px; box-shadow: var(--lift-2); }
.skip:focus { top: 12px; }
.needs-js { display: none; }
.js .needs-js { display: revert; }
.js .no-js-only { display: none; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100%); margin-inline: auto; }
.wrap--narrow.wrap { width: min(760px, 100% - 32px); margin-left: max(16px, calc((100% - 1180px) / 2)); }
/* Text columns start where the title does, on the page's own left edge. */
.page > .wrap > .wrap--narrow { margin-left: 0; }

/* A white raised card: the one surface every part sits on. */
.card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--lift); }

/* ---- The independence line and the navy bar ---------------------------------------------------- */

.indep-bar { background: var(--navy-2); color: var(--on-navy); font-size: 14px; line-height: 1.4; padding: 8px 0; }
.indep { margin: 0; }
.indep b { color: #fff; font-weight: 600; }
.site-head { background: var(--navy); color: #fff; z-index: 30; }
@media (min-width: 1180px) { .site-head { position: sticky; top: 0; } }
.site-head__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand__mark { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #fff; box-shadow: inset 0 -2px 0 rgba(10, 37, 64, .16), 0 2px 6px rgba(0, 0, 0, .25); }
.brand__mark svg { display: block; width: 20px; height: 20px; }
.brand__line { stroke-dasharray: 40; stroke-dashoffset: 0; }
.site-nav { margin-left: auto; min-width: 0; }
.site-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--on-navy); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; transition: background-color .2s, color .2s; }
.site-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
@media (max-width: 1179px) {
	.site-head__row { padding-top: 10px; }
	.site-nav { flex: 1 1 100%; margin: 6px -16px 0; }
	.site-nav ul { overflow-x: auto; scrollbar-width: none; padding: 0 12px 8px; }
	.site-nav ul::-webkit-scrollbar { display: none; }
}

/* ---- Page heads -------------------------------------------------------------------------------- */

.hero, .page-head { padding: 44px 0 30px; }
.page--state .page-head, .page--tool .page-head { padding-bottom: 24px; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); }
.kicker__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--coral); }
.hero__title, .page-head__title { margin: 0 0 16px; font-weight: 700; font-size: clamp(34px, 2.6vw + 18px, 56px); line-height: 1.04; letter-spacing: -.035em; max-width: 980px; }
.page-head__title { font-size: clamp(32px, 2vw + 18px, 50px); }
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--coral); border-radius: 2px; transform-origin: left; animation: grow .7s .6s var(--ease) both; }
.lede { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 46em; text-wrap: pretty; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--hair-3); }
.crumbs a { color: var(--ink-2); }
.page-head__top { display: grid; gap: 22px; }
/* The page's picture sits right under its title at every width (the owner's rule for every page). */
.bca-figure { margin: 0; max-width: 760px; }
.home .bca-figure { max-width: 600px; }
.bca-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hair); background: var(--card); box-shadow: var(--lift); }
.bca-figure figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* The calculator's own band, under the head. */
.tool-band { padding: 4px 0 40px; }
.band__h { margin: 0 0 16px; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.hero__note { margin: 22px 0 0; max-width: 60em; font-size: 15px; color: var(--ink-2); }

/* ---- Sections and prose ------------------------------------------------------------------------ */

.section { padding: 56px 0; }
.section--band { background: var(--card); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.section__title { margin: 0 0 18px; font-weight: 700; font-size: clamp(26px, 1.2vw + 20px, 34px); line-height: 1.12; letter-spacing: -.025em; }
.page .prose { padding: 34px 0 48px; }
.prose > * { max-width: 100%; }
.prose { font-size: 17.5px; line-height: 1.65; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; text-wrap: pretty; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--ink-2); }
.prose h2 { margin: 1.9em 0 .55em; font-weight: 700; font-size: clamp(25px, 1vw + 20px, 31px); line-height: 1.15; letter-spacing: -.022em; scroll-margin-top: calc(var(--stick) + 8px); }
.prose h3 { margin: 1.5em 0 .4em; font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; scroll-margin-top: calc(var(--stick) + 8px); }
.prose > h2:first-child { margin-top: .2em; }
.prose .lead { font-size: 19px; }
.prose blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 3px solid var(--navy); background: var(--card); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.prose code { font-size: .92em; padding: 1px 5px; border-radius: 5px; background: var(--hair-2); }
.prose hr { border: 0; border-top: 1px solid var(--hair); margin: 2em 0; }
.answer-box { margin: 0 0 1.4em; padding: 18px 20px; background: var(--card); border: 1px solid var(--hair); border-left: 4px solid var(--navy); border-radius: 12px; box-shadow: var(--lift); }
.answer-box p:last-child { margin-bottom: 0; }
.page-meta { margin: 34px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 14.5px; color: var(--ink-2); }
.cite { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.cite a { color: var(--ink-2); }
.sources { font-size: 16px; }
.note { padding: 14px 18px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-ink); border: 1px solid #F3DFA8; }
.warn { padding: 14px 18px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-ink); border: 1px solid var(--coral-line); }
.dl-link { font-size: 15px; }
.more { font-weight: 600; }
.tbl-note, .table-note { margin: -4px 0 16px; font-size: 14.5px; color: var(--ink-2); }

/* The page's sections beside the text on a wide screen. */
.with-map { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
	.with-map { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
	.with-map__side { position: sticky; top: calc(var(--stick) + 10px); padding-top: 38px; max-height: calc(100vh - var(--stick) - 20px); overflow: auto; }
	.with-map .wrap--narrow { margin-inline: 0; }
	.with-map .prose .route--toc { display: none; }
}
@media (max-width: 1099px) { .with-map__side { display: none; } }

/* ---- Lists of steps: "On this page", the topic maps and the site's pages ------------------------ */

.route { margin: 1.4em 0; }
.route ol { margin: 0; padding: 0; list-style: none; }
.route__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.route .bullet { display: none; }
.route .stop { position: relative; margin: 0; padding: 0 0 12px 26px; }
.route .stop::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--hair); }
.route .stop--first::before { top: 10px; }
.route .stop--last::before { bottom: auto; height: 10px; }
.stop__dot { position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--hair-3); transition: border-color .2s, background-color .2s; }
.stop__name { font-weight: 600; }
.stop__note { display: block; font-size: 15px; color: var(--ink-2); }
.route a { text-decoration: none; color: inherit; }
.route a:hover .stop__name { text-decoration: underline; }
.route a:hover .stop__dot { border-color: var(--navy); }
.route--toc .stop__name { font-weight: 500; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.route--toc a[aria-current] .stop__dot { background: var(--navy); border-color: var(--navy); }
.route--toc a[aria-current] .stop__name { color: var(--ink); font-weight: 600; }
.prose .route--toc { padding: 18px 18px 8px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--lift); }
.route--map { padding: 20px 20px 8px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--lift); }
.route--map .stop__dot { border-color: var(--navy); }
.route--map .stop:last-child .stop__dot { border-color: var(--coral); background: var(--coral); }
.maps { display: grid; gap: 16px; }
@media (min-width: 760px) { .maps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Forms ------------------------------------------------------------------------------------ */

.field { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.field__label small, .fold summary small { font-weight: 500; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-left: 4px; }
.field__hint { display: block; margin: 5px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.box { display: flex; align-items: center; min-width: 0; height: 48px; padding: 0 14px; gap: 8px; background: #fff; border: 1px solid var(--hair-3); border-radius: 10px; box-shadow: inset 0 1px 2px rgba(10, 37, 64, .04); transition: border-color .2s, box-shadow .2s; }
.box:hover { border-color: #9AAAC0; }
.box:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 37, 64, .10); }
.box__pre { color: var(--ink-2); font-weight: 600; }
.box__post { margin-left: auto; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.box__in { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); font: 600 17px/1.2 var(--font); font-variant-numeric: tabular-nums; }
.box__in:focus { outline: none; }
.box__in::placeholder { color: #7D8DA1; font-weight: 400; }
.box--select { padding: 0; }
select.box__in { appearance: none; -webkit-appearance: none; padding: 0 38px 0 14px; cursor: pointer; font-weight: 500; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; text-overflow: ellipsis; }
.tick { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 15.5px; line-height: 1.35; cursor: pointer; }
.tick input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--navy); }
.flags { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.flags--have { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 18px; margin: 4px 0 14px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
.fold { margin: 6px 0 4px; }
.fold > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14.5px; color: var(--ink); padding: 6px 0; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(-45deg); transition: transform .2s var(--ease); margin-right: 2px; }
.fold[open] > summary::before { transform: rotate(45deg); }
.fold__body { padding-top: 10px; }
.btn, .add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 13px; border: 1px dashed #B8C4D3; border-radius: 9px; background: #fff; color: var(--navy); font: 600 14px var(--font); cursor: pointer; text-decoration: none; transition: border-color .2s, background-color .2s; }
.btn:hover, .add:hover { border-style: solid; background: var(--blue-soft); }

/* ---- The calculator ---------------------------------------------------------------------------- */

.calc { container: bcacalc / inline-size; }
.calc__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
@container bcacalc (min-width: 940px) {
	.calc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
	.calc__form.is-sticky { position: sticky; top: var(--stick); }
}
@container bcacalc (min-width: 520px) {
	.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.calc__form { padding: 22px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: var(--lift); min-width: 0; }

/* The four parts as tabs, with a white pill that slides under the chosen one. */
.tabs { display: none; position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 4px; margin: 0 0 20px; background: var(--hair-2); border-radius: 11px; }
.calc.is-ready .tabs { display: grid; }
.tabs__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 4); background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(10, 37, 64, .14), 0 2px 6px rgba(10, 37, 64, .06); transition: transform .35s var(--ease); }
.tab { position: relative; z-index: 1; min-height: 38px; padding: 8px 2px; border: 0; background: none; border-radius: 8px; font: 600 14px/1.15 var(--font); color: var(--ink-2); cursor: pointer; transition: color .2s; }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); }
/* The tabs work only once the calculator's script runs; until then all four parts show, each with its heading. */
.calc.is-ready .pane { display: none; }
.calc.is-ready .pane.is-on { display: block; animation: fade .35s var(--ease); }
.pane + .pane { margin-top: 22px; }
.calc.is-ready .pane + .pane { margin-top: 0; }
.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.step__h { padding: 0; margin: 0 0 14px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.calc.is-ready .step__h { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.step > .field__hint { margin: 0 0 12px; }
.pane__next { display: none; margin: 18px 0 0; text-align: right; }
.calc.is-ready .pane__next { display: block; }
.next-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font: 600 15px var(--font); cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.next-tab::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.next-tab:hover { background: #12365C; }
.calc__private { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--hair-2); font-size: 14px; color: var(--ink-2); }
.calc__private svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* People: each one a row with a round badge (their age, or "You"). */
.people, .earners { display: grid; gap: 10px; margin: 0 0 10px; }
.person, .earner { padding: 12px 14px; border: 1px solid var(--hair); border-radius: 12px; background: #FBFCFE; transition: border-color .2s, background-color .2s; min-width: 0; }
.person:hover, .earner:hover, .person:focus-within, .earner:focus-within { border-color: #C7D2E0; background: #fff; }
.person__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.av { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--navy); font-weight: 700; font-size: 13px; letter-spacing: -.01em; }
.person__who { min-width: 0; line-height: 1.25; }
.person__who b { display: block; font-weight: 600; }
.person__who small { display: block; color: var(--ink-2); font-size: 13.5px; }
.person__amt { margin-left: auto; font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.person__x { flex: none; min-height: 32px; padding: 0 10px; border: 1px solid var(--hair); border-radius: 8px; background: #fff; color: var(--ink-2); font: 500 13.5px var(--font); cursor: pointer; }
.person__amt:empty + .person__x { margin-left: auto; }
.person__x:hover { border-color: var(--hair-3); color: var(--ink); }
.person__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 18px; margin-top: 12px; }
.field--age { width: 92px; margin: 0; flex: none; }
.person__row .flags { flex: 1 1 220px; padding-top: 4px; gap: 8px 16px; }
.person .fold { margin-top: 8px; border-top: 1px solid var(--hair-2); padding-top: 4px; }
.exempt { display: grid; gap: 8px; margin-top: 4px; }
.exempt > .field__hint { margin: -2px 0 4px; }
.earner .pair, .earner > .field { margin-top: 12px; }
.earner .fold { margin-top: 0; }
.pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 9.5em); gap: 8px; }
/* Pay and hours side by side only when the person's box is wide enough for both. */
.earner { container: earner / inline-size; }
.earner .pair[data-w="pay"] { grid-template-columns: minmax(0, 1fr); }
@container earner (min-width: 600px) { .earner .pair[data-w="pay"] { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.pay .box--select select { font-size: 15px; }
.adds { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }

/* ---- The answer: Your month, as a statement ----------------------------------------------------- */

.calc__out { display: grid; gap: 18px; min-width: 0; }
.month { position: relative; overflow: hidden; padding: 22px 22px 8px; border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 20px 44px rgba(10, 37, 64, .30); }
.month__k { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; color: var(--on-navy-2); }
.month__dot { width: 7px; height: 7px; border-radius: 50%; background: #6EE7B7; }
.month__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 6px 0 4px; }
.month__big strong { font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -.035em; color: #fff; }
.month__big span { color: var(--on-navy-2); font-size: 16px; }
.month__big--start strong { font-size: 34px; letter-spacing: -.025em; }
.month__sub { margin: 0 0 14px; color: var(--on-navy); font-size: 15px; line-height: 1.5; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
/* The statement's lines come in one after another, the first time an answer is shown. */
.month.is-first .feed li { animation: fade .45s var(--ease) both; }
.month.is-first .feed li:nth-child(2) { animation-delay: .06s; } .month.is-first .feed li:nth-child(3) { animation-delay: .12s; } .month.is-first .feed li:nth-child(4) { animation-delay: .18s; } .month.is-first .feed li:nth-child(5) { animation-delay: .24s; } .month.is-first .feed li:nth-child(n+6) { animation-delay: .3s; }
.ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); color: #fff; }
.ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feed__what { min-width: 0; line-height: 1.25; }
.feed__what small { display: block; color: var(--on-navy-2); font-size: 13px; margin-top: 1px; }
.feed__v { margin-left: auto; padding-left: 8px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.feed__v.is-plus { color: #7EEBC0; }
.feed__v.is-minus { color: #FFB4A8; }
.feed__total .feed__what { font-weight: 700; }
.feed__total .feed__v { font-weight: 700; font-size: 19px; color: #fff; }
.month__note { margin: 0; padding: 10px 0 12px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 13px; color: var(--on-navy-2); }

/* ---- Cards in the answer ----------------------------------------------------------------------- */

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 7px; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tag--cliff { background: var(--coral-soft); color: var(--coral-ink); }
.tag--clear, .tag--yes { background: var(--green-soft); color: var(--green-ink); }
.tag--plain, .tag--no { background: var(--hair-2); color: var(--ink-2); }
.tag--wait { background: var(--amber-soft); color: var(--amber-ink); }
.cliff-card, .raise, .notice { padding: 20px 22px; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.cliff-card:hover, .raise:hover { box-shadow: var(--lift-2); transform: translateY(-2px); }
.cliff-card h3 { margin: 10px 0 4px; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.cliff-card > p, .notice p { margin: 0; color: var(--ink-2); font-size: 16px; }
.notice p + p { margin-top: 8px; }
.notice .tag { margin-bottom: 10px; }

/* The line: money left each month at every pay. */
.chart { position: relative; margin-top: 14px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); touch-action: pan-y; }
.chart__grid line, .ex-chart__grid line { stroke: var(--hair-2); stroke-width: 1; }
.chart__grid line.zero, .ex-chart__grid line.zero { stroke: var(--hair-3); }
.chart__grid text, .ex-chart__grid text { fill: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.chart__area, .ex-chart__area { fill: var(--navy); fill-opacity: .06; transition: opacity 1s 1s; }
.chart__line, .ex-chart__line { fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.chart__line.is-drawing { transition: stroke-dashoffset 1.6s var(--ease); }
.chart__marks.is-drawing { transition: opacity .5s 1.3s; }
.chart__drop, .ex-chart__drop { stroke: var(--coral); stroke-width: 3.2; stroke-linecap: round; }
.chart__cliff, .ex-chart__dot { fill: var(--coral); }
.chart__ring { fill: none; stroke: var(--coral); stroke-width: 2; opacity: 0; animation: ripple 1.6s var(--ease) 1; }
.chart__tag, .ex-chart__tag { fill: var(--coral-soft); }
.chart__tag-t, .ex-chart__tag-t { fill: var(--coral-ink); font-size: 13px; font-weight: 600; }
.chart__you { fill: var(--navy); }
.chart__you-t { fill: #fff; font-size: 13px; font-weight: 600; }
.chart__now { fill: #fff; stroke: var(--navy); stroke-width: 2.6; }
.chart__raise { fill: var(--green); stroke: #fff; stroke-width: 2.5; transition: cx .25s var(--ease), cy .25s var(--ease), opacity .2s; }
.chart__floor { stroke: var(--coral-ink); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart__floor-t { fill: var(--coral-ink); font-size: 12px; font-weight: 600; }
.chart__hover { stroke: #9AAAC0; stroke-dasharray: 3 3; }
.chart__tip { position: absolute; left: 0; z-index: 2; pointer-events: none; padding: 7px 10px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 13px; white-space: nowrap; transform: translateY(-125%); opacity: 0; transition: opacity .15s; box-shadow: 0 6px 16px rgba(10, 37, 64, .25); }
.chart__tip.is-on { opacity: 1; }
.chart__tip b { font-weight: 600; }
.legend, .example__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.key { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; background: var(--navy); }
.key--line { height: 3px; vertical-align: 3px; }
.key--cliff { background: var(--coral); }
.key--raise { background: var(--green); border-radius: 50%; }
.key--floor { height: 0; border-top: 2px dashed var(--coral-ink); background: none; vertical-align: 3px; }
.chart__notes { margin: 8px 0 0; padding-left: 1.1em; font-size: 14px; color: var(--ink-2); }
.fold--numbers { margin-top: 12px; border-top: 1px solid var(--hair-2); padding-top: 6px; }
.fold--numbers .table-wrap { margin: 6px 0 0; max-height: 360px; overflow: auto; }

/* What a raise leaves: a slider that asks the rules each time it moves. */
.raise h3 { margin: 0 0 4px; font-size: 18px; }
.raise h3 label { cursor: pointer; }
.raise__hint { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.slider { display: flex; align-items: center; gap: 14px; }
.slider output { min-width: 128px; line-height: 1.15; }
.slider output b { display: block; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.slider output small { display: block; color: var(--ink-2); font-size: 13px; }
.slider input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 6px; margin: 0; border-radius: 6px; background: linear-gradient(var(--navy), var(--navy)) 0 / var(--p, 4%) 100% no-repeat, #DCE3EC; cursor: pointer; }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-shadow: 0 2px 6px rgba(10, 37, 64, .25); cursor: grab; transition: transform .15s; }
.slider input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-shadow: 0 2px 6px rgba(10, 37, 64, .25); cursor: grab; }
.slider input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.slider input[type=range]:focus-visible { outline: 3px solid var(--link); outline-offset: 6px; }
.keep { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--hair-2); color: var(--ink-2); font-size: 16px; transition: background-color .3s, color .3s; }
.keep p { margin: 0; }
.keep.is-ok { background: var(--green-soft); color: #064E35; }
.keep.is-bad { background: var(--coral-soft); color: #7A1E12; }
.keep b { font-weight: 700; }
.keep__lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; margin: 10px 0 0; font-size: 15px; }
.keep__lines dt { margin: 0; }
.keep__lines dd { margin: 0; text-align: right; font-weight: 600; }

/* ---- Where each benefit ends: one ruler ---------------------------------------------------------- */

.calc__more { min-width: 0; }
.ruler-sec { padding: 40px 0 6px; }
.sec-h { margin: 0 0 6px; font-size: clamp(24px, 1vw + 18px, 30px); line-height: 1.15; letter-spacing: -.025em; }
.sec-p { margin: 0 0 18px; color: var(--ink-2); max-width: 46em; }
.ruler { padding: 22px 22px 16px; }
.track { position: relative; }
.track__axis { display: none; }
.track__ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.track__ticks span { position: static; }
.pins { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pin { display: flex; align-items: flex-start; gap: 10px; }
.pin__stem { width: 10px; height: 10px; flex: none; margin-top: 8px; border-radius: 50%; background: var(--hair-3); }
.pin__lab { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--hair); box-shadow: 0 2px 6px rgba(10, 37, 64, .06); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.pin__lab small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-2); }
.pin--cl .pin__lab { border-color: var(--coral-line); background: var(--coral-soft); color: var(--coral-ink); }
.pin--cl .pin__lab small { color: var(--coral-ink); }
.pin--cl .pin__stem { background: var(--coral); }
.pin--you .pin__lab { background: var(--navy); border-color: var(--navy); color: #fff; }
.pin--you .pin__lab small { color: var(--on-navy); }
.pin--you .pin__stem { background: var(--navy); }
.pin--floor .pin__lab { border-style: dashed; border-color: var(--coral-ink); }
.pin--floor .pin__stem { background: var(--coral-ink); }
/* On a wide card the labels sit on lanes above and below the line, each on a stem to its dollar. */
.track.is-wide { min-height: 150px; }
.track.is-wide .track__axis { display: block; position: absolute; left: 0; right: 0; height: 8px; border-radius: 8px; background: #DCE3EC; overflow: hidden; }
.track__fill { height: 100%; width: 0; border-radius: 8px; background: var(--navy); transition: width 1.2s var(--ease); }
.track.is-wide .pins { display: block; }
.track.is-wide .pin { display: block; }
.track.is-wide .pin__stem { position: absolute; width: 2px; margin: 0; border-radius: 0; background: #B8C4D3; }
.track.is-wide .pin--cl .pin__stem { background: var(--coral); }
.track.is-wide .pin--you .pin__stem { background: var(--navy); }
.track.is-wide .pin--floor .pin__stem { background: none; border-left: 2px dashed var(--coral-ink); }
.track.is-wide .pin__lab { position: absolute; white-space: nowrap; }
.track.is-wide .pin { opacity: 0; transition: opacity .5s var(--ease); }
.track.is-wide .pin.is-shown { opacity: 1; }
.track.is-wide .track__ticks { position: absolute; left: 0; right: 0; display: block; height: 18px; margin: 0; }
.track.is-wide .track__ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.track.is-wide .track__ticks span:first-child { transform: none; }
.track.is-wide .track__ticks span:last-child { transform: translateX(-100%); }

/* ---- What you can likely get: a card for each program -------------------------------------------- */

.progs { padding: 34px 0 6px; }
.progs__h { margin: 26px 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@container bcacalc (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container bcacalc (min-width: 940px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prog { display: flex; flex-direction: column; padding: 18px; min-width: 0; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.prog:hover { box-shadow: var(--lift-2); transform: translateY(-2px); }
.prog__top { display: flex; align-items: center; gap: 12px; }
.prog .ic { background: var(--blue-soft); box-shadow: none; color: var(--navy); }
.prog__name { margin: 0; min-width: 0; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; }
.prog__also { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.st { margin-left: auto; flex: none; padding: 5px 8px; border-radius: 6px; font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.st--yes { background: var(--green-soft); color: var(--green-ink); }
.st--maybe { background: var(--amber-soft); color: var(--amber-ink); }
.st--unknown { background: #fff; color: var(--ink-2); border: 1px dashed var(--hair-3); }
.st--no { background: var(--hair-2); color: var(--ink-2); }
.prog__amount { margin: 16px 0 6px; font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -.025em; }
.prog__amount small { margin-left: 2px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.prog__amount .prog__pre { margin: 0 4px 0 0; font-size: 15px; }
.prog__upto { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.prog__upto b { color: var(--ink); font-weight: 600; }
.prog__amount--words { font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.prog__why { margin: 10px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.prog__why li + li { margin-top: 6px; }
.prog__notes { margin: 12px 0 0; padding: 10px 12px; list-style: none; border-radius: 10px; background: var(--blue-soft); font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.prog__notes li + li { margin-top: 4px; }
/* What the rules do in a case the answer cannot settle, folded under a card's reasons. */
.prog__more { margin: 10px 0 0; border-top: 1px solid var(--hair-2); padding-top: 4px; }
.prog__more > summary { font-size: 14px; }
.prog__more .prog__why { margin-top: 2px; font-size: 14px; }
.notice .prog__more + p { margin-top: 12px; }
.notice .prog__more { margin-top: 12px; }
/* The answers to what people believe keeps them out, beside the boxes. */
.field__hint.myth { margin: 10px 0 2px; padding: 9px 12px; border-radius: 10px; background: var(--blue-soft); color: var(--ink-2); }
.field__hint.myth b { color: var(--ink); font-weight: 600; }
.field__hint.myth a { color: var(--ink-2); }
.keep .keep__rule { margin: 10px 0 0; font-size: 15px; }
.meter { margin-top: auto; padding-top: 14px; }
.meter__bar { height: 6px; border-radius: 6px; background: var(--hair-2); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--navy); transition: width 1.1s var(--ease); }
.meter__cap { display: flex; justify-content: space-between; gap: 8px; margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.meter__cap b { color: var(--coral-ink); font-weight: 700; }
.prog__links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--hair-2); font-size: 14.5px; font-weight: 500; }
.meter + .prog__links { margin-top: 12px; }
.prog__status { margin: 12px 0 0; padding: 7px 10px; border-radius: 8px; background: var(--amber-soft); color: var(--amber-ink); font-size: 13.5px; line-height: 1.4; }
.prog__status--open { background: var(--green-soft); color: var(--green-ink); }
.prog__status b { font-weight: 700; }
.prog__line { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.prog__line > a { font-size: 14.5px; font-weight: 600; }
.prog__src { font-size: 12.5px; color: var(--ink-2); }
.prog__status .prog__src { font-size: inherit; color: inherit; }
.pgrid--no .prog { padding: 14px 16px; box-shadow: none; }
.pgrid--no .prog:hover { transform: none; box-shadow: var(--lift); }
.pgrid--no .prog__name { font-size: 16px; }
.pgrid--no .ic { width: 30px; height: 30px; }
.calc__foot { margin: 22px 0 0; font-size: 14px; color: var(--ink-2); }

/* The peek bar on phones: the answer in one line while the form is being filled in. */
.peek { display: none; }
@media (max-width: 999px) {
	.peek:not([hidden]) { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; margin: 0; animation: peek .5s var(--ease) both; }
	.peek a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--navy); color: #fff; text-decoration: none; font-size: 15px; box-shadow: 0 10px 30px rgba(10, 37, 64, .35); }
	.peek strong { font-weight: 700; }
	.peek__c { margin-left: auto; color: #FFB4A8; font-size: 14px; white-space: nowrap; }
}

/* ---- When a raise reaches each benefit (in the raise card) --------------------------------------- */

.when { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--hair-2); }
.when__h { margin: 0 0 10px; font-size: 17px; letter-spacing: -.01em; }
.when__month { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 8px; }
.when__month .field__label { margin: 0; }
.when__month .box { height: 42px; min-width: 0; flex: 0 1 200px; }
.when__month select.box__in { font-size: 15px; }
.when__intro, .when__wait { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-2); }
.when__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.when__p { padding: 12px 14px; border: 1px solid var(--hair); border-radius: 12px; background: #FBFCFE; min-width: 0; }
.when__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 6px; font-weight: 700; font-size: 15.5px; }
.when__steps { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.45; }
.when__steps li { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 10px; }
.when__steps b { font-weight: 600; white-space: nowrap; }
.when__nodate { color: var(--ink-2); font-weight: 500 !important; }
.when__if { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.when__cite, .keep-cite { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }
.when__cite a, .keep-cite a { color: var(--ink-2); }
.when__more { margin: 12px 0 0; font-size: 14.5px; font-weight: 600; }
@media (max-width: 420px) { .when__steps li { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---- Keeping benefits: the notice-and-deadline calculator, the planner, the checklists ---------- */

.keep-tool { container: keeptool / inline-size; }
.keep-tool__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
@container keeptool (min-width: 940px) { .keep-tool__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .keep-form { position: sticky; top: var(--stick); } }
@container keeptool (min-width: 520px) { .keep-tool .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.keep-form .step__h { margin-bottom: 16px; }
.keep-form .fold { margin: 2px 0 10px; }
.keep-set { display: grid; gap: 8px; margin: 4px 0 14px; }
.keep-set .tick { font-size: 15px; }
.box--date input[type=date] { min-width: 0; font-size: 16px; -webkit-appearance: none; appearance: none; background: transparent; }
.box--date input[type=date]::-webkit-date-and-time-value { text-align: left; }
.keep-out { display: grid; gap: 16px; min-width: 0; }
.keep-sum__big strong { font-size: clamp(28px, 2.4vw + 14px, 38px) !important; letter-spacing: -.03em; line-height: 1.1; }
.keep-sec { display: grid; gap: 12px; min-width: 0; }
.keep-sec .progs__h { margin: 10px 0 0; }
.keep-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.keep-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px; min-width: 0; }
.keep-item.is-past { opacity: .72; }
.keep-date { display: grid; justify-items: center; align-content: start; align-self: start; gap: 1px; width: 64px; padding: 8px 0 7px; border-radius: 12px; background: var(--navy); color: #fff; line-height: 1; }
.keep-date__m { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy); }
.keep-date__d { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 3px 0 2px; }
.keep-date__w { font-size: 12px; color: var(--on-navy-2); }
.keep-date--none { background: var(--hair-2); color: var(--ink-2); padding: 14px 0; }
.keep-date.is-past { background: var(--hair-3); color: var(--ink); }
.keep-date.is-past .keep-date__m, .keep-date.is-past .keep-date__w { color: var(--ink-2); }
.keep-item--keep .keep-date { background: var(--green-ink); }
.keep-item--risk .keep-date--none { background: var(--coral-soft); color: var(--coral-ink); }
.keep-item__body { min-width: 0; }
.keep-item__body > p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.keep-item__top { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; }
.keep-item__h { margin: 8px 0 0; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.keep-item__when { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 600; color: var(--link); letter-spacing: 0; }
.keep-item--keep .keep-item__when { color: var(--green-ink); }
.keep-item__roll { padding: 8px 10px; border-radius: 8px; background: var(--blue-soft); font-size: 14px !important; }
.keep-state { font-size: 14.5px !important; font-weight: 500; }
.keep-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 0; }
.keep-actions .btn { border-style: solid; min-height: 44px; font-size: 15px; }
.keep-actions .btn:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.keep-actions .btn:first-child:hover { background: #12365C; }
.keep-notes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@container keeptool (min-width: 1100px) { .keep-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.keep-note { padding: 16px 18px; min-width: 0; }
.keep-note > .keep-item__h:first-child { margin-top: 0; }
.keep-note > p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.keep-check, .keep-rights { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.keep-check li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
.keep-check__box { font-size: 18px; line-height: 1.2; color: var(--ink-2); }
.keep-rights li { padding-left: 14px; border-left: 3px solid var(--hair); }
.keep-rights b { font-weight: 600; }
.keep-quick { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--hair-2); }
.keep-quick > .keep-item__h { margin: 0 0 10px; }
.keep-quick .box { background: #fff; }
.keep-quick__out { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.keep-quick__out.is-ok { background: var(--green-soft); color: var(--green-ink); }
.keep-sheet__sub { margin: 6px 0 10px !important; }
.keep-sheet .ask__sec h5 { margin: 14px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.keep-sheet .ask__sec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; line-height: 1.45; }
.keep-sheet .ask__sec li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
.keep-log { margin: 8px 0 0; box-shadow: none; }
.keep-log .tbl { min-width: 540px; table-layout: fixed; font-size: 13.5px; }
.keep-log td { height: 38px; border-left: 1px solid var(--hair-2); }
.keep-log thead th { font-size: 12.5px; }
.print-sheet { display: none; }
@media (max-width: 640px) {
	.keep-item { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px; }
	.keep-date { width: 52px; }
	.keep-date__d { font-size: 22px; }
	.keep-note { padding: 14px 16px; }
}

/* ---- Finding your way: phone numbers, hearings, payment days, local help, scam lines -------------- */

.dir { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 18px 0 8px; }
@media (min-width: 700px) { .dir { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dir__card { padding: 18px 18px 14px; min-width: 0; }
.dir__card--main, .dir__card--ebt, .dir__card--wide { grid-column: 1 / -1; }
.prose .dir__k, .dir__k { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.prose .dir__h, .dir__h { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.prose .dir__by, .dir__by { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.dir__list { margin: 12px 0 0; padding: 0; display: grid; gap: 0; }
.dir__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--hair-2); }
.dir__row dt { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); padding-top: 2px; }
.dir__row dd { margin: 0; min-width: 0; font-size: 15.5px; line-height: 1.45; }
.dir__line { display: block; overflow-wrap: anywhere; }
.dir__line + .dir__line, .dir__line--more { margin-top: 4px; font-size: 14.5px; }
.dir__tel { font-weight: 700; font-size: 17px; white-space: nowrap; letter-spacing: .005em; }
.dir__line--more .dir__tel { font-size: 15px; }
.dir__what { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }
.dir__line > .dir__what { display: inline; margin: 0 0 0 4px; }
.dir__what--text { font-size: 15px; color: var(--ink); }
.dir__what--text a[href^="tel:"] { white-space: nowrap; }
.dir__host { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.dir__src { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.dir__src a { color: var(--ink-2); }
.dir__quote { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.dir__quote::before { content: "\201C"; } .dir__quote::after { content: "\201D"; }
.prose .dir__foot, .dir__foot { margin: 0; padding-top: 2px; }
.dir__row .st { margin-left: 0; }
.dir__row .tag { white-space: normal; }
.scam-line { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--coral); border-radius: 0 10px 10px 0; background: var(--coral-soft); color: var(--coral-ink); font-size: 15px; line-height: 1.45; }
.scam-line b { font-weight: 700; }
.scam-line a { color: var(--coral-ink); font-weight: 600; }
.prose > .scam-line { margin: 0 0 1em; }
.tbl--pay tr.is-moved th, .tbl--pay tr.is-moved td { background: var(--amber-soft); }
.tbl--pay td small { display: block; font-size: 12px; color: var(--amber-ink); }
.tbl--pay td.is-past { color: var(--ink-2); opacity: .55; }
.tbl--ss thead th { white-space: normal; }
.tbl--ss th, .tbl--ss td { padding-left: 10px; padding-right: 10px; }
.tbl--ss tbody th { white-space: nowrap; }
.tbl--days td { white-space: nowrap; }
.table-wrap--days { max-height: 420px; overflow-y: auto; }
.days-pick { max-width: 420px; margin: 18px 0 14px; }
.days-list { display: grid; gap: 8px; }
.days { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; box-shadow: var(--lift); }
.days > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
.days > summary::-webkit-details-marker { display: none; }
.days > summary::before { content: ""; flex: none; align-self: center; width: 7px; height: 7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(-45deg); margin-right: 4px; transition: transform .2s; }
.days[open] > summary::before { transform: rotate(45deg); }
.days__name { font-weight: 600; font-size: 16.5px; }
.days__sum { font-size: 14px; color: var(--ink-2); }
.days__sum--no { font-style: italic; }
.days__body { padding: 0 16px 14px; border-top: 1px solid var(--hair-2); }
.prose .days__body p { margin: 10px 0 0; }
.days__when { font-size: 16px; }
.prose .days__q, .days__q { margin: 10px 0 0; padding: 10px 14px; border-left: 3px solid var(--navy); border-radius: 0 10px 10px 0; background: var(--page); font-size: 15px; color: var(--ink); }
.prose .days__q p, .days__q p { margin: 0; }
.days__q p::before { content: "\201C"; } .days__q p::after { content: "\201D"; }
.days__sub { margin-top: 14px !important; }
.notice--pay { margin: 18px 0; }
.help-list { padding-left: 1.1em; }
@media (max-width: 640px) {
	.dir__card { padding: 16px 14px 12px; }
	.dir__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.dir__row dt { padding-top: 0; }
	.tbl--ss th, .tbl--ss td { padding-left: 8px; padding-right: 8px; font-size: 14px; }
}

/* ---- Tables -------------------------------------------------------------------------------------- */

.table-wrap { margin: 18px 0; overflow-x: auto; background: var(--card); border: 1px solid var(--hair); border-radius: 14px; box-shadow: var(--lift); }
.table-wrap--tall { max-height: 640px; overflow-y: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tbl caption { padding: 14px 16px 10px; text-align: left; font-weight: 600; font-size: 15px; line-height: 1.4; caption-side: top; color: var(--ink); }
.tbl th, .tbl td { padding: 10px 14px; border-top: 1px solid var(--hair-2); text-align: left; vertical-align: top; }
.tbl thead th { position: sticky; top: 0; z-index: 1; background: var(--navy); color: #fff; font-weight: 600; font-size: 13.5px; letter-spacing: .01em; border-top: 0; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl tbody th { font-weight: 600; }
.tbl--limits tbody th { min-width: 140px; }
.tbl--limits th, .tbl--limits td { padding-left: 8px; padding-right: 8px; }
.tbl--limits th:first-child { padding-left: 14px; }
.tbl tbody th .card__also { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-2); }
.tbl tbody tr:hover > * { background: #F7F9FC; }
.fold--numbers .tbl thead th { background: var(--hair-2); color: var(--ink); }

/* ---- A state's worked example ---------------------------------------------------------------------- */

.example { margin: 1em 0; padding: 18px 20px 16px; }
.example__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 6px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.ex-chart { display: block; width: 100%; height: auto; margin-top: 8px; font-family: var(--font); overflow: visible; }
.ex-chart--narrow { display: none; }
@media (max-width: 600px) { .ex-chart--wide { display: none; } .ex-chart--narrow { display: block; } }
.prose .cliff-list, .prose .tiles, .prose .signs, .prose .post-list { padding-left: 0; }
.cliff-list { padding: 0; list-style: none; }
.cliff-list li { position: relative; padding: 10px 14px 10px 30px; margin: 0 0 8px; background: var(--card); border: 1px solid var(--hair); border-radius: 12px; }
.cliff-list li::before { content: ""; position: absolute; left: 12px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.cliff-list b { color: var(--coral-ink); }

/* ---- Lists of links: programs, states -------------------------------------------------------------- */

.tiles { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: grid; gap: 2px; height: 100%; padding: 16px 18px; background: var(--card); border: 1px solid var(--hair); border-radius: 14px; box-shadow: var(--lift); color: var(--ink); text-decoration: none; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.tile:hover { box-shadow: var(--lift-2); transform: translateY(-2px); }
.tile__name { font-weight: 600; font-size: 17px; }
.tile__note { font-size: 14px; color: var(--ink-2); }
.states-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 18px; margin: 0; padding: 16px 20px; list-style: none; background: var(--card); border: 1px solid var(--hair); border-radius: 14px; box-shadow: var(--lift); }
.prose .states-grid { padding-left: 20px; }
.states-grid li { margin: 0; }
.states-grid a { display: block; padding: 6px 0; font-weight: 500; }
.post-list { padding: 0; list-style: none; display: grid; gap: 12px; }
.post-list li { padding: 16px 18px; }
.post-list a { font-weight: 600; font-size: 18px; }
.post-list p { margin: 6px 0 0; color: var(--ink-2); }
.sitemap { padding-left: 1.1em; }
.sitemap__what { color: var(--ink-2); }

/* ---- Questions ----------------------------------------------------------------------------------- */

.qa__q { margin: 1.5em 0 .35em; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.qa > .qa__q:first-child { margin-top: .4em; }
.qa__a p { margin: 0 0 .8em; color: var(--ink); }
.prose .qa__q { font-size: 20px; }

/* ---- Where to go next, footer ------------------------------------------------------------------- */

.signs { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .signs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sign { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; height: 100%; padding: 14px 16px; background: var(--card); border: 1px solid var(--hair); border-radius: 14px; box-shadow: var(--lift); color: var(--ink); text-decoration: none; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.sign:hover { box-shadow: var(--lift-2); transform: translateY(-2px); }
.sign__line { grid-column: 1; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.sign__words { grid-column: 1; font-weight: 600; font-size: 16.5px; }
.sign__go { grid-column: 2; grid-row: 1 / span 2; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.sign:hover .sign__go { transform: translateX(3px); }

.site-foot { padding: 44px 0 0; background: var(--navy); color: var(--on-navy); }
.site-foot a { color: var(--on-navy); text-decoration-color: rgba(201, 214, 229, .4); }
.site-foot a:hover { color: #fff; }
.site-foot__grid { display: grid; gap: 26px; padding: 10px 0 30px; }
@media (min-width: 860px) { .site-foot__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); } }
.site-foot__h { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-foot ul { margin: 0; padding: 0; list-style: none; }
.site-foot li { margin: 0 0 7px; font-size: 15px; }
.site-foot__about p { font-size: 15px; line-height: 1.55; }
.site-foot__nav[aria-label="Programs"] ul { columns: 2; column-gap: 18px; }
.site-foot__nav li { break-inside: avoid; }
.site-foot__small { font-size: 14px; color: var(--on-navy-2); }
.site-foot .brand { margin-bottom: 4px; }
.site-foot__base { padding: 16px 0 24px; background: var(--navy-2); font-size: 14px; color: var(--on-navy-2); }
.sysmap { margin: 0 0 18px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sysmap__lists { display: grid; gap: 6px 22px; }
@media (min-width: 640px) { .sysmap__lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .sysmap__lists { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .sysmap__lists { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.site-foot .route { margin: .8em 0; }
.site-foot .route__title { color: #fff; }
.site-foot .route .stop { padding-bottom: 8px; }
.site-foot .route .stop::before { background: rgba(255, 255, 255, .14); }
.site-foot .stop__dot { background: var(--navy); border-color: rgba(255, 255, 255, .35); }
.site-foot .route a:hover .stop__dot { border-color: #fff; }
.site-foot .stop__name { font-weight: 500; font-size: 15px; }

/* ---- Motion ------------------------------------------------------------------------------------- */

@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes peek { from { transform: translateY(140%); } to { transform: none; } }
@keyframes ripple { from { r: 6; opacity: .7; } to { r: 26; opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
.brand__line { animation: draw 1s .2s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.chart__ring { display: none; }
	.track.is-wide .pin { opacity: 1; }
}

/* ---- Small screens ----------------------------------------------------------------------------- */

@media (max-width: 640px) {
	body { font-size: 16.5px; }
	.indep-bar { font-size: 13px; }
	.hero, .page-head { padding: 28px 0 22px; }
	.lede { font-size: 17.5px; }
	.prose { font-size: 17px; }
	.calc__form { padding: 16px; }
	.tab { font-size: 13px; }
	.month { padding: 18px 16px 6px; }
	.month__big strong { font-size: 46px; }
	.cliff-card, .raise, .notice { padding: 18px 16px; }
	.cliff-card h3 { font-size: 20px; }
	.slider output { min-width: 96px; }
	.slider output b { font-size: 17px; }
	.ruler { padding: 18px 16px 14px; }
	.section { padding: 42px 0; }
	.pay { grid-template-columns: minmax(0, 1fr); }
	.tbl { font-size: 15px; }
	.tbl th, .tbl td { padding: 9px 12px; }
}
@media (max-width: 999px) { .tool-band { padding-bottom: 84px; } }

@media print {
	/* One part of a page printed on its own (a checklist, a sheet, the dates): the rest is left out. */
	html.print-one body > *:not(.print-sheet) { display: none !important; }
	html.print-one .print-sheet { display: block; padding: 0; font-size: 12pt; color: #000; }
	.print-sheet__by { margin: 0 0 6pt; font-size: 9pt; color: #333; }
	.print-sheet h2 { margin: 0 0 10pt; font-size: 16pt; }
	.print-sheet__note { margin: 0 0 10pt; padding: 4pt 6pt; border: 1px solid #666; font-size: 10pt; color: #000; }
	.print-sheet .card { border: 1px solid #999; break-inside: avoid; }
	.print-sheet .keep-date { background: none !important; color: #000 !important; border: 1px solid #000; }
	.print-sheet .keep-date__m, .print-sheet .keep-date__w { color: #000 !important; }
	.print-sheet .tag { border: 1px solid #666; background: none !important; color: #000 !important; }
	.print-sheet a { color: #000; }
	.print-sheet .keep-log .tbl { min-width: 0; }
	.print-sheet .keep-log td { height: 30pt; border: 1px solid #666; }
	.print-sheet .keep-log thead th { background: none !important; color: #000 !important; border: 1px solid #666; position: static; }
	.print-sheet .table-wrap { overflow: visible; border: 0; }
	.keep-form, .keep-actions { display: none !important; }
	.indep-bar { background: none; color: #000; }
	.site-nav, .peek, .adds, .person__x, .tabs, .pane__next, .slider { display: none !important; }
	.js .pane { display: block; }
	.calc__grid { grid-template-columns: 1fr; }
	.card, .month { box-shadow: none; }
}
