.auth-wrap{display:flex;justify-content:center;padding:28px 14px 48px}
.auth-card{width:100%;max-width:440px;background:#fff;border-radius:14px;box-shadow:0 2px 4px rgba(0,0,0,.08),0 12px 32px rgba(0,0,0,.10);padding:28px 26px 24px;box-sizing:border-box}
.auth-brand{text-align:center;margin-bottom:6px}
.auth-logo{width:54px;height:54px;margin:0 auto 10px;border-radius:15px;background:linear-gradient(135deg,#1877f2,#0a58ca);color:#fff;font-weight:800;font-size:29px;display:flex;align-items:center;justify-content:center}
.auth-brand h1{font-size:24px;margin:0;color:#1c1e21}
.auth-brand p{margin:4px 0 0;color:#65676b;font-size:14px}
.auth-invite,.auth-info,.auth-error{border-radius:8px;padding:10px 12px;font-size:14px;margin-top:14px;line-height:1.45}
.auth-invite{background:#e7f3ff;color:#0a4aa6;border:1px solid #bcd9fb}
.auth-info{background:#fff8e1;color:#5b4400;border:1px solid #f0d98a}
.auth-error{background:#fdecea;color:#b3261e;border:1px solid #f5c2bd;font-weight:600}
.auth-error[hidden]{display:none}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#f0f2f5;border-radius:10px;padding:4px;margin:16px 0 4px}
.auth-tabs button{border:0;background:transparent;padding:10px;border-radius:8px;font:inherit;font-weight:700;color:#65676b;cursor:pointer}
.auth-tabs button[aria-selected="true"]{background:#fff;color:#1877f2;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.auth-tabs button:focus-visible,.auth-btn:focus-visible,.auth-eye:focus-visible{outline:2px solid #1877f2;outline-offset:2px}
.auth-form[hidden]{display:none}
.auth-field{margin-top:14px}
.auth-field label{display:block;font-size:13px;font-weight:700;color:#444;margin:0 0 5px}
.auth-form input[type=text],.auth-form input[type=email],.auth-form input[type=password]{width:100%;box-sizing:border-box;margin:0;padding:12px 14px;border:1px solid #ccd0d5;border-radius:8px;font:inherit;font-size:16px;background:#fff;color:#1c1e21}
.auth-form input:focus{outline:none;border-color:#1877f2;box-shadow:0 0 0 3px rgba(24,119,242,.18)}
.auth-pass{position:relative}
.auth-pass input{padding-right:64px !important}
.auth-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#1877f2;font-weight:700;font-size:13px;cursor:pointer;padding:8px 10px;border-radius:6px}
.auth-hint{font-size:12px;color:#65676b;margin-top:5px}
.auth-caps{font-size:12.5px;color:#9a5b00;margin-top:5px;font-weight:600}
.auth-caps[hidden]{display:none}
.auth-meter{height:6px;background:#e4e6eb;border-radius:4px;margin-top:8px;overflow:hidden}
.auth-meter i{display:block;height:100%;width:0;border-radius:4px;transition:width .2s,background .2s}
.auth-meter i.s1{width:25%;background:#e53935}
.auth-meter i.s2{width:50%;background:#f39c12}
.auth-meter i.s3{width:75%;background:#2e86de}
.auth-meter i.s4{width:100%;background:#1faa59}
.auth-terms{font-size:12.5px;color:#65676b;margin:14px 0 0;line-height:1.5}
.auth-btn{width:100%;margin-top:18px;padding:12px;border:0;border-radius:8px;background:#1877f2;color:#fff;font:inherit;font-weight:700;font-size:16px;cursor:pointer}
.auth-btn:hover{background:#166fe0}
.auth-btn:disabled{opacity:.65;cursor:wait}
.auth-switch{text-align:center;font-size:14px;color:#65676b;margin:16px 0 0}
.auth-switch a{color:#1877f2;font-weight:700;text-decoration:none}
@media (max-width:480px){.auth-wrap{padding:16px 10px 36px}.auth-card{padding:22px 16px;border-radius:12px}}
.auth-forgot{text-align:right;margin-top:10px;font-size:13px}
.auth-forgot a{color:#1877f2;font-weight:600;text-decoration:none}
.auth-ok{background:#e8f7ee;color:#116b3a;border:1px solid #b7e3c9;border-radius:8px;padding:10px 12px;font-size:14px;margin-top:14px;line-height:1.5}
.auth-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.auth-row .auth-forgot{margin-top:0}
.auth-check{display:flex;align-items:center;gap:8px;font-size:14px;color:#444;cursor:pointer;user-select:none}
.auth-check input{width:18px;height:18px;margin:0;accent-color:#1877f2;cursor:pointer}
