/* The member pages (my.t3ma.com, MEMBER-SITE-PLAN.md §2): LAYOUT ONLY.
   Colors, fonts, buttons and form fields come from the website's brand.css
   (served at /_chrome/brand.css): only its tokens - var(--ink), var(--gold),
   var(--paper), var(--line), var(--muted), var(--ok) ... - and font
   variables are used here, never a color or typeface of our own (checked by
   npm run test:member-site; a see-through shade is color-mix() of a
   token). Made from the waiver and account pages' own
   styles, which the staff page still uses as they were. */
[hidden] { display: none !important; }

/* The strip under the website's header: gym, who's signed in, sign out. */
.m-bar { background: var(--ink-2); color: var(--on-ink); }
.m-bar-in { display: flex; align-items: center; gap: 12px; min-height: 52px; flex-wrap: wrap; }
.m-bar-gym { font: 800 .9rem/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.m-bar-who { font-size: .95rem; }
.m-bar-btn { background: none; border: 0; color: var(--paper); font: inherit; font-size: .95rem; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; }
.m-bar .a-reload { text-decoration: none; font-size: 1.25rem; padding: 0 10px; }
.m-main:has(.m-bar) { padding-top: 0; }
@media (max-width: 640px) { .m-bar-who { display: none; } }

/* The member site's home: one card per gym. */
.m-gyms { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.m-gym { display: grid; gap: 6px; text-decoration: none; border-left: 5px solid var(--gold); }
.m-gym strong { font: 800 1rem/1.25 var(--head); text-transform: uppercase; }
.m-gym span { color: var(--muted); }

.w-page { max-width: 760px; }
.w-head { display: flex; flex-direction: column; gap: 4px; padding: 8px 0 12px; }
.w-head h1 { margin: 6px 0 0; font-size: 1.6rem; line-height: 1.2; }
.w-sec { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 12px; }
.w-sec h2 { margin: 0; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.w-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .w-row { grid-template-columns: 1fr; } }
label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
input[type="text"], input:not([type]), input[type="email"], input[type="tel"], input[type="date"], input[type="password"], input[type="number"] {
  font: inherit; font-weight: 400; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--text); width: 100%;
}
input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.w-text { max-height: 340px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 4px 14px; background: var(--soft); font-size: 0.95rem; }
.w-signer-slot { font-weight: 800; text-decoration: underline; }
.w-hint { margin: -4px 0 0; color: var(--muted); font-size: 0.92rem; }
.w-minor { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); border: 1px solid var(--warn-line); }
.w-hear { border: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.w-hear legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.w-hear label { flex-direction: row; align-items: center; font-weight: 400; gap: 6px; }
.w-pad-wrap { position: relative; }
.w-pad { width: 100%; height: 180px; border: 2px dashed var(--line); border-radius: 12px; background: var(--paper); touch-action: none; display: block; }
.w-clear { position: absolute; top: 8px; right: 8px; font: inherit; font-size: 0.9rem; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.w-agree { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 600; }
.w-agree input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.w-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.w-error { color: var(--danger); font-weight: 600; min-height: 1em; }
.w-error:not(:empty) { background: var(--danger-bg); padding: 10px 12px; border-radius: 10px; }
.w-submit { width: 100%; font: inherit; font-size: 1.15rem; font-weight: 800; padding: 16px; border: none; border-radius: 12px; background: var(--gold); color: var(--ink); cursor: pointer; }
.w-submit:disabled { opacity: 0.6; cursor: default; }
.w-done { background: var(--paper); border-radius: 14px; padding: 32px 20px; text-align: center; border: 1px solid var(--line); }
.w-check { width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 50%; background: var(--ok); color: var(--paper); font-size: 44px; line-height: 72px; font-weight: 900; }
.w-note { color: var(--muted); }

/* A member's forms page (waiver + program agreement), and drawn / typed signatures. */
.w-form-card .w-form-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.w-form-card h2 { margin: 0; }
.w-pill { font-size: 0.85rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.w-pill-ok { background: var(--ok-bg); color: var(--ok); }
.w-pill-todo { background: var(--warn-bg); color: var(--warn); }
.w-ok { background: var(--ok-bg); color: var(--ok); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.w-btn-inline { display: inline-block; width: auto; text-decoration: none; padding: 12px 20px; }
.w-link { background: none; border: none; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; display: block; margin: 12px auto 0; }
.w-policy { border-top: 1px solid var(--line); padding-top: 10px; }
.w-policy p { margin: 6px 0 0 28px; }
.w-sig-tabs { display: flex; gap: 6px; }
.w-sig-tab { font: inherit; font-weight: 700; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
.w-sig-tab.is-on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.w-typed-pad { pointer-events: none; }

.a-body h1, .a-body h2, .a-body h3, .a-avatar { font-family: var(--head); }
[hidden] { display: none !important; }

/* Page */
.a-page { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; }
.a-page:not(.a-dash) #a-content { max-width: 560px; width: 100%; margin: 0 auto; }
.a-page:not(.a-dash) .a-title { max-width: 560px; width: 100%; margin: 0 auto -8px; }
.a-title { margin: 0; font-size: 2rem; font-weight: 800; line-height: 1.15; }
.a-dash .a-title { display: none; }
#a-content { display: flex; flex-direction: column; gap: 24px; }

.a-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.a-hero h1 { margin: 0; font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.a-sub { margin: 4px 0 0; color: var(--muted); }
.a-label { margin: 0; font-family: var(--head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.a-sec { display: flex; flex-direction: column; gap: 12px; }
.a-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }

/* Buttons */
.a-btn { font: inherit; font-weight: 700; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--field-line); background: var(--paper); color: var(--text); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.a-btn-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.a-btn-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.a-btn:disabled { opacity: 0.55; cursor: default; }
.a-btn:focus-visible, .a-pick:focus-visible, .a-signout:focus-visible, .a-text-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.a-text-btn { background: none; border: none; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; color: var(--text); }
.a-link-inline { background: none; border: none; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
a.a-btn { color: inherit; }
a.a-btn-primary { color: var(--ink); }
a.a-btn-dark { color: var(--paper); }

/* Needs your attention: one list, a row per thing to do (the passkey offer
   last, quieter). */
.a-attn { background: var(--paper); border: 1px solid var(--warn-line); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; }
.a-todo { padding: 12px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.a-todo:first-child { border-top: 0; }
.a-todo.quiet { background: var(--soft); }
.a-todo .w-error { width: 100%; margin: 0; }
.a-todo .w-error:empty { display: none; }
.a-todo-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ink); color: var(--gold); }
.a-todo-icon.blue { background: var(--info-bg); color: var(--info); }
.a-todo-icon.soft { background: var(--line); color: var(--ink); }
.a-todo-text { flex: 1; min-width: 180px; }
.a-todo-text p { margin: 0; }
.a-todo-text .a-meta { font-size: 0.95rem; }

/* Layout (option C): to-dos and family in the main column, Billing &
   account in a rail beside it - under it once there's no room. */
.a-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.a-main-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.a-side { flex: 1 1 300px; min-width: 0; }
/* The rail is narrow and buttons are in the wide uppercase heading face:
   a long label (Add a payment method) wraps inside its card, never past it. */
.a-side .a-btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }

/* Cards */
.a-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.a-person-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.a-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--line); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex: none; }
.a-avatar.me { background: var(--ink); color: var(--gold); }
.a-person-head h3 { margin: 0; font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
.a-person-name { flex: 1; min-width: 160px; }
.a-meta { color: var(--muted); font-size: 0.95rem; margin: 0; }
.a-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.88rem; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.a-pill.ok { background: var(--ok-bg); color: var(--ok); }
.a-pill.warn { background: var(--warn-bg); color: var(--warn); }
.a-pill.muted { background: var(--line); color: var(--muted); }
.a-pill.blue { background: var(--info-bg); color: var(--info); }
.a-item { border-top: 1px solid var(--line); padding-top: 14px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.a-item-main { flex: 1; min-width: 200px; }
.a-item-main p { margin: 0; }
.a-strong { font-weight: 700; }
.a-price { margin: 0; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.a-price small { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.a-tag { background: var(--info-bg); color: var(--info); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.a-pills { display: flex; gap: 6px; flex-wrap: wrap; }
/* What can be booked for this person: a bar across the foot of the card. */
.a-person-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 -18px -18px; padding: 12px 18px; background: var(--soft); border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.a-mem .a-text-btn { min-height: 44px; }
.a-price-inline { color: var(--text); font-size: 1.05rem; }
.a-subform { border-top: 1px dashed var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.a-preview { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; }
.a-done { background: var(--ok-bg); color: var(--ok); border-radius: 12px; padding: 12px 14px; margin: 0; font-weight: 600; }
.a-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.a-notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; padding: 4px 14px; margin: 0; }
.a-notice p { margin: 8px 0; }
.a-add { min-height: 48px; border-radius: 12px; border: 1px dashed var(--field-line); background: transparent; font: inherit; font-weight: 700; cursor: pointer; }

/* Billing column */
.a-pm { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.a-pm-chip { width: 46px; height: 30px; border-radius: 6px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; flex: none; text-transform: uppercase; }
/* A bill in the narrow rail: what and when on the left, the total and its
   state stacked on the right, a Pay button across the bottom. */
.a-bill { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.a-bill:last-child { border-bottom: none; }
.a-bill-main { grid-row: span 2; min-width: 0; }
.a-bill > .a-strong { text-align: right; }
.a-bill > .a-pill { justify-self: end; }
.a-bill > .a-btn { grid-column: 1 / -1; }
.a-bill-main p { margin: 0; }
.a-help { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.a-help h3 { margin: 0; font-size: 1.3rem; }
.a-help p { margin: 0; color: var(--on-ink); font-size: 0.95rem; }
.a-help a { color: var(--gold); font-weight: 700; min-height: 36px; display: inline-flex; align-items: center; word-break: break-all; }

/* A flow (book a trial, join, add family) opens as its own card */
.a-flow { background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
.a-flow-head { background: var(--ink); color: var(--paper); display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 16px; }
.a-flow-head h2 { margin: 0; flex: 1; font-size: 1.3rem; font-weight: 700; color: var(--paper); letter-spacing: 0; text-transform: none; }
.a-flow-step { color: var(--on-ink); font-size: 0.92rem; white-space: nowrap; }
.a-flow-x { width: 44px; height: 44px; border: none; background: none; color: var(--paper); font-size: 1.6rem; cursor: pointer; border-radius: 8px; }
.a-flow-bar { height: 4px; background: var(--ink-3); }
.a-flow-bar span { display: block; height: 4px; background: var(--gold); transition: width 0.2s; }
.a-flow-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.a-flow-body h3 { margin: 0; font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.a-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.a-pick { width: 100%; min-height: 64px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; color: var(--text); cursor: pointer; }
.a-pick:hover { border-color: var(--field-line); }
.a-pick[aria-pressed="true"] { border: 2px solid var(--ink); background: var(--warn-bg); }
.a-pick-text { flex: 1; min-width: 0; }
.a-pick-text span { display: block; }
.a-pick .a-avatar { width: 40px; height: 40px; font-size: 1rem; }
.a-spots { font-size: 0.9rem; font-weight: 700; color: var(--ok); white-space: nowrap; }
.a-day { margin: 6px 0 0; font-family: var(--head); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.a-more { color: var(--muted); }
.a-more summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.a-more p { margin: 4px 0; }
.a-summary { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.a-summary p { margin: 0; }
.a-flow-foot { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Sign-in and forms (narrow column) */
.a-code { font-size: 1.6rem; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }
.w-sec .w-error:empty, .a-flow .w-error:empty, .a-card .w-error:empty { display: none; }
.a-join-prog { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.a-join-sum { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.a-join-sum td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.a-join-sum td:last-child { text-align: right; white-space: nowrap; }
.a-join-total td { font-weight: 800; border-bottom: none; }

@media (max-width: 640px) {
  .a-hero h1 { font-size: 2rem; }
  /* Two to a row, Join a program first and across; an odd one out fills its
     row instead of leaving a hole. */
  .a-person-actions .a-btn { flex: 1 1 40%; white-space: normal; padding: 6px 8px; font-size: .85rem; letter-spacing: .02em; }
  /* A to-do's button and the passkey offer's two buttons go under its text. */
  .a-todo { gap: 12px; padding: 12px 14px; }
  .a-todo-icon { width: 34px; height: 34px; }
  .a-todo-text { min-width: 0; flex-basis: calc(100% - 46px); }
  .a-todo > .a-btn { margin-left: 46px; }
  .a-todo.quiet .a-actions { width: 100%; padding-left: 46px; }
  .a-person-actions .a-join-start { flex-basis: 100%; order: -1; }
  .a-mem .a-text-btn { width: 100%; text-align: left; padding: 0; min-height: 40px; }
  .a-sec-head { flex-wrap: wrap; }
  .a-flow-body { padding: 16px 14px; }
}

/* Email typo hints (email-hint.js) */
.email-hint { display: block; margin-top: 4px; font-size: 0.95rem; color: var(--warn); }
.email-hint-use { background: none; border: none; padding: 0; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }

/* Private lesson times: compact buttons in a wrapping row */
.a-times { display: flex; flex-wrap: wrap; gap: 8px; }
.a-times .a-time { width: auto; min-width: 104px; justify-content: center; }

/* Staff view ("View their page" in Reports): a read-only session. */
.a-viewas { position: sticky; top: var(--mast-h, 0); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--warn-bg); color: var(--warn); border-bottom: 2px solid var(--gold-dark); padding: 10px 16px; font-size: 0.95rem; }
.a-viewas button { background: var(--ink); color: var(--paper); border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.a-viewonly #a-signout { display: none; }

/* Get started (leadsRoutes.js): two fields a row on wider screens, a
   hidden field people never see (bots fill it in). */
.gs-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .gs-row { grid-template-columns: 1fr 1fr; } }
.gs-set { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gs-set legend { margin-bottom: 4px; }
/* The forms pages' labels stack their field under the text; a checkbox or
   radio row (.check) stays on one line. */
.check { flex-direction: row; align-items: flex-start; }
.check input { margin-top: 3px; }
.gs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error:empty { display: none; }

/* Last, so they win: buttons and titles the pages build look like the website's. */
.a-btn, .w-submit { font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-weight: 800; border-radius: 6px; }
.a-title, .w-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }

/* Documents and signing in the account (account.js loadDocs / signFlow). */
.a-doc-card { display: flex; flex-direction: column; gap: 4px; }
.a-doc-card h3 { margin: 0 0 4px; }
.a-doc { border-top: 1px solid var(--line); }
.a-docs-actions { margin-bottom: 12px; flex-wrap: wrap; }
.a-sign-read { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin-bottom: 12px; background: var(--paper); }
.a-sign-read > summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.a-sign-read .w-text { margin-bottom: 14px; }
.a-sign-common, .a-sign-one { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.a-sign-common label, .a-row2 label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.a-row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.a-card label.a-check, .a-check { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.4; min-height: 32px; }
.a-check input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.a-sign-pols { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.a-sign-one .a-sec-head h3 { margin: 0; }

/* Email / Text message switch on sign-in (account.js viaSwitch). */
.a-seg { display: flex; gap: 6px; background: var(--soft); padding: 4px; border-radius: 12px; }
.a-seg-btn { flex: 1; min-height: 44px; border: none; border-radius: 9px; background: none; font: inherit; font-weight: 700; color: inherit; cursor: pointer; opacity: .75; }
.a-seg-btn.on { background: var(--paper); opacity: 1; box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent); }
.a-trial-waiver { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.a-kids-added { margin-bottom: 12px; }

/* The front-desk tablet (account.js desk mode; /kiosk/<gym>/signup). */
.a-desk .install-hint, .a-desk .inst-bar { display: none !important; }
.a-desk-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 32px 16px; }
.a-desk-done h2 { margin: 0; font-size: 2rem; }
.a-desk-check { width: 72px; height: 72px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.a-desk-check svg { width: 36px; height: 36px; }
.a-desk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: min(100%, 360px); }
.a-desk-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.a-desk-staff { position: fixed; inset: 0; background: color-mix(in srgb, var(--ink) 70%, transparent); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.a-desk-staff form { width: min(100%, 520px); display: flex; flex-direction: column; gap: 12px; }
.a-desk-staff h2 { margin: 0; }
/* A detail the signing still needs (account.js signFlow): highlighted.
   Red and green are the website's --danger / --ok. */
.a-need { outline: 3px solid var(--danger); outline-offset: 1px; }
.a-need:focus { outline-color: var(--danger); }
.a-ok { border-color: var(--ok) !important; }
.a-field-msg { display: block; min-height: 0; font-size: 0.85em; font-weight: 400; margin-top: 2px; }
.a-field-msg.bad { color: var(--danger); }
.a-field-msg.good { color: var(--ok); }
