.back + .translation-panel {
  margin-top: 12px;
}
.article-head h1 {
  text-wrap: balance;
}
.title-subject {
  display: inline-block;
}
.pelican [id] {
  scroll-margin-top: 120px;
}
.pelican blockquote {
  margin: 20px 0;
  padding: 15px 20px;
  border-left: 3px solid var(--accent);
  background: var(--surface-tint);
  color: var(--ink);
  font: 500 1.15rem/1.55 Georgia, serif;
}
.pelican blockquote > p {
  margin: 0;
}
.pelican .prompt-table,
.pelican .long-prompt {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
}
.prompt-table {
  margin: 22px 0;
  overflow: hidden;
}
.prompt-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.prompt-table th,
.prompt-table td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
}
.prompt-table thead {
  background: var(--paper-muted);
}
.prompt-table tbody tr {
  border-top: 1px solid var(--hairline);
}
.prompt-table th[scope="row"] {
  width: 19%;
}
.prompt-table .source {
  width: 22%;
}
.prompt-table code,
.long-prompt pre {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 0.875rem/1.65 ui-monospace, Menlo, monospace;
}
.pelican .copy {
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--surface-tint);
  color: var(--accent-hover);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
}
.pelican .copy:hover {
  background: var(--accent-light);
}
.pelican ol {
  padding-left: 1.5rem;
}
.long-prompt {
  margin: 12px 0;
  padding: 12px 17px;
}
.long-prompt summary {
  color: var(--accent-hover);
  font-weight: 650;
  cursor: pointer;
}
.long-prompt summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.long-prompt pre,
.long-prompt p {
  margin: 14px 0 0;
}
.ride-demo {
  margin: 24px 0;
}
.ride-demo video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.ride-demo figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}
@media (max-width: 600px) {
  .prompt-table table,
  .prompt-table tbody {
    display: block;
  }
  .prompt-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .prompt-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 14px;
  }
  .prompt-table tbody tr:first-child {
    border-top: 0;
  }
  .prompt-table th[scope="row"],
  .prompt-table td {
    width: auto;
    padding: 0;
  }
  .prompt-table .source {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    text-align: right;
    font-size: 0.8rem;
  }
  .prompt-table .prompt {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* The reviewed article keeps large comparison tables readable within the text column. */
.pelican figure { margin: 1.5em 0; }
.pelican figure img { display: block; width: 100%; height: auto; max-width: 100%; }
.pelican figcaption { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.6; margin-top: 0.5em; }
.pelican .table-scroll { max-width: 100%; overflow-x: auto; margin: 1.5em 0; }
.pelican .table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pelican .table-scroll table { border-collapse: collapse; min-width: min(38rem, 100%); width: 100%; font-size: 0.94rem; }
.pelican .table-scroll th, .pelican .table-scroll td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); padding: .75em; }
.pelican .table-scroll th { background: var(--surface-tint); color: var(--ink); }
.pelican .table-scroll td code { white-space: pre-wrap; overflow-wrap: anywhere; }
.pelican pre { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; padding: 1em; background: var(--surface-tint); }
.pelican td .copy { display: block; }
@media(max-width: 600px) { .pelican .table-scroll table { min-width: 36rem; } }
