@import url("./assets/brand/tokens.css");

* { box-sizing: border-box; }
body { background: #f4f8fc; color: #142847; font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; min-height: 100vh; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.auth-shell { margin: 0 auto; max-width: 1180px; min-height: 100vh; padding: 22px 32px 16px; }
.auth-header { align-items: center; display: flex; justify-content: space-between; }
.auth-brand { align-items: center; color: #0b1f4d; display: flex; gap: 9px; text-decoration: none; }
.auth-brand img { height: 39px; width: 39px; }
.auth-brand span { font-size: 17px; letter-spacing: -.06em; }
.auth-brand b { font-weight: 830; }
.auth-brand strong { color: #158bd0; font-weight: 850; }
.auth-header-caption { color: #7f90a7; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.auth-layout { align-items: center; display: grid; gap: 24px; grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); margin: 30px auto 20px; max-width: 960px; }
.auth-intro { background: linear-gradient(145deg,#0b1f4d 0%,#145c9a 55%,#47b8e9 100%); border-radius: 22px; box-shadow: 0 18px 48px rgba(16,63,107,.15); color: #fff; min-height: 500px; overflow: hidden; padding: 40px 34px; position: relative; }
.auth-kicker { align-items: center; color: rgba(255,255,255,.82); display: flex; font-size: 8px; font-weight: 850; gap: 7px; letter-spacing: .13em; }
.auth-kicker i { background: #70e1af; border-radius: 50%; box-shadow: 0 0 0 4px rgba(112,225,175,.16); height: 6px; width: 6px; }
.auth-intro h1 { font-size: clamp(31px,4vw,44px); letter-spacing: -.065em; line-height: 1.04; margin: 25px 0 12px; max-width: 390px; }
.auth-intro > p { color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.6; max-width: 340px; }
.auth-benefit { align-items: center; display: flex; gap: 11px; margin-top: 20px; position: relative; z-index: 1; }
.auth-benefit > span { align-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); border-radius: 11px; display: flex; flex: 0 0 auto; font-size: 17px; height: 36px; justify-content: center; width: 36px; }
.auth-benefit p { display: grid; gap: 1px; margin: 0; }
.auth-benefit strong { font-size: 10px; }
.auth-benefit small { color: rgba(255,255,255,.66); font-size: 9px; }
.auth-brand-watermark { bottom: -52px; color: rgba(255,255,255,.08); font-size: 240px; font-weight: 900; letter-spacing: -.12em; line-height: 1; position: absolute; right: 13px; transform: rotate(-8deg); }
.auth-panel { background: #fff; border: 1px solid #e4ebf3; border-radius: 18px; box-shadow: 0 16px 48px rgba(24,53,87,.08); min-height: 460px; padding: 25px; }
.auth-demo-warning { background: #fff6e9; border: 1px solid #f1d8aa; border-radius: 9px; color: #805d25; font-size: 9px; line-height: 1.45; margin-bottom: 18px; padding: 9px 10px; }
.auth-demo-warning strong { color: #674616; }
.auth-connected-notice { background: #eaf8f1; border: 1px solid #c7ead8; border-radius: 9px; color: #285f49; font-size: 9px; line-height: 1.45; margin-bottom: 18px; padding: 9px 10px; }
.auth-error { background: #fff0f0; border: 1px solid #f1c8c8; border-radius: 9px; color: #8b2525; font-size: 10px; line-height: 1.45; margin: -7px 0 14px; padding: 9px 10px; }
.auth-error.hidden { display: none; }
.auth-screen.hidden { display: none; }
.auth-eyebrow { color: #4d90bd; display: block; font-size: 8px; font-weight: 850; letter-spacing: .13em; margin: 4px 0 4px; }
.auth-screen h2 { color: #102344; font-size: 23px; letter-spacing: -.055em; margin: 0; }
.auth-copy { color: #8290a4; font-size: 10px; line-height: 1.55; margin: 5px 0 16px; }
.auth-form { display: grid; gap: 10px; }
.auth-form label { color: #5f7188; display: grid; font-size: 9px; font-weight: 750; gap: 5px; }
.auth-form input { background: #fbfdff; border: 1px solid #dce6f0; border-radius: 8px; color: #142847; min-height: 39px; outline: 0; padding: 9px 11px; width: 100%; }
.auth-form input:focus { border-color: #4aaddc; box-shadow: 0 0 0 3px rgba(74,173,220,.13); }
.auth-form input::placeholder { color: #adb9c8; font-size: 10px; font-weight: 450; }
.auth-field-label { color: #5f7188; display: block; font-size: 9px; font-weight: 750; margin: 12px 0 5px; }
.auth-field { background: #fbfdff; border: 1px solid #dce6f0; border-radius: 8px; color: #142847; min-height: 42px; outline: 0; padding: 9px 11px; width: 100%; }
.auth-field:focus { border-color: #4aaddc; box-shadow: 0 0 0 3px rgba(74,173,220,.13); }
.auth-field::placeholder { color: #adb9c8; font-size: 10px; }
.auth-button { align-items: center; border: 0; border-radius: 8px; cursor: pointer; display: flex; font-size: 10px; font-weight: 780; justify-content: center; min-height: 41px; padding: 8px 12px; text-decoration: none; transition: transform .16s ease, filter .16s ease; }
.auth-button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.auth-button span { font-size: 14px; margin-left: 7px; }
.auth-button-primary { background: linear-gradient(115deg,#0b1f4d,#1769aa 65%,#42b2e4); box-shadow: 0 7px 18px rgba(22,105,170,.18); color: #fff; margin-top: 3px; }
.auth-button-full { width: 100%; }
.auth-invite-actions { display: grid; gap: 7px; margin-top: 10px; }
.auth-button-secondary { background: #eef6fb; border: 1px solid #d6e8f4; color: #1769aa; width: 100%; }
.auth-button-anchor { margin-top: 18px; width: 100%; }
.auth-separator { align-items: center; color: #a2adbb; display: flex; font-size: 9px; gap: 9px; margin: 11px 0; }
.auth-separator::before, .auth-separator::after { background: #e9eef4; content: ""; flex: 1; height: 1px; }
.auth-link-button, .auth-back { background: transparent; border: 0; color: #397fae; cursor: pointer; font-size: 9px; font-weight: 730; padding: 9px 0 0; }
.auth-link-button { display: block; margin: 4px auto 0; }
.auth-back { margin: 0 0 12px; padding: 0; }
.auth-help { color: #8997a9; font-size: 8px; line-height: 1.55; margin: 12px 0 0; }
.auth-step-icon { align-items: center; background: #e6f5ed; border-radius: 50%; color: #2c9b6d; display: flex; font-size: 17px; height: 37px; justify-content: center; margin-bottom: 12px; width: 37px; }
.auth-success-icon { margin-top: 5px; }
.auth-footer { align-items: center; border-top: 1px solid #e3ebf2; color: #94a0af; display: flex; font-size: 8px; justify-content: space-between; margin: 0 auto; max-width: 960px; padding-top: 12px; }
.auth-footer a { color: #5883a8; text-decoration: none; }
.preview-auth-link { color: var(--mf-blue-mid); font-size: 10px; font-weight: 700; margin-left: auto; text-decoration: none; }
@media (max-width: 760px) { .auth-shell { padding: 15px 15px 12px; }.auth-header-caption { font-size: 7px; }.auth-layout { display: block; margin: 17px auto; max-width: 430px; }.auth-intro { min-height: 0; padding: 22px; }.auth-intro h1 { font-size: 29px; margin: 13px 0 8px; max-width: 280px; }.auth-intro > p { font-size: 10px; margin: 0; max-width: 310px; }.auth-benefit { display: none; }.auth-brand-watermark { bottom: -43px; font-size: 160px; right: 4px; }.auth-panel { margin-top: 12px; min-height: 0; padding: 17px; }.auth-footer { max-width: 430px; } }
@media (max-width: 380px) { .auth-brand img { height: 33px; width: 33px; }.auth-intro { border-radius: 15px; padding: 17px; }.auth-panel { border-radius: 14px; padding: 14px; }.auth-screen h2 { font-size: 21px; } }
[hidden]{display:none!important}
