/* Public account pages share the AoyTasks public-site palette. */
.aoy-auth-page {
  --auth-bg: #f7f8fc;
  --auth-card: #fff;
  --auth-soft: #f5f5fb;
  --auth-ink: #171d35;
  --auth-muted: #66718a;
  --auth-border: #e5e7f0;
  --auth-violet: #6552e8;
  --auth-link: #5843d0;
  --auth-gold: #f6bc47;
  background: var(--auth-bg);
  color: var(--auth-ink);
  font: 400 14px/1.6 Poppins, Inter, sans-serif;
}
.dark .aoy-auth-page {
  --auth-bg: #111729;
  --auth-card: #191f34;
  --auth-soft: #20273e;
  --auth-ink: #f4f5fb;
  --auth-muted: #adb8d0;
  --auth-border: #31394f;
  --auth-link: #b6a9ff;
  color-scheme: dark;
}
.aoy-auth-refresh { min-height: 100vh; min-height: 100svh; background: var(--auth-bg); }
.aoy-auth-refresh * { box-sizing: border-box; }
.aoy-auth-refresh a, .aoy-auth-refresh button { -webkit-tap-highlight-color: transparent; }
.aoy-auth-refresh a:focus-visible, .aoy-auth-refresh button:focus-visible, .aoy-auth-refresh summary:focus-visible, .aoy-auth-refresh input[type="checkbox"]:focus-visible { outline: 3px solid var(--auth-violet); outline-offset: 4px; }
.aoy-auth-skip { position: fixed; top: -100px; left: 16px; z-index: 999; padding: 12px 20px; border-radius: 10px; background: #6552e8; color: white; }
.aoy-auth-skip:focus { top: 12px; }
.aoy-auth-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(100% - 64px, 1440px); min-height: 88px; margin: 0 auto; }
.aoy-auth-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--auth-ink); font-size: 20px; font-weight: 700; letter-spacing: -.5px; text-decoration: none; }
.aoy-auth-logo img { width: 42px; height: 42px; object-fit: contain; }
.aoy-auth-topnav { display: flex; align-items: center; gap: 24px; }
.aoy-auth-home { display: inline-flex; align-items: center; gap: 9px; color: var(--auth-muted); font-size: 13px; text-decoration: none; }
.aoy-auth-home:hover { color: var(--auth-link); }
.aoy-auth-theme { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--auth-border); border-radius: 50%; background: var(--auth-card); color: var(--auth-ink); cursor: pointer; }
.aoy-auth-theme .aoy-auth-theme-sun, .dark .aoy-auth-theme .aoy-auth-theme-moon { display: none; }
.dark .aoy-auth-theme .aoy-auth-theme-sun { display: block; color: var(--auth-gold); }
.aoy-auth-refresh .aoy-auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); width: min(100% - 64px, 1440px); min-height: calc(100svh - 112px); margin: 0 auto; padding-bottom: 24px; background: transparent; color: var(--auth-ink); }
.aoy-auth-refresh .aoy-auth-visual { display: flex; flex-direction: column; justify-content: center; position: relative; min-width: 0; padding: clamp(28px, 3.5vw, 54px); border: 1px solid #2c3354; border-radius: 26px; overflow: hidden; background: radial-gradient(ellipse at 5% 10%, #343068 0, transparent 45%), radial-gradient(ellipse at 90% 90%, #272a47 0, transparent 48%), #141b31; }
.aoy-auth-refresh .aoy-auth-visual::before { width: 440px; height: 440px; top: -280px; right: -210px; border-color: #a799ec26; }
.aoy-auth-refresh .aoy-auth-visual::after { width: 420px; height: 420px; bottom: -310px; left: -160px; border-color: #a799ec26; }
.aoy-auth-refresh .aoy-auth-visual-copy { position: relative; z-index: 2; width: 100%; max-width: 490px; margin: 0; text-align: left; }
.aoy-auth-refresh .aoy-auth-visual-kicker { display: inline-flex; align-items: center; gap: 9px; color: #cdc4ff; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
.aoy-auth-refresh .aoy-auth-visual-kicker::before { content: none; }
.aoy-auth-visual-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #f6bc47; box-shadow: 0 0 0 5px #f6bc4710; }
.aoy-auth-refresh .aoy-auth-visual-copy h2 { margin: 24px 0 0; color: #fff; font-size: clamp(32px, 3.4vw, 52px); font-weight: 600; letter-spacing: -1.9px; line-height: 1.14; }
.aoy-auth-visual-copy h2 span { color: #beb0ff; }
.aoy-auth-refresh .aoy-auth-visual-copy p { max-width: 430px; margin: 20px 0 0; color: #bdc5db; font-size: 14px; line-height: 1.8; }
.aoy-auth-refresh .aoy-auth-art { position: relative; display: grid; min-height: 0; place-items: center; flex: 1 1 auto; margin: 4px -36px; }
.aoy-auth-refresh .aoy-auth-art img { display: block; width: 100%; height: auto; max-height: 385px; object-fit: contain; filter: drop-shadow(0 20px 24px #090d2540); }
.aoy-auth-art-glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: #7662f01a; filter: blur(40px); }
.aoy-auth-story-foot { position: relative; display: flex; align-items: center; gap: 14px; padding-top: 23px; border-top: 1px solid #ffffff1a; }
.aoy-auth-story-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid #f6bc4733; border-radius: 12px; background: #f6bc470c; color: #f6bc47; font-size: 17px; }
.aoy-auth-story-foot strong { color: #f6f5ff; font-size: 12px; font-weight: 600; }
.aoy-auth-story-foot p { margin: 4px 0 0; color: #aeb8cf; font-size: 11px; line-height: 1.7; }
.aoy-auth-story-foot a { color: #ddd4ff; text-decoration: underline; text-underline-offset: 3px; }
.aoy-auth-story-foot a i { font-size: 9px; }
.aoy-auth-refresh .aoy-auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; min-width: 0; min-height: 0; overflow: visible; padding: 24px 0; background: none; }
.aoy-auth-refresh .aoy-auth-card { width: 100%; max-width: 510px; margin: 0; padding: 32px; border: 1px solid var(--auth-border); border-radius: 24px; background: var(--auth-card); box-shadow: 0 18px 56px #17223c06; backdrop-filter: none; }
.aoy-auth-role-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 28px; border: 1px solid var(--auth-border); border-radius: 12px; background: var(--auth-soft); }
.aoy-auth-role-nav a { display: flex; justify-content: center; align-items: center; min-height: 38px; gap: 8px; border-radius: 8px; color: var(--auth-muted); font-size: 12px; font-weight: 500; text-decoration: none; }
.aoy-auth-role-nav a[aria-current] { background: var(--auth-card); color: var(--auth-link); box-shadow: 0 2px 6px #171d350d; }
.aoy-auth-role-nav a:hover { color: var(--auth-link); }
.aoy-auth-backlink { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--auth-muted); font-size: 12px; text-decoration: none; }
.aoy-auth-backlink:hover { color: var(--auth-link); }
.aoy-auth-refresh .aoy-auth-form-heading { margin: 0 0 25px; }
.aoy-auth-refresh .aoy-auth-form-kicker { display: block; margin-bottom: 10px; color: var(--auth-link); font-size: 10px; font-weight: 600; letter-spacing: 1.35px; text-transform: uppercase; }
.aoy-auth-refresh .aoy-auth-form-heading h1 { margin: 0; color: var(--auth-ink); font-size: clamp(25px, 2.5vw, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -1px; overflow-wrap: break-word; }
.aoy-auth-refresh .aoy-auth-form-heading p { margin: 12px 0 0; color: var(--auth-muted); font-size: 12px; line-height: 1.8; }
.aoy-auth-refresh .aoy-auth-form { display: flex; flex-direction: column; gap: 17px; }
.aoy-auth-refresh .aoy-auth-field { display: block; min-width: 0; color: var(--auth-ink); }
.aoy-auth-refresh .aoy-auth-field > span:first-child, .aoy-auth-refresh .aoy-auth-field > label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; color: var(--auth-ink); font-size: 12px; font-weight: 500; }
.aoy-auth-refresh .aoy-auth-input-wrap { position: relative; display: flex; min-width: 0; align-items: center; height: auto; min-height: 48px; border: 1px solid var(--auth-border); border-radius: 11px; color: var(--auth-muted); background: var(--auth-card); transition: border-color .15s, box-shadow .15s; }
.aoy-auth-refresh .aoy-auth-input-wrap:focus-within { border-color: var(--auth-violet); background: var(--auth-card); box-shadow: 0 0 0 3px #6552e817; }
.aoy-auth-refresh .aoy-auth-input-wrap > i { position: absolute; left: 15px; font-size: 14px; pointer-events: none; }
.aoy-auth-refresh .aoy-auth-input-wrap input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px 12px 42px; border: 0; outline: 0; border-radius: inherit; background: transparent; box-shadow: none; color: var(--auth-ink); font: inherit; font-size: 13px; line-height: 1.6; }
.aoy-auth-refresh .aoy-auth-input-wrap input::placeholder { color: var(--auth-muted); opacity: .8; }
.aoy-auth-refresh .aoy-auth-password-wrap input { padding-right: 48px; }
.aoy-auth-password-toggle { position: absolute; display: grid; right: 4px; top: 4px; bottom: 4px; width: 40px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--auth-muted); cursor: pointer; }
.aoy-auth-password-toggle[hidden] { display: none; }
.aoy-auth-password-toggle:hover { color: var(--auth-link); background: var(--auth-soft); }
.aoy-auth-refresh .aoy-auth-field small { margin-top: 5px; font-size: 11px; }
.aoy-auth-refresh .aoy-auth-form-options { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 11px; }
.aoy-auth-refresh .aoy-auth-form-options a, .aoy-auth-refresh .aoy-auth-switch a, .aoy-auth-refresh .aoy-auth-checkbox a { color: var(--auth-link); font-weight: 500; }
.aoy-auth-refresh .aoy-auth-checkbox { display: inline-flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.aoy-auth-refresh .aoy-auth-checkbox input { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 16px; accent-color: var(--auth-violet); }
.aoy-auth-refresh .aoy-auth-checkbox span { color: var(--auth-muted); font-size: 11px; line-height: 1.8; }
.aoy-auth-refresh .aoy-auth-submit, .aoy-auth-refresh .aoy-auth-empty > a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 11px; background: var(--auth-violet); color: white; box-shadow: 0 5px 15px #6552e824; font-size: 12px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; }
.aoy-auth-refresh .aoy-auth-submit:hover, .aoy-auth-refresh .aoy-auth-empty > a:hover { background: #5843d0; box-shadow: 0 7px 18px #6552e830; filter: none; transform: none; }
.aoy-auth-refresh .aoy-auth-submit:disabled { opacity: .6; cursor: wait; }
.aoy-auth-refresh .aoy-auth-switch { margin-top: 22px; color: var(--auth-muted); font-size: 11px; line-height: 1.8; }
.aoy-auth-refresh .aoy-auth-context-note { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--auth-border); color: var(--auth-muted); font-size: 10px; line-height: 1.9; }
.aoy-auth-refresh .aoywallet-link { color: var(--auth-link); text-decoration: underline; text-underline-offset: 3px; }
.aoy-auth-refresh .aoywallet-link > i { font-size: .65em; vertical-align: .12em; }
.aoy-auth-refresh .aoy-auth-alert { padding: 12px; border-radius: 11px; font-size: 11px; line-height: 1.7; }
.aoy-auth-refresh .aoy-auth-alert-icon { width: 24px; height: 24px; border-radius: 8px; background: transparent; }
.aoy-auth-refresh .aoy-auth-alert-icon i { color: inherit; }
.aoy-auth-refresh .aoy-auth-alert strong { font-weight: 600; }
.aoy-auth-refresh .aoy-auth-captcha { overflow: visible; }
.aoy-auth-refresh .aoy-auth-captcha #captcha-container { padding: 12px; border: 1px solid var(--auth-border) !important; border-radius: 11px; background: var(--auth-soft) !important; box-shadow: none !important; color: var(--auth-ink); }
.aoy-auth-refresh .aoy-auth-captcha #icon-options { gap: 5px; }
.aoy-auth-refresh .aoy-auth-captcha .icon-option { margin: 0 4px; }
.aoy-auth-twofactor { border-top: 1px solid var(--auth-border); padding-top: 13px; }
.aoy-auth-twofactor summary { width: fit-content; color: var(--auth-muted); font-size: 11px; cursor: pointer; }
.aoy-auth-twofactor summary:hover { color: var(--auth-link); }
.aoy-auth-twofactor[open] summary { margin-bottom: 13px; }
.aoy-auth-help { margin: 7px 0 0; color: var(--auth-muted); font-size: 10px; line-height: 1.7; }
.aoy-auth-refresh .aoy-auth-divider { margin: 20px 0; color: var(--auth-muted); font-size: 10px; }
.aoy-auth-refresh .aoy-auth-divider::before, .aoy-auth-refresh .aoy-auth-divider::after { background: var(--auth-border); }
.aoy-auth-refresh .aoy-auth-social { min-height: 46px; border-color: var(--auth-border); border-radius: 11px; color: var(--auth-ink); background: var(--auth-card); font-size: 12px; }
.aoy-auth-refresh .aoy-auth-social:hover { background: var(--auth-soft); }
.aoy-auth-refresh .aoy-network-connection { gap: 12px; margin: 0 0 22px; padding: 14px; border: 1px solid var(--auth-border); border-radius: 12px; color: var(--auth-ink); background: var(--auth-soft); }
.aoy-auth-refresh .aoy-network-connection-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--auth-violet); box-shadow: none; }
.aoy-auth-refresh .aoy-network-connection-copy small { margin-bottom: 3px; color: var(--auth-muted); font-size: 10px; }
.aoy-auth-refresh .aoy-network-connection-copy strong { white-space: normal; overflow-wrap: anywhere; font-size: 12px; line-height: 1.5; }
.aoy-auth-refresh .aoy-network-connection-status { display: inline-flex; font-size: 10px; }
.aoy-auth-refresh .aoy-auth-identity-note { padding: 14px; border: 1px solid var(--auth-border); border-radius: 11px; color: var(--auth-muted); background: var(--auth-soft); font-size: 11px; line-height: 1.8; }
.aoy-auth-refresh .aoy-auth-identity-note strong { color: var(--auth-ink); }
.aoy-auth-refresh .aoy-auth-empty { padding: 24px 20px; border: 1px solid var(--auth-border); border-radius: 16px; background: var(--auth-soft); text-align: left; }
.aoy-auth-refresh .aoy-auth-empty > span { width: 42px; height: 42px; border-radius: 12px; background: #6552e812; color: var(--auth-link); }
.aoy-auth-refresh .aoy-auth-empty h2 { margin-top: 16px; color: var(--auth-ink); font-size: 16px; font-weight: 600; }
.aoy-auth-refresh .aoy-auth-empty p { margin: 10px 0 0; color: var(--auth-muted); font-size: 12px; line-height: 1.8; }
.aoy-auth-empty-steps { margin: 18px 0 22px; padding: 0; list-style: none; counter-reset: earner-step; }
.aoy-auth-empty-steps li { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--auth-muted); font-size: 11px; counter-increment: earner-step; }
.aoy-auth-empty-steps li::before { display: grid; flex: 0 0 23px; height: 23px; place-items: center; border: 1px solid var(--auth-border); border-radius: 50%; color: var(--auth-link); background: var(--auth-card); font-size: 10px; content: counter(earner-step); }
.aoy-auth-refresh .aoy-auth-footer { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; color: var(--auth-muted); font-size: 10px; }
.aoy-auth-refresh .aoy-auth-footer span { background: var(--auth-border); }
.aoy-auth-refresh .aoy-auth-footer a:hover { color: var(--auth-link); }
.aoy-auth-secondary { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid var(--auth-border); border-radius: 11px; background: var(--auth-card); color: var(--auth-muted); font-size: 12px; cursor: pointer; }
.aoy-auth-secondary:hover { color: var(--auth-link); background: var(--auth-soft); }
@media (min-width: 1500px) { .aoy-auth-refresh .aoy-auth-shell { gap: 100px; } .aoy-auth-refresh .aoy-auth-visual { padding: 60px; } .aoy-auth-refresh .aoy-auth-card { padding: 38px; max-width: 540px; } }
@media (max-width: 1050px) { .aoy-auth-topbar, .aoy-auth-refresh .aoy-auth-shell { width: calc(100% - 40px); } .aoy-auth-refresh .aoy-auth-shell { gap: 24px; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); } .aoy-auth-refresh .aoy-auth-card { padding: 26px; } .aoy-auth-refresh .aoy-auth-visual { padding: 28px; } .aoy-auth-refresh .aoy-auth-art { margin: 14px -26px; flex: 0 0 auto; } .aoy-auth-refresh .aoy-auth-visual-copy h2 { font-size: 36px; } .aoy-auth-refresh .aoy-auth-visual-copy p { font-size: 12px; } }
@media (max-width: 800px) { .aoy-auth-topbar { min-height: 76px; } .aoy-auth-refresh .aoy-auth-shell { display: block; width: min(100% - 40px, 540px); min-height: calc(100svh - 76px); padding-bottom: 20px; } .aoy-auth-refresh .aoy-auth-visual { display: none; } .aoy-auth-refresh .aoy-auth-main { min-height: 0; padding: 18px 0 8px; gap: 24px; } .aoy-auth-refresh .aoy-auth-card { max-width: none; padding: 30px; } .aoy-auth-refresh .aoy-auth-input-wrap input { font-size: 16px; } }
@media (max-width: 420px) { .aoy-auth-topbar { width: calc(100% - 32px); min-height: 72px; } .aoy-auth-logo { font-size: 17px; gap: 8px; } .aoy-auth-logo img { width: 35px; height: 35px; } .aoy-auth-topnav { gap: 14px; } .aoy-auth-home { font-size: 0; gap: 0; } .aoy-auth-home i { display: grid; place-items: center; width: 35px; height: 35px; font-size: 14px; } .aoy-auth-refresh .aoy-auth-shell { width: calc(100% - 24px); } .aoy-auth-refresh .aoy-auth-card { padding: 24px 20px; border-radius: 20px; } .aoy-auth-refresh .aoy-auth-role-nav { margin-bottom: 24px; } .aoy-auth-refresh .aoy-network-connection { padding: 12px; gap: 9px; } .aoy-auth-refresh .aoy-network-connection-status { font-size: 9px; padding: 4px 6px; } }
@media (prefers-reduced-motion: reduce) { .aoy-auth-refresh *, .aoy-auth-refresh *::before, .aoy-auth-refresh *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
