/* ══════════════════════════════════════════════════════════
   FEATURES — deadline banner · notes timeline · resume tag
   ══════════════════════════════════════════════════════════ */

/* ── Deadline banner ────────────────────────────────────── */
.deadline-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.deadline-banner-icon {
  font-size: 16px;
  margin-top: 2px;
}

.deadline-urgent {
  color: var(--red);
  font-weight: 700;
}

.deadline-soon {
  color: var(--yellow);
  font-weight: 600;
}

.deadline-ok {
  color: var(--green);
}

.deadline-past {
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Notes timeline ─────────────────────────────────────── */
.notes-timeline-wrapper {
  margin-top: 1rem;
}

.notes-timeline-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.notes-timeline {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
}

.note-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.note-entry:last-child {
  border-bottom: none;
}

.note-ts {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 80px;
  padding-top: 2px;
  flex-shrink: 0;
}

.note-text {
  font-size: 13px;
  color: var(--text);
  flex: 1;
  line-height: 1.5;
}

.note-entry-delete {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 11px;
  padding: 0 2px;
  opacity: 0;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.note-entry:hover .note-entry-delete {
  opacity: 1;
}

.notes-empty {
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 12px;
  background: var(--surface);
}

.note-expand-btn {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.note-add-row {
  display: flex;
  gap: 8px;
}

.note-add-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.note-add-input:focus {
  border-color: var(--accent);
}

/* ══════════════════════════════════════════════════════════
   NEW FEATURES
   ══════════════════════════════════════════════════════════ */

/* ── Benefits clickable chips & view-all button ─────────── */
.benefit-chip--clickable {
  cursor: pointer;
  transition: opacity 0.15s;
}

.benefit-chip--clickable:hover {
  opacity: 0.75;
}

.benefit-view-all {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 11px;
  padding: 3px 10px;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}

.benefit-view-all:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* ── Skill badge dismiss button ─────────────────────────── */
.skill-badge-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-size: 12px;
  line-height: 1;
  padding: 0 0 0 4px;
  opacity: 0.45;
  vertical-align: middle;
  font-family: inherit;
}

.skill-badge-dismiss:hover {
  opacity: 1;
}

.skill-badge-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 0 0 0 4px;
  opacity: 0.55;
  vertical-align: middle;
  font-family: inherit;
  transition: opacity .15s, color .15s;
}

.skill-badge-remove:hover {
  opacity: 1;
  color: var(--red);
}

.skill-badge-add {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 0 0 0 4px;
  opacity: 0.55;
  vertical-align: middle;
  font-family: inherit;
  transition: opacity .15s, color .15s;
}

.skill-badge-add:hover {
  opacity: 1;
  color: var(--green);
}

/* ── JD Keyword Highlight ────────────────────────────────── */
.kw-match {
  background: rgba(63, 185, 80, .22);
  color: var(--green);
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 600;
}

.kw-gap {
  background: rgba(255, 77, 109, .18);
  color: var(--red);
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 600;
}

.detail-desc-legend {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 11px;
}

.detail-desc-legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}

.detail-desc-legend-dot span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* ── Weekly Dashboard Summary ────────────────────────────── */
.dash-week-summary {
  grid-column: 1 / -1;
  margin-top: 0;
}

.week-summary-body {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 0 !important;
}

.week-stat {
  flex: 1;
  min-width: 90px;
  padding: 14px 18px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.week-stat:last-child {
  border-right: none;
}

.week-stat-val {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.week-stat-val.accent {
  color: var(--accent);
}

.week-stat-val.yellow {
  color: var(--yellow);
}

.week-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.week-goals-section {
  flex: 2;
  min-width: 180px;
  padding: 10px 18px;
  border-left: 1px solid var(--border);
}

.week-goal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 12px;
}

.week-goal-label {
  color: var(--text-muted);
}

.week-goal-val {
  font-weight: 700;
  font-size: 13px;
}

/* ── Thank-You Sent badge in milestone strip ─────────────── */
.milestone-ty-sent {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ── Linked Contacts in detail modal ────────────────────── */
.detail-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.detail-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
}

.detail-contact-name {
  font-weight: 600;
  color: var(--text);
}

.detail-contact-meta {
  color: var(--text-muted);
  margin-left: 6px;
  font-size: 11px;
}

.detail-contact-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ── Email Templates (profile section) ──────────────────── */
.template-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.template-input-row .text-input {
  flex: 1;
}

.template-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.template-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.template-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.template-card-name {
  font-size: 13px;
  font-weight: 600;
  flex: 1;
}

.template-type-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: capitalize;
}

.tpl-thank-you {
  background: rgba(63, 185, 80, .15);
  color: var(--green);
}

.tpl-follow-up {
  background: rgba(0, 212, 170, .15);
  color: var(--accent);
}

.tpl-withdrawal {
  background: rgba(251, 191, 36, .15);
  color: var(--yellow);
}

.tpl-custom {
  background: rgba(167, 139, 250, .15);
  color: #a78bfa;
}

.template-card-body {
  font-size: 12px;
  color: var(--text-muted);
  white-space: pre-wrap;
  max-height: 80px;
  overflow: hidden;
  line-height: 1.5;
  position: relative;
}

.template-card-body.expanded {
  max-height: none;
}

.template-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.template-edit-area {
  width: 100%;
  font-family: inherit;
  font-size: 12px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  resize: vertical;
  outline: none;
  transition: border-color .15s;
  line-height: 1.5;
}

.template-edit-area:focus {
  border-color: var(--accent);
}

/* ── Job Comparison modal ────────────────────────────────── */
.compare-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.compare-count-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.compare-selected-counter {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: background .2s, color .2s, border-color .2s;
  letter-spacing: .04em;
}

.compare-selected-counter.ready {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}

.compare-picker-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 340px;
  overflow-y: auto;
}

.compare-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
  user-select: none;
}

.compare-picker-item:hover {
  border-color: var(--accent);
  transform: translateX(3px);
}

.compare-picker-item.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

.compare-picker-item input[type="checkbox"] {
  display: none;
}

.compare-picker-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
  font-size: 12px;
  font-weight: 700;
  color: transparent;
}

.compare-picker-item.selected .compare-picker-check {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.compare-picker-info {
  flex: 1;
}

.compare-picker-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.compare-picker-company {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.compare-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.compare-search-row .text-input {
  flex: 1;
}

/* ── Result grid ──────────────────────────────────────────── */
.compare-grid {
  display: grid;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.compare-col {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 210px;
  position: relative;
  transition: box-shadow .2s, border-color .2s;
}

/* Color accent bar at top */
.compare-col::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--col-accent, var(--accent));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.compare-col.is-winner {
  border-color: var(--col-accent, var(--accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--col-accent, var(--accent)) 18%, transparent);
}

.compare-col-header {
  padding: 18px 16px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.compare-col-winner-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .2));
}

.compare-col-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding-right: 28px;
}

.compare-col-company {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.compare-col-body {
  padding: 2px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.compare-row {
  font-size: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.compare-row-value {
  color: var(--text);
  font-weight: 500;
}

/* Circular fit gauge */
.compare-fit-ring {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
  display: block;
  flex-shrink: 0;
}

.compare-fit-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 5;
}

.compare-fit-fill {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.compare-fit-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.compare-fit-number {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.compare-fit-sub {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Salary bar */
.compare-salary-bar-wrap {
  margin-top: 5px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.compare-salary-bar {
  height: 100%;
  border-radius: 3px;
  background: var(--col-accent, var(--accent));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0;
}

.compare-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

/* Load-template inline picker */
.tpl-load-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tpl-load-select {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.tpl-load-select:focus {
  border-color: var(--accent);
}

/* Recorded stage changes in the job detail panel. */
#modal-detail.showing-history .detail-body,
#modal-detail.showing-requirements .detail-body {
  grid-template-columns: minmax(0, 1fr);
}

#modal-detail.showing-history .detail-left,
#modal-detail.showing-requirements .detail-left {
  display: none;
}

.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.detail-tabs [role="tab"] {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 2px;
  color: var(--text-muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.detail-tabs [aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.detail-tabs kbd {
  margin-left: 5px;
  padding: 1px 4px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  font-size: 10px;
  color: var(--text-muted);
}

.detail-tabs [role="tab"] {
  transition: color 160ms ease, border-color 160ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .detail-tabs [role="tab"] {
    transition: none;
  }
}

#detail-panel-details[hidden],
#detail-panel-requirements[hidden],
#detail-panel-history[hidden] {
  display: none;
}

/* Source evidence gets a dedicated, readable review surface. */
#modal-detail .fit-ring-wrapper {
  width: 156px;
  height: 156px;
  margin: 4px auto 24px;
  background: radial-gradient(circle, var(--surface) 48%, color-mix(in srgb, var(--accent) 7%, transparent) 67%, transparent 72%);
}

#modal-detail .fit-ring {
  width: 100%;
  height: 100%;
  overflow: visible;
}

#modal-detail .fit-ring-ticks {
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1;
  stroke-dasharray: 1 5.07;
  opacity: .35;
}

#modal-detail .fit-ring-bg {
  stroke: var(--border);
  stroke-width: 6;
}

#modal-detail .fit-ring-fill {
  stroke-width: 6;
  filter: none;
  transition: stroke-dashoffset 700ms cubic-bezier(.22, 1, .36, 1), stroke 250ms ease;
}

#modal-detail .fit-ring-label {
  gap: 5px;
}

#modal-detail .fit-ring-pct {
  font-size: 33px;
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

#modal-detail .fit-ring-sub {
  margin: 0;
  font-size: 9px;
  letter-spacing: .15em;
  color: var(--text-muted);
}

.fit-ring-coverage {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 10px;
}

@media (max-width: 860px) {
  #modal-detail .fit-ring-wrapper {
    width: 138px;
    height: 138px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #modal-detail .fit-ring-fill {
    transition: none;
  }
}

#modal-detail .detail-left {
  max-height: min(65dvh, 680px);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  scrollbar-gutter: stable;
}

#modal-detail .detail-left:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.requirements-header h3 {
  margin: 6px 0 8px;
  font-size: 22px;
  color: var(--text);
}

.requirements-header p,
.requirements-note {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.requirements-eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.requirements-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.requirements-stats>span {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 12px;
}

.requirements-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 24px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.requirement-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.requirement-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text);
}

.requirement-priority {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-hover, var(--surface));
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.requirement-priority.required {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.requirement-priority.preferred {
  color: var(--yellow);
  background: color-mix(in srgb, var(--yellow) 12%, transparent);
}

.requirement-card blockquote {
  margin: 14px 0;
  padding-left: 12px;
  border-left: 2px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.requirement-card>p {
  color: var(--text-muted);
  font-size: 13px;
}

.requirement-card button {
  font-size: 12px;
}

.requirements-section-title {
  margin: 26px 0 8px;
  color: var(--text);
  font-size: 15px;
}

.requirements-dismissed {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.requirements-empty {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 13px;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 10px;
}

@media (max-width: 600px) {
  .requirements-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .requirements-stats {
    gap: 6px;
  }

  .requirements-stats>span {
    padding: 10px 8px;
  }
}

#detail-panel-history {
  margin: 0;
  padding: 0;
  border: 0;
}

.detail-stage-indicator {
  font-size: 11px;
  color: var(--text-muted);
}

#modal-detail .detail-actions {
  flex-wrap: wrap;
}

#modal-detail .detail-actions .select-input {
  min-width: 110px;
}

.detail-history-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-tabs [role="tab"]:focus-visible,
.detail-history-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.stage-history-section {
  margin: 20px 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.stage-history-section h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.stage-history-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.stage-history-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  max-height: 240px;
  overflow-y: auto;
}

.stage-history-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.stage-history-eyebrow {
  flex-basis: 100%;
  font-size: 11px;
  color: var(--text-muted);
}

.stage-history-summary strong {
  font-size: 15px;
}

.stage-history-summary>span:last-child {
  font-size: 12px;
  color: var(--text-muted);
}

.stage-history-list li {
  --stage-marker: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid var(--border);
  padding: 0 12px 18px 18px;
  margin-left: 5px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.stage-history-list li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stage-marker);
}

.stage-history-list li:last-child {
  padding-bottom: 4px;
  border-left-color: transparent;
}

.stage-history-list li[data-stage="saved"],
.stage-history-list li[data-stage="archived"],
.stage-history-list li[data-stage="ghosted"] {
  --stage-marker: var(--text-muted);
}

.stage-history-list li[data-stage="screening"],
.stage-history-list li[data-stage="interview"] {
  --stage-marker: #b58aef;
}

.stage-history-list li[data-stage="offer"] {
  --stage-marker: #3ba882;
}

.stage-history-list li[data-stage="declined"],
.stage-history-list li[data-stage="withdrew"] {
  --stage-marker: #dc7983;
}

.stage-history-entry-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.stage-history-current {
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 7px;
  font-size: 10px;
}

.stage-history-duration {
  font-size: 11px;
  color: var(--text-muted);
}

.stage-history-list time {
  color: var(--text-muted);
  font-size: 11px;
}