:root {
  --pt-119: 119px;
  --pt-99: 99px;
  --pt-57: 57px;
  --pt-40: 40px;
  --pt-28: 28px;
  --pt-19: 19px;
  --pt-16: 16px;
  --pt-13: 13px;
  --ds-container: 1184px;
  --ds-gutter: clamp(20px, 4.45vw, 128px);
  --pt-section: 192px;
  --ds-code: 13px;
  --ds-code-lh: 1.75;
}
@media (max-width: 1279px) {
:root {
    --pt-section: 128px;
  }
}
@media (max-width: 767px) {
:root {
    --pt-119: 57px;
    --pt-99: 57px;
    --pt-57: 40px;
    --pt-40: 28px;
    --pt-section: 96px;
    --ds-gutter: 20px;
  }
}
.pt-404 a .pt-s-url {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-ds-ink-3);
}
.pt-search {
  width: min(640px, calc(100vw - 32px));
  max-height: min(70vh, 640px);
  margin: 12vh auto auto;
  padding: 0;
  border: 1px solid var(--color-ds-rule);
  border-radius: 6px;
  background: var(--color-ds-canvas);
  color: var(--color-ds-ink-1);
  overflow: hidden;
}
.pt-search::backdrop {
  background: rgba(10, 10, 11, 0.5);
}
.pt-s-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 8px 0 20px;
  border-bottom: 1px solid var(--color-ds-rule);
}
.pt-s-head input {
  flex: 1;
  height: 100%;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--pt-19);
  color: var(--color-ds-ink-1);
  outline: none;
}
.pt-s-head input::placeholder {
  color: var(--color-ds-ink-3);
}
.pt-s-close {
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--color-ds-rule);
  border-radius: 4px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-ds-ink-3);
  cursor: pointer;
}
.pt-s-body {
  max-height: calc(min(70vh, 640px) - 57px);
  overflow-y: auto;
  padding: 8px 0 12px;
}
.pt-s-note {
  margin: 8px 20px;
  font-size: 16px;
  color: var(--color-ds-ink-2);
}
.pt-s-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pt-s-list > li > a:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  color: var(--color-ds-ink-1);
  text-decoration: none;
}
.pt-s-title {
  font-weight: 560;
}
.pt-s-url {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-ds-ink-3);
}
.pt-s-sub {
  display: block;
  padding: 6px 20px 6px 36px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-ds-ink-2);
  text-decoration: none;
}
.pt-s-list a:is(:hover, :focus-visible) {
  background: var(--color-ds-band);
  outline: none;
  box-shadow: inset 2px 0 0 var(--color-ds-ink-1);
}
:root {
  --dur-quick: 140ms;
  --dur-base: 200ms;
}
@keyframes pt-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@keyframes pt-fade {
  from {
    opacity: 0;
  }
}
@keyframes pt-pop {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
}
@keyframes pt-arrive {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }
}
@keyframes pt-changed {
  from {
    background-color: rgba(243, 243, 240, 0.2);
  }
  to {
    background-color: rgba(243, 243, 240, 0);
  }
}
.pt-search[open][data-via='pointer'] {
  animation: pt-arrive var(--dur-base) var(--ease-out);
}
.pt-search[open][data-via='pointer']::backdrop {
  animation: pt-fade var(--dur-base) var(--ease-out);
}

/* The search dialog (opened by the site script from any [data-search-open] control, or ⌘K).
   Its own rules from the old sheet are placed before this file at build; this gives them the kit's
   values and the new look. */
.pt-search, .pt-search::backdrop {
  --color-ds-canvas: #0f1011; --color-ds-ink-1: #f7f8f8; --color-ds-ink-2: #d0d6e0; --color-ds-ink-3: #8a8f98;
  --color-ds-rule: rgba(255,255,255,.08); --color-ds-band: rgba(var(--accent-rgb), .07);
  --font-sans: var(--sans); --font-mono: var(--mono); --pt-19: 17px;
}
.pt-search { border: 1px solid #23252a; border-radius: 14px; background: #0f1011; box-shadow: 0 40px 100px -30px rgba(0,0,0,.7); font-family: var(--sans); letter-spacing: -.011em; }
.pt-search::backdrop { background: rgba(8,9,10,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pt-s-head input { font-size: 16px; }
.pt-s-close { border-radius: 6px; font-size: 13px; }
.pt-s-note { font-size: 14px; color: #8a8f98; }
.pt-s-title { font-weight: 510; font-size: 15px; }
.pt-s-list a:is(:hover, :focus-visible) { background: rgba(var(--accent-rgb), .07); box-shadow: inset 2px 0 0 var(--accent); }
.pt-search .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
