.tab-content:has(>.wxp-page.active){padding:8px;min-height:0;overflow:hidden}
.wxp-page{height:100%;min-height:0;overflow:hidden}
.wxp-shell{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px;color:#303b49;font-size:14px;font-family:"Microsoft YaHei","PingFang SC",sans-serif}
.wxp-toolbar{display:flex;align-items:center;gap:8px;flex:none;min-height:40px;overflow-x:auto;white-space:nowrap}
.wxp-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 12px;flex:none;font-size:14px}
.wxp-button svg{width:17px;height:17px;flex:none}
.wxp-database{margin-left:auto;padding:5px 10px;border:1px solid #91caff;border-radius:5px;background:#e6f4ff;color:#1677c8;flex:none}
.wxp-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:none}
.wxp-field{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}
.wxp-field>span{flex:none}
.wxp-binding-enabled{display:flex;align-items:center;gap:4px;flex:none;color:#64748b}
.wxp-binding-enabled input{margin:0}
.wxp-field select{flex:1;min-width:0;width:100%;height:34px;padding:5px 8px;border:1px solid #ccd6e3;border-radius:4px;background:#fff;color:inherit;font:inherit}
.wxp-status{min-height:22px;line-height:22px;flex:none;color:#64748b}
.wxp-status.is-error{color:#ad3434}
.wxp-table-scroll{flex:1;min-height:0;overflow:auto;border:1px solid #d6dfe9;background:#fff;border-radius:5px}
.wxp-table{width:100%;min-width:960px;border-collapse:separate;border-spacing:0;table-layout:fixed;font:inherit}
.wxp-table th,.wxp-table td{box-sizing:border-box;padding:5px 6px;border-right:1px solid #e1e6ed;border-bottom:1px solid #e1e6ed;text-align:center;vertical-align:middle;overflow-wrap:anywhere}
.wxp-table thead th{position:sticky;top:0;z-index:2;height:36px;background:#f2f5fa;color:#46546a;font-weight:600;white-space:nowrap}
.wxp-table th:last-child,.wxp-table td:last-child{border-right:0}
.wxp-table thead th:first-child{width:130px;left:0;z-index:3;text-align:left;padding-left:10px}
.wxp-type-cell{position:sticky;left:0;z-index:1;background:#fff;color:#46546a;font-weight:400;text-align:left!important;padding-left:10px!important}
.wxp-table tbody tr:nth-child(even){background:#f8faff}
.wxp-table tbody tr:nth-child(even) .wxp-type-cell{background:#f8faff}
.wxp-action-cell{height:78px}
.wxp-cell-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;white-space:nowrap}
.wxp-check-cell{display:flex;align-items:center;justify-content:center;gap:6px;line-height:20px;color:#64748b}
.wxp-check-cell input[type=checkbox]{display:block;margin:0;vertical-align:middle;flex:none}
.wxp-permission{display:inline-block;padding:1px 6px;border-radius:4px;line-height:20px}
.wxp-permission.is-allowed{background:#edf7ef;color:#397a4e}.wxp-permission.is-denied{background:#f8edef;color:#9f454a}.wxp-permission.is-unknown{background:#f1f3f5;color:#737d8c}
.wxp-effective{line-height:20px}.wxp-effective.is-allowed{color:#397a4e}.wxp-effective.is-denied{color:#737d8c}.wxp-missing{color:#a1aab7}.wxp-empty{text-align:center!important;color:#737d8c;height:72px!important}
.wxp-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-height:38px;padding:4px 8px;border:1px solid #d6dfe9;border-radius:5px;background:#fff;color:#68758a}
.wxp-logs{flex:none;border:1px solid #d6dfe9;border-radius:5px;background:#fff;padding:6px 8px}.wxp-logs summary{cursor:pointer;color:#46546a}.wxp-log-scroll{max-height:150px;overflow:auto;margin-top:6px}.wxp-logs table{border-collapse:collapse;width:100%;font:inherit}.wxp-logs th,.wxp-logs td{padding:4px 8px;border:1px solid #e1e6ed;text-align:left}.wxp-logs th{background:#f2f5fa;position:sticky;top:0}
@media(max-width:900px){.wxp-fields{grid-template-columns:1fr}.wxp-footer{flex-wrap:wrap;min-height:38px}.wxp-database{margin-left:8px}}
