← Demos
Web Pages · Demos

Bluegrass Financial Checkup

For Kentucky seniors and new grads choosing between job offers. Enter each offer’s salary, city, and rent; it adds federal, Kentucky, and local taxes, rent, and the 401(k) match, then tests each option against nine shocks to show what breaks first. Ty’s real numbers: a $50,000 Louisville job pays $2,000 more but leaves him $56 a month less. It shows what it would take ($51,000) and prints a counteroffer sheet. Runs in your browser. Educational use only, not financial advice.

by Bryce Trosper Nov 20, 2026 19 views 236.1 KB
Sandbox · bluegrass-financial-checkup · no access to your account
View source — the whole page is this one file
<!-- Copyright (c) 2026 Bryce Trosper. Released under the MIT License. -->
<!-- Bluegrass Financial Checkup: Kentucky Job, Housing & Financial Resilience Planner -->
<!-- Who it's for: Kentucky college seniors and recent graduates choosing between job offers in different cities, and deciding whether to live alone or with a roommate. -->
<!-- Educational use only: estimates for learning and planning, not financial, tax, investment, or legal advice. Everything you enter stays on your computer. -->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bluegrass Financial Checkup | Kentucky Financial Planner</title>
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAANu0lEQVR42u2ZaZBc1XXH/+fc+97r19M9PaOZ6Vk00mgDIQkLsRNAjCDYwhgXUMWIFEnsQGInVUkcsMEhiUmrU3HZZQoSJyY2xksosUpOAJNQ7NYUxWKDhJDQKBKSENpGM1pm6e1t95586BligzG2AYdU+vfl3apX99U75/zPveeeCzRo0KBBgwYNGjRo0KBBgwYNGjT40EEoFBgoMAYGVMMdAH1oP/YBGCpYenkejtML0uPKJseZjWsfe/Pd+wB/eO0vEABQOv2vlEpvINfZbD1vDRYPZDAw8MukA6G/oP/vKaBQYKyfCswgLJ+773ly3DNIbARibZPkcfvMdz4OAOgvaAwWDQoFwtASwrpVBhDCwCrGunXmQ5ECIiCsG2B0jBIO5wUDANaPElassERF+wsnnzqQS7X1bGSt5xIoglgWAZPjXp9EtQf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9p41D6iZixfSSUtO+KHd/uzfrlq1StHq1TJt/LThdeN7z/LRxBrbnyvRcac/COVcChPXxJIGxGpPs59RYq2ICNCcU9TaomR0NKJjR2JpnaGlszuFY8cCHtlVAZho+XmLMH9+F7JunnTk4aILzsb+QyN4afM2ECnUKjX82R9cgW/duxabhl5BYMqIpQzFAbq7W9GVb8HY5BhSKa/+o6wAYkxMlmFtXUlirQAwBGEiFgN41hKiCDg8WrVDWw8N1DZv/XcACoB9azO1Lvs5v9VHDp6QUJ3Jbvw7otStMNaA5M0UEQuwVuSmWROJJLFQKkVozzsS1CyNDCesyGDZKb1YMv84xONIrvzEJdg7MozR0ggOvD6K5Wechm2v78Kjgz+SiALUohKWLunD6NgomA183wWgkRigUomlVk0AaESJRWKsiJBYAZiJiEAiIkTssWYwBKwJMOZlx+WaYvzX7F7/1v+8+eGtxgpN9RN+Tkts8WKXw8z1op0vi0muJaavgnUKdvrEODXnf7bbozpFlgiUJJZcj7mt3aUotNsn9tX2fOrKy5YtXTTff/blV3rOOHGxGtywEVv3bJcwLHNraxaxDVENymhqSoNIoVQKQOTUt8XYwiQCKwKa7gIRoKb6AQIB1bskAAGsGLBmH5E8AfBigry8tyqfx+Bg8Lbt/B0LnXmnn0aMmyFwwORDEAAS1i1/89xspiS0R7TcCGsJab+unomY0+0pqr04eEgWnp3F9ucc9JxA8LNdrfk0lYOjHEuZ+vr6aHysQrAp1kpRHAnFcQxtWdWiiLQDOEpP7+jQuj4WZtbMnAAQiUkzs4hikGUmrWpxvKHy/POjP9uYABVW19vqxeK7NF7f95uW/41Ge3+/BkBTdwW/0h/QLzGebnlMPYvvdCMjb84TAWg1vTnlrQwNvX9uWrfOvl+3RA0aNGjQoEGDBg0aNGjQoEGDBg3+P/DfdIWdL9acxf4AAAAASUVORK5CYII=">
<script>try { if (!matchMedia('(prefers-reduced-motion: reduce)').matches) document.documentElement.classList.add('motion'); } catch (e) { /* no motion */ }</script>
<style>
  /* Besley typeface: Copyright 2020 The Besley Project Authors, SIL Open Font License 1.1. Embedded so the page works offline. */
  @font-face { font-family: "Besley"; font-weight: 700; font-style: normal; font-display: swap; src: url(data:font/woff2;base64,d09GMgABAAAAAEnQABAAAAAAmRgAAEltAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGlgbmzYcghYGYD9TVEFURACFDhEICoH0HIHLTAuDaAABNgIkA4dMBCAFhCQHhi4MBxvIgRVjm0Wz2wEIVdTczyiCjQMgkbF4JCLYOCgGiAfZ/58P5Bgjht0Q/covyAiMVkUVs7SiCWsHmWvVJrrFyo/gXjnpM0AKGSOv9l2x8j0PibUGLHug1OIo72vacchgGNSE0WmDVmDkqMN6ME7+i+zbz9Hd05Sgd7auWu7MwffpP5wQZRLLfOWtcWZ6BriTIxJ28vx/a1Td9yMis7qHiSUgqzmjCBSg3lVkHLFirqocgm12aKOUSYlgYAVWIAhSKq0iqAgYiYqV24xaOmfOzU1nb+0qf1H5sYrfL34bHi/9zG3X3iVPTk7tVZoqT1AHfe+DkM6t6CbOFuCAQtSZit3LZdvYi92US6AnfTgF3WkcwvAYW0u1//8z116nhMuIJ45EJTJFzLf7aN3Vvzl+oo4amHiFywcPGJGqT6TgE5jzF1K3RlMGQsl3iFdLze13ryBdoEsgAh30ywfUFfD/DqwrnUCxDr2PHXOELwDy3x+gqflZge+7LP9wGuoAdYaTx4PIhu5RS5atu25ZHvtaKTO7afV/q99v3yVXTKLbYgvt3RASmUZo/Lhf28D/XSio+PYfLu0cXmi0ANUkmc0Qt/+WzrI7WcodbaDLyLhEOIT8FCdS+qQASzuiKF3xUAgXicRIhMVh0Sgkxlj+z5ZlWqVRr1qw7zSLY/Mcak2QjwE48jlJquv/qVJNTU8PCXul1QkWRsswNXPQau0aUCYAnUnaQ4pMQBlwCBwBZxdu6iBzlBIEGVAYOsicOkkBY2fOEj/bkly3kCPqt8TG/JAig3a/9i774OpKOY5AZJEh1OVrq2+ilfF7p+1dCEFERCRI8Ff//C1sQqE9sa/zFYWQBCL24sC2QACbOo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ZN9621S+dv3CRvw0qeURZ/tcuX1nIpnC6PS9Dbl6/kRMaFh7xKnLFPyvfbI3Ny80vLChiMIvjWCXa2qzK5nB59fIrKlnUkA9OVeVSTbUAtY9hJbPakiTJGnmukSvuGSX32j4KHca8tMFbt2wzYjRGEGOICcQUAoWYQcwZ3gRXHTC9/VBMAQQOQUCQCQICg4JDQsPCffHZv2iQttvBjLkoVGkyGDEBZWi3PXba5YSTDjlsyjQYFAQ7BDMMjHOwkYVoB6T7myNTrdod1wbundUWvUdkj2ST/mAZW2qZg9YGJ4ZSDzrL3VOr1wMPdem0JPjomNi4hImSSDKpGa68KNeXNx+2+q8CFm4w6R8mGKn5uwOGTZ+qXLcI7Vs1vjvS5RaoDdcOh2Ooi3XfnkA0DDGZfgxLLFhqmeXWtJYV6Uw3c2BBK/ohXr5MKJbUxrc069Yc4ouJeLRDSyxYuhOrQu/3dYvZZewBAAA=) format("woff2"); }
  :root {
    color-scheme: light dark;
    /* Palette taken from the logo: midnight navy, mountain blue, field green, sun gold */
    --paper: #eef2f5;
    --sheet: #ffffff;
    --ink: #13202e;
    --soft: #526172;
    --line: #cfd8e1;
    --brand: #22598a;
    --brand-deep: #0e2a3e;
    --brand-tint: #e4eef7;
    --brand-solid: #22598a;
    --gold: #f2b84b;
    --gold-tint: #fdf3df;
    --good: #2e6a3a;
    --good-tint: #e5f0e1;
    --warn: #9a5a00;
    --warn-tint: #fbefd9;
    --bad: #b02a20;
    --bad-tint: #fae5e2;
    --g-tax: #0e2a3e; --g-ben: #5b8fc0; --g-rent: #f2b84b; --g-bills: #a3afbb; --g-left: #2e6a3a;
    --display: "Besley", Rockwell, "Roboto Slab", Georgia, serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --paper: #0c151e; --sheet: #15212d; --ink: #e5ebf1; --soft: #a3b0be; --line: #2c3c4c;
      --brand: #8cbde6; --brand-deep: #08192a; --brand-tint: #172c40; --brand-solid: #2a6597;
      --gold: #f2b84b; --gold-tint: #34290f;
      --good: #8fd18a; --good-tint: #18301c; --warn: #f0b85a; --warn-tint: #33280f;
      --bad: #ff8a7f; --bad-tint: #3a1d1a;
      --g-tax: #9fc0de; --g-ben: #4d7fae; --g-rent: #f2b84b; --g-bills: #5a6876; --g-left: #8fd18a;
    }
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
  body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
  a { color: var(--brand); }
  button { font: inherit; cursor: pointer; }
  :focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  h1, h2, h3, p { margin: 0; }

  /* Top bar */
  .topbar { background: var(--brand-deep); color: #fff; border-bottom: 3px solid var(--gold); }
  .topbar .wrap { display: flex; align-items: center; gap: 10px; min-height: 58px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
  .brand-logo { height: 34px; width: auto; border-radius: 4px; background: #fff; }
  .brand-name { font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.2; }
  .brand-name small { font-family: var(--sans); font-weight: 400; font-size: 13px; opacity: .78; margin-left: 8px; }
  .tb-btn { border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 6px; padding: 7px 12px; font-size: 14px; position: relative; }
  .tb-btn:hover { background: rgba(255,255,255,.1); }
  .tb-btn.solid { background: #fff; color: #0e2a3e; border-color: #fff; font-weight: 600; }
  .tb-btn .short { display: none; }
  #btn-save.dirty::after { content: ""; position: absolute; top: -4px; right: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); border: 2px solid var(--brand-deep); }
  .save-state { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topbar :focus-visible { outline-color: var(--gold); }

  /* Sticky jump bar with the live answer */
  .jump { position: sticky; top: 0; z-index: 20; background: var(--sheet); border-bottom: 1px solid var(--line); }
  .jump .wrap { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .jump-links { display: flex; gap: 18px; margin-right: auto; }
  /* Numbered steps: the planner is a sequence, so the numbers carry meaning */
  .steps { list-style: none; margin: 0 auto 0 0; padding: 0; display: flex; gap: 2px; }
  .step { display: inline-flex; align-items: center; gap: 7px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--soft); font-size: 14.5px; font-weight: 600; padding: 6px 9px 6px 4px; white-space: nowrap; }
  .step .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 12px; line-height: 1; }
  .step .short { display: none; }
  .step:hover { color: var(--ink); }
  .step[aria-current="step"] { color: var(--ink); border-bottom-color: var(--gold); }
  .step[aria-current="step"] .n { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
  @media (prefers-color-scheme: dark) { .step[aria-current="step"] .n { background: var(--brand-solid); border-color: var(--brand-solid); } }
  .step-page[hidden] { display: none !important; }
  /* Each step opens at the top of the page, even when the browser follows its #address */
  main > section.step-page { scroll-margin-top: 100vh; }
  .step-page:focus { outline: none; }
  .pager { display: flex; align-items: center; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
  .pager .btn.primary, .pager .btn:only-child { margin-left: auto; }
  .pager .btn:first-child:not(:only-child) { margin-left: 0; }
  .jump-links a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .jump-links a:hover { border-bottom-color: var(--gold); }
  .strip { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; padding: 2px; }
  .strip-label { font-size: 13px; color: var(--soft); white-space: nowrap; }
  .chip { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 3px 11px 3px 4px; font-size: 13.5px; white-space: nowrap; }
  .chip .nm { max-width: 118px; overflow: hidden; text-overflow: ellipsis; }
  .chip b { font-variant-numeric: tabular-nums; color: var(--good); }
  .chip b.neg { color: var(--bad); }
  .chip[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
  .letter { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-deep); color: #fff; font-size: 12px; font-weight: 700; flex: none; }
  @media (prefers-color-scheme: dark) { .letter { background: var(--brand-solid); } }

  /* Messages: a toast, so it is seen wherever you are on the page */
  .msg { display: none; position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; width: min(680px, calc(100vw - 32px)); padding: 12px 14px; border-radius: 8px; font-size: 15px; box-shadow: 0 6px 24px rgba(8, 25, 42, .28); align-items: flex-start; gap: 10px; }
  .msg.show { display: flex; animation: toast-in .28s cubic-bezier(.2,.7,.2,1); }
  @keyframes toast-in { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
  .msg.error { background: var(--bad-tint); border: 1px solid var(--bad); }
  .msg.ok { background: var(--good-tint); border: 1px solid var(--good); }
  .msg span { flex: 1; }
  .msg button { border: 0; background: transparent; color: var(--ink); font-size: 20px; line-height: 1; padding: 0 4px; }

  /* Buttons */
  .btn { border: 1px solid var(--line); background: var(--sheet); color: var(--ink); border-radius: 6px; padding: 10px 16px; font-weight: 600; font-size: 15px; }
  .btn:hover { border-color: var(--brand); }
  .btn.primary { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; }
  .btn.primary:hover { filter: brightness(1.08); }
  .mini-btn { border: 1px solid var(--line); background: var(--sheet); color: var(--ink); border-radius: 6px; padding: 5px 9px; font-size: 13px; }
  .mini-btn:hover { border-color: var(--brand); }
  .mini-btn:disabled { opacity: .5; cursor: default; }
  .linkish { border: 0; background: none; padding: 0; color: var(--brand); text-decoration: underline; font: inherit; }

  /* Hero: the headline is split by the real bar of where an example salary goes */
  .hero { padding: 44px 0 34px; }
  .hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 7.4vw, 96px); line-height: 1; letter-spacing: -0.015em; }
  .hero-title span[aria-hidden] { display: block; }
  .hero-bar { display: flex; height: clamp(18px, 2.4vw, 30px); margin: clamp(10px, 1.4vw, 18px) 0 6px; border-radius: 3px; overflow: hidden; background: var(--line); }
  .hero-bar i { display: block; height: 100%; }
  .hero-bar i + i { box-shadow: -1px 0 0 var(--paper); }
  /* The opening moment: the salary bar is eaten piece by piece, then the rest of the headline lands */
  .motion .hero .hero-bar i { transform-origin: left center; transform: scaleX(0); }
  .motion .hero .hero-cap, .motion .hero .line2 { opacity: 0; }
  .motion .hero.played .hero-bar i { animation: seg-grow .5s cubic-bezier(.3,.7,.2,1) forwards; animation-delay: calc(.25s + var(--k, 0) * .24s); }
  .motion .hero.played .hero-cap { animation: fade-up .45s ease-out 1.5s forwards; }
  .motion .hero.played .line2 { animation: fade-up .6s cubic-bezier(.2,.7,.2,1) 1.65s forwards; }
  /* Once it has played, it stays put, so coming back to Start doesn't replay it */
  .motion .hero.settled .hero-bar i { transform: none; animation: none; }
  .motion .hero.settled .hero-cap, .motion .hero.settled .line2 { opacity: 1; animation: none; }
  @keyframes seg-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .hero-cap { font-size: 14px; color: var(--soft); margin-bottom: clamp(8px, 1.2vw, 14px); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .hero-cap b { color: var(--good); }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; margin-top: 30px; align-items: start; }
  .hero-sub { font-size: 19px; line-height: 1.45; max-width: 62ch; }
  .hero-sub strong { display: block; font-size: 22px; margin-bottom: 4px; }
  .story { margin-top: 16px; max-width: 62ch; color: var(--soft); }
  .story b { color: var(--ink); }
  .more-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: 14px; color: var(--soft); max-width: 62ch; }
  .more-ex span { flex-basis: 100%; }
  .more-ex .mini-btn { text-align: left; white-space: normal; font-size: 13.5px; }
  .more-ex .mini-btn b { color: var(--ink); }
  .hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
  .hero-side { display: grid; gap: 14px; }
  .hero-logo { width: 100%; max-width: 380px; height: auto; border-radius: 10px; background: #fff; justify-self: end; }
  .who { font-size: 15px; }
  .note { font-size: 14px; color: var(--soft); border-left: 3px solid var(--gold); padding: 2px 0 2px 12px; }

  /* Sections */
  main > section { padding: 40px 0 8px; scroll-margin-top: 96px; }
  .sec-head { display: flex; align-items: flex-end; gap: 16px 28px; flex-wrap: wrap; margin-bottom: 16px; }
  .sec-head > div:first-child { flex: 1 1 420px; }
  .sec-head h2, h2.plain { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.01em; }
  .sec-head p { color: var(--soft); max-width: 70ch; margin-top: 6px; }
  .head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .sub { color: var(--soft); font-size: 14px; }
  .sheet { background: var(--sheet); border: 1px solid var(--line); }
  .pad { padding: 20px 22px; }
  h3.plain { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; margin-bottom: 6px; }

  /* Inputs */
  .box { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); min-width: 0; }
  .box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
  .box .unit { color: var(--soft); padding: 0 0 0 9px; }
  .box .unit.after { padding: 0 9px 0 0; }
  .box input, .box select { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; padding: 7px 9px; font-variant-numeric: tabular-nums; }
  .box input:focus, .box select:focus { outline: none; }
  .box.invalid { border-color: var(--bad); }
  .err { color: var(--bad); font-size: 12.5px; text-align: left; }
  .hint { display: block; color: var(--soft); font-size: 13px; font-weight: 400; line-height: 1.35; margin-top: 2px; }

  /* Mobile option switcher (hidden on wide screens, where every option shows side by side) */
  .switch { display: none; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
  .switch button { flex: 1 1 40%; min-width: 0; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); border-radius: 6px; padding: 6px 10px 6px 6px; font-size: 14px; max-width: 100%; }
  .switch button span.nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .switch button[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); font-weight: 600; }

  /* The ledger: one pay stub per option, torn along the dashed lines */
  .ledger { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: var(--sheet); border: 1px solid var(--line); }
  .ledger col.lc { width: 248px; }
  .ledger th, .ledger td { padding: 7px 14px; vertical-align: top; text-align: left; }
  .ledger th[scope="row"] { font-weight: 500; padding-left: 18px; }
  .ledger .oc { border-left: 1px dashed var(--line); }
  .ledger thead th { padding: 14px 14px 12px; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
  .ledger thead td { border-bottom: 2px solid var(--ink); }
  .oh-top { display: flex; align-items: center; gap: 8px; }
  .oh-top input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 17px; padding: 2px 0; }
  .oh-top input:hover, .oh-top input:focus { border-bottom-color: var(--brand); outline: none; }
  .oh-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
  .oh-tag { min-height: 24px; margin-bottom: 6px; }
  .tag { display: inline-block; background: var(--gold); color: #13202e; font-size: 12px; font-weight: 700; border-radius: 3px; padding: 2px 7px; }
  .tag:empty { display: none; }
  .oh-row .mini-btn { padding: 3px 8px; font-size: 12.5px; }
  .ledger tr.grp th { font-family: var(--display); font-weight: 700; font-size: 16px; padding: 22px 18px 6px; border-bottom: 1px solid var(--line); }
  .ledger tr.grp th small { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--soft); margin-left: 8px; }
  .ledger tr.calc td { text-align: right; font-variant-numeric: tabular-nums; }
  .ledger tr.calc th, .ledger tr.calc td { padding-top: 5px; padding-bottom: 5px; }
  .ledger .v small { display: block; color: var(--soft); font-size: 12.5px; font-weight: 400; font-family: var(--sans); }
  .ledger tr.total th, .ledger tr.total td { border-top: 1px solid var(--ink); font-weight: 700; padding-top: 10px; padding-bottom: 10px; }
  .ledger tr.total .v { font-family: var(--display); font-size: 19px; font-variant-numeric: normal; }
  .ledger tr.left th, .ledger tr.left td { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--good-tint); padding-top: 14px; padding-bottom: 14px; vertical-align: middle; }
  .ledger tr.left th { font-family: var(--display); font-weight: 700; font-size: 19px; }
  .ledger tr.left .v { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; color: var(--good); font-variant-numeric: normal; }
  .ledger tr.left .v.neg { color: var(--bad); }
  .ledger tr.left .v.none { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--soft); }
  .under { display: block; text-align: right; font-size: 13px; color: var(--soft); margin-top: 3px; font-variant-numeric: tabular-nums; }
  .sc-in { display: flex; align-items: center; gap: 12px; }
  .sc-in > div:first-child { flex: 0 1 190px; }
  .same { font-size: 13px; color: var(--soft); }
  .check { display: flex; gap: 7px; align-items: flex-start; font-size: 13px; color: var(--soft); margin-top: 6px; line-height: 1.3; }
  .check input { margin: 2px 0 0; accent-color: var(--brand-solid); }
  .sub-in { margin-top: 8px; }
  .sub-l { display: block; font-size: 13px; color: var(--soft); margin: 4px 0 3px; }
  .loc-note { font-size: 12.5px; line-height: 1.4; color: var(--soft); margin-top: 6px; }
  .bar { display: flex; height: 14px; border-radius: 2px; overflow: hidden; background: var(--line); margin-top: 6px; }
  .bar i { display: block; height: 100%; transition: width .45s cubic-bezier(.2,.7,.2,1); }
  /* Feedback when you type: numbers that just changed glow gold, and stress results that flip pop */
  @keyframes bump { from { background-color: rgba(242, 184, 75, .6); } to { background-color: rgba(242, 184, 75, 0); } }
  .bump { animation: bump 1.1s ease-out; border-radius: 3px; }
  /* Dark mode: a gold ring instead of a fill, so text keeps its contrast while it glows */
  @keyframes bump-ring { from { box-shadow: 0 0 0 2px rgba(242, 184, 75, .95); } to { box-shadow: 0 0 0 2px rgba(242, 184, 75, 0); } }
  @media (prefers-color-scheme: dark) { .bump { animation-name: bump-ring; } }
  @keyframes pop { 0% { transform: scale(.6); opacity: .3; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
  .pill.pop { animation: pop .38s cubic-bezier(.2,.7,.2,1); }
  .legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--soft); margin-top: 10px; }
  .legend span { display: inline-flex; align-items: center; gap: 6px; }
  .dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
  .flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; line-height: 1.4; }
  .flags li { padding-left: 10px; border-left: 3px solid var(--line); }
  .flags li.bad { border-left-color: var(--bad); }
  .flags li.warn { border-left-color: var(--gold); }
  .flags li.good { border-left-color: var(--good); }
  .flags li.info { border-left-color: var(--brand); }
  .info-note { font-size: 14px; background: var(--brand-tint); border-radius: 6px; padding: 8px 12px; margin-top: 10px; }
  details.gas { margin-top: 6px; font-size: 13px; }
  details.gas summary { color: var(--brand); cursor: pointer; }
  .gh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; margin-top: 8px; }
  .gh-grid label { font-size: 12.5px; color: var(--soft); display: flex; flex-direction: column; gap: 3px; }
  .gh-grid input { border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; padding: 5px 8px; min-width: 0; width: 100%; }
  .gh-grid input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
  .gh-out { margin: 8px 0 6px; color: var(--ink); }

  /* Location search box */
  .combo { position: relative; }
  .combo-box input { text-overflow: ellipsis; font-size: 15px; }
  .combo-caret { border: 0; background: transparent; color: var(--soft); padding: 0 9px; align-self: stretch; }
  .combo-list { position: absolute; z-index: 15; left: 0; top: calc(100% + 4px); width: max(100%, 330px); max-width: calc(100vw - 48px); max-height: 300px; overflow: auto; margin: 0; padding: 4px; list-style: none; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 28px rgba(8, 25, 42, .22); text-align: left; }
  @media (min-width: 900px) { .ledger td.oc:last-child:not(:nth-child(2)) .combo-list { left: auto; right: 0; } }
  .combo-group { font-size: 12.5px; color: var(--soft); padding: 8px 8px 3px; font-weight: 600; }
  .combo-opt { padding: 7px 8px; border-radius: 5px; font-size: 14.5px; cursor: pointer; color: var(--ink); }
  .combo-opt.active { background: var(--brand-tint); }
  .combo-opt[aria-selected="true"] { font-weight: 700; }
  .combo-empty { padding: 10px 8px; color: var(--soft); font-size: 14px; }

  /* Bottom line */
  .verdict { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; max-width: 76ch; }
  .verdict .bl-label { font-family: var(--display); font-weight: 700; }
  .winners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; background: var(--sheet); border: 1px solid var(--line); }
  .winners:empty { display: none; }
  .winner { padding: 18px 22px; }
  .winner + .winner { border-left: 1px dashed var(--line); }
  .w-label { font-size: 14px; font-weight: 700; color: var(--soft); }
  .w-name { font-weight: 600; margin-top: 2px; }
  .w-amt { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-top: 8px; }
  .w-amt small { font-family: var(--sans); font-weight: 400; font-size: 14px; color: var(--soft); margin-left: 3px; }
  .winner.flex .w-amt { color: var(--good); }
  .w-split { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; }
  .w-sub { font-size: 13px; color: var(--soft); margin-top: 4px; }
  .winner-note, .define { font-size: 14px; color: var(--soft); max-width: 90ch; margin-top: 12px; }
  .raise { margin-top: 30px; }
  .raise-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 10px; }
  .raise-pick .box { flex: 0 1 280px; }
  .waterfall { width: 100%; border-collapse: collapse; }
  .waterfall td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
  .waterfall .amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .waterfall .total td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; }
  .wbar { height: 10px; border-radius: 2px; }
  .print-date, .print-only, .counter-sheet { display: none; }
  .counter-btn { margin-top: 10px; }
  /* What it would take: the negotiation number */
  .takes { margin-top: 18px; border: 1px solid var(--line); border-left: 4px solid var(--g-left); background: var(--sheet); padding: 14px 16px; font-size: 15.5px; }
  .takes b.ask { font-family: var(--display); font-size: 1.25em; }
  .takes .use { margin-top: 6px; font-weight: 600; }
  .takes .fine-print { margin-top: 4px; font-size: 13px; color: var(--soft); }
  .start-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 30px; align-items: stretch; }
  .why-ky, .adds { padding: 16px 20px; background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
  .adds { border-left-color: var(--g-left); }
  .why-ky h2, .adds h2 { font-family: var(--display); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
  .why-ky p { font-size: 15px; }
  .adds ul { margin: 0; padding-left: 20px; display: grid; gap: 5px; font-size: 15px; }
  .adds-close { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.35; }
  .callout { margin-top: 16px; font-size: 15px; background: var(--brand-tint); border-left: 4px solid var(--gold); padding: 12px 14px; }
  .try-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .try-outside { white-space: normal; text-align: left; }

  /* Stress test grid */
  .status-legend { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; color: var(--soft); }
  .pill { display: inline-block; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
  .pill.ok { background: var(--good-tint); color: var(--good); }
  .pill.strained { background: var(--gold-tint); color: var(--warn); }
  .pill.break { background: var(--bad-tint); color: var(--bad); }
  .matrix { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: var(--sheet); border: 1px solid var(--line); }
  .matrix col.lc { width: 300px; }
  .matrix th, .matrix td { padding: 9px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
  .matrix thead th { border-bottom: 2px solid var(--ink); font-family: var(--display); font-weight: 700; font-size: 16px; vertical-align: bottom; }
  .matrix thead td { border-bottom: 2px solid var(--ink); }
  .matrix .oc { border-left: 1px dashed var(--line); }
  .matrix th[scope="row"] { font-weight: 600; padding-left: 18px; }
  .matrix tr.grp th { font-family: var(--display); font-size: 15px; padding-top: 16px; color: var(--soft); }
  .cell-note { display: block; font-size: 13px; color: var(--soft); margin-top: 3px; font-variant-numeric: tabular-nums; }
  .matrix tr.sum th, .matrix tr.sum td { border-bottom: 0; border-top: 1px solid var(--ink); font-weight: 700; }
  .matrix tr.sum + tr.sum th, .matrix tr.sum + tr.sum td { border-top: 0; padding-top: 0; font-weight: 400; }
  .matrix tbody.custom th, .matrix tbody.custom td { background: var(--paper); }
  .matrix tbody.custom tr:last-child th, .matrix tbody.custom tr:last-child td { border-bottom: 0; }
  .matrix tbody.custom label { display: block; margin-bottom: 4px; }
  .matrix tbody.custom .box { max-width: 150px; background: var(--sheet); }
  .closer { margin-top: 26px; }
  .closer-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
  .closer-pick label { font-family: var(--display); font-weight: 700; font-size: 21px; }
  .closer-pick .box { flex: 0 1 320px; background: var(--sheet); }
  .breaks { border-left: 4px solid var(--bad); background: var(--sheet); padding: 14px 18px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .breaks.strained { border-left-color: var(--gold); }
  .breaks.ok { border-left-color: var(--good); }
  .breaks .kicker { font-size: 14px; color: var(--soft); }
  .breaks .headline { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; margin: 2px 0 4px; }
  .closer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
  .lead { font-size: 15px; margin-bottom: 12px; }
  .meter { margin-bottom: 12px; }
  .meter-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
  .meter-track { position: relative; height: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; margin: 4px 0 2px; }
  .meter-fill { height: 100%; border-radius: 3px; }
  .meter-mark { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
  .meter-note { font-size: 12.5px; color: var(--soft); }
  .targets { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
  .target { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; padding: 3px 0; }
  .target-note { font-size: 13.5px; color: var(--soft); margin-top: 6px; }
  .next-steps ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 8px; }
  .help { margin-top: 16px; }
  .help-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 12px; font-size: 14.5px; }
  .help-list b { display: block; }
  .help-list .ext { color: var(--soft); }

  /* Kentucky paycheck guide */
  .learn { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 0; background: var(--sheet); border: 1px solid var(--line); }
  .learn > div { padding: 18px 22px; border-right: 1px dashed var(--line); border-bottom: 1px dashed var(--line); margin: 0 -1px -1px 0; }
  .learn h3 { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.25; margin-bottom: 6px; }
  .learn p { font-size: 14.5px; }
  .fine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 28px; margin-top: 26px; align-items: start; }
  .unknowns h3, .methods h3 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 8px; }
  .methods h3:not(:first-child) { margin-top: 20px; }
  .unknowns ul, .methods ul { margin: 0 0 10px; padding-left: 20px; font-size: 14.5px; display: grid; gap: 5px; }
  .unknowns p, .methods p { font-size: 14.5px; }
  .methods { scroll-margin-top: 110px; }
  .methods:focus { outline: none; }
  .site-foot { margin: 40px 0 0; padding: 18px 0 90px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--soft); display: grid; gap: 4px; }

  /* Dialogs */
  dialog { border: 0; border-radius: 12px; padding: 0; background: var(--sheet); color: var(--ink); max-width: min(580px, calc(100vw - 28px)); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
  dialog::backdrop { background: rgba(8, 25, 42, .55); }
  #confirm-dlg { padding: 22px; max-width: min(440px, calc(100vw - 28px)); }
  #confirm-dlg p { font-size: 16px; }
  .cf-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
  .w-top { position: relative; text-align: center; padding: 22px 26px 16px; background: var(--brand-tint); border-bottom: 3px solid var(--gold); }
  .w-logo { width: 220px; max-width: 60%; height: auto; }
  .w-top h2 { font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.2; margin: 6px 0 6px; }
  .w-top p { font-size: 15px; max-width: 46ch; margin: 0 auto; }
  .w-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; color: var(--ink); font-size: 26px; line-height: 1; padding: 4px 8px; }
  .w-body { padding: 18px 26px 20px; }
  .w-body h3 { font-family: var(--display); font-weight: 700; font-size: 17px; }
  .w-steps { margin: 8px 0 12px; padding-left: 22px; display: grid; gap: 7px; font-size: 15px; }
  .w-tips { margin: 0 0 14px; padding: 10px 12px 10px 30px; background: var(--paper); border-radius: 8px; font-size: 14px; color: var(--soft); display: grid; gap: 4px; }
  .w-tips b { color: var(--ink); }
  .w-actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .w-actions .btn { flex: 1 1 200px; }
  .w-hide { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-top: 12px; }
  .w-reopen { font-size: 13px; color: var(--soft); margin-top: 4px; }

  /* Narrow screens: one option at a time, each row stacked like a form */
  @media screen and (max-width: 899px) {
    .wrap { padding: 0 16px; }
    .brand-name small { display: none; }
    .tb-btn .full { display: none; }
    .tb-btn .short { display: inline; }
    .jump .wrap { gap: 6px; }
    .jump-links { width: 100%; overflow-x: auto; gap: 16px; }
    .steps { width: 100%; justify-content: space-between; overflow-x: auto; }
    .step { font-size: 13px; gap: 4px; padding: 5px 1px; }
    .step .n { width: 19px; height: 19px; font-size: 11px; }
    .step .full { display: none; }
    .step .short { display: inline; }
    .strip { width: 100%; }
    .chip .nm { display: none; }
    .chip { padding-right: 9px; }
    .hero { padding: 28px 0 22px; }
    .hero-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 20px; }
    .hero-logo { justify-self: start; max-width: 260px; }
    .hero-sub { font-size: 17px; }
    .hero-sub strong { font-size: 19px; }
    .switch { display: flex; }
    .ledger, .ledger thead, .ledger tbody, .ledger tr, .ledger th, .ledger td,
    .matrix, .matrix thead, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; }
    .ledger colgroup, .matrix colgroup, .ledger thead td, .matrix thead { display: none; }
    .ledger .oc, .matrix .oc { display: none; border-left: 0; }
    .ledger[data-active="0"] .oc-0, .ledger[data-active="1"] .oc-1, .ledger[data-active="2"] .oc-2, .ledger[data-active="3"] .oc-3,
    .matrix[data-active="0"] .oc-0, .matrix[data-active="1"] .oc-1, .matrix[data-active="2"] .oc-2, .matrix[data-active="3"] .oc-3 { display: block; }
    .ledger th, .ledger td { padding: 4px 14px; }
    .ledger th[scope="row"] { padding: 12px 14px 2px; }
    .ledger tr.in td { padding-bottom: 6px; }
    .ledger tr.calc, .ledger tr.total, .ledger tr.left { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
    .ledger tr.calc th { flex: 1; padding: 6px 14px; }
    .ledger tr.calc td { padding: 6px 14px; flex: 0 1 auto; max-width: 58%; }
    .ledger tr.wide td { padding-bottom: 12px; }
    .ledger tr.total, .ledger tr.left { border-top: 2px solid var(--ink); }
    .ledger tr.total th, .ledger tr.total td, .ledger tr.left th, .ledger tr.left td { border: 0; }
    .ledger tr.left { background: var(--good-tint); align-items: center; border-bottom: 2px solid var(--ink); }
    .ledger tr.grp th { padding: 20px 14px 6px; }
    .sc-in > div:first-child { flex: 1; }
    .matrix th, .matrix td { border-bottom: 0; padding: 4px 14px; }
    .matrix th[scope="row"] { padding: 12px 14px 0; }
    .matrix tbody tr { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
    .matrix tr.grp { padding-bottom: 0; border-bottom: 0; }
    .matrix tr.sum th, .matrix tr.sum td { border-top: 0; }
    .matrix tbody.custom tr { background: var(--paper); }
    .winners { grid-template-columns: 1fr; }
    .winner + .winner { border-left: 0; border-top: 1px dashed var(--line); }
    .closer-grid, .fine, .help-list, .start-notes { grid-template-columns: 1fr; }
    .pad { padding: 16px; }
    .waterfall td:nth-child(2) { display: none; }
  }
  @media (max-height: 560px) { .jump { position: static; } }
  /* Print my comparison: the offers, the bottom line, and the stress test, on paper */
  @media print {
    :root { --paper: #fff; --sheet: #fff; }
    body { background: #fff; font-size: 11pt; }
    .topbar { background: #fff; color: #13202e; border-bottom: 2px solid #13202e; }
    .topbar button, .jump, .head-actions, .hero-cta, .msg, .switch, .pager, #start, #learn, .help, details.gas, .try-row, .closer-pick, dialog { display: none !important; }
    .step-page[hidden] { display: block !important; }
    main > section { padding-top: 18px; break-inside: auto; }
    .sec-head h2 { font-size: 20pt; }
    .sec-head p { display: none; }
    .ledger col.lc { width: 30%; }
    .ledger th, .ledger td, .matrix th, .matrix td { padding: 3px 8px; font-size: 9.5pt; }
    .ledger .box, .matrix .box { border: 0; background: none; }
    .ledger .box input { padding: 0; font-size: 10pt; text-align: right; }
    .ledger .hint, .matrix .hint, .loc-note, .sub-l, .ledger .check, .cell-note { font-size: 8pt; }
    .ledger tr.grp th { padding-top: 10px; }
    .ledger tr, .matrix tr, .winners, .takes, .breaks { break-inside: avoid; }
    #stress { break-before: page; }
    .closer-grid { grid-template-columns: 1fr 1fr; }
    .print-date { display: block !important; font-size: 10pt; color: #526172; margin-top: 4px; }
    .print-only { display: inline !important; }
    .oh-top input, .combo, .oh-row { display: none !important; }
    .oh-top .print-only { font-family: var(--display); font-weight: 700; font-size: 11pt; }
    .counter-btn { display: none !important; }
    /* The counteroffer sheet prints on its own */
    html.print-counter body > *:not(.counter-sheet) { display: none !important; }
    html.print-counter .counter-sheet { display: block; color: #13202e; font-size: 11pt; line-height: 1.45; max-width: 6.8in; }
    .counter-sheet h1 { font-family: var(--display); font-size: 22pt; line-height: 1.1; padding-bottom: 6pt; border-bottom: 2pt solid #13202e; }
    .counter-sheet h2 { font-family: var(--display); font-size: 13pt; margin: 16pt 0 4pt; }
    .counter-sheet .cs-sub { color: #526172; font-size: 10pt; margin-top: 6pt; }
    .counter-sheet .cs-ask { font-family: var(--display); font-weight: 700; font-size: 30pt; line-height: 1.1; margin-bottom: 4pt; }
    .counter-sheet .cs-table { width: 100%; border-collapse: collapse; margin-top: 8pt; font-size: 10pt; }
    .counter-sheet .cs-table th, .counter-sheet .cs-table td { text-align: left; padding: 4pt 6pt; border-bottom: 0.75pt solid #cfd8e1; }
    .counter-sheet .cs-table thead th { border-bottom: 1.5pt solid #13202e; }
    .counter-sheet .cs-script { margin: 4pt 0 0; padding: 8pt 12pt; border-left: 3pt solid #f2b84b; background: #fdf3df; font-size: 12pt; }
    .counter-sheet ul { margin: 4pt 0 0; padding-left: 16pt; }
    .counter-sheet .cs-foot { margin-top: 18pt; font-size: 9pt; color: #526172; }
  }
</style>
</head>
<body>
<dialog id="confirm-dlg" aria-labelledby="cf-msg">
  <p id="cf-msg"></p>
  <div class="cf-actions"><button type="button" class="btn" id="cf-cancel">Cancel</button><button type="button" class="btn primary" id="cf-ok">Continue</button></div>
</dialog>
<dialog id="welcome" aria-labelledby="w-title" aria-describedby="w-lead">
  <div class="w-top">
    <button type="button" class="w-close" id="w-close" aria-label="Close welcome">&times;</button>
    <img class="w-logo" alt="" width="720" height="373">
    <h2 id="w-title">Welcome to Bluegrass Financial Checkup</h2>
    <p id="w-lead">Find out whether a higher-paying job or a move actually leaves you better off in Kentucky, and whether it holds up when life doesn't go to plan.</p>
  </div>
  <div class="w-body">
    <h3>Getting started takes four steps</h3>
    <ol class="w-steps">
      <li><b>Start with an example or your own numbers.</b> The page opens with Ty's real numbers for two jobs, shared with permission.</li>
      <li><b>Fill in each offer.</b> Type a salary, a Kentucky city or county, and rent into each column. Federal, Kentucky, and local taxes fill in for you.</li>
      <li><b>Read the bottom line.</b> See what each choice leaves each month and why the raise shrank.</li>
      <li><b>See what breaks first.</b> Every option is tested against surprise bills, pay cuts, and time out of work.</li>
    </ol>
    <ul class="w-tips">
      <li>Your numbers stay on this computer. Nothing is sent anywhere.</li>
      <li>Use <b>Save my plan</b> (or Ctrl+S) to keep your work and <b>Open a saved plan</b> (Ctrl+O) to pick it back up.</li>
      <li>These are estimates for learning, not financial, tax, or legal advice.</li>
    </ul>
    <div class="w-actions">
      <button type="button" class="btn primary" id="w-example">Explore with example numbers</button>
      <button type="button" class="btn" id="w-own">Start with my own numbers</button>
    </div>
    <label class="w-hide"><input type="checkbox" id="w-hide"> Don't show this when the page opens</label>
    <p class="w-reopen">You can reopen this anytime with <b>Getting started</b> at the top.</p>
  </div>
</dialog>

<header class="topbar">
  <div class="wrap">
    <div class="brand"><img class="brand-logo" src="data:image/webp;base64,UklGRpgXAABXRUJQVlA4WAoAAAAQA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91eXcxv9KMOLRAu9u9C0Cx6zpNS90Q9Cf/FEK3DIej2bad6wQWKI7niv/ll/8r/nmbcK+LLaoNqOeeyAS+0fDzELzRfn+aqwI0GtSGOUns8egLtb6PjfukFQSgSEBzkbWcBZDD4X2QvXx4gokIA7EP6BAxEQPOxQ2TxQXeaZD4sAPrIcGgkYtqp6BrgrRRtCuSAkTzMmQdAhABilaZ8Nfwt7bRQIAmFXtY/OjFb2qreHVvSUkQp5AxPL2czZCMNw4Dw09rwXLoLR3gdgymP0Gk/QFyinVF0snyHmor0subIUHLsDq65k2QHx4jNGNB+mK6c54xg+FhsneEqggGcfn82e9f5m13UvZ8PhedDidUlY+VuC/UE6U2Cwgu9sNCns9md6E8qXponypoT2Eq4QUowHj2Kiw+isENxFLhE+1b43JXJ1JrOn9rhTPXujUbZvnHGUcqlaTOSfXKn4upPfoWWYHFEphw3QJi5yYVem12MZV8w0dBb/M03SEAAvIAAAAAAAAAAA" alt="" width="88" height="46"><h1 class="brand-name">Bluegrass Financial Checkup <small>Kentucky Job, Housing &amp; Financial Resilience Planner</small></h1><span class="print-date" id="print-date"></span></div>
    <button class="tb-btn" id="btn-welcome" type="button" aria-label="Getting started guide"><span class="full">Getting started</span><span class="short">Guide</span></button>
    <button class="tb-btn solid" id="btn-save" type="button"><span class="full">Save my plan</span><span class="short">Save</span></button>
    <button class="tb-btn" id="btn-open" type="button" aria-label="Open a saved plan"><span class="full">Open a saved plan</span><span class="short">Open</span></button>
    <input type="file" id="file-input" accept=".json,application/json" class="sr-only" tabindex="-1" aria-hidden="true">
    <span class="save-state" id="status" aria-live="polite">No unsaved changes</span>
  </div>
</header>

<nav class="jump" aria-label="Planner steps and money left each month">
  <div class="wrap">
    <ol class="steps">
      <li><button type="button" class="step" data-goto="start"><span class="n" aria-hidden="true">1</span><span class="full">Start</span><span class="short">Start</span></button></li>
      <li><button type="button" class="step" data-goto="offers"><span class="n" aria-hidden="true">2</span><span class="full">Your offers</span><span class="short">Offers</span></button></li>
      <li><button type="button" class="step" data-goto="bottom-line"><span class="n" aria-hidden="true">3</span><span class="full">Bottom line</span><span class="short">Result</span></button></li>
      <li><button type="button" class="step" data-goto="stress"><span class="n" aria-hidden="true">4</span><span class="full">What breaks first</span><span class="short">Stress</span></button></li>
      <li><button type="button" class="step" data-goto="learn"><span class="n" aria-hidden="true">5</span><span class="full">Kentucky paycheck guide</span><span class="short">Guide</span></button></li>
    </ol>
    <div class="strip" id="strip"></div>
  </div>
</nav>

<div class="msg" id="msg" role="alert"><span id="msg-text"></span><button type="button" id="msg-close" aria-label="Dismiss message">&times;</button></div>

<main class="wrap">
  <section class="hero step-page" id="start" data-step="start" tabindex="-1" aria-labelledby="hero-title">
    <p class="hero-title" id="hero-title"><span aria-hidden="true">Your salary</span><span class="sr-only">Your salary is not your lifestyle.</span></p>
    <div class="hero-bar" id="hero-bar" role="img"></div>
    <p class="hero-cap" id="hero-cap"></p>
    <p class="hero-title line2" aria-hidden="true"><span aria-hidden="true">is not your lifestyle.</span></p>
    <div class="hero-grid">
      <div>
        <p class="hero-sub"><strong>Is the higher-paying job actually the better move?</strong> Compare salary, Kentucky taxes, housing, commuting, retirement benefits, and financial resilience before you choose between jobs or places to live.</p>
        <p class="story" id="ky-example"></p>
        <div class="more-ex" role="group" aria-labelledby="more-ex-label"><span id="more-ex-label">Another real example:</span>
          <button type="button" class="mini-btn" data-example="yash"><b>Yash</b>: live with parents for a Lexington job, or take a Covington job that pays $4,000 more?</button>
        </div>
        <div class="hero-cta"><button type="button" class="btn primary" id="hero-example">Explore Ty's example</button><button type="button" class="btn" id="hero-own">Start with my numbers</button></div>
      </div>
      <div class="hero-side">
        <img class="hero-logo" src="data:image/webp;base64,UklGRkR5AABXRUJQVlA4WAoAAAAQAAAAzwIAdAEAQUxQSIUtAAAB/yckSPD/eGtEpO4TktxIciSpzD2qMmsi5/8PTlFi1O4tov8TsP3nz2/KAKHvSFIX8Q2dE31DGhDiWIuv1j63DQ8IgoXm1BczmOXYTDWbQW8z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Vrzx41Nuu+OvPrMdSEAsEZl+D9iv/BtumrbdNW4ecTt0eEgmh6Y4b2aTKlUHf4n4lydIqvwZ/SoAAAAAAAAAAAAAAAAAAAAAAAAEAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" alt="Bluegrass Financial Checkup logo: the outline of Kentucky with rolling hills, a horse, and a white fence" width="720" height="373">
        <p class="who">Built for Kentucky college seniors and recent grads choosing between job offers in different cities, and deciding whether to live alone or with a roommate.</p>
        <p class="note"><strong>Educational use only.</strong> Estimates for learning and planning, not financial, tax, investment, or legal advice.</p>
      </div>
    </div>
    <div class="start-notes">
    <aside class="why-ky" aria-labelledby="h-why-ky">
      <h2 id="h-why-ky">Why this matters in Kentucky</h2>
      <p>Kentucky paychecks have a layer of tax many states don't: <b>87 of the state's 120 counties</b> charge an occupational tax on wages (Kentucky Association of Counties, 2026), and <b>170 cities</b> tax earnings too, sometimes on top of the county's and sometimes in its place (Kentucky League of Cities, 2025). New graduates start out stretched: a Kentucky public university bachelor's graduate who borrowed owed <b>$32,996</b> on average (Council on Postsecondary Education, class of 2023&ndash;24).</p>
    </aside>
    <aside class="adds" aria-labelledby="h-adds">
      <h2 id="h-adds">More than a paycheck calculator</h2>
      <ul>
        <li>Compares up to four offers side by side, after rent and bills.</li>
        <li>Counts where you live, not just where you work: Lexington's 0.5% school tax for Fayette County residents, and Louisville's lower rate if you live outside Jefferson County.</li>
        <li>Counts the employer 401(k) match as part of the offer.</li>
        <li>Tests every option against nine shocks, like two months out of work, and shows what breaks first.</li>
        <li>Works out what it would take: the salary or rent that would make the weaker offer match the stronger one.</li>
      </ul>
      <p class="adds-close">A paycheck calculator tells you what you&rsquo;d take home. This tells you what&rsquo;s left, what breaks first, and what it would take.</p>
    </aside>
    </div>
    <div class="pager"><button type="button" class="btn primary" data-goto="offers">Next: Your offers</button></div>
  </section>

  <section class="step-page" id="offers" data-step="offers" tabindex="-1" aria-labelledby="h-offers" hidden>
    <div class="sec-head">
      <div><h2 id="h-offers">Follow each offer from salary to what's left</h2>
        <p>Each column is one job and housing option. Type in the boxes; taxes and totals fill in as you go. Rough numbers are fine. Local taxes change by Kentucky city, by county, and in some places by where you live.</p></div>
      <div class="head-actions"><button type="button" class="btn" id="btn-add">Add an option</button><button type="button" class="btn" id="btn-example">Use example numbers</button><button type="button" class="btn" id="btn-clear">Start blank</button></div>
    </div>
    <div class="switch" id="switch-a" role="group" aria-label="Option shown"></div>
    <table class="ledger" id="ledger" aria-label="Each option from salary to money left each month"></table>
    <div class="legend" id="legend"></div>
    <div id="k401-note" aria-live="polite"></div>
    <div class="pager"><button type="button" class="btn" data-goto="start">Back</button><button type="button" class="btn primary" data-goto="bottom-line">Next: Bottom line</button></div>
  </section>

  <section class="step-page" id="bottom-line" data-step="bottom-line" tabindex="-1" aria-labelledby="h-bottom" hidden>
    <div class="sec-head"><div><h2 id="h-bottom">The bottom line</h2>
      <p>What each option really leaves you, which one wins on each measure, where a raise goes, and what it would take to close the gap.</p></div>
      <div class="head-actions"><button type="button" class="btn" id="btn-print">Print my comparison</button></div></div>
    <p class="verdict" id="verdict" aria-live="polite"></p>
    <div class="winners" id="winners" aria-label="The three answers"></div>
    <p class="winner-note" id="winner-note"></p>
    <p class="define"><b>Total financial value</b> = cash left (per year) after bills + your 401(k) contribution + employer retirement match. Retirement money is not spendable today and may be taxable when withdrawn. Cash and retirement dollars aren't directly comparable: retirement money is pre-tax and locked up until later.</p>
    <p class="define">Taxes are built in from official 2026 rates. Rent, commuting, and everyday costs are your estimates, so treat results as close, not exact. <a href="#methods" id="how-link">How this was calculated</a></p>
    <div class="raise">
      <h3 class="plain">Where did the raise go?</h3>
      <p class="sub">A bigger salary isn't a bigger lifestyle until it gets past taxes, retirement, and rent. Pick two options to follow the difference dollar by dollar.</p>
      <div class="raise-pick">
        <label for="raise-b">Going from</label>
        <div class="box"><select id="raise-b"></select></div>
        <label for="raise-a">to</label>
        <div class="box"><select id="raise-a"></select></div>
      </div>
      <div class="sheet pad" id="raise"></div>
    </div>
    <div class="pager"><button type="button" class="btn" data-goto="offers">Back</button><button type="button" class="btn primary" data-goto="stress">Next: What breaks first</button></div>
  </section>

  <section class="step-page" id="stress" data-step="stress" tabindex="-1" aria-labelledby="h-stress" hidden>
    <div class="sec-head"><div><h2 id="h-stress">What breaks first?</h2>
      <p>A choice that works on paper may fail after one missed paycheck or major expense. Every option faces the same nine shocks, so you can see how much room each one gives you when something goes wrong.</p></div></div>
    <ul class="status-legend" aria-label="What the results mean">
      <li><span class="pill ok">Holds up</span> Still financially workable under this shock.</li>
      <li><span class="pill strained">Stretched</span> Still works, but leaves very little margin.</li>
      <li><span class="pill break">Breaks</span> Creates a cash shortfall or exhausts available savings.</li>
    </ul>
    <div class="switch" id="switch-b" role="group" aria-label="Option shown"></div>
    <table class="matrix" id="matrix" aria-label="Each option against nine financial shocks"></table>

    <div class="closer">
      <div class="closer-pick">
        <label for="stress-choice">Look closer at</label>
        <div class="box"><select id="stress-choice"></select></div>
      </div>
      <div id="breaks"></div>
      <div class="closer-grid">
        <div class="sheet pad" id="pressure"></div>
        <div class="sheet pad next-steps" id="next-steps"></div>
      </div>
    </div>
    <div class="sheet pad help" id="help">
      <h3 class="plain">Official Kentucky resources</h3>
      <p class="sub">Official places to start if something goes wrong. This planner does not determine eligibility; each program decides that. Links open the official site in a new tab.</p>
      <div class="help-list">
        <div><b>Lost your job or hours?</b>You may be able to get unemployment insurance. Claims are filed through the Kentucky Career Center. <span class="ext">Official site:</span> <a href="https://uiclaimsportal.ky.gov/" target="_blank" rel="noopener">uiclaimsportal.ky.gov<span class="sr-only"> (official site, opens in a new tab)</span></a></div>
        <div><b>Need health coverage or food help?</b>kynect benefits is Kentucky's site for applying for Medicaid, SNAP, KTAP, and child care assistance. <span class="ext">Official site:</span> <a href="https://kynect.ky.gov/benefits/s/?language=en_US" target="_blank" rel="noopener">kynect.ky.gov/benefits<span class="sr-only"> (official site, opens in a new tab)</span></a></div>
        <div><b>Student loan payment too high?</b>Federal student loans have income-driven repayment plans that can lower your payment, or call your loan servicer. <span class="ext">Official U.S. Department of Education site:</span> <a href="https://studentaid.gov/" target="_blank" rel="noopener">studentaid.gov<span class="sr-only"> (official site, opens in a new tab)</span></a></div>
        <div><b>Not sure where to turn?</b>In much of Kentucky, dialing 211 connects you with local help for rent, utilities, and other needs.</div>
      </div>
    </div>
    <div class="pager"><button type="button" class="btn" data-goto="bottom-line">Back</button><button type="button" class="btn primary" data-goto="learn">Next: Kentucky paycheck guide</button></div>
  </section>

  <section class="step-page" id="learn" data-step="learn" tabindex="-1" aria-labelledby="h-learn" hidden>
    <div class="sec-head"><div><h2 id="h-learn">What nobody tells you about your first Kentucky paycheck</h2></div></div>
    <div class="learn">
      <div><h3>You pay three layers of income tax</h3><p>Federal, Kentucky's flat 3.5% state tax, and a local "occupational license" tax charged by the city or county where you work. It's easy to miss, because it depends on where you work and, in some places, where you live.</p></div>
      <div><h3>The local tax hits your whole paycheck</h3><p>Lexington's 2.25% fee applies to gross pay, including what you put in your 401(k) and pre-tax health insurance. Saving for retirement lowers your federal and state taxes, but not this one.</p></div>
      <div><h3>Where you live can matter too</h3><p>Louisville Metro charges 2.2% if you live in Jefferson County and 1.45% if you live outside it, because non-residents skip the 0.75% school portion. In Lexington, Fayette County residents pay a 0.5% school tax on top of the city's 2.25% when they work in Fayette County.</p></div>
      <div><h3>Every Kentucky city does it differently</h3><p>In Covington, the city and Kenton County taxes stack to about 3.15%. In Bowling Green, you pay the city's 2% or Warren County's 1%, never both. Working just outside city limits can change your paycheck.</p></div>
      <div><h3>Your 401(k) costs less than it looks</h3><p>Putting $100 into a traditional 401(k) lowers your take-home by less than $100, because that money skips federal and Kentucky income tax. An employer match is part of your pay, so contribute enough to get all of it.</p></div>
    </div>

    <div class="fine"><aside class="unknowns" aria-labelledby="h-unknowns">
      <h3 id="h-unknowns">What this tool does not know</h3>
      <ul>
        <li>Your exact tax filing situation</li>
        <li>Tax credits or itemized deductions</li>
        <li>Bonuses, overtime, or side income</li>
        <li>Future raises or promotions</li>
        <li>Employer benefits beyond what you enter</li>
        <li>Actual medical or insurance claims</li>
        <li>Health insurance costs after a job loss (the stress test assumes your premium stays the same)</li>
        <li>Unemployment benefits (the 2-month job-loss test assumes none; if you're laid off, Kentucky benefits could cover part of the gap)</li>
        <li>Changes in tax law after 2026</li>
        <li>Your personal priorities or career preferences</li>
      </ul>
      <p>Use this planner to compare financial tradeoffs, not to replace professional tax, legal, or financial advice.</p>
    </aside>
    <div class="methods" id="methods" tabindex="-1">
        <h3>How the numbers are calculated (2026 rules, single filer)</h3>
        <ul>
          <li><b>Federal income tax:</b> 2026 single brackets (10% to $12,400; 12% to $50,400; 22% to $105,700; 24% to $201,775; 32% to $256,225; 35% to $640,600; 37% above) after the $16,100 standard deduction. Assumes no other income, credits, or itemized deductions.</li>
          <li><b>Social Security and Medicare:</b> 6.2% on wages up to $184,500 plus 1.45% Medicare (0.9% more above $200,000). A 401(k) does not reduce these; pre-tax health insurance does.</li>
          <li><b>Kentucky income tax:</b> flat 3.5% after the $3,360 standard deduction (Kentucky Department of Revenue 2026 withholding formula).</li>
          <li><b>Local occupational tax:</b> charged on gross salary where you work. Lexington-Fayette 2.25% (includes 401(k) and Section 125 contributions, per LFUCG), plus the Fayette County Public Schools 0.5% tax, which applies to Fayette County residents for work performed in Fayette County (checked on the FCPS Tax Collection Office website, October 2026). Louisville Metro 2.2% for Jefferson County residents, 1.45% for non-residents. Covington 2.45% plus Kenton County 0.6997%, which stack, both on wages up to the Social Security wage cap; Erlanger (1.5%) and Independence (1.25%) also add Kenton County's capped tax (Kenton County 2026 guide). Bowling Green 2% in place of Warren County's 1%, plus 0.5% for Warren County Public Schools residents. Richmond 2%, with Madison County's 1% applying only outside Richmond and Berea. Georgetown 1% plus Scott County 1%, which stack (Scott County Schools adds 0.5% for county residents). Owensboro 1.78% plus Daviess County 1%, which stack. Nicholasville 1.5% plus Jessamine County 1%, which stack. Frankfort 1.95%, Paducah 2%, and Elizabethtown 1.95%, where the county tax applies only outside the city. All other counties use the 2026 county rates published by the Kentucky Association of Counties. Fayette and Jefferson counties have merged with Lexington and Louisville, so their taxes are the Lexington and Louisville options above (KACo lists them at 2.25% and 1.25%; Louisville's 2.2% resident rate also includes its school and transit taxes). That is why the county list has 118 entries: 85 charge a county tax, and with Fayette and Jefferson that makes the 87 KACo counts; a city or school district tax may add to or replace these, so the planner lets you enter it.</li>
          <li><b>401(k):</b> each option has its own contribution rate and match formula, such as 50¢ per $1 on contributions up to 6% of salary. Your contribution is capped at the 2026 limit of $24,500, and the employer match applies only to what you actually contribute.</li>
          <li><b>Not included:</b> taxes outside Kentucky, tax credits, side income, and the student loan interest deduction. Your paycheck withholding may differ slightly from your final tax bill.</li>
        </ul>
        <p>Sources: IRS 2026 inflation adjustments and retirement plan limits; Social Security Administration 2026 wage base; Kentucky Department of Revenue 2026 Withholding Tax Formula; Lexington-Fayette Urban County Government; Louisville Metro Revenue Commission; Kentucky Association of Counties 2026 occupational tax data brief; Kenton County and Cities Occupational License Guide (2026); City of Bowling Green and Warren County; Madison County and Select Richmond; Georgetown-Scott County Revenue Commission; City of Frankfort and Franklin County; City of Owensboro and Daviess County Fiscal Court; City of Paducah and McCracken County; City of Elizabethtown and Hardin County; City of Nicholasville and Jessamine County; Fayette County Public Schools. Figures in "Why this matters in Kentucky": Kentucky Association of Counties 2026 occupational tax data brief; Kentucky League of Cities, "The Occupational (Business) License Fee" (2025); Kentucky Council on Postsecondary Education student debt report (2025, class of 2023&ndash;24). School district taxes outside Lexington, Louisville, and Bowling Green are not built in; use the extra local tax field. Rates checked October 2026.</p>
        <h3>Your privacy</h3>
        <p>Everything you type stays on your computer. This page doesn't send your information anywhere, use outside services, or need an account or API key. "Save my plan" downloads a file to your device, and "Open a saved plan" reads it back.</p>
        <h3>Educational use disclaimer</h3>
        <p>Bluegrass Financial Checkup is an educational tool built for the Kentucky PFM Challenge. It is not financial, investment, tax, or legal advice, and it does not recommend any investment. Tax rules change and your situation may differ, so check important decisions with your employer's HR or payroll office or a qualified professional.</p>
      </div>
    </div>
    <div class="pager"><button type="button" class="btn" data-goto="stress">Back</button><button type="button" class="btn" data-goto="start">Back to the start</button></div>
  </section>

  <footer class="site-foot">
    <p><b>Educational use only.</b> This planner gives estimates, not financial, tax, investment, or legal advice. Everything you enter stays on your computer.</p>
    <p>Copyright (c) 2026 Bryce Trosper. Released under the MIT License.</p>
    <p>Headline typeface: Besley, Copyright 2020 The Besley Project Authors, SIL Open Font License 1.1.</p>
  </footer>
</main>
<section id="counter-sheet" class="counter-sheet" aria-hidden="true"></section>

<script>
(function () {
  "use strict";
  // ---------- 2026 tax constants ----------
  var TAX = {
    fedStd: 16100,
    fedBrackets: [ [12400, 0.10], [50400, 0.12], [105700, 0.22], [201775, 0.24], [256225, 0.32], [640600, 0.35], [Infinity, 0.37] ],
    ssRate: 0.062, ssCap: 184500,
    medRate: 0.0145, addMedRate: 0.009, addMedThreshold: 200000,
    kyRate: 0.035, kyStd: 3360,
    k401Limit: 24500
  };

  // Verified places. Rates are the total local tax on wages for someone who works there.
  var LOCATIONS = {
    lex:     { label: "Lexington, live in Fayette County: 2.75%", rate: 0.0275, short: "Lexington", group: "city",
               note: "Lexington-Fayette's 2.25% plus the Fayette County Public Schools 0.5% tax, which applies to Fayette County residents who also work there." },
    lex_non: { label: "Lexington, live outside Fayette County: 2.25%", rate: 0.0225, short: "Lexington", group: "city",
               note: "Lexington-Fayette's 2.25% only. The 0.5% school tax applies only to Fayette County residents." },
    lou_res: { label: "Louisville, live in Jefferson County: 2.2%", rate: 0.022, short: "Louisville", group: "city" },
    lou_non: { label: "Louisville, live outside Jefferson County: 1.45%", rate: 0.0145, short: "Louisville", group: "city" },
    bg:      { label: "Bowling Green: 2%", rate: 0.02, short: "Bowling Green", group: "city", extra: true,
               note: "Bowling Green charges 2% instead of Warren County's 1%, never both. If you live in the Warren County Public Schools district, add its 0.5% school tax below." },
    cov:     { label: "Covington: 3.15%", rate: 0.0245 + 0.006997, capped: 0.0245 + 0.006997, short: "Covington", group: "city", extra: true,
               note: "Covington's 2.45% city tax and Kenton County's 0.70% tax stack, for about 3.15% total, on wages up to the Social Security wage cap ($184,500 in 2026). A school district tax may also apply depending on where you live; if so, add it below." },
    erl:     { label: "Erlanger: 2.2%", rate: 0.015 + 0.006997, capped: 0.006997, short: "Erlanger", group: "city", extra: true,
               note: "Erlanger's 1.5% city tax plus Kenton County's 0.70%. A school district tax may also apply depending on where you live; if so, add it below." },
    ind:     { label: "Independence: 1.95%", rate: 0.0125 + 0.006997, capped: 0.006997, short: "Independence", group: "city", extra: true,
               note: "Independence's 1.25% city tax plus Kenton County's 0.70%. A school district tax may also apply depending on where you live; if so, add it below." },
    rich:    { label: "Richmond: 2%", rate: 0.02, short: "Richmond", group: "city", extra: true,
               note: "Madison County's 1% applies only outside Richmond and Berea, so Richmond workers pay the city's 2%. A school district tax may also apply depending on where you live; if so, add it below." },
    geo:     { label: "Georgetown: 2%", rate: 0.02, short: "Georgetown", group: "city", extra: true,
               note: "Georgetown's 1% city tax and Scott County's 1% tax stack, for 2% total. If you live in Scott County, add the 0.5% Scott County Schools tax below." },
    fra:     { label: "Frankfort: 1.95%", rate: 0.0195, short: "Frankfort", group: "city", extra: true,
               note: "Frankfort charges 1.95%. Franklin County's 1% applies only outside the city. A school district tax may also apply depending on where you live; if so, add it below." },
    owe:     { label: "Owensboro: 2.78%", rate: 0.0278, short: "Owensboro", group: "city", extra: true,
               note: "Owensboro's 1.78% city tax and Daviess County's 1% tax stack, for 2.78% total. A school district tax may also apply depending on where you live; if so, add it below." },
    pad:     { label: "Paducah: 2%", rate: 0.02, short: "Paducah", group: "city", extra: true,
               note: "Paducah charges 2%. McCracken County's 1% applies only outside the city. A school district tax may also apply depending on where you live; if so, add it below." },
    eto:     { label: "Elizabethtown: 1.95%", rate: 0.0195, short: "Elizabethtown", group: "city", extra: true,
               note: "Elizabethtown charges 1.95%. Hardin County's 1% applies only outside its cities. A school district tax may also apply depending on where you live; if so, add it below." },
    nic:     { label: "Nicholasville: 2.5%", rate: 0.025, short: "Nicholasville", group: "city", extra: true,
               note: "Nicholasville's 1.5% city tax and Jessamine County's 1% tax stack, for 2.5% total. A school district tax may also apply depending on where you live; if so, add it below." },
    custom:  { label: "Enter my own total rate", rate: null, short: "Kentucky", group: "other" }
  };
  "Adair 0.50|Allen 1.00|Anderson -|Ballard 1.50|Barren -|Bath 2.00|Bell -|Boone 0.80|Bourbon 1.25|Boyd 1.00|Boyle 1.25|Bracken -|Breathitt 2.00|Breckinridge -|Bullitt -|Butler 1.00|Caldwell 1.50|Calloway -|Campbell 0.90|Carlisle -|Carroll 1.50|Carter 1.00|Casey -|Christian -|Clark 1.50|Clay 1.00|Clinton 1.25|Crittenden 1.50|Cumberland 1.25|Daviess 1.00|Edmonson -|Elliott 1.00|Estill 2.00|Fleming -|Floyd -|Franklin 1.00|Fulton -|Gallatin 1.00|Garrard 2.00|Grant 2.50|Graves 1.00|Grayson 0.50|Green -|Greenup -|Hancock 1.60|Hardin 1.00|Harlan -|Harrison 1.50|Hart 0.80|Henderson 1.00|Henry -|Hickman 1.00|Hopkins 0.50|Jackson 1.85|Jessamine 1.00|Johnson 0.50|Kenton 0.70|Knott -|Knox 1.00|LaRue -|Laurel 1.00|Lawrence -|Lee -|Leslie 1.00|Letcher -|Lewis -|Lincoln 1.00|Livingston 1.00|Logan 0.75|Lyon -|McCracken 1.00|McCreary 1.50|McLean 1.00|Madison 1.00|Magoffin 1.00|Marion 1.00|Marshall 1.00|Martin 2.00|Mason 1.00|Meade -|Menifee 1.25|Mercer 1.00|Metcalfe 1.00|Monroe 1.00|Montgomery 2.00|Morgan 1.50|Muhlenberg -|Nelson 0.50|Nicholas 1.00|Ohio 1.25|Oldham -|Owen -|Owsley -|Pendleton 1.00|Perry 1.00|Pike 1.00|Powell 1.75|Pulaski 1.00|Robertson 1.50|Rockcastle 1.50|Rowan 1.50|Russell 1.00|Scott 1.00|Shelby 1.00|Simpson 1.25|Spencer 0.80|Taylor 1.00|Todd 1.00|Trigg -|Trimble -|Union 0.50|Warren 1.00|Washington 0.75|Wayne 0.90|Webster -|Whitley 1.00|Wolfe 1.25|Woodford 1.50".split("|").forEach(function (item) {
    var parts = item.split(" "), name = parts[0], r = parts[1];
    var rate = r === "-" ? 0 : Number(r) / 100;
    if (name === "Kenton") rate = 0.006997; // exact rate from the Kenton County 2026 guide
    LOCATIONS["co_" + name.toLowerCase()] = {
      capped: name === "Kenton" ? rate : 0,
      label: name + " County: " + (rate ? rateTxt(rate) + " county tax" : "no county tax"),
      rate: rate, short: name + " County", group: "county", extra: true,
      note: (rate ? "" : name + " County has no county occupational tax. ") + "This is the county occupational tax only. A city, school district, or special district may also apply. Check your pay stub or local finance office, and enter any extra tax below."
    };
  });

  var SEARCH_WORDS = { lex: "lexington fayette", lex_non: "lexington fayette", lou_res: "louisville jefferson metro", lou_non: "louisville jefferson metro",
    bg: "bowling green warren", cov: "covington kenton northern kentucky", erl: "erlanger kenton northern kentucky", ind: "independence kenton northern kentucky",
    rich: "richmond madison eku", geo: "georgetown scott", fra: "frankfort franklin", owe: "owensboro daviess",
    pad: "paducah mccracken", eto: "elizabethtown hardin", nic: "nicholasville jessamine", custom: "custom other my own rate enter" };
  var LOC_GROUPS = [["city", "Places with verified rates"], ["county", "Other Kentucky counties"], ["other", "Something else"]];

  var FILE_TAG = "bluegrass-financial-checkup";
  var LEGACY_TAG = "ky-first-year-planner"; // marker used by plans saved before the rename, still accepted
  var FILE_VERSION = 1;
  var MAX_SCENARIOS = 4;
  var LETTERS = "ABCD";

  var LIFE_FIELDS = [
    { key: "loanPayment", label: "Student loan payment", hint: "per month", type: "money", max: 10000 },
    { key: "carPayment", label: "Car payment", hint: "per month", type: "money", max: 10000 },
    { key: "carInsurance", label: "Car insurance", hint: "per month", type: "money", max: 5000 },
    { key: "everyday", label: "Essential everyday costs", hint: "groceries, utilities, phone, gas, basic necessities, per month", type: "money", max: 50000 },
    { key: "flexible", label: "Flexible spending", hint: "dining out, entertainment, subscriptions, shopping, per month", type: "money", max: 50000 },
    { key: "savings", label: "Savings you have now", hint: "cash you could use in an emergency", type: "money", max: 10000000 }
  ];

  var SCEN_CORE = [
    { key: "salary", label: "Salary", hint: "per year, before taxes", type: "money", max: 10000000 },
    { key: "location", label: "Where the job is", hint: "This sets your local tax.", type: "location" },
    { key: "customRate", label: "Local occupational tax rate", hint: "city and county combined", type: "pct", max: 5, showIf: function (s) { return s.location === "custom"; } },
    { key: "extraLocal", label: "Extra local tax", hint: "a city or school district tax not included above", type: "pct", max: 3, showIf: function (s) { var l = LOCATIONS[s.location]; return !!(l && l.extra); } },
    { key: "rent", label: "Your share of rent", hint: "per month, after any roommate split", type: "money", max: 50000 },
    { key: "retirePct", label: "Your 401(k) contribution", hint: "percent of salary at this job, taken out pre-tax", type: "pct", max: 75 }
  ];
  var SCEN_MORE = [
    { key: "health", label: "Health insurance premium", hint: "your share, per month", type: "money", max: 5000 },
    { key: "matchRate", label: "Employer match rate", hint: "what they add per $1 you put in: 100 = dollar for dollar, 50 = 50¢ per $1", type: "pct", max: 200 },
    { key: "match", label: "Employer matches up to", hint: "percent of salary; many plans stop at 3% to 6%. Enter 0 if there's no match", type: "pct", max: 25 },
    { key: "extra", label: "Commuting and other job costs", hint: "gas or bus pass for this commute, parking, per month", type: "money", max: 50000 },
    { key: "healthPreTax", label: "My health premium comes out pre-tax through my employer", type: "check" }
  ];
  var SCEN_FIELDS = SCEN_CORE.concat(SCEN_MORE);

  // ---------- State ----------
  // The example the page opens with: real numbers Ty shared, with permission, comparing two jobs
  function exampleState() {
    return {"life": {"loanPayment": 0, "carPayment": 0, "carInsurance": 100, "everyday": 300, "flexible": 300, "savings": 10000}, "scenarios": [{"name": "Lexington job", "salary": 48000, "location": "lex", "customRate": 1, "rent": 1200, "retirePct": 2, "health": 0, "healthPreTax": true, "matchRate": 100, "match": 2, "extra": 20, "extraLocal": 0}, {"name": "Louisville job", "salary": 50000, "location": "lou_res", "customRate": 1, "rent": 1400, "retirePct": 2, "health": 0, "healthPreTax": true, "matchRate": 100, "match": 2, "extra": 20, "extraLocal": 0}]};
  }
  function blankScenario(n) {
    return { name: "Choice " + LETTERS[n - 1], salary: 0, location: "lex", customRate: 1, rent: 0, retirePct: 0, health: 0, healthPreTax: true, matchRate: 100, match: 0, extra: 0, extraLocal: 0 };
  }
  function blankState() {
    return {
      life: { loanPayment: 0, carPayment: 0, carInsurance: 0, everyday: 0, flexible: 0, savings: 0 },
      scenarios: [blankScenario(1), blankScenario(2)]
    };
  }

  var state = exampleState();
  var active = 0;
  var dirty = false;

  // ---------- Helpers ----------
  function $(id) { return document.getElementById(id); }
  function esc(s) { return String(s).replace(/[&<>"']/g, function (c) { return { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }[c]; }); }
  function fmt(n, opts) {
    opts = opts || {};
    var neg = n < 0, v = Math.round(Math.abs(n));
    var s = "$" + v.toLocaleString("en-US");
    if (neg && v !== 0) return "−" + s;
    return (opts.sign && n >= 0.5 ? "+" : "") + s;
  }
  function pct(x) { return (x * 100).toFixed(x * 100 < 10 ? 1 : 0) + "%"; }
  function num(v) { var n = Number(v); return isFinite(n) ? n : 0; }
  function rateTxt(r) { return (r * 100).toFixed(2).replace(/\.?0+$/, "") + "%"; }
  function showVal(def, v) {
    if (def.type === "money") return v ? Number(v).toLocaleString("en-US") : "0";
    return String(v);
  }

  function setDirty(d) {
    dirty = d;
    var st = $("status");
    st.textContent = d ? "Unsaved changes" : "No unsaved changes";
    st.className = "save-state" + (d ? " dirty" : "");
    var sb = $("btn-save");
    sb.classList.toggle("dirty", d);
    sb.title = d ? "You have unsaved changes (Ctrl+S to save)" : "All changes saved (Ctrl+S)";
    sb.setAttribute("aria-label", d ? "Save my plan (unsaved changes)" : "Save my plan");
  }
  function showMsg(text, kind) {
    var m = $("msg"), t = $("msg-text");
    t.textContent = text;
    m.className = "msg show " + kind;
    if (kind === "ok") setTimeout(function () { if (t.textContent === text) m.className = "msg"; }, 6000);
  }

  // ---------- Tax math ----------
  function federalTax(taxable) {
    var tax = 0, prev = 0;
    for (var i = 0; i < TAX.fedBrackets.length; i++) {
      var top = TAX.fedBrackets[i][0], rate = TAX.fedBrackets[i][1];
      if (taxable > prev) tax += (Math.min(taxable, top) - prev) * rate;
      prev = top;
    }
    return tax;
  }
  // Local tax in dollars. Some Kenton County taxes stop at the Social Security wage cap.
  function localTax(s, gross) {
    var loc = LOCATIONS[s.location] || LOCATIONS.lex;
    var capped = loc.capped || 0;
    return (localRate(s) - capped) * gross + capped * Math.min(gross, TAX.ssCap);
  }

  function localRate(s) {
    var loc = LOCATIONS[s.location] || LOCATIONS.lex;
    var base = loc.rate === null ? num(s.customRate) / 100 : loc.rate;
    return base + (loc.extra ? Math.max(0, num(s.extraLocal)) / 100 : 0);
  }

  function calc(s, life) {
    var gross = Math.max(0, num(s.salary));
    var requested401 = gross * Math.max(0, num(s.retirePct)) / 100;
    var k401 = Math.min(requested401, TAX.k401Limit);
    var healthYr = Math.max(0, num(s.health)) * 12;
    var preTaxHealth = s.healthPreTax ? healthYr : 0;

    var fed = federalTax(Math.max(0, gross - k401 - preTaxHealth - TAX.fedStd));
    var ficaWages = Math.max(0, gross - preTaxHealth);
    var ss = TAX.ssRate * Math.min(ficaWages, TAX.ssCap);
    var med = TAX.medRate * ficaWages + TAX.addMedRate * Math.max(0, ficaWages - TAX.addMedThreshold);
    var ky = TAX.kyRate * Math.max(0, gross - k401 - preTaxHealth - TAX.kyStd);
    var lRate = localRate(s);
    var local = localTax(s, gross);

    var taxes = fed + ss + med + ky + local;
    var takeHomeYr = gross - k401 - healthYr - taxes;
    var takeHomeMo = takeHomeYr / 12;

    var rent = Math.max(0, num(s.rent));
    var debt = Math.max(0, num(life.loanPayment));
    var car = Math.max(0, num(life.carPayment)) + Math.max(0, num(life.carInsurance));
    var essentialDay = Math.max(0, num(life.everyday)) + Math.max(0, num(s.extra));
    var flexible = Math.max(0, num(life.flexible));
    var everyday = essentialDay + flexible;
    var costs = rent + debt + car + everyday;
    var leftover = takeHomeMo - costs;

    // Match formula: the employer adds matchRate cents per $1 you contribute, on contributions up to match% of salary
    var actualPct = gross > 0 ? k401 / gross * 100 : 0;
    var matchRate = Math.max(0, num(s.matchRate)) / 100;
    var matchUpTo = matchRate > 0 ? Math.max(0, num(s.match)) : 0;
    var matchPct = Math.min(matchUpTo, actualPct);
    var matchMissed = Math.max(0, matchUpTo - actualPct);
    var employerMatch = gross * matchPct / 100 * matchRate;
    var matchMissedYr = gross * matchMissed / 100 * matchRate;

    var savings = Math.max(0, num(life.savings));
    // Essentials = what you'd keep paying if your paycheck stopped; flexible spending is assumed to be cut.
    var essentials = rent + debt + car + essentialDay + healthYr / 12;
    var runway = essentials > 0 ? savings / essentials : Infinity;
    var efTarget = 3 * essentials;
    var monthsToEF = savings >= efTarget ? 0 : (leftover > 0 ? (efTarget - savings) / leftover : Infinity);

    return {
      gross: gross, k401: k401, requested401: requested401, k401Capped: requested401 > TAX.k401Limit, healthYr: healthYr,
      fed: fed, ss: ss, med: med, ky: ky, local: local, localRate: lRate,
      taxes: taxes, takeHomeYr: takeHomeYr, takeHomeMo: takeHomeMo,
      rent: rent, debt: debt, car: car, everyday: everyday, essentialDay: essentialDay, flexible: flexible, costs: costs, leftover: leftover, essentials: essentials,
      employerMatch: employerMatch, matchMissed: matchMissed, matchMissedYr: matchMissedYr, matchUpTo: matchUpTo, retirementYr: k401 + employerMatch,
      annualValue: leftover * 12 + k401 + employerMatch,
      runway: runway, efTarget: efTarget, monthsToEF: monthsToEF,
      rentGrossPct: gross > 0 ? rent / (gross / 12) : 0,
      rentTakePct: takeHomeMo > 0 ? rent / takeHomeMo : 0,
      debtPct: takeHomeMo > 0 ? debt / takeHomeMo : 0,
      carPct: takeHomeMo > 0 ? car / takeHomeMo : 0,
      effTax: gross > 0 ? taxes / gross : 0
    };
  }

  function capMsg(r) {
    return "Your selected percentage would contribute " + fmt(r.requested401) + ", but the 2026 employee 401(k) limit is " + fmt(TAX.k401Limit) + ". The planner uses " + fmt(TAX.k401Limit) + " in its calculations.";
  }

  function flagsFor(r, s, life) {
    var f = [];
    if (r.leftover < 0) f.push(["bad", "You'd spend " + fmt(-r.leftover) + " more each month than you bring home. Something has to change for this choice to work."]);
    else if (r.leftover < 200) f.push(["warn", "Only " + fmt(r.leftover) + " a month of breathing room. One car repair or medical bill could put you behind."]);
    if (r.rentGrossPct > 0.30) f.push(["warn", "Rent is " + pct(r.rentGrossPct) + " of your gross pay (" + pct(r.rentTakePct) + " of take-home). A common guideline is to stay under about 30% of gross."]);
    if (r.runway < 3) f.push([r.runway < 1 ? "bad" : "warn", "Your savings would cover " + (isFinite(r.runway) ? r.runway.toFixed(1) : "0") + " months of costs if your paycheck stopped. Aim for at least 3 months (" + fmt(r.efTarget) + ")."]);
    if (r.matchMissedYr >= 1) f.push(["bad", "You're leaving " + fmt(r.matchMissedYr) + " a year of employer match unclaimed. Contribute at least " + num(s.match) + "% to get all of it."]);
    if (r.carPct > 0.20) f.push(["warn", "Your car payment and insurance take " + pct(r.carPct) + " of take-home pay. Car costs above roughly 15 to 20% often crowd out saving."]);
    if (r.debtPct > 0.10) f.push(["warn", "Student loan payments take " + pct(r.debtPct) + " of take-home pay. If that feels heavy, ask your loan servicer about income-driven repayment."]);
    if (r.k401Capped) f.push(["info", capMsg(r)]);
    if (num(s.retirePct) <= 0) f.push(["warn", "You aren't saving for retirement yet. Even a small percentage started now has 40 years to grow."]);
    if (r.leftover > 0 && r.monthsToEF > 0 && isFinite(r.monthsToEF)) {
      var m = Math.ceil(r.monthsToEF);
      f.push(["good", "Saving all your leftover money would build a 3-month emergency fund in about " + m + " month" + (m === 1 ? "" : "s") + "."]);
    }
    if (!f.some(function (x) { return x[0] !== "good"; }) && r.leftover >= 200) f.unshift(["good", "Every bill is covered with " + fmt(r.leftover) + " a month to save or spend."]);
    return f;
  }

  function verdictText(rs, valid, bestIdx, win) {
    var body = verdictBody(rs, valid, bestIdx);
    if (!win) return body; // fewer than two choices to compare: no bottom line yet
    return '<span class="bl-label">Bottom line:</span> ' + body + " " + winnersSentence(rs, bestIdx, win);
  }

  // One plain sentence naming who leads on what, grouping a choice that leads on several things
  function winnersSentence(rs, bestIdx, win) {
    var groups = {}, order = [];
    function add(i, label) { if (i < 0) return; if (!groups[i]) { groups[i] = []; order.push(i); } groups[i].push(label); }
    add(bestIdx, rs[bestIdx].leftover < 0 ? "the smallest monthly shortfall" : "spending money");
    add(win.value, "total financial value");
    add(win.res, "resilience");
    var join = function (a) { return a.length < 3 ? a.join(" and ") : a.slice(0, -1).join(", ") + ", and " + a.slice(-1); };
    return order.map(function (i) { return "<b>" + esc(state.scenarios[i].name) + "</b> leads on " + join(groups[i]); }).join("; ") + ".";
  }

  // The biggest extra cost that eats into the better-paying option's raise (annual dollars)
  function mainDriver(A, B) {
    var items = [
      [(A.rent - B.rent) * 12, function (v) { return "rent is " + fmt(v) + " a year higher"; }],
      [A.taxes - B.taxes, function (v) { return fmt(v) + " more goes to taxes"; }],
      [A.k401 - B.k401, function (v) { return fmt(v) + " more goes into your 401(k)"; }],
      [A.healthYr - B.healthYr, function (v) { return "health insurance costs " + fmt(v) + " more a year"; }],
      [(A.everyday - B.everyday) * 12, function (v) { return "other costs are " + fmt(v) + " a year higher"; }]
    ];
    var best = items.reduce(function (a, b) { return b[0] > a[0] ? b : a; });
    return best[0] >= 100 ? best[1](best[0]) : "";
  }

  function verdictBody(rs, valid, bestIdx) {
    var idx = [];
    rs.forEach(function (r, i) { if (valid[i]) idx.push(i); });
    if (idx.length === 0) return "Enter a salary for at least one choice to see what you'd really have each month.";
    var nm = function (i) { return "<b>" + esc(state.scenarios[i].name) + "</b>"; };
    if (idx.length === 1) return nm(idx[0]) + " leaves you " + fmt(rs[idx[0]].leftover) + " a month after taxes and bills. Add another choice to compare.";

    var hi = idx[0];
    idx.forEach(function (i) { if (rs[i].gross > rs[hi].gross) hi = i; });
    var lo = -1;
    idx.forEach(function (i) { if (rs[i].gross < rs[hi].gross && lo < 0) lo = i; });
    var parts = [];
    if (lo >= 0) {
      var payGap = rs[hi].gross - rs[lo].gross;
      var moGap = rs[hi].leftover - rs[lo].leftover;
      if (rs[hi].leftover < 0 && rs[lo].leftover < 0 && Math.abs(moGap) >= 25) {
        var closer = moGap > 0 ? hi : lo, farther = closer === hi ? lo : hi;
        parts.push(closer === hi
          ? nm(hi) + " pays " + fmt(payGap) + " more a year and comes out " + fmt(Math.abs(moGap)) + " a month closer to covering its bills than " + nm(lo) + "."
          : nm(hi) + " pays " + fmt(payGap) + " more a year, but " + nm(lo) + " comes out " + fmt(Math.abs(moGap)) + " a month closer to covering its bills.");
      } else if (Math.abs(moGap) < 25) {
        parts.push(nm(hi) + " pays " + fmt(payGap) + " more a year, but after taxes and living costs it leaves you almost exactly the same each month as " + nm(lo) + ".");
      } else if (moGap > 0) {
        var why = moGap * 12 / payGap < 0.5 ? mainDriver(rs[hi], rs[lo]) : "";
        parts.push(nm(hi) + " pays " + fmt(payGap) + " more a year, but after taxes and living costs it leaves you " + (moGap * 12 / payGap < 0.5 ? "only " : "") + fmt(moGap) + " more per month than " + nm(lo) +
          ", about " + Math.round(moGap * 12 / payGap * 100) + "¢ of each extra dollar" + (why ? ", mostly because " + why : "") + ".");
      } else {
        var why2 = mainDriver(rs[hi], rs[lo]);
        parts.push(nm(hi) + " pays " + fmt(payGap) + " more a year, but " + nm(lo) + " leaves you about " + fmt(-moGap) + " more per month after taxes and living costs" + (why2 ? ", mostly because " + why2 + " with " + nm(hi) : "") + ".");
      }
      // When the option with more monthly cash is not the one worth more per year, say why
      var vHi = rs[hi].annualValue, vLo = rs[lo].annualValue, cashHi = rs[hi].leftover >= rs[lo].leftover;
      if (rs[hi].leftover >= 0 && rs[lo].leftover >= 0 && Math.abs(vHi - vLo) >= 100 && (vHi > vLo) !== cashHi) {
        var vw = vHi > vLo ? hi : lo, vl = vw === hi ? lo : hi;
        var matchDiff = rs[vw].employerMatch - rs[vl].employerMatch;
        parts.push("But " + nm(vw) + " has more total financial value (" + fmt(rs[vw].annualValue) + " a year: " + valueSplit(rs[vw]) + ", vs. " + fmt(rs[vl].annualValue) + ": " + valueSplit(rs[vl]) + ") because of " + (matchDiff > 0 ? "its employer match" : "larger retirement contributions") + ".");
      }
    }
    if (lo < 0) parts.push("These choices pay the same, so the difference comes from your costs, not your paycheck.");
    if (idx.every(function (i) { return rs[i].leftover < 0; })) parts.unshift("None of these options covers its bills each month.");
    // Same job, different rent (for example, living alone vs. with a roommate)
    var shared = null;
    idx.forEach(function (i) {
      idx.forEach(function (j) {
        if (shared || i === j) return;
        var si = state.scenarios[i], sj = state.scenarios[j];
        // Only when rent is the one thing that differs, so the whole gap really comes from splitting rent
        var same = ["location", "customRate", "retirePct", "health", "healthPreTax", "matchRate", "match", "extra", "extraLocal"].every(function (k) { return si[k] === sj[k]; });
        if (same && rs[i].gross === rs[j].gross && rs[i].rent < rs[j].rent && rs[i].leftover - rs[j].leftover >= 1) shared = [i, j];
      });
    });
    if (shared) parts.push("Splitting rent in " + nm(shared[0]) + " frees up " + fmt(rs[shared[0]].leftover - rs[shared[1]].leftover) + " a month compared with " + nm(shared[1]) + ".");
    return parts.join(" ");
  }

  // The two parts of total financial value: after-tax cash left for the year, and pre-tax retirement money
  function valueSplit(r) {
    return fmt(r.leftover * 12) + " cash + " + fmt(r.retirementYr) + " retirement";
  }

  // ---------- Stress test ----------
  var customShock = 800;

  function shockList(s, life) {
    return [
      { group: "Surprise bills", name: "A $500 surprise bill", why: "a vet visit, a phone screen, a parking ticket", kind: "once", amt: 500 },
      { group: "Surprise bills", name: "A $1,500 car repair", why: "transmission, tires and brakes, a fender bender", kind: "once", amt: 1500 },
      { group: "Surprise bills", name: "A $3,000 medical bill", why: "an ER visit before you meet your deductible", kind: "once", amt: 3000 },
      { group: "Costs go up", name: "Rent goes up $150 a month", why: "a common renewal increase", kind: "cost", amt: 150 },
      { group: "Costs go up", name: "Car insurance rises 20%", why: "a claim, a ticket, or a rate hike", kind: "cost", amt: Math.max(0, num(life.carInsurance)) * 0.2 },
      { group: "Costs go up", name: "Groceries and essentials rise 10%", why: "inflation or a pricier city", kind: "cost", amt: Math.max(0, num(life.everyday)) * 0.1 },
      { group: "Your pay drops", name: "Your pay is cut 10%", why: "fewer hours or a smaller bonus", kind: "income", f: 0.9 },
      { group: "Your pay drops", name: "Your pay is cut 25%", why: "moving to part-time or a lower-paying job", kind: "income", f: 0.75 },
      { group: "Your pay drops", name: "You're out of work for 2 months", why: "a layoff, before any unemployment benefits, with flexible spending cut", kind: "gap", months: 2 }
    ];
  }

  function runShock(sh, s, life, base) {
    var savings = Math.max(0, num(life.savings));
    var ess = base.essentials;
    var out = { left: base.leftover, runway: ess > 0 ? savings / ess : Infinity, status: "ok", text: "" };
    if (sh.kind === "once") {
      var after = savings - sh.amt;
      out.runway = ess > 0 ? Math.max(0, after) / ess : Infinity;
      if (after < 0) { out.status = "break"; out.text = "You'd be " + fmt(-after) + " short and would likely have to borrow or fall behind on a bill."; }
      else {
        out.status = out.runway < 1 ? "strained" : "ok";
        out.text = "Savings drop to " + fmt(after) + (base.leftover > 0 ? ". Rebuilding takes about " + Math.max(1, Math.ceil(sh.amt / base.leftover)) + " month" + (Math.ceil(sh.amt / base.leftover) > 1 ? "s" : "") + " of your leftover money." : ", and you have nothing left each month to rebuild with.");
      }
    } else if (sh.kind === "cost" || sh.kind === "income") {
      var newLeft, newEss = ess;
      if (sh.kind === "cost") { newLeft = base.leftover - sh.amt; newEss = ess + sh.amt; }
      else {
        var copy = {}; for (var k in s) copy[k] = s[k];
        copy.salary = num(s.salary) * sh.f;
        newLeft = calc(copy, life).leftover;
      }
      var drop = base.leftover - newLeft;
      out.left = newLeft;
      out.runway = newEss > 0 ? savings / newEss : Infinity;
      if (newLeft < 0) {
        out.status = "break";
        var months = savings / -newLeft;
        out.text = "You'd be " + fmt(-newLeft) + " short every month. Your savings would cover that shortfall for " + (months < 1 ? "less than a month" : (months > 24 ? "more than " + Math.floor(months / 12) + " years" : "about " + months.toFixed(1) + " months")) + ".";
      } else {
        out.status = newLeft < 150 ? "strained" : "ok";
        out.text = base.leftover > 0 ? "You'd lose " + Math.round(drop / base.leftover * 100) + "% of your monthly breathing room (" + fmt(drop) + ")." : "";
      }
    } else if (sh.kind === "gap") {
      var need = sh.months * ess;
      var rem = savings - need;
      out.left = -ess;
      out.runway = ess > 0 ? Math.max(0, rem) / ess : Infinity;
      if (rem < 0) {
        var weeks = ess > 0 ? savings / ess * 4.345 : 0;
        out.status = "break";
        out.text = "Your savings would run out after about " + Math.max(0, Math.floor(weeks)) + " weeks, leaving you " + fmt(-rem) + " short by the end.";
      } else {
        out.status = out.runway < 1 ? "strained" : "ok";
        out.text = "You'd get through it with " + fmt(rem) + " left in savings.";
      }
    }
    return out;
  }

  var SHOCK_ORDER = [0, 3, 4, 5, 6, 1, 7, 2, 8]; // roughly smallest to largest shock
  function resilience(s, life, base) {
    var list = shockList(s, life);
    var results = list.map(function (sh) { return runShock(sh, s, life, base); });
    var firstBreak = -1, firstStrain = -1;
    SHOCK_ORDER.forEach(function (i) {
      if (results[i].status === "break" && firstBreak < 0) firstBreak = i;
      if (results[i].status === "strained" && firstStrain < 0) firstStrain = i;
    });
    var breaks = results.filter(function (o) { return o.status === "break"; }).length;
    var strained = results.filter(function (o) { return o.status === "strained"; }).length;
    return { list: list, results: results, firstBreak: firstBreak, firstStrain: firstStrain, survived: results.length - breaks, strained: strained, total: results.length };
  }

  var STATUS_LABEL = { ok: "Holds up", strained: "Stretched", "break": "Breaks" };
  var STATUS_HELP = {
    ok: "This scenario remains financially workable under this shock.",
    strained: "This scenario still works, but leaves very little margin.",
    "break": "This shock creates a cash shortfall or exhausts available savings."
  };
  function pill(st) { return '<span class="pill ' + st + '" title="' + STATUS_HELP[st] + '" aria-label="' + STATUS_LABEL[st] + ': ' + STATUS_HELP[st] + '">' + STATUS_LABEL[st] + "</span>"; }

  function pressurePoints(r, life) {
    var pts = [];
    var grossMo = r.gross / 12;
    pts.push({ key: "rent", label: "Rent", value: grossMo > 0 ? r.rent / grossMo : 0, guide: 0.30, unit: "of gross pay", guideTxt: "guideline: under 30% of gross pay" });
    pts.push({ key: "car", label: "Car payment + insurance", value: r.takeHomeMo > 0 ? r.car / r.takeHomeMo : 0, guide: 0.20, unit: "of take-home", guideTxt: "guideline: under 15 to 20% of take-home" });
    pts.push({ key: "debt", label: "Student loans", value: r.takeHomeMo > 0 ? r.debt / r.takeHomeMo : 0, guide: 0.10, unit: "of take-home", guideTxt: "guideline: under about 10% of take-home" });
    pts.push({ key: "cushion", label: "Emergency cushion", value: isFinite(r.runway) ? r.runway : 99, guide: 3, unit: "months", guideTxt: "goal: at least 3 months of essentials", inverse: true });
    pts.forEach(function (p) {
      p.ratio = p.inverse ? (p.value > 0 ? p.guide / p.value : 10) : p.value / p.guide;
    });
    return pts;
  }


  // ---------- The ledger: one pay stub per option ----------
  var F = {};
  SCEN_FIELDS.concat(LIFE_FIELDS).forEach(function (d) { F[d.key] = d; });
  var GROUPS = [
    ["tax", "Taxes", "var(--g-tax)"], ["ben", "401(k) and health insurance", "var(--g-ben)"],
    ["rent", "Rent", "var(--g-rent)"], ["bills", "Other bills and spending", "var(--g-bills)"],
    ["left", "Left over", "var(--g-left)"]
  ];
  function groupValues(r) {
    return { tax: r.taxes, ben: r.k401 + r.healthYr, rent: r.rent * 12, bills: (r.debt + r.car + r.everyday) * 12, left: Math.max(0, r.leftover * 12) };
  }
  function barHTML(r) {
    var gv = groupValues(r), total = 0;
    GROUPS.forEach(function (g) { total += gv[g[0]]; });
    return GROUPS.map(function (g, k) {
      var w = total > 0 ? gv[g[0]] / total * 100 : 0;
      return '<i style="--k:' + k + ";width:" + w.toFixed(2) + "%;background:" + g[2] + '" title="' + esc(g[1]) + ": " + fmt(gv[g[0]] / 12) + ' a month"></i>';
    }).join("");
  }
  // Update a bar in place so its pieces slide to their new sizes instead of redrawing
  function setBar(el, r) {
    if (el.children.length !== GROUPS.length) { el.innerHTML = barHTML(r); return; }
    var gv = groupValues(r), total = 0;
    GROUPS.forEach(function (g) { total += gv[g[0]]; });
    GROUPS.forEach(function (g, k) {
      var seg = el.children[k];
      seg.style.width = (total > 0 ? gv[g[0]] / total * 100 : 0).toFixed(2) + "%";
      seg.title = g[1] + ": " + fmt(gv[g[0]] / 12) + " a month";
    });
  }
  // Briefly highlight something that just changed (CSS turns this off for reduced motion)
  function flash(el, cls) { cls = cls || "bump"; el.classList.remove(cls); void el.offsetWidth; el.classList.add(cls); }
  var lastStrip = [], lastStatus = {};
  function barLabel(r) {
    var gv = groupValues(r);
    return "Where this salary goes each month. " + GROUPS.map(function (g) { return g[1] + " " + fmt(gv[g[0]] / 12); }).join(", ") + ".";
  }

  function inputBox(id, key, value, i, aria) {
    var d = F[key], money = d.type === "money";
    return '<div class="box" id="' + id + '-box">' + (money ? '<span class="unit" aria-hidden="true">$</span>' : "") +
      '<input type="text" inputmode="decimal" autocomplete="off" id="' + id + '" data-key="' + key + '" data-type="' + d.type + '" data-max="' + d.max + '"' +
      (i >= 0 ? ' data-i="' + i + '"' : "") + ' value="' + esc(showVal(d, value)) + '"' + (aria ? ' aria-label="' + esc(aria) + '"' : "") + ' aria-describedby="' + id + '-err">' +
      (money ? "" : '<span class="unit after" aria-hidden="true">%</span>') + '</div><div class="err" id="' + id + '-err"></div>';
  }
  function optIn(i, key, label) { return inputBox("s" + i + "-" + key, key, state.scenarios[i][key], i, label + ", option " + LETTERS[i]); }
  function v(i, key) { return '<span class="v" id="v' + i + "-" + key + '"></span>'; }
  function under(i, key) { return '<span class="under" id="v' + i + "-" + key + '"></span>'; }
  function optRow(cls, label, hint, cell) {
    return '<tr class="' + cls + '"><th scope="row">' + label + (hint ? '<span class="hint">' + hint + "</span>" : "") + "</th>" +
      state.scenarios.map(function (s, i) { return '<td class="oc oc-' + i + '">' + cell(s, i) + "</td>"; }).join("") + "</tr>";
  }
  function sharedRow(key) {
    var d = F[key];
    return '<tr class="in"><th scope="row"><label for="costs-' + key + '">' + esc(d.label) + '</label><span class="hint">' + esc(d.hint) + '</span></th><td colspan="' + state.scenarios.length +
      '"><div class="sc-in"><div>' + inputBox("costs-" + key, key, state.life[key], -1, "") + '</div><span class="same">the same in every option</span></div></td></tr>';
  }
  function grp(title, small) {
    return '<tr class="grp"><th scope="rowgroup" colspan="' + (state.scenarios.length + 1) + '">' + title + (small ? "<small>" + small + "</small>" : "") + "</th></tr>";
  }
  function locCell(s, i) {
    var id = "s" + i + "-location", loc = LOCATIONS[s.location] || LOCATIONS.lex;
    var h = '<div class="combo"><div class="box combo-box"><input type="text" id="' + id + '" class="combo-input" role="combobox" aria-autocomplete="list" aria-expanded="false" aria-controls="' + id + '-list" autocomplete="off" spellcheck="false" data-i="' + i + '" data-loc="' + esc(s.location) + '" aria-label="Where the job is, option ' + LETTERS[i] + '" value="' + esc(loc.label) + '">' +
      '<button type="button" class="combo-caret" tabindex="-1" aria-label="Show all places" data-combo-toggle>&#9662;</button></div>' +
      '<ul class="combo-list" id="' + id + '-list" role="listbox" aria-label="Places in Kentucky" hidden></ul></div>' +
      '<span class="print-only" aria-hidden="true">' + esc(loc.label) + "</span>";
    if (loc.note) h += '<p class="loc-note">' + esc(loc.note) + "</p>";
    if (s.location === "custom") h += '<div class="sub-in"><span class="sub-l">Your total local rate, city and county combined</span>' + optIn(i, "customRate", "Local occupational tax rate") + "</div>";
    if (loc.extra) h += '<div class="sub-in"><span class="sub-l">Extra local tax: a city or school district tax not included above</span>' + optIn(i, "extraLocal", "Extra local tax") + "</div>";
    return h;
  }
  var gh = { miles: "", days: "5", mpg: "", price: "" };
  function gasHTML(i) {
    var f = function (k, label) { return "<label>" + label + '<input type="text" inputmode="decimal" autocomplete="off" data-gh="' + k + '" value="' + esc(gh[k]) + '"></label>'; };
    return '<details class="gas"><summary>Estimate gas for this commute</summary><div class="gh-grid">' +
      f("miles", "Miles each way") + f("days", "Days a week") + f("mpg", "Miles per gallon") + f("price", "Gas price per gallon ($)") +
      '</div><p class="gh-out" aria-live="polite"></p><button type="button" class="mini-btn" data-gh-use="' + i + '" disabled>Put this in commuting costs</button></details>';
  }

  function renderStructure() {
    lastStrip = []; lastStatus = {};
    var n = state.scenarios.length;
    if (active >= n) active = n - 1;
    if (active < 0) active = 0;
    var cols = '<colgroup><col class="lc">' + state.scenarios.map(function () { return "<col>"; }).join("") + "</colgroup>";
    var head = "<thead><tr><td></td>" + state.scenarios.map(function (s, i) {
      return '<th scope="col" class="oc oc-' + i + '"><span class="sr-only">Option ' + LETTERS[i] + '</span><div class="oh-tag"><span class="tag" id="tag-' + i + '"></span></div><div class="oh-top"><span class="letter" aria-hidden="true">' + LETTERS[i] +
        '</span><input type="text" maxlength="60" id="s' + i + '-name" data-key="name" data-i="' + i + '" aria-label="Name of option ' + LETTERS[i] + '" value="' + esc(s.name) + '"><span class="print-only" id="pn-' + i + '" aria-hidden="true"></span></div>' +
        '<div class="oh-row">' +
        (n < MAX_SCENARIOS ? '<button type="button" class="mini-btn" data-act="dup" data-i="' + i + '" aria-label="Duplicate option ' + LETTERS[i] + '">Duplicate</button>' : "") +
        (n > 2 ? '<button type="button" class="mini-btn" data-act="del" data-i="' + i + '" aria-label="Remove option ' + LETTERS[i] + '">Remove</button>' : "") + "</div></th>";
    }).join("") + "</tr></thead>";

    var body = "<tbody>" + grp("The offer") +
      optRow("in", "Salary", "per year, before taxes", function (s, i) { return optIn(i, "salary", "Salary") + under(i, "grossMo"); }) +
      optRow("in", "Where the job is", "Type a city or county, or pick from the list. This sets your local tax.", locCell) +
      optRow("wide", "Where the salary goes", "", function (s, i) { return '<div class="bar" id="v' + i + '-bar" role="img" aria-label="Add a salary to see where it goes"></div>'; }) +
      "</tbody><tbody>" + grp("Before your paycheck reaches you", "per month") +
      optRow("in", "Your 401(k) contribution", "percent of salary at this job, taken out pre-tax", function (s, i) { return optIn(i, "retirePct", "Your 401(k) contribution") + under(i, "k401"); }) +
      optRow("calc", "Federal income tax", "", function (s, i) { return v(i, "fed"); }) +
      optRow("calc", "Social Security + Medicare", "", function (s, i) { return v(i, "fica"); }) +
      optRow("calc", "Kentucky income tax", "flat 3.5%", function (s, i) { return v(i, "ky"); }) +
      optRow("calc", "Local occupational tax", "set by where the job is", function (s, i) { return v(i, "local"); }) +
      optRow("in", "Health insurance premium", "your share, per month", function (s, i) {
        return optIn(i, "health", "Health insurance premium") + '<label class="check"><input type="checkbox" id="s' + i + '-healthPreTax" data-key="healthPreTax" data-i="' + i + '"' + (s.healthPreTax ? " checked" : "") + '><span>Comes out pre-tax through my employer<span class="sr-only">, option ' + LETTERS[i] + "</span></span></label>";
      }) +
      optRow("calc total", "Take-home pay", "", function (s, i) { return v(i, "take"); }) +
      "</tbody><tbody>" + grp("What this choice costs", "per month") +
      optRow("in", "Your share of rent", "per month, after any roommate split", function (s, i) { return optIn(i, "rent", "Your share of rent"); }) +
      optRow("in", "Commuting and other job costs", "gas or bus pass for this commute, parking, per month", function (s, i) { return optIn(i, "extra", "Commuting and other job costs") + gasHTML(i); }) +
      "</tbody><tbody>" + grp("Costs that follow you anywhere", "per month") +
      sharedRow("loanPayment") + sharedRow("carPayment") + sharedRow("carInsurance") + sharedRow("everyday") + sharedRow("flexible") +
      optRow("calc left", "Left each month", "", function (s, i) { return v(i, "left"); }) +
      "</tbody><tbody>" + grp("Beyond the monthly budget") +
      optRow("in", "Employer 401(k) match", "100% is dollar for dollar; 50% is 50¢ per $1. Many plans stop at 3% to 6% of salary. Enter 0 if there's no match.", function (s, i) {
        return optIn(i, "matchRate", "Employer match rate") + '<span class="sub-l">of what you put in, up to</span>' + optIn(i, "match", "Employer matches up to") + '<span class="sub-l">of your salary</span>';
      }) +
      optRow("calc", "Into retirement each year", "your contribution plus the match", function (s, i) { return v(i, "ret"); }) +
      optRow("calc", "Total financial value each year", "cash left + retirement", function (s, i) { return v(i, "value"); }) +
      sharedRow("savings") +
      optRow("calc", "Your savings would last", "months of essentials if your paycheck stopped", function (s, i) { return v(i, "runway"); }) +
      optRow("calc", "Share of salary going to taxes", "", function (s, i) { return v(i, "effTax"); }) +
      optRow("wide", "Worth knowing", "", function (s, i) { return '<ul class="flags" id="v' + i + '-flags"></ul>'; }) +
      "</tbody>";
    $("ledger").innerHTML = cols + head + body;
    $("btn-add").hidden = n >= MAX_SCENARIOS;

    // Stress grid skeleton; the shock rows and results are filled in by refresh()
    $("matrix").innerHTML = '<colgroup><col class="lc">' + state.scenarios.map(function () { return "<col>"; }).join("") + "</colgroup><thead><tr><td></td>" +
      state.scenarios.map(function (s, i) { return '<th scope="col" class="oc oc-' + i + '" id="mh-' + i + '"></th>'; }).join("") + '</tr></thead><tbody id="shock-rows"></tbody>' +
      '<tbody class="custom"><tr><th scope="row"><label for="custom-shock">Try your own surprise bill</label><div class="box" id="custom-shock-box"><span class="unit" aria-hidden="true">$</span><input type="text" inputmode="decimal" id="custom-shock" value="' + customShock + '" autocomplete="off"></div></th>' +
      state.scenarios.map(function (s, i) { return '<td class="oc oc-' + i + '" id="cs-' + i + '"></td>'; }).join("") +
      '</tr><tr><th scope="row"><label for="custom-cut">What if my pay falls by</label><div class="box" id="custom-cut-box"><input type="text" inputmode="decimal" id="custom-cut" value="' + customCut + '" autocomplete="off"><span class="unit after" aria-hidden="true">%</span></div></th>' +
      state.scenarios.map(function (s, i) { return '<td class="oc oc-' + i + '" id="cc-' + i + '"></td>'; }).join("") + "</tr></tbody>";
  }

  function setV(i, key, html) {
    var el = $("v" + i + "-" + key); if (!el || el._last === html) return;
    var first = el._last === undefined;
    el.innerHTML = html; el._last = html;
    if (!first && key !== "flags") flash(el);
  }
  function cellNote(sh, o, base, life) {
    var sav = Math.max(0, num(life.savings));
    if (sh.kind === "once") { var after = sav - sh.amt; return after < 0 ? fmt(-after) + " short" : "savings drop to " + fmt(after); }
    if (sh.kind === "gap") { var rem = sav - sh.months * base.essentials; return rem < 0 ? fmt(-rem) + " short by the end" : fmt(rem) + " of savings left"; }
    return o.left < 0 ? fmt(-o.left) + " short each month" : fmt(o.left) + " left each month";
  }

  var customCut = 15;
  function refresh() {
    var rs = state.scenarios.map(function (s) { return calc(s, state.life); });
    var valid = rs.map(function (r) { return r.gross > 0; });
    var nValid = valid.filter(Boolean).length;
    var bestIdx = -1;
    rs.forEach(function (r, i) { if (valid[i] && (bestIdx < 0 || r.leftover > rs[bestIdx].leftover)) bestIdx = i; });
    var valueIdx = -1;
    rs.forEach(function (r, i) { if (valid[i] && r.leftover >= 0 && (valueIdx < 0 || r.annualValue > rs[valueIdx].annualValue)) valueIdx = i; });
    var resil = rs.map(function (r, i) { return valid[i] ? resilience(state.scenarios[i], state.life, r) : null; });
    var resIdx = -1;
    rs.forEach(function (r, i) {
      if (!valid[i]) return;
      if (resIdx < 0) { resIdx = i; return; }
      var a = resil[i], b = resil[resIdx];
      if (a.survived > b.survived || (a.survived === b.survived && (a.strained < b.strained || (a.strained === b.strained && r.runway > rs[resIdx].runway)))) resIdx = i;
    });
    $("ledger").setAttribute("data-active", active);
    $("matrix").setAttribute("data-active", active);

    // Computed cells in the ledger
    rs.forEach(function (r, i) {
      var s = state.scenarios[i], ok = valid[i], dash = "—";
      setV(i, "grossMo", ok ? fmt(r.gross / 12) + " a month" : "");
      setV(i, "k401", ok ? fmt(-r.k401 / 12) + " a month" : "");
      setV(i, "fed", ok ? fmt(-r.fed / 12) : dash);
      setV(i, "fica", ok ? fmt(-(r.ss + r.med) / 12) : dash);
      setV(i, "ky", ok ? fmt(-r.ky / 12) : dash);
      setV(i, "local", ok ? fmt(-r.local / 12) + "<small>" + esc((LOCATIONS[s.location] || LOCATIONS.lex).short) + ", " + rateTxt(r.localRate) + "</small>" : dash);
      setV(i, "take", ok ? fmt(r.takeHomeMo) : dash);
      var left = $("v" + i + "-left");
      var leftTxt = ok ? fmt(r.leftover) : "Add a salary";
      left.className = "v" + (ok ? (r.leftover < 0 ? " neg" : "") : " none");
      if (left._last !== undefined && left._last !== leftTxt) flash(left);
      left.textContent = leftTxt; left._last = leftTxt;
      setV(i, "ret", ok ? fmt(r.retirementYr) + (r.employerMatch > 0 ? "<small>includes " + fmt(r.employerMatch) + " from the employer</small>" : "") : dash);
      setV(i, "value", ok ? fmt(r.annualValue) + "<small>" + valueSplit(r) + "</small>" : dash);
      setV(i, "runway", ok ? (isFinite(r.runway) ? r.runway.toFixed(1) + " months" : dash) : dash);
      setV(i, "effTax", ok ? pct(r.effTax) : dash);
      var bar = $("v" + i + "-bar");
      if (ok) setBar(bar, r); else bar.innerHTML = "";
      bar.setAttribute("aria-label", ok ? barLabel(r) : "Add a salary to see where it goes");
      setV(i, "flags", ok ? flagsFor(r, s, state.life).map(function (f) { return '<li class="' + f[0] + '">' + esc(f[1]) + "</li>"; }).join("") : '<li>Add a salary for this option to see its results.</li>');
      $("tag-" + i).textContent = i === bestIdx && nValid > 1 ? (r.leftover < 0 ? "Smallest shortfall" : "Most spending money") : "";
      $("mh-" + i).innerHTML = '<span class="letter" aria-hidden="true">' + LETTERS[i] + "</span> " + esc(s.name || "Untitled");
      $("pn-" + i).textContent = s.name || "Untitled";
    });

    // Live strip and the narrow-screen option switchers
    $("strip").innerHTML = '<span class="strip-label">Left each month:</span>' + rs.map(function (r, i) {
      var nm = state.scenarios[i].name || "Untitled";
      return '<button type="button" class="chip" data-pick="' + i + '" aria-pressed="' + (i === active) + '" title="' + esc(nm) + '"><span class="letter" aria-hidden="true">' + LETTERS[i] + '</span><span class="nm">' + esc(nm) + "</span>" +
        '<span class="sr-only"> option ' + LETTERS[i] + ": </span>" + (valid[i] ? '<b class="' + (r.leftover < 0 ? "neg" : "") + '">' + fmt(r.leftover) + "</b>" : "<span>add a salary</span>") + "</button>";
    }).join("");
    var sw = state.scenarios.map(function (s, i) {
      return '<button type="button" data-pick="' + i + '" aria-pressed="' + (i === active) + '"><span class="letter" aria-hidden="true">' + LETTERS[i] + '</span><span class="nm">' + esc(s.name || "Untitled") + "</span></button>";
    }).join("");
    $("switch-a").innerHTML = sw; $("switch-b").innerHTML = sw;
    var nowStrip = rs.map(function (r, i) { return valid[i] ? fmt(r.leftover) : ""; });
    nowStrip.forEach(function (t, i) {
      var amt = document.querySelector('#strip [data-pick="' + i + '"] b');
      if (amt && lastStrip[i] !== undefined && lastStrip[i] !== t) flash(amt);
    });
    lastStrip = nowStrip;

    // Bottom line and the three answers
    if (nValid > 1) {
      var w1 = '<div class="winner flex"><p class="w-label">Most spending money</p><p class="w-name">' + esc(state.scenarios[bestIdx].name) + '</p><p class="w-amt">' + fmt(Math.abs(rs[bestIdx].leftover)) + "<small>" + (rs[bestIdx].leftover < 0 ? "/month short" : "/month left") + '</small></p><p class="w-sub">' + (rs[bestIdx].leftover < 0 ? "No choice covers its bills each month; this one comes closest." : "Cash left each month after taxes, retirement saving, and bills.") + "</p></div>";
      var w2 = valueIdx >= 0
        ? '<div class="winner value"><p class="w-label">Most total value (cash + retirement)</p><p class="w-name">' + esc(state.scenarios[valueIdx].name) + '</p><p class="w-amt">' + fmt(rs[valueIdx].annualValue) + '<small>/year</small></p><p class="w-split">' + valueSplit(rs[valueIdx]) + '</p><p class="w-sub">Cash left + your retirement contributions + employer match.</p></div>'
        : '<div class="winner value"><p class="w-label">Most total value (cash + retirement)</p><p class="w-sub">None of these choices covers its bills each month, so none is shown.</p></div>';
      var rW = resil[resIdx], tied = [], tiedStrain = [];
      rs.forEach(function (r, i) {
        if (!valid[i] || i === resIdx || resil[i].survived !== rW.survived) return;
        tied.push(i);
        if (resil[i].strained === rW.strained) tiedStrain.push(i);
      });
      var why = "Survives " + rW.survived + " of " + rW.total + " built-in shocks";
      if (!tied.length) why += ", more than any other choice.";
      else if (!tiedStrain.length) why += ", tied on that count, with the fewest close calls.";
      else why += ", tied on that count and close calls, with the longest emergency runway.";
      var w3 = '<div class="winner resil"><p class="w-label">Most financially resilient</p><p class="w-name">' + esc(state.scenarios[resIdx].name) + '</p><p class="w-amt">' + rW.survived + "<small> of " + rW.total + ' shocks</small></p><p class="w-sub">' + why + "</p></div>";
      $("winners").innerHTML = w1 + w2 + w3;
      var note = (valueIdx >= 0 && valueIdx !== bestIdx) ? "These winners differ because retirement contributions and employer match can increase long-term financial value even when monthly spending money is lower. " : "";
      $("winner-note").textContent = note + "The choice with the most monthly cash left is not automatically the best overall financial decision. Employer retirement match, commuting, benefits, career growth, and personal priorities may matter too.";
    } else { $("winners").innerHTML = ""; $("winner-note").textContent = ""; }
    $("verdict").innerHTML = verdictText(rs, valid, bestIdx, nValid > 1 ? { value: valueIdx, res: resIdx } : null);

    var capped = [];
    rs.forEach(function (r, i) { if (valid[i] && r.k401Capped) capped.push("Option " + LETTERS[i] + ": " + capMsg(r)); });
    $("k401-note").innerHTML = capped.map(function (m) { return '<p class="info-note">' + esc(m) + "</p>"; }).join("");

    renderRaise(rs, valid);
    renderStress(rs, valid, resil);
  }

  function renderRaise(rs, valid) {
    var a = $("raise-a"), b = $("raise-b");
    var prevA = a.value, prevB = b.value, n = state.scenarios.length;
    var opts = state.scenarios.map(function (s, i) { return '<option value="' + i + '">' + LETTERS[i] + ". " + esc(s.name) + "</option>"; }).join("");
    a.innerHTML = opts; b.innerHTML = opts;
    a.value = prevA !== "" && +prevA < n ? prevA : "1";
    b.value = prevB !== "" && +prevB < n ? prevB : "0";
    if (a.value === b.value) b.value = a.value === "0" ? "1" : "0";
    var ia = +a.value, ib = +b.value;
    if (!valid[ia] || !valid[ib]) { $("raise").innerHTML = '<p class="sub">Both options need a salary.</p>'; return; }
    var A = rs[ia], B = rs[ib];
    var steps = [
      ["Salary difference", A.gross - B.gross],
      ["Federal income tax", -(A.fed - B.fed)],
      ["Social Security + Medicare", -((A.ss + A.med) - (B.ss + B.med))],
      ["Kentucky income tax", -(A.ky - B.ky)],
      ["Local occupational tax", -(A.local - B.local)],
      ["Your 401(k) (you keep this, just later)", -(A.k401 - B.k401)],
      ["Health insurance", -(A.healthYr - B.healthYr)],
      ["Rent", -(A.rent - B.rent) * 12],
      ["Commuting and other job costs", -(A.everyday - B.everyday) * 12]
    ];
    var end = (A.leftover - B.leftover) * 12;
    var maxAbs = Math.max.apply(null, steps.map(function (s) { return Math.abs(s[1]); }).concat([Math.abs(end), 1]));
    var rows = steps.filter(function (s, i) { return i === 0 || Math.abs(s[1]) >= 0.5; }).map(function (s, i) {
      var color = i === 0 ? "var(--g-tax)" : (s[1] >= 0 ? "var(--g-left)" : "var(--g-rent)");
      return "<tr><td>" + esc(s[0]) + '</td><td style="width:40%"><div class="wbar" style="width:' + (Math.abs(s[1]) / maxAbs * 100).toFixed(1) + "%;background:" + color + '"></div></td><td class="amt">' + fmt(s[1], { sign: true }) + "</td></tr>";
    }).join("");
    rows += '<tr class="total"><td>Change in money left over</td><td></td><td class="amt" style="color:' + (end >= 0 ? "var(--good)" : "var(--bad)") + '">' + fmt(end, { sign: true }) + "/yr</td></tr>";

    var localDiff = A.local - B.local;
    var louIdx = state.scenarios[ia].location === "lou_res" ? ia : (state.scenarios[ib].location === "lou_res" ? ib : -1);
    var lexIdx = state.scenarios[ia].location === "lex" ? ia : (state.scenarios[ib].location === "lex" ? ib : -1);
    var note = "";
    if (Math.abs(localDiff) >= 1 || louIdx >= 0 || lexIdx >= 0) {
      note = '<div class="callout"><b>The Kentucky detail that&rsquo;s easy to miss:</b> ' +
        (Math.abs(localDiff) >= 1
          ? "the local occupational tax changes by " + fmt(Math.abs(localDiff)) + " a year here (" + rateTxt(A.localRate) + " vs " + rateTxt(B.localRate) + "), and it's charged on your full salary, even the part you put in your 401(k). "
          : "both choices pay the same local tax rate, charged on your full salary. ") +
        (louIdx >= 0 ? "If you took the Louisville job but lived outside Jefferson County, your local rate would drop from 2.2% to 1.45%, saving about " + fmt(rs[louIdx].gross * 0.0075) + " a year. Weigh that against a longer commute. " : "") +
        (lexIdx >= 0 ? "Living outside Fayette County while working in Lexington would drop the 0.5% school tax, about " + fmt(rs[lexIdx].gross * 0.005) + " a year." : "") +
        '<span class="try-row">' + (louIdx >= 0 ? '<button type="button" class="mini-btn try-outside" data-outside="' + louIdx + '">Try the Louisville job living outside Jefferson County</button>' : "") +
        (lexIdx >= 0 ? '<button type="button" class="mini-btn try-outside" data-outside="' + lexIdx + '">Try the Lexington job living outside Fayette County</button>' : "") + "</span>" +
        "</div>";
    }
    $("raise").innerHTML = '<table class="waterfall">' + rows + "</table>" + takesHTML(rs, ia, ib) + note;
  }

  // What it would take: rerun the same calculator with a different salary or rent until the gap closes.
  // Nothing in the tax math changes; this only searches for the input that matches the other option.
  function leftAtSalary(s, salary) {
    var c = {}; for (var k in s) c[k] = s[k];
    c.salary = salary;
    return calc(c, state.life).leftover;
  }
  function salaryToMatch(s, target) {
    var lo = Math.max(0, num(s.salary)), hi = Math.max(lo * 1.5, lo + 10000), n = 0;
    while (leftAtSalary(s, hi) < target && n < 12) { hi *= 2; n++; }
    if (leftAtSalary(s, hi) < target || hi > 10000000) return null;
    for (var k = 0; k < 60; k++) { var mid = (lo + hi) / 2; if (leftAtSalary(s, mid) >= target) hi = mid; else lo = mid; }
    var ask = Math.ceil(hi / 100) * 100; // round up to the next $100 so it fully closes the gap
    return ask <= 10000000 ? ask : null;
  }
  // The counteroffer sheet is offered only for two different jobs, and only when the ask is within 10% of the offer
  var COUNTER_MAX = 0.10, counterData = null;
  function takesHTML(rs, ia, ib) {
    counterData = null;
    var low = rs[ia].leftover <= rs[ib].leftover ? ia : ib, high = low === ia ? ib : ia;
    var gap = rs[high].leftover - rs[low].leftover;
    if (gap < 1) return "";
    var s = state.scenarios[low], o = state.scenarios[high], nmL = "<b>" + esc(s.name) + "</b>", nmH = "<b>" + esc(o.name) + "</b>";
    var ask = salaryToMatch(s, rs[high].leftover);
    var maxRent = Math.floor(rs[low].rent - gap);
    var ways = [];
    if (ask !== null) ways.push('it would need to pay <b class="ask">' + fmt(ask) + "</b> a year (" + fmt(ask - rs[low].gross) + " more than its offer)");
    if (maxRent >= 0) ways.push('its rent would need to be <b class="ask">' + fmt(maxRent) + "</b> a month or less");
    if (!ways.length) return "";
    var otherJob = num(s.salary) !== num(o.salary) || s.location !== o.location;
    var raisePct = ask !== null && rs[low].gross > 0 ? (ask - rs[low].gross) / rs[low].gross : Infinity;
    var after = "";
    if (ask !== null && otherJob && raisePct <= COUNTER_MAX) {
      counterData = { low: low, high: high, ask: ask, gap: gap, maxRent: maxRent, pct: raisePct };
      after = '<p class="use">Use this number when you negotiate.</p><button type="button" class="btn counter-btn" data-counter>Print a counteroffer sheet</button>';
    } else if (ask !== null && otherJob) {
      after = '<p class="use">That’s ' + Math.round(raisePct * 100) + "% more than the offer, a long shot for a counteroffer" + (maxRent >= 0 ? ", so the rent number may be the more useful one." : ".") + "</p>";
    }
    return '<div class="takes"><p><b>What it would take:</b> for ' + nmL + " to leave you as much each month as " + nmH + " (" + fmt(rs[high].leftover) + "), " + ways.join(", or ") + ".</p>" + after +
      '<p class="fine-print">Everything else stays the same. This matches monthly cash only, not retirement savings or an employer match.</p></div>';
  }

  // One printed page to bring to a salary conversation, built from the same numbers as the screen
  function counterSheetHTML(d) {
    var rs = state.scenarios.map(function (s) { return calc(s, state.life); });
    var A = rs[d.low], B = rs[d.high], sA = state.scenarios[d.low], sB = state.scenarios[d.high];
    var nmA = esc(sA.name || "This offer"), nmB = esc(sB.name || "The other offer");
    var payGap = A.gross - B.gross, why = mainDriver(A, B);
    var plain = "<b>" + nmA + "</b> " + (payGap > 0 ? "pays " + fmt(payGap) + " more a year but leaves you " : payGap < 0 ? "pays " + fmt(-payGap) + " less a year and leaves you " : "pays the same but leaves you ") +
      "about " + fmt(d.gap) + " less each month than <b>" + nmB + "</b>" + (why ? ", mostly because " + why : "") + ".";
    var row = function (label, a, b) { return "<tr><th scope=\"row\">" + label + "</th><td>" + a + "</td><td>" + b + "</td></tr>"; };
    var table = '<table class="cs-table"><thead><tr><td></td><th scope="col">' + nmA + '</th><th scope="col">' + nmB + "</th></tr></thead><tbody>" +
      row("Salary", fmt(A.gross) + " a year", fmt(B.gross) + " a year") +
      row("Take-home pay", fmt(A.takeHomeMo) + " a month", fmt(B.takeHomeMo) + " a month") +
      row("Local occupational tax", fmt(A.local / 12) + " a month (" + rateTxt(A.localRate) + ")", fmt(B.local / 12) + " a month (" + rateTxt(B.localRate) + ")") +
      row("Your share of rent", fmt(A.rent) + " a month", fmt(B.rent) + " a month") +
      row("Left each month", "<b>" + fmt(A.leftover) + "</b>", "<b>" + fmt(B.leftover) + "</b>") + "</tbody></table>";
    var script = "“I’m excited about this role and would like to make it work. After taxes and living costs, my other offer leaves me about " + fmt(d.gap) +
      " a month more, so would you be able to bring the salary to " + fmt(d.ask) + "?”";
    var date = new Date().toLocaleDateString("en-US", { year: "numeric", month: "long", day: "numeric" });
    return '<h1>Counteroffer worksheet</h1><p class="cs-sub">For the <b>' + nmA + "</b> offer. Prepared " + date + " with Bluegrass Financial Checkup.</p>" +
      '<h2>The number to ask for</h2><p class="cs-ask">' + fmt(d.ask) + " a year</p>" +
      "<p>That is " + fmt(d.ask - A.gross) + " (" + (d.pct * 100).toFixed(1) + "%) more than the " + fmt(A.gross) + " offered. At " + fmt(d.ask) + ", this job would leave you about as much each month as <b>" + nmB + "</b> (" + fmt(B.leftover) + ").</p>" +
      "<h2>Why, in plain terms</h2><p>" + plain + "</p>" + table +
      '<h2>What to say</h2><blockquote class="cs-script">' + script + "</blockquote>" +
      "<h2>Before you ask</h2><ul>" +
      "<li>" + (why && why.indexOf("rent is") === 0 ? "Lead with the cost of living: " + why.replace(/^rent is/, "rent here is") : why ? "Lead with what this offer leaves you after taxes and living costs: " + why : "Lead with what this offer leaves you after taxes and living costs") + ". You don’t need to share the other offer’s salary. Keep it to the numbers, not your personal budget.</li>" +
      "<li>This matches monthly cash only. It doesn’t count retirement: this offer’s employer match is worth " + fmt(A.employerMatch) + " a year, the other’s " + fmt(B.employerMatch) + ".</li>" +
      (d.maxRent >= 0 ? "<li>If the salary can’t move, the same gap closes with rent of " + fmt(d.maxRent) + " a month or less.</li>" : "") +
      "<li>Taxes use 2026 federal, Kentucky, and local rates. Rent and other costs are your own estimates.</li></ul>" +
      '<p class="cs-foot">Estimates for learning and planning, not financial, tax, or legal advice.</p>';
  }


  // Two or three concrete checks based on this option's own results
  function nextSteps(s, life, r, res) {
    var steps = [], loc = LOCATIONS[s.location] || {};
    if (r.leftover < 0) steps.push("Close the gap of " + fmt(-r.leftover) + " a month before choosing this option: lower the rent, add a roommate, or trim flexible spending (now " + fmt(r.flexible) + " a month).");
    if (r.matchMissedYr >= 1) steps.push("Raise your 401(k) to at least " + num(s.match) + "% to collect the full employer match, worth " + fmt(r.matchMissedYr) + " more a year.");
    if (r.runway < 3) {
      var gap = Math.max(0, r.efTarget - num(life.savings));
      if (r.leftover > 0) { var half = Math.max(50, Math.round(r.leftover / 2 / 50) * 50); steps.push("Build savings to " + fmt(r.efTarget) + ", three months of essentials. Setting aside " + fmt(half) + " a month gets you there in about " + Math.ceil(gap / half) + " months."); }
      else steps.push("Build savings toward " + fmt(r.efTarget) + ", three months of essentials, once this option leaves money each month.");
    }
    if (r.matchUpTo <= 0) steps.push("Ask whether this employer offers a 401(k) match. A match can change which option is worth more each year.");
    if (r.rentGrossPct > 0.30) steps.push("Look for rent at or under " + fmt(r.gross / 12 * 0.30) + " a month, about 30% of your gross pay.");
    if (loc.group === "county" || s.location === "custom" || loc.extra) steps.push("Confirm your local occupational tax with the employer's payroll office. City and school district taxes vary, and this option may need one added.");
    else if (s.location.indexOf("lex") === 0 || s.location.indexOf("lou") === 0) steps.push("Confirm with payroll which local rate applies to you. In " + loc.short + " it depends on whether you live in the county.");
    if (res.firstBreak === 8) steps.push("Bookmark the unemployment insurance link below. Two months without pay is this option's breaking point.");
    return steps.slice(0, 3);
  }

  function renderStress(rs, valid, resil) {
    var life = state.life, n = state.scenarios.length;
    // The grid: every option against the same shocks
    var list = shockList(state.scenarios[0], life), html = "", lastGroup = "";
    list.forEach(function (sh, k) {
      if (sh.group !== lastGroup) { html += '<tr class="grp"><th scope="rowgroup" colspan="' + (n + 1) + '">' + esc(sh.group) + "</th></tr>"; lastGroup = sh.group; }
      html += '<tr><th scope="row">' + esc(sh.name) + '<span class="hint">' + esc(sh.why) + "</span></th>" + rs.map(function (r, i) {
        if (!valid[i]) return '<td class="oc oc-' + i + '"><span class="cell-note">Add a salary</span></td>';
        var o = resil[i].results[k];
        return '<td class="oc oc-' + i + '" data-st="' + k + "-" + i + '" data-s="' + o.status + '">' + pill(o.status) + '<span class="cell-note">' + cellNote(resil[i].list[k], o, r, life) + "</span></td>";
      }).join("") + "</tr>";
    });
    html += '<tr class="sum"><th scope="row">Shocks survived</th>' + rs.map(function (r, i) { return '<td class="oc oc-' + i + '">' + (valid[i] ? resil[i].survived + " of " + resil[i].total : "—") + "</td>"; }).join("") + "</tr>" +
      '<tr class="sum"><th scope="row">First to break</th>' + rs.map(function (r, i) {
        return '<td class="oc oc-' + i + '">' + (valid[i] ? (resil[i].firstBreak >= 0 ? esc(resil[i].list[resil[i].firstBreak].name) : "Nothing on this list") : "—") + "</td>";
      }).join("") + "</tr>";
    $("shock-rows").innerHTML = html;
    function popIfChanged(td, key) {
      var st = td.getAttribute("data-s"), pl = td.querySelector(".pill");
      if (pl && lastStatus[key] !== undefined && lastStatus[key] !== st) flash(pl, "pop");
      lastStatus[key] = st;
    }
    document.querySelectorAll("#shock-rows [data-st]").forEach(function (td) { popIfChanged(td, td.getAttribute("data-st")); });
    rs.forEach(function (r, i) {
      var s = state.scenarios[i];
      if (!valid[i]) { $("cs-" + i).innerHTML = ""; $("cc-" + i).innerHTML = ""; return; }
      var shA = { kind: "once", amt: customShock }, c = runShock(shA, s, life, r);
      $("cs-" + i).innerHTML = pill(c.status) + '<span class="cell-note">' + cellNote(shA, c, r, life) + "</span>";
      $("cs-" + i).setAttribute("data-s", c.status); popIfChanged($("cs-" + i), "cs-" + i);
      var shB = { kind: "income", f: 1 - customCut / 100 }, cc = runShock(shB, s, life, r);
      $("cc-" + i).innerHTML = pill(cc.status) + '<span class="cell-note">' + cellNote(shB, cc, r, life) + "</span>";
      $("cc-" + i).setAttribute("data-s", cc.status); popIfChanged($("cc-" + i), "cc-" + i);
    });

    // A closer look at one option
    var sel = $("stress-choice");
    sel.innerHTML = state.scenarios.map(function (s, i) { return '<option value="' + i + '"' + (i === active ? " selected" : "") + ">" + LETTERS[i] + ". " + esc(s.name) + "</option>"; }).join("");
    var s = state.scenarios[active], base = rs[active];
    if (!valid[active]) {
      $("breaks").innerHTML = '<div class="breaks strained"><p>Add a salary for this option to stress-test it.</p></div>';
      $("pressure").innerHTML = ""; $("next-steps").innerHTML = ""; $("pressure").hidden = true; $("next-steps").hidden = true; return;
    }
    $("pressure").hidden = false; $("next-steps").hidden = false;
    var res = resil[active], results = res.results, firstBreak = res.firstBreak, firstStrain = res.firstStrain;
    var cls, kicker, headline, body;
    if (firstBreak >= 0) {
      cls = ""; kicker = "What breaks first for " + esc(s.name) + ":";
      headline = esc(res.list[firstBreak].name) + ".";
      body = esc(results[firstBreak].text);
    } else if (firstStrain >= 0) {
      cls = "strained"; kicker = esc(s.name) + " survives every shock here, but it gets tight:";
      headline = esc(res.list[firstStrain].name) + " would leave you stretched thin.";
      body = esc(results[firstStrain].text);
    } else {
      cls = "ok"; kicker = esc(s.name) + ":";
      headline = "Holds up against every shock on this list.";
      body = "You have room each month and a real cushion. Keep building it.";
    }
    var breaksCount = results.filter(function (o) { return o.status === "break"; }).length;
    $("breaks").innerHTML = '<div class="breaks ' + cls + '"><p class="kicker">' + kicker + '</p><p class="headline">' + headline + "</p><p>" + body +
      (breaksCount > 1 ? " " + breaksCount + " of the 9 shocks above would break this budget." : "") + "</p></div>";

    var pts = pressurePoints(base, life);
    var worst = pts.reduce(function (a, b) { return b.ratio > a.ratio ? b : a; });
    var hpt = base.takeHomeMo > 0 ? (base.rent + base.car) / base.takeHomeMo : 0;
    var lead;
    if (worst.ratio <= 1) {
      lead = "No single pressure point exceeds the common guidelines used by this planner. Rent and car costs together use " + pct(hpt) + " of take-home pay.";
    } else {
      lead = {
        cushion: "Your emergency cushion is currently the weakest part of this plan. Savings cover " + base.runway.toFixed(1) + " months of essential costs.",
        rent: "Rent is currently your largest pressure point, using " + pct(worst.value) + " of gross income.",
        car: "Transportation costs are currently your largest pressure point, using " + pct(worst.value) + " of take-home pay.",
        debt: "Student loan payments are currently your largest pressure point, using " + pct(worst.value) + " of take-home pay."
      }[worst.key] + " Rent and car costs together use " + pct(hpt) + " of take-home pay.";
    }
    var meters = pts.map(function (p) {
      var shown = p.inverse ? (p.value >= 99 ? "—" : p.value.toFixed(1) + " months") : pct(p.value) + " " + p.unit;
      var fill = Math.min(100, p.value / (p.guide * 2) * 100);
      var color = p.ratio <= 1 ? "var(--good)" : (p.ratio <= 1.5 ? "var(--gold)" : "var(--bad)");
      return '<div class="meter"><div class="meter-top"><span>' + esc(p.label) + "</span><b>" + shown + '</b></div><div class="meter-track"><div class="meter-fill" style="width:' + fill.toFixed(1) + "%;background:" + color + '"></div><div class="meter-mark" title="guideline"></div></div><div class="meter-note">' + esc(p.guideTxt) + "</div></div>";
    }).join("");
    var ess = base.essentials, sav = Math.max(0, num(life.savings));
    function target(label, months) {
      var goal = ess * months, gap = Math.max(0, goal - sav);
      return '<div class="target"><span>' + label + " (" + fmt(goal) + ")</span><b>" + (gap <= 0 ? "Reached" : fmt(gap) + " to go") + "</b></div>";
    }
    var gap3 = Math.max(0, ess * 3 - sav), plan = "";
    if (gap3 > 0 && base.leftover > 0) {
      var half = Math.max(50, Math.round(base.leftover / 2 / 50) * 50);
      plan = '<p class="target-note">Setting aside ' + fmt(half) + " a month (about half your leftover) reaches 3 months in about " + Math.ceil(gap3 / half) + " months.</p>";
    } else if (gap3 > 0) {
      plan = '<p class="target-note">With nothing left each month, the cushion can only grow if a cost comes down or your pay goes up.</p>';
    }
    $("pressure").innerHTML = '<h3 class="plain">Your biggest pressure point</h3><p class="lead">' + esc(lead) + "</p>" + meters + '<p class="meter-note">The tick on each bar marks a common rule of thumb.</p>' +
      '<div class="targets"><h3 class="plain">Cash you need set aside</h3>' + target("1 month of essentials", 1) + target("3 months of essentials", 3) + plan + "</div>";
    $("next-steps").innerHTML = '<h3 class="plain">Your next steps for ' + esc(s.name) + "</h3><ol>" + nextSteps(s, life, base, res).map(function (t) { return "<li>" + esc(t) + "</li>"; }).join("") + "</ol>";
  }

  function ghMonthly() {
    var m = Number(gh.miles), d = Number(gh.days), g = Number(gh.mpg), p = Number(gh.price);
    if (!(m > 0 && m <= 500 && d > 0 && d <= 7 && g > 0 && g <= 200 && p > 0 && p <= 20)) return null;
    return m * 2 * d * 52 / 12 / g * p;
  }
  function ghUpdate() {
    var val = ghMonthly();
    document.querySelectorAll("details.gas").forEach(function (d) {
      d.querySelector(".gh-out").textContent = val === null ? "Enter miles, days, miles per gallon, and gas price to see a monthly estimate." : "About " + fmt(val) + " a month in gas.";
      d.querySelector("[data-gh-use]").disabled = val === null;
      d.querySelectorAll("[data-gh]").forEach(function (inp) { if (inp !== document.activeElement) inp.value = gh[inp.getAttribute("data-gh")]; });
    });
  }

  function renderAll() { renderStructure(); refresh(); ghUpdate(); }
  function fullRender() { renderAll(); }

  // ---------- Type-to-search location box ----------
  function comboMatches(query) {
    var words = query.toLowerCase().replace(/[^a-z0-9% ]/g, " ").split(/\s+/).filter(Boolean);
    return Object.keys(LOCATIONS).filter(function (k) {
      if (!words.length) return true;
      var hay = (LOCATIONS[k].label + " " + (SEARCH_WORDS[k] || "") + " " + (LOCATIONS[k].short || "")).toLowerCase();
      return words.every(function (w) { return hay.indexOf(w) >= 0; });
    });
  }
  function comboRender(input, query) {
    var list = $(input.getAttribute("aria-controls")), keys = comboMatches(query), html = "", n = 0;
    LOC_GROUPS.forEach(function (g) {
      var inGroup = keys.filter(function (k) { return LOCATIONS[k].group === g[0]; });
      if (!inGroup.length) return;
      html += '<li class="combo-group" role="presentation">' + g[1] + "</li>";
      inGroup.forEach(function (k) {
        html += '<li role="option" class="combo-opt" id="' + input.id + "-opt-" + k + '" data-k="' + k + '" aria-selected="' + (k === input.getAttribute("data-loc")) + '">' + esc(LOCATIONS[k].label) + "</li>";
        n++;
      });
    });
    if (!n) html = '<li class="combo-empty" role="presentation">No Kentucky place matches. Try a county name, or pick "Enter my own total rate."</li>';
    list.innerHTML = html;
    list.hidden = false;
    input.setAttribute("aria-expanded", "true");
    comboHighlight(input, list.querySelector(".combo-opt"));
  }
  function comboHighlight(input, li) {
    var list = $(input.getAttribute("aria-controls"));
    list.querySelectorAll(".combo-opt.active").forEach(function (x) { x.classList.remove("active"); });
    if (li) { li.classList.add("active"); input.setAttribute("aria-activedescendant", li.id); li.scrollIntoView({ block: "nearest" }); }
    else input.removeAttribute("aria-activedescendant");
  }
  function comboClose(input, restore) {
    var list = $(input.getAttribute("aria-controls"));
    if (list) list.hidden = true;
    input.setAttribute("aria-expanded", "false");
    input.removeAttribute("aria-activedescendant");
    if (restore) { var cur = LOCATIONS[input.getAttribute("data-loc")]; if (cur) input.value = cur.label; }
  }
  function comboPick(input, key) {
    comboClose(input, false);
    if (!LOCATIONS[key]) return;
    var id = input.id, ci = +input.getAttribute("data-i");
    if (key !== state.scenarios[ci].location) {
      state.scenarios[ci].location = key;
      setDirty(true); renderAll();
    } else input.value = LOCATIONS[key].label;
    var again = $(id); if (again) again.focus();
  }
  document.addEventListener("focusin", function (e) {
    var t = e.target;
    if (t.classList && t.classList.contains("combo-input")) { t.select(); }
  });
  document.addEventListener("input", function (e) {
    if (e.target.classList && e.target.classList.contains("combo-input")) comboRender(e.target, e.target.value);
  });
  document.addEventListener("keydown", function (e) {
    var t = e.target;
    if (!(t.classList && t.classList.contains("combo-input"))) return;
    var list = $(t.getAttribute("aria-controls")), open = list && !list.hidden;
    var opts = list ? [].slice.call(list.querySelectorAll(".combo-opt")) : [], cur = list ? list.querySelector(".combo-opt.active") : null, i = opts.indexOf(cur);
    if (e.key === "ArrowDown" || e.key === "ArrowUp") {
      e.preventDefault();
      if (!open) { comboRender(t, ""); return; }
      var next = e.key === "ArrowDown" ? Math.min(opts.length - 1, i + 1) : Math.max(0, i - 1);
      comboHighlight(t, opts.at(next));
    } else if (e.key === "Enter") {
      if (open && cur) { e.preventDefault(); comboPick(t, cur.getAttribute("data-k")); }
    } else if (e.key === "Escape") {
      if (open) { e.preventDefault(); e.stopPropagation(); comboClose(t, true); }
    } else if (e.key === "Tab") {
      if (open && cur && t.value !== (LOCATIONS[t.getAttribute("data-loc")] || {}).label) comboPick(t, cur.getAttribute("data-k"));
      else comboClose(t, true);
    }
  });
  document.addEventListener("mousedown", function (e) {
    var opt = e.target.closest(".combo-opt");
    if (opt) { e.preventDefault(); var inp = $(opt.closest(".combo-list").id.replace(/-list$/, "")); comboPick(inp, opt.getAttribute("data-k")); return; }
    var tog = e.target.closest("[data-combo-toggle]");
    if (tog) {
      e.preventDefault();
      var input = tog.parentNode.querySelector(".combo-input"), lst = $(input.getAttribute("aria-controls"));
      if (lst.hidden) { input.focus(); comboRender(input, ""); } else comboClose(input, true);
      return;
    }
  });
  // Clicking into the box shows the list (filtered by anything already typed)
  document.addEventListener("click", function (e) {
    var t = e.target;
    if (!(t.classList && t.classList.contains("combo-input"))) return;
    var l2 = $(t.getAttribute("aria-controls"));
    if (l2 && l2.hidden) {
      var cur = LOCATIONS[t.getAttribute("data-loc")];
      if (cur && t.value === cur.label) { comboRender(t, ""); setTimeout(function () { t.select(); }, 0); } // typing now replaces the current place
      else comboRender(t, t.value);
    }
  });
  document.addEventListener("focusout", function (e) {
    var t = e.target;
    if (t.classList && t.classList.contains("combo-input")) setTimeout(function () {
      if (!document.body.contains(t)) return; // the field was redrawn after a pick; the new one manages itself
      if (document.activeElement !== t) comboClose(t, true);
    }, 120);
  });

  // ---------- In-page confirmation (browser pop-ups are blocked in some viewers) ----------
  var cfAction = null;
  function askConfirm(message, okLabel, action) {
    var d = $("confirm-dlg");
    if (!d || typeof d.showModal !== "function") { action(); return; }
    $("cf-msg").textContent = message;
    $("cf-ok").textContent = okLabel;
    cfAction = action;
    d.showModal();
    $("cf-cancel").focus();
  }
  $("cf-ok").addEventListener("click", function () { var a = cfAction; cfAction = null; $("confirm-dlg").close(); if (a) a(); });
  $("cf-cancel").addEventListener("click", function () { cfAction = null; $("confirm-dlg").close(); });
  $("confirm-dlg").addEventListener("close", function () { cfAction = null; });


  // ---------- Events ----------
  function parseInput(t) {
    var raw = t.value.replace(/[$,%\s]/g, "");
    var box = $(t.id + "-box"), err = $(t.id + "-err"), max = +t.getAttribute("data-max");
    if (raw === "") { box.classList.remove("invalid"); err.textContent = ""; return 0; }
    var val = Number(raw);
    if (!/^\d*\.?\d*$/.test(raw) || !isFinite(val) || val < 0 || val > max) {
      box.classList.add("invalid");
      err.textContent = "Enter a number from 0 to " + max.toLocaleString("en-US") + ".";
      return null;
    }
    box.classList.remove("invalid"); err.textContent = "";
    return val;
  }

  document.addEventListener("input", function (e) {
    var t = e.target, key = t.getAttribute && t.getAttribute("data-key");
    if (!key) return;
    var i = t.getAttribute("data-i"), target = i === null ? state.life : state.scenarios[+i];
    if (!target) return;
    if (t.type === "checkbox") target[key] = t.checked;
    else if (key === "name") target.name = t.value;
    else { var val = parseInput(t); if (val === null) return; target[key] = val; }
    setDirty(true); refresh();
  });
  // Tidy money formatting when leaving a field
  document.addEventListener("focusout", function (e) {
    var t = e.target;
    if (t.getAttribute && t.getAttribute("data-type") === "money" && !$(t.id + "-box").classList.contains("invalid")) {
      var val = Number(t.value.replace(/[$,\s]/g, "")) || 0;
      t.value = val.toLocaleString("en-US");
    }
  });

  // Stress test: your own surprise bill and pay cut
  document.addEventListener("input", function (e) {
    var t = e.target, raw, val, box;
    if (t.id === "custom-cut") {
      raw = t.value.replace(/[%\s]/g, ""); val = Number(raw); box = $("custom-cut-box");
      if (raw === "" || !/^\d*\.?\d*$/.test(raw) || !isFinite(val) || val > 100) { box.classList.add("invalid"); return; }
      box.classList.remove("invalid"); customCut = val; refresh();
    } else if (t.id === "custom-shock") {
      raw = t.value.replace(/[$,\s]/g, ""); val = Number(raw); box = $("custom-shock-box");
      if (raw === "" || !/^\d*\.?\d*$/.test(raw) || !isFinite(val) || val > 1000000) { box.classList.add("invalid"); return; }
      box.classList.remove("invalid"); customShock = val; refresh();
    }
  });
  $("stress-choice").addEventListener("change", function () { active = +this.value; refresh(); });
  $("raise-a").addEventListener("change", function () { refresh(); });
  $("raise-b").addEventListener("change", function () { refresh(); });

  // Pick which option is in focus (and, on narrow screens, which one is shown)
  document.addEventListener("click", function (e) {
    var b = e.target.closest("[data-pick]"); if (!b) return;
    var holder = b.parentNode.id;
    active = +b.getAttribute("data-pick"); refresh();
    var again = document.querySelector("#" + holder + ' [data-pick="' + active + '"]'); if (again) again.focus();
  });

  function focusField(id, select) { var el = $(id); if (el) { el.focus(); if (select && el.select) el.select(); } }
  $("btn-add").addEventListener("click", function () {
    var n = state.scenarios.length;
    if (n >= MAX_SCENARIOS) return;
    var copy = JSON.parse(JSON.stringify(state.scenarios[active]));
    copy.name = "Choice " + LETTERS[n];
    state.scenarios.push(copy); active = n;
    setDirty(true); renderAll(); focusField("s" + active + "-name", true);
  });
  $("ledger").addEventListener("click", function (e) {
    var b = e.target.closest("button[data-act]"); if (!b) return;
    var i = +b.getAttribute("data-i");
    if (b.getAttribute("data-act") === "dup" && state.scenarios.length < MAX_SCENARIOS) {
      var copy = JSON.parse(JSON.stringify(state.scenarios[i]));
      copy.name = (copy.name + " (copy)").slice(0, 60);
      state.scenarios.splice(i + 1, 0, copy); active = i + 1;
      setDirty(true); renderAll(); focusField("s" + active + "-name", true);
    } else if (b.getAttribute("data-act") === "del" && state.scenarios.length > 2) {
      askConfirm('Remove "' + (state.scenarios[i].name || "this option") + '"?', "Remove", function () {
        state.scenarios.splice(i, 1); active = Math.max(0, Math.min(active, state.scenarios.length - 1));
        setDirty(true); renderAll(); focusField("s" + active + "-name", false);
      });
    }
  });

  // One click: copy a Louisville or Lexington option as "living outside the county" with the lower local rate
  var OUTSIDE = { lou_res: ["lou_non", "outside Jefferson County"], lex: ["lex_non", "outside Fayette County"] };
  document.addEventListener("click", function (e) {
    var b = e.target.closest("[data-outside]"); if (!b) return;
    var i = +b.getAttribute("data-outside"), src = state.scenarios[i], o = src && OUTSIDE[src.location];
    if (!o) return;
    if (state.scenarios.length >= MAX_SCENARIOS) { showMsg("You already have " + MAX_SCENARIOS + " options, the most this page compares. Remove one, then try again.", "error"); return; }
    var copy = JSON.parse(JSON.stringify(src));
    copy.location = o[0];
    copy.name = (src.name.replace(/, living alone$/, "") + ", living " + o[1]).slice(0, 60);
    state.scenarios.splice(i + 1, 0, copy); active = i + 1;
    setDirty(true); renderAll(); goStep("offers");
    showMsg("Added \"" + copy.name + "\" with the lower local tax. Update the rent for where you'd live, and add the longer commute under Commuting and other job costs.", "ok");
    focusField("s" + active + "-rent", true);
  });

  // Gas-only commute helper (not saved; it fills in Commuting and other job costs)
  $("ledger").addEventListener("input", function (e) {
    var k = e.target.getAttribute("data-gh"); if (!k) return;
    gh[k] = e.target.value.replace(/[$,\s]/g, ""); ghUpdate();
  });
  $("ledger").addEventListener("click", function (e) {
    var b = e.target.closest("[data-gh-use]"); if (!b) return;
    var val = ghMonthly(); if (val === null) return;
    var i = +b.getAttribute("data-gh-use");
    state.scenarios[i].extra = Math.round(val);
    var inp = $("s" + i + "-extra"); inp.value = Math.round(val).toLocaleString("en-US");
    $(inp.id + "-box").classList.remove("invalid"); $(inp.id + "-err").textContent = "";
    setDirty(true); refresh();
    showMsg("Put " + fmt(val) + " a month in Commuting and other job costs. Add parking or tolls to that amount if you have them.", "ok");
    inp.focus();
  });

  function replaceState(make, question, okLabel, after) {
    var go = function () { state = make(); active = 0; renderAll(); setDirty(false); if (after) after(); };
    if (dirty) askConfirm(question, okLabel, go); else go();
  }
  function loadExample(after) { replaceState(exampleState, "Replace your numbers with the example? Your unsaved changes will be lost.", "Use example", after); }
  // A second example: real numbers Yash shared, with permission
  var MORE_EXAMPLES = {
    yash: { who: "Yash", data: {"life": {"loanPayment": 0, "carPayment": 0, "carInsurance": 110, "everyday": 300, "flexible": 300, "savings": 2000}, "scenarios": [{"name": "Lexington job, living with parents", "salary": 55000, "location": "lex", "customRate": 1, "rent": 0, "retirePct": 2, "health": 0, "healthPreTax": true, "matchRate": 100, "match": 2, "extra": 20, "extraLocal": 0}, {"name": "Covington job", "salary": 59000, "location": "cov", "customRate": 1, "rent": 1250, "retirePct": 2, "health": 0, "healthPreTax": true, "matchRate": 100, "match": 2, "extra": 20, "extraLocal": 0}]} }
  };
  document.addEventListener("click", function (e) {
    var b = e.target.closest("[data-example]"); if (!b) return;
    var ex = MORE_EXAMPLES[b.getAttribute("data-example")]; if (!ex) return;
    replaceState(function () { return JSON.parse(JSON.stringify(ex.data)); }, "Replace your numbers with " + ex.who + "'s example? Your unsaved changes will be lost.", "Use example", function () {
      goStep("offers");
      showMsg("Showing " + ex.who + "'s example. " + ex.who + " shared these real numbers, with permission. Use example numbers brings Ty back.", "ok");
    });
  });
  function loadBlank(after) { replaceState(blankState, "Clear everything and start blank? Your unsaved changes will be lost.", "Start blank", after); }
  // ---------- Steps: one page at a time ----------
  var STEPS = ["start", "offers", "bottom-line", "stress", "learn"];
  var STEP_ALIAS = { costs: "offers", choices: "offers", life: "offers", compare: "bottom-line" }; // links from the earlier five-tab version
  function goStep(name, opts) {
    opts = opts || {};
    name = STEP_ALIAS[name] || name;
    if (STEPS.indexOf(name) < 0) name = "start";
    STEPS.forEach(function (s) { $(s).hidden = s !== name; });
    document.querySelectorAll(".step[data-goto]").forEach(function (b) {
      if (b.getAttribute("data-goto") === name) b.setAttribute("aria-current", "step"); else b.removeAttribute("aria-current");
    });
    try { history.replaceState(null, "", "#" + name); } catch (err) { /* file pages may block this */ }
    // "instant" overrides the page's smooth scrolling so a new step starts at the top right away
    if (!opts.keepScroll) { try { window.scrollTo({ top: 0, behavior: "instant" }); } catch (err) { window.scrollTo(0, 0); } }
    if (opts.focus) $(name).focus({ preventScroll: true });
    if (name === "start" && typeof playHero === "function") playHero();
  }
  document.addEventListener("click", function (e) {
    var b = e.target.closest("[data-goto]"); if (!b) return;
    goStep(b.getAttribute("data-goto"), { focus: !b.classList.contains("step") });
  });
  // In-page links (such as "How this was calculated") open the step that holds their target
  document.addEventListener("click", function (e) {
    var a = e.target.closest('a[href^="#"]'); if (!a) return;
    var target = document.getElementById(a.getAttribute("href").slice(1)), page = target && target.closest(".step-page");
    if (!page) return;
    e.preventDefault();
    goStep(page.getAttribute("data-step"), { keepScroll: true });
    target.scrollIntoView({ block: "start" }); target.focus({ preventScroll: true });
  });
  window.addEventListener("hashchange", function () { goStep(location.hash.slice(1)); });
  // A glow or pop should play once, not again each time its page is shown
  document.addEventListener("animationend", function (e) {
    var c = e.target.classList;
    if (c && (c.contains("bump") || c.contains("pop"))) { c.remove("bump"); c.remove("pop"); }
  });
  function toOffers() { goStep("offers"); }
  $("btn-example").addEventListener("click", function () { loadExample(); });
  $("btn-clear").addEventListener("click", function () { loadBlank(function () { focusField("s0-salary", true); }); });
  $("msg-close").addEventListener("click", function () { $("msg").className = "msg"; });
  // Print a counteroffer sheet: only that page prints, then the page goes back to normal
  document.addEventListener("click", function (e) {
    var b = e.target.closest("[data-counter]"); if (!b || !counterData) return;
    $("counter-sheet").innerHTML = counterSheetHTML(counterData);
    document.documentElement.classList.add("print-counter");
    try { window.print(); } catch (err) { document.documentElement.classList.remove("print-counter"); showMsg("Printing isn't available here. Use your browser's Print command (Ctrl+P or Cmd+P) instead.", "error"); }
  });
  window.addEventListener("afterprint", function () { document.documentElement.classList.remove("print-counter"); });
  $("btn-print").addEventListener("click", function () {
    document.documentElement.classList.remove("print-counter");
    var d = $("print-date"); if (d) d.textContent = "Printed " + new Date().toLocaleDateString("en-US", { year: "numeric", month: "long", day: "numeric" }) + ". Estimates for learning, not financial, tax, or legal advice.";
    try { window.print(); } catch (err) { showMsg("Printing isn't available here. Use your browser's Print command (Ctrl+P or Cmd+P) instead.", "error"); }
  });

  // ---------- Save / open ----------
  $("btn-save").addEventListener("click", function () {
    var payload = { app: FILE_TAG, version: FILE_VERSION, savedAt: new Date().toISOString(), life: state.life, scenarios: state.scenarios };
    var blob = new Blob([JSON.stringify(payload, null, 2)], { type: "application/json" });
    var url = URL.createObjectURL(blob);
    var a = document.createElement("a");
    a.href = url; a.download = "bluegrass-financial-checkup-plan.json";
    document.body.appendChild(a); a.click(); a.remove();
    setTimeout(function () { URL.revokeObjectURL(url); }, 1000);
    setDirty(false);
    showMsg("Saved. Your plan downloaded as bluegrass-financial-checkup-plan.json. Use \"Open a saved plan\" to pick up where you left off.", "ok");
  });
  $("btn-open").addEventListener("click", function () {
    var go = function () { $("file-input").value = ""; $("file-input").click(); };
    if (dirty) askConfirm("Opening a saved plan will replace your current numbers, which have unsaved changes.", "Choose a file", go); else go();
  });
  $("file-input").addEventListener("change", function () {
    var file = this.files && this.files[0];
    if (!file) return;
    if (file.size > 1000000) { showMsg("That file is too large to be a saved plan. Your current numbers are unchanged.", "error"); return; }
    var reader = new FileReader();
    reader.onload = function () {
      var parsed;
      try { parsed = JSON.parse(reader.result); }
      catch (err) { showMsg("That file isn't a plan saved from this page. Your current numbers are unchanged.", "error"); return; }
      var result = validatePlan(parsed);
      if (!result.ok) { showMsg("That file couldn't be opened because " + result.error + " Your current numbers are unchanged.", "error"); return; }
      state = result.state; active = 0; fullRender(); setDirty(false);
      showMsg("Opened " + file.name + ".", "ok");
    };
    reader.onerror = function () { showMsg("The file couldn't be read. Your current numbers are unchanged.", "error"); };
    reader.readAsText(file);
  });

  function validNum(v, max) { return typeof v === "number" && isFinite(v) && v >= 0 && v <= max; }
  function validatePlan(p) {
    if (!p || typeof p !== "object" || Array.isArray(p)) return { ok: false, error: "it isn't a plan file." };
    if (p.app !== FILE_TAG && p.app !== LEGACY_TAG) return { ok: false, error: "it wasn't saved from Bluegrass Financial Checkup." };
    if (p.version !== FILE_VERSION) return { ok: false, error: "it was saved by a different version of this page." };
    if (!p.life || typeof p.life !== "object") return { ok: false, error: "the \"monthly costs and savings\" section is missing." };
    var life = {};
    for (var i = 0; i < LIFE_FIELDS.length; i++) {
      var d = LIFE_FIELDS[i];
      if (d.key === "flexible" && p.life.flexible === undefined) { life.flexible = 0; continue; } // plans saved before this field existed
      if (!validNum(p.life[d.key], d.max)) return { ok: false, error: "\"" + d.label + "\" has an invalid value." };
      life[d.key] = p.life[d.key];
    }
    if (!Array.isArray(p.scenarios) || p.scenarios.length < 2 || p.scenarios.length > MAX_SCENARIOS)
      return { ok: false, error: "it needs between 2 and " + MAX_SCENARIOS + " choices." };
    var scenarios = [];
    for (var j = 0; j < p.scenarios.length; j++) {
      var s = p.scenarios[j], out = {};
      if (!s || typeof s !== "object") return { ok: false, error: "choice " + (j + 1) + " is damaged." };
      if (typeof s.name !== "string") return { ok: false, error: "choice " + (j + 1) + " has no name." };
      out.name = s.name.slice(0, 60);
      for (var k = 0; k < SCEN_FIELDS.length; k++) {
        var f = SCEN_FIELDS[k];
        if (f.key === "extraLocal" && s.extraLocal === undefined) { out.extraLocal = 0; continue; }
        // Plans saved before each option had its own 401(k): use the old shared rate and a dollar-for-dollar match
        if (f.key === "retirePct" && s.retirePct === undefined) {
          if (!validNum(p.life.retirementPct, f.max)) return { ok: false, error: "\"" + f.label + "\" in choice " + (j + 1) + " has an invalid value." };
          out.retirePct = p.life.retirementPct; continue;
        }
        if (f.key === "matchRate" && s.matchRate === undefined) { out.matchRate = 100; continue; }
        if (f.type === "location") {
          if (!Object.prototype.hasOwnProperty.call(LOCATIONS, s.location)) return { ok: false, error: "choice " + (j + 1) + " has an unknown job location." };
          out.location = s.location;
        } else if (f.type === "check") {
          if (typeof s[f.key] !== "boolean") return { ok: false, error: "choice " + (j + 1) + " has an invalid setting." };
          out[f.key] = s[f.key];
        } else {
          if (!validNum(s[f.key], f.max)) return { ok: false, error: "\"" + f.label + "\" in choice " + (j + 1) + " has an invalid value." };
          out[f.key] = s[f.key];
        }
      }
      scenarios.push(out);
    }
    return { ok: true, state: { life: life, scenarios: scenarios } };
  }

  // Keyboard shortcuts: Ctrl+S / Cmd+S saves, Ctrl+O / Cmd+O opens a saved plan
  document.addEventListener("keydown", function (e) {
    if (!(e.ctrlKey || e.metaKey) || e.altKey || e.shiftKey) return;
    var k = (e.key || "").toLowerCase();
    if (k === "s") { e.preventDefault(); $("btn-save").click(); }
    else if (k === "o") { e.preventDefault(); $("btn-open").click(); }
  });

  window.addEventListener("beforeunload", function (e) {
    if (!dirty) return;
    e.preventDefault(); e.returnValue = ""; return "";
  });


  // ---------- First paint ----------
  $("legend").innerHTML = GROUPS.map(function (g) { return '<span><span class="dot" style="background:' + g[2] + '"></span>' + esc(g[1]) + "</span>"; }).join("");
  renderAll();

  // The hero bar and Ty's story are worked out from the example itself, so they can never drift from the math
  (function () {
    var ex = exampleState(), a = ex.scenarios[0], b = ex.scenarios[1];
    var ra = calc(a, ex.life), rb = calc(b, ex.life), gap = rb.leftover - ra.leftover;
    $("hero-bar").innerHTML = barHTML(rb);
    $("hero-bar").setAttribute("aria-label", "A bar showing where an example " + fmt(b.salary) + " salary goes. " + barLabel(rb).replace("Where this salary goes each month. ", "Each month: "));
    $("hero-cap").innerHTML = "<span>Where an example " + fmt(b.salary) + " Louisville salary goes: taxes, benefits, rent, bills.</span><span><b>" + fmt(rb.leftover) + " a month</b> is what's left.</span>";
    $("ky-example").innerHTML = "<b>Meet Ty,</b> who is weighing two real jobs: " + fmt(a.salary) + " in Lexington (" + fmt(a.rent) + " rent) and " + fmt(b.salary) + " in Louisville (" + fmt(b.rent) + " rent). " +
      "Louisville pays " + fmt(b.salary - a.salary) + " more but leaves Ty " + (gap < 0 ? "about " + fmt(-gap) + " a month less" : "only about " + fmt(gap) + " a month more") + ", mostly because rent is " + fmt(b.rent - a.rent) + " a month higher. Ty shared these real numbers, with permission.";
  })();
  $("hero-example").addEventListener("click", function () { loadExample(toOffers); });
  $("hero-own").addEventListener("click", function () { loadBlank(function () { toOffers(); focusField("s0-salary", true); }); });

  // ---------- Welcome popup ----------
  (function () { var w = document.querySelector(".w-logo"), h = document.querySelector(".hero-logo"); if (w && h) w.src = h.src; })();
  var HIDE_KEY = "bluegrass-checkup-hide-welcome";
  var dlg = $("welcome");
  function openWelcome() {
    if (!dlg || typeof dlg.showModal !== "function") return;
    try { $("w-hide").checked = localStorage.getItem(HIDE_KEY) === "1"; } catch (err) { /* storage may be blocked */ }
    if (!dlg.open) dlg.showModal();
    $("w-example").focus({ preventScroll: true });
    dlg.scrollTop = 0;
  }
  function closeWelcome() { if (dlg.open) dlg.close(); }
  dlg.addEventListener("close", function () {
    try { localStorage.setItem(HIDE_KEY, $("w-hide").checked ? "1" : "0"); } catch (err) { /* storage may be blocked */ }
  });
  dlg.addEventListener("click", function (e) { if (e.target === dlg) closeWelcome(); });
  $("w-close").addEventListener("click", closeWelcome);
  $("btn-welcome").addEventListener("click", openWelcome);
  $("w-example").addEventListener("click", function () { closeWelcome(); loadExample(); });
  $("w-own").addEventListener("click", function () { closeWelcome(); loadBlank(function () { toOffers(); focusField("s0-salary", true); }); });
  var hidden = false;
  try { hidden = localStorage.getItem(HIDE_KEY) === "1"; } catch (err) { /* storage may be blocked */ }
  // Play the opening moment once the page is in view (after the welcome popup closes, if it opened)
  var heroPlayed = false;
  function playHero() {
    if (heroPlayed || dlg.open || $("start").hidden) return; // wait until Start is actually in view
    heroPlayed = true;
    var hero = $("start");
    requestAnimationFrame(function () { hero.classList.add("played"); });
    hero.querySelector(".line2").addEventListener("animationend", function () { hero.classList.add("settled"); });
    setTimeout(function () { hero.classList.add("settled"); }, 3000); // in case the animation never runs
  }
  dlg.addEventListener("close", playHero);
  // Open the popup before showing the first step, so the opening animation waits until it closes
  if (!hidden) openWelcome();
  goStep((location.hash || "#start").slice(1));
  setDirty(false);

  window.BluegrassCheckup = { calc: calc, federalTax: federalTax, TAX: TAX };
})();
</script>
</body>
</html>

Reaches out to

Websites this page contacts when it runs — fonts, chart libraries, data. Found by reading its source.

  • uiclaimsportal.ky.gov
  • kynect.ky.gov
  • studentaid.gov

Licence

Published on Globefin under the MIT License. You may copy, change, and reuse this page, including commercially — just keep the notice below with it.

Copyright © 2026 Bryce Trosper. Licensed under the MIT License. Published on Globefin.

Provided as is, without warranty. Any external libraries it loads keep their own licences. Terms →

Sandbox

Scripts run, but the demo has its own throwaway origin. It can't read your session or cookies, can't reach the page around it, and can't navigate your tab. Don't enter real passwords or personal data into any demo.