@media (max-width: 820px) {
  .hero-inner {
    min-height: 280px;
    padding: 52px 0 44px;
  }

  .hero-orbit { display: none; }

  .panel-head {
    grid-template-columns: 1fr;
  }

  .upload-button { width: 100%; }

  .status-bar,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root { --container: min(100% - 22px, 1180px); }

  .site-header { height: 68px; }
  .brand-logo-wrap { width: 44px; height: 44px; }
  .brand-copy { display: none; }
  .header-label { display: none; }
  .header-actions {
    margin-right: auto;
    gap: 7px;
  }
  .auth-button {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 10px;
  }
  .header-upload-button {
    width: auto;
    min-height: 36px;
    padding: 0 10px;
    color: var(--white);
    background: var(--red-500);
    border-color: var(--red-500);
    opacity: 1;
    box-shadow: 0 8px 22px rgba(227, 22, 18, 0.24);
  }
  .header-upload-button:hover {
    background: var(--red-400);
    border-color: var(--red-400);
  }
  .header-upload-button span {
    display: inline;
    font-size: 9px;
  }
  .header-delete-button {
    width: 34px;
    min-height: 34px;
  }

  h1 { font-size: 36px; }

  .hero-copy p { font-size: 13px; }

  .workspace { margin-top: -16px; }
  .panel { border-radius: 21px; }
  .panel-head { padding: 16px; }
  .status-bar { padding: 13px 16px; }

  th, td { padding: 15px 16px; }

  .search-input {
    padding-left: 82px;
    font-size: 12px;
  }

  .clear-search { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
