:root{--bg: #f4f6fa;--card: #ffffff;--border: #e9edf5;--text: #16203a;--muted: #7c879e;--primary: #2f5bea;--ok: #18a058;--warn: #f0a020;--danger: #e5484d}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#d3d9e6;border-radius:8px}::-webkit-scrollbar-track{background:transparent}.login-page{display:flex;min-height:100vh;background:#fff}.login-brand{position:relative;width:46%;min-width:420px;padding:56px 56px 44px;color:#eaf0ff;background:radial-gradient(1200px 600px at 10% 0%,#2f5bea,#17286b 55%,#0d1738);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.login-brand:after{content:"";position:absolute;right:-140px;bottom:-160px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(88,132,255,.35),transparent 65%)}.login-brand .brand-logo{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:600;letter-spacing:.5px}.login-brand h1{font-size:34px;line-height:1.35;margin:0 0 18px;font-weight:600;letter-spacing:.5px}.login-brand p.lead{color:#eaf0ffb8;font-size:14px;line-height:1.9;max-width:420px;margin:0 0 34px}.brand-points{display:grid;gap:14px;position:relative;z-index:1}.brand-points div{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#eaf0ffdb}.brand-points .dot{width:22px;height:22px;border-radius:7px;background:#ffffff24;display:grid;place-items:center;font-size:12px}.login-brand .brand-foot{font-size:12px;color:#eaf0ff73;position:relative;z-index:1}.login-form-wrap{flex:1;display:flex;align-items:center;justify-content:center;padding:40px 24px}.login-form{width:100%;max-width:372px}.login-form h2{font-size:26px;margin:0 0 6px;font-weight:600}.login-form .sub{color:var(--muted);font-size:13.5px;margin:0 0 30px}.login-tip{margin-top:22px;padding:12px 14px;border-radius:10px;background:#f7f9fe;border:1px solid var(--border);color:var(--muted);font-size:12.5px;line-height:1.8}.app-shell,.app-body{height:100vh;overflow:hidden}.app-sider .ant-layout-sider-children{height:100%;overflow-y:auto;overscroll-behavior:contain}.app-sider{background:#fff!important;border-right:1px solid var(--border)}.app-logo{height:60px;display:flex;align-items:center;gap:10px;padding:0 20px;font-weight:600;font-size:15px;color:var(--text);border-bottom:1px solid var(--border);white-space:nowrap;overflow:hidden}.app-logo img{width:28px;height:28px;flex-shrink:0}.app-header{height:60px;padding:0 24px 0 16px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.header-left{display:flex;align-items:center;gap:12px}.header-title{font-size:16px;font-weight:600}.header-sub{font-size:12.5px;color:var(--muted);padding-left:12px;border-left:1px solid var(--border)}.header-right{display:flex;align-items:center;gap:14px}.user-chip{display:flex;align-items:center;gap:10px;padding:5px 10px 5px 6px;border-radius:10px;cursor:pointer;transition:background .2s}.user-chip:hover{background:#f4f6fb}.user-chip .name{font-size:13.5px;font-weight:500;line-height:1.2}.user-chip .role{font-size:11.5px;color:var(--muted);line-height:1.4}.app-content{padding:22px 24px 32px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.page-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px;gap:16px;flex-wrap:wrap}.page-head h2{margin:0 0 4px;font-size:20px;font-weight:600}.page-head .desc{color:var(--muted);font-size:13px}.soft-card{background:#fff;border:1px solid var(--border);border-radius:14px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.stat-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px 20px;position:relative;overflow:hidden}.stat-card .label{color:var(--muted);font-size:13px;display:flex;align-items:center;gap:8px}.stat-card .value{font-size:30px;font-weight:600;margin-top:10px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.stat-card .foot{margin-top:6px;font-size:12px;color:var(--muted)}.stat-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:17px}.trend{display:flex;align-items:flex-end;gap:10px;height:132px;padding-top:8px}.trend .bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;justify-content:flex-end}.trend .bar{width:100%;max-width:34px;border-radius:6px 6px 3px 3px;background:linear-gradient(180deg,#4a74f2,#2f5bea);min-height:4px;transition:height .4s ease}.trend .bar-label{font-size:11.5px;color:var(--muted)}.status-dot{display:inline-flex;align-items:center;gap:6px;font-size:13px}.status-dot i{width:7px;height:7px;border-radius:50%;display:inline-block}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px}.qr-box{display:flex;flex-direction:column;align-items:center;gap:14px;padding:18px 0 8px}.qr-frame{padding:12px;border:1px solid var(--border);border-radius:14px;background:#fff}.qr-hint{text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.perm-group{border:1px solid var(--border);border-radius:12px;padding:12px 16px 4px;margin-bottom:12px}.perm-group-title{font-weight:600;font-size:13.5px;margin-bottom:6px}.empty-wrap{padding:40px 0}.login-hint-card{border:1px dashed #cfd8ea;background:#f8faff;border-radius:12px;padding:14px 16px;font-size:12.5px;color:#55617a;line-height:1.9}.inbox{display:flex;height:calc(100vh - 114px);min-height:520px;background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden}.inbox-side{width:318px;flex-shrink:0;border-right:1px solid var(--border);display:flex;flex-direction:column;background:#fbfcfe}.inbox-tools{padding:14px 14px 12px;display:grid;gap:10px;border-bottom:1px solid var(--border)}.conv-list{flex:1;overflow-y:auto}.conv-item{display:flex;gap:10px;padding:12px 14px;cursor:pointer;border-bottom:1px solid #f1f4fa;transition:background .15s}.conv-item:hover{background:#f4f7ff}.conv-item.active{background:#eef3ff;box-shadow:inset 3px 0 0 var(--primary)}.conv-avatar{background:#e8eeff!important;color:#2f5bea!important;font-weight:600;border-radius:10px!important}.conv-body{flex:1;min-width:0}.conv-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.conv-name{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conv-time{font-size:11.5px;color:#9aa4b8;flex-shrink:0}.conv-bottom{display:flex;align-items:center;gap:6px;margin-top:3px}.conv-preview{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.conv-me{color:#9aa4b8}.dot-need{width:6px;height:6px;border-radius:50%;background:var(--danger);flex-shrink:0}.conv-meta{margin-top:4px;font-size:11px;color:#a9b2c6;display:flex;gap:6px}.conv-foot{padding:9px 14px;border-top:1px solid var(--border);font-size:12px;color:var(--muted);display:flex;align-items:center}.inbox-main{flex:1;min-width:0;display:flex;flex-direction:column;background:#fff}.inbox-blank{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:40px;text-align:center}.inbox-blank-icon{width:62px;height:62px;border-radius:18px;background:#f1f5ff;color:#2f5bea;font-size:28px;display:grid;place-items:center;margin-bottom:6px}.inbox-blank-title{font-size:15px;font-weight:600}.inbox-blank-desc{font-size:12.5px;color:var(--muted);line-height:1.9;max-width:420px}.thread-head{height:64px;flex-shrink:0;padding:0 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px}.thread-name{font-size:14.5px;font-weight:600;display:flex;align-items:center;white-space:nowrap;overflow:hidden}.thread-sub{font-size:11.5px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-actions{display:flex;gap:8px;flex-shrink:0}.thread-body{flex:1;overflow-y:auto;padding:18px 22px 8px;background:#fafbfe}.thread-date{text-align:center;font-size:11.5px;color:#9aa4b8;margin:10px 0 14px}.bubble-row{display:flex;gap:8px;margin-bottom:14px}.bubble-row.out{flex-direction:row-reverse}.bubble-avatar{background:#e8eeff!important;color:#2f5bea!important;flex-shrink:0}.bubble-wrap{max-width:min(560px,72%);display:flex;flex-direction:column}.bubble-row.out .bubble-wrap{align-items:flex-end}.bubble{padding:9px 13px;border-radius:12px;font-size:13.5px;line-height:1.75;white-space:pre-wrap;word-break:break-word}.bubble.in{background:#fff;border:1px solid var(--border);border-top-left-radius:4px}.bubble.out{background:linear-gradient(135deg,#3f6bf0,#2f5bea);color:#fff;border-top-right-radius:4px}.bubble-media{color:inherit;opacity:.75;font-size:12.5px}.bubble-time{font-size:11px;color:#9aa4b8;margin-top:4px}.thread-foot{flex-shrink:0;border-top:1px solid var(--border);padding:12px 18px 14px;background:#fff}.send-row{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:12px}.thread-noperm{padding:14px;text-align:center;font-size:12.5px;color:var(--muted);background:#f8faff;border:1px dashed #d8e0f0;border-radius:10px}.menu-dot{display:inline-block;min-width:17px;height:17px;line-height:17px;padding:0 5px;margin-left:6px;border-radius:9px;background:var(--danger);color:#fff;font-size:11px;text-align:center}.card-title{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:600;margin-bottom:14px}.card-title .anticon{color:var(--primary)}.form-row{display:flex;align-items:flex-start;gap:16px}.form-row-label{font-size:13px;font-weight:500;color:var(--text);line-height:1.6}.form-row-desc{font-size:12px;color:var(--muted);font-weight:400;line-height:1.7;max-width:320px}.form-row-ctrl{margin-left:auto;flex-shrink:0}
