.tenant-layout .side-brand{white-space:normal;line-height:1.6}.tenant-layout .side-brand img{object-fit:contain;vertical-align:middle;width:32px;height:28px;margin-right:8px}.tenant-layout .side-brand small{opacity:.6;font-size:12px;font-weight:400;display:block}.tenant-heading{justify-content:space-between;align-items:center;margin-bottom:26px;display:flex}.tenant-heading h1{margin:6px 0;font-size:26px}.tenant-badge{color:#38755c;background:#e8f1ee;border-radius:20px;padding:6px 12px;font-size:12px}.tenant-stats{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px;display:grid}.tenant-stats .card{padding:24px}.tenant-stats strong{margin-top:12px;font-size:28px;display:block}.tenant-stats span{color:var(--muted)}.tenant-intro{margin:20px 0;padding:24px}.tenant-intro h2{font-size:18px}.tenant-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:18px 0;display:flex}.tenant-toolbar>.input{max-width:360px}.tenant-table{background:var(--panel);border:1px solid var(--line,#e3e8ec);border-radius:12px;overflow:auto}.tenant-table table{border-collapse:collapse;width:100%;min-width:650px}.tenant-table th,.tenant-table td{text-align:left;border-bottom:1px solid var(--line,#e3e8ec);vertical-align:top;padding:16px 18px;font-size:13px}.tenant-table th{color:var(--muted);background:var(--raised);font-weight:500}.tenant-table small{color:var(--muted);margin-top:5px;display:block}.tenant-actions{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.tenant-dialog{width:min(760px,100%);max-height:90vh;padding:24px;overflow:auto}.tenant-dialog header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.tenant-dialog h2{margin:0;font-size:19px}.tenant-form{gap:16px;display:grid}.tenant-form .input{width:100%}.tenant-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.tenant-checks{flex-wrap:wrap;gap:16px;display:flex}.tenant-dialog pre,.tenant-table pre{white-space:pre-wrap;word-break:break-word;background:var(--bg);border-radius:8px;max-width:600px;padding:12px;font-size:12px}.tenant-note{border-bottom:1px solid var(--line);padding:16px 0}.tenant-dialog details{margin:16px 0}.tenant-layout .page{min-width:0}.tenant-layout .side-foot{padding:16px}.tenant-layout .btn:disabled{opacity:.5;cursor:not-allowed}@media (width<=760px){.tenant-layout{display:block}.tenant-layout .side{width:100%;height:auto;position:relative}.tenant-layout .side-brand{padding:16px}.tenant-layout .side-nav{flex-wrap:nowrap;padding:8px;display:flex;overflow-x:auto}.tenant-layout .side-item{white-space:nowrap;flex-shrink:0;width:auto}.tenant-layout .side-foot{justify-content:space-between;align-items:center;padding:8px 16px;display:flex}.tenant-layout .side-foot .tenant-actions{margin:0}.tenant-layout .page{margin-left:0;padding:22px 14px}.tenant-grid{grid-template-columns:1fr}.tenant-heading h1{font-size:23px}.tenant-stats{grid-template-columns:1fr 1fr}.tenant-intro,.tenant-dialog{padding:18px}.tenant-layout .side-brand small{margin-left:10px;display:inline}.tenant-toolbar>.input{max-width:100%}}:root{--bg:#121212;--side:#171717;--panel:#12171e;--raised:#161b23;--line:#242b36;--ink:#edeff2;--muted:#8a95a2;--faint:#6c7683;--accent:#1199ec;--accent-ink:#fff;--accent-soft:#1199ec1f;--ok:oklch(76% .12 160);--bad:oklch(70% .15 22);--shadow:0 24px 60px #0008;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:Noto Sans SC,-apple-system,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-size:13px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.mono{font-family:JetBrains Mono,Menlo,monospace}.btn{border:1px solid var(--line);background:var(--raised);border-radius:9px;padding:7px 14px}.btn:hover{border-color:var(--faint)}.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:600}.btn.danger{color:var(--bad)}.input{border:1px solid var(--line);background:var(--bg);border-radius:9px;width:100%;padding:8px 11px}.input:focus{border-color:var(--accent);outline:none}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px}.tag{background:var(--raised);color:var(--muted);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11px}.tag.ok{color:var(--ok)}.tag.bad{color:var(--bad)}.tag.warn{color:var(--accent)}.tag.accent{background:var(--accent-soft);color:var(--accent)}table{border-collapse:collapse;width:100%}th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:10px 12px;font-size:12px;font-weight:500}td{border-bottom:1px solid var(--line);vertical-align:top;padding:10px 12px}label.f{color:var(--muted);flex-direction:column;gap:5px;font-size:12px;display:flex}.tabs{background:var(--raised);border:1px solid var(--line);border-radius:11px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:6px 13px}.tabs button.on{background:var(--panel);color:var(--ink);font-weight:600}.overlay{z-index:50;background:#000a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{flex-direction:column;gap:14px;width:min(640px,100%);max-height:calc(100vh - 40px);padding:22px 24px;display:flex;overflow:auto}.grid2{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=640px){.grid2{grid-template-columns:1fr}}.layout{grid-template-columns:210px minmax(0,1fr);min-height:100vh;display:grid}.side{background:var(--side);box-sizing:border-box;flex-direction:column;gap:2px;height:100vh;padding:18px 10px;display:flex;position:sticky;top:0}.side-brand{padding:2px 10px 16px;font-size:14.5px;font-weight:700}.side-group{color:var(--faint);letter-spacing:1px;padding:14px 10px 6px;font-size:11px}.side-item{text-align:left;color:#a4acb7;background:0 0;border:0;border-radius:10px;width:100%;margin:2px 0;padding:6px 12px 6px 36px;font-size:13px;line-height:20px;transition:background .15s,color .15s;display:block}.side-item:hover{color:var(--ink);background:#22262d}.side-item.on{color:#fff;background:#343941;font-weight:600;box-shadow:inset 0 0 0 1px #ffffff0a}.side-foot{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding:10px;display:flex}.page{min-width:0;max-width:1280px;padding:22px 26px 40px}.page-title{margin-bottom:14px;font-size:18px;font-weight:700}.split{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:16px;display:grid}.list-head{color:var(--faint);padding:10px 10px 4px;font-size:11px}.list-item{text-align:left;background:0 0;border:0;border-radius:9px;flex-direction:column;gap:2px;width:100%;padding:8px 10px;display:flex}.list-item:hover{background:var(--raised)}.list-item.on{background:var(--accent-soft)}.list-item b{font-size:13px;font-weight:600}.list-item span{color:var(--faint);font-size:11px}.grid3{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.grid4{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.media-box{border:1px solid var(--line);background:var(--raised) center / cover;width:64px;height:64px;color:var(--faint);border-radius:9px;flex-shrink:0;place-items:center;font-size:11px;display:grid}.media-box.sm{width:44px;height:56px}.review-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;display:grid}.review-card{border:1px solid var(--line);background:var(--bg);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.review-media{aspect-ratio:4/3;background:#000;position:relative}.review-media>img,.review-media>video{object-fit:contain;width:100%;height:100%;display:block}.review-media>img.review-src{object-fit:cover;border:2px solid #fff;border-radius:8px;width:56px;height:56px;position:absolute;bottom:8px;right:8px}details summary{list-style:none}@media (width<=900px){.layout{grid-template-columns:1fr}.side{flex-flow:wrap;height:auto;position:static}.split,.grid3,.grid4{grid-template-columns:1fr}}.list-search{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.list-search .input{width:min(380px,100%)}.list-error{color:var(--bad);align-items:center;gap:10px;display:flex}.pagination{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding-top:12px;display:flex}.pagination-summary{color:var(--muted);margin-right:auto;font-size:12px}.pagination-size,.pagination-buttons,.pagination-jump{white-space:nowrap;align-items:center;gap:5px;display:flex}.pagination-size .input{width:80px}.pagination-jump .input{width:64px}.pagination .btn{white-space:nowrap;padding:6px 9px}.pagination .current{background:var(--ink);color:var(--bg);border-color:var(--ink)}@media (width<=640px){.pagination-summary{flex-basis:100%}.pagination-buttons{flex-wrap:wrap}}.commerce-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;display:grid}@media (width<=1150px){.commerce-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.commerce-plan-grid{grid-template-columns:minmax(0,1fr)}}.side{height:100dvh;overflow:hidden}.side-brand,.side-foot{flex:none}.side-nav{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;overflow-y:auto}.skill-list-items{overscroll-behavior:contain;max-height:min(58dvh,620px);overflow-y:auto}.compact-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px 6px 4px;display:flex}@media (width<=900px){.side{flex-direction:column;height:auto;max-height:42dvh}.side-nav{width:100%;max-height:25dvh}.side-nav>div{flex-wrap:wrap;gap:4px;display:flex}.side-group{width:100%}.side-item{width:auto}.side-foot{width:100%}}.split>section{min-width:0}@media (width<=900px){.split{grid-template-columns:minmax(0,1fr)}}.side-group-toggle{color:#e3e6eb;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;margin-top:2px;padding:9px 10px 6px;font-size:13px;font-weight:600;line-height:20px;display:flex}.side-group-label{align-items:center;gap:9px;display:flex}.side-group-icon{color:#b6beca;flex:none;width:17px;height:17px}.side-chevron{width:16px;height:16px;color:var(--muted);transition:transform .15s}.side-group-toggle[aria-expanded=false] .side-chevron{transform:rotate(-90deg)}.side-group-toggle:hover .side-group-icon,.side-group-toggle:hover .side-chevron{color:#fff}.side-item:focus-visible,.side-group-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media (width<=900px){.side-item{padding-left:14px;padding-right:14px}}@media (prefers-reduced-motion:reduce){.side-item,.side-chevron{transition:none}}.access-page{gap:16px;display:grid}.access-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.access-bar p{color:var(--muted);flex:1;margin:0;line-height:1.7}.access-table{overflow-x:auto}.access-table .mono,.access-code{color:var(--muted);margin-top:4px;font-size:11px;display:block}.access-table td{overflow-wrap:anywhere;max-width:320px}.access-hint{color:var(--muted);margin:0;line-height:1.8}.access-backdrop{z-index:100;background:#0009;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.access-modal{width:min(900px,100%);max-height:calc(100dvh - 40px);padding:24px;overflow-y:auto}.access-modal>header,.access-modal footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.access-modal>header{z-index:2;background:var(--panel);border-bottom:1px solid var(--line);margin-bottom:20px;padding:12px 0;font-size:18px;position:sticky;top:-24px}.access-modal form{gap:16px;display:grid}.access-modal footer{background:var(--panel);border-top:1px solid var(--line);justify-content:flex-end;padding:16px 0;position:sticky;bottom:-24px}.access-modal h3{margin:8px 0 0;font-size:15px}.access-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.access-permissions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.access-permissions fieldset{border:1px solid var(--line);border-radius:10px;margin:0;padding:12px}.access-permissions legend{color:var(--muted);padding:0 6px}.access-check{cursor:pointer;align-items:center;gap:8px;padding:5px 0;line-height:1.6;display:flex}.access-check input{flex:none}.access-check small{color:var(--muted);font-size:10px;display:block}.access-check em{color:var(--bad);font-style:normal}.access-menu-checks{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 12px;display:grid}.access-readonly{color:var(--muted);margin-bottom:16px;font-size:12px}@media (width<=700px){.access-form-grid,.access-permissions{grid-template-columns:1fr}.access-menu-checks{grid-template-columns:repeat(2,minmax(0,1fr))}.access-modal{padding:16px}}.access-bar .list-search{flex-wrap:nowrap;flex:440px;min-width:0}.access-bar .list-search .input{flex:0 380px;min-width:100px}.access-bar .list-search .btn{flex:none}.security-login{place-items:center;min-height:100dvh;padding:28px 16px;display:grid}.security-login-card{width:min(480px,100%);padding:28px}.security-brand{margin-bottom:24px;font-size:20px;font-weight:700}.security-stack{flex-direction:column;gap:14px;display:flex}.security-stack h2{margin:0;font-size:19px}.security-stack p{margin:0;line-height:1.7}.security-stack .muted{color:var(--muted);font-size:13px}.security-qr{background:#fff;border-radius:8px;align-self:center;width:240px;height:240px}.security-secret{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;padding:12px 0;display:block}.security-codes{background:var(--bg);border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(0,1fr);gap:8px;padding:14px;display:grid}.security-codes code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;font-size:12px}.security-account{width:min(530px,100vw - 32px)}.security-account>header{margin-bottom:18px}.security-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.security-stats .card{flex-direction:column;gap:12px;padding:18px;display:flex}.security-stats small{color:var(--muted)}.security-stats b{font-size:25px}.security-tabs{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.security-settings{max-width:960px;padding:24px}.security-settings .access-form-grid{margin:20px 0}.side-foot{min-width:0;padding:10px 4px 0;display:block}.side-account-trigger{width:100%;min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:13px;line-height:20px;display:flex}.side-account-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.side-account-trigger svg{width:18px;height:18px;color:var(--muted);flex:none}.side-account-trigger:hover,.side-account-trigger[aria-expanded=true]{background:#252a32}.side-account-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.side-account-menu{z-index:45;box-sizing:border-box;border:1px solid var(--line);background:var(--panel);border-radius:12px;width:200px;max-width:calc(100vw - 16px);padding:6px;position:fixed;box-shadow:0 10px 32px #0005}.side-account-menu button{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;padding:10px;font-size:13px;line-height:20px;display:flex}.side-account-menu button svg{width:16px;height:16px;color:var(--muted);flex:none}.side-account-menu button:hover,.side-account-menu button:focus{background:#2b3039;outline:none}@media (width<=700px){.security-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.security-login-card{padding:22px}}.gateway-page{flex-direction:column;gap:18px;min-width:0;display:flex}.gateway-heading,.gateway-panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.gateway-heading h2,.gateway-panel h3,.gateway-routing h3{margin:0 0 6px}.gateway-heading p,.gateway-panel-head p{color:var(--muted);margin:0;font-size:12px;line-height:1.7}.gateway-main-tabs{align-self:flex-start}.gateway-main-tabs button{min-height:40px;padding-inline:20px}.gateway-main-tabs button span{opacity:.65;margin-left:8px}.gateway-panel{flex-direction:column;gap:18px;min-width:0;padding:20px;display:flex}.gateway-filters{flex-wrap:wrap;gap:10px;display:flex}.gateway-filters input{flex:220px;min-width:160px}.gateway-filters select{flex:0 180px;width:auto;min-width:130px}.gateway-table{max-width:100%;overflow:auto}.gateway-table table{min-width:820px}.gateway-table td{vertical-align:top}.gateway-table td small{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.5;display:block}.gateway-upstream{overflow-wrap:anywhere;max-width:240px}.gateway-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.gateway-actions .btn{white-space:nowrap}.gateway-health{margin-top:6px}.gateway-provider-detail{background:var(--raised);padding:18px!important}.gateway-provider-models{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0;display:grid}.gateway-provider-models>div{background:var(--panel);border:1px solid var(--line);border-radius:10px;align-items:center;gap:10px;padding:12px;display:flex}.gateway-provider-models>div>span:first-child{overflow-wrap:anywhere;flex:1;min-width:0}.gateway-provider-models small{color:var(--muted);display:block}.gateway-pagination{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.gateway-pagination>div{align-items:center;gap:8px;display:flex}.gateway-empty{text-align:center;color:var(--muted);padding:36px!important}.gateway-more{color:var(--muted);margin-top:10px;font-size:11px}.gateway-more summary,.gateway-route-rules summary,.gateway-last-error summary{cursor:pointer}.gateway-more .gateway-actions{margin-top:8px}.gateway-last-error{color:var(--bad);overflow-wrap:anywhere;max-width:230px;margin-top:8px;font-size:11px}.gateway-test-result pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;font-size:12px;overflow:auto}.gateway-editor-section:not([hidden]){flex-direction:column;gap:14px;display:flex}.gateway-editor-tabs{flex-shrink:0}.gateway-routing{flex-direction:column;gap:18px;font-size:13px;line-height:1.6;display:flex}.gateway-routing p{margin:6px 0}.gateway-routing small{color:var(--muted);line-height:1.6}.gateway-route-modes{grid-template-columns:1fr 1fr;gap:12px;display:grid}.gateway-route-modes label{border:1px solid var(--line);cursor:pointer;border-radius:12px;align-items:flex-start;gap:10px;padding:14px;display:flex}.gateway-route-modes label.selected{border-color:var(--accent);background:var(--raised)}.gateway-route-modes input{accent-color:var(--accent);margin-top:5px}.gateway-route-modes span{flex-direction:column;gap:4px;display:flex}.gateway-route-layout{grid-template-columns:minmax(0,1.65fr) minmax(230px,1fr);align-items:start;gap:20px;display:grid}.gateway-route-steps,.gateway-route-step{flex-direction:column;gap:12px;min-width:0;display:flex}.gateway-route-step{border-top:1px solid var(--line);padding-top:16px}.gateway-route-note{color:var(--muted);background:var(--raised);border-radius:8px;padding:10px;font-size:12px}.gateway-channel-list{margin:0;padding-left:20px}.gateway-channel-list li{margin:6px 0}.gateway-channel-list small{overflow-wrap:anywhere;display:block}.gateway-fallback{border:1px solid var(--line);border-radius:9px;align-items:center;gap:6px;padding:9px;display:flex}.gateway-fallback>span{overflow-wrap:anywhere;flex:1;min-width:0}.gateway-fallback small{display:block}.gateway-route-preview{background:var(--raised);overflow-wrap:anywhere;border-radius:12px;padding:16px}.gateway-route-preview ol{margin:12px 0;padding:0;list-style:none}.gateway-route-preview li{flex-direction:column;align-items:flex-start;gap:5px;padding-bottom:12px;display:flex}.gateway-route-preview strong{font-weight:500}.gateway-route-preview p,.gateway-route-rules{color:var(--muted);font-size:12px;line-height:1.7}.gateway-warning{color:var(--bad)!important}@media (width<=760px){.gateway-panel{padding:14px}.gateway-route-layout,.gateway-route-modes,.gateway-provider-models{grid-template-columns:1fr}.gateway-model-dialog{padding:18px}.gateway-filters select{flex:130px}.gateway-main-tabs{align-self:stretch}.gateway-main-tabs button{flex:1}}.gateway-dialog-actions{background:var(--panel);border-top:1px solid var(--line);z-index:2;flex-shrink:0;padding:14px 0 4px;position:sticky;bottom:-22px}.gateway-category-switcher{flex-direction:column;gap:8px;display:flex}.gateway-category-tabs{gap:6px}.gateway-category-tabs button{flex-wrap:wrap;align-items:center;gap:7px;min-height:36px;display:flex}.gateway-category-tabs button>span{opacity:.75;font-variant-numeric:tabular-nums;font-size:11px}.gateway-category-tabs button>small{color:#e5b756;background:#d79d2220;border-radius:4px;padding:2px 5px;font-size:10px;font-weight:400}.gateway-category-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.gateway-category-switcher>p{color:var(--muted);margin:0;font-size:11px;line-height:1.6}.gateway-model-title{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:10px;margin:0;font-size:16px;font-weight:700;display:flex}.gateway-batch-toolbar{flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;display:flex}.gateway-batch-toolbar>small{color:var(--muted);flex-basis:100%}.gateway-batch-result{border:1px solid var(--line);border-radius:10px;gap:10px;margin-bottom:12px;padding:12px;display:grid}.gateway-batch-result ul{max-height:220px;margin:0;padding-left:20px;overflow:auto}.gateway-check{text-align:center;width:40px}.gateway-check input{cursor:pointer;width:16px;height:16px;accent-color:var(--accent)}.gateway-selected-row{background:var(--bg)}.gateway-batch-dialog{width:min(580px,100%);max-height:90vh;overflow:auto}.gateway-batch-dialog h3{margin:0}.gateway-batch-dialog p{color:var(--muted);line-height:1.7}.gateway-batch-dialog>ul{max-height:260px;margin:16px 0;padding:0;list-style:none;overflow:auto}.gateway-batch-dialog li{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:8px 0}.gateway-batch-dialog li small{color:var(--muted);margin-top:4px;display:block}.gateway-batch-dialog>.gateway-actions{justify-content:flex-end}.knowledge-upload-list{flex-direction:column;grid-column:1/-1;gap:10px;display:flex}.knowledge-upload-row{border:1px solid var(--line);border-radius:8px;align-items:center;gap:8px;padding:8px;display:flex}.knowledge-upload-row>img,.knowledge-upload-kind{object-fit:cover;border-radius:6px;flex-shrink:0;width:52px;height:52px}.knowledge-upload-kind{background:var(--bg);place-items:center;font-size:11px;display:grid}@media (width<=640px){.gateway-sync-table table{width:100%;min-width:0}.gateway-sync-table thead{display:none}.gateway-sync-table tr{border-bottom:1px solid var(--line);grid-template-columns:28px minmax(0,1fr);padding:8px 0;display:grid}.gateway-sync-table td{white-space:normal;overflow-wrap:anywhere;border:0;padding:4px}.gateway-sync-table td:first-child{grid-row:1/4}.gateway-sync-table td:not(:first-child){grid-column:2}}.task-outputs{border:1px solid var(--line);background:var(--bg);border-radius:12px;gap:12px;min-width:0;padding:16px;display:grid}.task-output-heading{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.task-output-heading h3{margin:0;font-size:15px}.task-output-heading>.btn{margin-left:auto}.task-output-heading b{overflow-wrap:anywhere;min-width:0}.task-output-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;display:grid}.task-output-card{border:1px solid var(--line);background:var(--panel);border-radius:10px;min-width:0;overflow:hidden}.task-output-media{object-fit:contain;background:#080a0c;width:100%;height:260px;display:block}.task-output-media img{object-fit:contain;width:100%;height:100%;display:block}.task-output-info,.task-output-document{gap:10px;min-width:0;display:grid}.task-output-info{padding:12px}.task-output-info audio{width:100%;min-width:0}.task-output-meta{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:12px}.task-output-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;font:inherit;background:var(--bg);border-radius:8px;margin:0;padding:12px;line-height:1.75;overflow:auto}.task-output-actions{flex-wrap:wrap;gap:8px;display:flex}.task-output-actions a{color:var(--ink);text-decoration:none}.task-output-document>.btn{justify-self:start}@media (width<=640px){.task-outputs{padding:10px}.task-output-media{height:220px}}
