.post-body .lead {
  font-size: 1.16rem;
  line-height: 1.7;
  color: #1f2937;
}
.post-body .wf {
  margin: 2rem 0 2.5rem;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fafafa;
}
.post-body .wf-head,
.post-body .wf-axis {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
}
.post-body .wf-head span:first-child {
  font-weight: 700;
  color: #5b21b6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-body .wf-axis {
  margin: 0.4rem 0 0.9rem;
  padding-left: calc(11.5rem + 0.75rem);
  padding-right: calc(3.4rem + 0.75rem);
}
.post-body .wf-rows {
  display: grid;
  gap: 0.35rem;
}
.post-body .wf-row {
  display: grid;
  grid-template-columns: 11.5rem 1fr 3.4rem;
  gap: 0.75rem;
  align-items: center;
}
.post-body .wf-lab {
  font-size: 0.9rem;
  color: #374151;
}
.post-body .wf-track {
  position: relative;
  height: 1.6rem;
  border-left: 2px solid #c4b5fd;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #ede9fe calc(25% - 1px), #ede9fe 25%);
}
.post-body .wf-bar {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  border-radius: 0.3rem;
  background: #4c1d95;
}
.post-body .wf-bar.up {
  background: #a78bfa;
}
.post-body .wf-bar.down {
  background: #c2410c;
}
.post-body .is-key .wf-bar.up {
  background: #7c3aed;
}
.post-body .is-total .wf-bar {
  border-radius: 0 0.3rem 0.3rem 0;
  background: #2e1065;
}
.post-body .is-total .wf-bar::before {
  content: "";
  position: absolute;
  top: -0.15rem;
  bottom: -0.15rem;
  left: 0.55rem;
  width: 0.45rem;
  background: #fafafa;
  transform: skewX(-20deg);
}
.post-body .wf-val {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: right;
  color: #111827;
}
.post-body .is-key .wf-lab,
.post-body .is-key .wf-val {
  color: #5b21b6;
  font-weight: 700;
}
.post-body .is-end .wf-lab {
  font-weight: 700;
  color: #111827;
}
.post-body .wf figcaption {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4b5563;
}
.post-body .terms {
  display: grid;
  gap: 0.75rem;
}
.post-body .terms > div {
  padding: 0.85rem 1rem;
  border-left: 3px solid #7c3aed;
  border-radius: 0 0.6rem 0.6rem 0;
  background: #f5f3ff;
}
.post-body .terms dt {
  font-weight: 700;
  color: #2e1065;
}
.post-body .terms dd {
  margin: 0.25rem 0 0;
  color: #374151;
  line-height: 1.6;
}
.post-body .scissors {
  margin: 1.75rem 0;
  padding: 1.1rem 1.25rem 0.9rem;
  border-radius: 1rem;
  background: #1a1145;
  color: #e9e5ff;
}
.post-body .sc-row {
  display: grid;
  grid-template-columns: 15rem 1fr 4.4rem;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.6rem;
}
.post-body .sc-lab {
  font-size: 0.88rem;
  line-height: 1.35;
  color: #ddd6fe;
}
.post-body .sc-track {
  height: 1.1rem;
  border-radius: 9999px;
  background: rgba(196, 181, 253, 0.12);
}
.post-body .sc-bar {
  display: block;
  height: 100%;
  border-radius: 9999px;
  background: #c4b5fd;
}
.post-body .sc-bar.is-pay {
  background: #a78bfa;
}
.post-body .sc-bar.is-health {
  background: #fb923c;
}
.post-body .sc-val {
  white-space: nowrap;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: #ffffff;
}
.post-body .scissors figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #c4b5fd;
}
.post-body .facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.75rem;
}
.post-body .fact {
  padding: 1rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
}
.post-body .fact p {
  margin: 0 0 0.5rem;
}
.post-body .fact .fact-num {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  color: #5b21b6;
  font-variant-numeric: tabular-nums;
}
.post-body .fact .fact-what {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #374151;
}
.post-body .fact .fact-use {
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px dashed #ddd6fe;
  font-size: 0.86rem;
  color: #6d28d9;
}
.post-body .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.post-body td.neg {
  color: #c2410c;
  font-weight: 700;
}
.post-body td.pos {
  color: #5b21b6;
  font-weight: 700;
}
.post-body tr.sum td {
  font-weight: 700;
  background: #f5f3ff;
}
.post-body table caption {
  caption-side: top;
  padding-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  color: #4b5563;
}
.post-body .prem td:first-child {
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.post-body .steps {
  list-style: none;
  padding: 0;
  counter-reset: degrau;
}
.post-body .step {
  counter-increment: degrau;
  position: relative;
  margin: 0 0 1rem;
  padding: 1.1rem 1.2rem 1rem 3.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
}
.post-body .step::before {
  content: counter(degrau);
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  background: #ede9fe;
  color: #5b21b6;
  font-weight: 800;
}
.post-body .step.is-down::before {
  background: #fff7ed;
  color: #c2410c;
}
.post-body .step h3 {
  margin: 0.15rem 0 0.4rem;
}
.post-body .step p {
  margin: 0 0 0.6rem;
}
.post-body .step p:last-child {
  margin-bottom: 0;
}
.post-body .step .formula code {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
  vertical-align: bottom;
}
.post-body .step .step-val {
  font-size: 0.95rem;
  color: #2e1065;
}
.post-body .step .step-err {
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  background: #fafafa;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #374151;
}
.post-body .cta {
  margin: 2.5rem 0;
  padding: 1.5rem 1.6rem;
  border: 1px solid #ddd6fe;
  border-radius: 1rem;
  background: #f5f3ff;
}
.post-body .cta p {
  margin-bottom: 0.9rem;
}
.post-body .cta p:last-child {
  margin-bottom: 0;
}
.post-body .cta-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6d28d9;
}
.post-body .cta-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
}
.post-body .cta-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  background: #c2410c;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}
.post-body .cta-btn:hover {
  background: #9a3412;
  color: #ffffff;
}
.post-body .cta-dark {
  margin: 3rem 0 2rem;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: #1a1145;
  color: #e9e5ff;
}
.post-body .cta-dark p {
  margin-bottom: 0.9rem;
  color: #e9e5ff;
}
.post-body .cta-dark p:last-child {
  margin-bottom: 0;
}
.post-body .cta-dark .cta-kicker {
  color: #c4b5fd;
}
.post-body .cta-dark .cta-title {
  color: #ffffff;
}
.post-body .cta p:not(.cta-kicker):not(.cta-title),
.post-body .cta-dark p:not(.cta-kicker):not(.cta-title) {
  line-height: 1.65;
}
.post-body .cal {
  margin: 1.75rem 0;
  padding: 1.1rem 1.1rem 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fafafa;
}
.post-body .cal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}
.post-body .cal-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.35rem 0.1rem;
  border-radius: 0.5rem;
}
.post-body .cal-grid li.is-modelo {
  background: #ede9fe;
}
.post-body .cal-m {
  font-size: 0.78rem;
  font-weight: 700;
  color: #374151;
}
.post-body .cal-bar {
  display: flex;
  flex-direction: column;
  width: 1.4rem;
  height: 6rem;
  overflow: hidden;
  border-radius: 0.3rem;
}
.post-body .cal-bar .c27 {
  display: block;
  background: #7c3aed;
}
.post-body .cal-bar .c28 {
  display: block;
  background: #ddd6fe;
}
.post-body .cal-v {
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: #111827;
}
.post-body .cal-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  color: #4b5563;
}
.post-body .cal-key .k27::before,
.post-body .cal-key .k28::before {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.35rem;
  border-radius: 0.2rem;
  vertical-align: -0.1rem;
  background: #7c3aed;
}
.post-body .cal-key .k28::before {
  background: #ddd6fe;
}
.post-body .cal figcaption {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}
.post-body .howto li {
  margin-bottom: 0.4rem;
}
.post-body .code-label {
  margin: 1.5rem 0 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #5b21b6;
}
.post-body .code-label + pre {
  font-size: 0.82rem;
  line-height: 1.55;
}
.post-body pre.out {
  border: 2px solid #7c3aed;
  background: #0f0a2e;
  font-size: 0.82rem;
  line-height: 1.55;
}
.post-body .prompt {
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid #c2410c;
  border-radius: 0 0.75rem 0.75rem 0;
  background: #fff7ed;
}
.post-body .prompt p {
  margin: 0;
  color: #1f2937;
  font-style: normal;
}
.post-body .tornado {
  margin: 1.75rem 0;
  padding: 1.1rem 1.25rem 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
}
.post-body .tn-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 0.5rem;
  margin-left: calc(11rem + 0.75rem);
  margin-right: calc(5.6rem + 0.75rem);
  font-size: 0.78rem;
  color: #6b7280;
}
.post-body .tn-head span:first-child {
  text-align: right;
  padding-right: 0.5rem;
}
.post-body .tn-head span:last-child {
  padding-left: 0.5rem;
}
.post-body .tn-row {
  display: grid;
  grid-template-columns: 11rem 1fr 5.6rem;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.45rem;
}
.post-body .tn-lab {
  font-size: 0.88rem;
  line-height: 1.3;
  color: #374151;
}
.post-body .tn-lab small {
  display: block;
  font-size: 0.76rem;
  color: #6b7280;
}
.post-body .tn-track {
  position: relative;
  height: 1.4rem;
  background: linear-gradient(90deg, transparent calc(50% - 1px), #6b7280 calc(50% - 1px), #6b7280 calc(50% + 1px), transparent calc(50% + 1px));
}
.post-body .tn-neg,
.post-body .tn-pos {
  position: absolute;
  top: 0.15rem;
  bottom: 0.15rem;
}
.post-body .tn-neg {
  right: 50%;
  border-radius: 0.3rem 0 0 0.3rem;
  background: #c4b5fd;
}
.post-body .tn-pos {
  left: 50%;
  border-radius: 0 0.3rem 0.3rem 0;
  background: #6d28d9;
}
.post-body .is-key .tn-neg {
  background: #c2410c;
}
.post-body .is-key .tn-lab {
  font-weight: 700;
  color: #9a3412;
}
.post-body .tn-val {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  color: #111827;
}
.post-body .tornado figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}
.post-body .inds {
  display: grid;
  gap: 0.75rem;
}
.post-body .inds > div {
  padding: 0.9rem 1.1rem;
  border: 1px solid #ddd6fe;
  border-radius: 0.9rem;
}
.post-body .inds dt {
  font-weight: 700;
  color: #2e1065;
}
.post-body .inds dd {
  margin: 0.3rem 0 0;
  line-height: 1.6;
  color: #374151;
}
.post-body .assume {
  margin: 1.5rem 0 2rem;
  padding: 1.5rem 1.6rem 1.2rem;
  border: 1px solid #d1d5db;
  border-top: 6px solid #5b21b6;
  border-radius: 0.4rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(46, 16, 101, 0.08);
}
.post-body .assume p {
  margin: 0 0 0.9rem;
}
.post-body .as-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}
.post-body .as-total {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 1.05rem;
  color: #111827;
}
.post-body .as-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  counter-reset: premissa;
}
.post-body .as-list li {
  counter-increment: premissa;
  display: grid;
  grid-template-columns: 1.6rem 1.3fr 0.8fr 1.3fr;
  gap: 0.5rem 0.9rem;
  margin: 0;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 0.92rem;
  line-height: 1.45;
}
.post-body .as-list li::before {
  content: counter(premissa);
  font-weight: 800;
  color: #7c3aed;
}
.post-body .as-what {
  font-weight: 600;
  color: #111827;
}
.post-body .as-who {
  color: #5b21b6;
}
.post-body .as-when {
  color: #4b5563;
}
.post-body .as-foot {
  font-size: 0.86rem;
  color: #6b7280;
}
.post-body .faq h3 {
  font-size: 1.08rem;
}
.post-body .sources li {
  font-size: 0.92rem;
  line-height: 1.6;
}
@media (max-width: 680px) {
  .post-body .facts {
    grid-template-columns: 1fr;
  }
  .post-body .wf {
    padding: 1rem 0.85rem 0.85rem;
  }
  .post-body .wf-row {
    grid-template-columns: 6.6rem 1fr 2.9rem;
    gap: 0.5rem;
  }
  .post-body .wf-lab {
    font-size: 0.8rem;
    line-height: 1.25;
  }
  .post-body .wf-val {
    font-size: 0.82rem;
  }
  .post-body .wf-axis {
    padding-left: calc(6.6rem + 0.5rem);
    padding-right: calc(2.9rem + 0.5rem);
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .post-body .wf-head {
    flex-direction: column;
    gap: 0.2rem;
  }
  .post-body .sc-row {
    grid-template-columns: 1fr 4.2rem;
    gap: 0.3rem 0.6rem;
  }
  .post-body .sc-lab {
    grid-column: 1 / -1;
  }
  .post-body .step {
    padding: 1rem 1rem 0.9rem 1rem;
  }
  .post-body .step::before {
    position: static;
    margin-bottom: 0.4rem;
  }
  .post-body .cal-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 0.8rem;
  }
  .post-body .tn-head {
    margin-left: 0;
    margin-right: calc(5rem + 0.5rem);
  }
  .post-body .tn-row {
    grid-template-columns: 1fr 5rem;
    gap: 0.25rem 0.5rem;
  }
  .post-body .tn-lab {
    grid-column: 1 / -1;
  }
  .post-body .as-list li {
    grid-template-columns: 1.4rem 1fr;
  }
  .post-body .as-who,
  .post-body .as-when {
    grid-column: 2;
  }
  .post-body table.prem,
  .post-body table.map,
  .post-body table.cancel,
  .post-body table.vagas {
    min-width: 0;
  }
  .post-body table.prem thead,
  .post-body table.map thead,
  .post-body table.cancel thead,
  .post-body table.vagas thead {
    display: none;
  }
  .post-body table.prem tr,
  .post-body table.map tr,
  .post-body table.cancel tr,
  .post-body table.vagas tr {
    display: block;
    margin-bottom: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
  }
  .post-body table.prem td,
  .post-body table.map td,
  .post-body table.cancel td,
  .post-body table.vagas td {
    display: block;
    border: 0;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
    white-space: normal;
  }
  .post-body table.prem td[data-label]::before,
  .post-body table.map td[data-label]::before,
  .post-body table.cancel td[data-label]::before,
  .post-body table.vagas td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
  }
}