@font-face{font-family:Ref2Entry;src:url(ref2-entry.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Ref2Song;src:url(ref2-song.woff2) format('woff2');font-weight:400;font-style:normal;font-display:block}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#e6e6e6;color:#24211e;font-family:Ref2Song,'Noto Serif SC',SimSun,serif}
.tools{max-width:1100px;margin:20px auto;padding:16px;background:white;font:14px/1.7 Ref2Song,serif}.tools h1{font-size:22px;margin:0}.tools p{margin:6px 0}.tools nav{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.tools button,.tools select{font:inherit;padding:4px 10px}.tools input[type=file]{max-width:180px}.tools a{color:#59411f}#status{min-height:24px}#overflow[hidden]{display:none}#warnings{max-height:220px;overflow:auto}
#sheets{--preview:1;zoom:var(--preview);width:210mm;margin:0 auto}.sheet{position:relative;width:210mm;height:297mm;margin:0 0 12mm;background:white;box-shadow:0 2px 15px #0002;overflow:hidden}.art{position:absolute;left:0;top:0;width:210mm;height:297mm;pointer-events:none;user-select:none}.field{position:absolute;margin:0;border:0;border-radius:0;box-shadow:none;padding:0 .4pt;background:transparent;color:#161310;font-family:var(--entry-font,Ref2Entry),SimSun,serif;font-weight:400;line-height:1.1;resize:none;min-width:0;outline:none;overflow:hidden}.field:focus{background:#fff1bc;outline:1px solid #947638}.field[data-overflow=true]{outline:1px solid #b23620;background:#fff2ed}.field[type=checkbox]{appearance:none;padding:0;cursor:pointer}.field[type=checkbox]:checked::after{content:'×';display:block;text-align:center;font:7pt/1 serif;color:#171717}.sheet:focus-within .field:focus{z-index:1}
@page{size:A4;margin:0}
@media print{html,body{width:210mm;margin:0!important;padding:0!important;background:white!important}.tools{display:none!important}#sheets{zoom:1!important;width:210mm;margin:0!important}.sheet{width:210mm;height:297mm;margin:0!important;box-shadow:none;break-inside:avoid;break-after:page;page-break-after:always}.sheet:last-child{break-after:auto;page-break-after:auto}.art{width:210mm;height:297mm}.field,.field:focus,.field[data-overflow=true]{outline:none!important;background:transparent!important;box-shadow:none!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.spell-appendix{box-sizing:border-box;width:210mm;min-height:296mm;padding:12mm 15mm;background:white;font-size:10pt;overflow-wrap:anywhere}
.spell-appendix h2,.spell-appendix h3{margin:0;padding:1mm 2mm;background:#f8d64d}
.spell-appendix h2{background:#efa51e;border-bottom:1pt solid}
.spell-appendix article{margin:3mm 0;border-bottom:.5pt solid;break-inside:avoid}
.spell-appendix p{margin:1mm 0 2mm}
.spell-appendix .spell-entry-values{font:12pt/1.35 var(--entry-font,Ref2Entry),serif;white-space:pre-wrap}
[data-style=permanent] .spell-appendix :is(h2,h3){background:white;border-bottom:.6pt solid}
@media print{.spell-appendix{box-decoration-break:clone}}
html[data-embedded=true],html[data-embedded=true] body{background:white;overflow:hidden}
html[data-embedded=true] .tools{display:none}
html[data-embedded=true] .sheet:last-child{margin-bottom:0}
