body:has(.hp-editor){overflow:hidden}.hp-editor{position:fixed;inset:0;z-index:45;background:#edf2f7;color:#263c57;display:flex;flex-direction:column;font-family:"PingFang SC","Microsoft YaHei",sans-serif}.hp-top{min-height:70px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 26px;border-bottom:1px solid #e1e8f1}.hp-doc-title{display:flex;align-items:center;gap:14px;min-width:0}.hp-doc-title>div{min-width:0}.hp-doc-title b{font-size:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;max-width:38vw}.hp-doc-title small{display:block;font-size:11px;color:#90a0b3;margin-top:5px}.hp-back{border:0;background:#f1f6fb;border-radius:9px;width:30px;height:34px;font-size:26px;color:#718ba7}.hp-doc-icon{width:36px;height:40px;display:grid;place-items:center;font-size:25px;background:linear-gradient(150deg,#36aff5,#2373d9);color:#fff;border-radius:9px;box-shadow:0 4px 10px #217bc320}.hp-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hp-actions .btn{font-size:12px;padding:9px 14px;border-radius:8px}.hp-actions .tw-state{margin-right:10px}.hp-toolbar{padding:10px 24px;min-height:54px;display:flex;gap:15px;align-items:center;justify-content:space-between;background:#fafcfe;border-bottom:1px solid #dde5ef}.hp-insert,.hp-tools,.hp-view-tabs{display:flex;gap:6px;align-items:center}.hp-btn{font-family:inherit;font-size:12px;line-height:1.6;color:#647b96;border:1px solid transparent;background:transparent;border-radius:7px;padding:6px 10px;white-space:nowrap}.hp-btn:hover{background:#edf4ff;color:#2475cd;border-color:#d8e7fa}.hp-btn.primary{background:#237edf;color:#fff;border-color:#237edf}.hp-btn:focus-visible{outline:2px solid #65abef;outline-offset:2px}.hp-btn:disabled{opacity:.35;cursor:default}.hp-view-tabs{padding:2px;border:1px solid #e2eaf2;border-radius:9px}.hp-view-tabs .hp-btn{padding:4px 12px;font-size:11px}.hp-selection-tools{height:42px;flex-shrink:0;padding:6px 26px 6px 202px;display:flex;gap:7px;align-items:center;background:#fff;border-bottom:1px solid #e1e8f1}.hp-selection-tools .hp-btn{padding:3px 9px;font-size:11px}.hp-current{color:#3484c8;font-size:11px;padding-right:12px;border-right:1px solid #e0e8f2;margin-right:8px}.hp-space-count{font-size:10px;color:#8296ad}.hp-workbench{display:flex;flex:1;min-height:0;overflow:hidden}.hp-outline{width:184px;flex:none;border-right:1px solid #dde5ef;padding:22px 14px;background:#f6f9fc;overflow:auto;scrollbar-width:thin}.hp-outline header b{font-size:12px;color:#596f89;display:block}.hp-outline header{padding:0 8px 15px;border-bottom:1px solid #e4ebf3;margin-bottom:10px}.hp-page-count{font-size:10px;color:#94a3b5;display:block;margin-top:7px;line-height:1.6}.hp-outline-list button{display:flex;align-items:flex-start;gap:8px;text-align:left;width:100%;border:0;background:transparent;border-radius:8px;color:#7d90a7;padding:11px 8px;margin-bottom:3px;font-family:inherit;font-size:11px;line-height:1.7}.hp-outline-list button:hover,.hp-outline-list button.on{background:#e8f2ff;color:#2d7dd0}.hp-outline-list button>span{font-size:9px;padding-top:2px;flex:none}.hp-outline-list b{font-weight:400;max-height:38px;overflow:hidden;word-break:break-word}.hp-outline-list p{font-size:11px;line-height:1.8;color:#94a4b7}.hp-stage{flex:1;min-width:0;overflow:auto;padding:0 25px 80px;background:radial-gradient(ellipse at 50% 0,#f5f8fc,#eaf0f7);scrollbar-width:thin}.hp-pages{width:210mm;margin:0 auto;background:transparent!important}.hp-pages>.hp-sheet,.hp-pages>.hb-cover{margin:0 auto 24px;box-shadow:0 5px 28px #30567b13;border:0}.hp-pagination-note{text-align:center;color:#99a7b9;font-size:11px;margin:18px 0 16px;line-height:1.6}.hp-source{width:172mm;position:relative;visibility:hidden;pointer-events:none}.hp-end-add{display:flex;justify-content:center;gap:12px;margin-top:24px}.hp-end-add .hp-btn{border:1px dashed #b5cbe2;border-radius:8px;background:#f7fbff;color:#6f93b6;padding:12px 20px}.hp-sheet [data-hp-block]{position:relative;outline:1px solid transparent;outline-offset:7px;border-radius:2px}.hp-sheet [data-hp-block]:hover{outline-color:#e2eaf4}.hp-sheet [data-hp-block].hp-selected{outline-color:#8abbec}.hp-editable{outline:none;border-radius:2px;cursor:text;position:relative}.hp-editable[contenteditable=true]:hover{background:#edf7ff80}.hp-editable[contenteditable=true]:focus{background:#f7fbff;box-shadow:0 0 0 2px #77aeee60}.hp-editable[contenteditable=false]{cursor:default}.hp-editable:empty:before{content:attr(data-placeholder);position:absolute;font:11px/1.5 "PingFang SC",sans-serif;color:#a4b7c9;white-space:nowrap;pointer-events:none}.hp-math{cursor:pointer;display:inline;outline:1px solid transparent;outline-offset:2px;border-radius:2px;vertical-align:baseline}.hp-math[data-open="$$"],.hp-math[data-open="\\["]{display:block}.hp-math:hover,.hp-math:focus{outline-color:#60a7ee;background:#eaf5ff}.hp-math-error{font:11px sans-serif;color:#b07543;border-bottom:1px dotted #d5a675}.hp-space-handle{position:absolute;bottom:-8px;left:40%;width:20%;height:10px;padding:0;border:0;border-radius:5px;background:#bfd9f2;color:#7399c1;cursor:ns-resize;touch-action:none;opacity:0;font-size:13px;line-height:8px;letter-spacing:4px}.hp-selected>.hp-space-handle{opacity:1}.hp-drawer{width:310px;flex:none;background:#fff;border-left:1px solid #dce6f1;overflow:auto;scrollbar-width:thin}.hp-drawer[hidden]{display:none}.hp-drawer>header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;position:sticky;top:0;background:#fff;z-index:1;border-bottom:1px solid #e7edf4}.hp-drawer h3{font-size:14px;margin:0}.hp-drawer #hp-panel-body{padding:16px}.hp-drawer .hl-settings{border:0;margin:0;border-radius:0}.hp-drawer .hl-settings>summary{display:none}.hp-drawer .hl-settings-content{padding:0}.hp-drawer .hl-preset{padding:0 0 15px}.hp-drawer .tw-two{grid-template-columns:1fr;gap:0}.hp-drawer .tw-side{padding:0;background:white;border:0;position:static}.hp-drawer .tw-side #tw-side-content{max-height:none}.hp-drawer .tw-edit-pane label{display:grid;gap:7px;font-size:11px;color:#7890a9;margin:0 0 15px}.hp-drawer .tw-edit-pane .tw-check{display:flex;align-items:center}.hp-drawer input,.hp-drawer select{font-size:12px}.hp-hint{font-size:11px;line-height:1.8;color:#8c9eb1;margin:0}.hp-answer-edit h4{font-size:12px;color:#718aa4;font-weight:500;margin:20px 0 8px}.hp-answer-edit .hp-editable{font-size:13px;line-height:1.8;white-space:pre-wrap;min-height:60px;border:1px solid #dfebf5;padding:9px;overflow-wrap:anywhere}.hp-brand-preview{width:210mm;height:297mm}.hp-brand-preview .hb-cover-titles{pointer-events:none}.hp-pages .hb-running{margin:0}.hp-page-header{pointer-events:none}.hp-page-body [data-hp-field=title]{cursor:text}.hp-page-body .hb-subtitle:empty{display:none}.hp-pages .hp-overflow:before{content:'超长内容 · PDF 自动续页';position:absolute;top:64px;right:19mm;color:#b1956a;font:10px sans-serif}.hp-modal-eyebrow{font-size:11px;color:#5193d4;letter-spacing:1.5px}.hp-math-dialog>p{font-size:12px;color:#8c9fb1;line-height:1.7}.hp-math-presets{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.hp-math-presets .hp-btn{border:1px solid #dce7f1;background:#f8fbff;min-width:52px;color:#506f90}.hp-math-dialog math-field{display:block;min-height:76px;padding:16px;border:1px solid #bad5f0;border-radius:12px;font-size:25px;background:#fcfdff;--selection-background-color:#b6d9ff;--caret-color:#237edd}.hp-math-dialog math-field::part(menu-toggle){display:none}.hp-math-extra{display:flex;align-items:center;gap:8px;margin-top:10px}.hp-math-extra label{margin-left:auto;font-size:11px;color:#8296ac}.hp-math-dialog footer,.hp-bank footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:22px}.hp-math-dialog #hp-math-error{color:#bd7d46;font-size:12px;margin-top:12px}.hp-math-dialog #hp-math-keyboard{position:relative;--keyboard-zindex:1000;--keyboard-toolbar-background:#f4f8fc}.hp-bank-list{max-height:48vh;overflow:auto;margin-top:15px}.hp-bank-list>label{display:flex;align-items:flex-start;gap:15px;padding:18px 12px;border-bottom:1px solid #e7eef5;cursor:pointer}.hp-bank-list>label:has(input:checked){background:#edf6ff}.hp-bank-list input{margin-top:7px;accent-color:#2785e4}.hp-bank-list small{font-size:10px;color:#91a3b6}.hp-bank-list .tw-rich{font-size:14px;color:#364e67;margin-top:8px}.hp-bank footer>span{font-size:11px;color:#8da1b8}.mask:has(.hp-math-dialog),.mask:has(.hp-bank){z-index:100}.hp-has-panel .hp-stage{padding-left:15px;padding-right:15px}
@media(max-width:1100px){.hp-outline{display:none}.hp-selection-tools{padding-left:20px}.hp-doc-title b{max-width:30vw}.hp-toolbar{padding:8px 14px;gap:8px}.hp-insert .hp-btn,.hp-tools .hp-btn{font-size:11px;padding:5px 7px}.hp-drawer{width:275px}.hp-top{padding:12px 16px}.hp-doc-icon{display:none}}
@media(max-width:850px){.hp-toolbar{flex-wrap:wrap}.hp-tools{margin-left:auto}.hp-drawer{position:absolute;top:166px;bottom:0;right:0;z-index:5;box-shadow:-10px 0 35px #294e7318}.hp-actions .btn{padding:7px 9px;font-size:11px}.hp-actions .tw-state{display:none}.hp-selection-tools{overflow:auto;padding-left:12px}.hp-doc-title b{max-width:34vw}.hp-stage{padding:0 12px 60px}}

.hp-view-tabs .hp-btn[aria-current=page]{background:#e8f2ff;color:#287bc8}.hp-editor[aria-busy=true] .hp-workbench,.hp-editor[aria-busy=true] .hp-toolbar,.hp-editor[aria-busy=true] .hp-selection-tools{pointer-events:none;opacity:.7}
/* One control system for the document workspace and its dialogs. */
:is(.hp-editor,.hp-bank,.hp-math-dialog) input:is([type=checkbox],[type=radio]){appearance:none;-webkit-appearance:none;width:17px;height:17px;min-height:17px;flex:0 0 17px;padding:0;margin:0;border:1.5px solid #bdcddd;border-radius:5px;background:#fff;display:inline-grid;place-content:center;vertical-align:middle;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s;box-shadow:0 1px 2px #25476b08}
:is(.hp-editor,.hp-bank,.hp-math-dialog) input:is([type=checkbox],[type=radio]):hover{border-color:#6aa5e4;box-shadow:0 0 0 3px #348de510}
:is(.hp-editor,.hp-bank,.hp-math-dialog) input:is([type=checkbox],[type=radio]):checked{background:#2a83df;border-color:#2a83df;box-shadow:0 2px 5px #267ad62a}
:is(.hp-editor,.hp-bank,.hp-math-dialog) input[type=checkbox]:checked:after{content:'';width:8px;height:4px;border:solid white;border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg)}
:is(.hp-editor,.hp-bank,.hp-math-dialog) input[type=radio]{border-radius:50%}
:is(.hp-editor,.hp-bank,.hp-math-dialog) input[type=radio]:checked:after{content:'';width:6px;height:6px;border-radius:50%;background:white}
:is(.hp-editor,.hp-bank,.hp-math-dialog) input:is([type=checkbox],[type=radio]):focus-visible{outline:2px solid #76afea;outline-offset:3px}
:is(.hp-editor,.hp-bank,.hp-math-dialog) input:is([type=checkbox],[type=radio]):disabled{opacity:.5;cursor:default}
.hp-drawer select,.hp-bank select{appearance:none;padding-right:30px;background:#f8fbff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%237a95b2' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center;color:#506983;border:1px solid #dce7f2;border-radius:9px;min-height:39px}
.hp-drawer :is(input:not([type=checkbox],[type=radio],[type=color],[type=file]),textarea){background:#fbfdff;border:1px solid #dce7f2;border-radius:9px;padding:10px 12px;color:#425e79;outline:none;transition:border-color .15s,box-shadow .15s}
.hp-drawer :is(input,select,textarea):focus-visible{border-color:#78afe6;box-shadow:0 0 0 3px #3a92e812}
.hp-drawer input[type=color]{width:100%;height:36px;border:1px solid #dce7f2;border-radius:8px;padding:5px;background:#fff}
.hp-math-extra label{display:flex;align-items:center;gap:8px}.hp-bank-list>label{border:1px solid #e2eaf3;border-radius:11px;margin-bottom:9px;transition:border-color .15s,background .15s}.hp-bank-list>label:hover{border-color:#b6d5f4;background:#f8fbff}.hp-bank-list>label:has(input:checked){border-color:#82b7ed;background:#f0f7ff}.hp-bank-list input{margin-top:6px}
.hp-drawer .hp-font-choice{border:0;padding:0;margin:0 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.hp-font-choice legend{font-size:11px;color:#7890a9;margin-bottom:10px}.hp-drawer .hp-font-choice label{border:1px solid #dfe8f2;padding:12px 10px;border-radius:10px;display:flex;align-items:center;gap:9px;margin:0;background:#fbfdff;cursor:pointer}.hp-drawer .hp-font-choice label:has(input:checked){border-color:#85b7e9;background:#edf6ff}.hp-font-choice b{font-size:12px;font-weight:500;color:#4c6d8e;display:block}.hp-font-choice small{font-size:9px;color:#8ca1b7;display:block;margin-top:2px}
.hp-audit-state{display:flex;gap:11px;padding:14px;border-radius:12px;background:#eef8f5;color:#3a8d76;margin-bottom:22px;align-items:flex-start}.hp-audit-state>span{display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:50%;background:#d9efe6;font-size:15px}.hp-audit-state b{font-size:12px}.hp-audit-state p{font-size:10px;line-height:1.7;margin:4px 0 0;color:#6a9c8d}.hp-audit-state.warning{background:#fff8eb;color:#a78545}.hp-audit-state.warning>span{background:#f9edcf}.hp-audit-state.warning p{color:#b29763}.hp-audit-state.error{background:#fff2ee;color:#b56f5d}.hp-audit-state.error>span{background:#f6ded5}.hp-audit-state.error p{color:#b88676}.hp-type-rules{padding-bottom:14px;border-bottom:1px solid #e7edf5;margin-bottom:18px}.hp-type-rules h4{font-size:12px;font-weight:500;margin:0 0 13px}.hp-type-rules p{display:flex;justify-content:space-between;gap:12px;font-size:10px;margin:10px 0;color:#95a5b7}.hp-type-rules b{color:#64819e;font-weight:400}.hp-audit-list>button{display:block;width:100%;border:1px solid #e3eaf3;background:#fff;border-radius:10px;text-align:left;padding:12px;margin-bottom:10px;cursor:pointer}.hp-audit-list>button:hover{background:#f8fbff;border-color:#b4d2ef}.hp-audit-list>button>span{display:inline-block;font-size:9px;border-radius:4px;background:#fff7e8;color:#b29155;padding:3px 5px;margin-bottom:8px}.hp-audit-list>button.error>span{background:#fff0ea;color:#bc806b}.hp-audit-list b{display:block;font-size:11px;color:#58738f;font-weight:500}.hp-audit-list p{font-size:11px;line-height:1.8;color:#8a9bb0;margin:6px 0}.hp-audit-list small{font-size:10px;color:#5995cc}.hp-normalize{padding:12px;background:#f5f9ff;border-radius:10px;margin:18px 0}.hp-normalize p{font-size:10px;line-height:1.8;color:#8ba0b5;margin:0 0 10px}.hp-audit-note{padding-top:18px;margin-top:16px;border-top:1px solid #e7edf4}
