    :root {
      --bg-color: #030712;
      --panel-bg: rgba(17, 24, 39, 0.45);
      --panel-border: rgba(255, 255, 255, 0.08);
      --primary: hsl(263, 90%, 68%);
      --primary-glow: hsla(263, 90%, 68%, 0.2);
      --accent: hsl(190, 95%, 50%);
      --accent-glow: hsla(190, 95%, 50%, 0.2);
      --success: hsl(145, 85%, 50%);
      --success-glow: hsla(145, 85%, 50%, 0.15);
      --warning: hsl(40, 95%, 55%);
      --danger: hsl(355, 90%, 60%);
      --danger-glow: hsla(355, 90%, 60%, 0.2);
      --text-main: #f3f4f6;
      --text-muted: #9ca3af;
      --font-family: 'Plus Jakarta Sans', sans-serif;
      --font-title: 'Outfit', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      --glass-blur: blur(16px);
      --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-main);
      font-family: var(--font-family);
      min-height: 100vh;
      overflow-x: hidden;
      background-image:
        radial-gradient(circle at 10% 20%, rgba(120, 50, 255, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.05) 0%, transparent 45%);
    }

    /* Scrollbar Design */
    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    ::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.01);
    }
    ::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 9999px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: var(--primary);
    }

    header {
      padding: 1.25rem 2rem;
      border-bottom: 1px solid var(--panel-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(3, 7, 18, 0.85);
      backdrop-filter: var(--glass-blur);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .logo-container {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .logo-circle {
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      box-shadow: 0 0 15px var(--primary-glow);
      position: relative;
      animation: pulse-glow 3s infinite alternate;
    }

    h1 {
      font-family: var(--font-title);
      font-size: 1.4rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      background: linear-gradient(to right, #ffffff, #d8b4fe);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .system-health {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .stat-badge {
      background: var(--panel-bg);
      border: 1px solid var(--panel-border);
      padding: 0.4rem 0.85rem;
      border-radius: 9999px;
      font-size: 0.8rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .pulse-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 8px var(--success);
      animation: pulse-light 1.5s infinite;
    }

    /* Main content area — each panel owns its own internal layout. */
    main {
      padding: 2rem;
      max-width: 1750px;
      margin: 0 auto;
    }

    /* Glass Panels */
    .glass-panel {
      background: var(--panel-bg);
      border: 1px solid var(--panel-border);
      border-radius: 16px;
      padding: 1.5rem;
      box-shadow:
        0 10px 30px -10px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
      backdrop-filter: var(--glass-blur);
    }

    h2 {
      font-family: var(--font-title);
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #ffffff;
      letter-spacing: 0.02em;
    }

    /* Launch Form Controls */
    .form-group {
      margin-bottom: 1.25rem;
    }

    label {
      display: block;
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-bottom: 0.4rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    input, select, textarea {
      width: 100%;
      background: rgba(3, 7, 18, 0.6);
      border: 1px solid var(--panel-border);
      border-radius: 8px;
      padding: 0.7rem 0.85rem;
      color: var(--text-main);
      font-family: inherit;
      font-size: 0.88rem;
      transition: var(--transition);
    }

    input:focus, select:focus, textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 10px var(--primary-glow);
    }

    .btn-submit {
      width: 100%;
      background: linear-gradient(135deg, var(--primary), #5f3fe8);
      border: none;
      border-radius: 8px;
      padding: 0.8rem;
      color: #ffffff;
      font-weight: 600;
      font-family: var(--font-title);
      font-size: 0.9rem;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(95, 63, 232, 0.25);
      transition: var(--transition);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-submit:hover {
      transform: translateY(-1.5px);
      box-shadow: 0 6px 20px rgba(95, 63, 232, 0.4);
      filter: brightness(1.05);
    }

    /* Content Layout */
    .dashboard-content {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    /* Session Monitor Cards */
    .session-section {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .session-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1rem;
    }

    .no-sessions {
      grid-column: 1 / -1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 3rem 1.5rem;
      color: var(--text-muted);
      border: 1.5px dashed var(--panel-border);
      border-radius: 12px;
      gap: 0.75rem;
      background: rgba(255, 255, 255, 0.01);
    }

    .no-sessions svg {
      width: 2.25rem;
      height: 2.25rem;
      color: rgba(255, 255, 255, 0.08);
    }

    .session-card {
      background: rgba(17, 24, 39, 0.3);
      border: 1px solid var(--panel-border);
      border-radius: 12px;
      padding: 1rem;
      transition: var(--transition);
      cursor: pointer;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .session-card:hover {
      transform: translateY(-2px);
      border-color: var(--primary);
      background: rgba(17, 24, 39, 0.45);
    }

    .session-card.selected {
      border-color: var(--accent);
      background: rgba(0, 210, 255, 0.02);
      box-shadow: inset 0 0 10px rgba(0, 210, 255, 0.03);
    }

    .card-title-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .card-title-row h3 {
      font-size: 0.95rem;
      font-weight: 700;
      color: #ffffff;
      font-family: var(--font-title);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 160px;
    }

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

    .status-running {
      background: rgba(0, 210, 255, 0.1);
      color: var(--accent);
      border: 1px solid rgba(0, 210, 255, 0.2);
    }

    .status-completed {
      background: rgba(0, 255, 120, 0.1);
      color: var(--success);
      border: 1px solid rgba(0, 255, 120, 0.2);
    }

    .status-failed {
      background: rgba(255, 50, 50, 0.1);
      color: var(--danger);
      border: 1px solid rgba(255, 50, 50, 0.2);
    }

    .status-killed {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
      border: 1px solid var(--panel-border);
    }

    .card-meet-link {
      font-size: 0.72rem;
      color: var(--text-muted);
      text-decoration: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: block;
      transition: var(--transition);
    }

    .card-meet-link:hover {
      color: var(--accent);
    }

    .card-info-metrics {
      display: flex;
      justify-content: space-between;
      font-size: 0.72rem;
      color: var(--text-muted);
      border-top: 1px solid rgba(255, 255, 255, 0.03);
      padding-top: 0.5rem;
    }

    /* REAL-TIME COCKPIT VIEWPORT & SURVEILLANCE PANEL */
    .cockpit-panel {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 1.5rem;
    }

    @media (max-width: 900px) {
      .cockpit-panel {
        grid-template-columns: 1fr;
      }
    }

    .viewport-container {
      background: #060914;
      border: 1px solid var(--panel-border);
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      aspect-ratio: 16/9;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .viewport-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .viewport-overlay {
      position: absolute;
      top: 0.75rem;
      left: 0.75rem;
      right: 0.75rem;
      display: flex;
      justify-content: space-between;
      pointer-events: none;
    }

    .rec-badge {
      background: rgba(220, 38, 38, 0.85);
      border: 1px solid rgba(220, 38, 38, 0.5);
      color: #ffffff;
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      font-family: var(--font-title);
      font-weight: 700;
      font-size: 0.65rem;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
    }

    .rec-pulse-dot {
      width: 6px;
      height: 6px;
      background: #fff;
      border-radius: 50%;
      animation: pulse-light 1s infinite;
    }

    .feed-info-badge {
      background: rgba(0, 0, 0, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      font-size: 0.65rem;
      color: var(--accent);
      font-family: var(--font-mono);
    }

    /* Speech State & Audio Wave Indicator */
    .speech-tracker-container {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .speech-wave-card {
      background: rgba(3, 7, 18, 0.35);
      border: 1px solid var(--panel-border);
      border-radius: 12px;
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

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

    .speech-state-badge {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      padding: 0.25rem 0.6rem;
      border-radius: 6px;
      letter-spacing: 0.05em;
    }

    .state-asking { background: rgba(147, 51, 234, 0.15); color: #c084fc; border: 1px solid rgba(147, 51, 234, 0.3); }
    .state-listening { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
    .state-speaking { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); animation: pulse-border 1.5s infinite; }
    .state-silence { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
    .state-setup { background: rgba(107, 114, 128, 0.15); color: #9ca3af; border: 1px solid rgba(107, 114, 128, 0.3); }
    .state-complete { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }

    .wave-svg {
      width: 100%;
      height: 36px;
      stroke: var(--text-muted);
      stroke-width: 2;
      stroke-linecap: round;
      fill: none;
      transition: var(--transition);
    }

    .wave-svg.speaking {
      stroke: var(--accent);
      filter: drop-shadow(0 0 6px var(--accent-glow));
    }
    .wave-svg.asking {
      stroke: #c084fc;
      filter: drop-shadow(0 0 6px rgba(147, 51, 234, 0.3));
    }

    .wave-bar {
      transform-origin: bottom;
    }

    /* Live Candidate Speech Box */
    .speech-transcript-box {
      background: rgba(3, 7, 18, 0.8);
      border: 1px solid var(--panel-border);
      border-radius: 8px;
      padding: 0.75rem;
      min-height: 52px;
      max-height: 80px;
      overflow-y: auto;
      font-size: 0.8rem;
      line-height: 1.45;
      color: #e5e7eb;
      font-style: italic;
    }

    /* Steps Progress Timeline */
    .timeline-card {
      background: rgba(3, 7, 18, 0.35);
      border: 1px solid var(--panel-border);
      border-radius: 12px;
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .steps-container {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.25rem;
    }

    .step-node {
      width: 1.75rem;
      height: 1.75rem;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.03);
      border: 1.5px solid var(--panel-border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--text-muted);
      font-family: var(--font-title);
      transition: var(--transition);
      position: relative;
    }

    .step-node.completed {
      background: var(--success-glow);
      border-color: var(--success);
      color: var(--success);
    }

    .step-node.active {
      background: var(--primary-glow);
      border-color: var(--primary);
      color: #ffffff;
      box-shadow: 0 0 10px var(--primary-glow);
      animation: pulse-light 1.5s infinite;
    }

    .step-connector {
      flex: 1;
      height: 2px;
      background: var(--panel-border);
      transition: var(--transition);
    }

    .step-connector.completed {
      background: var(--success);
    }

    .step-connector.active {
      background: var(--primary);
    }

    .current-question-script {
      font-size: 0.82rem;
      line-height: 1.5;
      color: #f3f4f6;
      border-left: 3px solid var(--primary);
      padding-left: 0.75rem;
      font-weight: 500;
    }

    /* Metadata Panel Grid */
    .meta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
    }

    .meta-item {
      background: rgba(3, 7, 18, 0.35);
      border: 1px solid var(--panel-border);
      border-radius: 8px;
      padding: 0.6rem 0.85rem;
      display: flex;
      flex-direction: column;
    }

    .meta-item span:first-child {
      font-size: 0.65rem;
      text-transform: uppercase;
      color: var(--text-muted);
      letter-spacing: 0.05em;
      margin-bottom: 0.15rem;
    }

    .meta-item span:last-child {
      font-size: 0.82rem;
      font-weight: 600;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Terminal Console */
    .terminal-panel {
      font-family: var(--font-mono);
      background: #020408;
      border: 1px solid var(--panel-border);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }

    .terminal-header {
      background: #070a13;
      padding: 0.6rem 1.25rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--panel-border);
    }

    .terminal-title {
      font-size: 0.8rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .terminal-dots {
      display: flex;
      gap: 5px;
    }

    .dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #333;
    }

    .dot-red { background: #ff5f56; }
    .dot-yellow { background: #ffbd2e; }
    .dot-green { background: #27c93f; }

    .btn-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--panel-border);
      color: var(--text-main);
      padding: 0.35rem 0.7rem;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 500;
      cursor: pointer;
      transition: var(--transition);
    }

    .btn-card:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.15);
    }

    .btn-danger {
      color: var(--danger);
      border-color: rgba(255, 50, 50, 0.2);
    }

    .btn-danger:hover {
      background: var(--danger);
      color: #ffffff;
      border-color: var(--danger);
    }

    .terminal-body {
      height: 250px;
      padding: 1rem 1.25rem;
      overflow-y: auto;
      font-size: 0.8rem;
      line-height: 1.45;
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
      scroll-behavior: smooth;
    }

    .log-line {
      white-space: pre-wrap;
      word-break: break-all;
    }

    .log-info { color: #38bdf8; }
    .log-warn { color: var(--warning); }
    .log-err { color: var(--danger); }
    .log-system { color: var(--text-muted); }

    /* Empty Cockpit Panel Overlay */
    .empty-cockpit {
      grid-column: 1 / -1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 6rem 2rem;
      text-align: center;
      color: var(--text-muted);
      border: 1px dashed var(--panel-border);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.005);
      gap: 1rem;
    }

    .empty-cockpit svg {
      width: 3.5rem;
      height: 3.5rem;
      color: rgba(255, 255, 255, 0.05);
    }

    .empty-cockpit p {
      font-family: var(--font-title);
      font-size: 1rem;
      font-weight: 500;
      color: var(--text-main);
    }

    /* Keyframes */
    @keyframes pulse-light {
      0% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.1); opacity: 0.6; }
      100% { transform: scale(1); opacity: 1; }
    }

    @keyframes pulse-glow {
      0% { box-shadow: 0 0 10px var(--primary-glow); }
      100% { box-shadow: 0 0 25px rgba(120, 50, 255, 0.35); }
    }

    @keyframes pulse-border {
      0% { border-color: rgba(6, 182, 212, 0.3); }
      50% { border-color: rgba(6, 182, 212, 0.85); box-shadow: 0 0 8px rgba(6, 182, 212, 0.25); }
      100% { border-color: rgba(6, 182, 212, 0.3); }
    }

    /* ========================================================================
       UI Kit — reusable components (status pills, feedback chips, data tables,
       booking cards, stat chips, two-column layouts). Replaces inline styles
       in cohort.js, monitor.js, and the Sessions panel.
       ===================================================================== */

    /* ---- Status pills (interviewed / booked / pending / etc.) ------------ */
    .pill {
      display: inline-flex; align-items: center; gap: 0.4rem;
      padding: 0.22rem 0.65rem; border-radius: 999px;
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
      border: 1px solid;
    }
    .pill::before {
      content: ""; width: 6px; height: 6px; border-radius: 50%;
      background: currentColor;
    }
    .pill--ok    { color: var(--success);  border-color: hsla(145, 85%, 50%, 0.4); background: hsla(145, 85%, 50%, 0.10); }
    .pill--info  { color: var(--accent);   border-color: hsla(190, 95%, 50%, 0.4); background: hsla(190, 95%, 50%, 0.10); }
    .pill--muted { color: #94a3b8;         border-color: rgba(148, 163, 184, 0.3); background: rgba(148, 163, 184, 0.08); }
    .pill--warn  { color: var(--warning);  border-color: hsla(40, 95%, 55%, 0.4);  background: hsla(40, 95%, 55%, 0.10); }
    .pill--danger{ color: var(--danger);   border-color: hsla(355, 90%, 60%, 0.4); background: hsla(355, 90%, 60%, 0.10); }

    /* ---- Launch feedback chip (under the Deploy button) ------------------ */
    .feedback {
      display: flex; align-items: center; gap: 0.5rem;
      margin-top: 0.7rem; padding: 0.5rem 0.75rem;
      border-radius: 8px; font-size: 0.78rem; font-weight: 500;
      border: 1px solid transparent; background: transparent;
      min-height: 1.1rem; transition: var(--transition);
    }
    .feedback:empty { padding: 0; border: 0; min-height: 0; margin-top: 0; }
    .feedback:empty::before { display: none; }
    .feedback::before {
      content: ""; width: 6px; height: 6px; border-radius: 50%;
      background: currentColor; flex-shrink: 0;
    }
    .feedback--ok    { color: var(--success); background: hsla(145, 85%, 50%, 0.08); border-color: hsla(145, 85%, 50%, 0.25); }
    .feedback--muted { color: var(--text-muted); background: rgba(148, 163, 184, 0.06); border-color: rgba(148, 163, 184, 0.15); }
    .feedback--warn  { color: var(--warning); background: hsla(40, 95%, 55%, 0.08); border-color: hsla(40, 95%, 55%, 0.3); }
    .feedback--loading { color: var(--text-muted); background: rgba(148, 163, 184, 0.06); border-color: rgba(148, 163, 184, 0.15); }
    .feedback--loading::before {
      animation: pulse-light 1.2s ease-in-out infinite;
    }

    /* ---- Data table (cohort roster) -------------------------------------- */
    .data-table {
      width: 100%; border-collapse: collapse; font-size: 0.9rem;
    }
    .data-table thead th {
      text-align: left; padding: 0.6rem 0.75rem;
      color: var(--text-muted); font-size: 0.7rem;
      text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
      border-bottom: 1px solid var(--panel-border);
    }
    .data-table tbody tr {
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      transition: background 0.15s ease;
    }
    .data-table tbody tr:hover {
      background: rgba(255, 255, 255, 0.02);
    }
    .data-table tbody tr:last-child { border-bottom: 0; }
    .data-table td { padding: 0.7rem 0.75rem; color: var(--text-main); }
    .data-table .num {
      font-family: var(--font-mono); font-weight: 700;
      text-align: center; font-size: 0.95rem;
    }
    .data-table .num--filled { color: #fff; }
    .data-table .num--empty  { color: rgba(148, 163, 184, 0.4); }
    .data-table .meta {
      font-family: var(--font-mono); font-size: 0.75rem;
      color: var(--text-muted);
    }
    .data-table a.notes-link {
      color: var(--primary); font-size: 0.8rem; font-weight: 600;
      text-decoration: none; transition: var(--transition);
    }
    .data-table a.notes-link:hover { color: var(--accent); }

    /* ---- Booking card (upcoming auto-join) ------------------------------- */
    .booking-card {
      display: flex; justify-content: space-between; align-items: center;
      gap: 1rem; padding: 0.85rem 1rem;
      border: 1px solid var(--panel-border); border-radius: 10px;
      background: rgba(255, 255, 255, 0.015);
      margin-bottom: 0.5rem; transition: var(--transition);
    }
    .booking-card:last-child { margin-bottom: 0; }
    .booking-card:hover {
      border-color: hsla(190, 95%, 50%, 0.35);
      background: rgba(6, 182, 212, 0.04);
    }
    .booking-card__title { font-weight: 700; color: var(--text-main); }
    .booking-card__time {
      font-size: 0.78rem; color: var(--text-muted);
      font-family: var(--font-mono); margin-top: 0.15rem;
    }
    .booking-card__join {
      color: var(--primary); font-weight: 600; font-size: 0.8rem;
      text-decoration: none; padding: 0.4rem 0.75rem; border-radius: 6px;
      border: 1px solid hsla(263, 90%, 68%, 0.3);
      transition: var(--transition); white-space: nowrap;
    }
    .booking-card__join:hover {
      background: hsla(263, 90%, 68%, 0.1);
      border-color: var(--primary);
    }

    /* ---- Stat chips (header summary line) -------------------------------- */
    .stat-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
    .stat-chip {
      display: inline-flex; align-items: center; gap: 0.35rem;
      padding: 0.2rem 0.55rem; border-radius: 6px;
      font-size: 0.75rem; font-weight: 600;
      background: rgba(255, 255, 255, 0.025); border: 1px solid var(--panel-border);
      color: var(--text-muted);
    }
    .stat-chip strong { color: var(--text-main); font-weight: 700; }
    .stat-chip--ok    strong { color: var(--success); }
    .stat-chip--info  strong { color: var(--accent); }
    .stat-chip--muted strong { color: #94a3b8; }

    /* ---- Empty state ----------------------------------------------------- */
    .empty-state-soft {
      color: var(--text-muted); font-size: 0.85rem;
      padding: 0.9rem 0.5rem; text-align: left;
    }

    /* ---- Cohort tab container ------------------------------------------- */
    .cohort-wrap {
      max-width: 1280px; margin: 0 auto;
      display: flex; flex-direction: column; gap: 1.5rem;
    }
    .cohort-header {
      display: flex; justify-content: space-between; align-items: center;
      gap: 1rem; flex-wrap: wrap;
    }
    .cohort-header__title { margin: 0; font-size: 1.25rem; }
    .cohort-header__sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }

    /* ---- Sessions grid: wider screens, no dead space ------------------- */
    .sessions-grid {
      display: grid;
      grid-template-columns: minmax(320px, 380px) 1fr;
      gap: 1.5rem;
      max-width: 1750px;
      margin: 0 auto;
    }
    @media (max-width: 980px) {
      .sessions-grid { grid-template-columns: 1fr; }
    }

    /* Button variant — used by the Cohort refresh button */
    .btn-secondary {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--panel-border);
      color: var(--text-main);
      padding: 0.5rem 1rem; border-radius: 8px;
      font-family: var(--font-family); font-size: 0.82rem; font-weight: 600;
      cursor: pointer; transition: var(--transition);
      display: inline-flex; align-items: center; gap: 0.45rem;
    }
    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: hsla(263, 90%, 68%, 0.4);
      color: #fff;
    }
