/* Page-local composition; staff controls, table and inspector keep their owners. */
.staff-ui .analytics-builder{max-width:1440px;min-width:0}
.staff-ui .analytics-builder-heading,.staff-ui .analytics-builder-field-heading,.staff-ui .analytics-builder-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.staff-ui .analytics-builder-heading{justify-content:space-between;margin-bottom:20px}
.staff-ui .analytics-builder-heading p{margin:0;overflow-wrap:anywhere}
.staff-ui .analytics-builder-heading strong{font-weight:700;margin-right:8px}
.staff-ui .analytics-builder-columns{display:grid;grid-template-columns:minmax(260px,380px) minmax(0,1fr);gap:40px}
.staff-ui .analytics-builder-columns>section{min-width:0}
.staff-ui .analytics-builder fieldset{margin:0;padding:0;border:0;min-width:0}
.staff-ui .analytics-builder-section-title,.staff-ui .analytics-builder-field-heading h3,.staff-ui .analytics-builder-compatibility h3{font-size:14px;line-height:1.5;font-weight:700;margin:0}
.staff-ui .analytics-builder-field-heading{justify-content:space-between;margin:22px 0 12px}
.staff-ui .analytics-builder-actions{gap:8px}
.staff-ui .analytics-builder-selected{padding:0;list-style:none;margin:0;display:grid;gap:12px}
.staff-ui .analytics-builder-selected li{display:flex;align-items:center;gap:8px;min-width:0}
.staff-ui .analytics-builder-selected li>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.staff-ui .analytics-builder-selected small{display:block;color:var(--sl-muted);font-size:12px;line-height:1.45;margin-top:3px;font-weight:400}
.staff-ui .analytics-builder-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin:12px 0}
.staff-ui .analytics-builder-filter label{display:block;font-size:12px;font-weight:500;margin-bottom:7px}
.staff-ui .analytics-builder-compatibility{margin-top:24px}
.staff-ui .analytics-builder-compatibility ul{padding-left:20px}
.staff-ui .analytics-builder-notice:empty{display:none}
.staff-ui .analytics-builder-notice{margin:0 0 20px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.staff-ui .analytics-builder-presentations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.staff-ui .analytics-builder-pagination{margin:12px 0 24px}
.staff-ui .analytics-builder-facts{margin:16px 0 24px;display:grid;gap:12px}
.staff-ui .analytics-builder-facts>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:16px}
.staff-ui .analytics-builder-facts dt{color:var(--sl-muted);font-size:12px;font-weight:500}
.staff-ui .analytics-builder-facts dd{margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.staff-ui .analytics-builder-export-status{margin-top:24px}
.staff-ui .analytics-builder-export-status h3{font-size:14px;font-weight:700}
.staff-ui .analytics-builder-dialog .analytics-builder-choice-list{display:grid;gap:8px}
.staff-ui .analytics-builder-choice{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:10px 0;cursor:pointer}
.staff-ui .analytics-builder-choice input{margin-top:4px;flex:none}
.staff-ui .analytics-builder-choice span{min-width:0;overflow-wrap:anywhere}
.staff-ui .analytics-builder-choice small{display:block;margin-top:4px;font-size:12px;color:var(--sl-muted)}
.staff-ui .analytics-builder-dialog .staff-inspector-body>section{margin-bottom:28px}
.staff-ui .analytics-builder-dialog .staff-inspector-body>section>h3{font-weight:700;font-size:16px}
.staff-ui .analytics-builder-saved-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.staff-ui .analytics-builder-saved-row>span{min-width:0;overflow-wrap:anywhere}
.staff-ui .analytics-builder [hidden]{display:none!important}
@media(max-width:1100px){.staff-ui .analytics-builder-columns{grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:24px}.staff-ui .analytics-builder-presentations{grid-template-columns:1fr}}
@media(max-width:799px){.staff-ui .analytics-builder-columns{grid-template-columns:minmax(0,1fr);gap:32px}.staff-ui .analytics-builder-heading{align-items:flex-start}.staff-ui .analytics-builder .sl-button,.staff-ui .analytics-builder .sl-input,.staff-ui .analytics-builder .sl-select-trigger{min-height:44px}.staff-ui .analytics-builder-dialog .staff-inspector-header{gap:8px}.staff-ui .analytics-builder-dialog .staff-inspector-header>span{white-space:normal;min-width:0}.staff-ui .analytics-builder-presentations{grid-template-columns:1fr}}

