.sp-workspace{padding-top:1.3rem;border-top:1px solid var(--line,#d9dfe0)}
.sp-workspace h2{font-size:1.18rem;color:var(--ink,#17323c)}
.sp-summary,.sp-query-copy,.sp-explanation,.sp-status{color:var(--ink,#17323c);line-height:1.5}
.sp-status:empty{display:none}.sp-status.error,.sp-error{color:#8e2730}
.sp-coverage .sp-table td:first-child{min-width:250px}.sp-coverage .sp-table th:not(:first-child),.sp-coverage .sp-table td:not(:first-child){text-align:right;white-space:nowrap}
.sp-gap{color:#81501d;font-size:.85rem}.sp-queries{margin:1rem 0;border-bottom:1px solid var(--line,#d9dfe0);padding-bottom:1rem}.sp-queries>summary{cursor:pointer;font-weight:650;color:var(--ink,#17323c);padding:.5rem 0}
.sp-query{padding:1rem 0;border-bottom:1px solid var(--line,#d9dfe0)}.sp-query:last-child{border:0}.sp-query-copy{overflow-wrap:anywhere;margin:.4rem 0}
.sp-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin:.7rem 0}.sp-link{color:var(--accent,#244b5a);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.sp-source-table td{vertical-align:top}.sp-source-table td:first-child{min-width:230px;max-width:380px}.sp-source-table td:first-child .m-meta{overflow-wrap:anywhere}.sp-source-table td:nth-child(2){min-width:150px}.sp-source-table td:nth-child(3){min-width:190px}.sp-source-table .sp-row-actions{min-width:180px}.sp-row-actions button{margin:0 .3rem .4rem 0}.sp-archived{opacity:.75}.sp-archive-toggle{display:flex;align-items:center;gap:.3rem;color:var(--ink,#17323c)}.sp-reset{margin-top:.9rem}
.sp-editor{width:min(700px,calc(100vw - 2rem));max-height:90vh;overflow:auto;border:1px solid var(--line,#d9dfe0);border-radius:12px;padding:1.5rem;color:var(--ink,#17323c);background:var(--paper,#fff)}.sp-editor::backdrop{background:#17323c66}.sp-editor h2{margin-top:0}.sp-fields{display:flex;flex-direction:column;gap:.75rem}.sp-field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.8rem}.sp-field input,.sp-field textarea,.sp-field select{width:100%;box-sizing:border-box;padding:.65rem .75rem;border:1px solid var(--line,#b8c6ca);border-radius:6px;font:inherit;color:var(--ink,#17323c);background:var(--paper,#fff)}.sp-field textarea{resize:vertical}.sp-field label{font-weight:650}.sp-source-table button:disabled,.sp-workspace button:disabled,.sp-editor button:disabled{opacity:.6}
@media(max-width:650px){.sp-workspace .b-section-head{align-items:flex-start;gap:.6rem}.sp-workspace h2{font-size:1.08rem}.sp-editor{padding:1rem}.sp-actions{gap:.5rem}}

.sp-dialog{width:min(1200px,calc(100vw - 2rem));max-height:90vh;overflow:auto;padding:1.25rem 1.5rem;border:1px solid var(--line,#d9dfe0);border-radius:12px;color:var(--ink,#17323c);background:var(--paper,#fff)}.sp-dialog::backdrop{background:#17323c66}.sp-dialog-close{display:block;margin-left:auto;margin-bottom:.7rem}.sp-dialog .sp-workspace{border-top:0;padding-top:0}
.sp-workspace .m-meta,.sp-workspace .m-table th{font-size:12px;color:#405b6b}
