@font-face{font-family:'仿宋_GB2312';src:url('fonts/fangsong-gb2312.woff2') format('woff2');font-display:block}
@font-face{font-family:'FangSong_GB2312';src:url('fonts/fangsong-gb2312.woff2') format('woff2');font-display:block}
@font-face{font-family:'仿宋';src:url('fonts/fangsong.woff2') format('woff2');font-display:block}
@font-face{font-family:'FangSong';src:url('fonts/fangsong.woff2') format('woff2');font-display:block}
@font-face{font-family:'楷体_GB2312';src:url('fonts/kaiti-gb2312.woff2') format('woff2');font-display:block}
@font-face{font-family:'KaiTi_GB2312';src:url('fonts/kaiti-gb2312.woff2') format('woff2');font-display:block}
@font-face{font-family:'方正小标宋简体';src:url('fonts/xiaobiaosong.woff2') format('woff2');font-display:block}
@font-face{font-family:'FZXiaoBiaoSong-B05S';src:url('fonts/xiaobiaosong.woff2') format('woff2');font-display:block}
@font-face{font-family:'Times New Roman';src:url('fonts/times.woff2') format('woff2');font-display:block}
:root{--ink:#173b34;--green:#174d43;--green-light:#edf4f0;--muted:#78837d;--line:#dee4de;--paper:#fff;--bg:#f5f6f2;--gold:#bd9559;--red:#a34237;font-family:Inter,'PingFang SC','Microsoft YaHei',system-ui,sans-serif;color:#243b34;background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #ba9559;outline-offset:3px}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.topbar{height:88px;padding:0 max(5vw,24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fffdf9}.brand{display:flex;align-items:center;gap:13px}.brand-symbol{display:grid;place-items:center;width:43px;height:47px;background:var(--green);color:white;border-radius:11px 11px 11px 2px;font-family:serif;font-size:25px}.brand strong{font-size:18px;letter-spacing:1px}.brand small{display:block;font-size:11px;letter-spacing:2px;color:var(--muted);margin-top:5px}.identity-button{display:flex;align-items:center;gap:9px;font-size:13px;border:1px solid var(--line);padding:10px 15px;border-radius:24px}.status-dot{width:6px;height:6px;background:#adb6af;border-radius:50%}.identity-button.unlocked .status-dot{background:#2f876b}main{max-width:1380px;padding:0 48px;margin:auto}.welcome{display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center;padding:77px 32px 72px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:650;display:flex;align-items:center;gap:9px}.eyebrow>span{width:6px;height:6px;background:var(--gold);border-radius:50%}h1,h2,p{margin:0}.welcome h1{font-weight:500;font-size:42px;line-height:1.5;letter-spacing:2px;margin:22px 0 18px}.welcome-copy>p{font-size:14px;line-height:2;color:#7a847c}.privacy-line{margin-top:32px;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--green)}.privacy-line svg{width:18px;height:18px}.import-card{background:#fff;border:1px solid #e0e6df;border-radius:18px;padding:32px 40px 24px;box-shadow:0 15px 45px #173b3405;display:flex;flex-direction:column;align-items:center;position:relative}.import-card.dragover{outline:3px solid var(--gold)}.file-icon{display:grid;place-items:center;width:70px;height:70px;background:var(--green-light);border-radius:19px;margin-bottom:21px;color:var(--green)}.file-icon svg{height:39px;width:35px}.import-card h2{font-size:20px;font-weight:550}.import-card p{color:var(--muted);font-size:12px;text-align:center;line-height:1.9;margin:12px 0 24px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:43px;border-radius:7px;padding:11px 16px;font-size:13px;font-weight:550;transition:background .15s}.primary{color:white;background:var(--green);border:1px solid var(--green)}.primary:hover{background:#226354}.secondary{border:1px solid var(--line);background:#fff}.secondary:hover{background:#f0f4ef}.large{font-size:14px;min-height:48px;width:100%;justify-content:space-between}.text-button{font-size:12px;color:var(--green);padding:9px 0}.import-card>.text-button{margin-top:12px}.history-section{border-top:1px solid var(--line);padding:28px 0 20px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-heading h2{font-weight:550;font-size:19px;margin-top:9px}.section-heading h2 span{color:var(--muted);font-size:13px;margin-left:8px}.history-list{display:grid;gap:10px}.history-empty{border:1px dashed #d8e0d8;border-radius:9px;padding:28px;color:#929c94;text-align:center;font-size:13px}.history-row{background:white;border:1px solid var(--line);border-radius:9px;padding:14px 17px;display:flex;align-items:center;gap:14px}.history-row>div{flex:1;min-width:0}.history-row strong{font-size:13px;font-weight:550;display:block;overflow-wrap:anywhere}.history-row small{color:var(--muted);display:block;margin-top:5px;font-size:11px}.storage-note,.small-note{color:var(--muted);font-size:11px;line-height:1.8}.storage-note{margin-top:14px}footer{display:flex;gap:22px;justify-content:space-between;align-items:center;padding:20px 0 26px;font-size:10px;color:#919a92}footer .text-button{font-size:11px}.workspace{padding:30px 0 40px}.document-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.document-heading h1{font-size:21px;font-weight:550;margin:8px 0;overflow-wrap:anywhere;max-width:760px}.document-heading p{font-size:11px;color:var(--muted)}.heading-actions{display:flex;gap:8px;flex-shrink:0}.review-grid{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:22px;align-items:start}.paper-panel{border:1px solid var(--line);background:#e9ede7;border-radius:12px;overflow:hidden;position:sticky;top:12px}.paper-toolbar{background:white;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.paper-toolbar>div{display:flex;gap:5px;align-items:center}.paper-toolbar button{padding:5px 8px;background:#f3f5f0;border-radius:5px;min-height:32px}.mode-bar{display:flex;gap:6px;padding:9px 12px 0}.mode-bar button{font-size:11px;padding:8px 10px;min-height:34px;border-radius:6px}.mode-bar button.active{background:white;color:var(--green);box-shadow:0 1px 3px #0001}.mode-hint{padding:8px 15px;font-size:10px;color:#78837b;line-height:1.6}.paper-scroll{overflow:auto;max-height:calc(100vh - 240px);padding:12px 16px 28px;min-height:250px;overscroll-behavior:contain}#pages{display:flex;flex-direction:column;align-items:center;gap:18px;min-width:100%}.page-shell{position:relative;flex-shrink:0;background:white;box-shadow:0 3px 14px #1d372218}.page-content{position:absolute;left:0;top:0;transform-origin:top left;isolation:isolate;background:white}.page-content>section.docx{margin:0!important;box-shadow:none!important;position:relative!important;box-sizing:border-box!important;overflow:hidden;background:white}.page-content>section.docx article{min-height:0!important}.page-content>canvas{display:block;width:100%;height:100%}.page-overlay{position:absolute;inset:0;z-index:10;pointer-events:none}.page-overlay.interactive{pointer-events:auto;cursor:crosshair}.note-pin{position:absolute;display:grid;place-items:center;min-width:26px;height:26px;border-radius:50%;transform:translate(-50%,-50%);background:#b95034;color:white;font:600 12px system-ui;box-shadow:0 1px 5px #0003;pointer-events:auto}.signature-image{position:absolute;pointer-events:none;object-fit:contain}.signature-label{position:absolute;color:#56675e;font:10px system-ui;white-space:nowrap}.page-number{position:absolute;right:7px;bottom:5px;font-size:9px;color:#a5aea5;pointer-events:none}.review-sidebar{display:grid;gap:16px}.panel{background:white;border:1px solid var(--line);border-radius:11px;padding:20px}.panel-heading{display:flex;gap:8px;align-items:center;justify-content:space-between}.panel h2{font-size:15px;font-weight:600}.panel-heading .muted{font-size:10px}.pill{font-size:10px;white-space:nowrap;border-radius:12px;padding:5px 8px;background:var(--green-light);color:var(--green)}.section-caption{font-size:11px;color:var(--muted);line-height:1.8;margin:8px 0 14px}.summary-strip{display:flex;gap:7px;margin-bottom:14px;font-size:11px;color:#62766b}.summary-strip>span{background:#f3f5ef;padding:7px;border-radius:5px}.issue{padding:13px 0;border-top:1px solid #edf0eb}.issue-title{font-size:12px;line-height:1.7;display:flex;gap:8px;align-items:start}.issue-title .bullet{flex-shrink:0;color:#b36f32;font-weight:bold}.issue.info .bullet{color:var(--green)}.issue .ack{margin-top:7px}.issue input{width:100%;font-size:11px;padding:8px;border:1px solid var(--line);border-radius:5px;background:#fffdf8}.issue.resolved .bullet{color:#558b65}.issue .text-button{font-size:10px;padding:6px 0}.rule-reference{font-size:11px;border-top:1px solid var(--line);padding-top:14px;margin-top:8px;color:var(--muted)}.rule-reference summary{cursor:pointer}.rule-reference strong{display:block;color:var(--ink);margin:12px 0 5px}.rule-reference p{line-height:1.8}.field{display:block;font-size:12px;font-weight:500;margin:16px 0}.field input:not([type=range]),.field select,.field textarea{display:block;width:100%;margin-top:8px;border:1px solid #d7dfd7;background:#fafbf8;border-radius:7px;padding:11px;color:#283b31;outline-color:var(--green)}textarea{resize:vertical;line-height:1.7;max-height:320px}input[type=range]{width:100%;accent-color:var(--green)}.note-item{padding:10px 0;border-top:1px solid #edf0eb;font-size:12px;line-height:1.7}.note-item header{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px}.note-item p{white-space:pre-wrap;overflow-wrap:anywhere}.note-empty{font-size:11px;color:var(--muted);padding:12px 0}.danger{color:var(--red)}.muted{color:var(--muted)}.check-label{display:flex;gap:9px;font-size:12px;line-height:1.8;align-items:start;margin:16px 0}.check-label input{margin-top:4px;accent-color:var(--green);width:16px;height:16px;flex-shrink:0}.export-actions{display:grid;gap:9px}.export-panel .small-note{text-align:center;margin-top:7px}.full{width:100%;margin-top:10px}.notice{padding:10px 12px;background:var(--green-light);font-size:12px;line-height:1.7;border-radius:6px}.warning{background:#fff2dd;color:#8b5b20;margin:8px 12px}.mobile-tabs{display:none}dialog{width:min(92vw,470px);border:1px solid var(--line);border-radius:16px;padding:25px;color:var(--ink);max-height:88dvh;overflow:auto;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#153b3466;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.dialog-heading h2{font-size:19px;font-weight:550}.close{font-size:25px;width:33px;height:33px;background:#f2f4ef;border-radius:50%;line-height:1}.dialog-actions{display:flex;gap:10px;margin-top:19px}.dialog-actions>*{flex:1}.identity-tools{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:20px;padding-top:8px}.error-text{color:var(--red);font-size:12px}.help-list{padding-left:20px;font-size:13px;line-height:1.9}.help-list li{margin:10px 0}#helpDialog>p{font-size:12px;color:var(--muted);line-height:1.9;margin:12px 0}#confirmText,#downloadDescription{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}#toast{position:fixed;z-index:1500;left:50%;bottom:30px;transform:translateX(-50%);max-width:90vw;border-radius:9px;background:#173b34;color:white;padding:13px 20px;font-size:13px;box-shadow:0 4px 18px #0002}.busy-overlay{position:fixed;inset:0;z-index:1400;background:#f4f6f0dd;display:grid;place-items:center;backdrop-filter:blur(3px)}.busy-overlay>div{text-align:center;padding:25px}.busy-overlay strong{display:block;font-size:17px;margin:19px 0 10px}.busy-overlay p{font-size:12px;color:var(--muted)}.spinner{display:inline-block;width:35px;height:35px;border:2px solid #d8e2d7;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1400px){.welcome{padding-top:90px;padding-bottom:90px}.welcome h1{font-size:46px}}
@media(max-width:1020px){main{padding:0 24px}.welcome{padding:50px 0;gap:35px}.welcome h1{font-size:33px}.import-card{padding:28px 24px 18px}.review-grid{grid-template-columns:minmax(0,1fr) 310px;gap:14px}.panel{padding:17px}}
@media(max-width:760px){.topbar{height:74px;padding:0 18px}.brand{gap:10px}.brand-symbol{width:35px;height:39px;font-size:22px}.brand strong{font-size:14px;letter-spacing:.5px}.brand small{font-size:9px;letter-spacing:1px}.identity-button{font-size:11px;padding:9px 10px;gap:6px}main{padding:0 18px}.welcome{grid-template-columns:1fr;padding:34px 0 32px;gap:28px}.welcome h1{font-size:31px;line-height:1.45;margin:17px 0 14px}.welcome-copy>p{font-size:12px;line-height:1.9}.privacy-line{margin-top:18px;font-size:11px}.eyebrow{font-size:9px;letter-spacing:1.4px}.import-card{padding:23px 24px 16px}.file-icon{height:52px;width:52px;border-radius:14px;margin-bottom:15px}.file-icon svg{height:31px}.import-card h2{font-size:17px}.import-card p{font-size:11px;margin:10px 0 18px}.history-section{padding-top:22px}.section-heading h2{font-size:17px}.history-row{flex-wrap:wrap;padding:12px;gap:9px}.history-row>div{flex-basis:65%}.history-row .text-button{font-size:11px}footer{gap:10px;flex-wrap:wrap;font-size:9px;padding-top:15px}.workspace{padding-top:22px}.document-heading{display:block;margin-bottom:16px}.document-heading h1{font-size:17px;line-height:1.7}.heading-actions{margin-top:13px}.heading-actions .secondary{font-size:11px;min-height:34px;padding:7px 12px}.mobile-tabs{display:grid;grid-template-columns:1fr 1fr 1.15fr;background:#e9eee7;padding:4px;border-radius:8px;margin-bottom:14px;gap:3px}.mobile-tabs button{font-size:11px;padding:10px 4px;border-radius:6px;min-height:37px}.mobile-tabs button.active{background:white;box-shadow:0 1px 4px #173b3410}.mobile-tabs span{font-size:9px}.review-grid{display:block}.paper-panel{position:static}.paper-scroll{max-height:72dvh;padding:12px 10px 20px}.review-sidebar{gap:12px}.review-grid[data-mobile-view=document] .review-sidebar{display:none}.review-grid[data-mobile-view=checks] .paper-panel,.review-grid[data-mobile-view=checks] .notes-panel,.review-grid[data-mobile-view=checks] .export-panel{display:none}.review-grid[data-mobile-view=notes] .paper-panel,.review-grid[data-mobile-view=notes] .checks-panel{display:none}.paper-toolbar{padding:10px 12px;font-size:11px}.paper-toolbar button{font-size:11px;padding:5px 7px}.panel{padding:18px}.export-actions{grid-template-columns:1fr 1.2fr}.check-label{font-size:12px}.desktop-only{display:none}.issue-title{font-size:13px}.field input:not([type=range]),.field select,.field textarea,#passcode,#confirmPasscode{font-size:16px}.issue input{font-size:14px}dialog{padding:22px}.workspace+.history-section{margin-top:0}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition:none!important}}

/* Use the same explicit advances in mobile preview and PDF capture. */
section.docx,section.docx *{text-autospace:no-autospace}

.reference-table{width:100%;border-collapse:collapse;font-size:12px;margin:12px 0}.reference-table th,.reference-table td{text-align:left;padding:7px 5px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.reference-table th{color:var(--muted);font-weight:500}
