/* V2 Horizontal Git Branching Tree Styles */

.v2-body {
  background-color: #080c14;
  color: #e2e8f0;
  overflow-x: hidden;
}

.v2-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #00f2fe, #a855f7);
  color: #fff;
  margin-left: 0.5rem;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.v-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.v-switch-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-blue);
  color: #fff;
  transform: translateY(-1px);
}

/* Main Layout */
.v2-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 2rem;
  max-width: 100%;
  width: 100%;
}

.v2-layout {
  display: flex;
  flex-direction: column;
  background: #0f1624;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* Toolbar */
.graph-toolbar-strip {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.6rem 1.25rem;
  background: rgba(15, 22, 36, 0.95);
  border-bottom: 1px solid #1e293b;
}

.graph-controls-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Zoom Controls */
.zoom-controls {
  display: inline-flex;
  align-items: center;
  background: #090e18;
  border: 1px solid #1e293b;
  border-radius: 8px;
  overflow: hidden;
}

.ctrl-btn {
  background: transparent;
  border: none;
  border-right: 1px solid #1e293b;
  color: #94a3b8;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.ctrl-btn:last-child {
  border-right: none;
}

.ctrl-btn:hover {
  background: #1e293b;
  color: #38bdf8;
}

.active-focus-btn {
  color: #c084fc;
}
.active-focus-btn:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.2);
}

/* Timeline Viewport Container */
.timeline-viewport-container {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 380px;
  min-height: 360px;
  max-height: 420px;
  background: #080c14;
  overflow: hidden;
}

.timeline-hint-bar {
  padding: 0.5rem 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid #1e293b;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.timeline-hint-bar strong {
  color: #94a3b8;
}

/* Scroll Pane & Zoom Wrapper */
.timeline-scroll-pane {
  flex: 1;
  overflow: auto;
  position: relative;
  cursor: default;
  user-select: none;
  scroll-behavior: smooth;
}

.timeline-scroll-pane.is-panning {
  cursor: grabbing;
}

.timeline-zoom-wrapper {
  position: relative;
  min-width: 100%;
  min-height: 100%;
  transform-origin: 0 0;
  transition: transform 0.08s ease-out;
}

/* Timeline SVG Canvas */
.timeline-svg {
  display: block;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

/* SVG Elements */
.svg-grid-line {
  stroke: #162032;
  stroke-width: 1;
  stroke-dasharray: 4, 4;
}

.svg-grid-label {
  fill: #475569;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-anchor: middle;
}

.svg-trunk-path {
  stroke: #00f2fe;
  stroke-width: 4.5px;
  stroke-linecap: round;
}

.svg-trunk-label {
  fill: #00f2fe;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.svg-branch-curve {
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
  transition: opacity 0.25s ease, stroke-width 0.2s ease, filter 0.2s ease;
}

.svg-branch-curve.branch-stale-solid {
  stroke: #64748b;
  stroke-width: 3;
}

.svg-branch-curve.branch-stale-dotted {
  stroke: #94a3b8;
  stroke-dasharray: 6, 5;
  stroke-width: 3;
}

.svg-branch-curve.branch-superseded-dotted {
  stroke: #eab308;
  stroke-dasharray: 6, 5;
  stroke-width: 3.2;
}

.svg-stale-tag-label {
  fill: #f87171;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  dominant-baseline: central;
}

.svg-superseded-tag-label {
  fill: #facc15;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  dominant-baseline: central;
}

.svg-branch-group {
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.svg-branch-group:hover .svg-branch-curve {
  stroke-width: 5;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8));
}

.svg-branch-group.branch-group-stale:hover .svg-branch-curve.branch-stale-solid {
  stroke: #cbd5e1;
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(148, 163, 184, 0.6));
}

.svg-branch-group.branch-group-stale:hover .svg-branch-curve.branch-stale-dotted {
  stroke: #f87171;
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.6));
}

.svg-branch-group.branch-group-superseded:hover .svg-branch-curve.branch-superseded-dotted {
  stroke: #fef08a;
  stroke-width: 4.5;
  filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.8));
}

.svg-branch-group.branch-group-superseded:hover .svg-branch-curve {
  stroke-width: 4.5;
  filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.6));
}

/* Dotted Lineage Bridge to Ancestor Branch */
.svg-branch-lineage-dotted {
  stroke: #a855f7;
  stroke-dasharray: 5 4;
  stroke-width: 2;
  stroke-opacity: 0.55;
  stroke-linecap: round;
  transition: stroke-opacity 0.2s ease, stroke-width 0.2s ease, filter 0.2s ease;
}

.svg-branch-group:hover .svg-branch-lineage-dotted {
  stroke: #c084fc;
  stroke-opacity: 0.95;
  stroke-width: 2.8;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.7));
}

.svg-branch-group.is-selected .svg-branch-lineage-dotted {
  stroke: #00f2fe !important;
  stroke-opacity: 1 !important;
  stroke-width: 3px !important;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.8)) !important;
}

/* ========================================================= */
/* ACTIVE SELECTION STATE ON SVG TREE (GLOWING HALO) */
/* ========================================================= */
.svg-branch-group.is-selected .svg-branch-curve {
  stroke-width: 5.5px !important;
  filter: drop-shadow(0 0 12px #00f2fe) drop-shadow(0 0 4px #ffffff) !important;
  opacity: 1 !important;
}

.svg-branch-group.is-selected .svg-badge-rect {
  stroke: #00f2fe !important;
  stroke-width: 2.5px !important;
  fill: #082438 !important;
  filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.85)) !important;
  transform: scale(1.1);
}

.svg-branch-group.is-selected .svg-badge-text {
  fill: #ffffff !important;
  font-weight: 800 !important;
}

.svg-branch-group.is-selected .svg-anchor-node {
  transform: scale(1.4);
  stroke-width: 3px;
}



.svg-anchor-node {
  fill: #080c14;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.svg-anchor-node.anchor-fork {
  stroke: #00f2fe;
}

.svg-anchor-node.anchor-merge {
  stroke: #10b981;
}

/* Release Version Badge along Branch */
.svg-badge-rect {
  fill: #0f172a;
  stroke-width: 1.5;
  rx: 12px;
  ry: 12px;
  transition: all 0.2s ease;
}

.svg-badge-rect.badge-merged {
  stroke: #10b981;
  fill: #0a1f18;
}

.svg-badge-rect.badge-active {
  stroke: #a855f7;
  fill: #1a102f;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
}

.svg-badge-rect.badge-superseded {
  stroke: #eab308;
  fill: #1c1808;
  stroke-dasharray: 4, 3;
  filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.35));
}

.svg-badge-rect.badge-stale {
  stroke: #ef4444;
  fill: #1a0f14;
  stroke-dasharray: 4, 3;
}

.svg-badge-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  fill: #f1f5f9;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

.svg-branch-group:hover .svg-badge-rect {
  transform: scale(1.05);
  stroke: #38bdf8;
  fill: #1e293b;
}

.svg-branch-group.branch-group-superseded:hover .svg-badge-rect {
  transform: scale(1.05);
  stroke: #facc15;
  fill: #2a220b;
}

.svg-branch-group.branch-group-stale:hover .svg-badge-rect {
  transform: scale(1.05);
  stroke: #ef4444;
  fill: #271019;
}

/* Active Beacon Dot (Clean Static) */
.svg-active-beacon {
  fill: #a855f7;
  stroke: #c084fc;
  stroke-width: 1.5;
}

/* ========================================================= */
/* MASTER-DETAIL INSPECTION SECTION STYLES */
/* ========================================================= */
.selected-release-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #0b111d;
  border-top: 1px solid #1e293b;
}

/* Header Card */
.detail-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #0f1624;
  border: 1px solid #1e293b;
  border-left: 4px solid #00f2fe;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.detail-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.detail-brand-icon {
  font-size: 1.3rem;
}

.detail-release-title {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.detail-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.detail-status-badge.badge-active {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.detail-status-badge.badge-merged {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.detail-status-badge.badge-superseded {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.45);
}

.detail-status-badge.badge-stale {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.detail-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.meta-label {
  color: #64748b;
}

.meta-item strong {
  color: #e2e8f0;
}

.meta-divider {
  color: #334155;
}

.detail-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

@keyframes btnSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn.is-refreshing svg,
.btn-refresh.is-refreshing svg,
.is-refreshing svg {
  animation: btnSpin 0.75s linear infinite;
}

.is-refreshing {
  pointer-events: none;
  opacity: 0.8;
}

.btn-refresh-all {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.28));
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.18);
  transition: all 0.2s ease;
}

.btn-refresh-all:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.45));
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

.btn-refresh-all svg {
  color: #fbbf24;
}

.btn-refresh-all:hover svg {
  color: #fff;
}

/* Integrated Release Team Filter Bar */
.detail-team-filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.detail-team-stats {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.detail-below-filter-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 200px;
}

.detail-filter-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(4px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  border-radius: var(--radius-lg);
  color: #93c5fd;
  font-size: 0.88rem;
  font-weight: 600;
  animation: fadeIn 0.15s ease;
}

.detail-filter-loading-overlay.hidden {
  display: none !important;
}

.is-filtering-loading .detail-stats-grid,
.is-filtering-loading .detail-tabs-bar,
.is-filtering-loading .detail-controls-bar,
.is-filtering-loading .detail-panes-container {
  opacity: 0.3;
  pointer-events: none;
  filter: blur(1px);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Quick Summary Metrics Grid */
.detail-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #0f1624;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: #334155;
}

.stat-icon {
  font-size: 1.6rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.stat-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.stat-card.accent-jira { border-left: 3px solid #38bdf8; }
.stat-card.accent-release { border-left: 3px solid #fb923c; }
.stat-card.accent-develop { border-left: 3px solid #34d399; }
.stat-card.accent-mrs { border-left: 3px solid #c084fc; }

/* 3-Tier Categorization Tabs Bar */
.detail-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 0.4rem;
  overflow-x: auto;
}

.detail-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.detail-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.detail-tab-btn.active {
  background: #1e293b;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tab-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 12px;
  background: #334155;
  color: #cbd5e1;
}

.tab-badge.badge-blue { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.tab-badge.badge-orange { background: rgba(251, 146, 60, 0.2); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.4); }
.tab-badge.badge-green { background: rgba(52, 211, 153, 0.2); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.4); }
.tab-badge.badge-purple { background: rgba(192, 132, 252, 0.2); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.4); }

/* Controls Strip (Description, Status Filters, Search) */
.detail-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(15, 22, 36, 0.6);
  border: 1px solid #1e293b;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.detail-desc-box {
  flex: 1;
  min-width: 260px;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.detail-filters-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ticket-status-filters {
  display: inline-flex;
  align-items: center;
  background: #090e18;
  border: 1px solid #1e293b;
  border-radius: 6px;
  overflow: hidden;
}

.filter-chip {
  background: transparent;
  border: none;
  border-right: 1px solid #1e293b;
  color: #94a3b8;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-chip:last-child {
  border-right: none;
}

.filter-chip:hover {
  background: #1e293b;
  color: #fff;
}

.filter-chip.active {
  background: #1e293b;
  color: #38bdf8;
  font-weight: 700;
}

.detail-search-wrapper {
  position: relative;
}

.detail-search-wrapper .search-input {
  background: #090e18;
  border: 1px solid #1e293b;
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 6px;
  width: 240px;
  outline: none;
  transition: all 0.2s ease;
}

.detail-search-wrapper .search-input:focus {
  border-color: #00f2fe;
  box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.2);
  width: 280px;
}

/* Detail Panes Container */
.detail-panes-container {
  min-height: 240px;
  position: relative;
}

.detail-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem;
  background: rgba(15, 22, 36, 0.5);
  border-radius: var(--radius-md);
  border: 1px dashed #1e293b;
}

.detail-loading-container .spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 242, 254, 0.2);
  border-top-color: #00f2fe;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.detail-error-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: #f87171;
}

/* Jira Tickets Grid & Cards */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.ticket-card {
  background: #0f1624;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ticket-card:hover {
  transform: translateY(-2px);
  border-color: #334155;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.ticket-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.ticket-key-link {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ticket-key-link:hover {
  text-decoration: underline;
  color: #00f2fe;
}

.ticket-status-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.status-done {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-in-progress {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.status-to-do {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.ticket-done-date {
  font-size: 0.68rem;
  color: #34d399;
  font-family: var(--font-mono);
}

.ticket-summary {
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.4;
  font-weight: 500;
}

.ticket-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.team-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ticket-parent {
  font-size: 0.72rem;
  color: #94a3b8;
}

.ticket-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1e293b;
  padding-top: 0.6rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.assignee-info {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.assignee-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.ticket-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

/* Commits & MRs List */
.commits-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.commit-card {
  background: #0f1624;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.commit-card.is-release-fix {
  border-left: 3px solid #fb923c;
}

.commit-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.commit-hash-author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.commit-hash-link {
  font-family: var(--font-mono);
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.commit-author {
  color: #94a3b8;
}

.commit-card-title {
  font-size: 0.85rem;
  color: #f1f5f9;
  font-weight: 500;
}

.commit-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ticket-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ticket-pill {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  border: 1px solid #334155;
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(15, 23, 42, 0.8);
}

/* Release Notes Generator Pane */
.release-notes-pane {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notes-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notes-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}

.notes-buttons {
  display: flex;
  gap: 0.5rem;
}

.changelog-textarea {
  width: 100%;
  height: 340px;
  background: #090e18;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 1rem;
  resize: vertical;
  line-height: 1.5;
  outline: none;
}

.changelog-textarea:focus {
  border-color: #38bdf8;
}

/* Tooltip */
.glass-tooltip {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  background: rgba(11, 16, 28, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid #a855f7;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(168, 85, 247, 0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  max-width: 380px;
  transform: translate(15px, 15px);
  transition: opacity 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.tooltip-sha {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #a855f7;
  font-weight: 700;
}

.tooltip-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.tooltip-type-badge.status-superseded {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.45);
}

.tooltip-type-badge.status-merged {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.tooltip-type-badge.status-active {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.tooltip-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  gap: 0.5rem;
}

.tt-label {
  color: #64748b;
}

.tt-val {
  color: #f1f5f9;
  font-weight: 600;
}

.tooltip-teams-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-top: 1px solid #1e293b;
  padding-top: 0.4rem;
  margin-top: 0.2rem;
}

.tt-teams-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.tt-team-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
}

.tooltip-footer {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px dashed #1e293b;
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 600;
}
