@font-face{font-family:Diary Kai;src:url(/fonts/gkai00mp.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}:root{font-family:system-ui,-apple-system,Microsoft YaHei,sans-serif;color:#24453c;background:#f7f5ec;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,.file-button{cursor:pointer;background:#fffdf8;border:1px solid #cbd6c9;border-radius:12px;color:#244d40;padding:12px 17px;min-height:46px;font-weight:600}button:hover,.file-button:hover{background:#e9efdf}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #d68c39;outline-offset:3px}input,select,textarea{border:1px solid #cbd6c9;border-radius:10px;padding:12px;color:#233e35;background:#fffefb;max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #679b78;outline-offset:2px}header{max-width:1320px;margin:auto;padding:28px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce1d5}.brand{text-decoration:none;color:inherit;display:flex;gap:14px;align-items:center;font-weight:750;font-size:22px;letter-spacing:1px}.brand-icon{background:#245e50;color:#fff;border-radius:16px 16px 4px;width:49px;height:49px;display:grid;place-items:center;font-family:Diary Kai,KaiTi,STKaiti,serif;font-size:32px}.brand small{display:block;font-size:11px;color:#718373;font-weight:400;margin-top:6px;letter-spacing:2px}.local-badge{font-size:12px;color:#56715e;background:#eaf0e1;padding:10px 15px;border-radius:30px}main{max-width:1320px;margin:auto;padding:0 40px}.intro{display:flex;justify-content:space-between;align-items:center;padding:34px 10px 25px}.eyebrow{font-size:12px;letter-spacing:3px;color:#a06c36;font-weight:650}.intro h1{font-size:32px;letter-spacing:1px;margin:10px 0}.intro p:last-child{color:#748071;font-size:14px}.sun{font-size:86px;color:#dca54e;transform:rotate(-12deg);padding-right:45px}.toolbar{display:flex;align-items:center;gap:12px;margin:8px 0 20px;flex-wrap:wrap}.toolbar label{font-size:13px;font-weight:600}.toolbar select{margin-left:8px;max-width:230px}.toolbar #status{font-size:12px;color:#66816a;flex:1}.toolbar #new{background:#245e50;color:#fff;border-color:#245e50}.workspace{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;align-items:start}.card{background:#fffef9;border:1px solid #dce0d2;border-radius:20px;padding:26px;box-shadow:0 6px 18px #3b523609}.section-title{display:flex;align-items:center;gap:10px}.section-title h2{font-size:18px;margin:0;flex:1;white-space:nowrap}.step{width:26px;height:26px;display:grid;place-items:center;background:#edf1e4;border-radius:50%;color:#648466;font-size:13px}.section-title button{background:#f6e9d3;border-color:#eddbbd;font-size:13px;padding:10px 12px}.help{font-size:12px;color:#758171;line-height:1.8}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;margin:18px 0}.field input,.field textarea{font-size:16px;font-weight:400;width:100%}.field textarea{min-height:290px;resize:vertical;line-height:1.9;font-size:21px;background:repeating-linear-gradient(#fffefb 0,#fffefb 39px,#e9edde 40px)}.editor-bottom{display:flex;justify-content:space-between;color:#83907c;font-size:11px}.view-options{display:flex;gap:20px;align-items:center;border-bottom:1px solid #e5e6da;padding:8px 0 16px;font-size:12px}.view-options input{accent-color:#245e50}.view-options select{padding:6px}#paper{padding:18px 0;min-height:420px}#paper h3{text-align:center;font-family:Diary Kai,KaiTi,STKaiti,Kaiti SC,serif;font-size:25px;margin:8px 0}#print-date{text-align:center;font-size:12px;color:#88917d;margin-bottom:25px}#reading{--size:50px;line-height:1;overflow-wrap:anywhere}#reading br{display:block;content:"";margin-bottom:18px}.cell{vertical-align:top;display:inline-flex;flex-direction:column;align-items:center;width:calc(var(--size) + 12px);padding:0;margin:0 0 16px;border:0;border-radius:0;background:transparent;min-height:0;font-weight:400}.pinyin{font-family:Arial,sans-serif;font-size:calc(var(--size) * .29);height:27px;white-space:nowrap;color:#6e7861;display:flex;align-items:center}.glyph{font-family:Diary Kai,KaiTi,STKaiti,Kaiti SC,楷体,serif;font-size:var(--size);display:grid;place-items:center;width:calc(var(--size) + 12px);height:calc(var(--size) + 12px);color:#2c4036}.grid .han .glyph{border:1px solid #d8dfcc;background:linear-gradient(to right,transparent calc(50% - .5px),#dfe4d7 calc(50% - .5px),#dfe4d7 calc(50% + .5px),transparent calc(50% + .5px)),linear-gradient(to bottom,transparent calc(50% - .5px),#dfe4d7 calc(50% - .5px),#dfe4d7 calc(50% + .5px),transparent calc(50% + .5px))}.han:hover .glyph{color:#b46d2e;background-color:#f4eedc}.punctuation{white-space:pre}#empty{color:#a1aa92;text-align:center;font-size:14px;margin-top:70px;line-height:2}#empty span{display:block;font-size:45px;color:#d1ba8b}.grownups{margin:25px 0;padding:20px 24px;border:1px dashed #cad3bf;border-radius:14px;color:#64735f;font-size:13px;line-height:1.9}.grownups summary{cursor:pointer;font-weight:600}.grownups a{color:#245e50}.backup-actions{display:flex;flex-wrap:wrap;gap:12px}.file-button input{display:none}footer{font-size:11px;color:#97a18d;display:flex;justify-content:space-between;padding:12px 0 30px;letter-spacing:1px}dialog{border:1px solid #d8decd;border-radius:22px;max-width:min(480px,94vw);padding:28px;color:#24453c;background:#fffef8;box-shadow:0 18px 80px #1e3c4140;max-height:90dvh;overflow:auto}dialog::backdrop{background:#1d332b70}dialog h2{font-size:25px}dialog h3{font-size:15px}dialog p{line-height:1.8;font-size:13px}.close{float:right;padding:0;width:40px;min-height:40px;font-size:26px}#strokes{width:242px;height:242px;margin:10px auto;border:1px solid #d8dfcc;background:linear-gradient(90deg,transparent 49.7%,#e4e6dd 50%,transparent 50.3%),linear-gradient(transparent 49.7%,#e4e6dd 50%,transparent 50.3%)}#choices{display:flex;flex-wrap:wrap;gap:8px}#choices button{font-size:19px}.text-button{border:none;background:none;font-size:12px}#apply-pinyin,#speech-accept{background:#245e50;color:#fff}.error{color:#b3432c!important;font-weight:600}@media(max-width:900px){header{padding:22px 24px}main{padding:0 24px}.workspace{grid-template-columns:1fr}.intro h1{font-size:27px}.sun{font-size:65px;padding-right:12px}.field textarea{min-height:200px}.toolbar #status{flex-basis:100%;order:3}#paper{min-height:260px}}@media(max-width:480px){header{padding:18px}.brand{font-size:18px}.brand small{font-size:9px;letter-spacing:0}.local-badge{display:none}main{padding:0 16px}.intro{padding:25px 2px 12px}.intro h1{font-size:23px}.intro p:last-child{font-size:12px}.sun{font-size:47px;padding-right:0}.card{padding:18px;border-radius:16px}.section-title{gap:6px}.section-title h2{font-size:16px}.section-title button{font-size:12px;padding:9px}.toolbar{gap:8px}.toolbar select{max-width:190px}.toolbar label{width:100%}.toolbar #print{margin-left:auto}.grownups{padding:16px}footer span{display:none}}@media print{@page{size:A4;margin:16mm}body{background:#fff;color:#000}header,.intro,.toolbar,.editor,.help,.view-options,.grownups,footer,.section-title,dialog{display:none!important}main,.workspace,.preview,#paper{display:block;padding:0;margin:0;max-width:none;border:none;box-shadow:none;background:#fff}#paper h3{font-size:26px}#reading .cell{break-inside:avoid;page-break-inside:avoid}#reading .glyph{color:#000;-webkit-print-color-adjust:exact;print-color-adjust:exact}#reading .pinyin{color:#000}.han:hover .glyph{background-color:transparent}#empty{display:none}}
