.admin-work-dialog{width:min(1060px,calc(100vw - 48px));max-width:1060px}.admin-work-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:12px 0}.admin-work-filters>label{flex:1;min-width:170px}.admin-work-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.admin-work-actions button{min-height:38px}.admin-work-pager{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:20px 0 4px}.admin-work-check{display:flex;align-items:center;gap:8px;margin:16px 0}.admin-work-check input{width:18px;flex:0 0 18px}.defect-case-row{display:flex;gap:18px;align-items:center;justify-content:space-between;border:1px solid #dcdad5;border-radius:12px;padding:16px;margin:12px 0}.defect-case-row small{display:block;margin:6px 0;color:#6e706b}.defect-case-row p{margin:8px 0}.defect-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.defect-counters>span{border:1px solid #dedbd6;padding:12px;border-radius:10px}.defect-counters strong{display:block;font-size:24px;margin-top:4px}.defect-stock-tag{color:#a53027!important;background:#fff0ec!important;border:1px solid #edb1a8!important;border-radius:8px;margin:8px 0;padding:5px 9px;font-size:12px!important}.customer-stars{color:#a4610a;white-space:nowrap;font-size:19px}#customer-ranking th,#customer-ranking td{vertical-align:top}#customer-ranking .tablewrap{overflow:auto}#customer-ranking td:nth-child(2){min-width:150px}#customer-ranking td:nth-child(7){min-width:150px}#defect-nav-entry{color:#f5cbc3}#defectnew{align-self:end}

#customer-ranking table{table-layout:fixed;width:100%}#customer-ranking th:nth-child(1){width:5%}#customer-ranking th:nth-child(2){width:16%}#customer-ranking th:nth-child(3){width:7%}#customer-ranking th:nth-child(4){width:18%}#customer-ranking th:nth-child(5){width:10%}#customer-ranking th:nth-child(6){width:12%}#customer-ranking th:nth-child(7){width:18%}#customer-ranking th:nth-child(8){width:14%}#customer-ranking th,#customer-ranking td{min-width:0!important;overflow-wrap:anywhere;padding:12px 8px}#customer-ranking td .admin-work-actions{flex-direction:column;align-items:stretch;margin:0;gap:5px}#customer-ranking .rating-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.admin-private-form .customerpicker{display:grid;gap:8px}.admin-private-form .customerpicker .buttonlink{justify-self:start}.admin-work-filters button[type=submit]{min-height:44px}

#customer-ranking th{white-space:normal;line-height:1.4}
#customer-ranking th{font-size:10px;letter-spacing:0;overflow-wrap:normal;word-break:normal}

#stockDefects .defect-journal-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}#stockDefects .defect-journal-filters>label{min-width:0;margin:0;display:grid;gap:6px}#stockDefects .defect-journal-filters select{width:100%;min-width:0;height:44px;margin:0}#stockDefects #defectnew{margin:0;padding:0;align-self:end}#stockDefects #defectnew button{height:44px;min-height:44px;white-space:nowrap;margin:0}@media(max-width:760px){#stockDefects .defect-journal-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#stockDefects #defectnew{grid-column:1/-1}#stockDefects #defectnew button{width:100%}}@media(max-width:420px){#stockDefects .defect-journal-filters{grid-template-columns:minmax(0,1fr)}}
