html,body,#root{width:100%;height:100%;margin:0}body{color:#172033;background:#f4f6fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-shell{height:100%;min-height:0;overflow:hidden}.app-shell>.ant-layout{min-width:0;min-height:0}.side-nav{height:100vh;overflow-y:auto;background:#111827!important}.brand{height:56px;display:flex;align-items:center;padding:0 18px;color:#fff;font-weight:700;border-bottom:1px solid rgba(255,255,255,.08)}.topbar{height:56px;padding:0 24px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between}.content{min-height:0;overflow:auto;padding:24px}.ai-conversation-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px}.ai-export-task-panel{position:fixed;right:24px;bottom:24px;z-index:1000;width:min(760px,calc(100vw - 48px));box-shadow:0 12px 36px #0f172a38}.ai-export-task-panel.minimized{width:min(360px,calc(100vw - 48px))}.ai-export-task-panel.minimized .ant-card-body{display:none}.login-screen{min-height:100%;display:grid;place-items:center;background:#eef2f7}.login-card{width:min(420px,calc(100vw - 32px))}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.endpoint-metric-filters{margin-bottom:16px}.endpoint-metric-select{width:min(520px,78vw)}.endpoint-metric-alert{margin-bottom:16px}.endpoint-metric-chart{width:100%;min-height:280px;overflow-x:auto}.endpoint-metric-chart svg{display:block;width:100%;min-width:680px;height:280px}.endpoint-metric-grid{stroke:#e5e7eb;stroke-width:1}.endpoint-metric-line{fill:none;stroke:#2563eb;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.endpoint-metric-axis{fill:#64748b;font-size:12px}.endpoint-metric-empty{display:grid;min-height:280px;place-items:center;color:#64748b;text-align:center}.license-usage-subject{margin-bottom:16px}.license-usage-stat-grid,.license-usage-detail-grid,.license-usage-trend-grid{display:grid;gap:12px}.license-usage-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.license-usage-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}.license-usage-detail-card .ant-card-body{display:grid;gap:8px}.license-usage-detail-line{display:flex;justify-content:space-between;gap:12px;color:#64748b}.license-usage-detail-line strong{color:#172033}.license-usage-trend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.license-usage-trend-chart{width:100%;min-height:180px;overflow-x:auto}.license-usage-trend-chart svg{display:block;min-width:290px;width:100%;height:180px}.license-usage-trend-line{fill:none;stroke:#2563eb;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.license-usage-trend-line.tokens{stroke:#0f9f6e}.license-usage-trend-line.requests{stroke:#9333ea}.license-usage-trend-axis{fill:#64748b;font-size:11px}@media(max-width:900px){.license-usage-stat-grid,.license-usage-detail-grid,.license-usage-trend-grid{grid-template-columns:1fr}}.page-stack{width:100%}.admin-table{min-width:0}.admin-table .ant-table-cell{overflow:hidden;padding:10px 12px!important;white-space:nowrap;text-overflow:ellipsis}.admin-table-resizable-header{position:relative!important;overflow:visible!important}.admin-table-column-resize-handle{position:absolute;z-index:6;top:0;right:-4px;width:9px;height:100%;cursor:col-resize;touch-action:none}.admin-table-column-resize-handle:after{position:absolute;top:20%;bottom:20%;left:4px;width:2px;border-radius:1px;background:transparent;content:"";transition:background-color .15s ease}.admin-table-column-resize-handle:hover:after,.admin-table-column-resizing .admin-table-column-resize-handle:after{background:#2563eb}.admin-table-column-resizing,.admin-table-column-resizing *{cursor:col-resize!important}.admin-table .ant-table-column-title,.admin-table .ant-table-cell>.ant-typography{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.admin-table .ant-table-cell>.ant-typography{display:inline-block;vertical-align:middle;white-space:nowrap}.admin-table .ant-table-cell .ant-space{max-width:100%;overflow:hidden;flex-wrap:nowrap}.admin-table-copyable-cell{cursor:copy}.admin-table .ant-table-pagination.ant-pagination{position:sticky;bottom:-24px;z-index:5;margin:0;padding:12px 0;background:#f4f6fb}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.toolbar h4{margin:0}.two-column-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}.full-width{width:100%}.form-full-row{grid-column:1 / -1}.audit-filter{row-gap:12px}.filter-select{width:280px}.api-key-input{width:360px}.scope-select{min-width:220px}.result-alert{margin-top:16px}.json-cell{display:inline-block;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.pool-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.router-status-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}.router-problem-card{height:100%;cursor:help}.router-problem-popover-content{display:flex;flex-direction:column;gap:10px;width:min(620px,calc(100vw - 64px));max-height:460px;overflow-y:auto}.router-problem-model{display:grid;gap:6px;padding:10px;border:1px solid #e5e7eb;border-radius:6px}.router-problem-target{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:6px;border-top:1px dashed #e5e7eb}.router-problem-target>span:first-child{min-width:0;overflow-wrap:anywhere}.route-preview-hover-trigger{display:inline-block;max-width:100%;overflow:hidden;color:#1677ff;text-overflow:ellipsis;vertical-align:bottom;cursor:help;border-bottom:1px dashed #91caff}.route-preview-popover{pointer-events:none}.route-preview-popover .ant-popover-inner{width:min(1040px,calc(100vw - 40px));padding:16px}.route-preview-popover-content{display:flex;flex-direction:column;gap:12px;width:100%}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.billing-token-cell{cursor:help;line-height:1.5;white-space:nowrap}.billing-input{color:#10b981}.billing-output{color:#8b5cf6}.billing-cache{color:#f59e0b}.billing-detail-popover .ant-popover-inner{min-width:280px;color:#e5e7eb;background:#111827;border:1px solid #334155}.billing-detail-popover .ant-popover-arrow:before{background:#111827}.billing-detail-card{display:flex;flex-direction:column;gap:5px;min-width:250px}.billing-cost-card{min-width:310px}.billing-detail-line{display:flex;justify-content:space-between;gap:24px;color:#aeb8c8}.billing-detail-line span:last-child{color:#f8fafc;font-variant-numeric:tabular-nums}.billing-detail-line.accent span:last-child{color:#38bdf8;font-weight:600}.billing-detail-divider{height:1px;margin:4px 0;background:#334155}.billing-component+.billing-component{margin-top:3px}.billing-overview-header{display:flex;min-height:32px;align-items:center;justify-content:space-between;padding:0 4px 0 8px}.billing-relation-map{display:grid;gap:10px;overflow-x:auto;padding:14px;background:#fafafa;border:1px solid #f0f0f0;border-radius:8px}.billing-relation-row{min-width:900px;display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(180px,1fr) auto minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;gap:10px}.billing-relation-row>.anticon{color:#94a3b8}.billing-relation-step{min-width:0;display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:8px;row-gap:2px;align-items:center;padding:10px 12px;background:#fff;border:1px solid #f0f0f0;border-radius:7px}.billing-relation-step>span{grid-row:1 / span 2;width:24px;height:24px;display:grid;place-items:center;color:#2563eb;background:#eff6ff;border-radius:50%;font-size:12px;font-weight:700}.billing-relation-step strong,.billing-relation-step small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-relation-step small{color:#64748b}.billing-relation-step.result{border-color:#bbf7d0;background:#f0fdf4}.billing-relation-step.result>span,.billing-relation-row.provider .billing-relation-step>span{color:#15803d;background:#dcfce7}.billing-relation-row.provider .billing-relation-step.result{border-color:#ddd6fe;background:#f5f3ff}.billing-relation-row.provider .billing-relation-step.result>span{color:#7c3aed;background:#ede9fe}.billing-base-strip{display:flex;align-items:center;gap:24px;padding:12px 16px;background:#fff;border:1px solid #f0f0f0;border-radius:8px}.billing-base-strip>div{display:grid;gap:2px;white-space:nowrap}.billing-base-strip>div strong{font-size:16px}.billing-base-strip>.ant-typography{min-width:0;flex:1}.billing-config-card .ant-card-body{padding-bottom:16px}@media(max-width:1180px){.billing-base-strip{align-items:flex-start;flex-wrap:wrap}}@media(max-width:760px){.form-grid{grid-template-columns:1fr}}.route-preview-loading{display:flex;min-height:88px;align-items:center;justify-content:center;gap:8px}.pool-filter-bar{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(4,minmax(140px,1fr));gap:8px;align-items:center}.pool-action-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.pool-import-file-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pool-operation-summary{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px}.compact-cell{min-width:0}.pool-member-summary{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px}.pool-bind-form{row-gap:12px}.pool-bind-account-select{min-width:280px}.pool-node-org-select{min-width:160px}.channel-test-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.channel-test-head>div{display:flex;flex-direction:column;gap:4px;min-width:0}.test-log-panel{border:1px solid #e5e7eb;border-radius:6px;background:#fff}.test-log-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #e5e7eb}.test-log-body{min-height:160px;max-height:240px;overflow:auto;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.8}.test-log-line{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px}.test-log-info{color:#2563eb}.test-log-success{color:#047857}.test-log-error{color:#dc2626}@media(max-width:760px){.toolbar,.ai-conversation-pagination{align-items:flex-start;flex-direction:column}.two-column-form,.pool-filter-bar{grid-template-columns:1fr}.pool-action-bar{align-items:flex-start;flex-direction:column}.pool-member-summary,.pool-operation-summary{grid-template-columns:1fr}.router-status-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}
