.post-body .lead {
  font-size: 1.16rem;
  line-height: 1.7;
  color: #1f2937;
}
.post-body .dissect {
  margin: 2rem 0 2.25rem;
  padding: 1.5rem 1.4rem 1.25rem;
  border-radius: 1.1rem;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}
.post-body .dissect-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6d28d9;
}
.post-body .dissect-sentence {
  margin: 0 0 1.25rem;
  font-size: 1.32rem;
  line-height: 2.35;
  font-weight: 600;
  color: #111827;
}
.post-body .seg {
  position: relative;
  padding: 0.1rem 0.2rem 0.15rem;
  border-bottom: 3px solid #a78bfa;
  background: #ffffff;
  border-radius: 0.3rem 0.3rem 0 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.post-body .seg b {
  display: inline-block;
  margin-right: 0.3rem;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #5b21b6;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.25rem;
  text-align: center;
  vertical-align: 0.2em;
}
.post-body .seg-1 {
  border-bottom-color: #c2410c;
}
.post-body .seg-1 b {
  background: #c2410c;
}
.post-body .seg-4,
.post-body .seg-5 {
  border-bottom-color: #6d28d9;
}
.post-body .dissect-legend {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dl;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.25rem;
}
.post-body .dissect-legend li {
  counter-increment: dl;
  position: relative;
  margin: 0;
  padding-left: 1.9rem;
  font-size: 0.93rem;
  line-height: 1.5;
  color: #374151;
}
.post-body .dissect-legend li::before {
  content: counter(dl);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 9999px;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3rem;
  text-align: center;
}
.post-body .dissect-legend li:first-child::before {
  background: #ffedd5;
  color: #9a3412;
}
.post-body .dissect figcaption {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: #6b7280;
}
.post-body .chart-shell {
  display: flex;
  justify-content: center;
}
.post-body .chart-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
}
.post-body .hk-group {
  font-size: 12.5px; font-weight: 700; fill: #111827;
}
.post-body .hk-lab {
  font-size: 11.5px; fill: #374151;
}
.post-body .hk-val {
  font-size: 11px; font-weight: 700; fill: #1f2937;
}
.post-body .hk-tick {
  font-size: 10.5px; fill: #6b7280;
}
.post-body .hk figcaption {
  font-size: 0.9rem;
  color: #6b7280;
}
.post-body .types,
.post-body .cat,
.post-body .limits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.post-body .types th,
.post-body .types td,
.post-body .cat th,
.post-body .cat td,
.post-body .limits-table th,
.post-body .limits-table td {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}
.post-body .types thead th,
.post-body .cat thead th,
.post-body .limits-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5b21b6;
  border-bottom: 2px solid #c4b5fd;
}
.post-body .types td:first-child {
  white-space: nowrap;
  overflow-wrap: normal;
}
.post-body .types td:nth-child(2) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: #1f2937;
}
.post-body .rulers {
  margin: 1.5rem 0 1.75rem;
  padding: 1.1rem 1.2rem 0.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
}
.post-body .rulers-title {
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #4c1d95;
}
.post-body .ruler {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) 3.6rem;
  grid-template-areas:
    "name bar pct"
    ". why why";
  column-gap: 0.8rem;
  align-items: center;
  padding: 0.55rem 0 0.7rem;
  border-top: 1px solid #f3f4f6;
}
.post-body .ruler:first-of-type {
  border-top: 0;
}
.post-body .ruler p {
  margin: 0;
}
.post-body .ruler-name {
  grid-area: name;
  font-weight: 700;
  font-size: 0.93rem;
  color: #111827;
}
.post-body .ruler-bar {
  grid-area: bar;
  height: 0.8rem;
  border-radius: 9999px;
  background: #f3f4f6;
  overflow: hidden;
}
.post-body .ruler-bar span {
  display: block;
  height: 100%;
  border-radius: 9999px;
  background: #7c3aed;
}
.post-body .ruler.is-wrong .ruler-bar span {
  background: #fdba74;
}
.post-body .ruler-pct {
  grid-area: pct;
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #111827;
}
.post-body .ruler.is-wrong .ruler-pct {
  color: #c2410c;
}
.post-body .ruler-why {
  grid-area: why;
  margin-top: 0.3rem !important;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4b5563;
}
.post-body .ruler.is-right .ruler-name::after {
  content: " ✓";
  color: #6d28d9;
}
.post-body .test5 {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: t5;
}
.post-body .test5 > li {
  counter-increment: t5;
  position: relative;
  margin: 0 0 1rem;
  padding: 1rem 1.1rem 0.4rem 3.6rem;
  border-left: 3px solid #a78bfa;
  background: #faf9ff;
  border-radius: 0 0.8rem 0.8rem 0;
}
.post-body .test5 > li::before {
  content: counter(t5);
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 9999px;
  background: #5b21b6;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.8rem;
  text-align: center;
}
.post-body .test5 p {
  margin-bottom: 0.6rem;
}
.post-body .t-q {
  font-weight: 700;
  color: #111827;
}
.post-body .catalog {
  margin: 1.5rem 0;
}
.post-body .cat-area {
  margin: 0 0 2rem;
}
.post-body .cat-area h3 {
  margin-bottom: 0.3rem;
}
.post-body .cat-note {
  font-size: 0.92rem;
  color: #4b5563;
}
.post-body .cat td:nth-child(1) {
  font-weight: 600;
  color: #111827;
}
.post-body .cat td:nth-child(2),
.post-body .cat td:nth-child(3) {
  white-space: nowrap;
}
.post-body .cat td:nth-child(5) {
  color: #4b5563;
}
.post-body .rewrites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.post-body .rw {
  padding: 1rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  background: #ffffff;
}
.post-body .rw p {
  margin: 0 0 0.55rem;
  font-size: 0.93rem;
  line-height: 1.5;
}
.post-body .rw p:last-child {
  margin-bottom: 0;
}
.post-body .rw-fails {
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c2410c;
}
.post-body .rw-before {
  color: #6b7280;
  text-decoration: line-through;
  text-decoration-color: #fdba74;
}
.post-body .rw-before span,
.post-body .rw-after span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #6b7280;
}
.post-body .rw-why {
  color: #374151;
}
.post-body .rw-after {
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  background: #f5f3ff;
  color: #2e1065;
  font-weight: 600;
}
.post-body .rw-after span {
  color: #6d28d9;
}
.post-body .mocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}
.post-body .formmock {
  margin: 0;
}
.post-body .fm-head {
  padding: 0.65rem 0.9rem;
  border: 1px solid #e5e7eb;
  border-bottom: 0;
  border-radius: 0.8rem 0.8rem 0 0;
  background: #f9fafb;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
}
.post-body .fm-body {
  padding: 0.8rem 0.9rem 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 0 0 0.8rem 0.8rem;
  background: #ffffff;
  box-shadow: 0 8px 24px -16px rgba(46, 16, 101, 0.35);
}
.post-body .fm-body p {
  margin: 0;
}
.post-body .fm-label {
  margin-top: 0.55rem !important;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
}
.post-body .fm-input {
  margin-top: 0.2rem !important;
  padding: 0.4rem 0.55rem;
  border: 1px solid #d1d5db;
  border-radius: 0.45rem;
  font-size: 0.85rem;
  color: #111827;
}
.post-body .fm-select {
  position: relative;
  padding-right: 1.6rem;
}
.post-body .fm-select::after {
  content: "▾";
  position: absolute;
  right: 0.55rem;
  color: #6b7280;
}
.post-body .fm-help {
  margin-top: 0.3rem !important;
  font-size: 0.75rem;
  color: #6b7280;
}
.post-body .fm-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.post-body .fm-preview {
  margin-top: 0.75rem;
  padding: 0.6rem 0.65rem;
  border-radius: 0.55rem;
  background: #f9fafb;
}
.post-body .fm-prow {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
}
.post-body .fm-bar {
  margin: 0.35rem 0;
  height: 0.45rem;
  border-radius: 9999px;
  background: #e5e7eb;
}
.post-body .fm-formula {
  font-size: 0.74rem;
  line-height: 1.45;
  color: #6b7280;
}
.post-body .fm-alert {
  margin-top: 0.4rem !important;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #b91c1c;
}
.post-body .formmock figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #6b7280;
}
.post-body .skill {
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  border-radius: 0.9rem;
  background: #1a1145;
  color: #ede9fe;
  font-size: 0.82rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.post-body .skill code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.post-body .ifthen {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin: 1.25rem 0 1.75rem;
  border-top: 1px solid #e5e7eb;
}
.post-body .ifthen dt,
.post-body .ifthen dd {
  margin: 0;
  padding: 0.75rem 0.8rem 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.94rem;
  line-height: 1.55;
}
.post-body .ifthen dt {
  font-weight: 700;
  color: #4c1d95;
}
.post-body .ifthen dd {
  color: #374151;
}
.post-body .callout {
  margin: 1.75rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid #ea580c;
  border-radius: 0 0.8rem 0.8rem 0;
  background: #fff7ed;
}
.post-body .callout p:last-child {
  margin-bottom: 0;
}
.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;
  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 .faq h3 {
  font-size: 1.08rem;
}
.post-body .sources li {
  font-size: 0.92rem;
  line-height: 1.6;
}
.post-body .sr-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .post-body .dissect-sentence {
    font-size: 1.12rem;
    line-height: 2.2;
  }
  .post-body .ifthen {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-body .ifthen dt {
    border-bottom: 0;
    padding-bottom: 0.15rem;
  }
  .post-body .ifthen dd {
    padding-top: 0;
  }
  .post-body .hk-group {
    font-size: 14px;
  }
  .post-body .hk-lab {
    font-size: 13px;
  }
  .post-body .hk-val {
    font-size: 12.5px;
  }
  .post-body .hk-tick {
    font-size: 12px;
  }
  .post-body .dissect-legend,
  .post-body .rewrites,
  .post-body .mocks {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-body .ruler {
    grid-template-columns: 6.2rem minmax(0, 1fr) 3.2rem;
  }
  .post-body .types thead,
  .post-body .cat thead,
  .post-body .limits-table thead {
    display: none;
  }
  .post-body .types tr,
  .post-body .cat tr,
  .post-body .limits-table tr {
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e5e7eb;
  }
  .post-body .types td,
  .post-body .cat td,
  .post-body .limits-table td {
    display: block;
    padding: 0.2rem 0;
    border: 0;
    white-space: normal !important;
  }
  .post-body .cat tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 0.8rem;
  }
  .post-body .cat td:nth-child(1),
  .post-body .cat td:nth-child(4),
  .post-body .cat td:nth-child(5) {
    grid-column: 1 / -1;
  }
  .post-body .types td::before,
  .post-body .cat td::before,
  .post-body .limits-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6d28d9;
  }
}