.skill-page-intro{margin:0 0 20px;line-height:1.7;font-size:13px}.skill-table td{vertical-align:top}.skill-table td:first-child{min-width:280px;max-width:400px;white-space:normal;overflow-wrap:anywhere}.skill-table p{margin:8px 0 0;line-height:1.65;font-size:12px;color:var(--muted-foreground)}.skill-table small{display:block;margin-top:7px;font-size:11px;color:var(--muted-foreground)}.skill-row-actions{display:flex;flex-wrap:wrap;gap:6px}.skill-source{font-family:ui-monospace,monospace;font-size:12px;line-height:1.7}.skill-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:55vh;overflow:auto;padding:16px;border:1px solid var(--border);border-radius:8px;background:var(--muted)}.modal:has(.skill-editor){width:min(960px,calc(100vw - 32px))}.skill-binding{padding:16px;border:1px solid var(--border);border-radius:10px;display:grid;gap:14px}.skill-binding legend{padding:0 6px;font-size:13px;font-weight:600}.skill-binding-note{padding:10px 12px;border-radius:8px;background:var(--muted);font-size:12px;line-height:1.7}.skill-add-binding{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.skill-add-binding label{flex:1;min-width:180px}.skill-import-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 16px;font-size:13px}.skill-import-summary dt{color:var(--muted-foreground)}.skill-import-summary dd{margin:0;overflow-wrap:anywhere}.modal:has(.research-settings){width:min(900px,calc(100vw - 32px))}.research-tabs{display:flex;gap:4px;padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid var(--border);overflow-x:auto}.research-tabs button{display:flex;align-items:center;gap:6px;padding:8px 12px;border:0;border-radius:8px;white-space:nowrap;background:transparent;color:var(--muted-foreground);font-size:13px}.research-tabs button[aria-selected=true]{background:var(--accent);color:var(--primary)}.research-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.research-settings h3{font-size:14px;font-weight:600}.research-intro p,.research-tool-card p{margin-top:6px;font-size:12px;line-height:1.7;color:var(--muted-foreground)}.research-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.research-limits{padding:16px;background:var(--muted);border-radius:10px}.research-tool-options{display:flex;flex-wrap:wrap;gap:12px;padding:12px;border:1px solid var(--border);border-radius:8px}.research-tool-options legend{padding:0 6px;font-size:12px}.research-search-settings{display:grid;gap:12px;min-width:0;padding:16px;border:1px solid var(--border);border-radius:10px}.research-search-settings legend{padding:0 6px;font-size:13px;font-weight:600}.research-search-settings .btn{justify-self:start}.research-search-settings small{line-height:1.6}.research-empty{padding:24px 16px;color:var(--muted-foreground);text-align:center;font-size:13px}.research-empty .btn{margin-top:12px}.research-version-list{margin-top:24px;border-top:1px solid var(--border);padding-top:18px}.research-version-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);font-size:12px}.research-settings small{display:block;color:var(--muted-foreground);font-size:11px;margin-top:4px}.research-deployments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.research-deployments article{padding:14px;border:1px solid var(--border);border-radius:10px;min-width:0}.research-deployments strong{margin-right:8px;font-size:13px}.research-deployments code{display:block;overflow-wrap:anywhere;margin-top:10px;font-size:12px}.research-tool-card{display:flex;flex-direction:row!important;gap:12px;padding:16px;border:1px solid var(--border);border-radius:10px;cursor:pointer}.research-tool-card input{width:16px;height:16px;flex:0 0 auto;margin-top:3px}.research-tool-card code{display:block;color:var(--muted-foreground);font-size:11px;margin-top:4px}.research-call-table{font-size:12px}.research-call-table small{display:block;margin-top:4px;max-width:28ch;white-space:normal;overflow-wrap:anywhere;color:var(--muted-foreground)}@media(max-width:600px){.research-form-grid,.research-deployments{grid-template-columns:1fr}.research-intro{flex-wrap:wrap}.research-tabs button{padding:7px 9px;font-size:12px}}.agent-template-library{padding:14px;margin:14px 0;border:1px solid var(--border);border-radius:8px}.agent-template-library label{display:grid;gap:6px}.agent-template-library .inline-actions,.agent-template-delete{margin-top:10px}.agent-template-delete p{margin-bottom:8px}.agent-run-lookup{display:flex;align-items:end;gap:10px;margin:12px 0}.agent-run-lookup label{display:grid;flex:1;gap:6px;min-width:0}.agent-run-detail{margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.agent-run-detail h4{margin:18px 0 8px}.agent-run-meta{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:12px 0}.agent-run-meta dd{margin:0;overflow-wrap:anywhere}.agent-run-answer{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto;padding:12px;background:var(--muted);font:inherit;font-size:12px}.agent-skill-call{padding:12px;border:1px solid var(--border);border-radius:6px;margin-top:8px;overflow-wrap:anywhere}.agent-skill-call small,.agent-run-detail td small{display:block;color:var(--muted-foreground);margin-top:4px}.agent-trial-result{border-top:1px solid var(--border);padding-top:12px}.agent-trial-result>p,.agent-trial-result>div{margin:10px 0}.agent-trial-result code{overflow-wrap:anywhere}.usage-page-v2{min-width:0}.usage-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:18px 0 8px}.usage-filters>label,.usage-customer-picker{display:flex;flex-direction:column;gap:5px;min-width:130px;flex:1 1 145px;font-size:11px;font-weight:500;color:var(--muted-foreground)}.usage-filters select,.usage-filters input{height:36px;width:100%;min-width:0;padding:6px 10px;border:1px solid var(--input);border-radius:7px;color:var(--foreground);background:var(--background);font-size:12px}.usage-period-filters>label{flex:0 1 180px}.usage-filter-note,.usage-footnote{color:var(--muted-foreground);font-size:11px;line-height:1.8}.usage-filter-note{margin-bottom:18px}.usage-footnote{margin:14px 0}.usage-date-error{padding:12px;border:1px solid var(--destructive);border-radius:8px;font-size:13px;color:var(--destructive)}.usage-currency-notice{padding:12px 15px;margin-bottom:16px;border:1px solid var(--border);border-radius:9px;background:var(--muted)}.usage-currency-notice.needs-attention{border-color:color-mix(in srgb,var(--warning) 50%,var(--border))}.usage-currency-notice>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px}.usage-currency-notice small{display:block;margin-top:6px;font-size:10px;line-height:1.7;color:var(--muted-foreground);overflow-wrap:anywhere}.usage-summary-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:12px;margin-bottom:18px}.usage-summary-card{min-width:0;padding:18px;border:1px solid var(--border);border-radius:11px;background:var(--background)}.usage-card-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted-foreground)}.usage-card-label svg{flex-shrink:0}.usage-summary-card>strong{display:block;margin:15px 0 8px;font-size:24px;line-height:1.45;font-weight:600;letter-spacing:-.4px;overflow-wrap:anywhere}.usage-summary-card p{color:var(--muted-foreground);font-size:10px;line-height:1.8;overflow-wrap:anywhere}.usage-money{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--foreground)}.usage-token-pair{display:grid;grid-template-columns:1fr auto;gap:3px 8px;align-items:baseline;margin:12px 0 8px}.usage-token-pair strong{font-size:19px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.usage-token-pair>span{color:var(--muted-foreground);font-size:10px;white-space:nowrap}.usage-trend,.usage-records{min-width:0;margin-top:18px;border:1px solid var(--border);border-radius:11px;background:var(--background);overflow:hidden}.usage-trend{padding:18px}.usage-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.usage-section-heading h2{margin:0;font-size:13px;font-weight:600}.usage-section-heading p,.usage-section-heading>span{font-size:10px;color:var(--muted-foreground);margin-top:4px}.usage-trend-legend{display:flex;flex-shrink:0;gap:12px;font-size:10px;color:var(--muted-foreground)}.usage-trend-legend>span{display:inline-flex;align-items:center;gap:5px}.usage-trend-legend i{width:7px;height:7px;border-radius:2px}.usage-trend-legend .model,.usage-trend-model{background:var(--primary)}.usage-trend-legend .tool,.usage-trend-tool{background:var(--success)}.usage-trend-chart{display:flex;gap:4px;width:100%;overflow-x:auto;scrollbar-width:thin;padding:5px 2px 0}.usage-trend-day{flex:1;min-width:17px;padding:3px 2px 0;border:0;border-radius:4px;background:transparent;color:var(--muted-foreground)}.usage-trend-day:hover,.usage-trend-day.selected{background:var(--muted)}.usage-trend-day:focus-visible{outline:2px solid var(--ring);outline-offset:-1px}.usage-trend-bars{display:flex;flex-direction:column;justify-content:flex-end;height:132px;gap:0;border-bottom:1px solid var(--border)}.usage-trend-bars>span{display:block;flex-shrink:0;width:100%;border-radius:2px 2px 0 0}.usage-trend-date{display:block;height:23px;padding-top:6px;font-size:8px;white-space:nowrap}.usage-trend-selected{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:12px;font-size:11px;color:var(--muted-foreground)}.usage-trend-selected>strong{color:var(--foreground)}.usage-trend-empty{padding:32px 0;text-align:center;font-size:12px;color:var(--muted-foreground)}.usage-records>.usage-section-heading{padding:16px 18px;margin:0;border-bottom:1px solid var(--border)}.usage-record-filters{margin:0;padding:16px 18px;border-bottom:1px solid var(--border)}.usage-record-filters>button{height:36px}.usage-records{overflow:visible}.usage-customer-picker{position:relative}.usage-customer-results{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;max-height:240px;overflow-y:auto;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--background);box-shadow:0 8px 24px #0002;scrollbar-width:thin}.usage-customer-results button[role=option]{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:8px;text-align:left;border:0;border-radius:5px;background:transparent;color:var(--foreground);font-size:12px}.usage-customer-results button[role=option]:hover,.usage-customer-results button.active{background:var(--muted)}.usage-customer-results button[role=option]>span{flex:1;min-width:0;overflow-wrap:anywhere}.usage-customer-results small{color:var(--muted-foreground);font-size:10px;white-space:nowrap}.usage-customer-results svg{flex-shrink:0}.usage-customer-results p{padding:8px;font-size:12px}.usage-records .usage-updating{opacity:.55}.usage-records .table-scroll{border-radius:0 0 11px 11px;min-height:0}.usage-records th,.usage-records td{padding:12px 14px;font-size:11px;vertical-align:top}.usage-records td strong{color:var(--foreground);font-weight:500}.usage-records .usage-customer{min-width:100px;max-width:200px;white-space:normal;overflow-wrap:anywhere}.usage-cell-secondary{display:block;color:var(--muted-foreground);margin-top:4px;font-size:10px}.usage-record-details{white-space:normal;min-width:64px}.usage-record-details summary{cursor:pointer;color:var(--foreground);white-space:nowrap;font-size:11px}.usage-record-details summary:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.usage-record-details[open]{min-width:260px;max-width:370px}.usage-record-details dl{margin:12px 0 0;display:grid;gap:4px}.usage-record-details dt{color:var(--muted-foreground);font-size:10px}.usage-record-details dd{margin:0 0 7px;color:var(--foreground);font-size:11px;overflow-wrap:anywhere}.usage-record-details code{font-size:10px}.usage-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:14px 0;font-size:11px;color:var(--muted-foreground)}.usage-pagination>div{display:flex;gap:8px}.usage-refreshing{animation:usage-spin 1s linear infinite}@keyframes usage-spin{to{transform:rotate(360deg)}}@media(max-width:1050px){.usage-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.usage-summary-grid{gap:8px}.usage-summary-card{padding:13px}.usage-summary-card>strong{font-size:21px}.usage-filters{gap:8px}.usage-filters>label,.usage-customer-picker{flex-basis:42%;min-width:0}.usage-trend{padding:13px}.usage-section-heading{align-items:flex-start}.usage-trend-legend{gap:7px}.usage-total-card{grid-column:1 / -1}.usage-summary-card:last-child{grid-column:1 / -1}}@media(prefers-reduced-motion:reduce){.usage-refreshing{animation:none}}.service-health-page{display:flex;flex-direction:column;gap:20px}.health-controls{display:flex;align-items:center;gap:8px}.health-controls button{display:inline-flex;align-items:center;gap:6px}.health-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--border);border-radius:var(--radius);padding:24px;background:var(--card)}.health-overview-title{display:flex;align-items:center;gap:14px}.health-overview h2{margin:0 0 7px;font-size:19px;color:var(--foreground);font-weight:650}.health-overview p{margin:0;display:flex;gap:5px;align-items:center;color:var(--muted-foreground);font-size:12px}.health-counts{display:flex;gap:26px}.health-counts>div{display:grid;justify-items:center;gap:5px}.health-counts strong{color:var(--foreground);font-size:23px;font-variant-numeric:tabular-nums}.health-status{display:inline-flex;gap:6px;align-items:center;font-size:12px;white-space:nowrap;font-weight:500}.health-status i{display:block;width:7px;height:7px;border-radius:50%;background:currentColor}.health-healthy{color:var(--success)}.health-degraded{color:var(--warning)}.health-down{color:var(--destructive)}.health-unknown{color:var(--muted-foreground)}.health-host-card{border:1px solid var(--border);background:var(--card);border-radius:var(--radius);padding:20px 24px 15px}.health-host-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;font-size:12px;color:var(--muted-foreground)}.health-host-heading>div{display:flex;align-items:center;gap:9px;color:var(--foreground)}.health-host-heading strong{font-size:14px}.health-scope{font-size:10px;padding:2px 7px;border-radius:4px;background:var(--muted);color:var(--muted-foreground)}.health-host-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.health-host-metrics>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px}.health-host-metrics>div>span{font-size:13px;color:var(--muted-foreground)}.health-host-metrics strong{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}.health-host-metrics small{grid-column:1 / -1;color:var(--muted-foreground);font-size:11px}.health-sparkline{width:100%;height:68px;display:block;color:var(--primary);grid-column:1 / -1;overflow:visible}.health-sparkline path{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.health-sparkline circle{fill:currentColor}.health-sparkline .health-chart-axis{stroke:var(--border);stroke-width:1}.health-note{color:var(--muted-foreground);font-size:11px;line-height:1.7;margin:8px 0 0;overflow-wrap:anywhere}.health-host-empty{display:flex;align-items:center;gap:14px;padding:24px;border:1px dashed var(--border);border-radius:var(--radius);color:var(--muted-foreground)}.health-host-empty strong{font-size:14px;color:var(--foreground)}.health-host-empty p{font-size:12px;margin:5px 0 0}.health-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:8px}.health-section-heading h2{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 7px}.health-section-heading p{margin:0;color:var(--muted-foreground);font-size:12px}.health-legend{display:flex;gap:16px}.health-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.9fr);gap:20px;align-items:start}.health-service-list{min-width:0}.health-service-row{display:block;width:100%;text-align:left;margin:0 0 9px;padding:15px 17px 12px;background:var(--card);border:1px solid var(--border);border-radius:10px;color:var(--foreground);cursor:pointer;transition:border-color .15s,background .15s}.health-service-row:hover{background:var(--muted)}.health-service-row.is-selected{border-color:var(--primary);background:color-mix(in oklab,var(--primary) 4%,var(--card))}.health-service-row:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.health-service-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.health-service-heading>div{display:flex;align-items:center;gap:10px}.health-service-heading>div>span{font-size:10px;color:var(--muted-foreground);padding:2px 6px;background:var(--muted);border-radius:4px}.health-service-heading strong{font-size:13px;font-weight:600}.health-history-strip{display:flex;gap:2px;height:24px}.health-history-strip>span{flex:1;min-width:1px;border-radius:2px;background:currentColor;opacity:.85}.health-history-strip>.health-unknown{background:var(--border);opacity:1}.health-history-strip>span:hover{opacity:1;transform:scaleY(1.15)}.health-service-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;color:var(--muted-foreground);font-size:10px;font-variant-numeric:tabular-nums}.health-service-footer b{color:var(--foreground);font-weight:500}.health-strip-axis{display:flex;justify-content:space-between;gap:12px;color:var(--muted-foreground);font-size:10px;padding:1px 3px}.health-strip-axis span{display:flex;align-items:center;gap:4px}.health-detail{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);padding:23px;position:sticky;top:20px}.health-detail header{display:flex;justify-content:space-between;gap:15px;align-items:center}.health-eyebrow{font-size:11px;color:var(--muted-foreground)}.health-detail h2{font-size:20px;margin:5px 0 0}.health-detail>p{font-size:13px;color:var(--muted-foreground);line-height:1.7;margin:14px 0 18px}.health-facts{display:flex;flex-direction:column;gap:12px;margin:0;font-size:11px}.health-facts div{display:grid;grid-template-columns:90px 1fr;gap:16px}.health-facts dt{color:var(--muted-foreground)}.health-facts dd{margin:0;line-height:1.6}.health-detail section{border-top:1px solid var(--border);padding-top:17px;margin-top:21px}.health-detail h3{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin:0 0 10px}.health-detail h3>span{color:var(--muted-foreground);font-size:10px;font-weight:400}.health-resource-values{display:flex;flex-wrap:wrap;gap:15px;color:var(--muted-foreground);font-size:11px}.health-resource-values b{color:var(--foreground);padding-left:4px;font-weight:500}.health-job-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.health-job-metrics>div{display:flex;flex-direction:column;gap:5px;padding:12px;border-radius:7px;background:var(--muted)}.health-job-metrics span{font-size:10px;color:var(--muted-foreground)}.health-job-metrics strong{font-size:16px;font-weight:550}.health-no-incidents{display:flex;gap:9px;align-items:center;color:var(--muted-foreground);font-size:11px;line-height:1.6;padding:5px 0}.health-no-incidents svg{flex-shrink:0;color:var(--success)}.health-incidents{list-style:none;padding:0;margin:0;max-height:440px;overflow-y:auto}.health-incidents li{display:flex;align-items:flex-start;gap:11px;padding:12px 0;border-bottom:1px solid var(--border)}.health-incident-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0;margin-top:4px}.health-incidents strong{font-size:11px;font-weight:600}.health-incidents time{margin-left:12px;color:var(--muted-foreground);font-size:10px}.health-incidents p{font-size:11px;line-height:1.6;margin:6px 0 4px}.health-incidents small{color:var(--muted-foreground);font-size:10px}.health-page-footnote{color:var(--muted-foreground);font-size:11px;line-height:1.7;margin:4px 0 0}.health-muted{color:var(--muted-foreground)}.health-spin{animation:health-rotate 1s linear infinite}@keyframes health-rotate{to{transform:rotate(360deg)}}@media(max-width:1100px){.health-body{grid-template-columns:minmax(0,1fr)}.health-detail{position:static}.health-overview{flex-wrap:wrap}.health-counts{margin-left:auto}}@media(max-width:700px){.health-controls{flex-wrap:wrap}.health-overview,.health-host-card{padding:18px}.health-host-heading,.health-section-heading{align-items:flex-start;flex-direction:column}.health-host-metrics{gap:14px}.health-host-metrics strong{font-size:17px}.health-counts{width:100%;justify-content:space-between;gap:10px}.health-legend{gap:13px}.health-detail{padding:18px}.health-history-strip{gap:1px}}@media(prefers-reduced-motion:reduce){.health-spin{animation:none}}.balance-admin{display:flex;flex-direction:column;gap:18px}.balance-admin .page-title{margin-bottom:0}.balance-test-notice{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 18px;border-radius:10px;border:1px solid color-mix(in oklab,var(--warning) 30%,var(--border));background:color-mix(in oklab,var(--warning) 5%,var(--background));font-size:13px}.balance-test-notice span{color:var(--muted-foreground)}.balance-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.balance-tabs{display:flex;flex-wrap:wrap;gap:6px}.balance-filter{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.balance-filter select{min-width:140px}.balance-cell-detail{display:block;color:var(--muted-foreground);font-size:11px;margin-top:5px;max-width:320px;white-space:normal;overflow-wrap:anywhere}.balance-number{font-variant-numeric:tabular-nums;font-weight:600}.balance-pagination{display:flex;justify-content:flex-end;gap:12px;align-items:center;font-size:12px;color:var(--muted-foreground)}:root{--background: oklch(1 0 0);--foreground: oklch(.145 0 0);--card: oklch(1 0 0);--primary: oklch(.692 .141 243.716);--primary-foreground: white;--muted: oklch(.97 0 0);--muted-foreground: oklch(.48 0 0);--accent: oklch(.958 .017 243.716);--border: oklch(.922 0 0);--input: oklch(.922 0 0);--sidebar: oklch(.985 0 0);--success: oklch(.49 .09 164);--warning: oklch(.57 .13 70);--destructive: oklch(.577 .245 27);--ring: oklch(.692 .141 243.716);--radius: 16px;--header-height: 48px;--sidebar-width: 208px}:root[data-theme=dark]{--background: oklch(.235 0 0);--foreground: oklch(.965 0 0);--card: oklch(.285 0 0);--primary: oklch(.64 .142 248.516);--muted: oklch(.305 0 0);--muted-foreground: oklch(.75 0 0);--accent: color-mix(in oklab, var(--primary) 20%, var(--background));--border: oklch(1 0 0 / 10%);--input: oklch(1 0 0 / 17%);--sidebar: oklch(.225 0 0);--success: oklch(.75 .13 164);--warning: oklch(.8 .14 70);--destructive: oklch(.704 .191 22)}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.5;color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}strong{font-weight:600}:focus-visible{outline:2px solid var(--ring);outline-offset:3px}input,select,textarea{width:100%;min-width:0;padding:8px 12px;border:1px solid var(--input);border-radius:9px;color:var(--foreground);background:var(--background)}input::placeholder,textarea::placeholder{color:var(--muted-foreground)}input:focus,select:focus,textarea:focus{border-color:var(--ring)}input:disabled,select:disabled,textarea:disabled{opacity:.6}input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--primary)}textarea{resize:vertical}code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}.subtle,.footnote,.cell-secondary{color:var(--muted-foreground);font-size:12px}.block,.cell-secondary{display:block}.inline-actions{display:inline-flex;align-items:center;gap:5px}.text-danger{color:var(--destructive)!important}.skip-link{position:fixed;top:-100px;left:10px;z-index:100;padding:10px;border-radius:8px;background:var(--background)}.skip-link:focus{top:5px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:6px;min-height:32px;padding:5px 12px;border:1px solid var(--border);border-radius:999px;background:var(--background);color:var(--foreground);font-size:13px;font-weight:500;line-height:20px;white-space:nowrap}.btn:hover:not(:disabled){background:var(--muted)}.btn.primary{background:var(--primary);color:var(--primary-foreground);border-color:transparent}.btn.primary:hover:not(:disabled){background:color-mix(in oklab,var(--primary) 90%,var(--foreground))}.btn.ghost{border-color:transparent;background:transparent}.btn.ghost:hover:not(:disabled){background:var(--muted)}.btn.icon{width:32px;height:32px;min-height:32px;padding:6px}.btn.small{min-height:28px;padding:3px 8px;font-size:12px}.btn.full{width:100%;min-height:38px}.badge{display:inline-flex;align-items:center;min-height:22px;border:1px solid var(--border);border-radius:6px;padding:1px 7px;font-size:11px;white-space:nowrap;color:var(--muted-foreground);background:var(--muted)}.badge.green{color:var(--success);background:color-mix(in oklch,var(--success) 6%,var(--background));border-color:color-mix(in oklch,var(--success) 14%,var(--background))}.badge.orange{color:var(--warning);background:color-mix(in oklch,var(--warning) 7%,var(--background));border-color:color-mix(in oklch,var(--warning) 15%,var(--background))}.badge.red{color:var(--destructive)}.avatar,.agent-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:var(--accent);color:var(--primary);font-size:12px;font-weight:500}.agent-icon{border-radius:8px}.state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:220px;padding:32px 16px;text-align:center;color:var(--muted-foreground)}.state h3{color:var(--foreground);font-size:14px;font-weight:500}.state p{font-size:13px}.state-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--muted);border-radius:14px;margin-bottom:4px}.error-box,.success-box{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;font-size:13px;overflow-wrap:anywhere}.error-box{color:var(--destructive);background:color-mix(in oklch,var(--destructive) 4%,var(--background))}.error-box svg{flex-shrink:0}.error-box span{flex:1}.success-box{color:var(--success);background:color-mix(in oklch,var(--success) 5%,var(--background));margin-bottom:12px}.action-menu{position:relative;flex-shrink:0}.action-menu summary{list-style:none}.action-menu summary::-webkit-details-marker{display:none}.action-menu[open] summary{background:var(--muted)}.menu-content{position:absolute;z-index:100;min-width:164px;border:1px solid var(--border);border-radius:12px;padding:5px;background:var(--background);box-shadow:0 5px 20px #00000012}.menu-content button{display:flex;align-items:center;gap:8px;width:100%;border:0;border-radius:7px;padding:8px 10px;background:transparent;text-align:left;white-space:nowrap;font-size:13px}.menu-content button:hover{background:var(--muted)}.profile-info{display:grid;padding:8px 10px 10px;border-bottom:1px solid var(--border);margin-bottom:4px}.profile-info strong{max-width:220px;overflow:hidden;text-overflow:ellipsis}.profile-info span{color:var(--muted-foreground);font-size:12px}.modal{position:fixed;inset:0 0 0 auto;width:min(480px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;margin:0;padding:0;border:0;border-left:1px solid var(--border);color:var(--foreground);background:var(--background);box-shadow:-12px 0 48px #00000014}.modal::backdrop,.mobile-drawer::backdrop{background:#0006}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 24px;border-bottom:1px solid var(--border)}.modal-heading h2{font-size:18px;font-weight:600;overflow-wrap:anywhere}.modal-body{padding:24px}.form-stack{display:flex;flex-direction:column;gap:20px}.form-stack>label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:500}.form-stack label .subtle{font-weight:400}.form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:16px;border-top:1px solid var(--border);margin-top:8px}.form-stack .checkbox-row{flex-direction:row;align-items:center;gap:10px;border:1px solid var(--border);border-radius:9px;padding:11px 12px}.checkbox-row>span:first-of-type{flex:1}.panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--background)}.menu-caption{padding:6px 10px;color:var(--muted-foreground);font-size:11px}.menu-check{margin-left:auto}.image-parameter-form{display:grid;gap:14px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--muted)}.image-parameter-form>div:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.image-parameter-field,.image-parameter-field label{display:grid;gap:6px;min-width:0}.image-parameter-field input,.image-parameter-field select{width:100%;min-width:0}.image-size-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.image-size-inputs small{grid-column:1 / -1}.image-parameter-form small{font-size:11px;line-height:1.6;color:var(--muted-foreground)}.image-parameter-form>button{justify-self:start;border:1px solid var(--border);background:var(--background);border-radius:999px;padding:6px 12px}.image-parameter-form [role=alert]{color:var(--destructive)}@media(max-width:640px){.image-parameter-form>div:first-child{grid-template-columns:1fr}}.app{display:flex;flex-direction:column;height:100dvh;overflow:hidden}.app-header{height:var(--header-height);min-height:var(--header-height);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px 0 14px;background:var(--background)}.header-brand,.header-actions{display:flex;align-items:center;gap:8px;min-width:0}.header-brand{flex:1}.brand{display:inline-flex;align-items:center;gap:8px;min-width:0;font-size:15px;font-weight:600;white-space:nowrap}.brand-mark{display:inline-grid;place-items:center;color:var(--primary);width:28px;height:28px}.console-label{font-size:11px;color:var(--muted-foreground);margin-left:6px;padding-left:12px;border-left:1px solid var(--border);white-space:nowrap}.header-actions>.action-menu>summary{width:auto;padding:0 3px;gap:4px}.app-body{display:flex;flex:1;min-height:0}.sidebar{flex:0 0 var(--sidebar-width);width:var(--sidebar-width);background:var(--background);padding:8px 16px;overflow:auto}.nav-group{margin-bottom:22px}.nav-group h2{color:var(--muted-foreground);font-size:11px;font-weight:400;padding:8px;margin-bottom:6px}.nav-item{display:flex;align-items:center;gap:10px;height:34px;border-radius:999px;padding:0 9px;margin-bottom:4px;white-space:nowrap;font-size:14px}.nav-item svg{flex-shrink:0}.nav-item:hover{background:var(--muted)}.nav-item.active{color:var(--primary);background:var(--accent)}.content{min-width:0;flex:1;min-height:0;margin:8px 8px 8px 0;padding:16px 16px 0;border:1px solid var(--border);border-radius:24px;background:var(--background);overflow:auto;box-shadow:0 1px 2px #00000004}.content:focus{outline:none}.sidebar-collapsed{--sidebar-width: 44px}.sidebar-collapsed .sidebar{padding:8px 5px}.sidebar-collapsed .nav-group h2,.sidebar-collapsed .nav-item span{display:none}.sidebar-collapsed .nav-group{margin:0 0 18px}.sidebar-collapsed .nav-item{padding:0;justify-content:center}.mobile-drawer{position:fixed;inset:0 auto 0 0;width:260px;height:100dvh;max-height:100dvh;margin:0;border:0;border-right:1px solid var(--border);padding:0;color:var(--foreground);background:var(--background)}.mobile-drawer-body header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--border)}.mobile-drawer-body .navigation{padding:10px 12px}@media(max-width:767px){.sidebar{display:none}.content{margin:4px 8px 8px;border-radius:18px;padding:16px 12px 0}.app-header{padding:0 8px;gap:4px}.header-brand,.header-actions{gap:3px}.brand{font-size:13px;gap:4px}.console-label{display:none}.workspace-link{width:30px;padding:6px;font-size:0}.workspace-link svg{width:17px;height:17px}}.list-page{display:flex;flex-direction:column;min-height:100%;min-width:0}.page-title{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:4px 0 18px;min-height:28px}.page-title h1{font-size:19px;line-height:28px;font-weight:600;letter-spacing:-.3px}.page-title p{margin-top:4px;color:var(--muted-foreground);font-size:13px}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px}.search-field{display:flex;align-items:center;flex-shrink:1;gap:7px;width:250px;min-width:120px;height:33px;padding:0 12px;border:1px solid var(--input);border-radius:999px;color:var(--muted-foreground)}.search-field svg{flex-shrink:0}.search-field input{width:100%;padding:4px 0;border:0;font-size:13px;background:transparent}.search-field input:focus{outline:none}.search-field:focus-within{outline:2px solid var(--ring);outline-offset:2px}.filter-select{width:auto;max-width:100%;height:33px;padding:4px 26px 4px 12px;border-style:dashed;border-radius:999px;font-size:12px}.toolbar-refresh{margin-left:auto}.data-table-frame{flex:1;min-height:220px;border:1px solid var(--border);border-radius:17px}.data-table-frame>.error-box{margin:16px}.table-scroll{width:100%;max-width:100%;overflow-x:auto;border-radius:17px;min-height:100%}table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:13px;white-space:nowrap}th{height:40px;background:var(--muted);font-size:12px;font-weight:500;color:var(--foreground)}th,td{padding:11px 16px;border-bottom:1px solid var(--border)}th:first-child{border-top-left-radius:16px}th:last-child{border-top-right-radius:16px}td{height:62px;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:color-mix(in oklch,var(--muted) 60%,var(--background))}.disabled-row{background:color-mix(in oklch,var(--foreground) 2%,var(--background))}.disabled-row strong{color:var(--muted-foreground)}.row-actions{width:82px;text-align:right;padding-right:12px}.user-cell,.agent-cell{display:flex;align-items:center;gap:10px;min-width:160px}.user-cell .cell-secondary{width:160px;overflow:hidden;text-overflow:ellipsis;font-size:10px;margin-top:2px}.agent-description{max-width:220px;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.endpoint-cell{max-width:280px}.endpoint-cell>span{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;color:var(--muted-foreground);font-size:12px}.footnote{padding:9px 0;font-size:11px}.pagination{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:14px;min-height:56px;margin:0 -16px;padding:10px 16px;border-top:1px solid var(--border);color:var(--muted-foreground);font-size:12px}.pagination>span strong{color:var(--foreground);margin-left:6px}.pagination label{display:flex;align-items:center;gap:8px;white-space:nowrap}.pagination select{width:65px;height:32px;padding:3px 8px;border-radius:999px;font-size:12px}.pagination-buttons{display:flex;gap:6px;align-items:center}.page-number{display:grid;place-items:center;width:30px;height:30px;color:var(--primary-foreground);background:var(--primary);border-radius:50%;font-size:13px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.stat-card{border:1px solid var(--border);border-radius:14px;padding:16px}.stat-card>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted-foreground)}.stat-card strong{display:block;font-size:23px;font-weight:600;padding:10px 0 5px;overflow-wrap:anywhere}.stat-card small{font-size:13px;font-weight:400}.stat-card p{color:var(--muted-foreground);font-size:11px}.money{font-variant-numeric:tabular-nums}.auth-page{min-height:100dvh;display:grid;place-items:center;padding:100px 24px 48px;position:relative}.auth-brand{position:absolute;top:32px;left:32px;font-size:20px;font-weight:500;gap:8px}.auth-brand .brand-mark{width:32px;height:32px}.auth-theme{position:absolute;top:32px;right:32px}.auth-container{width:min(416px,100%)}.auth-container h1{font-size:25px;letter-spacing:-.5px;font-weight:600;margin-bottom:8px}.auth-description{color:var(--muted-foreground);margin-bottom:30px;font-size:14px}.auth-container .form-stack{gap:22px}.auth-help{margin-top:26px;text-align:center;color:var(--muted-foreground);font-size:12px}.login-form{min-height:100dvh;display:grid;place-items:center;padding:24px}.account-card{width:min(500px,100%)}@media(max-width:1023px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.page-title{margin-top:0;margin-bottom:16px}.page-title h1{font-size:18px}.toolbar{gap:8px}.search-field{width:100%;flex-basis:100%}.pagination{margin:0 -12px;padding:10px 12px;gap:8px;flex-wrap:wrap}.pagination-buttons{gap:3px}.pagination-buttons .btn:first-child,.pagination-buttons .btn:last-child{display:none}th,td{padding:10px 12px}.stat-grid{gap:9px}.stat-card{padding:12px}.stat-card strong{font-size:20px}.auth-brand{top:20px;left:20px;font-size:18px}.auth-theme{top:20px;right:20px}.auth-container h1{font-size:23px}.modal-heading,.modal-body{padding:18px}}
