.connection-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(21, 32, 32, .16);
}

.connection-dot.online {
  background: #22a06b;
}

.connection-dot.offline {
  background: #d58a00;
}

@media (max-width: 767px) {
  .app-layout {
    padding-top: 76px;
  }

  .shell-header {
    height: 64px;
    min-height: 64px;
    gap: 8px;
    padding: 8px 12px;
    overflow: hidden;
  }

  .shell-brand {
    flex: 0 0 auto;
    font-size: 1rem;
  }

  .shell-user {
    margin-left: auto;
    gap: 6px;
    min-width: 0;
  }

  .shell-user-label {
    max-width: 92px;
    min-width: 0;
    font-size: .86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shell-logout {
    flex: 0 0 auto;
    min-width: auto;
    min-height: 44px;
    padding: 7px 11px;
    white-space: nowrap;
  }

  .shell-content {
    padding-top: 4px;
  }

  .pos-screen {
    gap: 12px;
  }

  .pos-toolbar,
  .manual-code-form {
    grid-template-columns: minmax(0, 1fr) minmax(96px, 112px);
    gap: 8px;
    background: #fff;
    border-right: 1px solid #cbd8d5;
    border-left: 1px solid #cbd8d5;
  }

  .pos-toolbar {
    margin-bottom: -12px;
    padding: 12px 12px 8px;
    border-top: 1px solid #cbd8d5;
    border-radius: 16px 16px 0 0;
  }

  .manual-code-form {
    padding: 8px 12px 12px;
    border-bottom: 1px solid #cbd8d5;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  }

  .pos-toolbar .field-input,
  .manual-code-form .field-input {
    min-width: 0;
    min-height: 46px;
  }

  .pos-scan-button,
  .manual-code-form .secondary-button {
    min-width: 0;
    padding: 8px 10px;
    font-size: .9rem;
    white-space: nowrap;
  }

  .pos-status {
    margin-top: 2px;
  }
}

@media (max-width: 359px) {
  .shell-user-label {
    max-width: 68px;
  }

  .pos-toolbar,
  .manual-code-form {
    grid-template-columns: minmax(0, 1fr) 96px;
  }
}
