.its-roadmap-page {
  padding: 18px 0 28px;
}

.its-roadmap-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px 12px;
  position: relative;
  z-index: 120;
}

.its-roadmap-breadcrumb {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
}
.its-roadmap-breadcrumb a {
  color: #4b2fbf;
  text-decoration: none;
}

.its-roadmap-title {
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0 0;
}

.its-roadmap-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.its-roadmap-search {
  position: relative;
  width: 380px;
}
.its-roadmap-search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  outline: none;
  font-size: 14px;
}

.its-roadmap-searchIcon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 14px;
}

.its-roadmap-year {
  height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

.its-roadmap-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.14);
  overflow: auto;
  max-height: 300px;
  z-index: 260;
}

.its-roadmap-suggestItem {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.its-roadmap-suggestItem:hover, .its-roadmap-suggestItem.is-active {
  background: #f3f4f6;
}

.its-roadmap-suggestTitle {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

.its-roadmap-suggestMeta {
  font-size: 12px;
  color: #6b7280;
}

.its-roadmap-lanesWrap {
  position: relative;
  z-index: 220;
}

.its-roadmap-lanesBtn {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.its-roadmap-lanesWrap .its-roadmap-lanesPanel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 260;
}

.lane-hidden {
  opacity: 0;
  pointer-events: none;
}

.its-roadmap-card {
  margin: 0 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 0;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.its-roadmap-legendWrap {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 50;
}

.its-roadmap-legendBtns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.its-roadmap-legendBtn {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.its-roadmap-legend,
.its-roadmap-lanesPanel {
  margin-top: 8px;
  width: 260px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.12);
}

.its-roadmap-legendTitle {
  font-size: 12px;
  font-weight: 800;
  color: #111827;
  margin: 10px 0 6px;
}

.its-roadmap-legendRow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #374151;
  margin: 6px 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #6b7280;
  display: inline-block;
}

.dot-major {
  width: 12px;
  height: 12px;
  background: #5236ab;
}

.dot-minor {
  width: 10px;
  height: 10px;
  background: #5236ab;
  opacity: 0.75;
}

.line {
  width: 34px;
  height: 0;
  border-top: 3px solid #6b7280;
  display: inline-block;
}

.line-solid {
  border-top-style: solid;
}

.line-dashed {
  border-top-style: dashed;
}

/* lanes filter panel */
.lanesPanel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.lanesPanel-title {
  font-size: 12px;
  font-weight: 900;
  color: #111827;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lanesPanel-actions {
  display: flex;
  gap: 8px;
}
.lanesPanel-actions button {
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lanesPanel-list {
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.lanesPanel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}
.lanesPanel-item:hover {
  background: #f3f4f6;
}
.lanesPanel-item input {
  width: 16px;
  height: 16px;
}

.lanesPanel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.its-roadmap-canvas {
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  overflow: auto;
  padding: 0;
  background: #f5f6f8;
  cursor: grab;
}
.its-roadmap-canvas.is-grabbing {
  cursor: grabbing;
}

.its-roadmap-canvas::-webkit-scrollbar {
  display: none;
}

.its-roadmap-svg {
  display: block;
}

.axis-divider {
  stroke: #cfd6e3;
  stroke-width: 1;
}

.its-roadmap-laneOverlay {
  position: sticky;
  background: linear-gradient(#ffffff 0 var(--axis-split, 68px), #f5f6f8 var(--axis-split, 68px) 100%);
  left: 0;
  top: 0;
  width: 170px;
  z-index: 10;
  pointer-events: none;
}

.its-roadmap-laneOverlayInner {
  position: relative;
  width: 170px;
}

.lane-pill-sticky {
  position: absolute;
  left: 18px;
  pointer-events: auto;
}

.lane-band {
  stroke: none;
}

.lane-band-a,
.lane-band-b {
  fill: transparent;
}

.lane-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #e5e7eb;
}

.lane-line {
  stroke: #dfe4ea;
  stroke-width: 1;
}

.edge {
  fill: none;
  stroke-width: 3;
  transition: opacity 160ms ease;
}

.edge-solid {
  stroke: #6b7280;
  opacity: 0.8;
}

.edge-dashed {
  stroke: #6b7280;
  stroke-dasharray: 6 6;
  opacity: 0.45;
}

.edge.is-dim {
  opacity: 0.12;
}

.edge.is-on {
  opacity: 0.9;
}

.axis-year {
  font-size: 12px;
  fill: #111827;
  font-weight: 700;
  opacity: 0.7;
}

.axis-month {
  font-size: 13px;
  fill: #111827;
  font-weight: 700;
}

.axis-week {
  font-size: 11px;
  fill: #6b7280;
  font-weight: 600;
}

.grid-v {
  stroke: #e6e8ee;
  stroke-width: 1;
  opacity: 0.9;
}

.week-tick {
  stroke: #c7cdd7;
  stroke-width: 1;
}

.node {
  cursor: pointer;
  transition: opacity 160ms ease;
}

.node.is-dim {
  opacity: 0.22;
}

.node.is-on {
  opacity: 1;
}

.node.is-highlight circle {
  stroke: #111827;
  stroke-width: 4;
  filter: drop-shadow(0 6px 14px rgba(17, 24, 39, 0.25));
}

.its-roadmap-tooltip {
  pointer-events: none;
}

.tooltip-bg {
  fill: #111827;
  opacity: 0.92;
}

.tooltip-text {
  fill: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

/* modal (not nested under page, because portal host is inside page) */
.itsr-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itsr-modal {
  width: min(720px, 100vw - 40px);
  max-height: min(80vh, 720px);
  overflow: auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

.itsr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

.itsr-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.itsr-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.itsr-modal-body {
  padding: 16px 18px 18px;
}

.itsr-modal-media {
  width: 100%;
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.itsr-modal-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
}

.itsr-field {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.itsr-fieldLabel {
  font-size: 12px;
  font-weight: 900;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.itsr-fieldVal {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  word-break: break-word;
}

.its-roadmap-filterCtrl {
  height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  line-height: 40px;
  color: #111827;
}

.its-roadmap-filterCtrl.its-roadmap-year,
.its-roadmap-filterCtrl.its-roadmap-lanesBtn[type=select],
select.its-roadmap-filterCtrl {
  -webkit-appearance: none;
  appearance: none;
}

.its-roadmap-filterCtrl.its-roadmap-year,
.its-roadmap-filterCtrl.its-roadmap-lanesBtn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

button.its-roadmap-filterCtrl.its-roadmap-lanesBtn {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

button.its-roadmap-filterCtrl.its-roadmap-lanesBtn span[aria-hidden=true] {
  display: none;
}

/*# sourceMappingURL=its-roadmap.css.map */