.technics-orders { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; margin: 12px 0 18px; padding: 16px; border: 1px solid #c7dad9; border-radius: 12px; background: #f5faf9; }
.technics-orders-head,.technics-barcode-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.technics-orders-head p { margin: 4px 0; }
.technics-orders button { box-sizing: border-box; min-height: 40px; max-width: 100%; padding: 8px 12px; border: 1px solid #557a7d; border-radius: 8px; background: #fff; color: #173740; cursor: pointer; }
.technics-orders button:hover { background: #e6f2ef; }
.technics-order-form { box-sizing: border-box; display: grid; grid-template-columns: minmax(0,1fr); min-width: 0; max-width: 100%; gap: 12px; margin: 12px 0; padding: 16px; border: 1px solid #b0c9c7; border-radius: 10px; background: white; }
.technics-order-form > * { min-width: 0; }
.technics-order-form h5 { margin: 0; font-size: 1rem; }
.technics-order-form label,.technics-order-number { display: grid; grid-template-columns: minmax(0,1fr); min-width: 0; gap: 5px; font-weight: 600; }
.technics-order-form input:not([type=file]) { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px; font: inherit; border: 1px solid #a9c1c0; border-radius: 8px; background: white; color: #173740; }
.technics-order-number-row { display: flex; min-width: 0; gap: 10px; flex-wrap: wrap; align-items: center; }
.technics-order-number-row input { flex: 1 1 220px; min-width: 0; }
.technics-order-dates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-width: 0; gap: 12px; }
.technics-order-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.technics-order-history summary { cursor: pointer; font-weight: 600; }
.technics-order-history ul { list-style: none; padding: 0; margin: 10px 0 0; }
.technics-order-history li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #d6e1e1; overflow-wrap: anywhere; }
.technics-barcode-scanner { box-sizing: border-box; display: grid; grid-template-columns: minmax(0,1fr); min-width: 0; max-width: 100%; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid #bed7d5; border-radius: 10px; background: #f5faf9; font-weight: 400; }
.technics-barcode-head { min-width: 0; }
.technics-barcode-head strong { min-width: 0; overflow-wrap: anywhere; }
.technics-barcode-scanner video { box-sizing: border-box; display: block; width: 100%; min-width: 0; max-width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 45vh; margin: 0 auto; border-radius: 10px; object-fit: contain; background: #102a32; }
.technics-barcode-photo { min-width: 0; max-width: 100%; font-weight: 600; overflow-wrap: anywhere; }
.technics-barcode-photo input { box-sizing: border-box; display: block; width: 100%; min-width: 0; max-width: 100%; font-weight: 400; }
.technics-scan-feedback,.technics-order-error { margin: 0; color: #8c2b25; overflow-wrap: anywhere; }
.permission-badge.technician { background: #e5f3ed; color: #14523c; }
@media (max-width:600px) {
 .technics-orders { padding: 12px; }
 .technics-order-dates { grid-template-columns: minmax(0,1fr); }
 .technics-order-number-row button { width: 100%; }
 .technics-barcode-head { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; }
 .technics-barcode-head button { width: 100%; }
 .technics-order-history li { align-items: start; flex-direction: column; }
}
