/* Minha conta do cliente (carregado só em /conta, depois do app.css). */
.account { max-width: 520px; margin: 0 auto; padding: max(.75rem, env(safe-area-inset-top)) 1rem 3rem; }
.account-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.account-back { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.account-store { color: var(--ink-3); font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-hero { margin-bottom: 1.1rem; text-align: center; }
.account-hero h1 { font-size: 1.6rem; margin: .6rem 0 .25rem; }
.account-hero p { margin: 0 auto; max-width: 34ch; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.35rem; flex: 0 0 auto; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-store { width: 64px; height: 64px; font-size: 1.6rem; box-shadow: var(--shadow); }
.account-tabs { margin-bottom: 1rem; }
.account-tabs a { flex: 1; text-align: center; padding: .75rem .5rem; min-height: 48px; border-radius: 99px; font-weight: 600; text-decoration: none; color: var(--ink-2); display: flex; align-items: center; justify-content: center; }
.account-tabs a.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.account-form { padding: 1.2rem; }
.account-form .field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.account input[type=text], .account input[type=tel], .account input[type=email], .account input[type=password], .account input:not([type]) { min-height: 50px; font-size: 1rem; }
.account .field small { display: block; margin-top: .25rem; }
.account-submit { min-height: 52px; font-size: 1.05rem; margin-top: .5rem; }
.account-alt { text-align: center; margin: .9rem 0 0; }
.account-alt a { display: inline-block; padding: .4rem; font-weight: 600; }
.account-safe { text-align: center; font-size: .82rem; margin: 1rem 0 0; }
.account-invite { margin: 0 0 1rem; padding: .7rem .9rem; background: var(--surface-2); border-radius: var(--radius-sm); }
.account-invite summary, .account details > summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.account details[open] > summary { margin-bottom: .75rem; }
.account-section { margin: 1rem 0; }
.account .card + .card, .account details.card, .account .card + details.card { margin-top: .7rem; }
.account .card h2 { font-size: 1.05rem; }
.alert-info { background: #dbeafe; color: #1e3a8a; }
.text-danger { color: var(--danger); }
.field-error { color: var(--danger); font-weight: 600; }
.field-short { max-width: 130px; }
.account [aria-invalid="true"] { border-color: var(--danger); }
.pw-field { position: relative; }
.pw-field input { padding-right: 5.5rem; width: 100%; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--brand); font: inherit; font-weight: 600; font-size: .88rem; padding: .6rem .7rem; cursor: pointer; min-height: 44px; }
.pw-meter { font-weight: 600; }
.pw-meter[data-level="0"], .pw-meter[data-level="1"] { color: var(--danger); }
.pw-meter[data-level="2"] { color: var(--warn); }
.pw-meter[data-level="3"], .pw-meter[data-level="4"] { color: var(--ok); }
.account-steps { margin: 0 0 .8rem; padding: 1rem 1rem 1rem 2.2rem; }
.account-steps li + li { margin-top: .5rem; }
.btn-whats { background: #25d366; border-color: #25d366; color: #0b3d1f; min-height: 50px; margin-bottom: .8rem; }
.profile { display: flex; align-items: center; gap: .85rem; }
.profile h1 { font-size: 1.3rem; margin: 0 0 .1rem; }
.profile p { margin: 0; font-size: .88rem; }
.account-nav { display: flex; gap: .3rem; overflow-x: auto; margin: 1rem -1rem 0; padding: 0 1rem .2rem; scrollbar-width: none; position: sticky; top: 0; background: var(--bg); z-index: 2; }
.account-nav::-webkit-scrollbar { display: none; }
.account-nav a { flex: 1 0 auto; justify-content: center; padding: .5rem .6rem; min-height: 44px; display: inline-flex; align-items: center; border-radius: 99px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .82rem; }
.account-nav a.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.history-order { margin-bottom: .7rem; }
.history-order.is-active { border-color: var(--brand); }
.history-order .muted { font-size: .88rem; margin-top: .15rem; }
.history-items { margin-top: .35rem; font-size: .92rem; color: var(--ink-2); }
.history-actions { margin-top: .7rem; }
.pager { margin-top: .4rem; }
.empty-state { text-align: center; padding: 1.6rem 1rem; }
.empty-state p { margin: 0 0 .5rem; }
.address-card p { margin: .35rem 0 .7rem; }
.address-card.is-default { border-color: var(--ok); }
.address-card form { display: inline; }
.address-form summary { color: var(--brand); }
.device-list { list-style: none; margin: .5rem 0 .9rem; padding: 0; }
.device-list li { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.device-list li:first-child { border-top: 0; }
.account-since { font-size: .85rem; text-align: center; }
.account details .account-form { padding: 0; }
