pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub
  Description: Light theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-light
  Current colors taken from GitHub's CSS
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.studio{--studio-panel:#fff;--studio-border:var(--line);--studio-soft:var(--primary-softer)}.studio-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--primary);font-size:12px;font-weight:800;letter-spacing:.08em;margin-bottom:9px}.studio-heading{align-items:center;margin-bottom:24px}.studio-heading h1{margin-bottom:7px}.studio-tabs{display:flex;gap:5px;overflow-x:auto;border-bottom:1px solid var(--line);margin:0 0 24px;padding:0 2px;scrollbar-width:thin}.studio-tabs a{min-height:44px;display:inline-flex;align-items:center;flex:none;padding:0 13px;border-bottom:3px solid transparent;color:var(--text-secondary);font-size:13px;font-weight:700;white-space:nowrap}.studio-tabs a:hover{color:var(--primary);background:var(--primary-softer)}.studio-tabs a.selected{color:var(--primary);border-bottom-color:var(--primary)}.studio-alert{border-radius:10px;padding:13px 16px;margin-bottom:18px;font-size:14px;line-height:1.5}.studio-alert.error{background:var(--danger-soft);color:var(--danger)}.studio-alert.success{background:var(--success-soft);color:var(--success)}.studio-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.studio-stat{border:1px solid var(--studio-border);border-radius:12px;background:var(--studio-panel);padding:19px;display:grid;grid-template-columns:28px 1fr;gap:6px 9px;align-items:center}.studio-stat svg{color:var(--primary)}.studio-stat span{font-size:13px;color:var(--text-secondary)}.studio-stat strong{font-size:27px;grid-column:1/-1;font-variant-numeric:tabular-nums;line-height:1.2}.studio-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.studio-panel{min-width:0;border:1px solid var(--studio-border);border-radius:14px;background:var(--studio-panel);padding:22px;margin-bottom:20px}.studio-panel h2{font-size:19px;margin-bottom:9px}.studio-panel h3{font-size:15px;margin:0 0 12px}.studio-panel p{font-size:14px}.studio-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:start}.studio-panel-head p{color:var(--text-muted)}.studio-help{font-size:13px!important;color:var(--text-muted);line-height:1.55;margin:8px 0 15px}.studio-steps{font-size:14px;line-height:1.6;padding-left:22px;margin:16px 0 20px}.studio-steps li{padding-left:3px;margin-bottom:9px}.studio-steps a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}.studio-source-list{display:grid;gap:12px}.studio-source{min-width:0;border:1px solid var(--line);border-radius:11px;padding:16px;background:#fff}.studio-source-main{display:flex;align-items:center;gap:12px;min-width:0}.studio-source-main>div{min-width:0;flex:1}.studio-source-main a{overflow-wrap:anywhere}.studio-source-main strong{font-size:15px;color:var(--text)}.studio-source-main a:hover strong{color:var(--primary)}.studio-source-main small{display:block;color:var(--text-muted);font-size:12px;margin-top:4px;overflow-wrap:anywhere}.studio-source-controls{display:grid;grid-template-columns:minmax(160px,230px) 1fr auto;gap:16px;align-items:end;border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.studio-source-controls fieldset{min-width:0;border:0;padding:0;margin:0}.studio-source-controls legend{font-size:14px;font-weight:700;margin-bottom:8px}.studio-source-controls .checkbox{min-height:32px;font-size:13px}.studio-source-controls .checkbox input{flex:none}.studio-status{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700;white-space:nowrap;background:var(--surface-muted);color:var(--text-secondary)}.studio-status.customer_approved,.studio-status.active,.studio-status.ready,.studio-status.sent{background:var(--success-soft);color:var(--success)}.studio-status.internal,.studio-status.pending,.studio-status.running{background:var(--primary-soft);color:var(--primary)}.studio-status.failed,.studio-status.uncertain{background:var(--danger-soft);color:var(--danger)}.studio-status.handoff,.studio-status.sending{background:var(--ai-soft);color:var(--ai-ink)}.studio-row-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.studio-form{display:flex;flex-direction:column;gap:0}.studio-form label:not(.checkbox){margin:14px 0 7px}.studio-form textarea{width:100%;min-height:90px;resize:vertical;border:1px solid var(--line-strong);border-radius:10px;padding:11px 13px;color:var(--text);font:inherit;line-height:1.5}.studio-form textarea:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.studio-form>.btn,.studio-form>.studio-row-buttons{align-self:flex-start;margin-top:18px}.studio-form .checkbox{margin-top:10px}.studio-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.studio-fields>div{min-width:0}.studio-fields>div label{display:block}.studio-code{display:block;overflow-wrap:anywhere;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:13px;font-size:12px;line-height:1.5}.studio-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.studio-provider,.studio-bot{min-width:0;border:1px solid var(--line);background:var(--studio-panel);border-radius:11px;padding:18px}.studio-provider h3{font-size:17px;margin-bottom:8px}.studio-provider .studio-status{margin-bottom:3px}.studio-bot-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.studio-bot-head strong{font-size:16px}.studio-bot>p{font-size:12px;color:var(--text-muted);margin:5px 0 13px}.studio-embedding form{max-width:760px}.studio-embedding .studio-fields{grid-template-columns:1fr 1.4fr .7fr}.studio-answer-text{white-space:pre-wrap;background:var(--studio-soft);padding:17px;border-radius:10px;margin:16px 0 20px;font-size:15px!important;line-height:1.7}.studio-answer ol{padding-left:23px;font-size:14px;line-height:1.6}.studio-answer li{margin-bottom:7px}.studio-answer li a{color:var(--primary);text-decoration:underline}.studio-empty-result{min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:var(--text-muted)}.studio-empty-result p{max-width:300px}.studio-spaced{margin-top:16px}.studio .table-wrap{margin-top:14px}.studio table{min-width:700px}.studio table small{overflow-wrap:anywhere}.studio .text-btn{min-height:32px}.studio .empty{border:0;padding:35px}@media(max-width:1100px){.studio-source-controls{grid-template-columns:1fr 1fr}.studio-source-controls .studio-row-buttons{grid-column:1/-1}.studio-card-grid{grid-template-columns:1fr}}@media(max-width:780px){.studio-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-two{grid-template-columns:1fr}.studio-panel{padding:18px}.studio-heading{align-items:start}}@media(max-width:560px){.studio-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.studio-stat{padding:13px;grid-template-columns:22px 1fr}.studio-stat strong{font-size:23px}.studio-source-main{flex-wrap:wrap}.studio-source-main .studio-status{margin-left:0}.studio-source-controls,.studio-fields,.studio-embedding .studio-fields{grid-template-columns:1fr}.studio-source-controls .studio-row-buttons{grid-column:auto}.studio-heading .btn{min-width:44px}.studio-tabs a{padding:0 11px}}@media(prefers-reduced-motion:reduce){.studio-tabs a,.studio .btn{transition:none}}.studio-model-panel>label{display:block;margin:18px 0 7px;font-weight:700}.studio-model-panel>select{max-width:440px}.studio-model-panel .studio-provider{max-width:760px;padding:18px 0 0;border:0;background:transparent}.studio-model-panel .studio-provider h3{margin:0}.studio-bot-list{display:grid;gap:18px}.studio-bot-list .studio-bot{padding:22px}.studio-bot-list .studio-bot>.studio-form{max-width:760px}.studio-bot-sources{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.studio-bot-sources h3{margin:0 0 4px}.studio-bot-sources>label{display:block;margin:15px 0 7px;font-weight:700}.studio-bot-sources>input{max-width:620px}.studio-source-picker{margin:14px 0 18px;max-height:360px;overflow-y:auto;border:1px solid var(--line);border-radius:12px;background:var(--bg)}.studio-source-group+.studio-source-group{border-top:1px solid var(--line)}.studio-source-choice{display:flex;align-items:center;gap:11px;min-height:48px;padding:10px 14px;cursor:pointer}.studio-source-choice:hover{background:var(--primary-softer)}.studio-source-choice input{flex:none;width:18px;height:18px}.studio-source-choice svg{flex:none;color:var(--primary)}.studio-source-choice span{min-width:0}.studio-source-choice strong{display:block;overflow-wrap:anywhere;font-size:14px}.studio-source-choice small{display:block;overflow-wrap:anywhere;color:var(--text-muted);font-size:12px}.studio-source-file{padding-left:40px;background:#fff}.studio-guide{max-width:900px}.studio-guide>article{margin:24px 0 30px;line-height:1.7}.studio-guide h1{font-size:29px}.studio-guide h2{margin-top:30px;font-size:22px}.studio-guide h3{margin-top:22px;font-size:17px}.studio-guide p,.studio-guide li{font-size:15px;line-height:1.75}.studio-guide li{margin:7px 0}.studio-guide a{color:var(--primary);text-decoration:underline}.studio-guide .btn{text-decoration:none}.studio-guide blockquote{border-left:4px solid var(--primary);padding:8px 15px;margin:20px 0;background:var(--primary-softer)}.studio-guide table{width:100%;min-width:0}.studio-chat-page{padding:0;overflow:hidden}.studio-chat-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px}.studio-chat-header h2,.studio-chat-header h3{margin:0 0 5px}.studio-chat-header .btn{flex:none}.studio-chat-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(170px,1fr);gap:14px;padding:0 24px 18px;border-bottom:1px solid var(--line)}.studio-chat-controls label,.studio-eval-expect label:not(.checkbox){display:block;margin-bottom:7px;font-size:13px;font-weight:700}.studio-chat-controls select,.studio-eval-expect select{width:100%}.studio-chat-thread{height:420px;min-height:280px;overflow-y:auto;padding:22px 24px;background:var(--bg)}.studio-chat-line{display:flex;gap:11px;max-width:800px;margin-bottom:20px;align-items:flex-start}.studio-chat-line.user{margin-left:auto;flex-direction:row-reverse}.studio-chat-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:800}.studio-chat-line.user .studio-chat-avatar{background:var(--primary);color:#fff}.studio-chat-bubble{min-width:0;max-width:calc(100% - 47px);padding:13px 16px;border:1px solid var(--line);border-radius:14px;background:#fff}.studio-chat-line.user .studio-chat-bubble{background:var(--primary-softer);border-color:var(--primary-soft)}.studio-chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-size:14px;line-height:1.6}.studio-chat-bubble small{color:var(--text-muted);font-size:12px}.studio-chat-role{display:inline-block;margin-right:8px;font-size:12px;font-weight:800}.studio-chat-sources{border-top:1px solid var(--line);padding-top:11px;margin-top:12px;font-size:12px}.studio-chat-sources ol{padding-left:18px;margin:5px 0}.studio-chat-sources li{margin:3px 0}.studio-chat-sources a{color:var(--primary);text-decoration:underline}.studio-chat-composer{padding:17px 24px 20px;border-top:1px solid var(--line)}.studio-chat-composer>label{display:block;margin-bottom:8px;font-size:13px;font-weight:700}.studio-chat-composer>div{display:flex;gap:10px;align-items:end}.studio-chat-composer textarea{min-width:0;flex:1;resize:vertical;min-height:72px;border:1px solid var(--line-strong);border-radius:10px;padding:11px 13px;font:inherit}.studio-chat-composer textarea:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.studio-chat-composer .btn{min-height:48px}.studio-chat-composer small{display:block;margin-top:7px;color:var(--text-muted)}.studio-eval-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px}.studio-eval-toolbar .studio-row-buttons{max-width:500px}.studio-eval-toolbar label{font-size:13px;font-weight:700}.studio-eval-toolbar select{min-width:190px;max-width:260px}.studio-eval-layout{display:grid;grid-template-columns:minmax(235px,310px) minmax(0,1fr);gap:18px;align-items:start}.studio-eval-list{max-height:760px;overflow-y:auto}.studio-eval-list .btn{margin-top:15px}.studio-eval-case{display:block;width:100%;min-height:58px;margin-top:9px;padding:10px 12px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.studio-eval-case:hover,.studio-eval-case.selected{border-color:var(--primary);background:var(--primary-softer)}.studio-eval-case strong{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.studio-eval-case small{display:block;margin-top:4px;color:var(--text-muted)}.studio-eval-conversation{padding:0;overflow:hidden}.studio-eval-conversation .studio-chat-thread{height:360px}.studio-eval-conversation>.studio-help{padding:0 24px}.studio-eval-conversation>.studio-spaced{margin:0 24px 22px}.studio-eval-conversation .studio-chat-composer select{max-width:140px}.studio-eval-expect{display:grid;grid-template-columns:1fr 1.5fr;gap:14px;padding:16px 24px}.studio-eval-expect .checkbox{grid-column:1/-1}@media(max-width:900px){.studio-eval-toolbar{align-items:stretch;flex-direction:column}.studio-eval-layout{grid-template-columns:1fr}.studio-eval-list{max-height:280px}}@media(max-width:560px){.studio-bot-list .studio-bot{padding:16px}.studio-bot-sources .studio-bot-head,.studio-chat-header{flex-direction:column}.studio-chat-header{padding:17px}.studio-chat-controls{grid-template-columns:1fr;padding:0 17px 15px}.studio-chat-thread{height:350px;padding:16px}.studio-chat-composer{padding:15px}.studio-chat-composer>div{flex-wrap:wrap}.studio-chat-composer textarea{flex-basis:100%}.studio-chat-composer .btn{margin-left:auto}.studio-eval-expect{grid-template-columns:1fr;padding:15px}.studio-eval-expect .checkbox{grid-column:auto}.studio-eval-conversation .studio-chat-composer select{max-width:none;flex:1}.studio-eval-conversation .studio-chat-composer textarea{flex-basis:100%}}:root{--ink-900:#0e1726;--ink-800:#16233a;--ink-700:#1f2d42;--on-dark:#c9d2e0;--on-dark-muted:#8c9ab0;--bg:#f5f7fa;--surface:#fff;--surface-muted:#e9edf3;--line:#e3e7ee;--line-strong:#d6dce5;--text:#0e1726;--text-secondary:#3f4a5a;--text-muted:#556070;--primary:#2450d8;--primary-hover:#1a3ba8;--primary-soft:#e8eefc;--primary-softer:#f3f6fe;--ai:#ea580c;--ai-soft:#fff1e8;--ai-ink:#9a3412;--success:#0f766e;--success-soft:#e2f3f1;--danger:#b42318;--danger-soft:#fef3f2;font-family:Plus Jakarta Sans,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}input,select{outline:none}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--primary);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.02em}h2{font-size:21px}p{line-height:1.6}.loading-screen{height:100vh;display:grid;place-items:center;color:var(--text-muted)}.mono,code,kbd{font-family:JetBrains Mono,monospace}.muted{color:var(--text-muted)}.block{display:block}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;flex:0 0 248px;background:var(--ink-900);color:var(--on-dark);padding:20px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:30}.brand{height:54px;display:flex;align-items:center;gap:10px;padding:0 10px;color:#fff;margin-bottom:25px}.brand-mark{height:34px;width:34px;display:grid;place-items:center;border-radius:9px;background:var(--primary);color:#fff}.brand strong{display:block;font-size:16px;line-height:1.15}.brand small{display:block;color:var(--on-dark-muted);font-size:12px}.nav-item{height:40px;display:flex;align-items:center;gap:11px;padding:0 12px;border-radius:8px;font-size:14px;margin:2px 0;white-space:nowrap;color:var(--on-dark)}.nav-item:hover,.nav-item.active{background:var(--ink-700);color:#fff}.nav-item.active{font-weight:700}.nav-item svg{flex:none}.side-heading{font-size:11px;font-weight:700;letter-spacing:.11em;color:var(--on-dark-muted);padding:22px 12px 8px}.folder-nav{min-height:0;overflow:auto}.folder-nav-item{font-size:13px}.folder-nav-item span{overflow:hidden;text-overflow:ellipsis}.sidebar-footer{margin-top:auto;padding:16px 8px 0;border-top:1px solid #2e3d57;display:flex;align-items:center;gap:10px}.avatar,.mini-avatar{background:#2e3d57;color:#fff;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;flex:none}.avatar{width:35px;height:35px}.mini-avatar{width:24px;height:24px;background:var(--surface-muted);color:var(--text-secondary)}.profile{min-width:0;flex:1}.profile strong,.profile small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile strong{font-size:13px;color:#fff}.profile small{color:var(--on-dark-muted);font-size:11px;text-transform:capitalize}.sidebar .icon-btn{color:var(--on-dark)}.close-drawer,.menu-btn,.drawer-backdrop{display:none!important}.main-area{min-width:0;flex:1}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px;padding:0 40px}.search-box{height:44px;border:1px solid var(--line-strong);border-radius:10px;display:flex;align-items:center;gap:11px;padding:0 13px;color:var(--text-muted);width:min(560px,100%);background:#fff}.search-box:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.search-box input{border:0;flex:1;min-width:0;font-size:14px}.search-box input:focus{outline:none}.search-box kbd{white-space:nowrap;font-size:11px;border:1px solid var(--line);background:var(--bg);border-radius:5px;padding:3px 5px}.top-upload{margin-left:auto}.content{max-width:1320px;padding:32px 40px 65px;margin:auto}.breadcrumbs{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-muted);margin-bottom:25px;min-height:20px}.breadcrumbs a:hover{color:var(--primary);text-decoration:underline}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:32px}.page-heading h1{margin-bottom:8px;font-weight:800}.page-heading p{font-size:14px;color:var(--text-muted);margin:0}.heading-actions,.preview-actions{display:flex;gap:10px;flex-wrap:wrap}.section-title{font-size:13px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;margin:0 0 15px}.content section{margin-bottom:36px}.section-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;flex-wrap:wrap}.section-row h2{margin:0}.btn{border:1px solid transparent;min-height:44px;border-radius:10px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-size:14px;font-weight:700;transition:background .18s,border-color .18s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-secondary{background:#fff;border-color:var(--line-strong);color:var(--text)}.btn-secondary:hover{background:var(--bg)}.btn-danger{min-height:36px;border-color:#f5c2c0;background:#fff;color:var(--danger);font-size:13px}.btn-danger:hover{background:var(--danger-soft)}.icon-btn{width:40px;height:40px;display:inline-grid;place-items:center;border:0;background:transparent;color:var(--text-muted);border-radius:8px;flex:none}.icon-btn:hover{background:var(--surface-muted)}.text-btn{border:0;background:transparent;color:var(--primary);padding:0;font-weight:700}.text-btn:hover{text-decoration:underline}.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.folder-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px;min-height:84px;transition:border-color .18s,box-shadow .18s}.folder-card:hover{border-color:var(--line-strong);box-shadow:0 4px 12px #0e17260e}.folder-card>svg{margin-left:auto;color:var(--text-muted)}.folder-icon{width:40px;height:40px;flex:none;border-radius:10px;background:var(--primary-soft);display:grid;place-items:center;color:var(--primary)}.folder-card strong,.folder-card small{display:block}.folder-card strong{font-size:15px}.folder-card small{font-size:12px;color:var(--text-muted);margin-top:4px}.chips{display:flex;gap:7px;overflow-x:auto}.chip{white-space:nowrap;height:36px;border-radius:999px;border:1px solid var(--line-strong);background:#fff;color:var(--text-secondary);padding:0 14px;font-size:13px;font-weight:700}.chip:hover{background:var(--bg)}.chip.selected{background:var(--ink-900);border-color:var(--ink-900);color:#fff}.table-wrap{border:1px solid var(--line);border-radius:12px;overflow:auto;background:#fff}table{border-collapse:collapse;width:100%;min-width:750px}th{text-align:left;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-weight:700;background:#fafbfc}th,td{padding:14px 18px;border-bottom:1px solid #eef1f5}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbfc}td{font-size:13px;color:var(--text-secondary)}td strong{color:var(--text)}td .block{font-size:11px;margin-top:4px;color:var(--text-muted)}.doc-link{display:flex;align-items:center;gap:11px;color:var(--text);font-weight:700;font-size:14px}.doc-link:hover{color:var(--primary)}.doc-link small{display:block;color:var(--text-muted);font-size:12px;font-weight:500;margin-top:4px}.type-badge{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:25px;padding:0 6px;border-radius:6px;font:500 11px JetBrains Mono,monospace;background:#e6edfb;color:#1e3f99;flex:none}.type-badge.md{background:#e2f3f1;color:#0f5f59}.type-badge.html{background:#efe9fc;color:#5521b5}.type-badge.pdf{background:#fef3f2;color:#b42318}.ai-badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:5px 8px;background:var(--ai-soft);color:var(--ai-ink);font-size:12px;font-weight:700;white-space:nowrap}.uploader{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.row-actions{display:flex;gap:4px}.row-actions button,.row-actions a{border:0;background:transparent;color:var(--text-muted);width:32px;height:32px;display:grid;place-items:center;border-radius:7px}.row-actions button:hover,.row-actions a:hover{background:var(--surface-muted);color:var(--primary)}.empty{background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:48px;text-align:center;color:var(--text-muted)}.empty svg{color:var(--primary)}.empty h3{margin:14px 0 4px;color:var(--text)}.empty p{font-size:14px}.skeleton{padding:45px;background:#fff;border-radius:12px;color:var(--text-muted);text-align:center}.new-folder,.user-form,.key-form{background:#fff;border:1px solid var(--line);padding:22px;border-radius:14px;margin-bottom:28px}.new-folder>div{display:flex;gap:9px;margin-top:9px}.new-folder input{flex:1}input:not([type=checkbox]):not([type=file]),select{height:44px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;padding:0 13px;width:100%;color:var(--text)}label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}.checkbox{display:flex;align-items:center;gap:9px;min-height:42px;font-weight:500;margin:0}.checkbox input{width:18px;height:18px;accent-color:var(--primary)}.checkbox:has(input){cursor:pointer}.form-message{padding:12px;background:var(--danger-soft);color:var(--danger);border-radius:8px;font-size:13px;margin:15px 0}.toast{position:fixed;right:24px;bottom:24px;background:var(--ink-900);color:#fff;border-radius:10px;padding:13px 18px;z-index:100;box-shadow:0 10px 30px #0e172638;font-size:14px}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.login-brand{background:var(--ink-900);color:#fff;padding:40px 58px;display:flex;flex-direction:column;justify-content:space-between}.login-logo{display:flex;align-items:center;gap:7px;font-size:20px;font-weight:800}.login-logo svg{color:#91a9fb;margin-right:4px}.login-logo span{font-weight:500;color:var(--on-dark-muted)}.login-brand h1{font-size:44px;max-width:570px;font-weight:800;margin-bottom:18px;letter-spacing:-.03em}.login-brand p{font-size:17px;color:var(--on-dark);max-width:480px}.login-brand>small{color:var(--on-dark-muted)}.login-art{margin-top:35px;display:flex;gap:10px;flex-wrap:wrap}.login-art>span{padding:26px 35px;background:var(--ink-800);border:1px solid #2e3d57;border-radius:13px;font:600 18px JetBrains Mono,monospace;color:#a9bcff}.login-art>div{width:100%;display:flex;align-items:center;gap:8px;margin-top:8px;color:#fdba74;font-size:13px}.login-form-wrap{display:grid;place-items:center;padding:35px}.login-form{width:min(100%,400px)}.login-form h2{font-size:30px;letter-spacing:-.02em;margin-bottom:9px}.login-form>p{color:var(--text-muted);font-size:15px;margin-bottom:34px}.login-form label{margin-top:18px}.login-form .label-row{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.label-row label{margin:0 0 8px}.label-row .text-btn{font-size:13px;margin-bottom:8px}.login-form .checkbox{margin:13px 0}.btn-wide{width:100%;height:50px}.ai-info{margin-top:34px;background:var(--ai-soft);color:#7c2d12;padding:14px;border-radius:10px;display:flex;gap:10px;font-size:13px;line-height:1.5}.ai-info svg{flex:none}.back-login{display:block;margin:18px auto}.simple-form{max-width:450px;margin:12vh auto;background:#fff;border:1px solid var(--line);padding:35px;border-radius:15px}.simple-form input{margin-bottom:15px}.preview-header{display:flex;align-items:center;gap:10px;margin-bottom:24px}.preview-header h1{font-size:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0}.preview-actions{margin-left:auto}.preview-actions .btn{min-height:40px}.preview-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:22px}.tabs{display:inline-flex;gap:3px;padding:4px;border-radius:10px;background:var(--surface-muted);margin-bottom:18px}.tabs button{min-height:36px;border:0;background:transparent;border-radius:8px;padding:0 15px;color:var(--text-secondary);font-size:13px;font-weight:700}.tabs button.active{background:#fff;color:var(--text);box-shadow:0 1px 2px #0e17261e}.detail-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}.detail-panel h2{font-size:16px;margin-bottom:20px}.detail-panel h3{font-size:12px;text-transform:uppercase;letter-spacing:.05em;margin:25px 0 12px}.detail-panel dl{display:grid;grid-template-columns:1fr 1fr;gap:13px 5px;font-size:13px;margin:0}.detail-panel dt{color:var(--text-muted)}.detail-panel dd{margin:0;text-align:right;font-weight:700;overflow-wrap:anywhere}.detail-panel a{color:var(--primary)}.tags{display:flex;gap:5px;flex-wrap:wrap}.tags span{padding:5px 8px;border-radius:6px;background:var(--bg);font-size:12px}.index-status{display:flex;align-items:center;gap:6px;color:var(--success);font-size:13px}.markdown-body{background:#fff;border:1px solid var(--line);border-radius:14px;padding:45px 56px;font-size:16px;line-height:1.75;color:#1f2937;overflow-wrap:anywhere}.markdown-body h1{font-size:32px}.markdown-body h2{font-size:23px;border-bottom:1px solid var(--line);padding-bottom:8px}.markdown-body h3{font-size:18px}.markdown-body p,.markdown-body li{line-height:1.75}.markdown-body a{color:var(--primary);text-decoration:underline}.markdown-body img{max-width:100%}.markdown-body blockquote{margin:20px 0;padding:12px 18px;background:#f0f4ff;border-left:3px solid var(--primary);color:#1e3f99}.markdown-body pre,.source-block pre{background:var(--ink-900);color:#e2e8f0;border-radius:9px;padding:20px;overflow:auto;font:13px/1.7 JetBrains Mono,monospace}.markdown-body :not(pre)>code{background:var(--bg);border-radius:4px;padding:2px 4px;font:13px JetBrains Mono,monospace}.markdown-body table{min-width:0}.markdown-body th,.markdown-body td{border:1px solid var(--line);padding:8px 12px}.html-frame{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.sandbox-note{background:#f5f3ff;color:#4c1d95;padding:13px 16px;display:flex;align-items:center;gap:8px;font-size:13px}.sandbox-note span{flex:1}.sandbox-note .checkbox{white-space:nowrap;font-size:12px}.html-frame iframe{width:100%;height:70vh;border:0;background:#fff}.word-frame{background:#dde2ea;border-radius:14px;padding:20px;min-height:500px;text-align:center}.word-frame iframe{width:min(100%,794px);height:75vh;background:#fff;border:0;box-shadow:0 1px 3px #0e17263d}.page-label{font-size:12px;color:var(--text-muted);margin-top:12px}.preview-pending{background:#e8eefc;border-radius:8px;padding:10px;margin-bottom:16px;font-size:13px;color:#1e3f99}.docx-quick{max-width:794px;margin:auto;background:#fff;text-align:left;min-height:300px}.source-block{background:var(--ink-900);border-radius:10px;overflow:hidden}.source-block>div{background:var(--ink-800);display:flex;justify-content:space-between;align-items:center;padding:10px 17px;color:#fff;font:12px JetBrains Mono,monospace}.source-block button{border:0;background:transparent;color:#fff;display:flex;gap:6px;align-items:center}.source-block pre{margin:0;white-space:pre-wrap;min-height:300px}.version-list{background:#fff;border:1px solid var(--line);border-radius:12px}.version-row{display:flex;justify-content:space-between;gap:20px;padding:20px;border-bottom:1px solid var(--line)}.version-row:last-child{border:0}.version-row strong{font-size:14px}.version-row small{display:block;color:var(--text-muted);margin-top:7px}.version-row>div:last-child{display:flex;gap:15px}.active-label{font-size:11px;color:var(--primary);background:var(--primary-soft);border-radius:6px;padding:4px 6px;margin-left:8px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0e17268c;display:grid;place-items:start center;padding:7vh 16px 16px;z-index:70;overflow:auto}.upload-modal{width:min(640px,100%);background:#fff;border-radius:16px;box-shadow:0 24px 60px #0e172659;overflow:hidden}.modal-head{display:flex;justify-content:space-between;padding:22px 24px 14px;gap:15px}.modal-head h2{font-size:22px;margin:0 0 6px}.modal-head p{color:var(--text-muted);font-size:14px;margin:0}.modal-body{padding:12px 24px 24px}.dropzone{border:2px dashed #9db4f2;background:var(--primary-softer);border-radius:14px;padding:30px 20px;text-align:center;margin:20px 0}.dropzone.dragging{border-style:solid;background:var(--primary-soft)}.dropzone strong,.dropzone small{display:block}.dropzone strong{font-size:15px;margin:12px 0 6px}.dropzone small{font-size:12px;color:var(--text-muted)}.drop-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:10px;background:#fff;color:var(--primary)}.upload-queue{max-height:280px;overflow:auto;display:grid;gap:8px}.upload-item{border:1px solid var(--line);border-radius:12px;padding:11px 12px;display:flex;align-items:center;gap:10px}.upload-item.rejected{background:var(--danger-soft);border-color:#f5c2c0}.upload-item>div{flex:1;min-width:0}.upload-item strong,.upload-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-item strong{font-size:13px}.upload-item small{font-size:12px;color:var(--text-muted);margin-top:3px}.upload-item.rejected small{color:var(--danger)}.upload-item progress{height:6px;width:100%;accent-color:var(--primary)}.modal-footer{background:#fafbfc;border-top:1px solid var(--line);padding:16px 24px;display:flex;justify-content:flex-end;gap:10px}.key-reveal,.key-form{border-color:#9db4f2;box-shadow:0 0 0 4px var(--primary-soft)}.key-reveal{padding:23px;border-radius:14px;background:#fff;margin-bottom:24px}.key-reveal h2{font-size:18px;margin-bottom:6px}.key-reveal p{font-size:13px;color:var(--danger)}.key-reveal code{display:block;overflow-wrap:anywhere;background:var(--ink-900);color:#fff;padding:16px;border-radius:8px;margin:14px 0}.form-head{display:flex;justify-content:space-between;align-items:center}.form-head h2{margin:0 0 18px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:17px;margin-bottom:20px}fieldset{border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin:0 0 20px}fieldset legend{font-size:13px;font-weight:700;padding:0 5px}.form-actions{display:flex;justify-content:flex-end;gap:10px}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:34px}.integration-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0}.integration-card svg{color:var(--primary)}.integration-card h2{font-size:17px;margin:12px 0 5px}.integration-card p{font-size:13px;color:var(--text-muted)}.integration-card code{display:block;background:var(--ink-900);color:#e2e8f0;padding:12px;border-radius:8px;overflow:auto;font-size:11px}.table-empty{padding:20px;margin:0;color:var(--text-muted)}.activity-list{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 18px}.activity-list>div{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:13px}.activity-list>div:last-child{border:0}.activity-list small{margin-left:auto;color:var(--text-muted)}.activity-list>p{font-size:13px;color:var(--text-muted);margin:17px 0}.user-form h2{font-size:17px}.invite-result{padding:13px;margin-top:14px;background:var(--primary-softer);border-radius:8px;font-size:13px}.invite-result code{display:block;overflow-wrap:anywhere;margin:9px 0}@media(max-width:1023px){.sidebar{width:72px;flex-basis:72px;padding:18px 8px}.brand{padding:0 8px}.brand>span:nth-child(2),.nav-item{font-size:0}.nav-item{justify-content:center;padding:0!important}.nav-item svg{width:19px}.folder-nav-item span,.side-heading,.profile{display:none}.sidebar-footer{justify-content:center;padding:12px 0}.sidebar-footer .icon-btn{display:none}.topbar{padding:0 25px}.content{padding:28px 25px}.preview-layout{grid-template-columns:1fr}.detail-panel{max-width:none}}@media(max-width:767px){.sidebar{width:248px;position:fixed;transform:translate(-100%);transition:transform .2s;padding:20px 14px}.sidebar.open{transform:translate(0)}.sidebar.open .brand>span:nth-child(2),.sidebar.open .side-heading,.sidebar.open .profile,.sidebar.open .folder-nav-item span{display:block}.sidebar.open .nav-item{font-size:14px;justify-content:flex-start;padding:0 12px!important}.sidebar.open .sidebar-footer .icon-btn,.sidebar.open .close-drawer{display:grid!important}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0e17268c;border:0;z-index:25;display:block!important}.menu-btn{display:grid!important}.topbar{height:68px;padding:0 16px;gap:10px}.top-upload{padding:0 12px;font-size:0;min-width:44px}.top-upload svg{width:19px}.search-box kbd{display:none}.content{padding:22px 16px 45px}.page-heading{flex-direction:column}.page-heading h1{font-size:25px}.heading-actions{width:100%}.heading-actions .btn{flex:1}.folder-grid{grid-template-columns:1fr 1fr}.preview-header{flex-wrap:wrap}.preview-header h1{min-width:55%}.preview-actions{width:100%}.preview-actions .btn{flex:1;font-size:12px;padding:0 8px}.markdown-body{padding:25px 20px}.login-layout{display:block}.login-brand{padding:22px;min-height:160px}.login-brand h1{font-size:24px;margin:17px 0 8px}.login-brand p,.login-brand>small,.login-art{display:none}.login-form-wrap{padding:35px 22px}.login-form h2{font-size:26px}.integration-grid{grid-template-columns:1fr}.sandbox-note{flex-wrap:wrap}.sandbox-note .checkbox{width:100%}.upload-modal{min-height:calc(100vh - 16px)}.modal-backdrop{padding:8px}.chips{max-width:100%}.folder-card{padding:12px}.folder-card strong{font-size:13px}}@media(max-width:420px){.folder-grid{grid-template-columns:1fr}.heading-actions .btn{font-size:12px}.preview-actions .btn{min-width:48%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.auth-error{text-align:center;padding:24px}.manage-form h2{font-size:17px;margin:0 0 16px}.manage-form .form-actions{justify-content:flex-start;flex-wrap:wrap}.manage-form .form-grid>div,.detail-edit-form{display:flex;flex-direction:column;gap:8px}.detail-edit-form{margin-top:14px}.detail-edit-form input,.detail-edit-form select{width:100%;min-width:0}.detail-edit-form .btn{margin-top:8px}.detail-edit{width:100%;margin-top:14px}.front-matter{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-muted);padding:10px;border-radius:8px;font-size:12px}.markdown-body .hljs{background:#f6f8fa;border-radius:8px;overflow:auto}.version-notice{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--primary-soft);color:var(--ink-900);padding:12px 16px;border-radius:8px;margin:14px 0;font-size:13px;font-weight:700}.version-row>div:last-child{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.markdown-body pre.mermaid{background:#fff;color:var(--text);border:1px solid var(--line);text-align:center;white-space:pre;overflow:auto;font-family:inherit;font-size:14px;line-height:1.5}.markdown-body pre.mermaid svg{display:block;max-width:100%;height:auto;margin:auto}.preview-reader{min-width:0}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 10px;margin-bottom:12px;background:#fff;border:1px solid var(--line);border-radius:12px;position:sticky;top:8px;z-index:5;box-shadow:0 2px 8px #0e172608}.preview-toolbar-title{font-size:13px;font-weight:700;color:var(--text-secondary);padding-left:8px}.preview-controls{display:flex;align-items:center;gap:4px}.preview-controls .icon-btn{width:44px;height:44px}.preview-controls .icon-btn:disabled{opacity:.35;cursor:not-allowed}.zoom-value{min-width:66px;height:44px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font-size:13px;font-weight:700}.zoom-value:hover{background:var(--primary-soft)}.toolbar-divider{height:24px;border-left:1px solid var(--line-strong);margin:0 5px}.preview-scroll{min-width:0;overflow:auto}.preview-canvas{min-width:0}.preview-reader:fullscreen,.preview-reader.expanded{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;width:100vw;height:100dvh;display:flex;flex-direction:column;box-sizing:border-box;padding:14px;background:var(--bg)}.preview-reader:fullscreen .preview-toolbar,.preview-reader.expanded .preview-toolbar{position:relative;top:auto;flex:none;margin-bottom:0;border-radius:12px 12px 0 0}.preview-reader:fullscreen .preview-scroll,.preview-reader.expanded .preview-scroll{flex:1;min-height:0;overflow:auto;padding:18px 24px 28px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px}.preview-reader:fullscreen .preview-canvas,.preview-reader.expanded .preview-canvas{max-width:1200px;margin:0 auto}.preview-reader:fullscreen .word-frame iframe,.preview-reader.expanded .word-frame iframe{height:calc(100dvh - 190px)}.preview-reader:fullscreen .html-frame iframe,.preview-reader.expanded .html-frame iframe{height:calc(100dvh - 180px)}@media(max-width:600px){.preview-toolbar-title{display:none}.preview-toolbar{justify-content:flex-end}.preview-reader:fullscreen,.preview-reader.expanded{padding:6px}.preview-reader:fullscreen .preview-scroll,.preview-reader.expanded .preview-scroll{padding:8px}}.search-box input:not([type=checkbox]){border:0;background:transparent;height:100%;padding:0}.search-box input:not([type=checkbox]):focus-visible{outline:none}.skip-link{position:fixed;top:-60px;left:16px;background:var(--primary);color:#fff;padding:10px 14px;border-radius:8px;z-index:100}.skip-link:focus{top:10px}.account-form{max-width:560px}.account-form p{font-size:13px;color:var(--text-muted)}.account-form label{margin-top:16px}.account-form .btn{margin-top:20px}.account-form .form-message{color:var(--danger)}.user-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}.user-actions .text-btn{font-size:12px}
