.agent-fab{position:fixed;right:24px;bottom:28px;height:40px;padding:0 16px;border-radius:20px;background:linear-gradient(135deg,#1677ff,#0958d9);color:#fff;border:none;box-shadow:0 6px 20px #1677ff73;cursor:pointer;font-size:14px;z-index:9999}.agent-fab:hover{filter:brightness(1.05)}.agent-panel{position:fixed;right:24px;bottom:96px;width:400px;max-width:calc(100vw - 32px);height:600px;max-height:calc(100vh - 120px);background:#fff;border-radius:14px;box-shadow:0 12px 40px #0000002e;display:flex;flex-direction:column;z-index:9999;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Microsoft YaHei,sans-serif}.agent-panel.embedded{position:relative;right:auto;bottom:auto;width:100%;height:72vh;max-height:760px;box-shadow:none;border:1px solid #e5e7eb}.agent-header{background:linear-gradient(135deg,#1677ff,#0958d9);color:#fff;padding:12px 16px;display:flex;align-items:center;justify-content:space-between}.agent-header .title{font-weight:600;font-size:15px;display:flex;align-items:center;gap:8px}.agent-header .mode{font-size:11px;opacity:.9;margin-left:6px;padding:1px 6px;border:1px solid rgba(255,255,255,.5);border-radius:8px}.agent-header .actions{display:flex;gap:8px}.agent-header button{background:#ffffff2e;color:#fff;border:none;width:28px;height:28px;border-radius:8px;cursor:pointer;font-size:15px}.agent-header button:hover{background:#ffffff52}.agent-messages{flex:1;overflow-y:auto;padding:14px;background:#f5f7fa;display:flex;flex-direction:column;gap:12px}.agent-msg{display:flex}.agent-msg.user{justify-content:flex-end}.agent-msg .bubble{max-width:85%;padding:9px 12px;border-radius:12px;font-size:13.5px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.agent-msg.assistant .bubble{background:#fff;border:1px solid #eef0f3;color:#1f2329}.agent-msg.user .bubble{background:#1677ff;color:#fff}.agent-input{border-top:1px solid #ebedf0;padding:10px;display:flex;gap:8px;background:#fff}.agent-input input{flex:1;border:1px solid #d9dde3;border-radius:8px;padding:8px 10px;font-size:14px;outline:none}.agent-input input:focus{border-color:#1677ff}.agent-input button{background:#1677ff;color:#fff;border:none;border-radius:8px;padding:0 16px;font-size:14px;cursor:pointer}.agent-input button:disabled{opacity:.6;cursor:not-allowed}.agent-quick{display:flex;flex-wrap:wrap;gap:6px;padding:0 10px 8px;background:#fff}.agent-quick span{font-size:12px;color:#1677ff;background:#eaf2ff;border:1px solid #d6e6ff;border-radius:12px;padding:3px 10px;cursor:pointer}.agent-quick span:hover{background:#d6e6ff}.agent-keybox{border-top:1px dashed #ebedf0;padding:10px;background:#fafbfc}.agent-keybox label{font-size:12px;color:#666;display:block;margin-bottom:4px}.agent-keybox .row{display:flex;gap:6px}.agent-keybox input{flex:1;border:1px solid #d9dde3;border-radius:6px;padding:6px 8px;font-size:13px}.agent-keybox .hint{font-size:11px;color:#999;margin-top:6px;line-height:1.5}.agent-cards{display:flex;flex-direction:column;gap:8px;margin-top:8px}.agent-card{border:1px solid #e8eaed;border-radius:10px;padding:10px 12px;background:#fbfcfe;cursor:pointer;transition:box-shadow .15s,transform .1s}.agent-card:hover{box-shadow:0 4px 12px #1677ff26;border-color:#bcd6ff}.agent-card .c-name{font-weight:600;color:#1f2329;font-size:13.5px}.agent-card .c-sub{color:#6b7280;font-size:12px;margin-top:3px;line-height:1.5}.agent-card .c-tag{display:inline-block;font-size:11px;color:#1677ff;background:#eaf2ff;border-radius:6px;padding:1px 6px;margin-right:6px;margin-top:6px}.agent-card .c-price{color:#fa541c;font-weight:600}.agent-rfq{border:1px solid #91caff;background:#f0f7ff;border-radius:10px;padding:12px;margin-top:8px}.agent-rfq h4{margin:0 0 8px;font-size:13.5px;color:#0958d9}.agent-rfq .rfq-title-input{width:100%;border:1px solid #d9dde3;border-radius:6px;padding:6px 8px;font-size:13px;margin-bottom:8px;box-sizing:border-box}.agent-rfq .rfq-item{display:flex;gap:6px;align-items:center;margin-bottom:6px}.agent-rfq .rfq-item input{border:1px solid #d9dde3;border-radius:6px;padding:5px 7px;font-size:13px}.agent-rfq .rfq-item .nm{flex:1}.agent-rfq .rfq-item .qt{width:64px}.agent-rfq .rfq-item .rm{border:none;background:#ffe0e0;color:#cf1322;border-radius:6px;width:26px;height:28px;cursor:pointer;font-size:16px;line-height:1}.agent-rfq .rfq-actions{display:flex;gap:8px;margin-top:8px}.agent-rfq .rfq-actions button{border:none;border-radius:8px;padding:7px 14px;font-size:13px;cursor:pointer}.agent-rfq .rfq-submit{background:#1677ff;color:#fff}.agent-rfq .rfq-add{background:#eaf2ff;color:#1677ff}.agent-rfq .rfq-submit:disabled{opacity:.6}.agent-rfq .rfq-success{color:#389e0d;font-size:13.5px;line-height:1.8}.agent-rfq .rfq-success b{color:#0958d9}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}#root{height:100vh}.page-container{padding:24px;background:#f5f5f5;min-height:100%}.page-header{margin-bottom:16px}.search-bar{margin-bottom:16px;padding:16px;background:#fff;border-radius:8px}.table-card{background:#fff;padding:16px;border-radius:8px}.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.dashboard-card{background:#fff;border-radius:8px;padding:20px;text-align:center;box-shadow:0 1px 3px #0000001a}.dashboard-card .value{font-size:28px;font-weight:700;margin:8px 0}.dashboard-card .label{color:#666;font-size:14px}.dashboard-charts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dashboard-chart{background:#fff;border-radius:8px;padding:16px}@media (max-width: 1200px){.dashboard-grid{grid-template-columns:repeat(2,1fr)}.dashboard-charts{grid-template-columns:1fr}}.portal-register{display:grid;grid-template-columns:420px 1fr;min-height:100vh}.pr-brand{position:relative;display:flex;flex-direction:column;justify-content:center;padding:56px 52px;color:#fff;background:linear-gradient(155deg,#0f2a4a,#16456e 55%,#0e7c66);overflow:hidden}.pr-brand:after{content:"";position:absolute;right:-120px;top:-120px;width:320px;height:320px;background:radial-gradient(circle,rgba(16,185,129,.35),transparent 65%);border-radius:50%}.pr-brand-customer{background:linear-gradient(155deg,#0f2a4a,#1e4e7e 55%,#0ea5e9)}.pr-logo{height:42px;display:block;margin-bottom:28px}.pr-brand-title{font-size:30px;font-weight:700;line-height:1.35;letter-spacing:1px}.pr-brand-sub{margin-top:14px;font-size:15px;opacity:.82}.pr-points{list-style:none;margin-top:38px;display:flex;flex-direction:column;gap:16px}.pr-points li{font-size:15px;opacity:.92;display:flex;align-items:center;gap:12px}.pr-dot{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px #10b98140;flex:none}.pr-brand-customer .pr-dot{background:#0ea5e9;box-shadow:0 0 0 4px #0ea5e940}.pr-form-wrap{display:flex;align-items:center;justify-content:center;padding:48px;background:#f4f6fb}.pr-card{width:100%;max-width:720px;border-radius:18px;box-shadow:0 20px 50px #0f2a4a1a;padding:40px 44px}.pr-head{margin-bottom:26px}.pr-head .ant-typography{display:block}.pr-head .ant-typography:nth-of-type(2){margin-top:8px}.pr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.pr-grid .ant-form-item{margin-bottom:18px}.pr-tree{max-height:340px;overflow:auto;padding:14px 16px;border:1px solid #e8edf5;border-radius:12px;background:#fbfcfe}.pr-submit{margin-top:10px;height:48px;border-radius:12px;font-size:15px;background:linear-gradient(135deg,#10b981,#0ea5e9);border:none;font-weight:600}.pr-submit:hover{background:linear-gradient(135deg,#0e9f6e,#0a8fd0)}.pr-foot{margin-top:22px;text-align:center;font-size:14px}.pr-foot a{color:#0e7c66;font-weight:600}@media (max-width: 980px){.portal-register{grid-template-columns:1fr}.pr-brand{padding:40px 32px}.pr-form-wrap{padding:32px 20px}.pr-grid{grid-template-columns:1fr}.pr-card{padding:28px 24px}}.scm-sider .ant-menu-dark,.scm-sider .ant-menu-dark .ant-menu-sub{background:transparent}.scm-sider .ant-menu-dark .ant-menu-item,.scm-sider .ant-menu-dark .ant-menu-submenu-title{color:#ffffffc7;border-radius:8px;margin:4px 8px;width:calc(100% - 16px)}.scm-sider .ant-menu-dark .ant-menu-item:hover,.scm-sider .ant-menu-dark .ant-menu-submenu-title:hover{color:#fff;background:#ffffff14}.scm-sider .ant-menu-dark .ant-menu-item-selected{color:#fff;background:linear-gradient(135deg,#10b981f2,#0ea5e9f2);box-shadow:0 6px 16px #0ea5e94d}.scm-sider .ant-menu-dark .ant-menu-item-selected .anticon,.scm-sider .ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title{color:#fff}.scm-content-card{background:#fff;border-radius:14px;box-shadow:0 8px 24px #0f2a4a0f;padding:20px 22px}.portal-sider .ant-menu{background:transparent;color:#ffffffd1}.portal-sider .ant-menu .ant-menu-item,.portal-sider .ant-menu .ant-menu-submenu-title{color:#ffffffd1;border-radius:8px;margin:4px 10px;width:calc(100% - 20px)}.portal-sider .ant-menu .ant-menu-item:hover,.portal-sider .ant-menu .ant-menu-submenu-title:hover{color:#fff;background:#ffffff1a}.portal-sider .ant-menu .ant-menu-item-selected{color:#fff;background:linear-gradient(135deg,#10b981f2,#0ea5e9f2);box-shadow:0 6px 16px #0ea5e94d}.portal-sider-customer .ant-menu .ant-menu-item-selected{background:linear-gradient(135deg,#0ea5e9f2,#10b981f2)}.portal-sider .ant-menu .ant-menu-item-selected .anticon{color:#fff}.portal-sider .ant-menu .ant-menu-submenu-selected>.ant-menu-submenu-title{color:#fff}.workbench{position:relative;flex:1;min-height:0;height:100%;display:flex;flex-direction:column}.wb-tabbar{display:flex;align-items:flex-end;gap:4px;padding:8px 16px 0;border-bottom:1px solid #eef1f6;overflow-x:auto;flex:none;background:#fff}.wb-tab{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 8px 0 14px;border:1px solid #e3e8f0;border-bottom:none;border-radius:10px 10px 0 0;background:#eef1f6;color:#5a6b80;font-size:13px;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;transition:all .15s}.wb-tab:hover{background:#e6ecf5}.wb-tab-active{font-weight:600;box-shadow:0 -3px 8px #0f2a4a14}.wb-tab-title{max-width:180px;overflow:hidden;text-overflow:ellipsis}.wb-tab-close{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;opacity:.55}.wb-tab-close:hover{background:#0000001f;opacity:1}.wb-body{flex:1;min-height:0;overflow:auto;padding:20px 24px;background:#f4f6fb}
