/* The sign-in pages' layout in the plain back-end look of the approved
   template (2026-11-15). A site dresses it from its own /style.css, loaded
   after this file: override the variables below on .signin (font, ink,
   colours, corners), style .hd for the logo or band, and anything else. */
.signin {
  --font: "Atkinson Hyperlegible Next", "Avenir Next", "Segoe UI", Roboto, sans-serif;
  --ink: #202428; --muted: #5B636B; --edge: #8A9299; --line: #C7CCD1; --soft: #F5F6F7;
  --fill: #202428; --fill-ink: #fff; --hollow: #5B636B; --hollow-ink: #202428;
  --ctl-r: 5px; --title: 26px; --title-w: 600; --fill-w: 600; --hollow-w: 400;
  --mark: #D9731C; --good: #3E8E5A; --page: #ECEEF0;
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 1.4;
}
.signin *, .signin *::before, .signin *::after { box-sizing: border-box; }
.signin .hidden { display: none !important; }
/* the Google and Apple marks' symbol sheet: out of the flow, with no inline style, so a
   site whose Content-Security-Policy refuses inline styles still lays out (transfer, 2026-11-16) */
.signin .marks { position: absolute; width: 0; height: 0; overflow: hidden; }
.signin .card {
  max-width: 440px; min-height: 100vh; margin: 0 auto; background: #fff;
  display: flex; flex-direction: column;
}
@media (min-width: 600px) {
  .signin .card { min-height: 0; margin: 48px auto; border: 1px solid var(--line); border-radius: 3px; }
}
.signin .hd { display: flex; align-items: baseline; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.signin .hd .site { font-weight: 700; font-size: 18px; }
.signin .bd { padding: 32px 24px 24px; flex: 1; }
.signin .bd section, .signin .bd form, .signin .stack { display: grid; gap: 16px; align-content: start; }
.signin .ft { padding: 14px 24px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.signin .ttl { font-size: var(--title); font-weight: var(--title-w); line-height: 1.2; margin: 0; }
.signin p { margin: 0; }
.signin .as { font-size: 16px; color: var(--muted); }
.signin .lbl { display: grid; gap: 2px; }
.signin .lbl > span { font-size: 14px; color: var(--muted); }
.signin .fld {
  width: 100%; border: 1px solid var(--edge); border-radius: var(--ctl-r); min-height: 44px;
  padding: 9px 12px 7px; font: inherit; color: var(--ink); background: #fff;
}
.signin .fld.err { border: 2px solid var(--mark); padding: 8px 11px 6px; }
.signin .fld.code { letter-spacing: .3em; font-size: 22px; text-align: center; }
.signin .btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; width: 100%;
  border-radius: var(--ctl-r); font: inherit; text-align: center; padding: 10px 18px 8px; line-height: 1.2;
  cursor: pointer; text-decoration: none; border: 0;
}
.signin .fill { background: var(--fill); color: var(--fill-ink); font-weight: var(--fill-w); }
.signin .hol { background: #fff; border: 1px solid var(--hollow); color: var(--hollow-ink); font-weight: var(--hollow-w); padding: 9px 17px 7px; }
.signin .btn:disabled { opacity: .6; cursor: default; }
.signin .btn svg { width: 20px; height: 20px; flex: none; }
.signin .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.signin .lnk {
  background: none; border: 0; padding: 0; font: inherit; font-size: 16px; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.signin .msg .lnk { font-size: inherit; }
.signin .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.signin .note { font-size: 16px; color: var(--muted); line-height: 1.45; }
.signin .last { background: var(--soft); border-radius: 3px; padding: 10px 12px; }
.signin .fold { border-top: 1px solid var(--line); padding-top: 14px; }
.signin .fold > summary { font-size: 16px; cursor: pointer; margin-bottom: 10px; }
.signin .wait { background: var(--soft); border-left: 4px solid var(--ink); padding: 14px 16px; display: grid; gap: 6px; }
.signin .msg { display: flex; gap: 10px; align-items: flex-start; }
.signin .msg::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--mark); flex: none; margin-top: 6px; }
.signin .msg.good::before, .signin .msg.ok-line::before { display: none; }
.signin .msg .ok { width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex: none; margin-top: 8px; }
.signin .msg.good { color: var(--ink); }

/* The devices page (0.3.7): the same card, wider, with each part in its own
   panel and Sign out at the top right of the header. */
.signin .card.wide { max-width: 600px; }
.signin.devices .hd { align-items: center; }
.signin .hd .out { width: auto; min-height: 36px; margin-left: auto; padding: 6px 14px 4px; font-size: 16px; flex: none; align-self: center; }
.signin.devices .bd { display: grid; gap: 20px; align-content: start; background: var(--soft); }
.signin .intro { display: grid; gap: 8px; }
.signin .back { justify-self: start; }
.signin .panel { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 20px; }
.signin .sub { font-size: 20px; font-weight: var(--title-w); line-height: 1.25; margin: 0; }
.signin .rows { display: grid; }
.signin .rows:empty { display: none; }
.signin .devrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.signin .devrow:last-child { border-bottom: 1px solid var(--line); }
.signin .devrow .note { font-size: 15px; }
.signin .btn.sm { width: auto; min-height: 36px; padding: 6px 14px 4px; font-size: 16px; flex: none; }
.signin .lbl > .fld { margin-top: 4px; }
/* The devices page holds its own layout against a site's older, unscoped rules
   for the previous devices markup (transfer's .btn margins and height, .panel
   margins, h2 margins, .devrow borders, label sizes), so each site needs to dress
   only the variables and the header. Scoped to this page so the sign-in page is
   unchanged. */
.signin.devices .btn { margin: 0; height: auto; }
.signin.devices .panel { margin: 0; }
.signin.devices .panel > h2.sub { margin: 0; }
.signin.devices .devrow { border-bottom: 0; }
.signin.devices .devrow:last-child { border-bottom: 1px solid var(--line); }
.signin.devices .lbl { font-size: inherit; margin: 0; }
.signin.devices .fld { font-size: inherit; display: block; }
.signin.devices [hidden] { display: none !important; }
.signin.devices .hd .out { margin: 0 0 0 auto; }
