@font-face { font-family: "Unica One"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/unica-one-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Unica One"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/unica-one-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/cinzel-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cinzel"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/cinzel-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/cinzel-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cinzel"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/cinzel-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/*
 * learn.stracmed.com (product owner, 2026-11-17): "Draft B, Panel", with longer buttons. A light gray
 * page, the training on a white rounded panel, lettered answers, and dark pill buttons that run the
 * width of a phone. The brand's orange marks progress and choices. The header (the mark, the Unica
 * One wordmark, the Cinzel tag) shows on the sign-in screen only; once signed in, it gives the training
 * the whole screen (learn.js sets body.signed-in). Served at /assets/learn.css after the @font-face rules.
 */
:root {
  --ink: #111827; --text: #374151; --muted: #6b7280; --line: #e5e7eb; --page: #f5f6f8; --chip: #f3f4f6;
  --accent: #ff3000; --accent-ink: #c2410c; --tint: #fff5f1; --ok: #047857; --bad: #b91c1c;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { background: var(--page); }
body {
  margin: 0; color: var(--ink); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased;
  font: 17px/1.6 Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(255, 48, 0, 0.35); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- header: the sign-in screen only ---------- */
.letterhead { background: #fff; border-bottom: 1px solid var(--line); }
.letterhead .inner {
  max-width: 760px; margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #1c1917; }
.brand svg { display: block; width: 28px; height: auto; }
.brand span { font-family: "Unica One", sans-serif; font-size: 20px; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.tag { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 9.5px; line-height: 1.35; letter-spacing: 0.2em; text-transform: uppercase; color: #57534e; text-align: right; }
body.signed-in .letterhead { display: none; }
.progress { height: 3px; background: transparent; }
.progress .bar { height: 100%; width: 0; background: var(--accent); border-radius: 0 3px 3px 0; transition: width 0.3s ease; }

/* ---------- the panel ---------- */
.wrap { max-width: 640px; margin: 0 auto; padding: 22px 14px 12px; }
.card {
  background: #fff; border-radius: 22px; padding: 26px 20px 24px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 14px 34px -14px rgba(16, 24, 40, 0.12);
}
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); background: var(--tint); border-radius: 999px; }
h1 { margin: 0 0 22px; font-size: 26px; line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; }
h2 { margin: 30px 0 10px; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
h3 { margin: 20px 0 8px; font-size: 17px; font-weight: 600; }
h4, h5, h6 { margin: 18px 0 6px; font-size: 16px; font-weight: 600; }
p { margin: 0 0 14px; }
.reading > p, .content p, .content li { color: var(--text); }
.content ul, .content ol { padding-left: 22px; margin: 0 0 14px; }
.content li { margin: 4px 0; }
.content a { color: var(--accent-ink); }
.course { margin-top: 6px; }

/* ---------- sign in ---------- */
.field { display: block; margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--text); }
.field input {
  display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: inherit; font-size: 17px; font-weight: 400;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 48, 0, 0.12); }
.tick { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 15px; color: var(--muted); }
.tick input { width: 20px; height: 20px; accent-color: var(--accent); }

/* ---------- answers: lettered ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { display: block; margin: 0 0 20px; padding: 0; font-size: 21px; line-height: 1.38; font-weight: 700; letter-spacing: -0.01em; }
.option {
  display: flex; align-items: center; gap: 12px; margin: 0 0 10px; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; cursor: pointer; line-height: 1.45;
}
.option input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.question fieldset { counter-reset: opt; }
.question .option { counter-increment: opt; position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.question .option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.question .option::before {
  content: counter(opt, upper-alpha); display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 10px; background: var(--chip); color: var(--text); font-size: 14px; font-weight: 700;
}
.question .option:hover { border-color: #d1d5db; }
.question .option:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.question .option:has(input:checked)::before { background: var(--accent); color: #fff; }
.question .option:has(input:focus-visible) { outline: 3px solid rgba(255, 48, 0, 0.35); outline-offset: 2px; }

/* ---------- the reading (product owner, 2026-11-18): the instructions folded, the attestation at Begin Quiz ---------- */
details.instructions { margin: 0 0 4px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
details.instructions summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 13px 13px 18px;
  list-style: none; cursor: pointer; border-radius: 15px; font-size: 17px; font-weight: 700; color: var(--ink);
}
details.instructions summary::-webkit-details-marker { display: none; }
@media (hover: hover) { details.instructions summary:hover { background: #fafafa; } }   /* no gray left behind a tap */
details.instructions[open] summary { border-radius: 15px 15px 0 0; }
/* The arrow is an SVG drawn around its box's center (7.75 to 12.25 of 20), so it sits dead center in the
   circle, and turning the circle over for "open" keeps it there. */
.chevron {
  flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 999px; background: var(--tint); color: var(--accent-ink); transition: transform 0.2s ease;
}
.chevron svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
details.instructions[open] .chevron { transform: rotate(180deg); }
.instructions-body { padding: 4px 18px 4px; }
.instructions-body p { color: var(--text); }
.begin { margin-top: 30px; padding: 20px 18px 18px; background: var(--tint); border-radius: 18px; }
.begin > p:first-child { margin: 0; font-weight: 600; color: var(--ink); }
.begin .actions { margin-top: 18px; }

/* ---------- buttons: long dark pills ---------- */
.actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 26px; }
button, .button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 240px;
  padding: 0 30px; font: inherit; font-size: 16px; font-weight: 600; color: #fff; background: var(--ink); border: 0;
  border-radius: 999px; cursor: pointer; text-decoration: none;
}
button:hover, .button:hover { background: #000; }
button:disabled { opacity: 0.55; cursor: progress; }
button.quiet { min-width: 0; color: var(--text); background: #fff; border: 1px solid var(--line); margin-right: auto; padding: 0 22px; }
button.quiet:hover { background: var(--chip); }
@media (max-width: 520px) {
  .actions button:not(.quiet), .actions .button { flex: 1; min-width: 0; }
}

/* ---------- messages ---------- */
.error { margin: 16px 0 0; padding: 12px 14px; color: var(--bad); background: #fef2f2; border-radius: 12px; font-size: 15px; }
.preview { margin: 0 0 14px; padding: 14px 16px; background: #fffbeb; border-radius: 14px; font-size: 15px; }
.preview p { margin: 0 0 6px; }
.preview ul { margin: 6px 0 0; padding-left: 20px; }
.notice { padding: 14px 16px; background: #fff; border-radius: 14px; }
.notice-card h1 { margin-bottom: 10px; }

/* ---------- result ---------- */
.result .passed { color: var(--ok); }
.result .failed { color: var(--bad); }
.result .score { font-size: 20px; font-weight: 700; }
.review { margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--line); }
.review-list { margin: 0 0 14px; padding-left: 20px; }
.review-list li { margin: 6px 0; }
.try-again { font-weight: 600; }
.saved { margin-top: 18px; font-size: 14px; color: var(--muted); }
.saved:empty { display: none; }                  /* no blank space under a page with nothing to add */

/* ---------- footer ---------- */
.foot { max-width: 640px; margin: 0 auto; padding: 22px 20px 44px; text-align: center; font-size: 12.5px; color: var(--muted); }
.foot p { margin: 0; }

@media (min-width: 640px) {
  .wrap { padding-top: 40px; }
  .card { padding: 40px 44px 36px; }
  h1 { font-size: 30px; }
  .letterhead .inner { padding: 18px 16px; }
  .brand svg { width: 32px; }
  .brand span { font-size: 23px; }
  .tag { font-size: 10.5px; }
}

/* ---------- custom forms: the exam (learn_exam.html) and the reviewer's page (learn_review.html) ---------- */
.exam .question .option::before { content: attr(data-letter); }        /* the official sheet's letters; T and F */
.section-name { margin: -6px 0 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.manual { margin: 0 0 22px; padding: 18px; background: var(--chip); border-radius: 16px; }
.manual-title { margin: 0 0 2px; font-weight: 700; }
.manual-detail { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.manual-links { display: flex; flex-wrap: wrap; gap: 10px; }
.manual-links .button { min-width: 0; flex: 1 1 160px; min-height: 46px; }
.button.quiet { color: var(--text); background: #fff; border: 1px solid var(--line); }
.button.quiet:hover { background: var(--chip); }
.manual-note { margin: 14px 0 0; font-size: 14.5px; color: var(--text); }
.facts { margin: 0 0 8px; padding-left: 20px; color: var(--text); }
.facts li { margin: 6px 0; }
.resume { font-weight: 600; }
.pending { margin: 0 0 18px; padding: 16px; background: var(--tint); border-radius: 16px; }
.pending p { margin: 0; font-weight: 600; }
.pending .actions { margin-top: 14px; }
details.more { margin-top: 28px; }
details.more summary { display: inline-block; width: 22px; height: 22px; list-style: none; cursor: pointer; color: #c4c8cf; font-size: 12px; line-height: 22px; text-align: center; border-radius: 6px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "\25B8"; }
details.more[open] summary::before { content: "\25BE"; }
details.more summary:hover { color: var(--muted); }
details.more .tick { display: flex; margin: 8px 0 0; }
.role-note { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.check .unanswered ul { margin: 6px 0 0; padding-left: 0; list-style: none; }
.check .unanswered li { margin: 4px 0; }
button.link { min-height: 36px; padding: 0 14px; font-size: 14.5px; margin: 0; }
.sections-list { margin: 8px 0 18px; padding: 0; list-style: none; }
.sections-list li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
.sections-list b { white-space: nowrap; color: var(--ink); }
.pass-line { color: var(--muted); }
.next { margin-top: 8px; padding: 16px; background: var(--tint); border-radius: 16px; }
.next p { margin: 0; font-weight: 600; }
.statements { margin: 0 0 16px; padding-left: 20px; color: var(--text); }
.statements li { margin: 6px 0; }
.attest { margin: 0 0 14px; background: var(--tint); border-color: transparent; font-weight: 600; }
.signer { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.signer-name { color: var(--ink); font-weight: 600; }
.pad-wrap { position: relative; margin: 0 0 10px; }
canvas.pad {
  display: block; width: 100%; height: 170px; background: #fff; border: 1px solid #d1d5db; border-radius: 14px;
  touch-action: none; cursor: crosshair;
  background-image: linear-gradient(to right, #d1d5db, #d1d5db); background-repeat: no-repeat;
  background-size: calc(100% - 48px) 1px; background-position: 24px 124px;
}
.pad-hint { position: absolute; left: 26px; top: 96px; font-size: 15px; color: #9ca3af; pointer-events: none; }
.pad-wrap .clear { position: absolute; right: 10px; top: 10px; min-height: 34px; padding: 0 14px; font-size: 14px; margin: 0; }
.consent { font-size: 13.5px; color: var(--muted); }
.review-page h1 { margin-bottom: 14px; }
.facts-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 8px; }
.facts-grid div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts-grid dt { font-size: 14px; color: var(--muted); }
.facts-grid dd { margin: 0; text-align: right; font-size: 15px; font-weight: 600; }
.attest-text { font-weight: 600; }
.signature { margin: 0 0 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.signature img { display: block; max-width: 100%; max-height: 90px; }
.signature figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
@media (min-width: 640px) {
  .facts-grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}
.review-page a { color: var(--accent-ink); font-weight: 600; }
