/* ── HBN Design Tokens ───────────────────────────────────────────── */
:root {
  --bg: #0A1628;
  --bg2: #0d1e38;
  --card-bg: #112240;
  --card-hover: #162a50;
  --border: #1e3a5f;
  --gold: #D4AF37;
  --gold-light: #e8cc6a;
  --gold-dim: rgba(212,175,55,.15);
  --text: #f0f4ff;
  --text-muted: #8899bb;
  --text-dim: #5a6e8a;
  --green: #22c55e;
  --blue: #3b82f6;
  --yellow: #eab308;
  --red: #ef4444;
  --purple: #a855f7;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.6);
}

/* ── Reset & Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}
a { color: var(--gold); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select {
  font-family: inherit;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
select option { background: var(--card-bg); }

/* ── Top Nav ─────────────────────────────────────────────────────── */
.topnav {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topnav-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.topnav-brand span { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; margin-left: 8px; }
.topnav-actions { display: flex; gap: 10px; align-items: center; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  transition: all .15s;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #0A1628;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { opacity: .85; }
.btn-sm { padding: 5px 10px; font-size: 0.8rem; }
.btn-icon { padding: 8px; border-radius: 8px; }

/* ── Stage Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-yellow { background: rgba(234,179,8,.18); color: #fde047; border: 1px solid rgba(234,179,8,.3); }
.badge-blue   { background: rgba(59,130,246,.18); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }
.badge-green  { background: rgba(34,197,94,.18);  color: #86efac; border: 1px solid rgba(34,197,94,.3); }
.badge-red    { background: rgba(239,68,68,.18);   color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.badge-gray   { background: rgba(148,163,184,.12); color: #94a3b8; border: 1px solid rgba(148,163,184,.2); }
.badge-gold   { background: rgba(212,175,55,.18);  color: var(--gold); border: 1px solid rgba(212,175,55,.3); }
.badge-purple { background: rgba(168,85,247,.18);  color: #d8b4fe; border: 1px solid rgba(168,85,247,.3); }

/* ── Tag chips ───────────────────────────────────────────────────── */
.tag-chip {
  display: inline-block;
  background: rgba(212,175,55,.1);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,.2);
  border-radius: 12px;
  padding: 1px 8px;
  font-size: 0.72rem;
  margin: 2px 2px 2px 0;
}

/* ── Search bar ──────────────────────────────────────────────────── */
.search-wrap {
  position: relative;
  flex: 1;
  max-width: 480px;
}
.search-wrap input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 24px;
  font-size: 0.9rem;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1rem;
}

/* ── Filter bar ──────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.filter-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all .15s;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ── Contact Grid ────────────────────────────────────────────────── */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 24px;
}

/* ── Contact Card ────────────────────────────────────────────────── */
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.contact-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-dim), var(--shadow);
  transform: translateY(-2px);
  background: var(--card-hover);
}
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.2;
}
.card-contact-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.card-days { font-size: 0.75rem; color: var(--text-muted); }
.card-tasks-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(239,68,68,.12);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 0.72rem;
  font-weight: 600;
}
.card-tags { margin-top: 10px; }

/* ── Loading / Empty states ──────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  width: 100%;
  grid-column: 1 / -1;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state p { font-size: 0.9rem; }

/* ── Modal ───────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold);
}
.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* ── Pizza Tracker ───────────────────────────────────────────────── */
.pizza-tracker {
  position: relative;
  padding: 24px 16px 8px;
}
.pizza-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}
.pizza-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--border);
  z-index: 0;
}
.pizza-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  z-index: 1;
  position: relative;
}
.pizza-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .3s;
  position: relative;
}
.pizza-step.done .pizza-circle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.pizza-step.current .pizza-circle {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  animation: pulse-gold 2s ease-in-out infinite;
}
.pizza-step.future .pizza-circle {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text-dim);
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,.5); }
  50% { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
}
.pizza-label {
  font-size: 0.65rem;
  text-align: center;
  color: var(--text-muted);
  max-width: 70px;
  line-height: 1.3;
  font-weight: 500;
}
.pizza-step.done .pizza-label { color: var(--green); }
.pizza-step.current .pizza-label { color: var(--gold); font-weight: 700; }
.pizza-progress-line {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 3px;
  background: var(--green);
  z-index: 0;
  transition: width .5s ease;
}

/* ── Course Badges ───────────────────────────────────────────────── */
.course-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 4px 0;
}
.course-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
}
.course-badge-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all .2s;
}
.course-badge.complete .course-badge-circle {
  background: var(--gold-dim);
  border-color: var(--gold);
}
.course-badge.incomplete .course-badge-circle { opacity: .4; }
.course-badge-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 68px;
  line-height: 1.3;
}
.course-badge.complete .course-badge-label { color: var(--gold); font-weight: 600; }

/* ── Contact Detail Layout ───────────────────────────────────────── */
.detail-layout {
  display: flex;
  height: calc(100vh - 60px);
  overflow: hidden;
}
.detail-main {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.detail-chat {
  width: 360px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: var(--bg2);
}

/* ── Section Card ────────────────────────────────────────────────── */
.section-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-body { padding: 20px; }

/* ── Hero (top of contact detail) ───────────────────────────────── */
.contact-hero {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 2.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.hero-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.hero-meta { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }
.hero-meta a { color: var(--gold); }
.hero-right {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.stage-select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ── Inline Edit Field ───────────────────────────────────────────── */
.kv-row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  min-height: 42px;
}
.kv-row:last-child { border-bottom: none; }
.kv-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  min-width: 160px;
  flex-shrink: 0;
}
.kv-value {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background .15s;
  min-height: 28px;
  display: flex;
  align-items: center;
}
.kv-value:hover { background: rgba(255,255,255,.05); }
.kv-value.editing { cursor: default; padding: 0; background: transparent; }
.kv-empty { color: var(--text-dim); font-style: italic; }
.kv-input {
  flex: 1;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.kv-save-btn {
  background: var(--gold);
  color: #0A1628;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.kv-cancel-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
}

/* ── Tasks ───────────────────────────────────────────────────────── */
.task-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.task-item:last-child { border-bottom: none; }
.task-check {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  background: var(--bg);
}
.task-check:hover { border-color: var(--green); }
.task-check.done { background: var(--green); border-color: var(--green); }
.task-text { flex: 1; }
.task-title { font-size: 0.9rem; color: var(--text); }
.task-due { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.task-due.overdue { color: #fca5a5; }

/* ── Appointments ────────────────────────────────────────────────── */
.appt-item {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.appt-item:last-child { border-bottom: none; }
.appt-date-box {
  background: var(--gold-dim);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 52px;
  flex-shrink: 0;
}
.appt-month { font-size: 0.6rem; text-transform: uppercase; color: var(--gold); letter-spacing: 1px; }
.appt-day { font-size: 1.2rem; font-weight: 800; color: var(--text); line-height: 1; }
.appt-title { font-size: 0.9rem; color: var(--text); }
.appt-time { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ── Notes ───────────────────────────────────────────────────────── */
.note-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.note-item:last-child { border-bottom: none; }
.note-meta { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 4px; }
.note-body { font-size: 0.88rem; color: var(--text); white-space: pre-wrap; }
.note-add-area { width: 100%; min-height: 80px; margin-bottom: 10px; resize: vertical; }

/* ── Chat Panel ──────────────────────────────────────────────────── */
.chat-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}
.chat-bubble-wrap.outbound { align-self: flex-end; align-items: flex-end; }
.chat-bubble-wrap.inbound  { align-self: flex-start; align-items: flex-start; }
.chat-bubble {
  padding: 9px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.45;
  word-break: break-word;
}
.chat-bubble-wrap.outbound .chat-bubble {
  background: #1e4080;
  color: var(--text);
  border-bottom-right-radius: 4px;
}
.chat-bubble-wrap.inbound .chat-bubble {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-ts {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 3px;
  padding: 0 4px;
}
.chat-channel-icon { font-size: 0.7rem; }
.chat-input-row {
  padding: 12px 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-input-row textarea {
  flex: 1;
  resize: none;
  min-height: 40px;
  max-height: 100px;
  line-height: 1.4;
  padding: 9px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
}
.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: #0A1628;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: opacity .15s;
}
.chat-send-btn:hover { opacity: .85; }

/* ── Toast ───────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.875rem;
  box-shadow: var(--shadow);
  animation: slideUp .25s ease;
  pointer-events: auto;
}
.toast.success { border-color: var(--green); color: #86efac; }
.toast.error { border-color: var(--red); color: #fca5a5; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile Responsive ───────────────────────────────────────────── */
@media (max-width: 1199px) {
  .detail-chat {
    position: fixed;
    right: 0;
    top: 60px;
    bottom: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 150;
    box-shadow: -8px 0 40px rgba(0,0,0,.5);
  }
  .detail-chat.open { transform: translateX(0); }
  .chat-toggle-btn {
    display: flex !important;
  }
}
@media (min-width: 1200px) {
  .chat-toggle-btn { display: none !important; }
}
@media (max-width: 767px) {
  .contacts-grid { grid-template-columns: 1fr; padding: 12px; }
  .filter-bar { padding: 10px 12px; }
  .detail-main { padding: 12px; }
  .hero-right { display: none; }
  .kv-label { min-width: 120px; font-size: 0.7rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Scrollbar ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ── Back link ───────────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
  transition: color .15s;
}
.back-link:hover { color: var(--gold); }

/* ── Funnel Pilot-style Pizza Tracker ── */
.pt-tracker {
  padding: 4px 0 8px;
}

.pt-bar-row {
  margin-bottom: 10px;
}

.pt-bar-bg {
  background: rgba(255,255,255,.08);
  border-radius: 50px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.pt-bar-fill {
  height: 100%;
  background: linear-gradient(to right, #3B82F6, #22c55e);
  border-radius: 50px;
  transition: width .6s ease;
}

.pt-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
}

.pt-pct {
  color: #22c55e;
  font-weight: 700;
}

.pt-banner {
  background: rgba(59,130,246,.15);
  border: 1px solid rgba(59,130,246,.3);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: .8rem;
  color: #93C5FD;
  margin-bottom: 12px;
}
.pt-banner strong { color: #fff; }

.pt-steps {
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 0;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pt-steps::-webkit-scrollbar { display: none; }

.pt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding: 10px 8px;
  border-radius: 8px;
  gap: 5px;
  flex-shrink: 0;
  position: relative;
  /* chevron shape */
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}

.pt-step:first-child {
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.pt-step:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%);
}

.pt-step.pt-done {
  background: #166534;
}

.pt-step.pt-current {
  background: #dc2626;
}

.pt-step.pt-future {
  background: rgba(255,255,255,.06);
}

.pt-check {
  font-size: 1rem;
  font-weight: 800;
  color: #86efac;
  line-height: 1;
}

.pt-num {
  font-size: .9rem;
  font-weight: 800;
  color: rgba(255,255,255,.5);
  line-height: 1;
}

.pt-step.pt-current .pt-num {
  color: #fff;
  font-size: 1.1rem;
}

.pt-slabel {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  text-align: center;
  color: rgba(255,255,255,.6);
  line-height: 1.2;
}

.pt-step.pt-done .pt-slabel    { color: #86efac; }
.pt-step.pt-current .pt-slabel { color: #fca5a5; }

.pt-sep {
  color: rgba(255,255,255,.15);
  font-size: .8rem;
  flex-shrink: 0;
  margin: 0 -2px;
  display: none; /* chevron shape handles visual separation */
}
