/* Shared mode switcher for QC, Picking, COA and Tracking. */
.terra-mode-switcher {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin:16px 0 23px;
  padding:7px;
  border:1px solid #e2def1;
  border-radius:16px;
  background:#f0edf8;
  isolation:isolate;
}
.terra-mode-switcher .terra-mode {
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:62px;
  padding:7px 10px;
  border:1px solid transparent;
  border-radius:11px;
  color:#332b61;
  background:transparent;
  text-align:left;
  text-decoration:none;
  transition:background-color .15s ease,color .15s ease,border-color .15s ease;
}
.terra-mode-switcher .terra-mode:hover {
  background:#fff;
  border-color:#ded7f2;
}
.terra-mode-switcher .terra-mode:focus-visible {
  outline:2px solid #6d48e1;
  outline-offset:2px;
}
.terra-mode-switcher .terra-mode-icon {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #e4dcf6;
  border-radius:11px;
  background:#fff;
  color:#513ba8;
}
.terra-mode-switcher .terra-mode-icon svg {width:20px;height:20px;}
.terra-mode-switcher .terra-mode-copy {display:grid;min-width:0;gap:2px;}
.terra-mode-switcher .terra-mode-name {font-size:15px;font-weight:800;line-height:1.2;}
.terra-mode-switcher .terra-mode-detail {font-size:12px;font-weight:500;color:#625a80;line-height:1.25;}
.terra-mode-switcher .terra-mode[aria-current="page"] {
  border-color:#5340ad;
  background:linear-gradient(114deg,#342773,#4a379e);
  color:#fff;
  box-shadow:0 3px 9px #37258132;
}
.terra-mode-switcher .terra-mode[aria-current="page"] .terra-mode-icon {
  border-color:#ffffff36;
  background:#ffffff18;
  color:#fff;
}
.terra-mode-switcher .terra-mode[aria-current="page"] .terra-mode-detail {color:#ece7ff;}
@media(max-width:750px) {
  .terra-mode-switcher {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:420px) {
  .terra-mode-switcher {gap:5px;padding:5px;margin-bottom:17px;}
  .terra-mode-switcher .terra-mode {grid-template-columns:30px minmax(0,1fr);min-height:53px;gap:7px;padding:6px;}
  .terra-mode-switcher .terra-mode-icon {width:30px;height:30px;border-radius:8px;}
  .terra-mode-switcher .terra-mode-icon svg {width:17px;height:17px;}
  .terra-mode-switcher .terra-mode-name {font-size:13px;}
  .terra-mode-switcher .terra-mode-detail {font-size:10px;}
}
@media(prefers-reduced-motion:reduce) {
  .terra-mode-switcher .terra-mode {transition:none;}
}
.terra-picking-modes {max-width:1280px;margin-inline:auto;padding-inline:28px;}
.terra-picking-modes ~ .workspace {padding-top:9px;}
@media(max-width:680px) {
  .terra-picking-modes {padding-inline:18px;}
}
