/* Settings, Calendar, media server folder, key help (MoreScreens.tsx,
   HomeShelvesSettings.tsx, RatingSettings.tsx, KeyHelp.tsx).
   Spacing is Compose's Arrangement.spacedBy as sibling margins (flex `gap`
   needs Chrome 84). gN = N dp = 2N px. */

/* Column: children keep their own width (Compose Column, start-aligned). */
.st-v { display: flex; flex-direction: column; align-items: flex-start; }
.st-v > * { flex: none; max-width: 100%; }
.st-v.center { align-items: center; }
.st-v.g4 > * + * { margin-top: 8px; }
.st-v.g6 > * + * { margin-top: 12px; }
.st-v.g8 > * + * { margin-top: 16px; }
.st-v.g10 > * + * { margin-top: 20px; }
.st-v.g12 > * + * { margin-top: 24px; }

/* Row: centred vertically unless .top. */
.st-h { display: flex; flex-direction: row; align-items: center; }
.st-h > * { flex: none; }
.st-h.top { align-items: flex-start; }
.st-h.g8 > * + * { margin-left: 16px; }
.st-h.g10 > * + * { margin-left: 20px; }
.st-h.g12 > * + * { margin-left: 24px; }
.st-h.g28 > * + * { margin-left: 56px; }
.st-h.g36 > * + * { margin-left: 72px; }

/* A Page's list (LazyColumn verticalArrangement). */
.st-list.g8 > * + * { margin-top: 16px; }
.st-list.g10 > * + * { margin-top: 20px; }
.st-list.g12 > * + * { margin-top: 24px; }

/* Icon-only pills (move up / down): no gap after the icon. */
.st-icononly .gm-pill { padding-left: 28px; padding-right: 28px; }
.st-icononly .gm-pill svg { margin-right: 0; }
.st-icononly .gm-pill-text { display: none; }

/* QrCode: dark on white, 12.dp corners, 10.dp padding. */
.st-qr { flex: none; background: #fff; border-radius: 24px; padding: 20px; overflow: hidden; }
.st-qr img { display: block; }

/* Diagnostics log and last crash. */
.st-mono { color: var(--muted); font-size: 24px; line-height: 1.35; font-family: "Roboto Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; max-width: 100%; }
