/* Styles for the findings brief only. app.css loads first and owns the tokens,
   the masthead and .wrap; this file adds what the brief needs and nothing else.

   No inline styles anywhere - the CSP has style-src 'self' and there is no
   exception for this page. */

.brief-kicker { color: var(--link); }

.brief__standfirst {
  margin: 0;
  max-width: 680px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
}

.brief__dateline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-3);
}
.brief__dateline b {
  font-weight: 600;
  color: var(--ink-2);
}

/* Long-form pages: 18px/1.65 at 680px, DM Serif section heads. */
.brief section { padding: 40px 0 0; scroll-margin-top: 16px; }
.brief > section:first-child { padding-top: 8px; }

.brief h2 {
  margin: 0 0 10px;
  max-width: 760px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
}

.brief__note {
  margin: 0 0 22px;
  max-width: 680px;
  font-size: 15px;
  color: var(--ink-3);
}

.brief p,
.brief > section > ul,
.brief > section > ol {
  max-width: 680px;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.65;
}
.brief li { margin-bottom: 6px; }

/* --- findings ---------------------------------------------------------- */

.findings {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.finding {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-panel);
  overflow: hidden;
}

.finding__head {
  padding: 22px 24px 14px;
}

.finding__kicker {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.finding__claim {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}

.finding__body {
  margin: 0;
  padding: 0 24px 18px;
  font-size: 16px;
  color: var(--ink-2);
}
.finding__body p { margin: 0; max-width: 68ch; font-size: 16px; line-height: 1.6; }

/* --- the ledger -------------------------------------------------------- */

.ledger {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--rule-2);
  font-size: 15px;
}

/* The caption stays in the markup because a data table should have one - a
   screen reader announcing "Personal care, table, 5 rows" is doing something
   useful. It is hidden visually because the finding header directly above it
   already says the same words, and rendered it read as a duplicated label. */
.ledger caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ledger td {
  padding: 10px 24px;
  border-top: 1px solid var(--rule-2);
  vertical-align: middle;
}
.ledger tr:first-child td { border-top: none; }

.ledger__item {
  width: 1%;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.ledger__verdict {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}

.verdict {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.verdict--taxed  { background: var(--red-soft);   color: var(--link); }
.verdict--absent { background: var(--green-soft); color: var(--green); }

/* --- method ------------------------------------------------------------ */

/* No left-border accent stripe: the handoff retired them site-wide. */
.method {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: 22px 24px;
}
.method ol {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-2);
}
.method li { margin: 0 0 10px; max-width: 66ch; font-size: 16px; line-height: 1.6; }
.method li:last-child { margin-bottom: 0; }

.brief code {
  font-family: var(--mono);
  font-size: .85em;
  background: var(--panel);
  padding: 1px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

/* --- a quoted source --------------------------------------------------- */

/* Used where a page leans on the exact wording of an official document rather
   than a paraphrase of it - the reader needs to see that the words are the
   government's and not ours. */
.brief__quote {
  margin: 0 0 16px;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--rule);
  color: var(--ink-2);
}
.brief__quote p {
  margin: 0;
  font-size: 15px;
  max-width: 64ch;
}

/* --- caveats ----------------------------------------------------------- */

.caveat {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: var(--amber-soft);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 760px;
}
.caveat:last-child { margin-bottom: 0; }
.caveat b { color: var(--mixed-fg); }

/* --- footer ------------------------------------------------------------ */

.brief__foot {
  margin: 48px 0 0;
  padding: 24px 0 56px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
}
.brief .brief__foot p { max-width: 72ch; margin: 0 0 12px; font-size: 15px; line-height: 1.6; }

.brief__back {
  display: inline-block;
  margin: 0 14px 10px 0;
  padding: 12px 0;
  line-height: 20px;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 560px) {
  .ledger__item { display: none; }
  .finding__head, .finding__body { padding-left: 16px; padding-right: 16px; }
  .ledger td { padding-left: 16px; padding-right: 16px; }
}

/* A contact address on its own line is a control, not a word in a sentence:
   44px of height on a phone, like every other tap target. */
.brief a[href^="mailto:"] { display: inline-block; padding: 12px 0; }
