/* 万鸟朝 · 系统通知 / 审批规则（2026-10-29） */
.wsx-badge{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#ef4444;color:#fff;font:700 10px/17px system-ui,sans-serif;font-style:normal;text-align:center;box-shadow:0 0 0 2px #fff;pointer-events:none}
.wsx-mask{position:fixed;inset:0;z-index:2147482990;background:transparent}
.wsx-mask.m{background:rgba(15,23,42,.38)}
.wsx-pop{position:fixed;z-index:2147482995;width:380px;max-height:min(560px,calc(100vh - 90px));display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 18px 48px rgba(15,23,42,.18);font-family:inherit;color:#0f172a;overflow:hidden}
.wsx-pop.m{left:0;right:0!important;bottom:0;top:auto!important;width:auto;max-height:78vh;border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom)}
.wsx-pop header{display:flex;align-items:center;gap:8px;padding:14px 16px 12px;border-bottom:1px solid #f1f5f9}
.wsx-pop header b{font-size:15px}
.wsx-cnt{font-size:12px;color:#64748b;flex:1}
.wsx-all{border:0;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:600;border-radius:8px;padding:5px 10px;cursor:pointer}
.wsx-x{border:0;background:transparent;font-size:20px;line-height:1;color:#94a3b8;cursor:pointer;width:28px;height:28px;border-radius:8px}
.wsx-x:hover{background:#f1f5f9}
.wsx-list{overflow:auto;flex:1;padding:6px}
.wsx-it{display:flex;gap:10px;width:100%;text-align:left;border:0;background:transparent;padding:10px;border-radius:10px;cursor:pointer;font:inherit;color:inherit}
.wsx-it:hover{background:#f8fafc}
.wsx-it>i{flex:none;width:8px;height:8px;border-radius:50%;margin-top:6px;opacity:.25}
.wsx-it.un>i{opacity:1}
.wsx-it div{min-width:0;flex:1}
.wsx-it p{margin:0;display:flex;gap:6px;align-items:baseline;font-size:13px}
.wsx-it p em{font-style:normal;font-size:11px;font-weight:700;flex:none}
.wsx-it p b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wsx-it:not(.un) p b{font-weight:500;color:#475569}
.wsx-it span{display:block;font-size:12px;color:#64748b;margin-top:3px;line-height:1.5}
.wsx-it small{display:block;font-size:11px;color:#94a3b8;margin-top:3px}
.wsx-empty{padding:36px 20px;text-align:center}
.wsx-empty b{display:block;font-size:14px;margin-bottom:6px}
.wsx-empty span{font-size:12px;color:#94a3b8;line-height:1.6}
.wsx-pop footer{padding:10px 16px;border-top:1px solid #f1f5f9;font-size:12px;color:#64748b}
.wsx-pop footer a{color:#2563eb;text-decoration:none;font-weight:600}
.wsx-mbell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:10px;background:#f1f5f9;color:#334155;flex:none;padding:0;position:absolute!important;z-index:2}
.wsx-mbell svg{width:18px;height:18px}
.wsx-rm{position:fixed;inset:0;z-index:2147483000;background:rgba(15,23,42,.42);display:flex;align-items:center;justify-content:center;padding:20px}
.wsx-rm.m{align-items:flex-end;padding:0}
.wsx-rd{width:min(620px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 24px 64px rgba(15,23,42,.25);color:#0f172a;overflow:hidden}
.wsx-rm.m .wsx-rd{border-radius:18px 18px 0 0;max-height:88vh;padding-bottom:env(safe-area-inset-bottom)}
.wsx-rd>header{display:flex;align-items:flex-start;gap:12px;padding:18px 20px 14px;border-bottom:1px solid #f1f5f9}
.wsx-rd>header div{flex:1}
.wsx-rd>header b{display:block;font-size:17px}
.wsx-rd>header span{display:block;font-size:12px;color:#64748b;margin-top:4px}
.wsx-rb{overflow:auto;padding:16px 20px;flex:1}
.wsx-load{color:#64748b;font-size:13px;padding:20px 0;text-align:center}
.wsx-load.bad{color:#dc2626}
.wsx-co{display:flex;align-items:center;gap:10px;font-size:13px;color:#475569;margin-bottom:12px}
.wsx-co select,.wsx-grid select{height:36px;border:1px solid #e2e8f0;border-radius:9px;padding:0 10px;font:inherit;font-size:13px;background:#fff;color:#0f172a}
.wsx-co select{flex:1}
.wsx-sw{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #ede9fe;background:#faf5ff;border-radius:12px}
.wsx-sw div{flex:1}.wsx-sw b{display:block;font-size:14px}.wsx-sw span{font-size:12px;color:#64748b}
.wsx-tg{position:relative;width:44px;height:26px;flex:none}
.wsx-tg input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;z-index:1}
.wsx-tg i{position:absolute;inset:0;border-radius:13px;background:#cbd5e1;transition:.2s}
.wsx-tg i:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.wsx-tg input:checked+i{background:#7c3aed}.wsx-tg input:checked+i:after{left:21px}
.wsx-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.wsx-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#64748b}
.wsx-rm.m .wsx-grid{grid-template-columns:1fr}
.wsx-rb h4{margin:18px 0 8px;font-size:13px;color:#334155}
.wsx-types{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wsx-rm.m .wsx-types{grid-template-columns:1fr}
.wsx-ty{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:11px;cursor:pointer}
.wsx-ty:has(input:checked){border-color:#c4b5fd;background:#f5f3ff}
.wsx-ty input{margin-top:3px;accent-color:#7c3aed}
.wsx-ty div{flex:1}.wsx-ty b{display:block;font-size:13px}.wsx-ty span{font-size:11.5px;color:#64748b}
.wsx-ty em{font-style:normal;font-size:11px;color:#ea580c;font-weight:600;white-space:nowrap}
.wsx-nt{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#334155}
.wsx-nt label{display:flex;gap:8px;align-items:center}
.wsx-nt input{accent-color:#7c3aed}
.wsx-foot{margin:16px 0 0;font-size:12px;color:#94a3b8;line-height:1.7}
.wsx-rd>footer{display:flex;align-items:center;gap:10px;padding:12px 20px;border-top:1px solid #f1f5f9}
.wsx-msg{flex:1;font-size:12px;color:#059669}.wsx-msg.bad{color:#dc2626}
.wsx-cancel,.wsx-save{height:38px;padding:0 18px;border-radius:10px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.wsx-cancel{border:1px solid #e2e8f0;background:#fff;color:#334155}
.wsx-save{border:0;background:#7c3aed;color:#fff}
.wsx-save:disabled{opacity:.5;cursor:not-allowed}
