:root{
    --auth-bg:#eef3f8;
    --auth-surface:#ffffff;
    --auth-surface-soft:#f7f9fc;
    --auth-ink:#142033;
    --auth-muted:#66758b;
    --auth-line:#dbe3ee;
    --auth-primary:#2858d7;
    --auth-primary-dark:#1d3f9c;
    --auth-navy:#0d1b35;
    --auth-success:#087a55;
    --auth-danger:#b42335;
    --auth-warning:#9a5b00;
    --auth-shadow:0 24px 70px rgba(28,45,77,.14);
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--auth-bg)}
body.auth-workspace-page{min-height:100vh;margin:0;background:
    radial-gradient(circle at 8% 12%,rgba(40,88,215,.10),transparent 28%),
    radial-gradient(circle at 88% 90%,rgba(15,118,110,.08),transparent 28%),
    var(--auth-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--auth-ink)}
button,input{font:inherit}
a{color:inherit}
.auth-workspace{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto;padding:22px}
.auth-topbar{width:min(1180px,100%);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.auth-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.auth-brand__logo{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#fff;border:1px solid var(--auth-line);box-shadow:0 8px 24px rgba(28,45,77,.08);overflow:hidden}
.auth-brand__logo img{width:38px;height:30px;object-fit:contain}
.auth-brand__copy{display:grid;gap:2px}
.auth-brand__copy strong{font-size:13px;letter-spacing:.08em;color:#18305d}
.auth-brand__copy small{font-size:11px;color:var(--auth-muted)}
.auth-secure-pill{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid var(--auth-line);color:#3d4b61;font-size:11px;font-weight:800}
.auth-secure-pill::before{content:"";width:8px;height:8px;border-radius:50%;background:#23a26d;box-shadow:0 0 0 4px rgba(35,162,109,.12)}
.auth-frame{width:min(1180px,100%);margin:auto;display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,.78fr);min-height:650px;border-radius:28px;overflow:hidden;background:var(--auth-surface);border:1px solid rgba(255,255,255,.82);box-shadow:var(--auth-shadow)}
.auth-story{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:54px;background:
    linear-gradient(145deg,rgba(16,42,84,.96),rgba(21,54,110,.96)),
    var(--auth-navy);color:#fff;overflow:hidden}
.auth-story::before,.auth-story::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.auth-story::before{width:330px;height:330px;right:-170px;top:-130px;border:72px solid rgba(255,255,255,.055)}
.auth-story::after{width:240px;height:240px;left:-130px;bottom:-130px;background:rgba(54,130,246,.12)}
.auth-story>*{position:relative;z-index:1}
.auth-eyebrow{display:inline-flex;align-items:center;gap:9px;width:max-content;max-width:100%;padding:8px 11px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.07);font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:#d8e7ff}
.auth-eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:#77b7ff}
.auth-story h1{max-width:590px;margin:24px 0 16px;font-size:clamp(2.35rem,4.4vw,4.25rem);line-height:.98;letter-spacing:-.06em}
.auth-story__lead{max-width:560px;margin:0;color:rgba(255,255,255,.71);font-size:15px;line-height:1.75}
.auth-feature-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:36px}
.auth-feature{min-width:0;padding:15px;border-radius:17px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.055)}
.auth-feature b{display:block;margin-bottom:8px;color:#9bc3ff;font-size:11px;letter-spacing:.08em}
.auth-feature strong{display:block;font-size:13px}
.auth-feature span{display:block;margin-top:5px;color:rgba(255,255,255,.58);font-size:10px;line-height:1.45}
.auth-story__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:34px;color:rgba(255,255,255,.52);font-size:10px}
.auth-story__footer b{color:#fff}
.auth-form-area{display:flex;align-items:center;justify-content:center;padding:48px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.auth-form-card{width:min(430px,100%)}
.auth-form-head{margin-bottom:28px}
.auth-form-head__icon{width:42px;height:42px;margin-bottom:18px;border-radius:14px;display:grid;place-items:center;background:#eaf0ff;color:var(--auth-primary);font-weight:950}
.auth-form-head h2{margin:0;font-size:31px;letter-spacing:-.045em}
.auth-form-head p{margin:9px 0 0;color:var(--auth-muted);font-size:13px;line-height:1.6}
.auth-alert{display:flex;align-items:flex-start;gap:10px;margin:0 0 15px;padding:12px 13px;border-radius:13px;border:1px solid;font-size:12px;line-height:1.5}
.auth-alert::before{font-weight:950}
.auth-alert.success{color:#076044;background:#eefbf6;border-color:#b9ead6}.auth-alert.success::before{content:"✓"}
.auth-alert.danger{color:#982235;background:#fff3f5;border-color:#f4c7cf}.auth-alert.danger::before{content:"!"}
.auth-alert.warning{color:#875000;background:#fff9ec;border-color:#f1d8a1}.auth-alert.warning::before{content:"i"}
.auth-alert ul{margin:0;padding-left:18px}
.auth-field{display:grid;gap:7px;margin-bottom:15px}
.auth-field>span,.auth-label{font-size:11px;font-weight:850;color:#344258}
.auth-control{position:relative;display:flex;align-items:center}
.auth-control__mark{position:absolute;left:14px;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#f0f4fa;color:#54647d;font-size:11px;font-weight:950;pointer-events:none}
.auth-control input{width:100%;height:54px;padding:0 72px 0 52px;border:1px solid var(--auth-line);border-radius:14px;background:#fff;color:var(--auth-ink);font-size:16px;font-weight:650;line-height:1.2;outline:0;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.auth-control input::placeholder{color:#98a4b5;font-size:14px;font-weight:500;opacity:1}
.auth-control input:focus{border-color:#7d9be9;box-shadow:0 0 0 4px rgba(40,88,215,.10);background:#fff}
.auth-password-toggle{position:absolute;right:8px;min-width:60px;height:38px;padding:0 10px;border:0;border-radius:10px;background:#eef2f7;color:#526078;font-size:10px;font-weight:850;cursor:pointer}
.auth-password-toggle:hover{background:#e2e8f0;color:#26364f}
.auth-form-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:3px 0 18px;color:#7d899a;font-size:10px;font-weight:750}
.auth-form-meta a,.auth-inline-link{color:var(--auth-primary);font-weight:850;text-decoration:none}
.auth-form-meta a:hover,.auth-inline-link:hover{text-decoration:underline}
.auth-submit{width:100%;height:50px;border:0;border-radius:14px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;background:linear-gradient(135deg,var(--auth-primary-dark),var(--auth-primary));color:#fff;font-weight:900;cursor:pointer;box-shadow:0 13px 28px rgba(40,88,215,.23);transition:transform .15s ease,box-shadow .15s ease}
.auth-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 17px 32px rgba(40,88,215,.28)}
.auth-submit:disabled{opacity:.62;cursor:wait;box-shadow:none}
.auth-submit b{font-size:19px}
.auth-separator{display:flex;align-items:center;gap:12px;margin:20px 0;color:#98a3b2;font-size:10px}.auth-separator::before,.auth-separator::after{content:"";height:1px;flex:1;background:var(--auth-line)}
.auth-google{width:100%;height:48px;border:1px solid var(--auth-line);border-radius:14px;background:#fff;color:#28364b;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:850;cursor:pointer}
.auth-google:hover{background:#f8fafc;border-color:#c7d2e1}
.google-g{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;border:1px solid #dbe3ee;color:#315bd8;font-weight:950}
.auth-provider-note{margin:10px 0 0;text-align:center;color:#8a96a7;font-size:10px;line-height:1.45}.auth-provider-note.success{color:var(--auth-success)}
.auth-card-footer{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:24px;color:#8994a4;font-size:10px}.auth-card-footer a{color:#4c5c73;font-weight:800;text-decoration:none}.auth-card-footer a:hover{color:var(--auth-primary)}
.auth-hint{display:flex;align-items:flex-start;gap:10px;margin-top:18px;padding:12px;border:1px solid var(--auth-line);border-radius:13px;background:var(--auth-surface-soft);color:#68758a;font-size:10px;line-height:1.55}
.auth-hint::before{content:"i";flex:0 0 20px;width:20px;height:20px;border-radius:7px;display:grid;place-items:center;background:#e5ebf4;color:#40516c;font-weight:950}
.auth-links{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:17px}.auth-links a{color:var(--auth-primary);font-size:11px;font-weight:850;text-decoration:none}
.auth-strength{margin:9px 0 0}.auth-strength__track{height:6px;border-radius:999px;background:#e6ebf2;overflow:hidden}.auth-strength__bar{display:block;width:0;height:100%;border-radius:inherit;background:#d6455d;transition:width .16s ease,background .16s ease}
.auth-rules{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.auth-rule{padding:5px 8px;border-radius:999px;background:#f2f5f9;border:1px solid #e2e8f0;color:#7c889a;font-size:9px;font-weight:850}.auth-rule.is-ok{background:#edfaf4;border-color:#c8ebda;color:#08724f}
.auth-match{margin:-4px 0 14px;color:#7b8798;font-size:10px;font-weight:800}.auth-match.is-ok{color:#08724f}.auth-match.is-bad{color:#b42335}
.auth-page-footer{width:min(1180px,100%);margin:16px auto 0;display:flex;justify-content:space-between;gap:16px;color:#8592a4;font-size:10px}
@media(max-width:980px){.auth-frame{grid-template-columns:1fr;max-width:680px}.auth-story{min-height:340px;padding:38px}.auth-story h1{font-size:clamp(2.2rem,8vw,3.3rem)}.auth-feature-list{grid-template-columns:repeat(3,1fr)}.auth-form-area{padding:40px}.auth-story__footer{display:none}}
@media(max-width:640px){.auth-workspace{padding:12px}.auth-topbar{padding:4px 2px}.auth-secure-pill{display:none}.auth-frame{min-height:calc(100vh - 105px);border-radius:20px}.auth-story{display:none}.auth-form-area{padding:28px 20px}.auth-form-head h2{font-size:27px}.auth-page-footer{padding:0 4px}.auth-page-footer span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.auth-brand__logo img,.company-picker-brand__logo img{display:block!important;visibility:visible!important;opacity:1!important}


/* v2026.08.02.025 Google OAuth diagnostics */
.auth-provider-diagnostic{margin-top:10px;padding:11px 12px;border:1px solid #f0c8cf;border-radius:12px;background:#fff4f6;color:#8f2336;display:grid;gap:6px;font-size:11px;line-height:1.45}
.auth-provider-diagnostic strong{font-weight:800}
.auth-provider-diagnostic span{color:#6f4c55;font-size:10px}
.auth-provider-diagnostic code{display:block;max-width:100%;overflow:auto;padding:7px 8px;border-radius:8px;background:#fff;color:#3e4d63;font:600 10px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}
