#stocktake .split { grid-template-columns: minmax(250px, 1fr) minmax(0, 2fr); align-items: start; }
.stocktake-pool + .stocktake-pool { margin-top: 22px; }
.stocktake-pool > header { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.stocktake-pool > header span { font-size: .86rem; color: #47695c; }
.stocktake-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.stocktake-export-row { justify-content: flex-end; margin-bottom: 10px; }
.stocktake-export-row > button { min-height: 34px; }
.stocktake-merge { flex: 1 1 100%; order: 1; margin: 0; padding: 9px 12px; border: 1px solid #d2e5d8; border-radius: 9px; background: #f4faf6; }
.stocktake-merge summary { cursor: pointer; color: #235f49; font-size: 12px; font-weight: 650; }
.stocktake-merge-options { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 10px; font-size: 12px; color: #446655; }
.stocktake-merge-options label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.stocktake-merge-options input[type=checkbox] { width: 16px; min-height: 16px; height: 16px; margin: 0; accent-color: #2c7b58; }
.stocktake-merge-options button { margin-left: auto; }
.stocktake-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 8px; border-bottom: 1px solid #e5eee9; }
.stocktake-row.is-scanned { background: #edf7ef; }
.stocktake-row small { display: block; color: #516d62; }
.stocktake-row .stocktake-code { overflow-wrap: anywhere; }
.stocktake-state { color: #516d62; white-space: nowrap; }
.is-scanned .stocktake-state { color: #226a42; font-weight: 650; }
.stocktake-unknown { margin-top: 16px; overflow-wrap: anywhere; }
@media (max-width: 900px) { #stocktake .split { grid-template-columns: minmax(0, 1fr); } }
.cs-mobile .mobile-stocktake-entry { display:flex; gap:10px; align-items:center; width:100%; margin:12px 0; padding:12px 14px; color:#195942; background:#fff; border:1px solid #cde2d5; border-radius:12px; text-align:left; }
.cs-mobile .mobile-stocktake-entry[hidden] { display:none; }
.mobile-stocktake-entry b { flex:1; }
.cs-mobile .mobile-stocktake-controls, .cs-mobile .stocktake-pool, .cs-mobile .stocktake-unknown { padding:14px; margin:12px 0; border:1px solid #d9e7dd; border-radius:12px; background:white; }
.cs-mobile .stocktake-pool > header { position:static; background:none; padding:0 0 8px; }
.stocktake-camera-actions { display:flex; flex-wrap:wrap; gap:8px; }
.mobile-stocktake video { display:block; width:100%; max-height:240px; margin-top:10px; background:#183a30; border-radius:10px; }
.mobile-stocktake video[hidden] { display:none; }
.mobile-stocktake textarea { width:100%; margin:6px 0; }
.mobile-stocktake details { margin:12px 0; }
.mobile-stocktake p[role="status"]:empty { display:none; }
