/* Account navigation uses ordinary server links and wraps on narrow screens. */
.bv-account-page .bv-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 14px;
  margin: 20px 0 24px;
  border-bottom: 1px solid #d9dcd9;
}
.bv-account-page .bv-account-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid #b9bfbc;
  border-radius: 5px;
  color: #1a1e1d;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.bv-account-page .bv-account-tabs a:hover { background: #f4f4f1; }
.bv-account-page .bv-account-tabs a[aria-current="page"] {
  color: #fff;
  background: #172b34;
  border-color: #172b34;
}
.bv-account-page .bv-account-tabs a:focus-visible {
  outline: 2px solid #172b34;
  outline-offset: 3px;
}
.bv-account-panel { min-width: 0; }
.bv-account-panel > section { margin-top: 0; }
.bv-account-panel .hf-pallet-history form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 16px 0 24px;
}
.bv-account-panel .hf-pallet-history form label {
  display: flex;
  flex: 1 1 150px;
  flex-direction: column;
  gap: 5px;
}
.bv-account-panel .hf-pallet-history form label:first-of-type { flex-basis: 230px; }
.bv-account-panel .hf-pallet-history form button { width: auto; }
@media (max-width: 600px) {
  .bv-account-page .bv-account-tabs { gap: 6px; }
  .bv-account-page .bv-account-tabs a { flex: 1 1 100%; }
}
