/* Customer profile only. Inherit the account's Poppins font and light/dark theme. */
.customer-account { width: 100%; max-width: 680px; margin: 0 auto; }
.page-wrap:has(> #content > .customer-account) > .workspace-footer { display: none; }
.customer-account > .panel { margin: 0 0 20px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.customer-account > .panel h1 { font-size: clamp(26px, 5vw, 32px); line-height: 1.3; letter-spacing: -.035em; font-weight: 600; }
.customer-account > .panel p { margin-top: 10px; max-width: 52ch; color: var(--muted); font-size: 13px; line-height: 1.75; }
.customer-profile { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
html[data-theme="light"] .customer-profile { background: #fff; }
.customer-profile-heading h2 { margin: 0; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.customer-profile-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
#customer-profile-form { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: none; gap: 20px; margin-top: 24px; }
.customer-profile-field { display: grid; gap: 8px; min-width: 0; }
.customer-profile-field label { color: var(--ink); font-size: 12px; font-weight: 500; }
.customer-profile-field input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--input); color: var(--ink); font: inherit; font-size: 16px; }
.customer-profile-field input:focus-visible, .customer-profile-feedback button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.customer-profile-field input[aria-invalid="true"] { border-color: #d07676; }
.customer-field-help { color: var(--muted); font-size: 11px; line-height: 1.65; }
.customer-field-error { color: #df9292; font-size: 12px; line-height: 1.6; }
html[data-theme="light"] .customer-field-error { color: #a02e35; }
.customer-field-error:empty { display: none; }
.customer-profile-feedback { display: flex; flex: 1 1 0; flex-wrap: wrap; gap: 0 14px; align-items: center; min-width: 0; }
#customer-profile-status { flex: 1 1 auto; min-width: 0; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.customer-profile-feedback button { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.customer-profile-feedback button[hidden] { display: none; }
.customer-profile-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 16px; }
.customer-profile-feedback:is([data-state="invalid"], [data-state="error"], [data-state="load-error"], [data-state="conflict"], [data-state="locked"]) { flex-basis: 100%; }
#customer-profile-save { width: auto; flex: 0 0 auto; min-width: 120px; max-width: 100%; min-height: 46px; }
@media (max-width: 480px) { .customer-profile { padding: 22px 18px; border-radius: 14px; } .customer-account > .panel { margin-bottom: 22px; } }

.customer-account-controls { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.customer-account-controls h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.customer-account-controls p { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.customer-account-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.customer-account-buttons .btn { min-height: 46px; white-space: normal; }
.customer-account-buttons .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.customer-account-controls [hidden], #customer-account-controls-status:empty { display: none; }
@media (max-width: 480px) { .customer-account-buttons .btn { width: 100%; } }
