.wh-map-shell {
  border: 1px solid var(--border-1); border-radius: var(--radius-md); background: var(--bg-1);
  overflow: hidden; position: relative;
}
.wh-map-toolbar {
  display: flex; align-items: center; justify-content: space-between; padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border-1); background: var(--surface-1); flex-wrap: wrap; gap: var(--sp-3);
}
.wh-zone-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.wh-zone-tab { padding: 7px 14px; border: 1px solid var(--border-2); border-radius: 20px; font-size: 12.5px; color: var(--text-2); background: var(--surface-2); cursor: pointer; }
.wh-zone-tab:hover { border-color: var(--border-strong); }
.wh-zone-tab.active { border-color: var(--accent); background: var(--accent-bg); color: var(--accent-strong); }
.wh-zoom-controls { display: flex; align-items: center; gap: 6px; }
.wh-zoom-controls button { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text-1); border-radius: var(--radius-sm); font-size: 15px; }
.wh-zoom-controls button:hover { border-color: var(--border-strong); color: var(--text-0); }
.wh-zoom-controls .zoom-pct { font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); width: 42px; text-align: center; }

.wh-map-viewport {
  position: relative; width: 100%; height: 560px; overflow: auto; cursor: grab;
  background:
    linear-gradient(var(--border-1) 1px, transparent 1px), linear-gradient(90deg, var(--border-1) 1px, transparent 1px);
  background-size: 24px 24px; background-color: #0c1117;
}
.wh-map-viewport.grabbing { cursor: grabbing; }
.wh-map-viewport svg { display: block; }

.wh-zone-bg { fill: #0f151d; stroke: var(--border-2); stroke-width: 1; }
.wh-zone-label { fill: var(--text-3); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.wh-aisle-label { fill: var(--text-3); font-family: var(--font-mono); font-size: 8px; }
.wh-dock-zone { fill: rgba(95,147,201,0.06); stroke: var(--status-reserved); stroke-dasharray: 4 3; stroke-width: 1; }
.wh-walkway { fill: none; }

.wh-position {
  stroke: rgba(0,0,0,0.4); stroke-width: 0.5; transition: filter 0.1s ease;
}
.wh-position.available { fill: var(--status-available); cursor: pointer; }
.wh-position.available:hover { filter: brightness(1.3); stroke: #fff; stroke-width: 1; }
.wh-position.selected { fill: var(--status-selected); cursor: pointer; stroke: #fff; stroke-width: 1.2; }
.wh-position.reserved { fill: var(--status-reserved); cursor: not-allowed; opacity: 0.75; }
.wh-position.occupied { fill: var(--status-occupied); cursor: not-allowed; opacity: 0.65; }
.wh-position.blocked { fill: var(--status-blocked); cursor: not-allowed; opacity: 0.55; }
.wh-position.maintenance { fill: var(--status-maintenance); cursor: not-allowed; opacity: 0.65; }

.wh-legend { display: flex; flex-wrap: wrap; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--border-1); background: var(--surface-1); }
.wh-legend-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); }
.wh-legend-swatch { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }

.wh-position-panel { padding: var(--sp-5); }
.wh-position-panel .pos-code { font-family: var(--font-mono); font-size: 20px; color: var(--text-0); margin-bottom: var(--sp-4); }
.wh-position-panel .spec-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border-1); font-size: 13px; }
.wh-position-panel .spec-row .k { color: var(--text-3); }
.wh-position-panel .spec-row .v { color: var(--text-0); font-weight: 500; }

.wh-mobile-hint { display: none; padding: var(--sp-3) var(--sp-4); background: var(--accent-bg); color: var(--accent-strong); font-size: 12px; text-align: center; }
@media (max-width: 720px) {
  .wh-map-viewport { height: 420px; }
  .wh-mobile-hint { display: block; }
}

.wh-selection-tray { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--border-1); background: var(--surface-1); }
