/* Company auth geometry; Math palette only. No child-screen or global overrides. */
.math-auth{--ma-bg:#102b39;--ma-card:#f7f1e4;--ma-ink:#173b48;--ma-muted:#526269;--ma-accent:#a65f15;--ma-deep:#173f4e;--ma-line:#c9bda6;--ma-error:#9d3327;--ma-soft:#ebe4d5;min-height:100dvh;display:grid;place-items:center;padding:32px 20px;background:radial-gradient(120% 90% at 50% 0%,#235165,var(--ma-bg) 66%);color:var(--ma-ink);font-family:"Arial Rounded MT Bold","Rubik",Arial,sans-serif;font-size:16px}.math-auth *{box-sizing:border-box}.math-auth__card{width:min(430px,100%);padding:36px 32px 26px;display:flex;flex-direction:column;gap:16px;border-radius:26px;background:var(--ma-card);box-shadow:0 18px 60px #06192345}.math-auth__brand{display:flex;justify-content:center;align-items:center;gap:10px;font-size:23px;font-weight:700;color:var(--ma-ink)}.math-auth__mark{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#ffb547;color:#173b48;font:700 28px/1 Arial,sans-serif}.math-auth h1{margin:0 0 6px;font-size:27px;line-height:1.2;color:var(--ma-ink)}.math-auth__lead{margin:0;font-size:15.5px;line-height:1.6;color:var(--ma-muted)}.math-auth__tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:14px;background:var(--ma-soft)}.math-auth button{font:inherit;min-width:44px;min-height:44px;touch-action:manipulation;cursor:pointer}.math-auth__tabs button{padding:9px 6px;border:0;border-radius:11px;background:transparent;color:var(--ma-muted);font-size:14.5px;font-weight:700}.math-auth__tabs button[aria-pressed=true]{background:var(--ma-card);color:var(--ma-ink);box-shadow:0 2px 6px #173b481f}.math-auth form{display:flex;flex-direction:column;gap:16px;margin:0}.math-auth__field{display:flex;flex-direction:column;gap:7px;margin:0}.math-auth__field span{font-size:13.5px;font-weight:700;color:var(--ma-muted)}.math-auth__field input{width:100%;padding:13px 15px;font-size:16px;font-family:inherit;color:var(--ma-ink);border:2px solid var(--ma-line);border-radius:14px;background:#fffdf8;min-height:48px}.math-auth #invite-code{letter-spacing:.08em}.math-auth input:disabled{opacity:.6}.math-auth__submit{width:100%;padding:14px;border:0;border-radius:14px;background:linear-gradient(140deg,#285d6a,var(--ma-deep));box-shadow:0 8px 18px #173f4e30;color:#fffdf8;font-weight:700;font-size:17px;transition:transform .14s ease,filter .14s ease}.math-auth__submit:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.05)}.math-auth button:disabled{opacity:.6;cursor:default}.math-auth button:focus-visible,.math-auth input:focus-visible,.math-auth summary:focus-visible{outline:3px solid var(--ma-accent);outline-offset:3px}.math-auth__hint{margin:0;padding:14px 16px;border-radius:14px;background:var(--ma-soft);font-size:13.5px;line-height:1.6;color:var(--ma-muted)}.math-auth__hint p{margin:0}.math-auth__hint p+p{margin-top:6px}.math-auth__notice{margin:0;border-inline-start:3px solid var(--ma-accent);padding:10px 12px;background:var(--ma-soft);color:var(--ma-ink);line-height:1.55;font-size:13px}.math-auth__message{margin:0;font-size:13.5px;line-height:1.45;color:var(--ma-error)}.math-auth__message:empty{display:none}.math-auth__address{margin:0;font-weight:700;overflow-wrap:anywhere;text-align:center}.math-auth__alt{display:flex;justify-content:center}.math-auth__alt button{padding:8px 12px;border:0;background:transparent;color:var(--ma-deep);text-decoration:underline;text-underline-offset:3px}.math-auth__privacy{padding-top:12px;border-top:1px solid var(--ma-line);color:var(--ma-muted);font-size:13px;line-height:1.65}.math-auth__privacy summary{cursor:pointer;font-weight:700;min-height:44px;display:list-item;align-content:center}.math-auth__privacy p{margin:10px 0}.math-auth__foot{margin:0;padding-top:10px;border-top:1px solid var(--ma-line);font-size:12.5px;color:var(--ma-muted);text-align:center}.math-auth__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:520px){.math-auth{padding:20px 12px}.math-auth__card{padding:28px 22px 22px}}@media(prefers-reduced-motion:reduce){.math-auth *{animation:none!important;transition:none!important}}
