/* EYWAL — trang đăng nhập (/sign-in). SIGNIN-UI 2026-11-17: viết lại gọn, chỉ dùng biến --ey-* (eywal-tokens.css)
   (LIGHT-ONLY 23/11/2026: một giao diện sáng). Không layer (thắng eywal-ui.css @layer). Thứ bậc: Google (chính) → passkey (phụ) → khôi phục (liên kết).
   AA: chữ ≥ 4.5:1, wordmark/viền điều khiển ≥ 3:1, focus rõ, không tràn ngang, tôn trọng reduced-motion. */

body.eywal-auth{margin:0;min-height:100vh;min-height:100dvh;background:var(--ey-bg)!important;color:var(--ey-tx)!important;font:400 15px/1.55 var(--ey-font)!important;overflow-x:clip;-webkit-font-smoothing:antialiased}
body.eywal-auth::before,body.eywal-auth::after{display:none!important}
body.eywal-auth *,body.eywal-auth *::before,body.eywal-auth *::after{box-sizing:border-box}
body.eywal-auth [hidden]{display:none!important}
body.eywal-auth :focus-visible{outline:2px solid var(--ey-focus)!important;outline-offset:3px}

/* Khung trang: đầu (wordmark + ngôn ngữ) · thẻ giữa · chân */
body.eywal-auth .gx{width:100%;max-width:1200px;min-height:100vh;min-height:100dvh;margin:0 auto;padding:24px 40px 20px;display:flex;flex-direction:column}
body.eywal-auth .gx-brand{display:flex;align-items:center;gap:12px;flex:0 0 auto}
body.eywal-auth .gx-brand-link{display:inline-flex;align-items:center;min-height:var(--ey-tap);color:var(--ey-tx);text-decoration:none;border-radius:8px}
body.eywal-auth .gx-wordmark{display:block;width:147px;height:44px;color:var(--ey-tx)}
body.eywal-auth .gx-lang{display:flex;gap:4px;margin-left:auto;align-items:center}
body.eywal-auth .gx-lang a{display:inline-grid;place-items:center;min-width:var(--ey-tap);min-height:var(--ey-tap);padding:0 10px;border:1px solid transparent;border-radius:8px;color:var(--ey-tx2);font-size:13px;font-weight:650;letter-spacing:.06em;text-decoration:none}
body.eywal-auth .gx-lang a:hover{color:var(--ey-tx);background:var(--ey-hover)}
body.eywal-auth .gx-lang a.on{color:var(--ey-tx);background:var(--ey-elev);border-color:var(--ey-bd2)}

body.eywal-auth .gx-layout{flex:0 0 auto;width:100%;max-width:420px;margin:auto;display:flex;flex-direction:column;padding:32px;background:var(--ey-card);border:1px solid var(--ey-bd);border-radius:16px;box-shadow:var(--ey-shadow-lg)}
body.eywal-auth .gx-intro{display:contents}
body.eywal-auth .gx-invitation{order:0;margin:0 0 24px;color:var(--ey-tx);font-size:var(--ey-fs-xl)!important;line-height:1.2;font-weight:650!important;letter-spacing:-.02em;text-wrap:balance}
body.eywal-auth .gx-hero{order:1;min-width:0;padding:0;background:none;border:0;box-shadow:none;text-align:left}
body.eywal-auth .gx-more{order:2}
body.eywal-auth .gx-title{display:none}
/* SSO (không có phần giới thiệu): hiện tiêu đề + phụ đề */
body.eywal-auth .gx-hero:only-child .gx-title{display:block;margin:0 0 8px;color:var(--ey-tx);font-size:var(--ey-fs-xl)!important;line-height:1.25;font-weight:650!important;letter-spacing:-.02em}
body.eywal-auth .gx-sub{margin:0 0 20px;color:var(--ey-tx2);font-size:14px;line-height:1.6}

/* 1 — Google: nút chính, tương phản cao ở cả hai theme (nền = màu chữ, chữ = màu nền) */
body.eywal-auth .gx-google{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;padding:12px 16px;border:1px solid var(--ey-tx);border-radius:12px;background:var(--ey-tx);color:var(--ey-bg)!important;font-size:15px;font-weight:600;line-height:1.35;text-align:center;text-decoration:none;transition:background-color .15s,border-color .15s}
body.eywal-auth .gx-google:hover{background:color-mix(in srgb,var(--ey-tx) 86%,var(--ey-bg));border-color:color-mix(in srgb,var(--ey-tx) 86%,var(--ey-bg))}
body.eywal-auth .gx-google:active{background:color-mix(in srgb,var(--ey-tx) 78%,var(--ey-bg))}
body.eywal-auth .gx-google img{flex:0 0 28px;width:28px;height:28px;padding:4px;border-radius:8px;background:#fff}
body.eywal-auth .gx-trust{margin:12px 0 0;color:var(--ey-tx2);font-size:13px;line-height:1.55;text-align:center}

/* 2 — Passkey: nút phụ (viền) */
body.eywal-auth #pkBox{margin:20px 0 0}
body.eywal-auth #pkLogin,body.eywal-auth .gx-btn2{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin:0;padding:10px 16px;border:1px solid var(--ey-bd2);border-radius:12px;background:transparent;color:var(--ey-tx);font:500 15px/1.35 var(--ey-font);cursor:pointer;transition:background-color .15s,border-color .15s}
body.eywal-auth #pkLogin:hover,body.eywal-auth .gx-btn2:hover{background:var(--ey-hover);border-color:var(--ey-tx3)}
body.eywal-auth .gx-btn-ico{flex:0 0 18px;width:18px;height:18px;color:var(--ey-tx2)}

/* 3 — Khôi phục: liên kết chữ (≥ 4.5:1), mở ra ô mã */
body.eywal-auth .gx-recrow{margin:8px 0 0}
body.eywal-auth #recOpen,body.eywal-auth .gx-link{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;border:0;background:none;color:var(--ey-tx2);font:500 14px/1.4 var(--ey-font);text-decoration:underline;text-decoration-color:color-mix(in srgb,currentColor 45%,transparent);text-underline-offset:4px;cursor:pointer;border-radius:6px}
body.eywal-auth #recOpen:hover,body.eywal-auth .gx-link:hover{color:var(--ey-tx);text-decoration-color:currentColor}
body.eywal-auth #recForm,body.eywal-auth .gx-rec{display:flex;flex-direction:column;gap:8px;margin:4px 0 0}
body.eywal-auth #recForm input{width:100%;min-width:0;min-height:48px;padding:10px 14px;border:1px solid var(--ey-bd-input);border-radius:10px;background:var(--ey-card2);color:var(--ey-tx);font:600 16px/1.4 var(--ey-mono);letter-spacing:.06em;text-transform:uppercase}
body.eywal-auth #recForm input::placeholder{color:var(--ey-tx3);opacity:1;font:400 15px/1.4 var(--ey-font);letter-spacing:0;text-transform:none}
body.eywal-auth #recForm input:focus{border-color:var(--ey-acc);box-shadow:var(--ey-ring);outline:none}
body.eywal-auth #recForm input:focus-visible{outline:2px solid var(--ey-focus)!important;outline-offset:2px}
body.eywal-auth #recForm button,body.eywal-auth .gx-btn1{width:100%;min-height:48px;padding:10px 16px;border:1px solid var(--ey-acc);border-radius:10px;background:var(--ey-acc);color:var(--ey-on-tx);font:600 15px/1.35 var(--ey-font);cursor:pointer;transition:background-color .15s}
body.eywal-auth #recForm button:hover,body.eywal-auth .gx-btn1:hover{background:var(--ey-acc2);border-color:var(--ey-acc2)}
body.eywal-auth #recMsg,body.eywal-auth .gx-msg{margin:10px 0 0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--ey-danger) 40%,transparent);border-radius:10px;background:var(--ey-danger-soft);color:var(--ey-tx);font-size:13px;line-height:1.55;text-align:left;overflow-wrap:anywhere}

/* Cảnh báo (oauth_error, project_id sai…) */
body.eywal-auth .gx .ey-warning-box{display:flex;gap:10px;align-items:flex-start;margin:0 0 20px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--ey-warn) 45%,transparent);border-radius:12px;background:var(--ey-warn-soft);color:var(--ey-tx);font-size:14px;line-height:1.55;overflow-wrap:anywhere}
body.eywal-auth .gx .ey-warning-ico{flex:0 0 17px;margin-top:2px;color:var(--ey-warn)}

/* SSO: dự án + những gì ứng dụng nhận */
body.eywal-auth .ey-proj{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px;border:1px solid var(--ey-bd);border-radius:12px;background:var(--ey-card2)}
body.eywal-auth .ey-proj img{flex:0 0 44px;width:44px;height:44px;border-radius:10px;object-fit:cover;background:var(--ey-elev)}
body.eywal-auth .ey-proj .min-w-0{min-width:0}
body.eywal-auth .ey-proj .fw-semibold{font-size:15px;font-weight:600;color:var(--ey-tx)}
body.eywal-auth .ey-proj .mono{margin-top:2px;color:var(--ey-tx2);font:12px/1.4 var(--ey-mono)}
body.eywal-auth .ey-proj .text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.eywal-auth .ey-share{margin:0 0 20px;padding:12px;border:1px solid var(--ey-bd);border-radius:12px;background:var(--ey-card2);font-size:14px}
body.eywal-auth .ey-share .ey-eyebrow{color:var(--ey-tx2);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
body.eywal-auth .ey-share .ri{display:flex;align-items:flex-start;gap:10px;margin-top:8px;color:var(--ey-tx)}
body.eywal-auth .ey-share .ri svg{flex:0 0 16px;width:16px;height:16px;margin-top:3px}
body.eywal-auth .ey-share .ri.y svg{color:var(--ey-good)}
body.eywal-auth .ey-share .ri.n svg{color:var(--ey-tx3)}

/* Vì sao dùng EYWAL? — gập, ngắn */
body.eywal-auth .gx-more{margin:24px 0 0;padding-top:8px;border-top:1px solid var(--ey-bd)}
body.eywal-auth .gx-more>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;list-style:none;color:var(--ey-tx2);font-size:14px;font-weight:500;cursor:pointer;border-radius:6px}
body.eywal-auth .gx-more>summary::-webkit-details-marker{display:none}
body.eywal-auth .gx-more>summary::after{content:"";flex:0 0 8px;width:8px;height:8px;margin-right:4px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s}
body.eywal-auth .gx-more[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
body.eywal-auth .gx-more>summary:hover{color:var(--ey-tx)}
body.eywal-auth .gx-benefits{list-style:none;margin:4px 0 4px;padding:0;border:0;display:flex;flex-direction:column;gap:14px}
body.eywal-auth .gx-benefits li{display:flex;gap:12px;align-items:flex-start}
body.eywal-auth .gx-benefits li>div{min-width:0}
body.eywal-auth .gx-ico{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--ey-acc-soft);color:var(--ey-acc-tx)}
body.eywal-auth .gx-ico svg{width:17px;height:17px}
body.eywal-auth .gx-benefits h2,body.eywal-auth .gx-benefits h4{margin:0 0 2px;color:var(--ey-tx);font-size:14px!important;line-height:1.45;font-weight:600!important;letter-spacing:0}
body.eywal-auth .gx-benefits p{margin:0;color:var(--ey-tx2);font-size:13px;line-height:1.6}

body.eywal-auth .gx-foot{margin-top:0;padding-top:20px;color:var(--ey-tx2);font-size:12px}

@media (max-width:520px){
  body.eywal-auth .gx{padding:16px 16px calc(16px + env(safe-area-inset-bottom))}
  body.eywal-auth .gx-wordmark{width:127px;height:38px}
  body.eywal-auth .gx-layout{margin:24px auto auto;padding:24px 20px;border-radius:16px}
  body.eywal-auth .gx-invitation{margin-bottom:20px}
}
@media (max-width:360px){
  body.eywal-auth .gx-layout{padding:20px 16px}
}
@media (prefers-reduced-motion:reduce){
  body.eywal-auth *,body.eywal-auth *::before,body.eywal-auth *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
@media (forced-colors:active){
  body.eywal-auth .gx-google,body.eywal-auth #pkLogin,body.eywal-auth #recForm button{border:1px solid ButtonText}
}
/* UI-3c: chi tiết kỹ thuật thu gọn trong khung cảnh báo (chỉ khi lỗi liên kết từ ứng dụng) */
body.eywal-auth .ey-warning-box .gx-more{margin:6px 0 0;padding-top:0;border-top:0}
body.eywal-auth .ey-warning-box .gx-more>summary{min-height:var(--ey-tap);font-size:13px}
body.eywal-auth .ey-warning-box .gx-more p{margin:0;font-size:13px;color:var(--ey-tx2)}
body.eywal-auth .gx-ctx{margin:0 0 12px;color:var(--ey-tx2);font-size:14px}
/* UI-SIMPLIFY-R1: "Cách khác" (passkey + mã khôi phục) — liên kết nhỏ, căn giữa, không viền */
body.eywal-auth .gx-alt{margin:14px 0 0;padding-top:0;border-top:0;order:0}
body.eywal-auth .gx-alt>summary{justify-content:center;min-height:var(--ey-tap);font-size:13px}
body.eywal-auth .gx-alt>summary::after{width:6px;height:6px;flex-basis:6px}
body.eywal-auth .gx-alt .gx-pk{margin-top:4px}
/* UI-HOME-SIGNIN-R1 (24/11, Owner "ổn" bố cục B): chia đôi PC — trái tiêu đề + hình, phải thẻ đăng nhập; ≤1023px: hình gọn phía trên, nút ở tấm đáy (safe-area).
   Phông Inter tự host (SIL OFL 1.1, /assets/fonts/OFL.txt; CSP default-src 'self'). Chữ phụ rgb(91 94 102) ≥ 5:1 trên nền mesh sáng nhất/tối nhất. */
@font-face{font-family:"Inter";src:url(/assets/fonts/Inter-Regular.woff2) format("woff2");font-weight:400 500;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url(/assets/fonts/Inter-SemiBold.woff2) format("woff2");font-weight:600 700;font-style:normal;font-display:swap}
body.eywal-auth{--gx-font:"Inter",var(--ey-font);--gx-ink:rgb(15 17 21);--gx-mute:rgb(91 94 102);--gx-line:rgba(15,17,21,.08);--gx-sh:0 1px 1px rgba(15,17,21,.04),0 4px 8px -2px rgba(15,17,21,.05),0 24px 48px -12px rgba(15,17,21,.12);font-family:var(--gx-font)!important;background:rgb(251 251 250)!important}
body.eywal-auth .gx.gx2{max-width:none;padding:0;display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh;min-height:100dvh}
body.eywal-auth .gx-story{position:relative;display:flex;flex-direction:column;padding:28px 56px 40px;overflow:hidden;background:radial-gradient(60% 55% at 20% 30%,rgba(159,240,234,.45),transparent 70%),radial-gradient(55% 60% at 85% 85%,rgba(183,156,240,.35),transparent 70%),radial-gradient(50% 50% at 70% 20%,rgba(143,190,255,.35),transparent 70%),rgb(247 248 251)}
body.eywal-auth .gx-heroL{margin:auto 0;max-width:520px;padding:32px 0}
body.eywal-auth .gx-headline{margin:0;color:var(--gx-ink);font-size:clamp(40px,4.6vw,64px)!important;line-height:1.04;font-weight:600!important;letter-spacing:-.035em;text-wrap:balance}
body.eywal-auth .gx-subline{margin:16px 0 0;max-width:36ch;color:var(--gx-mute);font-size:18px;line-height:1.5;letter-spacing:-.01em;text-wrap:balance}
body.eywal-auth .gx-art{display:block;width:100%;max-width:440px;height:auto;margin-top:44px}
body.eywal-auth .gx-art-me{font:600 22px var(--gx-font);fill:var(--gx-ink);letter-spacing:-.02em}
body.eywal-auth .gx-art-t text{font:500 16px var(--gx-font);fill:var(--gx-ink)}
body.eywal-auth .gx-pane{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;border-left:1px solid var(--gx-line);background:rgb(251 251 250)}
body.eywal-auth .gx2 .gx-layout{margin:auto;max-width:400px;padding:40px 36px 24px;border:1px solid var(--gx-line);border-radius:20px;box-shadow:var(--gx-sh);background:var(--ey-card)}
body.eywal-auth .gx2 .gx-hero{text-align:center}
body.eywal-auth .gx2 .gx-title.gx-cardt,body.eywal-auth .gx2 .gx-hero:only-child .gx-title{display:block;margin:0 0 28px;color:var(--gx-ink);font-size:28px!important;line-height:1.15;font-weight:600!important;letter-spacing:-.035em;text-wrap:balance}
body.eywal-auth .gx2 .gx-sub{margin-top:-16px}
body.eywal-auth .gx2 .gx-google{border-color:var(--gx-ink);background:var(--gx-ink);color:var(--ey-card)!important;box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 6px 16px -6px rgba(15,17,21,.5);letter-spacing:-.01em}
body.eywal-auth .gx2 .gx-google img{flex-basis:24px;width:24px;height:24px;padding:2px;border-radius:50%}
body.eywal-auth .gx2 .gx-trust{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:14px;color:var(--gx-mute)}
body.eywal-auth .gx2 .gx-trust svg{flex:none}
body.eywal-auth .gx-why{display:inline-flex;align-items:center;min-height:var(--ey-tap);margin-top:12px;padding:0 8px;border:0;background:none;color:var(--ey-link);font:500 14px var(--gx-font);cursor:pointer;border-radius:8px}
body.eywal-auth .gx-why:hover{text-decoration:underline;text-underline-offset:4px}
body.eywal-auth .gx2 .gx-foot{display:flex;gap:4px 14px;flex-wrap:wrap;justify-content:center;padding-top:20px}
body.eywal-auth .gx2 .gx-foot a{display:inline-flex;align-items:center;min-height:var(--ey-tap);color:var(--gx-mute)}
body.eywal-auth .gx2 .gx-foot span{display:inline-flex;align-items:center;min-height:var(--ey-tap)}
body.eywal-auth .gx2 .ey-proj,body.eywal-auth .gx2 .ey-share,body.eywal-auth .gx2 .ey-warning-box{text-align:left}
body.eywal-auth .gx-pop{max-width:440px;width:calc(100% - 32px);margin:auto;padding:28px;border:0;border-radius:20px;background:var(--ey-card);color:var(--gx-ink);box-shadow:var(--gx-sh);font-family:var(--gx-font)}
body.eywal-auth .gx-pop::backdrop{background:rgba(15,17,21,.32)}
body.eywal-auth .gx-pop-h{margin:0 40px 18px 0;font-size:20px!important;font-weight:600!important;letter-spacing:-.02em}
body.eywal-auth .gx-pop-x{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:12px;background:none;color:var(--gx-mute);font-size:24px;line-height:1;cursor:pointer}
body.eywal-auth .gx-pop-x:hover{background:var(--ey-hover)}
body.eywal-auth .gx2-sso{grid-template-columns:1fr}
body.eywal-auth .gx2-sso .gx-story{background:none;padding-bottom:0}
@media (max-width:1023px){
  body.eywal-auth .gx.gx2{display:flex;flex-direction:column}
  body.eywal-auth .gx-story{flex:1 0 auto;padding:calc(12px + env(safe-area-inset-top)) 24px 36px}
  body.eywal-auth .gx-heroL{width:100%;max-width:560px;margin:auto;padding:16px 0}
  body.eywal-auth .gx-headline{font-size:42px!important}
  body.eywal-auth .gx-subline{font-size:16px;margin-top:12px;text-wrap:pretty}
  body.eywal-auth .gx-art{max-width:360px;margin:28px auto 0}
  body.eywal-auth .gx-pane{flex:none;position:relative;margin-top:-24px;padding:24px 24px calc(8px + env(safe-area-inset-bottom));border:0;border-radius:24px 24px 0 0;background:var(--ey-card);box-shadow:0 -8px 30px -12px rgba(15,17,21,.12)}
  body.eywal-auth .gx2 .gx-layout{width:100%;max-width:440px;padding:0;border:0;box-shadow:none;background:none}
  body.eywal-auth .gx2 .gx-title.gx-cardt{display:none}
  body.eywal-auth .gx2 .gx-why{margin-top:4px}
  body.eywal-auth .gx2 .gx-foot{padding-top:4px}
  body.eywal-auth .gx-pop{margin:auto 0 0;max-width:none;width:100%;border-radius:20px 20px 0 0;padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  body.eywal-auth .gx2-sso .gx-pane{margin-top:0;box-shadow:none}
  body.eywal-auth .gx2-sso .gx-title.gx-cardt{display:block}
}
@media (min-width:768px) and (max-width:1023px){
  body.eywal-auth .gx-story{padding:20px 48px 40px}
  body.eywal-auth .gx-headline{font-size:56px!important}
  body.eywal-auth .gx-subline{font-size:19px}
  body.eywal-auth .gx-art{max-width:440px}
}
@media (prefers-reduced-motion:no-preference){
  body.eywal-auth .gx-heroL,body.eywal-auth .gx2 .gx-layout{animation:gx-rise .6s cubic-bezier(.2,.7,.2,1) both}
  body.eywal-auth .gx2 .gx-layout{animation-delay:.08s}
  @keyframes gx-rise{from{transform:translateY(8px)}to{transform:none}}
}
/* r1 tự phê bình: tiêu đề phải dùng Inter (h1/h2 chung bị ghi đè phông); câu phụ không bẻ hẹp; ẩn tiêu đề thẻ ở tấm đáy di động */
body.eywal-auth .gx2 .gx-headline,body.eywal-auth .gx2 .gx-title,body.eywal-auth .gx-pop-h,body.eywal-auth .gx-pop h2{font-family:var(--gx-font)!important}
body.eywal-auth .gx-subline{text-wrap:pretty;max-width:40ch}
@media (max-width:1023px){body.eywal-auth .gx2:not(.gx2-sso) .gx-hero .gx-title.gx-cardt{display:none}}
/* r2 tự phê bình: SSO (không có hình) ⇒ một cột, thẻ giữa; không vệt nền trống bên trái */
body.eywal-auth .gx.gx2.gx2-sso{display:flex;flex-direction:column}
body.eywal-auth .gx2-sso .gx-story{flex:none;padding-bottom:0}
body.eywal-auth .gx2-sso .gx-pane{flex:1 0 auto;border-left:0;background:none}
/* STYLE r2 (Owner "style đi" 24/11): aurora rực hơn (3 vệt màu logo) + hạt nhiễu CSS; sơ đồ phát sáng, đường gradient vẽ dần; thẻ viền gradient 1px, bo lớn; nút Google vi tương tác. Nội dung LUÔN hiện mặc định; chuyển động chỉ là tăng cường. */
body.eywal-auth .gx2:not(.gx2-sso) .gx-story{background:radial-gradient(55% 50% at 12% 22%,rgb(117 228 223 / .75),transparent 70%),radial-gradient(50% 55% at 88% 30%,rgb(111 168 255 / .6),transparent 70%),radial-gradient(60% 55% at 60% 95%,rgb(164 125 240 / .55),transparent 72%),rgb(244 246 252)}
body.eywal-auth .gx2:not(.gx2-sso) .gx-story::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");background-size:160px;opacity:.12}
body.eywal-auth .gx-story>*{position:relative}
body.eywal-auth .gx2 .gx-layout{border:1px solid transparent;border-radius:24px;background:linear-gradient(var(--ey-card),var(--ey-card)) padding-box,linear-gradient(140deg,rgb(117 228 223 / .9),rgb(111 168 255 / .7) 45%,rgb(164 125 240 / .9)) border-box;box-shadow:0 1px 1px rgb(15 17 21 / .04),0 8px 16px -4px rgb(15 17 21 / .06),0 32px 64px -16px rgb(60 70 140 / .22)}
body.eywal-auth .gx2 .gx-google{transition:transform .18s cubic-bezier(.2,.7,.2,1),box-shadow .18s,background-color .15s}
body.eywal-auth .gx2 .gx-google:hover{transform:translateY(-1px);box-shadow:0 1px 0 rgb(255 255 255 / .08) inset,0 12px 24px -8px rgb(15 17 21 / .55)}
body.eywal-auth .gx2 .gx-google:active{transform:translateY(0) scale(.985);box-shadow:0 1px 0 rgb(255 255 255 / .08) inset,0 3px 8px -4px rgb(15 17 21 / .5)}
@media (max-width:1023px){body.eywal-auth .gx2 .gx-layout{border:0;background:none;box-shadow:none}}
@media (prefers-reduced-motion:no-preference){
  body.eywal-auth .gx-art-dot circle{animation:gx-pulse 3s ease-in-out infinite}
  @keyframes gx-pulse{50%{opacity:.6}}
}
/* MOTION r3 (Owner 24/11): aurora trôi chậm (lớp riêng, chỉ transform/opacity, 24–30s), đường vẽ dần + "gói sáng" chạy từ Bạn tới từng dự án (SMIL, so le), nút phát sáng nhẹ, thẻ/nút trồi lên. prefers-reduced-motion ⇒ tĩnh hoàn toàn, nội dung luôn hiện. */
body.eywal-auth .gx2:not(.gx2-sso) .gx-story{background:rgb(244 246 252)}
body.eywal-auth .gx2:not(.gx2-sso) .gx-story::after{content:"";position:absolute;inset:-20%;z-index:0;pointer-events:none;background:radial-gradient(30% 28% at 25% 30%,rgb(117 228 223 / .8),transparent 70%),radial-gradient(28% 30% at 75% 35%,rgb(111 168 255 / .65),transparent 70%),radial-gradient(34% 30% at 55% 80%,rgb(164 125 240 / .6),transparent 72%);will-change:transform}
body.eywal-auth .gx2:not(.gx2-sso) .gx-story::before{z-index:1}
body.eywal-auth .gx-story>*{z-index:2}
body.eywal-auth .gx-art-code rect{fill:var(--ey-card);stroke:rgb(111 168 255 / .55)}
body.eywal-auth .gx-art-code text{font:600 12px var(--ey-mono);fill:rgb(52 58 70)}
@media (max-width:1023px){body.eywal-auth .gx-art-code text{font-size:15px}}
@media (prefers-reduced-motion:reduce){body.eywal-auth .gx-art-pk{display:none}}
@media (prefers-reduced-motion:no-preference){
  body.eywal-auth .gx2:not(.gx2-sso) .gx-story::after{animation:gx-aurora 28s ease-in-out infinite alternate}
  @keyframes gx-aurora{0%{transform:translate3d(0,0,0) rotate(0deg) scale(1)}50%{transform:translate3d(4%,-3%,0) rotate(8deg) scale(1.06)}100%{transform:translate3d(-3%,4%,0) rotate(-6deg) scale(1.02)}}
  body.eywal-auth .gx-art-glow{animation:gx-pulse 4s ease-in-out infinite}
  body.eywal-auth .gx2 .gx-layout{animation:gx-up .7s .1s cubic-bezier(.2,.7,.2,1) backwards}
  body.eywal-auth .gx2 .gx-google{animation:gx-up .7s .22s cubic-bezier(.2,.7,.2,1) backwards}
  @keyframes gx-up{from{opacity:.001;transform:translateY(12px)}to{opacity:1;transform:none}}
}

body.eywal-auth .gx-headline .gx-hl{background:linear-gradient(90deg,rgb(79 70 229),rgb(124 58 237) 55%,rgb(147 51 234));-webkit-background-clip:text;background-clip:text;color:transparent}

/* SIGNIN-INFOGRAPHIC (Owner 24/11): hình giải thích đầy đủ, cột trái rộng hơn trên desktop */
body.eywal-auth .gx-art.gx-art-info{max-width:none;width:100%;margin-top:28px}
@media (min-width:1100px){
  body.eywal-auth .gx.gx2{grid-template-columns:minmax(0,1.6fr) minmax(460px,1fr)}
  body.eywal-auth .gx-story{padding-left:44px;padding-right:44px}
  body.eywal-auth .gx-heroL{max-width:none;width:100%}
}
@media (min-width:768px) and (max-width:1099px){
  body.eywal-auth .gx-heroL{max-width:760px}
  body.eywal-auth .gx-art.gx-art-info{max-width:100%}
}
@media (max-width:767px){
  body.eywal-auth .gx-heroL{max-width:100%;min-width:0}
  body.eywal-auth .gx-art.gx-art-info{max-width:100%;margin:20px 0 0}
  body.eywal-auth .gx-story{padding-left:16px;padding-right:16px;overflow-x:hidden}
}
body.eywal-auth .gx-art-info .gx-ch{transition:fill .2s,stroke .2s,stroke-width .2s}
body.eywal-auth .gx-art-info .gx-ch.gx-on{fill:rgb(237 233 254);stroke:rgb(124 58 237);stroke-opacity:1;stroke-width:2;filter:drop-shadow(0 0 4px rgb(139 92 246 / .6))}
body.eywal-auth .gx-art-info .gx-id{transition:fill .25s,stroke .25s,stroke-width .25s}
body.eywal-auth .gx-art-info .gx-id.gx-on{fill:rgb(237 233 254);stroke:rgb(124 58 237);stroke-opacity:1;stroke-width:2;filter:drop-shadow(0 0 5px rgb(139 92 246 / .55))}
@media (min-width:1100px){body.eywal-auth .gx-heroL{padding:12px 0}body.eywal-auth .gx-headline{font-size:clamp(28px,2.6vw,38px)!important}body.eywal-auth .gx-art.gx-art-info{width:auto;max-width:100%;max-height:calc(100vh - 230px);margin-top:16px;display:block}}
@media (min-width:1100px){body.eywal-auth .gx.gx2{grid-template-columns:minmax(0,1fr) minmax(400px,32vw)}body.eywal-auth .gx-art.gx-art-info{max-height:calc(100vh - 170px);margin-top:10px}}
/* SIGNIN-REBUILD 24/11: sơ đồ 790x552 dễ đọc, khoảng trắng cân, thẻ phải căn giữa theo khối trái, footer một hàng ghim đáy */
@media (min-width:1100px){
  body.eywal-auth .gx-story{padding:20px 32px 20px}
  body.eywal-auth .gx-heroL{margin:auto 0;padding:0;max-width:none}
  body.eywal-auth .gx2 .gx-headline{margin:0 0 6px}
  body.eywal-auth .gx-art.gx-art-info{width:100%;height:auto;max-width:100%;max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px);margin:12px auto 0}
  body.eywal-auth .gx-pane{position:relative;justify-content:center;padding:64px 32px 20px}
  body.eywal-auth .gx2 .gx-layout{margin:0 auto;width:100%;max-width:380px}
  body.eywal-auth .gx2 .gx-foot{position:absolute;left:0;right:0;bottom:6px;flex-wrap:nowrap;gap:0 20px;padding:0;white-space:nowrap;font-size:12px}
}
@media (max-width:1023px){body.eywal-auth .gx2 .gx-foot{flex-wrap:nowrap;gap:0 16px;white-space:nowrap}}
@media (min-width:1100px){body.eywal-auth .gx2 .gx-headline{font-size:clamp(24px,2.2vw,32px)!important}}
body.eywal-auth .gx-whyin{margin-top:22px;padding-top:18px;border-top:1px solid var(--gx-line);text-align:left}
body.eywal-auth .gx-whyin-h{margin:0 0 12px;color:var(--ey-tx);font:600 13px var(--gx-font)!important;letter-spacing:0}
body.eywal-auth .gx-whyin .gx-benefits{gap:10px;margin:0}
body.eywal-auth .gx-whyin .gx-benefits li{gap:10px}
body.eywal-auth .gx-whyin .gx-ico{flex:0 0 26px;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:rgb(242 246 255);color:rgb(47 107 255)}
body.eywal-auth .gx-whyin .gx-ico svg{width:15px;height:15px}
body.eywal-auth .gx-whyin .gx-benefits h2,body.eywal-auth .gx-whyin .gx-benefits h4{font-size:13px!important;line-height:1.4;margin:0 0 1px}
body.eywal-auth .gx-whyin .gx-benefits p{font-size:12.5px;line-height:1.5;color:rgb(102 108 120)}
@media (min-width:1100px){body.eywal-auth .gx2 .gx-layout{padding:32px 30px 26px}body.eywal-auth .gx2 .gx-title.gx-cardt{margin-bottom:22px}}

/* ui-polish-r1 (25/11): UI-EYWAL-2 danh sách chữ thay thế cho sơ đồ (ẩn thị giác trên màn rộng, hiện dưới sơ đồ ở ≤767px); UI-EYWAL-6 tiêu đề "Kết nối EYWAL" chỉ ẩn thị giác (giữ thứ bậc H1>H2>H3 cho trình đọc màn hình); UI-EYWAL-7 font Inter cho /privacy, /terms, 404 */
body.eywal-auth .gx-art-facts{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
@media (max-width:767px){body.eywal-auth .gx-art-facts{position:static;width:auto;height:auto;margin:12px 0 0;padding:0 0 0 18px;overflow:visible;clip:auto;clip-path:none;white-space:normal;color:var(--gx-mute);font:500 13px/1.5 var(--gx-font);text-align:left}body.eywal-auth .gx-art-facts li{margin:2px 0}}
@media (max-width:1023px){body.eywal-auth .gx2:not(.gx2-sso) .gx-hero .gx-title.gx-cardt,body.eywal-auth .gx2:not(.gx2-sso) .gx-title.gx-cardt{display:block!important;position:absolute!important;width:1px;height:1px;margin:-1px!important;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}}
body.page-solo{font-family:"Inter",var(--ey-font)}

/* ui-signin-polish-r1 (25/11): style lại trang đăng nhập (Owner). Chỉ thêm khối này (đặc hiệu main.gx2, đè các luật cũ); không đổi luật cũ.
   Lỗi 1 lưới/lề · 2 cỡ chữ sơ đồ (chú thích ra HTML) · 3 ẩn gói tin chuyển động · 4 thẻ phải không tràn · 5 thứ bậc + tương phản AA · nút Google nền trắng */
body.eywal-auth{--sp-ink:rgb(16 24 40);--sp-sub:rgb(71 84 103);--sp-line:rgb(228 231 236);--sp-acc:rgb(47 107 255);--sp-card:rgb(255 255 255);--sp-bg:rgb(246 247 250)}
body.eywal-auth main.gx2 .gx-art-info text:not([font-family]){font-family:var(--gx-font)}
body.eywal-auth main.gx2 .gx-art-info .gx-ch.gx-on,body.eywal-auth main.gx2 .gx-art-info .gx-id.gx-on{fill:rgb(238 243 255);stroke:var(--sp-acc);stroke-opacity:1;stroke-width:1.5;filter:none}
/* sơ đồ đóng khung: thẻ trắng, bo góc, bóng nhẹ; chú thích (gx-art-facts) là phần chân của khung */
body.eywal-auth main.gx2 .gx-art.gx-art-info{display:block;box-sizing:border-box;width:100%;height:auto;max-width:100%;max-height:none;margin:20px 0 0;padding:16px 16px 12px;border:1px solid var(--sp-line);border-bottom:0;border-radius:20px 20px 0 0;background:var(--sp-card);box-shadow:0 1px 2px rgb(16 24 40 / .04)}
body.eywal-auth main.gx2 .gx-art-facts{position:static;width:auto;height:auto;margin:0;padding:12px 20px 14px;overflow:visible;clip:auto;clip-path:none;white-space:normal;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;border:1px solid var(--sp-line);border-top:1px dashed var(--sp-line);border-radius:0 0 20px 20px;background:var(--sp-card);box-shadow:0 12px 32px -16px rgb(16 24 40 / .18);color:var(--sp-sub);font:500 13px/1.45 var(--gx-font);text-align:left}
body.eywal-auth main.gx2 .gx-art-facts li{position:relative;margin:0;padding-left:14px}
body.eywal-auth main.gx2 .gx-art-facts li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:var(--sp-acc)}
body.eywal-auth main.gx2 .gx-art-facts li:nth-child(-n+2){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
/* cột trái: khẩu hiệu là tiêu đề mạnh nhất; khẩu hiệu và khung sơ đồ cùng một lề trái */
body.eywal-auth main.gx2 .gx-headline{margin:0;font-size:clamp(34px,3.4vw,54px)!important;line-height:1.06;letter-spacing:-.035em}
body.eywal-auth main.gx2 .gx-story::after{opacity:.55}
body.eywal-auth main.gx2 .gx-pane{background:var(--sp-bg)}
/* thẻ đăng nhập */
body.eywal-auth main.gx2 .gx-layout{box-sizing:border-box;width:100%;max-width:400px;padding:28px 28px 22px;border:1px solid var(--sp-line);border-radius:20px;background:var(--sp-card);box-shadow:0 1px 2px rgb(16 24 40 / .05),0 24px 48px -20px rgb(16 24 40 / .18)}
body.eywal-auth main.gx2 .gx-title.gx-cardt{margin:0 0 20px;color:var(--sp-ink);font-size:24px!important;line-height:1.2;letter-spacing:-.02em}
/* nút Google kiểu sáng (theo hướng dẫn thương hiệu Google): nền trắng, viền xám, chữ gần đen; logo G giữ nguyên tệp */
body.eywal-auth main.gx2 .gx-google{min-height:52px;padding:12px 18px;gap:12px;border:1px solid rgb(134 142 154);border-radius:12px;background:rgb(255 255 255);color:rgb(31 31 31)!important;font-size:15px;font-weight:600;letter-spacing:-.005em;box-shadow:0 1px 2px rgb(16 24 40 / .08),0 4px 12px -4px rgb(16 24 40 / .14);transition:background-color .15s,box-shadow .15s,border-color .15s,transform .15s}
body.eywal-auth main.gx2 .gx-google img{flex:0 0 20px;width:20px;height:20px;padding:0;border-radius:0;background:none}
body.eywal-auth main.gx2 .gx-google:hover{background:rgb(248 249 250);border-color:rgb(102 112 133);transform:translateY(-1px);box-shadow:0 2px 4px rgb(16 24 40 / .08),0 10px 20px -8px rgb(16 24 40 / .2)}
body.eywal-auth main.gx2 .gx-google:active{background:rgb(241 243 245);transform:none;box-shadow:0 1px 2px rgb(16 24 40 / .08)}
body.eywal-auth main.gx2 .gx-google:focus-visible{outline:2px solid var(--sp-acc);outline-offset:3px}
body.eywal-auth main.gx2 .gx-google[aria-disabled="true"]{opacity:.55;pointer-events:none}
/* "Vì sao dùng EYWAL?" cô đọng; chữ phụ đạt AA (rgb(71 84 103) trên trắng = 7.6:1) */
body.eywal-auth main.gx2 .gx-hero .gx-whyin{margin-top:20px;padding-top:16px}
body.eywal-auth main.gx2 .gx-hero .gx-whyin-h{margin:0 0 10px;color:var(--sp-ink);font-size:13px!important}
body.eywal-auth main.gx2 .gx-hero .gx-whyin .gx-benefits{gap:10px}
body.eywal-auth main.gx2 .gx-hero .gx-whyin .gx-benefits h4{color:var(--sp-ink);font-size:13.5px!important;line-height:1.35;margin:0 0 2px}
body.eywal-auth main.gx2 .gx-hero .gx-whyin .gx-benefits p{color:var(--sp-sub);font-size:12.5px;line-height:1.5}
body.eywal-auth main.gx2 .gx-hero .gx-whyin .gx-ico{background:rgb(238 243 255);color:var(--sp-acc)}
body.eywal-auth main.gx2 .gx-foot{position:static;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 16px;margin:16px 0 0;padding:0;color:var(--sp-sub);font-size:12.5px;white-space:nowrap}
body.eywal-auth main.gx2 .gx-foot a{color:var(--sp-sub)}
/* ≥960px: hai cột; thẻ phải căn giữa dọc bằng margin:auto (nội dung cao hơn viewport thì trang cuộn tự nhiên, không cắt) */
@media (min-width:960px){
  body.eywal-auth main.gx.gx2:not(.gx2-sso){display:grid;grid-template-columns:minmax(0,1fr) clamp(380px,32vw,480px);min-height:100vh;min-height:100dvh}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-story{padding:28px clamp(32px,4vw,64px) 32px;flex:none}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-heroL{box-sizing:border-box;width:min(100%,max(560px,calc((100vh - 300px) * 1.46 + 34px)));width:min(100%,max(560px,calc((100dvh - 300px) * 1.46 + 34px)));max-width:1040px;margin:auto;padding:24px 0 0}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-brand{box-sizing:border-box;width:min(100%,max(560px,calc((100vh - 300px) * 1.46 + 34px)));width:min(100%,max(560px,calc((100dvh - 300px) * 1.46 + 34px)));max-width:1040px;margin:0 auto}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-pane{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:100vh;min-height:100dvh;box-sizing:border-box;padding:24px 32px 16px;margin:0;border:0;border-left:1px solid var(--sp-line);border-radius:0;box-shadow:none}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-layout{margin:auto 0 0}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-foot{margin:auto 0 0;padding-top:16px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-hero .gx-title.gx-cardt{display:block!important;position:static!important;width:auto;height:auto;margin:0 0 20px!important;overflow:visible;clip:auto;clip-path:none;white-space:normal}
}
@media (min-width:960px) and (max-width:1199px){
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-pane{padding-left:20px;padding-right:20px}
}
@media (min-width:960px) and (max-height:640px){
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-pane{padding-top:16px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-layout{padding:20px 24px 16px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-title.gx-cardt{font-size:20px!important;margin-bottom:14px!important}
  body.eywal-auth main.gx2 .gx-hero .gx-whyin{margin-top:14px;padding-top:12px}
  body.eywal-auth main.gx2 .gx-hero .gx-whyin .gx-benefits{gap:8px}
}
/* <960px: khẩu hiệu → thẻ (nút Google) → minh hoạ (thứ tự hiển thị bằng display:contents + order; DOM giữ nguyên) */
@media (max-width:959px){
  body.eywal-auth main.gx.gx2:not(.gx2-sso){display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;background:radial-gradient(70% 40% at 15% 0%,rgb(117 228 223 / .35),transparent 70%),radial-gradient(60% 40% at 90% 10%,rgb(111 168 255 / .3),transparent 70%),var(--sp-bg)}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-story,body.eywal-auth main.gx2:not(.gx2-sso) .gx-heroL{display:contents}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-story::before,body.eywal-auth main.gx2:not(.gx2-sso) .gx-story::after{display:none}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-brand{order:1;box-sizing:border-box;width:100%;max-width:720px;margin:0 auto;padding:calc(14px + env(safe-area-inset-top)) 20px 0}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-headline{order:2;box-sizing:border-box;width:100%;max-width:720px;margin:20px auto 20px;padding:0 20px;font-size:clamp(36px,9vw,52px)!important}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-pane{display:contents}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-layout{order:3;box-sizing:border-box;width:calc(100% - 32px);max-width:688px;margin:0 auto;padding:22px 20px 18px;border:1px solid var(--sp-line);background:var(--sp-card);box-shadow:0 1px 2px rgb(16 24 40 / .05),0 16px 32px -20px rgb(16 24 40 / .2)}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-art.gx-art-info{order:4;width:calc(100% - 32px);max-width:688px;margin:20px auto 0;padding:10px 8px 8px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-art-facts{order:5;box-sizing:border-box;width:calc(100% - 32px);max-width:688px;margin:0 auto 8px;grid-template-columns:1fr}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-art-facts li:nth-child(-n+2){position:relative;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal;padding-left:14px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-foot{order:6;margin:8px auto calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap}
}

/* ui-signin-polish-r2 (25/11): thanh đầu gọn (logo 26px sát trên; "English" lên góc trên phải, thẳng mép phải thẻ), cột trái co theo chiều cao màn hình,
   thẻ phải căn đỉnh cùng khẩu hiệu; hiệu ứng truy cập khôi phục (gói tin = chấm nhỏ màu nhấn chạy đúng path); "Bạn" = nguyên tử (SMIL + CSS, không JS) */
body.eywal-auth main.gx2 .gx-atom-still{display:none}
@media (prefers-reduced-motion:reduce){
  body.eywal-auth main.gx2 .gx-atom-live{display:none}
  body.eywal-auth main.gx2 .gx-atom-still{display:inline}
}
@media (prefers-reduced-motion:no-preference){
  body.eywal-auth main.gx2 .gx-art-info .gx-art-core{transform-box:fill-box;transform-origin:center;animation:gx-breathe 3.6s ease-in-out infinite}
  @keyframes gx-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.03)}}
}
body.eywal-auth main.gx2 .gx-wordmark{width:auto;height:26px}
@media (min-width:960px){
  body.eywal-auth main.gx.gx2:not(.gx2-sso){--sp-pw:clamp(380px,32vw,480px);--sp-pp:32px;--sp-cw:min(400px,calc(var(--sp-pw) - 2 * var(--sp-pp)));--sp-w:min(100%,max(480px,calc((93vh - 190px) * 1.46 + 34px)))}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-story{overflow:visible;padding-top:16px;padding-bottom:16px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-story::after{inset:0;overflow:hidden}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-brand{position:static;width:var(--sp-w);max-width:1040px;min-height:28px;margin:0 auto}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-brand-link{min-height:28px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-lang{position:absolute;z-index:3;top:10px;right:calc(-1 * (var(--sp-pw) + var(--sp-cw)) / 2);margin:0}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-lang a{min-height:36px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-heroL{width:var(--sp-w);max-width:1040px;margin:0 auto;padding:0}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-headline{margin:12px 0 14px;font-size:clamp(28px,min(3.4vw,6.4vh),54px)!important}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-art.gx-art-info{margin-top:0}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-pane{position:relative;z-index:1;padding:56px var(--sp-pp) 16px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-layout{margin:0}
}
@media (min-width:960px) and (max-width:1199px){
  body.eywal-auth main.gx.gx2:not(.gx2-sso){--sp-pp:20px}
}
@media (min-width:960px) and (max-height:640px){
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-pane{padding-top:56px}
}
@media (max-width:959px){
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-brand{padding-top:calc(10px + env(safe-area-inset-top))}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-headline{margin-top:12px}
}

/* signin-wording-r2 (Owner 27/11): (a) biểu tượng EYWAL (hình E) bên trái tiêu đề "Kết nối EYWAL", là liên kết trang chủ; trang thường không còn logo góc trên trái
   (thanh đầu chỉ còn nút ngôn ngữ, khẩu hiệu dịch lên); tiêu đề + biểu tượng hiện ở mọi bề rộng (di động trước đây ẩn thị giác tiêu đề). SSO không đổi.
   (b) sơ đồ: ô chọn hiện icon hồ sơ đang chọn (SMIL trong SVG, không JS); dòng hồ sơ không chọn mờ .45; giảm chuyển động ⇒ tĩnh ở hồ sơ đầu (icon: .gx-atom-live/.gx-atom-still có sẵn; dòng: luật dưới). */
body.eywal-auth main.gx2:not(.gx2-sso) .gx-cardhead{display:flex;align-items:center;justify-content:center;gap:2px;min-width:0;margin:0 0 20px}
body.eywal-auth main.gx2:not(.gx2-sso) .gx-cardlogo{flex:0 0 auto;display:inline-grid;place-items:center;width:var(--ey-tap);height:var(--ey-tap);margin:-9px 0 -9px -9px;border-radius:8px;text-decoration:none}
body.eywal-auth main.gx2:not(.gx2-sso) .gx-cardlogo:focus-visible{outline:2px solid var(--sp-acc);outline-offset:-2px}
body.eywal-auth main.gx2:not(.gx2-sso) .gx-mark{display:block;width:26px;height:26px}
body.eywal-auth main.gx2:not(.gx2-sso) .gx-hero .gx-cardhead .gx-title.gx-cardt{display:block!important;position:static!important;width:auto;height:auto;min-width:0;margin:0!important;padding:0;overflow:visible;clip:auto;clip-path:none;white-space:normal;overflow-wrap:anywhere}
@media (min-width:960px){
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-brand{min-height:0}
}
@media (min-width:960px) and (max-height:640px){
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-cardhead{margin-bottom:14px}
  body.eywal-auth main.gx2:not(.gx2-sso) .gx-mark{width:22px;height:22px}
}
@media (prefers-reduced-motion:reduce){
  body.eywal-auth main.gx2 .gx-art-info .gx-pr{opacity:.45!important}
  body.eywal-auth main.gx2 .gx-art-info .gx-pr.gx-pr0{opacity:1!important}
}
