/*
 * The optional client account (DECISIONS D44), as the design canvas of 2026-10-19 drew it (approved): the header's
 * « Se connecter » that becomes a monogram, its menu, the sign-in panel (a card under the button on a computer, a
 * sheet from the bottom on a phone), the sign-in page that an e-mail opens, the client page, its dialogs.
 * Only the brand's three colours — except Google's and Apple's buttons, drawn to their own rules (IDENTITY §2).
 */

/* ------------------------------------------------------------------ the header's control */
.account { display: none; }
html[data-accounts] .account { display: block; position: relative; margin-left: 6px; }
.account-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: var(--tap); padding: 0 5px 0 17px;
  border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 15px; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: box-shadow 0.3s var(--ease-out); -webkit-tap-highlight-color: transparent;
}
.account-btn:hover, .account-btn[aria-expanded="true"], .account-btn:focus-visible { box-shadow: inset 0 0 0 1.5px var(--cyan-deep), 0 0 0 4px var(--cyan-soft); }
.account-btn:focus-visible { outline: none; }
.account-label { display: inline-block; }
.account-ring { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.account-ring .icon { width: 17px; height: 17px; }
.account-initials { display: none; font-size: 15px; font-weight: 750; letter-spacing: -0.02em; line-height: 1; }
.account-initials:empty::before { content: var(--account-initials, ""); }
.account-dot { display: none; position: absolute; right: 4px; bottom: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 2px var(--paper); }
.account-pulse { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); pointer-events: none; overflow: visible; }
.account-pulse circle { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 100; opacity: 0; }
/* a session is open: the monogram, its dot */
html[data-account="in"] .account-btn { width: var(--tap); padding: 0; gap: 0; justify-content: center; box-shadow: none; }
html[data-account="in"] .account-label, html[data-account="in"] .account-ring .icon { display: none; }
html[data-account="in"] .account-ring { width: 36px; height: 36px; }
html[data-account="in"] .account-initials, html[data-account="in"] .account-dot { display: block; }
html[data-account="in"] .account-btn:hover .account-ring, html[data-account="in"] .account-btn[aria-expanded="true"] .account-ring,
html[data-account="in"] .account-btn:focus-visible .account-ring { box-shadow: inset 0 0 0 1.5px var(--cyan-deep), 0 0 0 4px var(--cyan-soft); }
/* a phone, and the narrow band of computers where the header is tight: the ring alone (EXPERIENCE §9) */
@media (max-width: 767px), (min-width: 1128px) and (max-width: 1279px) {
  .account-btn { width: var(--tap); padding: 0; gap: 0; justify-content: center; box-shadow: none; }
  .account-label { display: none; }
  .account-btn:hover .account-ring, .account-btn[aria-expanded="true"] .account-ring { box-shadow: inset 0 0 0 1.5px var(--cyan-deep), 0 0 0 4px var(--cyan-soft); }
  html[data-accounts] .account { margin-left: 0; }
}

/* ------------------------------------------------------------------ the account's menu */
.acct-menu {
  position: absolute; top: calc(100% + 8px); right: -4px; width: 304px; padding: 8px; border-radius: var(--r-md);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2); z-index: var(--z-menu);
}
.acct-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* the bridge: the pointer crosses the gap */
.acct-menu-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 14px; }
.acct-mono { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.acct-menu-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct-menu-name { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu-mail { font-size: 14px; font-weight: 500; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu-rule { height: 1px; margin: 0 8px 6px; background: var(--line); }
.acct-item {
  display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 12px; border: 0; border-radius: var(--r-sm);
  background: transparent; font: inherit; font-size: 15px; font-weight: 650; color: var(--ink); text-decoration: none; cursor: pointer; text-align: left;
}
.acct-item .icon { width: 20px; height: 20px; }
.acct-item:hover, .acct-item:focus-visible { background: var(--raised); outline: none; }
@media (max-width: 767px) { .acct-menu { position: fixed; top: calc(var(--header-h) - 6px); right: 8px; width: min(304px, calc(100vw - 16px)); } }

/* ------------------------------------------------------------------ the panel: a card on a computer, a sheet on a phone */
.acct-scrim { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(28, 28, 28, 0.14); }
.acct-panel {
  position: fixed; top: 84px; right: 36px; z-index: calc(var(--z-modal) + 1); width: 420px; max-height: calc(100vh - 100px); overflow-y: auto;
  overscroll-behavior: contain; padding: 24px 28px 26px; border-radius: var(--r-lg); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 2px 4px rgba(0, 0, 0, 0.06), 0 18px 48px rgba(0, 0, 0, 0.18);
}
.acct-panel:focus { outline: none; }
.acct-grab { display: none; }
.acct-steps { position: relative; }
@media (max-width: 767px) {
  .acct-panel {
    top: auto !important; left: 0; right: 0 !important; bottom: var(--kb, 0px); width: auto; max-height: calc(var(--vvh, 100vh) * 0.92);
    padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.04), 0 -12px 40px rgba(0, 0, 0, 0.16);
  }
  .acct-grab { display: block; width: 36px; height: 5px; margin: 0 auto 10px; border-radius: 3px; background: var(--line-strong); }
}
.acct-head { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); }
.acct-symbol { width: 34px; height: 34px; }
.acct-close { margin-right: -10px; }
.acct-title { margin: 14px 0 0; font-size: 26px; line-height: 1.15; font-weight: 750; letter-spacing: -0.03em; }
.acct-lede { margin: 8px 0 0; font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--ink-soft); }
.acct-lede strong { color: var(--ink); font-weight: 700; }
.acct-step[hidden] { display: none; }
.acct-providers { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

/* Google's button (its branding rules: white, #747775 outline, #1F1F1F words in Google Sans Flex, the « G » unchanged) */
.btn-google, .btn-apple {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; border: 0; border-radius: var(--r-pill);
  background: #ffffff; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 0.2s, box-shadow 0.2s;
}
.btn-google { gap: 10px; box-shadow: inset 0 0 0 1px #747775; font-family: "Google Sans Flex", var(--font-ui, "Plus Jakarta Sans"), system-ui, sans-serif; font-weight: 500; font-size: 17px; color: #1f1f1f; letter-spacing: 0.01em; }
.btn-google svg { width: 20px; height: 20px; flex: none; }
/* Apple's (its rules: « white with outline » on a white page, the logo at full height, the title at 43 % of it) */
.btn-apple { gap: 8px; box-shadow: inset 0 0 0 1px #000000; font-family: var(--font-ui, "Plus Jakarta Sans"), system-ui, sans-serif; font-weight: 500; font-size: 19px; color: #000000; letter-spacing: -0.01em; }
.btn-apple svg { width: 17px; height: 21px; margin-top: -3px; flex: none; }
.btn-google:hover, .btn-apple:hover { background: #f8f8f8; }
.btn-google:focus-visible, .btn-apple:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px #1f1f1f, 0 0 0 4px var(--cyan-soft); }
.btn-google--sm, .btn-apple--sm { width: auto; height: 40px; padding: 0 16px 0 14px; font-size: 16px; }
.btn-apple--sm { font-size: 17px; }

.acct-or { display: flex; align-items: center; gap: 14px; margin: 20px 0 16px; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acct-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.acct-lede + .acct-label, .acct-rule + .acct-label { margin-top: 14px; }
.acct-input {
  display: block; width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.acct-input:focus { outline: none; border-color: var(--cyan-deep); box-shadow: 0 0 0 4px var(--cyan-soft); }
.acct-input[aria-invalid="true"] { border-color: var(--ink); }
.acct-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; margin-top: 12px; border: 0;
  border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); font: inherit; font-size: 16px;
  font-weight: 650; color: var(--ink); cursor: pointer; text-decoration: none; transition: background-color 0.3s var(--ease-out), box-shadow 0.3s;
}
.acct-btn .icon { width: 20px; height: 20px; }
.acct-btn:hover { background: var(--raised); }
.acct-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--cyan-deep), 0 0 0 4px var(--cyan-soft); }
.acct-btn.is-ready, .acct-btn--solid { background: var(--cyan); box-shadow: none; color: var(--on-cyan); }
.acct-btn.is-ready:hover, .acct-btn--solid:hover { background: var(--cyan); filter: brightness(0.97); }
.acct-btn--ink { background: var(--ink); box-shadow: none; color: var(--paper); }
.acct-btn--ink:hover { background: var(--ink); filter: brightness(1.2); }
.acct-btn:disabled, .acct-btn[aria-disabled="true"] { cursor: default; color: var(--ink-muted); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); filter: none; }
.acct-btn--inline { display: inline-flex; width: auto; padding: 0 22px; }
.acct-hint { margin: 10px 0 0; font-size: 13px; color: var(--ink-muted); }
.acct-legal { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.acct-legal a { color: var(--ink-soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.acct-link {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 650;
  color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.acct-link:focus-visible { outline: 2px solid var(--cyan-deep); outline-offset: 2px; border-radius: 4px; }
.acct-typo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.acct-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.acct-note .icon { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.acct-note--quiet { font-weight: 500; color: var(--ink-soft); }
.acct-muted { margin: 14px 0 0; font-size: 15px; color: var(--ink-muted); }
.acct-rule { height: 1px; margin: 22px 0; background: var(--line); }

/* the code: one field (one-time-code), drawn as six boxes */
.code-field { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.code-cell {
  display: grid; place-items: center; width: 46px; height: 56px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; transition: box-shadow 0.2s;
}
.code-cell:nth-of-type(4) { margin-left: 12px; }
.code-cell.is-active { box-shadow: inset 0 0 0 1.5px var(--cyan-deep), 0 0 0 4px var(--cyan-soft); }
.code-cell.is-caret::after { content: ""; width: 2px; height: 26px; background: var(--ink); animation: acct-caret 1s steps(1) infinite; }
.code-field.is-wrong .code-cell { box-shadow: inset 0 0 0 1.5px var(--ink); }
.code-input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; font-size: 16px; caret-color: transparent; }
@keyframes acct-caret { 50% { opacity: 0; } }

/* the signature: an arc between two orbs, a pulse running on it (IDENTITY §8, MOTION §8) */
.acct-sign { display: block; width: 104px; height: 44px; overflow: visible; }
.acct-sign .arc { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.acct-sign .pulse { fill: none; stroke: var(--cyan); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 28 100; stroke-dashoffset: -36; }
.acct-sign .orb-a { fill: var(--ink); }
.acct-sign .orb-b { fill: var(--cyan); }
.acct-sign--big { width: 200px; height: 84px; }
.acct-done { display: flex; flex-direction: column; align-items: center; padding: 28px 0 12px; text-align: center; }
.acct-done .acct-title { margin-top: 18px; }

/* ------------------------------------------------------------------ the sign-in page (an e-mail opens it) */
.page--signin .page-inner, .page--account .page-inner { max-width: 820px; }
.landing { margin-top: 28px; }
.landing-title { margin: 22px 0 0; font-size: clamp(34px, 2rem + 2.6vw, 64px); line-height: 1.02; font-weight: 750; letter-spacing: -0.04em; }
.landing-text { margin: 18px 0 0; max-width: 600px; font-size: clamp(17px, 1rem + 0.35vw, 21px); line-height: 1.55; color: var(--ink-soft); }
.landing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 28px; }
.landing-actions .acct-btn { margin-top: 0; }
.landing-count { font-size: 15px; color: var(--ink-muted); }
.landing-bar { position: relative; width: min(360px, 100%); height: 3px; margin-top: 18px; border-radius: 2px; background: var(--line); overflow: hidden; }
.landing-bar i { position: absolute; inset: 0; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }
.landing-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-top: 18px; border-radius: 50%; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.landing-icon .icon { width: 28px; height: 28px; }
.landing-code {
  display: grid; place-items: center; max-width: 420px; margin-top: 26px; padding: 22px 16px; border-radius: var(--r-md); background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line); font-size: clamp(44px, 2rem + 4vw, 60px); font-weight: 750; letter-spacing: 0.08em; font-variant-numeric: tabular-nums;
}
.landing-valid { max-width: 420px; margin: 16px 0 0; text-align: center; font-size: 16px; font-weight: 650; }
.landing-requested { max-width: 420px; margin: 4px 0 0; text-align: center; font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.landing .acct-btn { max-width: 420px; }
.landing-inline { max-width: 440px; margin-top: 28px; }

/* ------------------------------------------------------------------ the client page */
.acct-hero { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.acct-hero-mono {
  position: relative; display: grid; place-items: center; width: 84px; height: 84px; flex: none; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ink); font-size: 34px; font-weight: 750; letter-spacing: -0.03em;
}
.acct-hero-mono::after { content: ""; position: absolute; right: 4px; bottom: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--paper); }
.acct-hero h1 { margin: 0; font-size: clamp(36px, 2rem + 2.4vw, 56px); line-height: 1.02; font-weight: 750; letter-spacing: -0.04em; }
.acct-hero-meta { margin: 10px 0 0; font-size: 16px; font-weight: 500; color: var(--ink-muted); overflow-wrap: anywhere; }
.acct-intro { margin: 26px 0 0; max-width: 640px; font-size: 20px; line-height: 1.5; color: var(--ink-soft); }
.acct-sec { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.acct-sh { display: flex; align-items: baseline; gap: 16px; margin: 0; }
.acct-num { font-size: 15px; font-weight: 750; color: var(--ink-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.acct-st { font-size: 30px; line-height: 1.1; font-weight: 750; letter-spacing: -0.03em; }
.acct-si { margin: 10px 0 0 39px; max-width: 560px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.acct-rows { margin: 22px 0 0 39px; }
.acct-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.acct-row:last-child { border-bottom: 0; }
.acct-lab { font-size: 13px; font-weight: 650; color: var(--ink-muted); letter-spacing: 0.01em; }
.acct-val { margin-top: 4px; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.acct-meta { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.acct-sm {
  display: inline-flex; align-items: center; gap: 8px; height: var(--tap); padding: 0 18px; border: 0; border-radius: var(--r-pill); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-strong); font: inherit; font-size: 15px; font-weight: 650; color: var(--ink); white-space: nowrap; cursor: pointer; text-decoration: none;
}
.acct-sm .icon { width: 18px; height: 18px; }
.acct-sm:hover { background: var(--raised); }
.acct-sm:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--cyan-deep), 0 0 0 4px var(--cyan-soft); }
.acct-sm:disabled { color: var(--ink-muted); cursor: default; background: var(--paper); }
.acct-lead { display: flex; align-items: center; gap: 14px; min-width: 0; }
.acct-disc { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.acct-disc .icon { width: 20px; height: 20px; }
.acct-disc svg:not(.icon) { width: 18px; height: 18px; }
.acct-badge {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; margin-left: 10px; padding: 0 10px; border-radius: var(--r-pill); background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 650; vertical-align: 2px; white-space: nowrap;
}
.acct-badge .icon { width: 14px; height: 14px; }
.acct-badge--cyan { background: var(--cyan); box-shadow: none; color: var(--on-cyan); }
.acct-always { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.acct-pending {
  display: flex; gap: 16px; margin: 6px 0 0 39px; padding: 18px 20px; border-radius: var(--r-md); background: var(--raised); box-shadow: inset 0 0 0 1px var(--line);
}
.acct-pending > .icon { width: 24px; height: 24px; margin-top: 2px; flex: none; }
.acct-pending-title { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.acct-pending p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.acct-pending-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 4px; }
.acct-edit { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.acct-edit .acct-input { flex: 1 1 220px; }
.acct-edit .acct-btn { width: auto; margin-top: 0; padding: 0 22px; }
.acct-others { margin: 20px 0 0 39px; }
.acct-signout { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.acct-skel { display: block; height: 18px; margin-top: 12px; border-radius: 9px; background: var(--raised); }
.acct-skel--title { width: 60%; height: 52px; margin-top: 32px; border-radius: 14px; }
@media (max-width: 767px) {
  .acct-hero { gap: 16px; }
  .acct-hero-mono { width: 64px; height: 64px; font-size: 26px; }
  .acct-intro { font-size: 17px; }
  .acct-si, .acct-rows, .acct-pending, .acct-others { margin-left: 0; }
  .acct-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .acct-row > :last-child { justify-self: start; }
  .acct-st { font-size: 26px; }
}

/* ------------------------------------------------------------------ dialogs: confirm it is you, delete */
.acct-dialog {
  position: fixed; inset: 0; z-index: calc(var(--z-modal) + 1); width: min(500px, calc(100vw - 32px)); height: fit-content; max-height: calc(100vh - 48px);
  margin: auto; overflow-y: auto; overscroll-behavior: contain; padding: 28px 30px 30px; border-radius: var(--r-lg); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 2px 4px rgba(0, 0, 0, 0.06), 0 18px 48px rgba(0, 0, 0, 0.18);
}
.acct-dialog:focus { outline: none; }
.acct-dialog .landing-icon { margin-top: 0; width: 56px; height: 56px; }
.acct-dialog .acct-title { margin-top: 20px; }
.acct-bullets { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.acct-bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.acct-bullets li::before { content: ""; width: 7px; height: 7px; flex: none; margin-top: 8px; border-radius: 50%; background: var(--ink); }
.acct-check { display: flex; align-items: center; gap: 12px; min-height: var(--tap); margin-top: 16px; font-size: 15px; font-weight: 650; cursor: pointer; }
.acct-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.acct-dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.acct-dialog-actions .acct-btn { width: auto; margin-top: 0; padding: 0 22px; }
@media (max-width: 767px) {
  .acct-dialog {
    inset: auto 0 var(--kb, 0px) 0; width: auto; height: auto; max-height: calc(var(--vvh, 100vh) * 0.92); margin: 0;
    padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0;
  }
  .acct-dialog .acct-grab { display: block; margin-bottom: 14px; }
  .acct-dialog-actions { flex-direction: column-reverse; }
  .acct-dialog-actions .acct-btn { width: 100%; }
}

/* ------------------------------------------------------------------ what the steps and pages add */
.acct-head-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.acct-head-row .acct-title { margin-top: 0; }
.acct-title--inline { margin-top: 0; font-size: 22px; }
.acct-title-xl { margin: 0; font-size: clamp(34px, 2rem + 2.2vw, 56px); line-height: 1.05; font-weight: 750; letter-spacing: -0.04em; }
.acct-title-xl:focus, .landing-title:focus, .acct-hero h1:focus, .acct-title:focus { outline: none; }
.acct-note--block { margin-top: 6px; font-weight: 600; }
.acct-note-title { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 700; }
.acct-field-msg { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.acct-email { margin: 0; }
.acct-link--inline { display: inline; min-height: 0; font-size: inherit; vertical-align: baseline; }
.acct-link--center { display: flex; margin: 10px auto 0; }
.acct-lede--other { margin-top: 0; }
.acct-muted--last { margin-top: 4px; }
.acct-sent { margin: 16px 0 0; font-size: 14px; color: var(--ink-muted); text-align: center; }
.acct-card { max-width: 440px; margin-top: 28px; }
.landing-card { max-width: 440px; }
.landing-card .acct-providers { margin-top: 26px; }
.landing-never { max-width: 420px; margin-top: 16px; }
.landing-actions--stack { flex-direction: column; align-items: stretch; max-width: 420px; }
.landing-actions .acct-btn .icon:last-child { width: 18px; height: 18px; }
.landing-code.is-over { color: var(--ink-muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.landing > .acct-sign { margin-top: 12px; }
.landing [data-msg] { max-width: 440px; }
.code-field.is-disabled .code-cell { color: var(--ink-muted); background: var(--raised); }
.acct-meta--inline { margin: 0; }
.acct-row--edit { grid-template-columns: minmax(0, 1fr); }
.acct-edit-note { flex-basis: 100%; margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.acct-edit .acct-lab { flex-basis: 100%; }
.acct-edit [data-msg], .acct-edit .acct-field-msg { flex-basis: 100%; }
.acct-edit .acct-link { min-height: var(--tap); }
.acct-pending > div { flex: 1; min-width: 0; }
[data-pending-slot] .code-field { margin-top: 6px; }
.page--account .page-hero, .page--signin .page-hero { margin-bottom: 0; }
.page--account [data-acct-h1], .page--signin [data-acct-h1] {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.acct-page, .landing { position: relative; }
.acct-fly {
  position: fixed; z-index: calc(var(--z-modal) + 3); font-size: 16px; font-weight: 700; line-height: 22px; color: var(--ink);
  white-space: nowrap; pointer-events: none;
}

/* ------------------------------------------------------------------ comfort */
@media (forced-colors: active) {
  .account-btn, .acct-btn, .acct-sm, .btn-google, .btn-apple, .code-cell, .acct-input { border: 1px solid CanvasText; }
  .account-dot, .acct-hero-mono::after { forced-color-adjust: none; }
}
@media (prefers-reduced-motion: reduce) {
  .account-btn, .acct-btn, .acct-input, .code-cell { transition: none; }
  .code-cell.is-caret::after { animation: none; }
}
