@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #f5f6f8;
  --panel: #ffffff;
  --panel-2: #fafbfc;
  --border: #e3e6eb;
  --text: #0f1420;
  --muted: #6b7280;
  --muted-2: #9aa1ae;
  --accent: #2554e0;
  --accent-dim: #eaf0fe;
  --green: #16a34a;
  --green-dim: #eafaf0;
  --amber: #b45309;
  --amber-dim: #fef6e8;
  --red: #dc2626;
  --red-dim: #fdeeed;
  --violet: #7c3aed;
  --violet-dim: #f2ebfe;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 32, 0.04);
  --shadow: 0 1px 2px rgba(15, 20, 32, 0.04), 0 6px 16px -8px rgba(15, 20, 32, 0.12);
  --shadow-lg: 0 4px 10px rgba(15, 20, 32, 0.06), 0 16px 32px -12px rgba(15, 20, 32, 0.16);
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Lifecycle-stage identity colors - the pipeline rail on each task tile */
  --stage-planning: var(--amber);
  --stage-implementation: var(--accent);
  --stage-uat: var(--violet);
  --stage-deployed: var(--green);
  --stage-done: var(--green);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

/* Live status dot */
.dot {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  position: relative;
  top: -1px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--accent);
}

.dot-static {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-2);
}

.dot-static.done {
  background: var(--green);
  box-shadow: none;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Header */
header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

header.top .brand-logo {
  height: 30px;
  width: auto;
  display: block;
}

header.top h1 {
  font-size: 25px;
  font-weight: 700;
  margin: 0;
  text-transform: capitalize;
  letter-spacing: -0.015em;
  color: var(--text);
}

header.top .updated {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Board groups */
section.group {
  margin-bottom: 32px;
}

section.group > h2 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

section.group > h2 .count {
  color: var(--muted-2);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

section.group > h2 .chevron {
  transition: transform 0.15s ease;
  font-size: 10px;
  color: var(--muted-2);
}

section.group.collapsed > h2 .chevron {
  transform: rotate(-90deg);
}

section.group.collapsed .tiles {
  display: none;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.tile {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 20px 24px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tile:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Pipeline rail: encodes lifecycle stage as a CI-status stripe, the card's
   organizing idea rather than a decorative accent. */
.tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--stage-planning);
  transition: width 0.15s ease;
}

.tile:hover::before {
  width: 6px;
}

.tile.stage-planning::before { background: var(--stage-planning); }
.tile.stage-implementation::before { background: var(--stage-implementation); }
.tile.stage-uat::before { background: var(--stage-uat); }
.tile.stage-deployed::before,
.tile.done::before { background: var(--stage-done); }

.tile-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--stage-planning);
}

.tile.stage-planning .tile-eyebrow { color: var(--stage-planning); }
.tile.stage-implementation .tile-eyebrow { color: var(--stage-implementation); }
.tile.stage-uat .tile-eyebrow { color: var(--stage-uat); }
.tile.stage-deployed .tile-eyebrow,
.tile.done .tile-eyebrow { color: var(--stage-done); }

.tile .name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--text);
}

.tile-ref {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.owners {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.owner-chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--panel);
  box-shadow: 0 0 0 1px var(--border);
  position: relative;
}

.owner-chip:not(:first-child) {
  margin-left: -8px;
}

.owner-chip:nth-child(1) { z-index: 3; }
.owner-chip:nth-child(2) { z-index: 2; }
.owner-chip:nth-child(3) { z-index: 1; }

.owner-names {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.tile-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tile .bar-track {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--panel-2);
  box-shadow: inset 0 1px 2px rgba(15, 20, 32, 0.06);
  overflow: hidden;
}

.tile .bar-fill {
  height: 100%;
  background: var(--stage-planning);
  border-radius: 4px;
}

.tile.stage-planning .bar-fill { background: var(--stage-planning); }
.tile.stage-implementation .bar-fill { background: var(--stage-implementation); }
.tile.stage-uat .bar-fill { background: var(--stage-uat); }
.tile.stage-deployed .bar-fill,
.tile.done .bar-fill { background: var(--stage-done); }

.tile-percent {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
  min-width: 32px;
  text-align: right;
}

.tile.done .tile-percent {
  color: var(--stage-done);
}

.tile .check {
  color: var(--stage-done);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Task detail */
.detail {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.detail .back {
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.detail .back:hover {
  text-decoration: underline;
}

.detail-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.detail h1 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
}

.jira-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid #c7d7fb;
  border-radius: 7px;
  padding: 5px 10px 5px 7px;
  text-decoration: none;
  cursor: pointer;
}

.jira-badge-lg .jira-icon {
  width: 15px;
  height: 15px;
  border-radius: 3px;
}

.jira-badge-lg:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.detail .meta-row {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.lifecycle {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.lifecycle .stage-chip {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: var(--panel-2);
  color: var(--muted-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lifecycle .stage-chip.done {
  background: var(--green-dim);
  color: var(--green);
  border-color: #cdeedb;
}

.lifecycle .stage-chip.current {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: #c7d7fb;
  box-shadow: 0 0 0 3px rgba(37, 84, 224, 0.08);
}

.detail .summary {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 8px;
  white-space: pre-wrap;
}

/* Password gate */
#gate {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 420px at 50% 30%, rgba(37, 84, 224, 0.08), transparent 60%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

#gate .box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 28px;
  width: 320px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.gate-logo {
  display: block;
  height: 30px;
  width: auto;
  margin: 0 auto 20px;
}

.gate-lock {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.gate-subtitle {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 5px;
}

.gate-input-wrap {
  position: relative;
  margin: 22px 0 14px;
}

.gate-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  pointer-events: none;
}

#gate input {
  width: 100%;
  padding: 11px 12px 11px 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  font-size: 14px;
}

#gate input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 84, 224, 0.12);
}

#gate button {
  width: 100%;
  padding: 12px;
  border-radius: 9px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px -4px rgba(37, 84, 224, 0.5);
  transition: background 0.15s ease, transform 0.15s ease;
}

#gate button:hover {
  background: #1e46c9;
  transform: translateY(-1px);
}

#gate .error {
  color: var(--red);
  font-size: 12px;
  min-height: 16px;
  margin-top: 8px;
}

.gate-footer {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* Detail page sub-sections */
.block {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.block-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.block-title::before {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: var(--accent);
}

.block-title.amber::before {
  background: var(--amber);
}

.block-title-count {
  font-weight: 500;
  color: var(--muted-2);
  text-transform: none;
  letter-spacing: normal;
}

.block-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 14px;
}

.block-text.muted {
  color: var(--muted);
  font-size: 13px;
}

.block-text strong,
.detail .summary strong,
.cp-list strong,
.week-entries strong {
  font-weight: 700;
  color: var(--accent);
}

/* Timeline */
.timeline-wrap {
  position: relative;
}

.timeline-track {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  row-gap: 26px;
  padding: 10px 0 4px;
  position: relative;
}

.tl-item {
  flex: 1 1 76px;
  min-width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.tl-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.tl-item:first-child::before {
  display: none;
}

.tl-item.done::before {
  background: var(--green);
}

.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--panel);
  cursor: pointer;
  z-index: 1;
  transition: transform 0.15s ease;
  position: relative;
}

.tl-dot:hover {
  transform: scale(1.15);
}

.tl-dot.done {
  background: var(--green);
  border-color: var(--green);
}

.tl-dot.pending {
  background: var(--panel);
  border-color: var(--border);
  border-style: dashed;
}

.tl-dot.current {
  background: var(--accent);
  border-color: var(--accent);
}

.tl-dot.current::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #ffffff;
  animation: dot-blink 1.3s ease-in-out infinite;
}

.tl-pulse-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: tl-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes tl-ping {
  0% { transform: scale(1); opacity: 0.7; }
  75%, 100% { transform: scale(2.1); opacity: 0; }
}

.tl-label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
  color: var(--text);
  display: flex;
  align-items: center;
}

.tl-item.current .tl-label {
  color: var(--accent);
}

.tl-date {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 2px;
}

.tl-detail-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  width: 100%;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 6;
  pointer-events: none;
}

.tl-detail-panel.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tl-detail-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.tl-detail-text {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Scope */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.stat-tile {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 8px;
  padding: 13px;
  transition: transform 0.15s ease;
}

.stat-tile:hover {
  transform: translateY(-2px);
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.callout-card {
  background: var(--amber-dim);
  border: 1px solid var(--amber);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.callout-card-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin: 0 0 6px;
}

.callout-card-text {
  font-size: 13px;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.55;
}

.callout-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.65;
}

.callout-card ul li {
  margin-bottom: 4px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12.5px;
}

table th, table td {
  text-align: left;
  padding: 10px 13px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

table tbody tr:last-child td {
  border-bottom: none;
}

table tbody tr:nth-child(even) {
  background: var(--panel-2);
}

table tbody tr:hover {
  background: var(--accent-dim);
}

table tbody tr:last-child {
  font-weight: 700;
  background: var(--panel-2);
}

table th {
  color: var(--muted);
  font-weight: 700;
  background: var(--panel-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px;
}

/* Current phase */
.cp-subhead {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 16px 0 8px;
}

.cp-subhead:first-of-type {
  margin-top: 0;
}

.cp-subhead-amber {
  color: var(--amber);
}

.cp-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cp-list li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 9px 13px;
}

.cp-list-amber li {
  background: var(--amber-dim);
  border-color: #f3dfb3;
  border-left-color: var(--amber);
}

/* Change log */
.week-block {
  margin-bottom: 12px;
  scroll-margin-top: 20px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px 17px;
}

.week-header {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.week-header .chevron {
  font-size: 10px;
  color: var(--muted-2);
  transition: transform 0.15s ease;
}

.week-block.collapsed .week-header {
  margin-bottom: 0;
}

.week-block.collapsed .week-header .chevron {
  transform: rotate(-90deg);
}

.week-block.collapsed .week-entries {
  display: none;
}

.week-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-2);
}

.week-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid #cdeedb;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.week-range {
  font-weight: 500;
  color: var(--muted-2);
  font-size: 12px;
}

.week-entries {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
}

.week-entries li {
  margin-bottom: 6px;
  padding-left: 2px;
}

.week-entries li::marker {
  color: var(--accent);
}

.week-entries li:last-child {
  margin-bottom: 0;
}

/* Documents */
.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.doc-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.doc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.doc-icon.pdf {
  background: var(--red-dim);
  color: var(--red);
}

.doc-icon.html {
  background: var(--accent-dim);
  color: var(--accent);
}

.doc-body { min-width: 0; }

.doc-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.doc-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.45;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.page-nums {
  display: flex;
  gap: 4px;
}

.page-btn {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 7px;
  padding: 7px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.page-btn:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
  opacity: 0.6;
}

.page-num {
  min-width: 32px;
  padding: 7px 0;
  text-align: center;
}

.page-num.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Jira */
.jira-epic-link {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
  text-decoration: none;
}

.jira-epic-link:hover {
  text-decoration: underline;
}

.jira-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.jira-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.jira-row:hover {
  border-color: var(--accent);
  transform: translateX(2px);
}

.jira-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.jira-key {
  flex-shrink: 0;
  width: 76px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--muted);
}

.jira-summary {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
}

.jira-status {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.jira-status-todo {
  background: #eef0f3;
  color: var(--muted);
}

.jira-status-inprogress {
  background: var(--accent-dim);
  color: var(--accent);
}

.jira-status-blocked {
  background: var(--red-dim);
  color: var(--red);
}

.jira-status-closed {
  background: var(--green-dim);
  color: var(--green);
}

[hidden] { display: none !important; }
