/* Separate, compact machine quantities. Shared product stock is never shown. */
.machines-active .workspace-tabs{display:none}
#machines-view{min-width:0}
.machines-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
.machines-heading h2{font-size:1.08rem;white-space:nowrap}
.machines-heading-actions{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap}
.machines-heading-actions button,.machines-open{min-height:38px;padding:7px 11px;font-size:.78rem;white-space:nowrap;border-radius:8px}
.machines-open{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#fff}
.machines-open[hidden]{display:none}
.machines-intro,.machines-readonly{font-size:.78rem;color:#81778c;line-height:1.6;margin-bottom:13px}
.machines-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.machines-summary[hidden]{display:none}
.machines-total{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 14px;border:1px solid #d9e4f0;border-radius:9px;color:#365b81;background:#edf4fc;min-width:0}
.machines-total+ .machines-total{background:#f3f0fa;border-color:#e1daec;color:#715392}
.machines-total>span{font-size:.78rem;white-space:nowrap}
.machines-total>strong{font-size:1.15rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.machines-total small,.machines-quantity small{font-size:.72rem;margin-left:4px;font-weight:500}
.machines-summary-breakdown{grid-column:1/-1;display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin:0;font-size:.74rem;color:#6d617a;font-variant-numeric:tabular-nums}
.machines-search-label{display:block;font-size:.75rem;color:#71647d;min-width:0}
.machines-search-label input{width:100%;min-height:40px;font-size:.8125rem;padding:8px 11px;border-radius:7px;margin-top:4px;box-sizing:border-box}
.machines-notice{font-size:.78rem;color:#8b7f98;line-height:1.5;margin:12px 0}
.machines-notice:empty{display:none}
.machines-notice.is-error{color:#a74648;background:#fff3ef;border:1px solid #f2d9d1;padding:10px 12px;border-radius:7px}
.machines-list{display:grid;gap:7px;padding:0;margin:13px 0 0;list-style:none}
.machines-record{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid #e3dfea;border-radius:9px;background:white;min-width:0}
.machines-record-main{flex:1;min-width:0}
.machines-name{display:block;font-size:.85rem;font-weight:650;color:#463a52;overflow-wrap:anywhere}
.machines-model{display:block;font-size:.75rem;color:#7c7088;overflow-wrap:anywhere;margin-top:3px}
.machines-code{display:block;font-size:.67rem;color:#9c90a8;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:3px}
.machines-quantities{flex:none;min-width:110px;display:grid;gap:5px}
.machines-condition-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.machines-condition-label{font-size:.71rem;font-weight:500;color:#718399;white-space:nowrap}
.machines-quantity{flex:none;font-size:.96rem;font-weight:650;color:#4d6889;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}
.machines-condition-row.is-used .machines-condition-label,.machines-condition-row.is-used .machines-quantity{color:#806351}
.machines-record.is-empty{background:#faf9fc}.machines-record.is-empty .machines-quantity{color:#9b92a6}
.machines-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px;font-size:.72rem;color:#95869f}
.machines-updated{font-size:.67rem;color:#a89bb2}
.machines-empty{font-size:.81rem;line-height:1.8;color:#93859f;text-align:center;padding:25px 12px;border:1px dashed #dbd1e6;border-radius:9px;background:#fbf9fd;margin-top:13px;overflow-wrap:anywhere}
.machines-readonly{font-size:.7rem;margin:13px 0 0;color:#a396ad}
@media(max-width:760px){
 .machines-heading{gap:8px}.machines-heading h2{font-size:.95rem}
 .machines-heading-actions{gap:5px}.machines-heading-actions button,.machines-open{min-height:36px;padding:6px 8px;font-size:.7rem}
 .machines-intro{font-size:.72rem;margin-bottom:10px}.machines-summary{gap:7px;margin:10px 0}
 .machines-total{padding:10px;gap:6px}.machines-total>span{font-size:.7rem}.machines-total>strong{font-size:1rem}
 .machines-total small{font-size:.65rem;margin-left:3px}.machines-record{padding:10px 11px;gap:10px}
 .machines-name{font-size:.81rem}.machines-model{font-size:.71rem}.machines-code{font-size:.65rem}.machines-quantity{font-size:.87rem}
 .machines-quantities{min-width:101px;gap:4px}.machines-condition-label{font-size:.67rem}.machines-summary-breakdown{font-size:.69rem;gap:15px}
}
@media(max-width:360px){
 .machines-heading{align-items:flex-start;flex-wrap:wrap}.machines-heading-actions{margin-left:auto}
 .machines-total{padding:9px 8px}.machines-total>span{font-size:.66rem}.machines-total>strong{font-size:.91rem}
}
