*{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,PingFang SC,sans-serif;background:#f5f7fa}.login-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;background:radial-gradient(900px 480px at 20% -5%,#1b3a6b 0%,transparent 60%),radial-gradient(760px 420px at 85% 10%,#24325c 0%,transparent 55%),linear-gradient(160deg,#0b1524,#0e1a2c);color:#e6edf7}.login-brand{text-align:center;margin-bottom:34px}.login-logo{width:54px;height:54px;margin:0 auto 16px;border-radius:14px;display:grid;place-items:center;font-size:26px;font-weight:800;color:#fff;background:linear-gradient(135deg,#1668dc,#13a8a8);box-shadow:0 8px 26px #1668dc73}.login-brand h1{margin:0 0 6px;font-size:27px;font-weight:700;letter-spacing:-.3px}.login-brand p{margin:0;color:#92a5c0;font-size:14px}.login-cards{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;max-width:1100px}.login-tenant{width:330px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#ffffff0a;padding:18px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.login-tenant-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.login-tenant-name{font-size:15px;font-weight:650}.login-tenant-code{font-size:11.5px;color:#6f819c;font-family:Consolas,monospace}.login-users{display:flex;flex-direction:column;gap:8px}.login-user.ant-btn{height:auto;padding:9px 12px;display:flex;align-items:center;gap:8px;justify-content:flex-start;background:#ffffff0d;border-color:#ffffff1f;color:#dce6f5}.login-user.ant-btn:hover{background:#1668dc2e;border-color:#1668dc;color:#fff}.login-user-name{font-weight:600}.login-user-email{margin-left:auto;font-size:11px;color:#7b8ca6;font-family:Consolas,monospace}.login-hint{margin-top:28px;font-size:12.5px;color:#6f819c}.app-layout{min-height:100vh}.app-sider{box-shadow:2px 0 12px #0000002e}.sider-brand{display:flex;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.06)}.sider-logo{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,#1668dc,#13a8a8);flex:0 0 auto}.sider-title{color:#e6edf7;font-weight:650;letter-spacing:.2px}.sider-foot{position:absolute;bottom:0;left:0;right:0;padding:14px 18px 18px;border-top:1px solid rgba(255,255,255,.06);color:#8fa2bd;font-size:12px}.sider-foot-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.1em;color:#55677f;margin-top:8px}.sider-foot-label:first-child{margin-top:0}.sider-foot-value{color:#dce6f5;font-weight:600}.sider-foot-scope{font-size:11.5px}.app-header{display:flex;align-items:center;justify-content:space-between;padding:0 20px;box-shadow:0 1px 6px #00000024;z-index:5}.header-user-name{color:#ffffffd9;font-size:13px}.app-content{padding:20px 24px 40px;overflow:auto}.page-head h1{margin:0 0 4px;font-size:21px;font-weight:680}.page-head p{margin:0 0 18px;color:#8a94a6;font-size:13px}.slot{margin-bottom:26px}.slot-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.slot-title{font-size:13px;font-weight:650;color:#475467;padding-left:9px;border-left:3px solid #1668dc;line-height:1.1}.slot-badge{font-size:11px;color:#1668dc;background:#eaf2fd;border:1px solid #c9ddfa;border-radius:999px;padding:1px 9px}.slot-badge-muted{color:#98a2b3;background:#f7f8fa;border-color:#e7eaef}.widget-wrap{position:relative;height:100%}.widget-origin{position:absolute;top:8px;right:10px;font-size:10px;line-height:1.6;color:#98a2b3;border:1px solid #e7eaef;border-radius:4px;padding:0 5px;background:#ffffffe6;pointer-events:none}.slot-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}.slot-cell{min-width:0}.slot-cell.span-3{grid-column:span 3}.slot-cell.span-6{grid-column:span 6}.slot-cell.span-8{grid-column:span 8}.slot-cell.span-12{grid-column:span 12}@media (max-width: 1280px){.slot-cell.span-3{grid-column:span 6}.slot-cell.span-8{grid-column:span 12}}@media (max-width: 860px){.slot-cell.span-3,.slot-cell.span-6{grid-column:span 12}}.slot-empty{border:1px dashed #d5dae2;border-radius:10px;background:#fafbfc;padding:18px}.widget-card{border-radius:10px;border-color:#e7eaef;height:100%}.widget-desc{font-size:11.5px;color:#98a2b3;font-weight:400}.widget-metric{background:#fff;border:1px solid #e7eaef;border-radius:10px;padding:16px 18px;height:100%}.widget-metric-title{font-size:12.5px;color:#667085;margin-bottom:8px}.widget-metric-desc{font-size:11.5px;color:#98a2b3;margin-top:6px}.metric-unit{font-size:13px;color:#98a2b3;margin-left:4px;font-weight:400}.module-card{border:1px solid #e7eaef;border-radius:10px;background:#fff;overflow:hidden}.module-card-head{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #f0f2f5;background:#fafbfc}.module-card-title{font-size:13px;font-weight:650}.module-card-tag{font-size:11px;color:#7c5cd6;background:#f2edfd;border:1px solid #ddd2f7;border-radius:999px;padding:1px 9px}.module-frame{min-height:200px;width:100%;overflow:hidden;transition:height .15s ease-out}.ext-entry.ant-btn{background:#ffffff0f;border-color:#ffffff29;color:#ffffffd9}.ext-entry.ant-btn:hover{background:#ffffff1f;border-color:#ffffff4d;color:#fff}.ext-card{border:1px solid #e7eaef;border-radius:10px;overflow:hidden;width:100%}.ext-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:11px 13px;background:#fafbfc;border-bottom:1px solid #f0f2f5}.ext-card-name{font-size:13.5px;font-weight:650}.ext-card-id{font-family:Consolas,monospace;font-size:11px;color:#98a2b3;margin-top:2px}.ext-versions{padding:4px 0}.ext-version{display:flex;align-items:center;gap:8px;padding:6px 13px;font-size:12.5px}.ext-version-no{font-family:Consolas,monospace;font-weight:650;min-width:32px}.ext-version-time{color:#98a2b3;font-size:11.5px}.ext-version-actions{margin-left:auto;display:flex;gap:2px}.code-view{margin:0;padding:12px 14px;border-radius:8px;background:#0d1526;color:#cfe0f5;font-family:Consolas,Cascadia Code,monospace;font-size:12px;line-height:1.6;max-height:460px;overflow:auto;white-space:pre}.chat-body{flex:1;overflow-y:auto;padding-right:4px}.chat-empty{padding-top:24px}.chat-quick{display:flex;flex-direction:column;gap:8px;margin-top:18px}.chat-quick .ant-btn{height:auto;padding:8px 11px;white-space:normal;text-align:left;font-size:12.5px;line-height:1.5}.chat-msg{margin-bottom:14px;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.65}.chat-msg-user{background:#eaf2fd;border:1px solid #cfe0f9;margin-left:26px}.chat-msg-bot{background:#fff;border:1px solid #e7eaef}.chat-msg-head{display:flex;align-items:center;gap:7px;font-size:12px;color:#667085;margin-bottom:6px}.chat-msg-body{white-space:pre-wrap;word-break:break-word}.chat-error{margin-top:8px;padding:7px 10px;border-radius:6px;background:#fff1f0;border:1px solid #ffccc7;color:#cf1322;font-size:12px}.trace-list{margin-top:10px;border-left:2px solid #eef0f4;padding-left:10px;display:flex;flex-direction:column;gap:7px}.trace-item{display:flex;align-items:flex-start;gap:8px;font-size:12px}.trace-icon{margin-top:2px}.trace-body{flex:1;min-width:0}.trace-label{color:#344054;font-weight:550}.trace-detail{color:#98a2b3;font-size:11.5px;word-break:break-all;font-family:Consolas,monospace;margin-top:1px}.trace-dur{color:#b0b8c5;font-size:11px;font-family:Consolas,monospace;flex:0 0 auto}.chat-extension{margin-top:10px;padding:9px 11px;border-radius:8px;background:#f6ffed;border:1px solid #d9f7be}.chat-extension-title{font-size:12.5px;font-weight:650;color:#389e0d;margin-bottom:6px}.chat-input{border-top:1px solid #eef0f4;padding-top:10px;margin-top:10px}.chat-actions{display:flex;justify-content:flex-end;margin-top:8px}
