:root{--bg: #f8fafc;--surface: #ffffff;--fg: #0f172a;--muted: #64748b;--secondary: #475569;--border: #e2e8f0;--input: #f1f5f9;--accent: #0369a1;--danger: #dc2626;--save: #16a34a;--send: #18181b;--send-fg: #fafafa}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--fg);font-size:14px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:#0369a1;font-weight:600}.app{display:flex;flex-direction:column;height:100%}.bar{flex-shrink:0;padding:10px 16px;background:linear-gradient(180deg,#fff,#f8fafc 45%,#f8fafc);border-bottom:1px solid var(--border);box-shadow:0 1px 2px #0f172a0a;display:flex;align-items:center;justify-content:space-between;gap:16px}.bar-left{display:flex;align-items:center;gap:12px;min-width:0}.logo{display:flex;align-items:center;gap:8px;font-weight:700;font-size:1.05rem;letter-spacing:-.02em}.robot{width:28px;height:28px;flex-shrink:0}.seller{height:34px;border:1px solid var(--border);border-radius:999px;background:var(--input);padding:0 28px 0 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M3 4.5 6 8l3-3.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;min-width:148px}.dataset-chip{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar-right{display:flex;align-items:center;gap:8px}.icon-btn{width:36px;height:36px;border:0;border-radius:10px;background:var(--send);color:var(--send-fg);display:grid;place-items:center}.banner{padding:8px 16px;background:#fef3c7;color:#92400e;font-size:13px}.split{display:flex;flex:1;min-height:0}aside.left{flex:0 0 34%;min-width:300px;padding:16px;display:flex;flex-direction:column;gap:10px;min-height:0}.handle{flex:0 0 14px;position:relative}.handle:before{content:"";position:absolute;left:50%;top:12px;bottom:12px;width:2px;border-radius:999px;transform:translate(-50%);background:#cbd5e1}section.right{flex:1;min-width:0;display:flex;flex-direction:column;padding:16px 16px 16px 0;gap:10px}.tabs{display:flex;flex-shrink:0;gap:4px;padding:4px;border-radius:10px;background:var(--input)}.tab{flex:1;border:0;border-radius:8px;padding:10px 12px;background:transparent;color:var(--secondary);font-weight:500}.tab[aria-selected=true]{background:#fff;color:var(--accent);box-shadow:0 1px 2px #0f172a0f}.subtabs{margin:0 0 12px}.subtabs .tab{flex:0 1 auto;padding:8px 14px}.keep-pane:not([hidden]){flex:1;min-height:0;display:flex;flex-direction:column}.keep-pane[hidden]{display:none!important}.panel{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;position:relative}.page-row{display:flex;align-items:flex-end;gap:8px}.page-field{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}.asset-picker{position:relative;display:flex;flex-direction:column;gap:6px}.asset-trigger{display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.asset-caret{width:10px;height:10px;flex-shrink:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M3 4.5 6 8l3-3.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}.asset-menu{position:absolute;z-index:30;top:calc(100% + 4px);left:0;right:0;display:flex;flex-direction:column;gap:8px;max-height:320px;overflow:auto;padding:10px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 28px #0f172a24}.asset-group-label{padding:6px 12px 2px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.page-label{font-size:.8125rem;color:var(--muted)}.page-input{height:40px;border:1px solid var(--border);border-radius:10px;background:#fff;padding:0 12px;width:100%}.page-icon{width:40px;height:40px;flex-shrink:0;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--accent);display:grid;place-items:center;font-size:1.35rem;font-weight:600;line-height:1}.page-icon:hover:not(:disabled){background:#e0f2fe}.page-icon:disabled{opacity:.35;cursor:default}.page-icon-danger{color:var(--danger)}.page-icon-danger:hover:not(:disabled){background:#fee2e2}.create-desc{min-height:72px;resize:vertical}.create-kind{display:flex;gap:4px;padding:4px;border-radius:10px;background:var(--input)}.create-kind .tab{flex:1}.name-ext{display:flex;align-items:center;gap:8px}.name-ext .page-input{flex:1;min-width:0}.name-ext-suffix{flex-shrink:0;color:var(--muted);font-weight:600;font-size:13px}.page-field .muted code{font-size:12px}.trash{width:40px;height:40px;flex-shrink:0;border:0;background:transparent;color:var(--danger)}.trash:disabled{opacity:.35;cursor:default}.schema-in:read-only{background:#f8fafc;color:var(--secondary)}.results{flex:1;min-height:0;border:1px solid var(--border);border-radius:14px;background:#fff;overflow:auto;padding-bottom:280px}.conversation-warn{margin:12px 14px 0;padding:10px 12px;border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:10px;font-size:13px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.results-empty{height:100%;display:grid;place-items:center;color:var(--muted);text-align:center;padding:24px}.composer-dock{position:absolute;left:0;right:0;bottom:0;z-index:16;pointer-events:none}.composer-dock>.composer{pointer-events:auto}.composer{display:flex;flex-direction:column;gap:6px;border:1px solid rgba(226,232,240,.95);border-radius:24px;background:#fffffff0;box-shadow:0 12px 40px #0f172a1f,0 1px #fffc inset;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:10px 12px 8px}.composer-input{width:100%;min-height:40px;max-height:176px;border:0;resize:none;background:transparent;color:var(--fg);line-height:1.45;padding:8px 4px;outline:none}.composer-input::placeholder{color:var(--muted)}.composer-input:disabled{opacity:.7}.composer-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px}.composer-tools{display:flex;align-items:center;gap:2px;min-width:0}.composer-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.composer-tool{width:34px;height:34px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);display:grid;place-items:center}.composer-tool:hover:not(:disabled){color:var(--fg);background:#0f172a0f}.composer-tool:disabled{opacity:.45;cursor:default}.send{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;border:1px solid var(--send);border-radius:999px;padding:6px 16px;background:var(--send);color:var(--send-fg);font-weight:600;font-size:.875rem;line-height:1}.send:hover:not(:disabled){filter:brightness(1.12)}.send:disabled:not(.send-thinking){opacity:.38;cursor:default;filter:none}.send-thinking,.send-thinking:disabled{opacity:1;cursor:default;filter:none}.thinking-dots{display:block;flex-shrink:0}.thinking-dot{fill:currentColor;transform-origin:center;animation:thinking-dot-pulse 1.15s ease-in-out infinite}@keyframes thinking-dot-pulse{0%,to{fill-opacity:.22}50%{fill-opacity:1}}.file-list{flex:1;min-height:0;position:relative;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:auto}.file-item{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 14px;border:0;border-bottom:1px solid #f1f5f9;background:transparent;text-align:left}.file-item[aria-selected=true]{background:#e0f2fe}.file-item small{color:var(--muted);font-size:.75rem}.side-actions{display:flex;gap:8px;padding:10px 12px 12px}.side-actions .page-input{flex:1;min-width:0}.btn-soft{flex:1;height:40px;border:1px solid var(--border);border-radius:10px;background:#fff}.btn-soft.compact{flex:none;height:28px;padding:0 10px}.btn-accent{height:36px;border:0;border-radius:10px;padding:0 14px;background:#0284c7;color:#fff;font-weight:600}.btn-accent:disabled{background:#e4e4e7;color:#a1a1aa;cursor:default}.btn-accent.compact{height:28px;padding:0 10px;background:var(--accent)}.btn-save{height:36px;border:0;border-radius:10px;padding:0 14px;background:var(--save);color:#fff;font-weight:600}.btn-save:disabled{background:#e4e4e7;color:#a1a1aa;cursor:default}.btn-danger{height:36px;border:0;border-radius:10px;padding:0 14px;background:var(--danger);color:#fff;font-weight:600}.btn-danger:disabled{background:#fecaca;color:#fff;cursor:default}.btn-danger.block{width:100%;margin-top:10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a73}.modal{position:relative;width:100%;max-width:420px;display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:16px;padding:20px;box-shadow:0 16px 40px #0f172a2e}.modal h2{margin:0;font-size:1.1rem}.modal-head{display:flex;align-items:center;gap:10px;padding-right:28px}.modal-mark{flex-shrink:0;display:block}.modal-close{position:absolute;top:12px;right:12px;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--muted);display:grid;place-items:center}.modal-close:hover:not(:disabled){background:#f1f5f9;color:var(--fg)}.modal-close:disabled{opacity:.4;cursor:default}.modal-actions{display:flex;gap:8px}.modal-actions .btn-ghost,.modal-actions .btn-danger{flex:1}.modal-actions .btn-accent.block{width:100%}.hook-test-modal{max-width:560px}.hook-test-logs{margin:0;max-height:240px;overflow:auto;padding:10px 12px;border-radius:10px;background:#0f172a;color:#e2e8f0;font-size:12px;line-height:1.45;white-space:pre-wrap;word-break:break-word}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid #f1f5f9;font-size:13px;white-space:nowrap}th{color:var(--muted);font-weight:600;background:#f8fafc;position:sticky;top:0}.schema-in,.type-in{width:100%;height:32px;border:1px solid var(--border);border-radius:8px;padding:0 8px;background:#fff}.type-in.inline{width:auto;display:inline-block;margin-left:8px}.sql-box{width:100%;min-height:160px;border:1px solid var(--border);border-radius:10px;padding:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px}.preview-frame.work .sql-box{border-color:#1e293b;background:#1e1e1e;color:#e2e8f0}.query-sql{height:40vh;min-height:160px;flex-shrink:0;border:1px solid #1e293b;border-radius:10px;overflow:visible;background:#1e1e1e}.preview-frame.work .query-sql-fill{flex:1 1 0%;height:auto;min-height:240px;align-self:stretch}.sql-results{margin-top:20px;background:transparent}.sql-results table,.sql-results td{background:transparent}.sql-results th{background:var(--accent);color:#fff;border-bottom-color:#075985;z-index:1}.sql-results th:first-child{border-top-left-radius:8px}.sql-results th:last-child{border-top-right-radius:8px}.query-idle{flex:1 1 0%;align-self:stretch;width:100%;min-height:180px;margin-top:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px 8px;border:1px dashed #bae6fd;border-radius:12px;background:#f8fbff}.qi-play{animation:al-bob 2.2s ease-in-out infinite}.sql-editor{height:100%;min-height:inherit}.sql-editor-loading{height:100%;display:grid;place-items:center;color:#94a3b8;background:#1e1e1e;font-size:13px}.work-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.work-title{font-weight:700}.muted{color:var(--muted);font-size:12px}.pager{display:flex;justify-content:space-between;align-items:center;margin-top:12px;color:var(--muted);font-size:12px;gap:8px}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.preview-actions{display:flex;align-items:center;gap:8px}.preview-actions .btn-accent.compact{height:36px;padding:0 14px;border-radius:10px}.preview-actions .icon-btn:disabled{opacity:.45;cursor:default}.preview-actions .icon-btn.is-locked{background:#0f766e;color:#fff}.hook-auth-modal{max-width:460px}.publish-note{font-size:12px;color:var(--muted)}.results-body{padding:14px;display:flex;flex-direction:column;gap:10px}.chat-thread{gap:16px}.reply-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}.reply-suggestion{max-width:100%;height:auto;min-height:32px;padding:6px 12px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--ink, #0f172a);font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer}.reply-suggestion:hover:not(:disabled){background:#e0f2fe;border-color:#7dd3fc}.reply-suggestion:disabled{opacity:.5;cursor:default}.chat-thread-end{height:1px;flex-shrink:0}.chat-turn{display:flex;flex-direction:column;gap:8px}.chat-turn-active{outline:1px solid rgba(14,165,233,.28);outline-offset:4px;border-radius:10px}.chat-turn-user{padding:10px 12px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px}.chat-turn-agent{padding:2px 2px 0}.chat-turn-role{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}.chat-turn-prompt{margin:0;white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:14px;line-height:1.45;color:var(--ink, #0f172a)}.chat-turn-pending{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);padding:4px 0 2px}.table-proposal-card{border:1px solid #bae6fd;background:#f0f9ff;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px}.table-proposal-title{font-weight:700;font-size:14px;color:#0f172a}.table-proposal-copy{margin:0;font-size:12px;color:var(--muted);line-height:1.4}.table-proposal-scroll{max-height:240px;overflow:auto;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.table-proposal-grid{width:100%;border-collapse:collapse;font-size:13px}.table-proposal-grid th,.table-proposal-grid td{text-align:left;padding:6px 10px;border-bottom:1px solid #f1f5f9}.table-proposal-grid th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:#f8fafc;position:sticky;top:0}.table-proposal-guess{color:#0369a1;font-size:11px;font-weight:600}.table-proposal-actions{display:flex;gap:8px;flex-wrap:wrap}.intent-note{font-weight:600;color:var(--accent)}.results-msg{color:var(--secondary);line-height:1.55}.results-msg-body{display:contents}.results-msg.is-typing .typewriter-caret{display:inline-block;width:.55ch;height:1.05em;margin-left:1px;background:var(--ink, #0f172a);vertical-align:-.15em;animation:typewriter-caret 1s steps(1) infinite}@keyframes typewriter-caret{50%{opacity:0}}.results-msg>:first-child{margin-top:0}.results-msg>:last-child{margin-bottom:0}.results-msg p{margin:0 0 .75em}.results-msg ul,.results-msg ol{margin:.35em 0 .85em;padding-left:1.3em}.results-msg li{margin:.2em 0}.results-msg strong{color:var(--ink, #0f172a);font-weight:650}.results-msg code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;background:#f1f5f9;border-radius:4px;padding:.1em .35em}.results-msg pre{margin:.5em 0 .85em;background:#f1f5f9;border-radius:8px;padding:10px 12px;overflow:auto}.results-msg pre code{background:none;padding:0}.results-msg h1,.results-msg h2,.results-msg h3,.results-msg h4{color:var(--ink, #0f172a);margin:.85em 0 .35em;line-height:1.3;font-size:14px}.results-msg a{color:#0369a1}.reqError{color:var(--danger);font-size:13px}.req-undo{align-self:flex-start}.prompt-hint{font-size:12px;color:var(--muted);padding:0 4px 6px}.mention-menu{position:fixed;z-index:40;min-width:240px;max-width:360px;max-height:220px;overflow:auto;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 28px #0f172a24}.mention-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;background:transparent;padding:8px 12px}.mention-item[aria-selected=true],.mention-item:hover{background:#e0f2fe}.mention-hint{color:var(--muted);font-size:11px;flex-shrink:0}.mention-empty{padding:10px 12px;color:var(--muted);font-size:12px}.preview-html{padding:0;background:#fff;display:flex;flex-direction:column}.preview-iframe{flex:1;width:100%;border:0;background:#fff}.preview-error{padding:10px 14px;color:#92400e;background:#fef3c7;font-size:13px}.preview-tabs{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--input);align-self:flex-start}.preview-tabs .tab{flex:none}.preview-frame{flex:1;min-height:0;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#0b1220;color:#cbd5e1;padding:20px}.preview-frame.work{position:relative;display:flex;flex-direction:column;background:#fff;color:var(--fg);overflow:auto;padding:16px}.kpi{background:#152033;border:1px solid #1e293b;border-radius:10px;padding:14px;margin-bottom:10px}.kpi strong{display:block;color:#fff;font-size:20px;margin-top:4px}.badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600}.b-inv{background:#dcfce7;color:#166534}.b-pick{background:#e0f2fe;color:#0369a1}.b-draft{background:#f1f5f9;color:#475569}.b-del{background:#ffedd5;color:#9a3412}.drop{border:1.5px dashed #cbd5e1;border-radius:14px;padding:48px 20px;text-align:center;color:var(--muted);background:#f8fafc}.drop strong{display:block;color:var(--fg);margin-bottom:6px}.authShell{min-height:100%;display:flex;align-items:center;justify-content:center;padding:24px}.authCard{width:100%;max-width:420px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:0 10px 25px #0f172a14}.authHeader{text-align:center;margin-bottom:16px}.authHeader .logo{justify-content:center;margin-bottom:12px}.authCard h1{margin:0;font-size:1.25rem}.sub{margin:8px 0 0;color:var(--muted);line-height:1.4}.authForm{display:flex;flex-direction:column;gap:10px}.authForm label{font-size:.875rem;font-weight:600;display:flex;flex-direction:column;gap:6px}.authForm input{width:100%;height:40px;border:1px solid var(--border);border-radius:10px;padding:0 12px;background:#fff;font-weight:400}.btn{height:40px;border:0;border-radius:10px;background:#0284c7;color:#fff;font-weight:600}.btn:disabled{opacity:.6}.btn-ghost{width:100%;height:40px;border:1px solid var(--border);border-radius:10px;background:#fff}.or{text-align:center;color:var(--muted);font-size:12px;margin:8px 0}.foot{text-align:center;color:var(--muted);margin:14px 0 0}.error{color:var(--danger);font-size:13px;margin:0}.sql-error{padding:0 2px 8px}.error-block{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.fix-it{flex:none;height:28px;padding:0 10px;border-color:#fecaca;color:var(--danger);font-weight:600}.fix-it:disabled{opacity:.45;cursor:default}.art-load{flex:1 1 0%;align-self:stretch;width:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px 8px}.art-load.compact{padding:12px}.art-load.fill{position:absolute;top:0;right:0;bottom:0;left:0;flex:none;min-height:0}.art-svg{width:min(220px,86%);height:auto;display:block;overflow:visible}.art-load-copy{text-align:center}.art-load-copy strong{display:block;font-size:14px;letter-spacing:-.02em}.art-load-copy span{display:block;margin-top:4px;color:var(--muted);font-size:12px}.al-stack{transform-box:fill-box;transform-origin:50% 80%;animation:al-rise 2.4s ease-in-out infinite}.al-stack.s2{animation-delay:.18s}.al-stack.s3{animation-delay:.36s}.al-bot{animation:al-bob 2.2s ease-in-out infinite}.al-drift{animation:al-float 3.6s ease-in-out infinite}.al-drift.d2{animation-delay:1.2s}.al-col{transform-box:fill-box;transform-origin:50% 100%;animation:al-grow 1.8s ease-in-out infinite}.al-col.c2{animation-delay:.2s}.al-col.c3{animation-delay:.4s}.al-orbit{animation:al-spin 2.8s linear infinite;transform-origin:110px 74px}.al-row{opacity:.2;animation:al-scan 1.8s ease-in-out infinite}.al-row.r1{animation-delay:.12s}.al-row.r2{animation-delay:.24s}.al-row.r3{animation-delay:.36s}.al-row.r4{animation-delay:.48s}.al-code{opacity:.55;animation:al-type 2.4s ease-in-out infinite}.al-code.t2{animation-delay:.25s}.al-code.t3{animation-delay:.5s}.al-caret{animation:al-blink .9s steps(2,end) infinite}.al-spark{animation:al-twinkle 1.6s ease-in-out infinite}.al-spark.d2{animation-delay:.5s}.al-sheet{animation:al-drop 1.8s ease-in-out infinite;transform-box:fill-box;transform-origin:50% 0}@keyframes al-rise{0%,to{transform:translateY(8px);opacity:.55}45%{transform:translateY(-4px);opacity:1}}@keyframes al-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes al-float{0%,to{transform:translate(0)}50%{transform:translate(6px,-8px)}}@keyframes al-grow{0%,to{transform:scaleY(.62);opacity:.7}50%{transform:scaleY(1);opacity:1}}@keyframes al-spin{0%{transform:rotate(0) translate(42px) rotate(0)}to{transform:rotate(360deg) translate(42px) rotate(-360deg)}}@keyframes al-scan{0%,to{opacity:.18}35%{opacity:1}}@keyframes al-type{0%,to{opacity:.45}40%{opacity:1}}@keyframes al-blink{0%,49%{opacity:1}50%,to{opacity:0}}@keyframes al-twinkle{0%,to{opacity:.2;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}@keyframes al-drop{0%{transform:translateY(-10px) rotate(-6deg);opacity:.4}55%{transform:translateY(18px) rotate(3deg);opacity:1}to{transform:translateY(-10px) rotate(-6deg);opacity:.4}}.linkish{background:none;border:0;color:#0369a1;font-weight:600;padding:0;cursor:pointer}.api-access{margin:0 0 10px}.api-access-body{margin-top:8px;padding:10px 12px;border:1px solid #e4e4e7;border-radius:10px;background:#f8fafc;display:flex;flex-direction:column;gap:8px}.api-access-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.api-url{flex:1 1 240px;font-size:12px;word-break:break-all;background:#fff;border:1px solid #e4e4e7;border-radius:8px;padding:6px 8px}.api-secret{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px}.api-secret code{background:#fff;border:1px solid #e4e4e7;border-radius:8px;padding:6px 8px;word-break:break-all}.api-key-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.api-key-list li{display:flex;align-items:center;gap:10px;font-size:13px}.upload-history,.upload-api{display:flex;flex-direction:column;gap:14px}.history-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.history-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.history-logs{margin:0;padding:10px 12px;background:#0f172a;color:#e2e8f0;border-radius:8px;font-size:12px;white-space:pre-wrap;word-break:break-all;overflow:auto;max-height:280px}.preview-frame.work .upload-api{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:14px;flex-shrink:0}.api-endpoint{display:flex;align-items:center;gap:10px;width:100%;padding:8px 8px 8px 10px;border:1px solid var(--border);border-radius:12px;background:#fff}.method-badge{flex-shrink:0;font-size:11px;font-weight:700;letter-spacing:.06em;color:#166534;background:#dcfce7;border-radius:999px;padding:5px 9px;line-height:1}.api-endpoint-url{flex:1 1 auto;min-width:0;font-size:12px;word-break:break-all;color:var(--fg)}.api-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;width:100%}.api-meta>div{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#f8fafc}.api-meta dt{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.api-meta dd{margin:0;font-size:13px}.api-notes{margin:0;padding-left:18px;color:var(--muted);font-size:13px;display:flex;flex-direction:column;gap:4px}.curl-panel{display:flex;flex-direction:column;width:100%;flex-shrink:0;border:1px solid #1e293b;border-radius:12px;overflow:hidden;background:#1e1e1e}.curl-panel-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 8px 14px;background:#111827;color:#94a3b8;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.curl-copy{height:28px;border:1px solid #334155;border-radius:8px;padding:0 10px;background:#0f172a;color:#e2e8f0;font-size:12px;font-weight:600}.curl-copy:hover{border-color:#64748b}.curl-editor{height:200px;min-height:200px;flex-shrink:0}.curl-editor .sql-editor{height:200px;min-height:200px}.api-keys-card{border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}.api-keys-head{padding:10px 12px 0;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.api-keys-card .api-access-body{margin:0;border:0;background:transparent}.monaco-editor .suggest-widget *,.monaco-editor .monaco-hover *{box-sizing:content-box}
