.wms-board {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: #dff4ff;
  background: #051c36;
  font-synthesis: none;
}

.wms-board, .wms-board *{
  box-sizing: border-box;
}

.wms-board {
  margin: 0;
  min-width: 1180px;
  min-height: 100vh;
  overflow-x: auto;
  background: #051c36;
}

.wms-board .dashboard {
  min-height: 100vh;
  padding: 0 0 14px;
  background:
    linear-gradient(rgba(55, 154, 218, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 154, 218, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
}

.wms-board .topbar {
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #051c36;
}

.wms-board .topbar::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  background: #051c36;
  pointer-events: none;
}

.wms-board .title-background {
  position: absolute;
  z-index: 0;
  top: -7px;
  right: 0;
  left: 0;
  height: 110px;
  background: url("dashboard-title-bg.png") center / 100% 110px no-repeat;
  pointer-events: none;
}

.wms-board .title-wrap {
  position: relative;
  z-index: 1;
  min-width: 560px;
  padding: 0 42px;
  text-align: center;
  color: #f4fbff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 8px;
  text-shadow:
    0 2px 3px rgba(0, 30, 57, 0.95),
    0 0 16px rgba(64, 192, 255, 0.9);
}

.wms-board .title-wrap::before,
.wms-board .title-wrap::after {
  display: none;
}

.wms-board .title-wrap::before {
  left: 0;
  transform: skewX(30deg);
  border-left: 2px solid #30b6ff;
}

.wms-board .title-wrap::after {
  right: 0;
  transform: skewX(-30deg);
  border-right: 2px solid #30b6ff;
}

.wms-board .header-line {
  display: none;
}

.wms-board .header-line.right {
  background: linear-gradient(90deg, #28b3ff, transparent);
}

.wms-board .header-actions {
  position: absolute;
  z-index: 2;
  right: 12%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.wms-board .header-time {
  position: absolute;
  z-index: 2;
  left: 12%;
  color: #bfeaff;
  font-size: 12px;
  text-shadow: 0 0 7px rgba(50, 181, 235, 0.65);
}

.wms-board .header-actions div {
  padding: 6px 12px;
  border: 1px solid #1f5680;
  border-radius: 3px;
  background: rgba(5, 27, 52, 0.75);
  cursor: pointer;
}

.wms-board .header-actions .warehouse-select {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
}

.wms-board .warehouse-select-trigger {
  min-width: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wms-board .header-actions .warehouse-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 5px);
  right: 0;
  width: 100%;
  overflow: hidden;
  padding: 3px;
  border: 1px solid #276c98;
  border-radius: 3px;
  background: rgba(5, 28, 53, 0.98);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.35);
}

.wms-board .header-actions .warehouse-menu div {
  padding: 7px 9px;
  border: 0;
  color: #a9d5e9;
  background: transparent;
}

.wms-board .header-actions .warehouse-menu div:hover,
.wms-board .header-actions .warehouse-menu div.active {
  color: #effcff;
  background: rgba(39, 143, 194, 0.28);
}

.wms-board .dashboard-grid {
  display: grid;
  grid-template-columns: minmax(280px, 28%) minmax(520px, 44%) minmax(280px, 28%);
  gap: 9px;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.wms-board .side-column,
.wms-board .center-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.wms-board .left-column {
  padding: 0 0 0 14px;
}

.wms-board .right-column {
  padding: 0 14px 0 0;
}

.wms-board .panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #15517e;
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(20, 74, 117, 0.12), transparent 32%),
    rgba(5, 28, 54, 0.82);
  box-shadow:
    inset 0 0 22px rgba(0, 95, 167, 0.09),
    0 0 10px rgba(0, 0, 0, 0.18);
  border-top-color: #051c36;
}

.wms-board .panel::before,
.wms-board .panel::after {
  display: none;
}

.wms-board .panel::before {
  left: 0;
  top: 0;
}

.wms-board .panel::after {
  right: 0;
  bottom: 0;
}

.wms-board .panel-heading {
  height: 42px;
  padding: 0 12px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wms-board .panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #edf9ff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.wms-board .title-mark {
  width: 3px;
  height: 21px;
  border-radius: 3px;
  background: #22c4ff;
  box-shadow: 0 0 9px #22c4ff;
}

.wms-board .tag,
.wms-board .filter-row span {
  border: 1px solid #216492;
  border-radius: 10px;
  padding: 3px 9px;
  color: #70d9ff;
  font-size: 12px;
  background: rgba(4, 35, 65, 0.8);
}

.wms-board .activity-panel {
  height: 250px;
  flex: 0 0 auto;
}

.wms-board .activity-table {
  padding: 0 9px 10px;
  font-size: 12px;
}

.wms-board .activity-row {
  display: grid;
  grid-template-columns: 1.05fr 0.58fr 1.7fr 0.8fr;
  align-items: center;
  min-height: 27px;
  padding: 0 6px;
  color: #cbeaff;
}

.wms-board .activity-row:nth-child(even) {
  background: rgba(33, 83, 127, 0.2);
}

.wms-board .activity-row.table-head {
  min-height: 28px;
  border-bottom: 1px solid rgba(48, 123, 177, 0.35);
  color: #65add4;
}

.wms-board .activity-row b {
  font-weight: 600;
}

.wms-board .status-in {
  color: #28d3c1;
}

.wms-board .status-out {
  color: #ffc740;
}

.wms-board .activity-window {
  height: 170px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}

.wms-board .activity-track {
  animation: activity-scroll 18s linear infinite;
  will-change: transform;
}

.wms-board .activity-window:hover .activity-track {
  animation-play-state: paused;
}

.wms-board .activity-set {
  height: 216px;
}

.wms-board .live-tag {
  display: flex;
  align-items: center;
  gap: 5px;
}

.wms-board .live-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #35d8e2;
  box-shadow: 0 0 7px #35d8e2;
  animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes activity-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-216px); }
}

@keyframes live-pulse {
  50% { opacity: 0.35; }
}

.wms-board .pending-panel {
  height: 260px;
  flex: 0 0 auto;
}

.wms-board .pending-grid {
  height: calc(100% - 42px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 5px 18px;
  padding: 2px 18px 13px;
}

.wms-board .pending-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 3px;
  padding-left: 22px;
  background: linear-gradient(90deg, rgba(26, 92, 137, 0.2), transparent);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.wms-board .pending-card:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 183, 237, 0.35);
  background: linear-gradient(90deg, rgba(28, 113, 168, 0.34), transparent);
}

.wms-board .pending-symbol {
  position: relative;
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #43d6e9;
  background: rgba(36, 165, 199, 0.12);
  box-shadow: 0 0 9px rgba(43, 201, 224, 0.32), inset 0 0 10px rgba(35, 177, 214, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.wms-board .pending-symbol::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed currentColor;
  border-radius: 50%;
  opacity: 0.5;
}

.wms-board .pending-symbol svg {
  position: relative;
  z-index: 1;
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.wms-board .pending-card > div {
  min-width: 0;
}

.wms-board .pending-card strong,
.wms-board .pending-card > div span {
  display: block;
}

.wms-board .pending-card strong {
  color: #e9faff;
  margin-top: 5px;
  font-size: 18px;
  line-height: 1.1;
}

.wms-board .pending-card > div span {
  overflow: hidden;
  color: #9ecce2;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wms-board .pending-card strong small {
  color: #88aec2;
  font-size: 12px;
  font-weight: 400;
}

.wms-board .pending-card > i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: #051c36;
  box-shadow: none;
}

.wms-board .pending-out .pending-symbol { color: #4aa8ff; background: rgba(40, 126, 203, 0.12); }
.wms-board .pending-check .pending-symbol { color: #f6c64a; background: rgba(196, 147, 36, 0.12); }
.wms-board .pending-move .pending-symbol { color: #d879e8; background: rgba(176, 76, 199, 0.12); }
.wms-board .pending-out > i,
.wms-board .pending-check > i,
.wms-board .pending-move > i { background: #051c36; box-shadow: none; }

.wms-board .age-panel {
  flex: 1;
  min-height: 320px;
}

.wms-board .filter-row {
  display: flex;
  gap: 5px;
}

.wms-board .filter-row span {
  border-radius: 2px;
  padding: 4px 8px;
  color: #d9f2ff;
}

.wms-board .chart-legend {
  display: flex;
  gap: 14px;
  color: #9acbe5;
  font-size: 12px;
}

.wms-board .chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.wms-board .chart-legend i {
  width: 7px;
  height: 7px;
  display: inline-block;
}

.wms-board .chart-legend .cyan { background: #31d4de; }
.wms-board .chart-legend .pink { background: #d86ccf; }
.wms-board .annual-panel {
  flex: 0 0 auto;
  height: 260px;
}

.wms-board .inventory-toolbar,
.wms-board .flow-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wms-board .type-filter,
.wms-board .range-filter {
  display: flex;
  overflow: hidden;
  border: 1px solid #225f87;
  border-radius: 3px;
}

.wms-board .type-filter div,
.wms-board .range-filter div {
  min-width: 38px;
  padding: 4px 9px;
  border-right: 1px solid #225f87;
  color: #86bdd8;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.wms-board .type-filter div:last-child,
.wms-board .range-filter div:last-child {
  border-right: 0;
}

.wms-board .type-filter div:hover,
.wms-board .type-filter div.active,
.wms-board .range-filter div:hover,
.wms-board .range-filter div.active {
  color: #effcff;
  background: rgba(29, 155, 218, 0.28);
  box-shadow: inset 0 -2px #35c9ff;
}

.wms-board .year-total {
  height: 29px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(40, 142, 195, 0.42);
  border-radius: 3px;
  color: #a5d9f3;
  font-size: 12px;
  background: linear-gradient(90deg, rgba(22, 94, 139, 0.28), rgba(7, 40, 69, 0.42));
  box-shadow: inset 0 0 10px rgba(35, 154, 207, 0.08);
}

.wms-board .year-total b {
  color: #edfaff;
}

.wms-board .year-total strong {
  color: #4fc7ff;
  font-size: 17px;
  text-shadow: 0 0 8px rgba(65, 193, 245, 0.45);
}

.wms-board .annual-content {
  height: 214px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 206px minmax(160px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  padding: 2px 8px 4px;
}

.wms-board .donut-wrap {
  display: grid;
  place-items: center;
}

.wms-board .donut {
  position: relative;
  width: 200px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 220ms ease, transform 180ms ease;
  filter: drop-shadow(0 0 12px rgba(23, 171, 239, 0.18));
}

.wms-board .donut:hover {
  transform: scale(1.035);
  filter: drop-shadow(0 0 16px rgba(38, 184, 246, 0.42));
}

.wms-board .donut::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #071d38;
  box-shadow: inset 0 0 18px rgba(37, 147, 210, 0.22);
  transform: translate(-50%, -50%);
}

.wms-board .donut-center {
  position: relative;
  z-index: 1;
  text-align: center;
}

.wms-board .donut-center span {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.wms-board .donut-center strong {
  color: #53c8ff;
  font-size: 20px;
}

.wms-board .inventory-legend {
  min-width: 0;
  width: 100%;
}

.wms-board .legend-left {
  justify-self: end;
}

.wms-board .legend-right {
  justify-self: start;
}

.wms-board .legend-row {
  height: 30px;
  display: grid;
  grid-template-columns: minmax(72px, 1fr) auto 30px;
  align-items: center;
  gap: 7px;
  padding: 2px 5px;
  border-radius: 2px;
  color: #bde7ff;
  font-size: 12px;
  cursor: pointer;
}

.wms-board .legend-row:hover,
.wms-board .legend-row.active {
  background: linear-gradient(90deg, rgba(35, 138, 194, 0.24), transparent);
  box-shadow: inset 2px 0 #36c8ff;
}

.wms-board .legend-count {
  color: #d9f2ff;
  text-align: right;
}

.wms-board .legend-name {
  display: flex;
  align-items: center;
  gap: 7px;
}

.wms-board .legend-name i {
  width: 7px;
  height: 7px;
  border-radius: 1px;
}

.wms-board .legend-row b {
  color: #8bd4ff;
}

.wms-board .warehouse-panel {
  flex: 0 0 auto;
  height: 250px;
}

.wms-board .warehouse-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #79bbda;
  font-size: 12px;
}

.wms-board .warehouse-controls div {
  width: 23px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid #23638d;
  border-radius: 2px;
  color: #a8ddf4;
  font-size: 18px;
  line-height: 1;
  background: rgba(13, 65, 101, 0.35);
  cursor: pointer;
}

.wms-board .warehouse-controls div:hover {
  color: #ffffff;
  border-color: #36c8ff;
  background: rgba(26, 139, 197, 0.3);
}

.wms-board .warehouse-controls div.disabled {
  opacity: 0.35;
  cursor: default;
}

.wms-board .warehouse-viewport {
  display: block;
  margin: 6px 0 0;
  padding: 0;
  overflow: hidden;
}

.wms-board .warehouse-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 10px 8px;
}

.wms-board .warehouse-card {
  position: relative;
  height: 92px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border: 1px solid #175481;
  border-radius: 4px;
  background: linear-gradient(110deg, rgba(19, 74, 115, 0.3), rgba(5, 28, 54, 0.35));
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.wms-board .primary-warehouse-card {
  height: 90px;
}

.wms-board .warehouse-card:hover,
.wms-board .warehouse-card.active {
  border-color: #2c9fd5;
  background: linear-gradient(110deg, rgba(26, 113, 164, 0.4), rgba(5, 28, 54, 0.38));
  transform: translateY(-1px);
}

.wms-board .warehouse-card.active {
  box-shadow: inset 3px 0 #32c9ff, 0 0 10px rgba(39, 164, 217, 0.16);
}

.wms-board .warehouse-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 1px;
  background: #30bcff;
}

.wms-board .warehouse-icon {
  width: 48px;
  flex: 0 0 auto;
}

.wms-board .warehouse-icon svg {
  width: 100%;
  fill: rgba(31, 151, 212, 0.12);
  stroke: #32bfff;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 5px rgba(45, 188, 255, 0.4));
}

.wms-board .warehouse-copy {
  min-width: 0;
  flex: 1;
}

.wms-board .warehouse-copy span {
  display: block;
  overflow: hidden;
  color: #a7d8f1;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wms-board .warehouse-copy strong {
  display: block;
  margin-top: 3px;
  color: #eefaff;
  font-size: 13px;
}

.wms-board .warehouse-copy strong b {
  color: #50d5ff;
}

.wms-board .capacity {
  height: 3px;
  margin-top: 7px;
  border-radius: 3px;
  background: #102f4c;
}

.wms-board .capacity i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1789d5, #36e0ef);
  box-shadow: 0 0 5px #2cb7e9;
}

.wms-board .warehouse-card em {
  position: absolute;
  top: 9px;
  right: 9px;
  color: #4bbce9;
  font-size: 12px;
  font-style: normal;
}

.wms-board .flow-panel {
  height: 380px;
  flex-grow: 0;
  flex-basis: auto;
  min-height: 350px;
}

.wms-board .flow-layout {
  height: calc(100% - 42px);
  min-height: 295px;
  display: grid;
  grid-template-columns: 122px 1fr;
  padding: 0 13px 13px 10px;
}

.wms-board .range-filter div {
  min-width: 32px;
}

.wms-board .age-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 5px 10px 18px;
}

.wms-board .age-overview > div {
  padding: 15px 8px 13px;
  border: 1px solid #175481;
  border-radius: 3px;
  text-align: center;
  background: linear-gradient(180deg, rgba(29, 103, 153, 0.22), rgba(5, 28, 54, 0.14));
}

.wms-board .age-overview strong,
.wms-board .age-overview span {
  display: block;
}

.wms-board .age-overview strong {
  color: #56d9ff;
  font-size: 18px;
}

.wms-board .age-overview > div:nth-child(2) strong {
  color: #ff6c78;
}

.wms-board .age-overview span {
  margin-top: 5px;
  color: #87bdd8;
  font-size: 12px;
}

.wms-board .age-list {
  display: grid;
  gap: 10px 18px;
  column-gap: 18px;
  padding: 6px 14px;
}

.wms-board .age-row {
  display: grid;
  grid-template-columns: 62px 1fr 38px;
  align-items: center;
  gap: 9px;
  color: #acd5e9;
  font-size: 12px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.wms-board .age-row:hover,
.wms-board .age-row.active {
  border-color: rgba(49, 151, 202, 0.3);
  background: linear-gradient(90deg, rgba(28, 109, 157, 0.25), transparent);
}

.wms-board .age-row.active .age-track i {
  filter: brightness(1.3);
  animation: selected-bar-pulse 1.6s ease-in-out infinite;
}

.wms-board .age-row b {
  color: #dff5ff;
  text-align: right;
}

.wms-board .age-track {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #102f4c;
}

.wms-board .age-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 0 7px currentColor;
}

.wms-board .age-track .fresh { color: #2bd0c0; background: linear-gradient(90deg, #168b9a, #2bd0c0); }
.wms-board .age-track .normal { color: #32a7f5; background: linear-gradient(90deg, #176cae, #32a7f5); }
.wms-board .age-track .warning { color: #f6c64a; background: linear-gradient(90deg, #a57922, #f6c64a); }
.wms-board .age-track .danger { color: #ff6372; background: linear-gradient(90deg, #a83d52, #ff6372); }

.wms-board .age-note {
  margin: 22px 14px 0;
  padding: 12px;
  border: 1px solid rgba(236, 100, 112, 0.28);
  color: #d2e8f4;
  font-size: 12px;
  background: rgba(111, 41, 55, 0.12);
}

.wms-board .age-note.fresh,
.wms-board .age-note.normal {
  border-color: rgba(55, 190, 210, 0.28);
  background: rgba(29, 109, 139, 0.12);
}

.wms-board .age-note.warning {
  border-color: rgba(246, 198, 74, 0.3);
  background: rgba(121, 91, 26, 0.12);
}

@keyframes selected-bar-pulse {
  50% { opacity: 0.72; }
}

.wms-board .age-note i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #ff6372;
  box-shadow: 0 0 6px #ff6372;
}

.wms-board .flow-metrics {
  display: grid;
  align-content: stretch;
  padding: 4px 10px 4px 0;
}

.wms-board .flow-metrics > div {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(48, 122, 172, 0.22);
}

.wms-board .flow-arrow,
.wms-board .flow-cube {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37, 159, 212, 0.25);
  color: #45dbeb;
  font-size: 22px;
  background: rgba(22, 118, 166, 0.16);
  box-shadow: 0 0 12px rgba(31, 169, 220, 0.13);
}

.wms-board .flow-arrow.inbound {
  color: #e86bd2;
}

.wms-board .flow-metrics p {
  margin: 0;
}

.wms-board .flow-metrics p b {
  display: block;
  color: #59e2ee;
  font-size: 17px;
}

.wms-board .flow-metrics > div:nth-child(2) p b {
  color: #e77bd5;
}

.wms-board .flow-metrics p small {
  color: #a8d2e9;
  font-size: 12px;
}

.wms-board .bar-chart {
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(46, 116, 163, 0.35);
  border-bottom: 1px solid rgba(46, 116, 163, 0.35);
}

.wms-board .chart-selection {
  position: absolute;
  z-index: 3;
  top: 7px;
  right: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border: 1px solid rgba(48, 143, 194, 0.35);
  border-radius: 2px;
  color: #9bc9df;
  font-size: 12px;
  background: rgba(6, 31, 57, 0.86);
  pointer-events: none;
}

.wms-board .chart-selection b:nth-child(2) { color: #4ee6e5; }
.wms-board .chart-selection b:nth-child(3) { color: #eb88df; }

.wms-board .grid-line {
  position: absolute;
  right: 0;
  left: 0;
  border-top: 1px dashed rgba(57, 127, 173, 0.22);
}

.wms-board .grid-line span {
  position: absolute;
  top: -7px;
  left: 4px;
  color: #6d9db9;
  font-size: 12px;
}

.wms-board .line-1 { top: 12%; }
.wms-board .line-2 { top: 34%; }
.wms-board .line-3 { top: 56%; }
.wms-board .line-4 { top: 78%; }

.wms-board .bars {
  position: absolute;
  inset: 7px 10px 0 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.wms-board .bar-group {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
}

.wms-board .bar-pair {
  height: calc(100% - 24px);
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.wms-board .bar-pair i {
  width: 10px;
  min-height: 2px;
  display: block;
  transition: height 220ms ease, width 150ms ease, filter 150ms ease;
}

.wms-board .bar-group:hover .bar-pair i,
.wms-board .bar-group.active .bar-pair i {
  width: 13px;
  filter: brightness(1.3);
}

.wms-board .bar-group.active > span {
  color: #eefaff;
  text-shadow: 0 0 7px #4db9e8;
}

.wms-board .out-bar {
  background: linear-gradient(180deg, #4ee6e5, #178fbd);
  box-shadow: 0 0 8px rgba(48, 217, 224, 0.35);
}

.wms-board .in-bar {
  background: linear-gradient(180deg, #eb88df, #894aaf);
  box-shadow: 0 0 8px rgba(224, 100, 209, 0.35);
}

.wms-board .bar-group > span {
  height: 22px;
  padding-top: 7px;
  color: #81b8d6;
  font-size: 12px;
}

.wms-board .work-panel {
  height: 260px;
}

.wms-board .work-total {
  position: relative;
  width: auto;
  height: auto;
  margin: 2px 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #9fd4ef;
  font-size: 13px;
  background: transparent;
}

.wms-board .work-total-title {
  letter-spacing: 1px;
  line-height: 1;
}

.wms-board .work-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.wms-board .work-unit,
.wms-board .work-digit {
  position: relative;
  width: 26px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #2f86b4;
  border-radius: 2px;
  background: linear-gradient(180deg, #12486a 0%, #0b334c 48%, #071e30 52%, #0c3d5c 100%);
  box-shadow: inset 0 0 8px rgba(56, 176, 230, 0.28), 0 0 6px rgba(24, 120, 180, 0.25);
  color: #f3fbff;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.wms-board .work-unit {
  font-size: 14px;
}

.wms-board .work-digit {
  font-family: "DIN Alternate", "Arial Black", Arial, sans-serif;
  font-size: 18px;
}

.wms-board .work-digit::after,
.wms-board .work-unit::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 50%;
  height: 1px;
  background: rgba(0, 10, 24, 0.55);
}

.wms-board .work-total::before,
.wms-board .work-total::after {
  display: none;
}

.wms-board .work-total::before {
  top: 2px;
}

.wms-board .work-total::after {
  bottom: 2px;
}

.wms-board .work-total b {
  color: #83e5ff;
  font-size: 20px;
  font-family: "Arial Black", "DIN Alternate", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 0 9px rgba(74, 203, 244, 0.48);
}

.wms-board .work-total b small {
  margin-left: 2px;
  color: #b9dce9;
  font-size: 11px;
  font-weight: 400;
}

.wms-board .work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-top: 16px;
  padding: 0 14px 8px;
}

.wms-board .progress-row {
  height: auto;
  min-height: 52px;
  padding: 2px 6px 0;
  color: #c4e5f4;
  font-size: 15px;
  font-weight: 700;
}

.wms-board .progress-meta {
  height: auto;
  min-height: 26px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.wms-board .progress-meta > span {
  color: #bce2f3;
  font-size: 15px;
  font-weight: 700;
}

.wms-board .progress-meta > b {
  color: #effbff;
  font-size: 18px;
  font-weight: 700;
}

.wms-board .progress-meta > em {
  color: #9bc8dc;
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  text-align: right;
}

.wms-board .progress-meta > em.completion-low {
  color: #ff6372;
}

.wms-board .progress-meta > em.completion-medium {
  color: #f6c64a;
}

.wms-board .progress-meta > em.completion-normal {
  color: #63cfff;
}

.wms-board .progress-meta > em.completion-high {
  color: #72e98a;
}

.wms-board .progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(14, 52, 79, 0.9);
}

.wms-board .progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.wms-board .progress-track .green { background: linear-gradient(90deg, #168ba8, #71f0e0, #b3f5ef); box-shadow: 0 0 8px rgba(73, 227, 218, 0.5); }
.wms-board .progress-track .blue { background: linear-gradient(90deg, #1676b3, #44d5ee, #81e8f6); box-shadow: 0 0 8px rgba(68, 205, 238, 0.5); }
.wms-board .progress-track .gray { background: #24435c; }
.wms-board .progress-track .violet { background: linear-gradient(90deg, #6a3d9a, #c084fc, #e9d5ff); box-shadow: 0 0 8px rgba(176, 120, 230, 0.45); }

.wms-board .location-panel {
  height: 250px;
  flex: 0 0 auto;
}

.wms-board .location-grid {
  height: calc(100% - 42px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 8px;
  padding: 2px 12px 13px;
}

.wms-board .location-item {
  min-width: 0;
  text-align: center;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 3px;
}

.wms-board .location-ring {
  position: relative;
  width: 124px;
  max-width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  filter: drop-shadow(0 0 7px rgba(48, 174, 237, 0.22));
  transition: transform 180ms ease, filter 180ms ease;
}

.wms-board .location-ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #071c35;
  box-shadow: inset 0 0 11px rgba(39, 138, 195, 0.18);
  transform: translate(-50%, -50%);
}

.wms-board .location-ring::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(56, 155, 211, 0.2);
  border-radius: 50%;
}

.wms-board .location-ring.available {
  background: conic-gradient(#7fc9ff 0 80%, rgba(38, 91, 128, 0.22) 80%);
}

.wms-board .location-ring.occupied {
  background: conic-gradient(#1676b8 0 60%, rgba(29, 79, 116, 0.24) 60%);
}

.wms-board .location-ring.reserved {
  background: conic-gradient(#e54f5b 0 40%, rgba(120, 42, 53, 0.24) 40%);
  filter: drop-shadow(0 0 7px rgba(229, 79, 91, 0.2));
}

.wms-board .location-item:hover .location-ring {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 0 12px rgba(70, 196, 255, 0.45));
}

.wms-board .location-ring > div {
  position: relative;
  z-index: 1;
  text-align: center;
}

.wms-board .location-ring strong,
.wms-board .location-ring span {
  display: block;
}

.wms-board .location-ring strong {
  color: #8ad4ff;
  font-size: 24px;
  line-height: 1;
}

.wms-board .location-ring.occupied strong {
  color: #32a7f5;
}

.wms-board .location-ring.reserved strong {
  color: #ff6270;
}

.wms-board .location-ring span {
  margin-top: 6px;
  color: #7faec8;
  font-size: 12px;
}

.wms-board .location-item p {
  margin: 8px 0 0;
  overflow: hidden;
  color: #b5daec;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wms-board .alerts-panel {
  height: 380px;
  flex-grow: 0;
  flex-basis: auto;
  min-height: 350px;
}

.wms-board .alert-legend {
  display: flex;
  gap: 4px;
  color: #8ccce9;
  font-size: 12px;
}

.wms-board .alert-legend span {
  padding: 4px 7px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.wms-board .alert-legend span:hover,
.wms-board .alert-legend span.active {
  color: #eefaff;
  border-color: #276f9d;
  background: rgba(32, 128, 180, 0.22);
}

.wms-board .alert-legend .stock { color: #ff7a84; }
.wms-board .alert-legend .age { color: #f4c841; }
.wms-board .alert-legend .stagnant { color: #45cfdd; }

.wms-board .alert-chart-summary {
  height: 32px;
  margin: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(54, 131, 180, 0.16);
  color: #8ebed7;
  font-size: 12px;
}

.wms-board .alert-chart-summary strong {
  color: #ff6c79;
  font-size: 17px;
}

.wms-board .alert-chart-summary small {
  color: #88b4ca;
  font-size: 12px;
  font-weight: 400;
}

.wms-board .month-bars {
  height: 142px;
  margin: 8px 12px 9px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  border-bottom: 1px solid rgba(52, 122, 168, 0.25);
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 24%,
    rgba(51, 121, 168, 0.12) 25%
  );
}

.wms-board .month-bars div {
  position: relative;
  width: 7%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
}

.wms-board .month-bars i {
  width: 13px;
  min-height: 0;
  background: linear-gradient(#ff7a85, #e64f70);
  box-shadow: 0 0 7px rgba(255, 91, 115, 0.4);
  transition: height 220ms ease, width 150ms ease, filter 150ms ease;
}

.wms-board .month-bars i.stock {
  background: linear-gradient(#ff7a85, #d9465d);
}

.wms-board .month-bars i.age {
  background: linear-gradient(#ffe06d, #c89525);
  box-shadow: 0 0 7px rgba(244, 200, 65, 0.36);
}

.wms-board .month-bars i.stagnant {
  background: linear-gradient(#62e4ec, #2696ad);
  box-shadow: 0 0 7px rgba(69, 207, 221, 0.36);
}

.wms-board .month-bars div:hover i,
.wms-board .month-bars div.active i {
  width: 17px;
  filter: brightness(1.25);
}

.wms-board .month-bars em {
  position: absolute;
  top: -3px;
  opacity: 0;
  color: #eefaff;
  font-size: 12px;
  font-style: normal;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.wms-board .month-bars div:hover em,
.wms-board .month-bars div.active em {
  opacity: 1;
  transform: translateY(0);
}

.wms-board .month-bars span {
  height: 20px;
  padding-top: 6px;
  color: #82b5d0;
  font-size: 12px;
}

.wms-board .alert-list {
  padding: 0 11px 10px;
}

.wms-board .alert-item {
  min-height: 45px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(52, 118, 163, 0.18);
}

.wms-board .alert-item > i {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.wms-board .alert-item > i.yellow { color: #e6bf36; }
.wms-board .alert-item > i.cyan { color: #37bfd0; }
.wms-board .alert-item > i.red { color: #ed5366; }

.wms-board .alert-item p {
  margin: 0;
}

.wms-board .alert-item b,
.wms-board .alert-item span {
  display: block;
}

.wms-board .alert-item b {
  color: #d6edf9;
  font-size: 12px;
  font-weight: 500;
}

.wms-board .alert-item span {
  margin-top: 4px;
  color: #79aeca;
  font-size: 12px;
}

@media (min-width: 1500px) {
  .wms-board .dashboard-grid {
    grid-template-columns: 28% 44% 28%;
  }

  .wms-board .annual-content {
    height: 214px;
  }

  .wms-board .activity-panel {
    height: 250px;
  }
}

@media (max-height: 820px) {
  .wms-board .topbar {
    height: 90px;
  }
  .wms-board .title-background { height: 110px; background-size: 100% 110px; }
  .wms-board .title-wrap { font-size: 28px; }
  .wms-board .activity-panel { height: 250px; }
  .wms-board .work-panel,
  .wms-board .pending-panel { height: 230px; }
  .wms-board .annual-content { height: 185px; }
  .wms-board .donut { width: 176px; }
  .wms-board .donut::before { width: 102px; }
  .wms-board .warehouse-card { height: 92px; }
  .wms-board .primary-warehouse-card { height: 90px; }
  .wms-board .flow-panel { min-height: 310px; }
  .wms-board .location-panel { height: 250px; }
  .wms-board .location-ring { width: 112px; }
  .wms-board .location-ring strong { font-size: 20px; }
  .wms-board .location-item p { margin-top: 5px; font-size: 9px; }
  .wms-board .alerts-panel,
  .wms-board .flow-panel { min-height: 310px; }
  .wms-board .month-bars { height: 105px; }
  .wms-board .alert-item { min-height: 48px; }
  .wms-board .pending-symbol { width: 36px; }
  .wms-board .pending-symbol svg { width: 17px; }
  .wms-board .pending-card { gap: 8px; }
  .wms-board .pending-card strong { font-size: 16px; }
  .wms-board .age-panel { min-height: 300px; }
  .wms-board .activity-window { height: 170px; }
}

#view-kanban-full .wms-board { min-height: 100vh; }
.kb-admin-preview { padding: 0; overflow: auto; background: #051c36; }
.kb-admin-preview .wms-board { min-height: 980px; }
