/* RealStory app pages (sign-in, two-factor, your brands): the Ink look of the review page, kept small. Tokens as client.css. */
:root {
  --bg: #e4e6f7; --surface: #f2f3fe; --band: #e8eaf9; --rule: #d5d7ee;
  --ink: #1f2038; --ink-2: #444661; --muted: #5f617a;
  --c1: #2c2c5a; --c1-on: #f5f6ff; --c1-soft: #d3d6f9; --c2: #f1e083; --neg-ink: #a1221b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0c21; --surface: #15152d; --band: #1e1e39; --rule: #282945;
    --ink: #eeeffb; --ink-2: #c3c6db; --muted: #a2a4bc;
    --c1: #a8ace3; --c1-on: #171731; --c1-soft: #28294d; --c2: #dccc75; --neg-ink: #ff8a80;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 Nunito, system-ui, sans-serif; }
a { color: var(--c1); font-weight: 700; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; }
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; }
.logo .sq { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.logo .sq.a { background: var(--c1); } .logo .sq.b { background: var(--c2); margin-right: 6px; }
.top nav { display: flex; gap: 18px; align-items: center; }
.top nav a { text-decoration: none; }
.who { color: var(--muted); }
.wrap { max-width: 1100px; margin: 24px auto 64px; padding: 0 16px; }
.panel { background: var(--surface); border-radius: 26px; padding: 32px 36px; max-width: 520px; margin: 0 auto; }
.panel.wide { max-width: none; }
h1 { font-size: 30px; margin: 0 0 16px; }
h2 { font-size: 20px; }
form p, form div { margin: 0 0 14px; }
label { display: block; font-weight: 700; margin-bottom: 4px; }
input[type=email], input[type=password], input[type=text], input[type=number] {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--rule); background: var(--bg); color: var(--ink); font: inherit; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--c1); outline-offset: 2px; }
button, input[type=submit] { background: var(--c1); color: var(--c1-on); border: 0; border-radius: 999px; padding: 11px 22px; font: inherit;
  font-weight: 800; cursor: pointer; }
.errorlist, .msg.error { color: var(--neg-ink); }
.msgs { max-width: 520px; margin: 0 auto 16px; }
.msg { background: var(--band); border-radius: 14px; padding: 10px 14px; margin: 0 0 8px; }
table.brands { width: 100%; border-collapse: collapse; }
table.brands th, table.brands td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rule); }
table.brands th { color: var(--muted); font-weight: 700; }
svg, img { max-width: 100%; }
.note { color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: center; gap: 8px; padding: 0 16px 32px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); font-weight: 700; }
.panel h2 { margin: 26px 0 8px; }
.panel ul { padding-left: 20px; }
.panel li { margin: 0 0 6px; }
/* the authenticator QR code: dark modules on a light square in both themes, so phone cameras read it */
img[src^="data:image/svg"] { background: #fff; padding: 10px; border-radius: 12px; width: 200px; height: auto; }
