/* /account/: the parent's one page. Tokens from panelab.css. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.acct { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: clamp(20px, 4vh, 44px) 16px 56px; }
.acct__loading { color: var(--ink-3); }
.acct-head { margin: 0 0 22px; }
.acct-head p { color: var(--ink-2); max-width: 62ch; }
.acct-head .btn { margin-top: 8px; }
/* The 18+ step (GO-1): one button with the sign-up consent line under it, the width of the sign-in form. */
.acct-adult__form { display: grid; gap: 12px; max-width: 420px; margin: 16px 0 8px; }
.acct-adult__form .auth-fine { margin: 0; }
.acct-eyebrow { margin: 0 0 4px; font-size: var(--t-meta); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.acct-title { margin: 0 0 8px; font: 800 clamp(28px, 4.2vw, 40px)/1.08 var(--display); letter-spacing: -.02em; color: var(--ink); }
.acct-title:focus { outline: none; }
.acct-flash { display: inline-block; margin: 6px 0 0; padding: 8px 12px; border-radius: var(--r-control); background: var(--sun-soft); color: var(--ink) !important; font-weight: 600; font-size: var(--t-small); }

.acct-grid { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .acct-grid { grid-template-columns: 1fr 1fr; } }
.acct-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sheet); box-shadow: var(--e1); padding: clamp(18px, 4vw, 28px); }
.acct-card__title { margin: 0 0 14px; font: 800 22px/1.15 var(--display); letter-spacing: -.01em; color: var(--ink); }
.acct-card p { margin: 0 0 12px; color: var(--ink-2); }
.acct-card strong { color: var(--ink); overflow-wrap: anywhere; }
.acct-muted { font-size: var(--t-small); color: var(--ink-3) !important; }

.acct-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; }
.acct-stat { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); }
.acct-stat__n { font: 800 28px/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.acct-stat__label { font-size: var(--t-small); color: var(--ink-2); }
.acct-meter { height: 10px; margin: 0 0 16px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.acct-meter__fill { display: block; height: 100%; width: 0; background: var(--ink); border-radius: inherit; }
.acct-report { display: grid; gap: 8px; margin: 0 0 16px; }
.acct-report > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: var(--t-small); }
.acct-report dt { color: var(--ink-2); }
.acct-report dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.acct-report .acct-report__wide { display: grid; }
.acct-report__wide dd { text-align: left; font-weight: 400; }
.acct-report__wide ol { margin: 4px 0 0; padding-left: 20px; }

.acct-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: 4px 0 12px; }
.acct-actions--quiet { margin: 6px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.acct-linkbtn { min-height: var(--tap); padding: 0 6px; border: 0; background: none; color: var(--link); font: 600 var(--t-small)/1 var(--body); text-decoration: underline; cursor: pointer; }
.acct-linkbtn--bad { color: var(--bad); }
.btn--bad { background: var(--bad); color: #fff; }
.btn--bad:disabled { opacity: .7; cursor: progress; }

.acct-link__row { margin: 0 0 10px; }
.acct-link__url { font: 400 var(--t-small)/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; min-height: 48px; text-overflow: ellipsis; }
.acct-qr-slot { display: grid; justify-items: start; gap: 6px; margin: 8px 0 12px; }
.acct-qr { width: 168px; height: 168px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.acct-mails { display: grid; gap: 12px; }
.acct-mails .auth-mail { margin-top: 0; }

.acct-plan p { margin: 0 0 10px; }
.acct-plan__set { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.acct-plan__opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-control); cursor: pointer; color: var(--ink); }
.acct-plan__opt:has(input:checked) { border-color: var(--ink); background: var(--sun-soft); }
.acct-plan__opt input { margin: 0; width: 20px; height: 20px; flex: none; }
.acct-plan__title { margin: 0 0 8px; font: 800 20px/1.2 var(--display); color: var(--ink); }
.acct-plan__title:focus { outline: none; }

.acct-confirm { margin-top: 8px; padding: 14px; border: 1px solid var(--bad); border-radius: var(--r); }
.acct-confirm[hidden] { display: none; }
.acct-confirm p { color: var(--ink) !important; }

.acct-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; max-width: calc(100vw - 32px); margin: 0; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: var(--t-small); font-weight: 600; box-shadow: var(--e1); }

/* gate at the first choice: a device asks to read on this account (Allow / Not me), and the linked devices list */
.acct-request { margin: 0 0 18px; border: 2px solid var(--ink); }
.acct-request .acct-card__title:focus { outline: none; }
.acct-devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.acct-device { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.acct-device:last-child { border-bottom: 0; }
.acct-device__text { display: grid; gap: 2px; min-width: 0; color: var(--ink); }
