/* signin/brand/theria.css: Theria's look for the sign-in, the front door and sample (Brief 152), served from
   https://login.theria.ca/brand/. The tokens are delta-app's (src/app/globals.css, "Theme tokens (Theria)"), light and
   dark by the computer's setting; Fellix is the kit's font. */
@font-face { font-family: "Fellix"; src: url("fonts/Fellix-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fellix"; src: url("fonts/Fellix-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #141613; --ink-2: #3a3e39; --muted: #5a5f59; --faint: #8c918b;
  --line: #e2e5e1; --line-strong: #d3d7d2;
  --bg: #f7f8f6; --surface: #ffffff; --surface-2: #f9faf8; --surface-3: #f0f1ec;
  --accent: #96987c; --accent-strong: #6e7058; --accent-text: #4f513f; --accent-tint: #e6e8db;
  --accent-on: #141613; --accent-strong-on: #ffffff; --focus: #6e7058;
  --bad: #a3271a; --bad-tint: #fbeceb; --bad-line: #f2c4bd;
  --radius: 12px; --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 24, 20, .04), 0 4px 12px rgba(20, 24, 20, .05);
  --font: "Fellix", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #eceeea; --ink-2: #c9cdc9; --muted: #a3a8a3; --faint: #6f746f;
    --line: #2a2f2a; --line-strong: #3a403a;
    --bg: #111311; --surface: #191c19; --surface-2: #1e221e; --surface-3: #232723;
    --accent: #a7a98c; --accent-strong: #b9bba6; --accent-text: #d3d5c0; --accent-tint: #2c2f25;
    --accent-on: #141613; --accent-strong-on: #141613; --focus: #b9bba6;
    --bad: #f19a8f; --bad-tint: #3a1f1c; --bad-line: #64302a;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--ink); font: 500 15px/1.5 var(--font); display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; }
.card.wide { max-width: 520px; }
.logo { display: block; height: 28px; width: auto; margin-bottom: 28px; }
h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 6px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.stack { display: grid; gap: 12px; margin-top: 20px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
label { font-size: 13px; color: var(--ink-2); }
input[type=email] { width: 100%; font: inherit; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 12px; }
input[type=email]:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  border-radius: var(--radius-sm); padding: 10px 15px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: border-color .12s, background .12s; }
.btn:hover { border-color: var(--ink-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-strong-on); }
.btn:disabled { color: var(--muted); background: var(--surface-2); border-color: var(--line); cursor: not-allowed; }
.note { border: 1px solid var(--line); background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; }
.note.bad { border-color: var(--bad-line); background: var(--bad-tint); color: var(--bad); }
a { color: var(--accent-text); text-underline-offset: 2px; }
.list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; background: var(--surface-2); }
.list a:hover { border-color: var(--accent); background: var(--accent-tint); }
.list .kind { color: var(--muted); font-size: 13px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 16px 0 0; font-size: 14px; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.foot { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
[hidden] { display: none !important; }
