.r189-panel{width:100%;max-width:100%;min-width:0;margin:12px 0 20px;border:1px solid #d5e5dc;background:#fff;border-radius:18px;padding:18px 20px;direction:rtl;color:#193d35}
.r189-header,.r189-order-head,.r189-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.r189-header h2{font-size:16px;font-weight:800;margin:0 0 5px}.r189-header p{font-size:12px;color:#527168;margin:0}
.r189-panel button{font:inherit;font-size:12px;border:1px solid #c4d9ce;border-radius:9px;padding:9px 12px;background:#fff;color:#16473c;cursor:pointer}
.r189-panel button:hover{background:#eaf5ee}.r189-panel button:disabled{opacity:.55;cursor:not-allowed}
.r189-panel button.r189-action{background:#155449;color:white;border-color:#155449}.r189-panel button.r189-action:hover{background:#0e3f35}
.r189-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:12px;margin-top:14px}
.r189-order{border:1px solid #dbe7e1;background:#fafcfb;border-radius:14px;padding:14px;max-width:100%;min-width:0}
.r189-order-head strong{font-size:13px;overflow-wrap:anywhere}.r189-muted,.r189-warehouse,.r189-tip{font-size:11px;color:#557169}
.r189-pill{font-size:11px;background:#e7f4ec;color:#194b3e;border:1px solid #c6dfd1;border-radius:100px;padding:4px 8px}
.r189-warehouse{font-weight:700;margin:10px 0}
.r189-panel .r189-table{display:table;width:100%;min-width:0!important;max-width:100%;table-layout:fixed;border-collapse:collapse;margin:12px 0;font-size:11px}
.r189-panel .r189-table th,.r189-panel .r189-table td{padding:8px 5px;border-bottom:1px solid #e2ece7;text-align:right;overflow-wrap:anywhere;white-space:normal;min-width:0}
.r189-panel .r189-table th{background:#eaf4ee;font-weight:700}
.r189-panel .r189-table th:first-child{width:40%}.r189-panel .r189-table th:not(:first-child){width:15%}
.r189-em{font-weight:800}.r189-actions{justify-content:flex-start}
.r189-msg{font-size:12px;background:#e7f4ec;padding:10px;border-radius:8px;margin:10px 0}.r189-msg.r189-error{color:#9f251d;background:#ffe9e8}
.r189-empty{font-size:12px;color:#506c63}
@media(max-width:640px){.r189-panel{padding:11px}.r189-order{padding:9px}.r189-panel .r189-table{font-size:10px}.r189-panel .r189-table th,.r189-panel .r189-table td{padding:6px 3px}}

/* R190: compact production batch cards and local-warehouse receipt cards only. */
.r189-panel {padding:10px 13px;margin:8px 0 12px;border-radius:12px}
.r189-header h2 {font-size:14px;margin:0 0 3px}
.r189-header p {font-size:11px}
.r189-cards {grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:8px;margin-top:8px}
.r189-order {padding:9px 11px;border-radius:10px}
.r189-order-head strong {font-size:12px}
.r189-pill {font-size:10px;padding:3px 7px}
.r189-actions {gap:8px;margin-top:7px}
.r189-panel button {padding:7px 10px}
.r190-lines {margin-top:7px}
.r190-lines>summary {cursor:pointer;color:#27584d;font-size:11px;font-weight:700}
.r190-lines>.r189-table {margin:7px 0 3px}
.r190-receipt-list-compact>.receipt-queue {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.r190-receipt-list-compact .receipt-card {padding:.65rem;min-width:0}
.r190-receipt-list-compact .warehouse-head {gap:.4rem;align-items:start}
.r190-receipt-list-compact .warehouse-head>div {min-width:0}
.r190-receipt-list-compact .warehouse-head b {font-size:.79rem}
.r190-receipt-list-compact .production-quantities {gap:.22rem;margin:.38rem 0}
.r190-receipt-list-compact .production-quantities>span {padding:.32rem;font-size:.59rem;min-width:0}
.r190-receipt-list-compact .production-quantities b {font-size:.75rem}
.r190-receipt-list-compact .receipt-form {gap:.42rem;margin-top:.45rem}
.r190-receipt-list-compact .receipt-form label {flex:0 1 130px}
.r190-receipt-list-compact .receipt-form input {min-height:36px}
@media(max-width:1050px) {
 .r190-receipt-list-compact>.receipt-queue {grid-template-columns:1fr}
}
@media(max-width:650px) {
 .r189-panel {padding:9px}
 .r190-receipt-list-compact .production-quantities {grid-template-columns:repeat(2,minmax(0,1fr))}
}
