:root {
  --reporter-paper: #faf9f5;
  --reporter-sheet: #ffffff;
  --reporter-ink: #171715;
  --reporter-copy: #484743;
  --reporter-muted: #6f6d66;
  --reporter-line: #cfcbc0;
  --reporter-faint: #efede5;
  --reporter-clay: #d97757;
  --reporter-clay-dark: #8a4a35;
  --reporter-serif: ui-serif, Georgia, "Times New Roman", serif;
  --reporter-sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --reporter-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.reporter-shell,
.reporter-shell * {
  box-sizing: border-box;
}

.reporter-shell {
  position: fixed;
  z-index: 2147483000;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(720px, calc(100vw - 24px));
  min-height: 56px;
  padding: 8px;
  border: 1px solid #343431;
  border-radius: 14px;
  background: var(--reporter-ink);
  color: #f8f5ed;
  box-shadow: 0 14px 34px rgba(18, 18, 16, .24);
  font: 600 13px/1.3 var(--reporter-sans);
  -webkit-font-smoothing: antialiased;
}

.reporter-home,
.reporter-project {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.reporter-home {
  gap: 9px;
  padding: 0 8px;
  font-family: var(--reporter-mono);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.reporter-home:hover,
.reporter-home:focus-visible,
.reporter-project:hover,
.reporter-project:focus-visible {
  color: #ffc7b3;
  outline: none;
}

.reporter-signal {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--reporter-clay);
  box-shadow: 0 0 0 4px rgba(217, 119, 87, .18);
}

.reporter-project {
  padding: 0 12px;
  border-left: 1px solid #494945;
  font: 500 13px var(--reporter-serif);
}

.reporter-search {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 180px;
}

.reporter-search > svg {
  position: absolute;
  left: 13px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #5f5d57;
  stroke-linecap: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.reporter-search input {
  width: 100%;
  min-height: 40px;
  padding: 8px 44px 8px 39px;
  border: 1px solid #dedbd2;
  border-radius: 9px;
  outline: none;
  background: #fffefb;
  color: var(--reporter-ink);
  font: 500 14px/1.3 var(--reporter-sans);
}

.reporter-search input::placeholder {
  color: #68665f;
  opacity: 1;
}

.reporter-search input:focus {
  border-color: var(--reporter-clay);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, .24);
}

.reporter-search kbd {
  position: absolute;
  right: 9px;
  display: grid;
  width: 25px;
  height: 24px;
  place-items: center;
  border: 1px solid #d3d0c7;
  border-bottom-color: #aaa69d;
  border-radius: 5px;
  background: #f0eee7;
  color: #55534e;
  font: 600 12px var(--reporter-mono);
  pointer-events: none;
}

.reporter-results {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: min(590px, calc(100vw - 24px));
  max-height: min(70vh, 620px);
  overflow: auto;
  border: 1px solid #cbc7bc;
  border-radius: 14px;
  background: #fffefb;
  color: var(--reporter-ink);
  box-shadow: 0 18px 42px rgba(18, 18, 16, .22);
  transform-origin: top right;
  animation: reporter-open .16s cubic-bezier(.16, 1, .3, 1);
}

.reporter-results a {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 15px 17px;
  border-bottom: 1px solid var(--reporter-faint);
  color: inherit;
  text-decoration: none;
}

.reporter-results a:last-child {
  border-bottom: 0;
}

.reporter-results a:hover,
.reporter-results a:focus-visible {
  background: #f5eee8;
  outline: none;
}

.result-type,
.result-detail {
  color: var(--reporter-muted);
  font: 600 10px/1.3 var(--reporter-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reporter-results strong {
  font: 600 16px/1.25 var(--reporter-serif);
}

.result-detail {
  text-align: right;
}

.reporter-empty {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 22px;
}

.reporter-empty strong {
  font: 600 19px var(--reporter-serif);
}

.reporter-empty span {
  color: var(--reporter-muted);
  font-size: 13px;
}

.reporter-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.catalog-surface {
  margin: 0;
  padding: 48px 24px 96px;
  overflow-x: hidden;
  background: var(--reporter-paper);
  color: var(--reporter-copy);
  font: 16px/1.65 var(--reporter-sans);
  -webkit-font-smoothing: antialiased;
}

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

.catalog-page {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.catalog-mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 54px;
  align-items: end;
  padding: 54px 0 58px;
  border-bottom: 2px solid var(--reporter-ink);
}

.catalog-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--reporter-muted);
  font: 600 11px/1.2 var(--reporter-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.catalog-brand span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--reporter-clay);
}

.catalog-mast h1,
.catalog-project-head h1,
.catalog-missing h1 {
  max-width: 850px;
  margin: 0;
  color: var(--reporter-ink);
  font: 600 clamp(42px, 7vw, 64px)/1 var(--reporter-serif);
  letter-spacing: -.03em;
  text-wrap: balance;
}

.catalog-lead {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 19px;
}

.catalog-count {
  padding: 20px 0 4px;
  border-top: 1px solid var(--reporter-line);
  color: var(--reporter-muted);
  font: 600 11px/1.5 var(--reporter-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-directory {
  margin-top: 58px;
  border-top: 1px solid var(--reporter-ink);
}

.project-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(230px, .48fr);
  gap: 34px;
  padding: 34px 0 42px;
  border-bottom: 1px solid var(--reporter-line);
}

.project-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--reporter-line);
  border-radius: 8px;
  color: var(--reporter-clay-dark);
  font: 700 18px/1 var(--reporter-mono);
}

.project-copy h2,
.report-copy h2 {
  margin: 0;
  font-family: var(--reporter-serif);
  font-weight: 500;
  letter-spacing: -.025em;
}

.project-copy h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
}

.project-copy h2 a {
  color: var(--reporter-ink);
  text-decoration: none;
}

.project-copy h2 a:hover,
.project-copy h2 a:focus-visible {
  color: var(--reporter-clay-dark);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

.project-copy > p {
  max-width: 620px;
  margin: 16px 0 20px;
  font-size: 17px;
}

.project-open,
.catalog-back,
.catalog-missing a {
  color: var(--reporter-ink);
  font-weight: 750;
  text-underline-offset: 5px;
}

.project-index {
  padding-top: 5px;
}

.project-index > p {
  margin: 0 0 13px;
  color: var(--reporter-clay-dark);
  font: 700 10px/1.3 var(--reporter-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-index li {
  padding: 8px 0;
  border-top: 1px solid var(--reporter-line);
  color: #55534e;
  font: 500 14px/1.35 var(--reporter-serif);
}

.catalog-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 76px;
  padding-top: 20px;
  border-top: 1px solid var(--reporter-line);
  color: var(--reporter-muted);
  font: 600 10px/1.5 var(--reporter-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.catalog-project-head {
  padding: 44px 0 52px;
  border-bottom: 2px solid var(--reporter-ink);
}

.catalog-back {
  display: inline-block;
  margin-bottom: 42px;
}

.catalog-project-head [data-project-summary] {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 19px;
}

.catalog-project-head [data-project-count] {
  margin: 27px 0 0;
  color: var(--reporter-clay-dark);
  font: 700 10px/1.3 var(--reporter-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.report-list {
  border-top: 1px solid var(--reporter-ink);
  margin-top: 56px;
}

.report-row {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 38px;
  gap: 28px;
  padding: 28px 0 34px;
  border-bottom: 1px solid var(--reporter-line);
  color: inherit;
  text-decoration: none;
}

.report-row:hover .report-copy h2,
.report-row:focus-visible .report-copy h2 {
  color: var(--reporter-clay-dark);
}

.report-row:focus-visible {
  outline: 3px solid var(--reporter-clay);
  outline-offset: 8px;
}

.report-date {
  color: var(--reporter-muted);
  font: 600 10px/1.45 var(--reporter-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.report-copy h2 {
  color: var(--reporter-ink);
  font-size: clamp(27px, 3.8vw, 39px);
  line-height: 1.08;
}

.report-kind {
  margin: 9px 0 12px !important;
  color: var(--reporter-clay-dark);
  font: 700 10px/1.3 var(--reporter-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.report-copy > p {
  max-width: 760px;
  margin: 0;
}

.report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.report-tags li {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--reporter-faint);
  color: #55534e;
  font: 600 10px/1.3 var(--reporter-mono);
}

.report-arrow {
  color: var(--reporter-clay-dark);
  font-size: 24px;
}

.catalog-missing {
  padding: 15vh 0;
}

.catalog-missing p {
  margin: 20px 0;
}

.catalog-load-error {
  margin: 0;
  padding: 24px 0;
  color: #7a3029;
}

.reporter-project a {
  color: inherit;
  text-decoration: none;
}

.manage-page {
  max-width: 980px;
}

.manage-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 48px;
  align-items: end;
  padding: 34px 0 42px;
  border-bottom: 2px solid var(--reporter-ink);
}

.manage-head h1 {
  margin: 0;
  color: var(--reporter-ink);
  font: 600 clamp(38px, 6vw, 58px)/1 var(--reporter-serif);
  letter-spacing: -.03em;
}

.manage-head p {
  max-width: 650px;
  margin: 17px 0 0;
}

.manage-passcode,
.manage-form label {
  display: grid;
  gap: 7px;
}

.manage-passcode span,
.manage-form label > span {
  color: var(--reporter-muted);
  font: 700 10px/1.3 var(--reporter-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.manage-passcode input,
.manage-form input,
.manage-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid #aaa69c;
  border-radius: 7px;
  background: var(--reporter-sheet);
  color: var(--reporter-ink);
  font: 500 14px/1.4 var(--reporter-sans);
}

.manage-form textarea {
  resize: vertical;
}

.manage-passcode input:focus,
.manage-form input:focus,
.manage-form textarea:focus {
  border-color: var(--reporter-clay-dark);
  outline: 3px solid rgba(217, 119, 87, .24);
  outline-offset: 0;
}

.manage-status {
  position: sticky;
  z-index: 4;
  top: 76px;
  margin: 18px 0 0;
  padding: 11px 13px;
  border: 1px solid var(--reporter-line);
  border-radius: 8px;
  background: #f0eee7;
  color: var(--reporter-copy);
  font-size: 13px;
}

.manage-status[data-state="success"] {
  background: #e5efe8;
  color: #234c32;
}

.manage-status[data-state="error"] {
  background: #f5e3df;
  color: #7a3029;
}

.manage-section {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--reporter-ink);
}

.manage-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.manage-section h2 {
  margin: 0;
  color: var(--reporter-ink);
  font: 600 30px/1.1 var(--reporter-serif);
}

.manage-section-head p {
  margin: 7px 0 0;
}

.manage-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.manage-form .wide {
  grid-column: 1 / -1;
}

.manage-form button,
.manage-section button {
  justify-self: start;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--reporter-ink);
  border-radius: 7px;
  background: var(--reporter-ink);
  color: white;
  font: 700 12px var(--reporter-sans);
  cursor: pointer;
}

.manage-form button:hover,
.manage-form button:focus-visible,
.manage-section button:hover,
.manage-section button:focus-visible {
  background: var(--reporter-clay-dark);
  border-color: var(--reporter-clay-dark);
  outline: 3px solid rgba(217, 119, 87, .24);
  outline-offset: 2px;
}

.manage-section button.secondary,
.manage-section button.danger {
  background: transparent;
  color: var(--reporter-ink);
}

.manage-section button.danger:hover,
.manage-section button.danger:focus-visible {
  border-color: #9d3a31;
  background: #9d3a31;
  color: white;
}

.manage-project {
  border-top: 1px solid var(--reporter-line);
}

.manage-project h3 {
  margin: 0;
  padding: 18px 0 10px;
  color: var(--reporter-clay-dark);
  font: 700 11px var(--reporter-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.manage-report {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--reporter-faint);
}

.manage-report > div:first-child {
  display: grid;
  gap: 4px;
}

.manage-report strong {
  color: var(--reporter-ink);
  font: 600 17px var(--reporter-serif);
}

.manage-report span {
  color: var(--reporter-muted);
  font: 600 10px var(--reporter-mono);
}

.manage-report > div:last-child {
  display: flex;
  gap: 8px;
}

.api-note code,
.manage-section code {
  font-family: var(--reporter-mono);
  font-size: .9em;
}

@keyframes reporter-open {
  from { opacity: 0; clip-path: inset(0 0 100% 0 round 14px); }
  to { opacity: 1; clip-path: inset(0 round 14px); }
}

@media (max-width: 760px) {
  .reporter-shell {
    top: 8px;
    right: 8px;
    width: calc(100vw - 16px);
  }
  .reporter-home span:last-child,
  .reporter-project,
  .reporter-search kbd {
    display: none;
  }
  .reporter-search input {
    padding-right: 12px;
  }
  .reporter-results a {
    grid-template-columns: 66px minmax(0, 1fr);
  }
  .result-detail {
    display: none;
  }
  body.catalog-surface {
    padding-right: 18px;
    padding-left: 18px;
  }
  .catalog-mast {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
  }
  .catalog-count {
    padding-top: 16px;
  }
  .project-row {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 20px;
  }
  .project-mark {
    font-size: 16px;
  }
  .project-index {
    grid-column: 2;
  }
  .report-row {
    grid-template-columns: 1fr 30px;
    gap: 12px;
  }
  .report-date {
    grid-column: 1 / -1;
  }
  .catalog-footer {
    flex-direction: column;
  }
  .manage-head,
  .manage-form {
    grid-template-columns: 1fr;
  }
  .manage-form .wide {
    grid-column: auto;
  }
  .manage-report {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reporter-results { animation: none; }
}

@media print {
  .reporter-shell { display: none !important; }
  html.reporter-shell-active body { padding-top: 0 !important; }
}
