/* styles for report view builder */

.UserInput {
    padding: 0.2em;
}

#topTable.WithToggleSections .ToggleSection.collapsed {
    margin-bottom: 0;
}

.SettingsSect {    
    margin-bottom: 10px;
    margin-left: 32px;
}

#drillDownInfo {    
    padding-left: 20px;
}

#topTable #filtering {
    margin-bottom: 0px;
}

#topTable .SectionTitle {
    margin-bottom: 10px;
}

/* not(.qbIcon) is to avoid applying this style to huey injected feature code */
#topTable .SettingsSect .Icon:not(.qbIcon), .Icon.Chart.Report {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 0;
    vertical-align: middle;
}

#topTable .FilterLabel,
#topTable .BasicLabel
{
    display: inline-block;
    min-width: 140px;
}

#topTable .OptionsLabel {
    display: inline-block;
    min-width: 137px;
}

#topTable .ColumnsLabel {
    display: inline-block;
    min-width: 143px;
}

#topTable .SortLabel {
    display: inline-block;
    min-width: 143px;
}

#sortSection {
    padding-left: 50px;
    padding-top: 15px;
}

#sortGroup .SortGroupOption {
    padding-left: 147px;
    padding-bottom: 5px;
}

#optionsSection table tr td:first-child {
    width: 134px;
    vertical-align: top;
    padding-bottom: 5px;
}
#calSection table tr td:first-child {
    width: 150px;
    vertical-align: top;
    padding-bottom: 5px;
}

#tlnbarFields table tr td:first-child {
    width: 140px;
}

#tlnbarFields > table tr td {
    padding-top: 4px;
    padding-bottom: 12px;
}

#kanbanDetails table tr td:first-child {
    width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

#additionalOptions table tr td:first-child {
    width: 150px;
    vertical-align: top;
    padding-bottom: 5px;
}

#summarizeData > table >tbody > tr > td:first-child {
    width: 140px;
    vertical-align: top;
    /*padding-bottom: 5px;*/
}

#reportColumnTable {
    padding-bottom: 8px;
}

#columnsSection {
    padding-top:8px;
}

#columnsSection table tr td:first-child {
    min-width: 143px;
    vertical-align: top;
    padding-bottom: 5px;
}

#columnsSection table tr.CalculatedColumnRow td:first-child {
    width: 143px;
}


#sortingSectionTable>tbody>tr>td:first-child {
    min-width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

#chartOptsTable>tbody>tr>td:first-child {
    min-width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

#groupingAndCrosstabs table tr td:first-child {
    width: 133px;
    vertical-align: top;
    padding-bottom: 5px;
}

#filtering>table>tbody>tr>td:first-child, #sortGroup>table>tbody>tr>td:first-child {
    min-width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

#drillDownSection>table>tbody>tr>td:first-child, #sortGroup>table>tbody>tr>td:first-child {
    min-width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

.shead .sectionTitle {
    margin-left: 50px;
}

.shead {
cursor: pointer;
}

.Icon.ReportColumns {
    display: inline-block;
    width: 20px;
    height: 20px;
    
    background-repeat: no-repeat;
    background-position: 0px 0px;
    border: 1px solid #888;
}
.Icon.ReportColumns:hover {
    cursor:pointer;
}
.Icon.AddToReport {
    background-image: url("./images/icons/arrow-scroll-right.png");
}
.Icon.RemoveFromReport {
    background-image: url("./images/icons/arrow-scroll-left.png");
}
.Icon.Flag {
    background-image: url("./images/icons/icon_quickfilter.png");
}
#resetColsToDefaultsButton:hover {
    cursor: pointer;
}

.ArrowIcon {
    background-image: url("./images/icons/report_builder_sprite_22px.png");
    width: 22px;
    height: 22px;
    display: block;
    background-position-y: 0;
}
.ArrowIcon.MoveUp {
    background-position: -44px 0;
}
.ArrowIcon.MoveUpMulti {
    background-position: -88px 0;
}
.ArrowIcon.AddToReport {
    background-position: 0px 0;
}
.ArrowIcon.RemoveFromReport {
    background-position: -22px 0;
}
.ArrowIcon.MoveDown {
    background-position: -66px 0;
}
.ArrowIcon.MoveDownMulti {
    background-position: -110px 0;
}
.ArrowIcon:hover {
    background-position-y: 44px;
}
.ArrowIcon.Disabled {
    background-position-y: 22px;
}

div.ArrowIconPadding {
    height: 10px;
}

.verticalAlignMiddle {
    vertical-align: middle !important;
}

div.SettingsSect > table.SettingsSectTable tr td {
    padding-bottom: 12px;
}

div.SettingsSect >  table.SettingsSectTable>tbody>tr>td {
    padding-top: 4px;
}
div.SettingsSect > table.SettingsSectTable tr td table tr td {
    padding-bottom: 0px;
    vertical-align: top;
}

/*  these styles are for labels and should always override the style immediately above */
div.SettingsSect > table.SettingsSectTable tr td table tr td.buttonCell,
div.SettingsSect > table.SettingsSectTable tr td table tr td.groupingBy,
div.SettingsSect > table.SettingsSectTable tr td table tr td[id^=newSumRowGroupThen],
div.SettingsSect > table.SettingsSectTable tr td table tr td[id^=rowAndOrCell],
div.SettingsSect > table.SettingsSectTable tr td table tr td[id^=relDatePreviewCell],
div.SettingsSect > table.SettingsSectTable tr td table tr td[id^=sortThen] {
    vertical-align: middle;
}

div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink {
    color: #427CD8;
    white-space: nowrap;
    text-decoration: none;
}
div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink:hover {
    color: #365ebf;
    cursor: pointer;
}
div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink .showOptionsArrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: top;
    margin-top: 1px;
    background-image: url("./images/icons/arrow-blue-right.png");
    background-repeat: no-repeat;
    background-position: center center;
}
div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink .showOptionsArrow.open {
    background-image: url("./images/icons/arrow-blue-down.png");
}
div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink .showOptionsText {
    text-decoration: underline;
}

div.SettingsSect > table tr.reportAndChartsHeader span.reportRoleHeaderText {
    padding-right: 5px;
}

div.SettingsSect > table tr.reportAndChartsHeader span.reportAndChartsBold {
    font-family: 'Gibson-SemiBold', Helvetica, Arial, Sans-Serif;
}


div.SettingsSect > table tr td.reportAndChartsBasicLabel {
    width: 140px;
    vertical-align: top;
    padding-top: 15px !important;
}

div.SettingsSect > table tr td.reportAndChartsGroup select.dropListWidth {
    width: 250px;
}

div.SettingsSect > table tr td.reportAndChartsGroup div#reportGroupsPersonal select {
    background-color: #eee;
}
div.SettingsSect > table tr td.reportAndChartsGroup div#reportGroupsPersonal div {
    color: #999;
    margin-left: 4px;
    margin-top: 3px;
}

div.SettingsSect > table tr td.reportAndChartsSection {
    padding-bottom: 4px;
    width: 875px;
}
div.SettingsSect > table tr td.reportAndChartsSectionSubHeader {
    color: #999;
    padding-top: 0px !important;
    width: 875px;
}

div.SettingsSect > table.SettingsSectTable tr td.reportAndChartsDetailHeader {
    padding-top: 15px !important;
    padding-bottom: 0px;
}

div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection {
    padding-top: 10px;
    vertical-align: top;
}

div.SettingsSect > table.SettingsSectTable tr td#personalRoleSection.displayRoleSection span {
    margin-left: 4px;
}

div.SettingsSect > table.SettingsSectTable tr td.reportAndChartsGroupSection {
    padding-top: 20px;
    padding-bottom: 7px;
}

div.SettingsSect > table.SettingsSectTable tr td.displayRoleSeparator {
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 0px;
}

div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div.roleRowSpacing.subHeader {
    margin-top: 3px;
}
div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div.subHeader {
    margin: 0 25px 0 19px;
    color: #999;
    width: 460px;
}
div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div.sectionSubHeader {
    margin-left: 0px;
    margin-bottom: 15px;
}
div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection select {
    margin-top: 2px;
}
div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div#whichRoles1 input[type="checkbox"] {
    margin: .23em;
    margin-left: 0px;
}

div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div#whichRoles1 {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 100px;
    margin: 7px 10px 7px 20px;
    width: 425px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 4px 4px 6px;
}

div.SettingsSect > table.SettingsSectTable tr td.reportChartsImage {
    padding-left: 15px;
    vertical-align: top;
}
div.SettingsSect > table.SettingsSectTable tr  td.reportChartsImage div.roleSectionHelperImg {
    width: 230px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url("./images/report_charts.png");
}
div.SettingsSect > table.SettingsSectTable tr td.reportChartsImage div.imageSubHeader {
    margin-top: 5px;
    width: 230px;
    color: #999;
}
div.SettingsSect > table.SettingsSectTable tr.reportGroupSection span.FS-Note {
    margin-left: 2px;
    font-size: 1.0em;
    color: #999;
}

span.ReportColumnDesc {
    color: Gray;
}

span.Spacer {
    width: 1em;
}

#defColsList ul,
table.ColumnChooserTable  ul {
    min-width: 210px;
    height: 200px;
    border: 1px solid gray;
    overflow-y: scroll;
    overflow-x: visible;
    padding-left: 0px;
}



table.ColumnChooserTable ul > li {
    list-style:none;
    padding:0 0 0 2px;
    margin:0;
    color: #000
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    max-width: 500px;
    overflow:hidden;
    cursor: default;
}

table.ColumnChooserTable  ul > li.additionalColumn {
    color: red;
}
table.ColumnChooserTable  ul > li.selected {
    background: #FED355;
    cursor:move;
}

.DefaultReportingSection {
    clear:both;
}

.DefaultReportingOptions {
    padding: 10px;
}
.DefaultReportingSection .Icon, 
.ColumnChooserTable .Icon {
    width: 16px;
    height: 16px;
    display: inline-block; 
}
body.UXV2 table.ColumnChooserTable ul.Facetable>li,
ul.ColumnChooser li {
    list-style: none;
    padding-left: 18px;
    height:18px;
}

body.UXV2 table.ColumnChooserTable ul.Facetable>li.Facetable {
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url("./images/icons/icon_quickfilter.png");
}

#defColsList ul {
    list-style-type: none;
    height:352px;

}
#noQuickFilters {
    margin-left: 35px;
}
ul#autoColumnsList {
    list-style: none;
    padding-left: 16px;
}
#newFieldOptions input {
    margin-left: 35px;
    margin-bottom:8px;
}
table.ColumnChooserTable ul {
    height:256px;
}
#viewFiltersList {
    height: 84px;
    min-width:210px;
    margin-bottom:10px;
}
#availableColsList,#viewColsList,#availableFiltersList {
    margin-top:0;
}   
td.DefaultReportPreview {
    padding-left: 40px;
}

#reportGroupsList[disabled] { color: #999; }

.HintText { color: #999; }

#resetFiltersToDefaultsButton,
#resetColsToDefaultsButton {
    text-align:center;
    width:100%;
    margin:0px;
}


#resetFiltersToDefaultsButton
{
    margin-top:25px;
}

#defaultQuickFiltersSection {
    min-width: 875px;
}

#defaultQuickFiltersSettings {
    float:left; width:500px;
}

#quickFiltersSection {
    min-width: 980px;
}
#quickFiltersSettings {
    float:left; width:650px;
}

#filtersHelper {
    float:left;
    padding-top:30px;
}

#autoQuickFilters,#quickFilters,#noQuickFilters {
    margin-left: 16px;
}

.BottomPadding {
    height: 50px;
}

#maxFiltersWarning,
#maxColumnsWarning {
    color: Green;
    white-space:nowrap;
}

.HideSortablePlacholder {
    height:0;
}

.ColumnChooserTable .Center {   
    margin-left:auto;
    margin-right:auto;
    width:65%;
}

 .ChartPicker .dropdown-header
    {
        border-top: 0.1em solid #EFF1F5;
        margin-top: 6px;
        padding: 6px 14px 4px 8px !important;
        font-weight: 600;
        color: #777
    }

    .ChartPicker .dropdown-header:first-child {
        border: none;
        margin-top: 0;
    }
    .ChartPicker .dropdown-menu
    {
        margin-top: -5px;
        z-index: 501;
        width: 200px;
        max-height: 360px;
        overflow-y: auto;
        padding-right: 8px;
    }
    .ChartPicker .dropdown-menu li a
    {
        padding: 4px 14px 4px 8px !important;
        text-decoration: none;
    }
    .ChartPicker .dropdown-menu li a:hover
    {
        background: #3a65ce;
        color: #fff;
    }
    
    .ChartPicker .dropdown-toggle
    {
        margin-left: 0px;
        padding-left: 14px !important;
    }
    
    .ChartPicker.open .dropdown-toggle
    {
        border: 1px #365ebf solid !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
    
    .ChartPicker .name
    {
        font-size: 13px !important;
    }
    
    .ChartPicker .caret
    {
        vertical-align: 3px;
    }

.qbMultiselect .ui-multiselect-checkboxes label{font-weight: normal;}

.DeleteReportWarning {
    color: red;
    font-weight: bold;
}

#calWeekStart td {
    vertical-align: top;
}

#calWeekStart .calWeekStartPicker {
    padding-top: 0;
}

#calWeekStart .calWeekStartPicker > div {
    line-height: 1.7;
}
#appWeekStartOption {
    font-style: italic;
}

#weekStart {
    width: 100px;
}
#weekStart:disabled {
    background: #eee;
}

#rcc .colorFormula {
    vertical-align: top;
    padding-right: 20px;
}

#topTable .disabledText {
    color: var(--bebop-neutral-500);
}

#topTable .disabledText.HintText {
    display: inline;
}

#sortOptions {
    white-space: no-wrap;
}


.WithTopSpacer {
    display: block;
    padding-top: 15px;
}

#sortGroup .orderInfo {
    margin-left: 15px;
    margin-top: 8px;
}

#sortGroup .orderInfo.disabledText {
    display: block;
}

#topTable .ToggleSection > .AdditionalText {
    font-weight: normal!important;
    vertical-align: middle;
}

#newSourceDataHeading input, #summaryFormulaOptions input {
    margin-top: 0px!important;
    margin-right: 2px;
}

.HintText.WithTopSpace {
    padding-top: 5px;
}

.HintText.WithLeftSpace {
    padding-left: 15px;
}

#xsldocContainer {
    margin-top: 6px;
}

ul#autoColumnsList > li {
    margin: 6px 0;
}

#mapDetails #addressFieldLabel,
#mapDetails #mapTypeLabel {
    min-width: 140px;
}

/* ============================================================
   VIEWBUILD V2 — Page-specific overrides
   (shared styles in builderRedesign.css)
   ============================================================ */
/* #topTable rows as blocks */
.build-redesign #topTable > tbody > tr {
    display: block;
}

.build-redesign #topTable .SettingsSect .Icon.Report {
    vertical-align: text-bottom;
    margin-right: 4px;
}

.build-redesign #topTable > tbody > tr > td[colspan],
.build-redesign #topTable > tbody > tr > td {
    display: block;
    width: 100%;
    padding: 0;
}

.build-redesign .builder-content #topTable {
    display: block;
    width: 720px;
    min-width: 720px;
    max-width: 720px;
    margin: 0 auto;
    background: transparent;
    table-layout: fixed;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ---- Column chooser ---- */
.build-redesign table.ColumnChooserTable ul,
.build-redesign #defColsList ul {
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 8px;
    background: var(--bebop-white);
    padding: 4px 6px;
}

.build-redesign table.ColumnChooserTable ul > li.selected {
    background: var(--bebop-selected);
    color: var(--bebop-ui-primary);
}

.build-redesign .ArrowIcon { border-radius: 4px; transition: opacity 0.15s ease; }
.build-redesign .ArrowIcon.Disabled { opacity: 0.35; }

/* ---- Chart picker dropdown ---- */
.build-redesign .ChartPicker .dropdown-menu {
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.build-redesign .ChartPicker .dropdown-menu li a:hover { background: var(--bebop-ui-primary); }

/* Show report detail rows immediately (they have DisplayNone in HTML for V1 toggle) */
.build-redesign .reportAndChartsDetail.DisplayNone { display: block !important; }
.build-redesign .reportAndChartsHeaderSubHeader { display: table-row !important; }

/* ---- Report & Charts header ---- */
.build-redesign div.SettingsSect > table tr.reportAndChartsHeader span.reportAndChartsBold {
    font-weight: 600;
    color: var(--bebop-neutral-100);
}

.build-redesign div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink {
    color: var(--bebop-ui-primary);
}

.build-redesign .reportAndChartsDetail {
    display: table-row !important;
}

/* Report & Charts detail rows: remove dividers, collapse empty label cell */
.build-redesign .reportAndChartsDetail td {
    border-top: none !important;
}

.build-redesign .reportAndChartsDetail > td:first-child:not([colspan]):not([class]) {
    display: none;
}

.build-redesign .SettingsSect .reportAndChartsDetail td.displayRoleSection {
    padding: 6px 10px 6px 32px;
}

.build-redesign .reportAndChartsDetail .subHeader {
    color: var(--black-600);
    font-size: 13px;
    padding-left: 8px;
}

/* Remove the divider above "Only me" */
.build-redesign .reportAndChartsDetail .displayRoleSeparator,
.build-redesign tr.reportAndChartsDetail > td.displayRoleSeparator,
.build-redesign tr.reportAndChartsDetail:has(> td.displayRoleSeparator) {
    display: none;
}

/* Add divider above "Group for this report" */
.build-redesign .reportAndChartsDetail:has(> td.reportAndChartsBasicLabel) {
    border-top: 1px solid var(--bebop-neutral-700);
}

.build-redesign .reportAndChartsDetail > td.reportAndChartsBasicLabel,
.build-redesign .reportAndChartsDetail > td.reportAndChartsGroup {
    padding-top: 14px !important;
}

.build-redesign div.SettingsSect > table.SettingsSectTable > tbody > tr.reportAndChartsDetail > td.reportAndChartsBasicLabel {
    vertical-align: baseline;
    line-height: 30px;
    width: 50%;
    min-width: auto;
}

/* Group dropdown fills 50% of remaining space */
.build-redesign .reportAndChartsDetail > td.reportAndChartsGroup {
    width: 50%;
}

.build-redesign .reportAndChartsDetail > td.reportAndChartsGroup select.dropListWidth {
    width: 100%;
}

.build-redesign div.SettingsSect > table tr td.reportAndChartsGroup div#reportGroupsPersonal div {
    margin-top: 6px;
}

/* Angular chart builder: role selector padding and divider fixes */
.build-redesign .roleSelectList .roleSelectorSection {
    padding-left: 16px;
}

.build-redesign .reportBuilderChartAccess .roleSelectList .roleSelectorSection .subHeader {
    margin-left: 27px !important;
}

/* Angular chart builder: grouping selector layout */
.build-redesign .reportBuilderChartAccess .reportGroupingSection {
    border-top: 1px solid var(--bebop-neutral-700);
    padding-top: 14px;
    margin-top: 10px;
}

.build-redesign .reportBuilderChartAccess .reportGroupingSection > .control-header {
    display: flex;
    align-items: center;
}

.build-redesign .reportBuilderChartAccess .reportGroupingSection .reportGroupLabel {
    width: auto;
    margin-top: 0;
    flex-shrink: 0;
}

.build-redesign .reportBuilderChartAccess .reportGroupingSection .reportGroupList,
.build-redesign .reportBuilderChartAccess .reportGroupingSection .reportGroupMine {
    margin-left: auto;
    width: 50%;
}

.build-redesign .reportBuilderChartAccess .reportGroupingSection .reportGroupList select,
.build-redesign .reportBuilderChartAccess .reportGroupingSection .reportGroupMine select {
    width: 100%;
}

.build-redesign input[type="radio"],
.build-redesign input[type="checkbox"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.build-redesign .reportBuilderChartAccess .reportGroupingSection .reportGroupMine .personalReportGroupText {
    margin-left: 0;
}

.build-redesign div.SettingsSect > table.SettingsSectTable tr td.reportAndChartsDetailHeader {
    padding-bottom: 6px;
    padding-top: 14px !important;
}

/* ---- Role checkboxes container ---- */
.build-redesign div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div#whichRoles1 {
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 6px;
}

/* ---- Report group dropdown ---- */
.build-redesign div.SettingsSect > table tr td.reportAndChartsGroup select.dropListWidth {
    border-radius: 6px;
    border: 1px solid var(--bebop-neutral-600);
}

.build-redesign #reportGroupsList {
    width: 322px;
}

/* ---- Card breakout: color-coding, icons, report formulas, filters ---- */
.build-redesign #colorizationOptions,
.build-redesign #iconizationOptions,
.build-redesign #calculatedCols,
.build-redesign #filtering {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.build-redesign #colorizationOptions,
.build-redesign #iconizationOptions,
.build-redesign #calculatedCols {
    margin: 0 0 28px;
}

/* Section descriptors for breakout sections */
.build-redesign #colorOptionHelp,
.build-redesign #iconOptionHelp {
    font-size: 14px;
    color: var(--black-600);
    margin: -6px 0 10px 0;
    padding: 0;
}

.build-redesign #colorOptionHelp .HintText,
.build-redesign #iconOptionHelp .HintText {
    font-size: 14px;
    color: var(--black-600);
}

.build-redesign #ccHelpSection { width: auto; line-height: 1.5; }

/* Inner cards for breakout sections */
.build-redesign #colorOptions,
.build-redesign #iconOptions,
.build-redesign #ccSection {
    background: var(--bebop-white);
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 0;
}

.build-redesign #ccSection {
    padding: 22px 24px;
}

/* ---- Color-coding & icons: two-column option layout ---- */
.build-redesign #colorOptions > div > div.colorOptionChoice,
.build-redesign #iconOptions > div > div.iconOptionChoice {
    display: flex;
    align-items: flex-start;
    padding: 10px 10px;
    margin-bottom: 0;
}

.build-redesign #colorOptions .optionName {
    margin-bottom: 0;
    margin-left: 4px;
}

.build-redesign #appearanceOption { padding-top: 0; }

.build-redesign #colorOptions > div > div.colorOptionChoice > label,
.build-redesign #iconOptions > div > div.iconOptionChoice > label {
    flex: 0 0 170px;
    width: 170px;
    min-width: 100px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--black-700);
}

.build-redesign #colorOptions > div > div.colorOptionChoice > div,
.build-redesign #iconOptions > div > div.iconOptionChoice > div,
.build-redesign #formulaContainer,
.build-redesign #assignColorOptionPicker {
    flex: 1;
    min-width: 0;
}

.build-redesign #colorAppearanceContainer { border-top: 1px solid var(--bebop-neutral-700); }

.build-redesign #assignColorOption > label,
.build-redesign #formulaOption > label,
.build-redesign #noColorOption > label,
.build-redesign #defaultWeightOption > label,
.build-redesign #paleWeightOption > label,
.build-redesign #solidWeightOption > label,
.build-redesign #noIconOption > label {
    visibility: hidden;
}

.build-redesign #rcc,
.build-redesign #td_seriesFieldChoices_1,
.build-redesign #hybrid-row-color-picker,
.build-redesign #td_seriesFieldChoicesIcon_1,
.build-redesign #hybrid-row-icon-picker {
    margin-left: 0;
}

.build-redesign #rcc,
.build-redesign #td_seriesFieldChoices_1,
.build-redesign #td_seriesFieldChoicesIcon_1 {
    margin-top: 10px;
}

.build-redesign #rcc .colorFormula { padding-right: 16px; }

/* ---- Report & summary formulas ---- */
.build-redesign #ccSection > .ccRow,
.build-redesign #aggccSection > .ccRow,
.build-redesign #aggccSection > .aggccRow {
    width: 100%;
    box-sizing: border-box;
}

.build-redesign #ccSection .formulaCtr,
.build-redesign #ccSection .formulaTextArea,
.build-redesign #aggccSection .formulaCtr,
.build-redesign #aggccSection .formulaTextArea {
    width: 100%;
    box-sizing: border-box;
}

.build-redesign #ccSection .formulaHelperContainer > a,
.build-redesign #aggccSection .formulaHelperContainer > a {
    margin-right: 20px;
}

.build-redesign #addNewCC { margin-top: 10px; }
.build-redesign #aggccHelpSection { width: auto; }

/* ---- Filter criteria ---- */
.build-redesign #critSection {
    max-width: 100%;
    box-sizing: border-box;
}

.build-redesign table.SimpleMode,
.build-redesign #critSection table {
    max-width: 100%;
    table-layout: auto;
}

.build-redesign #critSection table {
    width: 100%;
    border-collapse: collapse;
}

.build-redesign #critSection td { 
    white-space: normal !important;
}

.build-redesign #critSection #filterCriteriaGeneralTable > tfoot {
    display: none;
}

.build-redesign #critSection .criterion td {
    padding: 0;
}

.build-redesign #critSection tr.origwrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    max-width: 100%;
    align-items: center;
    position: relative;
    margin-left: 32px;
}

.build-redesign #critSection tr.origwrapper > td {
    display: block;
    min-width: 0;
    padding: 0;
}

.build-redesign #critSection tr.origwrapper > td.andOrText {
    font-size: 13px;
    color: var(--bebop-neutral-300);
    line-height: 34px;
    width: 24px;
    position: absolute;
    left: -27px;
    top: 10px;
}

.build-redesign #critSection td[id^="timeStampOptions_"] table tr,
.build-redesign #critSection td[id^="standardOptions_"] table tr {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 6px;
    align-items: center;
}

.build-redesign #critSection td[id^="timeStampOptions_"] table tr > td,
.build-redesign #critSection td[id^="standardOptions_"] table tr > td {
    display: block;
    padding: 0;
}

.build-redesign #critSection td[id^="timeStampOptions_"] > table { width: 100%; }

.build-redesign #critSection td[id^="timeStampOptions_"] td[id^="theDateCell_"] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.build-redesign #critSection .ui-datepicker-trigger {
    flex-shrink: 0;
    margin: 0;
}

.build-redesign #critSection table.SimpleMode {
    width: 100%;
    box-sizing: border-box;
}

.build-redesign #critSection tr.origwrapper select,
.build-redesign #critSection tr.origwrapper input[type="text"]:not(.advGroups) {
    max-width: 200px;
    box-sizing: border-box;
    margin: 0 !important;
}

.build-redesign #critSection tr.origwrapper select,
.build-redesign #critSection tr.origwrapper input[id^="matchText_"] {
    width: 200px;
}

.build-redesign #critSection table.indenter > tbody > tr > td {
    padding: 0;
}

/* ---- Sorting & grouping ---- */
.build-redesign #sortSection { 
    padding-left: 0;
    margin-left: -170px;
}

.build-redesign #sortGroupTable {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
}

.build-redesign #sourceDataTableBody h3 {
    margin-top: 0;
}

.build-redesign #sourceDataTableBody td:has(> #newAggSumDataTable) {
    border-top: none;
    padding: 0 0 0 8px;
}

.build-redesign #sourceDataTableBody .aggSumRowFieldName {
    max-width: 120px;
}

.build-redesign #aggAddNewCC {
    border-radius: 100px;
}

.build-redesign #aggccSection .EditableAggRow.Editing {
    background-color: var(--bebop-selected);
    border: 1px solid var(--bebop-ui-primary);
}

.build-redesign #aggccSection .EditableAggRow.Editing .aggccInput input {
    max-width: 150px;
    width: auto;
}

.build-redesign #ccSection .formulaCtr [id$="_aceEditor"],
.build-redesign #aggccSection .formulaCtr [id$="_aceEditor"] {
    max-width: 100% !important;
} 

.build-redesign #sourceDataTableBody .Select {
    width: 200px;
}

.build-redesign #sortGroupTable tr.origwrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 0;
}

.build-redesign #sortGroupTable tr.origwrapper > td {
    display: block;
    min-width: 0;
    white-space: normal !important;
}

.build-redesign #sortGroupTable tr.origwrapper > td[id^="sortThen_"] { 
    flex: 0 0 auto;
    color: var(--bebop-neutral-300);
}

.build-redesign #sortGroupTable table[id^="groupSect_"] { 
    width: auto;
    padding-left: 36px;
}

.build-redesign #sortGroupTable table[id^="groupSect_"] tr {
    display: flex;
    align-items: center;
    gap: 4px;
}

.build-redesign #sortGroupTable table[id^="groupSect_"] td {
    display: block;
    white-space: nowrap;
    padding: 0;
    color: var(--bebop-neutral-300);
}

.build-redesign #sortGroupTable select { max-width: 100%; box-sizing: border-box; }

.build-redesign #sortGroupTable select.sortFid,
.build-redesign #sortGroupTable .Select {
    width: 250px;
}

.build-redesign .hybridUI .Select .Select-control {
    border-radius: 8px;
    border-color: var(--bebop-neutral-600)
}

.build-redesign .hybridUI .Select .Select-control:hover {
    box-shadow: none;
}

.build-redesign .hybridUI .Select .Select-control .Select-value {
    line-height: 32px;
}

.build-redesign .hybridUI .Select .Select-control .Select-input {
    height: 32px;
}

.build-redesign #sortGroupTable tr.origwrapper > td {
    padding: 0;
}

.build-redesign #sortGroup .SortGroupOption {
    padding: 8px 0 0 0;
}

.build-redesign .criteriaSet.hybridStyle .buttonCell {
    padding-right: 12px;
    width: 45px;
    vertical-align: baseline;
    line-height: 42px;
}

.build-redesign .criteriaSet.hybridStyle .critGroupHeader.critRowHover,
.build-redesign .criteriaSet.hybridStyle .critGroupOuter.critRowHover,
.build-redesign .criteriaSet.hybridStyle .criterion.critRowHover {
    background: unset !important;
}

.build-redesign .criteriaSet.hybridStyle .critGroupHeader > td,
.build-redesign .criteriaSet.hybridStyle .critGroupOuter > td,
.build-redesign .criteriaSet.hybridStyle .criterion > td {
    border: none !important;
}

/* ---- Filters section ---- */
.build-redesign #topTable #filtering {
    margin-bottom: 28px;
}

.build-redesign #filtering > table.SettingsSectTable {
    margin: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.build-redesign #filtering > table.SettingsSectTable > tbody > tr,
.build-redesign #filtering > table.SettingsSectTable > tbody > tr > td {
    display: block;
    width: 100%;
}

.build-redesign #filtering > table.SettingsSectTable > tbody > tr > td {
    border-top: none;
    padding: 0;
}

.build-redesign #filtering > table.SettingsSectTable > tbody > tr > td.Bold {
    font-size: 15px;
    font-weight: 600;
    color: var(--bebop-neutral-100);
    padding: 6px 0;
}

.build-redesign #filtering > table.SettingsSectTable > tbody > tr > td.Bold + td {
    padding: 0 0 10px;
}

.build-redesign #filtering > table.SettingsSectTable > tbody > tr > td:first-child:empty {
    display: none;
}

.build-redesign #filtering > table.SettingsSectTable > tbody > tr > td:first-child:empty + td {
    background: var(--bebop-white);
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 10px;
    padding: 22px 24px;
    overflow: visible;
    min-width: 700px;
    box-sizing: border-box;
}

.build-redesign #filtering > table.SettingsSectTable > tbody > tr:not(:last-child) > td:first-child:empty + td {
    margin-bottom: 12px;
}


.build-redesign #quickFiltersSection { min-width: 0; width: 100%; }
.build-redesign #quickFiltersSettings { float: none; width: 100%; }

.build-redesign #critSection table.SimpleMode > tfoot td { padding-top: 8px; }
.build-redesign #critSection table.SimpleMode > tfoot .stdButton { margin-right: 4px; }
.build-redesign #critSection table.SimpleMode > thead td { padding: 2px 0; }

.build-redesign #critSection table.SimpleMode > thead img[height],
.build-redesign #critSection table.SimpleMode > tfoot img[height] {
    height: 4px !important;
}

.build-redesign #critSection table.SimpleMode > tbody > tr > td { padding: 0; }

.build-redesign #critSection .critGroup {
    padding: 0;
    border-collapse: separate;
}

.build-redesign #critSection .Select {
    width: 200px;
}

.build-redesign #critSection .criteriaSet.hybridStyle .buttonCell {
    width: 92px;
    padding-right: 12px;
}

.build-redesign #xsldoc1 {
    margin: 8px 2px;
    display: block;
}

.build-redesign .HintText.WithLeftSpace {
    padding-left: 26px;
}

.build-redesign table.ColumnChooserTable ul > li {
    width: 240px;
    text-overflow: ellipsis;
    margin: 3px 0;
    line-height: 18px;
}

.build-redesign #defColsList ul,
.build-redesign table.ColumnChooserTable ul {
    min-width: 260px;
}

body.UXV2 .build-redesign table.ColumnChooserTable ul.Facetable > li.Facetable {
    background-image: url("images/icons/svgIcons/filter-qbsprite.svg");
    background-size: 10px 10px;
}

.build-redesign .Icon.Flag {
    background-image: url("images/icons/svgIcons/filter-qbsprite.svg");
    background-size: 10px 10px;
}

.build-redesign table.ColumnChooserTable ul {
    height: 300px;
}

.build-redesign .ColumnChooserTable .AvailableScopeItem > span.ClearContainer {
    width: 100%;
}

.build-redesign .ArrowIcon.AddToReport {
    background: url("images/icons/svgIcons/back-arrow-qbsprite.svg") no-repeat center center;
    transform: rotate(180deg);
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 6px;
    background-size: 12px;
    margin: 0 2px;
}

.build-redesign .ArrowIcon.RemoveFromReport {
    background: url("images/icons/svgIcons/back-arrow-qbsprite.svg") no-repeat center center;
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 6px;
    background-size: 12px;
    margin: 0 2px;
}

.build-redesign .ArrowIcon.MoveUp {
    background: url("images/icons/svgIcons/arrow-up-qbsprite.svg") no-repeat center center;
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 6px;
    background-size: 12px;
    background-position: 50% 6px;
    margin: 4px 2px;
}

.build-redesign .ArrowIcon.MoveUpMulti {
    background: url("images/icons/svgIcons/chevron-up-qbsprite.svg") no-repeat center center;
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 6px;
    background-size: 12px;
    background-position: 50% 8px;
    margin: 4px 2px;
}

.build-redesign .ArrowIcon.MoveDown {
    background: url("images/icons/svgIcons/arrow-down-qbsprite.svg") no-repeat center center;
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 6px;
    background-size: 12px;
    background-position: 50% 0;
    margin: 4px 2px;
}

.build-redesign .ArrowIcon.MoveDownMulti {
    background: url("images/icons/svgIcons/chevron-down-qbsprite.svg") no-repeat center center;
    border: 1px solid var(--bebop-neutral-600);
    border-radius: 6px;
    background-size: 12px;
    background-position: 50% 8px;
    margin: 4px 2px;
}

.build-redesign #viewFiltersList {
    height: 88px;
    overflow: hidden;
}

.build-redesign #autoQuickFilters, .build-redesign #quickFilters, .build-redesign #noQuickFilters {
    margin-left: 0;
}

/* ============================================================
   CHART BUILDER (ReportCreateChart) — V2 overrides
   ============================================================ */

.build-redesign #chartBasicsSection .SettingsSectTable > tbody > tr > td:first-child:not([colspan]) {
    width: 50%;
}

.build-redesign #chartDetails {
    min-height: 55px
}

.build-redesign #chartChartSection .SettingsSectTable {
    table-layout: auto;
}

/* ============================================================
   Map BUILDER  — V2 overrides
   ============================================================ */

.build-redesign #columnsToDisplay.SettingLine .Left {
    width: 170px;
}

/* ============================================================
   Kanban BUILDER  — V2 overrides
   ============================================================ */

.build-redesign #kanbanColumnChoicesSection .disabledText.HintText {
    display: block;
    margin-left: 26px;
}

/* ============================================================
   Calendar BUILDER  — V2 overrides
   ============================================================ */

.build-redesign #calSection .SettingsSectTable {
    table-layout: auto;
}

.build-redesign #calSection select,
.build-redesign #calSection .Select {
    width: 280px;
}

.build-redesign #calendarOpts select,
.build-redesign #calendarOpts .Select {
    width: 220px;
}

.build-redesign #calWeekStart .calWeekStartPicker {
    padding-top: 14px;
}

.build-redesign #calWeekStart #weekStart {
    margin-left: 4px;
    width: 135px;
}

/* ============================================================
   timeline BUILDER  — V2 overrides
   ============================================================ */

.build-redesign #timeline {
    padding: 22px 24px;
}

.build-redesign #timeline > table > tbody > tr > td {
    padding-left: 0 !important;
}

.build-redesign #timeline input {
    width: auto;
}

#timeline select:not(#timelineFiscalYearStart) {
    width: 180px;
}

#timeline #tlnbarFields .Select {
    width: 320px;
}

.build-redesign #sortGroup #tlineFinalSortRow.SortGroupOption {
    padding: 22px 24px;
    padding-top: 0;
    margin-top: -10px;
}

/* ============================================================
   summary BUILDER  — V2 overrides
   ============================================================ */
.build-redesign #summarizeData .SettingsSectTable {
    margin: 8px 14px;
}

.build-redesign #newSumRowGroupTable .Select,
.build-redesign #summarizeDataTableBody .Select {
    width: 200px;
}


.build-redesign #newAggSumDataTable .verticalAlignMiddle,
.build-redesign #newSumRowGroupTable .verticalAlignMiddle,
.build-redesign #summarizeDataTableBody .verticalAlignMiddle {
    font-size: 13px;
}

.build-redesign #newSumRowGroupTable .buttonCell,
.build-redesign #summarizeDataTableBody .buttonCell {
    vertical-align: middle;
    padding: 0 0 0 4px;
    min-width: 45px;
}

.build-redesign #newAggSumDataTable .buttonCell {
    vertical-align: middle;
    padding: 0;
    min-width: 60px;
}

.build-redesign #newSumRowGroupTable,
.build-redesign #newSumDataTable {
    margin-top: 16px;
    margin-left: -122px;
    min-width: 100%;
    table-layout: fixed;
}

.build-redesign #groupingAndCrosstabs .SettingsSectTable,
.build-redesign #summarizeData .SettingsSectTable {
    width: auto;
}

.build-redesign #sourceDataTableBody #newAggSumDataTable .origwrapper td,
.build-redesign #groupingAndCrosstabs #newSumRowGroupTable .origwrapper td,
.build-redesign #summarizeData #summarizeDataTableBody .origwrapper td {
    vertical-align: baseline;
}

.build-redesign #groupingAndCrosstabs table tr td:first-child,
.build-redesign #summarizeData > table > tbody > tr > td:first-child {
    width: 100px;
}

.build-redesign #groupingAndCrosstabs table tr td:first-child {
    padding-top: 14px;
}

.build-redesign #newSumSortSection > td {
    border: none;
    padding: 0 10px;
}

.build-redesign #newSumSortTable {
    padding-left: 0;
    margin-left: -172px;
    width: 100%;
    max-width: 100%;
    table-layout: auto;
}

.build-redesign #newSumSortTable .origwrapper td {
    vertical-align: middle;
}

.build-redesign #newSumSortTable select {
    max-width: 200px;
}

.build-redesign #drillDownSectionTable > tbody > tr > td {
    border: none;
}

.build-redesign #newAggSumDataTable {
    margin-top: -14px;
}
