/* =====================================================
   IncMarketry — the sign-in flow (stage F4, 2026-10-12): login.html (the gate, the forgot-password
   panel and the #loading-screen), signup.html and thank-you.html.

   Built from the approved mockups login_v3.html, loading_v7.html, signup_v3.html and thankyou_v1.html,
   on top of brand-tokens.css + im-primitives.css (tokens, .im-ring). styles.css still loads on these
   pages for the Get Access-era shared rules; nothing here edits it.

   PRESENTATION ONLY. Every hook the auth code reaches for keeps its id/class: #login-form, #email,
   #password, #login-error (.is-visible), .login-card (the FIRST one is toggled by showForgotPanel()),
   #forgot-panel, .forgot-step[data-forgot-step] (.is-active), #back-to-login-1/2, #btn-send-reset,
   #forgot-error, #reset-email, #loading-screen (.is-active), #loading-status; signup's
   .signup-step[data-step] (.is-active), .signup-shell (.is-invited/.is-refused), #step-label,
   #rail-steps, .account-type-card (.is-selected), every field name/id, .mw-upload and the buttons.

   Conventions: every page-specific class is au- prefixed; every rule is scoped under body.au-page (or
   one page's own body class) so it reaches no other page; colours come from brand-tokens.css (the
   gloss stops and soft tile washes are the mockups' own, as in im-inner.css). Icon weights: tiles
   40px/18px/1.8, button chevrons 16px/2.2, back pill 14px/2.2, ticks 13px/2.6 in 24.
   ===================================================== */

body.au-page {
  --au-line: rgba(var(--brand-navy-rgb), .12);
  --au-line-2: rgba(var(--brand-navy-rgb), .18);
  margin: 0; background: var(--im-sand); color: var(--im-ink);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
body.au-page *, body.au-page *::before, body.au-page *::after { box-sizing: border-box; }

/* ---- shared: gloss (figure surfaces only), icon tiles, the logo, the back pill, buttons ---- */
.au-gl {
  position: relative; overflow: hidden; isolation: isolate; border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -14px 28px -10px rgba(0, 0, 0, .22), 0 1px 2px rgba(var(--brand-plum-deepest-rgb), .12), 0 26px 44px -26px rgba(var(--brand-plum-deepest-rgb), .55);
}
.au-gl::before {
  content: ""; position: absolute; left: -10%; right: -10%; top: -60%; height: 110%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)); pointer-events: none; z-index: -1;
}
.au-gl-plum { background: linear-gradient(165deg, #5E4766 0%, var(--im-plum) 45%, var(--im-plum-dd) 100%); color: var(--im-sand); }
.au-gl-teal { background: linear-gradient(165deg, var(--im-teal-d) 0%, #1D5A55 100%); color: #fff; }
.au-gl-terra { background: linear-gradient(165deg, var(--im-terra-d) 0%, var(--brand-copper-deep) 100%); color: #fff; }
.au-gl-sand { background: linear-gradient(165deg, var(--im-card) 0%, var(--im-sand) 50%, var(--im-sand-deep) 100%); color: var(--im-ink); }

.au-itile {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px -10px rgba(var(--brand-plum-deepest-rgb), .35);
}
.au-itile svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.au-t-terra { background: linear-gradient(180deg, #FFF4EF, #FCE6DC); color: var(--im-terra-d); }
.au-t-plum { background: linear-gradient(180deg, #F8F4F9, #EBE3ED); color: var(--im-plum); }
.au-t-teal { background: linear-gradient(180deg, #E8F4F2, var(--im-teal-wash)); color: var(--im-teal-d); }

.au-logo {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1; color: inherit; text-decoration: none; white-space: nowrap;
}

.au-back {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 7px; border-radius: 999px;
  font: 500 14.5px 'Bricolage Grotesque', system-ui, sans-serif; font-variant-numeric: tabular-nums; color: var(--im-ink); text-decoration: none; cursor: pointer;
  background: var(--im-card); border: 1px solid rgba(var(--brand-navy-rgb), .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px -18px rgba(var(--brand-plum-deepest-rgb), .5); transition: border-color .2s;
}
.au-back:hover { border-color: rgba(var(--brand-navy-rgb), .3); color: var(--im-ink); }
.au-back i {
  width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-style: normal;
  background: linear-gradient(180deg, #F1EAF2, var(--im-plum-wash)); color: var(--im-plum); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); transition: transform .25s;
}
.au-back:hover i { transform: translateX(-3px); }
.au-back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

body.au-page .au-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px;
  font: 600 14.5px 'Bricolage Grotesque', system-ui, sans-serif; font-variant-numeric: tabular-nums; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
body.au-page .au-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
body.au-page .au-btn-ink { background: var(--im-plum-dd); color: var(--im-sand); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 30px -18px rgba(var(--brand-plum-deepest-rgb), .7); }
body.au-page .au-btn-ink:hover { background: var(--im-plum); color: var(--im-sand); }
body.au-page .au-btn-ink:hover svg { transform: translateX(3px); }
body.au-page .au-btn-line { background: transparent; color: var(--im-ink); border-color: rgba(var(--brand-navy-rgb), .22); }
body.au-page .au-btn-line:hover { border-color: rgba(var(--brand-navy-rgb), .45); }
body.au-page .au-btn:disabled, body.au-page .au-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
body.au-page .au-btn:focus-visible, .au-back:focus-visible { outline: 2px solid var(--im-terra-d); outline-offset: 3px; }

/* The message strip: an icon tile and one line of today's wording. Login's #login-error / #forgot-error and
   signup's step-level messages (showError) all use it; .is-info is the plum "under review" variant. */
.au-msgbox, body.au-login .login-error {
  display: none; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; margin: 0 0 16px;
  background: var(--im-tint-wash); border: 0; color: var(--im-ink); font-size: 14.5px; line-height: 1.5;
}
.au-msgbox.is-visible, body.au-login .login-error.is-visible { display: grid; }
.au-msgbox::before, body.au-login .login-error::before {
  content: ""; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px -10px rgba(var(--brand-plum-deepest-rgb), .35);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8452F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(180deg, #FFF4EF, #FCE6DC);
}
body.au-login .login-error.is-info { background: #F1EAF2; }
body.au-login .login-error.is-info::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A3450' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(180deg, #F8F4F9, #EBE3ED);
}

/* Floating-label fields (login and signup). The label sits in the field until it has focus or a value. */
body.au-page .fld { position: relative; margin: 0 0 14px; }
body.au-page .fld input, body.au-page .fld select {
  width: 100%; height: 58px; margin: 0; padding: 24px 16px 8px; border-radius: 14px; border: 1px solid var(--au-line-2); background: #fff;
  font: 400 16px 'Bricolage Grotesque', system-ui, sans-serif; font-variant-numeric: tabular-nums; color: var(--im-ink); outline: none; box-shadow: none;
  -webkit-appearance: none; appearance: none; transition: border-color .16s, box-shadow .16s;
}
/* FIELD SYMMETRY (lane 2, 2026-11-07): the same rule set as control-patterns.css's .mw-field — border-box, min-width 0 (never
   past the container), the date value part left-aligned at its own line height; an empty date (it is required here, so
   :invalid) shows "Select date" on the same value line instead of iOS's blank box. */
body.au-page .fld input, body.au-page .fld select { box-sizing: border-box; min-width: 0; max-width: 100%; }
body.au-page .fld input[type="date"] { display: block; text-align: left; line-height: 1.25; }
body.au-page .fld input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; min-height: 1.25em; line-height: 1.25; }
body.au-page .fld input[type="date"]::-webkit-datetime-edit { padding: 0; line-height: 1.25; }
body.au-page .fld input[type="date"]:invalid:not(:focus)::-webkit-datetime-edit { color: transparent; }
body.au-page .fld:has(> input[type="date"]:invalid:not(:focus))::after {
  content: "Select date"; position: absolute; left: 17px; right: 44px; top: 24px; bottom: 8px; display: flex; align-items: center;
  font-size: 16px; color: var(--im-muted); pointer-events: none; white-space: nowrap; overflow: hidden;
}
body.au-page .fld select {
  cursor: pointer; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E5C73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat;
}
body.au-page .fld label {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%); margin: 0;
  font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--im-muted); pointer-events: none;
  transition: top .16s, transform .16s, font-size .16s, color .16s;
}
body.au-page .fld input:focus + label, body.au-page .fld input:not(:placeholder-shown) + label, body.au-page .fld--static label, body.au-page .fld select + label {
  top: 10px; transform: none; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
body.au-page .fld input:focus, body.au-page .fld select:focus { border-color: var(--im-terra); box-shadow: 0 0 0 4px rgba(var(--brand-terracotta-tint-rgb), .25); }
body.au-page .fld input:focus + label, body.au-page .fld select:focus + label { color: var(--im-terra-d); }
body.au-page .fld .required { color: var(--im-terra-d); }

/* =====================================================  LOGIN  ===================================================== */
body.au-login .login-gate {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--im-gut);
  min-height: 100vh; min-height: 100svh; padding: var(--im-gut); background: var(--im-sand); overflow: visible;
}
.au-figpanel {
  border-radius: var(--im-r); display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(32px, 4vw, 56px); color: var(--im-sand); min-height: 0;
}
.au-figpanel .au-ringbg { position: absolute; right: -180px; bottom: -200px; width: 600px; height: 600px; opacity: .08; color: var(--im-sand); pointer-events: none; z-index: -1; }
.au-figpanel .au-ringbg svg { width: 100%; height: 100%; animation: au-spin 120s linear infinite; }
@keyframes au-spin { to { transform: rotate(360deg); } }
.au-figpanel .au-logo { color: var(--im-sand); position: relative; z-index: 2; align-self: flex-start; }
.au-copy { position: relative; z-index: 2; max-width: 520px; }
.au-copy h1 { margin: 0; color: var(--im-tint); font-weight: 300; letter-spacing: -.025em; line-height: 1.04; font-size: clamp(34px, 3.8vw, 54px); max-width: 15ch; }
.au-copy h1 em { font-style: normal; color: var(--im-sand); }
.au-copy .gate-sub { margin: 18px 0 0; font-size: 16px; line-height: 1.65; color: rgba(var(--brand-cream-rgb), .86); max-width: 40ch; }
/* three glossy tiles fanned like cards on a desk (decorative) */
.au-deck { position: relative; aspect-ratio: 520 / 215; margin: 30px 0 26px; max-width: 520px; }
.au-tile {
  position: absolute; width: 36%; aspect-ratio: 1.2; border-radius: 20px; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.au-tile b { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
/* ICON TILES A (Q2-7 a, 2026-11-02): the sign-in panel's tiles are the shared .im-tile (dark on the teal and terracotta glass cards, plum on the sand one) */
}
.au-tile.t1 { left: 0; top: 10%; transform: rotate(-5deg); z-index: 1; }
.au-tile.t2 { left: 32%; top: 0; z-index: 3; }
.au-tile.t3 { left: 64%; top: 10%; transform: rotate(5deg); z-index: 2; }
.au-tile.t3 { align-items: flex-end; text-align: right; }   /* its left edge sits under the middle tile */
.au-deck:hover .t1 { transform: rotate(-8deg) translate(-8px, -4px); }
.au-deck:hover .t3 { transform: rotate(8deg) translate(8px, -4px); }
.au-deck:hover .t2 { transform: translateY(-8px); }

body.au-login .gate-pane { display: flex; justify-content: center; padding: 28px clamp(16px, 4vw, 64px); background: none; color: var(--im-ink); }
.au-pcol { width: 100%; max-width: 420px; display: flex; flex-direction: column; }
body.au-login .gate-back { align-self: flex-start; margin: 0; }
body.au-login .gate-pane .login-card { width: 100%; margin: auto 0; padding: 48px 0; background: none; border: 0; box-shadow: none; }
body.au-login .login-title { margin: 0; color: var(--im-ink); font-size: clamp(30px, 3.2vw, 44px); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; }
body.au-login .login-lead { margin: 10px 0 30px; font-size: 16px; line-height: 1.65; color: var(--im-muted); }
body.au-login .fld input { padding-left: 58px; }
body.au-login .fld label { left: 58px; }
body.au-login .fld .au-itile { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); pointer-events: none; }
body.au-login .gate-row { display: flex; justify-content: flex-end; margin: 2px 0 22px; }
body.au-login .gate-row a, body.au-login .gate-alt a {
  color: var(--im-ink); font-weight: 500; font-size: 14.5px; text-decoration: underline; text-decoration-color: rgba(var(--brand-navy-rgb), .3); text-underline-offset: 3px;
}
body.au-login .gate-row a:hover, body.au-login .gate-alt a:hover { color: var(--im-terra-d); text-decoration-color: currentColor; }
body.au-login .gate-btn {
  width: 100%; height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--im-plum-dd); color: var(--im-sand); font: 600 14.5px 'Bricolage Grotesque', system-ui, sans-serif; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 30px -18px rgba(var(--brand-plum-deepest-rgb), .7); transition: background .2s;
}
body.au-login .gate-btn:hover { background: var(--im-plum); }
body.au-login .gate-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
body.au-login .gate-btn:hover svg { transform: translateX(3px); }
body.au-login .gate-btn:disabled { opacity: .7; cursor: default; }
body.au-login .gate-btn:focus-visible { outline: 2px solid var(--im-terra-d); outline-offset: 3px; }
body.au-login .gate-alt { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--au-line); text-align: center; font-size: 14.5px; color: var(--im-muted); }
body.au-login .gate-alt a { font-weight: 600; }
body.au-login .forgot-step { display: none; }
body.au-login .forgot-step.is-active { display: block; animation: au-fadeup .3s ease; }
@keyframes au-fadeup { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body.au-login .forgot-step .au-big { margin-bottom: 20px; }
body.au-login .gate-linkrow { margin: 18px 0 0; }
body.au-login #btn-send-reset { margin-top: 8px; }

/* ---- the loading screen: a plum curtain over a terracotta curtain; the portal underneath ---- */
body.au-login .loading-screen {
  position: fixed; inset: 0; z-index: 999; display: none; overflow: hidden; isolation: isolate;
  background: var(--im-sand); color: var(--im-sand); text-align: left; align-items: stretch; justify-content: stretch;
}
body.au-login .loading-screen.is-active { display: block; animation: au-show .2s .2s both; }
/* HOTFIX (7 Nov): the screen paints past its edges, so the strips under the browser bars take its colour too (iOS Safari) */
body.au-login .loading-screen.is-active { box-shadow: 0 0 0 50vh var(--im-plum-dd); }   /* the curtain's plum past every edge */
/* the screen fades in after a beat, so a sign-in that is refused at once (a wrong password) never flashes it */
@keyframes au-show { from { opacity: 0; } to { opacity: 1; } }
.au-under { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--im-plum); opacity: .08; }
.au-under svg { width: min(60vh, 520px); height: min(60vh, 520px); animation: au-spin 120s linear infinite; }
.au-curtain { position: absolute; inset: 0; transform: translateY(0); transition: transform 1.05s cubic-bezier(.76, 0, .24, 1); }
.au-curtain--terra { background: var(--im-terra); z-index: 2; transition-delay: .1s; }
.au-curtain--plum {
  background: var(--im-plum-dd); z-index: 3; color: var(--im-sand); display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 3.2vw, 44px) clamp(24px, 4vw, 56px); transition-delay: 0s;
}
.au-curtain--plum > * { position: relative; z-index: 1; }
.au-curtain--plum > .au-orb { position: absolute; z-index: 0; }
body.au-login .loading-screen.is-out .au-curtain { transform: translateY(-101%); }
.au-orb { border-radius: 50%; filter: blur(80px); pointer-events: none; }
.au-orb--a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -10vw; top: -12vw; background: radial-gradient(circle, rgba(var(--brand-terracotta-rgb), .55), rgba(var(--brand-terracotta-rgb), 0) 68%); animation: au-oa 28s ease-in-out infinite alternate; }
.au-orb--b { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: -8vw; bottom: -10vw; background: radial-gradient(circle, rgba(var(--brand-teal-bright-rgb), .45), rgba(var(--brand-teal-bright-rgb), 0) 68%); animation: au-ob 32s ease-in-out infinite alternate; }
@keyframes au-oa { to { transform: translate(-60px, 70px); } }
@keyframes au-ob { to { transform: translate(70px, -50px); } }
.au-ltop { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.au-ltop .au-logo { color: var(--im-sand); }
.au-glass2 {
  background: linear-gradient(180deg, rgba(var(--brand-cream-rgb), .13), rgba(var(--brand-cream-rgb), .06)); border: 1px solid rgba(var(--brand-cream-rgb), .22);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 20px 40px -30px rgba(0, 0, 0, .6);
}
body.au-login .loading-sub {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 999px; min-height: 0;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--im-sand);
}
body.au-login .loading-sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--im-tint); box-shadow: 0 0 10px var(--im-tint); flex-shrink: 0; }
.au-lmid { display: flex; align-items: center; }
body.au-login .loading-text { margin: 0; font-size: clamp(44px, 8vw, 118px); font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--im-tint); max-width: 12ch; }
.au-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.au-w i { display: inline-block; font-style: normal; transform: translateY(110%); }
body.au-login .loading-screen.is-active .au-w i { animation: au-rise 1s cubic-bezier(.2, .8, .2, 1) forwards; }
body.au-login .loading-screen.is-active .au-w:nth-child(2) i { animation-delay: .1s; }
body.au-login .loading-screen.is-active .au-w:nth-child(3) i { animation-delay: .2s; }
@keyframes au-rise { to { transform: none; } }
.au-lbot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
/* BRAND MOTION B, M2: the ring takes the place of the count (about its height) and of the floor line (im-ring.js / im-ring.css) */
.au-ringbox { width: clamp(82px, 12.8vw, 170px); aspect-ratio: 1; margin-bottom: 6px; }
.au-stages { display: grid; gap: 12px; padding: 18px 22px; border-radius: 18px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.au-stages span { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; color: rgba(var(--brand-cream-rgb), .6); transition: color .3s; }
.au-stages span::before { content: ""; height: 1px; background: currentColor; transform-origin: left; transform: scaleX(.35); transition: transform .5s; }
.au-stages span.is-done { color: #8FD9D2; }
.au-stages span.is-done::before { transform: none; }
.au-stages span.is-now { color: var(--im-sand); }
.au-stages span.is-now::before { transform: none; animation: au-pulse 1.2s ease-in-out infinite alternate; }
@keyframes au-pulse { from { transform: scaleX(.35); } to { transform: none; } }

@media (max-width: 900px) {
  body.au-login .login-gate { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 0; position: relative; }
  .au-figpanel { padding: 78px 20px 22px; justify-content: flex-start; gap: 16px; }
  .au-figpanel .au-logo { position: absolute; top: 18px; right: 20px; }
  .au-copy h1 { display: none; }
  .au-copy .gate-sub { margin-top: 0; font-size: 14.5px; max-width: none; }
  .au-deck { aspect-ratio: auto; height: 124px; margin: 0 0 14px; max-width: 400px; }
  .au-tile { width: 38%; padding: 14px; border-radius: 16px; }
  .au-figpanel .au-ringbg { width: 360px; height: 360px; right: -140px; bottom: -170px; }
  body.au-login .gate-back { position: absolute; top: calc(var(--im-gut) + 16px); left: calc(var(--im-gut) + 16px); z-index: 5; }
  body.au-login .gate-pane { padding: 0 20px 44px; }
  .au-pcol { max-width: 460px; }
  body.au-login .gate-pane .login-card { margin: 0; padding: 22px 0 0; }
}
@media (max-width: 760px) {
  .au-lbot { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .au-stages { order: -1; padding: 14px 16px; }
}
@media (max-width: 640px) {
  .au-tile b { font-size: 13.5px; }
  .au-curtain--plum { padding: 20px; }
  body.au-login .loading-text { font-size: clamp(40px, 12vw, 64px); }
  .au-ringbox { width: clamp(72px, 20vw, 102px); }
  /* the status pill is not drawn on a phone (the stage list says the same), but it stays in the
     accessibility tree: it is the role=status line that announces each real stage */
  body.au-login .loading-sub { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* =====================================================  SIGN-UP and THANK-YOU  ===================================================== */
.au-top { padding: 22px calc(var(--im-pad) + var(--im-gut)) 0; }
.au-top .au-col { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.au-top .au-logo { color: var(--im-ink); }
.au-col { max-width: 800px; margin: 0 auto; }
.au-wrap { padding: 28px calc(var(--im-pad) + var(--im-gut)) clamp(40px, 6vw, 80px); }
.au-head { margin-bottom: 22px; }
.au-head .au-h { margin: 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; color: var(--im-ink); }
.au-head .au-hsub { margin: 8px 0 0; font-size: 16px; color: var(--im-muted); }

/* the progress track: one segment per visible step (renderRail's own list), names beneath */
body.au-signup #rail-steps, .au-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-bottom: clamp(24px, 3vw, 40px); }
body.au-signup .rail-step, .au-track > span { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
body.au-signup .rail-step::before, .au-track > span::before { content: ""; height: 6px; border-radius: 999px; background: rgba(var(--brand-navy-rgb), .12); }
body.au-signup .rail-step.is-done::before, .au-track > span::before { background: var(--im-teal); }
body.au-signup .rail-step.is-now::before { background: var(--im-terra); animation: au-fillin .6s cubic-bezier(.2, .7, .2, 1) both; transform-origin: left; }
@keyframes au-fillin { from { transform: scaleX(0); } to { transform: none; } }
body.au-signup .rail-dot { display: none; }
body.au-signup .rail-lbl, .au-track b { font-size: 13px; font-weight: 400; line-height: 1.3; color: var(--im-muted); padding-right: 8px; }
body.au-signup .rail-step.is-done .rail-lbl, .au-track b { color: var(--im-teal-d); }
body.au-signup .rail-step.is-now .rail-lbl { color: var(--im-ink); font-weight: 600; }

body.au-signup .step-kicker { display: block; margin: 0 0 10px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--im-muted); }
.au-shead { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 30px; }
.au-fig { width: 128px; height: 96px; border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.au-fig svg { width: 112px; height: 76px; overflow: visible; }
.au-fig .p { fill: none; stroke: rgba(var(--brand-cream-rgb), .7); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.au-fig .s { fill: none; stroke: rgba(var(--brand-cream-rgb), .3); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-dasharray: 3 7; }
.au-fig .d { fill: var(--im-tint); filter: drop-shadow(0 0 5px var(--im-tint)); }
.au-fig .d2 { fill: var(--im-sand); filter: drop-shadow(0 0 5px rgba(var(--brand-cream-rgb), .8)); }
.au-fig .d, .au-fig .d2 { r: 8px; }
.au-fig g[transform] .d { r: 11px; }
.au-fig .core { r: 6px; }
.au-fig g[transform] .core { r: 7px; }
.au-fig .core { fill: none; stroke: rgba(var(--brand-cream-rgb), .7); stroke-width: 2.6; vector-effect: non-scaling-stroke; }
.au-fig .au-figring { color: rgba(var(--brand-cream-rgb), .7); }
.au-fig .p.au-figtick { stroke: var(--im-tint); }
.au-fig.au-gl-teal .p { stroke: rgba(255, 255, 255, .8); }
.au-fig .tk { fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: au-draw .5s .35s ease forwards; }
@keyframes au-draw { to { stroke-dashoffset: 0; } }
body.au-page .au-shead h1, body.au-signup .step-title { margin: 0; font-size: clamp(26px, 2.6vw, 32px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; color: var(--im-ink); }
body.au-page .au-shead .step-lead, body.au-page .au-shead .ty-lead { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--im-muted); max-width: 60ch; }

body.au-signup .signup-step { display: none; }
body.au-signup .signup-step.is-active { display: block; }
body.au-signup .signup-shell.is-refused .signup-step, body.au-signup .signup-shell.is-refused #step-label, body.au-signup .signup-shell.is-refused #rail-steps { display: none !important; }

body.au-signup .form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
body.au-signup .form-group { margin: 0 0 24px; }
body.au-signup .form-group > label { display: block; margin: 0 0 12px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--im-ink); }
body.au-signup .field-error { display: none; margin: 6px 0 0 16px; font-size: 13px; color: var(--im-terra-d); }
body.au-signup .field-error.is-visible { display: block; }
body.au-signup .fld .input-error, body.au-signup .input-error { border-color: var(--im-terra) !important; box-shadow: 0 0 0 4px rgba(var(--brand-terracotta-tint-rgb), .22) !important; }
body.au-signup .fld input.is-invited[readonly] { background: #F5F1E9; color: #5A505D; cursor: not-allowed; }
body.au-signup .password-strength { display: flex; align-items: center; gap: 12px; margin: -4px 0 16px 2px; font-size: 13px; color: var(--im-muted); }
body.au-signup .strength-bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(var(--brand-navy-rgb), .12); overflow: hidden; }
body.au-signup .strength-fill { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .3s, background .3s; }
/* the strength word is set inline by the page script to the bar's colour; the colour is overridden here
   so the word stays readable on sand (the bar keeps its colour) */
body.au-signup .strength-text { color: var(--im-ink) !important; font-weight: 500; }

/* account types: the homepage marks, as choice cards */
body.au-signup .account-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.au-signup .account-type-card {
  --hue: var(--im-terra); --hue-d: var(--im-terra-d); --wash: var(--im-tint-wash);
  position: relative; display: block; cursor: pointer; margin: 0; padding: 16px 16px 20px; border-radius: var(--im-r);
  background: var(--im-card); border: 1px solid var(--au-line); transition: border-color .2s, box-shadow .2s, transform .25s;
}
body.au-signup .account-type-card[data-value="joint"] { --hue: var(--im-teal); --hue-d: var(--im-teal-d); --wash: var(--im-teal-wash); }
body.au-signup .account-type-card[data-value="entity"] { --hue: var(--im-plum); --hue-d: var(--im-plum-dd); --wash: var(--im-plum-wash); }
body.au-signup .account-type-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
body.au-signup .account-type-card:hover { border-color: rgba(var(--brand-navy-rgb), .35); transform: translateY(-3px); }
body.au-signup .account-type-card.is-selected { border-color: var(--im-terra); box-shadow: 0 0 0 4px rgba(var(--brand-terracotta-tint-rgb), .25), 0 24px 40px -30px rgba(var(--brand-plum-deepest-rgb), .45); }
body.au-signup .account-type-card:has(input:focus-visible) { outline: 2px solid var(--im-terra-d); outline-offset: 3px; }
.au-mark {
  height: 150px; border-radius: 16px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--im-card), var(--wash)); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(var(--brand-navy-rgb), .06);
}
.au-mark svg { width: 220px; height: 150px; max-width: 100%; overflow: visible; }
.au-mark .ih-path { fill: none; stroke: var(--hue-d); stroke-width: 1.4; opacity: .55; }
.au-mark .ih-path--soft { opacity: .22; stroke-dasharray: 2 5; }
.au-mark .ih-dot { fill: var(--hue); filter: drop-shadow(0 0 6px var(--hue)); }
.au-mark .ih-dot--t { fill: var(--im-terra); filter: drop-shadow(0 0 6px var(--im-terra)); }
.au-mark .ih-core { fill: none; stroke: var(--hue-d); stroke-width: 1.4; }
body.au-signup .account-type-card h3 { margin: 16px 0 4px; padding: 0 6px; font-size: 21px; font-weight: 400; letter-spacing: -.015em; line-height: 1.25; color: var(--im-ink); }
body.au-signup .account-type-card p { margin: 0; padding: 0 6px; font-size: 14.5px; line-height: 1.5; color: var(--im-muted); }
.au-chk {
  position: absolute; top: 26px; right: 26px; z-index: 2; width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: var(--im-card); border: 1.5px solid rgba(var(--brand-navy-rgb), .2); color: #fff;
}
.au-chk svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
body.au-signup .account-type-card.is-selected .au-chk { background: var(--im-terra-d); border-color: var(--im-terra-d); }
body.au-signup .account-type-card.is-selected .au-chk svg { opacity: 1; }

/* choice pills (financial profile and the risk questionnaire) */
body.au-signup .choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
body.au-signup .choice-card {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(var(--brand-navy-rgb), .16); background: #fff; font-size: 14.5px; font-weight: 500; color: var(--im-ink); letter-spacing: 0;
  transition: background .2s, color .2s, border-color .2s;
}
body.au-signup .choice-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
body.au-signup .choice-card:hover { border-color: rgba(var(--brand-navy-rgb), .35); }
body.au-signup .choice-card:has(input:checked) { background: var(--im-plum-dd); color: var(--im-sand); border-color: var(--im-plum-dd); }
body.au-signup .choice-card:has(input:focus-visible) { outline: 2px solid var(--im-terra-d); outline-offset: 2px; }

/* uploads: the shared accessible control (upload-control.js), drawn as the mockup's box */
body.au-signup .mw-upload {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; margin: 0 0 8px; padding: 18px;
  border: 1.5px dashed rgba(var(--brand-navy-rgb), .24); border-radius: 18px; background: #fff; transition: border-color .2s, background .2s;
}
body.au-signup .mw-upload:hover { border-color: var(--im-terra); }
body.au-signup .mw-upload .mw-upload-face { /* small-button-exempt: floored to 44px below lg at the end of this file (OPEN ROWS 1 R2) */ grid-column: 1 / -1; text-align: left; color: var(--im-ink); display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; cursor: pointer; margin: 0; padding: 0; border: 0; background: none; min-height: 0; }
body.au-signup .mw-upload-face > svg {
  box-sizing: border-box; width: 40px; height: 40px; padding: 10px; border-radius: 12px; stroke-width: 1.8;
  background: linear-gradient(180deg, #F8F4F9, #EBE3ED); color: var(--im-plum); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px -10px rgba(var(--brand-plum-deepest-rgb), .35);
}
body.au-signup .mw-upload-face > span:not(.au-pick) { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--im-ink); }
.au-pick {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  border: 1.5px solid rgba(var(--brand-navy-rgb), .22); font-size: 14.5px; font-weight: 600; color: var(--im-ink);
}
body.au-signup .mw-upload-face:hover .au-pick { border-color: rgba(var(--brand-navy-rgb), .45); }
body.au-signup .mw-upload-input:focus-visible + .mw-upload-face .au-pick { outline: 2px solid var(--im-terra-d); outline-offset: 2px; }
body.au-signup .mw-upload-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-left: 54px; }
body.au-signup .mw-upload-hint, body.au-signup .mw-upload-state { margin: 0; font-size: 13px; color: var(--im-muted); }
body.au-signup .mw-upload-error { grid-column: 1 / -1; margin: 0; padding-left: 54px; font-size: 13px; color: var(--im-terra-d); }
body.au-signup .mw-upload .mw-upload-clear[hidden] { display: none; }
body.au-signup .mw-upload.has-file { border-style: solid; border-color: rgba(var(--brand-teal-bright-rgb), .5); background: var(--im-teal-wash); }
body.au-signup .mw-upload.has-file .mw-upload-face > svg { background: linear-gradient(180deg, #E8F4F2, var(--im-teal-wash)); color: var(--im-teal-d); }
body.au-signup .mw-upload.has-file .mw-upload-state { color: var(--im-ink); font-weight: 600; }
body.au-signup .mw-upload-clear {
  grid-column: 1 / -1; justify-self: start; width: auto; margin-left: 54px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--im-terra-d); text-decoration: underline; text-underline-offset: 3px;
}
body.au-signup .mw-upload-clear svg { width: 14px; height: 14px; stroke-width: 2.2; }
body.au-signup .form-note { font-size: 14.5px; color: var(--im-muted); margin: 4px 0 0; }

/* review + declarations (native checkboxes, drawn) */
body.au-signup .review-box { padding: 22px 24px; border-radius: 20px; background: var(--im-card); border: 1px solid var(--au-line); }
body.au-signup .review-box > p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--im-ink); }
body.au-signup .consent-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; margin: 0; border-top: 1px solid var(--au-line); font-size: 16px; line-height: 1.5; color: var(--im-ink); cursor: pointer; }
body.au-signup .consent-check input {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin: 1px 0 0; border-radius: 8px; cursor: pointer;
  border: 1.5px solid rgba(var(--brand-navy-rgb), .3); background: #fff; transition: background .2s, border-color .2s;
}
body.au-signup .consent-check input:checked {
  border-color: var(--im-terra-d);
  background: var(--im-terra-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
body.au-signup .consent-check input:focus-visible { outline: 2px solid var(--im-terra-d); outline-offset: 2px; }
body.au-signup .consent-check a { color: var(--im-terra-d); text-decoration: underline; text-underline-offset: 3px; }

/* actions */
body.au-signup .step-actions, .au-acts { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--au-line); }
body.au-signup .signup-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  font: 600 14.5px 'Bricolage Grotesque', system-ui, sans-serif; font-variant-numeric: tabular-nums; border: 1.5px solid transparent; transition: background .2s, border-color .2s;
}
body.au-signup .signup-btn svg { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .25s; }
body.au-signup .signup-btn-next { background: var(--im-plum-dd); color: var(--im-sand); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 30px -18px rgba(var(--brand-plum-deepest-rgb), .7); }
body.au-signup .signup-btn-next:hover:not(:disabled) { background: var(--im-plum); }
body.au-signup .signup-btn-next:hover:not(:disabled) svg { transform: translateX(3px); }
body.au-signup .signup-btn-back { background: transparent; color: var(--im-ink); border-color: rgba(var(--brand-navy-rgb), .22); }
body.au-signup .signup-btn-back:hover { border-color: rgba(var(--brand-navy-rgb), .45); }
body.au-signup .signup-btn:disabled { opacity: .45; cursor: not-allowed; }
/* A disabled Continue (step 1, before an account type is chosen) is readable but plainly unavailable: sand fill,
   muted plum label (5.25:1 on the sand panel), a light border, no lift — never a dimmed plum button (2.7:1).
   The in-flight submit (.is-loading) keeps its own look. */
body.au-signup .signup-btn-next:disabled:not(.is-loading) {
  opacity: 1; background: var(--im-sand-2); color: var(--im-muted); border-color: rgba(var(--brand-navy-rgb), .16); box-shadow: none;
}
body.au-signup .signup-btn:focus-visible { outline: 2px solid var(--im-terra-d); outline-offset: 3px; }
body.au-signup .signup-btn.is-loading { opacity: .8; cursor: progress; }

.au-enc { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--au-line); font-size: 13px; line-height: 1.5; color: var(--im-muted); }
.au-enc p { margin: 0; max-width: 44ch; }

body.au-signup .invite-banner { display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; margin: 0 0 18px; border-radius: 14px; background: var(--im-teal-wash); color: var(--im-ink); }
body.au-signup .invite-banner[hidden], body.au-signup .invite-refused[hidden] { display: none; }
body.au-signup .invite-banner svg { flex-shrink: 0; margin-top: 2px; }
body.au-signup .invite-banner p { margin: 0; font-size: 14.5px; line-height: 1.6; }
body.au-signup .invite-refused { margin: 0 0 18px; }
body.au-signup .invite-refused .step-title { margin-bottom: 8px; }
body.au-signup .invite-refused .invite-refused-alt { font-size: 14.5px; color: var(--im-muted); line-height: 1.6; margin: 8px 0 0; }
body.au-signup .invite-refused a { color: var(--im-terra-d); font-weight: 600; }

/* thank-you */
body.au-thanks .ty-kicker { display: block; margin: 0 0 6px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--im-teal-d); }
.au-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.au-ncard { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px 24px; border-radius: 20px; background: var(--im-card); border: 1px solid var(--au-line); }
.au-ncard h3 { margin: 9px 0 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--im-ink); }
.au-ncard p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--im-muted); }
.au-note { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 14px; padding: 16px 20px; border-radius: 16px; background: var(--im-teal-wash); font-size: 14.5px; line-height: 1.55; color: var(--im-ink); }

@media (max-width: 1000px) {
  body.au-signup .rail-lbl, .au-track b { display: none; }
  body.au-signup #rail-steps, .au-track { margin-bottom: 22px; }
  body.au-signup .account-type-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.au-signup .account-type-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .au-top { padding: 14px 20px 0; }
  .au-wrap { padding: 22px 20px 40px; }
  .au-top .au-back span { display: none; }
  .au-top .au-back { padding: 0 7px; }
  .au-head { margin-bottom: 16px; }
  .au-shead { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
  .au-fig { width: 96px; height: 72px; border-radius: 18px; }
  .au-fig svg { width: 84px; height: 56px; }
  body.au-signup .account-type-grid { grid-template-columns: minmax(0, 1fr); }
  body.au-signup .account-type-card:last-child { grid-column: auto; }
  .au-mark { height: 120px; }
  body.au-signup .form-row { grid-template-columns: minmax(0, 1fr); }
  body.au-signup .mw-upload .mw-upload-face { grid-template-columns: 40px minmax(0, 1fr); }
  body.au-signup .mw-upload-face .au-pick { grid-column: 2; justify-self: start; }
  body.au-signup .step-actions, .au-acts { flex-direction: column-reverse; align-items: stretch; }
  body.au-signup .step-actions > div:empty { display: none; }
  body.au-signup .signup-btn, .au-acts .au-btn { width: 100%; }
  .au-next { grid-template-columns: minmax(0, 1fr); }
}

/* reduced motion: nothing animates, and every screen still reads as finished (the loading screen keeps its
   curtain down and shows the real stage and count; the title is shown, not risen) */
@media (prefers-reduced-motion: reduce) {
  body.au-login .loading-screen.is-active, .au-figpanel .au-ringbg svg, .au-under svg, .au-orb, .au-stages span.is-now::before,
  body.au-signup .rail-step.is-now::before, .au-fig .tk, body.au-login .forgot-step.is-active { animation: none !important; }
  body.au-login .loading-screen.is-active .au-w i, .au-w i { animation: none !important; transform: none !important; }
  .au-curtain, .au-tile, .au-back i, body.au-login .gate-btn svg { transition: none !important; }
  .au-fig .tk { stroke-dashoffset: 0; }
  .au-fig animateMotion, .au-mark animateMotion { display: none; }
}
/* OPEN ROWS 1 R2 (2026-10-23): the sign-up upload face (a label over the hidden file input) had min-height 0 and
   padding 0, so its tap box was the 40px icon row. At least 44px below lg. */
@media (max-width: 1023.98px) { body.au-signup .mw-upload .mw-upload-face { min-height: 44px; } }

/* TAX RESIDENCE SIGNUP B (2026-11-03, signup_tax_v1.html): "Where do you pay tax?" — two pill choices, the revealed
   country list, the group error and the hint. */
body.au-signup .au-taxq { margin: 6px 0 18px; }
body.au-signup .au-taxq[hidden] { display: none; }
body.au-signup .au-taxl { font-size: 14px; font-weight: 600; color: var(--im-ink); margin: 0 0 8px; }
body.au-signup .au-taxch { display: flex; flex-wrap: wrap; gap: 8px; }
body.au-signup .au-ch { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(var(--brand-navy-rgb), .16); background: #FFFFFF; font-size: 14.5px; font-weight: 500; color: var(--im-ink); cursor: pointer; position: relative; transition: background .2s, color .2s, border-color .2s; }
body.au-signup .au-ch input { position: absolute; opacity: 0; pointer-events: none; }
body.au-signup .au-ch:hover { border-color: rgba(var(--brand-navy-rgb), .35); }
body.au-signup .au-ch:focus-within { outline: 2.5px solid var(--brand-navy); outline-offset: 3px; }
body.au-signup .au-ch.is-on { background: var(--brand-plum-deepest); color: #F3E9DA; border-color: var(--brand-plum-deepest); }
body.au-signup .au-taxq.is-bad .au-ch { border-color: var(--im-terra); }
body.au-signup .au-taxc { margin-top: 12px; }
body.au-signup .au-taxc[hidden] { display: none; }
body.au-signup .au-taxerr { font-size: 13px; color: var(--im-terra-d); margin: 6px 0 0 16px; }
body.au-signup .au-taxerr:empty { display: none; }
body.au-signup .au-taxh { font-size: 13px; line-height: 1.5; color: var(--brand-muted); margin: 8px 0 0; }
@media (prefers-reduced-motion: reduce) { body.au-signup .au-ch { transition: none; } }
/* FIX BLOCK (notch, 7 Nov): while the loading screen is up the page ground under the bars is its plum (login-gate.js sets
   html.mw-loading); the screen itself already paints past every edge (its box-shadow) */
html.mw-loading { background-color: var(--brand-plum-deepest); }

/* SAFE AREA (lane 2, 7 Nov): the sign-in top bar keeps below the status bar / notch (0 = unchanged). */
body.au-page .au-top { padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
@media (max-width: 640px) { body.au-page .au-top { padding-top: calc(14px + env(safe-area-inset-top, 0px)); } }
