@media (max-width: 920px) {
  :root {
    --panel-width: 280px;
  }
  .workbench {
    padding: 12px;
    gap: 12px;
  }
  .topbar {
    height: 64px;
    gap: 22px;
  }
  .contact-card {
    gap: 9px;
  }
  .avatar {
    width: 53px;
    height: 60px;
  }
  .portrait-lg {
    width: 68px;
    height: 84px;
  }
  .contact-copy strong {
    font-size: 20px;
  }
  .net {
    display: none;
  }
}
@media (max-width: 700px), (max-width: 960px) and (max-height: 500px) and (pointer: coarse) {
  #root {
    min-height: 470px;
  }
  .topbar {
    height: 57px;
    padding: 0 12px;
    gap: 6px;
  }
  .brand img {
    height: 43px;
  }
  .topbar nav {
    margin-left: auto;
    gap: 2px;
  }
  .nav-item,
  .guide-button {
    min-width: 36px;
    min-height: 40px;
    padding: 5px 8px;
    justify-content: center;
  }
  .nav-item span,
  .guide-button span {
    position: absolute;
    clip-path: inset(50%);
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  .utilities {
    margin: 0;
  }
  .guide-button {
    border: none;
  }
  #desk-content {
    padding: 16px;
  }
  .desk h1 {
    font-size: 31px;
  }
  .desk-intro > p {
    font-size: 13px;
    margin-top: 4px;
  }
  .desk-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8px;
  }
  .desk-intro h1,
  .desk-intro > p,
  .dispatch-filters,
  .random {
    grid-column: span 2;
  }
  .random {
    margin: 5px 0 0;
    min-height: 42px;
  }
  .section-head {
    margin: 17px 0 9px;
  }
  .contact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .contact-card {
    display: grid;
    justify-items: start;
    align-content: start;
    padding: 5px;
    gap: 7px;
  }
  .contact-card > .avatar {
    width: 100%;
    height: clamp(50px, 10vh, 82px);
    object-position: 50% 33%;
  }
  .contact-card > svg:last-child {
    display: none;
  }
  .contact-copy {
    padding: 0 2px 3px;
    gap: 4px;
  }
  .contact-copy strong {
    font-size: 18px;
  }
  .contact-copy small,
  .type-chip {
    font-size: 10px;
  }
  .type-chip svg {
    display: none;
  }
  .progress-card {
    margin-top: 14px;
  }
  .cartouche {
    left: 17px;
    top: 16px;
  }
  .cartouche h2 {
    font-size: 39px;
  }
  .map-kicker {
    font-size: 8px;
  }
  .north {
    top: 12px;
    right: 16px;
  }
  .map-tools {
    right: 10px;
    bottom: 24px;
  }
  .map-tools button {
    width: 36px;
    height: 36px;
  }
  .map-scale {
    right: 12px;
    bottom: 5px;
  }
  #map-overlay {
    left: 10px;
    bottom: 11px;
    max-width: calc(100% - 68px);
  }
  .spotlight {
    width: auto;
    padding: 7px 10px;
  }
  .spot-label {
    font-size: 8px;
    margin-bottom: 4px;
  }
  .spot-body .avatar {
    width: 30px;
    height: 30px;
  }
  .spot-body b {
    font-size: 18px;
  }
  .spot-body small {
    font-size: 10px;
  }
  .spot-link {
    width: 24px;
    height: 24px;
  }
  .map-caption {
    bottom: auto;
    top: 77px;
    left: 17px;
    max-width: 60%;
    font-size: 10px;
  }
  .foot {
    height: 22px;
    font-size: 10px;
    padding: 0 14px;
  }
  .profile {
    margin-top: 5px;
  }
  .message {
    margin-top: 12px;
  }
  .foot svg {
    width: 10px;
  }
}
@media (max-width: 360px) {
  .brand img {
    height: 38px;
  }
  .nav-item,
  .guide-button {
    padding: 4px;
    min-width: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::after,
  *::before {
    animation-duration: 0s;
    transition-duration: 0s;
    scroll-behavior: auto;
  }
}
