/* === RSI-STYLE ROADMAP === */

body {
  background: #181a20;
  color: #e0e3e8;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 48px 32px;
}

.tabs {
  border-bottom: 1px solid #23242a;
  margin-bottom: 12px;
}
.tab-button {
  background: none;
  border: none;
  color: #b0b4bb;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 18px 6px 18px;
  margin-right: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border 0.2s;
}
.tab-button.active {
  color: #e0e3e8;
  border-bottom: 2px solid #4e8cff;
}
.tab-button:focus-visible {
  outline: 2px solid #4e8cff;
  outline-offset: 2px;
}

/* RSI-style Release View: horizontal scroll, columns */
.release-horizontal-scroll {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
  background: #181a20;
}
/* --- Improved RSI-style sizing --- */
.release-columns {
  display: flex;
  flex-direction: row;
  gap: 40px;
  min-height: 700px;
}
.release-column {
  display: flex;
  flex-direction: column;
  min-width: 400px;
  max-width: 440px;
  background: #20222a;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0004;
  margin-bottom: 0;
  height: 700px;
  position: relative;
}
.release-title {
  font-size: 22px;
  font-weight: 800;
  color: #b0b4bb;
  background: #23242a;
  border-radius: 12px 12px 0 0;
  padding: 24px;
  letter-spacing: 0.5px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
}
.release-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.roadmap-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 1px solid #23242a;
  padding: 20px;
  font-size: 17px;
  min-height: 48px;
  border-radius: 10px;
  background: #181a20;
  box-shadow: 0 1px 4px #0002;
  margin-bottom: 8px;
  transition: background 0.15s;
}
.roadmap-row:last-child {
  border-bottom: none;
}
.roadmap-row:hover {
  background: #23242a;
}
.roadmap-id {
  font-size: 14px;
  color: #60a5fa;
  font-family: var(--font-mono, monospace);
  margin-bottom: 2px;
}
.roadmap-title {
  font-weight: 700;
  font-size: 19px;
  color: #e0e3e8;
  margin-bottom: 2px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.roadmap-summary {
  color: #b0b4bb;
  font-size: 15px;
  margin-bottom: 4px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.roadmap-status {
  min-width: 80px;
  text-align: right;
  margin-left: auto;
  margin-right: 12px;
}
.status-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #23242a;
  color: #b0b4bb;
}
.status-pill.DONE {
  background: #1a2a1a;
  color: #4ade80;
}
.status-pill.PROVING {
  background: #1a2a3a;
  color: #60a5fa;
}
.status-pill.IN_PROGRESS {
  background: #3a2a1a;
  color: #fbbf24;
}
.status-pill.BACKLOG {
  background: #2a2a2a;
  color: #9ca3af;
}
.roadmap-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: 8px;
}
.roadmap-tag {
  background: #23242a;
  color: #7a7e87;
  border-radius: 8px;
  font-size: 11px;
  padding: 1px 7px;
}
.roadmap-links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.roadmap-link {
  color: #4e8cff;
  text-decoration: none;
  font-size: 12px;
  padding: 0 4px;
}
.roadmap-link:focus-visible {
  outline: 2px solid #4e8cff;
  outline-offset: 1px;
}

/* RSI-style Progress Tracker: split panel */
.tracker-split {
  display: flex;
  min-height: 500px;
}
.tracker-split {
  display: flex;
  min-height: 500px;
}
#tracker-sidebar {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid #23242a;
  background: #181a20;
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 2;
}
#tracker-team-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.tracker-team-list-item {
  padding: 14px 18px;
  font-size: 15px;
  color: #e0e3e8;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid #23242a;
  transition: background 0.15s;
}
.tracker-team-list-item.selected, .tracker-team-list-item:hover {
  background: #23242a;
  color: #4e8cff;
}
#tracker-content {
  flex: 1;
  overflow-x: auto;
  padding-left: 24px;
  min-height: 600px;
}
.tracker-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tracker-row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #23242a;
  padding: 7px 0 7px 0;
  font-size: 14px;
  min-height: 36px;
  cursor: pointer;
  transition: background 0.15s;
}
.tracker-row:last-child {
  border-bottom: none;
}
.tracker-row:hover {
  background: #23242a;
}
.tracker-id {
  width: 60px;
  color: #7a7e87;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  flex-shrink: 0;
}
.tracker-title {
  flex: 2 1 0%;
  font-weight: 500;
  color: #e0e3e8;
  margin-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracker-summary {
  flex: 3 1 0%;
  color: #b0b4bb;
  font-size: 13px;
  margin-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracker-status {
  min-width: 80px;
  text-align: right;
  margin-left: auto;
  margin-right: 12px;
}
.tracker-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: 8px;
}
.tracker-tag {
  background: #23242a;
  color: #7a7e87;
  border-radius: 8px;
  font-size: 11px;
  padding: 1px 7px;
}
.tracker-links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.tracker-link {
  color: #4e8cff;
  text-decoration: none;
  font-size: 12px;
  padding: 0 4px;
}
.tracker-link:focus-visible {
  outline: 2px solid #4e8cff;
  outline-offset: 1px;
}
.tracker-detail {
  background: #23242a;
  color: #e0e3e8;
  border-radius: 0 0 8px 8px;
  padding: 10px 18px 10px 78px;
  font-size: 13px;
  margin-bottom: 4px;
}
@media (max-width: 700px) {
  .container { padding: 8px 2px 32px 2px; }
  .release-title, .tracker-team-header { font-size: 14px; }
  .roadmap-row, .tracker-row { font-size: 12px; min-height: 28px; }
  .tracker-detail { padding-left: 12px; }
}
