:root{color-scheme:light;--ink: #14171c;--text: #3d434b;--muted: #636a75;--line: rgba(18, 26, 38, .14);--line-soft: rgba(18, 26, 38, .08);--canvas: #f7f8fa;--surface: #ffffff;--surface-soft: #f4f5f8;--brand: #0d9488;--brand-hover: #0f766e;--danger: #b42318;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}html,body{min-height:100%}body{margin:0;min-width:320px;color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased}.auth-brand{display:none}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1120px) / 2));border-bottom:1px solid var(--line-soft);background:rgba(255,255,255,.97)}.brand,.auth-brand-logo{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:16px;font-weight:720;text-decoration:none;letter-spacing:-.02em}.brand img,.auth-brand-logo img{display:block}.secure-label{color:var(--muted);font-size:12px}.page{min-height:calc(100vh - 116px);display:grid;place-items:center;padding:44px 20px}.consent{width:min(100%,560px);padding:38px;border:1px solid var(--line-soft);border-radius:20px;background:var(--surface);box-shadow:0 18px 55px rgba(23,26,31,.08);text-align:center}.app-mark{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 16px;border:1px solid var(--line-soft);border-radius:18px;background:#fff}.app-mark img{width:42px;height:42px;display:block;object-fit:contain}.app-name{margin:0 0 8px;color:var(--muted);font-size:13px;font-weight:650}h1{margin:0;font-size:clamp(24px,4vw,28px);line-height:1.22;letter-spacing:-.035em}.request-copy{margin:10px 0 26px;color:var(--muted);font-size:14px;line-height:1.55}.panel{width:100%;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:left}.panel[hidden],.account-panel[hidden]{display:none}.account-panel{min-height:76px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px 15px}.avatar{width:46px;height:46px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line-soft);border-radius:50%;background:#e8f5f2}.avatar img{width:100%;height:100%;display:block;object-fit:cover}.avatar img[hidden]{display:none}#account-initial{color:var(--brand-hover);font-size:18px;font-weight:750}.account-copy{min-width:0;display:grid;gap:3px}.account-copy strong,.account-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-copy strong{font-size:14px}.account-copy span{color:var(--muted);font-size:12px}.switch-account{border:0;padding:6px 0 6px 10px;color:var(--brand-hover);background:transparent;font:inherit;font-size:12px;font-weight:550;cursor:pointer}.switch-account:hover{text-decoration:underline;text-underline-offset:2px}.switch-account:disabled{cursor:wait;opacity:.55}.access-panel{margin-top:14px;padding:19px}.app-facts{display:flex;align-items:center;justify-content:space-between;gap:18px}.section-label{color:var(--muted);font-size:12px;font-weight:650}.fact-list{display:grid;gap:9px;margin:12px 0 0;padding:0;list-style:none}.fact{display:grid;grid-template-columns:16px 1fr;align-items:start;gap:9px;color:var(--text);font-size:13px;line-height:1.5}.fact[hidden]{display:none}.fact-icon{margin-top:2px;color:var(--muted)}.fact a{color:var(--brand-hover);text-decoration:none;word-break:break-all}.fact a:hover{text-decoration:underline}.permission-summary{display:grid;gap:11px;margin-top:17px;padding-top:16px;border-top:1px solid var(--line-soft)}.permission-summary ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}.permission-summary li{position:relative;padding-left:18px;color:var(--text);font-size:13px;line-height:1.45}.permission-summary li::before{content:"";position:absolute;top:.55em;left:2px;width:6px;height:6px;border-radius:50%;background:var(--brand)}.status{min-height:66px;display:flex;align-items:center;gap:13px;margin-top:14px;padding:14px 16px;border:1px solid var(--line-soft);border-radius:12px;background:var(--surface-soft);text-align:left}.status[hidden]{display:none}.status strong{font-size:13px}.status p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.status[data-tone=error]{border-color:#f0c5c0;background:#fff7f6}.status[data-tone=error] strong{color:var(--danger)}.spinner{width:18px;height:18px;flex:0 0 auto;border:2px solid #cfd7d6;border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}.status:not([data-loading=true]) .spinner{display:none}.actions{display:grid;gap:10px;margin-top:18px}.actions[hidden]{display:none}.button{width:100%;min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:8px;font:inherit;font-size:14px;font-weight:650;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.button:focus-visible,.switch-account:focus-visible,a:focus-visible{outline:3px solid rgba(13,148,136,.2);outline-offset:2px}.button.primary{border-color:var(--brand-hover);color:#fff;background:var(--brand-hover);box-shadow:0 4px 12px rgba(15,118,110,.18)}.button.primary:hover{border-color:#0b625c;background:#0b625c}.button.secondary{border-color:var(--line);color:var(--ink);background:#fff}.button.secondary:hover{background:var(--surface-soft)}.button:disabled{cursor:wait;opacity:.6}.consent-note{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.consent-note a{color:var(--brand-hover);text-decoration:none}.consent-note a:hover{text-decoration:underline}.footer{min-height:52px;display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 20px;color:var(--muted);font-size:11px}.footer a{color:inherit;text-decoration:none}.footer a:hover{color:var(--ink)}body[data-mode=first-party]{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr) auto;background:#fff}body[data-mode=first-party] .topbar{display:none}body[data-mode=first-party] .auth-brand{position:relative;grid-column:1;grid-row:1 / 3;display:flex;flex-direction:column;justify-content:space-between;gap:48px;min-height:100vh;min-height:100dvh;padding:40px 48px 32px;overflow:hidden;color:#f2fbf9;background:radial-gradient(860px 520px at 88% -12%,rgba(20,184,166,.17),transparent 62%),radial-gradient(700px 520px at -12% 112%,rgba(6,182,212,.11),transparent 58%),linear-gradient(162deg,#0a1413 0%,#0c201e 52%,#0e312c 100%)}body[data-mode=first-party] .auth-brand-logo{position:relative;z-index:1;width:fit-content;color:#f2fbf9}.auth-brand-copy{position:relative;z-index:1;max-width:440px}.auth-brand-copy h2{margin:0;font-size:clamp(1.65rem,2.3vw,2.15rem);line-height:1.22;font-weight:700;letter-spacing:-.02em}.auth-brand-copy p{margin:14px 0 0;color:rgba(226,244,241,.72);font-size:.95rem;line-height:1.6}.auth-brand-copy ul{display:flex;flex-direction:column;gap:14px;margin:32px 0 0;padding:0;list-style:none}.auth-brand-copy li{display:flex;align-items:center;gap:11px;color:rgba(235,248,246,.9);font-size:.9rem;font-weight:500}.auth-brand-copy li svg{width:21px;height:21px;flex:0 0 auto;padding:3px;border-radius:999px;color:#5eead4;background:rgba(94,234,212,.12)}.auth-brand-foot{position:relative;z-index:1;margin:0;color:rgba(226,244,241,.45);font-size:.72rem}.auth-brand-ring{position:absolute;right:-140px;bottom:-150px;width:460px;height:460px;color:rgba(94,234,212,.07);pointer-events:none}body[data-mode=first-party] .page{grid-column:2;grid-row:1;min-height:0;place-items:center;padding:72px 24px 24px;background:#fff}body[data-mode=first-party] .consent{width:min(100%,384px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}body[data-mode=first-party] .app-mark{display:none}body[data-mode=first-party] .app-name{display:none}body[data-mode=first-party] h1{font-size:25px;font-weight:680;letter-spacing:-.025em}body[data-mode=first-party] .request-copy{margin:9px 0 25px;color:var(--muted);font-size:14px}body[data-mode=first-party] .account-panel{border-color:var(--line);background:var(--surface-soft)}body[data-mode=first-party] .actions{margin-top:18px}body[data-mode=first-party] .footer{grid-column:2;grid-row:2;padding:16px 24px 22px}body[data-mode=first-party] .footer>span{display:none}@media(max-width:1023px){body[data-mode=first-party]{display:flex;flex-direction:column}body[data-mode=first-party] .auth-brand{display:none}body[data-mode=first-party] .page{flex:1;width:100%;min-height:auto;padding:64px 20px 24px}body[data-mode=first-party] .consent{width:min(100%,384px);text-align:center}body[data-mode=first-party] .app-mark{display:grid;margin-bottom:18px}body[data-mode=first-party] .account-panel,body[data-mode=first-party] .status{text-align:left}body[data-mode=first-party] .footer{width:100%}}@media(max-width:640px){.topbar{height:56px;padding:0 16px}.secure-label{display:none}.page{min-height:calc(100vh - 100px);padding:28px 14px}.consent{padding:24px 18px;border-radius:16px}.account-panel{grid-template-columns:42px minmax(0,1fr);gap:11px}.avatar{width:42px;height:42px}.switch-account{grid-column:2;justify-self:start;padding:0}.footer{min-height:44px;gap:10px;padding:10px 12px}body[data-mode=first-party] .page{padding:48px 20px 20px}body[data-mode=first-party] .consent{padding:0}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.spinner{animation-duration:1.4s}}@keyframes spin{to{transform:rotate(360deg)}}
