/* Sign-in and code pages (templates/auth.html), 2026-10-12, director/commissions/CCS_SIGNIN_FIX_20261012.md.
   The split layout the operator pointed at: an outlined logo pill top left, the form centred on the left half, a
   rounded campus photo with three small cards on the right; no header nav, no footer. House tokens from site.css:
   Manrope for the heading, Albert Sans for text, one emphasised word per heading in Albert Sans italic. Light only. */

.auth-body{background:var(--white)}
.auth{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:24px;padding:20px;
  background:radial-gradient(120% 60% at 0% 100%,var(--goldwash) 0%,rgba(244,238,225,0) 60%),var(--white)}

/* left half */
.auth-side{display:flex;flex-direction:column;min-width:0;padding:16px 28px 8px}
.auth-pill{align-self:flex-start;display:inline-flex;align-items:center;min-height:52px;padding:0 22px;border:1.5px solid #CDBFC2;border-radius:999px;
  text-decoration:none;background:#fff;transition:border-color .25s var(--ease)}
.auth-pill:hover{border-color:var(--garnet)}
.auth-pill img{width:auto;height:26px}
.auth-main{flex:1 0 auto;display:flex;align-items:center;justify-content:center;padding:48px 0}
.auth-main:focus{outline:none}
.auth-form{width:100%;max-width:400px;display:grid;gap:18px}
.auth-form h1{font:700 clamp(32px,3.2vw,42px)/1.1 var(--display);letter-spacing:-.02em;text-align:center}
.auth-form h1 em{font-family:var(--sans);font-style:italic;font-weight:500;letter-spacing:-.02em;color:var(--garnet)}
.auth-sub{margin:-8px 0 6px;text-align:center;color:var(--mute);font-size:16.5px;line-height:1.5;max-width:none;text-wrap:balance}
.auth-sub strong{color:var(--ink);font-weight:600;overflow-wrap:anywhere}
/* the FSU delay line under the code page's sub line (X-A262, 2026-10-13): a quiet second note, smaller, same grey */
.auth-wait{margin:-18px 0 6px;text-align:center;color:var(--mute);font-size:14px;line-height:1.5;max-width:none;text-wrap:balance}
.auth-form form{display:grid;gap:18px}
.auth-form .field label{font-size:15px}
.auth-form .btn{width:100%;min-height:54px;font-size:16.5px}
.auth-form input.code{max-width:none}
.auth-form .hint{font-size:14px;line-height:1.55}
.auth-form .notice,.auth-form .error{margin:0}
.auth-note{margin:0;font-size:13.5px;line-height:1.5;color:var(--mute);padding-top:14px;border-top:1px solid var(--line);max-width:none}

/* two-step sign-in (security fix 5, templates/two_step*.html): the QR on white in a soft frame, the key for typing
   by hand, and the ten recovery codes in two columns with figures that line up */
.tfa-qr{justify-self:center;width:208px;padding:10px;border:1.5px solid var(--line);border-radius:18px;background:#fff}
.tfa-qr svg{display:block;width:100%;height:auto}
.tfa-keybox{display:grid;gap:8px;text-align:center}
.tfa-keybox .hint{margin:0}
.tfa-key{margin:0;max-width:none;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--wash);
  font:600 16px/1.5 var(--sans);letter-spacing:.08em;font-variant-numeric:tabular-nums;color:var(--ink);word-spacing:.2em;
  -webkit-user-select:all;user-select:all;overflow-wrap:anywhere}
.tfa-codes{list-style:none;margin:0;padding:16px 18px;display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;border:1.5px solid var(--line);
  border-radius:16px;background:var(--wash);font:600 16.5px/1.3 var(--sans);letter-spacing:.06em;font-variant-numeric:tabular-nums;text-align:center}

.auth-foot{display:grid;gap:8px;padding-top:12px}
.auth-links{display:flex;flex-wrap:wrap;gap:4px 20px;margin:0;font-size:14px}
.auth-links a{display:inline-flex;align-items:center;min-height:32px;color:var(--ink)}
.auth-legal{margin:0;max-width:62em;font-size:11.5px;line-height:1.55;color:var(--mute)}

/* right half */
.auth-art{position:relative;min-width:0;border-radius:28px;overflow:hidden;background:var(--wash)}
.auth-art picture,.auth-art > picture img{display:block;width:100%;height:100%}
.auth-art > picture img{object-fit:cover;object-position:50% 30%}
.fcard{position:absolute;display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.94);color:var(--ink);border-radius:16px;
  padding:14px 18px;box-shadow:0 18px 40px -18px rgba(43,27,32,.45);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.fcard b{display:block;font:700 15px/1.25 var(--display);letter-spacing:-.01em}
.fcard small{display:block;font-size:13px;line-height:1.35;color:var(--mute)}
.fcard-ico{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--garnet);color:#fff}
.fcard-ico svg{width:22px;height:22px}
.fcard-code{top:28px;left:28px}
.fcard-lesson{right:28px;top:52%;display:grid;gap:4px;background:var(--garnet);color:#fff;max-width:230px}
.fcard-lesson small{color:var(--gold);font-weight:600;letter-spacing:.04em}
.fcard-lesson b{font-size:17px}
.fcard-tag{justify-self:start;margin-top:6px;font:600 12px/1 var(--sans);color:var(--garnet);background:var(--gold);border-radius:999px;padding:6px 10px}
.fcard-mark{left:28px;bottom:28px}
.fcard-mark img{width:40px;height:40px}

/* phones and narrow tablets: one column, the photo below the form at its own 3:2 crop, one card on it */
@media (max-width:899px){
  .auth{display:flex;flex-direction:column;gap:0;padding:0 var(--gut) 24px}
  .auth-side{display:contents}
  .auth-pill{order:1;margin-top:16px;min-height:48px;padding:0 18px}
  .auth-pill img{height:20px}
  .auth-main{order:2;padding:36px 0 32px}
  .auth-form{max-width:none}
  .auth-art{order:3;aspect-ratio:3/2;border-radius:22px}
  .auth-foot{order:4;padding-top:20px}
  .fcard-lesson,.fcard-mark{display:none}
  .fcard-code{top:auto;left:14px;bottom:14px;padding:10px 14px}
  .fcard-ico{width:34px;height:34px;border-radius:10px}
}
@media (prefers-reduced-motion:reduce){.auth-pill{transition:none}}
