/* Login and registration (2026-10-23), prefix au-. One stylesheet for every entry page; the colours are the site's own tokens
   (primary #0056d2, dark #003bb5, teal #00a8a8, card gold) so one edit here restyles them all. Design: task.md Session 2026-10-23. */
:root {
    --au-blue: #0056d2;
    --au-blue-d: #003bb5;
    --au-navy: #00276f;
    --au-teal: #00a8a8;
    --au-ice: #7fe3ec;
    --au-gold: #f7d070;
    --au-amber: #fbbf24;
    --au-ink: #0f172a;
    --au-muted: #475569;
    --au-hint: #566377;
    --au-edge: #8391a7;
    --au-line: #dbe3ee;
    --au-bg: #f8fafc;
    --au-danger: #b42318;
    --au-ok: #047857;
    --au-ease: cubic-bezier(.2, .8, .2, 1);
    --au-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.au, .au *, .au *::before, .au *::after { box-sizing: border-box; }
.au { margin: 0; font-family: var(--au-font); color: var(--au-ink); background: var(--au-bg); -webkit-font-smoothing: antialiased; }
.au a { color: var(--au-blue); }
.au a:hover { color: var(--au-blue-d); }
.au :focus-visible { outline: 3px solid rgba(0, 86, 210, .55); outline-offset: 2px; }
.au-root { min-height: 100vh; display: flex; flex-wrap: wrap; }

/* ── Stage (left) ── */
.au-stage { position: relative; overflow: hidden; flex: 1 1 600px; min-height: 740px; display: flex; flex-direction: column; padding: 44px 56px 0; color: #fff; background: linear-gradient(145deg, var(--au-blue-d) 0%, var(--au-blue) 58%, #0079c4 118%); }
.au-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 28px 28px; animation: auDrift 40s linear infinite; }
.au-disc { position: absolute; left: 50%; top: 54%; width: 540px; height: 540px; margin: -270px 0 0 -270px; border-radius: 50%; background: rgba(0, 39, 111, .38); animation: auBreathe 6s ease-in-out infinite; }
.au-brand { position: relative; display: inline-flex; align-self: flex-start; }
.au-brand img { width: 128px; height: auto; display: block; filter: drop-shadow(0 6px 14px rgba(0, 20, 70, .4)); }
.au-hero { position: relative; margin-top: 28px; max-width: 580px; }
.au-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px 6px 10px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(255, 255, 255, .09); font-size: 13px; font-weight: 600; color: #e6f0ff; }
.au-h1 { margin: 0; font-size: 38px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.au-h1 span { display: block; }
.au-h1 .au-l2 { color: var(--au-ice); }
.au-lead { margin: 16px 0 0; max-width: 470px; font-size: 17px; line-height: 1.55; color: #dbeafe; }
.au-tag { margin: 12px 0 0; font-size: 18px; font-weight: 700; color: var(--au-gold); letter-spacing: .01em; }

.au-orbit-wrap { position: relative; width: 460px; height: 440px; margin: 4px auto 0; flex: none; }
.au-ring { position: absolute; left: 50%; top: 50%; width: 390px; height: 390px; margin: -195px 0 0 -195px; border: 1.5px dashed rgba(255, 255, 255, .3); border-radius: 50%; animation: auOrbit 80s linear infinite; }
.au-ring--2 { width: 290px; height: 290px; margin: -145px 0 0 -145px; border-color: rgba(127, 227, 236, .32); animation-duration: 55s; animation-direction: reverse; }
.au-orbit { position: absolute; inset: 0; animation: auOrbit 80s linear infinite; }
.au-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(-195px); }
.au-chip { position: absolute; left: -82px; top: -17px; width: 164px; height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 8px; border-radius: 999px; background: #fff; color: var(--au-ink); font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px rgba(0, 20, 70, .35); animation: auCounter 80s linear infinite; }
.au-chip svg { flex: none; color: var(--au-blue); }
.au-chip i { font-style: normal; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.au-chip b { margin-left: auto; color: var(--au-ok); font-weight: 800; }
.au-cardwrap { position: absolute; left: 50%; top: 50%; width: 224px; margin: -55px 0 0 -112px; perspective: 1000px; }
.au-floatw { animation: auFloat 7s ease-in-out infinite; transform-style: preserve-3d; }
.au-card { position: relative; width: 100%; aspect-ratio: 1100 / 544; container-type: inline-size; transform-style: preserve-3d; transition: transform .9s var(--au-ease); }
.au-card.is-flipped { transform: rotateY(180deg); }
.au-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.au-face img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 20, 70, .55)); pointer-events: none; }
.au-face--back { transform: rotateY(180deg); }
.au-card__name { position: absolute; top: 55.5%; left: 4.5%; max-width: 50%; font-family: 'Josefin Sans', var(--au-font); font-size: 3cqw; font-weight: 700; letter-spacing: .06em; line-height: 1.1; text-transform: uppercase; color: var(--au-gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 10px rgba(247, 208, 112, .4); }
.au-card__name.is-empty { opacity: .6; }
.au-shine { position: absolute; inset: 0; overflow: hidden; border-radius: 6%; pointer-events: none; }
.au-shine::after { content: ""; position: absolute; top: -20%; left: -60%; width: 36%; height: 140%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .34), rgba(255, 255, 255, 0)); transform: skewX(-14deg); animation: auShine 5.5s ease-in-out infinite; }
.au-pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--au-ice); border: 3px solid rgba(127, 227, 236, .35); background-clip: padding-box; }
.au-pin::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--au-ice); animation: auPing 2.6s ease-out infinite; }
.au-trust { position: relative; z-index: 2; margin: auto 0 0; padding: 0 0 26px; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.au-trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #eaf2ff; }
.au-trust svg { color: var(--au-ice); flex: none; }
.au-waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 170px; overflow: hidden; pointer-events: none; }
.au-waves svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.au-w1 { animation: auWave 22s linear infinite; }
.au-w2 { animation: auWave 15s linear infinite reverse; }
.au-w3 { animation: auWave 28s linear infinite; }

/* Registration stage: the checklist under the card */
.au-stagebody { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding-bottom: 150px; }
.au-stagebody .au-cardwrap { position: relative; left: auto; top: auto; margin: 0; width: 330px; }
.au-checks { position: relative; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; width: 330px; }
.au-checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #cfe0fb; transition: color .3s; }
.au-checks li.is-on { color: #fff; font-weight: 700; }
.au-dot { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.au-dot svg { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s ease-out .1s; }
.au-checks li.is-done .au-dot { background: var(--au-ice); border-color: var(--au-ice); }
.au-checks li.is-done .au-dot svg { stroke-dashoffset: 0; }
.au-checks li.is-on:not(.is-done) .au-dot { border-color: var(--au-ice); animation: auPulse 1.8s ease-out infinite; }

/* ── Form side (right) ── */
.au-side { flex: 1 1 560px; min-height: 740px; display: flex; flex-direction: column; padding: 28px 48px 36px; background: var(--au-bg); }
.au-top { display: flex; justify-content: flex-end; align-items: center; gap: 12px; font-size: 14px; color: var(--au-muted); }
.au-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 1.5px solid #b6c6e0; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--au-blue); text-decoration: none; transition: background .2s, border-color .2s; }
.au-pill:hover { background: #eaf2ff; border-color: var(--au-blue); color: var(--au-blue-d); }
.au-pill svg { transition: transform .2s; }
.au-pill:hover svg { transform: translateX(3px); }
.au-formwrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px 0; }
.au-form { width: 100%; max-width: 440px; }
.au-form--wide { max-width: 500px; }
.au-in { opacity: 0; transform: translateY(16px); animation: auUp .65s var(--au-ease) forwards; }
.au-welcome { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--au-blue); }
.au-welcome i { width: 28px; height: 28px; border-radius: 50%; background: #dbe8ff; display: grid; place-items: center; }
.au-h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.au-sub { margin: 0 0 24px; font-size: 16px; line-height: 1.5; color: var(--au-muted); }
.au-fg { margin-bottom: 18px; }
.au-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--au-ink); }
.au-label a { font-size: 13.5px; font-weight: 600; }
.au-opt { font-size: 12.5px; font-weight: 500; color: var(--au-hint); }
.au-field { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 16px; background: #fff; border: 1.5px solid var(--au-edge); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.au-field:hover { border-color: #5d6f8c; }
.au-field:focus-within { border-color: var(--au-blue); box-shadow: 0 0 0 4px rgba(0, 86, 210, .18); }
.au-field.is-err, .au-fg.is-err .au-field { border-color: var(--au-danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .10); }
.au-field.is-ok { border-color: var(--au-ok); }
.au-field > svg { flex: none; color: var(--au-hint); transition: color .2s; }
.au-field:focus-within > svg { color: var(--au-blue); }
.au-pre { flex: none; padding-right: 10px; border-right: 1.5px solid var(--au-line); font-size: 15px; font-weight: 700; color: var(--au-ink); }
.au-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 16px var(--au-font); color: var(--au-ink); }
.au-input::placeholder { color: var(--au-hint); opacity: 1; }
select.au-input { appearance: none; -webkit-appearance: none; cursor: pointer; }
.au-eye { flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--au-hint); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.au-eye:hover { background: #eaf2ff; color: var(--au-blue); }
.au-eye .au-eye-off { display: none; }
.au-eye[aria-pressed="true"] .au-eye-on { display: none; }
.au-eye[aria-pressed="true"] .au-eye-off { display: block; }
.au-err { display: flex; align-items: flex-start; gap: 7px; margin: 8px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--au-danger); animation: auUp .3s ease-out; }
.au-err::before { content: "!"; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--au-danger); color: #fff; font-size: 11px; font-weight: 800; line-height: 16px; text-align: center; }
.au-err[hidden] { display: none; }
.au-hintp { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--au-hint); }
.au-alert { margin: 0 0 20px; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.au-alert--err { background: #fef3f2; border: 1.5px solid #f4b4ad; color: #912018; }
.au-alert--ok { background: #ecfdf3; border: 1.5px solid #9fe3bf; color: #065f46; }
.au-alert ul { margin: 0; padding-left: 18px; }
.au-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* account choice (login) and role cards (registration) */
.au-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.au-ac, .au-role { position: relative; display: block; cursor: pointer; }
.au-ac input, .au-role input { position: absolute; inset: 0; opacity: 0; }
.au-acb { display: flex; flex-direction: column; gap: 4px; min-height: 88px; padding: 14px; border: 1.5px solid var(--au-edge); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, background .2s; }
.au-ac:hover .au-acb { border-color: #5d6f8c; }
.au-ac input:checked + .au-acb { border-color: var(--au-blue); background: #eef4ff; box-shadow: 0 0 0 4px rgba(0, 86, 210, .14); }
.au-ac input:focus-visible + .au-acb, .au-role input:focus-visible + .au-rb { outline: 3px solid rgba(0, 86, 210, .55); outline-offset: 2px; }
.au-acb b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; }
.au-acb b svg { color: var(--au-blue); }
.au-acb small { font-size: 12.5px; line-height: 1.4; color: var(--au-muted); }
.au-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.au-rb { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 230px; padding: 20px; border: 1.5px solid var(--au-edge); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s, background .2s, transform .2s; }
.au-role:hover .au-rb { border-color: #5d6f8c; transform: translateY(-3px); }
.au-role input:checked + .au-rb { border-color: var(--au-blue); background: #eef4ff; box-shadow: 0 0 0 4px rgba(0, 86, 210, .14); }
.au-ri { width: 48px; height: 48px; border-radius: 14px; background: #dbe8ff; color: var(--au-blue); display: grid; place-items: center; transition: background .2s, color .2s, transform .3s; }
.au-role input:checked + .au-rb .au-ri { background: var(--au-blue); color: #fff; transform: rotate(-6deg) scale(1.06); }
.au-rb b { font-size: 17px; font-weight: 800; }
.au-rb ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 1.35; color: var(--au-muted); }
.au-rb li { display: flex; gap: 8px; align-items: flex-start; }
.au-rb li svg { flex: none; margin-top: 2px; color: var(--au-ok); }
.au-tick { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--au-blue); display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--au-ease); }
.au-role input:checked + .au-rb .au-tick { transform: scale(1); }
.au-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.au-sg { position: relative; display: block; }
.au-sg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.au-sg span { display: flex; align-items: center; justify-content: center; height: 54px; border: 1.5px solid var(--au-edge); border-radius: 14px; background: #fff; font-size: 15px; font-weight: 700; transition: all .2s; }
.au-sg:hover span { border-color: #5d6f8c; }
.au-sg input:checked + span { border-color: var(--au-blue); background: var(--au-blue); color: #fff; }
.au-sg input:focus-visible + span { outline: 3px solid rgba(0, 86, 210, .55); outline-offset: 2px; }

/* checkbox, buttons */
.au-cb { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; font-size: 14.5px; line-height: 1.45; }
.au-cb input { position: absolute; width: 24px; height: 24px; margin: 0; opacity: 0; }
.au-box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--au-edge); background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.au-box svg { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .25s ease-out .05s; }
.au-cb input:checked + .au-box { background: var(--au-blue); border-color: var(--au-blue); }
.au-cb input:checked + .au-box svg { stroke-dashoffset: 0; }
.au-cb input:focus-visible + .au-box { outline: 3px solid rgba(0, 86, 210, .55); outline-offset: 2px; }
.au-row { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 22px; }
.au-actions { display: flex; gap: 12px; margin-top: 24px; }
.au-btn { position: relative; flex: 1; height: 56px; width: 100%; border: 0; border-radius: 14px; background: var(--au-blue); color: #fff; font: 800 16px var(--au-font); display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; overflow: hidden; box-shadow: 0 10px 22px rgba(0, 86, 210, .30); transition: transform .15s, background .2s, box-shadow .2s; }
.au-btn:hover { background: var(--au-blue-d); transform: translateY(-1px); box-shadow: 0 14px 26px rgba(0, 86, 210, .36); }
.au-btn:active { transform: scale(.985); }
.au-btn svg { transition: transform .2s; }
.au-btn:hover svg { transform: translateX(4px); }
.au-btn::after { content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .26), rgba(255, 255, 255, 0)); transform: skewX(-18deg); animation: auShine 4.5s ease-in-out infinite 1.5s; }
.au-btn[disabled] { cursor: progress; background: #2f6fd6; transform: none; }
.au-btn .au-spin, .au-btn .au-busy { display: none; }
.au-btn.is-loading .au-spin, .au-btn.is-loading .au-busy { display: inline-block; }
.au-btn.is-loading .au-idle { display: none; }
.au-spin { width: 20px; height: 20px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: auSpin .7s linear infinite; }
.au-ghost { flex: none; min-width: 104px; height: 56px; padding: 0 18px; border: 1.5px solid #b6c6e0; border-radius: 14px; background: #fff; color: var(--au-blue); font: 700 15px var(--au-font); display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: background .2s, border-color .2s; }
.au-ghost:hover { background: #eaf2ff; border-color: var(--au-blue); }
.au-ghost svg { transition: transform .2s; }
.au-ghost:hover svg { transform: translateX(-3px); }
.au-foot { margin: 22px 0 0; text-align: center; font-size: 14.5px; color: var(--au-muted); }
.au-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.au-legal { margin: 0; padding-top: 14px; text-align: center; font-size: 12.5px; color: var(--au-hint); }
.au-link { border: 0; background: none; padding: 10px 0; min-height: 44px; font: 700 14px var(--au-font); color: var(--au-blue); cursor: pointer; text-decoration: underline; }
.au-shake { animation: auShake .42s; }

/* registration wizard */
.au-stepper { position: relative; display: flex; justify-content: space-between; margin: 0 0 28px; padding: 0; list-style: none; }
.au-stepper::before { content: ""; position: absolute; left: 16px; right: 16px; top: 15px; height: 3px; border-radius: 3px; background: #cdd8ea; }
.au-stepper::after { content: ""; position: absolute; left: 16px; right: 16px; top: 15px; height: 3px; border-radius: 3px; background: var(--au-blue); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .5s var(--au-ease); }
.au-st { position: relative; z-index: 1; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--au-muted); }
.au-sn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #9fb1cf; font-size: 14px; font-weight: 800; color: var(--au-muted); transition: all .3s; }
.au-st.is-on { color: var(--au-ink); }
.au-st.is-on .au-sn { border-color: var(--au-blue); color: var(--au-blue); box-shadow: 0 0 0 5px rgba(0, 86, 210, .16); }
.au-st.is-done .au-sn { background: var(--au-blue); border-color: var(--au-blue); color: #fff; }
.au-slideF { animation: auSlideF .45s var(--au-ease); }
.au-slideB { animation: auSlideB .45s var(--au-ease); }
.au-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 0; }
.au-meter i { height: 6px; border-radius: 99px; background: #cdd8ea; transition: background .3s; }
.au-meter.l1 i:nth-child(-n+1) { background: var(--au-danger); }
.au-meter.l2 i:nth-child(-n+2) { background: #b45309; }
.au-meter.l3 i:nth-child(-n+3) { background: var(--au-blue); }
.au-meter.l4 i { background: var(--au-ok); }
.au-mt { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: 13px; font-weight: 700; }
.au-mt span:last-child { font-weight: 500; color: var(--au-hint); }
.au-match { display: none; width: 44px; place-items: center; color: var(--au-ok); }
.au-field.is-ok .au-match { display: grid; }
.au-refnote { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 8px 12px; border-radius: 12px; background: #e6f6ee; color: #065f46; font-size: 13.5px; font-weight: 700; }
.au-captcha { margin-top: 18px; min-height: 78px; }
.au-js [data-au-step][hidden] { display: none; }
.au-noscript { margin: 0 0 16px; font-size: 14px; color: var(--au-muted); }

/* third-party widgets restyled to the same field: select2 (category) and intl-tel-input (phone with country code) */
.au .select2-container { width: 100% !important; }
.au .select2-container--default .select2-selection--single, .au .select2-container--default .select2-selection--multiple { min-height: 54px; display: flex; align-items: center; border: 1.5px solid var(--au-edge); border-radius: 14px; background: #fff; font-family: var(--au-font); }
.au .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0 16px; line-height: 1.4; font-size: 16px; font-weight: 500; color: var(--au-ink); }
.au .select2-container--default .select2-selection--single .select2-selection__arrow { height: 52px; right: 8px; }
.au .select2-container--default.select2-container--focus .select2-selection, .au .select2-container--default.select2-container--open .select2-selection { border-color: var(--au-blue); box-shadow: 0 0 0 4px rgba(0, 86, 210, .18); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--au-blue); }
.au .iti { width: 100%; }
.au .iti input[type="text"], .au .iti input[type="tel"] { width: 100%; height: 54px; border: 1.5px solid var(--au-edge); border-radius: 14px; background: #fff; font: 500 16px var(--au-font); color: var(--au-ink); transition: border-color .2s, box-shadow .2s; }
.au .iti input:focus { outline: 0; border-color: var(--au-blue); box-shadow: 0 0 0 4px rgba(0, 86, 210, .18); }
.au-fg.is-err .iti input { border-color: var(--au-danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .10); }
.au .iti__selected-flag { border-radius: 14px 0 0 14px; }

/* ── Phone and tablet: the stage becomes a short banner, the form a sheet ── */
@media (max-width: 991.98px) {
    .au-root { flex-direction: column; flex-wrap: nowrap; }
    .au-stage { flex: none; min-height: 0; padding: 24px 24px 52px; }
    .au-brand img { width: 92px; }
    .au-hero { margin-top: 14px; }
    .au-eyebrow, .au-lead, .au-tag, .au-trust, .au-ring, .au-orbit, .au-checks, .au-disc, .au-pin { display: none; }
    .au-h1 { font-size: 28px; max-width: 220px; }
    .au-orbit-wrap { position: absolute; right: 16px; top: 22px; width: 160px; height: auto; margin: 0; }
    .au-cardwrap, .au-stagebody .au-cardwrap { position: relative; left: auto; top: auto; margin: 0; width: 100%; }
    .au-stagebody { position: absolute; right: 16px; top: 22px; width: 160px; padding: 0; display: block; flex: none; }
    .au-waves { height: 70px; }
    .au-side { flex: none; min-height: 0; margin-top: -26px; padding: 20px 22px 32px; border-radius: 28px 28px 0 0; position: relative; }
    .au-top { display: none; }
    .au-formwrap { align-items: flex-start; padding: 8px 0 0; }
    .au-h2 { font-size: 26px; }
    .au-roles, .au-choice { grid-template-columns: 1fr; }
    .au-rb { min-height: 0; flex-direction: row; align-items: center; padding: 14px 16px; gap: 14px; }
    .au-rb ul { display: none; }
    .au-st { width: 80px; font-size: 12.5px; }
    .au-sn { width: 30px; height: 30px; }
    .au-stepper::before, .au-stepper::after { top: 13px; }
}
@media (max-width: 575.98px) { .au-grid2 { grid-template-columns: 1fr; } }

@keyframes auUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes auSlideF { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes auSlideB { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes auOrbit { to { transform: rotate(360deg); } }
@keyframes auCounter { from { transform: rotate(calc(var(--a) * -1)); } to { transform: rotate(calc(var(--a) * -1 - 360deg)); } }
@keyframes auFloat { 0%, 100% { transform: rotateX(8deg) rotateY(-12deg) translateY(0); } 50% { transform: rotateX(3deg) rotateY(10deg) translateY(-12px); } }
@keyframes auShine { 0%, 55% { left: -60%; } 100% { left: 140%; } }
@keyframes auWave { to { transform: translateX(-50%); } }
@keyframes auPing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes auPulse { 0% { box-shadow: 0 0 0 0 rgba(127, 227, 236, .55); } 100% { box-shadow: 0 0 0 10px rgba(127, 227, 236, 0); } }
@keyframes auBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes auDrift { to { background-position: 28px 28px; } }
@keyframes auSpin { to { transform: rotate(360deg); } }
@keyframes auShake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) {
    .au *, .au *::before, .au *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .au-in { opacity: 1; transform: none; }
}
.au-idle { display: inline-flex; align-items: center; gap: 10px; }
.au-busy { display: none; }
.au-h2:focus, .au-h2[tabindex]:focus { outline: 0; }
/* progressive enhancement: steps, vendor-only fields and the referral box are only hidden when the script runs */
.au-js .au-off { display: none; }
.au-jsonly { display: none; }
.au-js .au-jsonly { display: inline-flex; align-items: center; }
.au-ghost[data-au-back] { display: none; }
.au-js .au-ghost[data-au-back]:not(.au-off) { display: flex; }
.au-js .au-jsonly.au-off { display: none; }
/* the field box carries the focus ring (focus-within), so the bare input inside it does not draw a second outline */
.au-field .au-input:focus-visible { outline: 0; }
@media (min-width: 992px) {
    .au-stage { position: sticky; top: 0; align-self: flex-start; height: 100vh; min-height: 740px; }
}
.au-tick { color: #fff; }
