*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5714;color:#000000e0;background:#f5f7fa;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd{margin:0}img,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#0000002e;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#00000047}::-webkit-scrollbar-track{background:transparent}.brand{display:flex;align-items:center;gap:10px;-webkit-user-select:none;user-select:none}.brand__logo{height:32px;width:32px;flex-shrink:0}.brand__texts{display:flex;flex-direction:column;justify-content:center;line-height:1}.brand__name{font-size:15px;font-weight:700;letter-spacing:2px;line-height:1;white-space:nowrap}.brand__code{font-size:11px;font-weight:500;letter-spacing:.5px;color:#00000073;margin-top:3px;white-space:nowrap}.admin-layout{min-height:100vh}.admin-sider{background:#fff!important;border-right:1px solid #eef0f3;position:sticky;top:0;height:100vh;overflow-y:auto;overflow-x:hidden}.admin-sider>.ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.admin-sider-menu{flex:1;min-height:0;overflow-y:auto}.admin-sider-collapse{padding:8px;border-top:1px solid #eef0f3}.admin-sider-collapse .ant-btn{width:100%;color:#0000008c}.admin-sider-collapse .ant-btn:hover{color:#0891b2;background:#0891b20f}.admin-sider-brand{display:flex;align-items:center;height:64px;padding:0 18px;border-bottom:1px solid #eef0f3}.admin-sider .ant-menu{border-inline-end:0!important;padding:8px}.admin-sider .ant-menu-item,.admin-sider .ant-menu-submenu-title{margin:2px 0!important;border-radius:8px;transition:background .2s ease,color .2s ease}.admin-header{position:sticky;top:0;z-index:20;height:64px;line-height:normal;background:#ffffffeb!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:0 24px!important;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eef0f3}.admin-header-left{display:flex;align-items:center;gap:12px;min-width:0}.admin-header-title{font-size:18px;font-weight:700;line-height:1.3;color:#000000e0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-header-right{display:flex;align-items:center;gap:8px}.admin-user-trigger{display:flex;align-items:center;gap:10px;cursor:pointer;padding:5px 12px 5px 6px;border-radius:8px;transition:background .2s ease}.admin-user-trigger:hover{background:#0000000b}.admin-user-name{font-weight:500;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-content{padding:24px;min-width:0}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;flex-wrap:wrap}.admin-table-card,.perm-panel{background:#fff;border:1px solid #eef0f3;border-radius:10px;overflow:hidden}.perm-panel .perm-app-tabs .ant-tabs-nav{margin-bottom:0;padding:0 16px}.perm-panel .perm-app-tabs .ant-tabs-tab{padding:12px 4px}.perm-panel .perm-app-tabs .ant-tabs-tab-active .ant-tabs-tab-btn{font-weight:600}.perm-panel-body{padding:12px 16px}.perm-panel-body .admin-table-card{border:none;border-radius:0}.admin-table-card .ant-table-wrapper .ant-table{border-radius:0}.admin-table-card .ant-table-thead>tr>th{background:#fafbfc!important;font-weight:600;font-size:13px}.admin-table-card .ant-table-tbody>tr{transition:background .15s ease}.admin-table-card .ant-table-cell-fix{background-color:#fff!important}.admin-table-card .ant-table-cell-fix.ant-table-cell-row-hover{background-color:#f4fafc!important}.admin-form-card{background:#fff;border:1px solid #eef0f3;border-radius:10px;padding:24px;max-width:520px}.status-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse 60% 45% at 50% 0%,rgba(8,145,178,.07) 0%,transparent 65%),#f5f7fa;padding:24px}.status-page .ant-result{animation:float-in .5s ease both}@keyframes float-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.toast-stack{position:fixed;top:16px;right:16px;z-index:1010;display:flex;flex-direction:column;gap:8px;max-width:400px}.toast{padding:12px 16px;border-radius:8px;box-shadow:0 6px 20px #0000001f;animation:toast-in .25s ease-out;color:#fff}.toast--auth{background:#cf1322}.toast--permission{background:#d4380d}.toast--validation{background:#d48806}.toast--business{background:#0891b2}.toast--server{background:#531dab}.toast--network{background:#595959}.toast__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}.toast__title{font-weight:600;font-size:13px}.toast__close{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;opacity:.7;line-height:1;padding:0 2px}.toast__close:hover{opacity:1}.toast__body{font-size:12px;opacity:.9;margin:0}@keyframes toast-in{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.ops-menu{position:relative}.ops-menu__trigger{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;height:32px;border:none;border-radius:6px;background:transparent;color:#000000e0;font-size:14px;cursor:pointer;transition:background .2s}.ops-menu__trigger:hover,.ops-menu__trigger.open{background:#0891b214;color:#0891b2}.ops-menu__caret{font-size:10px;line-height:1;margin-left:2px}.ops-menu__panel{position:absolute;top:calc(100% + 4px);right:0;min-width:140px;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid #eef0f3;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px #0000000a;z-index:1050}.ops-menu__item{display:block;width:100%;padding:8px 12px;border:none;border-radius:6px;background:transparent;color:#000000e0;font-size:14px;text-align:left;cursor:pointer;transition:background .15s}.ops-menu__item:hover{background:#0891b20f;color:#0891b2}.purchase-flow{--node-h: 56px;--center: calc(var(--node-h) / 2)}.purchase-flow .scene{background:#fff;border:1px solid #eef1f5;border-radius:14px;box-shadow:0 1px 3px #0f2e4f0f;margin-bottom:16px;overflow:hidden}.purchase-flow .scene-head{display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #f0f2f5;background:linear-gradient(90deg,#0891b20f,#22d3ee08)}.purchase-flow .scene-head .badge{flex:none;width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,#0891b2,#06b6d4);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}.purchase-flow .scene-head .title{font-size:15px;font-weight:700;color:#0c4a6e}.purchase-flow .scene-head .title em{font-style:normal;color:#0891b2}.purchase-flow .scene-body{padding:18px 20px 20px;overflow-x:auto}.purchase-flow .flow{display:flex;align-items:flex-start}.purchase-flow .node{flex:none;height:var(--node-h);box-sizing:border-box;border-radius:10px;padding:8px 14px;min-width:112px;display:flex;align-items:center;gap:9px;text-align:left}.purchase-flow .node .n-badge{flex:none;width:22px;height:22px;border-radius:50%;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}.purchase-flow .node .n-txt{display:flex;flex-direction:column;line-height:1.3}.purchase-flow .node .n-title{font-size:14px;font-weight:600;white-space:nowrap}.purchase-flow .node .n-desc{font-size:11px;color:#64748b;margin-top:2px;line-height:1.4;white-space:nowrap}.purchase-flow .node.pre{background:#fff7e6;border:1.5px dashed #faad14}.purchase-flow .node.pre .n-title{color:#8a5a00}.purchase-flow .node.step{background:#e6f7ff;border:1.5px solid #1890ff}.purchase-flow .node.step .n-badge{background:#1890ff}.purchase-flow .node.step .n-title{color:#0c4a6e}.purchase-flow .node.term{background:#52c41a1a;border:1.5px dashed #52c41a}.purchase-flow .node.term .n-title{color:#389e0d}.purchase-flow .node.term .n-desc{color:#5a8a5a}.purchase-flow .node.out{background:#fadb1424;border:1.5px dashed #fadb14}.purchase-flow .node.out .n-title{color:#ad8b00}.purchase-flow .node.out .n-desc{color:#8c6d1f}.purchase-flow .node.pay{background:#f9f0ff;border:1.5px solid #b37feb}.purchase-flow .node.pay .n-title{color:#531dab}.purchase-flow .node.pay .n-desc{color:#7a5aa0}.purchase-flow .node.settle{background:#e6fffb;border:1.5px solid #13c2c2}.purchase-flow .node.settle .n-title{color:#006d75}.purchase-flow .arrow{flex:none;width:52px;height:var(--node-h);position:relative;display:flex;align-items:center;justify-content:center}.purchase-flow .arrow .line{width:100%;height:2px;background:#cbd5e1;position:relative}.purchase-flow .arrow .line:after{content:"";position:absolute;right:-2px;top:-4px;width:0;height:0;border-left:8px solid #cbd5e1;border-top:5px solid transparent;border-bottom:5px solid transparent}.purchase-flow .arrow .lab{position:absolute;top:6px;left:50%;transform:translate(-50%);font-size:10px;color:#94a3b8;white-space:nowrap}.purchase-flow .arrow.plain{width:36px}.purchase-flow .branch{flex:1;display:flex;align-items:flex-start}.purchase-flow .branch .connector{width:30px;align-self:stretch;display:flex;flex-direction:column;align-items:flex-end;padding-bottom:var(--center)}.purchase-flow .branch .connector .h-line{width:100%;height:2px;background:#cbd5e1;margin-top:calc(var(--center) - 1px)}.purchase-flow .branch .connector .v-line{flex:1;width:2px;background:#cbd5e1}.purchase-flow .branch .terms{flex:1;display:flex;flex-direction:column;gap:12px}.purchase-flow .branch .term-row{display:flex;align-items:center}.purchase-flow .branch .term-row .node{flex:1;min-width:0}.purchase-flow .branch .term-row .stub{flex:none;width:16px;height:2px;background:#cbd5e1;position:relative}.purchase-flow .branch .term-row .stub:after{content:"";position:absolute;right:-2px;top:-4px;width:0;height:0;border-left:8px solid #cbd5e1;border-top:5px solid transparent;border-bottom:5px solid transparent}.purchase-flow .note{margin-top:14px;font-size:12px;color:#b45309;background:#fffbf0;border:1px dashed #fcd34d;border-radius:8px;padding:6px 12px;display:inline-block}.purchase-flow .note b{font-weight:600}.purchase-flow .sub-flow{margin-top:16px;padding-top:16px;border-top:1px dashed #e8ecf1;display:flex;align-items:center}.purchase-flow .sub-flow .tag{flex:none;font-size:11px;color:#0e7490;font-weight:600;background:#ecfeff;border:1px solid #a5f3fc;border-radius:6px;padding:3px 8px;margin-right:14px}.purchase-flow .node.hub{background:linear-gradient(135deg,#dff5fb,#e2f8f2);border:1.5px solid #0891b2}.purchase-flow .node.hub .n-badge{background:linear-gradient(135deg,#0891b2,#06b6d4)}.purchase-flow .node.hub .n-title{color:#0e7490}.purchase-flow .node.sale{background:#f4f0ff;border:1.5px solid #7c3aed}.purchase-flow .node.sale .n-badge{background:#7c3aed}.purchase-flow .node.sale .n-title{color:#5b21b6}.purchase-flow .hub-col{flex:none;display:flex;flex-direction:column;align-items:center}.purchase-flow .hub-drop{width:2px;height:22px;background:#cbd5e1}.purchase-flow .split{display:flex;gap:24px;border-top:2px solid #cbd5e1}.purchase-flow .col{flex:1;display:flex;flex-direction:column;align-items:center}.purchase-flow .col-stem{width:2px;height:18px;background:#cbd5e1}.purchase-flow .case{width:100%;box-sizing:border-box;border-radius:14px;padding:16px 18px 18px}.purchase-flow .case.one{background:#fbfaff;border:1px solid #ece6fb}.purchase-flow .case.two{background:#f6fcfb;border:1px solid #e0f2ef}.purchase-flow .case-tag{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;letter-spacing:.2px;padding:4px 11px;border-radius:999px;margin-bottom:14px}.purchase-flow .case.one .case-tag{color:#5b21b6;background:#ece6fb}.purchase-flow .case.two .case-tag{color:#0e7490;background:#dcf0f0}.purchase-flow .case-tag .dot{width:7px;height:7px;border-radius:50%;background:currentColor}.purchase-flow .case-desc{margin-top:14px;font-size:12px;color:#64748b;line-height:1.65;border-left:3px solid #e2e8f0;padding-left:10px}.purchase-flow .case.one .case-desc{border-left-color:#d8cbf5}.purchase-flow .case.two .case-desc{border-left-color:#bce3df}.purchase-flow .case-desc b{font-weight:600}
