:root{color:#171717;background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;letter-spacing:0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:block;background:#fff}.sidebar{position:sticky;top:0;z-index:10;min-height:64px;border-bottom:1px solid #e8e8e8;background:#fffffff5;color:#222;padding:10px 32px;display:flex;align-items:center;gap:8px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:10px;padding:0 14px 0 0;margin-right:8px}.brand-mark{width:34px;height:34px;display:grid;place-items:center;background:#f2f2f2;color:#111;border-radius:8px}.brand strong,.account strong{display:block}.brand span,.account span,.topbar p{color:#707070;font-size:13px}.nav-item{height:40px;border:0;border-radius:10px;padding:0 14px;display:flex;align-items:center;gap:8px;color:#5f5f5f;background:transparent;text-align:left;white-space:nowrap;font-weight:650}.nav-item.active,.nav-item:hover{background:#f2f2f2;color:#111;box-shadow:inset 0 0 0 1px #ededed}.account{margin-left:auto;margin-top:0;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:0 0 0 12px;border-top:0;border-left:1px solid #ededed}.icon-button{width:32px;height:32px;border:0;border-radius:8px;display:grid;place-items:center;background:#f2f2f2;color:#222}.content{padding:22px 38px 34px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}h1,h2,p{margin-top:0}h1{margin-bottom:4px;font-size:22px}h2{font-size:18px}.auth-panel,.panel{background:#fff;border:1px solid #e7e7e7;border-radius:8px;box-shadow:none}.auth-panel{max-width:520px;margin:8vh auto;padding:28px}.workspace{display:grid;grid-template-columns:minmax(360px,460px) minmax(0,1fr);gap:24px;align-items:start}.studio-workspace{min-height:calc(100vh - 136px)}.panel{padding:16px}.controls,.form-grid{display:grid;gap:16px}.studio-workspace .controls{position:sticky;top:86px;max-height:calc(100vh - 108px);overflow:auto}label{display:grid;gap:7px;color:#666;font-size:13px;font-weight:650}input,select,textarea{width:100%;border:1px solid #e5e5e5;border-radius:8px;padding:11px 12px;color:#171717;background:#fff}input:focus,select:focus,textarea:focus{border-color:#b8b8b8;outline:3px solid #f2f2f2}.password-field{position:relative;display:block}.password-field input{padding-right:44px}.password-toggle{position:absolute;top:50%;right:6px;width:32px;height:32px;border:0;border-radius:6px;display:grid;place-items:center;color:#5f7280;background:transparent}.password-toggle:hover{color:#172026;background:#edf3f6}textarea{resize:vertical;min-height:190px;line-height:1.55}.compact-textarea{min-height:82px}.limit-line{color:#777;font-size:12px}.upload-row input{padding:9px}.upload-row input::file-selector-button{height:30px;margin-right:10px;border:1px solid #e4e4e4;border-radius:8px;padding:0 12px;color:#222;background:#fff;font-weight:650}.reference-list{display:grid;gap:10px;padding:12px;border:1px solid #ededed;border-radius:8px;background:#fff;color:#4f4f4f;font-size:13px}.reference-list-heading,.reference-item{display:flex;justify-content:space-between;align-items:center;gap:10px}.reference-item{min-height:34px;padding:9px 10px;border:1px dashed #e6e6e6;border-radius:8px;background:#fbfbfb}.reference-actions{display:flex;gap:8px;align-items:center}.small-button{height:32px;padding:0 10px}.inline-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.request-size-line{margin-top:-4px;color:#647681;font-size:12px}.primary-button,.ghost-button,.danger-button{height:40px;border-radius:8px;border:0;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.primary-button{background:#171717;color:#fff;font-weight:750}.ghost-button{border:1px solid #e9e9e9;background:#fff;color:#222}.danger-button{background:#ffe8e6;color:#b42318}button:disabled,.ghost-button:disabled,.small-button:disabled{cursor:not-allowed;opacity:.52}.pagination-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 2px 0;color:#647681;font-size:13px}.pagination-bar>div{display:flex;align-items:center;gap:8px}.page-number{color:#23343f;white-space:nowrap}.segmented{display:grid;grid-template-columns:1fr 1fr;background:#f4f4f4;padding:4px;border-radius:12px}.segmented button{height:34px;border:0;border-radius:6px;background:transparent}.segmented button.active{background:#fff;color:#111;box-shadow:0 1px 6px #0000001f}.model-hint{display:grid;gap:4px;padding:10px 12px;background:#fafafa;border:1px solid #ededed;border-radius:8px}.model-hint span,.task-line span{color:#707070;font-size:13px}.model-hint strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.required-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;background:#fff1f1;color:#c72222!important;border:1px solid #ffd1d1;font-size:12px!important;font-weight:700}.model-hint .danger-hint{color:#c72222}.result-panel{min-height:calc(100vh - 154px)}.empty-result{min-height:min(650px,calc(100vh - 188px));display:grid;place-items:center;align-content:center;gap:10px;color:#777;border:1px solid #ededed;border-radius:8px;background:#fafafa}.video-studio .empty-result{color:#fff;border-color:#000;background:#000}.video-studio .compact-empty{min-height:min(520px,calc(100vh - 260px))}.compact-empty{min-height:180px}.task-line{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px;align-items:center;color:#171717}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.panel-heading p{margin-bottom:0;color:#707070;font-size:13px}.profile-layout{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:18px;align-items:start}.profile-card,.profile-form{border:1px solid #dbe3e8;border-radius:8px;padding:16px;background:#fbfcfd}.profile-card{display:grid;gap:14px}.profile-card strong,.profile-card span{display:block}.profile-card span,.profile-meta span{color:#647681;font-size:13px}.profile-meta{padding-top:12px;border-top:1px solid #e4ebef}.profile-form{display:grid;gap:14px}.section-title{display:flex;align-items:center;gap:8px}.section-title h3{margin:0;font-size:15px}.retention-warning{margin:-6px 0 14px;color:#b42318;font-size:13px;line-height:1.5}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.image-card{border:1px solid #e7e7e7;border-radius:8px;overflow:hidden;background:#fff}.image-preview-button{width:100%;border:0;padding:0;display:block;background:transparent}.image-card img,.image-preview-button img{width:100%;aspect-ratio:1;display:block;object-fit:cover;background:#f2f2f2}.image-card a{height:38px;padding:0 10px;display:flex;align-items:center;gap:8px;color:#171717;text-decoration:none}.video-result-list{display:grid;gap:14px}.video-card{border:1px solid #e7e7e7;border-radius:8px;overflow:hidden;background:#fff}.video-card video{width:100%;max-height:72vh;display:block;background:#0d171f}.video-card a{height:42px;padding:0 12px;display:flex;align-items:center;gap:8px;color:#171717;text-decoration:none}.preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;padding:28px;display:grid;place-items:center;background:#0a141cc7}.preview-panel{position:relative;max-width:min(96vw,1180px);max-height:92vh;display:grid;place-items:center}.preview-panel img,.preview-panel video{max-width:100%;max-height:92vh;display:block;object-fit:contain;border-radius:8px;background:#0d171f;box-shadow:0 24px 90px #0000006b}.preview-panel video{width:min(96vw,1080px);background:#05080b}.audio-preview{width:min(92vw,560px);padding:22px;display:grid;gap:16px;border-radius:8px;color:#fff;background:#10232f;box-shadow:0 24px 90px #0000006b}.audio-preview audio{width:100%}.preview-close{position:absolute;top:-14px;right:-14px;width:38px;height:38px;border:0;border-radius:999px;display:grid;place-items:center;color:#fff;background:#172026;box-shadow:0 8px 24px #0000003d}.toolbar{display:grid;grid-template-columns:minmax(220px,360px) auto;gap:12px;align-items:end;margin-bottom:16px}table{width:100%;border-collapse:collapse}.table-wrap{width:100%;overflow-x:auto}th,td{padding:11px 10px;border-bottom:1px solid #e4ebef;text-align:left;vertical-align:middle}th{color:#657782;font-size:12px;font-weight:600}.mono-cell{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;white-space:nowrap}.muted-cell{color:#647681;white-space:nowrap}.prompt-cell{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amount-cell{font-weight:700;white-space:nowrap}.amount-cell.positive{color:#047857}.amount-cell.negative{color:#b42318}.status-pill{min-height:24px;padding:3px 8px;display:inline-flex;align-items:center;border-radius:999px;color:#5f7280;background:#edf2f5;font-size:12px;white-space:nowrap}.status-pill.succeeded{color:#047857;background:#dff6ec}.status-pill.failed{color:#b42318;background:#ffe8e6}.status-pill.timeout{color:#7c2d12;background:#ffedd5}.status-pill.running,.status-pill.pending{color:#8a5a00;background:#fff2cf}.empty-state{min-height:240px;display:grid;place-items:center;align-content:center;gap:10px;color:#7b8b96;border:1px dashed #cbd6dd;border-radius:8px}.task-detail{margin-top:18px;padding-top:16px;border-top:1px solid #e4ebef}.standalone-detail{margin-top:0;padding-top:0;border-top:0}.prompt-detail{color:#52636f}.secret-line,.error{padding:11px 12px;border-radius:8px;margin-bottom:14px}.secret-line{color:#064e3b;background:#dff6ec;word-break:break-all}.error{color:#b42318;background:#ffe8e6}pre{margin:0;padding:16px;overflow:auto;color:#dce8ea;background:#10232f;border-radius:8px}.docs-page{display:grid;gap:18px;min-width:0}.docs-hero,.doc-section,.docs-toc{border:1px solid #e7e7e7;border-radius:8px;background:#fff}.docs-hero{padding:22px;display:flex;justify-content:space-between;align-items:flex-start;gap:18px;min-width:0}.docs-hero h2,.doc-section h3{margin:0 0 8px}.docs-hero p,.doc-section p{margin-bottom:0;color:#666;line-height:1.65}.docs-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start;min-width:0}.docs-toc{position:sticky;top:86px;padding:10px;display:grid;gap:4px}.docs-toc a{min-height:36px;padding:0 10px;border-radius:8px;display:flex;align-items:center;color:#555;text-decoration:none;font-weight:650}.docs-toc a:hover{color:#111;background:#f4f4f4}.docs-content{display:grid;gap:16px;min-width:0}.doc-section{padding:20px;scroll-margin-top:92px;min-width:0}.doc-section pre{margin-top:14px;background:#101010;max-width:100%}.doc-section code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.endpoint-stack{display:grid;gap:8px;margin-top:14px}.endpoint-line{margin-top:14px;min-height:38px;padding:8px 10px;border:1px solid #ededed;border-radius:8px;display:inline-flex;align-items:center;gap:10px;background:#fafafa}.endpoint-stack .endpoint-line{margin-top:0}.endpoint-line span{min-width:48px;padding:4px 8px;border-radius:7px;color:#fff;background:#171717;font-size:12px;font-weight:800;text-align:center}.endpoint-line code{color:#222;font-size:13px}.param-table{margin-top:14px;border:1px solid #ededed;border-radius:8px;overflow:hidden}.param-table div{min-height:42px;padding:10px 12px;display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:12px;border-bottom:1px solid #ededed}.param-table div:last-child{border-bottom:0}.param-table strong{color:#171717;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}.param-table span{color:#666;line-height:1.5}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:900px){.sidebar{padding:10px 14px;overflow-x:auto}.brand span{display:none}.account{min-width:170px}.workspace,.profile-layout,.docs-layout{grid-template-columns:1fr}.docs-toc{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.docs-hero{display:grid}.docs-hero .ghost-button{justify-self:start}.param-table div{grid-template-columns:1fr;gap:4px}.studio-workspace .controls{position:static;max-height:none}.inline-grid,.toolbar,.topbar,.panel-heading{grid-template-columns:1fr;display:grid}.topbar .ghost-button{justify-self:start;width:auto}.content{padding:18px 14px 28px}}
