@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-latin.woff") format("woff");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --pd-paper: #f7f8f6;
  --pd-ink: #192331;
  --pd-blue: #254ac5;
  --pd-tint: #edf1ff;
  --pd-line: #d7dce1;
  --pd-muted: #536171;
  --pd-width: 1180px;
  --pd-gutter: clamp(20px, 5vw, 64px);
  --pd-sans: "DM Sans", Arial, sans-serif;
  --pd-serif: "Instrument Serif", Georgia, serif;
}
header.pd-header {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--pd-line);
  background: var(--pd-paper);
  color: var(--pd-ink);
  font: 500 1rem/1.4 var(--pd-sans);
  -webkit-font-smoothing: antialiased;
}
.pd-header .pd-bar {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--pd-width), calc(100% - 2 * var(--pd-gutter)));
  gap: 20px;
  min-height: 76px;
  margin-inline: auto;
}
.pd-header .pd-wordmark,
.pd-header .pd-nav a,
.pd-header .pd-nav summary {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pd-ink);
  box-shadow: none;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}
.pd-header .pd-wordmark {
  padding: 0;
  font: 760 1.75rem/1 var(--pd-sans);
  letter-spacing: -.075em;
}
.pd-header .pd-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  flex: 0 1 auto;
  gap: clamp(16px, 2.2vw, 32px);
  margin: 0;
  padding: 0;
}
.pd-header .pd-nav a,
.pd-header .pd-nav summary {
  padding: 0;
  font: 550 1rem/1.4 var(--pd-sans);
  letter-spacing: -.025em;
}
.pd-header .pd-nav [aria-current="page"],
.pd-header .pd-nav a:hover,
.pd-header .pd-nav summary:hover {
  color: var(--pd-blue);
}
.pd-header .pd-nav [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .33em;
  text-decoration-thickness: 2px;
}
.pd-header a:focus-visible,
.pd-header summary:focus-visible {
  outline: 2px solid var(--pd-blue);
  outline-offset: 4px;
}
.pd-header details.pd-menu {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
.pd-header .pd-menu > summary {
  justify-content: flex-end;
  min-width: 44px;
  list-style: none;
  cursor: pointer;
}
.pd-header .pd-menu summary::-webkit-details-marker { display: none; }
.pd-header .pd-menu .pd-mobile-only { display: none; }
.pd-header .pd-menu-list {
  position: absolute;
  z-index: 3;
  top: calc(100% + 5px);
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(250px, calc(100vw - 2 * var(--pd-gutter)));
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--pd-line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 9px 30px rgb(25 35 49 / .09);
}
.pd-header .pd-menu:not([open]) > .pd-menu-list { display: none; }
.pd-header .pd-menu-list a {
  padding: 8px 12px;
  border-radius: 5px;
  white-space: normal;
}
.pd-header .pd-menu-list a:hover,
.pd-header .pd-menu-list a:focus-visible { background: var(--pd-tint); }
.pd-header .pd-section { margin:0; padding:0; border:0; background:transparent; }
.pd-header .pd-section > summary {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  min-height:46px; padding:8px 12px; color:var(--pd-ink);
  list-style:none; cursor:pointer; font-weight:600;
}
.pd-header .pd-section > summary::after {
  content:""; width:7px; height:7px; flex:none; border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin:-4px 3px 0;
}
.pd-header .pd-section[open] > summary::after { transform:rotate(225deg); margin:4px 3px 0; }
.pd-header .pd-section > div { padding:0 0 4px 11px; }
.pd-header .pd-section a { display:flex; }
.pd-header .pd-section > summary:hover { background:var(--pd-tint); }
@media (max-width:640px) {
  .pd-header .pd-bar { position:relative; display:block; min-height:60px; }
  .pd-header .pd-wordmark { position:absolute; top:8px; left:0; z-index:1; font-size:1.5rem; }
  .pd-header .pd-nav { display:block; position:static; }
  .pd-header .pd-nav > .pd-primary-link,
  .pd-header .pd-menu .pd-desktop-only { display:none; }
  .pd-header .pd-menu .pd-mobile-only { display:inline-flex; }
  .pd-header .pd-menu > summary {
    display:flex; width:fit-content; margin-inline-start:auto; min-height:60px; padding-left:16px;
  }
  .pd-header .pd-menu:not([open]) .pd-close-label,
  .pd-header .pd-menu[open] .pd-menu-label { display:none; }
  .pd-header .pd-menu-list {
    position:static; width:100%; max-width:none; max-height:none; padding:0 0 10px;
    border:0; border-top:1px solid var(--pd-line); border-radius:0;
    box-shadow:none; background:transparent;
  }
  .pd-header .pd-menu-list > a,.pd-header .pd-section > summary {
    min-height:46px; padding:8px 2px; border-bottom:1px solid var(--pd-line); border-radius:0;
  }
  .pd-header .pd-section > div { padding:4px 0 4px 12px; border-left:2px solid var(--pd-line); }
  .pd-header .pd-section + .pd-section { border-top:0; }
}
body.pool-page, body.receipts-screen {
  margin: 0;
  background: var(--pd-paper);
  color: var(--pd-ink);
  font: 400 1rem/1.55 var(--pd-sans);
  -webkit-font-smoothing: antialiased;
}
:is(.pool-page, .receipts-screen) > .skip {
  position: absolute;
  top: 8px;
  left: -10000px;
  z-index: 5;
  background: #fff;
  color: var(--pd-ink);
  padding: 8px;
}
:is(.pool-page, .receipts-screen) > .skip:focus { left: 12px; }
footer.pd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  width: min(var(--pd-width), calc(100% - 2 * var(--pd-gutter)));
  margin: 0 auto;
  padding: 14px 0 20px;
  border-top: 1px solid var(--pd-line);
  color: var(--pd-muted);
  font: 500 15px/1.45 var(--pd-sans);
}
footer.pd-footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
footer.pd-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer.pd-footer a:focus-visible { outline: 3px solid var(--pd-blue); outline-offset: 3px; }
