/* Sign-in pages only. Colours from the new Mission Control (board C) so both apps look the same. */
:root {
  --plum: #a32273;
  --plum-hover: #7f1a59;
  --plum-tint: #f6e8f0;
  --ink: #1f1a1e;
  --ink-2: #4a4247;
  --muted: #6b6268;
  --red: #a11f1f;
  --red-tint: #fde8e8;
  --line-2: #e0d6dc;
  --field-line: #958a91;
  --soft: #f0ecee;
  --page: #f6f4f5;
  --white: #ffffff;
  --radius: 10px;
  --font: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --focus: 0 0 0 3px rgba(163, 34, 115, 0.35);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--page); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.45; }
h1 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
p { margin: 0 0 12px; }
a { color: var(--plum); }
/* Links big enough to tap (WCAG 2.2 target size, 24 px). */
.card p > a { display: inline-block; min-height: 24px; padding: 2px 0; }
a:hover { color: var(--plum-hover); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.skip { position: absolute; left: 8px; top: -40px; background: var(--white); padding: 8px 12px; border-radius: var(--radius); z-index: 100; }
.skip:focus { top: 8px; }
.b { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; min-height: 38px; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.b-p { background: var(--plum); color: var(--white); border-color: var(--plum); width: 100%; }
.b-p:hover { background: var(--plum-hover); border-color: var(--plum-hover); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.lbl { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input { padding: 8px 10px; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--white); min-height: 38px; }
.input:focus-visible { outline: 2px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
.input[aria-invalid='true'] { border-color: var(--red); }
.hint { font-size: 13px; color: var(--muted); }
.err { color: var(--red); font-size: 13px; margin: 0; }
.hdr { display: flex; align-items: center; padding: 10px 18px; background: var(--white); border-bottom: 1px solid var(--line-2); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 20px; width: auto; display: block; }
.brand .sep { width: 1px; height: 22px; background: var(--line-2); }
.brand .title { font-size: 16px; color: var(--ink-2); }
.card-wrap { display: flex; justify-content: center; padding: 64px 16px; }
.card { width: 100%; max-width: 400px; background: var(--white); border: 1px solid var(--line-2); border-radius: 14px; padding: 28px; }
.card:focus { outline: none; }
.muted { color: var(--muted); }
.qr { display: block; margin: 8px auto 12px; width: 220px; height: 220px; }
.secret { display: block; width: fit-content; max-width: 100%; margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; word-break: break-all; background: var(--soft); padding: 6px 8px; border-radius: 8px; color: var(--ink); }
.notice { padding: 10px 12px; border-radius: var(--radius); background: var(--plum-tint); color: var(--ink); margin-bottom: 14px; }
.notice.bad { background: var(--red-tint); color: var(--red); }
[hidden] { display: none !important; }
