/* Doors reports: the lime number, stat tiles, charts and data tables, on top of the guide shell.
   Loads after reading.css. No inline styles are used on the report pages, so every look lives here. */

/* Type. The shell's Inter file has no tabular figures and no minus sign, so number columns did not line up and
   a minus came from the reader's system font. The report pages use the homepage's Inter file instead: the same
   Inter, with both. It has its own family name so a report page loads one Inter file, not two.
   Sizes: 12 labels, 13 notes and tables, 14 secondary, 15 boxes, 16 body. */
@font-face{font-family:"Inter Report";src:url('/site/resources/assets/8-inter-latin-figures.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--sans:"Inter Report",Arial,sans-serif;--mono:"Inter Report",Arial,sans-serif}
:root{--rp-accent:#D9FF3D;--rp-fill:#D9FF3D;--rp-block:#D9FF3D;--rp-block-ink:#141A06;--rp-quiet:#59616B;--rp-track:rgba(255,255,255,.08)}
@media(prefers-color-scheme:light){:root:not([data-resource-theme=dark]){--rp-accent:#465B00;--rp-fill:#465B00;--rp-quiet:#7E8581;--rp-track:rgba(0,0,0,.08)}}
:root[data-resource-theme=light]{--rp-accent:#465B00;--rp-fill:#465B00;--rp-quiet:#7E8581;--rp-track:rgba(0,0,0,.08)}
:root[data-resource-theme=dark]{--rp-accent:#D9FF3D;--rp-fill:#D9FF3D;--rp-quiet:#59616B;--rp-track:rgba(255,255,255,.08)}

/* Hero */
.rp-hero{padding:0 0 44px}
.rp-eyebrow,body .article-body p.rp-eyebrow{font:600 12px/1.45 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 16px;max-width:none;text-wrap:balance}
body .rp-hero h1{font-family:var(--display);font-weight:400;text-transform:uppercase;letter-spacing:.004em;line-height:1.04;font-size:clamp(38px,6.2vw,84px);max-width:18ch;margin:0 0 26px}
body .rp-hero h1.rp-h1-long{font-size:clamp(34px,5vw,66px);max-width:20ch}
.rp-num{display:inline-block;background:var(--rp-block);color:var(--rp-block-ink);font-family:var(--display);font-weight:400;line-height:1;padding:.04em .14em .06em;letter-spacing:.01em}
.rp-hero h1 .rp-num{margin-right:.1em}
.rp-hero-stat{display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:center;margin:0 0 26px;max-width:780px}
.rp-hero-stat .rp-num{font-size:clamp(54px,8vw,104px);justify-self:start}
body .rp-hero .rp-hero-stat p{margin:0;font-size:17px;line-height:1.55;max-width:46ch}
body .rp-hero p.rp-deck{font-size:clamp(18px,1.6vw,21px);line-height:1.55;max-width:62ch;margin:0 0 20px;text-wrap:pretty}
body .rp-hero p.rp-lead-line{font-size:15px;line-height:1.6;max-width:68ch;margin:0 0 12px;color:var(--muted);text-wrap:pretty}
body .rp-hero p.rp-lead-line b{color:var(--paper);font-weight:600}
body .rp-hero .record-meta{margin:0 0 20px;font-size:13px;line-height:1.6}
.rp-hero-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:28px 56px;align-items:center}
.rp-hero-grid .rp-pair{margin:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:22px 22px 18px}
.rp-hero-grid .rp-bars{gap:18px}
.rp-hero-grid .rp-bar-value{font:400 clamp(30px,3.2vw,42px)/1 var(--display);letter-spacing:.01em}
.rp-hero-grid .rp-bar-label{font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.rp-hero-grid .rp-bar-svg{height:14px}
.rp-pair figcaption{display:block;margin-top:14px}
.rp-trust{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:26px 0 0;padding:0;border-block:1px solid var(--line);max-width:980px}
.rp-trust li{padding:15px 18px 15px 0;font-size:13px;line-height:1.5;color:var(--muted)}
.rp-trust li+li{border-left:1px solid var(--line);padding-left:18px}
.rp-trust b{display:block;color:var(--paper);font-weight:600;font-size:14px}

/* Headings and running text. The shell sets its section headings tight (-.035em), which closes "7.7" up until
   it reads as "77" in this font, and its small headings at 700 beside section headings at 500. */
body[data-report] .article-body h2{letter-spacing:-.02em}

body[data-report] .article-body h3{font-weight:600;letter-spacing:-.011em;text-wrap:balance}

.rp-fig{font-kerning:none}

/* Kept at the weight of a bare tag, so a class that asks for balance (labels, the pull line) still gets it. */
:where(body[data-report] .article-body) :is(p,li,dd){text-wrap:pretty}

/* Lists inside the article that are not prose lists */
body .article-body :is(.rp-stats,.rp-bars,.rp-cards,.rp-method,.rp-guides){list-style:none;padding-left:0;max-width:none}
body .article-body :is(.rp-stats,.rp-bars,.rp-cards,.rp-method,.rp-guides)>li{padding-left:0;margin-bottom:0;max-width:none}

/* Small text */
body .article-body p.rp-note{font-size:13px;line-height:1.55;color:var(--muted);margin:10px 0 0;max-width:78ch;text-wrap:pretty}
body .article-body p.rp-note a{color:var(--paper)}
body .article-body p.rp-pull{font:400 clamp(22px,2.7vw,31px)/1.14 var(--display);text-transform:uppercase;letter-spacing:.012em;margin:30px 0 6px;max-width:30ch;text-wrap:balance}
body .article-body section>p.rp-eyebrow{margin-bottom:10px}
body .article-body p.rp-note+:is(p,ul,ol){margin-top:20px}
body .article-body p.rp-note+h3{margin-top:30px}
/* Vertical rhythm between the components and the prose around them */
body .article-body :is(p,ul,ol,dl,.rp-stats,.rp-figure,.rp-table-wrap,.rp-details)+:is(.rp-stats,.rp-figure,.rp-table-wrap){margin-top:24px}
body .article-body :is(.rp-stats,.rp-figure,.rp-table-wrap)+:is(p:not(.rp-note),ul,ol,h3){margin-top:26px}

/* The short answer */
.rp-short{border:1px solid var(--line);border-left:4px solid var(--rp-accent);background:var(--surface);padding:24px 26px;margin:0 0 46px;border-radius:0 8px 8px 0}
body .article-body .rp-short p.rp-eyebrow{color:var(--rp-accent);margin-bottom:10px}
body .article-body .rp-short p{max-width:70ch}
body .article-body .rp-short p.rp-lead{font-size:19px;line-height:1.5;font-weight:500;letter-spacing:-.006em;text-wrap:pretty}
.rp-short>:last-child{margin-bottom:0}
body .article-body .rp-short ol{margin:0;padding-left:22px}
body .article-body .rp-short ol li{margin-bottom:10px;max-width:70ch}
.rp-jump{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600}

/* Stat tiles */
/* Each tile draws its own rule into the 1px gap, so a row that is one tile short ends in a blank tile, not a grey block. */
.rp-stats{margin:0 0 4px;display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:1px;background:var(--ink);border:1px solid var(--line);border-radius:8px;overflow:hidden}
body .article-body .rp-stats>li{background:var(--ink);outline:1px solid var(--line);padding:18px 18px 16px;display:flex;flex-direction:column;gap:5px}
.rp-stat-label{font-size:12px;font-weight:600;line-height:1.4;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.rp-stat-num{font:400 clamp(30px,3.5vw,44px)/1 var(--display);letter-spacing:.01em;color:var(--paper)}
.rp-stat-note{font-size:13px;line-height:1.4;color:var(--muted);text-wrap:balance}
.rp-stat-text{font-size:14px;line-height:1.35;font-weight:600;color:var(--paper);text-wrap:balance}
.rp-stats-wide{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}

/* One tile's label can take two lines. The tiles in a row share their three rows, so the big numbers sit on one line. */
@supports (grid-template-rows:subgrid){body .article-body .rp-stats>li{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:5px;align-content:start}}

/* Interpretation box: one style on every report page */
body .article-body p.rp-read{border:1px dashed var(--muted);border-radius:8px;padding:15px 18px;margin:18px 0 0;font-size:15px;line-height:1.6;max-width:70ch;text-wrap:pretty}
.rp-read b{display:block;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.rp-finding{border-top:1px solid var(--line);padding:26px 0 28px}
.rp-finding:first-of-type{border-top:0;padding-top:4px}
.rp-finding:last-of-type{padding-bottom:0}
body .article-body .rp-finding h3{font-size:19px;line-height:1.3;margin-bottom:10px;max-width:46ch}

/* Charts */
.rp-figure{margin:0 0 6px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:18px 18px 14px}
.rp-controls{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:flex-end;margin:0 0 14px}
.rp-group{border:0;padding:0;margin:0;min-width:0}
.rp-group legend{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:0;margin:0 0 7px}
.rp-group div{display:flex;flex-wrap:wrap;gap:6px}
.rp-btn{appearance:none;background:transparent;color:var(--paper);border:1px solid var(--line);border-radius:999px;padding:8px 14px;min-height:40px;font-size:13px;line-height:1.2;cursor:pointer}
.rp-btn:hover{border-color:var(--paper)}
.rp-btn[aria-pressed=true]{background:var(--paper);color:var(--ink);border-color:var(--paper)}
body .article-body .rp-figure p.rp-desc{font-size:14px;line-height:1.5;margin:0 0 8px;max-width:76ch;text-wrap:pretty}
body .article-body .rp-figure p.rp-readout{font:600 14px/1.4 var(--sans);font-variant-numeric:tabular-nums;min-height:1.4em;margin:0;flex-basis:100%}
.rp-line{width:100%;height:auto;display:block;touch-action:pan-y;cursor:crosshair;overflow:visible}
.rp-grid line{stroke:var(--line);stroke-width:1}
.rp-grid text,.rp-axis text{fill:var(--muted);font:11.5px var(--sans)}
.rp-ref line{stroke:var(--muted);stroke-width:1.2;stroke-dasharray:5 4}

.rp-key line{stroke:var(--muted);stroke-width:1.2;stroke-dasharray:5 4}
.rp-key text{fill:var(--muted);font:11.5px var(--sans)}
.rp-key text.rp-key-last{fill:var(--paper);font-weight:600}
/* Without the script the frame holds both sizes and shows one, by the width of the frame itself: the same
   520px line the script uses, so the chart a reader gets does not depend on scripts. The wide chart scales
   down with the frame, so its labels are set larger while the frame is narrow. */
.rp-frame{container-type:inline-size}
.rp-frame:not([data-live]) .rp-narrow{display:none}
@container (max-width:519.98px){.rp-frame:not([data-live]) svg:not(.rp-narrow){display:none}.rp-frame:not([data-live]) .rp-narrow{display:block}}
@container (max-width:680px){.rp-line:not(.rp-narrow) .rp-grid text,.rp-line:not(.rp-narrow) .rp-axis text,.rp-line:not(.rp-narrow) .rp-key text{font-size:13.5px}}
/* The narrow chart is drawn 340 wide; in a smaller frame it scales down, so its labels are set larger, in steps, to stay near 11px. */
@container (max-width:339.98px){.rp-narrow .rp-grid text,.rp-narrow .rp-axis text,.rp-narrow .rp-key text{font-size:13.5px}}
@container (max-width:289.98px){.rp-narrow .rp-grid text,.rp-narrow .rp-axis text,.rp-narrow .rp-key text{font-size:15.5px}}
@container (max-width:249.98px){.rp-narrow .rp-grid text,.rp-narrow .rp-axis text,.rp-narrow .rp-key text{font-size:17.5px}}
.rp-path{fill:none;stroke:var(--rp-accent);stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}
.rp-last circle{fill:var(--rp-accent)}
.rp-cursor line{stroke:var(--paper);stroke-width:1;opacity:.55}
.rp-cursor circle{fill:var(--ink);stroke:var(--paper);stroke-width:2}
.rp-narrow .rp-path{stroke-width:2}
.rp-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px 32px;align-items:start}
body .article-body .rp-split h3{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:6px 0 12px}

/* Bars */
.rp-bars{margin:0;padding:0;list-style:none;display:grid;gap:11px}
.rp-bars>li{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;row-gap:5px;align-items:baseline}
.rp-figcap{display:block;margin:0 0 16px}
.rp-figcap b{display:block;font-size:15px;font-weight:600;line-height:1.35;color:var(--paper)}
.rp-figcap span{display:block;font-size:13px;line-height:1.5;color:var(--muted);margin-top:2px}
body .article-body .rp-bars>li{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;row-gap:5px;align-items:baseline;font-size:14px}
.rp-bar-label{font-size:14px;line-height:1.35}
.rp-bar-value{font:600 14px/1.2 var(--sans);font-variant-numeric:tabular-nums;text-align:right}
.rp-bar-svg{grid-column:1/-1;width:100%;height:10px;display:block;border-radius:2px}
.rp-bar-track{fill:var(--rp-track)}
.rp-bar-fill{fill:var(--rp-quiet)}
.rp-accent .rp-bar-fill{fill:var(--rp-fill)}
.rp-bar-mark{stroke:var(--paper);stroke-width:2px;vector-effect:non-scaling-stroke}
.rp-bar-note{grid-column:1/-1;font-size:13px;line-height:1.45;color:var(--muted)}
.rp-pair{max-width:560px;margin:22px 0 0}

/* Tables */
.rp-table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain;border:1px solid var(--line);border-radius:8px;margin:0 0 4px}
.rp-table-tall{max-height:440px}
:is(.rp-table-wrap,.rp-details)+.rp-table-wrap{margin-top:18px}
.rp-table-wrap+.rp-details{margin-top:10px}
.rp-table{border-collapse:collapse;width:100%;min-width:520px;font-size:13px;line-height:1.5}

/* Tabular figures on the number cells only: the same setting widens the hyphen and brackets in running words. */
.rp-table:not(.rp-table-text) td{font-variant-numeric:tabular-nums}
.rp-table-wide{min-width:780px}
.rp-table caption{caption-side:top;text-align:left;padding:12px 14px;font-size:13px;font-weight:600;line-height:1.5}
/* A caption wraps to the box the reader sees, not to the full width of a table that scrolls sideways. */
.rp-table-wrap{container-type:inline-size}
.rp-table caption{box-sizing:border-box;max-width:100cqi}
.rp-table :is(th,td){padding:9px 14px;border-top:1px solid var(--line);text-align:right;white-space:nowrap}
.rp-table :is(th,td):first-child{text-align:left;white-space:normal;min-width:120px}
.rp-table thead th{font-size:12px;font-weight:600;line-height:1.35;color:var(--muted);white-space:normal;vertical-align:bottom;background:var(--surface);position:sticky;top:0}
.rp-table tbody th{font-weight:500}
.rp-table tr.rp-total :is(th,td){font-weight:600;border-top:2px solid var(--line)}
.rp-table-text :is(th,td){text-align:left;white-space:normal;vertical-align:top}
.rp-downloads{display:flex;flex-wrap:wrap;gap:8px 22px;margin:14px 0 0;padding:0;list-style:none}
.rp-downloads a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600}

/* Disclosures: questions and long tables */
.rp-details{border:1px solid var(--line);border-radius:8px;margin:0 0 10px}
.rp-details>summary{cursor:pointer;padding:14px 46px 14px 16px;font-size:15px;font-weight:600;line-height:1.4;list-style:none;position:relative;min-height:48px}
.rp-details>summary::-webkit-details-marker{display:none}
.rp-details>summary::after{content:'+';position:absolute;right:17px;top:13px;font:400 20px/1 var(--sans);color:var(--muted)}
.rp-details[open]>summary::after{content:'\2212'}
body .article-body .rp-details>summary h3{display:inline;font-size:15px;font-weight:600;line-height:1.4;margin:0}
body .article-body .rp-details>p{margin:0 16px 15px;font-size:15px}
.rp-details>.rp-table-wrap{margin:0 14px 14px}

/* Companion reports, method grid, related guides */
.rp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:0}
.rp-card{display:flex;flex-direction:column;gap:9px;height:100%;border:1px solid var(--line);border-radius:10px;padding:20px;text-decoration:none;background:var(--surface)}
.rp-card:hover{border-color:var(--paper)}
.rp-card-kicker{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.rp-card-title{font:400 25px/1.12 var(--display);text-transform:uppercase;letter-spacing:.014em;color:var(--paper);text-wrap:balance}
.rp-card-text{font-size:14px;line-height:1.55;color:var(--muted)}
.rp-card-go{margin-top:auto;padding-top:6px;font-size:13px;font-weight:600;color:var(--paper)}
.rp-method{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:20px 0}
body .article-body .rp-method>li{background:var(--ink);padding:18px 20px}
body .article-body .rp-method h3{font-size:15px;margin-bottom:6px}
body .article-body .rp-method p{font-size:14px;line-height:1.6;margin:0}
.rp-guides{margin:0;border-top:1px solid var(--line)}
body .article-body .rp-guides>li{border-bottom:1px solid var(--line)}
.rp-guides a{display:block;padding:14px 0;text-decoration:none}
.rp-guides a:hover b{text-decoration:underline}
.rp-guides b{display:block;font-size:15px;font-weight:600;color:var(--paper)}
.rp-guides span{display:block;font-size:14px;line-height:1.5;color:var(--muted)}
body .article-body dl.rp-terms{margin:0;display:grid;grid-template-columns:minmax(110px,auto) minmax(0,1fr);gap:10px 20px;font-size:15px;line-height:1.55;max-width:74ch}
.rp-terms dt{font-weight:600}
.rp-terms dd{margin:0;color:var(--paper)}

/* Share and cite */
.rp-share{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:18px;align-items:start;margin:0 0 18px}
.rp-share-one{grid-template-columns:minmax(0,640px)}
.rp-share figure{margin:0}
.rp-share img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:6px}
.rp-share figcaption{font-size:13px;line-height:1.5;color:var(--muted);margin-top:8px}
.rp-share figcaption a{color:var(--paper);font-weight:600}
body .article-body p.rp-cite{border:1px solid var(--line);border-radius:8px;padding:14px 16px;font-size:14px;line-height:1.6;background:var(--surface);max-width:78ch;overflow-wrap:anywhere}

@media(max-width:960px){.rp-hero-grid{grid-template-columns:1fr;align-items:start}.rp-hero-grid .rp-pair{max-width:560px}}
@media(max-width:820px){.rp-split{grid-template-columns:1fr}.rp-share{grid-template-columns:1fr}}
@media(max-width:680px){
  .rp-hero{padding-bottom:30px}
  .rp-trust{grid-template-columns:1fr}.rp-trust li{padding:12px 0}.rp-trust li+li{border-left:0;border-top:1px solid var(--line);padding-left:0}
  .rp-hero-stat{grid-template-columns:1fr;gap:14px}
  .rp-short{padding:18px 18px}body .article-body .rp-short p.rp-lead{font-size:17px}
  .rp-figure{padding:14px 12px 12px}
  .rp-method{grid-template-columns:1fr}
  .rp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .article-body .rp-stats>li:first-child:nth-last-child(odd){grid-column:1/-1}
  body .article-body dl.rp-terms{grid-template-columns:1fr;gap:2px 0}.rp-terms dd{margin-bottom:10px}
}
/* The shell's nav runs wider than a small phone. The crumb under it already links to Resources. */
@media(max-width:480px){body[data-report] .nav-links a[href="/resources"]{display:none}}
@media(max-width:350px){body[data-report] .nav{gap:8px}body[data-report] .nav-links{gap:8px!important}}
@media print{.rp-controls,.rp-jump,.rp-downloads{display:none!important}.rp-details>*{display:block!important}.rp-figure,.rp-short,.rp-card{background:transparent}}
