/* Paribus authentication: restrained typography, clear forms, familiar navy. */
:root { --auth-navy:#071d50; --auth-blue:#1648b5; --auth-ink:#172544; --auth-muted:#627089; --auth-line:#d8dfe9; --auth-paper:#fbfaf7; --auth-gold:#d5b36b; }
* { box-sizing:border-box; }
body { margin:0; font-family:"Avenir Next",Avenir,"Segoe UI",Arial,sans-serif; color:var(--auth-ink); background:var(--auth-paper); line-height:1.5; }
a { color:inherit; text-underline-offset:4px; }
button,input { font:inherit; }
button,a,input,summary { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #4274d4; outline-offset:4px; }
[hidden] { display:none !important; }
.auth-skip { position:absolute; z-index:2; top:12px; left:12px; padding:12px; background:#fff; transform:translateY(-160%); }
.auth-skip:focus { transform:none; }
.auth-layout { display:grid; grid-template-columns:minmax(360px,42%) minmax(0,1fr); min-height:100vh; min-height:100dvh; }
.auth-editorial { background:var(--auth-navy); color:#fff; padding:44px clamp(32px,4vw,76px); display:flex; flex-direction:column; position:relative; overflow:hidden; }
.auth-editorial::before { content:""; position:absolute; left:0; top:0; width:5px; height:100%; background:var(--auth-gold); }
.auth-brand { align-self:flex-start; }
.auth-brand img { display:block; width:190px; height:48px; object-fit:contain; object-position:left; }
.auth-editorial__body { margin:auto 0; padding:64px 0; }
.auth-eyebrow { font-size:.72rem; text-transform:uppercase; letter-spacing:.17em; font-weight:700; margin:0 0 20px; color:var(--auth-muted); }
.auth-editorial .auth-eyebrow { color:var(--auth-gold); }
.auth-editorial h2 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(2.8rem,4.2vw,4.8rem); font-weight:400; letter-spacing:-.045em; line-height:1.08; margin:0 0 26px; }
.auth-editorial__intro { font-size:1.1rem; line-height:1.8; color:#cbd5e9; margin:0; }
.auth-syllabus { margin-top:48px; border-top:1px solid #ffffff29; }
.auth-syllabus>div { display:flex; gap:22px; padding:24px 0; border-bottom:1px solid #ffffff29; }
.auth-syllabus__number { padding-top:3px; font-size:.75rem; color:var(--auth-gold); font-variant-numeric:tabular-nums; }
.auth-syllabus h3 { margin:0 0 6px; font-size:1rem; font-weight:500; }
.auth-syllabus p { margin:0; color:#b8c5dd; font-size:.875rem; line-height:1.7; }
.auth-editorial__footer { margin:0; color:#a9b9d6; font-size:.75rem; letter-spacing:.03em; }
.auth-main { min-width:0; padding:36px clamp(24px,5vw,90px) 24px; display:flex; flex-direction:column; }
.auth-top { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:8px 18px; font-size:.875rem; color:var(--auth-muted); }
.auth-top a { color:var(--auth-navy); font-weight:600; text-decoration:none; padding:8px 0; }
.auth-top a span { margin-left:8px; }
.auth-form-wrap { width:100%; max-width:460px; margin:auto; padding:58px 0; animation:auth-arrive .45s ease-out both; }
.auth-form-wrap .auth-eyebrow { margin-bottom:14px; }
h1 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(2.4rem,3.3vw,3.5rem); line-height:1.12; font-weight:400; letter-spacing:-.04em; color:var(--auth-navy); margin:0 0 16px; }
.auth-intro { margin:0 0 32px; color:var(--auth-muted); font-size:.95rem; }
.auth-form { display:grid; gap:22px; }
.auth-field { min-width:0; }
.auth-field label { display:block; font-size:.875rem; font-weight:600; margin-bottom:8px; }
.auth-field input { width:100%; height:50px; padding:12px 14px; border:1px solid var(--auth-line); border-radius:4px; background:#fff; color:var(--auth-ink); transition:border-color .15s,box-shadow .15s; }
.auth-field input:hover { border-color:#9baecb; }
.auth-field input:focus { outline:none; border-color:var(--auth-blue); box-shadow:0 0 0 3px #1648b51a; }
.auth-password { position:relative; }
.auth-password input { padding-right:66px; }
.auth-reveal { position:absolute; right:5px; top:5px; height:40px; min-width:52px; border:0; border-radius:2px; background:transparent; color:var(--auth-blue); font-size:.8rem; font-weight:600; cursor:pointer; }
.auth-reveal:hover { background:#eff3fa; }
.auth-field-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.auth-hint { color:var(--auth-muted); font-size:.8rem; margin:6px 0 0; }
.auth-hint--password { margin-top:-12px; }
.auth-check { display:flex; align-items:center; gap:10px; font-size:.875rem; color:var(--auth-muted); cursor:pointer; }
.auth-check input { width:18px; height:18px; margin:0; accent-color:var(--auth-navy); }
.auth-submit { min-height:52px; padding:14px 20px; border:1px solid var(--auth-navy); border-radius:4px; background:var(--auth-navy); color:#fff; font-weight:600; display:flex; align-items:center; justify-content:space-between; cursor:pointer; transition:background .18s; }
.auth-submit span { font-size:1.3rem; font-weight:400; transition:transform .18s; }
.auth-submit:hover { background:#123775; }
.auth-submit:hover span { transform:translateX(3px); }
.auth-switch { margin:26px 0 0; font-size:.875rem; text-align:center; color:var(--auth-muted); }
.auth-switch a { color:var(--auth-navy); font-weight:600; }
.auth-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; color:var(--auth-muted); font-size:.75rem; padding-top:16px; }
.auth-footer a { text-decoration:none; }
.auth-top a:hover,.auth-footer a:hover { text-decoration:underline; }
.auth-message { padding:14px 16px; border:1px solid #bad4c8; border-left:3px solid #38765c; border-radius:3px; background:#f0f7f2; color:#28543e; margin-bottom:24px; font-size:.9rem; }
.auth-message--error { background:#fff4f1; border-color:#eac8bf; border-left-color:#a43b2c; color:#8c3025; }
.auth-access { border-top:1px solid var(--auth-line); padding-top:14px; }
.auth-access summary { width:fit-content; cursor:pointer; font-size:.85rem; color:var(--auth-muted); }
.auth-access summary span { margin-left:8px; font-size:.75rem; }
.auth-access .auth-field { margin-top:14px; }
.auth-page--register .auth-form-wrap { max-width:520px; padding:40px 0; }
.auth-page--register .auth-form { gap:17px; }
.auth-page--register .auth-intro { margin-bottom:26px; }
@keyframes auth-arrive { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media(min-width:1600px) { .auth-editorial__body { max-width:560px; } }
@media(max-width:1000px) { .auth-layout { grid-template-columns:minmax(300px,38%) minmax(0,1fr); } .auth-editorial { padding:32px; } .auth-main { padding:24px; } .auth-desktop-break { display:none; } .auth-field-row { gap:12px; } }
@media(max-width:760px) { .auth-layout { display:block; } .auth-editorial { padding:20px 24px; } .auth-brand img { width:145px; height:36px; } .auth-editorial__body,.auth-editorial__footer { display:none; } .auth-main { min-height:calc(100dvh - 76px); padding:18px 24px 24px; } .auth-top { font-size:.8rem; } .auth-form-wrap,.auth-page--register .auth-form-wrap { padding:40px 0; } .auth-footer { margin-top:auto; } }
@media(max-width:420px) { .auth-field-row { grid-template-columns:1fr; gap:17px; } .auth-footer>span { display:none; } .auth-main { padding-inline:20px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; } }

.auth-submit:disabled { opacity:.65; cursor:wait; }
.auth-success { position:fixed; inset:0; z-index:20; display:grid; place-items:center; padding:24px; background:var(--auth-navy); color:#fff; text-align:center; animation:auth-success-in .25s ease-out both; }
.auth-success__content { animation:auth-arrive .4s ease-out both; }
.auth-success__mark { width:80px; height:80px; margin-bottom:24px; stroke:var(--auth-gold); stroke-width:2; }
.auth-success__mark circle { stroke-opacity:.35; }
.auth-success__mark path { stroke-width:3; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:60; stroke-dashoffset:60; animation:auth-check .45s .15s ease-out forwards; }
.auth-success h2 { margin:0 0 12px; font:400 clamp(2rem,4vw,3rem)/1.2 Georgia,'Times New Roman',serif; letter-spacing:-.03em; }
.auth-success p { margin:0; color:#cbd5e9; }
@keyframes auth-check { to { stroke-dashoffset:0; } }
@keyframes auth-success-in { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) { .auth-success__mark path { stroke-dashoffset:0; } }
