/* Small additions for this article; the accepted textbook stylesheet owns the visual identity. */
.design-hero + .v2-topic-group { margin-top: 32px; border-top: 0; padding-top: 0; }
.design-hero + .v2-topic-group > .v2-group-heading { border-top: 0; padding-top: 0; }
.textbook-diagram-scroll img { min-width: 800px; }
.design-section table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; line-height: 1.8; }
.design-section th,.design-section td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.design-section th { color: var(--ink); background: var(--rail); font-weight: 600; }
.design-section td p { margin: 0; }
.design-section .table-scroll { overflow-x: auto; margin: 24px 0; }
.table-scroll table { margin: 0; min-width: 540px; }
.harness-comparison details { margin-block: 18px; }
.harness-comparison summary { cursor: pointer; color: var(--blue); }
.harness-comparison .table-scroll { margin-block: 14px; }
.harness-comparison .table-scroll table { width: max-content; min-width: 100%; font-variant-numeric: tabular-nums; }
.harness-comparison .table-scroll :is(th, td) { white-space: nowrap; padding: 8px 10px; }
.harness-comparison .table-scroll tr > :nth-child(n+3) { text-align: right; }
.ruocun-code .hljs-addition { color: var(--blue); background: var(--blue-soft); }
.ruocun-code .hljs-deletion { color: var(--amber); background: var(--amber-soft); }
.source-label code { background: transparent; padding: 0; color: inherit; }
.design-section ul,.design-section ol { padding-left: 1.6em; }
.design-section li + li { margin-top: 9px; }
.design-section h4 { font-size: 18px; line-height: 1.75; margin: 30px 0 14px; }
.pilot-records .design-trace { margin-inline: 0; }
.design-trace pre code { font: inherit; color: inherit; white-space: inherit; background: transparent; padding: 0; }
.design-section td code,.design-section th code { font: .92em/1.5 var(--mono); color: var(--blue); background: var(--blue-soft); padding: 2px 5px; border-radius: 3px; overflow-wrap: normal; white-space: nowrap; }
.design-section .design-source { margin: 12px 0 8px; font: 13px/1.8 var(--sans); color: var(--muted); overflow-wrap: anywhere; }
.design-source a { color: inherit; }
.design-source a:hover { color: var(--blue); }
.pilot-takeaways { list-style: disc; padding-left: 1.45em; }
.pilot-takeaways li { margin: 14px 0; padding: 0; border: 0; }
.interview-opening { border-left: 3px solid var(--blue); padding: 2px 0 2px 16px; margin: 22px 0 18px; }
.lesson-paper .interview-prompt { font-weight: 650; line-height: 1.65; margin: 0; }
.lesson-paper .interview-origin { font: 14px/1.7 var(--sans); color: var(--muted); margin: 5px 0; }
.interview-origin a { color: var(--blue); }
.interview-exercise .answer-box { margin-top: 10px; }
@media(max-width:540px) {
  .design-section table { font-size: 14px; }
  .design-section th,.design-section td { padding: 10px 12px; }
}
