*,*:before,*:after{box-sizing:border-box}html,body{margin:0}.print-page{min-height:100vh;padding:28px 20px 60px;background:#d9d5cb;color:#111;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}.print-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(100%,210mm);margin:0 auto 16px}.print-toolbar p{margin:0;color:#4b5563;font-size:12px}.print-toolbar .actions{display:flex;gap:8px}.print-btn{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 16px;border:1px solid #1d2733;border-radius:8px;background:#1d2733;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.print-btn.secondary{background:transparent;color:#1d2733}.sheet{display:flex;flex-direction:column;width:210mm;height:297mm;margin:0 auto 18px;padding:10mm 9mm 9mm;background:#fff;box-shadow:0 18px 50px -24px #00000073;color:#111;font-size:8.2pt;line-height:1.38}.sheet-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10mm;padding-bottom:2mm;margin-bottom:1.8mm;border-bottom:.5pt solid #1d2733}.sheet-kicker{display:block;margin-bottom:.8mm;color:#b45309;font-family:JetBrains Mono,Consolas,monospace;font-size:6.2pt;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.sheet-head h1{margin:0;font-family:"Source Han Serif SC",Songti SC,SimSun,Georgia,serif;font-size:17pt;font-weight:700;line-height:1.1}.sheet-head .sheet-meta{color:#6b7280;font-family:JetBrains Mono,Consolas,monospace;font-size:6.4pt;line-height:1.5;text-align:right}.sheet-note{margin:0 0 1.8mm;padding:1.3mm 2.4mm;border-left:2pt solid #b45309;background:#faf5ea;color:#4b5563;font-size:6.8pt;line-height:1.45}.sheet-columns{flex:1 1 auto;min-height:0;column-count:2;column-gap:6mm;column-fill:auto}.p-cat{margin:0 0 1.6mm}.p-cat h2{display:flex;align-items:baseline;gap:2mm;margin:0 0 1mm;padding-bottom:.6mm;break-after:avoid;border-bottom:.5pt solid #d1d5db;font-family:"Source Han Serif SC",Songti SC,SimSun,Georgia,serif;font-size:9.4pt;font-weight:700;line-height:1.2}.p-cat h2 span{color:#b45309;font-family:JetBrains Mono,Consolas,monospace;font-size:5.8pt;font-weight:600;letter-spacing:.08em}.p-item{break-inside:avoid;padding:.7mm 0 .9mm;border-bottom:.35pt dotted #d1d5db}.p-item:last-child{border-bottom:0}.p-label{margin-bottom:.2mm;color:#6b7280;font-size:6.3pt;font-weight:600;letter-spacing:.02em}.p-tex{overflow:hidden;color:#111}.p-tex .katex-display{margin:.2mm 0;padding:0}.p-tex .katex{font-size:8.1pt}.p-note{margin:.2mm 0 0;color:#6b7280;font-size:6.1pt;line-height:1.35}.sheet-foot{display:flex;align-items:center;justify-content:space-between;gap:6mm;padding-top:1.2mm;margin-top:1.2mm;border-top:.5pt solid #d1d5db;color:#9ca3af;font-family:JetBrains Mono,Consolas,monospace;font-size:5.8pt;letter-spacing:.03em}@media print{@page{size:A4;margin:8mm}html,body{margin:0;padding:0;background:#fff!important}.print-page{min-height:0;padding:0;background:#fff}.print-toolbar{display:none!important}.sheet{width:auto;height:280mm;min-height:0;margin:0;padding:0;box-shadow:none;break-after:page;page-break-after:always}.sheet:last-of-type{break-after:auto;page-break-after:auto}.p-tex,.p-item{break-inside:avoid}}
