/* 只作用于登录及待配置页面；复用 RAG 的蓝白故事区和分段登录选择器。 */
#authView.auth-page { min-height:100dvh; padding:40px; display:grid; grid-template-columns:minmax(340px,1.15fr) minmax(340px,.85fr); gap:60px; align-items:center; background:radial-gradient(ellipse at 18% 15%,#e1edff,transparent 58%),#f7f9fd; }
#authView .auth-story { max-width:670px; padding:35px; color:#192c55; }
.auth-story .auth-brand { display:flex; align-items:center; gap:14px; font-size:20px; font-weight:650; margin-bottom:90px; }
.auth-orb { display:inline-block; flex-shrink:0; width:48px; height:48px; border-radius:50%; background:linear-gradient(165deg,#e5e9ff 5%,#8fa8ff 42%,#437aeb 60%,#a9d7ff); box-shadow:0 8px 22px #658ce026; }
.auth-story h2 { font-size:clamp(32px,3.3vw,52px); line-height:1.45; letter-spacing:-1px; margin:20px 0; }
.auth-story p { color:#6b7b98; font-size:16px; line-height:2; }
.auth-story .story-tags { display:flex; flex-wrap:wrap; gap:12px; margin:30px 0 85px; }
.story-tags span { background:#ffffffad; border:1px solid #e1e8f5; padding:8px 14px; border-radius:25px; font-size:13px; }
.auth-story small { color:#8190a9; }
#authView .auth-card, #pendingView .auth-card { width:100%; max-width:440px; margin:0 auto; padding:38px; border:1px solid #e7ecf6; border-radius:24px; background:#fff; box-shadow:0 16px 55px #2539670a; }
#authView .auth-card h1 { font-size:27px; line-height:1.5; margin:18px 0 5px; }
#authView .auth-card .subtle { font-size:14px; color:#8490a8; margin:0 0 25px; }
#authView .login-modes { display:flex; gap:5px; padding:5px; margin:24px 0; background:#f2f5fb; border:1px solid #e9edf6; border-radius:14px; }
#authView .login-modes button { flex:1; min-height:43px; border:0; background:transparent; color:#818aa2; border-radius:10px; font-size:13px; cursor:pointer; }
#authView .login-modes button[aria-pressed=true] { background:#fff; color:#213f84; box-shadow:0 2px 8px #243d7210; font-weight:600; }
#authView button:focus-visible { outline:2px solid #5484eb; outline-offset:3px; }
#authView .wecom-panel { text-align:center; padding:12px 0; }
.wecom-emblem { display:grid; place-items:center; width:70px; height:70px; margin:0 auto 22px; border:1px solid #dce7ff; border-radius:23px; color:#477de7; background:linear-gradient(145deg,#f0f6ff,#e5edff); }
.wecom-emblem svg { width:32px; height:32px; fill:none; stroke:currentColor; stroke-width:1.7; }
#authView .wecom-panel h3 { font-size:17px; margin:0 0 12px; }
#authView .wecom-panel p { font-size:13px; color:#8190a9; line-height:1.9; }
#authView .wecom-panel small { display:block; margin:18px 0; color:#929bb0; font-size:12px; }
#authView .button.primary { width:100%; min-height:49px; border-radius:13px; background:#346ce5; border-color:#346ce5; box-shadow:0 6px 16px #346ce51b; }
#authView input { border-radius:11px; min-height:46px; background:#fcfdff; }
#authView .wecom-browser-hint { padding:14px; border:1px solid #e5ecf8; background:#f4f7fd; border-radius:12px; }
#authView .auth-foot { text-align:center; color:#929bb0; font-size:11px; margin-top:24px; }
#authView [hidden], #pendingView[hidden] { display:none !important; }
#authView.hidden, #pendingView.hidden { display:none !important; }
#authMessage:empty { display:none; }
#pendingView { min-height:100dvh; background:#f4f7fd; }
#pendingView .auth-card { text-align:center; }
#pendingView p { color:#7887a0; line-height:1.8; }
#pendingView .pending-actions { display:flex; justify-content:center; gap:12px; margin-top:25px; }
@media(max-width:800px) { #authView.auth-page { display:flex; padding:28px 18px; } #authView .auth-story { display:none; } #authView .auth-card { padding:30px 25px; } }
@media(max-width:400px) { #authView.auth-page { padding:18px 12px; } #authView .auth-card { padding:26px 20px; } }
