/* v0.20: compact source controls, saved order views, optional sticky identity. */
.activefilters20 {display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:7px 2px 3px;min-height:28px;font-size:11px;color:#617689;}
.filterchip20 {display:inline-flex;gap:4px;align-items:center;padding:3px 7px;border:1px solid #d5e2eb;border-radius:12px;background:#f3f7fa;line-height:1.4;max-width:100%;overflow-wrap:anywhere;}
.filterchip20 b {font-weight:600;color:#3e627d;}
#po-view-options20 {position:absolute;z-index:35;left:0;right:0;min-width:240px;top:36px;background:white;border:1px solid #c8d7e1;border-radius:6px;box-shadow:0 5px 20px #213e6026;max-height:290px;overflow:auto;padding:5px;}
#po-view-options20 button {display:block;text-align:left;width:100%;border:0;background:white;padding:8px;font-size:12px;border-radius:3px;}
#po-view-options20 button[aria-selected=true],#po-view-options20 button:hover {background:#eaf2f8;}
#po-view-options20 .newview19 {border-top:1px solid #dde5ed;color:#1b5e8d;font-weight:700;margin-top:3px;}
#toolbar .bulkbar15 {display:grid;grid-template-columns:minmax(340px,1fr) minmax(420px,1.2fr);gap:12px;padding:7px 0 3px;}
#toolbar .movepack20 {display:flex;flex-direction:column;gap:7px;min-width:0;}
#toolbar .movepack20 .moveactions15,#toolbar .movepack20 .packactions16 {display:grid;grid-template-columns:44px 1fr;gap:5px;align-items:start;margin:0;padding:0;border:0;width:100%;}
#toolbar .movepack20 section>span {font-size:11px;font-weight:700;text-transform:none;letter-spacing:0;color:#3c586e;padding-top:6px;}
#toolbar .movepack20 .actions {display:flex;gap:4px;flex-wrap:wrap;}
#toolbar .movepack20 button,#toolbar .statusactions15 button {padding:5px 7px;font-size:11px;min-height:29px;white-space:nowrap;}
#toolbar .statusactions15 {align-items:flex-end;min-width:0;}
#toolbar .statusactions15>.actions {justify-content:flex-end;}
#toolbar .createactions19 {width:100%;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin-top:7px;padding-top:7px;}
.enterorder20 {display:inline-flex!important;align-items:stretch!important;gap:0!important;padding:0!important;min-height:34px!important;border:0!important;border-radius:6px!important;overflow:hidden;background:#196898!important;color:white!important;font-size:12px!important;font-weight:600;box-shadow:0 1px 2px #16394a20;}
.enterorder20>span:first-child {padding:8px 12px;display:flex;align-items:center;}
.enterorder20>span:last-child {padding:5px 11px;font-size:21px;line-height:22px;background:#2b9a72;border-left:1px solid #b8dfd033;display:flex;align-items:center;}
.enterorder20:hover:not(:disabled)>span:first-child {background:#135b88;}
.enterorder20:hover:not(:disabled)>span:last-child {background:#218661;}
.enterorder20:disabled {opacity:.5;cursor:not-allowed;}
#toolbar .rightorder20 {margin-left:auto;justify-content:flex-end;}
#toolbar:has(.purchaseactions20) {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0 2px;}
.purchaseactions20 {flex-wrap:wrap;gap:5px;}
.purchaseactions20 button {font-size:11px;padding:6px 9px;}
.selection20 {display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;line-height:1.4;color:#566e82;padding:6px 9px;border:1px solid #dce5eb;background:#f8fafc;border-radius:6px;margin:5px 0;}
.selection20>strong {color:#244f70;font-weight:650;}
.selection20 b {font-variant-numeric:tabular-nums;}
.selection20>small {font-size:10px;color:#6f8192;margin-left:auto;}
.selection20 button {font-size:10px;min-height:23px;padding:3px 6px;}
.items19 .selecttoggle20 {margin-left:0;border:1px solid #a7bece;background:#fff;height:27px;width:29px;}
.items19 .selecttoggle20[aria-pressed=true] {background:#dcefe8;color:#256b55;border-color:#8abbab;}
.items19 .evidence19 {min-width:0;justify-content:flex-start;gap:3px;}
.items19 td[data-col19=details] {padding:5px 8px;}
.items19 td[data-col19=documents] {white-space:nowrap;}
.items19 .pinned20,.orders20 .pinned20 {position:sticky!important;z-index:2;border-right:1px solid #d6e2eb;box-shadow:4px 0 6px -7px #4b6579;}
.items19 th.pinned20,.orders20 th.pinned20 {z-index:4;}
.items19 th.pinned20 {background:#eaf0f4;}
.items19 .inventoryx15 svg {width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.items19 .leafquantity19 .qty13 {width:70px!important;max-width:100%!important;}
.typebutton20 {padding:5px 8px!important;background:#f7f9fb!important;border-color:#d1dde6!important;color:#3f6078!important;font-size:11px;}
.demandrow20 td {background:#fffdf5!important;color:#6a654d;}
.demandbadge20 {display:inline-block;background:#fff1cc;border:1px solid #e1cc91;color:#7d6226;border-radius:10px;font-size:10px;padding:3px 7px;}
.demandrow20 small {font-size:10px;display:block;margin-top:3px;}
.demandrow20 .sourcekind19 {color:#937624;}
.demandmark20 {display:inline-flex;padding:3px 8px;color:#a98938;font-size:19px;}
.orders20 {overflow:auto;max-width:100%;position:relative;border:1px solid #d9e2e9;border-radius:8px;margin-top:8px;}
.orders20>table {border-collapse:separate;border-spacing:0;font-size:12px;}
.orders20>table>thead>tr>th {position:relative;background:#eaf0f4;color:#334b5c;padding:9px 9px;font-size:11px;vertical-align:middle;overflow-wrap:anywhere;white-space:normal;}
.orders20>table>tbody>tr>td {background:white;font-size:12px;padding:9px;border-bottom:1px solid #e0e8ee;vertical-align:middle;overflow-wrap:anywhere;}
.orders20>table>tbody>tr.detail-row>td {background:#f6f9fb;padding:10px;}
.orders20 [data-resize-po20] {position:absolute;right:0;top:0;bottom:0;width:8px;cursor:col-resize;touch-action:none;border-right:2px solid transparent;z-index:5;}
.orders20 [data-resize-po20]:hover,.orders20 [data-resize-po20]:focus-visible {background:#cfdfeb;border-right-color:#537e9f;outline:none;}
.orders20>table>thead>tr>th>button {font-size:11px;text-align:left;white-space:normal;line-height:1.3;}
.orders20 .scan-actions {display:flex;flex-wrap:wrap;gap:3px;}
.orders20 .scan-actions button {font-size:10px;padding:4px;}
.orders20 .detail-row .table-wrap {max-width:min(1600px,calc(100vw - 300px));overflow:auto;}
.orders20 .detail-row th,.orders20 .detail-row td {font-size:11px;padding:7px 8px;}
.suggestionhost20 {position:relative;}
.ordersuggestions20 {position:absolute;top:100%;left:0;min-width:100%;max-width:420px;z-index:50;background:#fff;border:1px solid #abc3d6;border-radius:6px;box-shadow:0 7px 24px #183b6329;max-height:250px;overflow:auto;padding:4px;}
.ordersuggestions20 button {display:flex;flex-direction:column;align-items:flex-start;width:100%;border:0;border-bottom:1px solid #e8edf1;border-radius:3px;background:white;padding:8px 10px;text-align:left;white-space:normal;}
.ordersuggestions20 button:hover,.ordersuggestions20 button:focus-visible {background:#eaf4fa;outline:2px solid #8fb7ce;outline-offset:-2px;}
.ordersuggestions20 strong {font-size:12px;color:#2c526f;}
.ordersuggestions20 span {font-size:11px;color:#678095;}
.countmetrics20 {display:flex;flex-wrap:wrap;gap:14px;padding:12px;background:#f0f6fa;border:1px solid #d9e6ef;border-radius:7px;margin-bottom:12px;}
.countmetrics20 span {display:flex;flex-direction:column;font-size:11px;color:#60788c;min-width:85px;}
.countmetrics20 b {font-size:24px;font-variant-numeric:tabular-nums;color:#294f6c;}
.fulfillment20 {display:flex;flex-wrap:wrap;gap:5px;font-size:11px;margin-top:5px;}
.fulfillment20 span {padding:2px 6px;border-radius:10px;background:#ecf3f8;color:#42647d;}
.fulfillment20 .needed20 {background:#fff0cc;color:#826323;}
@media(min-width:801px){body[data-density=comfortable] .orders20>table>tbody>tr>td{padding-top:14px;padding-bottom:14px;}}
@media(max-width:1100px){#toolbar .bulkbar15{grid-template-columns:1fr;}#toolbar .statusactions15>.actions{justify-content:flex-start;}#toolbar .statusactions15{align-items:stretch;}.selection20>small{margin-left:0;}.configfoot19{flex-wrap:wrap;}}
@media(max-width:800px){.orders20>table,.orders20 .detail-row table{display:table!important;}.orders20 thead{display:table-header-group!important;}.orders20 tbody{display:table-row-group!important;}.orders20 tr{display:table-row!important;}.orders20 th,.orders20 td{display:table-cell!important;}.orders20 td:before{display:none!important;}.orders20 .detail-row .table-wrap{max-width:calc(100vw - 64px);}.selection20{gap:7px;font-size:10px;}.selection20>small{width:100%;}#toolbar .bulkbar15{grid-template-columns:minmax(0,1fr);}#toolbar .movepack20 .moveactions15,#toolbar .movepack20 .packactions16{grid-template-columns:38px 1fr;}.enterorder20{font-size:11px!important;}.enterorder20>span:first-child{padding:7px 8px;}#toolbar:has(.purchaseactions20){flex-wrap:wrap;}#toolbar .rightorder20{width:100%;}#toolbar .createactions19{justify-content:flex-end;}}

#toolbar:has(.bulkbar15) {display:block;}
#toolbar .bulkbar15 {width:100%;box-sizing:border-box;}
.items19 th[data-head19=details] {white-space:nowrap;}
#table-area[aria-busy=true] {cursor:progress;}

.leafname19 .quoteprice20 {color:#235c82;font-weight:600;font-size:10px;margin-top:3px;}
