/* 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(--slate); }

.brief__standfirst {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.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-faint);
}
.brief__dateline b {
  font-weight: 600;
  color: var(--ink-soft);
}

.brief section { padding: 40px 0 0; }

.brief h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

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

.brief p {
  max-width: 68ch;
  margin: 0 0 16px;
}

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

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

.finding {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.finding__head {
  padding: 18px 20px 14px;
}

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

.finding__claim {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.005em;
}

.finding__body {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--ink-soft);
}
.finding__body p { margin: 0; max-width: 68ch; }

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

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

.ledger caption {
  padding: 0 20px 8px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

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

.ledger__item {
  width: 1%;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
}

.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(--red); }
.verdict--absent { background: var(--green-soft); color: var(--green); }

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

.method {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--slate);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.method ol {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-soft);
}
.method li { margin: 0 0 10px; max-width: 66ch; }
.method li:last-child { margin-bottom: 0; }

.brief code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  background: var(--slate-soft);
  padding: 1px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

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

.caveat {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: var(--amber-soft);
  border-radius: var(--radius);
  font-size: 15px;
  max-width: none;
}
.caveat:last-child { margin-bottom: 0; }
.caveat b { color: var(--amber); }

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

.brief__foot {
  margin: 44px 0 0;
  padding: 22px 0 60px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-faint);
}
.brief__foot p { max-width: 68ch; margin: 0 0 12px; }

.brief__back {
  display: inline-block;
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

@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; }
  .ledger caption { padding-left: 16px; padding-right: 16px; }
}
