/* Leave room for both course directions while keeping the two Gantt time axes aligned. */
.cv-path-actuals {
  grid-template-columns: 5.6rem minmax(0, 1fr);
}
.cv-path-future {
  grid-template-columns: 5.6rem minmax(0, 1fr) 1.4rem;
}
.cv-path-future .cv-row-title {
  white-space: nowrap;
  font-size: .78rem;
}
.cv-visit-list {
  margin: .35rem 0;
  padding-left: 1.15rem;
  color: var(--cv-sub);
}
.cv-handoff-ports {
  align-items: stretch;
}
.cv-handoff-ports .cv-join {
  align-self: center;
}
.cv-handoff-ports .cv-port-entry {
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}
.cv-contract-from,
.cv-contract-rule {
  margin: .3rem 0;
  color: var(--cv-sub);
  line-height: 1.35;
  font-size: .85rem;
}
.cv-contract-from { font-weight: 600; }
.cv-finish-range {
  margin: .45rem 0 .35rem;
  padding: .55rem .75rem .4rem;
  border: 1px solid #c5d2c3;
  border-radius: 4px;
  background: #f5f6ee;
  color: var(--cv-ink);
}
.cv-finish-range figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .1rem .45rem;
  font-size: .86rem;
  font-weight: 650;
}
.cv-finish-range figcaption strong {
  font: 600 1.22rem/1.2 Georgia, serif;
  font-variant-numeric: tabular-nums;
  color: #20594c;
  white-space: nowrap;
}
.cv-finish-range figcaption small {
  font: 500 .8rem/1 system-ui, sans-serif;
}
.cv-scale {
  margin: .83rem .5rem 0;
}
.cv-scale-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: #cbd6ca;
}
.cv-scale-baseline {
  position: absolute;
  inset-block: -6px;
  border-left: 2px dashed #854c34;
}
.cv-attainable-span {
  position: absolute;
  inset-block: -1px;
  background: #196656;
}
.cv-outcome {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border: 2px solid #20594c;
  border-radius: 50%;
  background: #fbfcf6;
  transform: translate(-50%, -50%);
}
.cv-single-finish .cv-outcome {
  width: 20px;
  height: 20px;
  border: 2px solid #fbfcf6;
  box-shadow: 0 0 0 2px #20594c;
  background: #20594c;
}
.cv-scale-ticks {
  position: relative;
  height: 1.05rem;
  margin-top: .6rem;
  font: .75rem/1.2 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  color: var(--cv-sub);
}
.cv-scale-ticks span {
  position: absolute;
  transform: translateX(-50%);
}
.cv-clock-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .05rem .45rem;
  font-size: .72rem;
  line-height: 1.3;
  color: var(--cv-sub);
}
.cv-clock-key i {
  display: inline-block;
  height: .75em;
  margin-right: .24rem;
  border-left: 2px dashed #854c34;
}
@media screen {
  .contract-sidebar .cv-more { display: none; }
  .contract-sidebar .cv-contract-from,
  .contract-sidebar .cv-contract-rule,
  .contract-sidebar [data-clay-view] p.cv-read {
    font-size: .8rem;
    line-height: 1.3;
    margin: .28rem 0;
  }
  .contract-sidebar .cv-finish-range { padding-inline: .48rem; }
}
.cv-branch {
  margin: .35rem 0;
  padding-inline: .5rem;
  border: 1px solid #c1cfc1;
  border-radius: 3px;
  background: #f7f7ed;
}
.cv-branch > summary {
  padding-block: .38rem;
  font-weight: 600;
  cursor: pointer;
}
@media print {
  .cv-branch::details-content { display: block!important; content-visibility: visible!important; }
  .cv-branch > * { display: block!important; }
  .cv-finish-range { print-color-adjust: exact; }
}

@media screen and (min-width:900px) {
  .contract-sidebar .cv-finish-range { margin:.28rem 0; padding:.32rem .45rem .24rem }
  .contract-sidebar .cv-scale { margin-top:.56rem }
  .contract-sidebar .cv-scale-ticks { margin-top:.45rem }
}
