#acc-content.account-page {
  max-width: 1120px;
  padding: clamp(18px, 4vw, 48px) clamp(14px, 4vw, 38px);
  color: var(--store-ink);
}
.customer-header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(16px, 4vw, 30px);
  margin-bottom: 20px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: var(--store-paper);
}
.customer-header h1 { margin-bottom: 6px; font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
.customer-header p { overflow-wrap: anywhere; }
.customer-email { color: var(--store-muted); font-size: .9rem; }
.customer-header-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 6px; }
.customer-layout { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 18px; align-items: start; }
.customer-nav {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: var(--store-paper);
}
.customer-nav button {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  align-items: center;
  min-height: 38px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  color: var(--store-ink);
  background: transparent;
  text-align: left;
  font: inherit;
}
.customer-nav button:hover { background: var(--store-ground); }
.customer-nav button[aria-current="true"] { background: var(--store-sage); font-weight: 700; }
.customer-count {
  flex: 0 0 auto;
  min-width: 24px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--store-paper);
  text-align: center;
}
.customer-panel {
  position: relative;
  min-width: 0;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  padding: clamp(14px, 3vw, 24px);
  background: var(--store-paper);
}
.customer-panel h2 { margin-bottom: 16px; font-size: clamp(1.15rem, 3vw, 1.55rem); }
.customer-refresh { margin-bottom: 12px; }
.customer-orders { display: grid; gap: 10px; }
.customer-order {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: var(--store-ground);
}
.customer-order-heading { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.customer-order-heading time,
.customer-order-state { display: block; color: var(--store-muted); font-size: .86rem; }
.customer-order-state { margin: 5px 0 7px; }
.customer-order-indicators { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.customer-order-status { border-radius: 999px; padding: 3px 8px; background: #f7ebdc; color: #77421c; font-size: .8rem; }
.customer-order-status.is-paid { background: #dcebdc; color: #235134; }
.customer-order summary,
.customer-password summary { cursor: pointer; font-weight: 700; }
.customer-order-items { margin: 9px 0; width: 100%; border-collapse: collapse; }
.customer-order-items th,
.customer-order-items td { padding: 6px; border-bottom: 1px solid var(--store-line); text-align: left; overflow-wrap: anywhere; }
.customer-order-items th:not(:first-child),
.customer-order-items td:not(:first-child) { text-align: right; white-space: nowrap; }
.customer-order-delivery { display: grid; gap: 5px; font-size: .9rem; }
.customer-order-delivery dt { font-weight: 650; }
.customer-order-delivery dd { color: var(--store-muted); }
.customer-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; border: 0; min-inline-size: 0; }
.customer-field { display: grid; gap: 4px; align-content: start; min-width: 0; font-size: .9rem; font-weight: 630; }
.customer-field input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d4d5cb;
  border-radius: 8px;
  background: var(--store-paper);
  color: inherit;
  font: inherit;
}
.customer-field input[readonly] { background: var(--store-ground); color: var(--store-muted); }
.customer-form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.customer-feedback { margin-top: 8px; color: #255238; }
.customer-feedback:empty { display: none; }
.customer-feedback-error { color: #9b2729; }
.customer-password { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--store-line); }
.customer-password[open] form { margin-top: 12px; }
.customer-empty { padding: 10px 0; color: var(--store-muted); }
.auth-utility {
  display: block;
  margin: 8px auto 0;
  padding: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .84rem;
  text-decoration: underline;
}
.auth-activation-copy { margin-block: 10px; }

@media (max-width: 680px) {
  .customer-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .customer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .customer-header { flex-direction: column; align-items: stretch; }
  .customer-fields { grid-template-columns: minmax(0, 1fr); }
  .customer-order-items { font-size: .8rem; }
}
