/*
 * The guides (scripts/render-guides.mjs): legal.css's one column of text, a little wider, with the verdict up
 * top, a comparison table that scrolls inside itself on a phone, a card per tool, and the FAQ.
 */
.doc.guide { max-width: 820px; }
.head-links { display: flex; align-items: center; gap: 18px; }
.head-links .lang-link { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.head-links .lang-link:hover { color: var(--accent); }
.guide .crumbs { margin: 0 0 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.guide .crumbs a { color: var(--muted); text-decoration: none; }
.guide .crumbs a:hover { color: var(--accent); }
.guide h3 { font-size: 18px; line-height: 1.35; margin: 28px 0 6px; color: var(--ink); }
.guide .verdict { margin: 8px 0 32px; padding: 20px 22px; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface); }
.guide .verdict p { margin: 0; color: var(--ink); }
.guide .verdict p + p { margin-top: 10px; color: var(--ink-soft); }
.guide .disclosure { font-size: 14px; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 14px; }
.guide .scroll { overflow-x: auto; margin: 12px 0 8px; -webkit-overflow-scrolling: touch; }
.guide .scroll table { margin: 0; min-width: 520px; }
.guide .scroll th:last-child, .guide .scroll td:last-child { padding-right: 0; }
.guide .scroll td:first-child { white-space: nowrap; }
.guide .tool { margin: 18px 0; padding: 4px 22px 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.guide .tool h3 { margin-top: 18px; }
.guide .tool h3 a { color: var(--ink); text-decoration: none; }
.guide .tool h3 a:hover { color: var(--accent); }
.guide .tool .best { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.guide .tool.ours { border-color: var(--accent); }
.guide .faq h3 { margin-top: 26px; }
.guide .cta { margin: 40px 0 0; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.guide .cta p { margin: 0 0 12px; color: var(--ink); }
.guide .cta .pill { margin: 4px 0 0; }
.guide .related { margin-top: 36px; }
.guide-list { list-style: none; padding: 0; }
.guide-list li { margin: 0 0 22px; }
.guide-list a { font-size: 19px; font-weight: 600; }
.guide-list p { margin: 4px 0 0; }

@media (max-width: 600px) {
  .head-links { gap: 12px; }
  .head-links .head-cta { display: none; }
  .guide .tool { padding: 2px 16px 10px; }
}
/* A table of a few short columns fits a phone as it is: no sideways scroll. */
.guide .scroll.fit table { min-width: 0; }
.guide .scroll.fit td:first-child { white-space: normal; }
/* An example post or message inside a list item: set apart, so a reader scanning for something to copy finds it. */
.guide .ex { display: block; margin: 8px 0; padding: 8px 14px; border-left: 2px solid var(--border-strong); background: var(--surface); border-radius: 0 10px 10px 0; color: var(--ink); }
/* On a phone a table of sentences is a card a row: the first cell its heading, each other cell under its column's name. */
@media (max-width: 600px) {
  .guide .scroll.stack { overflow: visible; }
  .guide .scroll.stack table, .guide .scroll.stack tbody, .guide .scroll.stack tr, .guide .scroll.stack td { display: block; min-width: 0; width: auto; }
  .guide .scroll.stack thead { display: none; }
  .guide .scroll.stack tr { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .guide .scroll.stack td { padding: 0; border: 0; }
  .guide .scroll.stack td:first-child { white-space: normal; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
  .guide .scroll.stack td[data-label] { margin-top: 8px; }
  .guide .scroll.stack td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}
/* A search, an address or an operator to copy. */
.guide code { padding: 1px 6px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); font-family: var(--mono); font-size: .86em; color: var(--ink); overflow-wrap: anywhere; }
/* A long address in a sentence breaks where it must, so the page never scrolls sideways. */
.doc.guide { overflow-wrap: break-word; }
