/* Audit tick-and-tie: design tokens shared by the live page and the review page.
   Type carries meaning: Source Serif 4 only for what the documents say; Schibsted Grotesk for everything ProofGraph says.
   Colour is never the only carrier of an answer: each has a word, a pencil mark and an underline style. */
:root {
  --sheet: #F7F8FA;      /* the workpaper: page ground */
  --ink: #0E1A2B;        /* text, 16.5:1 on the sheet */
  --cyan: #CFE3EE;       /* column rules */
  --stamp: #1636C9;      /* stamp ink: the one saturated field and the primary action; white text only (8.7:1) */
  --pen-red: #C8222D;    /* exceptions: contradicted (5.3:1) */
  --pen-green: #1B7F4B;  /* tied out: supported (4.7:1) */
  --amber: #9A5B00;      /* qualified (5.1:1) */
  --slate: #4A5668;      /* not in these documents (7.0:1) */
  --grey: #5B6678;       /* not mentioned anywhere; secondary text (5.5:1) */
  --paper: #FFFFFF;      /* a document: page images and quotes, and nothing else is this white */
  --says: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --ui: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* type scale, 1.25 ratio on 16px */
  --t-13: .8125rem; --t-16: 1rem; --t-20: 1.25rem; --t-25: 1.5625rem; --t-31: 1.9375rem; --t-39: 2.4375rem;
}
* { box-sizing: border-box; }
html { background: var(--sheet); color: var(--ink); font: 1rem/1.55 var(--ui); -webkit-text-size-adjust: 100%; }
body { margin: 0; background-color: var(--sheet); }
::selection { background: var(--ink); color: var(--sheet); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; border-radius: 2px; }
.says { font-family: var(--says); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: var(--stamp); text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.btn { min-height: 44px; padding: 0 1.2rem; border: 2px solid var(--stamp); background: var(--stamp); color: #fff; border-radius: 0;
  font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: #fff; color: var(--stamp); }
.btn.quiet { background: transparent; color: var(--stamp); }
.btn.quiet:hover { background: var(--stamp); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }

/* The pencil marks. A mark takes its answer's pen colour; the underline style is the second carrier. */
.mark { flex: none; vertical-align: -.2em; margin-right: .35em; overflow: visible; }
.m-tick { color: var(--pen-green); } .m-circle { color: var(--pen-red); } .m-caret { color: var(--amber); }
.m-bracket { color: var(--slate); } .m-question { color: var(--grey); }
.m-clash { color: var(--amber); } .m-clash path { stroke: var(--amber); }
.u, .st { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-skip-ink: none; }
.u.green, .green .st, .st.green { text-decoration-style: solid; text-decoration-color: var(--pen-green); }
.u.red, .red .st, .st.red { text-decoration-style: solid; text-decoration-color: var(--pen-red); }
.u.amber, .amber .st, .st.amber { text-decoration-style: wavy; text-decoration-color: var(--amber); }
.u.slate, .slate .st, .st.slate { text-decoration-style: dashed; text-decoration-color: var(--slate); }
.u.grey, .grey .st, .st.grey { text-decoration-style: dotted; text-decoration-color: var(--grey); }
.u.clash, .clash .st, .st.clash { text-decoration-style: double; text-decoration-color: var(--amber); }
