.pr-screen {
  color: var(--ink, #19252d);
  display: grid;
  gap: 25px;
  min-width: 0;
}
.pr-header h1 {
  font-size: clamp(28px, 3vw, 41px);
  letter-spacing: -0.045em;
  margin: 0;
  line-height: 1.13;
}
.pr-header p,
.pr-current p,
.pr-source-hero p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted, #606c74);
  line-height: 1.5;
}
.pr-current,
.pr-source-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line, #dedfd9);
  padding: 25px;
  background: var(--paper, #fff);
  border-radius: 10px;
}
.pr-current {
  border-left: 3px solid var(--blue, #254cc7);
  gap: 16px;
}
.pr-current h2,
.pr-source-hero h2 {
  margin: 6px 0 0;
  font-size: clamp(18px, 2vw, 25px);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1.18;
}
.pr-current p,
.pr-source-hero p {
  font-size: 13px;
}
.pr-overline {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 10px;
  font-weight: 650;
  color: var(--blue, #254cc7);
}
.pr-current .btn,
.pr-source-hero .btn {
  margin-left: auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.pr-source-symbol {
  width: 57px;
  height: 65px;
  display: grid;
  place-items: center;
  border: 1px solid #cad5f0;
  color: var(--blue, #254cc7);
  background: #eff3fc;
  border-radius: 5px;
  flex: none;
}
.pr-source-hero p span {
  padding: 0 3px;
}
.pr-source-hero .pr-issue-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #80601f;
  font-size: 12px;
}
.pr-issue-state i {
  display: inline-block;
  height: 6px;
  width: 6px;
  background: #bb8634;
  border-radius: 50%;
}
.pr-index {
  min-width: 0;
}
.pr-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}
.pr-section-title h2 {
  font-size: 19px;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
}
.pr-section-title > span {
  color: var(--muted, #606c74);
  font-size: 12px;
  white-space: nowrap;
}
.pr-tools {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.pr-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--paper, #fff);
  color: var(--muted, #606c74);
  border: 1px solid var(--line, #dedfd9);
  border-radius: 6px;
  padding: 0 12px;
  height: 40px;
  min-width: 0;
  max-width: 420px;
  width: 100%;
}
.pr-search input,
.pr-select select {
  font: inherit;
  font-size: 13px;
  color: var(--ink, #19252d);
}
.pr-search input {
  width: 100%;
  height: 100%;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  outline: none;
}
.pr-search input::placeholder {
  color: var(--muted, #606c74);
}
.pr-search:focus-within,
.pr-select:focus-within {
  outline: 2px solid var(--blue, #254cc7);
  outline-offset: 2px;
}
.pr-select select {
  height: 40px;
  border: 1px solid var(--line, #dedfd9);
  padding: 0 25px 0 12px;
  border-radius: 6px;
  background: var(--paper, #fff);
}
.pr-stage-list,
.pr-catalog {
  border: 1px solid var(--line, #dedfd9);
  background: var(--paper, #fff);
  border-radius: 8px;
  overflow: hidden;
}
.pr-stage + .pr-stage,
.pr-sheet + .pr-sheet,
.pr-reference + .pr-reference {
  border-top: 1px solid var(--line, #dedfd9);
}
.pr-stage > summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 38px 1fr auto 16px;
  gap: 14px;
  align-items: center;
  min-height: 60px;
  padding: 13px 20px;
}
.pr-stage > summary::-webkit-details-marker {
  display: none;
}
.pr-stage > summary:focus-visible,
.pr-work:focus-visible,
.pr-reference:focus-visible {
  outline: 2px solid var(--blue, #254cc7);
  outline-offset: -3px;
}
.pr-stage > summary:hover,
.pr-sheet:hover,
.pr-reference:hover,
.pr-work:hover {
  background: color-mix(in srgb, var(--blue, #254cc7) 4%, var(--paper, #fff));
}
.pr-stage-num,
.pr-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.035em;
  color: var(--muted, #606c74);
  font-weight: 500;
}
.pr-stage-num {
  color: var(--blue, #254cc7);
  border: 1px solid var(--line, #dedfd9);
  border-radius: 4px;
  width: 31px;
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.pr-stage-title {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 560;
}
.pr-stage-title small {
  display: inline-block;
  margin-left: 10px;
  color: var(--blue, #254cc7);
  font-weight: 550;
  font-size: 10px;
}
.pr-stage.active .pr-stage-num {
  background: var(--blue, #254cc7);
  border-color: var(--blue, #254cc7);
  color: #fff;
}
.pr-stage-count {
  font-size: 12px;
  color: var(--muted, #606c74);
}
.pr-disclosure {
  width: 8px;
  height: 8px;
  border-bottom: 1.3px solid var(--muted, #606c74);
  border-right: 1.3px solid var(--muted, #606c74);
  transform: rotate(45deg) translateY(-2px);
}
.pr-stage[open] > summary .pr-disclosure {
  transform: rotate(225deg) translateY(-1px);
}
.pr-stage[open] > summary {
  background: color-mix(in srgb, var(--blue, #254cc7) 4%, var(--paper, #fff));
}
.pr-stage-body {
  padding: 14px 22px 15px 73px;
}
.pr-scope {
  margin: 0 0 4px;
  line-height: 1.6;
  font-size: 13px;
}
.pr-stage-meta,
.pr-close {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted, #606c74);
}
.pr-stage-meta span {
  margin-right: 5px;
}
.pr-close {
  margin: 13px 0 0;
}
.pr-works {
  margin-top: 12px;
  border-top: 1px solid var(--line, #dedfd9);
}
.pr-work,
.pr-reference {
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  display: grid;
  align-items: center;
  padding: 13px 4px;
  gap: 12px;
  cursor: pointer;
}
.pr-work {
  grid-template-columns: 42px 1fr auto 18px;
  border-bottom: 1px solid var(--line, #dedfd9);
}
.pr-work strong,
.pr-reference strong,
.pr-sheet strong {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}
.pr-work > span:last-child,
.pr-reference > span:last-child {
  color: var(--blue, #254cc7);
  text-align: right;
}
.pr-status {
  width: fit-content;
  font-size: 10px;
  line-height: 1.4;
  padding: 4px 7px;
  border: 1px solid var(--line, #dedfd9);
  color: var(--muted, #606c74);
  background: var(--paper, #fff);
  border-radius: 5px;
}
.pr-status.current {
  background: #edf2ff;
  color: #294e9e;
  border-color: #dbe4f9;
}
.pr-empty {
  padding: 30px 20px;
  text-align: center;
}
.pr-empty strong {
  font-size: 14px;
}
.pr-empty p {
  font-size: 13px;
  margin: 6px 0 0;
  color: var(--muted, #606c74);
}
.pr-tabs {
  display: flex;
  overflow: auto;
  gap: 8px;
  padding: 2px 1px 8px;
  margin-bottom: -10px;
}
.pr-tabs button {
  border: 1px solid var(--line, #dedfd9);
  border-radius: 5px;
  white-space: nowrap;
  padding: 9px 11px;
  color: var(--muted, #606c74);
  background: var(--paper, #fff);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
}
.pr-tabs button[aria-pressed="true"] {
  border-color: var(--ink, #19252d);
  background: var(--ink, #19252d);
  color: #fff;
}
.pr-tabs button:hover:not([aria-pressed="true"]) {
  color: var(--blue, #254cc7);
}
.pr-reference {
  grid-template-columns: 65px 1fr 24px;
  padding: 13px 20px;
}
.pr-reference small {
  display: block;
  margin-top: 3px;
  color: var(--muted, #606c74);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}
.pr-sheet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 20px;
  min-height: 58px;
}
.pr-sheet > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pr-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.pr-page-links .pr-pdf {
  padding: 4px 6px;
  font-size: 11px;
  border-radius: 3px;
  background: #eff3fb;
  color: #25489b;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pr-page-links .pr-pdf:hover {
  background: #dbe5f9;
}
.pr-detail-top,
.pr-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pr-detail .pr-attributes {
  margin: 12px 0 18px;
}
.pr-attributes > div {
  display: grid;
  grid-template-columns: minmax(95px, 28%) minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line, #dedfd9);
  font-size: 13px;
  line-height: 1.55;
}
.pr-attributes dt {
  color: var(--muted, #606c74);
  font-size: 12px;
}
.pr-attributes dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.pr-attributes .pr-page-links {
  margin-top: 6px;
}
.pr-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.pr-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  .pr-screen {
    gap: 19px;
  }
  .pr-current,
  .pr-source-hero {
    padding: 17px;
    flex-wrap: wrap;
  }
  .pr-source-hero .btn,
  .pr-current .btn {
    margin-left: 0;
  }
  .pr-stage > summary {
    padding: 12px;
    gap: 8px;
    grid-template-columns: 31px 1fr auto 12px;
  }
  .pr-stage-title small {
    display: block;
    margin: 3px 0 0;
  }
  .pr-stage-body {
    padding: 13px 12px 15px;
  }
  .pr-stage-count {
    font-size: 11px;
  }
  .pr-source-symbol {
    display: none;
  }
  .pr-reference,
  .pr-sheet {
    padding: 12px;
  }
  .pr-reference {
    grid-template-columns: 42px 1fr 12px;
  }
  .pr-tools {
    flex-wrap: wrap;
  }
  .pr-select,
  .pr-select select {
    max-width: 100%;
  }
  .pr-sheet {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .pr-work {
    grid-template-columns: 36px 1fr 12px;
    gap: 7px;
  }
  .pr-work .pr-status {
    grid-row: 2;
    grid-column: 2;
  }
  .pr-work > span:last-child {
    grid-column: 3;
    grid-row: 1;
  }
  .pr-section-title {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
}
@media (max-width: 480px) {
  .pr-stage > summary {
    grid-template-columns: 27px 1fr 10px;
  }
  .pr-stage-num {
    width: 25px;
    height: 23px;
    font-size: 11px;
  }
  .pr-stage-count {
    display: none;
  }
  .pr-attributes > div {
    display: block;
  }
  .pr-attributes dt {
    margin-bottom: 4px;
  }
}

.pr-history-link {
  display: block;
  text-align: left;
  border: 0;
  padding: 4px 0;
  color: var(--blue, #254cc7);
  background: transparent;
  font: inherit;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.pr-history-link:hover {
  text-decoration: underline;
}
.pr-related-title {
  font-size: 14px;
  margin: 14px 0 5px;
}
