.sqb-dialog{width:1000px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce8ed;border-radius:14px;background:#fff;color:#173047;box-shadow:0 24px 90px #102e4540;font:14px/1.6 "Microsoft YaHei UI","Segoe UI",sans-serif;overflow:auto;overscroll-behavior:contain}
.sqb-heading{position:sticky;top:0;z-index:2}
.sqb-dialog::backdrop{background:#10273c70}.sqb-dialog *{box-sizing:border-box}.sqb-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 26px;border-bottom:1px solid #e4edef;background:#fff}.sqb-heading span{font-size:12px;color:#009e9d}.sqb-heading h2{font-size:21px;margin:3px 0}.sqb-project{padding:18px 26px 0}.sqb-project label{display:flex;gap:14px;align-items:center;font-weight:600}.sqb-project select{flex:1;max-width:640px}.sqb-project small{display:block;margin-top:7px}.sqb-tabs{display:flex;gap:18px;padding:12px 26px 0;border-bottom:1px solid #e4edef}.sqb-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:9px 2px;color:#698198;font:inherit;cursor:pointer}.sqb-tabs button.active{color:#008f91;border-color:#00a4a4}.sqb-body{padding:20px 26px}.sqb-dialog small{color:#718398;font-size:12px;font-weight:400;line-height:1.7}.sqb-body label{display:grid;gap:7px;margin:15px 0;font-weight:500}.sqb-body label>small{margin:0}.sqb-dialog :is(input:not([type=checkbox]),textarea,select){min-width:0;width:100%;border:1px solid #d7e3e9;border-radius:7px;padding:10px 12px;background:#fff;color:#24445d;font:inherit;line-height:1.5}.sqb-dialog textarea{resize:vertical}.sqb-dialog input[type=checkbox]{accent-color:#009b9e;width:16px;height:16px;margin:0;flex:none}.sqb-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.sqb-full{grid-column:1/-1}.sqb-notice{padding:12px 15px;border:1px solid #d6eceb;border-radius:8px;background:#effafa;color:#367477;font-size:13px;line-height:1.8}.sqb-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:20px}.sqb-detail-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.sqb-dialog h3{margin:0 0 6px;font-size:16px}.sqb-stats{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.sqb-stats span{padding:6px 12px;background:#eff5f8;border-radius:6px;color:#5d768a;font-size:13px}.sqb-stats b{margin-left:4px;color:#173047}.sqb-section{margin:22px 0}.sqb-scroll{overflow:auto;max-width:100%;margin:10px 0}.sqb-dialog table{width:100%;border-collapse:collapse;font-size:12px;min-width:650px}.sqb-dialog :is(th,td){padding:10px 12px;text-align:left;border-bottom:1px solid #e4edef;vertical-align:top;overflow-wrap:anywhere;max-width:240px;min-width:80px}.sqb-dialog th{background:#f5f9fb;color:#6e8297;font-weight:500;white-space:nowrap}.sqb-dialog td small{display:block;margin-top:4px}.sqb-state.ready,.sqb-state.updated{color:#008f91}.sqb-state.conflict,.sqb-state.not_found,.sqb-state.ambiguous{color:#b56632}.sqb-body .sqb-confirm{display:flex;align-items:flex-start;gap:10px;font-size:13px}.sqb-confirm input{margin-top:3px}.sqb-error{color:#ba454b;padding:0 26px 20px;font-size:13px;margin:0;overflow-wrap:anywhere}.sqb-error:empty{display:none}.sqb-history{display:grid;gap:10px}.sqb-history-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;width:100%;text-align:left;border:1px solid #dfebef;border-radius:8px;background:#fff;padding:13px 15px;color:#29465b;font:inherit;cursor:pointer}.sqb-history-row:hover{background:#f0fafa;border-color:#9ed4d5}.sqb-history-row small{display:block;margin-top:5px}.sqb-dialog :is(button,input,select,textarea,a):focus-visible{outline:2px solid #00a5a7;outline-offset:3px}
@media(max-width:640px){.sqb-dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:10px}.sqb-heading,.sqb-project,.sqb-body{padding:16px}.sqb-heading h2{font-size:18px}.sqb-project label{display:grid;gap:8px}.sqb-tabs{padding:8px 16px 0;gap:18px;font-size:13px}.sqb-grid{grid-template-columns:minmax(0,1fr);gap:0}.sqb-detail-head{align-items:flex-start;flex-direction:column}.sqb-history-row{grid-template-columns:minmax(0,1fr);gap:7px}.sqb-error{padding:0 16px 16px}.sqb-dialog footer{align-items:stretch}.sqb-dialog footer .button{justify-content:center}.sqb-dialog footer>small{flex-basis:100%}}

.sqb-dialog{width:1180px}.sqb-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.sqb-pagination>div{display:flex;gap:8px}.sqb-dialog button:disabled{opacity:.45;cursor:default}.sqb-section>.sqb-scroll{max-height:520px}.sqb-dialog th{position:sticky;top:0;z-index:1}.sqb-stats b{font-variant-numeric:tabular-nums}

.sqb-result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.sqb-result-heading select{max-width:180px}

.sqb-filters{border:1px solid #dce8ed;background:#f7fafc;border-radius:10px;padding:14px 16px;margin-bottom:20px}.sqb-filter-grid{display:grid;grid-template-columns:minmax(240px,2fr) minmax(150px,1fr) minmax(140px,1fr);gap:12px 16px;align-items:end}.sqb-body .sqb-filters label{margin:0;gap:6px;font-size:13px}.sqb-filter-actions{display:flex;gap:10px;align-items:center;min-height:43px}.sqb-filters>small{display:block;margin-top:10px}.sqb-body .sqb-filters input[type=date]{min-height:43px}@media(max-width:640px){.sqb-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sqb-filter-search,.sqb-filter-actions{grid-column:1/-1}.sqb-filter-actions .button{flex:1;justify-content:center}.sqb-filters{padding:12px}}

.sqb-filter-grid{border:0;padding:0;margin:0;min-width:0}.sqb-filter-grid:disabled{opacity:.6}
