@page { size: A4; margin: 14mm 13mm; }
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 1060px; padding: 24px; color: #1f2937; font: 14px/1.7 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
h1 { font-size: 34px; margin: 6px 0 4px; letter-spacing: 1px; }
h2 { font-size: 22px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid #eef2ff; color: #312e81; }
h3 { font-size: 17px; margin: 26px 0 8px; }
h4 { margin: 4px 0 6px; font-size: 15px; }
section { margin: 0 0 34px; }
section + section { break-before: page; }
.cover { padding: 36px 36px 30px; border-radius: 18px; background: linear-gradient(135deg, #eef2ff, #f5f3ff 55%, #ecfeff); }
.cover .brand { font-weight: 600; color: #4f46e5; }
.cover .sub { font-size: 16px; color: #4b5563; margin: 0; }
.cover .meta { font-size: 12px; color: #6b7280; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.kpi { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgb(0 0 0 / 6%); }
.kpi .v { font-size: 30px; font-weight: 700; color: #4f46e5; line-height: 1.2; }
.kpi .k { font-weight: 600; }
.kpi .n { font-size: 12px; color: #6b7280; }
.findings li { margin-bottom: 10px; }
.note { font-size: 12px; color: #6b7280; }
.chart { margin: 10px 0 6px; break-inside: avoid; }
.chart svg { width: 100%; height: auto; }
figure { margin: 0; break-inside: avoid; }
figure img { width: 100%; border-radius: 10px; border: 1px solid #e5e7eb; display: block; }
figcaption { font-size: 12px; color: #4b5563; margin: 6px 2px 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin: 12px 0; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 18px; margin: 12px 0; align-items: start; }
.phone img { max-height: 420px; object-fit: cover; object-position: top; }
.phone.wide img { max-height: 420px; }
table { border-collapse: collapse; width: 100%; }
.ft { font-size: 12.5px; }
.ft th, .ft td { border-bottom: 1px solid #e5e7eb; padding: 7px 8px; text-align: left; vertical-align: top; }
.ft th { background: #f9fafb; font-weight: 600; }
.ft tr { break-inside: avoid; }
.ft .area { color: #4f46e5; font-weight: 600; white-space: nowrap; }
.ft .entry { font-size: 11px; color: #6b7280; font-family: ui-monospace, Menlo, monospace; }
.ft.small td:first-child { font-weight: 600; white-space: nowrap; }
.mini { font-size: 12px; margin: 8px 0; }
.mini th, .mini td { border: 1px solid #e5e7eb; padding: 4px 6px; text-align: center; }
.mini td:first-child { text-align: left; white-space: nowrap; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; }
.tag.core { background: #e0e7ff; color: #3730a3; }
.tag.keep { background: #dcfce7; color: #166534; }
.tag.watch { background: #fef3c7; color: #92400e; }
.tag.bad { background: #fee2e2; color: #991b1b; }
.tag.ok { background: #dcfce7; color: #166534; }
.map { margin: 14px 0 20px; }
.hub { text-align: center; padding: 14px; border-radius: 14px; background: #4f46e5; color: #fff; }
.hub b { font-size: 18px; display: block; }
.hub span { font-size: 12.5px; opacity: .9; }
.ring { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.node { border-radius: 12px; padding: 10px 12px; background: #f9fafb; border-top: 4px solid; }
.node b { display: block; font-size: 15px; }
.node span { font-size: 12.5px; color: #4b5563; }
.c0 { border-color: #4f46e5; } .c1 { border-color: #0ea5e9; } .c2 { border-color: #10b981; }
.c3 { border-color: #f59e0b; } .c4 { border-color: #8b5cf6; } .c5 { border-color: #ef4444; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card { border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px 16px; break-inside: avoid; }
.card ul { padding-left: 18px; margin: 6px 0; font-size: 13px; }
.card .pri { font-size: 12px; font-weight: 700; }
.p0 { border-left: 5px solid #ef4444; } .p0 .pri { color: #dc2626; }
.p1 { border-left: 5px solid #f59e0b; } .p1 .pri { color: #d97706; }
.p2 { border-left: 5px solid #64748b; } .p2 .pri { color: #475569; }
.events ul { font-size: 13px; padding-left: 18px; }
code { font-size: 12px; background: #f3f4f6; padding: 1px 5px; border-radius: 4px; }
.appendix { font-size: 12.5px; color: #4b5563; }
h2, h3, h4 { break-after: avoid; } .mini, .chart, .cards { break-inside: avoid; }
