/* Header account link (src/account-chrome.js) and the checkout account line: icon + "Sign in" / first name on desktop, icon only on phones. Tokens from styles.css. */
.fp-acct { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; min-width: 48px; padding: 0 6px; justify-content: center; color: var(--forest); text-decoration: none; font: 600 14px/20px var(--font); letter-spacing: -.35px; }
.fp-acct:hover { color: var(--forest-dark); }
.fp-acct:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; border-radius: 8px; }
.fp-acct-t { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* laptops: the name would push the menu onto a second line, so the icon alone (with its signed-in dot) */
@media (max-width: 1439px) {
  .fp-acct-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fp-acct.is-in::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); margin-left: -12px; margin-top: -18px; box-shadow: 0 0 0 2px #fff; }
}
@media (max-width: 1279px) {
  .fp-acct { padding: 0; }
  .fp-acct-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fp-acct.is-in::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); margin-left: -12px; margin-top: -18px; box-shadow: 0 0 0 2px #fff; }
}

.linkish { background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--forest); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.linkish:hover { color: var(--forest-dark); }
.linkish:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; border-radius: 8px; }
.linkish:disabled { color: var(--ink-2); cursor: default; }
/* checkout: "Already have an account? Sign in" / "Signed in as ..." */
.co-acct { margin: -4px 0 12px; overflow-wrap: anywhere; }
.co-acct .linkish { padding: 0; min-height: 0; }
input[readonly] { background: var(--ground); color: var(--ink-2); }
