body.running-balance-page article.post.featured {
  max-width: none;
}

.rb-hero {
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.44fr);
  align-items: center;
}

.rb-heroVisual {
  margin: 0;
}

.rb-heroVisual img {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

.rb-badgeRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
}

.rb-badgeRow span,
.rb-comparisonLabel {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(24, 33, 43, 0.74);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
  padding: 0.42rem 0.68rem;
}

.rb-clarityBox {
  display: grid;
  gap: 0.25rem;
  max-width: 64ch;
  margin: 1.15rem 0 0;
  border: 1px solid rgba(175, 230, 126, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(175, 230, 126, 0.22), rgba(228, 228, 184, 0.22)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  color: rgba(24, 33, 43, 0.82);
  padding: 1rem;
}

.rb-clarityBox strong {
  color: #18212b;
  font-size: 0.96rem;
}

.rb-calculator {
  scroll-margin-top: 1rem;
}

.rb-calculatorShell {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(175, 230, 126, 0.2), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(228, 228, 184, 0.22), transparent 28rem),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
  padding: clamp(1rem, 2.5vw, 1.8rem);
}

.rb-panelHeader--split,
.rb-copyHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.rb-calculatorHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.58fr) minmax(11rem, 0.34fr);
  align-items: start;
  gap: 1rem;
}

.rb-calculatorHeader h2,
.rb-panelHeader h3,
.rb-copyPanel h3 {
  margin-bottom: 0.45rem !important;
}

.rb-calculatorHeader p,
.rb-panelHeader p,
.rb-copyPanel p {
  margin: 0;
  max-width: 70ch;
}

.rb-exampleResultCard {
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(175, 230, 126, 0.34);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(175, 230, 126, 0.2), rgba(228, 228, 184, 0.18)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
  padding: 0.95rem;
}

.rb-exampleResultCard h3 {
  margin: 0 !important;
  color: #18212b;
  font-size: 1.32rem;
  line-height: 1.15;
}

.rb-exampleResultCard p {
  color: rgba(24, 33, 43, 0.72);
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}

.rb-exampleLabel {
  color: rgba(24, 33, 43, 0.6) !important;
  font-size: 0.76rem !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.rb-actionCluster,
.rb-copyActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.rb-panel {
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.82);
  padding: clamp(1rem, 2vw, 1.25rem);
}

.rb-setupGrid {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) repeat(2, minmax(10rem, 1fr));
  gap: 0.9rem;
}

.rb-field label,
.rb-startingBalance legend,
.rb-transactionField label,
.rb-splitLegend {
  display: block;
  margin: 0 0 0.34rem;
  color: rgba(24, 33, 43, 0.78);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.rb-input,
.rb-select {
  width: 100%;
  height: 2.85rem;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #18212b !important;
  font-size: 1rem;
  line-height: 1.2;
  box-shadow: none !important;
}

.rb-input {
  padding: 0 0.85rem !important;
}

.rb-select {
  padding: 0 2rem 0 0.85rem;
}

.rb-input:focus,
.rb-select:focus,
.rb-radioCard input:focus-visible + span,
.rb-secondaryButton:focus-visible,
.rb-smallButton:focus-visible,
.rb-primaryButton:focus-visible,
.rb-removeButton:focus-visible {
  outline: 3px solid rgba(53, 84, 40, 0.28) !important;
  outline-offset: 2px;
}

.rb-fieldHint,
.rb-validation,
.rb-rowValidation {
  margin: 0.45rem 0 0;
  color: rgba(24, 33, 43, 0.64);
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
}

.rb-validation,
.rb-rowValidation,
.rb-shareWarning {
  color: #725c16;
}

.rb-startingBalance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.rb-startingBalance legend {
  width: 100%;
}

.rb-startingHelp {
  width: 100%;
  max-width: 72ch;
  margin: 0 0 0.15rem;
}

.rb-radioCard {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.rb-radioCard input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rb-radioCard span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(24, 33, 43, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.52rem 0.78rem;
}

.rb-radioCard input:checked + span {
  border-color: rgba(107, 161, 69, 0.28);
  background: rgba(175, 230, 126, 0.26);
  color: #18212b;
}

.rb-startingAmount {
  max-width: 18rem;
  margin-top: 0.85rem;
}

.rb-transactionList {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.95rem;
}

.rb-typeGuide {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  padding: 0.95rem;
}

.rb-typeGuideIntro h4,
.rb-copyExample h4 {
  margin: 0 0 0.35rem !important;
  color: #18212b;
  font-size: 1rem;
  line-height: 1.25;
}

.rb-typeGuideIntro p {
  margin: 0;
  max-width: 78ch;
  color: rgba(24, 33, 43, 0.72);
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

.rb-typeGuideGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.rb-typeGuideGrid article {
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.78);
  padding: 0.8rem;
}

.rb-typeGuideGrid h5 {
  margin: 0 0 0.3rem !important;
  color: #18212b;
  font-size: 0.92rem;
  line-height: 1.25;
}

.rb-typeGuideGrid p {
  margin: 0;
  color: rgba(24, 33, 43, 0.68);
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

.rb-transactionCard {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  padding: 1rem;
}

.rb-transactionTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.rb-transactionTitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.rb-transactionTitle h4 {
  margin: 0 !important;
  color: #18212b;
  font-size: 1rem;
  line-height: 1.2;
}

.rb-typePill {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.055);
  color: rgba(24, 33, 43, 0.66);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
  padding: 0.34rem 0.58rem;
}

.rb-transactionFields {
  display: grid;
  grid-template-columns: minmax(9rem, 0.82fr) minmax(8.5rem, 0.62fr) minmax(8.5rem, 0.62fr) minmax(7rem, 0.48fr) minmax(12rem, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.rb-splitFields {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 0.85rem;
}

.rb-shareGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem, 12rem));
  gap: 0.8rem;
}

.rb-shareWarning {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

.rb-rowValidation {
  min-height: 1.2rem;
}

.rb-secondaryButton,
.rb-smallButton,
.rb-primaryButton,
.rb-removeButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #18212b;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
}

.rb-secondaryButton,
.rb-smallButton {
  background: rgba(255, 255, 255, 0.88);
  padding: 0.55rem 0.82rem;
}

.rb-primaryButton {
  border-color: rgba(53, 84, 40, 0.18);
  background: #afe67e;
  padding: 0.62rem 1rem;
}

.rb-removeButton {
  background: rgba(255, 255, 255, 0.78);
  padding: 0.52rem 0.78rem;
}

.rb-secondaryButton:hover,
.rb-smallButton:hover,
.rb-removeButton:hover {
  background: rgba(175, 230, 126, 0.2);
}

.rb-primaryButton:hover {
  background: #9bdc68;
}

.rb-resultCard {
  border: 1px solid rgba(53, 84, 40, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(175, 230, 126, 0.28), rgba(228, 228, 184, 0.2)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: clamp(1.1rem, 2.5vw, 1.45rem);
}

.rb-resultEyebrow {
  margin: 0 0 0.45rem;
  color: rgba(24, 33, 43, 0.62);
  font-size: 0.8rem !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rb-resultText {
  margin: 0;
  color: #18212b;
  font-size: clamp(1.75rem, 3.5vw, 3.15rem) !important;
  font-weight: 850;
  line-height: 1.05 !important;
  letter-spacing: 0;
}

.rb-resultSupport {
  max-width: 58ch;
  margin: 0.75rem 0 0;
  color: rgba(24, 33, 43, 0.72);
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

.rb-summaryGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.rb-summaryCard {
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.9rem;
}

.rb-summaryCard span {
  display: block;
  color: rgba(24, 33, 43, 0.62);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.25;
}

.rb-summaryCard strong {
  display: block;
  margin-top: 0.3rem;
  color: #18212b;
  font-size: 1.08rem;
  line-height: 1.2;
}

.rb-timelineTable {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.rb-timelineHeader,
.rb-timelineRow {
  display: grid;
  grid-template-columns: minmax(6rem, 0.18fr) minmax(0, 1fr) minmax(11rem, 0.32fr) minmax(11rem, 0.32fr);
  gap: 0.75rem;
  align-items: start;
}

.rb-timelineHeader {
  color: rgba(24, 33, 43, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0 0.75rem;
}

.rb-timelineRows {
  display: grid;
  gap: 0.55rem;
}

.rb-timelineRow {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: rgba(33, 41, 49, 0.9);
  font-size: 0.94rem;
  line-height: 1.45;
  padding: 0.75rem;
}

.rb-timelineRow strong {
  color: #18212b;
}

.rb-changePositive,
.rb-changeNegative,
.rb-changeNeutral {
  font-weight: 760;
}

.rb-changePositive {
  color: #355428;
}

.rb-changeNegative {
  color: #5c4a18;
}

.rb-changeNeutral {
  color: rgba(24, 33, 43, 0.68);
}

.rb-emptyTimeline {
  margin: 0;
  border: 1px dashed rgba(15, 23, 42, 0.16);
  border-radius: 16px;
  color: rgba(24, 33, 43, 0.64);
  padding: 1rem;
}

.rb-copyPanel {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.rb-copyStatus {
  min-width: 8rem;
  color: #355428;
  font-size: 0.9rem;
  font-weight: 750;
}

.rb-copyExample {
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(175, 230, 126, 0.13), rgba(228, 228, 184, 0.12)),
    rgba(255, 255, 255, 0.74);
  color: rgba(24, 33, 43, 0.76);
  padding: 0.95rem;
}

.rb-copyExample p,
.rb-copyExample li {
  color: rgba(24, 33, 43, 0.76);
  font-size: 0.93rem !important;
  line-height: 1.5 !important;
}

.rb-copyExample ul {
  margin: 0.5rem 0 0.6rem 1.05rem;
}

.rb-copyExample p + p {
  margin-top: 0.65rem;
}

.rb-contentSection p {
  max-width: 76ch;
}

.rb-comparisonGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.2rem;
}

.rb-comparisonCard {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  padding: 1.05rem;
}

.rb-comparisonCard--highlight {
  border-color: rgba(175, 230, 126, 0.34);
  background:
    linear-gradient(135deg, rgba(175, 230, 126, 0.18), rgba(228, 228, 184, 0.18)),
    rgba(255, 255, 255, 0.9);
}

.rb-comparisonCard h3 {
  margin: 0.65rem 0 0.65rem !important;
}

.rb-comparisonCard ul {
  margin-bottom: 0;
}

.rb-exampleTableWrap {
  margin: 1rem 0;
  overflow-x: auto;
}

.rb-exampleTable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
}

.rb-exampleTable th,
.rb-exampleTable td {
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(33, 41, 49, 0.88);
  font-size: 0.96rem;
  line-height: 1.45;
  text-align: left;
}

.rb-exampleTable th {
  color: #18212b;
  font-weight: 780;
}

.rb-exampleTable tr:last-child td {
  border-bottom: 0;
}

.rb-exampleCta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  border: 1px solid rgba(175, 230, 126, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 0.95rem;
}

.rb-exampleCta p {
  flex: 1 1 18rem;
  margin: 0;
  color: rgba(24, 33, 43, 0.74);
  font-size: 0.96rem !important;
  line-height: 1.45 !important;
}

.rb-trustLine {
  color: rgba(24, 33, 43, 0.68);
  font-size: 0.94rem !important;
  line-height: 1.5 !important;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-list details {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  padding: 1rem 1.1rem;
}

.faq-list summary {
  color: #18212b;
  font-weight: 760;
  cursor: pointer;
}

.faq-list p {
  margin: 0.75rem 0 0;
}

@media (max-width: 1100px) {
  .rb-transactionFields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .rb-hero,
  .rb-setupGrid,
  .rb-comparisonGrid {
    grid-template-columns: 1fr;
  }

  .rb-calculatorHeader,
  .rb-typeGuideGrid {
    grid-template-columns: 1fr;
  }

  .rb-heroVisual img {
    width: min(100%, 22rem);
  }

  .rb-panelHeader--split,
  .rb-copyHeader {
    flex-direction: column;
  }

  .rb-actionCluster,
  .rb-copyActions {
    justify-content: flex-start;
  }

  .rb-summaryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rb-timelineHeader {
    display: none;
  }

  .rb-timelineRow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.52rem;
  }

  .rb-timelineCell {
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.3fr) minmax(0, 1fr);
    gap: 0.75rem;
  }

  .rb-timelineCell::before {
    content: attr(data-label);
    color: rgba(24, 33, 43, 0.58);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 736px) {
  .rb-heroVisual {
    display: none;
  }

  .rb-calculatorShell,
  .rb-panel,
  .rb-transactionCard,
  .rb-resultCard,
  .rb-comparisonCard,
  .faq-list details {
    border-radius: 18px;
  }

  .rb-actionCluster,
  .rb-copyActions,
  .rb-startingBalance {
    align-items: stretch;
    flex-direction: column;
  }

  .rb-secondaryButton,
  .rb-smallButton,
  .rb-primaryButton,
  .rb-removeButton,
  .rb-radioCard,
  .rb-radioCard span {
    width: 100%;
  }

  .rb-transactionTop {
    align-items: stretch;
    flex-direction: column;
  }

  .rb-transactionFields,
  .rb-shareGrid,
  .rb-summaryGrid {
    grid-template-columns: 1fr;
  }

  .rb-input,
  .rb-select {
    height: 3rem;
    font-size: 1.02rem;
  }

  .rb-secondaryButton,
  .rb-smallButton,
  .rb-primaryButton,
  .rb-removeButton {
    min-height: 2.85rem;
    font-size: 0.96rem;
  }

  .rb-resultText {
    font-size: clamp(1.55rem, 9vw, 2.2rem) !important;
  }

  .rb-timelineCell {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .rb-exampleTable th,
  .rb-exampleTable td {
    padding: 0.72rem;
    font-size: 0.95rem;
  }
}
