  :root {
    --bg: #23133a;
    --bg-card: #23133a;
    --bg-card2: #1f1232;
    --border: #3a1c63;
    --border-bright: #5e309d;
    --cyan: #883CF0;
    --cyan-dim: #883CF0;
    --cyan-glow: #be52e50f;
    --amber: #883CF0;
    --amber-dim: #amber-dim;
    --green: #10d98a;
    --green-dim: rgba(16,217,138,0.12);
    --red: #f04040;
    --red-dim: rgba(240,64,64,0.12);
    --purple: #a855f7;
    --purple-dim: rgba(168,85,247,0.12);
    --text: #e2eaf5;
    --text-dim: #d6d6d6;
    --text-muted: #d6d6d6;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  .ai-pam-training-guide {
    background: #191127;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
  }

  .main{
    height: 100vh;
    overflow-y: auto;
  }

  /* HEADER */
   .ai-pam-training-guide header {
    position: relative;
    padding: 48px 48px 0;
    z-index: 1;
  }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    text-transform: uppercase;
    color: #fff;
    background: var(--cyan-dim);
    border: 1px solid var(--border-bright);
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 20px;
  }

  .badge::before {
    content: '';
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--cyan-glow); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
  }

  h1 {
    
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    max-width: 800px;
  }

  h1 span.accent { color: var(--cyan); }

  .subtitle {
    font-size: 16px;
    color: var(--text-dim);
    margin-top: 16px;
    max-width: 620px;
    line-height: 1.7;
    font-weight: 300;
  }

  /* PROGRESS BAR */
  .progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
  }

  .prog-step {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--bg-card);
    font-size: 10px;
    color: var(--text-muted);
    transition: all 0.25s;
    white-space: nowrap;
  }

  .prog-step:hover { border-color: var(--border-bright); color: var(--text-dim); }
  .prog-step.active { border-color: #5e309d; color: var(--cyan); background: #23133a; }
  .prog-step.done { border-color:#883CF0; color: #fff; background: #883cf050; }
  .prog-step .num {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: currentColor;
    color: #883CF0;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 700;
    flex-shrink: 0;
  }

  /* DIVIDER */
  .divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
    margin: 32px 48px;
  }

  /* NAV TABS */
  .nav-tabs {
    display: flex;
    gap: 0;
    padding: 0 48px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }

  .tab {
    padding: 14px 24px;
    cursor: pointer;
    
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .tab:hover { color: var(--text); }
  .tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
  .tab .tab-icon { font-size: 16px; }

  /* CONTENT SECTIONS */
  .content-area {
    padding: 40px 48px 80px;
    position: relative;
    z-index: 1;
  }

  .section { display: none; }
  .section.visible { display: block; animation: fadeIn 0.4s ease; }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* SECTION INTRO */
  .section-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .intro-text h2 {
    
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .intro-text p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.75;
    font-weight: 300;
  }

  .intro-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .stat-num {
    
    font-size: 28px;
    font-weight: 700;
    color: var(--cyan);
    min-width: 70px;
  }

  .stat-label {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
  }

  /* GRID CARDS */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
  }

  .card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
  }

  .card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
  }

  .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), transparent);
  }

  .card.amber::before { background: linear-gradient(90deg, var(--amber), transparent); }
  .card.green::before { background: linear-gradient(90deg, var(--green), transparent); }
  .card.purple::before { background: linear-gradient(90deg, var(--purple), transparent); }

  .card-icon {
    font-size: 24px;
    margin-bottom: 12px;
    display: block;
  }

  .card h3 {
    
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.65;
    font-weight: 300;
  }

  /* ANOMALY DETECTOR WIDGET */
  .anomaly-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px;
    margin-bottom: 32px;
  }

  .widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
  }

  .widget-title {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--cyan);
  }

  .live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    color: var(--green);
    text-transform: uppercase;
  }

  .live-dot {
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 1.5s infinite;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
  }

  /* ACCESS CHART */
  .access-timeline {
    position: relative;
    height: 120px;
    margin-bottom: 16px;
  }

  .timeline-bars {
    display: flex;
    align-items: flex-end;
    height: 100%;
    gap: 3px;
  }

  .bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
  }

  .bar.normal { background: #5e309d; }
  .bar.normal:hover { background: #3a1c63; }
  .bar.anomaly { background: var(--red); animation: anomPulse 2s infinite; }
  .bar.warning { background: var(--amber); }

  @keyframes anomPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--red); }
    50% { opacity: 0.7; box-shadow: 0 0 16px var(--red); }
  }

  .bar-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f1232;
    border: 1px solid var(--border-bright);
    padding: 6px 10px;
    border-radius: 3px;  
    font-size: 9px;
    white-space: nowrap;
    display: none;
    z-index: 1;
    margin-bottom: 4px;
  }

  .bar:hover .bar-tooltip { display: block; }

  .timeline-labels {
    display: flex;
    justify-content: space-between;
    
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 8px;
  }

  /* ALERT ITEMS */
  .alert-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .alert-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 4px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.2s;
  }

  .alert-item.high { background: rgba(240,64,64,0.06); border-color: rgba(240,64,64,0.3); }
  .alert-item.medium { background: rgba(245,158,11,0.06); border-color: rgba(245,158,11,0.3); }
  .alert-item.low { background: rgba(187, 0, 255, 0.04); border-color: var(--border); }

  .alert-item:hover { transform: translateX(4px); }

  .alert-sev {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .alert-item.high .alert-sev { background: var(--red-dim); color: var(--red); }
  .alert-item.medium .alert-sev { background: var(--amber-dim); color: var(--amber); }
  .alert-item.low .alert-sev { background: var(--cyan-dim); color: #fff; }

  .alert-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
  }

  .alert-detail {
    font-size: 11px;
    color: var(--text-dim);
    
  }

  .alert-action {
    margin-left: auto;
    font-size: 11px;
    color: #fff;
    border: 1px solid var(--border-bright);
    padding: 4px 10px;
    border-radius: 2px;
    flex-shrink: 0;
    align-self: center;
    transition: all 0.2s;
    
    cursor: pointer;
  }

  .alert-action:hover { background: var(--cyan-dim); }

  /* DISCOVERY SECTION */
  .discovery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .account-scanner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
  }

  .scan-terminal {
    background: #030810;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 16px;
    
    font-size: 11px;
    line-height: 1.8;
    color: var(--text-dim);
    height: 220px;
    overflow-y: auto;
    position: relative;
  }

  .scan-terminal .line-green { color: var(--green); }
  .scan-terminal .line-cyan { color: var(--cyan); }
  .scan-terminal .line-amber { color: var(--amber); }
  .scan-terminal .line-red { color: var(--red); }
  .scan-terminal .line-muted { color: var(--text-muted); }

  .cursor-blink::after {
    content: '▊';
    animation: blink 1s infinite;
    color: var(--green);
  }

  .scan-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-size: 11px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s;
  }

  .scan-btn:hover { background: var(--cyan-dim); color:#fff; }
  .scan-btn:disabled { opacity: 0.4; cursor: not-allowed; }

  /* DISCOVERY LEGEND */
  .signal-legend {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
  }

  .signal-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .signal-item:last-child { border-bottom: none; }

  .signal-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
  }

  .signal-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
  }

  .signal-desc {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.5;
  }

  /* ACCOUNT TABLE */
  .account-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    font-size: 12px;
  }

  .account-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    background: #883cf050;
  }

  .account-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #1f1232;
    color: var(--text-dim);
  }

  .account-table tr:hover td { background: #2a1647; }

  .risk-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px; 
    font-size: 9px;
    font-weight: 700;
  }

  .risk-pill.critical { background: var(--red-dim); color: var(--red); }
  .risk-pill.high { background: var(--amber-dim); color: var(--amber); }
  .risk-pill.medium { background: var(--purple-dim); color: var(--purple); }
  .risk-pill.low { background: var(--cyan-dim); color: #fff; }

  /* POLICY RECOMMENDATIONS */
  .policy-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .policy-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
  }

  .policy-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }

  .filter-chip {
    padding: 5px 12px;
    font-size: 9px;
    border: 1px solid var(--border);
    border-radius: 2px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    text-transform: uppercase;
  }

  .filter-chip:hover { border-color: var(--border-bright); color: var(--text-dim); }
  .filter-chip.active { border-color: var(--cyan); color: #fff; background: var(--cyan-dim); }

  .rec-item {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
  }

  .rec-item:hover { border-color: var(--border-bright); }
  .rec-item.selected { border-color: var(--cyan); background: var(--cyan-dim); }

  .rec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
  }

  .rec-name {
    font-size: 13px;
    font-weight: 500;
  }

  .rec-impact {
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 2px;
  }

  .impact-high { background: var(--green-dim); color: var(--green); }
  .impact-med { background: #23133a; color: var(--text-dim); }
  .impact-low { background: var(--cyan-dim); color: #fff; }

  .rec-desc {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.5;
  }

  .rec-confidence {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
  }

  .conf-bar-bg {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
  }

  .conf-bar-fill {
    height: 100%;
    background: var(--cyan);
    border-radius: 2px;
    transition: width 0.8s ease;
  }

  .conf-label {
    
    font-size: 9px;
    color: var(--text-muted);
  }

  /* DETAIL PANEL */
  .detail-panel-content {
    font-size: 13px;
    line-height: 1.7;
  }

  .detail-section-title {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 16px 0 8px;
  }

  .before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0;
  }

  .ba-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 12px;
  }

  .ba-label {
    font-size: 9px;
    text-transform: uppercase;
    margin-bottom: 6px;
  }

  .ba-box.before .ba-label { color: var(--red); }
  .ba-box.after .ba-label { color: var(--green); }

  .ba-perm {
    font-size: 11px;
    
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 0;
  }

  .ba-perm::before { content: '●'; font-size: 6px; }
  .ba-box.before .ba-perm::before { color: var(--red); }
  .ba-box.after .ba-perm::before { color: var(--green); }

  .action-btns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }

  .btn-primary, .btn-secondary {
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid;
  }

  .btn-primary { background: var(--cyan); border-color: var(--cyan); color: var(--bg); font-weight: 700; }
  .btn-primary:hover { background: #883cf0e0; border-color: #3a1c63; }

  .btn-secondary { background: transparent; border-color: var(--border-bright); color: var(--text-dim); }
  .btn-secondary:hover { border-color: var(--border-bright); background: #1f1232; color: var(--text); }

  /* ROADMAP */
  .roadmap-timeline {
    position: relative;
    padding-left: 32px;
    margin-bottom: 32px;
  }

  .roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 10px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--cyan), var(--purple), rgba(168,85,247,0.1));
  }

  .roadmap-phase {
    position: relative;
    margin-bottom: 32px;
  }

  .roadmap-dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 2px solid;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
  }

  .roadmap-dot.done { border-color: var(--green); }
  .roadmap-dot.active { border-color: var(--cyan); box-shadow: 0 0 12px var(--cyan-glow); }
  .roadmap-dot.planned { border-color: var(--text-muted); }
  .roadmap-dot.future { border-color: var(--purple); }

  .roadmap-dot::after {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
  }

  .roadmap-dot.done::after { background: var(--green); }
  .roadmap-dot.active::after { background: var(--cyan); animation: pulse 2s infinite; }
  .roadmap-dot.planned::after { background: var(--text-muted); }
  .roadmap-dot.future::after { background: var(--purple); }

  .phase-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  .phase-tag {
    
    font-size: 9px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
  }

  .phase-tag.done { background: var(--green-dim); color: var(--green); }
  .phase-tag.active { background: var(--cyan-dim); color: #fff; }
  .phase-tag.planned { background: rgba(255,255,255,0.05); color: var(--text-muted); }
  .phase-tag.future { background: var(--purple-dim); color: var(--purple); }

  .phase-title {
    
    font-size: 18px;
    font-weight: 700;
  }

  .phase-date {
    
    font-size: 10px;
    color: var(--text-muted);
    margin-left: auto;
  }

  .phase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }

  .feature-chip {
    font-size: 11px;
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .feature-chip.done { border-color: rgba(16,217,138,0.2); color: var(--green); }
  .feature-chip.active { border-color: var(--border-bright); color: var(--text); }

  /* KNOWLEDGE CHECK */
  .knowledge-check {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px;
    margin-top: 40px;
  }

  .kc-title {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .kc-title::before {
    content: '◆';
    font-size: 10px;
  }

  .question {
    
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .options {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dim);
    transition: all 0.2s;
    line-height: 1.5;
    background-color: #883cf050;
  }

  .option:hover { border-color: var(--border-bright); color: var(--text); }
  .option.correct { border-color: var(--green); background: var(--green-dim); color: var(--green); }
  .option.incorrect { border-color: var(--red); background: var(--red-dim); color: var(--red); }

  .opt-letter {
    
    font-size: 10px;
    font-weight: 700;
    min-width: 20px;
    margin-top: 1px;
  }

  .kc-feedback {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.6;
    display: none;
  }

  .kc-feedback.show { display: block; animation: fadeIn 0.3s ease; }
  .kc-feedback.correct-fb { background: var(--green-dim); border: 1px solid rgba(16,217,138,0.3); color: var(--green); }
  .kc-feedback.incorrect-fb { background: var(--red-dim); border: 1px solid rgba(240,64,64,0.3); color: #ff8080; }

  /* COMPLETION */
  .ai-pam-training-guide .completion-bar-container {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--bg-card);
    z-index: 1;
  }

  .ai-pam-training-guide .completion-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #5e309d, #fff);
    transition: width 0.5s ease;
  }

  /* TOOLTIP OVERLAY */
  .concept-tag {
    display: inline-block;
    border-bottom: 1px dashed var(--cyan);
    color: var(--cyan);
    cursor: help;
    position: relative;
  }

  .concept-tag:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 100%;
    left: 0;
    min-width: 200px;
    max-width: 280px;
    background: #23133a;
    border: 1px solid var(--border-bright);
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 11px;
    color: var(--text);
    line-height: 1.5;
    z-index: 1;
    white-space: normal;
    margin-bottom: 4px;
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
     .ai-pam-training-guide header, .content-area { padding-left: 24px; padding-right: 24px; }
    .divider { margin: 24px; }
    .nav-tabs { padding: 0 24px; }
    .section-intro, .discovery-grid, .policy-layout { grid-template-columns: 1fr; }
    .before-after { grid-template-columns: 1fr; }
    .progress-bar { flex-wrap: wrap; }
  }

    /* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; height:4px; }
::-webkit-scrollbar-track { background: #873cf015; }
::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 2px; }

  /* SECTION 2 EXTRA */
  .ml-signals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
  }

  @media (max-width: 700px) {
    .ml-signals-grid { grid-template-columns: 1fr; }
  }

  .signal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
  }

  .signal-big-num {
    
    font-size: 36px;
    font-weight: 700;
    color: var(--amber);
    display: block;
    margin: 8px 0 4px;
  }

  .signal-small {
    font-size: 11px;
    color: var(--text-dim);
  }

  /* INTRO PANEL */
  .hero-strip {
    background: linear-gradient(135deg, #1f1232, #1f123290);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px 28px;
    margin-bottom: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .hero-icon {
    font-size: 36px;
    flex-shrink: 0;
    line-height: 1;
  }

  .hero-body { flex: 1; }
  .hero-body h2 {
    
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .hero-body p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    font-weight: 300;
  }

  /* Accepted toast */
  .toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-card2);
    border: 1px solid #883CF0;
    border-radius: 4px;
    padding: 14px 20px;
    font-size: 13px;
    color: #883CF0;  
    z-index: 1;
    display: none;
    animation: slideUp 0.3s ease;
  }

  @keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* Section overview card */
  .overview-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }

  .overview-pill {
    font-size: 11px;
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 20px;
  }