*{box-sizing:border-box} [hidden]{display:none!important} :root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#203048;background:#f4f6fa;font-size:14px}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;border-radius:8px;padding:10px 16px;font-weight:600;transition:background .15s}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus,textarea:focus,select:focus{outline:2px solid #6479ef;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.6px}h2{font-size:17px}h3{font-size:14px}label{display:block;font-weight:550;margin:16px 0 8px}input:not([type=checkbox]),textarea,select{display:block;width:100%;padding:11px 13px;border:1px solid #dce2eb;border-radius:8px;margin-top:8px;background:white;color:#24334a}textarea{resize:vertical;line-height:1.65}input[type=checkbox]{accent-color:#4f61d9;width:17px;height:17px;cursor:pointer}.primary{background:#465cce;color:white;box-shadow:0 3px 8px #465cce22}.primary:hover{background:#354bb9}.secondary{background:#f4f6fa;border:1px solid #dce2eb;color:#394860}.quiet{background:transparent;color:#6c7890}.wide{width:100%;margin-top:24px}.muted,.hint{color:#7a8699}.hint{font-size:12px;line-height:1.7;font-weight:400}.eyebrow{font-size:11px;letter-spacing:1.6px;color:#8390a5;font-weight:650}.brand{display:flex;gap:12px;align-items:center;font-size:18px;font-weight:700}.brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:400;margin-top:5px;color:#a0adbf}.logo{display:grid;place-items:center;background:#586ae2;color:#fff;border-radius:12px;width:42px;height:42px;font-size:23px}.login-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#1f3050;color:white;padding:56px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:460px;height:460px;border:1px solid #ffffff0c;border-radius:50%;bottom:-210px;right:-180px;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff03}.login-story h1{font-size:42px;line-height:1.5;letter-spacing:0}.login-story p{color:#bdc7d9;line-height:1.9}.story-foot{color:#9aaac3;font-size:12px}.login-right{display:grid;place-items:center;padding:50px}.login-card{width:100%;max-width:350px}.login-card h2{font-size:27px;margin:24px 0 10px}.pill{display:inline-block;background:#e9eefb;color:#5268a7;border-radius:30px;padding:6px 12px;font-size:11px}.workspace{display:flex;min-height:100vh}.sidebar{width:225px;position:fixed;inset:0 auto 0 0;background:#192840;color:#e6ecf7;padding:30px 22px;display:flex;flex-direction:column}.sidebar .brand{font-size:17px;margin-bottom:50px}.nav-label{font-size:10px;color:#7f91ac;letter-spacing:2px;padding-left:10px}nav button{display:flex;gap:15px;width:100%;background:none;color:#9cabc0;text-align:left;margin:6px 0;padding:14px 15px;font-weight:500}nav button span{font-size:17px;line-height:18px}nav button:hover,nav button.active{background:#2c3f60;color:white}nav button.active{box-shadow:inset 3px 0 #8390ff}.sidebar-bottom{margin-top:auto;font-size:12px;color:#b9c4d4}.sidebar-bottom small{display:block;color:#72849f;margin-top:10px}.status-dot{display:inline-block;width:6px;height:6px;background:#79b8a6;border-radius:100%;margin-right:8px}main{margin-left:225px;padding:34px 38px 50px;width:calc(100% - 225px);max-width:1640px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}header h1{margin-bottom:0}.user-box{display:flex;gap:18px;align-items:center;font-size:12px}.environment-banner{background:#fff6e5;color:#96713b;border:1px solid #f0e3c8;padding:11px 15px;border-radius:8px;font-size:12px;margin-bottom:22px;line-height:1.6}.summary-grid{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:16px;margin-bottom:24px}.summary-card{background:white;border:1px solid #e5e9f0;border-radius:12px;padding:20px 23px;display:flex;flex-direction:column;gap:10px}.summary-card span,.summary-card small{font-size:12px;color:#8390a3}.summary-card strong{font-size:26px;color:#25334b}.summary-card.accent{background:#eaf0fb;border-color:#e0e8f8}.summary-card.accent strong{font-size:17px;line-height:31px}.editor-layout{display:grid;grid-template-columns:minmax(420px,1fr) 295px;gap:24px;align-items:start}.editor-stack{min-width:0}.card{background:white;border:1px solid #e5e9f0;border-radius:12px;padding:24px;margin-bottom:18px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.section-heading>div{display:flex;align-items:center;gap:10px}.section-heading h2{margin:0}.step{font-size:10px;color:#8390b4;border:1px solid #e1e6ef;border-radius:5px;padding:4px}.switch-label{display:flex;gap:10px;align-items:center;font-size:12px;margin:0;color:#6b7b8e}.category-row{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #f0f2f6}.category-row input[type=text]{margin:0;flex:1;min-width:0}.category-row button{padding:7px 9px;background:#f3f5fa;color:#76849b;font-size:12px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.feature-item{display:flex;justify-content:space-between;align-items:center;padding:14px;background:#f7f9fc;border:1px solid #edf0f5;border-radius:8px;margin:0}.preview-card{position:sticky;top:25px;background:#eaf0f8;border-radius:12px;padding:22px}.preview-card h2{margin:9px 0}.phone{background:#fff;border:5px solid #263650;border-radius:28px;overflow:hidden;margin-top:20px;box-shadow:0 10px 20px #26365017;min-height:445px}.phone-head{padding:26px 0 14px;background:#5155df;text-align:center;font-size:12px;color:white}.phone-body{padding:14px 10px;min-height:333px}.preview-announcement{font-size:10px;line-height:1.6;padding:9px;background:#eff2ff;border-radius:5px;margin-bottom:10px;white-space:pre-wrap;overflow-wrap:anywhere}.preview-announcement b{display:block}.preview-bill{background:#f4f6fb;padding:17px;border-radius:8px;margin-bottom:20px}.preview-bill span{font-size:10px;color:#657692}.preview-bill b{display:block;font-size:24px;margin:13px 0}.preview-bill small{font-size:9px;color:#9aa6b7}.preview-input{display:flex;justify-content:space-between;color:#8b99ac;font-size:11px;border-bottom:1px solid #edf0f5;padding-bottom:10px}.chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:14px}.chips span{font-size:9px;color:#536a8b;background:#eff3f9;border-radius:15px;padding:5px 8px}.preview-features{font-size:10px;color:#566ad0;line-height:2;margin-top:15px}.phone-tabs{border-top:1px solid #edf0f5;display:flex;justify-content:space-around;padding:15px 8px;color:#616ad8;font-size:10px}.phone-tabs span{color:#9aa6b7}.publish-bar{position:sticky;bottom:12px;display:flex;align-items:center;gap:9px;padding:16px;background:#ffffffed;border:1px solid #e0e6ef;border-radius:12px;box-shadow:0 5px 18px #22324a0c;z-index:2}.publish-bar>div{flex:1}.publish-bar strong{font-size:12px}.publish-bar small{display:block;margin-top:5px;font-size:10px;color:#92a0b2}.log-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 4px;border-bottom:1px solid #edf0f5}.log-row p{margin:5px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.log-row small{color:#8a98ab}.empty{padding:45px;text-align:center;color:#8c9aaf}.user-form{max-width:630px}.user-form button{margin-top:18px}#message{position:fixed;right:25px;top:20px;max-width:460px;background:#20334f;color:#fff;padding:14px 20px;border-radius:9px;box-shadow:0 5px 20px #10203825;z-index:100;line-height:1.7}#message.error{background:#9b3849}@media(max-width:1150px){main{padding:25px}.editor-layout{grid-template-columns:1fr}.preview-card{position:static}.phone{max-width:260px;margin:auto}.preview-card{display:none}.summary-card{padding:18px}.sidebar{width:200px}main{margin-left:200px;width:calc(100% - 200px)}}@media(max-width:750px){.login-screen{grid-template-columns:1fr}.login-story{display:none}.login-right{padding:30px}.sidebar{position:static;width:100%;padding:15px}.sidebar .brand{margin:0}.sidebar nav{display:flex;overflow:auto}.sidebar nav button{white-space:nowrap;padding:10px;width:auto}.sidebar-bottom,.nav-label{display:none}.workspace{display:block}main{width:100%;margin:0;padding:20px}.summary-grid{grid-template-columns:1fr 1fr}.summary-card.accent{display:none}.publish-bar{flex-wrap:wrap}.publish-bar>div{flex-basis:100%}.user-box{gap:2px}.user-box span{display:none}.card{padding:18px}.feature-grid{grid-template-columns:1fr}.log-row{align-items:flex-start}.login-card{max-width:400px}}

dialog{border:1px solid #e0e6ef;border-radius:14px;padding:28px;max-width:460px;width:calc(100% - 40px);color:#24334a;box-shadow:0 20px 70px #19284044}dialog::backdrop{background:#13233f66}dialog p{line-height:1.7;color:#6b7b8e}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}

#confirm-message{white-space:pre-wrap;overflow-wrap:anywhere;max-height:45vh;overflow:auto;}

/* P1-2/3/8/11：筛选行、差异输出、功能中心卡片 */
.filter-row{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:14px 0}
.filter-row label{margin:0;flex:1 1 150px;min-width:130px;font-size:12px;font-weight:500;color:#6b7b8e}
.filter-row input,.filter-row select{margin-top:6px}
.filter-row button{flex:0 0 auto;padding:10px 14px}
.diff-output{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;border:1px solid #edf0f5;border-radius:8px;padding:14px;font-size:12px;line-height:1.8;max-height:320px;overflow:auto;margin-top:12px}
.file-label{flex:1 1 210px}
.file-label input[type=file]{padding:9px;font-size:12px}
.center-group{margin-bottom:18px}
.center-group h3{font-size:13px;color:#52618f;letter-spacing:.4px;padding-bottom:8px;border-bottom:1px solid #edf0f5}
.center-card{padding:14px 4px;border-bottom:1px solid #f0f2f6}
.center-card p{margin:6px 0;font-size:13px;color:#3d4c63;line-height:1.6}
.center-card small{display:block;color:#8a98ab;font-size:11px;line-height:1.7;margin-top:3px}
.center-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.center-head strong{font-size:14px}
.center-head span{font-size:11px;color:#5268a7;background:#eef2fb;border-radius:20px;padding:3px 10px}
.center-head span.pending{color:#8a5a00;background:#fff3d6}
.level-row{display:flex;align-items:center;gap:8px;margin-top:8px}
.level-row label{font-size:11px;color:#8a98ab}
.level-row select{font-size:12px;padding:4px 8px;border:1px solid #d7deea;border-radius:8px;background:#fff;color:#1f2b3d}

/* 第十三条：内容中心（帮助/常见问题/更新说明，带有效期） */
.cc-item{border:1px solid #edf0f5;border-radius:10px;padding:12px 14px;margin-bottom:10px;background:#fbfcfe}
.cc-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cc-head select{width:auto;margin:0;padding:7px 9px}
.cc-head .cc-title{margin:0;flex:1;min-width:130px}
.cc-head button{padding:7px 9px;background:#f3f5fa;color:#76849b;font-size:12px}
.cc-dates{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.cc-badge{font-size:10px;border-radius:20px;padding:4px 9px;background:#eef1f7;color:#66748c;white-space:nowrap}
.cc-badge.live{background:#e7f4ee;color:#2f7a5c}
.cc-badge.expired,.cc-badge.invalid{background:#fdeeee;color:#a4453f}
.cc-badge.scheduled{background:#eef1fb;color:#4c5fae}
.cc-badge.disabled{background:#f2f3f6;color:#7d8798}
@media(max-width:750px){.cc-dates{grid-template-columns:1fr}}

/* 第十五条：任务核查证据（只读预检）—— 结论必须在按按钮之前可见 */
.probe{border:1px solid #e3e8f2;border-radius:10px;background:#f7f9fc;padding:12px 14px;margin:12px 0 0}
.probe strong{display:block;font-size:13px;color:#1f2b3d;margin-bottom:6px}
.probe small{display:block;color:#5c6b82;font-size:12px;line-height:1.75}
.probe small:empty{display:none}
.probe p{margin:6px 0 0;font-size:12px}
/* N04：截图预览弹窗 —— 比表单类 dialog 宽（截图要看得清），图片等比缩放不出框 */
#shot-dialog{max-width:720px}
.shot-box{margin-top:10px;text-align:center}
.shot-box img{max-width:100%;max-height:70vh;border-radius:8px;border:1px solid #e3e8f2}
.shot-box img[hidden]{display:none}
