:root {
  --canvas: oklch(97.2% 0.007 248);
  --surface: oklch(99.4% 0.004 248);
  --surface-muted: oklch(95.8% 0.008 248);
  --ink: oklch(24% 0.018 252);
  --ink-soft: oklch(43% 0.018 252);
  --muted: oklch(58% 0.014 252);
  --line: oklch(88.8% 0.012 248);
  --line-strong: oklch(79% 0.019 248);
  --accent: oklch(48% 0.072 250);
  --accent-strong: oklch(39% 0.075 250);
  --accent-soft: oklch(92.5% 0.027 247);
  --success: oklch(50% 0.095 158);
  --success-soft: oklch(94% 0.035 158);
  --danger: oklch(50% 0.13 25);
  --danger-strong: oklch(42% 0.13 25);
  --danger-soft: oklch(95% 0.034 25);
  --shadow: 0 18px 48px oklch(35% 0.035 250 / 0.08), 0 2px 8px oklch(35% 0.025 250 / 0.04);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; }
body { min-height: 100vh; margin: 0; background: var(--canvas); color: var(--ink); font: 400 15px/1.52 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -70px; left: 12px; z-index: 50; padding: 10px 14px; border-radius: 9px; background: var(--ink); color: var(--surface); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.topbar { height: 72px; display: flex; justify-content: space-between; align-items: center; padding: 0 max(22px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { display: flex; width: 126px; }
.brand img { display: block; width: 100%; height: auto; }
.back-link { min-height: 40px; display: inline-flex; gap: 7px; align-items: center; padding: 0 8px; border-radius: 9px; color: var(--ink-soft); font-size: 12px; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--accent-strong); }
.back-link svg { width: 16px; }

.account-shell { width: min(1120px, calc(100% - 36px)); margin: 46px auto 72px; }
.page-heading { max-width: 720px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 7px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
h1, h2, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
h1 { margin-bottom: 9px; font-size: 32px; line-height: 1.16; letter-spacing: -.035em; }
h2 { margin-bottom: 6px; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.page-heading > p:last-child { max-width: 65ch; margin: 0; color: var(--muted); }

.loading-state { display: grid; gap: 18px; }
.skeleton-identity, .skeleton-layout > div, .skeleton-layout > aside { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.skeleton-identity { min-height: 88px; display: grid; grid-template-columns: 48px 1fr 112px; gap: 14px; align-items: center; padding: 18px 21px; }
.skeleton-identity > i, .skeleton-identity b, .skeleton-layout span { display: block; background: var(--surface-muted); animation: skeleton-pulse 1.25s ease-in-out infinite alternate; }
.skeleton-identity > i { width: 48px; height: 48px; border-radius: 13px; }
.skeleton-identity > span { display: grid; gap: 8px; }
.skeleton-identity b { width: min(220px, 70%); height: 11px; border-radius: 5px; }
.skeleton-identity b + b { width: min(160px, 55%); height: 9px; }
.skeleton-identity > b { width: 112px; height: 28px; border-radius: 999px; }
.skeleton-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 18px; }
.skeleton-layout > div, .skeleton-layout > aside { min-height: 290px; display: grid; align-content: start; gap: 15px; padding: 24px; }
.skeleton-layout span { height: 12px; border-radius: 6px; }
.skeleton-layout span:first-child { width: 55%; height: 18px; }
.skeleton-layout span:last-child { width: 72%; }
@keyframes skeleton-pulse { from { opacity: .55; } to { opacity: 1; } }
.page-error, .deleted-state { min-height: 360px; display: grid; justify-items: center; align-content: center; text-align: center; }
.state-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 14px; background: var(--danger-soft); color: var(--danger); }
.state-icon.success { background: var(--success-soft); color: var(--success); }
.page-error p, .deleted-state > p:not(.eyebrow) { max-width: 590px; margin-bottom: 20px; color: var(--muted); }

.identity-bar { min-height: 88px; display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; margin-bottom: 18px; padding: 18px 21px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--accent-strong); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.identity-copy p { margin: 0 0 2px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.identity-copy h2 { margin: 0; font-size: 16px; }
.identity-copy > span { color: var(--muted); font-size: 12px; }
.verified-label { min-height: 30px; display: inline-flex; gap: 6px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: 11px; font-weight: 750; }
.verified-label svg { width: 14px; }

.reauth-note { display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; align-items: center; margin: 0 0 18px; padding: 16px 18px; border: 1px solid oklch(84% 0.045 75); border-radius: 14px; background: oklch(96% 0.028 78); }
.reauth-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: oklch(91.5% 0.055 78); color: oklch(48% 0.09 72); }
.reauth-note h2 { margin-bottom: 2px; font-size: 14px; }
.reauth-note p { margin: 0; color: var(--ink-soft); font-size: 12px; }

.account-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 18px; align-items: start; }
.account-main { min-width: 0; display: grid; gap: 18px; }
.settings-surface, .billing-surface, .team-surface, .danger-zone, .account-aside { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.surface-heading { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 15px; align-items: start; padding: 24px; }
.surface-heading .eyebrow { margin-bottom: 4px; }
.surface-heading h2 { margin-bottom: 4px; }
.surface-heading p:last-child { max-width: 68ch; margin: 0; color: var(--muted); font-size: 13px; }
.status-pill { min-height: 30px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--surface-muted); color: var(--ink-soft); font-size: 10px; font-weight: 800; white-space: nowrap; }
.status-pill.is-active { background: var(--success-soft); color: var(--success); }
.status-pill.is-warning { background: oklch(95% 0.04 78); color: oklch(45% 0.1 70); }
.status-pill.is-stopped { background: var(--danger-soft); color: var(--danger); }

.billing-body, .team-body { padding: 0 24px 24px; border-top: 1px solid var(--line); }
.billing-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 19px 0; }
.billing-facts > div { min-width: 0; padding: 0 16px; }
.billing-facts > div:first-child { padding-left: 0; }
.billing-facts > div + div { border-left: 1px solid var(--line); }
.billing-facts dt { margin-bottom: 3px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.billing-facts dd { overflow: hidden; margin: 0; color: var(--ink); font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.plan-change-panel { margin: 2px 0 18px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-muted); }
.plan-change-heading { display: flex; justify-content: space-between; gap: 18px; align-items: start; margin-bottom: 13px; }
.plan-change-heading h3 { margin: 0 0 3px; font-size: 13px; }
.plan-change-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.plan-change-heading > span { flex: none; padding: 4px 8px; border-radius: 999px; background: oklch(96% 0.028 78); color: oklch(40% 0.075 72); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.plan-change-form { display: grid; grid-template-columns: minmax(150px, 1fr) 145px auto auto; gap: 9px; align-items: end; }
.plan-change-form label { display: grid; gap: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 750; }
.plan-change-form select { min-width: 0; height: 44px; padding: 0 34px 0 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--ink); }
.plan-change-form .button { min-height: 44px; white-space: nowrap; }
.plan-change-status { min-height: 17px; margin: 8px 0 0; color: var(--muted); font-size: 10px; font-weight: 650; }
.plan-change-status.is-success { color: var(--success); }
.plan-change-status.is-error { color: var(--danger); }
.pix-panel { margin-top: 2px; padding: 18px; border: 1px solid oklch(83% 0.055 166); border-radius: 12px; background: oklch(97% 0.018 166); }
.pix-heading { display: grid; grid-template-columns: 42px 1fr; gap: 11px; align-items: center; margin-bottom: 14px; }
.pix-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--success-soft); color: var(--success); font-size: 11px; font-weight: 850; }
.pix-heading h3, .billing-history h3, .invite-heading h3 { margin: 0 0 2px; font-size: 13px; }
.pix-heading p, .invite-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.pix-payment-options { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 18px; align-items: start; }
.pix-qr-option { display: grid; gap: 8px; margin: 0; }
.pix-qr-frame { width: 176px; max-width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 10px; background: oklch(99.5% 0.003 248); }
.pix-qr-frame svg { display: block; width: 100%; height: 100%; }
.pix-qr-background { fill: oklch(99.5% 0.003 248); stroke: none; }
.pix-qr-modules { fill: oklch(16% 0.012 252); stroke: none; }
.pix-qr-option figcaption { display: grid; gap: 1px; }
.pix-qr-option figcaption strong { color: var(--ink); font-size: 11px; }
.pix-qr-option figcaption span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.pix-copy-option > label { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 750; }
.copy-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: stretch; }
.copy-field textarea { width: 100%; min-height: 70px; resize: none; padding: 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--ink-soft); font: 600 10px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all; }
.copy-field .button { align-self: center; }
.pix-qr-fallback { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.pix-steps { display: grid; gap: 9px; margin: 15px 0 0; padding: 0; list-style: none; }
.pix-steps li { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 9px; align-items: start; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.pix-steps li > span { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--success); font-size: 10px; font-weight: 800; }
.pix-steps p { margin: 2px 0 0; }
.pix-steps strong { color: var(--ink); font-weight: 750; }
.pix-help { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.pix-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 12px; }
.pix-actions .button { min-height: 44px; }
.pix-panel .inline-link { margin-top: 0; }
.pix-confirmation-status { margin: 10px 0 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-muted); color: var(--ink-soft); font-size: 11px; font-weight: 650; }
.pix-confirmation-status.is-success { border-color: oklch(83% 0.055 166); background: oklch(97% 0.018 166); color: var(--success); }
.pix-confirmation-status.is-pending { border-color: oklch(84% 0.045 75); background: oklch(96% 0.028 78); color: oklch(40% 0.075 72); }
.pix-confirmation-status.is-error { border-color: oklch(84% 0.055 25); background: var(--danger-soft); color: var(--danger-strong); }
.billing-notice { margin-top: 2px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-muted); color: var(--ink-soft); font-size: 12px; }
.billing-notice.is-warning { border-color: oklch(84% 0.045 75); background: oklch(96% 0.028 78); color: oklch(40% 0.075 72); }
.billing-notice.is-error { border-color: oklch(84% 0.055 25); background: var(--danger-soft); color: var(--danger-strong); }
.billing-history { margin-top: 18px; }
.billing-history ul { display: grid; gap: 7px; margin: 9px 0 0; padding: 0; list-style: none; }
.billing-history li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-soft); font-size: 11px; }
.billing-history li strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.surface-actions { min-height: 70px; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--surface-muted); border-radius: 0 0 14px 14px; }
.surface-actions p { margin: 0; color: var(--muted); font-size: 11px; }

.team-body { padding-top: 18px; }
.team-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.team-person { min-height: 54px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.team-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-muted); color: var(--accent-strong); font-size: 9px; font-weight: 850; }
.team-person strong, .team-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-person strong { font-size: 12px; }
.team-person small { color: var(--muted); font-size: 10px; }
.team-person-actions { display: flex; gap: 6px; align-items: center; }
.role-badge { padding: 5px 8px; border-radius: 999px; background: var(--surface-muted); color: var(--ink-soft); font-size: 9px; font-weight: 750; }
.row-action { min-height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 10px; font-weight: 750; cursor: pointer; }
.row-action:hover { border-color: oklch(82% 0.06 25); color: var(--danger); }
.invite-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.invite-heading { margin-bottom: 11px; }
.invite-fields { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 9px; align-items: end; }
.invite-fields label { display: grid; gap: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 750; }
.invite-fields input, .invite-fields select { width: 100%; min-height: 42px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--ink); }
.transfer-option { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; margin-top: 11px; padding: 12px; border: 1px solid oklch(84% 0.045 75); border-radius: 9px; background: oklch(97% 0.02 78); cursor: pointer; }
.transfer-option input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent-strong); }
.transfer-option strong, .transfer-option small { display: block; }
.transfer-option strong { color: var(--ink); font-size: 11px; }
.transfer-option small { margin-top: 2px; color: var(--ink-soft); font-size: 10px; font-weight: 500; }
.invite-form .form-error, .invite-form .action-status { margin-top: 6px; }
.action-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 15px; align-items: start; padding: 24px; }
.row-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent-strong); }
.row-copy p { max-width: 68ch; margin: 0; color: var(--muted); font-size: 13px; }
.action-status { min-height: 19px; padding-top: 6px; color: var(--success) !important; font-weight: 650; }
.action-status.error { color: var(--danger) !important; }

.button { min-height: 42px; display: inline-flex; gap: 8px; justify-content: center; align-items: center; padding: 0 15px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform 160ms cubic-bezier(.22, 1, .36, 1), background-color 160ms cubic-bezier(.22, 1, .36, 1), border-color 160ms cubic-bezier(.22, 1, .36, 1), color 160ms cubic-bezier(.22, 1, .36, 1); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.96); }
.button svg { width: 16px; }
.button.primary { background: var(--accent-strong); color: var(--surface); }
.button.primary:hover { background: var(--accent); }
.button.secondary { border-color: var(--line); background: var(--surface); color: var(--ink-soft); }
.button.secondary:hover { border-color: var(--line-strong); color: var(--ink); }
.button.danger-outline { border-color: oklch(82% 0.06 25); background: var(--surface); color: var(--danger); }
.button.danger-outline:hover { background: var(--danger-soft); border-color: var(--danger); }
.button.danger { background: var(--danger-strong); color: var(--surface); }
.button.danger:hover { background: var(--danger); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.retention-section { padding: 25px 24px 26px; border-top: 1px solid var(--line); }
.section-heading { max-width: 690px; margin-bottom: 18px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.retention-table { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }
.retention-head, .retention-row { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(0, 1.35fr); gap: 18px; padding: 12px 14px; }
.retention-head { background: var(--surface-muted); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.retention-row + .retention-row { border-top: 1px solid var(--line); }
.retention-row strong { color: var(--ink-soft); font-size: 12px; }
.retention-row span { color: var(--muted); font-size: 12px; }
.inline-link { min-height: 40px; display: inline-flex; align-items: center; margin-top: 14px; color: var(--accent-strong); font-size: 12px; font-weight: 700; text-decoration: none; }
.inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.danger-zone { border-color: oklch(87% 0.038 25); }
.danger-heading { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 15px; align-items: start; padding: 23px 24px; }
.danger-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--danger-soft); color: var(--danger); }
.danger-heading p:last-child { max-width: 68ch; margin: 0; color: var(--muted); font-size: 13px; }
.delete-panel { padding: 24px; border-top: 1px solid oklch(89% 0.027 25); background: oklch(98% 0.01 25); border-radius: 0 0 14px 14px; }
.delete-warning { margin-bottom: 20px; }
.delete-warning strong { font-size: 13px; }
.delete-warning ul { margin: 8px 0 0; padding-left: 19px; color: var(--ink-soft); font-size: 12px; }
.delete-warning li + li { margin-top: 4px; }
#delete-form { display: grid; gap: 7px; }
#delete-form label { color: var(--ink-soft); font-size: 12px; font-weight: 680; }
#delete-form input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; background: var(--surface); color: var(--ink); }
#delete-form input:focus { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
#delete-form input[aria-invalid="true"] { border-color: var(--danger); }
.field-help, .form-error { min-height: 18px; margin: 0; font-size: 11px; }
.field-help { color: var(--muted); }
.form-error { color: var(--danger); font-weight: 650; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 10px; }
.ownership-warning { margin: 10px 0; padding: 14px; border: 1px solid oklch(83% 0.06 25); border-radius: 10px; background: var(--danger-soft); color: var(--danger-strong); }
.ownership-warning strong { font-size: 13px; }
.ownership-warning p { margin: 4px 0; font-size: 12px; }
.ownership-warning ul { margin: 5px 0 8px; padding-left: 18px; font-size: 12px; }
.ownership-warning a { min-height: 40px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 750; }

.account-aside { overflow: hidden; }
.business-access, .help-section { padding: 20px; }
.business-access { border-bottom: 1px solid var(--line); }
.business-access ul { display: grid; gap: 8px; margin: 15px 0 0; padding: 0; list-style: none; }
.business-access li { display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; }
.business-access li.current { margin: -4px; padding: 4px; border-radius: 11px; background: var(--accent-soft); }
.business-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-muted); color: var(--accent-strong); font-size: 9px; font-weight: 800; }
.business-access li > a { min-width: 0; min-height: 34px; display: grid; align-content: center; border-radius: 7px; text-decoration: none; }
.business-access li > a:hover strong { color: var(--accent-strong); }
.business-access li strong, .business-access li span { display: block; }
.business-access li strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.business-access li span { color: var(--muted); font-size: 10px; }
.empty-businesses { color: var(--muted); font-size: 12px; }
.help-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 10px; background: var(--success-soft); color: var(--success); }
.help-section h2 { font-size: 15px; }
.help-section p { margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.help-section a { min-height: 40px; display: inline-flex; align-items: center; color: var(--accent-strong); font-size: 12px; font-weight: 750; }
.logout-button { width: calc(100% - 32px); min-height: 40px; margin: 0 16px 16px; border: 0; border-radius: 9px; background: var(--surface-muted); color: var(--ink-soft); font-size: 12px; font-weight: 700; cursor: pointer; }
.logout-button:hover { color: var(--danger); }

.deleted-state { padding: 48px 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.account-footer { width: min(1120px, calc(100% - 36px)); min-height: 72px; display: flex; justify-content: space-between; align-items: center; margin: 0 auto; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.account-footer nav { display: flex; gap: 18px; }
.account-footer a { min-height: 40px; display: inline-flex; align-items: center; }
.account-footer a:hover { color: var(--accent-strong); }

@media (max-width: 850px) {
  .skeleton-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-aside { display: grid; grid-template-columns: 1fr 1fr; }
  .business-access { border-right: 1px solid var(--line); border-bottom: 0; }
  .logout-button { grid-column: 1 / -1; }
  .action-row, .danger-heading, .surface-heading { grid-template-columns: 44px 1fr; }
  .action-row > .button, .danger-heading > .button, .surface-heading > .status-pill { grid-column: 2; justify-self: start; }
  .invite-fields { grid-template-columns: minmax(0, 1fr) 150px; }
  .invite-fields .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  .topbar { height: 64px; padding-inline: 15px; }
  .brand { width: 112px; }
  .back-link { font-size: 0; }
  .back-link svg { width: 20px; height: 20px; }
  .account-shell { width: 100%; margin: 0; padding: 26px 14px 48px; }
  .page-heading { margin-bottom: 23px; }
  h1 { font-size: 27px; }
  .identity-bar { grid-template-columns: 44px 1fr; padding: 16px; border-radius: 13px; box-shadow: none; }
  .skeleton-identity { grid-template-columns: 44px 1fr; padding: 16px; border-radius: 13px; }
  .skeleton-identity > i { width: 44px; height: 44px; border-radius: 11px; }
  .skeleton-identity > b { display: none; }
  .skeleton-layout > div, .skeleton-layout > aside { min-height: 220px; padding: 18px; border-radius: 13px; }
  .avatar { width: 44px; height: 44px; border-radius: 11px; }
  .verified-label { grid-column: 2; justify-self: start; }
  .reauth-note { grid-template-columns: 38px 1fr; padding: 15px; }
  .reauth-note .button { grid-column: 2; justify-self: start; }
  .settings-surface, .billing-surface, .team-surface, .danger-zone, .account-aside { border-radius: 13px; }
  .action-row, .danger-heading, .surface-heading { grid-template-columns: 38px 1fr; padding: 19px 16px; }
  .row-icon, .danger-icon { width: 38px; height: 38px; border-radius: 9px; }
  .action-row > .button, .danger-heading > .button { grid-column: 1 / -1; width: 100%; }
  .surface-heading > .status-pill { grid-column: 2; }
  .billing-body, .team-body { padding: 0 16px 20px; }
  .billing-facts { grid-template-columns: 1fr; gap: 0; padding: 10px 0; }
  .billing-facts > div { padding: 10px 0; }
  .billing-facts > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .plan-change-panel { padding: 16px 14px; }
  .plan-change-heading { display: grid; gap: 8px; }
  .plan-change-heading > span { justify-self: start; }
  .plan-change-form { grid-template-columns: minmax(0, 1fr); }
  .plan-change-form .button { width: 100%; min-height: 46px; }
  .pix-payment-options { grid-template-columns: 1fr; }
  .pix-copy-option { order: 1; }
  .pix-qr-option { order: 2; width: min(176px, 100%); }
  .copy-field { grid-template-columns: 1fr; }
  .copy-field .button { width: 100%; }
  .pix-actions .button { width: 100%; min-height: 46px; }
  .surface-actions { display: grid; padding: 14px 16px; }
  .surface-actions .button { width: 100%; }
  .team-person { grid-template-columns: 36px minmax(0, 1fr); }
  .team-person-actions { grid-column: 2; justify-content: flex-start; }
  .invite-fields { grid-template-columns: 1fr; }
  .invite-fields .button { grid-column: 1; width: 100%; }
  .retention-section, .delete-panel { padding: 20px 16px; }
  .retention-head { display: none; }
  .retention-row { display: block; padding: 13px; }
  .retention-row strong, .retention-row span { display: block; }
  .retention-row strong { margin-bottom: 4px; }
  .form-actions { display: grid; }
  .form-actions .button { width: 100%; }
  .form-actions .danger { order: -1; }
  .account-aside { display: block; }
  .business-access { border-right: 0; border-bottom: 1px solid var(--line); }
  .account-footer { min-height: 96px; display: block; padding: 20px 0; text-align: center; }
  .account-footer nav { justify-content: center; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
