.wb-b-lead {
  max-width: var(--dh-measure);
  color: hsl(var(--foreground) / var(--dh-ink-body));
  font-size: 14px;
  line-height: 22px;
}
.wb-b-fact {
  max-width: var(--dh-measure);
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  line-height: 18px;
}
.wb-b-h3 {
  margin: 24px 0 8px;
  color: hsl(var(--foreground));
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: 0;
}
.wb-b-plain {
  color: hsl(var(--foreground));
}
.wb-b-plain a,
.wb-b-fact a {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-decoration-thickness: var(--dh-ring-w);
  text-underline-offset: 4px;
}
@media (hover: hover) {
  .wb-b-plain a:hover,
  .wb-b-fact a:hover {
    text-decoration-thickness: var(--dh-bar-w);
  }
}
.wb-b-status {
  margin-top: 12px;
}
.wb-b-status > .wb-actions {
  margin-top: 4px;
}
.wb-b-saved {
  max-width: var(--dh-measure);
  margin: 0;
}
.wb-b-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.wb-b-head > .wb-actions {
  margin: 0;
}
.wb-b-title {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: var(--dh-track-title);
}
.wb-b-thename {
  overflow-wrap: anywhere;
}
.wb-b-name {
  max-width: 24rem;
  margin-top: 12px;
}
.wb-empty > .wb-b-name {
  margin-top: 12px;
}
.wb-b-linkbox {
  max-width: var(--dh-measure);
  margin: 12px 0 0;
}
.wb-b-linkbox > .wb-b-fact {
  margin-top: 4px;
}
.wb-b-linkbox > .wb-sitelink > a {
  font-weight: 500;
}
.wb-b-linkbox > .wb-sitelink > .wb-sent {
  display: block;
  margin-top: 2px;
}
.wb-b-dl {
  display: grid;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
  gap: 4px 24px;
  max-width: 48rem;
  margin: 0;
  font-size: 13px;
  line-height: 20px;
}
.wb-b-dl > dt {
  color: hsl(var(--muted-foreground));
}
.wb-b-dl > dd {
  min-width: 0;
  margin: 0;
  color: hsl(var(--foreground));
  overflow-wrap: anywhere;
}
.wb-b-printed {
  font-size: 13px;
  line-height: 20px;
}
.wb-b-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 24px;
  max-width: 48rem;
}
.wb-b-fields > .wb-field,
.wb-b-grid > .wb-field {
  max-width: none;
  margin-top: 0;
}
.wb-b-fields-row {
  align-items: start;
}
@media (min-width: 820px) {
  .wb-b-fields-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}
.wb-b-rates {
  margin-top: 12px;
}
.wb-b-crit {
  display: block;
  color: hsl(var(--foreground));
  font-weight: 600;
}
.wb-b-help {
  display: block;
  margin-top: 2px;
  font-weight: 400;
}
.wb-b-rates .wb-table-t th,
.wb-b-rates .wb-table-t td {
  min-width: 0;
  padding-block: 8px;
  padding-inline: 0 6px;
}
.wb-b-rates .wb-table-t thead th {
  vertical-align: top;
}
.wb-b-rates .wb-table-t th:first-child {
  width: 11rem;
  min-width: 11rem;
  padding-inline-end: 12px;
}
.wb-b-rowname {
  display: block;
  font-weight: 600;
}
.wb-b-facts {
  margin-top: 4px;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}
.wb-b-facts-s {
  cursor: pointer;
}
.wb-b-facts > * + * {
  margin-top: 4px;
}
.wb-b-checks {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.wb-b-check + .wb-b-check {
  margin-top: 2px;
}
.wb-b-check-k {
  color: hsl(var(--foreground));
  font-weight: 500;
}
.wb-b-rate {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.wb-b-rate-row {
  display: flex;
  gap: 2px;
}
:root .wb-b-r > span {
  min-width: 24px;
  height: 24px;
  padding: 2px 0;
  font-family: var(--dh-font-sans);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0;
}
.wb-b-rate-row > .wb-b-r > span::before {
  content: none;
}
:root .wb-b-rate-row > .wb-b-r > input:checked + span {
  font-weight: 600;
}
.wb-b-r-none {
  display: flex;
  margin-top: 2px;
}
:root .wb-b-r-none > span {
  gap: 6px;
  width: 108px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}
.wb-b-rated {
  display: none;
}
.wb-b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 16px 32px;
}
.wb-b-grid select {
  width: 5rem;
}
.wb-b-order-box {
  margin-top: 12px;
}
.wb-b-placed {
  display: block;
  padding: 12px 0;
}
.wb-b-placed-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 14px;
  line-height: 22px;
}
.wb-b-placed-h > .wb-row-main {
  font-weight: 600;
}
.wb-b-place {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: var(--dh-r-cell);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}
.wb-b-placed-h .wb-figure {
  font-size: 16px;
  line-height: 24px;
}
.wb-b-sum {
  margin-top: 6px;
}
.wb-b-sum > * + * {
  margin-top: 4px;
}
.wb-b-terms {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: hsl(var(--foreground) / var(--dh-ink-body));
  font-size: 12px;
  line-height: 18px;
}
.wb-b-term {
  display: contents;
}
.wb-b-term-k {
  color: hsl(var(--muted-foreground));
}
.wb-b-term-v {
  white-space: nowrap;
}
.wb-b-total {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}
.wb-b-order,
.wb-b-apart {
  max-width: 48rem;
}
.wb-b-address {
  overflow-wrap: anywhere;
  white-space: normal;
}
.wb-b-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 20px;
}
.wb-b-ids a,
.wb-b-drop a {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-decoration-thickness: var(--dh-ring-w);
  text-underline-offset: 4px;
}
@media (hover: hover) {
  .wb-b-ids a:hover,
  .wb-b-drop a:hover {
    text-decoration-thickness: var(--dh-bar-w);
  }
}
.wb-b-id {
  min-width: 0;
}
.wb-b-drops {
  max-width: 48rem;
  margin-top: 8px;
}
.wb-b-drop {
  align-items: start;
  padding: 12px 0;
}
.wb-b-drop > .wb-row-main {
  flex: 0 0 8rem;
  font-weight: 500;
}
.wb-b-drop > .wb-field {
  flex: 1 1 16rem;
  max-width: none;
}
.wb-b-suggest > * + * {
  margin-top: 4px;
}
.wb-b-suggest-k {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  line-height: 18px;
}
.wb-b-suggest-t {
  margin: 0;
  color: hsl(var(--foreground));
}
.wb-b-two {
  gap: 24px 48px;
  margin-top: 12px;
}
.wb-b-side > .wb-b-h3 {
  margin-top: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid hsl(var(--border));
}
.wb-b-cases {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wb-b-case {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 13px;
  line-height: 20px;
}
.wb-b-from {
  box-sizing: border-box;
  align-self: start;
  height: 20px;
  padding: 0 4px;
  border: 1px solid transparent;
  border-radius: var(--dh-r-cell);
  color: hsl(var(--foreground));
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  text-align: center;
}
.wb-b-from-you {
  background: hsl(var(--foreground) / var(--dh-layer-chip));
}
.wb-b-from-rule {
  border-color: hsl(var(--input));
}
.wb-b-case-t {
  min-width: 0;
  color: hsl(var(--foreground));
  overflow-wrap: anywhere;
}
.wb-b-case-m {
  grid-column: 2;
  min-width: 0;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  line-height: 18px;
  overflow-wrap: anywhere;
}
.wb-b-counts {
  font-weight: 500;
}
.wb-b-nexts {
  max-width: 48rem;
  margin: 12px 0 0;
  padding-block: 0;
  padding-inline: 24px 0;
  color: hsl(var(--foreground));
  font-size: 14px;
  line-height: 22px;
}
.wb-b-nexts-no {
  padding-inline-start: 0;
  list-style: none;
}
.wb-b-next {
  padding: 12px 0;
  border-bottom: 1px solid hsl(var(--border));
}
.wb-b-next > * + * {
  margin-top: 6px;
}
.wb-b-next-t {
  margin: 0;
  font-weight: 600;
}
.wb-b-next-why {
  margin: 0;
  color: hsl(var(--foreground) / var(--dh-ink-body));
}
.wb-b-next > .wb-actions {
  margin-top: 8px;
}
.wb-b-carry-t {
  max-width: 56rem;
}
.wb-b-scn-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.wb-b-scn {
  padding: 16px 0;
  border-top: 1px solid hsl(var(--border));
}
.wb-b-scn > * + * {
  margin-top: 12px;
}
.wb-b-scn-h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 16px;
}
.wb-b-scn-t {
  margin: 0;
  overflow-wrap: anywhere;
}
.wb-b-edit {
  max-width: var(--dh-measure);
  padding: 12px;
  border-radius: var(--dh-r-control);
  background: hsl(var(--foreground) / var(--dh-layer-chip));
}
.wb-b-memo > * + * {
  margin-top: 24px;
}
.wb-b-memo > .wb-b-name,
.wb-b-memo > .wb-note,
.wb-b-memo > .wb-empty {
  margin-top: 12px;
}
.wb-b-paper {
  box-sizing: border-box;
  max-width: 52rem;
  padding: 24px 32px 32px;
  border: 1px solid hsl(var(--border));
  border-radius: var(--dh-r-control);
  background: hsl(var(--card));
}
.wb-b-paper-h {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: var(--dh-track-title);
  overflow-wrap: anywhere;
}
.wb-b-paper-h:focus {
  outline: none;
}
.wb-b-paper-sub {
  margin-top: 4px;
}
.wb-b-sec {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid hsl(var(--border));
}
.wb-b-sec > * + * {
  margin-top: 12px;
}
.wb-b-sec-h {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0;
}
.wb-b-lines {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.wb-b-line {
  padding: 6px 0;
  color: hsl(var(--foreground));
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
}
.wb-b-line + .wb-b-line {
  border-top: 1px solid hsl(var(--border));
}
.wb-b-line-t {
  white-space: pre-line;
}
.wb-b-meta {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  line-height: 18px;
}
.wb-b-src {
  overflow-wrap: anywhere;
}
.wb-b-exact {
  display: none;
}
.wb-b-private {
  padding: 0 4px;
  border: 1px solid hsl(var(--input));
  border-radius: var(--dh-r-cell);
  color: hsl(var(--foreground));
  font-weight: 500;
  white-space: nowrap;
}
.wb-b-own {
  max-width: none;
}
.wb-b-own-print,
.wb-b-left {
  display: none;
}
.wb-b-own-old {
  margin: 12px 0 0;
  color: hsl(var(--foreground));
  font-size: 14px;
  line-height: 22px;
  white-space: pre-line;
}
.wb-b-paper-old {
  background: hsl(var(--muted) / var(--dh-note-a));
}
.wb-b-old {
  margin-top: 24px;
}
.wb-b-vers {
  max-width: 48rem;
  margin-top: 12px;
}
.wb-b-ver {
  padding: 6px 0;
}
.wb-b-ver-l {
  color: hsl(var(--foreground));
  font-weight: 500;
}
.wb-b-ver-said > .wb-note {
  margin-bottom: 0;
}
.wb-b-diff {
  max-width: 52rem;
  margin-top: 24px;
}
.wb-b-diff > .wb-b-h3 {
  margin-top: 0;
  overflow-wrap: anywhere;
}
.wb-b-diff > .wb-b-h3:focus {
  outline: none;
}
.wb-b-diff-sec {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid hsl(var(--border));
}
.wb-b-diff-sec > * + * {
  margin-top: 8px;
}
.wb-b-ops {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 20px;
}
.wb-b-op {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0 12px;
  padding: 2px 0;
  color: hsl(var(--muted-foreground));
}
.wb-b-op-t {
  min-width: 0;
  overflow-wrap: anywhere;
}
.wb-b-op-added {
  color: hsl(var(--foreground));
}
.wb-b-op-added > .wb-b-op-w,
.wb-b-op-removed > .wb-b-op-w {
  color: hsl(var(--foreground));
  font-weight: 600;
}
.wb-b-op-removed > .wb-b-op-t {
  text-decoration: line-through;
}
.wb-b-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.wb-b-switches > .wb-field {
  margin-top: 0;
}
.wb-b-check,
.wb-b-term-k,
.wb-b-order,
.wb-b-apart,
.wb-b-id,
.wb-b-cases-box,
.wb-b-next-box,
.wb-b-next-dl,
.wb-b-paper-box,
.wb-b-missing-box,
.wb-b-nolines,
.wb-b-line-stale,
.wb-b-k-note,
.wb-b-k-money,
.wb-b-k-other,
.wb-b-op-same,
.wb-b-op-w,
.wb-b-ver-said,
.wb-b-with-notes,
.wb-b-with-money,
.wb-b-with-others {
  min-width: 0;
}
@media (max-width: 640px) {
  :root .wb-b-r > span {
    min-width: 44px;
    height: 44px;
  }
  :root .wb-b-r-none > span {
    width: 228px;
    height: 44px;
  }
  :root .wb-b-rate-row > .wb-b-r > span {
    width: 44px;
    min-width: 44px;
    padding-inline-end: 0;
    padding-inline-start: 0;
  }
  .wb-b-rates .wb-table-t th:first-child {
    width: 5rem;
    min-width: 5rem;
    max-width: 5rem;
    padding-inline-end: 6px;
  }
  .wb-b-rates {
    scroll-snap-type: x proximity;
    scroll-padding-inline-start: 5rem;
  }
  .wb-b-rates .wb-table-t td {
    scroll-snap-align: start;
  }
  .wb-b-facts-s {
    padding: 13px 0;
  }
  .wb-b-ids a,
  .wb-b-drop a,
  .wb-b-linkbox > .wb-sitelink > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .wb-b-linkbox > .wb-sitelink > a {
    flex-wrap: wrap;
    column-gap: 0.25em;
  }
  .wb-b-dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .wb-b-dl > dd + dt {
    margin-top: 8px;
  }
  .wb-b-drop > .wb-row-main {
    flex-basis: 100%;
  }
  .wb-b-paper {
    padding: 16px 16px 24px;
  }
  .wb-b-terms {
    grid-template-columns: minmax(0, 1fr);
  }
  .wb-b-term-v {
    margin-bottom: 4px;
  }
  .wb-b-op {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (forced-colors: active) {
  .wb-b-from,
  .wb-b-private,
  .wb-b-place {
    border: 1px solid CanvasText;
  }
}
@media print {
  .wb-b-rate-row,
  .wb-b-r-none,
  .wb-b-status {
    display: none !important;
  }
  .wb-b-rated {
    display: inline;
  }
  .wb-b-facts > * {
    display: block;
  }
  .wb-b-memo > :not(.wb-b-paper-box) {
    display: none !important;
  }
  .wb-page:has(.wb-b-memo) > .wb-head,
  .wb-page:has(.wb-b-memo) > .wb-part {
    display: none;
  }
  .wb-b-paper {
    max-width: none;
    padding: 0;
    border: 0;
    background: none;
  }
  .wb-b-paper .wb-b-k-note,
  .wb-b-paper .wb-b-k-money,
  .wb-b-paper .wb-b-k-other {
    display: none;
  }
  .wb-b-with-notes .wb-b-paper .wb-b-k-note,
  .wb-b-with-money .wb-b-paper .wb-b-k-money,
  .wb-b-with-others .wb-b-paper .wb-b-k-other {
    display: list-item;
  }
  .wb-b-own {
    display: none;
  }
  .wb-b-own-print {
    display: block;
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 22px;
    white-space: pre-wrap;
  }
  .wb-b-own-print:empty {
    display: none;
  }
  .wb-b-left {
    display: block;
    margin: 24px 0 0;
    font-size: 12px;
    line-height: 18px;
  }
  .wb-b-paper .wb-when {
    display: none;
  }
  .wb-b-exact {
    display: inline;
  }
  .wb-b-line,
  .wb-b-case,
  .wb-b-next,
  .wb-b-scn,
  .wb-b-placed {
    break-inside: avoid;
  }
  .wb-b-sec-h,
  .wb-b-h3 {
    break-after: avoid;
  }
  .wb-b-edit {
    background: none;
  }
}
