/* Keep recovery-document controls inside the document at every desktop width. */
.line-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:9px;max-width:100%}
.line-actions .search{min-width:0;max-width:100%;margin-left:auto}
.line-actions .search input{width:min(260px,100%)}
@media(max-width:850px){.line-actions .search{margin-left:0;flex:1 1 100%}.line-actions .search input{width:100%}}

/* The recovery detail has many columns. Keep its note column within the document. */
.doc-card .section-body{overflow:hidden}
.doc-card .section-body table{table-layout:fixed;min-width:0}
.doc-card .section-body th,.doc-card .section-body td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.doc-card .section-body input,.doc-card .section-body select{min-width:0;max-width:100%}
.doc-card textarea{width:100%;min-width:0}

/* Purchasing is an inbound cost document, never a profit document. */
body[data-route="purchases"] .main-panel > table tr > :nth-child(6),
body[data-route="purchases"] .main-panel > table tr > :nth-child(7){display:none}

.customer-results{position:absolute;z-index:30;top:100%;left:0;right:0;max-height:260px;overflow:auto;background:#fff;border:1px solid #aac3d9;box-shadow:0 8px 20px rgba(24,62,91,.2)}
#peer-customer-field{position:relative}
.issue-picker{position:relative}
.customer-result{display:flex;width:100%;padding:9px 11px;border:0;border-bottom:1px solid #e8eef3;background:#fff;text-align:left;cursor:pointer;flex-direction:column;gap:2px}
.customer-result:hover{background:#e8f4ff}.customer-result span{font-size:12px;color:#657687}.badge{display:inline-block;padding:3px 8px;border-radius:99px;background:#e8f4ff;color:#19689b;font-size:12px}

.work-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid #d9e2ea;margin-bottom:12px;padding-bottom:10px}.work-tab{display:flex;gap:7px;align-items:center;padding:8px 11px;border:1px solid #c9d7e1;background:#f8fbfd;color:#445b6e;text-decoration:none;border-radius:3px}.work-tab.active,.work-tab:hover{background:#dff2ff;border-color:#55aae0;color:#126d9f}.work-tab span{min-width:19px;padding:1px 5px;border-radius:10px;background:#e6edf2;text-align:center;font-size:12px}.work-tab.active span{background:#168ed2;color:#fff}.work-table small{display:block;color:#6d7d8b;margin-top:3px}.work-order-no{font-weight:700;color:#126d9f;text-decoration:none}.work-order-no:hover{text-decoration:underline}.draft-mark{color:#b66a00!important;font-weight:700}.cell-wrap{white-space:normal;min-width:150px;max-width:240px;line-height:1.45}@media(max-width:850px){.work-tabs{overflow:auto;flex-wrap:nowrap}.work-tab{white-space:nowrap}.work-table{font-size:12px}}

/* Repair workbench: dense desktop records grid, matching the original system. */
.workbench-list-wrap{max-height:calc(100vh - 380px);min-height:300px;overflow:auto;border:1px solid #d5e1e9}.workbench-list-wrap .work-table{width:max-content;min-width:1520px;border-collapse:collapse;font-size:12px}.workbench-list-wrap .work-table th{padding:6px 8px;line-height:1.2;white-space:nowrap;background:#edf3f7}.workbench-list-wrap .work-table td{padding:4px 8px;line-height:1.2;vertical-align:middle;white-space:nowrap;border-top:1px solid #e0e8ee}.workbench-list-wrap .work-table tbody tr{height:29px}.workbench-list-wrap .work-table tbody tr:hover{background:#eaf7ff}.workbench-list-wrap .work-table small{display:inline;margin:0 0 0 4px;line-height:1;font-size:11px;white-space:nowrap}.workbench-list-wrap .work-table .cell-wrap{min-width:120px;max-width:190px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workbench-list-wrap .work-table .btn{padding:4px 8px;font-size:12px;line-height:1.15}.work-pagination{display:flex;align-items:center;gap:12px;min-height:40px;padding:7px 9px;border:1px solid #d5e1e9;border-top:0;background:#f8fbfd;color:#596f7f;font-size:12px}.work-page-size{margin-left:auto}.work-page-size label{display:flex;align-items:center;gap:6px;white-space:nowrap}.work-page-size select{height:28px;padding:2px 6px;border:1px solid #b9cad7;border-radius:3px;background:#fff;font:inherit}.work-page-links{display:flex;align-items:center;gap:7px;white-space:nowrap}.work-page-links a{padding:4px 7px;border:1px solid #cad9e3;border-radius:3px;background:#fff;color:#166f9e;text-decoration:none}.work-page-links a:hover{background:#e0f4ff;border-color:#63adde}.work-page-links span{font-weight:700;color:#39596d}@media(max-width:850px){.workbench-list-wrap{max-height:calc(100vh - 330px);min-height:270px}.work-pagination{flex-wrap:wrap}.work-page-size{margin-left:0}.work-page-links{margin-left:auto}}@media(max-width:560px){.workbench-list-wrap{max-height:360px}.work-pagination{gap:7px}.work-page-links{width:100%;margin-left:0;overflow:auto}.work-page-links a{flex:0 0 auto}}

/* The workbench must fit its available width: no horizontal drag at any window size. */
.workbench-list-wrap{width:100%;overflow-x:hidden}.workbench-list-wrap .work-table{width:100%;min-width:0;table-layout:fixed}.workbench-list-wrap .work-table th,.workbench-list-wrap .work-table td{overflow:hidden;text-overflow:ellipsis}.workbench-list-wrap .work-table th:nth-child(1){width:11%}.workbench-list-wrap .work-table th:nth-child(2){width:9%}.workbench-list-wrap .work-table th:nth-child(3){width:14%}.workbench-list-wrap .work-table th:nth-child(4){width:10%}.workbench-list-wrap .work-table th:nth-child(5){width:11%}.workbench-list-wrap .work-table th:nth-child(6){width:12%}.workbench-list-wrap .work-table th:nth-child(7){width:7%}.workbench-list-wrap .work-table th:nth-child(8){width:6%}.workbench-list-wrap .work-table th:nth-child(9){width:7%}.workbench-list-wrap .work-table th:nth-child(10),.workbench-list-wrap .work-table th:nth-child(11),.workbench-list-wrap .work-table th:nth-child(12),.workbench-list-wrap .work-table th:nth-child(13),.workbench-list-wrap .work-table th:nth-child(14){width:7%}.workbench-list-wrap .work-table th:nth-child(15){width:5%}.workbench-list-wrap .work-table td:not(:first-child){max-width:0}.workbench-list-wrap .work-table td small{overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.workbench-list-wrap .work-table .status{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 5px}.workbench-list-wrap .work-table .btn{white-space:nowrap}.work-pagination{overflow:hidden}@media(max-width:1180px){.workbench-list-wrap .work-table th:nth-child(2),.workbench-list-wrap .work-table td:nth-child(2),.workbench-list-wrap .work-table th:nth-child(6),.workbench-list-wrap .work-table td:nth-child(6),.workbench-list-wrap .work-table th:nth-child(8),.workbench-list-wrap .work-table td:nth-child(8),.workbench-list-wrap .work-table th:nth-child(9),.workbench-list-wrap .work-table td:nth-child(9),.workbench-list-wrap .work-table th:nth-child(11),.workbench-list-wrap .work-table td:nth-child(11),.workbench-list-wrap .work-table th:nth-child(13),.workbench-list-wrap .work-table td:nth-child(13){display:none}.workbench-list-wrap .work-table th:nth-child(1){width:14%}.workbench-list-wrap .work-table th:nth-child(3){width:19%}.workbench-list-wrap .work-table th:nth-child(4){width:15%}.workbench-list-wrap .work-table th:nth-child(5){width:16%}.workbench-list-wrap .work-table th:nth-child(7){width:10%}.workbench-list-wrap .work-table th:nth-child(10),.workbench-list-wrap .work-table th:nth-child(12),.workbench-list-wrap .work-table th:nth-child(14){width:8%}.workbench-list-wrap .work-table th:nth-child(15){width:6%}}@media(max-width:820px){.workbench-list-wrap .work-table th:nth-child(4),.workbench-list-wrap .work-table td:nth-child(4),.workbench-list-wrap .work-table th:nth-child(5),.workbench-list-wrap .work-table td:nth-child(5),.workbench-list-wrap .work-table th:nth-child(12),.workbench-list-wrap .work-table td:nth-child(12),.workbench-list-wrap .work-table th:nth-child(14),.workbench-list-wrap .work-table td:nth-child(14){display:none}.workbench-list-wrap .work-table th:nth-child(1){width:20%}.workbench-list-wrap .work-table th:nth-child(3){width:27%}.workbench-list-wrap .work-table th:nth-child(7){width:17%}.workbench-list-wrap .work-table th:nth-child(10){width:17%}.workbench-list-wrap .work-table th:nth-child(15){width:19%}}@media(max-width:540px){.workbench-list-wrap .work-table th:nth-child(3),.workbench-list-wrap .work-table td:nth-child(3){display:none}.workbench-list-wrap .work-table th:nth-child(1){width:32%}.workbench-list-wrap .work-table th:nth-child(7){width:25%}.workbench-list-wrap .work-table th:nth-child(10){width:25%}.workbench-list-wrap .work-table th:nth-child(15){width:18%}.workbench-list-wrap .work-table td{padding:5px 4px;font-size:11px}.workbench-list-wrap .work-table th{padding:6px 4px;font-size:11px}.work-pagination span:first-child{display:none}}

/* Sortable headings and 16-column responsive workbench layout. */
.work-sort{display:flex;align-items:center;justify-content:space-between;gap:4px;color:inherit;text-decoration:none;white-space:nowrap}.work-sort span{font-size:10px;color:#8aa1af}.work-sort:hover,.work-sort.active{color:#087bb8}.work-sort.active span{color:#087bb8}.workbench-list-wrap .work-table th:nth-child(1){width:10%}.workbench-list-wrap .work-table th:nth-child(2),.workbench-list-wrap .work-table th:nth-child(3){width:9%}.workbench-list-wrap .work-table th:nth-child(4){width:13%}.workbench-list-wrap .work-table th:nth-child(5){width:9%}.workbench-list-wrap .work-table th:nth-child(6),.workbench-list-wrap .work-table th:nth-child(7){width:10%}.workbench-list-wrap .work-table th:nth-child(8){width:7%}.workbench-list-wrap .work-table th:nth-child(9),.workbench-list-wrap .work-table th:nth-child(10){width:6%}.workbench-list-wrap .work-table th:nth-child(11),.workbench-list-wrap .work-table th:nth-child(12),.workbench-list-wrap .work-table th:nth-child(13),.workbench-list-wrap .work-table th:nth-child(14),.workbench-list-wrap .work-table th:nth-child(15){width:7%}.workbench-list-wrap .work-table th:nth-child(16){width:5%}@media(max-width:1180px){.workbench-list-wrap .work-table th,.workbench-list-wrap .work-table td{display:table-cell}.workbench-list-wrap .work-table th:nth-child(3),.workbench-list-wrap .work-table td:nth-child(3),.workbench-list-wrap .work-table th:nth-child(7),.workbench-list-wrap .work-table td:nth-child(7),.workbench-list-wrap .work-table th:nth-child(9),.workbench-list-wrap .work-table td:nth-child(9),.workbench-list-wrap .work-table th:nth-child(10),.workbench-list-wrap .work-table td:nth-child(10),.workbench-list-wrap .work-table th:nth-child(12),.workbench-list-wrap .work-table td:nth-child(12),.workbench-list-wrap .work-table th:nth-child(14),.workbench-list-wrap .work-table td:nth-child(14){display:none}.workbench-list-wrap .work-table th:nth-child(1){width:12%}.workbench-list-wrap .work-table th:nth-child(2){width:11%}.workbench-list-wrap .work-table th:nth-child(4){width:19%}.workbench-list-wrap .work-table th:nth-child(5){width:12%}.workbench-list-wrap .work-table th:nth-child(6){width:15%}.workbench-list-wrap .work-table th:nth-child(8){width:10%}.workbench-list-wrap .work-table th:nth-child(11),.workbench-list-wrap .work-table th:nth-child(13),.workbench-list-wrap .work-table th:nth-child(15){width:7%}.workbench-list-wrap .work-table th:nth-child(16){width:7%}}@media(max-width:820px){.workbench-list-wrap .work-table th,.workbench-list-wrap .work-table td{display:table-cell}.workbench-list-wrap .work-table th:nth-child(3),.workbench-list-wrap .work-table td:nth-child(3),.workbench-list-wrap .work-table th:nth-child(5),.workbench-list-wrap .work-table td:nth-child(5),.workbench-list-wrap .work-table th:nth-child(6),.workbench-list-wrap .work-table td:nth-child(6),.workbench-list-wrap .work-table th:nth-child(7),.workbench-list-wrap .work-table td:nth-child(7),.workbench-list-wrap .work-table th:nth-child(9),.workbench-list-wrap .work-table td:nth-child(9),.workbench-list-wrap .work-table th:nth-child(10),.workbench-list-wrap .work-table td:nth-child(10),.workbench-list-wrap .work-table th:nth-child(12),.workbench-list-wrap .work-table td:nth-child(12),.workbench-list-wrap .work-table th:nth-child(14),.workbench-list-wrap .work-table td:nth-child(14),.workbench-list-wrap .work-table th:nth-child(15),.workbench-list-wrap .work-table td:nth-child(15){display:none}.workbench-list-wrap .work-table th:nth-child(1){width:17%}.workbench-list-wrap .work-table th:nth-child(2){width:16%}.workbench-list-wrap .work-table th:nth-child(4){width:25%}.workbench-list-wrap .work-table th:nth-child(8){width:15%}.workbench-list-wrap .work-table th:nth-child(11),.workbench-list-wrap .work-table th:nth-child(13){width:10%}.workbench-list-wrap .work-table th:nth-child(16){width:7%}}@media(max-width:540px){.workbench-list-wrap .work-table th,.workbench-list-wrap .work-table td{display:table-cell}.workbench-list-wrap .work-table th:nth-child(2),.workbench-list-wrap .work-table td:nth-child(2),.workbench-list-wrap .work-table th:nth-child(4),.workbench-list-wrap .work-table td:nth-child(4){display:none}.workbench-list-wrap .work-table th:nth-child(1){width:29%}.workbench-list-wrap .work-table th:nth-child(8){width:25%}.workbench-list-wrap .work-table th:nth-child(11),.workbench-list-wrap .work-table th:nth-child(13){width:20%}.workbench-list-wrap .work-table th:nth-child(16){width:6%}}
.workbench-list-wrap .workbench-row{cursor:pointer}

/* Repair ticket: compact desktop layout inspired by the existing counter workflow. */
.repair-ticket-form{max-width:1240px}.repair-form-toolbar{margin-bottom:10px}.compact-field{min-width:180px}.ticket-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px}.ticket-fields>label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700;color:#40566a;min-width:0}.ticket-fields input,.ticket-fields select,.ticket-fields textarea{width:100%;box-sizing:border-box;min-width:0;border:1px solid #b9cad7;border-radius:3px;padding:8px;background:#fff;color:#233a4c;font:inherit;font-weight:400}.ticket-fields textarea{min-height:64px;resize:vertical}.ticket-fields .wide{grid-column:span 2}.repair-lines-section .section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-tools{display:flex;align-items:center;gap:10px}.muted{font-size:12px;font-weight:400;color:#6d7d8b}.repair-table-scroll{overflow-x:auto}.entry-table{width:100%;border-collapse:collapse;min-width:820px}.entry-table th{padding:8px;background:#edf3f7;color:#40566a;text-align:left;font-size:13px}.entry-table td{padding:6px;border-top:1px solid #e4ebf0}.entry-table input,.entry-table select{width:100%;box-sizing:border-box;min-width:0;border:1px solid #bacbd7;border-radius:3px;padding:7px;background:#fff}.entry-table .line-remove{border:0;background:#fff0f0;color:#b34a4a;border-radius:3px;padding:6px 8px;cursor:pointer}.money-summary{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.money-summary span{background:#f4f8fb;border:1px solid #d9e4ec;padding:8px 10px;border-radius:4px;color:#50687a}.money-summary b{display:block;color:#17384e;margin-top:2px}.money-summary .strong{margin-left:auto;background:#e7f5ff;border-color:#9ed3f2}.money-summary .strong b{color:#0077b8;font-size:18px}.ticket-actions{display:flex;justify-content:flex-end;gap:9px;margin:16px 0 0}.ticket-actions .success{background:#23a263;color:#fff;border-color:#1a8b51}.ticket-fields #peer-customer-field{position:relative}@media(max-width:980px){.ticket-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.ticket-fields{grid-template-columns:1fr}.ticket-fields .wide{grid-column:auto}.repair-lines-section .section-title{align-items:flex-start;flex-direction:column}.money-summary .strong{margin-left:0}.ticket-actions{flex-wrap:wrap}.ticket-actions .btn{flex:1 1 auto}}

.model-picker-input{display:flex;gap:6px}.model-picker-input input{cursor:pointer}.model-picker-input button{border:1px solid #2388bf;background:#edf8ff;color:#126d9f;padding:0 10px;border-radius:3px;white-space:nowrap;cursor:pointer}.picker-modal{position:fixed;z-index:1000;inset:0;background:rgba(20,42,59,.35);display:grid;place-items:center;padding:20px}.picker-modal[hidden]{display:none}.picker-card{width:min(840px,100%);max-height:min(650px,calc(100vh - 40px));display:flex;flex-direction:column;background:#fff;border-radius:6px;box-shadow:0 20px 50px rgba(15,44,65,.35);overflow:hidden}.picker-title{display:flex;justify-content:space-between;align-items:center;padding:14px 17px;border-bottom:1px solid #dce7ee;font-size:17px;color:#23445a}.picker-close{border:0;background:transparent;font-size:28px;line-height:1;color:#648095;cursor:pointer}.picker-search{padding:12px 17px;border-bottom:1px solid #e6eef3}.picker-search input{width:100%;box-sizing:border-box;padding:9px;border:1px solid #b9cad7;border-radius:3px}.device-picker-grid{display:grid;grid-template-columns:230px 1fr;min-height:360px;overflow:hidden}.device-brand-list{background:#f5f9fc;border-right:1px solid #dce7ee;padding:8px;overflow:auto}.device-brand{display:block;width:100%;border:0;border-radius:3px;padding:9px 11px;text-align:left;background:transparent;color:#40566a;cursor:pointer}.device-brand:hover,.device-brand.active{background:#dff2ff;color:#126d9f;font-weight:700}.device-model-list{padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;overflow:auto}.device-model{border:1px solid #d4e1e9;border-radius:4px;padding:10px;background:#fff;color:#23445a;text-align:left;cursor:pointer}.device-model:hover{border-color:#3da4d9;background:#f1faff}.device-model b,.device-model small{display:block}.device-model small{margin-top:3px;color:#718292}.empty-picker{grid-column:1/-1;color:#718292;text-align:center;padding:30px}@media(max-width:650px){.device-picker-grid{grid-template-columns:135px 1fr}.device-model-list{grid-template-columns:1fr}.picker-modal{padding:9px}.picker-card{max-height:calc(100vh - 18px)}}

/* The repair-parts picker uses the same classification window as handset selection. */
#recovery-part-picker .picker-card{width:min(1080px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 32px))}
#recovery-part-picker .recovery-parts-picker-grid{grid-template-columns:230px minmax(0,1fr);min-height:420px}
#recovery-part-picker .product-picker-table{height:100%;max-height:none;min-width:0;overflow-y:auto;overflow-x:hidden}
#recovery-part-picker .product-picker-table .erp-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}
#recovery-part-picker .product-picker-table th,#recovery-part-picker .product-picker-table td{padding:8px 7px;white-space:normal;word-break:break-word;vertical-align:middle}
#recovery-part-picker .product-picker-table th:nth-child(1){width:42%}
#recovery-part-picker .product-picker-table th:nth-child(2){width:27%}
#recovery-part-picker .product-picker-table th:nth-child(3){width:14%}
#recovery-part-picker .product-picker-table th:nth-child(4){width:8%}
#recovery-part-picker .product-picker-table th:nth-child(5){width:9%}
#recovery-part-picker .product-picker-table td small{display:block;margin-top:3px;color:#718292;font-size:11px;line-height:1.3}
#recovery-part-picker .product-picker-table td b{color:#23445a}
@media(max-width:720px){#recovery-part-picker .picker-card{width:calc(100vw - 18px)}#recovery-part-picker .recovery-parts-picker-grid{grid-template-columns:128px minmax(0,1fr)}#recovery-part-picker .device-brand{padding:8px 5px;font-size:12px}#recovery-part-picker .product-picker-table th,#recovery-part-picker .product-picker-table td{padding:7px 4px;font-size:11px}#recovery-part-picker .product-picker-table th:nth-child(3),#recovery-part-picker .product-picker-table td:nth-child(3){display:none}#recovery-part-picker .product-picker-table th:nth-child(1){width:50%}#recovery-part-picker .product-picker-table th:nth-child(2){width:32%}#recovery-part-picker .product-picker-table th:nth-child(4){width:10%}}

.classified-create-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid #d9e2ea;background:#f7fafc}
.classified-create-actions .btn{min-height:32px;white-space:nowrap}
.classified-inline-create{margin:0;border:0;border-bottom:1px solid #d9e2ea;border-radius:0;background:#fffaf0}
.classified-create-form{padding:10px 12px}
.classified-create-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:#46596a}
.classified-category-fields,.classified-item-fields{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;margin-top:8px}
.classified-category-fields{grid-template-columns:minmax(220px,1fr)}
.classified-create-form .classified-visible{display:flex;flex-direction:row;align-items:center;align-self:end;min-height:36px}
.classified-create-parent{font-weight:800;color:#245a88}
.classified-create-help{margin:7px 0 0;color:#6f7f8e;font-size:12px}
.supplier-category-fields,.supplier-item-fields{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:8px;margin-top:8px}.supplier-category-fields{grid-template-columns:minmax(220px,1fr)}
@media(max-width:720px){.classified-create-actions{display:grid;grid-template-columns:1fr}.classified-create-actions .btn{width:100%}.classified-item-fields{grid-template-columns:1fr 1fr}.classified-category-fields{grid-template-columns:1fr}}

/* Repair order part chooser: same category tree and compact right-side list. */
#repair-part-catalog-picker .picker-card{width:min(1080px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 32px))}
#repair-part-catalog-picker .device-picker-grid{grid-template-columns:230px minmax(0,1fr);min-height:420px}
#repair-part-catalog-picker .product-picker-table{height:100%;max-height:none;min-width:0;overflow-y:auto;overflow-x:hidden}
#repair-part-catalog-picker .product-picker-table .erp-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}
#repair-part-catalog-picker .product-picker-table th,#repair-part-catalog-picker .product-picker-table td{padding:8px 7px;white-space:normal;word-break:break-word;vertical-align:middle}
#repair-part-catalog-picker .product-picker-table th:nth-child(1){width:42%}
#repair-part-catalog-picker .product-picker-table th:nth-child(2){width:27%}
#repair-part-catalog-picker .product-picker-table th:nth-child(3){width:14%}
#repair-part-catalog-picker .product-picker-table th:nth-child(4){width:8%}
#repair-part-catalog-picker .product-picker-table th:nth-child(5){width:9%}
#repair-part-catalog-picker .product-picker-table td small{display:block;margin-top:3px;color:#718292;font-size:11px;line-height:1.3}
#repair-part-catalog-picker .product-picker-table td b{color:#23445a}
@media(max-width:720px){#repair-part-catalog-picker .picker-card{width:calc(100vw - 18px)}#repair-part-catalog-picker .device-picker-grid{grid-template-columns:128px minmax(0,1fr)}#repair-part-catalog-picker .device-brand{padding:8px 5px;font-size:12px}#repair-part-catalog-picker .product-picker-table th,#repair-part-catalog-picker .product-picker-table td{padding:7px 4px;font-size:11px}#repair-part-catalog-picker .product-picker-table th:nth-child(3),#repair-part-catalog-picker .product-picker-table td:nth-child(3){display:none}#repair-part-catalog-picker .product-picker-table th:nth-child(1){width:50%}#repair-part-catalog-picker .product-picker-table th:nth-child(2){width:32%}#repair-part-catalog-picker .product-picker-table th:nth-child(4){width:10%}}

/* Sales, purchasing and handset recovery share the repair-parts category picker. */
.sale-create-modal,.purchase-create-modal,.recovery-create-modal{z-index:1200}
#sale-product-picker,#product-modal,#recovery-device-picker{z-index:1300}
#sale-product-picker .picker-card,#product-modal .picker-card,#recovery-device-picker .picker-card{width:min(1080px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 32px))}
#sale-product-picker .device-picker-grid,#product-modal .device-picker-grid,#recovery-device-picker .device-picker-grid{grid-template-columns:230px minmax(0,1fr);min-height:420px}
#sale-product-picker .product-picker-table,#product-modal .product-picker-table,#recovery-device-picker .product-picker-table{height:100%;max-height:none;min-width:0;overflow-y:auto;overflow-x:hidden}
#sale-product-picker .product-picker-table .erp-table,#product-modal .product-picker-table .erp-table,#recovery-device-picker .product-picker-table .erp-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}
#sale-product-picker .product-picker-table th,#sale-product-picker .product-picker-table td,#product-modal .product-picker-table th,#product-modal .product-picker-table td,#recovery-device-picker .product-picker-table th,#recovery-device-picker .product-picker-table td{padding:8px 7px;white-space:normal;word-break:break-word;vertical-align:middle}
#sale-product-picker .product-picker-table td small,#product-modal .product-picker-table td small,#recovery-device-picker .product-picker-table td small{display:block;margin-top:3px;color:#718292;font-size:11px;line-height:1.3}
#sale-product-picker .product-picker-table td b,#product-modal .product-picker-table td b,#recovery-device-picker .product-picker-table td b{color:#23445a}
#sale-product-picker .product-picker-table th:nth-child(1),#product-modal .product-picker-table th:nth-child(1),#recovery-device-picker .product-picker-table th:nth-child(1){width:42%}
#sale-product-picker .product-picker-table th:nth-child(2),#product-modal .product-picker-table th:nth-child(2),#recovery-device-picker .product-picker-table th:nth-child(2){width:27%}
#sale-product-picker .product-picker-table th:nth-child(3),#product-modal .product-picker-table th:nth-child(3),#recovery-device-picker .product-picker-table th:nth-child(3){width:14%}
#sale-product-picker .product-picker-table th:nth-child(4),#product-modal .product-picker-table th:nth-child(4),#recovery-device-picker .product-picker-table th:nth-child(4){width:8%}
#sale-product-picker .product-picker-table th:nth-child(5),#product-modal .product-picker-table th:nth-child(5),#recovery-device-picker .product-picker-table th:nth-child(5){width:9%}
@media(max-width:720px){#sale-product-picker .picker-card,#product-modal .picker-card,#recovery-device-picker .picker-card{width:calc(100vw - 18px)}#sale-product-picker .device-picker-grid,#product-modal .device-picker-grid,#recovery-device-picker .device-picker-grid{grid-template-columns:128px minmax(0,1fr)}#sale-product-picker .device-brand,#product-modal .device-brand,#recovery-device-picker .device-brand{padding:8px 5px;font-size:12px}#sale-product-picker .product-picker-table th,#sale-product-picker .product-picker-table td,#product-modal .product-picker-table th,#product-modal .product-picker-table td{padding:7px 4px;font-size:11px}#sale-product-picker .product-picker-table th:nth-child(3),#sale-product-picker .product-picker-table td:nth-child(3),#product-modal .product-picker-table th:nth-child(3),#product-modal .product-picker-table td:nth-child(3){display:none}#sale-product-picker .product-picker-table th:nth-child(1),#product-modal .product-picker-table th:nth-child(1){width:50%}#sale-product-picker .product-picker-table th:nth-child(2),#product-modal .product-picker-table th:nth-child(2){width:32%}#sale-product-picker .product-picker-table th:nth-child(4),#product-modal .product-picker-table th:nth-child(4){width:10%}}
@media(max-width:720px){#recovery-device-picker .product-picker-table th,#recovery-device-picker .product-picker-table td{padding:7px 4px;font-size:11px}#recovery-device-picker .product-picker-table th:nth-child(3),#recovery-device-picker .product-picker-table td:nth-child(3){display:none}#recovery-device-picker .product-picker-table th:nth-child(1){width:50%}#recovery-device-picker .product-picker-table th:nth-child(2){width:32%}#recovery-device-picker .product-picker-table th:nth-child(4){width:10%}}

/* Editing dialogs use the exact same category tree and compact result grid as repair-parts. */
#edit-product-picker,#edit-sale-picker,#edit-device-modal{z-index:1400}
#edit-product-picker .picker-card,#edit-sale-picker .picker-card,#edit-device-modal .picker-card{width:min(1080px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 32px))}
#edit-product-picker .device-picker-grid,#edit-sale-picker .device-picker-grid,#edit-device-modal .device-picker-grid{grid-template-columns:230px minmax(0,1fr);min-height:420px}
#edit-product-picker .product-picker-table,#edit-sale-picker .product-picker-table,#edit-device-modal .product-picker-table{height:100%;max-height:none;min-width:0;overflow-y:auto;overflow-x:hidden}
#edit-product-picker .product-picker-table .erp-table,#edit-sale-picker .product-picker-table .erp-table,#edit-device-modal .product-picker-table .erp-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}
#edit-product-picker .product-picker-table th,#edit-product-picker .product-picker-table td,#edit-sale-picker .product-picker-table th,#edit-sale-picker .product-picker-table td,#edit-device-modal .product-picker-table th,#edit-device-modal .product-picker-table td{padding:8px 7px;white-space:normal;word-break:break-word;vertical-align:middle}
#edit-product-picker .product-picker-table td small,#edit-sale-picker .product-picker-table td small,#edit-device-modal .product-picker-table td small{display:block;margin-top:3px;color:#718292;font-size:11px;line-height:1.3}
#edit-product-picker .product-picker-table td b,#edit-sale-picker .product-picker-table td b,#edit-device-modal .product-picker-table td b{color:#23445a}
#edit-product-picker .product-picker-table th:nth-child(1),#edit-sale-picker .product-picker-table th:nth-child(1),#edit-device-modal .product-picker-table th:nth-child(1){width:42%}
#edit-product-picker .product-picker-table th:nth-child(2),#edit-sale-picker .product-picker-table th:nth-child(2),#edit-device-modal .product-picker-table th:nth-child(2){width:27%}
#edit-product-picker .product-picker-table th:nth-child(3),#edit-sale-picker .product-picker-table th:nth-child(3),#edit-device-modal .product-picker-table th:nth-child(3){width:14%}
#edit-product-picker .product-picker-table th:nth-child(4),#edit-sale-picker .product-picker-table th:nth-child(4),#edit-device-modal .product-picker-table th:nth-child(4){width:8%}
#edit-product-picker .product-picker-table th:nth-child(5),#edit-sale-picker .product-picker-table th:nth-child(5),#edit-device-modal .product-picker-table th:nth-child(5){width:9%}
@media(max-width:720px){#edit-product-picker .picker-card,#edit-sale-picker .picker-card,#edit-device-modal .picker-card{width:calc(100vw - 18px)}#edit-product-picker .device-picker-grid,#edit-sale-picker .device-picker-grid,#edit-device-modal .device-picker-grid{grid-template-columns:128px minmax(0,1fr)}#edit-product-picker .device-brand,#edit-sale-picker .device-brand,#edit-device-modal .device-brand{padding:8px 5px;font-size:12px}#edit-product-picker .product-picker-table th,#edit-product-picker .product-picker-table td,#edit-sale-picker .product-picker-table th,#edit-sale-picker .product-picker-table td,#edit-device-modal .product-picker-table th,#edit-device-modal .product-picker-table td{padding:7px 4px;font-size:11px}#edit-product-picker .product-picker-table th:nth-child(3),#edit-product-picker .product-picker-table td:nth-child(3),#edit-sale-picker .product-picker-table th:nth-child(3),#edit-sale-picker .product-picker-table td:nth-child(3),#edit-device-modal .product-picker-table th:nth-child(3),#edit-device-modal .product-picker-table td:nth-child(3){display:none}#edit-product-picker .product-picker-table th:nth-child(1),#edit-sale-picker .product-picker-table th:nth-child(1),#edit-device-modal .product-picker-table th:nth-child(1){width:50%}#edit-product-picker .product-picker-table th:nth-child(2),#edit-sale-picker .product-picker-table th:nth-child(2),#edit-device-modal .product-picker-table th:nth-child(2){width:32%}#edit-product-picker .product-picker-table th:nth-child(4),#edit-sale-picker .product-picker-table th:nth-child(4),#edit-device-modal .product-picker-table th:nth-child(4){width:10%}}
#repair-after-sales-picker{z-index:1400}
#repair-after-sales-picker .picker-card{width:min(1080px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 32px))}
#repair-after-sales-picker .device-picker-grid{grid-template-columns:230px minmax(0,1fr);min-height:420px}
#repair-after-sales-picker .product-picker-table{height:100%;max-height:none;min-width:0;overflow-y:auto;overflow-x:hidden}
#repair-after-sales-picker .product-picker-table .erp-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}
#repair-after-sales-picker .product-picker-table th,#repair-after-sales-picker .product-picker-table td{padding:8px 7px;white-space:normal;word-break:break-word;vertical-align:middle}
#repair-after-sales-picker .product-picker-table td small{display:block;margin-top:3px;color:#718292;font-size:11px;line-height:1.3}
#repair-after-sales-picker .product-picker-table th:nth-child(1){width:42%}#repair-after-sales-picker .product-picker-table th:nth-child(2){width:27%}#repair-after-sales-picker .product-picker-table th:nth-child(3){width:14%}#repair-after-sales-picker .product-picker-table th:nth-child(4){width:8%}#repair-after-sales-picker .product-picker-table th:nth-child(5){width:9%}
@media(max-width:720px){#repair-after-sales-picker .picker-card{width:calc(100vw - 18px)}#repair-after-sales-picker .device-picker-grid{grid-template-columns:128px minmax(0,1fr)}#repair-after-sales-picker .device-brand{padding:8px 5px;font-size:12px}#repair-after-sales-picker .product-picker-table th,#repair-after-sales-picker .product-picker-table td{padding:7px 4px;font-size:11px}#repair-after-sales-picker .product-picker-table th:nth-child(3),#repair-after-sales-picker .product-picker-table td:nth-child(3){display:none}}

/* Repair workbench opens the full edit form in a desktop-style dialog. */
.repair-edit-modal .picker-card{width:min(1240px,calc(100vw - 32px));height:min(860px,calc(100vh - 32px));max-height:none}
.repair-edit-frame-wrap{flex:1;min-height:0;background:#f5f9fc}
.repair-edit-frame-wrap iframe{display:block;width:100%;height:100%;border:0;background:#fff}
@media(max-width:700px){.repair-edit-modal{padding:9px}.repair-edit-modal .picker-card{width:calc(100vw - 18px);height:calc(100vh - 18px)}.repair-edit-modal .picker-title{padding:10px 13px;font-size:15px}}
.purchase-edit-modal .picker-card{width:min(1240px,calc(100vw - 32px));height:min(860px,calc(100vh - 32px));max-height:none}.purchase-edit-frame-wrap{flex:1;min-height:0;background:#f5f9fc}.purchase-edit-frame-wrap iframe{display:block;width:100%;height:100%;border:0;background:#fff}@media(max-width:700px){.purchase-edit-modal{padding:9px}.purchase-edit-modal .picker-card{width:calc(100vw - 18px);height:calc(100vh - 18px)}.purchase-edit-modal .picker-title{padding:10px 13px;font-size:15px}}
.sale-edit-modal .picker-card{width:min(1240px,calc(100vw - 32px));height:min(860px,calc(100vh - 32px));max-height:none}.sale-edit-frame-wrap{flex:1;min-height:0;background:#f5f9fc}.sale-edit-frame-wrap iframe{display:block;width:100%;height:100%;border:0;background:#fff}@media(max-width:700px){.sale-edit-modal{padding:9px}.sale-edit-modal .picker-card{width:calc(100vw - 18px);height:calc(100vh - 18px)}.sale-edit-modal .picker-title{padding:10px 13px;font-size:15px}}
.sale-create-modal .purchase-document{width:min(1240px,calc(100vw - 32px));height:min(860px,calc(100vh - 32px));max-height:none;display:block;overflow:auto}.sale-create-modal .purchase-doc-head{position:sticky;top:0;z-index:2}.sale-create-modal .sale-create-close{margin-left:auto;flex:0 0 auto}.sale-create-modal .ticket-actions{position:sticky;bottom:0;background:#fff;padding-top:14px}@media(max-width:700px){.sale-create-modal{padding:9px}.sale-create-modal .purchase-document{width:calc(100vw - 18px);height:calc(100vh - 18px)}}
.sale-list-wrap{max-height:calc(100vh - 365px);min-height:400px}.sale-list{min-width:980px;border-collapse:collapse;font-size:12px}.sale-list thead th{position:sticky;top:0;z-index:1;padding:6px 8px;line-height:1.2;white-space:nowrap;background:#edf3f7}.sale-list td{padding:4px 8px;line-height:1.2;white-space:nowrap;vertical-align:middle;border-top:1px solid #e0e8ee}.sale-list tbody tr{height:29px;cursor:pointer}.sale-list tbody tr:hover{background:#dff2ff}@media(max-width:900px){.sale-list-wrap{max-height:430px;min-height:280px}}
.purchase-create-modal .purchase-document{width:min(1240px,calc(100vw - 32px));height:min(860px,calc(100vh - 32px));max-height:none;display:block;overflow:auto}.purchase-create-modal .purchase-doc-head{position:sticky;top:0;z-index:2}.purchase-create-modal .purchase-doc-head .picker-close{margin-left:auto;flex:0 0 auto}.purchase-create-modal .ticket-actions{position:sticky;bottom:0;background:#fff;padding-top:14px}@media(max-width:700px){.purchase-create-modal{padding:9px}.purchase-create-modal .purchase-document{width:calc(100vw - 18px);height:calc(100vh - 18px)}}
.finance-create-modal .finance-popup-document{width:min(760px,calc(100vw - 32px));height:auto;max-height:min(720px,calc(100vh - 32px));display:block;overflow:auto}.finance-create-modal .purchase-doc-head{position:sticky;top:0;z-index:2}.finance-create-modal .finance-create-close{margin-left:auto;flex:0 0 auto}.finance-create-modal .ticket-actions{position:sticky;bottom:0;background:#fff;padding-top:14px}@media(max-width:700px){.finance-create-modal{padding:9px}.finance-create-modal .finance-popup-document{width:calc(100vw - 18px);max-height:calc(100vh - 18px)}}
.finance-detail-modal .picker-card{width:min(620px,calc(100vw - 32px));height:auto}.finance-detail-body{padding:16px 18px}.finance-detail-body dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.finance-detail-body dl>div{padding:9px 10px;border:1px solid #d7e4eb;background:#f9fcfe}.finance-detail-body dt{font-size:12px;color:#6b8191}.finance-detail-body dd{margin:4px 0 0;color:#284b60;font-weight:700}.finance-detail-help{margin:14px 0 0;padding:9px 11px;border-left:3px solid #dea341;background:#fff8ea;color:#76551b;line-height:1.5;font-size:13px}@media(max-width:560px){.finance-detail-body dl{grid-template-columns:1fr}}
.finance-create-modal{z-index:1200}.finance-create-modal~#finance-category-picker,.finance-create-modal~#finance-account-picker,#finance-category-picker,#finance-account-picker{z-index:1300}
.picker-title-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.picker-title-actions .btn{padding:6px 10px;font-size:12px}.picker-inline-create-wrap{padding:10px 14px;border-bottom:1px solid #dce7ee;background:#f7fbfe}.picker-inline-create{display:grid;grid-template-columns:120px minmax(0,1fr) auto auto;gap:8px;padding:0;background:transparent}.picker-inline-create input,.picker-inline-create select{min-width:0;padding:8px;border:1px solid #b9cad7;border-radius:3px;font:inherit}.finance-account-create{grid-template-columns:120px minmax(160px,1fr) minmax(130px,.8fr) auto auto}@media(max-width:700px){.picker-title-actions .btn{padding:5px 7px}.picker-inline-create,.finance-account-create{grid-template-columns:1fr 1fr}.picker-inline-create button{grid-column:auto}.picker-inline-create .picker-create-cancel{grid-column:auto}}
.issue-picker-card{width:min(980px,calc(100vw - 32px))}.issue-create{grid-template-columns:minmax(145px,auto) minmax(150px,1fr) minmax(150px,1fr) 90px auto auto}.issue-create-parent,.classified-create-parent{display:flex;align-items:center;min-height:36px;padding:0 10px;border:1px solid #b9cbd7;border-radius:4px;background:#f2f7fa;color:#24485e;font-weight:700;white-space:nowrap}.classified-create{grid-template-columns:minmax(145px,auto) minmax(180px,1fr) auto auto}.finance-category-create{grid-template-columns:minmax(145px,auto) minmax(180px,1fr) auto auto}.finance-account-create{grid-template-columns:minmax(145px,auto) minmax(160px,1fr) minmax(160px,1fr) auto auto}.picker-create-help{display:block;margin-top:7px;color:#647b8b;font-size:12px}.peer-picker-card{width:min(900px,calc(100vw - 32px))}.peer-create{grid-template-columns:minmax(145px,auto) minmax(140px,1fr) minmax(120px,.8fr) minmax(130px,.9fr) auto auto}@media(max-width:700px){.issue-create,.peer-create,.classified-create,.finance-category-create,.finance-account-create{grid-template-columns:1fr 1fr}.issue-create-parent,.classified-create-parent,.issue-create input[name="name"],.issue-create input[name="default_solution"],.peer-create input[name="name"],.finance-category-create input[name="name"],.finance-account-create input[name="name"],.finance-account-create input[name="note"]{grid-column:1/-1}}

/* Workbench status is changed in a focused dialog, without navigating away from the selected row. */
.work-status-edit{border:0;cursor:pointer;font:inherit}.work-status-edit:hover{filter:brightness(.97);box-shadow:0 0 0 1px rgba(22,125,181,.28)}.work-status-modal .picker-card{width:min(460px,calc(100vw - 32px));height:auto;max-height:calc(100vh - 32px)}.work-status-form{padding:18px}.work-status-prompt{margin:0 0 10px;color:#40566a;font-weight:700}.work-status-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.work-status-choice{min-height:42px;border:1px solid #b9cad7;border-radius:4px;background:#fff;color:#34566d;font:inherit;font-weight:700;cursor:pointer}.work-status-choice:hover{border-color:#258bc2;background:#eef9ff}.work-status-choice.selected{border-color:#137fb7;background:#dff3ff;color:#086999;box-shadow:inset 0 0 0 1px #137fb7}.work-status-error{margin:10px 0 0;color:#a33a2f}@media(max-width:440px){.work-status-options{grid-template-columns:1fr}}

.issue-picker-inline{min-width:220px}.issue-picker-card .device-model-list{grid-template-columns:1fr}.issue-option small{line-height:1.45}.issue-picker-inline input{background:#fff!important}

.part-picker-inline{min-width:250px}.part-picker-card .device-model-list{grid-template-columns:1fr}.part-option small{line-height:1.45}.part-option.out-of-stock{opacity:.5;cursor:not-allowed;background:#f5f5f5}.part-option.out-of-stock:hover{border-color:#d4e1e9;background:#f5f5f5}

.check-label{display:flex;align-items:center;gap:7px;font-weight:600;color:#405263;padding-top:5px}.picker-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 20px 18px;margin:0}.erp-table td small{display:block;color:#7b8b98;margin-top:3px}

/* Inventory screen: compact desktop grid with category tree and movement detail. */
.inventory-toolbar .tool{min-width:68px}.inventory-main{min-height:calc(100vh - 145px)}.inventory-layout{display:grid;grid-template-columns:215px minmax(0,1fr);border:1px solid #d5e1e9;background:#fff;min-height:650px}.inventory-tree{background:#f8fbfd;border-right:1px solid #d5e1e9;min-width:0}.inventory-tree-head{display:flex;flex-direction:column;gap:8px;padding:13px 12px 8px;color:#35546a}.tree-list{max-height:640px;overflow:auto;padding:3px 7px 12px}.tree-branch{min-width:0}.tree-children[hidden]{display:none!important}.tree-filter{display:flex;align-items:center;gap:7px;width:100%;padding:8px 9px;border:0;border-radius:3px;background:transparent;color:#405b6c;text-align:left;cursor:pointer;font:inherit;font-size:13px}.tree-filter-parent{font-weight:700;color:#294b61}.tree-expander{display:inline-grid;place-items:center;flex:0 0 12px;width:12px;color:#668292;font-size:9px;transition:transform .15s ease}.tree-filter-parent[aria-expanded="true"] .tree-expander{transform:rotate(90deg)}.tree-expander-empty{visibility:hidden}.tree-filter-parent .tree-filter-icon{margin-left:-2px}.tree-filter-child{position:relative;padding-left:38px;color:#587080}.tree-filter-child::before{content:"";position:absolute;left:23px;top:0;bottom:50%;border-left:1px solid #bfd0da}.tree-filter-child .tree-filter-icon{width:10px;margin-left:-4px;color:#91a8b6;font-family:Arial,sans-serif}.tree-filter:hover,.tree-filter.active{background:#dff2ff;color:#126d9f;font-weight:700}.inventory-table-area{min-width:0;display:flex;flex-direction:column}.inventory-options{display:flex;align-items:center;gap:18px;min-height:42px;padding:0 12px;border-bottom:1px solid #dce6ed;color:#536b7b;font-size:13px}.inventory-options label{display:flex;align-items:center;gap:5px}.inventory-options #inventory-count{margin-left:auto;color:#718292}.inventory-grid-wrap{flex:1;min-height:300px;max-height:calc(100vh - 375px);overflow:auto}.erp-table.inventory-grid{min-width:920px}.inventory-grid tbody tr{cursor:pointer}.inventory-grid tbody tr:hover,.inventory-grid tbody tr.selected{background:#dff2ff}.inventory-grid th,.inventory-grid td{white-space:nowrap}.inventory-grid td:nth-child(2){white-space:normal;min-width:240px}.stock-number{font-weight:800;color:#187345}.stock-number.zero{color:#bd4a4a}.inventory-detail{border-top:3px solid #b9cbd8;background:#fff}.inventory-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #dce6ed}.inventory-detail-head b,.inventory-detail-head small{display:block}.inventory-detail-head small{margin-top:3px;color:#718292}.inventory-detail-head>span{color:#126d9f;font-weight:800;white-space:nowrap}.inventory-detail .table-wrap{max-height:230px;overflow:auto}.inventory-detail .erp-table{min-width:780px}@media(max-width:980px){.inventory-layout{grid-template-columns:170px minmax(0,1fr)}.inventory-toolbar{overflow:auto;flex-wrap:nowrap}.inventory-toolbar .tool{white-space:nowrap}}@media(max-width:700px){.inventory-layout{grid-template-columns:1fr}.inventory-tree{border-right:0;border-bottom:1px solid #d5e1e9}.inventory-tree-head{flex-direction:row;align-items:center}.tree-list{display:flex;max-height:none;overflow:auto;padding:6px}.tree-branch{display:flex;flex:0 0 auto}.tree-children:not([hidden]){display:flex}.tree-filter{flex:0 0 auto;width:auto;white-space:nowrap}.tree-filter-child{padding-left:9px}.tree-filter-child::before{display:none}.tree-filter-child .tree-filter-icon{display:none}.inventory-options{overflow:auto;white-space:nowrap}.inventory-options #inventory-count{margin-left:0}.inventory-grid-wrap{max-height:360px}.inventory-main{min-height:0}}

/* Inventory density follows the repair workbench: more useful rows, smaller movement area. */
.inventory-layout{min-height:590px}.inventory-grid-wrap{min-height:270px;max-height:calc(100vh - 305px)}
.inventory-grid th{padding:6px 8px;line-height:1.2;font-size:12px;background:#edf3f7}
.inventory-grid td{padding:4px 8px;line-height:1.2;font-size:12px;vertical-align:middle;border-top:1px solid #e0e8ee}
.inventory-grid tbody tr{height:29px}.inventory-grid td small{display:inline;margin:0 0 0 5px;line-height:1;font-size:11px;white-space:nowrap}
.inventory-detail{flex:0 0 auto}.inventory-detail-head{padding:7px 12px;min-height:38px}.inventory-detail .table-wrap{max-height:142px}.inventory-detail .erp-table th{padding:5px 8px;font-size:12px;line-height:1.15}.inventory-detail .erp-table td{padding:4px 8px;font-size:12px;line-height:1.2}

/* New internal product: a focused compact form instead of a tall generic dialog. */
#internal-part-modal .picker-card{width:min(900px,calc(100vw - 32px))!important;max-height:min(690px,calc(100vh - 32px));border-radius:7px}
#internal-part-modal .picker-title{position:sticky;top:0;z-index:2;padding:13px 18px;background:linear-gradient(90deg,#fbfdff,#eef8fe);font-size:18px}
#internal-part-modal .ticket-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;padding:15px 20px 10px!important;overflow:auto}
#internal-part-modal .ticket-fields>label{gap:4px;font-size:12px}
#internal-part-modal .ticket-fields input,#internal-part-modal .ticket-fields select{padding:8px 9px;min-height:37px}
#internal-part-modal .ticket-fields small{font-size:11px;line-height:1.35;color:#718292;font-weight:400}
#internal-part-modal .ticket-fields .check-label{min-height:37px;padding:0 2px;background:#f6fafc;border:1px solid #d8e5ec;border-radius:3px}
#internal-part-modal .inline-link{margin-left:auto;font-size:12px;font-weight:600;text-decoration:none;color:#087dbb}
#internal-part-modal .picker-actions{position:sticky;bottom:0;z-index:2;margin-top:auto;padding:11px 20px 16px;background:#fff;border-top:1px solid #e4edf2}
@media(max-width:760px){.inventory-grid-wrap{max-height:330px}.inventory-detail .table-wrap{max-height:128px}#internal-part-modal{padding:9px}#internal-part-modal .picker-card{width:calc(100vw - 18px)!important;max-height:calc(100vh - 18px)}#internal-part-modal .ticket-fields{grid-template-columns:1fr 1fr;padding:13px!important}.inventory-grid td:nth-child(2) small{display:block;margin:3px 0 0;white-space:normal}}
@media(max-width:480px){#internal-part-modal .ticket-fields{grid-template-columns:1fr}.inventory-detail-head{align-items:flex-start;flex-direction:column;gap:3px}}

/* Recovery management follows the repair workbench: dense records and document popups. */
.purchase-list-wrap.recovery-list-wrap{max-height:calc(100vh - 380px);min-height:300px;margin-bottom:14px;overflow:auto;border:1px solid #d5e1e9}
.recovery-list-wrap .recovery-list{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:12px}
.recovery-list-wrap .recovery-list th{padding:6px 8px;line-height:1.2;white-space:nowrap;background:#edf3f7;overflow:hidden;text-overflow:ellipsis}
.recovery-list-wrap .recovery-list td{padding:4px 8px;line-height:1.2;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-top:1px solid #e0e8ee}
.recovery-list-wrap .recovery-list tbody tr{height:29px;cursor:pointer}.recovery-list-wrap .recovery-list tbody tr:hover{background:#eaf7ff}
.recovery-list-wrap .recovery-list th:nth-child(1){width:11%}.recovery-list-wrap .recovery-list th:nth-child(2){width:14%}.recovery-list-wrap .recovery-list th:nth-child(3){width:11%}.recovery-list-wrap .recovery-list th:nth-child(4){width:11%}.recovery-list-wrap .recovery-list th:nth-child(5){width:7%}.recovery-list-wrap .recovery-list th:nth-child(6){width:10%}.recovery-list-wrap .recovery-list th:nth-child(7){width:9%}.recovery-list-wrap .recovery-list th:nth-child(8),.recovery-list-wrap .recovery-list th:nth-child(9){width:8%}.recovery-list-wrap .recovery-list th:nth-child(10){width:11%}
.recovery-edit-modal .picker-card{width:min(1320px,calc(100vw - 32px));height:min(880px,calc(100vh - 32px));max-height:none}.recovery-edit-frame-wrap{flex:1;min-height:0;background:#f4f8fb}.recovery-edit-frame-wrap iframe{width:100%;height:100%;border:0;background:#fff}
.recovery-create-modal .purchase-document{width:min(1240px,calc(100vw - 32px));height:min(860px,calc(100vh - 32px));max-height:none;display:block;overflow:auto}.recovery-create-modal .purchase-doc-head{position:sticky;top:0;z-index:2}.recovery-create-modal .recovery-create-close{margin-left:auto;flex:0 0 auto}.recovery-create-modal .ticket-actions{position:sticky;bottom:0;background:#fff;padding-top:14px}
@media(max-width:1000px){.recovery-list-wrap .recovery-list th:nth-child(4),.recovery-list-wrap .recovery-list td:nth-child(4),.recovery-list-wrap .recovery-list th:nth-child(7),.recovery-list-wrap .recovery-list td:nth-child(7),.recovery-list-wrap .recovery-list th:nth-child(8),.recovery-list-wrap .recovery-list td:nth-child(8),.recovery-list-wrap .recovery-list th:nth-child(9),.recovery-list-wrap .recovery-list td:nth-child(9){display:none}.recovery-list-wrap .recovery-list th:nth-child(1){width:16%}.recovery-list-wrap .recovery-list th:nth-child(2){width:20%}.recovery-list-wrap .recovery-list th:nth-child(3){width:18%}.recovery-list-wrap .recovery-list th:nth-child(5){width:10%}.recovery-list-wrap .recovery-list th:nth-child(6){width:17%}.recovery-list-wrap .recovery-list th:nth-child(10){width:19%}}
@media(max-width:700px){.purchase-list-wrap.recovery-list-wrap{max-height:360px;min-height:260px}.recovery-list-wrap .recovery-list th:nth-child(5),.recovery-list-wrap .recovery-list td:nth-child(5),.recovery-list-wrap .recovery-list th:nth-child(10),.recovery-list-wrap .recovery-list td:nth-child(10){display:none}.recovery-list-wrap .recovery-list th:nth-child(1){width:25%}.recovery-list-wrap .recovery-list th:nth-child(2){width:28%}.recovery-list-wrap .recovery-list th:nth-child(3){width:27%}.recovery-list-wrap .recovery-list th:nth-child(6){width:20%}.recovery-edit-modal,.recovery-create-modal{padding:9px}.recovery-edit-modal .picker-card,.recovery-create-modal .purchase-document{width:calc(100vw - 18px);height:calc(100vh - 18px)}}

/* Purchase management: list above, selected document workflow below. */
.purchase-toolbar .tool{min-width:76px}.purchase-list-wrap{max-height:calc(100vh - 365px);min-height:400px;border:1px solid #d3e0e8;margin-bottom:14px;overflow:auto}.purchase-list{min-width:980px;border-collapse:collapse;font-size:12px}.purchase-list thead th{position:sticky;top:0;z-index:1;padding:6px 8px;line-height:1.2;white-space:nowrap;background:#edf3f7}.purchase-list td{padding:4px 8px;line-height:1.2;white-space:nowrap;vertical-align:middle;border-top:1px solid #e0e8ee}.purchase-list tbody tr{height:29px;cursor:pointer}.purchase-list tbody tr:hover{background:#dff2ff}.purchase-document{border:1px solid #cbdbe5;background:#fff;box-shadow:0 1px 4px rgba(29,65,91,.1)}.purchase-doc-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:16px 18px;border-bottom:2px solid #d6e5ef;background:linear-gradient(90deg,#fbfdff,#eef8fe)}.purchase-doc-head strong,.purchase-doc-head small,.purchase-doc-head .document-kicker{display:block}.purchase-doc-head strong{font-size:21px;color:#173e58;margin:3px 0}.purchase-doc-head small{font-size:12px;color:#718292}.document-kicker{font-size:12px;color:#167bb7;font-weight:800}.purchase-doc-total{text-align:right;padding:5px 3px}.purchase-doc-total span,.purchase-doc-total b{display:block}.purchase-doc-total span{font-size:12px;color:#637b8d}.purchase-doc-total b{margin-top:3px;color:#0780bf;font-size:20px}.purchase-fields{padding:16px 18px}.purchase-fields .wide{grid-column:span 2}.select-with-button{display:flex;gap:6px}.select-with-button select{flex:1}.small-plus{width:34px;border:1px solid #258bc2;background:#edf8ff;color:#126d9f;border-radius:3px;font-size:20px;line-height:1;cursor:pointer}.purchase-lines-section{margin:0 18px}.purchase-lines-section .section-title small{font-weight:400;color:#6e8090;font-size:12px;margin-left:8px}.purchase-entry-table{min-width:1200px}.purchase-entry-table th{white-space:nowrap}.purchase-entry-table td{vertical-align:middle}.purchase-entry-table .line-category{max-width:110px;color:#567080;font-size:12px}.purchase-entry-table .line-barcode{min-width:100px;font-size:12px;color:#61798b}.purchase-entry-table input,.purchase-entry-table select{min-width:82px}.purchase-entry-table td:nth-child(3) select{min-width:235px}.purchase-entry-table tfoot td{font-weight:800;background:#f3f8fb}.purchase-summary{display:flex;gap:11px;flex-wrap:wrap;padding:15px 18px 0}.purchase-summary>div{min-width:130px;flex:1;background:#f5f9fc;border:1px solid #d7e4ec;padding:8px 11px;border-radius:4px}.purchase-summary span,.purchase-summary b{display:block}.purchase-summary span{font-size:12px;color:#667d8f}.purchase-summary b{margin-top:3px;color:#2c4c61}.purchase-summary .emphasis{background:#e2f5ff;border-color:#91cfee}.purchase-summary .emphasis b{font-size:19px;color:#007ab9}.purchase-document .ticket-actions{padding:0 18px 17px;margin-bottom:0}.supplier-card{width:min(500px,100%);height:auto;padding-bottom:0}.supplier-card .ticket-fields{padding:18px 20px}.product-picker-card{width:min(1000px,100%)}.product-picker-table{max-height:440px;overflow:auto}.product-picker-table .erp-table{min-width:760px}.preview-card{width:min(1000px,100%)}.preview-card .table-wrap{padding:0 18px;max-height:440px;overflow:auto}.preview-card .erp-table{min-width:760px}.preview-card small{display:block;color:#718292;margin-top:3px}@media(max-width:900px){.purchase-list-wrap{max-height:430px;min-height:280px}.purchase-fields .wide{grid-column:auto}.purchase-doc-head{flex-direction:column}.purchase-doc-total{text-align:left}.purchase-lines-section{margin:0 10px}.purchase-fields{padding:14px 12px}.purchase-summary{padding:13px 12px 0}.purchase-document .ticket-actions{padding:0 12px 14px}.purchase-toolbar{overflow:auto;flex-wrap:nowrap}.purchase-toolbar .tool{white-space:nowrap}}
.quick-scan-bar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:10px 14px;border:1px solid #b9dcec;background:#edf8ff}.quick-scan-bar label{display:grid;gap:4px;font-weight:700;color:#23516e}.quick-scan-bar input{min-width:320px;border:1px solid #62a8d1;padding:7px 10px;background:#fff}.quick-scan-bar small{color:#647b8b;font-size:12px;padding-bottom:6px}@media(max-width:600px){.quick-scan-bar input{min-width:0;width:100%}}
.picker-input{display:flex;gap:6px}.picker-input input{cursor:pointer!important}.picker-input input:first-child{flex:1;min-width:0}.picker-input #finance-category-display+.small-plus,.picker-input #finance-account-display+.small-plus,.picker-input .finance-category-display+.small-plus,.picker-input .finance-account-display+.small-plus{flex:0 0 auto;width:auto;min-width:56px;padding:0 10px;font-size:13px;font-weight:700;white-space:nowrap;word-break:keep-all;writing-mode:horizontal-tb}.classified-picker-card{width:min(1080px,100%)}.classified-picker-layout{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:390px;overflow:hidden}.picker-category-tree{padding:9px;background:#f5f9fc;border-right:1px solid #dce7ee;overflow:auto}.picker-category-tree .supplier-category,.picker-category-tree .product-category,.picker-category-tree .finance-type,.picker-category-tree .finance-account-type{display:block;width:100%;border:0;background:transparent;color:#405b6c;text-align:left;padding:9px 8px;border-radius:3px;cursor:pointer;font:inherit;font-size:13px}.picker-category-tree .supplier-category:hover,.picker-category-tree .supplier-category.active,.picker-category-tree .product-category:hover,.picker-category-tree .product-category.active,.picker-category-tree .finance-type:hover,.picker-category-tree .finance-type.active,.picker-category-tree .finance-account-type:hover,.picker-category-tree .finance-account-type.active{background:#dff2ff;color:#126d9f;font-weight:700}.finance-picker-card{width:min(720px,100%);max-height:min(500px,calc(100vh - 40px))}.finance-picker-card .classified-picker-layout{grid-template-columns:165px minmax(0,1fr);min-height:260px}.finance-picker-card .product-picker-table{max-height:310px}.finance-picker-card .erp-table{min-width:0}.picker-add-category{width:100%;margin-bottom:8px;font-size:12px}@media(max-width:700px){.classified-picker-layout{grid-template-columns:1fr;min-height:0}.picker-category-tree{display:flex;gap:6px;overflow:auto;border-right:0;border-bottom:1px solid #dce7ee}.picker-category-tree .supplier-category,.picker-category-tree .product-category,.picker-category-tree .finance-type,.picker-category-tree .finance-account-type{width:auto;white-space:nowrap;flex:0 0 auto}.finance-picker-card .classified-picker-layout{grid-template-columns:1fr}.picker-add-category{width:auto;white-space:nowrap;margin:0}}
.report-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.report-module-grid a{display:block;border:1px solid #d4e2ea;background:#fbfdff;color:#29485d;text-decoration:none;padding:14px;border-radius:4px}.report-module-grid a:hover{border-color:#4aa7da;background:#eef9ff}.report-module-grid b,.report-module-grid small{display:block}.report-module-grid b{font-size:15px}.report-module-grid small{color:#718292;margin-top:5px}@media(max-width:780px){.report-module-grid{grid-template-columns:1fr}}
.line-product-picker{display:flex;gap:5px;min-width:245px}.line-product-picker input{flex:1;cursor:pointer;background:#fff}.line-product-picker button{border:1px solid #258bc2;border-radius:3px;background:#edf8ff;color:#126d9f;padding:0 8px;cursor:pointer;white-space:nowrap}
.purchase-selected-detail{border:1px solid #d3e0e8;border-top:3px solid #9bc8e1;margin:-1px 0 16px;background:#fff}.purchase-selected-detail .table-wrap{max-height:220px;overflow:auto}.purchase-selected-detail .erp-table{min-width:820px}.purchase-list tbody tr.selected{background:#dff2ff}
.document-number-link{font-weight:800;color:#087eb9;text-decoration:none;border-bottom:1px dashed #55a7d1}.document-number-link:hover{color:#005d91;border-bottom-style:solid}
.master-guide{margin:0 0 16px;padding:12px 14px;border:1px solid #bcddec;border-left:4px solid #238fc8;background:#f0faff;color:#35566c;line-height:1.55}.settings-master-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-master-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px;border:1px solid #d3e1e9;background:#fff;color:#29495d;text-decoration:none;border-radius:4px;min-width:0}.settings-master-card:hover{border-color:#4ca6d5;background:#f3fbff}.settings-master-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#e8f5fb;font-size:26px}.settings-master-card small,.settings-master-card b,.settings-master-card em{display:block}.settings-master-card small{color:#1680bb;font-style:normal;font-size:12px;font-weight:700}.settings-master-card b{font-size:17px;margin:2px 0 4px}.settings-master-card em{color:#728495;font-style:normal;font-size:13px;line-height:1.45}.settings-master-card>strong{color:#1881b9;white-space:nowrap;font-size:13px}.master-create-grid{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,2.2fr);gap:14px;margin:14px 0}.master-create-card{border:1px solid #d3e1e9;background:#fafdff;padding:14px;display:flex;flex-direction:column;gap:8px}.master-create-card h2{font-size:15px;margin:0;color:#2e5065}.master-create-card label{display:grid;gap:4px;font-size:13px;color:#405d70;font-weight:700}.master-create-card input,.master-create-card select{padding:8px;border:1px solid #b9cad7;border-radius:3px;font:inherit;font-weight:400}.master-create-card .btn{align-self:flex-end}.master-layout{display:grid;grid-template-columns:220px minmax(0,1fr);border:1px solid #d5e1e9;background:#fff;min-height:420px}.master-tree{background:#f7fbfe;border-right:1px solid #d5e1e9;padding:10px;overflow:auto}.master-tree h3{font-size:14px;color:#405c6e;margin:3px 5px 9px}.master-tree-filter{display:flex;justify-content:space-between;gap:8px;width:100%;padding:9px;border:0;border-radius:3px;background:transparent;color:#405b6c;text-align:left;cursor:pointer;font:inherit;font-size:13px}.master-tree-filter:hover,.master-tree-filter.active{background:#dff2ff;color:#126d9f;font-weight:700}.master-tree-filter small{font-size:11px;color:#7b8c98}.master-table{min-width:940px}.master-table td{vertical-align:middle}.master-table input,.master-table select{box-sizing:border-box;width:100%;min-width:85px;padding:6px;border:1px solid #c3d2dc;border-radius:3px;background:#fff}.master-table td:nth-child(3){min-width:230px}.inline-subfield{display:block;margin-top:5px}.master-actions{white-space:nowrap}.master-actions form{display:inline-block;margin:0 3px 3px 0}.status-active{color:#197b48;font-weight:700}.status-disabled{color:#9a4d4d;font-weight:700}@media(max-width:850px){.settings-master-grid{grid-template-columns:1fr}.master-create-grid{grid-template-columns:1fr}.master-layout{grid-template-columns:1fr}.master-tree{border-right:0;border-bottom:1px solid #d5e1e9;display:flex;gap:6px;align-items:center;overflow:auto}.master-tree h3{white-space:nowrap;margin:0}.master-tree-filter{width:auto;white-space:nowrap;flex:0 0 auto}.master-table{min-width:820px}}
.system-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}.system-health{display:block;padding:13px;border:1px solid #d4e1e9;background:#fff;color:#39566a;text-decoration:none;border-radius:4px}.system-health:hover{border-color:#45a2d5;background:#f2fbff}.system-health span,.system-health b,.system-health small{display:block}.system-health span{font-size:12px;color:#718493}.system-health b{margin:4px 0;color:#187ab2;font-size:18px}.system-health small{font-size:12px;color:#728494}.system-health.healthy{border-left:4px solid #44a36c}.system-health.warning{border-left:4px solid #d99b38}.system-health.warning b{color:#b36600}@media(max-width:1000px){.system-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.system-health-grid{grid-template-columns:1fr}}
.global-search-panel{max-width:1180px;margin:auto}.global-search-form{display:flex;gap:8px;max-width:760px;margin:0 0 12px}.global-search-form input{flex:1;min-width:0;border:1px solid #9fc4da;padding:10px 12px;font-size:15px}.search-type-tabs{display:flex;gap:7px;overflow:auto;padding:0 0 13px;border-bottom:1px solid #d7e3eb;margin-bottom:12px}.search-type-tabs a{flex:0 0 auto;padding:7px 11px;border:1px solid #d1dee7;border-radius:3px;background:#fff;color:#496477;text-decoration:none;font-size:13px}.search-type-tabs a:hover,.search-type-tabs a.active{background:#ddf3ff;border-color:#55aada;color:#126d9f;font-weight:700}.global-search-count{margin:0 0 10px;color:#637e90}.global-search-count b{color:#167db5}.global-search-help{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:16px;border:1px solid #d7e5ed;background:#f8fcff;color:#557083}.global-search-help b{grid-column:1/-1;color:#35566d}.global-search-help span{padding:9px;border:1px solid #dbe7ee;background:#fff;font-size:13px}.search-badge-repair{background:#e7f6ff;color:#1677ad}.search-badge-sale{background:#eff9e9;color:#397b29}.search-badge-purchase{background:#fff3e4;color:#a65d00}.search-badge-recovery{background:#f5edff;color:#7150a5}.search-badge-inventory{background:#edf6ef;color:#28714d}.search-badge-customer,.search-badge-supplier{background:#f1f3f7;color:#5a6673}@media(max-width:640px){.global-search-form{flex-wrap:wrap}.global-search-form input{flex-basis:100%}.global-search-help{grid-template-columns:1fr}}
.success-note{margin:0;padding:11px 13px;border:1px solid #a7dcc0;background:#effbf4;color:#176c43;border-radius:4px}.error-note{margin:0 0 12px;padding:11px 13px;border:1px solid #efc2bd;background:#fff4f2;color:#a33a2f;border-radius:4px}.audit-card{margin-top:10px;padding:12px;border:1px solid #e0e8ed;border-left:4px solid #d39b35;background:#fff;border-radius:3px}.audit-card.audit-danger{border-left-color:#c8514f;background:#fffafa}.audit-card.audit-warning{border-left-color:#d59b2e;background:#fffdf8}.audit-card>div:first-child{display:flex;align-items:center;gap:9px;color:#2f4d61}.audit-card>small{display:block;margin-top:4px;color:#6c8090}.audit-card .badge{margin-left:auto;background:#eef5f8;color:#376073;font-weight:700}

/* Finance toolbar: keep the create action readable when the date filters need more room. */
.toolbar>a[href="#new-finance"]{flex:0 0 auto;min-width:88px;white-space:nowrap;word-break:keep-all;writing-mode:horizontal-tb}

/* Repair issue picker: keep row actions at the far right and reduce row height. */
.issue-picker-card .issue-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:7px 10px;cursor:default}
.issue-picker-card .issue-option>span:first-child{min-width:0}
.issue-picker-card .issue-option b{line-height:1.25}
.issue-picker-card .issue-option small{margin-top:2px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.issue-picker-card .issue-option .inline-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-left:auto;white-space:nowrap}
.issue-picker-card .issue-option .inline-actions .btn{padding:5px 9px;font-size:12px;line-height:1.2;white-space:nowrap}

/* Repair parts table: fit the picker inside its own cell without crossing into stock. */
#repair-parts-table .part-picker-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;width:100%;min-width:0}
#repair-parts-table .part-picker-inline input{box-sizing:border-box;width:100%;min-width:0}
#repair-parts-table .part-picker-inline button{position:static;flex:0 0 auto;white-space:nowrap}
