@page { size: A4; margin: 18mm 16mm 22mm 16mm; }
*{box-sizing:border-box}
body{font-family:"Segoe UI",system-ui,sans-serif;font-size:10.5pt;line-height:1.55;color:#1a1f2e;max-width:210mm;margin:0 auto}
.cover{min-height:260mm;display:flex;flex-direction:column;justify-content:center;padding:24mm 12mm;page-break-after:always;background:linear-gradient(145deg,#0f172a 0%,#1e3a5f 55%,#b8860b 100%);color:#f8fafc}
.cover .badge{display:inline-block;font-size:9pt;letter-spacing:.12em;text-transform:uppercase;background:rgba(255,255,255,.12);padding:6px 14px;border-radius:999px;margin-bottom:20px}
.cover h1{font-size:32pt;font-weight:700;line-height:1.15;margin:0 0 12px}
.cover .subtitle{font-size:13pt;opacity:.9;max-width:32em;margin-bottom:36px}
.cover .meta{font-size:9.5pt;opacity:.75;margin-top:auto}
h1.doc-title{font-size:22pt;color:#0f172a;border-bottom:3px solid #b8860b;padding-bottom:8px;margin:0 0 20px;page-break-after:avoid}
h2{font-size:14pt;color:#1e3a5f;margin:28px 0 10px;page-break-after:avoid}
h3{font-size:11.5pt;color:#334155;margin:18px 0 8px;page-break-after:avoid}
p{margin:0 0 10px}ul,ol{margin:0 0 12px;padding-left:1.4em}li{margin-bottom:4px}
.toc{page-break-after:always}.toc h2{margin-top:0}.toc ol{font-size:11pt;line-height:1.8}
.callout{background:#fffbeb;border-left:4px solid #b8860b;padding:12px 16px;margin:16px 0;border-radius:0 6px 6px 0;page-break-inside:avoid}
.callout.warn{background:#fffbeb;border-left-color:#d97706}
.callout.tip{background:#eff6ff;border-left-color:#2563eb}
figure{margin:18px 0;page-break-inside:avoid}
figure img{width:100%;border-radius:10px;border:1px solid #e2e8f0}
figcaption{font-size:9pt;color:#64748b;margin-top:8px;text-align:center;font-style:italic}
table{width:100%;border-collapse:collapse;margin:14px 0 18px;font-size:9.5pt;page-break-inside:avoid}
th{background:#1e3a5f;color:#fff;text-align:left;padding:8px 10px}
td{border:1px solid #e2e8f0;padding:7px 10px;vertical-align:top}
tr:nth-child(even) td{background:#f8fafc}
.steps{counter-reset:step;list-style:none;padding:0;margin:12px 0 20px}
.steps li{counter-increment:step;position:relative;padding:10px 12px 10px 48px;margin-bottom:8px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;page-break-inside:avoid}
.steps li::before{content:counter(step);position:absolute;left:12px;top:10px;width:26px;height:26px;background:#b8860b;color:#fff;font-weight:700;font-size:10pt;border-radius:50%;text-align:center;line-height:26px}
.flow{font-family:ui-monospace,monospace;font-size:9pt;background:#0f172a;color:#e2e8f0;padding:14px 16px;border-radius:8px;margin:14px 0;white-space:pre-wrap;page-break-inside:avoid}
.page-break{page-break-before:always}
.checklist{list-style:none;padding:0}.checklist li::before{content:"☐ ";color:#b8860b;font-weight:bold}
.footer-note{font-size:8.5pt;color:#64748b;margin-top:32px;padding-top:12px;border-top:1px solid #e2e8f0}
@media print{body{print-color-adjust:exact;-webkit-print-color-adjust:exact}a{color:inherit;text-decoration:none}.no-print{display:none}}
.print-hint{background:#1e293b;color:#f1f5f9;padding:12px 16px;margin-bottom:20px;border-radius:8px;font-size:10pt}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
@media(max-width:600px){.two-col{grid-template-columns:1fr}}
