/* Guides: legal.css plus code blocks, wide tables and a closing note. */
pre { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; margin: 12px 0 18px; }
pre code { background: none; padding: 0; font-size: 13.5px; line-height: 1.6; white-space: pre; }
.scroll { overflow-x: auto; margin: 12px 0; }
.scroll table { margin: 0; min-width: 560px; }
.cta { margin-top: 44px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.cta p { margin: 6px 0; }

/* Where this page sits: SiftMac › Guides › this guide. */
.crumbs { font-size: 13.5px; color: var(--faint); margin-bottom: 26px; }
.crumbs a { color: var(--muted); margin-left: 0; }
.crumbs span[aria-hidden] { margin: 0 7px; }
.byline { color: var(--faint); font-size: 14px; margin: -4px 0 18px; }
h3 { font-size: 17px; margin: 28px 0 6px; letter-spacing: -.01em; }

/* Verdicts, worded as in the app. */
.v { display: inline-block; font: 600 10.5px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; padding: 4px 6px; border-radius: 5px; background: var(--chip); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.v-decide { color: var(--signal-text); border-color: currentColor; background: none; }
.v-keep { background: var(--ink); border-color: var(--ink); color: var(--ground); }

/* Contents at the top, related pages at the bottom. */
.toc, .related { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 22px; margin: 22px 0; }
.toc ol, .related ul { margin: 6px 0; padding-left: 20px; }
.toc li, .related li { margin: 4px 0; }
.related { margin-top: 28px; }

/* A screenshot in the flow of the text. */
.shot-figure { margin: 22px 0; }
.shot-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }

/* The guides index: one card per guide. */
.cards { list-style: none; padding: 0; display: grid; gap: 12px; margin: 22px 0; }
.cards li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.cards a { font-weight: 600; color: var(--ink); }
.cards p { margin: 6px 0 0; font-size: 15px; }

/* Long paths in running text wrap instead of pushing the page sideways on a phone, and so do headings that name a
   folder like com.todesktop.230313mzl4w4u92.ShipIt. */
main :not(pre) > code { overflow-wrap: anywhere; }
main h1, main h2, main h3 { overflow-wrap: anywhere; }

/* "Check your own Mac" box under the short answer (28 Nov): guide visitors got their answer and left before
   the only app link at the end of the page. */
.scan-box { margin: 22px 0 6px; padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--signal-text); border-radius: 12px; background: var(--panel); }
.scan-box p { margin: 4px 0; }
.scan-box p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; }
.scan-box-btn { display: inline-block; padding: 8px 14px; border-radius: 8px; background: var(--signal-text); color: var(--ground) !important; font-weight: 600; text-decoration: none !important; }
.scan-box-btn:hover { filter: brightness(1.05); }
.scan-box-btn:focus-visible { outline: 2px solid var(--signal-text); outline-offset: 2px; }
.scan-box span { font-size: 0.85em; color: var(--muted); }
