/* IQ Assistant na komputerze – powłoka (MOBILNA.md §5l). Kolory jak w czacie (style.css: --brand). */
:root { --brand: #13a3a6; --brand-dark: #0d7f82; --bg: #141414; --card: rgba(32, 32, 32, .92); --text: #e8e8e8;
  --muted: #9a9a9a; --line: #333; --error: #ff6b6b; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.5 "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--bg);
  background-image: radial-gradient(1200px 700px at -10% -10%, rgba(19,163,166,.22), transparent 60%); }
#shell { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
#shell[hidden] { display: none; }
.card { width: min(520px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 28px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.logo { height: 44px; display: block; margin: 0 auto 18px; }
h1 { font-size: 20px; font-weight: 600; margin: 0 0 12px; text-align: center; }
.lead { text-align: center; color: var(--text); margin: 0 0 16px; }
.hint { text-align: center; color: var(--muted); font-size: 13px; }
.ask { display: inline-block; margin-top: 8px; font-weight: 600; color: #fff; }
.steps { color: var(--muted); padding-left: 20px; margin: 0 0 18px; }
.steps li { margin: 4px 0; }
.steps b, .lead b { color: var(--text); font-weight: 600; }
form { display: grid; gap: 12px; }
label.name { margin-bottom: 14px; }
.qr-box { display: flex; justify-content: center; margin: 4px 0 6px; }
.qr { width: 240px; height: 240px; background: #fff; border-radius: 10px; padding: 8px; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr.expired { opacity: .15; }
#qr-again { display: block; margin: 8px auto 0; }
#qr-again[hidden] { display: none; }
label { display: grid; gap: 4px; color: var(--muted); font-size: 13px; }
input { font: inherit; color: var(--text); background: #1c1c1c; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 11px; outline: none; }
input:focus { border-color: var(--brand); }
input.code { font-family: Consolas, "Cascadia Mono", monospace; font-size: 16px; letter-spacing: .06em;
  text-transform: uppercase; }
button { font: inherit; color: var(--text); background: #262626; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 16px; cursor: pointer; }
button:hover { border-color: #555; }
button.primary { background: var(--brand-dark); border-color: var(--brand); color: #fff; font-weight: 600; }
button.primary:hover { background: var(--brand); }
button:disabled { opacity: .6; cursor: default; }
button.link { background: none; border: none; color: var(--muted); padding: 4px; margin: 14px auto 0; display: block;
  font-size: 13px; }
button.link:hover { color: var(--text); text-decoration: underline; }
#lock button.primary, #wait button { display: block; margin: 0 auto; }
.msg { min-height: 1.5em; margin: 12px 0 0; text-align: center; color: var(--muted); }
.msg.error { color: var(--error); }
#app { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; background: var(--bg); }
#app[hidden] { display: none; }
#net { position: fixed; left: 50%; top: 10px; transform: translateX(-50%); z-index: 10; background: #5a3b00;
  color: #ffd38a; border: 1px solid #8a5a00; border-radius: 8px; padding: 6px 14px; font-size: 13px; }
#net[hidden] { display: none; }
/* zablokowana sesja nad otwartym widokiem: karta na półprzezroczystym tle */
body.locked-over #shell { position: fixed; inset: 0; z-index: 5; background: rgba(10,10,10,.72); }
