/* v29.41 Option D: time-scaled Key dates bar.
   Today at the left; dated milestones at their real distance.
   Navy and gold, IBM Plex, square corners on cards. Linked only from project pages. */
.nc-key-dates-graphic.nc-kd {
  --navy: #0B2545;
  --gold: #C9A24A;
  --cream: #F8F4EC;
  --gold-text: #7A5C14;
  --teal: #0E6E78;
  --grey: #667085;
  margin: 0 0 1.35rem;
  max-width: 100%;
  overflow-x: hidden;
  color: #14202E;
  font-family: "IBM Plex Sans", sans-serif;
  box-sizing: border-box;
}
.nc-kd *, .nc-kd *::before, .nc-kd *::after { box-sizing: border-box; }
.nc-kd :where(p, h3, h4, ol, ul) { margin: 0; padding: 0; }

.nc-kd-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 12px;
  font-size: 12px;
  color: #14202E;
}
.nc-kd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.nc-kd-sw {
  width: 12px;
  height: 12px;
  display: inline-block;
  flex: none;
  border-radius: 50%;
}
.nc-kd-sw--today { background: var(--gold); }
.nc-kd-sw--date { background: var(--navy); }
.nc-kd-sw--deadline {
  background: var(--navy);
  border-radius: 1px;
  transform: rotate(45deg);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 2px var(--gold);
}
.nc-kd-sw--tbd {
  border: 1.5px dashed var(--grey);
  background: #F2F4F7;
  border-radius: 50%;
}

.nc-kd-nowban {
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  margin: 0 0 12px;
  border-radius: 0;
}
.nc-kd-nowban b {
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  margin-right: 6px;
}
.nc-kd-nowban-d { font-weight: 600; }
.nc-kd-nowban-s { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; }

.nc-kd-track { position: relative; margin: 2px 0 8px; padding: 0 10px; overflow: hidden; }
.nc-kd-years { position: relative; height: 16px; margin-bottom: 2px; }
.nc-kd-years span {
  position: absolute;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #475467;
  letter-spacing: .03em;
}
.nc-kd-flags { position: relative; height: 26px; overflow: hidden; }
.nc-kd-flag {
  position: absolute;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
}
.nc-kd-flag--start { transform: none; padding-left: 8px; }
.nc-kd-flag--end { transform: translateX(-100%); padding-right: 8px; }
.nc-kd-flag--flush { left: 0 !important; transform: none; padding-left: 0; }
.nc-kd-flag--past { color: var(--gold-text); }

.nc-kd-spine { position: relative; height: 22px; margin: 0 0 2px; }
.nc-kd-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 8px;
  border-radius: 4px;
  background: var(--navy);
}
.nc-kd-bar--empty {
  background: repeating-linear-gradient(90deg, #C8D1DE 0 8px, transparent 8px 14px);
}
.nc-kd-tick {
  position: absolute;
  top: 4px;
  width: 1px;
  height: 14px;
  background: #E4E7EC;
  transform: translateX(-50%);
}
.nc-kd-today-dot {
  position: absolute;
  top: 3px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy);
  z-index: 3;
}
.nc-kd-diamond {
  position: absolute;
  top: 5px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 1px;
  transform: rotate(45deg);
  z-index: 3;
}
.nc-kd-dot-date {
  position: absolute;
  top: 3px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  z-index: 3;
}
.nc-kd-empty {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--grey);
  padding: 8px 8px 2px;
}

.nc-kd-dcards { display: grid; gap: 10px; margin: 12px 0 0; align-items: start; }
.nc-kd-dcards--1 { grid-template-columns: 1fr; }
.nc-kd-dcards--2 { grid-template-columns: 1fr 1fr; }
.nc-kd-dcard {
  padding: 8px 10px 9px;
  background: #fff;
  border: 1px solid #D5DBE3;
  border-top: 3px solid var(--gold);
  border-radius: 0;
  min-width: 0;
}
.nc-kd-dcard--past { border-top-color: var(--grey); }
.nc-kd-rel {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  font-size: 15.5px;
  display: block;
  margin: 2px 0 3px;
}
.nc-kd-dt { font-size: 12.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.nc-kd-abs { display: block; margin-top: 1px; font-size: 12px; color: #475467; line-height: 1.3; }
.nc-kd-dn, .nc-kd-dp { font-size: 11.5px; color: #475467; line-height: 1.35; margin-top: 3px; }
.nc-kd-dp { color: var(--grey); padding-top: 3px; border-top: 1px dashed #D0D5DD; }
.nc-kd-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: var(--cream);
  padding: 1px 5px;
  margin-bottom: 2px;
  border-radius: 0;
}

.nc-kd-tray { margin-top: 14px; background: var(--cream); padding: 12px 14px; border-radius: 0; }
.nc-kd-tray-h { font-size: 13px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.nc-kd-tray-h span { font-weight: 400; color: #475467; }
.nc-kd-cols { display: grid; gap: 8px 16px; grid-template-columns: 1fr; min-width: 0; max-width: 100%; width: 100%; }
.nc-kd-col,
.nc-kd-cols ul,
.nc-kd-row {
  min-width: 0;
  max-width: 100%;
}
.nc-kd-col-h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--navy);
}
.nc-kd-col--deposits .nc-kd-col-h { border-color: var(--gold); }
.nc-kd-col--closing .nc-kd-col-h { border-color: var(--teal); }
.nc-kd-cols ul { list-style: none; }
.nc-kd-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  padding: 3px 0;
  color: var(--navy);
}
.nc-kd-tbd, .nc-kd-varies, .nc-kd-undated-stamp {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--grey);
  white-space: nowrap;
}
/* v29.46: long undated stamps wrap so .nc-kd-cols cannot outgrow the figure. */
.nc-kd-undated-stamp {
  white-space: normal;
  min-width: 0;
  overflow-wrap: break-word;
  text-align: right;
  flex: 0 1 auto;
}
@media (max-width: 799px) {
  .nc-kd-flags { height: auto; min-height: 26px; overflow: visible; }
  .nc-kd-flag--flush {
    max-width: 48%;
    white-space: normal;
    overflow-wrap: break-word;
  }
}
@media (min-width: 800px) {
  .nc-kd-row:has(> .nc-kd-undated-stamp) { flex-wrap: wrap; align-items: flex-start; }
  .nc-kd-row:has(> .nc-kd-undated-stamp) .nc-kd-undated-stamp {
    flex: 1 0 calc(100% - 32px);
    margin-left: 32px;
    margin-top: 2px;
    text-align: left;
  }
}
.nc-kd-varies { color: var(--gold-text); letter-spacing: 0; }
.nc-kd-mini {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--grey);
  border: 1.5px dashed var(--grey);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}
.nc-kd-note { font-size: 12px; font-style: italic; color: var(--grey); margin-top: 10px; }

@media (min-width: 800px) {
  .nc-kd-legend { justify-content: flex-end; margin-top: -4px; }
  .nc-kd-flag { font-size: 16px; }
  .nc-kd-rel { font-size: 20px; }
  .nc-kd-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nc-kd-dcards--2 {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 24px;
  }
  .nc-kd-dcards--2 .nc-kd-dcard {
    width: min(360px, calc(50% - 12px));
    flex: none;
  }
}
@media (max-width: 799px) {
  .nc-kd-dcards--2 { gap: 8px; }
}

/* v29.58 hub overview shares these tokens via redesign.css */
