/* v0.12: compact group status and explicit selection controls. */
.selection-actions12,.secondary-actions12{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
#toolbar{flex-wrap:wrap;gap:6px}.secondary-actions12{font-size:12px}
button:disabled,select:disabled{opacity:.43;cursor:not-allowed;filter:saturate(.3)}
#selection-summary{min-height:26px;line-height:1.35;font-size:12px}
.groups-grid11{font-size:12px;min-width:1000px}
.groups-grid11>thead th{white-space:nowrap;padding:7px 6px}
.groups-grid11>tbody>.group-head11>td{padding:6px}
.group-expander11 b{font-size:13px;line-height:1.3}.group-head11 .inline-actions11{gap:3px;max-width:230px}
.group-head11 .inline-actions11 button{font-size:11px;padding:4px 5px;line-height:1.25}
.group-context11{padding:5px 8px}.group-leaves11{font-size:12px}.group-leaves11 th{white-space:nowrap}
.group-leaves11 td{padding:5px 6px}.source-quantity11{width:66px!important}
.job-rollup11 td .muted{display:block}.group-expander11 small{display:block}
.ro-source-picker12{max-height:290px;overflow:auto;border:1px solid #d9e0e6;border-radius:6px}
.ro-source-picker12 button{display:flex;width:100%;text-align:left;gap:12px;border:none;border-bottom:1px solid #e1e7eb;padding:8px;background:white}
.ro-source-picker12 button[aria-selected=true]{background:#e9f5ef}.ro-source-picker12 button span{flex:1}
@media(max-width:760px){
 .groups-grid11{min-width:0!important}.groups-grid11>.group-head11{display:block}
 .groups-grid11>tbody>.group-head11{display:grid;grid-template-columns:28px 1fr 1fr;gap:1px;position:relative;padding:8px}
 .groups-grid11>tbody>.group-head11>td{display:block;padding:3px;min-width:0;text-align:left!important}
 .groups-grid11>tbody>.group-head11>td:first-child{grid-column:1;grid-row:1/3}
 .groups-grid11>tbody>.group-head11>td:nth-child(2){grid-column:2/4}
 .groups-grid11>tbody>.group-head11>td:nth-child(3){grid-column:2/4}
 .groups-grid11>tbody>.group-head11>td:nth-child(4)::before{content:'Ordered: '}
 .groups-grid11>tbody>.group-head11>td:nth-child(5)::before{content:'Qty: '}
 .groups-grid11>tbody>.group-head11>td:nth-child(6)::before{content:'Available: '}
 .groups-grid11>tbody>.group-head11>td:nth-child(7)::before{content:'Avg cost: '}
 .groups-grid11>tbody>.group-head11>td:nth-child(8)::before{content:'Retail: '}
 .groups-grid11>tbody>.group-head11>td:nth-child(9)::before{content:'Min/max: '}
 .groups-grid11>tbody>.group-head11>td:nth-child(n+4){grid-column:auto}
 .groups-grid11>tbody>.group-head11>td:last-child{grid-column:1/4}
 .groups-grid11>tbody>.group-head11 .inline-actions11{max-width:none}
 .group-leaves11{min-width:950px}.group-expanded11>td{padding:3px!important}
 .group-expanded11 .table-wrap{max-width:calc(100vw - 45px);overflow:auto}
 .selection-actions12 button{min-height:33px}.secondary-actions12 button{min-height:32px}
 #selection-summary{font-size:12px}.groups-grid11>tbody>.group-head11 .group-expander11{white-space:normal}
}

/* The table helper wraps each table in a div; use the actual DOM hierarchy. */
.groups-grid11{min-width:0!important;overflow:auto}.groups-grid11>table{min-width:1170px}
.groups-grid11>table>tbody>.group-head11>td{padding:5px 6px!important;font-size:12px}
.groups-grid11>table>tbody>.group-head11>td:nth-child(2){min-width:190px;max-width:265px}
.groups-grid11>table>tbody>.group-head11>td:nth-child(3){min-width:100px;max-width:150px}
.groups-grid11 .group-head11 .inline-actions11{max-width:none;white-space:nowrap;flex-wrap:nowrap}
.groups-grid11 .group-head11 .inline-actions11>button{font-size:11px;line-height:1.2;padding:4px 6px}
@media(max-width:650px){
 body.v08-parts #table-area .groups-grid11>table{min-width:0!important;display:block;width:100%}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr)!important;gap:4px 6px!important;padding:8px!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td{display:block!important;grid-column:auto!important;grid-row:auto!important;max-width:none!important;min-width:0!important;font-size:12px!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:first-child{grid-column:1!important;grid-row:1/7!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(2){grid-column:2/4!important;grid-row:1!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(3){grid-column:2/4!important;grid-row:2!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(4){grid-column:2!important;grid-row:3!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(5){grid-column:3!important;grid-row:3!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(6){grid-column:2!important;grid-row:4!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(7){grid-column:3!important;grid-row:4!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(8){grid-column:2!important;grid-row:5!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(9){grid-column:3!important;grid-row:5!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(10){grid-column:2/4!important;grid-row:6!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(4)::before{content:'Ordered: '!important;display:inline!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(5)::before{content:'Qty: '!important;display:inline!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(6)::before{content:'Available: '!important;display:inline!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(7)::before{content:'Avg cost: '!important;display:inline!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(8)::before{content:'Retail: '!important;display:inline!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11>td:nth-child(9)::before{content:'Min/max: '!important;display:inline!important}
 .groups-grid11 .group-head11 .inline-actions11{white-space:normal;flex-wrap:wrap;gap:3px}
}

.groups-grid11 .group-head11 .row-menu{width:32px;min-width:32px;flex:0 0 32px}.groups-grid11 .group-head11 .row-menu>summary{width:32px;min-width:32px;padding:2px 6px!important}

/* Show applicable AND disabled actions after selection, including on phones. */
@media(max-width:650px){
 body.v08-parts #toolbar[data-item-selection="false"] .selection-actions12{display:none}
 body.v08-parts #toolbar[data-item-selection="true"] .selection-actions12{display:flex;width:100%}
 body.v08-parts #toolbar[data-item-selection="true"] .selection-actions12 button[disabled],
 body.v08-parts #toolbar[data-item-selection="true"] .secondary-actions12 button[disabled]{display:inline-block!important}
 body.v08-parts #table-area .groups-grid11>table>tbody>tr.group-head11[data-inventory12="false"]>td:nth-child(9){display:none!important}
}
.ro-source-picker12 button small{display:block;font-size:11px;line-height:1.35;color:#486176}.ro-source-picker12 button>span:last-child{flex:0 0 auto;white-space:nowrap;align-self:center}
@media(max-width:650px){.ro-source-picker12 button{flex-wrap:wrap;gap:3px}.ro-source-picker12 button>span:first-child{flex-basis:100%}.ro-source-picker12 button>span:last-child{font-size:12px;white-space:normal}}
