/* EvNet.az — auth group on the "ev-" kit (2026-10-28).
 *
 * Pages: /login, /auth-callback, /claim, /claim-preview, /import. Each is a
 * standalone layout (no shared header), so every rule is scoped to the page's
 * own body class: .au-login, .au-callback, .au-claim, .au-preview, .au-import.
 * Tokens (--ev-*) come from evnet-ui.css, loaded before this file.
 *
 * The pages' inline scripts own the behaviour. Ids, form names, data-*
 * attributes and every class a script builds (.f-svg-line, .ripple,
 * .btn-spinner, .btn-check, .preview-img, .pill, .property-item, ...) are
 * restyled here, never renamed. Names avoid "ad/banner/promo/sponsor".
 */

:root {
  /* the agent service-area pills reference the site palette */
  --tiffany-200: #a8e8e3;
  --tiffany-600: #4AADA6;
}

/* ── Shared: reset (zero specificity), skip link, sr-only ─────────────── */

:where(.au-page) :where(*, *::before, *::after) { box-sizing: border-box; }
:where(.au-page) :where(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; }
.au-page { margin: 0; font-family: var(--ev-f-body); color: var(--ev-ink); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
.au-page button, .au-page input, .au-page select, .au-page textarea { font: inherit; color: inherit; }
.au-page button { cursor: pointer; }
.au-page a { color: inherit; }
.au-page svg { display: block; }
.au-page .skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 10000;
  padding: 12px 20px; background: var(--ev-lagoon); color: #fff;
  font: 700 1rem/1 var(--ev-f-body); border-radius: 0 0 10px 10px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25); transition: top .15s ease;
}
.au-page .skip-link:focus { top: 0; }
.au-page .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.au-page :focus-visible { outline: 3px solid var(--ev-tif-2); outline-offset: 3px; }
.au-page .skip-link:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* the blueprint grid used behind every auth page (paper and dark variants) */
.au-grid-paper {
  background-color: var(--ev-mist);
  background-image:
    linear-gradient(rgba(42, 112, 106, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 112, 106, .09) 1px, transparent 1px),
    linear-gradient(rgba(42, 112, 106, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 112, 106, .04) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
}

@keyframes au-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes au-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes au-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes au-spin { to { transform: rotate(360deg); } }
@keyframes au-draw { to { stroke-dashoffset: 0; } }
@keyframes au-breathe { 0%, 100% { opacity: .06; } 50% { opacity: .3; } }
@keyframes au-flick { 0% { opacity: .06; } 25% { opacity: .85; } 40% { opacity: .35; } 100% { opacity: .96; } }
@keyframes au-smoke { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 20% { opacity: .55; } 100% { transform: translate(14px, -46px) scale(1.9); opacity: 0; } }
@keyframes au-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes au-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes au-underline { from { background-size: 0 .34em; } to { background-size: 100% .34em; } }
@keyframes au-key-go {
  0%   { transform: translate(398px, 262px) rotate(14deg); }
  52%  { transform: translate(262px, 250px) rotate(0deg); }
  66%  { transform: translate(252px, 250px) rotate(0deg); }
  100% { transform: translate(252px, 250px) rotate(-90deg); }
}
@keyframes au-door-open { to { transform: scaleX(.16); } }
@keyframes au-scan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(88px); opacity: 0; } }
@keyframes au-stamp { 0% { opacity: 0; transform: translateY(-40px) rotate(-18deg) scale(1.7); } 55% { opacity: 1; transform: translateY(2px) rotate(-10deg) scale(.94); } 72% { transform: rotate(-10deg) scale(1.04); } 100% { opacity: 1; transform: rotate(-10deg) scale(1); } }
@keyframes au-burst { 0% { transform: translate(0, 0) scale(.2); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--bx), var(--by)) scale(1); opacity: 0; } }
@keyframes au-march { to { stroke-dashoffset: -24; } }
@keyframes au-ring { to { stroke-dashoffset: 0; } }
@keyframes au-ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3); opacity: 0; } }

/* ═════════════════════════════════════════════════════════════════════════
   /login — split layout: lagoon blueprint scene + form panel
   ═════════════════════════════════════════════════════════════════════════ */

.au-login { height: 100vh; height: 100dvh; display: flex; background: #fff; overflow: hidden; }

/* ── Left: the living blueprint ── */
.au-login .auth-left {
  position: relative; flex: 0 0 46%; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 34%, #14594f 0%, var(--ev-lagoon) 52%, #082f2c 100%);
  color: #e9f6f4; --mx: 55%; --my: 34%;
}
.au-login .auth-left::before, .au-login .auth-left::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--gc) 1px, transparent 1px), linear-gradient(90deg, var(--gc) 1px, transparent 1px),
    linear-gradient(var(--gc2) 1px, transparent 1px), linear-gradient(90deg, var(--gc2) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px -1px;
}
.au-login .auth-left::before { --gc: rgba(129, 216, 208, .11); --gc2: rgba(129, 216, 208, .05); }
.au-login .auth-left::after {
  --gc: rgba(129, 216, 208, .5); --gc2: rgba(129, 216, 208, .24);
  -webkit-mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000 0%, transparent 70%);
  mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000 0%, transparent 70%);
}
.au-login .auth-left-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px clamp(24px, 4vw, 52px); }
.au-login .auth-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 10px; }
.au-login .auth-logo svg { width: 30px; height: 30px; }
.au-login .auth-logo-text { font: 800 1.25rem/1 var(--ev-f-body); letter-spacing: -.03em; color: #fff; }
.au-login .auth-logo-dot { color: var(--ev-tif); }
.au-login .auth-nav-end { display: flex; align-items: center; gap: 14px; }
.au-login .back-link { display: inline-flex; align-items: center; gap: 4px; padding: 6px 4px; font: 500 .74rem/1 var(--ev-f-mono); letter-spacing: .06em; text-transform: uppercase; color: #b9dcd8; text-decoration: none; transition: color .25s, transform .3s var(--ev-e-spring); }
.au-login .back-link:hover { color: var(--ev-tif); transform: translateX(-3px); }
.au-login .auth-lang-switcher, .au-login .auth-mobile-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(129, 216, 208, .18); }
.au-login .auth-lang-btn { padding: 6px 11px; border: 0; border-radius: 999px; background: none; color: #b9dcd8; font: 600 .72rem/1 var(--ev-f-mono); letter-spacing: .06em; transition: background .3s var(--ev-e-out), color .25s, transform .25s var(--ev-e-spring); }
.au-login .auth-lang-btn:hover:not(.active) { color: #fff; transform: translateY(-1px); }
.au-login .auth-lang-btn.active { background: var(--ev-tif); color: var(--ev-lagoon); }
.au-login .auth-mobile-lang { display: none; }

.au-login .auth-left-body { position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 8px clamp(24px, 4vw, 56px) 8px; overflow-y: auto; scrollbar-width: none; }
.au-login .auth-left-body::-webkit-scrollbar { display: none; }
.au-login .auth-left-footer { position: relative; z-index: 2; padding: 18px clamp(24px, 4vw, 52px) 24px; font: 500 .72rem/1 var(--ev-f-mono); letter-spacing: .06em; color: rgba(185, 220, 216, .55); }

/* the scene */
.au-login .auth-svg-wrap { width: 100%; max-width: 440px; margin: 0 auto 18px; }
.au-login .auth-svg-wrap svg { width: 100%; height: auto; max-height: 33vh; margin: 0 auto; overflow: visible; }
.au-scene .dr { stroke-dasharray: 200; stroke-dashoffset: 200; }
.au-scene.is-in .dr { animation: au-draw 1.5s var(--ev-e-in-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + .15s); }
.au-scene .au-stars circle { animation: au-twinkle 3.2s ease-in-out infinite; }
.au-scene .au-stars circle:nth-child(2n) { animation-duration: 4.1s; animation-delay: -1.3s; }
.au-scene .au-stars circle:nth-child(3n) { animation-duration: 2.6s; animation-delay: -2s; }
.au-scene .au-moon { transform-box: fill-box; transform-origin: center; }
.au-scene .au-smoke circle { transform-box: fill-box; transform-origin: center; opacity: 0; animation: au-smoke 4.2s ease-out infinite; }
.au-scene .au-smoke circle:nth-child(2) { animation-delay: 1.4s; }
.au-scene .au-smoke circle:nth-child(3) { animation-delay: 2.8s; }
/* windows: dim and breathing until the form lights them */
.au-scene .au-lit { fill: #81d8d0; opacity: .06; animation: au-breathe 6s ease-in-out infinite; transition: fill .6s; }
.au-scene .au-w2 .au-lit { animation-delay: -2s; }
.au-scene .au-w3 .au-lit { animation-delay: -4s; }
.au-scene .au-halo { opacity: 0; transition: opacity .8s var(--ev-e-out); }
.au-scene:hover .au-w:not(.is-on) .au-lit { fill: #ffbe1a; animation: none; opacity: .55; transition: opacity .4s; }
.au-scene .au-w.is-on .au-lit { fill: #ffbe1a; animation: au-flick .9s ease-out forwards; }
.au-scene .au-w.is-on .au-halo { opacity: 1; }
.au-scene .au-room { opacity: 0; transition: opacity .7s var(--ev-e-out) 1.5s; }
.au-scene .au-door { transform-box: fill-box; transform-origin: 0 50%; }
.au-scene .au-key { transform: translate(398px, 262px) rotate(14deg); transform-origin: 0 0; }
.au-scene .au-key-bob { animation: au-bob 3.4s ease-in-out infinite; }
.au-scene.is-ready .au-key .au-key-ring { stroke: #ffd35a; filter: drop-shadow(0 0 6px rgba(255, 190, 26, .9)); }
.au-scene.is-open .au-key { animation: au-key-go 1.7s var(--ev-e-out) forwards; }
.au-scene.is-open .au-key-bob { animation: none; }
.au-scene.is-open .au-door { animation: au-door-open .9s 1.6s var(--ev-e-out) forwards; }
.au-scene.is-open .au-room { opacity: 1; }
.au-scene text { font: 500 10px/1 var(--ev-f-mono); fill: #81d8d0; letter-spacing: .06em; stroke: none; }

.au-login .auth-tag {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin: 0 0 14px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(129, 216, 208, .1); box-shadow: inset 0 0 0 1px rgba(129, 216, 208, .28); color: var(--ev-tif);
  font: 500 .72rem/1.2 var(--ev-f-mono); letter-spacing: .08em; text-transform: uppercase;
}
.au-login .auth-tag-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ev-tif); }
.au-login .auth-tag-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: au-ping 1.8s var(--ev-e-out) infinite; }
.au-login .auth-left-h1 { margin: 0 0 12px; font: 700 clamp(1.45rem, .85rem + 1.55vw, 2.15rem)/1.12 var(--ev-f-display); letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.au-login .auth-left-h1 em { position: relative; font-style: normal; color: var(--ev-tif); padding-bottom: .12em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14 C 60 4, 140 4, 200 10 S 280 16, 296 6' fill='none' stroke='%23ffbe1a' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 0 .34em; animation: au-underline 1s 1.1s var(--ev-e-in-out) forwards; }
.au-login .auth-left-p { max-width: 30em; margin: 0 0 20px; font-size: .95rem; line-height: 1.6; color: #b9dcd8; }

/* stats: same elements, drawn as a spec sheet */
.au-login .auth-stats { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; }
.au-login .auth-stat-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(129, 216, 208, .16); transition: background .3s, transform .35s var(--ev-e-out), box-shadow .3s; }
.au-login .auth-stat-row:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(129, 216, 208, .4); }
.au-login .auth-stat-icon { position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: rgba(129, 216, 208, .14); color: var(--ev-tif); }
.au-login .auth-stat-icon svg { width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.au-login .auth-stat-row:hover .auth-stat-icon svg { animation: au-bob .7s var(--ev-e-out); }
.au-login .auth-stat-icon .au-live { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.au-login .auth-stat-icon .au-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: au-ping 1.8s var(--ev-e-out) infinite; }
.au-login .auth-stat-val { font: 700 .92rem/1.25 var(--ev-f-body); color: #fff; font-variant-numeric: tabular-nums; }
.au-login .auth-stat-lbl { font: 500 .68rem/1.3 var(--ev-f-mono); letter-spacing: .05em; text-transform: uppercase; color: #9cc9c4; margin-top: 2px; }
@media (min-width: 1360px) and (min-height: 760px) {
  .au-login .auth-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .au-login .auth-stat-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
}

/* ── Right: the form panel ── */
.au-login .auth-right {
  position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 32px clamp(20px, 4vw, 48px); overflow-x: hidden; overflow-y: auto; border: 0;
  background-color: var(--ev-mist);
  background-image:
    linear-gradient(rgba(42, 112, 106, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 112, 106, .08) 1px, transparent 1px),
    linear-gradient(rgba(42, 112, 106, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 112, 106, .035) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px; background-attachment: local; background-position: -1px -1px;
}
.au-login #auth-bg-canvas { opacity: .35 !important; }
.au-login .auth-panel-svg-deco { display: none !important; }
.au-login .auth-box {
  position: relative; z-index: 1; width: 100%; max-width: 440px; margin: auto; padding: clamp(22px, 3vw, 34px);
  border-radius: var(--ev-r-lg); background: #fff; box-shadow: var(--ev-shadow-2), 0 0 0 1px rgba(10, 22, 40, .05);
  animation: au-in .7s var(--ev-e-out) both;
}
/* a dimension tick on the panel corner: the architect's mark */
.au-login .auth-box::before { content: ""; position: absolute; left: 22px; right: 22px; top: -14px; height: 14px; border-left: 1px solid var(--ev-tif-2); border-right: 1px solid var(--ev-tif-2); opacity: .55; pointer-events: none; }
.au-login .auth-box::after { content: ""; position: absolute; left: 22px; right: 22px; top: -7px; height: 1px; background: var(--ev-tif-2); opacity: .55; pointer-events: none; transform-origin: 0 50%; animation: au-dim 1s .5s var(--ev-e-in-out) both; }
@keyframes au-dim { from { transform: scaleX(0); } to { transform: none; } }

/* tabs: the kit's segmented control with sliding ink */
.au-login .auth-tabs { display: flex; width: 100%; margin: 0 0 24px; padding: 4px; gap: 4px; border-radius: 999px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); }
.au-login .auth-tab { flex: 1; padding: 11px 12px; border: 0; border-radius: 999px; background: none; font: 700 .92rem/1 var(--ev-f-body); color: var(--ev-ink-2); transition: color .25s; }
.au-login .auth-tab:hover:not(.active) { color: var(--ev-ink); }
.au-login .auth-tab.active { color: var(--ev-lagoon); background: none; box-shadow: none; transform: none; }
/* the page's own indicator bar is replaced by the kit's ink */
.au-login .auth-tabs > div:not(.ev-tabs-ink) { display: none !important; }

.au-login .auth-form { display: none; }
.au-login .auth-form.active { display: block; }
.au-login .auth-form.active > * { animation: au-in .5s var(--ev-e-out) both; }
.au-login .auth-form.active > :nth-child(1) { animation-delay: .02s; }
.au-login .auth-form.active > :nth-child(2) { animation-delay: .06s; }
.au-login .auth-form.active > :nth-child(3) { animation-delay: .1s; }
.au-login .auth-form.active > :nth-child(4) { animation-delay: .14s; }
.au-login .auth-form.active > :nth-child(5) { animation-delay: .18s; }
.au-login .auth-form.active > :nth-child(6) { animation-delay: .22s; }
.au-login .auth-form.active > :nth-child(7) { animation-delay: .26s; }
.au-login .auth-form.active > :nth-child(8) { animation-delay: .3s; }
.au-login .auth-form.active > :nth-child(n+9) { animation-delay: .34s; }
.au-login .auth-box-title { margin: 0 0 6px; font: 700 clamp(1.25rem, 1rem + 1vw, 1.55rem)/1.2 var(--ev-f-display); letter-spacing: -.03em; color: var(--ev-ink); }
.au-login .auth-box-sub { margin: 0 0 22px; font-size: .95rem; line-height: 1.5; color: var(--ev-ink-3); }

/* fields: the kit's ev-input restyled onto the page's own markup (label above, mono) */
.au-login .f-wrap { position: relative; margin: 0 0 16px; }
.au-login .f-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 7px; }
.au-login .f-label { display: block; margin: 0 0 7px; font: 500 .72rem/1.3 var(--ev-f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ev-ink-3); transition: color .25s; }
.au-login .f-meta .f-label { margin: 0 !important; }
.au-login .f-wrap:focus-within .f-label { color: var(--ev-tif-text); }
.au-login #role-group-label { margin-bottom: 9px; }
.au-login .f-input {
  display: block; width: 100%; min-height: 50px; padding: 13px 44px 13px 16px; border: 0; border-radius: 14px;
  background: #f6f9f9; box-shadow: inset 0 0 0 1.5px #e1eaea; color: var(--ev-ink);
  font: 400 1rem/1.4 var(--ev-f-body); outline: none; -webkit-appearance: none; appearance: none;
  transition: box-shadow .25s var(--ev-e-out), background .25s;
}
.au-login .f-input::placeholder { color: #6b7886; opacity: 1; }
.au-login .f-input:hover { box-shadow: inset 0 0 0 1.5px #cddcdc; }
.au-login .f-input:focus, .au-login .f-input:focus-visible { background: #fff; outline: none; box-shadow: inset 0 0 0 2px var(--ev-tif-2), 0 0 0 5px rgba(129, 216, 208, .25); }
.au-login .f-input.valid { box-shadow: inset 0 0 0 2px var(--ev-tif-2); }
.au-login .f-input.error { background: #fff7f7; box-shadow: inset 0 0 0 2px var(--ev-danger); animation: au-shake .4s var(--ev-e-out); }
.au-login select.f-input { padding-right: 40px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ev-tif-text) 50%), linear-gradient(135deg, var(--ev-tif-text) 50%, transparent 50%); background-position: calc(100% - 21px) 55%, calc(100% - 16px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.au-login textarea.f-input { min-height: 96px; resize: vertical; }
/* the page builds an underline + a check on each field; keep the check, drop the underline */
.au-login .f-svg-line { display: none !important; }
.au-login .f-wrap > svg:not(.f-svg-line):not(.au-eye-ico) { top: auto !important; bottom: 16px !important; right: 14px !important; width: 20px !important; height: 20px !important; transform: none !important; }
.au-login .f-wrap > svg:not(.f-svg-line) circle { stroke: var(--ev-tif-2); }
.au-login .f-wrap > svg:not(.f-svg-line) path { stroke: var(--ev-lagoon); }
.au-login .f-wrap.has-eye > svg:not(.f-svg-line):not(.au-eye-ico) { right: 48px !important; }
.au-login .f-valid-icon { display: none; }
.au-login .forgot-a { padding: 2px 0; font: 600 .82rem/1.2 var(--ev-f-body); color: var(--ev-tif-text); text-decoration: none; position: relative; cursor: pointer; }
.au-login .forgot-a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ev-e-out); }
.au-login .forgot-a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.au-login .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.au-login .f-row .f-wrap { margin: 0; min-width: 0; }

/* show / hide password (built by ui-auth.js) */
.au-eye { position: absolute; right: 8px; bottom: 7px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ev-ink-3); transition: color .25s, background .25s, transform .3s var(--ev-e-spring); }
.au-eye:hover { color: var(--ev-lagoon); background: var(--ev-mist); }
.au-eye:active { transform: scale(.9); }
.au-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.au-eye .au-slash { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .35s var(--ev-e-out); }
.au-eye[aria-pressed="true"] .au-slash { stroke-dashoffset: 0; }
.au-eye .au-pupil { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ev-e-spring); }
.au-eye[aria-pressed="true"] .au-pupil { transform: scale(.4); }

/* google + divider */
.au-login .oauth-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin: 0 0 6px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-line); color: var(--ev-ink); font: 600 .95rem/1 var(--ev-f-body); transition: transform .35s var(--ev-e-out), box-shadow .3s; overflow: hidden; }
.au-login .oauth-btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ev-tif-2), 0 10px 24px -10px rgba(11, 61, 57, .35); }
.au-login .oauth-btn:active { transform: scale(.98); }
.au-login .oauth-btn img { width: 20px; height: 20px; transition: transform .45s var(--ev-e-spring); }
.au-login .oauth-btn:hover img { transform: rotate(-12deg) scale(1.12); }
.au-login .divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; font: 500 .7rem/1 var(--ev-f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ev-ink-3); }
.au-login .divider::before, .au-login .divider::after { content: ""; flex: 1; height: 1px; background: var(--ev-line); }

/* submit */
.au-login .auth-btn {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 52px; margin: 6px 0 0; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--ev-tif); color: var(--ev-lagoon); font: 700 1rem/1 var(--ev-f-body); letter-spacing: -.005em;
  box-shadow: 0 6px 18px -6px rgba(91, 189, 183, .7); transition: transform .35s var(--ev-e-out), box-shadow .3s, background .3s, color .3s;
}
.au-login .auth-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.au-login .auth-btn:hover:not(:disabled) { background: #8fe0d8; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(91, 189, 183, .85); }
.au-login .auth-btn:hover:not(:disabled)::before { transition: transform .8s var(--ev-e-out); transform: translateX(120%); }
.au-login .auth-btn:active:not(:disabled) { transform: scale(.97); box-shadow: none; }
.au-login .auth-btn:disabled { opacity: .8; cursor: progress; transform: none; }
.au-login .auth-btn::after { content: none; }
.au-login .ripple { position: absolute; z-index: -1; border-radius: 50%; background: currentColor; opacity: .25; transform: scale(0); animation: au-ripple .65s var(--ev-e-out) forwards; pointer-events: none; }
@keyframes au-ripple { to { transform: scale(2.6); opacity: 0; } }
.au-login .btn-spinner { display: inline-block; flex: none; width: 17px; height: 17px; margin: 0; border: 2.5px solid rgba(11, 61, 57, .25); border-top-color: var(--ev-lagoon); border-radius: 50%; animation: au-spin .7s linear infinite; }
/* success: the page swaps the label for a check + inline green; draw the check ourselves */
.au-login .btn-check { position: relative; display: inline-block; width: 18px; height: 18px; font-size: 0; animation: au-pop .4s var(--ev-e-spring); }
.au-login .btn-check::before { content: ""; position: absolute; left: 2px; top: 3px; width: 13px; height: 7px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; border-radius: 1px; transform: rotate(-45deg); }
.au-login .auth-btn:has(.btn-check) { background: var(--ev-lagoon) !important; color: #fff; box-shadow: 0 8px 22px -8px rgba(11, 61, 57, .6); }
.au-login .auth-switch { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--ev-ink-3); }
.au-login .auth-switch a { position: relative; color: var(--ev-tif-text); font-weight: 700; cursor: pointer; text-decoration: none; border: 0; }
.au-login .auth-switch a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ev-e-out); }
.au-login .auth-switch a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

/* alerts */
.au-login .alert { display: none; position: relative; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; font-size: .88rem; font-weight: 600; line-height: 1.5; animation: au-in .35s var(--ev-e-out); }
.au-login .alert-err { background: #fff3f3; box-shadow: inset 0 0 0 1px #f4c9c9; color: #9b2c2c; }
.au-login .alert-ok { background: #ecf8f2; box-shadow: inset 0 0 0 1px #bfe6d1; color: #14653f; }

/* password strength + rules */
.au-login .pw-strength { margin: -6px 0 12px; }
.au-login .pw-bars { display: flex; gap: 5px; margin-bottom: 6px; }
.au-login .pw-bar { flex: 1; height: 4px; border-radius: 99px; background: var(--ev-mist-2); transform-origin: 50% 100%; transition: background .3s, transform .4s var(--ev-e-spring); }
.au-login .pw-bar.active { transform: scaleY(1.5); }
.au-login .pw-bar.weak { background: var(--ev-danger); }
.au-login .pw-bar.fair { background: var(--ev-amber); }
.au-login .pw-bar.good { background: var(--ev-ok); }
.au-login .pw-strength-lbl { font: 500 .72rem/1.3 var(--ev-f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ev-ink-3); transition: color .3s; }
.au-login .req-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 14px; }
.au-login .req-item { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; color: var(--ev-ink-3); transition: color .3s; }
.au-login .req-dot { position: relative; flex: none; width: 14px; height: 14px; border-radius: 5px; background: var(--ev-mist); box-shadow: inset 0 0 0 1.5px var(--ev-line); transition: background .3s, box-shadow .3s, transform .4s var(--ev-e-spring); }
.au-login .req-dot::after { content: ""; position: absolute; left: 3px; top: 3px; width: 8px; height: 4px; border-left: 2px solid var(--ev-lagoon); border-bottom: 2px solid var(--ev-lagoon); transform: rotate(-45deg) scale(0); transform-origin: 30% 70%; transition: transform .4s var(--ev-e-spring); }
.au-login .req-item.met { color: var(--ev-ok); }
.au-login .req-item.met .req-dot { background: var(--ev-tif); box-shadow: none; transform: scale(1.1); }
.au-login .req-item.met .req-dot::after { transform: rotate(-45deg) scale(1); }

/* role picker: four tiles with line icons */
.au-login .role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 18px !important; }
.au-login .role-opt { position: relative; }
.au-login .role-opt input { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.au-login .role-lbl { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 84px; padding: 12px 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-line); color: var(--ev-ink-2); font: 600 .84rem/1.2 var(--ev-f-body); text-align: center; cursor: pointer; transition: transform .35s var(--ev-e-out), box-shadow .3s, background .3s, color .3s; overflow: hidden; }
.au-login .role-lbl .re { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ev-mist); color: var(--ev-lagoon); transition: transform .5s var(--ev-e-spring), background .3s; }
.au-login .role-lbl .re svg { width: 24px; height: 24px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.au-login .role-lbl .re .acc { stroke: var(--ev-tif-2); }
.au-login .role-lbl:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ev-tif-2), 0 12px 24px -12px rgba(11, 61, 57, .35); }
.au-login .role-lbl:hover .re { transform: rotate(-6deg) scale(1.08); }
.au-login .role-opt input:checked + .role-lbl { background: var(--ev-lagoon); color: #fff; box-shadow: 0 12px 26px -10px rgba(11, 61, 57, .6); }
.au-login .role-opt input:checked + .role-lbl .re { background: var(--ev-tif); color: var(--ev-lagoon); transform: rotate(-4deg) scale(1.06); }
.au-login .role-opt input:checked + .role-lbl::after { content: ""; position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--ev-amber); animation: au-pop .4s var(--ev-e-spring); }
.au-login .role-opt input:focus-visible + .role-lbl { outline: 3px solid var(--ev-tif-2); outline-offset: 2px; }

/* pills (agent languages / service areas): the kit's chips */
.au-login .pill-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.au-login .pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #f2f6f6; box-shadow: inset 0 0 0 1.5px #e1eaea; color: var(--ev-ink-2); font: 600 .86rem/1.1 var(--ev-f-body); cursor: pointer; user-select: none; transition: background .25s, box-shadow .25s, transform .3s var(--ev-e-spring), color .25s; }
.au-login .pill:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ev-tif-2); }
.au-login .pill.active { background: var(--ev-lagoon); color: #fff; box-shadow: none; }
.au-login #reg-selected-area-pills { border: 0 !important; background: var(--ev-mist) !important; box-shadow: inset 0 0 0 1.5px var(--ev-tif); border-radius: 14px !important; }
.au-login #reg-selected-area-pills .pill { background: var(--ev-lagoon) !important; color: #fff !important; border: 0 !important; margin-bottom: 0 !important; }
.au-login #reg-area-pills { border: 0 !important; border-radius: 14px !important; background: #f6f9f9 !important; box-shadow: inset 0 0 0 1.5px #e1eaea; }

/* claim banner (?claim=true) */
.au-login .au-claim-note { display: none; align-items: center; gap: 14px; margin: 0 0 20px; padding: 16px 18px; border-radius: 16px; background: var(--ev-mist); box-shadow: inset 0 0 0 1.5px var(--ev-tif); animation: au-in .5s var(--ev-e-out) both; }
.au-login .au-claim-note[style*="block"] { display: flex !important; }
.au-login .au-claim-note .au-cb-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--ev-line); color: var(--ev-lagoon); }
.au-login .au-claim-note .au-cb-ico svg { width: 26px; height: 26px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.au-login .au-claim-note .au-cb-t { font: 700 1rem/1.3 var(--ev-f-display); letter-spacing: -.02em; color: var(--ev-ink); margin-bottom: 4px; }
.au-login .au-claim-note .au-cb-s { font-size: .84rem; line-height: 1.5; color: var(--ev-ink-2); }

/* ── Login: phones. The left panel becomes a short band with the house ── */
@media (max-width: 800px) {
  .au-login { display: block; height: auto; min-height: 100vh; overflow-y: auto; overflow-x: hidden; }
  .au-login .auth-left { display: block; flex: none; height: auto; }
  .au-login .auth-left-nav { padding: 16px 18px 6px; }
  .au-login .back-link, .au-login .auth-left-footer, .au-login .auth-tag, .au-login .auth-left-h1, .au-login .auth-left-p, .au-login .auth-stats { display: none; }
  .au-login .auth-left-body { display: block; padding: 0 18px 0; overflow: visible; }
  .au-login .auth-svg-wrap { max-width: 280px; margin: 0 auto -6px; }
  .au-login .auth-svg-wrap svg { max-height: 150px; }
  .au-login .auth-right { display: block; height: auto; min-height: 0; padding: 0 0 28px; overflow: visible; background: var(--ev-mist); }
  .au-login #auth-bg-canvas { display: none; }
  .au-login .auth-box { width: auto; max-width: none; margin: -10px 14px 0; padding: 22px 18px; position: relative; }
  .au-login .auth-box::before, .au-login .auth-box::after { display: none; }
}
@media (max-width: 380px) {
  .au-login .f-row { grid-template-columns: 1fr; }
}
@media (max-height: 800px) and (min-width: 801px) {
  .au-login .auth-left-nav { padding-top: 18px; padding-bottom: 8px; }
  .au-login .auth-left-h1 br { display: none; }
  .au-login .auth-left-h1 .w:not(:last-child) { margin-right: .28em; }
  .au-login .auth-svg-wrap { margin-bottom: 8px; }
  .au-login .auth-svg-wrap svg { max-height: 29vh; }
  .au-login .auth-tag { margin-bottom: 10px; }
  .au-login .auth-left-p { margin-bottom: 12px; }
  .au-login .auth-stats { gap: 6px; }
  .au-login .auth-stat-row { padding: 7px 12px; }
  .au-login .auth-stat-icon { width: 30px; height: 30px; }
  .au-login .auth-left-footer { padding-top: 10px; padding-bottom: 16px; }
}
@media (max-width: 1050px) {
  .au-login .back-link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .au-login #auth-bg-canvas { display: none; }
  .au-login .auth-left-h1 em { background-size: 100% .34em; }
  .au-scene .au-lit { animation: none; }
}

/* ═════════════════════════════════════════════════════════════════════════
   shared bits: keyframes used by the callback / claim pages
   ═════════════════════════════════════════════════════════════════════════ */

@keyframes au-trace { 0% { stroke-dashoffset: 100; } 45%, 78% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes au-disc-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes au-fill { from { transform: scaleX(0); } to { transform: none; } }
@keyframes au-swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes au-link-a { 0% { transform: none; } 100% { transform: translate(1.5px, -1.5px); } }
@keyframes au-link-b { 0% { transform: none; } 100% { transform: translate(-1.5px, 1.5px); } }
@keyframes au-spark { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

/* ═════════════════════════════════════════════════════════════════════════
   /auth-callback — one calm card, four states
   ═════════════════════════════════════════════════════════════════════════ */

.au-callback { min-height: 100vh; min-height: 100dvh; display: flex; }
.au-cb-main { width: 100%; max-width: 500px; margin: auto; padding: 28px 16px 44px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.au-cb-live { margin: 0; animation: au-in .6s var(--ev-e-out) both; }
.au-cb-card { position: relative; width: 100%; padding: clamp(26px, 5vw, 40px) clamp(20px, 5vw, 38px) 34px; text-align: center; animation: au-in .7s .08s var(--ev-e-out) both; }
.au-cb-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -14px; height: 14px; border-left: 1px solid var(--ev-tif-2); border-right: 1px solid var(--ev-tif-2); opacity: .55; pointer-events: none; }
.au-cb-card::after { content: ""; position: absolute; left: 24px; right: 24px; top: -7px; height: 1px; background: var(--ev-tif-2); opacity: .55; pointer-events: none; transform-origin: 0 50%; animation: au-dim 1s .5s var(--ev-e-in-out) both; }
.au-callback .logo { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; text-decoration: none; color: var(--ev-tif-text); border-radius: 10px; }
.au-callback .logo svg { width: 30px; height: 30px; }
.au-callback .logo .lg-house { stroke-dasharray: 130; stroke-dashoffset: 130; animation: au-draw 1.4s .2s var(--ev-e-in-out) forwards; }
.au-callback .logo-text { font: 800 1.2rem/1 var(--ev-f-body); letter-spacing: -.03em; color: var(--ev-ink); }
.au-callback .logo-dot { color: var(--ev-tif-text); }

/* three-node trail: link, confirmed, cabinet. Wordless; the state is in the colour */
.au-trail { display: flex; align-items: center; width: 132px; margin: 0 auto 20px; }
.au-trail i { position: relative; flex: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--ev-line); transition: background .4s, box-shadow .4s; }
.au-trail b { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--ev-line); overflow: hidden; }
.au-trail b::after { content: ""; position: absolute; inset: 0; background: var(--ev-tif-2); transform: scaleX(0); transform-origin: 0 50%; }
.au-trail--1 i:nth-child(1), .au-trail--2 i:nth-child(1), .au-trail--2 i:nth-child(3), .au-trail--3 i, .au-trail--err i:nth-child(1) { background: var(--ev-tif); box-shadow: none; }
.au-trail--1 i:nth-child(1)::after, .au-trail--2 i:nth-child(3)::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ev-tif); animation: au-ping 1.8s var(--ev-e-out) infinite; }
.au-trail--2 b:nth-child(2)::after, .au-trail--3 b::after { animation: au-fill .7s .2s var(--ev-e-out) forwards; }
.au-trail--3 b:nth-child(4)::after { animation-delay: .6s; }
.au-trail--3 i:nth-child(5) { background: var(--ev-amber); animation: au-pop .5s .9s var(--ev-e-spring) both; }
.au-trail--err b:nth-child(2)::after { background: var(--ev-danger); transform: scaleX(.4); }
.au-trail--err i:nth-child(3) { background: #fff; box-shadow: inset 0 0 0 2px var(--ev-danger); }

/* the stage: a 112px ring with a small scene inside */
.au-stage { width: 112px; height: 112px; margin: 0 auto 22px; }
.au-stage svg { width: 100%; height: 100%; overflow: visible; }
.au-ring-track { stroke: var(--ev-line); stroke-width: 3; }
.au-ring-arc { stroke: var(--ev-tif-2); stroke-width: 4; stroke-dasharray: 25 75; }
.au-orbit { transform-origin: 60px 60px; animation: au-spin 1.7s linear infinite; }
.au-amber { fill: var(--ev-amber); }
.au-glyph { stroke: var(--ev-lagoon); stroke-width: 3.4; stroke-dasharray: 100; stroke-dashoffset: 100; animation: au-trace 2.8s var(--ev-e-in-out) infinite; }
.au-ring-done { stroke: var(--ev-tif-2); stroke-width: 4; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 60px 60px; animation: au-draw .9s var(--ev-e-in-out) forwards; }
.au-disc { fill: var(--ev-tif); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: au-disc-pop .6s .5s var(--ev-e-out) forwards; }
.au-check { stroke: var(--ev-lagoon); stroke-width: 6; stroke-dasharray: 100; stroke-dashoffset: 100; animation: au-draw .5s .95s var(--ev-e-out) forwards; }
.au-burst circle { fill: var(--ev-amber); transform-box: fill-box; transform-origin: center; opacity: 0; animation: au-burst .9s 1s ease-out forwards; }
.au-burst circle:nth-child(2n) { fill: var(--ev-tif-2); }
.au-ring-dash { stroke: var(--ev-tif-2); stroke-width: 2.5; stroke-dasharray: 3 9; opacity: .75; transform-origin: 60px 60px; animation: au-spin 26s linear infinite; }
.au-stage--err .au-ring-dash { stroke: var(--ev-danger); opacity: .45; }
.au-keyp { stroke: var(--ev-lagoon); stroke-width: .85; stroke-dasharray: 100; stroke-dashoffset: 100; transform-box: fill-box; transform-origin: 30% 70%; animation: au-draw 1.1s .1s var(--ev-e-in-out) forwards, au-swing 3.4s 1.2s ease-in-out infinite; }
.au-lk-a, .au-lk-b, .au-spark { stroke: var(--ev-danger); stroke-width: .75; }
.au-lk-a { animation: au-link-a .7s .3s var(--ev-e-out) forwards; }
.au-lk-b { animation: au-link-b .7s .3s var(--ev-e-out) forwards; }
.au-spark { opacity: .2; animation: au-spark 1.6s .8s ease-in-out infinite; }

.au-callback h1 { margin: 0 0 10px; font: 700 clamp(1.3rem, 1.05rem + 1vw, 1.65rem)/1.2 var(--ev-f-display); letter-spacing: -.03em; color: var(--ev-ink); text-wrap: balance; }
.au-callback .au-cb-card p { margin: 0 0 26px; font-size: .98rem; line-height: 1.65; color: var(--ev-ink-2); }
.au-callback #state-loading, .au-callback #state-success, .au-callback #state-recovery, .au-callback #state-error { animation: au-in .5s var(--ev-e-out) both; }
.au-callback .btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--ev-tif); color: var(--ev-lagoon); font: 700 1rem/1 var(--ev-f-body); text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(91, 189, 183, .7); transition: transform .35s var(--ev-e-out), box-shadow .3s, background .3s; }
.au-callback .btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.au-callback .btn:hover:not(:disabled) { background: #8fe0d8; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(91, 189, 183, .85); }
.au-callback .btn:hover:not(:disabled)::before { transition: transform .8s var(--ev-e-out); transform: translateX(120%); }
.au-callback .btn:active:not(:disabled) { transform: scale(.97); }
.au-callback .btn:disabled { opacity: .75; cursor: progress; }
.au-callback #state-error .btn { background: var(--ev-lagoon) !important; color: #fff; box-shadow: 0 8px 22px -8px rgba(11, 61, 57, .6); }
.au-callback #state-error .btn:hover { background: var(--ev-lagoon-2) !important; }
.au-callback #recovery-form .btn { width: 100%; margin-top: 2px; }
.au-cd { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--ev-ink-3); }
.au-cd-ring { flex: none; width: 22px; height: 22px; transform: rotate(-90deg); }
.au-cd-ring circle { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.au-cd-ring .t { stroke: var(--ev-line); }
.au-cd-ring .r { stroke: var(--ev-tif-2); stroke-dasharray: 100; stroke-dashoffset: 100; animation: au-ring 3s linear forwards; }
.au-callback .countdown { font-size: .85rem; line-height: 1.4; color: var(--ev-ink-3); }

/* recovery form */
.au-callback #recovery-form { display: grid; gap: 14px; margin: 0; }
.au-callback .au-cb-field .ev-ok { right: 52px; }
.au-callback .au-cb-field input { padding-right: 84px; }
.au-callback .au-cb-field .au-eye { bottom: 11px; }
.au-callback .au-cb-field.is-mismatch input { box-shadow: inset 0 0 0 2px var(--ev-amber); background: #fffdf4; }
.au-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: -4px 0 0; }
.au-meter i { height: 4px; border-radius: 99px; background: var(--ev-mist-2); transform-origin: 50% 100%; transition: background .3s, transform .4s var(--ev-e-out); }
.au-meter[data-score="1"] i:nth-child(-n+1) { background: var(--ev-danger); transform: scaleY(1.5); }
.au-meter[data-score="2"] i:nth-child(-n+2) { background: var(--ev-amber); transform: scaleY(1.5); }
.au-meter[data-score="3"] i:nth-child(-n+3), .au-meter[data-score="4"] i:nth-child(-n+4) { background: var(--ev-ok); transform: scaleY(1.5); }
.au-callback #recovery-msg { min-height: 20px; margin: 0 !important; font: 600 .88rem/1.4 var(--ev-f-body); text-align: left; color: var(--ev-danger) !important; }
.au-callback #recovery-msg[style*="13, 148, 136"] { color: var(--ev-ok) !important; }
@media (max-width: 480px) { .au-cb-main { padding-top: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .au-glyph, .au-keyp, .au-check, .au-ring-done { stroke-dashoffset: 0; }
  .au-orbit, .au-ring-dash { animation: none; }
}

/* ═════════════════════════════════════════════════════════════════════════
   /claim — a document, a stamp, and the steps path
   ═════════════════════════════════════════════════════════════════════════ */

@keyframes au-ring-out { from { transform: scale(1); opacity: .55; } to { transform: scale(1.7); opacity: 0; } }
@keyframes au-stamp-pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.55); opacity: 0; } }
@keyframes au-lens { 0%, 100% { transform: translate(-7px, -7px); } 50% { transform: translate(3px, 3px); } }
@keyframes au-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.au-claim { min-height: 100vh; min-height: 100dvh; }
.au-claim .claim-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 clamp(16px, 4vw, 40px); background: #fff; border-bottom: 1px solid var(--ev-line); }
.au-claim .claim-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-radius: 10px; }
.au-claim .claim-logo svg { width: 28px; height: 28px; color: var(--ev-tif-text); }
.au-claim .claim-logo-text { font: 800 1.2rem/1 var(--ev-f-body); letter-spacing: -.03em; color: var(--ev-ink); }
.au-claim .claim-logo-dot { color: var(--ev-tif-text); }
.au-claim .skip-btn { padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ev-line); font: 600 .88rem/1 var(--ev-f-body); color: var(--ev-ink-2); text-decoration: none; transition: box-shadow .25s, color .25s, transform .3s var(--ev-e-spring); }
.au-claim .skip-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ev-tif-2); color: var(--ev-ink); transform: translateX(2px); }

.au-claim .claim-page { max-width: 1120px; margin: 0 auto; padding: 34px clamp(16px, 4vw, 40px) 72px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "steps steps" "side card"; gap: 30px clamp(28px, 5vw, 64px); align-items: start; }
.au-steps { grid-area: steps; }
.au-cl-side { grid-area: side; position: sticky; top: 96px; display: grid; gap: 16px; justify-items: center; }
.au-claim .claim-card { grid-area: card; }
.au-cl-live { margin: 0; }

/* steps: three nodes on a path, labels underneath */
.au-steps { display: grid; grid-template-columns: auto minmax(28px, 1fr) auto minmax(28px, 1fr) auto; align-items: start; width: 100%; max-width: 520px; margin: 0 auto; }
.au-steps .step { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 78px; }
.au-steps .step-line { position: relative; height: 2px; margin: 16px 0 0; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--ev-line) 0 6px, transparent 6px 11px); overflow: hidden; }
.au-steps .step-line::after { content: ""; position: absolute; inset: 0; background: var(--ev-tif-2); transform: scaleX(0); transform-origin: 0 50%; }
.au-steps .step-line:nth-child(2)::after { animation: au-fill .8s .3s var(--ev-e-out) forwards; }
.au-steps[data-step="3"] .step-line:nth-child(4)::after { animation: au-fill .8s .3s var(--ev-e-out) forwards; }
.au-steps .step-num { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-line); font: 600 .8rem/1 var(--ev-f-mono); color: var(--ev-ink-3); transition: background .5s var(--ev-e-out), color .5s, box-shadow .5s, transform .5s var(--ev-e-spring); }
.au-steps .step-num b { font-weight: 600; transition: opacity .25s; }
.au-steps .step-num svg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.au-steps .step-label { font: 600 .82rem/1.2 var(--ev-f-body); color: var(--ev-ink-3); text-align: center; transition: color .3s; }
.au-steps .step:nth-child(1) .step-num, .au-steps[data-step="3"] .step:nth-child(3) .step-num { background: var(--ev-tif); color: var(--ev-lagoon); box-shadow: none; }
.au-steps .step:nth-child(1) .step-num b, .au-steps[data-step="3"] .step:nth-child(3) .step-num b, .au-steps[data-step="3"] .step:nth-child(5) .step-num b { opacity: 0; }
.au-steps .step:nth-child(1) .step-num svg, .au-steps[data-step="3"] .step:nth-child(3) .step-num svg, .au-steps[data-step="3"] .step:nth-child(5) .step-num svg { animation: au-draw .5s .45s var(--ev-e-out) forwards; }
.au-steps .step:nth-child(1) .step-label, .au-steps .step:nth-child(3) .step-label { color: var(--ev-ink); }
.au-steps[data-step="2"] .step:nth-child(3) .step-num { background: var(--ev-lagoon); color: #fff; box-shadow: none; transform: translateY(-3px); }
.au-steps[data-step="2"] .step:nth-child(3) .step-num::after { content: ""; position: absolute; inset: 0; border-radius: 11px; border: 2px solid var(--ev-lagoon); animation: au-ring-out 2s var(--ev-e-out) infinite; pointer-events: none; }
.au-steps[data-step="3"] .step:nth-child(5) .step-num { background: var(--ev-amber); color: var(--ev-lagoon); box-shadow: none; transform: translateY(-3px) rotate(-4deg); }
.au-steps[data-step="3"] .step:nth-child(5) .step-label { color: var(--ev-ink); }

/* the document scene */
.au-doc { width: 100%; max-width: 420px; }
.au-doc svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 26px 36px rgba(11, 61, 57, .16)); animation: au-float 7s ease-in-out infinite; }
.au-sheet-back { fill: var(--ev-mist-2); stroke: var(--ev-line); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; transform: rotate(5deg); }
.au-sheet { transform-box: fill-box; transform-origin: center; transform: rotate(-1.5deg); }
.au-sheet-face { fill: #fff; stroke: var(--ev-tif-2); stroke-width: 2; }
.au-mk, .au-ink { stroke: var(--ev-lagoon); stroke-width: 2.4; }
.au-faint { stroke: #d3e6e3; stroke-width: 4; }
.au-photo { fill: var(--ev-mist); stroke: var(--ev-line); stroke-width: 1.5; }
.au-sun { fill: var(--ev-amber); stroke: none; }
.au-price { stroke: var(--ev-amber); stroke-width: 6; }
.au-row rect { fill: var(--ev-mist); stroke: var(--ev-tif-2); stroke-width: 1.8; }
.au-tick { stroke: var(--ev-lagoon); stroke-width: 2.6; stroke-dasharray: 20; stroke-dashoffset: 20; animation: au-draw .4s calc(1.7s + var(--r, 0) * .28s) forwards; }
.au-stamp { transform-box: fill-box; transform-origin: center; transform: rotate(-10deg); opacity: 0; }
.au-doc.is-in .au-stamp { animation: au-stamp .9s 1.5s var(--ev-e-out) forwards; }
.au-stamp-pulse { stroke: #e8a900; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.au-doc.is-in .au-stamp-pulse { animation: au-stamp-pulse .8s 2.15s ease-out; }
.au-st-a { stroke: #e8a900; stroke-width: 4; }
.au-st-b { stroke: #e8a900; stroke-width: 1.4; stroke-dasharray: 3 3; }
.au-st-t { font: 600 7.4px/1 var(--ev-f-mono); fill: var(--ev-lagoon); letter-spacing: .08em; stroke: none; }
.au-st-h { stroke: #e8a900; stroke-width: 2.6; }
.au-cl-side.is-claimed .au-st-a { stroke: var(--ev-ok); }

/* the card */
.au-claim .claim-card { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--ev-r-lg); background: #fff; box-shadow: var(--ev-shadow-2), 0 0 0 1px rgba(10, 22, 40, .05); animation: au-in .7s .1s var(--ev-e-out) both; }
.au-claim .claim-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -14px; height: 14px; border-left: 1px solid var(--ev-tif-2); border-right: 1px solid var(--ev-tif-2); opacity: .55; pointer-events: none; }
.au-claim .claim-card::after { content: ""; position: absolute; left: 24px; right: 24px; top: -7px; height: 1px; background: var(--ev-tif-2); opacity: .55; pointer-events: none; transform-origin: 0 50%; animation: au-dim 1s .5s var(--ev-e-in-out) both; }
.au-claim .claim-card > div { animation: au-in .5s var(--ev-e-out) both; }
.au-claim #state-match, .au-claim #state-no-match, .au-claim #state-success { display: none; }
.au-claim .match-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); color: var(--ev-tif-text); font: 500 .74rem/1.2 var(--ev-f-mono); letter-spacing: .08em; text-transform: uppercase; }
.au-claim .match-badge svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.au-claim .match-title { margin: 0 0 10px; font: 700 clamp(1.3rem, 1.05rem + 1vw, 1.7rem)/1.18 var(--ev-f-display); letter-spacing: -.03em; color: var(--ev-ink); text-wrap: balance; }
.au-nb { white-space: nowrap; }
.au-claim .match-sub { margin: 0 0 24px; font-size: 1rem; line-height: 1.6; color: var(--ev-ink-2); }
.au-benefits { margin: 0 0 22px; padding: 18px; gap: 16px; border-radius: 16px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); }
.au-benefits > li { padding-left: 38px; }
.au-benefits b { display: block; color: var(--ev-ink); font-size: 1rem; line-height: 1.35; }
.au-benefits span { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.45; color: var(--ev-ink-3); }

.au-claim .claim-btn, .au-claim .go-home-btn, .au-claim .dash-btn { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 0 0 10px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ev-tif); color: var(--ev-lagoon); font: 700 1rem/1.2 var(--ev-f-body); text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(91, 189, 183, .7); transition: transform .35s var(--ev-e-out), box-shadow .3s, background .3s, opacity .3s; }
.au-claim .go-home-btn, .au-claim .dash-btn { display: inline-flex; width: auto; padding: 0 30px; margin: 0; }
.au-claim .claim-btn::before, .au-claim .go-home-btn::before, .au-claim .dash-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.au-claim .claim-btn:hover:not(:disabled), .au-claim .go-home-btn:hover, .au-claim .dash-btn:hover { background: #8fe0d8; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(91, 189, 183, .85); }
.au-claim .claim-btn:hover:not(:disabled)::before, .au-claim .go-home-btn:hover::before, .au-claim .dash-btn:hover::before { transition: transform .8s var(--ev-e-out); transform: translateX(120%); }
.au-claim .claim-btn:active:not(:disabled), .au-claim .go-home-btn:active, .au-claim .dash-btn:active { transform: scale(.97); }
.au-claim .claim-btn:disabled { opacity: .5 !important; cursor: not-allowed !important; box-shadow: none; }
.au-claim .claim-btn:not(:disabled) { opacity: 1 !important; cursor: pointer !important; }
.au-claim .deny-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ev-line); color: var(--ev-ink-2); font: 600 .92rem/1.2 var(--ev-f-body); cursor: pointer; transition: box-shadow .25s, color .25s, transform .3s var(--ev-e-out); }
.au-claim .deny-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ev-tif-2); color: var(--ev-ink); transform: translateY(-1px); }
.au-claim .au-alt { position: relative; display: block; width: fit-content; margin: 16px auto 0; color: var(--ev-tif-text); font-weight: 600; font-size: .92rem; text-decoration: none; }
.au-claim .au-alt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ev-e-out); }
.au-claim .au-alt:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

/* loading: a document being scanned */
.au-claim #state-loading { text-align: center; padding: 18px 0 10px; }
.au-scan, .au-empty, .au-done { width: 112px; height: 112px; margin: 0 auto 18px; }
.au-scan svg, .au-empty svg, .au-done svg { width: 100%; height: 100%; overflow: visible; }
.au-scan-doc { fill: #fff; stroke: var(--ev-tif-2); stroke-width: 2.4; }
.au-scan-beam { fill: var(--ev-tif-2); opacity: 0; animation: au-scan 2.2s ease-in-out infinite; }
.au-ld-t { font: 700 1.05rem/1.3 var(--ev-f-body); color: var(--ev-ink); margin: 0 0 4px; }
.au-ld-s { font-size: .9rem; color: var(--ev-ink-3); margin: 0; }

/* match: previews, agent, verification */
.au-claim .listing-previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; }
.au-claim .preview-img { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); animation: au-pop .5s var(--ev-e-out) both; }
.au-claim .preview-img:nth-child(1) { animation-delay: .1s; }
.au-claim .preview-img:nth-child(2) { animation-delay: .2s; }
.au-claim .preview-img img { width: 100%; height: 100%; object-fit: cover; }
.au-claim .preview-more { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--ev-mist); box-shadow: inset 0 0 0 1.5px var(--ev-tif); font: 600 .88rem/1 var(--ev-f-mono); color: var(--ev-lagoon); animation: au-pop .5s .3s var(--ev-e-out) both; }
.au-claim .listing-count-text { margin: 0 0 20px; text-align: center; font: 500 .78rem/1.4 var(--ev-f-mono); letter-spacing: .03em; color: var(--ev-ink-3); }
.au-claim .agent-row { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); }
.au-claim .agent-avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ev-lagoon); color: var(--ev-tif); font: 700 .95rem/1 var(--ev-f-display); }
.au-claim .agent-name { font-weight: 700; font-size: 1rem; color: var(--ev-ink); }
.au-claim .agent-phone { margin-top: 2px; font: 500 .82rem/1.2 var(--ev-f-mono); color: var(--ev-ink-3); }
.au-claim .agent-verified { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: #e3f6ec; color: var(--ev-ok); font: 600 .72rem/1 var(--ev-f-mono); letter-spacing: .03em; white-space: nowrap; }
.au-verify { margin: 0 0 16px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-line); transition: box-shadow .35s; }
.au-verify.is-ok { box-shadow: inset 0 0 0 2px var(--ev-ok); }
.au-verify-head { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; }
.au-lock { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ev-mist); color: var(--ev-lagoon); transition: background .4s, color .4s; }
.au-lock svg { width: 22px; height: 22px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.au-shackle { transform-origin: 16px 11px; transition: transform .6s var(--ev-e-out); }
.au-verify.is-ok .au-lock { background: #e3f6ec; color: var(--ev-ok); }
.au-verify.is-ok .au-shackle { transform: translate(1px, -3px) rotate(-26deg); }
.au-verify-t { font: 700 .98rem/1.3 var(--ev-f-body); color: var(--ev-ink); }
.au-verify-h { margin-top: 2px; font-size: .86rem; line-height: 1.45; color: var(--ev-ink-2); }
.au-otp { --cell: 56px; position: relative; width: calc(var(--cell) * 4 + 4px); max-width: 100%; margin: 0 auto; }
.au-otp input { display: block; width: 100%; height: 60px; padding: 0 0 0 calc((var(--cell) - 1ch) / 2); border: 2px solid var(--ev-line); border-radius: 14px; background-color: #f6f9f9; background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(var(--cell) - 1px), var(--ev-line) calc(var(--cell) - 1px), var(--ev-line) var(--cell)); font: 700 1.6rem/1 var(--ev-f-mono); letter-spacing: calc(var(--cell) - 1ch); text-align: left; color: var(--ev-ink); outline: none; transition: box-shadow .25s, background-color .25s, border-color .25s; }
.au-otp input::placeholder { color: #a9b7c2; opacity: 1; }
.au-otp input:focus { background-color: #fff; box-shadow: 0 0 0 5px rgba(129, 216, 208, .25); }
.au-otp::after { content: ""; position: absolute; left: calc(var(--len, 0) * var(--cell) + 12px); bottom: 9px; width: calc(var(--cell) - 20px); height: 3px; border-radius: 3px; background: var(--ev-tif-2); opacity: 0; transition: left .3s var(--ev-e-out), opacity .2s; pointer-events: none; }
.au-otp.is-focus:not(.is-full)::after { opacity: 1; }
.au-claim #verify-error { margin: 10px 0 0; text-align: center; font: 600 .84rem/1.4 var(--ev-f-body); color: var(--ev-danger); animation: au-shake .4s var(--ev-e-out); }

/* no match / success */
.au-claim #state-no-match, .au-claim #state-success { text-align: center; padding: 10px 0 4px; }
.au-claim #state-no-match h2, .au-claim #state-success h2 { margin: 0 0 8px; font: 700 clamp(1.25rem, 1rem + 1vw, 1.55rem)/1.2 var(--ev-f-display); letter-spacing: -.03em; color: var(--ev-ink); }
.au-claim #state-no-match p, .au-claim #state-success p { margin: 0 0 24px; font-size: .95rem; line-height: 1.6; color: var(--ev-ink-2); }
.au-lens { animation: au-lens 3.4s ease-in-out infinite; }
.au-lens circle, .au-lens path { stroke: var(--ev-lagoon); stroke-width: 3; }
.au-lens circle { fill: rgba(129, 216, 208, .18); }
.au-claim .countdown-text { font-size: .85rem; color: var(--ev-ink-3); }

/* the page's success flash */
.au-claim .auth-success-overlay { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(240, 253, 251, .86); opacity: 0; pointer-events: none; transition: opacity .4s; }
.au-claim .auth-success-overlay.show { opacity: 1; pointer-events: all; }
.au-claim .auth-success-circle { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: var(--ev-tif); box-shadow: 0 0 0 14px rgba(129, 216, 208, .35); transform: scale(0); }
.au-claim .auth-success-overlay.show .auth-success-circle { animation: au-disc-pop .6s var(--ev-e-out) forwards; }
.au-claim .auth-success-check { stroke: var(--ev-lagoon); stroke-dasharray: 60; stroke-dashoffset: 60; }
.au-claim .auth-success-overlay.show .auth-success-check { animation: au-draw .5s .3s ease forwards; }

@media (max-width: 900px) {
  .au-claim .claim-page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "steps" "side" "card"; gap: 22px; padding-top: 24px; }
  .au-cl-side { position: static; }
  .au-doc { max-width: 300px; }
}
@media (max-width: 480px) {
  .au-claim .claim-card { padding: 22px 18px; }
  .au-otp { --cell: 52px; }
  .au-steps .step { width: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  .au-tick, .au-scan-beam { animation: none; stroke-dashoffset: 0; }
  .au-stamp { opacity: 1; }
  .au-doc svg { animation: none; }
}

/* ═════════════════════════════════════════════════════════════════════════
   /claim-preview — portfolio configurator: forms on the left, a live agency
   card (stamped in the chosen colour) on the right
   ═════════════════════════════════════════════════════════════════════════ */

:root {
  /* the page's script writes --active-theme on <html>; these defaults live there too */
  --text-muted: var(--ev-ink-2);
  --theme-tiffany: #81D8D0;
  --theme-gold: #f59e0b;
  --theme-emerald: #10b981;
  --theme-sapphire: #3b82f6;
  --theme-rose: #f43f5e;
  --active-theme: var(--theme-tiffany);
}
@keyframes au-check-in { from { transform: rotate(-45deg) scale(0); } to { transform: rotate(-45deg) scale(1); } }

.au-preview { min-height: 100vh; min-height: 100dvh; }
.au-preview .cp-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 clamp(16px, 4vw, 40px); background: #fff; border-bottom: 1px solid var(--ev-line); }
.au-preview .cp-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-radius: 10px; }
.au-preview .cp-logo svg { width: 28px; height: 28px; color: var(--ev-tif-text); }
.au-preview .cp-logo-text { font: 800 1.2rem/1 var(--ev-f-body); letter-spacing: -.03em; color: var(--ev-ink); }
.au-preview .cp-logo-dot { color: var(--ev-tif-text); }

.au-pv-state { text-align: center; padding: clamp(56px, 12vh, 120px) 24px; }
.au-pv-state h2 { margin: 0 0 8px; font: 700 clamp(1.25rem, 1rem + 1vw, 1.6rem)/1.2 var(--ev-f-display); letter-spacing: -.03em; color: var(--ev-ink); }
.au-pv-state p { margin: 0; color: var(--ev-ink-2); }

.au-preview .config-container { max-width: 1120px; margin: 0 auto; padding: 34px clamp(16px, 4vw, 40px) 150px; }
.au-pv-head { max-width: 760px; margin: 0 0 30px; }
.au-pv-pill { margin: 0 0 16px; }
.au-preview .config-title { margin: 0 0 10px; text-align: left; font: 700 clamp(1.8rem, 1.1rem + 2.6vw, 2.8rem)/1.08 var(--ev-f-display); letter-spacing: -.035em; color: var(--ev-ink); text-wrap: balance; }
.au-preview .config-subtitle { max-width: 36em; margin: 0; text-align: left; font-size: 1.05rem; line-height: 1.6; color: var(--ev-ink-2); }
.au-pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "forms live"; gap: 28px clamp(24px, 4vw, 56px); align-items: start; }
.au-pv-forms { grid-area: forms; display: grid; gap: 20px; min-width: 0; }
.au-pv-live { grid-area: live; position: sticky; top: 92px; }

.au-preview .config-section { position: relative; margin: 0; padding: clamp(20px, 3vw, 28px); border-radius: var(--ev-r-lg); background: #fff; box-shadow: var(--ev-shadow-1), 0 0 0 1px rgba(10, 22, 40, .05); overflow: hidden; }
.au-preview .config-section::before { content: ""; position: absolute; left: 28px; top: 0; width: 46px; height: 4px; border-radius: 0 0 4px 4px; background: var(--active-theme); transition: background .4s; }
.au-preview .section-header { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 700 1.08rem/1.3 var(--ev-f-display); letter-spacing: -.02em; color: var(--ev-ink); }
.au-preview .section-header--split { justify-content: space-between; gap: 12px; }
.au-preview #prop-count { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); font: 500 .78rem/1.2 var(--ev-f-mono); color: var(--ev-tif-text); }
.au-preview .config-note { margin: 0 0 16px; font-size: .92rem; line-height: 1.55; color: var(--ev-ink-2); }

/* uploads */
.au-preview .branding-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.au-preview .upload-box { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 150px; padding: 20px; border-radius: 18px; background: var(--ev-mist); box-shadow: inset 0 0 0 1.5px var(--ev-line); text-align: center; cursor: pointer; transition: box-shadow .3s, transform .35s var(--ev-e-out), background .3s; }
.au-preview .upload-box::before { content: ""; position: absolute; inset: 8px; z-index: 2; border-radius: 12px; border: 1.5px dashed var(--ev-tif-2); opacity: .6; pointer-events: none; transition: opacity .3s, inset .35s var(--ev-e-out); }
.au-preview .upload-box:hover, .au-preview .upload-box:focus-within { transform: translateY(-3px); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-tif-2), 0 14px 26px -14px rgba(11, 61, 57, .35); }
.au-preview .upload-box:hover::before, .au-preview .upload-box:focus-within::before { inset: 5px; opacity: 1; }
.au-preview .upload-box:focus-within { outline: 3px solid var(--ev-tif-2); outline-offset: 2px; }
/* the file input stays focusable: invisible, covering the tile */
.au-preview .upload-box input[type="file"] { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.au-preview .upload-box > svg { position: relative; z-index: 1; width: 34px; height: 34px; margin: 0 0 10px; color: var(--ev-tif-text); transition: transform .45s var(--ev-e-out); }
.au-preview .upload-box:hover > svg { transform: translateY(-4px); }
.au-preview .upload-box-text { position: relative; z-index: 1; font: 700 .95rem/1.3 var(--ev-f-body); color: var(--ev-ink); }
.au-preview .upload-box-sub { position: relative; z-index: 1; margin-top: 4px; font: 500 .72rem/1.3 var(--ev-f-mono); letter-spacing: .03em; color: var(--ev-ink-3); }
.au-preview .upload-box img.preview { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.au-preview .upload-box:has(img.preview[style*="block"]) img.preview { opacity: 1; }
.au-preview .upload-box:has(img.preview[style*="block"]) > svg, .au-preview .upload-box:has(img.preview[style*="block"]) .upload-box-text, .au-preview .upload-box:has(img.preview[style*="block"]) .upload-box-sub { opacity: 0; transition: opacity .3s; }
.au-preview .upload-box:has(img.preview[style*="block"]):hover > svg, .au-preview .upload-box:has(img.preview[style*="block"]):hover .upload-box-text, .au-preview .upload-box:has(img.preview[style*="block"]):hover .upload-box-sub { opacity: 1; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.au-preview .upload-box:has(img.preview[style*="block"]):hover::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(11, 61, 57, .55); }

/* colour swatches */
.au-preview .theme-picker { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; margin-top: 6px; }
.au-preview .theme-swatch { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-line); cursor: pointer; transition: transform .35s var(--ev-e-out), box-shadow .3s; }
.au-preview .theme-swatch-inner { width: 32px; height: 32px; border-radius: 50%; background: currentColor; transition: transform .35s var(--ev-e-out); }
.au-preview .theme-swatch:hover { transform: translateY(-3px); }
.au-preview .theme-swatch.active { transform: none; box-shadow: inset 0 0 0 2.5px currentColor, 0 10px 18px -10px currentColor; }
.au-preview .theme-swatch.active .theme-swatch-inner { transform: scale(.8); }
.au-preview .theme-swatch.active::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 6px; margin: -5px 0 0 -6px; border-left: 2.6px solid var(--ev-ink); border-bottom: 2.6px solid var(--ev-ink); transform: rotate(-45deg); animation: au-check-in .35s var(--ev-e-spring) both; }

/* the listings the page renders */
.au-preview .property-list { display: grid; gap: 10px; }
.au-preview .property-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); transition: transform .3s var(--ev-e-out), box-shadow .3s, opacity .3s; }
.au-preview .property-item:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ev-tif-2); }
.au-preview .property-item.deleted { opacity: .5; transform: none; }
.au-preview .property-item.deleted .prop-title { text-decoration: line-through; }
.au-preview .prop-img { flex: none; width: 88px; height: 64px; border-radius: 11px; background: #dbe8e6; object-fit: cover; }
.au-preview .prop-info { flex: 1; min-width: 0; }
.au-preview .prop-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 .98rem/1.3 var(--ev-f-body); color: var(--ev-ink); }
.au-preview .prop-meta { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 4px; font-size: .82rem; color: var(--ev-ink-3); }
.au-preview .prop-price { padding: 0 2px; font-weight: 800; color: var(--ev-ink); background: linear-gradient(var(--active-theme), var(--active-theme)) 0 92% / 100% 5px no-repeat; }
.au-preview .btn-delete { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-line); color: var(--ev-ink-2); font: 600 .84rem/1 var(--ev-f-body); cursor: pointer; transition: box-shadow .25s, color .25s, background .25s, transform .3s var(--ev-e-out); }
.au-preview .btn-delete svg { width: 15px; height: 15px; }
.au-preview .btn-delete:hover { background: #fff3f3; box-shadow: inset 0 0 0 1.5px #e8a3a3; color: var(--ev-danger); transform: translateY(-1px); }
.au-preview .btn-undo { padding: 8px 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-tif-2); color: var(--ev-ink); font: 600 .84rem/1 var(--ev-f-body); cursor: pointer; }

/* the live agency card */
.au-live-cap { margin: 0 0 12px; }
.au-live-cap .ev-mono { display: inline-flex; align-items: center; gap: 10px; color: var(--ev-tif-text); }
.au-live-cap .ev-mono::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.au-live-card { position: relative; border-radius: 22px; background: #fff; box-shadow: var(--ev-shadow-2), 0 0 0 1px rgba(10, 22, 40, .05); }
.au-live-cover { position: relative; height: 120px; border-radius: 22px 22px 0 0; overflow: hidden; background: var(--active-theme); transition: background .45s; }
.au-live-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px); background-size: 24px 24px; }
.au-live-cover img { position: absolute; inset: 0; display: none; width: 100%; height: 100%; object-fit: cover; }
.au-live-card.has-img .au-live-cover img { display: block; }
.au-live-body { position: relative; margin-top: -32px; padding: 0 20px 22px; }
.au-live-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; overflow: hidden; background: #fff; color: var(--ev-lagoon); box-shadow: 0 0 0 4px #fff, var(--ev-shadow-1); }
.au-live-logo svg { width: 34px; height: 34px; }
.au-live-logo img { display: none; width: 100%; height: 100%; object-fit: cover; }
.au-live-logo.has-img img { display: block; }
.au-live-logo.has-img svg { display: none; }
.au-live-name { margin-top: 12px; font: 700 1.15rem/1.25 var(--ev-f-display); letter-spacing: -.02em; color: var(--ev-ink); overflow-wrap: anywhere; }
.au-live-meta { margin-top: 4px; font: 500 .8rem/1.3 var(--ev-f-mono); color: var(--ev-ink-3); }
.au-live-meta b { font-weight: 600; color: var(--ev-ink-2); }
.au-live-rows { display: grid; gap: 12px; margin-top: 18px; }
.au-live-row { display: grid; grid-template-columns: 54px 1fr 34px; gap: 10px; align-items: center; }
.au-live-row i { display: block; height: 42px; border-radius: 9px; background: var(--ev-mist-2); }
.au-live-row span { display: block; height: 30px; background: linear-gradient(#dfe9e7, #dfe9e7) 0 0 / 100% 9px no-repeat, linear-gradient(#ebf1f0, #ebf1f0) 0 20px / 60% 9px no-repeat; }
.au-live-row em { display: block; height: 10px; border-radius: 6px; background: var(--active-theme); transition: background .45s; }
.au-live-cta { margin-top: 18px; }
.au-live-cta span { display: block; height: 42px; border-radius: 999px; background: var(--active-theme); transition: background .45s; }
.au-live-stamp { position: absolute; right: -16px; bottom: 58px; width: 112px; height: 112px; pointer-events: none; overflow: visible; }
.au-pv-stamp { transform-box: fill-box; transform-origin: center; opacity: 0; }
.au-live-stamp.is-stamped .au-pv-stamp { animation: au-stamp .9s .5s var(--ev-e-out) forwards; }
.au-live-stamp .au-st-a, .au-live-stamp .au-st-b, .au-live-stamp .au-st-h { stroke: var(--active-theme); }
.au-live-stamp .au-st-a { stroke-width: 3.6; }
.au-live-stamp .au-st-t { font-size: 8.4px; fill: var(--ev-ink); }

/* bottom bar */
.au-preview .bottom-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; padding: 14px clamp(16px, 4vw, 40px) calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--ev-line); box-shadow: 0 -10px 30px -14px rgba(11, 61, 57, .22); }
.au-preview .cta-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.au-preview .btn-activate { position: relative; overflow: hidden; isolation: isolate; min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--active-theme); color: #0a1628; font: 700 1rem/1.2 var(--ev-f-body); cursor: pointer; box-shadow: 0 8px 20px -10px var(--active-theme); transition: transform .35s var(--ev-e-out), box-shadow .3s, background .45s; }
.au-preview .btn-activate::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.au-preview .btn-activate:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px var(--active-theme); }
.au-preview .btn-activate:hover::before { transition: transform .8s var(--ev-e-out); transform: translateX(120%); }
.au-preview .btn-activate:active { transform: scale(.97); }
.au-preview .btn-decline { padding: 8px 4px; border: 0; background: none; color: var(--ev-ink-2); font: 600 .9rem/1.2 var(--ev-f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .25s; }
.au-preview .btn-decline:hover { color: var(--ev-danger); }

/* activation modal */
.au-preview .modal-overlay { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; padding: 16px; background: rgba(10, 22, 40, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.au-preview .modal-overlay.active { opacity: 1; pointer-events: auto; }
.au-preview .modal-content { width: 100%; max-width: 420px; padding: 30px 28px 24px; border-radius: 26px; background: #fff; box-shadow: var(--ev-shadow-2); transform: translateY(14px) scale(.97); transition: transform .45s var(--ev-e-out); }
.au-preview .modal-overlay.active .modal-content { transform: none; }
.au-modal-ico { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 16px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); color: var(--ev-lagoon); }
.au-modal-ico svg { width: 28px; height: 28px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.au-modal-ico .acc { stroke: var(--ev-tif-2); }
.au-preview .modal-title { margin: 0 0 8px; text-align: center; font: 700 1.35rem/1.2 var(--ev-f-display); letter-spacing: -.03em; color: var(--ev-ink); }
.au-preview .modal-sub { margin: 0 0 22px; text-align: center; font-size: .92rem; line-height: 1.55; color: var(--ev-ink-2); }
.au-preview .input-group { margin: 0 0 14px; }
.au-preview .input-group label { display: block; margin: 0 0 7px; font: 500 .72rem/1.3 var(--ev-f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ev-ink-3); }
.au-preview .input-group input { display: block; width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px; background: #f6f9f9; box-shadow: inset 0 0 0 1.5px #e1eaea; font: 400 1rem/1.4 var(--ev-f-body); color: var(--ev-ink); outline: none; transition: box-shadow .25s var(--ev-e-out), background .25s; }
.au-preview .input-group input::placeholder { color: #6b7886; opacity: 1; }
.au-preview .input-group input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--ev-tif-2), 0 0 0 5px rgba(129, 216, 208, .25); }
.au-preview .btn-submit { display: block; width: 100%; min-height: 52px; margin-top: 6px; border: 0; border-radius: 999px; background: var(--active-theme); color: #0a1628; font: 700 1rem/1.2 var(--ev-f-body); cursor: pointer; transition: transform .3s var(--ev-e-out), box-shadow .3s, opacity .3s; }
.au-preview .btn-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 26px -12px var(--active-theme); }
.au-preview .btn-submit:disabled { opacity: .7; cursor: progress; }
.au-preview .btn-cancel { display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 0; background: none; color: var(--ev-ink-2); font: 600 .92rem/1.2 var(--ev-f-body); cursor: pointer; transition: color .25s; }
.au-preview .btn-cancel:hover { color: var(--ev-ink); }
/* the page builds a "confirm your e-mail" message with inline white text for its old dark theme */
.au-preview #state-main strong[style*="#fff"] { color: var(--ev-ink) !important; }

@media (max-width: 980px) {
  .au-pv-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "live" "forms"; }
  .au-pv-live { position: static; max-width: 420px; }
  .au-live-stamp { right: -8px; }
}
@media (max-width: 640px) {
  .au-preview .config-container { padding-bottom: 190px; }
  .au-preview .branding-grid { grid-template-columns: 1fr; }
  .au-live-rows { display: none; }
  .au-live-stamp { bottom: 40px; width: 92px; height: 92px; }
  .au-preview .cta-inner { flex-direction: column-reverse; align-items: stretch; gap: 6px; text-align: center; }
  .au-preview .btn-activate { width: 100%; }
  .au-preview .property-item { flex-wrap: wrap; }
  .au-preview .prop-info { flex-basis: calc(100% - 110px); }
  .au-preview .btn-delete, .au-preview .btn-undo { margin-left: 102px; }
}
@media (prefers-reduced-motion: reduce) {
  .au-pv-stamp { opacity: 1; }
}

/* ═════════════════════════════════════════════════════════════════════════
   /import — bulk import (admin): file, columns, result
   ═════════════════════════════════════════════════════════════════════════ */

@keyframes au-chev { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }
@keyframes au-shackle { 0%, 52% { transform: none; } 62%, 84% { transform: translate(3px, -6px) rotate(-24deg); } 94%, 100% { transform: none; } }
@keyframes au-dash-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.au-import { min-height: 100vh; min-height: 100dvh; padding: 28px clamp(16px, 4vw, 40px) 72px; }
.au-import .container { width: 100%; max-width: 920px; margin: 0 auto; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.au-imp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.au-imp-pill { margin: 0 0 14px; }
.au-import h1 { margin: 0; font: 700 clamp(1.5rem, 1rem + 2vw, 2.3rem)/1.12 var(--ev-f-display); letter-spacing: -.035em; color: var(--ev-ink); text-wrap: balance; }
.au-import .au-back { flex: none; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ev-line); background: #fff; font: 600 .88rem/1 var(--ev-f-body); color: var(--ev-ink-2); text-decoration: none; transition: box-shadow .25s, color .25s, transform .3s var(--ev-e-out); }
.au-import .au-back:hover { box-shadow: inset 0 0 0 1.5px var(--ev-tif-2); color: var(--ev-ink); transform: translateX(-3px); }

/* the three-step flow */
.au-import:has(#auth-gate[style*="block"]) .au-flow { display: none; }
.au-flow { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto; align-items: start; width: 100%; max-width: 520px; margin: 0 0 24px; }
.au-flow .fl { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 76px; }
.au-flow .fl span { font: 600 .82rem/1.2 var(--ev-f-body); color: var(--ev-ink-3); text-align: center; transition: color .3s; }
.au-flow .nd { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-line); font: 600 .8rem/1 var(--ev-f-mono); color: var(--ev-ink-3); transition: background .5s var(--ev-e-out), color .5s, box-shadow .5s, transform .5s var(--ev-e-spring); }
.au-flow .nd b { font-weight: 600; transition: opacity .25s; }
.au-flow .nd svg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.au-flow .ln { position: relative; height: 2px; margin: 16px 0 0; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--ev-line) 0 6px, transparent 6px 11px); overflow: hidden; }
.au-flow .ln::after { content: ""; position: absolute; inset: 0; background: var(--ev-tif-2); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ev-e-out); }
/* current */
.au-flow[data-step="1"] .fl:nth-child(1) .nd, .au-flow[data-step="2"] .fl:nth-child(3) .nd { background: var(--ev-lagoon); color: #fff; box-shadow: none; transform: translateY(-3px); }
.au-flow[data-step="1"] .fl:nth-child(1) .nd::after, .au-flow[data-step="2"] .fl:nth-child(3) .nd::after { content: ""; position: absolute; inset: 0; border-radius: 11px; border: 2px solid var(--ev-lagoon); animation: au-ring-out 2s var(--ev-e-out) infinite; pointer-events: none; }
.au-flow[data-step="1"] .fl:nth-child(1) span, .au-flow[data-step="2"] .fl:nth-child(3) span, .au-flow[data-step="3"] .fl span { color: var(--ev-ink); }
/* done */
.au-flow[data-step="2"] .fl:nth-child(1) .nd, .au-flow[data-step="3"] .fl:nth-child(-n+3) .nd { background: var(--ev-tif); color: var(--ev-lagoon); box-shadow: none; }
.au-flow[data-step="2"] .fl:nth-child(1) .nd b, .au-flow[data-step="3"] .fl .nd b { opacity: 0; }
.au-flow[data-step="2"] .fl:nth-child(1) .nd svg, .au-flow[data-step="3"] .fl:nth-child(-n+3) .nd svg, .au-flow[data-step="3"] .fl:nth-child(5) .nd svg { animation: au-draw .5s .2s var(--ev-e-out) forwards; }
.au-flow[data-step="3"] .fl:nth-child(5) .nd { background: var(--ev-amber); color: var(--ev-lagoon); box-shadow: none; transform: translateY(-3px) rotate(-4deg); }
.au-flow[data-step="2"] .ln:nth-child(2)::after, .au-flow[data-step="3"] .ln::after { transform: none; }

/* panels */
.au-import #import-ui, .au-import #auth-gate { position: relative; padding: clamp(20px, 3vw, 32px); border-radius: var(--ev-r-lg); background: #fff; box-shadow: var(--ev-shadow-2), 0 0 0 1px rgba(10, 22, 40, .05); animation: au-in .6s var(--ev-e-out) both; }
.au-import #auth-gate { text-align: center; padding: 44px 20px 48px; }
.au-lockscene { width: 112px; height: 112px; margin: 0 auto 16px; }
.au-lockscene svg { width: 100%; height: 100%; overflow: visible; }
.au-lock-body { fill: var(--ev-mist); stroke: var(--ev-lagoon); stroke-width: 3; }
.au-lock-shackle { stroke: var(--ev-lagoon); stroke-width: 3; transform-origin: 76px 56px; animation: au-shackle 4.4s ease-in-out infinite; }
.au-lock-key { fill: var(--ev-tif-2); }
.au-import #auth-gate p { margin: 0 0 22px; font-weight: 600; color: var(--ev-ink-2); }
.au-import .au-gate-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--ev-lagoon); color: #fff; font: 700 .98rem/1 var(--ev-f-body); text-decoration: none; transition: background .3s, transform .35s var(--ev-e-out); }
.au-import .au-gate-btn:hover { background: var(--ev-lagoon-2); transform: translateY(-2px); }
.au-lead { margin: 0 0 14px; font-size: 1rem; line-height: 1.6; color: var(--ev-ink-2); }
.au-warn { margin: 0 0 22px; }

/* drop zone */
.au-import #dropzone { position: relative; isolation: isolate; display: grid; justify-items: center; padding: 28px 20px 34px; border-radius: 22px; background: var(--ev-mist); box-shadow: inset 0 0 0 1.5px var(--ev-line); text-align: center; cursor: pointer; outline: none; transition: background .3s, box-shadow .3s, transform .4s var(--ev-e-out); }
.au-import #dropzone::before { content: ""; position: absolute; inset: 10px; z-index: -1; border-radius: 16px; border: 2px dashed var(--ev-tif-2); opacity: .55; pointer-events: none; transition: inset .35s var(--ev-e-out); }
.au-import #dropzone:hover, .au-import #dropzone:focus-visible, .au-import #dropzone.dragover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ev-tif-2), 0 18px 32px -18px rgba(11, 61, 57, .4); transform: translateY(-2px); }
.au-import #dropzone:focus-visible { outline: 3px solid var(--ev-tif-2); outline-offset: 3px; }
.au-import #dropzone:hover::before, .au-import #dropzone:focus-visible::before { inset: 6px; opacity: 1; }
.au-import #dropzone.dragover::before { inset: 4px; border-color: var(--ev-lagoon); animation: au-dash-pulse 1s ease-in-out infinite; }
.au-drop-art { width: min(230px, 62%); margin: 0 auto 8px; }
.au-drop-art svg { width: 100%; height: auto; overflow: visible; }
.au-sheet-i { transform-box: fill-box; transform-origin: center; animation: au-bob 3.4s ease-in-out infinite; transition: transform .5s var(--ev-e-out); }
.au-import #dropzone:hover .au-sheet-i { animation-duration: 1.6s; }
.au-import #dropzone.dragover .au-sheet-i { animation: none; transform: translateY(20px); }
.au-sh-face { fill: #fff; stroke: var(--ev-tif-2); stroke-width: 2.2; }
.au-sh-head { fill: var(--ev-tif); stroke: var(--ev-tif-2); stroke-width: 2.2; }
.au-sh-grid { stroke: var(--ev-line); stroke-width: 1.6; }
.au-sh-bar { stroke: var(--ev-amber); stroke-width: 4; }
.au-tray-back { stroke: var(--ev-lagoon); stroke-width: 2.4; }
.au-tray { fill: #fff; stroke: var(--ev-lagoon); stroke-width: 2.4; }
.au-tray-in { stroke: var(--ev-tif-2); stroke-width: 2; stroke-dasharray: 4 6; }
.au-chev { stroke: var(--ev-tif-2); stroke-width: 2.6; animation: au-chev 1.6s ease-in-out infinite; }
.au-import #dropzone.dragover .au-chev { animation-duration: .7s; stroke: var(--ev-lagoon); }
.au-import #dropzone h3 { margin: 0; font: 700 1.12rem/1.3 var(--ev-f-body); color: var(--ev-ink); }
.au-import #dropzone p { margin: 6px 0 0; font: 500 .8rem/1.4 var(--ev-f-mono); letter-spacing: .03em; color: var(--ev-ink-3); }
.au-import #file-input { display: none; }

/* mapping */
.au-import #mapping-ui, .au-import #result-ui { display: none; }
.au-import #mapping-ui h2, .au-import #result-ui h2 { margin: 0 0 8px; font: 700 1.15rem/1.3 var(--ev-f-display); letter-spacing: -.02em; color: var(--ev-ink); }
.au-desc { margin: 0 0 14px; font-size: .92rem; line-height: 1.55; color: var(--ev-ink-2); }
.au-meter-wrap { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.au-map-meter { flex: 1; height: 8px; border-radius: 99px; background: var(--ev-mist-2); overflow: hidden; }
.au-map-meter i { display: block; width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--au-p, 0)); background: linear-gradient(90deg, var(--ev-tif-2), var(--ev-amber)); transition: transform .5s var(--ev-e-out); }
.au-meter-wrap b { min-width: 3.4ch; font: 600 .8rem/1 var(--ev-f-mono); color: var(--ev-tif-text); text-align: right; }
.au-import .map-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--ev-line); animation: au-in .5s var(--ev-e-out) both; }
.au-import .map-row:nth-child(2) { animation-delay: .05s; }
.au-import .map-row:nth-child(3) { animation-delay: .1s; }
.au-import .map-row:nth-child(4) { animation-delay: .15s; }
.au-import .map-row:nth-child(5) { animation-delay: .2s; }
.au-import .map-row:nth-child(6) { animation-delay: .25s; }
.au-import .map-label { font: 600 .92rem/1.35 var(--ev-f-body); color: var(--ev-ink); }
.au-import .map-req { margin-left: 4px; color: var(--ev-danger); font-size: .9rem; }
.au-import .map-select { display: block; width: 100%; min-height: 46px; padding: 10px 40px 10px 14px; border: 0; border-radius: 12px; background-color: #f6f9f9; background-image: linear-gradient(45deg, transparent 50%, var(--ev-tif-text) 50%), linear-gradient(135deg, var(--ev-tif-text) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; box-shadow: inset 0 0 0 1.5px #e1eaea; font: 500 .92rem/1.3 var(--ev-f-body); color: var(--ev-ink); outline: none; -webkit-appearance: none; appearance: none; cursor: pointer; transition: box-shadow .25s var(--ev-e-out), background-color .25s; }
.au-import .map-select:hover { box-shadow: inset 0 0 0 1.5px #cddcdc; }
.au-import .map-select:focus { background-color: #fff; box-shadow: inset 0 0 0 2px var(--ev-tif-2), 0 0 0 5px rgba(129, 216, 208, .25); }
.au-import .map-select:has(option:not([value=""]):checked) { box-shadow: inset 0 0 0 2px var(--ev-tif-2); }
.au-import .map-preview { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 .8rem/1.3 var(--ev-f-mono); color: var(--ev-ink-3); }
.au-import .btn { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 24px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ev-tif); color: var(--ev-lagoon); font: 700 1rem/1.2 var(--ev-f-body); cursor: pointer; box-shadow: 0 6px 18px -6px rgba(91, 189, 183, .7); transition: transform .35s var(--ev-e-out), box-shadow .3s, background .3s; }
.au-import .btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.au-import .btn:hover:not(:disabled) { background: #8fe0d8; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(91, 189, 183, .85); }
.au-import .btn:hover:not(:disabled)::after { transition: transform .8s var(--ev-e-out); transform: translateX(120%); }
.au-import .btn:active:not(:disabled) { transform: scale(.97); }
.au-import .btn:disabled { opacity: .85; cursor: progress; }
.au-import .btn:disabled::before { content: ""; flex: none; width: 17px; height: 17px; border: 2.5px solid rgba(11, 61, 57, .25); border-top-color: var(--ev-lagoon); border-radius: 50%; animation: au-spin .7s linear infinite; }

/* result */
.au-result-top { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; margin: 0 0 20px; }
.au-donut { position: relative; width: 160px; height: 160px; }
.au-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.au-donut circle { fill: none; stroke-width: 12; }
.au-donut .trk { stroke: var(--ev-mist-2); }
.au-donut .bad { stroke: var(--ev-danger); opacity: var(--au-has, 0); transition: opacity .5s; }
.au-donut .ok { stroke: var(--ev-ok); stroke-dasharray: 100; stroke-dashoffset: calc(100 * (1 - var(--au-valid, 0))); transition: stroke-dashoffset 1.1s var(--ev-e-out); }
.au-donut b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.5rem/1 var(--ev-f-display); letter-spacing: -.03em; color: var(--ev-ink); font-variant-numeric: tabular-nums; }
.au-import .result-capsule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; background: none; border: 0; }
.au-import .val-card { padding: 16px 10px; border-radius: 16px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); text-align: center; }
.au-import .val-card .num { font: 700 clamp(1.5rem, 1rem + 2vw, 2.1rem)/1.1 var(--ev-f-display); letter-spacing: -.03em; color: var(--ev-ink); font-variant-numeric: tabular-nums; }
.au-import .val-card--ok .num { color: var(--ev-ok); }
.au-import .val-card--bad .num { color: var(--ev-danger); }
.au-import .val-card .lbl { margin-top: 8px; font: 500 .66rem/1.3 var(--ev-f-mono); letter-spacing: .06em; color: var(--ev-ink-3); }
.au-import .error-list { display: grid; gap: 8px; margin-top: 20px; }
.au-import .err-row { position: relative; margin: 0; padding: 12px 14px 12px 40px; border-radius: 14px; background: #fff3f3; box-shadow: inset 0 0 0 1px #f4c9c9; font-size: .88rem; line-height: 1.5; color: #7b2020; animation: au-in .4s var(--ev-e-out) both; }
.au-import .err-row::before { content: ""; position: absolute; left: 16px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--ev-danger); box-shadow: 0 0 0 4px rgba(199, 58, 58, .16); }
.au-import .error-list > div:not(.err-row) { position: relative; padding: 14px 16px 14px 44px; border-radius: 14px; background: #ecf8f2; box-shadow: inset 0 0 0 1px #bfe6d1; color: var(--ev-ok) !important; font-weight: 700; animation: au-in .4s var(--ev-e-out) both; }
.au-import .error-list > div:not(.err-row)::before { content: ""; position: absolute; left: 18px; top: 17px; width: 12px; height: 6px; border-left: 2.6px solid var(--ev-ok); border-bottom: 2.6px solid var(--ev-ok); transform: rotate(-45deg); }
.au-note { margin: 22px 0 0; font-size: .88rem; color: var(--ev-ink-3); }

@media (max-width: 720px) {
  .au-imp-head { flex-direction: column-reverse; align-items: flex-start; }
  .au-import .map-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .au-result-top { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .au-import .result-capsule { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .au-sheet-i, .au-chev, .au-lock-shackle { animation: none; }
}
