/* The sign-in page's own style (whole-app audit S1, 15 Nov): the sign-in page loads only signin.html, this file,
   fonts.css, signin.js, the logo and the photo, because every other file of the app needs a session. The few app.css
   basics it uses are repeated here with the same values (Look & feel tokens). */
:root {
  --ink: #16211E; --ink2: #33443F; --white: #FFFFFF; --surface-3: #C9D7C3; --lime: #E8FF3A;
  --bad-soft: #F6DCD8; --bad-text: #8E2A22; --fs-page-title: 40px; --fs-small: 13px;
  --space-3: 12px; --space-4: 16px; --radius-md: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { accent-color: var(--ink); caret-color: var(--ink); }
body { font: 400 15px/1.5 Outfit, system-ui, sans-serif; color: var(--ink); background: var(--ink); }
button { font: inherit; color: inherit; }
h1 { margin: 0; }
.small { font-size: 13px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); font-weight: 500; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.loading { padding: 40px; color: var(--surface-3); }
.btn { border: 0; height: 44px; padding: 0 20px; border-radius: 999px; font: 500 14px Outfit, sans-serif; background: rgba(255,255,255,.85); color: var(--ink); display: inline-flex; gap: 8px; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .08s ease; }
.btn:hover { background: #fff; }
.btn.lm { background: var(--lime); }
.btn.wide { width: 100%; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.signin { min-height: 100vh; display: grid; place-items: center; padding: 24px; }

/* V2 sign-in (every--signin, option B): the split page */
.v2-signin { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 520px) 1fr; align-items: stretch; place-items: stretch; padding: 0; background: var(--ink); }
.v2-signin .signin-panel { background: var(--ink); color: var(--white); padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); }
.v2-signin .signin-logo { width: 64px; height: 64px; border-radius: 14px; background: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.15); display: grid; place-items: center; }
.v2-signin .signin-logo img { width: 78%; filter: invert(1) brightness(2); }
.v2-signin .eyebrow { color: var(--surface-3); }
.v2-signin h1 { font-size: var(--fs-page-title); font-weight: 300; margin: 0; color: var(--white); }
.v2-signin .btn.wide { width: 100%; justify-content: center; }
.v2-signin .btn.ol-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.v2-signin .btn.ol-light:hover { border-color: var(--white); }
.v2-signin .signin-or, .v2-signin .signin-foot { color: var(--surface-3); }
.v2-signin .signin-error { background: var(--bad-soft); color: var(--bad-text); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }
.v2-signin .signin-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.v2-signin .signin-bar i { display: block; height: 100%; width: 40%; background: var(--lime); animation: signin-bar 1.4s ease-in-out infinite; }
@keyframes signin-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.v2-signin .signin-photo { margin: 0; position: relative; overflow: hidden; min-height: 100vh; }
.v2-signin .signin-photo img { position: absolute; inset: 0; }
.v2-signin .signin-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-signin .signin-photo figcaption { position: absolute; left: 24px; bottom: 20px; color: var(--white); font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) { .v2-signin { grid-template-columns: 1fr; } .v2-signin .signin-photo { display: none; } }
