.inventory-picker{max-height:360px;overflow-y:auto;display:flex;flex-direction:column;gap:0;margin:12px 0;padding:3px;scrollbar-gutter:stable}.inventory-choice{display:flex;gap:12px;align-items:flex-start;padding:14px 10px;border-bottom:1px solid #d9e3ed;flex:0 0 auto}.inventory-choice>span{display:block;min-width:0;flex:1;line-height:1.65;overflow-wrap:anywhere}.inventory-choice input{width:18px;min-height:18px;flex-shrink:0;margin-top:3px}.inventory-choice span span{display:block;margin-top:3px;font-weight:400;line-height:1.65}.inventory-picker select{max-width:100%}.inventory-picker>.inventory-choice:hover{background:#f4f7fc}.inventory-choice:focus-within{outline:2px solid #8bb5fa;outline-offset:-2px;border-radius:6px}

/* Use one spacing rule for all three workspace navigation items. */
.sidebar > .side-link{min-height:50px;flex-shrink:0}
.sidebar > .side-link + .side-link{margin-top:8px}
.sidebar > .side-link svg,.sidebar > .side-link .repair-nav-icon{width:24px;height:24px;flex-shrink:0}

.inventory-list-head{gap:20px}.inventory-list-head h2{flex:0 0 auto;white-space:nowrap}.inventory-list-head input{flex:1;min-width:140px}.inventory-device-name{font-weight:650;text-align:left;padding:0;min-height:32px}.settings-scroll{max-height:55vh;overflow-y:auto;padding:2px 4px}.operator-rights{display:grid;grid-template-columns:1fr 1fr;gap:8px}.operator-rights .inventory-choice{margin:0}.inventory-choice input[type=checkbox]{width:18px;min-height:18px;flex:0 0 18px}.inventory-choice{min-height:44px}.settings-scroll .board-control-groups{grid-template-columns:1fr}.settings-scroll .board-control-values{gap:8px}
@media(max-width:600px){.inventory-list-head{align-items:stretch;flex-direction:column}.operator-rights{grid-template-columns:1fr}.settings-scroll .board-control-values{grid-template-columns:1fr}}

dialog .stock-module-form{gap:12px}
dialog .stock-module-form p{margin:0}
.stock-module-form .module-scan-actions,.stock-module-form .module-camera{margin:0}
.stock-module-form details[open] summary{margin-bottom:8px}
.stock-module-form .error:empty{display:none}
@media(max-width:520px){.stock-module-form .fields.two{grid-template-columns:1fr}}

.batch-factory-card{width:100%}.factory-grid [data-batch]{margin-left:10px}.registration-remark{white-space:pre-wrap;overflow-wrap:anywhere;min-width:120px;max-width:360px}

.repair-table td,.repair-table th{padding:9px 12px}.repair-summary{max-width:280px;overflow:hidden;text-overflow:ellipsis}.repair-full{white-space:pre-wrap;overflow-wrap:anywhere}

[data-grant-device][hidden]{display:none}
