:root{--ink:#172b4d;--muted:#71809a;--line:#e2e9f2;--paper:#fff;--canvas:#f4f7fb;--blue:#2765d8;--blue-dark:#1e4fae;--blue-soft:#eaf1ff;--mint:#159c83;--mint-soft:#e8f8f3;--amber:#b7791f;--amber-soft:#fff3d7;--shadow:0 18px 55px rgba(26,52,92,.08);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}.app-body{min-height:100vh;background:radial-gradient(ellipse at 12% 0%,#e8f0ff 0,transparent 36%),var(--canvas);padding:28px 18px 38px}.app-shell{max-width:1120px;margin:0 auto}.brand-lockup{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:44px;height:44px;flex:none;border-radius:14px;background:linear-gradient(145deg,#2f70e8,#1b448f);box-shadow:0 7px 18px #2765d833;display:flex;align-items:center;justify-content:center;gap:3px}.brand-mark span{display:block;width:3px;border-radius:4px;background:#fff}.brand-mark span:nth-child(1){height:13px;opacity:.75}.brand-mark span:nth-child(2){height:22px}.brand-mark span:nth-child(3){height:16px;opacity:.85}.brand-name{font-size:19px;font-weight:800;letter-spacing:.2px}.brand-en{margin-top:3px;font-size:9px;letter-spacing:1.8px;font-weight:750;color:#7a8ba7}.app-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 24px}.header-actions{display:flex;align-items:center;gap:10px}.auth-pill{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 13px;border:1px solid #dfe7f2;border-radius:13px;background:#ffffffb8;font-size:12px;font-weight:700}.auth-pill small{width:100%;padding-left:15px;color:var(--muted);font-size:10px;font-weight:500}.live-dot{width:7px;height:7px;display:inline-block;flex:none;border-radius:50%;background:#16a085;box-shadow:0 0 0 3px #16a0851c}.quiet-button{border:1px solid var(--line);background:#fff;color:#52627b;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:700;transition:background .18s,border-color .18s,transform .18s}.quiet-button:hover{background:#f8faff;border-color:#cbd7e8}.notice-stack{padding:18px 20px 20px;border:1px solid #dce6f4;border-radius:18px;background:#ffffffbd;box-shadow:0 7px 28px #244b7c07;margin-bottom:22px}.notice-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.notice-title-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:var(--blue-soft);color:var(--blue);font-weight:900}.notice-title strong{display:block;font-size:14px}.notice-title small{display:block;margin-top:3px;font-size:11px;color:var(--muted)}.notice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.notice-card{position:relative;display:flex;gap:10px;padding:13px 14px;border:1px solid #e6edf7;border-radius:12px;background:#fff;min-height:82px}.notice-number{font-size:10px;font-weight:800;color:var(--blue);background:var(--blue-soft);padding:4px 6px;border-radius:6px;height:max-content}.notice-card p{margin:0;font-size:12px;line-height:1.7;color:#566781}.work-card{border:1px solid #e1e8f2;background:var(--paper);border-radius:22px;padding:28px;box-shadow:var(--shadow)}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}.eyebrow{display:block;color:#7890b5;font-size:10px;font-weight:800;letter-spacing:1.7px}.section-heading h1{font-size:25px;letter-spacing:-.6px;margin:7px 0 6px}.section-heading h2{font-size:21px;margin:7px 0 5px}.section-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.workspace-badge,.success-pill{display:flex;align-items:center;gap:7px;border:1px solid #d9eee7;border-radius:100px;background:#f1fbf7;color:#21846f;padding:8px 11px;font-size:11px;font-weight:750;white-space:nowrap}.field-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.field-heading label{font-size:13px;font-weight:800}.field-heading span{font-size:11px;color:#8b98ac}.text-area{display:block;width:100%;min-height:180px;resize:vertical;padding:17px 18px;border:1px solid #dce5f0;border-radius:13px;outline:none;background:#fbfcff;color:#1b2c48;font-size:15px;line-height:1.8;transition:border-color .2s,box-shadow .2s}.text-area:focus,.login-form input:focus{border-color:#7da5f3;box-shadow:0 0 0 4px #2765d814;background:#fff}.text-area::placeholder{color:#a4afc0}.action-row{display:flex;align-items:center;gap:10px;margin:14px 0 0;flex-wrap:wrap}.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:11px;background:linear-gradient(135deg,#3477eb,#245ac7);color:#fff;padding:13px 17px;font-size:13px;font-weight:800;box-shadow:0 6px 15px #2765d826;transition:transform .18s,box-shadow .18s,filter .18s}.primary-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 20px #2765d833;filter:saturate(1.08)}.btn-symbol{font-size:16px}.btn-arrow{font-size:17px;opacity:.8}.inline-message{font-size:12px;color:var(--muted)}.result-section{margin-top:28px;padding-top:25px;border-top:1px solid #edf1f7;animation:rise-in .32s ease both}.result-heading{margin-bottom:17px}.success-pill{border-color:#d8eee6}.result-tabs{display:flex;gap:5px;padding:5px;background:#f1f4f9;border-radius:11px;width:max-content;max-width:100%;margin-bottom:14px}.result-tab{border:0;border-radius:8px;background:transparent;color:#71809a;padding:9px 14px;font-size:12px;font-weight:750;transition:background .18s,color .18s,box-shadow .18s}.result-tab.active{background:#fff;color:#245ac7;box-shadow:0 2px 7px #243e6414}.compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.text-card,.diff-card{min-width:0;border:1px solid #e1e8f2;border-radius:14px;overflow:hidden;background:#fff}.result-text-card{border-color:#d8e8e3}.text-card-head{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 13px;background:#f9fbfe;border-bottom:1px solid #edf1f6}.result-text-card .text-card-head{background:#f5fbf9}.text-card-head strong{font-size:12px;flex:1}.state-dot{width:7px;height:7px;border-radius:50%}.neutral-dot{background:#a4afc0}.green-dot{background:#22a17f}.text-action{border:0;background:transparent;color:var(--blue);font-size:11px;font-weight:800;padding:5px}.text-action:hover{text-decoration:underline}.text-preview{display:block;white-space:pre-wrap;overflow-wrap:anywhere;min-height:135px;max-height:360px;overflow:auto;margin:0;padding:15px;color:#31415c;font-family:inherit;font-size:13px;line-height:1.85}.diff-summary{display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:10px;background:#f7f9fd;color:#6b7890;font-size:11px;margin-bottom:11px}.diff-swatch{width:9px;height:9px;border-radius:3px;background:#c9dcff;border:1px solid #91b6fa}.diff-preview{padding:17px;min-height:125px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:2;color:#31415c}.encrypt-marker{display:inline-block;vertical-align:baseline;margin:0 2px;padding:1px 5px;border:1px solid #a9c7ff;border-radius:5px;background:#eaf2ff;color:#245ac7;font-size:10px;font-weight:800;line-height:1.7;white-space:nowrap}.diff-legend{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 14px}.legend-item,.diff-count{font-size:10px;color:#536783;background:#f1f5fb;border-radius:5px;padding:4px 7px}.diff-count{color:#245ac7;font-weight:800;background:#eaf2ff}.result-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px;color:var(--muted);font-size:11px}.result-footer>div{display:flex;gap:8px}.compact-primary{padding:10px 13px;font-size:12px}.app-footer{display:flex;justify-content:space-between;gap:10px;margin:18px 4px 0;color:#8b98ac;font-size:10px}.modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(18,35,63,.42);backdrop-filter:blur(7px);animation:fade-in .18s ease}.modal-backdrop[hidden],[hidden]{display:none!important}.process-dialog,.announcement-dialog,.error-dialog{width:min(100%,450px);border:1px solid #e5ebf4;border-radius:22px;background:#fff;padding:28px;box-shadow:0 25px 80px #12233f40;animation:dialog-in .24s cubic-bezier(.2,.75,.25,1)}.process-dialog{text-align:center}.process-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 17px;border-radius:17px;background:var(--blue-soft);color:var(--blue);font-size:24px;font-weight:800}.spinner{width:22px;height:22px;border:2.5px solid #b9cffb;border-top-color:var(--blue);border-radius:50%;display:block;animation:spin .75s linear infinite}.process-dialog h2,.announcement-dialog h2,.error-dialog h2{margin:7px 0 8px;font-size:22px}.process-dialog>p,.announcement-dialog>p,.error-dialog>p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.progress-track{height:5px;margin:22px 0 17px;background:#eaf0f9;border-radius:10px;overflow:hidden}.progress-track span{display:block;width:0;height:100%;border-radius:10px;background:linear-gradient(90deg,#7aa8ff,#2866d7);transition:width .25s ease}.process-steps{list-style:none;padding:0;margin:0;text-align:left}.process-steps li{display:flex;align-items:center;gap:11px;padding:10px 0;color:#a0aabd;border-bottom:1px solid #f0f3f8}.process-steps li:last-child{border-bottom:0}.process-steps li>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#f2f5fa;font-size:10px;font-weight:800}.process-steps li div{flex:1}.process-steps li strong,.process-steps li small{display:block}.process-steps li strong{font-size:12px}.process-steps li small{margin-top:3px;font-size:10px;color:#9aa6b8}.process-steps li i{font-style:normal;font-size:18px}.process-steps li.current{color:#245ac7}.process-steps li.current>span,.process-steps li.done>span{background:#eaf1ff;color:#245ac7}.process-steps li.done{color:#21846f}.process-steps li.done>span{background:#e7f8f2;color:#21846f}.modal-close{margin-top:18px;width:100%}.announcement-dialog{text-align:left}.announcement-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#eaf1ff;color:#2765d8;font-size:23px;margin-bottom:16px}.announcement-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:45vh;overflow:auto;margin:16px 0 22px;padding:15px;border-radius:12px;background:#f7f9fd;color:#52627b;font-size:13px;line-height:1.85}.announcement-dialog .primary-btn,.error-dialog .primary-btn{width:100%}.error-dialog{text-align:center}.error-mark{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 14px;border-radius:50%;background:#fff2e7;color:#bf6b1b;font-size:24px;font-weight:900}.error-dialog p{margin-bottom:22px}.login-shell{max-width:440px;margin:7vh auto 0}.login-shell>.brand-lockup{margin:0 0 24px 4px}.login-card{padding:32px;border:1px solid #e0e8f3;border-radius:22px;background:#fff;box-shadow:var(--shadow)}.login-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:17px;border-radius:15px;background:var(--blue-soft);color:var(--blue);font-size:27px}.login-card h1{font-size:26px;margin:8px 0}.login-card>.muted{font-size:13px;color:var(--muted);margin:0 0 25px}.login-form label{display:block;margin-bottom:8px;font-size:12px;font-weight:800}.login-form input{width:100%;height:48px;padding:0 13px;border:1px solid #dce5f0;border-radius:10px;background:#fbfcff;outline:none;color:var(--ink);margin-bottom:14px}.login-form .primary-btn{width:100%;justify-content:space-between}.form-message{min-height:18px;margin:12px 0 0;color:#b45339;font-size:12px}.login-foot{text-align:center;color:#8b98ac;font-size:11px;margin-top:20px}.loading span{opacity:.8}.announcement-admin .announcement-form{max-width:760px;display:grid;gap:18px}.announcement-form>label:not(.toggle-row){display:grid;gap:8px;font-size:12px;font-weight:800}.announcement-form input:not([type=checkbox]),.announcement-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px;font:inherit;font-size:13px}.announcement-form textarea{resize:vertical;line-height:1.7}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fbfcff}.toggle-row strong,.toggle-row small{display:block}.toggle-row strong{font-size:13px}.toggle-row small{font-size:11px;color:var(--muted);margin-top:4px}.toggle-row input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue);flex:none}.announcement-form .primary-btn{justify-self:start;min-width:170px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes dialog-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes rise-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(max-width:760px){.app-body{padding:18px 12px 28px}.app-header{align-items:flex-start}.brand-name{font-size:16px}.header-actions{gap:6px;flex-direction:column;align-items:flex-end}.auth-pill{max-width:175px}.notice-grid{grid-template-columns:1fr}.notice-card{min-height:0}.work-card{padding:19px;border-radius:17px}.section-heading h1{font-size:22px}.workspace-badge{display:none}.compare-grid{grid-template-columns:1fr}.text-preview{min-height:90px;max-height:260px}.result-footer{align-items:flex-start;flex-direction:column}.result-footer>div{width:100%}.result-footer button{flex:1}.app-footer{flex-direction:column}.login-shell{margin-top:5vh}.login-card{padding:25px}.result-tabs{width:100%}.result-tab{flex:1;padding:9px 5px;font-size:11px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
/* V2.2.1 processing dialog polish */
.modal-backdrop{background:rgba(10,24,48,.56);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.process-dialog{position:relative;overflow:hidden;width:min(100%,470px);padding:31px 30px 25px;border:1px solid #e2eaf7;border-radius:25px;box-shadow:0 34px 100px #081a373d;animation:process-dialog-in .32s cubic-bezier(.16,.8,.24,1) both}
.process-dialog:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#72a8ff,#2c67e3,#6ce0c2);background-size:200% 100%;animation:flow-line 2.2s linear infinite}
.process-icon{position:relative;width:62px;height:62px;margin-bottom:18px;border:1px solid #dbe7ff;border-radius:20px;background:linear-gradient(145deg,#f0f5ff,#e4edff);box-shadow:0 8px 24px #2864d51b}
.process-icon:after{content:"";position:absolute;inset:-6px;border:1px solid #4c80e51a;border-radius:24px;animation:icon-pulse 2s ease-out infinite}
.process-dialog .eyebrow{font-size:9px;letter-spacing:2.2px;color:#8296b8;font-weight:850}
.process-dialog h2{font-size:23px;letter-spacing:-.55px;margin:9px 0 8px;color:#142b4c}
.process-dialog>p{min-height:23px;font-size:12px;color:#73829a}
.progress-track{height:6px;margin:23px 0 17px;background:#edf2fa}
.progress-track span{background:linear-gradient(90deg,#76a6ff,#2e67df,#51cdb2);background-size:180% 100%;animation:flow-line 2.2s linear infinite;transition:width .45s cubic-bezier(.2,.7,.2,1)}
.process-steps{padding:3px 14px;border:1px solid #edf1f7;border-radius:15px;background:linear-gradient(180deg,#fcfdff,#f8faff)}
.process-steps li{padding:12px 0;transition:color .25s ease,opacity .25s ease}
.process-steps li>span{width:31px;height:31px;border:1px solid #e9eef7;border-radius:10px;background:#f5f7fb;transition:all .25s ease}
.process-steps li.current>span{border-color:#c8d9ff;background:#e8f0ff;box-shadow:0 0 0 4px #2d67dc0c}
.process-steps li.current strong{color:#245ac7}
.process-steps li.current i{color:#2d67dc;animation:step-blink 1s ease-in-out infinite}
.process-steps li.done>span{border-color:#c9efdf;background:#e6f8f0;color:#168663}
.process-steps li i{font-size:17px;color:#c0cada}
.process-dialog .modal-close{margin-top:16px;min-height:42px;justify-content:center}
.announcement-dialog,.error-dialog{box-shadow:0 34px 100px #081a373d}
@keyframes process-dialog-in{from{opacity:0;transform:translateY(14px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes flow-line{from{background-position:100% 0}to{background-position:-100% 0}}
@keyframes icon-pulse{0%{transform:scale(.96);opacity:.65}100%{transform:scale(1.12);opacity:0}}
@keyframes step-blink{0%,100%{opacity:.45}50%{opacity:1}}
@media(max-width:560px){.process-dialog{padding:27px 20px 20px;border-radius:21px}.process-dialog h2{font-size:21px}.process-steps{padding:3px 11px}}
@media(prefers-reduced-motion:reduce){.process-dialog:before,.process-icon:after,.progress-track span,.process-steps li.current i{animation:none!important}}

/* V2.2.2 · Independent input/output modules and result-first layout */
.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}
.work-card.input-work-card,.result-work-card{position:relative;overflow:hidden;border:1px solid #dfe7f3;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);box-shadow:0 18px 50px rgba(28,53,91,.075)}
.input-work-card{padding:28px 30px 25px}
.module-heading{display:flex;align-items:center;gap:14px;margin-bottom:24px;min-width:0}
.module-icon{width:48px;height:48px;display:grid;place-items:center;flex:none;border-radius:15px;font-size:11px;font-weight:900;letter-spacing:.4px}
.input-module-icon{color:#245ac7;background:linear-gradient(145deg,#edf4ff,#dce9ff);border:1px solid #d7e5ff;box-shadow:inset 0 1px #fff}
.result-module-icon{color:#087f68;background:linear-gradient(145deg,#e9fbf5,#d5f5e9);border:1px solid #cdeee1;box-shadow:inset 0 1px #fff}
.module-title{min-width:0;flex:1}
.module-title .eyebrow{font-size:9px;letter-spacing:1.8px}
.module-title h1,.module-title h2{font-size:22px;line-height:1.25;letter-spacing:-.55px;margin:5px 0 4px;color:#172b4d}
.module-title p{font-size:12px;color:#8491a7;line-height:1.5;margin:0}
.module-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:7px 10px;border:1px solid #e5ebf4;border-radius:99px;background:#f9fbfe;color:#7a879c;font-size:10px;font-weight:750}
.module-status i,.output-label i,.result-footer-note i{width:7px;height:7px;border-radius:50%;background:#9aa9bd;display:inline-block}
.field-heading{margin-bottom:10px}
.text-area{min-height:205px;padding:19px 20px;border-radius:15px;border-color:#dbe5f2;background:linear-gradient(180deg,#fbfcff,#fff);font-size:14px;line-height:1.9;box-shadow:inset 0 1px 2px rgba(27,50,82,.025)}
.text-area:focus{border-color:#7ba5f5;box-shadow:0 0 0 4px rgba(39,101,216,.09),0 8px 24px rgba(39,101,216,.05)}
.input-actions{margin-top:17px}
.start-btn{min-width:174px;min-height:47px;justify-content:space-between;padding:13px 17px;border-radius:12px;background:linear-gradient(115deg,#3478ed 0%,#285fd0 55%,#234fae 100%);box-shadow:0 9px 22px rgba(39,101,216,.2)}
.start-btn .btn-symbol{font-size:18px}
.start-btn .btn-arrow{margin-left:auto}
.input-actions .quiet-button{min-height:45px;padding-inline:16px}
.result-work-card{margin:0;padding:27px 30px 22px;border-color:#d8e9e5;box-shadow:0 20px 56px rgba(23,90,77,.085);animation:result-arrive .42s cubic-bezier(.2,.7,.25,1) both}
.result-work-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#6b9cff 0%,#31b89a 55%,#a4e6cf 100%)}
.result-work-card .module-heading{margin-bottom:21px}
.result-work-card .module-title h2{font-size:23px}
.result-work-card .success-pill{margin-left:auto}
.output-card{border:1px solid #dce7e7;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(25,63,68,.035)}
.output-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 19px;border-bottom:1px solid #eaf0f1;background:linear-gradient(110deg,#f8fbff 0%,#f5fbf9 100%)}
.output-card-top>div{display:flex;flex-direction:column;gap:6px}
.output-label{display:flex;align-items:center;gap:7px;color:#8293a8;font-size:9px;font-weight:850;letter-spacing:1.7px}
.output-label i{background:#1da786;box-shadow:0 0 0 3px #1da78618}
.output-card-top strong{font-size:14px;color:#183452;letter-spacing:.1px}
.output-ready{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:99px;background:#eaf9f3;color:#168568;font-size:10px;font-weight:800;white-space:nowrap}
.output-ready span{font-size:12px}
.output-preview{display:block;min-height:160px;max-height:460px;overflow:auto;margin:0;padding:22px 21px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;color:#1d3049;background:#fff;font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;font-size:13px;line-height:1.95;letter-spacing:.05px;tab-size:4}
.output-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:15px 18px;border-top:1px solid #eaf0f1;background:#fbfcfe}
.copy-output-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:47px;min-width:205px;padding:12px 17px;border-radius:12px;background:linear-gradient(115deg,#1e9b81,#137d6c);box-shadow:0 8px 19px rgba(23,143,117,.19)}
.copy-output-btn:hover:not(:disabled){box-shadow:0 11px 24px rgba(23,143,117,.25)}
.copy-output-btn svg,.diff-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.copy-output-btn span{font-size:13px}
.copy-output-btn b{margin-left:auto;font-size:17px;font-weight:600;opacity:.85}
.diff-toggle,.redo-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px}
.diff-toggle.active{color:#245ac7;border-color:#c8d9fb;background:#f0f5ff}
.diff-panel{margin:0 17px 17px;border:1px solid #e0e8f4;border-radius:14px;overflow:hidden;background:#fbfcff;animation:diff-panel-in .25s ease both}
.diff-panel[hidden]{display:none!important}
.diff-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e9eef6;background:#f5f8fd}
.diff-panel-heading strong{display:block;font-size:12px;color:#263e5f}
.diff-panel-heading p{margin:4px 0 0;color:#8190a7;font-size:10px;line-height:1.5}
.diff-panel .diff-preview{padding:18px 17px;min-height:90px;max-height:320px;overflow:auto;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:2.15}
.diff-panel .diff-legend{padding:0 16px 15px}
.result-footer{margin-top:15px;padding:0 2px;align-items:center}
.result-footer-note{display:inline-flex;align-items:center;gap:7px;color:#8a98a9;font-size:10px}
.result-footer-note i{background:#26a782;box-shadow:0 0 0 3px #26a78217}
#msg:empty{display:none}
.modal-backdrop{padding:22px;background:rgba(9,22,45,.62);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px)}
.process-dialog{width:min(100%,488px);padding:32px 31px 26px;border-radius:26px;background:linear-gradient(155deg,#fff 0%,#fbfcff 100%);box-shadow:0 36px 110px rgba(4,18,43,.32);border:1px solid rgba(255,255,255,.85)}
.process-dialog:after{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#78a8ff,#356de0,#39c2a3);background-size:220% 100%;animation:flow-line 2.3s linear infinite}
.process-icon{width:66px;height:66px;border-radius:21px;margin-bottom:19px;box-shadow:0 10px 27px rgba(39,101,216,.1)}
.process-dialog .eyebrow{font-size:9px;letter-spacing:2.1px}
.process-dialog h2{font-size:24px;margin:10px 0 9px;letter-spacing:-.6px}
.process-dialog>p{min-height:24px;font-size:12px;line-height:1.8}
.progress-track{height:7px;margin:24px 0 18px;border-radius:99px;background:#eaf0f8}
.process-steps{padding:4px 15px;border:1px solid #e9eef6;border-radius:16px;background:linear-gradient(180deg,#fff,#f8faff)}
.process-steps li{gap:12px;padding:13px 0}
.process-steps li>span{width:33px;height:33px;border-radius:11px;font-size:10px}
.process-steps li strong{font-size:12px}
.process-steps li small{font-size:10px;line-height:1.5}
.process-steps li i{font-size:16px}
.modal-close{border-radius:12px}
.announcement-dialog,.error-dialog{border-radius:24px;box-shadow:0 36px 110px rgba(4,18,43,.3)}
@keyframes result-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes diff-panel-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:980px){.workspace-grid{gap:22px}.input-work-card{padding:30px 32px 27px}.result-work-card{padding:29px 32px 23px}.text-area{min-height:220px}}
@media(max-width:760px){.input-work-card,.result-work-card{padding:21px 18px 19px;border-radius:19px}.module-heading{gap:11px;margin-bottom:20px}.module-icon{width:42px;height:42px;border-radius:13px}.module-title h1,.module-title h2,.result-work-card .module-title h2{font-size:19px}.module-title p{font-size:11px}.module-status{display:none}.text-area{min-height:175px;padding:15px;font-size:14px}.start-btn{flex:1;min-width:0}.output-card-top{padding:14px}.output-preview{min-height:130px;max-height:360px;padding:17px 15px;font-size:12px}.output-actions{padding:13px;gap:8px}.copy-output-btn{width:100%;min-width:0}.diff-toggle,.redo-button{flex:1}.diff-panel{margin:0 10px 10px}.result-footer{gap:8px;align-items:flex-start;flex-direction:column}.process-dialog{padding:28px 20px 21px;border-radius:22px}.process-dialog h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.process-dialog:after{animation:none!important}.result-work-card,.diff-panel{animation:none!important}}
.copy-feedback{display:inline-flex;align-items:center;min-height:20px;color:#168568;font-size:11px;font-weight:750;opacity:0;transform:translateY(3px)}
.copy-feedback-show{animation:copy-feedback-in .24s ease forwards}
.copy-feedback.copy-error{color:#bd5c48}
@keyframes copy-feedback-in{to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.copy-feedback{width:100%;padding:2px 3px}}


/* V2.2.3 · shared contact surfaces */
.contact-panel{position:relative;margin:22px 0 0;padding:21px 22px 22px;border:1px solid rgba(208,221,239,.92);border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(244,248,255,.96));box-shadow:0 15px 42px rgba(26,52,92,.065);overflow:hidden}
.contact-panel:before{content:"";position:absolute;top:0;left:22px;right:22px;height:2px;background:linear-gradient(90deg,#3477eb,#65d7c2,transparent);opacity:.75}
.contact-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.contact-eyebrow{display:block;color:#8295b2;font-size:9px;font-weight:850;letter-spacing:2px}
.contact-panel-heading h2{margin:5px 0 3px;font-size:17px;letter-spacing:-.25px;color:#1a3152}
.contact-panel-heading p{margin:0;color:#8795aa;font-size:11px;line-height:1.6}
.contact-heading-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid #dce8f7;border-radius:13px;background:linear-gradient(145deg,#f1f6ff,#e5effd);color:#3c70bc;font-size:19px}
.contact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.contact-card{display:flex;align-items:center;gap:10px;min-width:0;min-height:72px;padding:12px;border:1px solid #e2eaf4;border-radius:15px;background:rgba(255,255,255,.88);color:inherit;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s,background .2s}
.contact-card:hover{transform:translateY(-2px);border-color:#c9d9ef;box-shadow:0 9px 22px rgba(29,64,112,.08);background:#fff}
.contact-logo{display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:12px;background:#f2f6fc;box-shadow:inset 0 0 0 1px #e9eff7}
.contact-logo img{display:block;width:30px;height:30px;object-fit:contain}
.contact-card-copy{display:grid;gap:4px;min-width:0;flex:1}
.contact-card-copy strong{font-size:12px;font-weight:850;color:#263b5b}
.contact-card-copy>span{font-size:11px;color:#74849b;overflow-wrap:anywhere;line-height:1.45}
.contact-card-arrow{flex:none;color:#8ca2bf;font-size:15px}
.contact-card--qq .contact-logo{background:#edf4ff}.contact-card--wechat .contact-logo{background:#edfbf3}.contact-card--tg .contact-logo{background:#edf8ff}.contact-card--ws .contact-logo{background:#effbf3}
.contact-panel--login{margin:18px 0 0;padding:17px;border-radius:18px;box-shadow:0 10px 28px rgba(26,52,92,.045)}.contact-panel--login .contact-panel-heading{margin-bottom:12px}.contact-panel--login .contact-panel-heading h2{font-size:15px}.contact-panel--login .contact-panel-heading p{font-size:10px}.contact-panel--login .contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.contact-panel--login .contact-card{min-height:61px;padding:9px;border-radius:12px}.contact-panel--login .contact-logo{width:33px;height:33px;border-radius:10px}.contact-panel--login .contact-logo img{width:26px;height:26px}.contact-panel--login .contact-card-copy strong{font-size:11px}.contact-panel--login .contact-card-copy>span{font-size:10px}
.contact-panel--tool{margin-top:24px}.contact-panel--modal{margin:18px 0 20px;padding:15px;border-radius:15px;box-shadow:none;background:#f8faff}.contact-panel--modal:before{left:15px;right:15px}.contact-panel--modal .contact-panel-heading{margin-bottom:11px}.contact-panel--modal .contact-panel-heading h2{font-size:14px}.contact-panel--modal .contact-panel-heading p{font-size:10px}.contact-panel--modal .contact-heading-mark{width:31px;height:31px;border-radius:10px}.contact-panel--modal .contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.contact-panel--modal .contact-card{min-height:55px;padding:8px;border-radius:11px;gap:7px}.contact-panel--modal .contact-logo{width:29px;height:29px;border-radius:8px}.contact-panel--modal .contact-logo img{width:23px;height:23px}.contact-panel--modal .contact-card-copy strong{font-size:10px}.contact-panel--modal .contact-card-copy>span{font-size:10px}
.error-dialog .contact-panel--modal{max-height:30vh;overflow:auto}
.contact-settings-form{max-width:900px!important}.contact-admin-card{display:grid;gap:13px;padding:17px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#fff,#f9fbff)}.contact-admin-title{display:flex;align-items:center;gap:11px;padding-bottom:12px;border-bottom:1px solid #edf1f7}.contact-admin-title img{width:36px;height:36px}.contact-admin-title strong,.contact-admin-title small{display:block}.contact-admin-title strong{font-size:13px}.contact-admin-title small{margin-top:3px;color:var(--muted);font-size:11px}.contact-admin-card>label:not(.toggle-row){display:grid;gap:7px;font-size:12px;font-weight:800}.contact-admin-card input:not([type=checkbox]){width:100%;min-height:42px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;font-size:13px;background:#fff}.contact-admin-card input:focus{outline:0;border-color:#86a9ec;box-shadow:0 0 0 3px #2765d814}
@media(max-width:900px){.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.contact-panel{padding:17px 14px;border-radius:18px}.contact-panel:before{left:14px;right:14px}.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.contact-card{gap:7px;padding:9px;min-height:64px}.contact-logo{width:32px;height:32px;border-radius:10px}.contact-logo img{width:25px;height:25px}.contact-card-copy strong{font-size:11px}.contact-card-copy>span{font-size:10px}.contact-panel--tool{margin-top:18px}.contact-panel--login .contact-grid,.contact-panel--modal .contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-settings-form .contact-admin-card{padding:13px}}


/* V2.2.4 visual polish: clear colored module headers and stronger output hierarchy */
.work-card.input-work-card,.result-work-card{padding:0;border-radius:24px;overflow:hidden}
.work-card.input-work-card{border-color:#d6e2f2;background:#fff;box-shadow:0 22px 58px rgba(24,48,83,.095)}
.input-work-card>.module-heading,.result-work-card>.module-heading{position:relative;display:flex;align-items:center;gap:15px;margin:0;padding:22px 30px 21px;border-radius:0;overflow:hidden}
.input-work-card>.module-heading{background:linear-gradient(112deg,#142b46 0%,#1b3e65 58%,#24527a 100%);border-bottom:1px solid rgba(255,255,255,.12)}
.input-work-card>.module-heading:after,.result-work-card>.module-heading:after{content:"";position:absolute;right:-36px;top:-70px;width:210px;height:210px;border:1px solid rgba(255,255,255,.10);border-radius:50%;box-shadow:0 0 0 24px rgba(255,255,255,.025),0 0 0 50px rgba(255,255,255,.02);pointer-events:none}
.input-work-card .input-module-icon{position:relative;z-index:1;color:#bce7ff;background:linear-gradient(145deg,rgba(101,157,219,.28),rgba(78,123,183,.12));border:1px solid rgba(184,215,255,.28);box-shadow:inset 0 1px rgba(255,255,255,.16)}
.input-work-card .module-title,.result-work-card .module-title{position:relative;z-index:1}
.input-work-card .module-title .eyebrow{color:#8fb9e7}
.input-work-card .module-title h1{color:#fff;font-size:24px;letter-spacing:-.5px}
.input-work-card .module-title p{color:#c2d2e4}
.input-work-card .module-status{position:relative;z-index:1;color:#d3e5f6;background:rgba(255,255,255,.08);border-color:rgba(215,232,255,.18)}
.input-work-card .module-status i{background:#68e0bf;box-shadow:0 0 0 4px rgba(104,224,191,.12)}
.input-work-card>.field-heading,.input-work-card>.text-area,.input-work-card>.action-row{margin-left:30px;margin-right:30px;width:calc(100% - 60px)}
.input-work-card>.field-heading{margin-top:24px}
.input-work-card>.text-area{width:calc(100% - 60px);background:linear-gradient(180deg,#f7faff,#fff);border-color:#d8e4f3;border-radius:15px;font-size:15px;color:#172b45}
.input-work-card>.action-row{margin-bottom:27px}
.result-work-card{border-color:#cde7e0;background:#fff;box-shadow:0 23px 62px rgba(20,90,76,.105)}
.result-work-card:before{display:none}
.result-work-card>.module-heading{background:linear-gradient(112deg,#103e46 0%,#145b60 58%,#1c746e 100%);border-bottom:1px solid rgba(255,255,255,.12)}
.result-work-card .result-module-icon{position:relative;z-index:1;color:#aaf5dc;background:linear-gradient(145deg,rgba(101,225,192,.2),rgba(66,170,155,.1));border-color:rgba(177,244,222,.25);box-shadow:inset 0 1px rgba(255,255,255,.15)}
.result-work-card .module-title .eyebrow{color:#8ee5d2}
.result-work-card .module-title h2{color:#fff;font-size:25px;letter-spacing:-.55px}
.result-work-card .module-title p{color:#c1e2df}
.result-work-card .success-pill{position:relative;z-index:1;color:#baf8df;background:rgba(177,255,225,.1);border-color:rgba(177,255,225,.23)}
.result-work-card .output-card{margin:25px 30px 0;border-color:#d4e5e3;border-radius:18px;box-shadow:0 12px 34px rgba(17,69,65,.07)}
.output-card-top{padding:17px 20px;background:linear-gradient(112deg,#17354f 0%,#1b5260 100%);border-bottom:1px solid rgba(255,255,255,.12)}
.output-label{color:#a8c9d9;letter-spacing:1.8px}
.output-label i{background:#75ebc6;box-shadow:0 0 0 4px rgba(117,235,198,.12)}
.output-card-top strong{color:#fff;font-size:17px;letter-spacing:.1px}
.output-ready{color:#aaf2d7;background:rgba(151,247,208,.12);border:1px solid rgba(151,247,208,.2)}
.output-preview{min-height:175px;padding:25px 23px;color:#102a43;background:linear-gradient(180deg,#fff 0%,#fbfefd 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;font-size:15px;font-weight:550;line-height:1.95;letter-spacing:.01px}
.output-actions{padding:16px 19px;background:linear-gradient(180deg,#fbfdfd,#f5faf9);border-top:1px solid #e0eeea}
.copy-output-btn{min-height:50px;min-width:225px;background:linear-gradient(112deg,#168e78 0%,#0e7568 65%,#125b61 100%);box-shadow:0 10px 24px rgba(18,128,105,.22),inset 0 1px rgba(255,255,255,.18)}
.copy-output-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 14px 28px rgba(18,128,105,.28),inset 0 1px rgba(255,255,255,.18)}
.diff-toggle,.redo-button{background:#fff;border-color:#dbe7e8;color:#50677b}
.result-footer{margin:15px 30px 23px;padding:0 2px}
/* Contact panel: consistent, real colored title strip on all three placements */
.contact-panel{padding:0;border-color:#d7e2ef;background:linear-gradient(145deg,#fff,#f7faff);box-shadow:0 18px 44px rgba(25,52,88,.075)}
.contact-panel:before{display:none}
.contact-panel-heading{position:relative;overflow:hidden;margin:0;padding:17px 20px 16px;background:linear-gradient(112deg,#142b46 0%,#1c4266 62%,#235875 100%);border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
.contact-panel-heading:after{content:"";position:absolute;right:-22px;top:-54px;width:130px;height:130px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 17px rgba(255,255,255,.025),0 0 0 36px rgba(255,255,255,.02);pointer-events:none}
.contact-eyebrow{position:relative;z-index:1;color:#8be6dc;font-size:9px;letter-spacing:2.2px}
.contact-panel-heading h2{position:relative;z-index:1;color:#fff;font-size:18px;margin:5px 0 4px;letter-spacing:-.25px}
.contact-panel-heading p{position:relative;z-index:1;color:#bfd0e1;font-size:11px}
.contact-heading-mark{position:relative;z-index:1;color:#a5f2df;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.16);box-shadow:inset 0 1px rgba(255,255,255,.08)}
.contact-grid{padding:15px 17px 17px;gap:10px}
.contact-card{min-height:76px;padding:12px;border-color:#dfe8f2;background:linear-gradient(145deg,#fff,#f9fbff);box-shadow:0 4px 12px rgba(29,64,112,.025)}
.contact-card:hover{transform:translateY(-3px);border-color:#b9d0e7;box-shadow:0 12px 24px rgba(29,64,112,.095)}
.contact-logo{width:42px;height:42px;border-radius:13px;background:#fff;box-shadow:0 4px 12px rgba(26,51,83,.09),inset 0 0 0 1px rgba(226,234,244,.8)}
.contact-logo img{width:34px;height:34px}
.contact-card-copy strong{font-size:12px;color:#203a59}
.contact-card-copy>span{font-size:11px;color:#637792}
.contact-card-arrow{color:#4e7a9d}
.contact-panel--login{padding:0}
.contact-panel--login .contact-panel-heading{padding:14px 16px 13px;margin:0}
.contact-panel--login .contact-panel-heading h2{font-size:15px}
.contact-panel--login .contact-grid{padding:12px}
.contact-panel--login .contact-card{min-height:60px}
.contact-panel--modal{padding:0;background:#f8fbff;max-height:36vh;overflow:auto;box-shadow:0 8px 22px rgba(18,53,83,.06)}
.contact-panel--modal .contact-panel-heading{padding:12px 13px;margin:0;border-radius:14px 14px 0 0}
.contact-panel--modal .contact-panel-heading h2{font-size:14px}
.contact-panel--modal .contact-heading-mark{width:29px;height:29px;border-radius:9px}
.contact-panel--modal .contact-grid{padding:10px;gap:7px}
.contact-panel--modal .contact-card{min-height:52px;padding:7px;gap:7px;border-radius:10px}
.contact-panel--modal .contact-logo{width:29px;height:29px;border-radius:9px}
.contact-panel--modal .contact-logo img{width:25px;height:25px}
.contact-panel--modal .contact-card-copy strong{font-size:10px}
.contact-panel--modal .contact-card-copy>span{font-size:10px}
@media(max-width:760px){
 .input-work-card>.module-heading,.result-work-card>.module-heading{padding:18px 18px 17px;gap:11px}
 .module-icon{width:42px;height:42px;border-radius:13px}
 .input-work-card .module-title h1,.result-work-card .module-title h2{font-size:20px}
 .input-work-card>.field-heading,.input-work-card>.text-area,.input-work-card>.action-row{margin-left:18px;margin-right:18px;width:calc(100% - 36px)}
 .input-work-card>.field-heading{margin-top:19px}
 .input-work-card>.text-area{width:calc(100% - 36px);min-height:180px}
 .input-work-card>.action-row{margin-bottom:20px}
 .result-work-card .output-card{margin:18px 14px 0}
 .result-work-card .output-card-top{padding:14px 15px}
 .output-card-top strong{font-size:15px}
 .output-preview{font-size:14px;min-height:145px;padding:19px 16px}
 .result-work-card .result-footer{margin:13px 16px 18px}
 .result-work-card .success-pill{padding:6px 8px;font-size:10px}
 .contact-panel-heading{padding:15px 16px}
 .contact-grid{padding:12px;gap:8px}
 .contact-card{min-height:65px;padding:9px;gap:8px}
 .contact-logo{width:36px;height:36px;border-radius:11px}
 .contact-logo img{width:30px;height:30px}
 .contact-panel--login .contact-panel-heading{padding:13px 14px}
 .contact-panel--login .contact-grid{padding:10px}
 .contact-panel--modal .contact-grid{padding:8px}
}
@media(max-width:390px){
 .contact-grid,.contact-panel--login .contact-grid,.contact-panel--modal .contact-grid{grid-template-columns:minmax(0,1fr)}
 .contact-panel--modal{max-height:32vh}
 .result-work-card .module-title p{max-width:180px}
}
@media(prefers-reduced-motion:reduce){.contact-card,.copy-output-btn{transition:none!important}.contact-card:hover,.copy-output-btn:hover{transform:none!important}}
/* Usage notice title bar matches the same brand system */
.notice-stack{padding:0 20px 20px;overflow:hidden;border-color:#dbe5f2;background:rgba(255,255,255,.92);box-shadow:0 14px 36px rgba(26,52,92,.055)}
.notice-title{position:relative;overflow:hidden;margin:0 -20px 15px;padding:15px 20px;background:linear-gradient(112deg,#142b46 0%,#1c4266 62%,#235875 100%);color:#fff}
.notice-title:after{content:"";position:absolute;right:-18px;top:-46px;width:118px;height:118px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 16px rgba(255,255,255,.025),0 0 0 34px rgba(255,255,255,.02);pointer-events:none}
.notice-title-icon{position:relative;z-index:1;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16);color:#9df0de}
.notice-title>div{position:relative;z-index:1}
.notice-title strong{color:#fff;font-size:14px}
.notice-title small{color:#bfd0e1}
@media(max-width:760px){.notice-stack{padding:0 13px 14px}.notice-title{margin:0 -13px 12px;padding:13px 14px}.notice-grid{grid-template-columns:1fr}.notice-card{min-height:0}}
