/* DaycareSubsidyCheck — theme "Kitchen Table"
   Warm cream paper, persimmon + indigo-plum, rounded soft components,
   serif display (Georgia class) + system sans + sans tabular figures.
   Deliberately unrelated to Ledger (bone/green/stamp-red, sharp rules),
   Broadsheet (oxblood newspaper), Cab Light (cab blues), Lamplight (navy/gold). */

:root{
  --paper:#FAF3E7; --paper2:#F3E8D2; --card:#FFFDF8;
  --ink:#2C2A33; --ink-soft:#5A5468; --line:#E3D5BC;
  --brand:#B44A12; --brand-deep:#8F3709;
  --plum:#2B2440; --plum2:#3A3157;
  --marigold:#D98E1B; --marigold-deep:#96600A;
  --herb:#2E6B34; --herb-bg:#E4EFDD;
  --amber-bg:#FBEED3; --clay:#A63D2A; --clay-bg:#F9E3DC;
  --teal:#14655A; --teal-bg:#DDEEE9;
  --radius:16px;
  --font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-serif:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-sans);
  font-size:19px;line-height:1.55;-webkit-text-size-adjust:100%}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
h1,h2,h3{font-family:var(--font-serif);font-weight:700;line-height:1.15;margin:0 0 .5em}
h1{font-size:2.35rem} h2{font-size:1.7rem} h3{font-size:1.25rem}
p{margin:0 0 1em} li{margin-bottom:.35em}
a{color:var(--brand-deep);text-underline-offset:3px}
small{font-size:.82em}
.num{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1}
.eyebrow{font-family:var(--font-sans);font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;font-size:.72rem;margin:0 0 .7em}
.lede{font-size:1.13rem}

/* ---------- header / footer lockup (ONE lockup, identical everywhere) ---------- */
header.site{background:var(--paper);border-bottom:3px solid var(--ink)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px 0;flex-wrap:wrap}
.lockup{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.lockup .mark{flex:0 0 auto;display:block}
.lockup .word{font-family:var(--font-serif);font-weight:700;font-size:1.32rem;
  letter-spacing:.01em;color:var(--ink);white-space:nowrap}
.lockup .word .w2{color:var(--brand)}
.lockup .word .w3{color:var(--plum)}
nav.main{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
nav.main a{color:var(--ink);text-decoration:none;font-weight:600;font-size:.95rem;
  padding:9px 12px;border-radius:999px}
nav.main a:hover{background:var(--paper2)}
footer.site{background:var(--plum);color:#F3EDFB;margin-top:0}
footer.site .lockup .word{color:var(--ink)}
footer.site .plate{background:var(--paper);border-radius:12px;padding:7px 12px 7px 8px;display:inline-flex}
footer.site a{color:#F0C987}
footer.site p,footer.site li{color:#E9E2F5}
footer.site h3{color:#FFFFFF}
.footgrid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px;padding:38px 0 10px}
.legalrow{border-top:1px solid #4A4170;padding:16px 0 30px;font-size:.85rem}

/* ---------- section flavors ---------- */
section{padding:52px 0}
section.plain{background:var(--paper);color:var(--ink)}
section.alt{background:var(--paper2);color:var(--ink)}
section.dark{background:var(--plum);color:#F3EDFB}
section.hero{background:linear-gradient(160deg,#332A52 0%,#2B2440 55%,#4A2A18 130%);color:#FBF6EA;padding:58px 0 52px}
section.plain h1,section.plain h2,section.plain h3{color:var(--ink)}
section.plain p,section.plain li{color:var(--ink)}
section.plain label,section.plain legend{color:var(--ink)}
section.plain small{color:var(--ink-soft)}
section.plain .eyebrow{color:var(--brand-deep)}
section.alt h1,section.alt h2,section.alt h3{color:var(--ink)}
section.alt p,section.alt li{color:var(--ink)}
section.alt label,section.alt legend{color:var(--ink)}
section.alt small{color:var(--ink-soft)}
section.alt .eyebrow{color:var(--brand-deep)}
section.dark h1,section.dark h2,section.dark h3{color:#FFFFFF}
section.dark p,section.dark li{color:#E9E2F5}
section.dark label,section.dark legend{color:#F3EDFB}
section.dark small{color:#C9BFE3}
section.dark .eyebrow{color:#F0C987}
section.dark a{color:#F0C987}
section.hero h1,section.hero h2,section.hero h3{color:#FFFFFF}
section.hero p,section.hero li{color:#F7EFDD}
section.hero label,section.hero legend{color:#FBF6EA}
section.hero small{color:#E4D9BE}
section.hero .eyebrow{color:#F5B942}
section.hero a{color:#F5C86B}
button{cursor:pointer;font-family:var(--font-sans)}

/* ---------- buttons ---------- */
.btn{display:inline-block;background:var(--brand);color:#FFF7EA;font-weight:700;
  text-decoration:none;padding:13px 24px;border-radius:999px;border:0;font-size:1rem;line-height:1.25}
.btn:hover{background:var(--brand-deep)}
.btn.ghost{background:transparent;color:var(--brand-deep);border:2px solid var(--brand)}
section.dark .btn,section.hero .btn{background:var(--brand);color:#FFF7EA}
section.dark a.btn,section.hero a.btn{color:#FFF7EA}
section.dark .btn.ghost,section.hero .btn.ghost{background:transparent;color:#F5C86B;border-color:#F5C86B}

/* ---------- components (light surfaces; scoped rules beat every flavor) ---------- */
.card,.panel,.notice,.result,.band,.tool,.lockpanel{
  background:var(--card);color:var(--ink);border:1px solid var(--line);
  border-radius:var(--radius);padding:24px;box-shadow:0 2px 10px rgba(43,36,64,.07)}
.card h1,.card h2,.card h3,.panel h1,.panel h2,.panel h3,.notice h1,.notice h2,.notice h3,
.result h1,.result h2,.result h3,.band h1,.band h2,.band h3,.tool h1,.tool h2,.tool h3,
.lockpanel h1,.lockpanel h2,.lockpanel h3{color:var(--ink)}
.card p,.card li,.panel p,.panel li,.notice p,.notice li,.result p,.result li,
.band p,.band li,.tool p,.tool li,.lockpanel p,.lockpanel li{color:var(--ink)}
.card label,.card legend,.panel label,.panel legend,.notice label,.notice legend,
.result label,.result legend,.band label,.band legend,.tool label,.tool legend,
.lockpanel label,.lockpanel legend{color:var(--ink)}
.card small,.panel small,.notice small,.result small,.band small,.tool small,.lockpanel small{color:var(--ink-soft)}
section.plain .card a,section.plain .panel a,section.plain .notice a,section.plain .result a,section.plain .band a,section.plain .tool a,section.plain .lockpanel a,
section.alt .card a,section.alt .panel a,section.alt .notice a,section.alt .result a,section.alt .band a,section.alt .tool a,section.alt .lockpanel a,
section.dark .card a,section.dark .panel a,section.dark .notice a,section.dark .result a,section.dark .band a,section.dark .tool a,section.dark .lockpanel a,
section.hero .card a,section.hero .panel a,section.hero .notice a,section.hero .result a,section.hero .band a,section.hero .tool a,section.hero .lockpanel a{color:var(--brand-deep)}
section.plain .card a.btn,section.plain .panel a.btn,section.plain .notice a.btn,section.plain .result a.btn,section.plain .band a.btn,section.plain .tool a.btn,section.plain .lockpanel a.btn,
section.alt .card a.btn,section.alt .panel a.btn,section.alt .notice a.btn,section.alt .result a.btn,section.alt .band a.btn,section.alt .tool a.btn,section.alt .lockpanel a.btn,
section.dark .card a.btn,section.dark .panel a.btn,section.dark .notice a.btn,section.dark .result a.btn,section.dark .band a.btn,section.dark .tool a.btn,section.dark .lockpanel a.btn,
section.hero .card a.btn,section.hero .panel a.btn,section.hero .notice a.btn,section.hero .result a.btn,section.hero .band a.btn,section.hero .tool a.btn,section.hero .lockpanel a.btn{color:#FFF7EA;background:var(--brand)}
section.plain .card,section.plain .panel,section.plain .notice,section.plain .result,section.plain .band,section.plain .tool,section.plain .lockpanel,
section.alt .card,section.alt .panel,section.alt .notice,section.alt .result,section.alt .band,section.alt .tool,section.alt .lockpanel,
section.dark .card,section.dark .panel,section.dark .notice,section.dark .result,section.dark .band,section.dark .tool,section.dark .lockpanel,
section.hero .card,section.hero .panel,section.hero .notice,section.hero .result,section.hero .band,section.hero .tool,section.hero .lockpanel{background:var(--card);color:var(--ink)}
section.plain .card h2,section.plain .card h3,section.alt .card h2,section.alt .card h3,section.dark .card h2,section.dark .card h3,section.hero .card h2,section.hero .card h3,
section.plain .panel h2,section.plain .panel h3,section.alt .panel h2,section.alt .panel h3,section.dark .panel h2,section.dark .panel h3,section.hero .panel h2,section.hero .panel h3,
section.plain .notice h2,section.plain .notice h3,section.alt .notice h2,section.alt .notice h3,section.dark .notice h2,section.dark .notice h3,section.hero .notice h2,section.hero .notice h3,
section.plain .result h2,section.plain .result h3,section.alt .result h2,section.alt .result h3,section.dark .result h2,section.dark .result h3,section.hero .result h2,section.hero .result h3,
section.plain .band h2,section.plain .band h3,section.alt .band h2,section.alt .band h3,section.dark .band h2,section.dark .band h3,section.hero .band h2,section.hero .band h3,
section.plain .tool h2,section.plain .tool h3,section.alt .tool h2,section.alt .tool h3,section.dark .tool h2,section.dark .tool h3,section.hero .tool h2,section.hero .tool h3,
section.plain .lockpanel h2,section.plain .lockpanel h3,section.alt .lockpanel h2,section.alt .lockpanel h3,section.dark .lockpanel h2,section.dark .lockpanel h3,section.hero .lockpanel h2,section.hero .lockpanel h3{color:var(--ink)}
section.plain .card p,section.plain .card li,section.alt .card p,section.alt .card li,section.dark .card p,section.dark .card li,section.hero .card p,section.hero .card li,
section.plain .panel p,section.plain .panel li,section.alt .panel p,section.alt .panel li,section.dark .panel p,section.dark .panel li,section.hero .panel p,section.hero .panel li,
section.plain .notice p,section.plain .notice li,section.alt .notice p,section.alt .notice li,section.dark .notice p,section.dark .notice li,section.hero .notice p,section.hero .notice li,
section.plain .result p,section.plain .result li,section.alt .result p,section.alt .result li,section.dark .result p,section.dark .result li,section.hero .result p,section.hero .result li,
section.plain .band p,section.plain .band li,section.alt .band p,section.alt .band li,section.dark .band p,section.dark .band li,section.hero .band p,section.hero .band li,
section.plain .tool p,section.plain .tool li,section.alt .tool p,section.alt .tool li,section.dark .tool p,section.dark .tool li,section.hero .tool p,section.hero .tool li,
section.plain .lockpanel p,section.plain .lockpanel li,section.alt .lockpanel p,section.alt .lockpanel li,section.dark .lockpanel p,section.dark .lockpanel li,section.hero .lockpanel p,section.hero .lockpanel li{color:var(--ink)}
section.plain .card label,section.plain .card legend,section.alt .card label,section.alt .card legend,section.dark .card label,section.dark .card legend,section.hero .card label,section.hero .card legend,
section.plain .panel label,section.plain .panel legend,section.alt .panel label,section.alt .panel legend,section.dark .panel label,section.dark .panel legend,section.hero .panel label,section.hero .panel legend,
section.plain .notice label,section.plain .notice legend,section.alt .notice label,section.alt .notice legend,section.dark .notice label,section.dark .notice legend,section.hero .notice label,section.hero .notice legend,
section.plain .result label,section.plain .result legend,section.alt .result label,section.alt .result legend,section.dark .result label,section.dark .result legend,section.hero .result label,section.hero .result legend,
section.plain .band label,section.plain .band legend,section.alt .band label,section.alt .band legend,section.dark .band label,section.dark .band legend,section.hero .band label,section.hero .band legend,
section.plain .tool label,section.plain .tool legend,section.alt .tool label,section.alt .tool legend,section.dark .tool label,section.dark .tool legend,section.hero .tool label,section.hero .tool legend,
section.plain .lockpanel label,section.plain .lockpanel legend,section.alt .lockpanel label,section.alt .lockpanel legend,section.dark .lockpanel label,section.dark .lockpanel legend,section.hero .lockpanel label,section.hero .lockpanel legend{color:var(--ink)}
section.plain .card small,section.alt .card small,section.dark .card small,section.hero .card small,
section.plain .panel small,section.alt .panel small,section.dark .panel small,section.hero .panel small,
section.plain .notice small,section.alt .notice small,section.dark .notice small,section.hero .notice small,
section.plain .result small,section.alt .result small,section.dark .result small,section.hero .result small,
section.plain .band small,section.alt .band small,section.dark .band small,section.hero .band small,
section.plain .tool small,section.alt .tool small,section.dark .tool small,section.hero .tool small,
section.plain .lockpanel small,section.alt .lockpanel small,section.dark .lockpanel small,section.hero .lockpanel small{color:var(--ink-soft)}
section.plain .card a.btn,section.alt .card a.btn,section.dark .card a.btn,section.hero .card a.btn,
section.plain .panel a.btn,section.alt .panel a.btn,section.dark .panel a.btn,section.hero .panel a.btn,
section.plain .notice a.btn,section.alt .notice a.btn,section.dark .notice a.btn,section.hero .notice a.btn,
section.plain .result a.btn,section.alt .result a.btn,section.dark .result a.btn,section.hero .result a.btn,
section.plain .band a.btn,section.alt .band a.btn,section.dark .band a.btn,section.hero .band a.btn,
section.plain .tool a.btn,section.alt .tool a.btn,section.dark .tool a.btn,section.hero .tool a.btn,
section.plain .lockpanel a.btn,section.alt .lockpanel a.btn,section.dark .lockpanel a.btn,section.hero .lockpanel a.btn{color:#FFF7EA;background:var(--brand)}
section.plain .card button,section.alt .card button,section.dark .card button,section.hero .card button,
section.plain .panel button,section.alt .panel button,section.dark .panel button,section.hero .panel button,
section.plain .notice button,section.alt .notice button,section.dark .notice button,section.hero .notice button,
section.plain .result button,section.alt .result button,section.dark .result button,section.hero .result button,
section.plain .band button,section.alt .band button,section.dark .band button,section.hero .band button,
section.plain .tool button,section.alt .tool button,section.dark .tool button,section.hero .tool button,
section.plain .lockpanel button,section.alt .lockpanel button,section.dark .lockpanel button,section.hero .lockpanel button{color:#FFF7EA}

.band{border:2px solid var(--brand);background:#FFF9EC}
.band .price{font-family:var(--font-serif);font-size:1.6rem;font-weight:700;color:var(--ink)}
.notice{border-left:6px solid var(--marigold)}
.lockpanel{border-style:dashed;background:#FFF9EC}
.grid{display:grid;gap:20px}
.grid.two{grid-template-columns:1fr 1fr}
.grid.three{grid-template-columns:1fr 1fr 1fr}

/* ---------- verdict chips + result ---------- */
.chip{display:inline-block;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  font-size:.8rem;padding:6px 14px;border-radius:999px;border:2px solid}
.chip.likely{color:var(--herb);border-color:var(--herb);background:var(--herb-bg)}
.chip.borderline{color:var(--marigold-deep);border-color:var(--marigold-deep);background:var(--amber-bg)}
.chip.unlikely{color:var(--clay);border-color:var(--clay);background:var(--clay-bg)}
.result .big{font-family:var(--font-serif);font-size:2rem;font-weight:700}
.result .row{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.result .row:last-child{border-bottom:0}
.stamps{font-size:.8rem;color:var(--ink-soft);border-top:1px dashed var(--line);padding-top:10px;margin-top:14px}
section.dark .stamps{color:#C9BFE3}
section.hero .stamps{color:#E4D9BE}

/* ---------- forms ---------- */
.tool fieldset{border:1px solid var(--line);border-radius:12px;margin:0 0 18px;padding:16px}
.tool legend{font-weight:700;padding:0 8px}
.tool label{display:block;font-weight:600;margin:0 0 6px}
.tool .help{font-size:.86rem;color:var(--ink-soft);margin:2px 0 10px}
.tool input,.tool select{width:100%;font-size:1rem;padding:12px;border:1.5px solid #B9A888;
  border-radius:10px;background:#FFFFFF;color:var(--ink);margin-bottom:14px;font-family:var(--font-sans)}
.tool input:focus,.tool select:focus{outline:3px solid var(--marigold);outline-offset:1px}
.checks label{font-weight:500;display:flex;gap:10px;align-items:flex-start;margin-bottom:10px}
.checks input{width:auto;margin:4px 0 0}
button.btn{border:0}

/* ---------- tables ---------- */
.tablewrap{overflow-x:auto;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:6px}
table{border-collapse:collapse;width:100%;font-size:.95rem}
th,td{padding:9px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
th{font-family:var(--font-sans);font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-soft)}
td.num,th.num{text-align:right}

/* ---------- misc ---------- */
.stategrid{columns:4;column-gap:24px;font-size:.95rem}
.stategrid a{display:block;padding:3px 0;break-inside:avoid}
.tagrow{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.tag{background:var(--paper2);border:1px solid var(--line);border-radius:999px;padding:4px 12px;font-size:.82rem;font-weight:600;color:var(--ink)}
details.faq{border-bottom:1px solid var(--line);padding:12px 0}
details.faq summary{font-weight:700;cursor:pointer;font-family:var(--font-serif)}
.kitmod{border-left:6px solid var(--brand)}
.hidden{display:none!important}

/* ---------- mobile ---------- */
@media (max-width:760px){
  body{font-size:18px}
  h1{font-size:1.85rem} h2{font-size:1.45rem}
  section{padding:38px 0}
  .topbar{flex-direction:column;align-items:stretch;gap:8px;padding:10px 0}
  .lockup .word{font-size:1.15rem;white-space:normal}
  nav.main{display:flex;flex-wrap:wrap;gap:2px;width:100%}
  nav.main a{padding:10px 10px;font-size:.9rem}
  .grid.two,.grid.three{grid-template-columns:1fr}
  .footgrid{grid-template-columns:1fr}
  .stategrid{columns:2}
  .result .row{flex-direction:column;gap:2px}
  .card,.panel,.notice,.result,.band,.tool,.lockpanel{padding:18px}
}
