.login-panel { max-width: 480px; }
.login-panel form, #add-form, #credential-form { display: grid; gap: var(--space-sm); }
.login-panel input, #add-form input { width: 100%; box-sizing: border-box; }
.login-panel h2 { margin-bottom: var(--space-md); }
.admin-section { margin-top: var(--space-xl); }
.admin-scroll { overflow-x: auto; }
.accounts-table th:first-child, .tasks-table th:first-child { width: 40%; }
.accounts-table th:last-child, .tasks-table th:last-child { width: 35%; }
.inline-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.accounts-table small, .tasks-table small { display: block; color: var(--color-muted); }
.check { display: flex; align-items: flex-start; gap: var(--space-sm); cursor: pointer; padding-block: var(--space-sm); }
.check input { flex: 0 0 auto; min-height: 0; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--color-accent); }
.download-consent { margin-top: var(--space-md); }
.bat-action { width: 140px; text-align: right; }
td.bat-action { text-align: right; }
details { margin-block: var(--space-md); }
summary { cursor: pointer; min-height: 44px; display: list-item; padding-block: var(--space-xs); }
summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.selected-row { background: var(--color-paper-2); }
.task-link { color: var(--color-ink); display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
#message { overflow-wrap: anywhere; }
#message.error { color: var(--color-error); }
@media (max-width: 560px) {
  .accounts-table th:first-child, .tasks-table th:first-child { width: 34%; }
  .accounts-table th:last-child, .tasks-table th:last-child { width: 33%; }
  .accounts-table button, .tasks-table button { padding-inline: var(--space-xs); }
  .bat-action { width: 116px; }
  .topbar > div { text-align: right; }
  .topbar span { display: block; }
  #credential-form .inline-actions button { flex: 1 1 auto; }
}
