/* OmniBroking v4 — auth + account page styles (loads after styles.css) */
.auth-wrap{padding:56px 0 72px}
.auth-card{max-width:480px;margin:0 auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow);padding:36px 34px}
@media (max-width:560px){.auth-card{padding:28px 22px}}
.auth-card h1{font-size:29px;margin-bottom:8px}
.auth-card .lede{color:var(--muted);margin:0 0 26px;font-size:15.5px}
.auth-form{display:grid;gap:16px}
.auth-card .field input{font-size:16px}
.auth-card .form-error{color:#A52A24}
@media (prefers-color-scheme:dark){.auth-card .form-error{color:#FF9D94}}
.pw-wrap{position:relative}
.pw-wrap input{padding-right:52px}
.pw-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:transparent;border:0;cursor:pointer;color:var(--muted);font-size:13px;font-weight:700;padding:8px 10px;min-height:44px;border-radius:8px}
.pw-toggle:hover{color:var(--ink)}
.check-line{display:flex;gap:11px;align-items:flex-start;font-size:13.5px;color:var(--muted)}
.check-line input{width:20px;height:20px;min-height:20px;margin-top:2px;flex:none;accent-color:var(--gold)}
.check-line a{color:var(--gold-strong);font-weight:600}
.auth-alt{margin:22px 0 0;text-align:center;font-size:14.5px;color:var(--muted)}
.auth-alt a{color:var(--gold-strong);font-weight:700}
.link-btn{background:none;border:0;padding:0 6px;cursor:pointer;color:var(--gold-strong);font-weight:700;font-size:14.5px;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline}
.otp-input{font-family:var(--font-mono);font-size:24px!important;letter-spacing:.45em;text-align:center;font-weight:600}
.step-hidden{display:none}
.resend-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.account-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:860px){.account-grid{grid-template-columns:1fr}}
.profile-head{display:flex;gap:16px;align-items:center;margin-bottom:20px}
.profile-head h2{font-size:21px;margin:0}
.profile-head p{margin:2px 0 0;color:var(--muted);font-size:14px}
.avatar-picker{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.avatar-picker button{border:2px solid transparent;background:none;padding:3px;border-radius:50%;cursor:pointer;min-height:0}
.avatar-picker button[aria-pressed="true"]{border-color:var(--gold)}
.avatar-picker .avatar-disc{width:44px;height:44px;font-size:16px}
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.stat{border:1px solid var(--line);border-radius:var(--r-md);padding:14px}
.stat span{display:block;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted-2)}
.stat b{display:block;font-size:19px;margin-top:3px;font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-weight:600}
.danger-zone{border:1px solid var(--down);border-radius:var(--r-lg);padding:22px 24px;background:var(--surface)}
.danger-zone h3{margin:0 0 6px;color:var(--down)}
.danger-zone p{margin:0 0 16px;color:var(--muted);font-size:14.5px}
.success-note{display:none;background:var(--up-bg);color:var(--up);border-radius:10px;padding:12px 14px;font-size:14px;font-weight:600;margin:0 0 16px}
.success-note.show{display:block}

.google-btn{display:flex;justify-content:center;min-height:44px;margin:0 0 6px}
.auth-divider{display:flex;align-items:center;gap:12px;margin:14px 0 18px;color:var(--muted);font-size:13px}
.auth-divider::before,.auth-divider::after{content:"";flex:1;border-top:1px solid var(--line)}
.flash-toast{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--up-bg);color:var(--up);border-radius:10px;padding:12px 14px;font-size:14.5px;font-weight:600;margin:0 0 16px}
.flash-toast[hidden]{display:none}
.flash-toast-close{background:none;border:0;color:inherit;font-size:20px;line-height:1;cursor:pointer;padding:4px 8px;min-height:32px}

/* Google sign-in button — site-owned standard + fallback (2026-12-04).
   GIS renders its button inline in #googleBtn and normally styles it from
   Google's own stylesheet. When that stylesheet fails to load (seen
   live on the owner's phone: the G logo rendered at full column width,
   320px tall), the rules below keep the button at the platform standard
   from this site's own CSS. The ID-scoped icon rule outranks the GIS
   class rules, so the logo can never blow up again, and the button
   always matches the form column like the other fields: white,
   1px neutral border, 10px radius (the input radius), 48px tall (the
   input height), G icon fixed at 20px. */
#googleBtn{min-height:48px}
#googleBtn .S9gUrf-YoZ4jf,#googleBtn>div{max-width:100%}
#googleBtn svg{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;flex:none;display:block}
#googleBtn .L6cTce{display:none!important}
#googleBtn .nsm7Bb-HzV7m-LgbsSe{background:#fff;border:1px solid #dadce0;border-radius:10px;height:48px;max-width:100%!important;box-sizing:border-box;cursor:pointer}
#googleBtn .nsm7Bb-HzV7m-LgbsSe-bN97Pc-sM5MNb{display:flex;align-items:center;justify-content:center;gap:10px;height:100%;padding:0 12px;box-sizing:border-box}
#googleBtn .nsm7Bb-HzV7m-LgbsSe-Bz112c{display:flex;align-items:center;justify-content:center;flex:none}
#googleBtn .nsm7Bb-HzV7m-LgbsSe-BPrWId{font-family:inherit;font-size:15px;font-weight:500;color:#3c4043;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
