@charset "UTF-8";
.paper-sheet{background:white;color:#111827;padding:38px 44px;border:1px solid #e5e7eb;border-radius:4px;font-family:"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.paper-heading{text-align:center;border-bottom:2px solid #253349;padding-bottom:18px;margin-bottom:25px}.paper-eyebrow{color:#8a95a8;font-size:10px;letter-spacing:3px;margin-bottom:8px}.paper-heading h1{font-size:25px;letter-spacing:0;margin-bottom:13px}.paper-meta{font-size:12px;margin:0}.paper-code{font-size:10px;color:#8a95a8;margin:5px 0 0}.print-question{margin-bottom:25px;break-inside:avoid;page-break-inside:avoid}.question-number{font-weight:650;margin-bottom:6px}.math-text{white-space:pre-wrap;overflow-wrap:anywhere}.paper-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px;margin-top:12px}.question-figure{display:block;margin:12px auto;max-height:140mm;max-width:100%;object-fit:contain;break-inside:avoid}.scratch-space{margin-top:10px}.scratch-line{height:8mm;border-bottom:1px solid #edf0f4}.compact-answer-space{height:8mm}.answer-section{margin-top:35px;border-top:1px dashed #d8dfe8;padding-top:25px}.answer-section h2{font-size:21px;text-align:center;margin-bottom:25px}.print-answer{break-inside:avoid;margin-bottom:23px;font-size:14px}.print-answer h3{font-size:15px}.explanation{margin-top:8px;color:#4b5563}.katex-display{overflow-x:auto;overflow-y:hidden;padding:2px 0}.katex{font-size:1.08em}
#print-stage{display:none}.print-preparing #print-stage{display:block;position:absolute;left:-10000px;top:0;width:186mm}.print-preparing #print-stage .paper-sheet{padding:0;border:0}
@page{size:A4 portrait;margin:12mm}
@media print{
  html,body{margin:0!important;padding:0!important;background:#fff!important;font-size:11pt;color:#000}
  body>*{display:none!important}
  body.print-active #print-stage{display:block!important;position:static!important;width:auto!important}
  #print-stage{visibility:visible}
  .paper-sheet{padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:11pt;line-height:1.8}
  .paper-heading{break-inside:avoid;break-after:avoid;margin-bottom:7mm}
  .paper-heading h1{font-size:18pt}.paper-eyebrow{display:none}.paper-meta{font-size:9pt}.paper-code{font-size:8pt;color:#555}
  .print-question{break-inside:avoid!important;page-break-inside:avoid!important;margin-bottom:5mm}
  .question-figure{break-inside:avoid!important;page-break-inside:avoid!important;max-height:140mm}
  .scratch-line{height:8mm;border-color:#e5e7eb}.compact-answer-space{height:7mm}
  .answer-section{break-before:page!important;page-break-before:always!important;border:0;padding:0;margin:0}
  .print-answer{font-size:10pt;break-inside:avoid;page-break-inside:avoid}.explanation{color:#222}
  .katex-display{overflow:visible;white-space:normal}.katex{font-size:1.05em}
  button,dialog,.notice{display:none!important}
}
@media(max-width:650px){.paper-sheet{padding:23px 20px;font-size:14px}.paper-heading h1{font-size:20px}.paper-meta{font-size:11px}.paper-options{grid-template-columns:1fr}}
