  /* ── Lab-level resets ───────────────────────────────────────────── */
  body { overflow-x: hidden; }

  /* ── Step wizard indicators ─────────────────────────────────────── */
  .step-pill {
    transition: all 0.3s ease;
  }
  .step-pill.active {
    background: #f59e0b;
    color: #0a0f1e;
    box-shadow: 0 0 12px rgba(245,158,11,0.5);
  }
  .step-pill.done {
    background: #22c55e;
    color: #0a0f1e;
  }
  .step-pill.future {
    background: #1f2937;
    color: #6b7280;
  }

  /* ── Agency card ────────────────────────────────────────────────── */
  .agency-card {
    border: 2px solid #1f2937;
    background: #0d1625;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .agency-card:hover {
    border-color: #f59e0b;
    background: rgba(245,158,11,0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.15);
  }
  .agency-card.selected {
    border-color: #ef4444;
    background: rgba(239,68,68,0.08);
    box-shadow: 0 0 20px rgba(239,68,68,0.25);
  }

  /* ── SpoofCall Pro app mockup ───────────────────────────────────── */
  .spoofcall-app {
    background: linear-gradient(135deg, #0f1a2e 0%, #0a1220 100%);
    border: 1px solid #1e3a5f;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(30,58,95,0.5);
  }
  .spoofcall-header {
    background: linear-gradient(90deg, #0a2040 0%, #0d2847 100%);
    border-bottom: 1px solid #1e3a5f;
    border-radius: 16px 16px 0 0;
  }
  .spoofcall-input {
    background: #050d1a;
    border: 1px solid #1e3a5f;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: #22c55e;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    padding: 12px 16px;
  }
  .spoofcall-input:focus { outline: none; }
  .spoofcall-input.input-complete {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34,197,94,0.2), 0 0 20px rgba(34,197,94,0.15);
    color: #22c55e;
  }
  .spoofcall-input.input-active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
  }
  .spoofcall-field-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #4b7ea3;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-family: 'Courier New', monospace;
  }
  .spoofcall-btn {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
  }
  .spoofcall-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 20px rgba(29,78,216,0.5);
    transform: translateY(-1px);
  }
  .spoofcall-btn:disabled {
    background: #1e3a5f;
    color: #4b7ea3;
    cursor: not-allowed;
    opacity: 0.6;
  }
  .spoofcall-btn.btn-ready {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 0 20px rgba(22,163,74,0.4);
    animation: pulse-call 2s ease-in-out infinite;
  }
  @keyframes pulse-call {
    0%, 100% { box-shadow: 0 0 20px rgba(22,163,74,0.4); }
    50% { box-shadow: 0 0 35px rgba(22,163,74,0.7); }
  }

  /* ── Radio-style toggle ─────────────────────────────────────────── */
  .radio-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #1f2937;
    transition: all 0.2s;
  }
  .radio-option.selected {
    color: #22c55e;
    border-color: #22c55e;
    background: rgba(34,197,94,0.08);
  }
  .radio-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid #374151;
    transition: all 0.2s;
  }
  .radio-option.selected .radio-dot {
    background: #22c55e;
    border-color: #22c55e;
  }

  /* ── Call screen layout ─────────────────────────────────────────── */
  .call-screen-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  @media (max-width: 768px) {
    .call-screen-wrapper {
      grid-template-columns: 1fr;
    }
  }

  /* ── Scammer panel ──────────────────────────────────────────────── */
  .scammer-panel {
    background: linear-gradient(135deg, #0f1a2e 0%, #0a1220 100%);
    border: 1px solid #1e3a5f;
    border-radius: 16px;
  }
  .call-timer {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: #22c55e;
    text-shadow: 0 0 20px rgba(34,197,94,0.4);
    letter-spacing: 0.1em;
  }
  .connected-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    color: #22c55e;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
  }
  .connected-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: blink-dot 1s ease-in-out infinite;
  }
  @keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  /* ── iPhone frame ───────────────────────────────────────────────── */
  .iphone-frame {
    background: #1a1a1a;
    border-radius: 44px;
    padding: 12px;
    box-shadow:
      0 0 0 1px #2a2a2a,
      0 0 0 3px #0f0f0f,
      0 30px 80px rgba(0,0,0,0.8),
      inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
    max-width: 280px;
    margin: 0 auto;
  }
  .iphone-screen {
    background: linear-gradient(160deg, #1c1c2e 0%, #0f0f1a 100%);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
  }
  .iphone-notch {
    background: #1a1a1a;
    height: 30px;
    width: 120px;
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
    position: relative;
    z-index: 2;
  }
  .iphone-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px 0;
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
  }
  .iphone-call-bg {
    background: linear-gradient(180deg, #1c2940 0%, #0d1c33 60%, #0a1220 100%);
    padding: 20px 20px 30px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .iphone-contact-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 16px 0 12px;
    box-shadow: 0 4px 20px rgba(29,78,216,0.4);
  }
  .iphone-caller-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .iphone-caller-name {
    font-size: 28px;
    font-weight: 600;
    color: white;
    letter-spacing: -0.5px;
    text-align: center;
  }
  .iphone-caller-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
    text-align: center;
  }
  .iphone-caller-number {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
    font-family: 'Courier New', monospace;
  }
  .iphone-call-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 12px 0 24px;
  }
  .iphone-buttons {
    display: flex;
    gap: 40px;
    margin-top: auto;
    justify-content: center;
    width: 100%;
  }
  .iphone-btn-decline {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    box-shadow: 0 4px 15px rgba(239,68,68,0.5);
    flex-direction: column;
  }
  .iphone-btn-accept {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    box-shadow: 0 4px 15px rgba(34,197,94,0.5);
    flex-direction: column;
  }
  .iphone-btn-label {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    text-align: center;
  }

  /* ── Transcript ─────────────────────────────────────────────────── */
  .transcript-line {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease;
  }
  .transcript-line.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .transcript-scammer {
    background: rgba(239,68,68,0.06);
    border-left: 3px solid #ef4444;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-bottom: 8px;
  }
  .transcript-target {
    background: rgba(59,130,246,0.06);
    border-left: 3px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-bottom: 8px;
  }
  .transcript-speaker {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 4px;
  }
  .transcript-text {
    font-size: 13px;
    line-height: 1.6;
    color: #d1d5db;
  }
  .typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #22c55e;
    margin-left: 2px;
    animation: blink-cursor 0.7s step-end infinite;
    vertical-align: middle;
  }
  @keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  /* ── Stats card ─────────────────────────────────────────────────── */
  .stat-card {
    background: #0d1625;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
  }
  .stat-value {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 4px;
  }
  .stat-label {
    font-size: 11px;
    color: #9ca3af;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* ── Defender annotations ───────────────────────────────────────── */
  .annotation-badge {
    position: absolute;
    background: rgba(239,68,68,0.9);
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(239,68,68,0.4);
    animation: annotation-pulse 2s ease-in-out infinite;
  }
  @keyframes annotation-pulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(239,68,68,0.4); }
    50% { box-shadow: 0 2px 16px rgba(239,68,68,0.7); }
  }
  .annotation-line {
    position: absolute;
    background: #ef4444;
    height: 2px;
    transform-origin: left center;
  }

  /* ── Checklist ──────────────────────────────────────────────────── */
  .check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #1f2937;
  }
  .check-item:last-child { border-bottom: none; }
  .check-box {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: rgba(34,197,94,0.15);
    border: 2px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* ── Google search mockup ───────────────────────────────────────── */
  .fake-browser {
    background: #202124;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
  }
  .fake-browser-bar {
    background: #303134;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .fake-browser-dots {
    display: flex;
    gap: 5px;
  }
  .fake-browser-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
  }
  .fake-browser-url {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    color: #9aa0a6;
    flex: 1;
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .fake-search-result {
    padding: 14px;
    background: #202124;
  }
  .fake-result-url {
    font-size: 11px;
    color: #bdc1c6;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .fake-result-title {
    font-size: 16px;
    color: #8ab4f8;
    margin-bottom: 4px;
  }
  .fake-result-snippet {
    font-size: 13px;
    color: #bdc1c6;
    line-height: 1.5;
  }
  .fake-result-snippet strong {
    color: white;
  }
  .search-highlight-box {
    background: rgba(34,197,94,0.08);
    border: 2px solid #22c55e;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 8px;
    font-size: 12px;
    color: #22c55e;
    font-family: 'Courier New', monospace;
  }

  /* ── Phase transitions ──────────────────────────────────────────── */
  .phase-panel {
    animation: fadeSlideIn 0.5s ease-out forwards;
  }
  @keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── Glowing number field ───────────────────────────────────────── */
  @keyframes complete-glow {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.8); }
    70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
  }
  .number-complete-flash {
    animation: complete-glow 0.6s ease-out;
  }

  /* ── Screen split on call ───────────────────────────────────────── */
  .split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  @media (max-width: 700px) {
    .split-screen {
      grid-template-columns: 1fr;
    }
  }

  /* ── Defender overlay annotation ────────────────────────────────── */
  .defender-iphone {
    position: relative;
  }
  .defender-tag {
    background: rgba(239,68,68,0.95);
    color: white;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 4px 0;
    display: block;
    animation: annotation-pulse 2s ease-in-out infinite;
  }
  .defender-arrow {
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 10px solid rgba(239,68,68,0.95);
    display: inline-block;
    margin-right: 4px;
  }

  /* ── Guidance hint label ─────────────────────────────────────────── */
  @keyframes hintPulse {
    0%, 100% { opacity: 0.85; transform: translateY(0); }
    50%       { opacity: 1;    transform: translateY(-2px); }
  }
  .guidance-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    color: #fbbf24;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 6px;
    padding: 3px 8px;
    animation: hintPulse 2s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
  }

  /* ── Agency cards pick hint ──────────────────────────────────────── */
  @keyframes pickBounce {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(4px); }
  }
  .pick-hint-arrow {
    animation: pickBounce 1.2s ease-in-out infinite;
    color: #fbbf24;
  }

  /* ── Spoofcall input field active hint ──────────────────────────── */
  @keyframes fieldGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.0); }
    50%       { box-shadow: 0 0 0 3px rgba(245,158,11,0.35); }
  }
  .spoofcall-input-hint {
    animation: fieldGlow 2s ease-in-out infinite;
  }

  /* ── Route trace nodes ───────────────────────────────────────────── */
  .route-node {
    background: #0d1625;
    border: 2px solid #1f2937;
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.4s ease;
    position: relative;
  }
  .route-node.node-active {
    border-color: #f59e0b;
    background: rgba(245,158,11,0.06);
    box-shadow: 0 0 20px rgba(245,158,11,0.2);
  }
  .route-node.node-done {
    border-color: #22c55e;
    background: rgba(34,197,94,0.05);
  }
  .route-node.node-stir.node-active {
    border-color: #ef4444;
    background: rgba(239,68,68,0.08);
    box-shadow: 0 0 20px rgba(239,68,68,0.25);
  }
  .route-node.node-stir.node-done {
    border-color: #ef4444;
    background: rgba(239,68,68,0.06);
  }
  .route-node.node-phone.node-done {
    border-color: #22c55e;
    background: rgba(34,197,94,0.08);
    box-shadow: 0 0 20px rgba(34,197,94,0.25);
  }
  .route-connector {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    position: relative;
  }
  .route-connector-line {
    width: 2px;
    height: 100%;
    background: #1f2937;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
  }
  .route-connector-line.line-active {
    background: #374151;
  }
  .route-connector-dot {
    position: absolute;
    top: -6px;
    left: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f59e0b;
    animation: data-flow 0.7s ease-in-out forwards;
  }
  @keyframes data-flow {
    0%   { top: -6px; opacity: 1; }
    100% { top: calc(100% - 4px); opacity: 0.3; }
  }
  .route-node-label {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
    font-family: 'Courier New', monospace;
    margin-bottom: 2px;
  }
  .route-node.node-active .route-node-label { color: #f59e0b; }
  .route-node.node-done .route-node-label   { color: #22c55e; }
  .route-node.node-stir.node-active .route-node-label { color: #ef4444; }
  .route-node.node-stir.node-done  .route-node-label  { color: #fca5a5; }
  .route-node-name {
    font-size: 13px;
    font-weight: bold;
    color: #6b7280;
    font-family: 'Courier New', monospace;
  }
  .route-node.node-active .route-node-name { color: #fde68a; }
  .route-node.node-done .route-node-name   { color: #86efac; }
  .route-node.node-stir.node-active .route-node-name { color: #fca5a5; }
  .route-node.node-stir.node-done  .route-node-name  { color: #fca5a5; }
  .route-node.node-phone.node-done .route-node-name  { color: #4ade80; }
  .route-code-snippet {
    background: #050d1a;
    border: 1px solid #1e3a5f;
    border-radius: 6px;
    padding: 8px 10px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #22c55e;
    margin-top: 8px;
    line-height: 1.6;
    white-space: pre;
    overflow-x: auto;
    max-height: 60px;
  }
  .route-node-status {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 10px;
    font-family: 'Courier New', monospace;
  }
  @keyframes route-spin {
    to { transform: rotate(360deg); }
  }
  .route-node-spinner {
    display: inline-block;
    animation: route-spin 0.8s linear infinite;
  }
  .route-summary {
    background: rgba(239,68,68,0.07);
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 20px;
    animation: fadeSlideIn 0.5s ease-out forwards;
  }
