#budget-check-page {
  --ink: var(--public-ink);
  --muted: var(--public-muted);
  --lime: var(--public-primary);
  --deep: #4d7c0f;
  --line: var(--public-line);
  --paper: var(--public-background);
  --red: #ab302c;
  --fixed: #325d53;
  --flexible: #98ba52;
  --goals: #a0a5cd;
  --open: #e3e7e1;
}
#budget-check-page * {
  box-sizing: border-box;
}
#budget-check-page {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    500 16px/1.55 Quicksand,
    system-ui,
    sans-serif;
}
#budget-check-page button,
#budget-check-page input,
#budget-check-page select {
  font: inherit;
}
#budget-check-page button,
#budget-check-page a,
#budget-check-page input,
#budget-check-page select {
  -webkit-tap-highlight-color: transparent;
}
#budget-check-page button,
#budget-check-page a {
  touch-action: manipulation;
}
#budget-check-page a {
  color: var(--deep);
}
#budget-check-page button {
  cursor: pointer;
}
#budget-check-page button:disabled {
  cursor: wait;
  opacity: 0.55;
}
#budget-check-page button:focus-visible,
#budget-check-page a:focus-visible,
#budget-check-page input:focus,
#budget-check-page select:focus,
#budget-check-page summary:focus-visible {
  outline: 3px solid #8dbb43;
  outline-offset: 3px;
}
#budget-check-page [hidden] {
  display: none !important;
}
#budget-check-page h1,
#budget-check-page h2,
#budget-check-page h3,
#budget-check-page p {
  margin: 0;
}
#budget-check-page h1,
#budget-check-page h2,
#budget-check-page h3 {
  font-weight: 700;
}
#budget-check-page h1 {
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 850px;
}
#budget-check-page h2 {
  font-size: 1.4rem;
  line-height: 1.3;
}
#budget-check-page h3 {
  font-size: 1.1rem;
}
#budget-check-page input,
#budget-check-page select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid #bbc9bd;
  border-radius: 11px;
  padding: 11px 13px;
  color: var(--ink);
  background: white;
  font-size: 17px;
}
#budget-check-page input[aria-invalid="true"] {
  border-color: var(--red);
}
#budget-check-page input:focus,
#budget-check-page select:focus {
  outline-offset: 0;
}
#budget-check-page input[type="number"] {
  appearance: textfield;
}
#budget-check-page button {
  border: 0;
}
#budget-check-page hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0;
}
#budget-check-page label {
  font-weight: 700;
}
#budget-check-page .bc-shell {
  max-width: 1280px;
  margin: auto;
  padding: 28px 24px 50px;
}
#budget-check-page .bc-progress {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0 0 34px;
}
#budget-check-page .bc-progress li {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  border-top: 3px solid #dce4d7;
  padding-top: 9px;
}
#budget-check-page .bc-progress li[aria-current] {
  border-color: var(--deep);
  color: var(--ink);
  font-weight: 700;
}
#budget-check-page .bc-progress li.is-done {
  border-color: #94bd64;
}
#budget-check-page .bc-intro {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 32px 0 54px;
}
#budget-check-page .bc-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 14px;
}
#budget-check-page .bc-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 18px;
  max-width: 760px;
}
#budget-check-page .bc-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 26px 0;
  font-size: 13px;
  font-weight: 700;
}
#budget-check-page .bc-button {
  min-height: 51px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px;
  background: var(--lime);
  color: #1f3416;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
  text-align: center;
}
#budget-check-page .bc-button:hover {
  background: var(--public-primary-hover);
}
#budget-check-page .bc-secondary {
  border: 1px solid #bdcbbd;
  background: white;
  color: var(--ink);
}
#budget-check-page .bc-text-button {
  background: transparent;
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  padding: 8px 0;
  text-align: left;
  font-weight: 700;
}
#budget-check-page .bc-small,
#budget-check-page .bc-help {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
#budget-check-page .bc-small {
  margin-top: 16px;
  max-width: 410px;
}
#budget-check-page .bc-intro-aside {
  border-radius: 30px;
  padding: 40px;
  background: #f7fee7;
}
#budget-check-page .bc-intro-aside p {
  margin-top: 14px;
  color: #4a6150;
}
#budget-check-page .bc-plan-illustration {
  position: relative;
  max-width: 220px;
  margin: 0 auto 34px;
  padding: 25px;
  background: white;
  border-radius: 18px;
  transform: rotate(-5deg);
  box-shadow: 0 12px 28px #2b47221c;
}
#budget-check-page .bc-plan-illustration span {
  font-size: 26px;
  font-weight: 700;
}
#budget-check-page .bc-plan-illustration i {
  display: block;
  height: 15px;
  margin-top: 14px;
  border-radius: 5px;
  background: #d5e2c3;
}
#budget-check-page .bc-plan-illustration i:nth-of-type(2) {
  width: 80%;
  background: #a0a5cd;
}
#budget-check-page .bc-plan-illustration i:nth-of-type(3) {
  width: 60%;
  background: #325d53;
}
#budget-check-page .bc-plan-illustration b {
  position: absolute;
  bottom: -10px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 24px;
}
#budget-check-page .bc-section-heading {
  margin-bottom: 28px;
}
#budget-check-page .bc-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  background: white;
}
#budget-check-page .bc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
#budget-check-page .bc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
#budget-check-page .bc-full {
  grid-column: 1/-1;
}
#budget-check-page .bc-money {
  position: relative;
  min-width: 0;
}
#budget-check-page .bc-money input {
  padding-right: 38px;
}
#budget-check-page .bc-money > span {
  position: absolute;
  right: 14px;
  top: 12px;
  color: var(--muted);
  pointer-events: none;
}
#budget-check-page .bc-error {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
}
#budget-check-page .bc-error:empty {
  display: none;
}
#budget-check-page .bc-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}
#budget-check-page .bc-vehicle {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
#budget-check-page .bc-vehicle-remove {
  background: var(--paper);
  padding: 10px;
  border-radius: 8px;
  min-height: 48px;
  font-size: 13px;
}
#budget-check-page .bc-balance {
  position: sticky;
  top: 8px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #111827;
  color: white;
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 26px;
  box-shadow: 0 8px 24px #1118271c;
}
#budget-check-page .bc-balance > div {
  flex-shrink: 0;
}
#budget-check-page .bc-balance span {
  display: block;
  font-size: 12px;
}
#budget-check-page .bc-balance strong {
  display: block;
  font-size: 30px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
#budget-check-page .bc-balance p {
  max-width: 450px;
  font-size: 13px;
}
#budget-check-page .bc-balance.is-over {
  background: #773632;
}
#budget-check-page .bc-note {
  padding: 16px 20px;
  border: 1px solid #d5dfcb;
  border-radius: 14px;
  background: #ecf1e5;
  margin: 0 0 24px;
}
#budget-check-page .bc-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}
#budget-check-page .bc-groups {
  display: grid;
  gap: 24px;
}
#budget-check-page .bc-group-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
#budget-check-page .bc-group-title strong {
  font-size: 15px;
  white-space: nowrap;
}
#budget-check-page .bc-group-help {
  margin: 0 0 15px;
  font-size: 13px;
  color: var(--muted);
}
#budget-check-page .bc-category {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
#budget-check-page .bc-category-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
#budget-check-page .bc-category-top > div:first-child {
  min-width: 0;
  flex: 1;
}
#budget-check-page .bc-category label {
  display: block;
  font-size: 15px;
}
#budget-check-page .bc-category .bc-money {
  width: 135px;
  flex-shrink: 0;
}
#budget-check-page .bc-category-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
}
#budget-check-page .bc-category-status button {
  font-size: 11px;
  min-height: 32px;
  padding: 3px 0;
}
#budget-check-page .bc-category .bc-help {
  margin-top: 7px;
  font-size: 12px;
}
#budget-check-page .bc-overview {
  position: sticky;
  top: 145px;
}
#budget-check-page .bc-overview h2 {
  font-size: 18px;
  margin-bottom: 16px;
}
#budget-check-page .bc-bar {
  height: 18px;
  display: flex;
  width: 100%;
  overflow: hidden;
  border-radius: 9px;
  background: var(--open);
}
#budget-check-page .bc-bar span {
  height: 100%;
  min-width: 0;
}
#budget-check-page .bc-legend {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 11px;
}
#budget-check-page .bc-legend li {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
#budget-check-page .bc-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
#budget-check-page .bc-decision {
  font-size: 13px;
  margin: 20px 0 10px;
  color: var(--muted);
}
#budget-check-page .bc-result-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
#budget-check-page .bc-result-stats span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
#budget-check-page .bc-result-stats strong {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
#budget-check-page .bc-result-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
#budget-check-page .bc-result-groups h2 {
  font-size: 18px;
}
#budget-check-page .bc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  font-size: 13px;
  margin-top: 15px;
}
#budget-check-page .bc-result-row > span,
#budget-check-page .bc-result-stats span {
  min-width: 0;
  overflow-wrap: anywhere;
}
#budget-check-page .bc-result-row strong {
  white-space: nowrap;
}
#budget-check-page .bc-bridge {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  margin: 50px 0;
  padding: 34px;
  border-radius: 24px;
  background: #f7fee7;
}
#budget-check-page .bc-bridge h2 {
  font-size: clamp(24px, 3vw, 32px);
}
#budget-check-page .bc-bridge p {
  margin-top: 15px;
}
#budget-check-page .bc-promise {
  font-weight: 700;
}
#budget-check-page .bc-demo {
  background: white;
  border-radius: 16px;
  padding: 26px;
}
#budget-check-page .bc-demo-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 18px !important;
  color: var(--muted);
}
#budget-check-page .bc-demo dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0;
  font-size: 14px;
}
#budget-check-page .bc-demo dd {
  font-weight: 700;
  white-space: nowrap;
}
#budget-check-page .bc-demo-bar {
  height: 9px;
  border-radius: 5px;
  background: #e5e9e1;
  overflow: hidden;
  margin-top: 20px;
}
#budget-check-page .bc-demo-bar span {
  display: block;
  height: 100%;
  width: 62.5%;
  background: var(--fixed);
}
#budget-check-page .bc-conversion {
  text-align: center;
  padding: 15px 0 30px;
}
#budget-check-page .bc-conversion h2 {
  max-width: 650px;
  margin: 0 auto 24px;
}
#budget-check-page .bc-conversion p {
  margin: 16px auto 0;
  max-width: 600px;
}
#budget-check-page .bc-conversion button {
  display: block;
  margin: 10px auto;
}
#budget-check-page .bc-sources {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
#budget-check-page .bc-sources summary {
  cursor: pointer;
  font-weight: 700;
}
#budget-check-page .bc-sources p {
  margin: 15px 0;
}
#budget-check-page .bc-view {
  scroll-margin-top: 20px;
}
#budget-check-page h1:focus {
  outline: none;
}
@media (max-width: 800px) {
  #budget-check-page .bc-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  #budget-check-page .bc-intro-aside {
    display: none;
  }
  #budget-check-page .bc-workspace {
    grid-template-columns: 1fr;
  }
  #budget-check-page .bc-overview {
    position: static;
  }
  #budget-check-page .bc-result-groups {
    grid-template-columns: 1fr;
  }
  #budget-check-page .bc-bridge {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 25px;
  }
  #budget-check-page .bc-balance {
    align-items: start;
  }
  #budget-check-page .bc-balance p {
    max-width: 55%;
  }
}
@media (max-width: 520px) {
  #budget-check-page .bc-shell {
    padding: 20px 16px 35px;
  }
  #budget-check-page .bc-progress {
    gap: 8px;
    margin-bottom: 27px;
  }
  #budget-check-page .bc-progress li {
    font-size: 10px;
  }
  #budget-check-page .bc-intro {
    padding: 15px 0 24px;
  }
  #budget-check-page .bc-lead {
    font-size: 16px;
  }
  #budget-check-page .bc-card {
    padding: 20px 16px;
  }
  #budget-check-page .bc-fields {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  #budget-check-page .bc-vehicle {
    grid-template-columns: 1fr;
  }
  #budget-check-page .bc-vehicle-remove {
    justify-self: start;
  }
  #budget-check-page .bc-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  #budget-check-page .bc-button {
    width: 100%;
    padding: 14px 16px;
  }
  #budget-check-page .bc-balance {
    top: 5px;
    gap: 8px;
    padding: 13px 15px;
    flex-wrap: wrap;
  }
  #budget-check-page .bc-balance strong {
    font-size: 25px;
  }
  #budget-check-page .bc-balance p {
    font-size: 11px;
    max-width: 52%;
  }
  #budget-check-page .bc-balance #bc-updating {
    width: 100%;
    font-size: 10px;
  }
  #budget-check-page .bc-category .bc-money {
    width: 116px;
  }
  #budget-check-page .bc-category label {
    font-size: 14px;
  }
  #budget-check-page .bc-category-top {
    gap: 10px;
  }
  #budget-check-page .bc-group-title h2 {
    font-size: 20px;
  }
  #budget-check-page .bc-group-title strong {
    font-size: 13px;
  }
  #budget-check-page .bc-result-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #budget-check-page .bc-result-stats article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
  }
  #budget-check-page .bc-result-stats strong {
    font-size: 23px;
    margin: 0;
    white-space: nowrap;
  }
  #budget-check-page .bc-result-stats span {
    max-width: 50%;
    font-size: 12px;
  }
  #budget-check-page .bc-bridge {
    padding: 22px 17px;
  }
  #budget-check-page .bc-trust {
    font-size: 12px;
    gap: 8px 12px;
  }
}
#budget-check-page .bc-intro-explanation {
  display: none;
}
#budget-check-page .bc-category input {
  scroll-margin-top: 160px;
  scroll-margin-bottom: 100px;
}
@media (max-width: 800px) {
  #budget-check-page .bc-intro-explanation {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
  }
}
#budget-check-page .bc-balance {
  top: calc(var(--public-header-height) + 8px);
}
#budget-check-page .bc-overview {
  top: calc(var(--public-header-height) + 145px);
}
#budget-check-page .bc-category input {
  scroll-margin-top: calc(var(--public-header-height) + 180px);
}
@media (prefers-reduced-motion: reduce) {
  #budget-check-page * {
    scroll-behavior: auto !important;
  }
}
