/* homecareagencykit.com: one stylesheet, system fonts, light theme only.
   Colors from the UnitAndLedger home care listing images (dockit "care" theme). */
:root {
  --navy: #1F4E5F;
  --navy-dark: #173C49;
  --teal: #2A9D8F;          /* decoration and large text only (3.3:1 on white) */
  --teal-ink: #1C7066;      /* small teal text (5.9:1 on white) */
  --buy: #1A6B61;           /* buy buttons, white text 6.3:1 */
  --buy-dark: #12524A;
  --ink: #1B2733;
  --muted: #5C6B78;
  --paper: #F5F8F8;
  --soft: #E3F1EF;
  --band: #F3F6F7;
  --line: #D5E0E3;
  --field: #6F808C;
  --gold: #F2C57C;
  --neg: #A3341F;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 39, 51, .06), 0 8px 24px rgba(27, 39, 51, .06);
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; }
@media (min-width: 720px) { body { font-size: 1.0625rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 3px solid var(--buy); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: .25em 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 12px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.1; display: block; }
.brand-by { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.brand-by b { color: var(--teal-ink); font-weight: 700; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 10px 10px; text-decoration: none; font-weight: 650; color: var(--ink); border-radius: 8px; font-size: .97rem; }
.nav a:hover { background: var(--paper); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }
@media (max-width: 559px) { .nav { width: 100%; } .nav ul { justify-content: space-between; } .nav a { padding: 8px 6px; } }

/* breadcrumbs */
.crumbs { font-size: .88rem; color: var(--muted); padding-top: 18px; padding-bottom: 10px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9AA7B0; }
.crumbs a { color: var(--muted); }

/* type helpers */
.kicker { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--teal-ink); margin-bottom: 10px; }
.lead { font-size: 1.13rem; color: #3D4C58; max-width: 46em; }
@media (min-width: 720px) { .lead { font-size: 1.22rem; } }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.price { font-weight: 800; color: var(--navy); font-size: 1.35rem; letter-spacing: -.01em; }
.price-note { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }

/* sections */
.section { padding: 44px 0; }
@media (min-width: 720px) { .section { padding: 64px 0; } }
.section.alt { background: var(--paper); }
.section-head { max-width: 46em; margin-bottom: 26px; }
.section-head p { color: var(--muted); }
.page-head { padding-top: 22px; padding-bottom: 8px; }
.page-head .lead { margin-bottom: 0; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--paper); padding: 34px 0 40px; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; background: var(--soft); right: -260px; top: -300px; }
.hero .wrap { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 64px 0 72px; } .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.hero h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); }
.hero-img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(31, 78, 95, .18); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { margin: 0; border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 4px 14px; font-weight: 650; font-size: .92rem; background: #fff; }
.chips li.fill { background: var(--navy); color: #fff; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 750; font-size: 1rem; text-decoration: none; border: 2px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center; }
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn.outline { background: #fff; color: var(--navy); }
.btn.outline:hover { background: var(--soft); color: var(--navy); }
.btn.buy { background: var(--buy); border-color: var(--buy); }
.btn.buy:hover { background: var(--buy-dark); border-color: var(--buy-dark); }
.btn.small { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.btn.block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
button.link { background: none; border: 0; padding: 8px 4px; color: var(--navy); font: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 40px; }

/* cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 620px) { .grid.two, .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.card-img { aspect-ratio: 4 / 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .35em; }
.card :is(h2, h3, h4) a, .mini h3 a { text-decoration: none; color: var(--navy); }
.card :is(h2, h3, h4) a:hover, .mini h3 a:hover { text-decoration: underline; }
h4 { font-size: 1.1rem; color: var(--navy); margin: 0 0 .4em; line-height: 1.2; }
.card p { color: #3D4C58; font-size: .96rem; }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.card-foot .links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 6px; }

.tool-card { padding: 20px; border-top: 5px solid var(--teal); }
.tool-card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 12px; }
.tool-card .icon svg { width: 24px; height: 24px; }

/* feature (bundle) */
.feature { display: grid; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1fr; padding: 26px; gap: 34px; } }
.feature img { border-radius: 12px; border: 1px solid var(--line); }
.buybox { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.buybox .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* notes */
.note { background: var(--soft); border-left: 5px solid var(--teal); border-radius: 10px; padding: 14px 18px; margin: 0 0 1.2em; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note strong { color: var(--navy); }
.note.plain { background: var(--band); border-left-color: var(--navy); }
.callout { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 1.6em 0; background: #fff; box-shadow: var(--shadow); display: grid; gap: 14px; }
@media (min-width: 620px) { .callout.has-img { grid-template-columns: 150px 1fr; align-items: center; } }
.callout img { border-radius: 8px; border: 1px solid var(--line); }
.callout h3 { margin: 0 0 .25em; font-size: 1.05rem; }
.callout p { margin: 0 0 .6em; font-size: .96rem; }
.callout .tag { margin-bottom: 4px; }

/* honest strip */
.facts { display: grid; gap: 14px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.facts h3 { font-size: 1rem; margin-bottom: .3em; }
.facts p { margin: 0; font-size: .95rem; color: #3D4C58; }

/* product page */
.product { display: grid; gap: 26px; padding-top: 18px; padding-bottom: 10px; }
@media (min-width: 940px) { .product { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; } }
.gallery { display: grid; gap: 10px; }
.gallery img { border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.gallery .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.summary-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 940px) { .summary-box { position: sticky; top: 16px; } }
.summary-box h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }
.summary-box .btn.buy { width: 100%; margin-top: 14px; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.crosses { list-style: none; padding: 0; }
.crosses li { position: relative; padding-left: 28px; }
.crosses li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.2 5.2l5.6 5.6M10.8 5.2l-5.6 5.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
.prose h3 { margin-top: 1.4em; }
.inside li strong { color: var(--navy); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: .7em 0; min-height: 30px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.two-col { display: grid; gap: 8px 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* bundle contents list */
.contents { list-style: none; padding: 0; display: grid; gap: 10px; }
.contents li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.contents .num { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-ink); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.contents p { margin: 2px 0 0; font-size: .94rem; color: #3D4C58; }

/* guides */
.article { max-width: 46em; padding-bottom: 20px; }
.article h1 { margin-top: .2em; }
.article h2 { margin-top: 1.7em; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.65rem); }
.article h3 { margin-top: 1.4em; }
.article .byline { color: var(--muted); font-size: .92rem; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 22px; }
.article table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; font-size: .95rem; }
.article th, .article td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.article th { background: var(--band); color: var(--navy); }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; }
.table-scroll table { margin: 0; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.guide-list li { margin: 0; }
.guide-list a.item { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--ink); box-shadow: var(--shadow); }
.guide-list a.item:hover { border-color: var(--teal); }
.guide-list a.item strong { display: block; color: var(--navy); font-size: 1.08rem; margin-bottom: 2px; }
.guide-list a.item span { color: #3D4C58; font-size: .95rem; }
.sources { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2em; padding-top: 1em; }

/* calculators */
.tool-layout { display: grid; gap: 22px; padding-top: 10px; padding-bottom: 20px; }
.tool-layout > *, .tool-grid > * { min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 18px; background: #fff; min-width: 0; }
@media (min-width: 720px) { .panel { padding: 20px 22px; } }
.panel > legend, .panel-title { font-weight: 800; color: var(--navy); font-size: 1.15rem; padding: 0 6px; margin-left: -6px; }
.panel-title { padding: 0; margin: 0 0 8px; }
.example-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; background: #FFF6E6; border: 1px solid #EBCB8E; border-radius: 12px; padding: 10px 14px; margin: 0 0 18px; }
.example-bar p { margin: 0; flex: 1 1 260px; font-size: .95rem; }
.example-bar .acts { display: flex; flex-wrap: wrap; gap: 0 12px; }
.fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .fields { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .fields.four { grid-template-columns: repeat(4, 1fr); } .fields.three { grid-template-columns: repeat(3, 1fr); } }
.field { min-width: 0; }
.field label { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 4px; color: var(--ink); }
.field .help { font-size: .84rem; color: var(--muted); margin: 4px 0 0; line-height: 1.4; }
.field .err { display: none; font-size: .84rem; color: var(--neg); margin: 4px 0 0; }
.field.has-error .err { display: block; }
.field.has-error input { border-color: var(--neg); }
.in { position: relative; display: flex; align-items: center; }
.in .affix { position: absolute; color: var(--muted); font-weight: 600; pointer-events: none; }
.in .pre { left: 12px; }
.in .post { right: 12px; }
input[type="text"], select { width: 100%; min-height: 44px; border: 1.5px solid var(--field); border-radius: 9px; padding: 8px 12px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.in.money input { padding-left: 26px; }
.in.pct input { padding-right: 30px; }
input[type="text"]:focus, select:focus { border-color: var(--buy); }
.outline-out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 14px 0 0; padding: 10px 14px; background: var(--band); border-radius: 10px; }
.outline-out output { font-weight: 800; color: var(--navy); font-size: 1.1rem; }

.rows { display: grid; gap: 12px; margin: 10px 0 12px; }
.row-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--paper); display: grid; gap: 10px; }
.row-card .fields { gap: 10px; }
.row-card .field label { font-size: .84rem; }
.row-card.is-empty .outs { opacity: .6; }
.remove { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--muted); border-radius: 9px; min-width: 44px; min-height: 44px; cursor: pointer; display: grid; place-items: center; }
.remove:hover { color: var(--neg); border-color: var(--neg); }
.remove svg { width: 18px; height: 18px; }
.rgrid { display: grid; gap: 10px; align-items: end; }
.rgrid .remove { align-self: end; }
.svc .rgrid { grid-template-columns: 1fr 1fr 1fr 44px; }
.svc .f-name { grid-column: 1 / 4; grid-row: 1; }
.svc .remove { grid-column: 4; grid-row: 1; }
.ovh .rgrid { grid-template-columns: 1fr 44px; }
.ovh .f-name { grid-column: 1; grid-row: 1; }
.ovh .remove { grid-column: 2; grid-row: 1; }
.ovh .f-amount { grid-column: 1; grid-row: 2; max-width: 220px; }
.sur .rgrid { grid-template-columns: 1fr 1fr 44px; }
.sur .f-item { grid-column: 1 / 3; grid-row: 1; }
.sur .remove { grid-column: 3; grid-row: 1; }
@media (min-width: 560px) {
  .ovh .rgrid { grid-template-columns: 1fr 150px 44px; }
  .ovh .f-amount { grid-column: 2; grid-row: 1; max-width: none; }
  .ovh .remove { grid-column: 3; }
}
@media (min-width: 900px) {
  .svc .rgrid { grid-template-columns: 2.4fr 1fr 1fr .9fr 44px; }
  .svc .f-name, .svc .remove { grid-column: auto; grid-row: auto; }
  .sur .rgrid { grid-template-columns: minmax(0, 1fr) 108px 108px 44px; }
  .sur .f-item, .sur .remove { grid-column: auto; grid-row: auto; }
}
.row-card .field label { line-height: 1.25; }
.cat-group { margin: 0 0 18px; }
.cat-title { font-size: 1rem; margin: 14px 0 0; color: var(--teal-ink); text-transform: uppercase; letter-spacing: .08em; }
.ovh.row-card, .sur.row-card { padding: 10px 12px; }
.tool-grid { display: grid; gap: 0 26px; }
@media (min-width: 1040px) {
  .tool-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .tool-results { position: sticky; top: 16px; }
  .tool-results .kpis { grid-template-columns: repeat(2, 1fr); }
  .tool-results .data-table { font-size: .86rem; }
  .tool-results .data-table th, .tool-results .data-table td { padding: 7px 5px; }
}
.outs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; margin: 0; font-size: .9rem; }
@media (min-width: 560px) { .outs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .outs { grid-template-columns: repeat(5, 1fr); } }
.outs div { min-width: 0; }
.outs dt { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.outs dd { margin: 0; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.neg { color: var(--neg) !important; }
.blended { border: 2px solid var(--navy); border-radius: 12px; padding: 14px; margin-top: 14px; }
.blended h3 { font-size: 1rem; margin-bottom: 8px; }
.blended .outs { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .blended .outs { grid-template-columns: repeat(4, 1fr); } }
.warn { background: #FFF6E6; border: 1px solid #EBCB8E; border-radius: 10px; padding: 8px 12px; font-size: .9rem; margin: 10px 0 0; }
.add-row { margin-top: 2px; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 2px solid var(--navy); margin-top: 12px; padding-top: 10px; font-weight: 800; color: var(--navy); }
.total-line output { font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.results { background: var(--navy); color: #fff; border-radius: 16px; padding: 18px; margin: 0 0 18px; }
@media (min-width: 720px) { .results { padding: 22px 24px; } }
.results h2 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 14px; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 12px; }
.kpi dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #CFE6E2; }
.kpi dd { margin: 2px 0 0; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi.gold dd { color: var(--gold); }
.detail { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; font-size: .95rem; }
.detail dt { color: #E3F1EF; }
.detail dd { margin: 0; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.detail .strong { border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 8px; font-size: 1.05rem; color: #fff; }
.results .neg { color: #FFB4A3 !important; }
.results .msg { background: #FFF6E6; color: var(--ink); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.results a { color: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 8px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { color: var(--navy); font-size: .82rem; line-height: 1.25; border-bottom: 2px solid var(--navy); vertical-align: bottom; }
.data-table tbody th { font-weight: 700; }
.data-table input { width: 92px; min-height: 40px; padding: 6px 8px; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; background: var(--band); border-radius: 8px; padding: 10px 12px; display: block; overflow-x: auto; white-space: pre-wrap; }
noscript p { background: #FFF6E6; border: 1px solid #EBCB8E; border-radius: 10px; padding: 10px 14px; }

/* footer */
.site-footer { background: var(--navy); color: #E3F1EF; margin-top: 40px; padding: 40px 0 30px; font-size: .94rem; }
.site-footer a { color: #fff; }
.site-footer :focus-visible { outline-color: var(--gold); }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.foot-small { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 26px; padding-top: 16px; font-size: .86rem; color: #CFE0E4; }
.foot-small p { margin: 0 0 6px; }

/* 404 */
.notfound { padding-top: 50px; padding-bottom: 20px; max-width: 40em; }

@media print {
  .site-header, .site-footer, .crumbs, .example-bar, .btns, .remove, .add-row, .no-print { display: none !important; }
  .results { background: #fff; color: #000; border: 2px solid #000; }
  .results *, .kpi dd, .kpi dt, .detail dt { color: #000 !important; }
  .panel, .row-card { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
figure { margin: 0; }
.prose li, .prose p { overflow-wrap: anywhere; }
.contents a strong { color: var(--navy); }

/* compact product list (home) */
.minis { display: grid; gap: 14px; }
@media (min-width: 820px) { .minis { grid-template-columns: 1fr 1fr; } }
.mini { display: grid; grid-template-columns: 112px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); align-items: start; }
@media (min-width: 480px) { .mini { grid-template-columns: 140px 1fr; } }
.mini-img img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; }
.mini h3 { font-size: 1.05rem; margin: 0 0 .3em; }
.mini p { font-size: .92rem; color: #3D4C58; margin: 0 0 .6em; }
.mini .tag { margin-bottom: 2px; }
.mini-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.mini-foot .price { font-size: 1.15rem; }
/* sub-lists on product pages */
.inside > li { margin-bottom: .7em; }
ul.sub { margin: .3em 0 0; padding-left: 1.1em; font-size: .95rem; color: #3D4C58; }
ul.sub li { margin: .1em 0; }
@media (min-width: 720px) { ul.sub { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; } }
.jump { margin: 10px 0 0; font-weight: 650; }
@media (min-width: 1040px) { .jump { display: none; } }
.results h2:target, .results:has(h2:target) { scroll-margin-top: 12px; }

/* what-if table: full width under the calculator, every column visible at any width */
.tool-grid > .whatif { grid-column: 1 / -1; }
.whatif .data-table { max-width: 820px; }
.data-table td { white-space: nowrap; }
.data-table thead th { overflow-wrap: normal; hyphens: manual; }
@media (max-width: 559px) {
  .data-table { font-size: .84rem; }
  .data-table th, .data-table td { padding: 7px 3px; }
  .data-table input { width: 72px; }
  .whatif.panel { padding: 14px 10px; }
  .article table { font-size: .85rem; }
  .article th, .article td { padding: 6px 4px; overflow-wrap: break-word; hyphens: manual; }
}
