/* Cashback V36.7.103 — inset backup actions + reliable landscape page scrolling. */
/* The four backup/update actions should sit comfortably inside the content width. */
html body #tab-admin #admin-pane-backups > .backup-update-subnav {
  box-sizing: border-box !important;
  width: calc(100% - 24px) !important;
  max-width: calc(100% - 24px) !important;
  margin: 0 12px 16px !important;
  padding: 0 !important;
  gap: 8px !important;
}
html body #tab-admin #admin-pane-backups .backup-update-tab-btn {
  box-sizing: border-box !important;
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  min-width: 0 !important;
  padding: 8px 11px !important;
  gap: 8px !important;
  border-radius: 15px !important;
  font-size: 13px !important;
  line-height: 1.16 !important;
}
html body #tab-admin #admin-pane-backups .backup-update-tab-icon,
html body #tab-admin #admin-pane-backups .backup-update-tab-icon svg {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
}
@media (max-width: 640px) {
  html body #tab-admin #admin-pane-backups > .backup-update-subnav {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin: 0 10px 14px !important;
    gap: 7px !important;
  }
  html body #tab-admin #admin-pane-backups .backup-update-tab-btn {
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    padding: 7px 9px !important;
    font-size: 12px !important;
    border-radius: 13px !important;
  }
}

/* Android Chrome landscape: do not pin the category shell while the user
   scrolls through the selected admin pane. Keep the document as the scroller. */
@media (orientation: landscape) and (max-width: 1100px) {
  html, body {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
  }
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #tab-admin,
  #tab-admin > .admin-card,
  #tab-admin > .admin-card > .admin-nav-shell,
  #tab-admin .admin-pane,
  #tab-admin .admin-pane.active,
  #tab-admin .backup-update-panel,
  #tab-admin .backup-update-panel.active {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    touch-action: pan-y !important;
  }
  #tab-admin > .admin-card > .admin-nav-shell {
    margin-bottom: 18px !important;
  }
}
