:root {
  color-scheme: dark;
  --ground: #0b1016;
  --plane: #171e26;
  --ink: #f0f5f8;
  --quiet: #afbecb;
  --line: #334250;
  --accent: #ffdc44;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Outfit", "Avenir Next", Avenir, system-ui, sans-serif;
  --margin: clamp(18px, 4.5vw, 76px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.5 var(--body); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #131719; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 8px; left: 8px; padding: 9px 18px; background: var(--ground); z-index: 5; }
.masthead, .footer, main { width: min(100% - 2 * var(--margin), 1120px); margin-inline: auto; }
.masthead, .footer { display: flex; align-items: center; gap: 22px; }
.masthead { min-height: 75px; border-bottom: 1px solid var(--line); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer { font-size: 14px; color: var(--quiet); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4, .entry-link, summary { font-family: var(--display); }
.hero { display: grid; grid-template-columns: 1fr minmax(290px, .88fr); align-items: center;
  gap: clamp(30px, 7vw, 105px); margin-block: clamp(48px, 6vw, 88px) clamp(48px, 5vw, 76px); }
.identity { display: flex; align-items: center; gap: 12px; color: #d3dce5; font-weight: 550; }
.identity img { display: block; object-fit: cover; border-radius: 50%; }
.hero h1 { font-size: clamp(65px, 8vw, 114px); line-height: .98; letter-spacing: -.065em; margin-top: 17px; }
.featured { padding: clamp(22px, 3vw, 35px); background: var(--plane); border-left: 2px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - 24px) 0,100% 24px,100% 100%,0 100%); }
.featured h2 { font-size: clamp(23px,2.4vw,32px); line-height: 1.1; letter-spacing: -.04em; }
.featured p { margin: 11px 0 22px; max-width: 40ch; color: var(--quiet); line-height: 1.5; }
.byline { font-size: 14px; color: var(--quiet); }
.listbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; }
.listbar h2 { font-size: clamp(23px, 2.4vw, 32px); letter-spacing: -.04em; line-height: 1.15; }
.search { position: relative; display: flex; align-items: center; padding-inline: 14px 10px; border: 1px solid var(--line); border-radius: 3px; }
.search:before { content: ""; width: 11px; height: 11px; border: 1.6px solid var(--quiet); border-radius: 50%; margin-right: 11px; }
.search:after { content: ""; width: 6px; height: 1.6px; background: var(--quiet); transform: rotate(45deg); position: absolute; left: 24px; top: calc(50% + 6px); }
.search input { width: 153px; min-height: 42px; padding: 8px 0; border: 0; background: transparent; font-size: 16px; }
.search input::placeholder { color: var(--quiet); }
#entries { border-top: 1px solid #6b7782; }
.role-group { border-bottom: 1px solid var(--line); }
.role-group summary { display: flex; align-items: center; gap: 18px; min-height: 66px; padding-block: 12px; cursor: pointer;
  font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; font-weight: 600; letter-spacing: -.032em; list-style: none; }
.role-group summary::-webkit-details-marker { display: none; }
.role-group summary:hover, .role-group[open] summary { color: var(--accent); }
.group-meta { margin-left: auto; color: var(--quiet); font: 13px/1 var(--body); font-variant-numeric: tabular-nums; }
.toggle-mark { flex: none; width: 10px; height: 10px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translate(-3px,-2px) rotate(45deg); }
.role-group[open] .toggle-mark { transform: translate(-3px,2px) rotate(225deg); }
.entry-list { list-style: none; margin: 0 0 12px; padding: 0 0 0 clamp(12px, 2vw, 24px); border-left: 1px solid var(--line); }
.entry { display: flex; align-items: stretch; gap: 12px; }
.entry + .entry { border-top: 1px solid #232c35; }
.entry-link { flex: 1; display: flex; align-items: center; min-height: 48px; padding-block: 9px; font-size: 16px; }
.row-pdf,.pdf-link { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; }
.row-pdf { color: var(--quiet); padding-inline: 10px 2px; font-size: 14px; flex: none; }
.pdf-link { font-weight: 600; font-size: 15px; }
#no-results { padding-block: 30px; }
#clear-search, .text-link { color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: .22em; background: none; border: 0; }
.footer { flex-wrap: wrap; padding-block: 18px 35px; margin-top: 60px; border-top: 1px solid var(--line); }
.footer > span { margin-right: auto; }
.detail { max-width: 960px; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--quiet); margin-top: 20px; }
.detail-head { padding-block: 24px 30px; }
.detail-head h1 { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.045em; margin-block: 10px 24px; max-width: 22ch; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.button { padding: 10px 15px; background: transparent; color: var(--ink); border: 1px solid #617585; border-radius: 0 12px 0 0; line-height: 22px; font-weight: 600; }
.primary { display: inline-flex; align-items: center; gap: .65em; background: var(--accent); color: #171810; border-color: var(--accent); }
.primary:hover { color: #171810; background: #ffeb90; }
.actions .text-link { font-size: 14px; padding: 12px 2px; }
.document { color: #17252e; background: #f6f9fc; padding: clamp(26px, 6vw, 78px); border-top: 3px solid var(--accent); line-height: 1.57; overflow-wrap: anywhere; }
.document a { color: #1a4a60; text-decoration: underline; text-decoration-color: #85a1ae; text-underline-offset: 2px; }
.document h2 { font: 650 clamp(32px,4vw,48px)/1.1 var(--display); letter-spacing: -.045em; margin-bottom: 12px; }
.document h3 { margin: 30px 0 12px; border-top: 1px solid #bbc7cf; padding-top: 12px; font-size: 19px; letter-spacing: -.02em; }
.document h4 { margin: 16px 0 3px; font-size: 16px; }
.document p { margin: 0 0 7px; }
.document ul { margin: 5px 0 16px; padding-left: 1.4em; }
.document li { margin: 0 0 8px; }
@media (max-width: 700px) {
  .masthead { min-height: 62px; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; gap: 25px; margin-block: 32px 36px; }
  .hero h1 { font-size: clamp(60px, 12vw, 82px); margin-top: 12px; }
  .identity img { width: 34px; height: 34px; }
  .featured { padding: 21px; }
  .featured p { margin-block: 8px 16px; max-width: 100%; }
  .role-group summary { min-height: 59px; }
  .listbar { gap: 10px; }
  .search input { width: min(31vw, 150px); }
  .footer { margin-top: 38px; gap: 12px; }
}
@media (max-width: 360px) {
  .masthead { column-gap: 8px; }
  .listbar { flex-wrap: wrap; }
}
@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; font: 10pt/1.36 Arial,sans-serif; }
  .masthead,.footer,.skip,.detail-head,.back { display:none!important; }
  .detail, .document { width: auto; margin: 0; max-width: none; }
  .document { background: white; color: black; border: 0; padding: 0; line-height: 1.36; }
  .document h3, .document h4 { break-after: avoid; }
  .document h3 { margin-top: 14px; }
  .document li { margin-bottom: 4px; }
  .document a { color: black; }
  @page { size: auto; margin: 14mm; }
}

/* Light theme (site default). */
@media screen {
  :root:not([data-theme="dark"]) { color-scheme: light; --ground: #f6f8fb; --plane: #ffffff; --ink: #121820; --quiet: #566473; --line: #cfd6df; }
  :root:not([data-theme="dark"]) a:hover { color: #000; text-decoration: underline; text-underline-offset: .22em; }
  :root:not([data-theme="dark"]) a:focus-visible, :root:not([data-theme="dark"]) button:focus-visible, :root:not([data-theme="dark"]) input:focus-visible, :root:not([data-theme="dark"]) summary:focus-visible { outline-color: #121820; }
  :root:not([data-theme="dark"]) .identity { color: #36424f; }
  :root:not([data-theme="dark"]) #entries { border-top-color: #8894a3; }
  :root:not([data-theme="dark"]) .entry + .entry { border-top-color: #dde3ea; }
  :root:not([data-theme="dark"]) .role-group summary:hover, :root:not([data-theme="dark"]) .role-group[open] summary { color: #000; }
  :root:not([data-theme="dark"]) #clear-search, :root:not([data-theme="dark"]) .text-link { color: #121820; }
  :root:not([data-theme="dark"]) .button { border-color: #8894a3; }
  :root:not([data-theme="dark"]) .primary, :root:not([data-theme="dark"]) .primary:hover { color: #171810; text-decoration: none; }
  :root:not([data-theme="dark"]) .document { background: #fff; box-shadow: 0 0 0 1px #d3dae2; }
}
