  :root {
    --bg3: #1f1232;
    --surface: #23133a;
    --surface2: #1f1232;
    --border: #3a1c63;
    --border2: #5e309d;
    --rdp: #883CF0;
    --rdp-dim: #2a1647;
    --rdp-glow: #3a1c63;
    --pra: #af62c8;
    --pra-dim: #311d38;
    --pra-glow: #8b4f9f;
    --accent: #7b5ea7;
    --text: #e8edf7;
    --text2: #c8d6e5;
    --text3: #d6d6d6;
    --success: #2dd4a0;
    --warning: #e95bf6;
    --danger: #ff5a6e;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  .rdp-launcher-training-guide-1 {
    background: #191127;
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    height: 100vh;
    overflow-x: hidden;
    position: relative;
    overflow-y: auto;
  }

  /* --- GRID TEXTURE --- */
  .rdp-launcher-training-guide-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,200,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,200,255,0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
  }

  .rdp-launcher-training-guide-1 .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative;  }

  /* --- HEADER --- */
  .rdp-launcher-training-guide-1 header {
    background: linear-gradient(180deg, #23133a 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
    padding: 0 0 0 0;
    position: relative;
    overflow: hidden;
  }
  .rdp-launcher-training-guide-1 header::after {
    content: '';
    position: absolute;
    top: -60px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, #68489550 0%, transparent 70%);
    pointer-events: none;
  }
  .header-inner {
    padding: 48px 24px 40px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 11px;
    color: var(--rdp);
    text-transform: uppercase;
    margin-bottom: 22px;
  }
  .badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--rdp);
    box-shadow: 0 0 8px var(--rdp);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

  .rdp-launcher-training-guide-1 h1 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
  }
  h1 .rdp-color { color: var(--rdp); }
  h1 .pra-color { color: var(--pra); }
  h1 .vs { color: var(--text3); font-weight: 400; }

  .subtitle {
    font-size: 16px;
    color: var(--text2);
    max-width: 620px;
    font-weight: 400;
  }

  /* --- QUICK PILL LEGEND --- */
  .legend {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
  }
  .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
  }
  .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .dot.rdp { background: var(--rdp); box-shadow: 0 0 8px var(--rdp-glow); }
  .dot.pra { background: var(--pra); box-shadow: 0 0 8px var(--pra-glow); }

  /* --- NAV TABS --- */
  .rdp-launcher-training-guide-1 nav {
    background: #180f26;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1;
  }
  .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-inner::-webkit-scrollbar { display: none; }
  .tab-btn {
    background: none;
    border: none;
    color: var(--text3);
    font-size: 13px;
    font-weight: 500;
    padding: 14px 18px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
    position: relative;
    top: 1px;
  }
  .tab-btn:hover { color: var(--text); }
  .tab-btn.active {
    color: var(--rdp);
    border-bottom-color: var(--rdp);
  }

  /* --- CONTENT SECTIONS --- */
  .section { display: none; padding: 40px 0 60px; }
  .section.active { display: block; }

  .section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .section-desc {
    color: var(--text2);
    font-size: 15px;
    margin-bottom: 32px;
    max-width: 700px;
  }

  /* --- COMPARISON GRID --- */
  .compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }
  @media(max-width:680px) { .compare-grid { grid-template-columns: 1fr; } }

  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    transition: border-color 0.2s;
  }
  .card:hover { border-color: var(--border2); }
  .card.rdp-card { border-top: 3px solid var(--rdp); }
  .card.pra-card { border-top: 3px solid var(--pra); }

  .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }
  .card-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
  }
  .rdp-icon { background: var(--rdp-dim); }
  .pra-icon { background: var(--pra-dim); }

  .card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
  }
  .card-sub {
    font-size: 12px;
    color: var(--text3);
  }

  .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
  }
  .tag {
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid;
  }
  .tag.rdp { color: var(--rdp); border-color: #3a1c63; background: var(--rdp-dim); }
  .tag.pra { color: var(--pra); border-color: rgba(255,123,53,0.3); background: var(--pra-dim); }
  .tag.neutral { color: var(--text2); border-color: var(--border2); background: var(--surface2); }

  p.body-text { color: var(--text2); font-size: 14px; margin-top: 10px; line-height: 1.7; }

  /* --- FEATURE TABLE --- */
  .feat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 28px;
  }
  .feat-table thead th {
    text-align: left;
    padding: 12px 16px;
    background: var(--bg3);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text3);
  }
  .feat-table thead th:first-child { border-radius: 8px 0 0 0; width: 220px; }
  .feat-table thead th:last-child { border-radius: 0 8px 0 0; }
  .feat-table thead th.rdp-th { color: var(--rdp); }
  .feat-table thead th.pra-th { color: var(--pra); }
  .feat-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
  }
  .feat-table tbody tr:hover { background: var(--surface); }
  .feat-table tbody td {
    padding: 13px 16px;
    vertical-align: top;
    color: var(--text2);
  }
  .feat-table tbody td:first-child {
    color: var(--text);
    font-weight: 500;
    font-size: 13px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 4px;
  }
  .chip.good { background: rgba(45,212,160,0.15); color: var(--success); }
  .chip.warn { background: rgba(245,200,66,0.15); color: var(--warning); }
  .chip.bad { background: rgba(255,90,110,0.15); color: var(--danger); }
  .chip.neutral { background: var(--surface2); color: var(--text2); }

  /* --- ARCH DIAGRAM --- */
  .arch-container {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px 24px;
    margin-bottom: 28px;
    overflow-x: auto;
  }
  .arch-title {
    font-size: 13px;
    color: var(--text3);
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
  }
  .arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    min-width: 500px;
  }
  .arch-node {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
    min-width: 100px;
    flex-shrink: 0;
  }
  .arch-node .n-label {
    font-size: 11px;
    color: var(--text3);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
  }
  .arch-node .n-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
  }
  .arch-node.rdp-node { border-color: var(--rdp); box-shadow: 0 0 12px #be52e50f; }
  .arch-node.pra-node { border-color: var(--pra); box-shadow: 0 0 12px rgba(255,123,53,0.15); }
  .arch-arrow {
    flex-shrink: 0;
    padding: 0 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }
  .arch-arrow .arrow-line {
    width: 50px;
    height: 2px;
    position: relative;
  }
  .arch-arrow .arrow-line::after {
    content: '▶';
    position: absolute;
    right: -6px;
    top: -7px;
    font-size: 10px;
  }
  .arch-arrow .arrow-label {
    font-size: 10px;
    white-space: nowrap;
    color: var(--text3);
  }
  .rdp-arrow .arrow-line { background: var(--rdp); color: var(--rdp); }
  .rdp-arrow .arrow-line::after { color: var(--rdp); }
  .pra-arrow .arrow-line { background: var(--pra); color: var(--pra); }
  .pra-arrow .arrow-line::after { color: var(--pra); }

  /* --- DECISION TREE --- */
  .decision-tree {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px 24px;
    margin-bottom: 28px;
  }
  .dt-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
  }
  .dt-question {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
  }
  .dt-question:hover { border-color: var(--rdp); }
  .dt-question .q-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .q-icon { font-size: 16px; flex-shrink: 0; }
  .dt-answers {
    display: none;
    padding: 10px 0 0 28px;
    gap: 8px;
    flex-direction: column;
  }
  .dt-answers.open { display: flex; }
  .dt-answer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 13px;
  }
  .dt-answer.go-rdp { border-color: #311d38; background: var(--rdp-dim); }
  .dt-answer.go-pra { border-color: rgba(255,123,53,0.3); background: var(--pra-dim); }
  .dt-answer .ans-arrow { font-size: 12px; margin-top: 2px; }
  .dt-answer .ans-text { color: var(--text2); }
  .dt-answer .ans-verdict { font-weight: 700; }
  .dt-answer .ans-verdict.rdp { color: var(--rdp); }
  .dt-answer .ans-verdict.pra { color: var(--pra); }

  /* --- INFO BLOCKS --- */
  .info-block {
    background: var(--surface);
    border-left: 3px solid var(--border2);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text2);
  }
  .info-block.rdp-block { border-left-color: var(--rdp); }
  .info-block.pra-block { border-left-color: var(--pra); }
  .info-block.warn-block { border-left-color: var(--warning); }
  .info-block strong { color: var(--text); }

  /* --- STEP LIST --- */
  .step-list { list-style: none; margin-bottom: 20px; }
  .step-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text2);
  }
  .step-list li:last-child { border-bottom: none; }
  .step-num {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .step-num.rdp { background: var(--rdp-dim); color: var(--rdp); border: 1px solid #3a1c63; }
  .step-num.pra { background: var(--pra-dim); color: var(--pra); border: 1px solid rgba(255,123,53,0.3); }

  /* --- NETWORK DIAGRAM --- */
  .port-table { margin-top: 16px; }
  .port-row {
    display: grid;
    grid-template-columns: 100px 80px 1fr;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    align-items: center;
  }
  .port-row:last-child { border-bottom: none; }
  .port-row.header {
    background: var(--bg3);
    border-radius: 6px 6px 0 0;
    font-size: 11px;
    color: var(--text3);
    text-transform: uppercase;
  }
  .port-num {
    font-weight: 700;
  }
  .port-num.rdp { color: var(--rdp); }
  .port-num.pra { color: var(--pra); }

  /* --- UX SCENARIOS --- */
  .scenario {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .scenario-header {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
  }
  .scenario-header:hover { background: var(--surface2); }
  .scenario-header.rdp-header { border-left: 3px solid var(--rdp); }
  .scenario-header.pra-header { border-left: 3px solid var(--pra); }
  .scenario-body {
    display: none;
    padding: 0 20px 18px;
    border-top: 1px solid var(--border);
  }
  .scenario-body.open { display: block; }
  .scenario-step {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 13px;
  }
  .scenario-step:last-child { border-bottom: none; }
  .s-role {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
    height: fit-content;
    margin-top: 1px;
  }
  .s-role.admin { background: rgba(123,94,167,0.2); color: #b08fd8; }
  .s-role.user { background: rgba(45,212,160,0.15); color: var(--success); }
  .s-role.sys { background: var(--surface2); color: var(--text3); }
  .s-text { color: var(--text2); line-height: 1.6; }

  /* --- QUICK REF --- */
  .quick-ref {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }
  @media(max-width:600px){ .quick-ref { grid-template-columns: 1fr; } }
  .qr-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
  }
  .qr-header {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .qr-header.rdp-qr { background: var(--rdp-dim); color: var(--rdp); border-bottom: 1px solid #311d38; }
  .qr-header.pra-qr { background: var(--pra-dim); color: var(--pra); border-bottom: 1px solid rgba(255,123,53,0.2); }
  .qr-body { padding: 14px 18px; }
  .qr-list { list-style: none; }
  .qr-list li {
    font-size: 13px;
    color: var(--text2);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 8px;
    align-items: flex-start;
  }
  .qr-list li:last-child { border-bottom: none; }
  .qr-list li::before {
    content: '→';
    font-size: 11px;
    color: var(--text3);
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* --- ACCORDION TOGGLE BUTTON --- */
  .toggle-icon { margin-left: auto; transition: transform 0.2s; font-size: 12px; color: var(--text3); }
  .open .toggle-icon { transform: rotate(180deg); }

  /* --- FOOTER --- */
  .rdp-launcher-training-guide-1 footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text3);
    position: relative;
  }

  /* ANIMATIONS */
  @keyframes fadeIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
  .section.active { animation: fadeIn 0.3s ease; }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: #873cf015; }
  ::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 3px; }

  .divider {
    height: 1px;
    background: var(--border);
    margin: 28px 0;
  }

  .callout {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text2);
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .callout-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
  .callout strong { color: var(--text); display: block; margin-bottom: 4px; }