@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  body::before {
    animation: none;
  }
}
@media (max-width: 1200px) {
  .pon-traffic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .pon-traffic-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 799px) {
  .stats.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .toggle-grid {
    margin-left: 10px !important;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    width: min(86vw, 200px);
    height: 100dvh;
    transform: translateX(-105%);
    transition: transform 220ms var(--ease);
    box-shadow: 18px 0 45px rgba(0, 0, 0, 0.38);
    z-index: 70;
    padding-bottom: var(--footer-height);
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .sidebar-scroll {
    display: block;
    overflow-y: auto;
    padding: 0.5rem 0.4375rem 1.125rem;
  }
  .sidebar nav {
    display: grid;
    min-width: 0;
  }
  .sidebar nav a {
    white-space: normal;
  }
  .brand {
    border-bottom: 1px solid var(--bg-line);
  }
  .mobile-menu-button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--bg-line);
    border-radius: 10px;
    background: var(--bg-input);
    color: var(--text-primary);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 1.375rem;
  }
  .sidebar-backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    border: 0;
    background: rgba(0, 15, 26, 0.466);
  }
  body.sidebar-open {
    overflow: hidden;
  }
  .container {
    display: block;
  }
  .topbar {
    position: sticky;
  }
  .content {
    padding: 1.125rem 0.75rem calc(1.5rem + var(--footer-height));
  }
  .page-head {
    align-items: flex-start;
  }
  .form-grid.two {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }
  .table-search {
    flex-basis: 100%;
  }
  .app-footer {
    left: 0;
    z-index: 50;
  }
  .page-head p,
  .panel-heading p,
  .notice,
  .alert,
  .lead {
    font-size: var(--font-size-sm);
  }
  table,
  td {
    font-size: var(--font-size-xs);
  }
  .field input,
  .field select,
  .field textarea,
  .table-search input {
    font-size: var(--font-size-sm);
  }
  td {
    padding: 0.3125rem 0.5rem;
  }
  .status {
    padding: 0.1875rem 0.375rem;
    gap: 0.1875rem;
    font-size: var(--font-size-xs);
  }
  .table-filter-toolbar {
    flex-wrap: wrap;
    gap: 0.375rem;
    padding: 0.625rem;
  }
  .table-toolbar > .left,
  .table-toolbar > .right {
    flex: 1 1 100%;
    width: 100%;
    margin-left: 0;
  }
  .table-toolbar > .left {
    flex-wrap: wrap;
  }
  .table-filter-toolbar .table-search {
    flex: 1 1 100%;
    height: 38px;
    padding: 0;
    gap: 0.3125rem;
  }
  .table-filter-toolbar select {
    font-size: var(--font-size-xs);
  }
  .table-filter-toolbar select {
    width: 100%;
    height: 34px;
    padding: 0.4375rem 0.375rem;
    border-radius: 9px;
  }
  .table-toolbar > .right {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 100%;
    gap: 0.375rem;
    min-width: 0;
    width: 100%;
  }
  .table-toolbar > .right > select,
  .table-toolbar > .right > .glass-select,
  .table-toolbar > .right > .select,
  .table-toolbar > .right > .select-loading-shell {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
  .table-toolbar > .right > .select {
    width: auto !important;
  }
  .public-log-entry {
    padding: 0.5625rem 0.75rem;
  }
}
@media (max-width: 620px) {
  .brand-copy small {
    display: none;
  }
}
