@media (max-width: 760px) {
  body { padding: 24px 16px; }
  main, #dashboard, .table-wrap { min-width: 0; }
  header { align-items: flex-start; gap: 16px; }
  h1 { font-size: 25px; }
  h2 { margin-top: 24px; }
  button, input, select { min-height: 44px; font-size: 16px; }
  form { flex-direction: column; }
  form input { width: 100%; min-width: 0; }
  .feedback:empty { display: none; }
  .toolbar { align-items: flex-start; gap: 12px; margin-top: 24px; }
  .toolbar h2 { width: 100%; margin: 0; }
  .toolbar .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; gap: 10px; }
  .toolbar select { width: 100%; min-width: 0; }
  .table-wrap { border: 0; overflow: visible; margin: 12px 0 24px; }
  table, tbody { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-bottom: 12px; padding: 16px; border: 1px solid #435347; border-radius: 8px; background: #1b2d27; }
  tbody td { display: block; grid-column: 1 / -1; min-width: 0; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
  tbody td:first-child { min-width: 0; }
  tbody td[data-label]::before { display: block; content: attr(data-label); margin-bottom: 3px; color: #afb9a9; font-size: 12px; font-weight: 400; }
  tbody td:first-child { font-size: 16px; }
  td code { display: block; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
  .keys-table td:nth-child(4), .keys-table td:nth-child(5) { grid-column: auto; }
  .actions { flex-wrap: wrap; gap: 10px; }
  td .actions button { flex: 1 1 110px; min-height: 44px; padding: 10px 12px; font-size: 15px; }
  tbody td.empty { padding: 4px 0; }
  .keys-table td:empty { display: none; }
}
