:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172b4d;background:#f7f8fa}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}.admin-shell{height:100vh;height:100dvh;min-height:0;overflow:hidden;background:#f7f8fa}.admin-sider{border-right:1px solid #dfe1e6;height:100%;min-height:0;overflow:hidden}.admin-sider .ant-layout-sider-children{display:flex;flex-direction:column;min-height:0;overflow:hidden}.admin-main{min-width:0;min-height:0;overflow:hidden}.brand{display:flex;align-items:center;gap:10px;height:64px;flex:0 0 64px;padding:0 16px;border-bottom:1px solid #dfe1e6}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:#0c66e4;color:#fff;font-size:13px;font-weight:700}.brand-title{font-size:14px;font-weight:700;line-height:18px}.brand-subtitle{color:#5e6c84;font-size:12px;line-height:16px}.admin-menu{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;border-inline-end:0!important;padding:8px}.admin-topbar{height:56px;flex:0 0 56px;padding:0 24px;border-bottom:1px solid #dfe1e6;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.topbar-user{display:flex;flex-direction:column;line-height:16px;min-width:96px}.admin-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 24px 32px}.page-header{min-height:56px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.knowledge-integration-notice{margin-bottom:12px}.knowledge-integration-loading{min-height:160px}.knowledge-integration-section{margin-bottom:16px;padding:16px;border:1px solid #dfe1e6;border-radius:6px;background:#fff}.knowledge-integration-section h5.ant-typography{margin:0 0 12px}.knowledge-integration-section .ant-descriptions{margin-bottom:12px}.knowledge-integration-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.knowledge-integration-grant{display:grid;grid-template-columns:minmax(160px,1fr) minmax(240px,2fr) auto;gap:12px;align-items:start}.knowledge-admin-grant{grid-template-columns:minmax(140px,1fr) minmax(160px,1fr) minmax(240px,2fr) auto}.knowledge-integration-grant>.ant-btn{margin-top:30px}.knowledge-integration-revision{overflow-wrap:anywhere}.component-version-details{padding:8px}.component-version-hash{overflow-wrap:anywhere}.component-version-json{max-height:280px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.component-version-caption{margin:12px 0}@media(max-width:900px){.knowledge-integration-fields,.knowledge-integration-grant{grid-template-columns:minmax(0,1fr)}.knowledge-integration-grant>.ant-btn{margin:0 0 16px;justify-self:start}}.page-header h2.ant-typography{margin:0 0 4px;font-size:22px;line-height:28px}.data-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;margin-bottom:12px;background:#fff;border:1px solid #dfe1e6;border-radius:6px}.data-toolbar .ant-input-search{max-width:320px}.data-toolbar .ant-select{min-width:156px}.toolbar-meta{color:#5e6c84;margin-left:auto}.wecom-bots-note,.wecom-bots-error{margin-bottom:12px;border-radius:6px}.wecom-detail-stack,.wecom-detail-section{width:100%}.wecom-detail-section h5.ant-typography{margin:0 0 8px;color:#172b4d;font-size:15px}.wecom-detail-note{margin-bottom:8px}.wecom-audit-link{margin-top:8px;padding-inline:0}.wecom-detail-section .ant-descriptions-bordered .ant-descriptions-item-label{width:164px}.tool-policy-alert{margin-bottom:12px;border-radius:6px}.ant-table-wrapper{background:#fff;border:1px solid #dfe1e6;border-radius:6px;overflow:hidden}.ant-table-wrapper .ant-table{border-radius:0}.ant-table-wrapper .ant-table-thead>tr>th{font-weight:600}.audit-table .audit-data-row>td{height:120px;padding-top:16px!important;padding-bottom:16px!important;vertical-align:middle}.audit-two-line-cell,.audit-summary-cell{width:100%;min-width:0}.audit-two-line-cell>.ant-space-item{width:100%;min-width:0}.audit-channel-tags{width:100%;min-width:0;flex-wrap:nowrap}.audit-channel-meta{width:100%;min-width:0;overflow:hidden}.audit-channel-meta .ant-space-item{width:auto;min-width:0;overflow:hidden}.audit-channel-meta .ant-space-item:last-child{flex:1}.audit-cell-line.ant-typography,.audit-summary-line.ant-typography,.audit-event-line.ant-typography{display:block;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.usage-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:12px}.usage-metric-card{min-width:0;border:1px solid #dfe1e6;border-radius:6px;box-shadow:none}.usage-metric-card .ant-card-body{padding:14px 16px}.usage-metric-value{overflow-wrap:anywhere;min-height:30px;margin-top:4px;color:#172b4d;font-size:22px;font-weight:700;line-height:30px}.usage-note{margin-bottom:12px;border-radius:6px}.usage-panel{margin-bottom:12px;border:1px solid #dfe1e6;border-radius:6px;box-shadow:none}.usage-chart-switch{display:flex;justify-content:flex-end;margin-bottom:14px;overflow-x:auto}.usage-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.usage-trend{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(88px,1fr);gap:10px;overflow-x:auto;padding-bottom:4px}.usage-trend-item{min-width:88px;display:flex;flex-direction:column;align-items:center;gap:4px}.usage-trend-bar-wrap{width:100%;height:104px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #dfe1e6}.usage-trend-bar{width:28px;border-radius:4px 4px 0 0;background:#0c66e4}.usage-trend-label{font-size:12px}.usage-rank-chart{display:grid;gap:12px}.usage-rank-row{display:grid;grid-template-columns:minmax(160px,240px) minmax(0,1fr);gap:16px;align-items:center}.usage-rank-label{min-width:0;display:flex;flex-direction:column;line-height:20px}.usage-rank-body{min-width:0;display:grid;grid-template-columns:minmax(120px,1fr) minmax(168px,auto);gap:12px;align-items:center}.usage-rank-track{height:12px;overflow:hidden;border-radius:999px;background:#ebecf0}.usage-rank-fill{height:100%;min-width:3px;border-radius:inherit}.usage-rank-meta{display:flex;align-items:center;justify-content:flex-end;gap:12px;white-space:nowrap}.usage-status-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.usage-donut-group,.usage-token-mix{min-width:0;display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #dfe1e6;border-radius:6px;background:#fff}.usage-donut{position:relative;display:grid;flex:0 0 auto;place-items:center;width:84px;height:84px;border-radius:50%}.usage-donut:after{content:"";position:absolute;top:12px;right:12px;bottom:12px;left:12px;border-radius:50%;background:#fff}.usage-donut span{position:relative;z-index:1;color:#172b4d;font-weight:700}.usage-donut-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.usage-token-mix{align-items:stretch;flex-direction:column;justify-content:center}.usage-stack{display:grid;gap:8px}.usage-stack-bar{display:flex;height:14px;overflow:hidden;border-radius:999px;background:#ebecf0}.usage-stack-input{background:#0c66e4}.usage-stack-output{background:#00875a}.usage-stack-legend{display:flex;flex-wrap:wrap;gap:10px 16px;color:#5e6c84;font-size:12px}.usage-dot{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%}.usage-dot-input{background:#0c66e4}.usage-dot-output{background:#00875a}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f7f8fa}.login-panel{width:100%;max-width:380px;border:1px solid #dfe1e6;box-shadow:none}.login-heading{display:flex;align-items:center;gap:12px;margin-bottom:24px}.login-heading h2.ant-typography{margin:0;font-size:22px;line-height:28px}@media(max-width:1200px){.usage-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.admin-shell.ant-layout.ant-layout-has-sider{flex-direction:column}.admin-sider{position:static;width:100%!important;max-width:none!important;min-width:0!important;flex:0 0 auto!important;height:40vh;height:min(40dvh,320px);max-height:320px}.admin-shell.ant-layout-has-sider>.admin-main{flex:1;width:100%}.admin-topbar{padding:0 12px}.admin-content{padding:16px 12px 24px}.page-header,.data-toolbar{align-items:stretch;flex-direction:column}.data-toolbar .ant-input-search,.data-toolbar .ant-select{width:100%;max-width:none}.toolbar-meta{margin-left:0}.usage-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-metric-value{font-size:18px}.usage-chart-switch{justify-content:flex-start}.usage-rank-row,.usage-rank-body,.usage-status-layout{grid-template-columns:minmax(0,1fr)}.usage-rank-meta{justify-content:space-between}.usage-donut-group,.usage-token-mix{align-items:center}}.knowledge-integration-page .knowledge-service-name{min-width:112px;white-space:nowrap;word-break:normal;overflow-wrap:normal}
