.post-body .tmap {
  margin: 1.8rem 0 2rem;
  padding: 1.3rem 1.3rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.1rem;
  background: #ffffff;
}
.post-body .tmap-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  margin-bottom: 0.9rem;
}
.post-body .tmap-total {
  margin: 0;
  color: #2e1065;
}
.post-body .tmap-big {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.post-body .tmap-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4c1d95;
}
.post-body .tmap-sub {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7280;
}
.post-body .tmap-grid {
  display: flex;
  gap: 4px;
  height: 22rem;
}
.post-body .tmap-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-basis: 0;
  min-width: 0;
}
.post-body .tmap-colname {
  flex: 0 0 auto;
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4c1d95;
}
.post-body .tmap-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex-basis: 0;
  min-height: 0;
  padding: 0 0.6rem;
  overflow: hidden;
  border-radius: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.15;
}
.post-body .tmap-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-body .tmap-val {
  flex: 0 0 auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.post-body .in1 {
  background: #2e1065; color: #ffffff;
}
.post-body .in2 {
  background: #5b21b6; color: #ffffff;
}
.post-body .in3 {
  background: #7c3aed; color: #ffffff;
}
.post-body .ex1 {
  background: #c4b5fd; color: #2e1065;
}
.post-body .ex2 {
  background: #ddd6fe; color: #2e1065;
}
.post-body .ex3 {
  background: #ede9fe; color: #2e1065;
}
.post-body .ex4 {
  background: #f5f3ff; color: #2e1065; border: 1px solid #ddd6fe;
}
.post-body .media {
  background: #c2410c;
  color: #ffffff;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #c2410c;
  position: relative;
  z-index: 1;
}
.post-body .tmap figcaption {
  margin-top: 0.9rem;
}
.post-body .formula {
  margin: 1.4rem 0 1.6rem;
  padding: 1rem 1.2rem;
  border-radius: 0.8rem;
  background: #1a1145;
  color: #e9e5ff;
  font-weight: 600;
  text-align: center;
  line-height: 1.7;
}
.post-body .formula span {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(196, 181, 253, 0.16);
  color: #ffffff;
}
.post-body .formula span:first-child {
  background: #c2410c;
}
.post-body .terms {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0;
  border-top: 1px solid #e5e7eb;
}
.post-body .terms dt,
.post-body .terms dd {
  margin: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.post-body .terms dt {
  padding-right: 1rem;
  font-weight: 700;
  color: #4c1d95;
}
.post-body .num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.post-body .variants td.num {
  font-weight: 800;
  color: #2e1065;
}
.post-body .ladder {
  margin: 1.6rem 0 2rem;
}
.post-body .ladder-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  margin: 0 0 0.6rem;
  padding: 0;
  list-style: none;
}
.post-body .ladder-steps li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  margin: 0;
  padding: 0.6rem 0.5rem;
  border-radius: 0.6rem 0.6rem 0.2rem 0.2rem;
  background: #ede9fe;
  color: #2e1065;
}
.post-body .ladder-steps li:nth-child(1) {
  min-height: 3.2rem;
}
.post-body .ladder-steps li:nth-child(2) {
  min-height: 4.4rem; background: #ddd6fe;
}
.post-body .ladder-steps li:nth-child(3) {
  min-height: 5.6rem; background: #c4b5fd;
}
.post-body .ladder-steps li:nth-child(4) {
  min-height: 6.8rem; background: #a78bfa;
}
.post-body .ladder-steps li:nth-child(5) {
  min-height: 8rem; background: #5b21b6; color: #ffffff;
}
.post-body .ladder-steps li.ladder-last {
  min-height: 9.2rem; background: #c2410c; color: #ffffff;
}
.post-body .ladder-stage {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.post-body .ladder-cost {
  font-size: 1.02rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.post-body .callout {
  margin: 1.8rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid #ea580c;
  border-radius: 0 0.8rem 0.8rem 0;
  background: #fff7ed;
}
.post-body .callout p {
  margin: 0;
}
.post-body .pill {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.post-body .pill-ext {
  background: #ede9fe;
  color: #4c1d95;
}
.post-body .pill-int {
  background: #2e1065;
  color: #ffffff;
}
.post-body .model .model-group th {
  background: #f5f3ff;
  color: #5b21b6;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.post-body .model .model-sub th,
.post-body .model .model-sub td {
  font-weight: 700;
  background: #faf8ff;
}
.post-body .model .model-total th,
.post-body .model .model-total td {
  font-weight: 800;
  background: #2e1065;
  color: #ffffff;
  border-color: #2e1065;
}
.post-body .model td.num {
  text-align: right;
}
.post-body .steps li {
  margin-bottom: 0.5rem;
}
.post-body .calc {
  margin: 2rem 0 2.5rem;
  padding: 1.4rem;
  border: 1px solid #ddd6fe;
  border-radius: 1.1rem;
  background: #faf8ff;
}
.post-body .calc-title {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #2e1065;
}
.post-body .calc-note {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  color: #4b5563;
}
.post-body .calc fieldset {
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
}
.post-body .calc legend {
  margin: 0 0 0.6rem;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6d28d9;
}
.post-body .calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 0.75rem 0.9rem;
}
.post-body .calc-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.post-body .calc label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}
.post-body .calc input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.25rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid #8b5cf6;
  border-radius: 0.5rem;
  background: #ffffff;
  font: inherit;
  font-size: 0.92rem;
  color: #111827;
}
.post-body .calc input[aria-invalid="true"] {
  border-color: #c2410c;
}
.post-body .calc input:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 1px;
}
.post-body .calc-out {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.4rem 0 1rem;
  padding: 0;
  list-style: none;
}
.post-body .calc-out li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 0.75rem 0.8rem;
  border-radius: 0.7rem;
  background: #ffffff;
  border: 1px solid #ede9fe;
}
.post-body .calc-out li span {
  font-size: 0.74rem;
  font-weight: 600;
  color: #4b5563;
}
.post-body .calc-out li strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2e1065;
  font-variant-numeric: tabular-nums;
}
.post-body .calc-out li:last-child {
  grid-column: 1 / -1;
  border-color: #fdba74;
  background: #fff7ed;
}
.post-body .calc-out li:last-child strong {
  font-size: 1.7rem;
  color: #c2410c;
}
.post-body .calc-verdict {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  background: #2e1065;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}
.post-body .calc-warn {
  margin: 0;
  font-size: 0.84rem;
  color: #9a3412;
}
.post-body .calc-warn:empty {
  display: none;
}
.post-body .traps {
  margin: 1.4rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: trap;
}
.post-body .traps > li {
  position: relative;
  margin: 0 0 1rem;
  padding: 1.1rem 1.2rem 1rem 3.7rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
  counter-increment: trap;
}
.post-body .traps > li::before {
  content: counter(trap);
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 9999px;
  background: #c2410c;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.8rem;
  text-align: center;
}
.post-body .traps p {
  margin: 0 0 0.5rem;
}
.post-body .traps p:last-child {
  margin-bottom: 0;
}
.post-body .trap-title {
  font-weight: 800;
  color: #2e1065;
}
.post-body .flow li {
  margin-bottom: 0.7rem;
}
.post-body .formulas {
  margin: 1.2rem 0 1.6rem;
  border-top: 1px solid #e5e7eb;
}
.post-body .formulas dt {
  margin: 0;
  padding: 0.8rem 0 0.2rem;
  font-weight: 700;
  color: #4c1d95;
}
.post-body .formulas dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  margin: 0;
  padding: 0 0 0.8rem;
  border-bottom: 1px solid #e5e7eb;
}
.post-body .formulas code {
  overflow-wrap: anywhere;
}
.post-body .formulas dd span {
  font-weight: 800;
  color: #2e1065;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.post-body .oneline {
  margin: 1.5rem 0;
  padding: 1.5rem 1.6rem;
  border: 0;
  border-radius: 1rem;
  background: #f5f3ff;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #1f2937;
}
.post-body .oneline p {
  margin: 0;
}
.post-body .oneline mark {
  padding: 0.05rem 0.3rem;
  border-radius: 0.3rem;
  background: #ddd6fe;
  color: #2e1065;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.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 .faq h3 {
  font-size: 1.08rem;
}
.post-body .sources li {
  font-size: 0.92rem;
  line-height: 1.6;
}
@media (max-width: 680px) {
  .post-body .tmap {
    padding: 1rem 0.8rem 0.9rem;
  }
  .post-body .tmap-grid {
    height: 24rem;
  }
  .post-body .tmap-cell {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 0 0.45rem;
    font-size: 0.72rem;
  }
  .post-body .tmap-name {
    max-width: 100%;
  }
  .post-body .tmap-cell.in3,
  .post-body .tmap-cell.ex2,
  .post-body .tmap-cell.ex3,
  .post-body .tmap-cell.ex4 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    font-size: 0.66rem;
  }
  .post-body .terms {
    grid-template-columns: 1fr;
  }
  .post-body .terms dt {
    padding-bottom: 0.1rem;
    border-bottom: 0;
  }
  .post-body .terms dd {
    padding-top: 0.2rem;
  }
  .post-body .ladder-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  .post-body .ladder-steps li,
  .post-body .ladder-steps li:nth-child(n) {
    min-height: 0;
    border-radius: 0.6rem;
  }
  .post-body .calc-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-body .inv thead,
  .post-body .variants thead,
  .post-body .channels thead,
  .post-body .limits thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .post-body .variants,
  .post-body .variants tbody,
  .post-body .variants tr,
  .post-body .variants th,
  .post-body .variants td,
  .post-body .inv,
  .post-body .inv tbody,
  .post-body .inv tr,
  .post-body .inv th,
  .post-body .inv td,
  .post-body .channels,
  .post-body .channels tbody,
  .post-body .channels tr,
  .post-body .channels th,
  .post-body .channels td,
  .post-body .limits,
  .post-body .limits tbody,
  .post-body .limits tr,
  .post-body .limits td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .post-body .variants tr,
  .post-body .inv tr,
  .post-body .channels tr,
  .post-body .limits tr {
    margin: 0 0 0.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.8rem;
    overflow: hidden;
  }
  .post-body .variants th,
  .post-body .variants td,
  .post-body .inv th,
  .post-body .inv td,
  .post-body .channels th,
  .post-body .channels td,
  .post-body .limits td {
    border: 0;
    border-bottom: 1px solid #f3f4f6;
  }
  .post-body .variants td::before,
  .post-body .inv td::before,
  .post-body .channels td::before,
  .post-body .limits td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6d28d9;
  }
  .post-body .channels td.num,
  .post-body .variants td.num {
    white-space: normal;
  }
  .post-body .model th,
  .post-body .model td {
    padding: 0.5rem 0.45rem;
  }
  .post-body .model td.num {
    white-space: normal;
  }
}