/* Staff sign-in pages, rebuilt in the BuddyCheck identity (14 Nov 2026): fabric black, the lockup large, tick-bar lines, Anton titles,
   Space Mono labels, square corners, two-pixel lines and the three state shapes. A black stage with the form beside it on a laptop,
   a black band with a red line above it on a phone. Montserrat comes from the
   app's own copy (the public site's fonts), so the page keeps its look when the internet is down. No inline styles or scripts, so these pages work under a strict Content-Security-Policy. */
@font-face { font-family: Montserrat; font-weight: 400; font-display: swap; src: url(../site/fonts/montserrat-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Montserrat; font-weight: 600; font-display: swap; src: url(../site/fonts/montserrat-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Montserrat; font-weight: 700; font-display: swap; src: url(../site/fonts/montserrat-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Anton; font-weight: 400; font-display: swap; src: url(../look/anton-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Mono'; font-weight: 400; font-display: swap; src: url(../look/space-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Mono'; font-weight: 700; font-display: swap; src: url(../look/space-mono-latin-700-normal.woff2) format('woff2'); }
:root { --navy: #F2EEE6; --blue: #F2EEE6; --ivory: #111418; --grey: #3A4048; --line: #2A3038; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--ivory); color: var(--navy); line-height: 1.5; min-height: 100vh; }
.split { min-height: 100vh; display: flex; flex-direction: column; }
.brandpanel { display: none; }
/* .bar and .card are also names in look/ui.css: say everything here */
.signin .bar { display: block; width: auto; height: auto; border-radius: 0; background: var(--ink); padding: 18px 20px 16px;
  border-bottom: 3px solid var(--red); overflow: hidden; }
h1 { font: 400 34px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 .5em; }
.signin .card { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: var(--ivory); border-radius: 0; flex: 1; }
.inner { padding: 28px 20px 40px; max-width: 460px; margin: 0 auto; }
.inner > p { color: var(--bone); font-size: 15px; line-height: 1.6; }
label { display: block; font: 700 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone); margin: 0 0 16px; }
input { display: block; width: 100%; font: 400 16px/1.3 Montserrat, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--navy);
  background: #181C21; padding: 12px 14px; margin-top: 8px; border: 2px solid #8A9099; border-radius: 2px; min-height: 52px; }
input:focus { outline: 2px solid transparent; border-color: #E0A93B; box-shadow: 0 0 0 3px rgba(224, 169, 59, .35); }
.pw { display: flex; align-items: flex-end; gap: 8px; }
.pw input { flex: 1; min-width: 0; }
.showpw { width: auto; flex: none; min-height: 52px; padding: 0 16px; border-radius: 2px; background: transparent; color: var(--navy);
  border: 2px solid #8A9099; font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.showpw:hover { border-color: var(--bone); background: transparent; color: var(--navy); }
button, .button { display: inline-block; width: 100%; text-align: center; font: 700 16px/1 Montserrat, system-ui, sans-serif; color: var(--on-ink);
  background: var(--paper); border: 2px solid var(--paper); border-radius: 2px; padding: 15px 18px; min-height: 52px; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #fff; border-color: #fff; }
#pk-login button { background: transparent; color: var(--navy); border-color: #8A9099; }
#pk-login button:hover { background: #181C21; }
button:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid #E0A93B; outline-offset: 2px; }
a { color: var(--navy); text-underline-offset: 3px; }
.error { background: var(--bad-soft, #2E1A1B); color: var(--navy); border: 0; border-inline-start: 4px solid var(--hot); border-radius: 2px; padding: 12px 14px; padding-inline-start: 40px;
  position: relative; margin: 0 0 18px; }
.error:before { content: ''; position: absolute; inset-inline-start: 15px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--hot); }
.error p { margin: 0; }
.small { font-size: .95rem; color: var(--bone); }
#pk-login .small { font-size: 15px; margin: 14px 0 18px; }
.qr { display: flex; justify-content: center; margin: 8px 0; }
.qr svg { width: 220px; height: 220px; }
.codes { columns: 2; list-style: none; padding: 0; font-size: 1.05rem; }
details { margin-top: 22px; border-top: 2px solid var(--line); padding-top: 14px; }
summary { cursor: pointer; font: 700 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; min-height: 44px; display: flex; align-items: center; }
code { background: #181C21; border: 1px solid var(--line); padding: 2px 6px; border-radius: 2px; font-family: var(--mono); }
/* a laptop: the stage on the left, the form on the right */
@media (min-width: 800px) {
  .split { flex-direction: row; align-items: stretch; }
  .brandpanel { display: flex; flex-direction: column; justify-content: space-between; flex: 1 1 52%; padding: 56px; position: relative; overflow: hidden;
    background: var(--ink); color: var(--paper); border-inline-end: 2px solid var(--line); }
  /* the tick's bars: lines that close up with depth, drawn behind the words */
  .brandpanel:before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background:
      linear-gradient(var(--line), var(--line)) 0 62% / 100% 2px no-repeat,
      linear-gradient(var(--line), var(--line)) 0 74% / 100% 2px no-repeat,
      linear-gradient(var(--line), var(--line)) 0 83% / 100% 2px no-repeat,
      linear-gradient(var(--line), var(--line)) 0 89% / 100% 2px no-repeat; }
  .brandpanel > * { position: relative; }
  .brandpanel .lockup { height: 96px; width: auto; margin-inline-start: -18px; }
  .brandpanel .tag { margin: 0 0 14px; font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #A39E95; }
  .brandpanel .headline { margin: 0; font: 400 clamp(48px, 6vw, 84px)/.98 var(--display); text-transform: uppercase; letter-spacing: .01em; }
  .states { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #A39E95; }
  .states li { display: flex; align-items: center; gap: 8px; }
  .states li:before { content: ''; width: 10px; height: 10px; background: currentColor; }
  .states .clear:before { background: #6FBF95; }
  .states .hold:before { background: #E0A93B; transform: rotate(45deg); }
  .states .stop:before { background: var(--hot); border-radius: 50%; }
  .signin .card { flex: 0 1 560px; display: flex; }
  /* the language button lives in this bar (look/lang.js): keep the bar, drop its lockup and line, float it top right */
  .signin .card { position: relative; }
  .signin .card > .bar { position: absolute; top: 0; inset-inline-end: 0; width: auto; padding: 20px 24px; background: none; border: 0; }
  .signin .card > .bar .pbrand { display: none; }
  .brandpanel .pbrand { align-self: flex-start; align-items: flex-start; }
  .signin .card { flex-direction: column; justify-content: center; align-items: stretch; }
  .inner { padding: 48px 56px; width: 100%; }
}

/* Face ID / fingerprint (passkeys.html, and its button on the sign-in page) */
.pk-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.pk-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.pk-list form { display: inline; margin: 0 0 0 .6rem; }
.pk-list .linklike { background: none; border: 0; padding: .5rem 0; min-height: 44px; width: auto; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
#pk-login { margin-bottom: .4rem; }
/* Arabic joins its letters: no letter-spacing */
[dir=rtl] .signin label, [dir=rtl] .brandpanel .tag, [dir=rtl] .states, [dir=rtl] summary, [dir=rtl] .showpw, [dir=rtl] .headline { letter-spacing: 0; }
