/* The research reports on screen — the landing's language (see /site.css) laid over the report's own stylesheet.

   The two reports are ONE document twice: the same HTML is the source of the PDF (WeasyPrint reads the inline <style> blocks,
   their @page and @media print rules, in pt and cm). So this sheet is linked with media="screen" and restyles the
   reading experience only — Onest for everything read, the serif for the title and the chapter headings, hairline rules instead of
   filled boxes and a gradient bar — and the PDF keeps its own look until it is regenerated on purpose.

   The floating chapter list (built by the page's script) lives here too, not in a <style> inside <body>: one copy for both languages. */

body { font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--paper); max-width: calc(720px + 2 * var(--gut)); padding: 0 var(--gut) 24px; }

/* cover: a title block, not a PDF cover page */
.cover { min-height: 0; padding: 80px 0 56px; border-bottom: 1px solid var(--rule); }
.cover-accent { display: none; }
.cover-logo { width: 56px; height: 56px; margin-bottom: 20px; border-radius: 12px; }
.cover-brand { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; color: var(--teal); margin-bottom: 20px; }
.cover h1 { font-family: var(--serif); font-size: clamp(38px, 6vw, 56px) !important; font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 0; }
.teal-bar { width: 28px; height: 1px; margin: 28px auto; }
.cover .subtitle { font-size: 19px; line-height: 1.65; color: var(--text2); max-width: 34em; margin: 0 auto 28px; }
.cover .version { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.cover .additions { font-size: 15px; line-height: 1.7; color: var(--text2); margin: 0 0 28px; }
.cover .meta { font-family: var(--sans); font-size: 15px; line-height: 1.8; color: var(--text2); }
.cover .disclaimer { font-size: 15px; font-style: normal; color: var(--text2); margin-top: 28px; }

/* tier legend and contents */
.tier-legend, .toc { padding-top: 56px; }
.tier-legend h2, .toc h2 { font-family: var(--sans); font-size: 24px; font-weight: 600; letter-spacing: -0.005em; color: var(--navy); margin: 0 0 20px; }
.tier-legend table { border-collapse: collapse; margin: 8px 0 24px; }
.tier-legend td { padding: 16px 20px 16px 0; border: 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.6; color: var(--text2); }
.tier-legend .tc { width: 180px; font-family: var(--sans); font-size: 15px; font-weight: 700; background: none; }
.tier-legend .tc span { font-size: 14px !important; }
.tier-legend .note { font-style: normal; color: var(--text2); border-left: 2px solid var(--teal); padding-left: 20px; margin-top: 24px; line-height: 1.7; }
.toc h2 { border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
.toc-entry { font-size: 16px; line-height: 1.5; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.toc-entry.new { color: var(--teal); }
.new-badge { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; background: none; color: var(--teal); padding: 0; border-radius: 0; margin-left: 10px; }

/* headings: the serif only for the chapter titles; the subheads are Onest */
h1 { font-family: var(--serif); font-size: clamp(30px, 2.4vw + 14px, 40px); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--navy); margin: 88px 0 24px; padding: 0 0 18px; border-bottom: 1px solid var(--rule); }
.cover h1 { margin: 0; padding: 0; }
h2 { font-family: var(--sans); font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; color: var(--navy); margin: 48px 0 12px; }
h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--navy); margin: 28px 0 8px; }

/* text */
p { text-align: left; font-size: 17px; line-height: 1.7; color: var(--text2); margin: 0 0 16px; }
p strong, li strong { color: var(--navy); font-weight: 600; }
ul { margin: 10px 0 20px 22px; }
li { font-size: 17px; line-height: 1.65; color: var(--text2); margin: 0 0 6px; }
a { color: var(--teal); text-underline-offset: 3px; }
.source { font-size: 14px; font-style: normal; line-height: 1.55; color: var(--text2); margin: 0 0 24px; }
[style*="font-size:8pt"], [style*="font-size: 8pt"] { font-size: 14px !important; font-style: normal !important; }
[style*="font-size:12pt"] { font-size: 17px !important; }
svg { font-family: var(--sans) !important; }

/* the evidence tier of a claim: a colour-coded label, set off by a rule, not a filled chip */
.tier-label { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; border-radius: 0; background: none; }
div.tier-label { display: block; border-left: 3px solid currentColor; padding: 2px 0 2px 12px; margin: 20px 0 10px; }
.tier-1, .tier-12, .tier-2, .tier-23, .tier-3, .tier-4, .tier-mixed { background: none; }
.tier-legend .t1, .tier-legend .t2, .tier-legend .t3, .tier-legend .t4 { background: none; }
/* the classification's own hues, darkened to read as 14 px text on the cream ground (≥ 4.5:1) */
.tier-2, .tier-23, .tier-legend .t2 { color: #84610a; }
.tier-3, .tier-legend .t3 { color: #9a5304; }
.tier-4, .tier-legend .t4 { color: #9c3f27; }

/* tables: hairline rows, no grid and no filled head */
table:not(.tier-legend table) { font-size: 15px; margin: 16px 0 28px; }
table:not(.tier-legend table) th { background: none; font-size: 14px; font-weight: 600; color: var(--navy); padding: 10px 14px 10px 0; border: 0; border-bottom: 1px solid var(--beige); }
table:not(.tier-legend table) td { padding: 10px 14px 10px 0; border: 0; border-bottom: 1px solid var(--rule); color: var(--text2); }

/* the closing block */
nav[aria-label="Legal"] { margin: 56px 0 96px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 2; color: var(--text2); }

/* the chapter list (the page's script fills .toc-float and .toc-mobile) */
.toc-float { position: fixed; top: 50%; left: 20px; transform: translateY(-50%); z-index: 900; max-height: 80vh; overflow-y: auto; padding: 14px 0; scrollbar-width: none; }
.toc-float::-webkit-scrollbar { display: none; }
.toc-back, .toc-back-m { display: block; padding: 8px 14px 10px 12px; font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--teal); text-decoration: none; margin-bottom: 4px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.toc-back-m { padding: 12px 18px; margin-bottom: 4px; }
.toc-back:hover, .toc-back-m:hover { color: var(--navy); }
.toc-float a { display: block; padding: 4px 14px 4px 12px; font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--text2); text-decoration: none; border-left: 2px solid transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; transition: color 0.15s; }
.toc-float a.toc-back { max-width: none; padding: 8px 14px 10px 12px; font-size: 14px; font-weight: 600; color: var(--teal); border-left: 0; }
.toc-float a:hover { color: var(--navy); }
.toc-float a.toc-active { color: var(--teal); border-left-color: var(--teal); font-weight: 600; }
.toc-float a.toc-src { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--rule); }
.toc-btn { position: fixed; bottom: 16px; left: 16px; z-index: 901; width: 48px; height: 48px; border-radius: 10px; background: var(--sheet); border: 1px solid var(--rule); color: var(--navy); font-size: 18px; cursor: pointer; display: none; align-items: center; justify-content: center; }
.toc-mobile { display: none; position: fixed; bottom: 72px; left: 16px; z-index: 900; width: min(300px, calc(100vw - 32px)); max-height: 60vh; overflow-y: auto; padding: 8px 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; }
.toc-mobile a { display: block; padding: 10px 18px; font-family: var(--sans); font-size: 15px; line-height: 1.4; color: var(--text2); text-decoration: none; }
.toc-mobile a:hover { color: var(--teal); }
.toc-mobile a.toc-active { color: var(--teal); font-weight: 600; }
.toc-mobile a.toc-back-m { padding: 12px 18px; font-size: 14px; font-weight: 600; color: var(--teal); }
.toc-mobile a.toc-src { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--rule); }
.toc-mobile.toc-open { display: block; }
@media (max-width: 1279px) { .toc-float { display: none; } .toc-btn { display: flex; } }
@media (min-width: 1280px) { .toc-btn { display: none !important; } .toc-mobile { display: none !important; } }

/* phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  p, li { font-size: 16px; }
  .cover { padding: 72px 0 40px; }
  h1 { margin-top: 64px; }
  .tier-legend .tc { width: 110px; }
  table:not(.tier-legend table) { display: block; overflow-x: auto; }
}
