/* R58 compact warehouse list. Keep controls large while removing card bulk. */
body[data-mode="staff"] #count-items{display:block!important;border:1px solid #dfd8df;background:white}
body[data-mode="staff"] .count-list-row{padding:10px 12px;border-bottom:1px solid #e8e3e8;margin:0;background:white;transition:background-color .2s}
body[data-mode="staff"] .count-line-one{display:grid;grid-template-columns:24px minmax(0,1fr) 78px 44px;gap:8px;align-items:center}
body[data-mode="staff"] .count-line-one strong{font-size:15px!important;line-height:1.25;overflow-wrap:anywhere}
body[data-mode="staff"] .count-line-one input[type="checkbox"]{width:20px!important;height:20px!important;min-height:20px!important;padding:0;margin:0}
body[data-mode="staff"] .count-line-one input[type="text"]{width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;font-size:18px!important;text-align:center;padding:5px!important;border:1px solid #5b1e51;background:#fff;border-radius:5px}
body[data-mode="staff"] .quick-plus{height:44px!important;min-height:44px!important;width:44px!important;padding:0!important;font-size:24px!important;background:#5b1e51;color:white;border:0}
body[data-mode="staff"] .count-line-two{display:block;margin:4px 0 0 32px;color:#6b6370;font-size:11px!important;overflow-wrap:anywhere}
body[data-mode="staff"] .location-details{border:0!important;padding:0!important;margin:4px 0 0 32px!important;box-shadow:none!important;border-radius:0!important;background:transparent!important}
body[data-mode="staff"] .location-details>summary{display:block!important;padding:3px 0!important;min-height:28px!important;font-size:12px!important;color:#5b1e51;cursor:pointer}
body[data-mode="staff"] .location-details[open]{margin-left:0!important;padding-top:8px!important}
body[data-mode="staff"] .count-flash{background:#fff1ac!important;outline:2px solid #ffcc00;animation:registered .45s ease-out}
@keyframes registered{50%{box-shadow:inset 4px 0 #5b1e51}}
.unlisted-row{padding:12px 0;border-bottom:1px solid #ddd;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.unlisted-row p{flex-basis:100%;margin:2px 0}.unlisted-row .badge{background:#fff0ad;color:#433500}
.staff-submit-dialog form{display:grid;gap:12px}.staff-submit-dialog form input{font-size:16px;min-height:44px;width:100%}
body.busy .staff-submit-dialog button{pointer-events:auto;opacity:1}
@media(max-width:480px){body[data-mode="staff"] .count-list-row{padding:8px}body[data-mode="staff"] .count-line-one{grid-template-columns:22px minmax(0,1fr) 65px 44px;gap:6px}body[data-mode="staff"] .count-line-one strong{font-size:14px!important}body[data-mode="staff"] .count-line-two{margin-left:28px}}
@media(prefers-reduced-motion:reduce){.count-flash{animation:none!important;transition:none!important}}
body[data-mode="staff"] #count-items .count-list-row{position:relative}
body[data-mode="staff"] #count-items .location-details{padding:0!important;margin:0!important;border:0!important}
body[data-mode="staff"] #count-items .location-details:not([open])>summary{position:absolute;right:9px;bottom:4px;width:28px;height:28px;line-height:22px;text-align:center;font-size:18px!important;padding:0!important;list-style:none}
body[data-mode="staff"] #count-items .location-details>summary::after{content:none!important}
body[data-mode="staff"] #count-items .location-details[open]>summary{margin:4px 0;text-align:right}
body[data-mode="staff"] #count-items .count-line-two{padding-right:25px}
body[data-mode="staff"] #count-items .quick-plus{background:#5b1e51!important;color:white!important}
