/* The Markdown pages on a phone (2026-11-20): what's new, questions, install, thanks, the two guides and the legal
   pages. Loaded only while the window is 759 px wide or less (head.html). Their desktop look holds; on a phone each
   gets what a thumb needs: 44 px taps, code at a size you can read with Copy under it, the legal text as rows that
   open in place (doc-phone.js), and on install and thanks a way to send the line to the Mac. */

.pg-top { padding-top: 92px; }
.doc .h1 { font-size: 2.75rem; line-height: 1; }

/* Code: the words first, Copy under them on the right, at a thumb's size */
.codebox pre.code { padding: 16px 16px 62px; font-size: 13.5px; line-height: 1.6; }
.codebox .copy { top: auto; bottom: 8px; right: 8px; }
.prose a, .qa-a a, .r3-fine a, .thanks-help a, .qa-none a { padding-block: 11px; background-origin: content-box; background-clip: content-box; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- What's new ---------- */
.upd { display: flex; align-items: flex-start; font-size: 15.5px; }
.upd::before { margin-top: 7px; }
.ver-tag { font-size: 13px; }
.ver ul { font-size: 16px; }

/* ---------- Questions ---------- */
.tries { gap: 8px; }
.try { height: 44px; font-size: 15px; }
.qa-row summary, .qa-rows summary { min-height: 58px; font-size: 17px; }

/* ---------- Install and thanks: the line, Send it to my Mac, then Copy ---------- */
.big-line .codebox { display: grid; gap: 10px; }
.big-line pre.code { padding: 18px 16px; font-size: 14.5px; }
.big-line .copy { order: 3; height: 48px; color: var(--text-1); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.big-line .copy.done { color: #04210f; background: var(--ok); }
.send-line.btn { order: 2; display: flex; width: 100%; height: 54px; gap: 10px; font-size: 16.5px; border-radius: 14px; }
.send-line svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.big-line pre.code { order: 1; }
.line-note { font-size: 15.5px; }
.row3 { gap: 10px; }
.row3 .card { padding: 18px; }

/* ---------- The guides ---------- */
.quick { gap: 10px; }
.ref-head { gap: 14px; }
.ref-all.btn { height: 44px; padding: 0 16px; font-size: 15px; }
.ref-part > summary { min-height: 60px; padding: 14px 2px; font-size: 1.2rem; }
.ref-lead { font-size: 16.5px; }

/* ---------- The legal pages: the short version open, every other part a row ---------- */
.read-line { top: 0; height: 3px; }
.legal-switch { display: flex; width: 100%; }
.legal-switch a { flex: 1; justify-content: center; height: 44px; padding: 0 10px; font-size: 15px; }
.read-col.prose { font-size: 16.5px; line-height: 1.65; }
.lg-part { border-top: 1px solid var(--line-2); overflow: hidden; }
.lg-part:last-child { border-bottom: 1px solid var(--line-2); }
.lg-part > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 12px 2px; list-style: none; cursor: pointer; }
.lg-part > summary::-webkit-details-marker { display: none; }
.lg-folded .read-col.prose .lg-part > summary h2 { margin: 0; padding: 0; border: 0; font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.02em; }
.lg-part > summary svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--d-4) var(--ease-out); }
.lg-part[open] > summary svg { transform: rotate(180deg); stroke: var(--text-1); }
.lg-body { padding: 0 2px 18px; }
.lg-body > :first-child { margin-top: 0; }
.read-col .short { margin-bottom: 28px; }

/* ---------- Thanks ---------- */
.thanks-top { padding-bottom: 60px; }
.thanks-help { font-size: 16px; }
