:root{color-scheme:light;font-family:SF Pro Text,PingFang SC,Hiragino Sans GB,Noto Sans SC,Microsoft YaHei,Arial,sans-serif;background:#f9f9f7;color:#1a1c1b;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-width:320px;background:#f9f9f7}a{color:inherit;text-decoration:none}.console-layout{min-height:100vh}.console-layout .ant-layout{min-width:0}.console-sider{position:sticky;top:0;height:100vh;border-right:1px solid #dfe1e6;padding:18px 12px}.console-sider.is-collapsed{padding-inline:8px}.brand-block{display:flex;align-items:center;gap:12px;height:56px;padding:0 8px;margin-bottom:14px}.brand-block.is-collapsed{justify-content:center;padding-inline:0}.brand-logo{display:block;width:42px;height:42px;flex:0 0 auto;border:1px solid #d8dde6;border-radius:6px;background:#fff;object-fit:cover}.brand-text{min-width:0}.brand-name{color:#1a1c1b;font-weight:750;line-height:20px}.brand-subtitle{color:#5a6578;font-size:12px;line-height:18px}.side-menu{border-inline-end:0!important}.side-menu .ant-menu-item{height:40px;margin-inline:0;width:100%}.console-header{position:sticky;top:0;z-index:5;display:flex;height:58px;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e5e9;padding:0 22px}.header-title{min-width:0}.header-title .ant-typography{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-title .ant-btn{color:#5a6578}.mobile-menu-button{display:none}.console-header-actions{flex-shrink:0}.header-user-button{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border:1px solid #d7dce5;border-radius:6px;background:#fff;color:#3b4454}.header-user-button:hover{border-color:#bfc7d6;background:#f7f9fc!important}.user-menu-profile{min-width:148px;padding:2px 0}.console-content{min-width:0;padding:18px 22px 28px}.page-stack,.nested-panel{width:100%}.page-stack{display:flex;flex-direction:column;gap:14px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e4e5e9;border-radius:6px;background:#fff;padding:12px 14px}.detail-page-header{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:2px 2px 4px}.detail-back-button{height:28px;padding-inline:0 8px;color:#5a6578}.detail-title-row{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:8px}.detail-title{margin:0!important;color:#1a1c1b!important}.detail-subtitle{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stats-grid .ant-card{min-height:112px}.dashboard-toolbar{gap:12px}.dashboard-range-tools{display:flex;min-width:0;flex:1;align-items:center;gap:10px}.dashboard-date-range-picker{width:250px;max-width:100%}.dashboard-range-presets{flex:0 0 auto}.total-token-card .ant-statistic-content{line-height:1.1}.token-breakdown{display:flex;min-width:0;flex-wrap:wrap;gap:6px;margin-top:10px}.token-breakdown-item{display:inline-flex;min-width:0;align-items:center;gap:5px;border:1px solid #e4e8ef;border-radius:5px;background:#f8fafc;padding:3px 7px;color:#667085;font-size:12px;line-height:18px}.token-breakdown-item strong{color:#24292f;font-weight:650}.dashboard-insights-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.8fr);gap:14px}.dashboard-card,.token-trend-card .ant-card-extra{min-width:0}.token-trend-content{width:100%}.token-trend-summary{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:16px}.token-trend-summary h4{margin:2px 0 0!important}.token-trend-legend{display:flex;flex-wrap:wrap;gap:10px;color:#667085;font-size:12px}.token-trend-legend span{display:inline-flex;align-items:center;gap:5px}.token-trend-dot{width:8px;height:8px;border-radius:999px}.token-trend-input-dot,.token-trend-input{background:#315efb}.token-trend-cached-dot,.token-trend-cached{background:#7c8cf8}.token-trend-output-dot,.token-trend-output{background:#10a37f}.token-trend-bars{display:grid;height:170px;align-items:end;gap:5px;border-bottom:1px solid #dfe3ea;padding:8px 0 0}.token-trend-bar-cell{display:flex;height:100%;min-width:0;align-items:flex-end;justify-content:center}.token-trend-stack{display:flex;width:min(100%,22px);min-height:4px;flex-direction:column-reverse;overflow:hidden;border-radius:4px 4px 2px 2px;background:#edf1f5}.token-trend-segment{display:block;width:100%;min-height:0}.token-trend-axis{display:grid;gap:5px;color:#7b8495;font-size:11px}.token-trend-axis span{min-width:0;overflow:hidden;text-align:center;text-overflow:clip;white-space:nowrap}.upstream-share-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px;align-items:start}.upstream-donut-panel{display:flex;min-width:0;flex-direction:column;gap:14px}.upstream-donut{position:relative;display:grid;width:180px;height:180px;place-items:center;border-radius:50%;background:#eef1f5;box-shadow:inset 0 0 0 1px #dfe3ea}.upstream-donut-chart{position:absolute;inset:0;z-index:0;width:100%;height:100%}.upstream-donut-segment{cursor:pointer;transition:opacity .16s ease,filter .16s ease}.upstream-donut-segment:hover{filter:brightness(1.06);opacity:.9}.upstream-donut:after{position:absolute;z-index:1;width:108px;height:108px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #e4e8ef;content:"";pointer-events:none}.upstream-donut-center{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center}.upstream-donut-center h4{margin:0!important}.dashboard-share-table{min-width:0}.phase-card-content{width:100%}.phase-summary-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.phase-summary-row h4{margin:2px 0 0!important}.phase-stack-bar{display:flex;height:18px;overflow:hidden;border-radius:4px;background:#edf1f5}.phase-stack-segment{min-width:6px}.phase-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.phase-metric{min-width:0;border:1px solid #e4e8ef;border-radius:6px;background:#fbfcfd;padding:10px}.phase-metric h4{margin:8px 0 0!important}.phase-metric-title{display:flex;min-width:0;align-items:center;gap:6px}.phase-dot{width:8px;height:8px;flex:0 0 auto;border-radius:999px}.dashboard-empty{display:grid;min-height:220px;place-items:center;border:1px dashed #d8dde6;border-radius:6px;background:#fbfcfd;color:#7b8495}.form-row,.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.settings-form{max-width:960px}.database-panel{width:100%}.database-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.database-metric{min-width:0;border:1px solid #e4e8ef;border-radius:6px;background:#fbfcfd;padding:12px}.database-metric .ant-statistic-title,.database-metric .ant-statistic-content{min-width:0}.database-metric .ant-statistic-content{font-size:20px;font-weight:700}.database-actions{display:flex;justify-content:flex-end}.model-select{min-width:320px}.filter-select{width:180px}.filter-select-small{width:110px}.date-time-picker{min-width:210px}.date-time-range-picker{display:inline-flex;width:min(100%,680px);max-width:100%;align-items:center;gap:6px;flex-wrap:wrap}.date-time-range-field.date-time-picker{width:188px;min-width:188px}.date-time-range-separator{display:inline-flex;align-items:center;color:#6b7280;font-size:12px;font-weight:650}.date-time-range-presets .ant-btn{padding-inline:8px;font-size:12px;font-weight:650}.log-filter-actions{margin-inline-end:0}.copyable-id{max-width:120px}.global-weight-button,.global-status-button{border-color:#d7dce5;background:#fff}.global-weights-content{width:100%}.weight-summary-panel{display:flex;flex-direction:column;gap:12px;border:1px solid #e4e5e9;border-radius:6px;background:#f7f8fa;padding:14px}.weight-summary-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.weight-summary-help{margin:2px 0 0!important;font-size:12px}.weight-preview-bar{display:flex;height:16px;overflow:hidden;border:1px solid #dfe3ea;border-radius:4px;background:#eef1f5}.weight-preview-bar.is-empty{align-items:center;justify-content:center;color:#7b8495;font-size:12px}.weight-preview-segment{height:100%}.weight-list-card{overflow:hidden;border:1px solid #e4e5e9;border-radius:6px;background:#fff}.weight-list-header,.weight-row{display:grid;grid-template-columns:minmax(0,250px) 126px minmax(170px,1fr) 76px 76px;align-items:center;gap:14px}.weight-list-header{border-bottom:1px solid #e4e5e9;background:#f8f9fb;padding:10px 14px;color:#6b7280;font-size:12px;font-weight:700}.weight-group+.weight-group{border-top:1px solid #e9ebef}.weight-group-title{display:flex;align-items:center;justify-content:space-between;background:#fbfcfd;padding:8px 14px;color:#6b7280;font-size:12px;font-weight:700}.weight-row{border-top:1px solid #f0f1f4;padding:12px 14px;transition:background .16s ease}.weight-row:hover{background:#fafbfc}.weight-name-cell{display:flex;min-width:0;align-items:center;gap:10px}.weight-dot{width:9px;height:9px;flex:0 0 auto;border-radius:999px}.weight-name-text{display:flex;min-width:0;flex-direction:column;gap:2px}.weight-name-text .ant-typography{max-width:100%}.weight-number{text-align:right;font-variant-numeric:tabular-nums}.weight-empty-panel{display:flex;min-height:148px;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #d8dde6;border-radius:6px;background:#fbfcfd;text-align:center}.upstream-status-drawer .ant-drawer-header{padding:18px 24px}.upstream-status-drawer .ant-drawer-title{font-size:20px;font-weight:720;line-height:28px}.upstream-status-intro{border-bottom:1px solid #e4e5e9;background:#fbfcfd;padding:14px 24px}.upstream-status-body{padding:18px}.upstream-status-empty{display:flex;min-height:220px;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center}.upstream-status-list{overflow:hidden}.upstream-status-item{display:block;width:100%;border-bottom:1px solid #e4e5e9;background:#fff;padding:16px 24px;transition:background .16s ease}.upstream-status-item:hover{background:#fafbfc}.upstream-status-item:focus-visible{outline:2px solid #315efb;outline-offset:-2px}.upstream-status-item-head{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:16px}.upstream-status-item-head .ant-typography{min-width:0;font-size:16px;line-height:24px}.upstream-status-updated{flex:0 0 auto;font-size:12px!important;font-weight:500;line-height:22px}.upstream-status-metrics{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(126px,.8fr) minmax(150px,1fr) minmax(150px,1fr);gap:10px;margin-top:12px}.upstream-status-metric{display:flex;min-height:78px;flex-direction:column;justify-content:center;border:1px solid #e0e3e8;border-radius:6px;background:#fff;padding:11px 14px;text-align:left}button.upstream-status-metric{width:100%;color:inherit;font:inherit;cursor:pointer}.upstream-status-metric.is-clickable:hover{border-color:#cfd6e2;background:#f7f9fc}.upstream-status-metric.is-empty{background:#fbfcfd}.upstream-status-metric.is-excellent{border-color:#bfdbfe;background:#eff6ff}.upstream-status-metric.is-good{border-color:#a5f3fc;background:#ecfeff}.upstream-status-metric.is-warning{border-color:#fde68a;background:#fffbeb}.upstream-status-metric.is-danger{border-color:#fecdd3;background:#fff1f2}.upstream-status-metric-label{display:block;font-size:12px}.upstream-status-metric-value{margin-top:6px;color:#111827;font-size:15px;font-weight:720;line-height:22px}.upstream-status-score-value,.upstream-status-concurrency-value{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:19px;line-height:26px}.upstream-status-metric-hint{margin-top:4px;color:#6b7280;font-size:12px}.upstream-health-pills{display:flex;flex-wrap:wrap;gap:6px}.upstream-health-pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #e1e5eb;border-radius:6px;background:#fff;padding:3px 8px;color:#6b7280;font-size:12px}.upstream-health-pill.is-healthy{border-color:#cfd8e6;background:#f8fafc;color:#47617f}.upstream-health-pill.is-alert{border-color:#fed7aa;background:#fff7ed;color:#b45309}.upstream-health-pill strong{color:inherit;font-size:14px;font-variant-numeric:tabular-nums}.upstream-concurrency-cell{color:#111827;font-variant-numeric:tabular-nums;font-weight:650}.clickable-row{cursor:pointer}.table-count-link{height:24px;padding:0 4px;font-weight:600}.model-discovery-table .ant-table-container{overflow:hidden}.model-discovery-table .ant-table-thead>tr>th{background:#f8fafc!important}.model-discovery-table .ant-table-tbody>tr.ant-table-row-selected>td,.model-discovery-table .ant-table-tbody>tr.ant-table-row-selected:hover>td{background:#f3f7ff!important}.model-discovery-table .ant-table-tbody>tr.ant-table-row-selected>td:first-child{box-shadow:inset 3px 0 #315efb}.model-discovery-table .ant-table-tbody>tr:hover>td{background:#fafcff!important}.secret-view{width:100%}.secret-view textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace}.secret-inline{max-width:100%}.secret-inline-value{display:inline-block;max-width:168px}.request-log-table .ant-table-cell{min-width:0;vertical-align:top}.request-log-table .ant-table{table-layout:fixed}.request-log-table .ant-table-cell>*{min-width:0}.request-log-table .clickable-table-row{cursor:pointer}.request-log-table .clickable-table-row:hover>td{background:#f7faff!important}.log-cell-stack{width:100%;min-width:0;max-width:100%}.log-cell-stack .ant-space-item{min-width:0;max-width:100%}.log-status-error{display:block;width:100%;max-width:100%;line-height:20px}.ellipsis-text{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.log-tooltip-content,.ellipsis-tooltip-content{display:block;max-width:100%;max-height:300px;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}.dot-sep{margin:0 6px;color:#98a1b2}.request-log-detail-modal .ant-modal-body{max-height:calc(100vh - 190px);overflow:auto}.request-log-detail{width:100%}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}.compact-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.detail-field{min-width:0;padding:10px 12px;border:1px solid #e6eaf0;border-radius:6px;background:#fbfcfe}.detail-field-title{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.detail-field-action{flex:0 0 auto}.detail-copy-button{width:24px;height:24px}.detail-field-value{min-width:0;margin-top:6px;color:#172033;font-weight:600;overflow-wrap:anywhere}.detail-id-value{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-error-panel{width:100%;padding:12px 14px;border:1px solid #ffd8d3;border-radius:6px;background:#fff7f6}.detail-error-message{margin:8px 0 0;white-space:pre-wrap}.drawer-brand{display:flex;min-width:0;align-items:center;gap:12px}.console-nav-drawer .ant-drawer-header{padding:14px 16px 8px}.console-nav-drawer .ant-drawer-title{min-width:0}.ant-card{border:1px solid #e4e5e9;border-radius:6px;box-shadow:none}.ant-card-head{min-height:48px;border-bottom-color:#e4e5e9!important}.ant-card-body{padding:16px!important}.ant-table-wrapper{min-width:0;border:1px solid #e4e5e9;border-radius:6px;background:#fff}.ant-table{border-radius:6px}.ant-table-tbody>tr>td{border-bottom-color:#eef0f3!important}.ant-btn{font-weight:600}.ant-tag{border-radius:4px;font-weight:600}.ant-tabs-nav{margin-bottom:14px!important}.ant-select-dropdown .ant-select-item{border-radius:6px;color:#1a1c1b}.ant-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled),.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:#eef3f8!important;color:#1a1c1b!important}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-content{font-weight:650}.ant-picker{border-radius:6px}.ant-picker-outlined{border-color:#d7dce5;background:#fff}.ant-picker-outlined:hover,.ant-picker-focused.ant-picker-outlined{border-color:#9ea9bb}.ant-picker .ant-picker-input>input{font-variant-numeric:tabular-nums}.ant-picker .ant-picker-suffix{display:inline-flex;align-items:center;color:#687386}.ant-picker-dropdown .ant-picker-panel-container{overflow:hidden;border:1px solid #dfe3ea;border-radius:6px;box-shadow:0 12px 30px #1823351f}.ant-picker-dropdown .ant-picker-header,.ant-picker-dropdown .ant-picker-footer{border-color:#e6eaf0}.ant-picker-dropdown .ant-picker-presets{border-color:#e6eaf0;background:#fbfcfd}.ant-picker-dropdown .ant-picker-presets ul li{border-radius:4px;color:#3b4454;font-weight:600}.ant-picker-dropdown .ant-picker-presets ul li:hover{background:#eef3f8;color:#1a1c1b}.ant-modal-content{border-radius:6px!important}.ant-modal-header{margin-bottom:16px!important}.login-screen{display:flex;min-height:100vh;align-items:center;justify-content:center;padding:24px;background:#f9f9f7}.login-panel{width:min(400px,100%);padding:28px;border:1px solid #e4e5e9;border-radius:6px;background:#fff}.login-heading{display:flex;align-items:center;gap:14px;margin-bottom:24px}.login-heading h3{margin:0!important}@media(max-width:960px){.console-sider{display:none}.mobile-menu-button{display:inline-flex}.header-title .ant-btn:first-child{display:none}.stats-grid,.dashboard-insights-grid,.form-row,.settings-grid{grid-template-columns:1fr}.database-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.upstream-share-layout{grid-template-columns:1fr}.upstream-donut{width:168px;height:168px}.phase-metric-grid{grid-template-columns:1fr}.console-content{padding:14px}.toolbar{align-items:flex-start;flex-direction:column}.dashboard-range-tools{width:100%;flex-direction:column;align-items:stretch}.dashboard-date-range-picker,.dashboard-range-presets{width:100%}.dashboard-range-presets .ant-btn{flex:1}.token-trend-summary,.weight-summary-top{flex-direction:column}.weight-list-card{overflow-x:auto}.weight-list-header,.weight-row{min-width:760px}.upstream-status-item-head{align-items:flex-start;flex-direction:column;gap:4px}.upstream-status-updated{flex:initial}.upstream-status-metrics{grid-template-columns:1fr}.date-time-picker,.date-time-range-picker{width:100%}.date-time-range-field.date-time-picker{width:calc((100% - 26px)/2);min-width:0}}
