/* Fairness Ledger. One stylesheet, system fonts only, no request to another host.
   The idea: a reference work set as an exhibit. Every figure sits in a sans margin column with its sentence
   beside it in a serif, held by a ledger-green rule. The serif is the filing's voice (and the page titles');
   the sans is the site's own. */

:root {
  --paper: #ffffff;
  --ink: #1a2129;
  --muted: #56606b;
  --rule: #d6dbe1;
  --rule-strong: #1a2129;
  --green: #1d5c4b;
  --green-wash: #edf3f1;
  --oxblood: #8b2f2f;
  --oxblood-wash: #f8eeec;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 40rem;
  --margin-col: 18rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #13171b;
    --ink: #e2e6ea;
    --muted: #a3adb7;
    --rule: #2e363e;
    --rule-strong: #c9d0d7;
    --green: #8fcfb5;
    --green-wash: #18251f;
    --oxblood: #eba59d;
    --oxblood-wash: #2a1d1c;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  overflow-wrap: break-word;
}

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: 70rem; margin: 0 auto; padding: 0 1.5rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 0.5rem 1rem; }
.skip:focus { left: 1rem; z-index: 2; }

/* --- Masthead and colophon ---------------------------------------------------------------------------- */

.masthead { border-bottom: 1px solid var(--rule); }
.masthead-in {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 2rem; padding-top: 1rem; padding-bottom: 0.9rem;
}
.mark {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink);
  text-decoration: none; letter-spacing: 0.005em;
}
.masthead nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; }
.masthead nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; padding: 0.15rem 0; }
.masthead nav a:hover { color: var(--ink); }
.masthead nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); }

main { padding-top: 2.25rem; padding-bottom: 4rem; }

.colophon { border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.875rem; }
.colophon .wrap { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.colophon p { max-width: var(--measure); margin: 0 0 0.6rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 0.9rem; }
.footer-links a { color: var(--muted); }
.dated { color: var(--muted); font-size: 0.9rem; margin-top: 2rem; }
.exhibit-foot { display: none; }

/* --- Page heads ---------------------------------------------------------------------------------------- */

h1, h2, h3, h4 { margin: 0; }
h1 {
  font-family: var(--serif); font-weight: 600; font-size: 2.35rem; line-height: 1.12;
  letter-spacing: -0.01em; max-width: 26ch; text-wrap: balance;
}
.page-head { margin-bottom: 2.25rem; }
.page-head .lede, .home-head .lede { max-width: var(--measure); font-size: 1.125rem; margin: 0.9rem 0 0; }
.trail { margin: 0 0 0.6rem; font-size: 0.9rem; color: var(--muted); }
.trail a { color: var(--muted); }
.rule-note { max-width: var(--measure); color: var(--muted); font-size: 0.93rem; margin: 1rem 0 0; }

.docket {
  display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start;
  gap: 0.75rem 2.5rem; margin: 1.5rem 0 0; padding: 0.9rem 0 0; border-top: 1px solid var(--rule);
}
.docket dt { font-size: 0.8rem; color: var(--muted); }
.docket dd { margin: 0.1rem 0 0; font-size: 0.95rem; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.docket .num { white-space: nowrap; }
.filing-link { font-weight: 600; }

.notice {
  max-width: calc(var(--margin-col) + 2rem + var(--measure)); margin: 0 0 1.5rem; padding: 0.75rem 1rem;
  border-left: 3px solid var(--oxblood); background: var(--oxblood-wash); font-size: 0.97rem;
}
.checks { max-width: var(--measure); color: var(--muted); font-size: 0.93rem; margin: 0 0 1.5rem; }

/* --- Parts of a page ----------------------------------------------------------------------------------- */

.part { margin-top: 2.75rem; }
.part-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem;
  padding-bottom: 0.5rem; border-bottom: 1.5px solid var(--rule-strong);
}
.part-head h2 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.005em; }
.part-side { margin: 0; color: var(--muted); font-size: 0.9rem; }
.part-intro { max-width: var(--measure); color: var(--muted); font-size: 0.95rem; margin: 0.75rem 0 0.5rem; }
.part-note { max-width: var(--measure); color: var(--muted); font-size: 0.88rem; margin: 0.75rem 0 0; }
.empty { color: var(--muted); margin: 1rem 0 0; max-width: var(--measure); }

/* --- The gloss: a figure in the margin column, its sentence beside it --------------------------------- */

.gloss {
  display: grid; grid-template-columns: var(--margin-col) minmax(0, var(--measure));
  column-gap: 2rem; row-gap: 0.5rem; padding: 1rem 0 1.15rem; border-bottom: 1px solid var(--rule);
}
.gloss:target { background: var(--green-wash); box-shadow: -0.75rem 0 0 var(--green-wash), 0.75rem 0 0 var(--green-wash); }
.fig p { margin: 0; }
.fig-label { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.fig-value {
  font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; line-height: 1.35;
  margin-top: 0.15rem !important;
}
.fig-extra { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem !important; }

.ranges { margin: 0.35rem 0 0; }
.ranges > div {
  display: grid; grid-template-columns: minmax(0, 6.25rem) minmax(0, 1fr); gap: 0.75rem;
  padding: 0.12rem 0;
}
.ranges dt { color: var(--muted); font-size: 0.85rem; padding-top: 0.12rem; }
.ranges dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; font-size: 0.98rem; }

.evidence .q {
  margin: 0; padding: 0.05rem 0 0.05rem 1rem; border-left: 2px solid var(--green);
  font-family: var(--serif); font-size: 1.0625rem; line-height: 1.62; overflow-wrap: anywhere;
  hanging-punctuation: first;
}
.evidence.long:has(details:not([open])) .q {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
details.more { margin: 0.35rem 0 0 1rem; }
details.more summary {
  display: inline-block; cursor: pointer; list-style: none; color: var(--green); font-size: 0.85rem;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em;
}
details.more summary::-webkit-details-marker { display: none; }
details.more .when-open, details.more[open] .when-closed { display: none; }
details.more[open] .when-open { display: inline; }

.adviser { margin-top: 2.25rem; }
.adviser-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem;
}
.adviser-head h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.adviser h4 {
  margin: 1.25rem 0 0; padding-bottom: 0.35rem; font-size: 0.95rem; font-weight: 650;
  border-bottom: 1px solid var(--rule); color: var(--ink);
}

.facts {
  display: grid; grid-template-columns: var(--margin-col) minmax(0, var(--measure)); column-gap: 2rem;
  margin: 1.25rem 0 0;
}
.facts > div { display: contents; }
.facts dt { color: var(--muted); font-size: 0.9rem; padding: 0.3rem 0; }
.facts dd { margin: 0; padding: 0.3rem 0; }

/* --- Tables -------------------------------------------------------------------------------------------- */

.table-scroll { position: relative; overflow-x: auto; margin-top: 0.25rem; }   /* holds the hidden labels too */
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums lining-nums; }
th, td { text-align: left; vertical-align: top; padding: 0.55rem 1.25rem 0.55rem 0; }
th:last-child, td:last-child { padding-right: 0; }
thead th {
  font-size: 0.85rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
tbody td, tbody th { border-bottom: 1px solid var(--rule); }
tbody th { font-weight: 500; }
.n { text-align: right; }
.sub { display: block; color: var(--muted); font-size: 0.88rem; }
.sub.out { color: var(--oxblood); }
.none { color: var(--muted); }
.date { white-space: nowrap; color: var(--muted); }
table.deals td.who { min-width: 16rem; }
table.deals td.who a { font-weight: 600; }
table.deals td.role { white-space: nowrap; }
.sub-cell { color: var(--muted); font-size: 0.88rem; }

table.summary.wide { min-width: 40rem; }     /* five columns scroll inside their box on a phone */
table.summary tr.group th {
  padding-top: 1.25rem; font-size: 0.85rem; font-weight: 600; color: var(--muted);
  border-bottom: 1px solid var(--rule);
}
table.summary tr.all th { font-weight: 650; }
table.summary tbody th { white-space: nowrap; }
.cell .figure { display: block; font-weight: 600; white-space: nowrap; }
.cell .count { display: block; color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.cell.blank .count { padding-top: 0.1rem; }
table.examples th[scope="row"] { white-space: normal; font-weight: 500; }

.contents ul { list-style: none; padding: 0; margin: 1.25rem 0 0; columns: 2 18rem; column-gap: 2rem; }
.contents li { padding: 0.15rem 0; break-inside: avoid; }

.pager {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 1rem;
  margin-top: 1.5rem; font-size: 0.95rem;
}
.pager .where { color: var(--muted); }
.pager a[rel="next"] { justify-self: end; }

/* --- Browse and home ----------------------------------------------------------------------------------- */

.index-pair { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0 3rem; }
.years {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); column-gap: 1.25rem;
}
.years a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--rule); text-decoration: none;
}
.years .year { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.years a:hover .year { color: var(--green); text-decoration: underline; }
.count { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums lining-nums; }
.sector-list { list-style: none; padding: 0; margin: 0; }
.sector-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--rule);
}

.home-head { margin-bottom: 1rem; }
.home-head h1 { font-size: 2.9rem; max-width: 21ch; }
.holdings {
  max-width: var(--measure); margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule);
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.5;
}
.holdings strong { font-weight: 600; font-variant-numeric: lining-nums; }
.onward-list { margin: 0; }
.onward-list > div {
  display: grid; grid-template-columns: var(--margin-col) minmax(0, var(--measure)); column-gap: 2rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--rule);
}
.onward-list dt { font-weight: 600; }
.onward-list dd { margin: 0; color: var(--muted); }

/* --- Search -------------------------------------------------------------------------------------------- */

.search { margin: 1.25rem 0 0; max-width: calc(var(--margin-col) + 2rem + var(--measure)); }
.search label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.4rem; }
.search input {
  width: 100%; max-width: 38rem; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--muted); border-radius: 3px; padding: 0.6rem 0.75rem;
}
.search input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.search .status { font-size: 0.88rem; color: var(--muted); margin: 0.6rem 0 0; min-height: 1.3em; }
.search ol { list-style: none; padding: 0; margin: 0.25rem 0 0; }
.search li { padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.search li a { font-weight: 600; }
.search li .sub { display: block; }
.search-fallback { font-weight: 600; }

/* --- The architect's pages (plain tags) ---------------------------------------------------------------- */

.prose { max-width: 46rem; }
.prose h1 { margin-bottom: 1.25rem; }
.prose h2 {
  font-size: 1.25rem; font-weight: 650; margin: 2.5rem 0 0.75rem; padding-bottom: 0.4rem;
  border-bottom: 1.5px solid var(--rule-strong);
}
.prose p, .prose ul { max-width: var(--measure); margin: 0 0 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.prose .lede { font-size: 1.2rem; line-height: 1.5; }
.prose table { margin: 0.5rem 0 1.5rem; font-size: 0.97rem; }
.prose td:first-child { white-space: nowrap; font-weight: 600; }
/* The plans table is wider than a phone: it scrolls inside its own box (display: block keeps the rows as a
   table inside a scrolling box, since the architect's fragment has no wrapper). */
.prose table.plans { display: block; overflow-x: auto; }
.prose table.plans tbody th { font-weight: 500; min-width: 14rem; max-width: 22rem; }
.prose table.plans td { white-space: nowrap; font-weight: 400; }
.prose table.plans thead th { color: var(--ink); }
.waitlist { display: grid; gap: 0.6rem; max-width: 30rem; margin: 1rem 0 0; }
.waitlist input, .waitlist select, .waitlist button { font: inherit; padding: 0.5rem 0.6rem; }
.waitlist button {
  justify-self: start; background: var(--green); color: var(--paper); border: 0; border-radius: 3px;
  padding: 0.55rem 1rem; cursor: pointer;
}

/* --- Phones -------------------------------------------------------------------------------------------- */

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 1rem; }
  main { padding-top: 1.5rem; }
  h1 { font-size: 1.8rem; }
  .home-head h1 { font-size: 2.05rem; }
  .masthead nav { gap: 0.25rem 1rem; }
  .masthead nav a { font-size: 0.9rem; }
  .docket { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.25rem; }
  .gloss, .facts, .onward-list > div { grid-template-columns: minmax(0, 1fr); }
  .facts dt { padding-bottom: 0; }
  .facts dd { padding-top: 0; padding-bottom: 0.5rem; }
  .index-pair { grid-template-columns: minmax(0, 1fr); }
  .evidence .q { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* --- Print: a deal page prints as an exhibit ----------------------------------------------------------- */

@media print {
  :root { --paper: #fff; --ink: #000; --muted: #333; --rule: #bbb; --rule-strong: #000; --green: #000; color-scheme: light; }
  @page { margin: 16mm 14mm; }
  body { font-size: 10.5pt; background: #fff; color: #000; }
  .masthead, .skip, .search, details.more, .pager, .trail, .contents,
  .colophon > .wrap:not(.exhibit-foot) { display: none !important; }
  .colophon { border-top: 0; }
  .exhibit-foot { display: block; border-top: 1px solid #000; padding-top: 6pt; font-size: 9pt; }
  .exhibit-foot p { margin: 0 0 2pt; overflow-wrap: anywhere; }
  main { padding: 0; }
  a { color: #000; text-decoration: none; }
  /* The exhibit keeps its two columns on paper (a printed page is narrower than the phone breakpoint). */
  .gloss, .facts { grid-template-columns: 13rem minmax(0, 1fr); column-gap: 1.25rem; }
  .ranges > div { display: block; padding: 0.1rem 0 0.2rem; }
  .ranges dt { padding-top: 0; }
  .facts dt { padding-bottom: 0.3rem; }
  .facts dd { padding: 0.3rem 0; }
  .docket .filing-link::after {
    content: attr(href); display: block; font-weight: 400; font-size: 8.5pt; overflow-wrap: anywhere;
  }
  .evidence.long .q, .evidence.long:has(details:not([open])) .q {
    display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: none;
  }
  .gloss, .ranges > div { break-inside: avoid; }
  h1, h2, h3, h4, .part-head, .adviser-head { break-after: avoid; }
  .notice { background: none; }
  .table-scroll { overflow: visible; }
}
