.rc-wide .ar-body {
  max-width: none;
}
.rc-wide .ar-sec > p,
.rc-wide .ar-foot {
  max-width: var(--dh-measure);
}
.rc-page .ar-head .ar-notice {
  max-width: var(--dh-measure);
}
.rc-era,
.rc-records {
  margin-bottom: 32px;
}
.rc-events {
  margin: 0;
}
.rc-sources .ar-quiet {
  max-width: var(--dh-measure-s);
}
.rc-cover {
  margin: 0 0 24px;
  max-width: var(--dh-edge);
}
.rc-cover-h {
  margin: 0 0 var(--dh-gap-title);
}
.rc-cover-t {
  margin: 0;
  color: hsl(var(--foreground) / var(--dh-ink-body));
  text-wrap: pretty;
}
.rc-cover-t + .rc-cover-t {
  margin-top: 8px;
}
.rc-cover-t + .rc-cover-h,
.rc-cover-l + .rc-cover-h {
  margin-top: 24px;
}
.rc-cover-l {
  margin-top: 0;
  color: hsl(var(--foreground) / var(--dh-ink-body));
}
.rc-cover-l li + li {
  margin-top: 4px;
}
.rc-cover-m {
  margin: 16px 0 0;
  color: hsl(var(--muted-foreground));
}
.ar .rc-cover-m a {
  color: inherit;
  text-decoration-color: hsl(var(--input));
}
@media (hover: hover) {
  .ar .rc-cover-m a:hover {
    color: hsl(var(--foreground));
    text-decoration-color: currentColor;
  }
}
.rc-counts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 24px 0 0;
  gap: 8px;
  padding-top: 0;
  border-top: 0;
}
@media (min-width: 641px) {
  .rc-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.rc-tally {
  margin: 0;
  line-height: 20px;
  padding: 12px 14px 14px;
  border-radius: var(--dh-r-surface);
  background: hsl(var(--dh-surface));
  font-size: var(--dh-fs-meta);
}
.rc-tally-h {
  margin: 0 0 4px;
  color: hsl(var(--muted-foreground));
  line-height: 16px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.rc-tally dd {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 2px 0;
  color: hsl(var(--foreground) / var(--dh-ink-body));
  align-items: baseline;
}
.rc-tally-n {
  flex: none;
  min-width: 3ch;
  color: hsl(var(--foreground));
  font-weight: 600;
  text-align: right;
}
.rc-eras {
  margin: 0 0 32px;
}
.rc-era-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: var(--dh-edge);
  gap: 0 32px;
  font-size: 14px;
  line-height: 22px;
}
@media (min-width: 641px) {
  .rc-era-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.rc-era-list li {
  margin: 0;
  border-bottom: 1px solid hsl(var(--border));
  padding: 6px 0;
  border-bottom-color: hsl(var(--dh-hair));
}
.rc-era-t {
  color: hsl(var(--foreground));
  font-weight: 500;
}
.rc-era-m {
  display: block;
  color: hsl(var(--muted-foreground));
  line-height: 18px;
  white-space: nowrap;
}
.rc-filter {
  max-width: var(--dh-edge);
  margin: 0 0 32px;
}
.rc-cut {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 12px;
  padding: 10px 14px 14px;
  border-radius: var(--dh-r-surface);
  background: hsl(var(--dh-surface));
}
.rc-f {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}
:root .dh-page .rc-f > input,
:root .dh-page .rc-f > select {
  width: 100%;
  max-width: 100%;
}
.rc-f-q {
  flex: 1 1 14rem;
  max-width: 22rem;
}
.rc-f-w {
  width: 14rem;
}
.rc-f-y {
  width: 5.5rem;
}
.rc-f-act {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: var(--dh-pill);
}
.rc-cut + .rc-count {
  margin: 12px 0 0;
}
.rc-count + .rc-order,
.rc-order + .rc-file {
  margin-top: 4px;
}
.rc-order,
.rc-file {
  margin-bottom: 0;
  max-width: var(--dh-edge);
}
.rc-era-h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
}
.rc-era-y {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 20px;
}
.rc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: var(--dh-edge);
}
.rc-event {
  margin: 0;
  border-bottom: 1px solid hsl(var(--border));
  scroll-margin-top: 16px;
  padding: 12px 0;
  border-bottom-color: hsl(var(--dh-hair));
}
.rc-event > * {
  margin: 0;
}
.rc-event:target {
  box-shadow: calc(-12px * var(--dh-dir, 1)) 0 0 hsl(var(--background)), calc((-12px - var(--dh-bar-w)) * var(--dh-dir, 1)) 0 0 hsl(var(--dh-mark));
}
.rc-event-d {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  color: hsl(var(--foreground));
  line-height: 20px;
  font-size: var(--dh-fs-meta);
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
}
.rc-event-d .ar-kind,
.rc-event-d .ar-marks {
  font-weight: 400;
}
.rc-event-t {
  color: hsl(var(--foreground));
  font-weight: 600;
  text-wrap: balance;
  margin-top: 2px;
  font-size: var(--dh-fs-read);
  line-height: 22px;
  letter-spacing: var(--dh-track-sub);
}
@media (hover: hover) {
  .ar .rc-event-t a:hover {
    text-decoration-line: underline;
    text-decoration-thickness: var(--dh-ring-w);
  }
}
.rc-event-x {
  margin-top: 6px;
  text-wrap: pretty;
}
.rc-event-w {
  margin-top: 8px;
  padding-inline-start: 12px;
  border-inline-start: var(--dh-bar-w) solid hsl(var(--border));
  text-wrap: pretty;
  border-inline-start-color: hsl(var(--border));
}
.rc-event-c {
  margin-top: 8px;
  padding: 0;
  list-style: none;
  line-height: 20px;
}
.rc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px calc(var(--dh-pill-x) * 2 + var(--dh-pill-gap));
  margin-top: 8px;
  padding: 0;
  list-style: none;
}
.rc-tags li {
  margin: 0;
}
.ar .rc-tags a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: var(--dh-pill);
  margin: calc((20px - var(--dh-pill)) / 2) calc(var(--dh-pill-x) * -1);
  padding: 0 var(--dh-pill-x);
  border: 0;
  white-space: nowrap;
  font-size: 12px;
  line-height: 20px;
}
.rc-table-wrap {
  container-type: inline-size;
  margin-top: 16px;
}
.rc-table {
  min-width: 880px;
}
.dh-list.rc-table thead th {
  white-space: normal;
  vertical-align: bottom;
}
.dh-list.rc-table tbody td,
.dh-list.rc-table tbody th {
  vertical-align: top;
  white-space: normal;
  font-size: 14px;
}
.dh-list.rc-table tbody tr.rc-row td,
.dh-list.rc-table tbody tr.rc-row th {
  border-bottom: 0;
  padding-top: 8px;
}
.dh-list.rc-table tbody tr.rc-row th {
  white-space: nowrap;
}
.dh-list.rc-table tbody tr.rc-row {
  scroll-margin-top: 40px;
}
.dh-list.rc-table tbody tr.rc-more td {
  padding-top: 2px;
  color: hsl(var(--foreground) / var(--dh-ink-body));
  padding-bottom: 12px;
}
.dh-list.rc-table tbody td.rc-c-date {
  min-width: 6.5rem;
}
.dh-list.rc-table tbody td.rc-c-date time {
  white-space: nowrap;
}
.dh-list.rc-table tbody .rc-row > td:nth-child(4),
.dh-list.rc-table tbody .rc-row > td:nth-child(5) {
  min-width: 6.5rem;
  text-wrap: balance;
}
.rc-c-price {
  min-width: 11rem;
  max-width: 20rem;
}
.rc-c-out,
.rc-c-conf {
  min-width: 7rem;
}
.rc-price {
  color: hsl(var(--foreground));
  font-weight: 600;
  white-space: nowrap;
}
.rc-none {
  color: hsl(var(--muted-foreground));
}
.rc-sub {
  display: block;
  color: hsl(var(--muted-foreground));
  line-height: 18px;
  white-space: normal;
}
.rc-not {
  color: hsl(var(--foreground));
  font-weight: 600;
}
.rc-sub-i {
  color: hsl(var(--muted-foreground));
}
.ar a.rc-perm {
  margin-inline-start: 4px;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  text-decoration-line: none;
}
@media (hover: hover) {
  .ar a.rc-perm:hover {
    color: hsl(var(--foreground));
  }
}
.rc-parties {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 24px;
  max-width: 60rem;
  margin: 0;
  line-height: 18px;
}
.rc-parties > div {
  display: flex;
  gap: 6px;
  min-width: 0;
}
.rc-parties dt {
  flex: none;
  color: hsl(var(--muted-foreground));
}
.rc-parties dd {
  margin: 0;
  color: hsl(var(--foreground));
  overflow-wrap: anywhere;
}
.rc-note,
.rc-case {
  max-width: 60rem;
  margin: 4px 0 0;
  line-height: 20px;
  text-wrap: pretty;
}
.rc-more .rc-parties,
.rc-more .rc-note,
.rc-more .rc-case {
  position: sticky;
  inset-inline-start: 12px;
  max-width: min(60rem, calc(100vw - 64px));
  max-width: min(60rem, calc(100cqw - 24px));
}
.dh-list.rc-table .rc-case a {
  white-space: normal;
}
@media (max-width: 640px) {
  .rc-cut {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }
  .rc-f {
    grid-column: 1 / -1;
    width: auto;
    max-width: none;
  }
  .rc-f-y {
    grid-column: auto;
    width: auto;
  }
  .rc-more .rc-parties,
  .rc-more .rc-note,
  .rc-more .rc-case {
    inset-inline-start: 10px;
    max-width: calc(100vw - 40px);
    max-width: calc(100cqw - 20px);
  }
  .rc-era-m {
    white-space: normal;
  }
  .rc-tally {
    padding: 12px 14px;
  }
}
@media (max-width: 640px), (pointer: coarse) {
  .ar a.rc-clear,
  .ar .rc-event-c a {
    display: inline-flex;
    align-items: center;
    min-height: var(--dh-tap);
  }
  .rc-tally dd {
    padding-top: calc((var(--dh-tap) - 20px) / 2);
    padding-bottom: calc((var(--dh-tap) - 20px) / 2);
  }
  .ar .rc-tally a {
    position: relative;
  }
  .ar .rc-tally a::after {
    content: "";
    position: absolute;
    inset: calc((20px - var(--dh-tap)) / 2) 0;
  }
  .ar .rc-case a {
    position: relative;
  }
  .ar .rc-case a::after {
    content: "";
    position: absolute;
    inset: calc((20px - var(--dh-tap)) / 2) 0;
  }
  .rc-era-list li {
    position: relative;
  }
  .ar .rc-era-list a::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  .ar .rc-tags a {
    position: relative;
  }
  .ar .rc-tags a::after {
    content: "";
    position: absolute;
    inset: calc((var(--dh-pill) - var(--dh-tap)) / 2) 0;
  }
  .ar .rc-event-t {
    position: relative;
  }
  .ar .rc-event-t a::after {
    content: "";
    position: absolute;
    inset: calc(22px + 4px - var(--dh-tap)) 0 -4px;
  }
  .ar a.rc-perm {
    position: relative;
    padding: 0 4px;
  }
  .ar a.rc-perm::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--dh-tap);
    height: var(--dh-tap);
    transform: translate(-50%, -50%);
  }
}
@media (forced-colors: active) {
  .rc-event:target {
    outline: 1px solid CanvasText;
    outline-offset: 2px;
  }
}
@media print {
  .rc-filter,
  .rc-cut,
  .rc-eras,
  .rc-file,
  .rc-order,
  .rc-perm {
    display: none;
  }
  .rc-event,
  .rc-rec {
    break-inside: avoid;
  }
  .rc-event:target {
    box-shadow: none;
  }
  .rc-table {
    min-width: 0;
  }
}
.ar .rc-event-t a:focus-visible,
.ar .rc-era-list a:focus-visible {
  text-decoration-color: currentColor;
}
@media (hover: hover) {
  .ar .rc-event-t a:hover,
  .ar .rc-era-list a:hover {
    color: hsl(var(--foreground));
    text-decoration-color: currentColor;
  }
}
.rc-f {
  gap: 6px;
}
@media (max-width: 640px) {
  .rc-f-act {
    min-height: var(--dh-tap);
  }
}
.rc-cover-t,
.rc-cover-l {
  font-size: var(--dh-fs-ui);
  line-height: 22px;
}
.rc-list,
.rc-era-list {
  border-top: 0;
}
.ar-head + .ar-body > .rc-cover:first-child {
  margin-top: 16px;
}
.rc-era-m,
.rc-sub,
.rc-parties {
  font-size: 13px;
}
.rc-era-m {
  font-size: 12px;
}
.rc-event-x,
.rc-event-w {
  font-size: 14px;
  line-height: 22px;
}
.rc-event-c,
.rc-note,
.rc-case {
  font-size: var(--dh-fs-meta);
}
@media (min-width: 641px) {
  .rc-cut .rc-f {
    flex: 1 1 9rem;
  }
  .rc-cut .rc-f-q {
    flex: 3 1 18rem;
    max-width: none;
  }
  .rc-cut .rc-f-w {
    flex: 2 1 12rem;
    width: auto;
  }
  .rc-cut .rc-f-y {
    flex: 0 0 5.5rem;
  }
  .rc-cut .rc-f-y + .rc-f:not(.rc-f-y):not(.rc-f-act) {
    max-width: 17.5rem;
  }
  .rc-cut .rc-f-act {
    flex: 0 0 auto;
    margin-inline-start: auto;
  }
}
@media (prefers-contrast: more) {
  .rc-cut,
  .rc-tally {
    box-shadow: inset 0 0 0 var(--dh-ring-w) hsl(var(--input));
  }
}
@media (forced-colors: active) {
  .rc-cut,
  .rc-tally,
  .ar .rc-tags a {
    border: 1px solid CanvasText;
  }
}
@media print {
  .rc-cut,
  .rc-tally {
    padding-inline-end: 0;
    padding-inline-start: 0;
    background: none;
  }
}
@media (forced-colors: active) {
  .rc-counts > .rc-tally {
    border: 1px solid CanvasText;
  }
}
