/* Data pages (data/*.html). Built on site-v5.css tokens; Schibsted Grotesk carries the numbers and headings.
   One loud element per page: the answer under the H1, then the opened/closed chart. Everything else is quiet. */
.dp { --open: #2a6db0; --close: #d0632a; --quiet: #f3f6f9; --display: 'Schibsted Grotesk', var(--sans); padding: 72px 0 96px; }
.dp-src { margin: 0; font-size: 15px; color: var(--muted); }
.dp-src a { color: var(--navy); }
.dp h1 { margin: 20px 0 0; font: 700 30px/1.2 var(--display); letter-spacing: -.015em; color: var(--ink); }
.dp-answer { margin: 14px 0 0; max-width: 13em; font: 800 clamp(44px, 6.4vw, 92px)/.98 var(--display); letter-spacing: -.035em; color: var(--ink); }
.dp-answer .o { color: var(--open); }
.dp-answer .c { color: var(--close); }
.dp-lede { margin: 28px 0 0; max-width: 38em; font-size: 19px; line-height: 1.65; color: var(--text); }

.dp h2 { margin: 0; font: 700 32px/1.12 var(--display); letter-spacing: -.022em; color: var(--ink); max-width: 16em; }
.dp-sec { margin-top: 88px; }
.dp-row { display: grid; grid-template-columns: 340px 1fr; gap: 72px; margin-top: 112px; }
.dp-row h2 { font-size: 26px; }
.dp-row p { margin: 0 0 18px; max-width: 36em; font-size: 17px; line-height: 1.7; }
.dp-row a:not(.dp-btn) { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.dp-plot { position: relative; margin-top: 28px; }
.pulse { display: block; width: 100%; height: auto; }
.pulse .o { fill: var(--open); }
.pulse .c { fill: var(--close); }
.pulse .dim { opacity: .38; }
.pulse .band { fill: var(--quiet); }
.pulse .base { stroke: var(--ink); stroke-width: 1.5; }
.pulse .yr { font: 500 13px var(--sans); fill: var(--muted); }
.pulse .lab { font: 600 14px var(--sans); }
.pulse .lab.o { fill: var(--open); }
.pulse .lab.c { fill: var(--close); }
.pulse .note { font: 700 18px var(--display); fill: var(--ink); }
.pulse .hit { fill: transparent; }
.pulse .hit:hover, .pulse .hit.on { fill: rgba(15, 45, 77, .07); }
.dp-tip { position: absolute; top: 4px; transform: translateX(-50%); pointer-events: none; background: var(--ink); color: #fff;
  border-radius: var(--r); padding: 8px 12px; font: 400 13.5px/1.5 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dp-tip b { display: block; font-weight: 600; }
.dp-tip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.dp-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 14px; font-size: 14px; color: var(--faint); }
.dp-cap a { color: var(--navy); font-weight: 600; }

.dp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; padding-top: 28px; border-top: 2px solid var(--ink); }
.dp-facts p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.dp-facts b { display: block; margin-bottom: 12px; font: 800 52px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }

.dp-table { width: 100%; max-width: 640px; margin: 0 0 22px; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.dp-table th, .dp-table td { padding: 12px 0 12px 16px; border-bottom: 1px solid var(--line); text-align: right; }
.dp-table th:first-child { padding-left: 0; text-align: left; font-weight: 600; color: var(--ink); }
.dp-table thead th { padding-top: 0; font-size: 14px; font-weight: 500; color: var(--faint); }
.dp-table--two { max-width: 420px; }

.dp-surv { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.dp-waffle { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.dp-waffle i { aspect-ratio: 1; border-radius: 2px; background: var(--open); }
.dp-waffle i.gone { background: var(--close); }
.dp-row .dp-big { font: 700 24px/1.25 var(--display); letter-spacing: -.015em; color: var(--ink); }

.dp-hunt { margin-top: 28px; max-width: 40em; padding: 26px 28px; border-radius: var(--r-lg); background: var(--navy); color: #c9d4e0; }
.dp-hunt b { display: block; margin-bottom: 6px; font: 700 21px/1.3 var(--display); color: #fff; }
.dp-row .dp-hunt p { margin: 0; font-size: 16px; color: #c9d4e0; }
.dp-row .dp-hunt a { display: inline-block; margin-top: 14px; color: #fff; font-weight: 600; text-decoration: none; }

.dp-use { padding-top: 40px; border-top: 1px solid var(--line); }
.dp-row.dp-use p { font-size: 16px; }
.dp-btn { display: inline-block; margin-top: 4px; padding: 12px 18px; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.dp-btn:hover { background: var(--navy); }

.dp-faq details { border-bottom: 1px solid var(--line); }
.dp-faq summary { cursor: pointer; padding: 18px 0; font: 600 18px/1.4 var(--sans); color: var(--ink); list-style: none; }
.dp-faq summary::-webkit-details-marker { display: none; }
.dp-faq summary::after { content: "+"; float: right; color: var(--faint); font-weight: 400; }
.dp-faq details[open] summary::after { content: "−"; }
.dp-row .dp-faq p { margin: 0 0 20px; }

.dp a:focus-visible, .dp summary:focus-visible { outline: 2px solid var(--open); outline-offset: 3px; border-radius: 2px; }

@media (max-width: 900px) {
  .dp { padding: 40px 0 64px; }
  .dp h1 { font-size: 24px; }
  .dp-lede { font-size: 17px; }
  .dp-row, .dp-surv { grid-template-columns: 1fr; gap: 24px; }
  .dp-row { margin-top: 72px; }
  .dp-sec { margin-top: 64px; }
  .dp h2 { font-size: 26px; }
  .dp-facts { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .dp-waffle { max-width: 260px; }
  .pulse .yr { font-size: 26px; }
  .pulse .lab { font-size: 28px; }
  .pulse .note { font-size: 30px; }
}

/* Hero: the answer on the left, why on the right. */
.dp-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.dp-hero .dp-answer { font-size: clamp(40px, 4.6vw, 70px); }
.dp-hero .dp-lede { font-size: 18px; }
.dp-crowd { margin: 0; padding: 28px; border-radius: var(--r-lg); background: var(--quiet); }
.dp-crowd figcaption { font: 700 24px/1.2 var(--display); letter-spacing: -.015em; color: var(--ink); }
.dp-crowd .b { color: var(--open); }
.dp-crowd .o { color: var(--close); }
.dp-crowd-pair { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; margin-top: 24px; align-items: end; }
.dp-dots { display: grid; grid-template-columns: repeat(18, 1fr); gap: 4px; }
.dp-dots i { aspect-ratio: 1; border-radius: 50%; background: var(--open); }
.dp-dots i:nth-child(3n) { opacity: .7; } .dp-dots i:nth-child(7n) { opacity: .5; }
.dp-desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-left: 28px; border-left: 2px solid var(--ink); }
.dp-desks i { aspect-ratio: 1.3; border-radius: 4px; background: var(--close); }
.dp-desks i.gap { background: none; border: 2px dashed #e6c3b2; }
.dp-crowd-keys { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; margin-top: 18px; }
.dp-crowd-keys p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.dp-crowd-keys b { display: block; margin-bottom: 4px; font: 700 15px var(--display); color: var(--ink); }
.dp-crowd > a { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--navy); }

/* Why: the REC timeline, one square per month. */
.dp-why-lede { margin: 18px 0 0; max-width: 34em; font: 700 24px/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); }
.dp-strips { display: grid; gap: 12px; margin-top: 40px; }
.dp-strip { display: grid; grid-template-columns: 200px 1fr 190px; gap: 20px; align-items: center; }
.dp-strip b { font: 700 16px var(--display); color: var(--ink); }
.dp-strip em { font-style: normal; font-size: 14px; color: var(--muted); }
.dp-strip .cells { display: grid; grid-template-columns: repeat(48, 1fr); gap: 3px; }
.dp-strip .cells i { height: 42px; border-radius: 2px; }
.dp-strip.yrs .cells span { font-size: 13px; color: var(--faint); white-space: nowrap; }
.dp .cu { background: var(--open); } .dp .pd { background: var(--close); } .dp .pu { background: #2f8a57; } .dp .nx { background: #d5dbe3; }
.dp-strip-key { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.dp-strip-key i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 2px; vertical-align: -1px; }
.dp-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; padding-top: 26px; border-top: 2px solid var(--ink); }
.dp-reasons b { font: 700 20px/1.25 var(--display); color: var(--ink); }
.dp-reasons p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; }
.dp-reasons a { color: var(--navy); font-weight: 500; }
.dp-strip-src { margin: 28px 0 0; font-size: 13.5px; color: var(--faint); }

@media (max-width: 900px) {
  .dp-hero, .dp-reasons { grid-template-columns: 1fr; gap: 28px; }
  .dp-strip { grid-template-columns: 1fr; gap: 6px; }
  .dp-strip .cells i { height: 30px; }
  .dp-strip .cells { gap: 2px; }
  .dp-strip em, .dp-strip.yrs b, .dp-strip.yrs em { display: none; }
  .dp-why-lede { font-size: 20px; }
}

.dp strong { font-weight: 600; color: var(--ink); }
.dp-hunt strong, .dp-hunt em { color: inherit; }

/* Our own research: share of problems raised, one bar per theme. */
.dp-bars { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.dp-bars li { display: grid; grid-template-columns: minmax(0, 17em) 1fr 3em; gap: 14px; align-items: center; font-size: 15px; color: var(--text); }
.dp-bars i { display: block; height: 14px; width: var(--w); border-radius: 0 3px 3px 0; background: var(--open); }
.dp-bars i.c { background: var(--close); }
.dp-bars b { font: 700 16px var(--display); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.dp-row .dp-bars-key { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.dp-bars-key i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 2px; background: var(--close); vertical-align: -1px; }
.dp-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 36px 0 24px; }
.dp-quotes blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--ink); }
.dp-row .dp-quotes p { margin: 0; font: 600 17px/1.4 var(--display); color: var(--ink); }
.dp-quotes cite { display: block; margin-top: 10px; font-style: normal; font-size: 13.5px; color: var(--muted); }
.dp-row .dp-note { max-width: none; font-size: 13.5px; color: var(--faint); }
@media (max-width: 900px) {
  .dp-bars li { grid-template-columns: 1fr 3em; }
  .dp-bars li span { grid-column: 1 / -1; }
  .dp-quotes { grid-template-columns: 1fr; }
}
