/* boardreadyRN — one stylesheet for every page. Phone first. */
:root {
  --ink: #0f2233;
  --ink-soft: #4a5b6b;
  --line: #dde5ec;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --brand: #0e6e77;
  --brand-ink: #ffffff;
  --brand-soft: #e3f2f3;
  --good: #1e7b45;
  --good-soft: #e5f4ea;
  --bad: #b3261e;
  --bad-soft: #fbe9e7;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9eef3; --ink-soft: #a9b6c3; --line: #2a3a49; --bg: #0d1822; --bg-soft: #132230;
    --brand: #3fb3bd; --brand-ink: #062027; --brand-soft: #123a40;
    --good: #5cc98a; --good-soft: #13321f; --bad: #f08a80; --bad-soft: #3a1714;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* .btn sets display, which would otherwise override hidden */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--brand); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.2px; }
.logo span { color: var(--brand); font-weight: 800; letter-spacing: 0.3px; } /* the RN: the part nurses latch onto */
nav.site a { margin-left: 16px; font-size: 15px; text-decoration: none; color: var(--ink-soft); }
h1 { font-size: 32px; line-height: 1.2; letter-spacing: -0.5px; margin: 40px 0 12px; }
h2 { font-size: 22px; margin: 40px 0 10px; }
p.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 24px; }
.btn {
  display: inline-block; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 10px;
  padding: 14px 22px; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn.secondary { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 14px 0; background: var(--bg); }
.soft { background: var(--bg-soft); }
.muted { color: var(--ink-soft); font-size: 15px; }
.small { font-size: 13px; color: var(--ink-soft); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 700; display: grid; place-items: center; font-size: 15px;
}
footer.site { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; }
footer.site p { font-size: 13px; color: var(--ink-soft); margin: 6px 0; }

/* Diagnostic */
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 18px 0 8px; }
.progress > div { height: 100%; background: var(--brand); width: 0; transition: width .25s; }
.qmeta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 14px; color: var(--ink-soft); }
.qmeta span:first-child { white-space: nowrap; }
.stem { font-size: 19px; font-weight: 600; margin: 16px 0; }
.opt {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; margin: 10px 0; padding: 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 16px; cursor: pointer;
}
.opt .mark { flex: 0 0 22px; height: 22px; border: 1.5px solid var(--ink-soft); border-radius: 50%; margin-top: 1px; }
.opt.sata .mark { border-radius: 5px; }
.opt.chosen { border-color: var(--brand); background: var(--brand-soft); }
.opt.chosen .mark { background: var(--brand); border-color: var(--brand); }
.opt.right { border-color: var(--good); background: var(--good-soft); }
.opt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.opt:disabled { cursor: default; }
.feedback { border-left: 4px solid var(--brand); padding: 10px 14px; background: var(--bg-soft); border-radius: 6px; margin: 14px 0; font-size: 16px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.bar { display: grid; grid-template-columns: 1fr 56px; gap: 4px 10px; align-items: center; margin: 10px 0; font-size: 15px; }
.bar .track { grid-column: 1 / -1; height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; }
.bar .track > div { height: 100%; background: var(--brand); }
.bar.weak .track > div { background: var(--bad); }
input[type=email], input[type=text], select {
  width: 100%; padding: 12px; font-size: 16px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink);
}
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 12px 0; }
.notice { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink-soft); }
