:root { color-scheme: light; }
  * { box-sizing: border-box; }
  body {
    margin: 0; background: #eef1f5; color: #151a23;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px; line-height: 1.55;
  }
  main { max-width: 34rem; margin: 3rem auto; padding: 0 1.25rem; }
  main.wide { max-width: 48rem; }
  .card { background: #fff; border: 1px solid #d2d9e3; border-radius: 10px; padding: 1.75rem; }
  .card + .card { margin-top: 1rem; }
  h1 { font-size: 1.6rem; margin: 0 0 .35rem; letter-spacing: -.01em; }
  h2 { font-size: 1.05rem; margin: 0 0 .5rem; }
  .lede { color: #5b6577; margin: 0 0 1.5rem; }
  label { display: block; font-weight: 600; font-size: .9rem; margin: 1rem 0 .35rem; }
  .hint { font-weight: 400; color: #626d80; font-size: .82rem; }
  input[type=text], input[type=email], input[type=number], textarea {
    width: 100%; padding: .6rem .7rem; border: 1px solid #c3ccd8; border-radius: 7px;
    font: inherit; background: #fff; color: inherit;
  }
  textarea { min-height: 5.5rem; resize: vertical; }
  input:focus-visible, textarea:focus-visible { outline: 2px solid #1f4fd8; outline-offset: 1px; }
  .plans { display: grid; gap: .6rem; margin-top: .35rem; }
  .plan {
    display: flex; gap: .75rem; align-items: flex-start; padding: .8rem .9rem;
    border: 1px solid #c3ccd8; border-radius: 8px; cursor: pointer; font-weight: 400;
  }
  .plan:has(input:checked) { border-color: #1f4fd8; background: #f3f6fd; }
  .plan strong { display: block; }
  .total {
    margin: 1.4rem 0 0; padding: 1rem; background: #f6f8fb; border-radius: 8px;
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  }
  .total b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
  .saving { color: #0f6b4c; font-size: .85rem; margin-top: .5rem; }
  button, .button {
    display: block; width: 100%; margin-top: 1.25rem; padding: .8rem; border: 0; border-radius: 8px;
    background: #151a23; color: #fff; font: inherit; font-weight: 600; cursor: pointer;
    text-align: center; text-decoration: none;
  }
  button:focus-visible, .button:focus-visible { outline: 3px solid #1f4fd8; outline-offset: 2px; }
  button:disabled { opacity: .55; cursor: default; }
  button.secondary, .button.secondary { background: #fff; color: #151a23; border: 1px solid #c3ccd8; }
  button.inline, .button.inline { display: inline-block; width: auto; margin-top: 0; padding: .55rem 1rem; }
  button.link {
    display: inline; width: auto; margin: 0; padding: 0; background: none; color: #1f4fd8;
    font-weight: 500; text-decoration: underline; text-underline-offset: 2px;
  }
  button.link.danger { color: #a3261f; }
  .google { display: flex; align-items: center; justify-content: center; gap: .6rem; }
  .divider { text-align: center; color: #7d8697; font-size: .85rem; margin: 1.1rem 0 0; }
  .error { background: #fbeaea; color: #8a1c1c; padding: .75rem .9rem; border-radius: 8px; margin-bottom: 1rem; }
  .notice { background: #f6f8fb; padding: .75rem .9rem; border-radius: 8px; margin-top: 1rem; }
  .notice.good { background: #e6f4ee; color: #0d5a40; }
  .notice.warn { background: #fff3dc; color: #6e4700; }
  .row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
  .row input[type=number] { width: 7rem; }
  .spread { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
  .table-wrap { overflow-x: auto; margin: 0 -.25rem; }
  table { width: 100%; border-collapse: collapse; font-size: .92rem; }
  th, td { text-align: left; padding: .65rem .25rem; border-bottom: 1px solid #e3e8ef; vertical-align: top; }
  th { font-size: .78rem; color: #626d80; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
  td.actions { text-align: right; white-space: nowrap; }
  td.actions button + button { margin-left: .9rem; }
  .pill {
    display: inline-block; font-size: .75rem; padding: .05rem .5rem; border-radius: 999px;
    background: #eef1f5; color: #3b4557; margin-left: .35rem; vertical-align: 1px;
  }
  .pill.good { background: #e3f4ec; color: #0f6b4c; }
  .muted { color: #626d80; }
  blockquote {
    margin: .5rem 0 0; padding: .75rem .9rem; background: #f6f8fb; border-left: 3px solid #c3ccd8;
    border-radius: 0 8px 8px 0;
  }
  ol { padding-left: 1.2rem; } li { margin: .35rem 0; }
  .small { color: #626d80; font-size: .85rem; }
  /* The bar at the top of every page the server writes. */
  .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
  .brand { font-weight: 600; text-decoration: none; color: #151a23; letter-spacing: -.01em; }
  .top-links { display: flex; align-items: center; gap: 1rem; font-size: .9rem; }
  .top-links a { color: #1f4fd8; text-decoration: none; }
  .top-links a { white-space: nowrap; }
  .top-links a.button { color: #fff; text-decoration: none; }
  /* A bullet with a heading and an explanation under it. */
  ul.plain .hint { display: block; margin-top: .15rem; }
  ul.plain li > span { display: block; }
  /* The dashboard: two big numbers, then charts. */
  .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .75rem; }
  .stat { background: #f6f8fb; border-radius: 8px; padding: 1rem; }
  .stat-label { margin: 0; font-size: .82rem; color: #626d80; }
  .stat-big { margin: .2rem 0 .35rem; font-size: 2.1rem; font-weight: 600; letter-spacing: -.02em; }
  .split { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 1.25rem; align-items: center; }
  /* Anything that needs the coaching plan, shown as a preview rather than hidden. */
  .locked { border: 1px dashed #c3ccd8; border-radius: 10px; padding: .75rem; background: #fbfcfe; }
  .locked .stat { background: transparent; padding: 0; }
  .locked .stat-big, .locked .row span { color: #8b94a4; }
  .locked-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: .6rem; }
  .locked-foot .button { margin-top: 0; }
  h3 { font-size: .95rem; margin: 0 0 .35rem; }
  /* A firm's list of terms: one per line, each with its own way out. */
  ul.plain { list-style: none; padding: 0; margin: 0; }
  ul.plain li {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: .45rem .1rem; border-bottom: 1px solid #e3e8ef; margin: 0;
  }
  ul.plain li:last-child { border-bottom: 0; }
  /* A checkbox with its label beside it, for the firm's policy. */
  label.check { display: flex; align-items: center; gap: .6rem; font-weight: 400; margin: 0; }
  label.check input { width: 1rem; height: 1rem; }
  .row input[type=text] { flex: 1; min-width: 12rem; width: auto; }
  .footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
  .notice.error { margin-bottom: 0; }
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
