/* ************************************************************************************************
 * The hub picker at "/" — the company's identity as the hero over the brand atmosphere (radial brand
 * tints + the green→blue brand rail), and one tile per hub wearing that hub's accent, so the picker
 * teaches the app's colour language. Loaded after tokens.css and shell.css; this sheet belongs to the
 * pages outside the hub shell: the picker, the status pages (the err block) and the sign-in pages (the
 * auth block at the end). Mobile-first:
 * one column, two from 480px, three from 900px.
 * ********************************************************************************************** */

body {
  min-height: 100vh;
  background-color: var(--sc-bg);
  background-image:
    radial-gradient(60rem 60rem at -10% -15%, var(--sc-green-tint), transparent 60%),
    radial-gradient(55rem 55rem at 110% 115%, var(--sc-blue-tint), transparent 55%),
    radial-gradient(40rem 40rem at 85% -10%, var(--sc-amber-tint), transparent 55%);
  background-attachment: fixed;
}
/* The brand rail (the dialog's green→blue edge, page-wide). */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-green) 0%, var(--sc-green) 45%, var(--sc-blue) 100%);
  z-index: 10;
}

/* ---- Main ---- */
.hub-main {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) var(--sc-space-4) var(--sc-space-7);
}

/* ---- Hero: the company's identity ---- */
.hub-head {
  text-align: center;
  margin-bottom: clamp(1.8rem, 5vh, 3.2rem);
  animation: hub-rise .5s var(--sc-ease) backwards;
}
.hub-head h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;   /* a long unbroken company name wraps, never scrolls the page sideways */
}
.hub-head__ask { color: var(--sc-ink-soft); margin: var(--sc-space-1) 0 0; font-size: var(--sc-text-lg); }

/* ---- Hub tiles ---- */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sc-space-4);
}
@media (min-width: 480px) { .hub-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .hub-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* Per-hub accents — the same accent each hub wears inside. */
.hub-tile--green  { --tile: var(--sc-green);  --tile-deep: var(--sc-green-deep);  --tile-tint: var(--sc-green-tint); }
.hub-tile--blue   { --tile: var(--sc-blue);   --tile-deep: var(--sc-blue-deep);   --tile-tint: var(--sc-blue-tint); }
.hub-tile--amber  { --tile: var(--sc-amber);  --tile-deep: var(--sc-amber-deep);  --tile-tint: var(--sc-amber-tint); }
.hub-tile--violet { --tile: var(--sc-violet); --tile-deep: var(--sc-violet-deep); --tile-tint: var(--sc-violet-tint); }
.hub-tile--teal   { --tile: var(--sc-teal);   --tile-deep: var(--sc-teal-deep);   --tile-tint: var(--sc-teal-tint); }
.hub-tile--indigo { --tile: var(--sc-indigo); --tile-deep: var(--sc-indigo-deep); --tile-tint: var(--sc-indigo-tint); }
.hub-tile--coral  { --tile: var(--sc-coral);  --tile-deep: var(--sc-coral-deep);  --tile-tint: var(--sc-coral-tint); }

.hub-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sc-space-2);
  padding: var(--sc-space-6) var(--sc-space-4) var(--sc-space-5);
  background: var(--sc-surface);
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow);
  overflow: hidden;
  transition: transform var(--sc-dur) var(--sc-ease), box-shadow var(--sc-dur) var(--sc-ease),
              border-color var(--sc-dur) var(--sc-ease);
}
/* The hubs are simply there; only the heading rises in. */
@keyframes hub-rise {
  from { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hub-head { animation: none; }
}

/* The hub's accent: a painted top edge + a tint wash that deepens on hover. */
.hub-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--tile);
}
.hub-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--tile-tint), transparent 55%);
  opacity: .45;
  transition: opacity var(--sc-dur) var(--sc-ease);
  pointer-events: none;
}
.hub-tile:hover { transform: translateY(-3px); box-shadow: var(--sc-shadow-lg); border-color: var(--tile); }
.hub-tile:hover::after { opacity: 1; }

.hub-tile__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--tile-tint);
  color: var(--tile-deep);
  transition: background var(--sc-dur) var(--sc-ease), color var(--sc-dur) var(--sc-ease),
              transform var(--sc-dur) var(--sc-ease);
}
.hub-tile__icon .material-icons { font-size: 30px; }
.hub-tile:hover .hub-tile__icon { background: var(--tile); color: #fff; transform: scale(1.06); }

.hub-tile__label {
  position: relative;
  font-family: var(--sc-font-display);
  font-weight: 700;
  font-size: var(--sc-text-lg);
  color: var(--tile-deep);
}
.hub-tile__desc { position: relative; color: var(--sc-ink-soft); font-size: var(--sc-text-sm); }

/* The "go" affordance: appears on hover, slides in from the left. */
.hub-tile__go {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  margin-top: var(--sc-space-1);
  color: var(--tile-deep);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--sc-dur) var(--sc-ease), transform var(--sc-dur) var(--sc-ease);
}
.hub-tile__go .material-icons { font-size: 20px; }
.hub-tile:hover .hub-tile__go { opacity: 1; transform: none; }
.hub-tile:focus-visible { outline: 3px solid var(--tile); outline-offset: 3px; }

/* A hub the user may not enter: legible but clearly inert, its accent desaturated to ink. */
.hub-tile.is-disabled { --tile: var(--sc-line-strong); --tile-deep: var(--sc-ink-soft); --tile-tint: var(--sc-surface-alt); }
.hub-tile.is-disabled::after { opacity: 0; }
.hub-tile.is-disabled .hub-tile__desc { color: var(--sc-ink-soft); }
.hub-tile.is-disabled:hover { transform: none; box-shadow: var(--sc-shadow); border-color: var(--sc-line); cursor: not-allowed; }
.hub-tile.is-disabled:hover .hub-tile__icon { background: var(--sc-surface-alt); color: var(--sc-ink-faint); transform: none; }
.hub-tile__chip {
  position: absolute;
  top: var(--sc-space-3);
  right: var(--sc-space-3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sc-surface-alt);
  border: 1px solid var(--sc-line);
  color: var(--sc-ink-soft);
  font-size: var(--sc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  z-index: 1;
}
.hub-tile__chip .material-icons { font-size: 14px; }

/* A phone: every hub on one screen, as compact rows: the icon left, the name and its line right, the
   hub's accent down the left edge; the no-access chip sits at the row's right. */
@media (max-width: 719.98px) {
  .hub-grid { grid-template-columns: 1fr; gap: var(--sc-space-2); }
  .hub-tile {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    grid-template-areas: "icon label chip" "icon desc chip";
    align-items: center;
    column-gap: var(--sc-space-3);
    row-gap: 0;
    text-align: left;
    padding: var(--sc-space-2) var(--sc-space-3) var(--sc-space-2) calc(var(--sc-space-3) + 4px);
  }
  .hub-tile::before { inset: 0 auto 0 0; width: 4px; height: auto; }
  .hub-tile::after { background: linear-gradient(90deg, var(--tile-tint), transparent 60%); }
  .hub-tile:hover { transform: none; }
  .hub-tile__icon { grid-area: icon; width: 44px; height: 44px; }
  .hub-tile__icon .material-icons { font-size: 24px; }
  .hub-tile__label { grid-area: label; font-size: var(--sc-text-md); line-height: 1.25; }
  .hub-tile__desc { grid-area: desc; font-size: var(--sc-text-xs); line-height: 1.35; }
  .hub-tile__go { grid-area: chip; opacity: .7; transform: none; margin: 0; }
  .hub-tile__chip { grid-area: chip; position: relative; inset: auto; padding: 2px 8px; }
}

/* Who is signed in, and the way out, under the company's name. */
.hub-head__id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sc-space-2);
  margin-top: var(--sc-space-3);
  color: var(--sc-ink-soft);
  font-size: var(--sc-text-sm);
  overflow-wrap: anywhere;
}
.hub-head__me {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--sc-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--sc-line-strong);
}
.hub-head__me .material-icons { font-size: 18px; color: var(--sc-blue-deep); }
.hub-head__me:hover { text-decoration-color: currentColor; }
.hub-head__logout { margin: 0; display: inline; }
.hub-head__logout button {
  font: inherit;
  color: var(--sc-ink-soft);
  background: none;
  border: 0;
  padding: 2px 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--sc-line-strong);
}
.hub-head__logout button:hover { color: var(--sc-danger); text-decoration-color: var(--sc-danger); }

/* A notice above the tiles: a signed-in user with no hub to enter yet. */
.hub-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--sc-space-3);
  margin: 0 0 var(--sc-space-5);
  padding: var(--sc-space-4);
  background: var(--sc-surface);
  border: 1px solid var(--sc-line);
  border-left: 4px solid var(--sc-amber);
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow);
}
.hub-notice__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sc-amber-tint);
  color: var(--sc-amber-deep);
}
.hub-notice h2 { font-size: var(--sc-text-lg); line-height: 1.3; }
.hub-notice p { margin: var(--sc-space-1) 0 0; color: var(--sc-ink-soft); }

/* ---- Status pages (Pages/Shared/StatusPage: the unknown-tenant 404, the can't-reach-data 503, the
   in-tenant error page). The picker's atmosphere above, the SmartCart360 name, then one card: an icon,
   the headline, one sentence and, where it makes sense, an action. ---- */
.err {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sc-space-4);
  padding: var(--sc-space-6) var(--sc-space-4);
}
.err__brand {
  margin: 0;
  font-family: var(--sc-font-display);
  font-weight: 700;
  font-size: var(--sc-text-lg);
  letter-spacing: -.01em;
  color: var(--sc-ink-soft);
}
.err__card {
  position: relative;
  width: 100%;
  max-width: 30rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sc-space-2);
  padding: var(--sc-space-6) var(--sc-space-5) var(--sc-space-5);
  text-align: center;
  background: var(--sc-surface);
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow);
  overflow: hidden;
  animation: hub-rise .5s var(--sc-ease) backwards;
}
/* The brand rail along the card's top edge. */
.err__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-green) 0%, var(--sc-green) 45%, var(--sc-blue) 100%);
}
.err__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--sc-space-2);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sc-green-tint), var(--sc-blue-tint));
  color: var(--sc-blue-deep);
}
.err__icon .material-icons { font-size: 32px; }
.err__head { font-size: var(--sc-text-xl); letter-spacing: -.01em; overflow-wrap: anywhere; }
.err__msg { margin: 0; max-width: 40ch; color: var(--sc-ink-soft); }
.err__act { margin-top: var(--sc-space-3); }
.err__act:focus-visible { outline: 2px solid var(--sc-blue-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .err__card { animation: none; } }

/* ---- The sign-in pages (Pages/Auth/_Layout: login, forgot password, set password): the status pages'
   frame, one card with the company's name over the form. ---- */
.auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sc-space-4);
  padding: var(--sc-space-6) var(--sc-space-4);
}
.auth-card {
  position: relative;
  width: 100%;
  max-width: 26rem;
  padding: var(--sc-space-6) var(--sc-space-5) var(--sc-space-5);
  background: var(--sc-surface);
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius-lg);
  box-shadow: var(--sc-shadow-lg);
  overflow: hidden;
  animation: hub-rise .5s var(--sc-ease) backwards;
}
.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-green) 0%, var(--sc-green) 45%, var(--sc-blue) 100%);
}
/* The company's brand logo (Company › Branding), when it has one: the sign-in card and the picker. */
.auth-logo, .hub-head__logo { display: block; max-width: min(280px, 100%); max-height: 136px; object-fit: contain; margin: 0 auto var(--sc-space-3); }
.auth-company {
  margin: 0 0 var(--sc-space-4);
  text-align: center;
  font-size: var(--sc-text-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sc-ink-soft);
  overflow-wrap: anywhere;
}
.auth-card h1 { font-size: var(--sc-text-xl); text-align: center; margin-bottom: var(--sc-space-1); text-wrap: balance; }
.auth-lead { text-align: center; color: var(--sc-ink-soft); margin: 0 0 var(--sc-space-5); overflow-wrap: anywhere; }
.auth-field { margin-bottom: var(--sc-space-4); }
.auth-field label { display: block; font-size: var(--sc-text-sm); font-weight: 600; margin-bottom: var(--sc-space-1); }
.auth-field .sc-input { width: 100%; }
.auth-pass { position: relative; display: block; }
.auth-pass .sc-input { padding-right: 48px; }
.auth-pass__toggle { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); color: var(--sc-ink-faint); }
.auth-submit { width: 100%; padding-block: var(--sc-space-3); margin-top: var(--sc-space-1); }
.auth-foot { text-align: center; margin: var(--sc-space-5) 0 0; font-size: var(--sc-text-sm); }
.auth-link { color: var(--sc-blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.auth-alert {
  margin-top: var(--sc-space-3);
  padding: var(--sc-space-3);
  border-radius: var(--sc-radius-sm);
  font-size: var(--sc-text-sm);
  border: 1px solid transparent;
}
.auth-lead + .auth-alert { margin: 0 0 var(--sc-space-4); }
.auth-alert--error { background: var(--sc-danger-bg); border-color: #f0c4bd; color: var(--sc-danger); }
.auth-alert--success { background: var(--sc-success-bg); border-color: #b6e3bf; color: var(--sc-success); }
@media (prefers-reduced-motion: reduce) { .auth-card { animation: none; } }

/* The passkey way in, under the password form: a hairline "or", then one full-width quiet button. */
.auth-or {
  display: flex;
  align-items: center;
  gap: var(--sc-space-3);
  margin: var(--sc-space-5) 0 var(--sc-space-4);
  color: var(--sc-ink-faint);
  font-size: var(--sc-text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--sc-line); }
.auth-passkey__btn { width: 100%; padding-block: var(--sc-space-3); color: var(--sc-ink); }
.auth-passkey__btn .material-icons { font-size: 22px; color: var(--sc-blue-deep); }
.auth-hint { margin: var(--sc-space-2) 0 0; text-align: center; font-size: var(--sc-text-sm); color: var(--sc-ink-soft); }
/* A passkey cancelled or not found: a calm note, not an error. */
.auth-alert--quiet { background: var(--sc-surface-alt); border-color: var(--sc-line); color: var(--sc-ink-soft); }

/* Where a passkey is unlikely to work (the sign-in page's head script sets the class on <html>): no
   "or", a hairline, one soft line pointing to the password, then the passkey as a compact text button.
   While the browser is asked, the passkey part and the link under it keep their space unseen. */
.passkey-deciding .auth-or, .passkey-deciding .auth-passkey, .passkey-deciding .auth-foot { visibility: hidden; }
.auth-passkey__unlikely { display: none; }
.passkey-unlikely .auth-or { display: none; }
.passkey-unlikely .auth-passkey { margin-top: var(--sc-space-5); padding-top: var(--sc-space-4); border-top: 1px solid var(--sc-line); text-align: center; }
.passkey-unlikely .auth-passkey__unlikely { display: block; margin: 0 0 var(--sc-space-1); font-size: var(--sc-text-sm); color: var(--sc-ink-soft); text-wrap: balance; }
.passkey-unlikely .auth-passkey__btn { width: auto; min-height: 44px; padding: var(--sc-space-2) var(--sc-space-3); border-color: transparent;
  font-size: var(--sc-text-sm); color: var(--sc-blue-deep); }
.passkey-unlikely .auth-passkey__btn .material-icons { font-size: 18px; }
.passkey-unlikely .auth-passkey .auth-alert { text-align: left; }

/* The add-a-passkey prompt (Pages/Account/AddPasskey) in the sign-in card: a mark, the question, a
   note, one strong action, a quiet "Not now" and a quieter "Don't ask again". */
.auth-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--sc-space-3);
  border-radius: 50%; background: linear-gradient(135deg, var(--sc-green-tint), var(--sc-blue-tint)); color: var(--sc-blue-deep); }
.auth-mark .material-icons { font-size: 34px; }
.auth-mark--done { background: var(--sc-success-bg); color: var(--sc-success); animation: auth-pop .45s var(--sc-ease) backwards; }
@keyframes auth-pop { from { transform: scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .auth-mark--done { animation: none; } }
.auth-note { display: flex; align-items: flex-start; gap: var(--sc-space-2); margin: calc(-1 * var(--sc-space-2)) 0 var(--sc-space-5);
  padding: var(--sc-space-2) var(--sc-space-3); border-radius: var(--sc-radius-sm); background: var(--sc-surface-alt);
  color: var(--sc-ink-soft); font-size: var(--sc-text-sm); }
.auth-note .material-icons { flex: none; font-size: 18px; color: var(--sc-ink-faint); margin-top: 1px; }
.auth-submit .material-icons { font-size: 20px; }
.auth-later { margin: var(--sc-space-3) 0 0; }
.auth-later .sc-btn { width: 100%; padding-block: var(--sc-space-3); color: var(--sc-ink); }
.auth-quiet { font: inherit; font-size: var(--sc-text-sm); color: var(--sc-ink-soft); background: none; border: 0; padding: 4px 8px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sc-line-strong); }
.auth-quiet:hover { color: var(--sc-ink); }
.auth-quiet.is-disabled { opacity: .5; cursor: not-allowed; }
.auth-quiet.is-disabled:hover { color: var(--sc-ink-soft); }

/* ---- Your sign-in (Pages/Account): the picker's atmosphere, one narrow column of cards. ---- */
.acct-main { max-width: 46rem; }
.acct-back { display: inline-flex; align-items: center; gap: var(--sc-space-1); margin-bottom: var(--sc-space-4);
  color: var(--sc-ink-soft); font-weight: 600; font-size: var(--sc-text-sm); text-decoration: none; }
.acct-back:hover { color: var(--sc-ink); }
.acct-back .material-icons { font-size: 18px; }
.acct-head { margin-bottom: var(--sc-space-5); animation: hub-rise .5s var(--sc-ease) backwards; }
.acct-head h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); letter-spacing: -.02em; }
.acct-head p { margin: var(--sc-space-1) 0 0; color: var(--sc-ink-soft); }
.acct-card { animation: hub-rise .5s var(--sc-ease) .05s backwards; }
.acct-card + .acct-card { animation-delay: .1s; }
@media (prefers-reduced-motion: reduce) { .acct-head, .acct-card { animation: none; } }
.acct-card .su-who { gap: var(--sc-space-3) var(--sc-space-4); }
.acct-card .su-who .sc-field { margin-bottom: 0; }
.acct-card .su-readonly { min-height: 0; }
.acct-card__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--sc-space-3); }
.acct-card__top > div { min-width: 0; flex: 1 1 16rem; }
.acct-count { color: var(--sc-ink-faint); font-weight: 600; font-size: var(--sc-text-sm); margin-left: var(--sc-space-1); }
.acct-empty { display: flex; gap: var(--sc-space-4); align-items: center; padding: var(--sc-space-4);
  border: 1px dashed var(--sc-line-strong); border-radius: var(--sc-radius); background: var(--sc-surface-alt); }
.acct-empty__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sc-green-tint), var(--sc-blue-tint)); color: var(--sc-blue-deep); }
.acct-empty__icon .material-icons { font-size: 28px; }
.acct-empty h3 { font-size: var(--sc-text-md); margin: 0; }
.acct-empty p { margin: var(--sc-space-1) 0 0; color: var(--sc-ink-soft); font-size: var(--sc-text-sm); }
.acct-keys { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sc-space-3); }
.acct-key { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sc-space-3); align-items: center;
  padding: var(--sc-space-3) var(--sc-space-4); border: 1px solid var(--sc-line); border-radius: var(--sc-radius);
  background: var(--sc-surface); transition: border-color var(--sc-dur) var(--sc-ease), box-shadow var(--sc-dur) var(--sc-ease); }
.acct-key.is-new { border-color: var(--sc-green); box-shadow: 0 0 0 3px var(--sc-green-tint); }
.acct-key__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sc-blue-tint); color: var(--sc-blue-deep); }
.acct-key__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-key__name { display: flex; align-items: center; gap: var(--sc-space-2); min-width: 0; }
.acct-key__name .sc-input { flex: 1; min-width: 0; width: 100%; min-height: 40px; padding-block: 6px; font-weight: 600; }
.acct-key__meta { display: flex; flex-wrap: wrap; gap: 0 var(--sc-space-3); color: var(--sc-ink-soft); font-size: var(--sc-text-xs); }
.acct-key__remove { color: var(--sc-ink-faint); }
.acct-key__remove:hover { color: var(--sc-danger); background: var(--sc-danger-bg); }
@media (max-width: 479.98px) {
  .acct-key { grid-template-columns: 1fr auto; padding: var(--sc-space-3); }
  .acct-key__icon { display: none; }
}
.acct-foot { margin: var(--sc-space-4) 0 0; color: var(--sc-ink-soft); font-size: var(--sc-text-xs); }
.acct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-space-3); margin-top: var(--sc-space-4); }
.acct-actions .sc-btn.is-disabled, .no-passkeys [data-passkey-add] { opacity: .5; cursor: not-allowed; }
.acct-unsupported { display: none; }
.no-passkeys .acct-unsupported { display: inline; }
.acct-msg .sc-notice--error { background: var(--sc-danger-bg); color: var(--sc-danger); }
.acct-msg:empty { display: none; }
.acct-msg .sc-notice { margin: var(--sc-space-3) 0 0; }
