#editorPage{padding:20px;min-width:0}#editorPage>.panelhead{margin-bottom:16px;align-items:center}#editorPage>.panelhead h2{font-size:22px}
#editorPage button{min-height:32px;padding:6px 10px;font-size:12px;border-radius:6px;box-shadow:none}
#editorPage input,#editorPage select{min-height:34px;padding:7px 9px;border-radius:6px;font-size:12px;margin-top:5px}
#editorPage label{font-size:12px;margin-bottom:12px;font-weight:600;min-width:0}
#editorPage .check{font-size:12px;gap:7px;margin:8px 0}#editorPage .check input{min-height:16px;width:16px;height:16px;margin:0}
.rd-shell{display:grid;grid-template-columns:185px minmax(0,1fr);gap:20px;align-items:start}
.rd-nav{display:flex;flex-direction:column;gap:5px;position:sticky;top:18px;padding:12px;border:1px solid #dce6ed;border-radius:9px;background:#f5f8fa}
#editorPage .rd-nav input{margin:0 0 8px;width:100%;min-width:0;font-size:11px}
#editorPage .rd-nav button{text-align:left;border:0;background:transparent;color:#526d80;padding:9px 10px;font-weight:500}
#editorPage .rd-nav button[hidden]{display:none}#editorPage .rd-nav button[aria-current=page]{background:#e0f1f5;color:#087a91;font-weight:650;box-shadow:inset 3px 0 #1695ac}
.rd-content{min-width:0}.rd-section[hidden]{display:none}.rd-section>h3{font-size:18px;margin:0 0 5px}.rd-hint{font-size:12px;color:#748b9a;margin:0 0 18px}
#editorPage .rd-section>.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#editorPage textarea{font:12px/1.6 Consolas,monospace;border-radius:6px;padding:10px;min-width:0}
#editorPage textarea[name=sql]{min-height:320px;resize:vertical;tab-size:4}
#editorPage .muted{font-size:11px;line-height:1.6;margin:8px 0 12px}
#editorPage .panelhead{gap:10px;margin:10px 0}#editorPage .panelhead h3{font-size:15px;margin:0}
#editorPage .editrow{padding:10px;gap:8px;margin-bottom:10px;border-radius:8px}
#editorPage .editrow label{margin-bottom:0}#editorPage .chartsettings,#editorPage .drillsettings{padding:12px;border-radius:8px;margin:12px 0}
#editorPage .chartdefinitionfields{gap:8px}#editorPage .detaillink{gap:8px;padding:10px}
.rd-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;position:sticky;bottom:0;margin-top:18px;padding:12px 0 0;background:#fff;border-top:1px solid #dce6ed;z-index:3}.rd-footer>span{font-size:11px;color:#7a8e9c}.rd-footer button{margin:0}
.rd-no-match{font-size:12px;color:#718795;margin:8px 0}
@media(max-width:1000px){#editorPage .rd-section>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#editorPage{padding:14px}.rd-shell{grid-template-columns:minmax(0,1fr);gap:14px}.rd-nav{position:static;display:flex;flex-direction:row;flex-wrap:wrap;padding:8px;gap:4px}#editorPage .rd-nav input{flex-basis:100%;margin-bottom:4px}#editorPage .rd-nav button{padding:8px;font-size:11px}.rd-footer>span{display:none}.rd-footer{justify-content:flex-end}#editorPage .rd-section>.grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){#editorPage #filterEditor .editrow,#editorPage #columnEditor .editrow{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#editorPage .editrow input,#editorPage .editrow select{min-width:0;width:100%}#editorPage .editrow>button{justify-self:start}.rd-nav .rd-no-match{flex-basis:100%}}

#editorPage .rd-nav button{transition:none}

/* Denser designer rows without changing field order or behavior. */
#editorPage .editrow{padding:7px 8px;gap:6px;margin-bottom:6px;border-radius:6px}
#editorPage .editrow label{font-size:11px;line-height:1.3;margin:0}
#editorPage .editrow input,#editorPage .editrow select{min-height:30px;height:30px;margin-top:3px;padding:4px 7px;font-size:12px}
#editorPage .editrow .check{margin:0 0 3px;gap:5px;font-size:11px}
#editorPage .editrow .check input{width:14px;height:14px;min-height:14px;padding:0;margin:0}
#editorPage .editrow button{min-height:29px;height:29px;padding:4px 7px;font-size:11px}
#editorPage .footerchoice{gap:3px}
#editorPage .footerchoice select{margin-top:0}
#editorPage .rd-hint{margin-bottom:10px}
#editorPage .rd-section>.panelhead{margin:6px 0}
#editorPage .chartdefinition,#editorPage .detaillink{padding:8px;margin-bottom:6px;gap:6px}
@media(max-width:700px){#editorPage .editrow input,#editorPage .editrow select{min-height:34px;height:34px}#editorPage .editrow button{min-height:34px;height:34px}#editorPage #filterEditor .editrow,#editorPage #columnEditor .editrow{gap:6px}}
/* Desktop column definitions use one quiet, aligned row. */
@media(min-width:1001px){
 #editorPage #columnEditor .editrow{display:grid;grid-template-columns:minmax(105px,1fr) minmax(120px,1.1fr) 88px 110px 43px 25px 25px;align-items:center;gap:6px;padding:7px 8px}
 #editorPage #columnEditor .editrow>label{display:block;font-size:0;line-height:1}
 #editorPage #columnEditor .editrow>label input,#editorPage #columnEditor .editrow>label select{width:100%;min-width:0;margin:0;height:30px;min-height:30px;font-size:12px}
 #editorPage #columnEditor .footerchoice{display:flex;align-items:center;gap:5px;min-width:0}
 #editorPage #columnEditor .footerchoice .check{font-size:0;flex:0 0 14px;margin:0;line-height:1}
 #editorPage #columnEditor .footerchoice input{margin:0;width:14px;height:14px;min-height:14px}
 #editorPage #columnEditor .footerchoice select{flex:1;min-width:0;width:100%;height:30px;min-height:30px;margin:0;font-size:11px;padding:4px}
 #editorPage #columnEditor .editrow>button{width:100%;min-width:0;padding:3px;font-size:11px;height:28px;min-height:28px;margin:0}
}
.rd-column-labels{display:none}
@media(min-width:1001px){.rd-column-labels{display:grid;grid-template-columns:minmax(105px,1fr) minmax(120px,1.1fr) 88px 110px 105px;gap:6px;padding:5px 9px;color:#6b8596;font-size:10px;font-weight:600;margin-top:6px}}

@media(min-width:1001px){#editorPage #columnEditor .footerchoice{flex-direction:row;justify-content:flex-start}}

/* Extra compact desktop designer density. */
#editorPage{padding:16px}
#editorPage>.panelhead{margin-bottom:10px}
.rd-shell{gap:14px}
#editorPage .rd-section>h3{font-size:16px;margin-bottom:3px}
#editorPage .rd-hint{font-size:11px;margin:0 0 7px}
#editorPage .muted{font-size:10px;line-height:1.45;margin:5px 0 7px}
#editorPage .rd-section>.panelhead{margin:5px 0}
#editorPage .editrow{padding:4px 6px;gap:4px;margin-bottom:4px;border-radius:5px}
#editorPage .editrow input,#editorPage .editrow select{min-height:27px;height:27px;padding:3px 6px;font-size:11px}
#editorPage .editrow button{min-height:25px;height:25px;padding:2px 5px;font-size:10px}
#editorPage .editrow .check input{min-height:13px;height:13px;width:13px}
#editorPage .chartdefinition,#editorPage .detaillink{padding:6px;gap:4px;margin-bottom:4px}
.rd-footer{padding-top:9px;margin-top:12px}
@media(min-width:1001px){
 #editorPage #columnEditor .editrow{padding:4px 6px;gap:4px;grid-template-columns:minmax(105px,1fr) minmax(120px,1.1fr) 88px 110px 43px 25px 25px}
 #editorPage #columnEditor .editrow>label input,#editorPage #columnEditor .editrow>label select{height:27px;min-height:27px;font-size:11px;padding:3px 6px}
 #editorPage #columnEditor .footerchoice{gap:4px}
 #editorPage #columnEditor .footerchoice select{height:27px;min-height:27px;font-size:10px;padding:3px}
 #editorPage #columnEditor .editrow>button{height:25px;min-height:25px;font-size:10px;padding:2px}
 .rd-column-labels{gap:4px;padding:3px 7px;margin-top:4px;grid-template-columns:minmax(105px,1fr) minmax(120px,1.1fr) 88px 110px 101px}
}
@media(max-width:700px){#editorPage{padding:12px}#editorPage .editrow input,#editorPage .editrow select,#editorPage .editrow button{height:34px;min-height:34px}#editorPage #filterEditor .editrow,#editorPage #columnEditor .editrow{gap:5px}}
/* One shared explanation; each filter uses a compact settings disclosure. */
#editorPage #rd-filters>.panelhead h3{display:none}
#editorPage #rd-filters>.panelhead{justify-content:flex-end}
#editorPage .lookup-editor{font-size:11px;line-height:1.45;grid-column:auto}
#editorPage .lookup-editor>summary{display:grid;place-items:center;width:28px;height:27px;min-height:27px;padding:0;border:1px solid #d8e5ec;border-radius:5px;background:#fff;color:#527c91;list-style:none;cursor:pointer;font-size:15px;line-height:1;box-sizing:border-box}
#editorPage .lookup-editor>summary::-webkit-details-marker{display:none}
#editorPage .lookup-editor>summary:hover{background:#eaf5f8;color:#087e96}
#editorPage .lookup-editor>summary:focus-visible{outline:2px solid #15879d;outline-offset:2px}
#editorPage .lookup-editor[open]{grid-column:1/-1;border-top:1px solid #dce7ed;padding-top:7px}
#editorPage .lookup-editor[open]>summary{background:#e0f1f5;border-color:#a9d0dc;color:#087a90}
#editorPage .lookup-editor p,#editorPage .lookup-editor small{font-size:11px;line-height:1.5;color:#718a99}
#editorPage .lookup-editor label{font-size:11px;margin:7px 0;gap:3px}
@media(max-width:700px){#editorPage .lookup-editor>summary{width:34px;height:34px}}
/* Filter settings at the left; one horizontal field row on desktop. */
#editorPage #filterEditor .editrow{position:relative;padding-left:42px}
#editorPage #filterEditor .lookup-editor:not([open]){position:absolute;top:8px;left:6px}
#editorPage #filterEditor .lookup-editor>summary{font-family:'Segoe UI',sans-serif;font-size:20px;font-weight:650;width:28px;height:27px}
#editorPage #filterEditor .lookup-editor[open]>summary{position:absolute;top:8px;left:6px}
@media(min-width:1101px){
 #editorPage #filterEditor .editrow{display:flex;align-items:flex-end;flex-wrap:wrap;gap:5px;padding-top:5px;padding-bottom:5px}
 #editorPage #filterEditor .editrow>label:not(.check){flex:1 1 75px;min-width:0;width:0;font-size:10px;white-space:nowrap}
 #editorPage #filterEditor .editrow>label:not(.check) input,#editorPage #filterEditor .editrow>label:not(.check) select{width:100%;min-width:0;font-size:11px;padding:3px 5px;margin-top:3px;height:27px;min-height:27px}
 #editorPage #filterEditor .editrow>label.check{flex:0 0 auto;min-height:27px;margin:0;gap:4px;font-size:10px}
 #editorPage #filterEditor .editrow>label.check:has([data-key=lockDefault]){font-size:0;width:15px;flex:0 0 15px}
 #editorPage #filterEditor .editrow>button{flex:0 0 40px;min-height:27px;height:27px;margin:0}
 #editorPage #filterEditor .lookup-editor[open]{position:static;order:20;flex:0 0 100%;width:100%;padding:8px 0 0;margin:4px 0 0}
 #editorPage #filterEditor .lookup-editor label{white-space:normal}
}
@media(max-width:700px){#editorPage #filterEditor .editrow{padding-left:47px}#editorPage #filterEditor .lookup-editor>summary{width:34px;height:34px}#editorPage #filterEditor .lookup-editor:not([open]),#editorPage #filterEditor .lookup-editor[open]>summary{left:6px;top:6px}}
@media(min-width:1101px){
 #editorPage #filterEditor .editrow>label:not(.check){display:flex;flex-direction:column;align-items:stretch;white-space:normal;line-height:1.25;font-size:9px;gap:3px}
 #editorPage #filterEditor .editrow>label:not(.check) input,#editorPage #filterEditor .editrow>label:not(.check) select{display:block;max-width:100%;margin-top:0;box-sizing:border-box}
 #editorPage #filterEditor .editrow>label.check{display:flex;align-items:center}
}
@media(min-width:1101px){#editorPage #filterEditor .editrow>label.check:has([data-key=lockDefault]){width:29px;flex-basis:29px}#editorPage #filterEditor .editrow>label.check:has([data-key=lockDefault])::after{content:'🔒';font-size:10px}}
/* Shared column headings for filter definitions; labels remain accessible. */
.rd-filter-labels{display:none}
#editorPage .rd-filter-default{min-width:0;display:flex;gap:4px;align-items:flex-end}
#editorPage .rd-filter-default>label{flex:1;min-width:0}
#editorPage .rd-filter-default>label[hidden]{display:none}
@media(min-width:1251px){
 #editorPage #filterEditor .editrow,.rd-filter-labels{display:grid;grid-template-columns:28px minmax(80px,1fr) minmax(85px,1.05fr) minmax(105px,1.25fr) minmax(60px,.7fr) 70px 34px 25px 40px;gap:5px;align-items:center}
 #editorPage #filterEditor .editrow{padding:4px 6px}
 .rd-filter-labels{padding:4px 7px;color:#6b8596;font-size:9px;font-weight:600}
 #editorPage #filterEditor .editrow>label:not(.check){display:block;font-size:0;line-height:1;width:auto;flex:none}
 #editorPage #filterEditor .editrow>label:has([data-key=name]){grid-column:2;grid-row:1}
 #editorPage #filterEditor .editrow>label:has([data-key=label]){grid-column:3;grid-row:1}
 #editorPage #filterEditor .rd-filter-default{grid-column:4;grid-row:1}
 #editorPage #filterEditor .editrow>label:has([data-key=group]){grid-column:5;grid-row:1}
 #editorPage #filterEditor .editrow>label:has([data-key=type]){grid-column:6;grid-row:1}
 #editorPage #filterEditor .editrow>label:has([data-key=required]){grid-column:7;grid-row:1;justify-content:center;font-size:0;width:auto;margin:0}
 #editorPage #filterEditor .editrow>label:has([data-key=lockDefault]){grid-column:8;grid-row:1;justify-content:center;font-size:0;width:auto;margin:0}
 #editorPage #filterEditor .editrow>label:has([data-key=lockDefault])::after{display:none}
 #editorPage #filterEditor .editrow>button{grid-column:9;grid-row:1}
 #editorPage #filterEditor .lookup-editor:not([open]){position:static;grid-column:1;grid-row:1}
 #editorPage #filterEditor .lookup-editor[open]{grid-column:1/-1;grid-row:2;order:initial;width:auto;margin:2px 0 0;padding:7px 0 0}
 #editorPage #filterEditor .lookup-editor[open]>summary{top:4px;left:6px}
 #editorPage #filterEditor .rd-filter-default>label{font-size:0;line-height:1;margin:0}
 #editorPage #filterEditor .rd-filter-default input,#editorPage #filterEditor .rd-filter-default select{display:block;width:100%;min-width:0;max-width:100%;height:27px;min-height:27px;padding:3px 5px;margin:0;font-size:11px;box-sizing:border-box}
 #editorPage #filterEditor .editrow>label:not(.check) input,#editorPage #filterEditor .editrow>label:not(.check) select{margin:0}
}
/* Sliders icon and horizontal advanced-filter settings. */
#editorPage .lookup-editor>summary svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#editorPage .lookup-editor .lookup-options-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(140px,1.4fr) minmax(75px,.8fr) minmax(100px,1fr) 80px;gap:7px;align-items:end;padding:8px;background:#edf4f7;border:1px solid #dce8ef;border-radius:6px}
#editorPage .lookup-editor .lookup-options-row:has(.lookup-target:not([hidden])){grid-template-columns:minmax(100px,1fr) minmax(110px,1fr) minmax(130px,1.3fr) minmax(75px,.8fr) minmax(90px,1fr) 75px}
#editorPage .lookup-editor .lookup-options-row label{display:block;font-size:10px;line-height:1.4;margin:0;min-width:0}
#editorPage .lookup-editor .lookup-options-row label[hidden],#editorPage .lookup-editor .lookup-target[hidden]{display:none}
#editorPage .lookup-editor .lookup-options-row input,#editorPage .lookup-editor .lookup-options-row select{width:100%;min-width:0;max-width:100%;min-height:27px;height:27px;font-size:11px;padding:3px 5px;margin:3px 0 0;box-sizing:border-box}
#editorPage .lookup-editor .lookup-query-label{font-size:10px;margin:7px 0 0}
#editorPage .lookup-editor .lookup-query-label[hidden]{display:none}
#editorPage .lookup-editor textarea{min-height:68px;height:68px;font:11px/1.4 Consolas,monospace;padding:6px;margin:3px 0 0;resize:vertical}
#editorPage .lookup-editor .lookup-help{padding:4px 0 0;font-size:10px;color:#6d8797}
#editorPage .lookup-editor .lookup-help>summary{font-size:10px;cursor:pointer}
#editorPage .lookup-editor .lookup-help p{font-size:10px;margin:5px 0}
@media(max-width:1100px){#editorPage .lookup-editor .lookup-options-row,#editorPage .lookup-editor .lookup-options-row:has(.lookup-target:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#editorPage .lookup-editor .lookup-options-row,#editorPage .lookup-editor .lookup-options-row:has(.lookup-target:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}#editorPage .lookup-editor .lookup-options-row input,#editorPage .lookup-editor .lookup-options-row select{height:34px;min-height:34px}}
