html,body,#root{min-height:100%;margin:0}body{background:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}*{box-sizing:border-box}.app-sider.ant-layout-sider{background:#f5f7fa;border-inline-end:1px solid #dbe3ed}.app-sider .ant-layout-sider-children{overflow:hidden}.app-sider-brand{color:#24354b;white-space:nowrap;background:#fff;border-bottom:1px solid #dbe3ed;align-items:center;gap:10px;height:64px;padding:0 18px;font-size:14px;font-weight:600;display:flex}.app-sider-brand-icon{color:#1677ff;background:#f5f7fa;border:1px solid #dbe3ed;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;display:inline-flex}.app-sider-nav{padding:18px 8px}.app-sider-section{color:#64758b;white-space:nowrap;margin:0 14px 10px;font-size:12px}.app-sider .app-sider-menu.ant-menu-root{color:#465971;background:0 0;border-inline-end:0;font-size:13px}.app-sider-menu.ant-menu .ant-menu-item{color:#465971;border-radius:2px;width:100%;height:36px;margin:4px 0;line-height:36px}.app-sider-menu.ant-menu .ant-menu-item:not(.ant-menu-item-selected):hover{color:#24354b;background:#edf1f7}.app-sider-menu.ant-menu .ant-menu-item-selected{color:#1677ff;background:#e8f2ff;font-weight:500}.app-sider-menu .ant-menu-item-selected:before{content:"";background:#1677ff;width:2px;position:absolute;inset-block:8px;inset-inline-start:0}.app-sider-menu .ant-menu-item:focus-visible{outline-offset:-2px;outline:2px solid #1677ff}.app-sider.ant-layout-sider .ant-layout-sider-zero-width-trigger{color:#465971;background:#f5f7fa;border:1px solid #dbe3ed}.login-page{background:radial-gradient(circle at 0 0,#e6f4ff 0,#f5f5f5 45%,#f0f0f0 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{width:100%;max-width:400px;box-shadow:0 12px 32px #00000014}.page-card{background:#fff;border-radius:8px;padding:24px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.detail-json{white-space:pre-wrap;word-break:break-all;margin:0;font-size:12px}.wb-shell{background:#fff;border:1px solid #e5eaf1;border-radius:8px;flex-direction:column;height:calc(100vh - 112px);min-height:560px;display:flex;overflow:hidden}.wb-topbar{background:#fff;border-bottom:1px solid #e8edf5;justify-content:space-between;align-items:center;gap:16px;height:52px;padding:0 16px;display:flex}.wb-topbar-left{align-items:center;gap:8px;min-width:0;display:flex}.wb-db-name{color:#24354b;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600;overflow:hidden}.wb-topbar-right{color:#5c6f86;flex-shrink:0;font-size:12px}.wb-body{flex:1;min-height:0;display:flex}.wb-sidebar{background:#f7f9fc;border-right:1px solid #e8edf5;width:278px;min-height:0;display:flex}.wb-main{flex-direction:column;flex:1;min-width:0;min-height:0;padding:12px 16px 8px;display:flex}.wb-tabs{flex-direction:column;flex:1;min-height:0;display:flex}.wb-tabs .ant-tabs-content-holder{flex:1;min-height:0;overflow:auto}.wb-tabs .ant-tabs-content{height:100%}.wb-page-loading{justify-content:center;padding:80px;display:flex}.wb-designer-loading{flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:60px 0;display:flex}.wb-muted{color:#9aa8ba}.wb-tree{flex-direction:column;flex:1;gap:8px;min-height:0;padding:12px;display:flex}.wb-tree-head{justify-content:space-between;align-items:center;display:flex}.wb-tree-title{color:#33455c;font-size:13px;font-weight:600}.wb-tree-body{flex:1;min-height:0;margin-top:2px;overflow:auto}.wb-tree-table{margin-bottom:2px}.wb-tree-row{border-radius:4px;align-items:center;gap:2px;padding:1px 2px;display:flex}.wb-tree-row:hover{background:#eef3fb}.wb-tree-row.is-selected{background:#e6f0ff}.wb-tree-toggle{color:#7a8ba3;cursor:pointer;background:0 0;border:0;width:20px;padding:0;font-size:10px}.wb-tree-table-name{color:#24354b;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:6px;min-width:0;padding:3px 0;font-size:13px;display:flex}.wb-tree-table-name span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.wb-tree-design{opacity:0;padding:0 4px}.wb-tree-row:hover .wb-tree-design,.wb-tree-row.is-selected .wb-tree-design{opacity:1}.wb-tree-branches{border-left:1px dashed #d9e2ee;margin:2px 0 6px 9px;padding-left:9px}.wb-tree-group-title{color:#7a8ba3;margin:6px 0 2px;font-size:11px}.wb-tree-leaf{border-radius:3px;align-items:center;gap:5px;padding:2px 4px;font-size:12px;display:flex}.wb-tree-leaf:hover{background:#edf3fb}.wb-tree-leaf.is-column{cursor:pointer}.wb-tree-leaf-icon{color:#8a99ad;flex-shrink:0;font-size:11px}.wb-tree-leaf-icon.is-key{color:#d48806}.wb-tree-leaf-dot{background:#b8c4d4;border-radius:50%;flex-shrink:0;width:4px;height:4px;margin:0 3px;display:inline-block}.wb-tree-leaf-name{color:#33455c;text-overflow:ellipsis;white-space:nowrap;max-width:104px;overflow:hidden}.wb-tree-leaf-meta{color:#8a99ad;white-space:nowrap;margin-left:auto;font-size:11px}.wb-tree-leaf .ant-tag{margin:0;padding:0 4px;font-size:10px;line-height:16px}.wb-tree-empty{color:#9aa8ba;padding:2px 4px;font-size:11px}.wb-tree-loading{text-align:center;padding:24px}.wb-console{flex-direction:column;gap:8px;min-height:100%;display:flex}.wb-console-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.wb-shortcut{opacity:.8;margin-left:6px;font-size:11px}.wb-editor{border:1px solid #d9e2ee;border-radius:6px;overflow:hidden}.wb-editor .cm-editor{font-size:13px}.wb-editor-foot{color:#8a99ad;justify-content:space-between;padding:0 2px;font-size:11px;display:flex}.wb-result{border-top:1px solid #eef2f7;flex:1;min-height:200px;margin-top:4px;padding-top:10px;overflow:auto}.wb-result-head{color:#5c6f86;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.wb-edit-stats{color:#5c6f86;font-size:12px}.wb-edit-stats b{color:#1f2d3d;font-weight:600}.wb-edit-table .ant-table-tbody>tr.wb-row-new>td{background:#f6ffed}.wb-edit-table .ant-table-tbody>tr.wb-row-deleted>td{background:#fff1f0}.wb-edit-table .ant-table-tbody>tr.wb-row-deleted .wb-cell-value{color:#a0aab8;text-decoration:line-through}.wb-edit-table .ant-table-cell{vertical-align:middle;padding:4px 8px}.wb-cell-edit{align-items:center;gap:4px;min-width:140px;display:flex}.wb-cell-edit .ant-input{min-width:90px}.wb-cell-edit .ant-select{flex:1;min-width:90px}.wb-cell-edit .ant-picker,.wb-cell-edit .ant-input-number{flex:1;min-width:120px}.wb-cell-edit.is-dirty .ant-input,.wb-cell-edit.is-dirty .ant-select-selector,.wb-cell-edit.is-dirty .ant-picker,.wb-cell-edit.is-dirty .ant-input-number{background:#fffbe6;border-color:#faad14}.wb-null-btn{color:#8a99ad;padding-inline:4px;font-size:11px}.wb-cell-edit.is-null .wb-null-btn{color:#1677ff}.wb-null-chip{color:#9aa8ba;background:#fafafa;border:1px dashed #d9d9d9;border-radius:4px;flex:1;justify-content:center;align-items:center;min-width:90px;height:24px;font-size:12px;display:inline-flex}.wb-cell-value.is-deleted{color:#a0aab8;text-decoration:line-through}.wb-cell-text{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.wb-cell-preview{white-space:pre-wrap;word-break:break-all;max-height:55vh;margin:0;font-family:SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:13px;overflow:auto}.wb-cell-locked{color:#5c6f86;align-items:center;gap:4px;display:inline-flex}.wb-pk-icon{color:#b0b8c4;margin-left:4px;font-size:11px}.wb-edit-errors{margin:0;padding-left:18px}.wb-edit-errors li{margin:2px 0}.wb-editor.is-locked{opacity:.75;background:#fafbfc}.wb-edit-hint{color:#8a99ad;margin-top:6px;font-size:12px}.wb-result-empty{color:#9aa8ba;justify-content:center;align-items:center;height:160px;font-size:13px;display:flex}.wb-confirm-sql,.wb-sql-preview{white-space:pre-wrap;word-break:break-word;background:#f6f8fb;border:1px solid #e3e9f2;border-radius:6px;max-height:280px;margin:8px 0;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.6;overflow:auto}.wb-designer{flex-direction:column;gap:10px;padding-bottom:4px;display:flex}.wb-designer-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.wb-designer-title{color:#24354b;align-items:center;gap:8px;font-size:16px;font-weight:600;display:flex}.wb-design-context{color:#5c6f86;background:#f7f9fc;border:1px solid #e8edf5;border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:flex}.wb-section-tabs{border-bottom:1px solid #e8edf5;gap:2px;display:flex}.wb-section-tab{color:#5c6f86;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:8px 14px;font-size:13px}.wb-section-tab:hover{color:#24354b}.wb-section-tab.is-active{color:#1677ff;border-bottom-color:#1677ff;font-weight:500}.wb-design-pane{padding:4px 0}.wb-form-grid{grid-template-columns:110px minmax(0,1fr);align-items:start;gap:12px 16px;max-width:900px;display:grid}.wb-form-grid>label,.wb-form-grid>span{color:#5c6f86;padding-top:6px;font-size:13px}.wb-form-grid>div{flex-direction:column;gap:4px;display:flex}.wb-form-grid .ant-input-textarea-show-count .ant-input-data-count{inset-inline-end:10px;bottom:6px}.wb-form-grid .ant-input-textarea-show-count textarea.ant-input{padding-bottom:22px}.wb-design-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.wb-design-table .ant-table-cell{vertical-align:top}.wb-design-table tr.is-readonly td{background:#fafafa}.wb-column-tags{flex-wrap:wrap;gap:2px;margin-top:2px;display:flex}.wb-column-tags .ant-tag{margin:0;padding:0 4px;font-size:10px;line-height:16px}.wb-index-order{border:1px solid #e8edf5;border-radius:6px;max-height:180px;margin-top:6px;padding:4px 8px;overflow:auto}.wb-index-order-row{justify-content:space-between;align-items:center;padding:2px 0;font-size:12px;display:flex}.wb-preview{flex-direction:column;gap:8px;display:flex}.wb-preview-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.wb-preview-title{color:#24354b;font-weight:600}.wb-review{background:#f7f9fc;border:1px solid #e8edf5;border-radius:6px;padding:12px}.wb-preview-empty{padding:24px 0}.wb-error-list{margin:0;padding-left:18px}.wb-designer-foot{border-top:1px solid #eef2f7;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;padding-top:10px;display:flex}@media (width<=900px){.wb-shell{height:auto;min-height:calc(100vh - 112px)}.wb-body{flex-direction:column}.wb-sidebar{border-bottom:1px solid #e8edf5;border-right:0;width:100%;max-height:280px}.wb-topbar-status{display:none}}.dc-drawer-loading{justify-content:center;align-items:center;padding:24px 0;display:flex}.dc-sql-section{margin-top:20px}.dc-sql-text{color:#24354b;white-space:pre-wrap;word-break:break-word;background:#fafbfd;border:1px solid #e5eaf1;border-radius:6px;max-height:360px;margin:8px 0 0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.6;overflow:auto}.dc-sql-empty{margin-top:20px;display:inline-block}.dc-sql-details{margin-top:12px}.dc-sql-details summary{cursor:pointer;color:#1677ff;font-size:13px}.dc-import-steps{margin-bottom:20px}.dc-confirm-box{background:#fffaf0;border:1px solid #ffe0b2;border-radius:6px;padding:12px}.dc-warning-list{margin:0;padding-left:18px}
