/* PERF-605: shared foundation used by the three public sign-in screens.
 * Keep entry-560.css, mobile-alignment.css and accessibility rules after this
 * file. Other profiles continue to use their existing full stylesheets.
 */
@font-face{font-family:"Robo Arena Premium";src:url('../fonts/fredoka/fredoka-500.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Robo Arena Premium";src:url('../fonts/fredoka/fredoka-600.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Robo Arena Premium";src:url('../fonts/fredoka/fredoka-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Teacher Inter";src:url('../fonts/teacher/Inter-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Teacher Inter";src:url('../fonts/teacher/Inter-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Teacher Inter";src:url('../fonts/teacher/Inter-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Teacher Inter";src:url('../fonts/teacher/Inter-Bold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}
:root{
 --bg:#eef8fb;--bg-soft:#f4fbff;--bg-glass:rgba(255,255,255,.75);--ink:#182334;--ink-soft:#3f4d63;--muted:#667085;
 --line:#dbe5ef;--line-soft:#d9e4f0;--panel:#fff;--teal:#14b8a6;--teal-dark:#0f766e;--yellow:#ffca3a;--coral:#ff6b6b;
 --blue:#3b82f6;--green:#22c55e;--violet:#8b5cf6;--shadow:0 18px 45px rgba(24,35,52,.12);--shadow-strong:0 24px 48px rgba(14,23,44,.2);
 --premium-border:rgba(15,23,42,.12);--arena-stripe:rgba(20,184,166,.08);--arena-gold-soft:rgba(255,202,58,.18);--radius:8px;
 --ra-blue:#0ea5e9;--ra-blue-dark:#087bc7;--ra-teal:#14b8a6;--ra-cyan:#22d3ee;--ra-yellow:#ffd54f;--ra-gold:#ffb000;
 --ra-coral:#ff6b6b;--ra-purple:#8b5cf6;--ra-bg:#f2faff;--ra-navy:#082a63;--ra-muted:#345779;--ra-line:#d7eaf5;
 --ra-shadow:0 10px 24px rgba(22,91,132,.16);--ra-shadow-strong:0 18px 38px rgba(11,83,130,.22);
 --ra-premium-font:"Robo Arena Premium","Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif;
 font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{min-height:100%;min-width:0;background:var(--bg);color:var(--ink);scroll-behavior:smooth}
body{min-height:100%;margin:0;color:var(--ink);background-attachment:fixed}
button[disabled],.btn[disabled]{cursor:not-allowed;opacity:.55}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(2rem,9vw,4.8rem);line-height:1;letter-spacing:0;margin-bottom:.75rem}
p{color:var(--muted)}
label{display:grid;gap:.35rem;color:var(--ink);font-weight:850}
input,select,textarea{width:100%;min-height:3rem;padding:.75rem .85rem;border:2px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(20,184,166,.22);border-color:var(--teal)}
.form-message{border-radius:8px;color:var(--muted);font-weight:800;line-height:1.35;min-height:0;padding:0}
.form-message.error{background:#fff1f0;border:1px solid rgba(180,35,24,.18);color:#b42318;margin:.75rem 0;padding:.85rem 1rem}
[hidden]{display:none!important}
html,body{overflow-x:hidden}
body.robo-arena-page{min-width:0;margin:0;overflow-x:hidden;font-family:var(--ra-premium-font)!important;letter-spacing:0!important}
body.parent-signin-page{margin:0;min-height:100dvh}
body.parent-signin-page .form-message{margin:10px 0;padding:10px 12px;border-radius:10px;font-size:.85rem}
body.robo-arena-page button,body.robo-arena-page input,body.robo-arena-page select,body.robo-arena-page textarea{font-family:inherit!important;letter-spacing:0!important}
html body.robo-arena-page{
 --premium-navy:#071f74;--premium-blue:#075ef2;--premium-cyan:#11b9f4;--premium-ink:#0b2678;--premium-muted:#58709f;
 --premium-line:#d7e7fb;--premium-surface:rgba(255,255,255,.96);--premium-shadow:0 16px 38px rgba(16,70,145,.12),0 3px 9px rgba(16,70,145,.07);
 color:var(--premium-ink);
}
html body.robo-arena-page :where(h1,h2,h3,h4,strong){color:var(--premium-ink)}
html body.robo-arena-page :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #ffd34f;outline-offset:3px}
html body.robo-arena-page :where(button,.btn,[role=button]){min-height:44px}
html body.robo-arena-page :where(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border-color:#c7dcf7;border-radius:14px;background:rgba(255,255,255,.98);box-shadow:inset 0 1px 2px rgba(14,53,118,.04),0 5px 13px rgba(20,87,166,.05)}
html body.robo-arena-page :where(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea):focus{border-color:var(--premium-blue);box-shadow:0 0 0 4px rgba(7,94,242,.12),0 8px 18px rgba(20,87,166,.08)}
html,body.robo-arena-page{min-width:0!important}
body.robo-arena-page{max-width:100%;overflow-x:clip}
@media(max-width:679px){body{background-attachment:scroll}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}html body.robo-arena-page *,html body.robo-arena-page *::before,html body.robo-arena-page *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
