*{box-sizing:border-box}body{margin:0;background:#eef1ed;color:#293c35;font:16px/1.65 Resume,'PingFang SC',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{border:1px solid #cbd5cd;background:#fff;color:#214d40;border-radius:7px;padding:9px 15px;cursor:pointer}button:hover{background:#e6eee6}button:disabled{opacity:.5;cursor:wait}.primary{background:#214d40;color:white;border-color:#214d40}.primary:hover{background:#163a30}.subtle{background:transparent;border-color:transparent}.danger{color:#985044}a{color:#214d40;text-underline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #bb8d49;outline-offset:3px}[hidden]{display:none!important}.topbar{height:92px;background:#fafbf8;border-bottom:1px solid #d7dfd6;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:18px}.brand{text-decoration:none;display:flex;align-items:center;gap:13px;font-size:20px;font-weight:600}.brandmark{background:#214d40;color:#fff;display:grid;place-items:center;width:44px;height:44px;font-size:25px;border-radius:50% 50% 3px 50%}.brand small{display:block;font-size:12px;letter-spacing:2px;color:#718075;font-weight:400}.top-actions{display:flex;gap:12px;align-items:center}#save-state{font-size:13px;color:#60756a;margin-right:12px}main{display:flex;max-width:1600px;margin:auto}.rail{width:285px;flex-shrink:0;padding:42px 27px;position:sticky;top:0;align-self:start}.eyebrow{font-size:12px;letter-spacing:2px;color:#60756a;margin:0 0 16px}h1{font-size:28px;line-height:1.6;letter-spacing:2px;font-weight:500;margin:0}.intro{font-size:14px;color:#60756a;margin:16px 0 28px}.section-button{display:flex;justify-content:space-between;align-items:center;width:100%;background:transparent;border:0;border-bottom:1px solid #d6dfd4;border-radius:0;text-align:left;padding:15px 4px;font-size:15px}.section-button small{color:#718075;font-size:12px}.section-button.active{color:white;background:#214d40;padding-left:12px;padding-right:12px;border-radius:6px}.section-button.active small{color:#d5e3d8}.rail-foot{margin-top:28px;font-size:12px;color:#60756a}.rail-foot button{font-size:13px;padding:7px}.rail-foot a{display:block;font-size:13px;margin-top:18px}.stage{padding:30px 38px 50px;flex:1;min-width:0}.stage-heading{display:flex;justify-content:space-between;color:#60756a;font-size:13px;margin:0 auto 16px;max-width:795px;gap:10px}.paper-wrap{position:relative;max-width:795px;margin:auto;background:white;box-shadow:0 10px 35px #203c3214;aspect-ratio:210/297}#paper svg{display:block;width:100%;height:auto}#hotspots{position:absolute;inset:0;pointer-events:none}.hotspot{pointer-events:auto;position:absolute;border:1px dashed transparent;background:transparent;border-radius:2px;padding:0;min-height:0}.hotspot:hover,.hotspot:focus-visible{border-color:#8dafa0;background:#335d4210}.hotspot.active{border-color:#537f69}.stage-note{text-align:center;font-size:12px;color:#718075;margin:23px 0}#mobile-edit{display:none}#editor{position:fixed;right:0;top:92px;bottom:0;width:390px;background:#fafbf8;border-left:1px solid #d2dbd0;z-index:5;box-shadow:-10px 10px 40px #203c3210;overflow:auto}body.editing main{padding-right:390px}.editor-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#fafbf8;padding:20px 24px;border-bottom:1px solid #d7dfd6;z-index:2}.editor-head small{font-size:12px;color:#60756a}.editor-head h2{font-size:20px;margin:0}#fields{padding:22px 24px 50px}label{display:block;font-size:14px;margin-bottom:17px}label input:not([type=checkbox]):not([type=range]),label select,label textarea{display:block;width:100%;margin-top:7px;border:1px solid #cbd5cd;background:white;border-radius:5px;padding:10px;color:#293c35;min-height:45px}textarea{resize:vertical;min-height:115px;line-height:1.7}input[type=checkbox]{width:18px;height:18px;accent-color:#214d40;vertical-align:middle;margin:0 8px 0 0}input[type=range]{width:100%;accent-color:#214d40}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#60756a 50%),linear-gradient(135deg,#60756a 50%,transparent 50%)!important;background-position:calc(100% - 18px) 22px,calc(100% - 13px) 22px!important;background-size:5px 5px!important;background-repeat:no-repeat!important;padding-right:30px!important}.row{display:flex;gap:12px}.row>*{flex:1;min-width:0}.group{padding:16px 0;border-bottom:1px solid #d7dfd6;margin-bottom:16px}.group h3{font-size:16px;margin:0 0 12px}.muted,.hint{font-size:13px;color:#60756a}.hint{margin-top:0}dialog{border:1px solid #d2dbd0;border-radius:12px;background:#fafbf8;color:#293c35;width:min(680px,94vw);max-height:90dvh;padding:28px}dialog::backdrop{background:#1a332b77;backdrop-filter:blur(3px)}.dialog-head{display:flex;gap:12px;justify-content:space-between;align-items:start}.dialog-head h2{font-size:22px;margin:0}.export-buttons{display:flex;gap:12px;margin:20px 0}.error{color:#a24139;font-size:14px}#issues{max-width:795px;margin:15px auto;color:#a24139;font-size:14px}#issues button{margin:4px;font-size:13px}.photo-preview{width:100%;aspect-ratio:204/170;object-fit:contain;background:#e6eee6;touch-action:none;cursor:grab}.reader{max-width:780px;margin:42px auto;padding:30px;background:#fafbf8}.reader h1{font-size:26px}.answer-card{border-top:1px solid #d7dfd6;padding:22px 0}.answer-card h2{font-size:19px}.answer-card p{white-space:pre-wrap;overflow-wrap:anywhere}.question-choice{border-bottom:1px solid #d7dfd6;padding:15px 0}.question-choice h3{font-size:15px;margin:0 0 8px}.question-choice label{margin-bottom:9px}.question-choice p{white-space:pre-wrap;font-size:14px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#214d40;color:white;padding:14px 22px;border-radius:8px;z-index:30;max-width:90vw;font-size:14px}#result img{max-width:100%;border:1px solid #d2dbd0}body.preview #hotspots{display:none}body.preview .rail{display:none}body.preview .stage{max-width:950px;margin:auto}body.preview #stage-label{font-size:13px}#public-review{background:#edf3ed;padding:15px;font-size:14px;max-height:300px;overflow:auto}#public-review p{white-space:pre-wrap;overflow-wrap:anywhere}#public-review details{border-top:1px solid #cbd5cd;margin-top:12px;padding-top:10px}@media(max-width:1250px){body.editing .rail{display:none}body.editing .stage{padding:25px}}@media(max-width:760px){.topbar{height:78px;padding:0 15px;gap:8px}.brand{font-size:17px;gap:8px}.brandmark{width:34px;height:34px;font-size:21px}.brand small{font-size:10px;letter-spacing:0}.top-actions{gap:6px}.top-actions button{padding:8px 10px;font-size:13px}#save-state{position:absolute;top:83px;left:16px;font-size:12px;z-index:1}.rail{display:none}.stage{padding:43px 12px 100px}.stage-heading{font-size:11px}.stage-heading span:first-child{max-width:76%}.stage-note{font-size:11px}#editor{top:auto;bottom:0;width:100%;height:76dvh;border-radius:18px 18px 0 0;border-top:1px solid #cbd5cd}#editor.expanded{height:95dvh}.editor-head{padding:14px 20px}#fields{padding:20px 22px 50px}body.editing main{padding-right:0}body.editing .stage{padding:43px 12px 100px}#mobile-edit{display:block;position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:3;box-shadow:0 5px 25px #214d4033}body.editing #mobile-edit{display:none}dialog{padding:22px}.export-buttons{flex-wrap:wrap}.reader{margin:20px 12px;padding:22px}input,textarea,select{font-size:16px!important}body.preview #mobile-edit{display:none}}
