*{box-sizing:border-box}body{margin:0;color:#252435;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:#f5f6fa;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer;background:white;border:1px solid #e3e3ec;border-radius:8px;padding:9px 14px;color:#454352;transition:background .15s,box-shadow .15s}button:hover{background:#f3f1ff}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #baadff;outline-offset:2px}header{height:80px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e5ed;background:white;gap:20px}.brand{display:flex;gap:12px;align-items:center;white-space:nowrap}.brand strong{font-size:21px;letter-spacing:-.6px}.mark{display:grid;place-items:center;background:#6447e8;color:white;width:40px;height:40px;border-radius:12px;font-size:24px;font-weight:800;position:relative}.mark span{position:absolute;right:5px;top:1px;font-size:14px}.beta{font-size:10px;letter-spacing:1px;background:#eeeaff;color:#725be4;padding:4px 6px;border-radius:4px}.head-actions{display:flex;align-items:center;gap:10px}#saved{font-size:12px;color:#90909f;margin-right:10px}.primary{background:#6447e8;color:white;border-color:#6447e8;font-weight:600;box-shadow:0 3px 8px #6447e820}.primary:hover{background:#5337d7}main{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:22px;padding:26px 28px;height:calc(100dvh - 80px);min-height:660px}.workspace{min-width:0;display:flex;flex-direction:column}.workspace-top{display:flex;align-items:center;justify-content:space-between;padding:0 0 22px;gap:15px}.eyebrow{font-size:10px;letter-spacing:2.1px;color:#9692aa;margin-bottom:9px;font-weight:600}#title{background:transparent;border:0;font-size:23px;font-weight:650;color:#282535;width:100%;min-width:340px;padding:0}.subtle{background:transparent;border:0;color:#777387;font-size:13px}.edit-grid{display:grid;grid-template-columns:1fr 1fr;flex:1;min-height:0;border:1px solid #dedee9;background:white;border-radius:14px;overflow:hidden;box-shadow:0 5px 24px #30304804}.editor-pane,.preview-pane{min-width:0;display:flex;flex-direction:column;min-height:0}.editor-pane{border-right:1px solid #e4e4ec}.pane-bar{display:flex;justify-content:space-between;align-items:center;height:53px;flex-shrink:0;padding:0 18px;border-bottom:1px solid #e9e9f0;gap:8px}.pane-bar strong{font-size:14px;white-space:nowrap}.pane-bar>span{font-size:11px;color:#a4a1b0}.tiny-icon{color:#918baf;margin-right:7px}select{padding:4px;border:1px solid #e5e3ed;border-radius:6px;color:#7b758b;background:white;font-size:12px}.format-bar{display:flex;gap:6px;padding:9px 15px;border-bottom:1px solid #f0eef4}.format-bar button{border:0;padding:5px 8px;font-size:13px;border-radius:4px;background:transparent}#source{flex:1;min-height:340px;resize:none;border:0;padding:22px 24px;line-height:1.95;color:#575369;background:#fff;font-family:ui-monospace,"SFMono-Regular",Consolas,"PingFang SC",monospace;font-size:14px;tab-size:2}#source:focus{outline:none;box-shadow:inset 3px 0 #d5caff}.editor-bottom{display:flex;justify-content:space-between;padding:12px 20px;border-top:1px solid #f0eef4;color:#9691a5;font-size:12px}.preview-scroll{overflow:auto;flex:1;padding:16px 14px 28px;background:#f0f1f6}.preview-caption{text-align:center;font-size:11px;color:#a09bae;margin-bottom:14px}.phone-page{width:390px;max-width:100%;margin:auto;background:white;padding:25px 22px 34px;box-shadow:0 3px 14px #30304608;border-radius:2px}.publication{display:flex;justify-content:space-between;font-size:10px;color:#a8a3b6;letter-spacing:.7px;margin-bottom:22px}article{overflow-wrap:anywhere}article>*:first-child{margin-top:0!important}.preview-note{text-align:center;font-size:11px;color:#a39db3;margin-top:18px;line-height:1.6}.bottom-bar{display:flex;align-items:center;justify-content:space-between;padding:15px 2px 0;color:#9993aa;font-size:12px}.bottom-bar button{border:0;background:transparent;font-size:12px;padding:0;color:#777089}#issuesCount{display:inline-grid;place-items:center;border-radius:5px;background:#e9e6f3;color:#746699;min-width:20px;height:19px;margin-left:4px}aside{background:white;border:1px solid #e1e1ec;border-radius:14px;padding:23px 20px;overflow:auto}.settings-heading h2{font-size:17px;margin:0 0 6px}.settings-heading>span{font-size:12px;color:#aaa5b7}.themes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.theme{padding:5px;border-radius:9px;border:1px solid #e5e3ed;background:white;text-align:left}.theme.active{border:2px solid #7657ed;padding:4px;box-shadow:0 0 0 3px #7657ed0b}.theme-art{height:99px;border-radius:5px;padding:12px 8px;overflow:hidden;display:flex;flex-direction:column;background:#f1effa}.theme-art span{font-size:6px;letter-spacing:.5px;margin-bottom:7px;color:#7667a4}.theme-art b{font-size:12px;font-weight:700;margin-bottom:9px}.theme-art i{height:2px;background:#d8d3e9;margin-bottom:5px;width:94%;display:block}.theme-art i:last-child{width:66%}.warm{background:#faf2e9;color:#8d5844}.warm span{color:#a88465}.warm i{background:#e6daca}.guide{background:#eef5ff;color:#2563bd}.guide span{color:#567db5}.guide i{background:#cddcee}.minimal{background:#f4f4f4;color:#303030}.minimal span{color:#7a7a7a}.minimal i{background:#d9d9d9}.theme-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:10px 4px 6px}.theme-label span{visibility:hidden;color:#6447e8}.theme.active .theme-label span{visibility:visible}.settings-section{border-top:1px solid #eeedf4;margin-top:24px;padding-top:20px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}h3{margin:0;font-size:14px}.text-button{padding:0;border:0;color:#9c95ad;background:transparent;font-size:12px}.setting-label{display:flex;justify-content:space-between;align-items:center;color:#787185;font-size:13px;margin-bottom:10px}.setting-label output{font-size:12px;color:#514b63;background:#f5f3fa;padding:3px 7px;border-radius:4px}input[type=range]{width:100%;height:4px;accent-color:#7558eb;margin:0 0 21px;cursor:pointer}input[type=color]{padding:2px;border:1px solid #ddd7ec;border-radius:5px;width:37px;height:25px;cursor:pointer}.options label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#756e83;margin:0 0 17px;gap:5px}.options input{accent-color:#6447e8;width:17px;height:17px}.options textarea{width:100%;min-height:90px;border:1px solid #e5dff1;resize:vertical;border-radius:6px;font-size:12px;line-height:1.7;padding:8px}.html-button{width:100%;background:#f8f7fc;color:#766d8c;font-size:12px}.privacy{text-align:center;color:#aba5b7;font-size:11px;line-height:1.8;margin-top:17px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(25px);opacity:0;pointer-events:none;background:#282238;color:#fff;padding:13px 22px;border-radius:10px;box-shadow:0 8px 30px #25203025;transition:.2s;max-width:90%;font-size:14px;z-index:10}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}dialog{border:0;border-radius:16px;padding:25px;width:470px;max-width:90%;color:#51485f;box-shadow:0 20px 90px #22172d30}dialog::backdrop{background:#28213750}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-size:19px;margin:0}.dialog-head button{border:0;font-size:22px;padding:0 5px}#reportbody{line-height:1.9;font-size:14px;margin:22px 0}#reportdone{width:100%}@media(min-width:1600px){main{max-width:none;margin:0}.phone-page{margin-top:5px}}
@media(min-width:1900px){main{grid-template-columns:minmax(0,1fr) 340px;gap:26px}.themes .theme-art{height:108px}}@media(max-width:1150px){header{padding:0 18px}.brand strong{font-size:18px}#saved{display:none}main{padding:20px 18px;gap:15px;grid-template-columns:minmax(0,1fr) 250px}aside{padding:18px 14px}#title{font-size:20px;min-width:0}.pane-bar>span{display:none}.phone-page{padding:22px 18px}#source{padding:18px 16px}.format-bar{gap:1px}.theme-art b{font-size:11px}}@media(max-width:850px){header{height:auto;min-height:75px;flex-wrap:wrap;padding:16px;gap:14px}.head-actions{width:100%;justify-content:flex-end}.head-actions button{font-size:12px;padding:8px 10px}main{height:auto;min-height:0;grid-template-columns:1fr;padding:18px 14px}.workspace-top{padding-bottom:17px}.edit-grid{min-height:640px}.preview-scroll{max-height:620px}aside{overflow:visible}.themes{grid-template-columns:repeat(4,1fr)}.settings-section{margin-top:20px}.setting-label{max-width:500px}input[type=range]{max-width:500px;display:block}.options label{max-width:500px}.html-button{max-width:300px}.privacy{text-align:left}}@media(max-width:520px){.brand strong{font-size:18px}.workspace-top{align-items:flex-start}#title{font-size:17px;line-height:1.5}.subtle{font-size:12px;padding:2px;white-space:nowrap}.edit-grid{grid-template-columns:1fr}.editor-pane{border-right:0;border-bottom:1px solid #ddd8e7}#source{min-height:320px;max-height:400px}.preview-scroll{max-height:none}.bottom-bar>span{font-size:10px}.themes{grid-template-columns:1fr 1fr}.theme-art b{font-size:13px}.head-actions{justify-content:space-between}.phone-page{max-width:100%;padding:24px 18px}}
 .format-bar{flex-wrap:wrap}#normalize{margin-left:auto;color:#7657d5;background:#f4f0ff;font-size:12px}
/* Keep the working controls visible; only the content surfaces scroll. */
:root{--header-height:80px}
header{position:sticky;top:0;z-index:30;flex-shrink:0}
.workspace-top,.pane-bar,.format-bar,.editor-bottom,.bottom-bar{flex-shrink:0}
.preview-scroll,#source,aside{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cfc7df transparent}
@media(min-width:851px){
 body{height:100dvh;overflow:hidden}
 main{height:calc(100dvh - var(--header-height));min-height:0;overflow:hidden}
 .workspace{height:100%;min-height:0}
 .edit-grid{min-height:0}
 #source{min-height:0;overflow:auto}
 .preview-scroll{min-height:0;overflow:auto}
 aside{position:sticky;top:0;height:100%;max-height:100%;min-height:0;overflow:auto}
}
@media(max-width:850px){
 body{overflow:visible;height:auto}
 header{box-shadow:0 2px 12px #28223808}
 .edit-grid{overflow:visible}
 .pane-bar{position:sticky;top:var(--header-height);z-index:20;background:white}
 .format-bar{position:sticky;top:calc(var(--header-height) + 53px);z-index:19;background:white}
 aside{max-height:calc(100dvh - var(--header-height) - 28px);overflow:auto;overscroll-behavior:contain}
}
/* The viewport is the shell at every breakpoint, including embedded views. */
html{height:100%;overflow:hidden}
body{height:100dvh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}
header{position:relative;top:auto;height:auto;min-height:80px}
main{height:auto;min-height:0;max-height:100%;overflow:hidden;grid-template-rows:minmax(0,1fr)}
.workspace{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.edit-grid{height:100%;min-height:0;overflow:hidden;grid-template-rows:minmax(0,1fr)}
.editor-pane,.preview-pane{height:100%;min-height:0;overflow:hidden}
.pane-bar,.format-bar{position:relative;top:auto;z-index:auto}
#source{height:0;min-height:0;max-height:none;flex:1 1 0;overflow:auto;white-space:pre-wrap;overflow-wrap:break-word}
.preview-scroll{height:0;min-height:0;max-height:none;flex:1 1 0;overflow:auto}
aside{position:relative;top:auto;height:100%;min-height:0;max-height:100%;overflow:auto}
.workspace-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.sync-control{display:flex;align-items:center;gap:5px;font-size:12px;color:#81768f;white-space:nowrap}.sync-control input{accent-color:#6447e8;width:15px;height:15px}
#settings-toggle{display:none;font-size:12px;padding:6px 9px}
.source-mirror{position:fixed;top:0;left:-100000px;visibility:hidden;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;pointer-events:none;box-sizing:border-box}
article [data-source-start]{cursor:pointer}article .linked-highlight{outline:2px solid #b7a2ff;outline-offset:5px;border-radius:3px}
@media(max-width:1150px){.workspace-actions{gap:4px}.workspace-top{gap:8px}#title{font-size:18px}}
@media(max-width:850px){
 header{min-height:0;padding:10px 14px;gap:9px}.mark{width:32px;height:32px;font-size:20px}.brand strong{font-size:17px}.head-actions{gap:6px}.head-actions button{padding:6px 9px}
 main{grid-template-columns:minmax(0,1fr);padding:12px;gap:0}.workspace-top{padding-bottom:12px}.eyebrow{display:none}#title{font-size:17px}.edit-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #settings-toggle{display:block}aside{display:none;position:fixed;top:calc(var(--header-height) + 8px);right:12px;bottom:12px;width:280px;height:auto;max-height:none;z-index:40;box-shadow:0 12px 60px #32264d30}.settings-open aside{display:block}.themes{grid-template-columns:1fr 1fr}.privacy{text-align:center}
 .bottom-bar{padding-top:9px}.pane-bar{padding:0 10px;height:44px}.format-bar{padding:6px 8px}.format-bar button{font-size:12px;padding:3px 6px}#source{font-size:13px;padding:14px}.preview-scroll{padding:12px 8px}.phone-page{padding:20px 14px}
}
@media(max-width:520px){
 .workspace-top{flex-wrap:wrap;gap:8px}.workspace-top>div:first-child{width:100%}.workspace-actions{width:100%;justify-content:space-between}.edit-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr)}
 .editor-pane{border-right:0;border-bottom:1px solid #dedee9}.editor-bottom{display:none}.preview-caption{margin-bottom:7px}.preview-note{font-size:10px}.bottom-bar>span{font-size:10px}.pane-bar{height:35px}.format-bar{padding:4px 8px}header .beta{display:none}
}

#source,.preview-scroll{scroll-behavior:auto;overflow-anchor:none}
.source-mirror{contain:layout style paint}

.heading-section .section-title{margin-bottom:6px}.heading-help{font-size:11px;color:#aaa1b5;margin:0 0 14px;line-height:1.6}.heading-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.heading-choice{padding:11px 8px 8px;text-align:left;min-height:83px;border:1px solid #e5e0ed;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.heading-choice.selected{border-color:#7657ed;background:#faf8ff;box-shadow:0 0 0 1px #7657ed}.heading-demo{color:#6447e8;font-size:12px;font-weight:700;display:block;line-height:1.7}.heading-name{font-size:11px;color:#8a809a;font-weight:400}.demo-rail{border-left:3px solid #6447e8;padding-left:7px}.demo-underline{border-bottom:2px solid #6447e860;padding-bottom:4px}.demo-card{background:#6447e810;border:1px solid #6447e826;border-radius:4px;padding:4px 6px}.demo-number{font-size:11px;white-space:nowrap}.demo-number i{font-size:9px;font-style:normal;background:#6447e8;color:white;padding:3px 4px;border-radius:3px;margin-right:4px}.demo-center{text-align:center;border-top:1px solid #6447e840;border-bottom:1px solid #6447e840;padding:4px 0}.demo-double{border-bottom:4px double #6447e870;padding-bottom:3px}.heading-section .text-button.selected{color:#6447e8}.heading-section .text-button:focus-visible{outline:2px solid #baadff}

.heading-name{font-size:14px}.heading-demo{font-size:14px}.demo-number{font-size:12px}

.featured-headings{display:grid;grid-template-columns:1fr 1fr;gap:10px}.featured-heading{padding:13px 9px 11px;display:flex;flex-direction:column;gap:4px;text-align:left;border:1px solid #e3dfec;border-radius:9px;background:white;min-height:142px;overflow:hidden}.featured-heading:hover{border-color:#aa97ee;background:#fcfbff}.featured-heading.selected{border:2px solid #7657ed;padding:12px 8px 10px;background:#faf8ff;box-shadow:0 0 0 3px #7657ed0a}.feature-preview{height:64px;display:flex;align-items:center;margin-bottom:8px;color:#5540a8}.feature-preview b{font-size:12px;line-height:1.6;letter-spacing:-.3px}.feature-name{font-size:14px;font-weight:650;color:#43374f}.feature-desc{font-size:10px;color:#a397af;line-height:1.6}.feature-tech{display:block;border-top:3px solid #292336;border-bottom:1px solid #a797d0;padding-top:9px;height:64px}.feature-tech i{display:block;width:19px;height:3px;border-right:5px solid #292336;background:#7254df;margin-bottom:7px}.feature-tech b{font-size:12px}.feature-sticker b{background:white;border:2px solid #7254df;box-shadow:4px 4px 0 #e6dff9;padding:7px 5px;border-radius:1px;font-size:11px}.feature-side{gap:6px;border-bottom:1px solid #c9bde5}.feature-side i{font-style:normal;font-family:Arial,sans-serif;font-size:29px;font-weight:800;letter-spacing:-2px;color:#7254df}.feature-side b{font-size:11px}.feature-magazine{height:64px;border-top:4px solid #292336;border-bottom:2px solid #7254df;background:#f4f3f7;padding:8px 7px}.feature-magazine b{font-size:11px}.feature-wide{grid-column:1/-1;min-height:105px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px}.feature-wide .feature-preview{grid-column:1/-1;height:37px;margin-bottom:4px}.feature-wide .feature-desc{font-size:10px}.feature-marker b{background:#edff80;padding:3px 5px;box-decoration-break:clone;font-size:14px;color:#363135}.basic-heading-styles{margin-top:17px}.basic-heading-styles summary{cursor:pointer;font-size:12px;color:#9c8fac;padding:3px 0;list-style-position:inside}.basic-heading-styles .heading-choices{margin-top:12px}.featured-heading:focus-visible{outline:3px solid #baadff}

/* Larger specimens use the article's actual heading renderer. */
.featured-headings{grid-template-columns:minmax(0,1fr);gap:12px}
.featured-heading{min-height:0;padding:16px;background:#fff;border-radius:8px;gap:5px}
.featured-heading.selected{padding:15px;background:#fff;box-shadow:0 0 0 3px #7657ed12}
.heading-specimen{display:block;width:100%;pointer-events:none;padding-bottom:15px;margin-bottom:6px;border-bottom:1px solid #efedf3}
.heading-specimen h2{margin:0;font-weight:700;line-height:1.5;font-size:20px;word-break:break-word}
.feature-name{font-size:13px}.feature-desc{font-size:11px;color:#92869c}

.image-option{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;margin:12px 0}.image-option input{accent-color:#6447e8}.image-help{font-size:12px;line-height:1.7;color:#94899e;margin:9px 0}article [data-gallery-ui] button{width:32px;height:30px;padding:0;font-size:24px;line-height:1;border:1px solid #e5deee;background:#fff;border-radius:6px;color:#7054c7}article [data-gallery-ui] button:disabled{opacity:.3;cursor:default}

.manual-copy{max-height:80dvh;overflow:auto;width:min(650px,90vw)}.manual-copy>p{font-size:14px;line-height:1.7}.manual-copy>button{position:sticky;bottom:0;background:#fff;margin-top:15px}

.media-note-dialog{width:min(460px,90vw)}.media-note-dialog h2{font-size:19px;margin:0 0 20px}.media-note-dialog textarea{width:100%;min-height:130px;resize:vertical;box-sizing:border-box;padding:12px;border:1px solid #ded6e9;border-radius:6px;font-family:inherit;font-size:15px;line-height:1.7}.media-note-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.media-note-entry{display:block;width:100%;text-align:left;padding:9px 10px;margin:7px 0;font-size:13px;color:#7056ad;background:#faf8ff}article img:focus-visible{outline:3px solid #bca8f3;outline-offset:3px}

.preview-gallery-control{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;color:#877991;margin-left:auto}.preview-gallery-control input{accent-color:#6447e8}.preview-pane .pane-bar{gap:10px}.preview-pane .pane-bar>strong{white-space:nowrap}@media(max-width:850px){.preview-pane .pane-bar{flex-wrap:wrap;height:auto;min-height:44px;padding-top:6px;padding-bottom:6px;gap:5px}.preview-gallery-control{font-size:11px}}

/* 撤销 / 重做 按钮 */
.format-bar button:disabled{opacity:.32;cursor:not-allowed}
.format-sep{width:1px;height:16px;align-self:center;background:#ece9f2;margin:2px 5px}
.setting-label input[type=checkbox]{accent-color:#6447e8;width:17px;height:17px;margin:0}
/* 撤销 / 重做 图标尺寸（覆盖窄屏下 12px 的字号规则） */
.format-bar #undo,.format-bar #redo{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;line-height:0}
.format-bar #undo svg,.format-bar #redo svg{width:20px;height:20px;display:block}

/* 多平台复制：主按钮 + 下拉 */
.copy-group{position:relative;display:flex;align-items:stretch}
.copy-group #copy{border-top-right-radius:0;border-bottom-right-radius:0}
.copy-caret{border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid #7d68f0;padding:9px 8px;display:grid;place-items:center}.copy-caret svg{display:block}
.copy-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:308px;max-width:calc(100vw - 28px);background:white;border:1px solid #e5e5ed;border-radius:12px;box-shadow:0 16px 40px #241a4a1f;padding:6px;text-align:left}
.copy-menu[hidden]{display:none}
.copy-menu-head{font-size:11px;letter-spacing:.6px;color:#90909f;padding:8px 10px 4px}
.copy-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:8px;padding:9px 10px;box-shadow:none}
.copy-menu button:hover,.copy-menu button:focus-visible{background:#f5f3ff}
.copy-menu button b{display:block;font-size:13px;color:#2f2b3a}
.copy-menu button span{display:block;font-size:11px;color:#90909f;margin-top:2px;line-height:1.55}
.copy-menu-tip{margin:6px 4px 2px;padding:8px 10px;background:#fbf9ff;border-radius:8px;font-size:11px;line-height:1.6;color:#8b7fa5}
@media(max-width:850px){.copy-menu{width:280px}}

/* 检查弹窗：复制图片地址清单按钮 */
.report-actions{display:flex;flex-direction:column;gap:8px}
.report-actions #copyimgs{width:100%;background:#f6f4ff;border:1px solid #ddd6f5;color:#5b4bb8;font-weight:600}
.report-actions #copyimgs:hover{background:#eee9ff}

/* 图片外链代理设置项 */
.options label.proxy-row{gap:8px}
.options label.proxy-row select{width:118px;font-size:11px;padding:4px 5px;border-color:#e0dbf0;color:#5c5470}
.setting-hint{margin:-8px 0 16px;font-size:11px;line-height:1.75;color:#a39db3}
.report-actions #exportimgs{width:100%;background:#f4f8ff;border:1px solid #d8e3f8;color:#3f5fa8;font-weight:600}
.report-actions #exportimgs:hover{background:#e9f1ff}

/* ===== 登录门禁 ===== */
body.locked, html.locked{overflow:hidden}
#login-gate{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0b0a14 0%,#1a1730 55%,#0e0d1d 100%);padding:24px}
.gate-card{width:100%;max-width:360px;background:#1f1c31;border:1px solid #2e2a45;border-radius:18px;padding:34px 30px;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.gate-brand{display:flex;align-items:center;gap:10px;justify-content:center;margin-bottom:6px}
.gate-brand .mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,#6447e8,#9b5cf0);color:#fff;font-weight:800;font-size:15px}
.gate-brand strong{color:#fff;font-size:19px;letter-spacing:.5px}
.gate-sub{text-align:center;color:#8b86a8;font-size:12.5px;margin:0 0 26px}
.gate-field{display:block;margin-bottom:16px}
.gate-field span{display:block;color:#a9a3c4;font-size:12px;margin-bottom:7px}
.gate-field input{width:100%;box-sizing:border-box;background:#17141f;border:1px solid #37314f;border-radius:10px;padding:12px 14px;color:#fff;font-size:14px;outline:none;transition:border-color .15s}
.gate-field input:focus{border-color:#6447e8}
.gate-field input::placeholder{color:#5a5470}
.gate-err{min-height:18px;margin:2px 0 4px;font-size:12px;color:#ff6b6b;opacity:0;transition:opacity .15s}
.gate-btn{width:100%;border:0;border-radius:10px;background:linear-gradient(135deg,#6447e8,#9b5cf0);color:#fff;font-size:15px;font-weight:700;padding:13px;cursor:pointer;letter-spacing:2px;margin-top:4px}
.gate-btn:hover{filter:brightness(1.08)}
.gate-btn:active{transform:translateY(1px)}
