.warehouse-locations-shell { display:grid; gap:20px; min-width:0; }
#warehouseBoxAddressesRoot:not([hidden]) + #warehouseLocationsRoot { margin-top:20px; }
.locations-head,.locations-manage,.locations-tools,.locations-list { background:#fff; border:1px solid #eaddea; border-radius:18px; padding:20px; }
.locations-head h2,.locations-manage h3 { margin:0; }
.locations-head p:last-child { color:#665b66; }
.locations-manage { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.locations-manage h3,.locations-preview { grid-column:1/-1; }
.locations-manage label { display:grid; gap:6px; font-weight:700; }
.locations-manage input,.locations-tools input { min-width:0; padding:11px 13px; border:1px solid #cdbdca; border-radius:10px; }
.locations-manage button,.locations-tools button,.location-row button,.locations-pagination button { border:0; border-radius:10px; padding:10px 14px; font-weight:800; cursor:pointer; }
.locations-manage button,.locations-tools button:first-of-type { background:var(--accent); color:#fff; }
.locations-manage [data-action="create-one"] { align-self:end; justify-self:start; width:auto; max-width:100%; min-height:44px; padding:10px 18px; }
.locations-manage button:hover:not(:disabled),.locations-tools button:first-of-type:hover:not(:disabled) { background:var(--accent-dark); }
.locations-manage button:disabled,.locations-tools button:disabled,.location-row button:disabled,.locations-pagination button:disabled { opacity:.45; cursor:not-allowed; }
.locations-tools { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.locations-tools input { flex:1 1 260px; }
.locations-list { padding:0; overflow:hidden; }
.location-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,.6fr) auto auto; gap:14px; align-items:center; padding:14px 18px; border-bottom:1px solid #eee4ed; min-width:0; }
.location-row:last-child { border-bottom:0; }
.location-choice { display:flex; gap:10px; align-items:center; min-width:0; color:#17131a; font-size:16px; font-weight:700; }
.location-choice input[type="checkbox"] { appearance:auto; width:20px; height:20px; min-width:20px; max-width:20px; flex:0 0 20px; margin:0; padding:0; }
.location-choice span,.location-row small { overflow-wrap:anywhere; }
.locations-pagination { display:flex; justify-content:flex-end; gap:10px; align-items:center; }
.locations-error { color:#a40035; font-weight:700; }
.locations-preview { padding:14px; background:#fff6fb; border-radius:12px; overflow-wrap:anywhere; }
@media(max-width:700px) {
  .locations-manage { grid-template-columns:1fr 1fr; }
  .location-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .location-row small { grid-column:1/-1; }
  .location-row button { width:100%; }
  .locations-tools>* { flex:1 1 100%; }
  .locations-pagination { justify-content:space-between; }
}
