/* Login, two-factor setup and signed-out error pages. */
* { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/20px 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--cream); color: var(--ink); }
a { color: var(--orange-deep); }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 8px; }
.isvg { display: block; overflow: visible; flex-shrink: 0; max-width: none; }
.isvg [fill="#fffbf8"], .isvg[fill="#fffbf8"] { fill: var(--cream); }
.isvg [fill="#fde6dc"], .isvg[fill="#fde6dc"] { fill: var(--orange-soft); }
.col { display: flex; flex-direction: column; min-width: 0; }
.soft { color: var(--graphite); }
.r { text-align: right; }
.ico { display: inline-flex; width: 18px; height: 18px; }
.ico svg { width: 100%; height: 100%; }
code, kbd { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; }
[hidden] { display: none !important; }

.fl { display: flex; flex-direction: column; gap: 6px; }
.fl > span { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--graphite); }
.fl input, .fl select, .fl textarea { font: 400 15px/20px 'Nunito Sans', sans-serif; color: var(--ink); background: var(--cream); border: var(--bw) solid var(--rule); border-radius: 999px; height: 44px; padding: 0 16px; }
.fl textarea { height: auto; border-radius: 16px; padding: 12px 16px; resize: vertical; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--orange); }
.fl input:disabled { opacity: .7; }

/* ---------------------------------------------------------------- sign-in (V-own-pc-login, for the team) */
.adm-auth { min-height: 100vh; position: relative; overflow-x: hidden; }
.au-line { position: absolute; left: 87.65%; top: 148px; pointer-events: none; }
.au-dish { position: absolute; left: 89.58%; top: 730px; pointer-events: none; }
.au-side { position: fixed; left: 0; top: 0; bottom: 0; width: 600px; background: var(--orange-soft); display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 120px 72px 72px; }
.au-logo { position: absolute; left: 48px; top: 40px; display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 24px; font-weight: 600; color: var(--graphite); }
.au-logo img { width: 149px; height: 31px; color: var(--orange); }
.au-art { display: flex; align-items: flex-end; gap: 8px; }
.au-big { margin: 0; font: 400 40px/44px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.au-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.au-ticks li { display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 24px; }
.au-main { margin-left: 600px; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.au-col { width: 440px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
.au-icons { position: relative; height: 112px; width: 220px; }
.au-icons span { position: absolute; }
.au-icons .i1 { left: 0; top: 4px; } .au-icons .i2 { left: 108px; top: 40px; } .au-icons .i3 { left: 176px; top: 6px; }
.au-head { display: flex; flex-direction: column; gap: 8px; }
.au-h1 { margin: 0; font: 400 40px/44px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.au-sub { margin: 0; font-size: 17px; line-height: 24px; color: var(--graphite); }
.au-form { display: flex; flex-direction: column; gap: 20px; }
.au-form .fl input { height: 56px; padding: 0 20px; font-size: 17px; }
.au-err { margin: 0; padding: 12px 18px; border-radius: 16px; background: var(--orange-soft); color: var(--orange-deep); font-weight: 600; }
.au-go { height: 56px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 0 28px; border-radius: 999px; border: var(--bw) solid #f45d33; background: #f45d33;
  color: #fff; font: 600 19px/1 'Nunito Sans', sans-serif; cursor: pointer; text-decoration: none; }
.au-go:hover { color: #fff; filter: brightness(.96); }
.au-go svg { width: 22px; height: 22px; stroke: #fff; }
.au-note { margin: 0; font-size: 15px; line-height: 20px; color: var(--graphite); }
.au-qr { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 20px; background: var(--paper); }
.au-qr img { width: 164px; height: 164px; border-radius: 12px; background: #fff; image-rendering: pixelated; flex-shrink: 0; }
.au-lbl { font-size: 13px; font-weight: 600; color: var(--graphite); }
.au-key { font-size: 15px; line-height: 22px; word-break: break-all; user-select: all; }
.gone { padding: 64px; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 1100px) {
  .au-side { width: 42%; }
  .au-main { margin-left: 42%; }
}
@media (max-width: 833px) {
  .au-side { display: none; }
  .au-main { margin: 0; }
  .au-line, .au-dish { display: none; }
}

:root {
  --bw: var(--border-control);
  --focus: var(--orange-deep);
  --cream: #ffffff;
  --surface: #ffffff;
  --paper: #ffffff;
  --orange-soft: #ffffff;
  --line: #e2e2e2;
  --line-strong: #cccccc;
  --ink: #262626;
  --graphite: #4b4b4b;
  color-scheme: light;
}
:root[data-theme=dark] {
  --cream: #181818;
  --surface: #181818;
  --paper: #181818;
  --orange-soft: #181818;
  --line: #383838;
  --line-strong: #525252;
  --ink: #f5f5f5;
  --graphite: #c4c4c4;
  color-scheme: dark;
}
body { font: var(--type-body); }
h1, p { overflow-wrap: anywhere; }
button, input, a { touch-action: manipulation; }
button, a { transition: background-color .1s, color .1s, border-color .1s; }
button:active { filter: brightness(.95); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.fl input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-color: var(--focus); }
.fl > span { font: var(--type-w14s); color: var(--ink); }
.fl input { min-height: var(--control-work); border: var(--border-control) solid var(--rule); border-radius: var(--radius-m); font: var(--type-body); }
.fl input:disabled, .fl input[readonly] { background: var(--paper); }
.fl input:disabled { opacity: 1; color: var(--graphite); cursor: not-allowed; }
.au-logo img { object-fit: contain; }
.am-h1 { font: var(--type-page); letter-spacing: 0; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
