/* The parts under an answer (pages/_answer.html). */
.answer { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.answer .grow { flex: 1; min-width: 0; }
.ans-tools { display: flex; align-items: center; gap: 2px; margin-left: -6px; }
.answer .no-src { align-self: flex-start; }
.answer .cut { font-style: normal; }
.answer .fb { padding: 16px; }
.attached { padding-top: 4px; }
.attached li { padding: 1px 0; }
.ans-layers { padding-top: 4px; }

/* A table in an answer (md.js): columns where the answer has the room, a list of rows where it has not. It goes by the
   column, not the screen: beside a recipe a laptop has less room for it than a tablet. */
.md .tablewrap { margin: .2em 0 .9em; container-type: inline-size; }
.md .tablewrap:last-child { margin-bottom: 0; }
.md .tbl { font-size: 13.5px; line-height: 1.45; overflow-wrap: normal; }
.md .tbl th { white-space: normal; }
.md .tbl td { overflow-wrap: break-word; }
@container (max-width: 560px) {
  .md .tbl, .md .tbl tbody, .md .tbl tr { display: block; width: 100%; }
  .md .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .md .tbl tr { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .md .tbl tr:first-child { padding-top: 0; }
  .md .tbl tr:last-child { border-bottom: 0; }
  .md .tbl td { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: 10px; padding: 2px 0; border: 0; }
  .md .tbl td::before { content: attr(data-label); padding-top: 3px; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .04em; color: var(--ink-muted); overflow-wrap: anywhere; }
}
@media (max-width: 820px) {
  /* A source chip stays small in its line, and easy to hit. */
  .md a.src { position: relative; }
  .md a.src::after { content: ""; position: absolute; inset: -7px; }
}
