#wechat-ops{--wo-ink:#1e344c;--wo-sub:#697f96;--wo-line:#dce6ef;--wo-panel:#fff;--wo-soft:#f4f8fc;color:var(--wo-ink)}
#wechat-ops *{box-sizing:border-box}
#wechat-ops .wo-shell{display:grid;grid-template-columns:185px minmax(0,1fr);border:1px solid var(--wo-line);border-radius:12px;background:var(--wo-soft);overflow:hidden;min-height:620px}
#wechat-ops .wo-nav{display:flex;flex-direction:column;gap:4px;background:#fff;border-right:1px solid var(--wo-line);padding:18px 10px}
#wechat-ops .wo-nav-label{padding:8px 12px 14px;color:var(--wo-sub);font-size:10px;font-weight:700;letter-spacing:.13em}
#wechat-ops button{cursor:pointer;font:inherit}
#wechat-ops button:disabled{cursor:not-allowed;opacity:.52}
#wechat-ops .wo-nav-button{border:0;border-radius:8px;background:transparent;color:#435972;text-align:left;padding:11px 12px;font-size:13px}
#wechat-ops .wo-nav-button:hover,#wechat-ops .wo-nav-button[aria-current=page]{background:#eaf1ff;color:#2d5fd1}
#wechat-ops .wo-nav-button[aria-current=page]{font-weight:650}
#wechat-ops .wo-main{min-width:0;padding:24px}
#wechat-ops .wo-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}
#wechat-ops .wo-heading h2{font-size:24px;line-height:1.35;margin:0 0 5px;color:var(--wo-ink)}
#wechat-ops .wo-heading p{margin:0}
#wechat-ops .wo-muted{color:var(--wo-sub);font-size:12px;line-height:1.55}
#wechat-ops .wo-button,#wechat-ops .wo-line button,#wechat-ops .wo-card>button{border:1px solid #cfddeb;background:#fff;color:#2c526d;border-radius:7px;padding:8px 12px;font-size:12px;white-space:nowrap}
#wechat-ops .wo-primary{background:#315ee8;color:#fff;border-color:#315ee8}
#wechat-ops .wo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
#wechat-ops .wo-triple{grid-template-columns:repeat(3,minmax(0,1fr))}
#wechat-ops .wo-card{background:var(--wo-panel);border:1px solid var(--wo-line);border-radius:10px;padding:18px;margin-bottom:15px;min-width:0}
#wechat-ops .wo-card h3{margin:0 0 13px;font-size:15px;color:var(--wo-ink)}
#wechat-ops .wo-number{font-size:27px;font-weight:700;line-height:1.2;margin:10px 0;color:#2a4d83}
#wechat-ops .wo-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e7edf3;min-width:0}
#wechat-ops .wo-line:last-child{border-bottom:0}
#wechat-ops .wo-line>div:first-child{min-width:0}
#wechat-ops .wo-line strong,#wechat-ops .wo-line small{display:block;overflow-wrap:anywhere}
#wechat-ops .wo-line strong{font-size:13px;margin-bottom:3px;font-weight:600}
#wechat-ops .wo-tag{display:inline-block;flex:none;font-size:11px;border-radius:5px;padding:4px 8px;background:#eff3f8;color:#597089;white-space:normal}
#wechat-ops .wo-tag[data-tone=ok]{background:#e8f5ef;color:#117354}
#wechat-ops .wo-tag[data-tone=wait],#wechat-ops .wo-tag[data-tone=unknown]{background:#fff2dd;color:#906321}
#wechat-ops .wo-tag[data-tone=error],#wechat-ops .wo-tag[data-tone=off]{background:#fbeeea;color:#9c4736}
#wechat-ops .wo-tag[data-tone=active]{background:#eaf0ff;color:#315ee8}
#wechat-ops .wo-field{display:block;font-size:12px;font-weight:600;margin:14px 0;color:#405973}
#wechat-ops .wo-field input,#wechat-ops .wo-field select,#wechat-ops .wo-field textarea{display:block;width:100%;margin-top:6px;padding:9px 10px;border:1px solid #cbd9e6;border-radius:7px;background:#fff;color:var(--wo-ink);font:inherit;font-size:13px;min-height:39px}
#wechat-ops .wo-field textarea{resize:vertical;min-height:100px;white-space:pre-wrap}
#wechat-ops .wo-steps,#wechat-ops .wo-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 17px}
#wechat-ops .wo-actions{margin-top:14px}
#wechat-ops .wo-scroll{max-height:310px;overflow:auto;border:1px solid var(--wo-line);border-radius:7px;padding:7px 12px;background:#fff}
#wechat-ops .wo-check{display:flex;align-items:center;gap:10px;padding:10px 4px;border-bottom:1px solid #edf1f5;font-size:12px;overflow-wrap:anywhere}
#wechat-ops .wo-check:last-child{border-bottom:0}
#wechat-ops .wo-unavailable,#wechat-ops .wo-alert,#wechat-ops .wo-notice{padding:12px 14px;background:#f3f6fa;border-radius:7px;color:#667d94;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#wechat-ops .wo-alert{background:#fff0ec;color:#a44335;margin-bottom:12px}
#wechat-ops .wo-notice{background:#e9f3ff;color:#285785;margin-bottom:12px}
#wechat-ops .wo-preview{background:#f5f8fb;border:1px solid #e4ebf2;border-radius:8px;padding:18px;min-height:180px;overflow-wrap:anywhere}
#wechat-ops .wo-preview p{white-space:pre-wrap;margin:12px 0}
@media(max-width:760px){#wechat-ops .wo-shell{display:block}#wechat-ops .wo-nav{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--wo-line);padding:8px}#wechat-ops .wo-nav-label{display:none}#wechat-ops .wo-nav-button{white-space:nowrap;padding:8px 10px}#wechat-ops .wo-main{padding:16px}#wechat-ops .wo-grid,#wechat-ops .wo-triple{grid-template-columns:1fr}#wechat-ops .wo-heading h2{font-size:20px}}
/* Five-entry workspace keeps account context above every business view. */
#wechat-ops .wo-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 24px;padding-bottom:18px;border-bottom:1px solid var(--wo-line)}
#wechat-ops .wo-toolbar>strong{font-size:17px;margin-right:auto}
#wechat-ops .wo-toolbar .wo-field{margin:0;font-weight:400;display:flex;align-items:center;gap:8px;max-width:100%}
#wechat-ops .wo-toolbar select{margin:0;width:auto;max-width:250px}
#wechat-ops .wo-shell{grid-template-columns:160px minmax(0,1fr);min-height:620px}
#wechat-ops .wo-main{padding:24px;overflow-wrap:anywhere}
#wechat-ops .wo-nav{background:#fff;padding-top:22px}
#wechat-ops .wo-button:focus-visible,#wo-leave-dialog button:focus-visible{outline:3px solid #315ee8;outline-offset:2px}
#wo-leave-dialog,#wo-home-dialog{max-width:480px;width:calc(100% - 32px);background:#fff;color:#24354c;border:1px solid #dce6ef;border-radius:12px;padding:24px}
#wo-leave-dialog::backdrop,#wo-home-dialog::backdrop{background:rgb(20 35 55 / .3)}
#wo-leave-dialog button,#wo-home-dialog button{font:inherit;border:1px solid #cfddeb;background:#fff;border-radius:7px;padding:10px 12px;margin:8px 8px 0 0;color:#24354c;min-height:44px;cursor:pointer}
@media(max-width:760px){#wechat-ops .wo-shell{display:block}#wechat-ops .wo-main{padding:16px}#wechat-ops .wo-toolbar select{max-width:100%}#wechat-ops .wo-toolbar .wo-field{width:100%;flex-wrap:wrap}#wechat-ops .wo-toolbar .wo-field select{width:100%}#wechat-ops .wo-nav{flex-wrap:wrap;overflow:visible}#wechat-ops button{min-height:44px}}
#wechat-ops .wo-work-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.55fr);gap:18px}
#wechat-ops .wo-card{box-shadow:none;border-radius:12px;background:var(--wo-panel)}
#wechat-ops .wo-number{font-variant-numeric:tabular-nums}
@media(max-width:1000px){#wechat-ops .wo-work-columns{grid-template-columns:1fr}}
#wechat-ops .wo-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
#wechat-ops .wo-tabs [aria-pressed=true]{background:#eaf1ff;color:#315ee8;border-color:#b8cbef}
#wechat-ops .wo-advanced{padding:14px 0;border-top:1px solid var(--wo-line);margin-top:18px}
#wechat-ops summary{cursor:pointer;color:#435972}
#wo-plan-dialog{position:fixed;inset:16px 16px 16px auto;margin:0;width:min(580px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:#24354c;border:1px solid #dce6ef;border-radius:12px;padding:24px;font:14px/1.6 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;overflow-wrap:anywhere}
#wo-plan-dialog::backdrop{background:rgb(20 35 55 / .22)}
#wo-plan-dialog .wo-heading,#wo-plan-dialog .wo-line{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
#wo-plan-dialog h2{font-size:21px;margin:0}
#wo-plan-dialog .wo-muted{color:#64758c;font-size:12px}
#wo-plan-dialog .wo-task-row{padding:18px 0;border-bottom:1px solid #e2e9f2}
#wo-plan-dialog .wo-line strong,#wo-plan-dialog .wo-line small{display:block}
#wo-plan-dialog .wo-tag{background:#edf2ff;color:#315ee8;border-radius:5px;padding:4px 8px;font-size:12px}
#wo-plan-dialog button{border:1px solid #cfddeb;background:#fff;color:#315477;padding:10px 12px;border-radius:7px;font:inherit;cursor:pointer;min-height:44px}
#wo-plan-dialog button:disabled{opacity:.5;cursor:not-allowed}
#wo-plan-dialog :focus-visible{outline:3px solid #315ee8;outline-offset:2px}
#wo-plan-dialog .wo-notice{background:#edf2ff;color:#315ee8;padding:12px;border-radius:8px}
@media(max-width:600px){#wo-plan-dialog{padding:16px}}
#wechat-ops .wo-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:16px}
#wechat-ops .wo-image-grid>*{min-width:0;max-width:100%;height:110px;overflow:hidden}
#wechat-ops .wo-image-grid img{width:100%;height:100%;object-fit:cover}
#wechat-ops .wo-image-placeholder{display:flex;align-items:center;justify-content:center;background:#eaf1ff;color:#315477;padding:8px;font-size:12px;overflow-wrap:anywhere;border-radius:8px}
#wechat-ops .wo-preview{background:#fff;padding:22px;border-radius:12px;min-height:260px}
#wechat-ops .wo-preview-text{font-size:14px;line-height:1.8}
#wechat-ops{container-type:inline-size}
#wechat-ops .wo-toolbar{height:auto;padding:0 0 18px;background:transparent}
@container (max-width:760px){#wechat-ops .wo-shell{display:block}#wechat-ops .wo-nav{flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid var(--wo-line);overflow:visible}#wechat-ops .wo-nav-label{width:100%;padding:6px 12px}#wechat-ops .wo-main{padding:16px}#wechat-ops .wo-work-columns,#wechat-ops .wo-grid:not(.wo-triple){grid-template-columns:1fr}#wechat-ops .wo-toolbar .wo-field{width:100%;flex-wrap:wrap}#wechat-ops .wo-toolbar select{width:100%;max-width:100%}}
@container (max-width:450px){#wechat-ops .wo-triple{grid-template-columns:1fr}}
@media(max-width:760px){#wechat-ops input:not([type=checkbox]),#wechat-ops select,#wechat-ops textarea,#wechat-ops .ww-root button,#wechat-ops .ww-root input,#wechat-ops .ww-root select{min-height:44px}}
@media(max-width:760px){#wechat-ops .wo-field input:not([type=checkbox]),#wechat-ops .wo-field select,#wechat-ops .wo-field textarea{min-height:44px}}
@media(max-width:760px){#wechat-ops .wo-main button{min-height:44px;min-width:44px}}
@media(max-width:760px){#wechat-ops .wo-main .wo-chat-host .ww-root button,#wechat-ops .wo-main .wo-chat-host .ww-root input,#wechat-ops .wo-main .wo-chat-host .ww-root select{min-height:44px}}
#workspace #wechat-ops .wo-toolbar{height:auto;min-height:0;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:0 0 18px;background:transparent}
#workspace #wechat-ops .wo-toolbar .wo-field{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}
#workspace[data-active-page=wechat-ops] .content>.page-heading{display:none}
@media(max-width:760px){#workspace #wechat-ops .wo-toolbar .wo-field{width:100%;flex-direction:column;align-items:stretch}#workspace #wechat-ops .wo-toolbar select{width:100%;max-width:100%;min-height:44px}}
/* Account-first workspace: one sender, three operational areas. */
#wechat-ops .wo-shell{display:block;background:var(--wo-soft);border:0;border-radius:0}
#wechat-ops .wo-main{padding:20px 0}
#wechat-ops .wo-toolbar{background:var(--wo-panel);border:1px solid var(--wo-line);border-radius:10px;padding:12px 16px;margin-bottom:16px}
#wechat-ops .wo-toolbar .wo-home{margin-right:auto;font-weight:650}
#wechat-ops .wo-nav{flex-direction:row;gap:24px;padding:0 16px;background:transparent;border:0;border-bottom:1px solid var(--wo-line);margin-bottom:24px;overflow:auto}
#wechat-ops .wo-nav-button{border-radius:0;padding:12px 2px;border-bottom:3px solid transparent;white-space:nowrap}
#wechat-ops .wo-nav-button[aria-current=page]{background:transparent;border-bottom-color:#315ee8}
#wechat-ops .wo-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin-bottom:24px}
#wechat-ops .wo-account-card{margin:0;padding:24px}
#wechat-ops .wo-account-identity{display:flex;gap:12px;align-items:center;margin-bottom:12px}
#wechat-ops .wo-avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:#eaf0ff;color:#315ee8;font-weight:700;font-size:20px}
#wechat-ops .wo-account-grid .wo-actions{margin-bottom:0;justify-content:space-between}
#wechat-ops .wo-chat-host .ww-header{padding:8px 0;background:transparent;border:0}
#wechat-ops .wo-chat-host .ww-header h2{display:none}
#wechat-ops .wo-button:focus-visible,#wechat-ops .wo-nav-button:focus-visible{outline:3px solid #315ee8;outline-offset:3px}
@media(max-width:760px){#wechat-ops .wo-main{padding:12px 0}#wechat-ops .wo-toolbar{gap:8px;padding:12px}#wechat-ops .wo-toolbar .wo-field{width:100%;display:block}#wechat-ops .wo-toolbar select{width:100%;max-width:none;margin-top:6px}#wechat-ops .wo-nav{gap:18px;padding:0 12px}#wechat-ops .wo-account-card{padding:18px}}
.ww-management-dialog{background:#fff;color:#24354c;border:1px solid #dce6ef;border-radius:12px;padding:24px}
.ww-management-dialog .card,.ww-management-dialog .si-item{background:#fff!important;color:#24354c!important;border-color:#dce6ef}
.ww-management-dialog :is(h2,h3,h4,p,strong,label){color:#24354c!important}
.ww-management-dialog :is(.muted,small){color:#62758c!important}
.ww-management-dialog :is(input,textarea,select){background:#f7faff!important;color:#24354c!important;border-color:#cbd9e6}
