/* Shared print styles for the Quick Start and the User Manual (rendered to A4 PDF). */
@page { size: A4; margin: 18mm 16mm 20mm; }
:root { --ink: #18221F; --ink2: #4E5C57; --rule: #D5DDDA; --paper: #F2F5F4; --accent: #D9480F; --ok: #2B7A4B; --warn: #A86A00; --err: #C62828; }
* { box-sizing: border-box; }
html { font: 10.5pt/1.5 "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); }
body { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; break-after: avoid; }
h1 { font-size: 24pt; margin: 0 0 4mm; letter-spacing: -.01em; }
h2 { font-size: 15pt; margin: 9mm 0 3mm; padding-bottom: 1.5mm; border-bottom: 1.5px solid var(--ink); }
h3 { font-size: 11.5pt; margin: 6mm 0 2mm; }
h4 { font-size: 10.5pt; margin: 4mm 0 1.5mm; color: var(--ink2); }
p { margin: 0 0 2.5mm; }
ul, ol { margin: 0 0 3mm; padding-left: 6mm; }
li { margin: 0 0 1mm; }
a { color: var(--accent); text-decoration: none; }
code, kbd { font-family: "Cascadia Mono", Consolas, monospace; font-size: 9pt; }
kbd { border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 3px; padding: 0 1.2mm; background: #fff; }
b.ui { font-weight: 600; }
figure { margin: 3mm 0 5mm; break-inside: avoid; }
figure img { width: 100%; border: 1px solid var(--rule); border-radius: 2mm; display: block; }
figure.half img { width: 62%; margin: 0 auto; }
figure.third img { width: 45%; margin: 0 auto; }
figcaption { font-size: 8.5pt; color: var(--ink2); margin-top: 1.5mm; text-align: center; }
table { width: 100%; border-collapse: collapse; margin: 2mm 0 4mm; font-size: 9pt; break-inside: auto; }
th, td { border: 1px solid var(--rule); padding: 1.4mm 2mm; text-align: left; vertical-align: top; }
th { background: var(--paper); font-weight: 600; }
tr { break-inside: avoid; }
.tip, .note, .warn { border-left: 3px solid var(--ok); background: #EEF6F0; padding: 2mm 3mm; margin: 2mm 0 4mm; border-radius: 0 1.5mm 1.5mm 0; break-inside: avoid; }
.note { border-color: #3D6FA8; background: #EDF3FA; }
.warn { border-color: var(--warn); background: #FBF4E6; }
.tip::before { content: "Tip  "; font-weight: 700; color: var(--ok); }
.note::before { content: "Note  "; font-weight: 700; color: #3D6FA8; }
.warn::before { content: "Careful  "; font-weight: 700; color: var(--warn); }
.cover { height: 250mm; display: flex; flex-direction: column; justify-content: center; break-after: page; }
.cover .kicker { font-size: 10pt; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 4mm; }
.cover h1 { font-size: 34pt; }
.cover .sub { font-size: 13pt; color: var(--ink2); max-width: 140mm; }
.cover .meta { margin-top: 14mm; font-size: 9.5pt; color: var(--ink2); }
.cover img { margin-top: 10mm; width: 100%; border: 1px solid var(--rule); border-radius: 2mm; }
.toc { columns: 2; column-gap: 10mm; font-size: 10pt; }
.toc a { color: var(--ink); }
.toc ol { padding-left: 5mm; }
.page-break { break-before: page; }
.steps > li { margin-bottom: 2mm; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; }
.sev { font-weight: 600; }
.sev.error { color: var(--err); } .sev.warning { color: var(--warn); } .sev.info { color: #3D6FA8; }
/* Side-by-side images: cap the height so tall crops don't leave half-empty pages. */
.two figure img { width: auto; max-width: 100%; max-height: 78mm; margin: 0 auto; }
/* On screen (Help in the app): a readable page column instead of the full window width. */
@media screen {
  html { background: #E8EDEB; }
  body { max-width: 210mm; margin: 0 auto; padding: 18mm 16mm; background: #fff; min-height: 100vh; }
  .cover { height: auto; min-height: 0; padding: 10mm 0 14mm; border-bottom: 1px solid var(--rule); margin-bottom: 8mm; }
  .page-break { break-before: auto; }
}
@media screen and (max-width: 600px) {
  body { padding: 16px; }
  .two { grid-template-columns: 1fr; }
}
