:root {
    --navy-dark: #001525;
    --navy-mid: #052035;
    --dark-blue: #042833;
    --navy-raised: #0a2d45;
    --surge-green: #cce50c;
    --teal: #63d6d6;
    --orange: #ff4433;
    --white: #ffffff;
    --light-grey: #e9f2f2;
    --text-muted: rgba(255,255,255,0.45);
    --text-dim: rgba(255,255,255,0.22);
    --border-hairline: rgba(255,255,255,0.08);
  }

  * { box-sizing: border-box; }

  .hidden { display: none !important; }

  body {
    margin: 0;
    background: var(--navy-dark);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, .display {
    font-family: 'Ramabhadra', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
  }

  .mono { font-family: 'Share Tech Mono', monospace; }

  .icon {
    width: 15px;
    height: 15px;
    display: inline-block;
    flex-shrink: 0;
    color: inherit;
    vertical-align: -3px;
  }

  /* ---------- GREEN BAR ---------- */
  .green-bar {
    background: var(--surge-green);
    padding: 9px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .green-bar .brand-mark {
    font-family: 'Ramabhadra', sans-serif;
    font-size: 15px;
    color: var(--navy-dark);
    font-weight: 400;
  }

  .alg-bubbles-bar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .bar-bubble {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10.5px;
    padding: 3px 9px;
    border-radius: 100px;
    background: rgba(0,0,0,0.14);
    color: var(--navy-dark);
    white-space: nowrap;
  }

  /* ---------- TITLE BAND ---------- */
  .title-band {
    background: var(--dark-blue);
    padding: 16px 24px 20px;
    border-bottom: 1px solid var(--border-hairline);
  }

  .breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .breadcrumb a { color: var(--text-muted); text-decoration: none; }
  .breadcrumb a:hover { color: var(--teal); }
  .breadcrumb .current { color: var(--white); }

  .title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }

  .title-row h1 {
    font-size: 26px;
    margin: 0 0 6px;
    color: var(--white);
  }

  .title-row .summary {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.55;
    margin: 0;
  }

  .hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }

  .badge {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .badge.type { background: rgba(204,229,12,0.14); color: var(--surge-green); }
  .badge.ladder { background: rgba(99,214,214,0.14); color: var(--teal); }
  .badge.access-free { background: rgba(255,255,255,0.08); color: var(--text-muted); }

  .action-icons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-hairline);
    background: var(--navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    flex-shrink: 0;
  }

  .icon-btn:hover { border-color: var(--teal); color: var(--teal); }
  .icon-btn .icon { width: 16px; height: 16px; }

  /* ---------- EMBED PANEL (get embed code disclosure) ---------- */
  .embed-panel {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border-hairline);
  }

  .embed-panel-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 20px 24px;
  }

  .embed-panel-intro {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 12px;
    line-height: 1.5;
  }

  .embed-code-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
  }

  .embed-code-row code {
    flex: 1;
    background: var(--navy-dark);
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--teal);
    overflow-x: auto;
    white-space: nowrap;
  }

  .embed-copy-now {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surge-green);
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    color: var(--navy-dark);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
  }

  .embed-copy-now:hover { background: #b8cf0a; }
  .embed-copy-now .icon { width: 14px; height: 14px; }

  /* ---------- PLAYER IFRAME ---------- */
  .player-wrap {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 32px;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
  }

  .player-wrap iframe {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
  }

  /* ---------- YOUTUBE EMBED ---------- */
  .youtube-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
  }

  .youtube-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* ---------- TOOLTIPS ---------- */
  [data-tooltip] { position: relative; }

  [data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--dark-blue);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-hairline);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s ease, transform 0.1s ease;
    z-index: 30;
  }

  [data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 700px) {
    .green-bar { padding: 9px 16px; flex-wrap: wrap; }
    .title-band { padding: 14px 16px 18px; }
    .title-row { flex-direction: column; }
    .action-icons { margin-top: 4px; }
    .title-row h1 { font-size: 22px; }
    .embed-panel-inner { padding: 16px; }
  }

  /* ---------- EMBED CONFIGURATOR ---------- */
  #embed-configurator {
    margin-bottom: 16px;
  }

  .embed-config-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  .embed-config-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    min-width: 80px;
  }

  .embed-config-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .embed-config-pill {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--border-hairline);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
  }

  .embed-config-pill:hover {
    border-color: var(--teal);
    color: var(--teal);
  }

  .embed-config-pill.active {
    border-color: var(--surge-green);
    color: var(--surge-green);
    background: rgba(204,229,12,0.08);
  }

  /* ---------- EMBED MODAL OVERLAY ---------- */
  .em-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,21,37,0.75);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }

  .em-box {
    background: var(--navy-raised, #0a2d45);
    border: 1px solid rgba(99,214,214,0.35);
    border-radius: 14px;
    padding: 28px 30px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 12px 32px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
  }

  .em-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .em-title {
    font-family: 'Ramabhadra', sans-serif;
    font-size: 20px;
    color: var(--teal);
  }

  .em-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
  }

  .em-close:hover { color: var(--white); }

  .em-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 20px;
  }

  /* Configurator */
  .em-config-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--surge-green);
    margin-bottom: 14px;
  }

  .em-section {
    margin-bottom: 16px;
  }

  .em-section-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--surge-green);
    margin-bottom: 8px;
  }

  .em-checks {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .em-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--white);
    cursor: pointer;
  }

  .em-check input[type="checkbox"],
  .em-check input[type="radio"] {
    width: 14px;
    height: 14px;
    accent-color: var(--surge-green);
    cursor: pointer;
    flex-shrink: 0;
  }

  .em-divider {
    height: 1px;
    background: var(--border-hairline);
    margin: 20px 0;
  }

  /* Snippet */
  .em-snippet-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .em-snippet-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
  }

  .em-snippet {
    flex: 1;
    background: var(--navy-dark);
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    padding: 11px 13px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--teal);
    overflow-x: auto;
    white-space: nowrap;
    display: block;
  }

  .em-copy-btn {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--surge-green);
    color: var(--navy-dark);
    border: none;
    border-radius: 8px;
    padding: 0 18px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.12s ease;
  }

  .em-copy-btn:hover { background: #d9f20d; }
  .em-copy-btn.copied { background: var(--teal); color: var(--navy-dark); }

  /* ---------- EXPLAINER SECTION ---------- */
  .descriptor-explainer {
    border-top: 1px solid var(--border-hairline);
    padding: 40px 0 60px;
  }

  .descriptor-explainer-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .descriptor-explainer h2 {
    font-family: 'Ramabhadra', sans-serif;
    font-size: 22px;
    color: var(--white);
    margin: 0 0 16px;
  }

  .descriptor-explainer-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
  }

  .descriptor-explainer-body p {
    margin: 0 0 14px;
  }

  .descriptor-explainer-body p:last-child { margin-bottom: 0; }

  @media (max-width: 700px) {
    .em-box { padding: 20px 18px; }
    .descriptor-explainer-inner { padding: 0 16px; }
  }

  /* ---------- BOTTOM SECTIONS (related / about tool / about TKS) ---------- */
  .descriptor-bottom {
    border-top: 1px solid var(--border-hairline);
  }

  .descriptor-section {
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 24px;
    border-bottom: 1px solid var(--border-hairline);
  }

  .descriptor-section:last-child {
    border-bottom: none;
    padding-bottom: 60px;
  }

  .descriptor-section h2 {
    font-family: 'Ramabhadra', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
    margin: 0 0 14px;
  }

  /* Related grid */
  .descriptor-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .related-card {
    display: block;
    background: var(--navy-mid);
    border: 1px solid var(--border-hairline);
    border-radius: 10px;
    padding: 14px 16px;
    text-decoration: none;
    transition: border-color 0.15s ease;
  }

  .related-card:hover { border-color: var(--surge-green); }

  .rc-type {
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--surge-green);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
  }

  .rc-type .icon { width: 11px; height: 11px; }

  .related-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    color: var(--white);
    line-height: 1.35;
  }

  /* About this tool */
  .descriptor-explainer-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
  }

  .descriptor-explainer-body p {
    margin: 0 0 14px;
  }

  .descriptor-explainer-body p:last-child { margin-bottom: 0; }

  /* Transcript (TRN) — tks-resources:specs/tks-transcript-spec.md §6.
     Server-rendered; EVERY word is in the HTML and indexed. What is capped here
     is the rendered HEIGHT, not the content: §6 permits "a CSS fade with a
     'read more' control that expands text already present in the HTML", and
     that is exactly this. What it forbids is text FETCHED on click, which
     Google never sees.

     No JavaScript: a checkbox and its label. The text cannot end up behind a
     script that failed to load, and the control works with JS disabled. */
  .descriptor-transcript-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 78ch;          /* measure for long-form reading, not full bleed */
  }

  .descriptor-transcript-body p {
    margin: 0 0 14px;
  }

  .descriptor-transcript-body p:last-child { margin-bottom: 0; }

  /* The transcript's own `##` headings. They are real subheadings of the
     document, so they are styled below the section's own <h2> rather than
     equal to it — the size difference is presentational only; both are h2 in
     the markup, which is what §6 specifies. */
  .descriptor-transcript-body h2 {
    font-family: 'Ramabhadra', sans-serif;
    font-size: 17px;
    color: var(--white);
    margin: 28px 0 10px;
  }

  .descriptor-transcript-body h2:first-child { margin-top: 0; }

  .descriptor-transcript-body ul {
    margin: 0 0 14px;
    padding-left: 20px;
  }

  .descriptor-transcript-body li { margin: 0 0 6px; }

  /* The collapse. `max-height` is generous enough that a short transcript is
     never clipped at all — around 30 lines of prose. */
  .descriptor-transcript-body {
    max-height: 34em;
    overflow: hidden;
    position: relative;
  }

  /* The fade sits INSIDE the clipped box and blends to the page background, so
     the cut never reads as a hard edge. pointer-events:none keeps text
     selectable through it. */
  .descriptor-transcript-body::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7em;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 21, 37, 0), var(--navy-dark) 92%);
  }

  /* Visually hidden, but NOT display:none — it has to stay focusable so the
     control is reachable by keyboard. */
  .transcript-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .transcript-more {
    display: inline-block;
    margin-top: 16px;
    padding: 9px 18px;
    border: 1px solid var(--border-hairline);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    user-select: none;
  }

  .transcript-more:hover { border-color: rgba(255, 255, 255, 0.28); }

  /* A visible focus ring, since the input itself is off-screen. */
  .transcript-toggle:focus-visible + .descriptor-transcript-body + .transcript-more {
    outline: 2px solid var(--white);
    outline-offset: 2px;
  }

  .transcript-more-close { display: none; }

  .transcript-toggle:checked + .descriptor-transcript-body {
    max-height: none;
  }

  .transcript-toggle:checked + .descriptor-transcript-body::after {
    display: none;
  }

  .transcript-toggle:checked + .descriptor-transcript-body + .transcript-more .transcript-more-open {
    display: none;
  }

  .transcript-toggle:checked + .descriptor-transcript-body + .transcript-more .transcript-more-close {
    display: inline;
  }

  /* Printing, and anyone reading with author styles off, gets the whole thing. */
  @media print {
    .descriptor-transcript-body { max-height: none; overflow: visible; }
    .descriptor-transcript-body::after,
    .transcript-more { display: none; }
  }

  /* About TechKnowSurge */
  .descriptor-about-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0 0 14px;
  }

  .descriptor-about-cta {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--teal);
    text-decoration: none;
    letter-spacing: 0.03em;
  }

  .descriptor-about-cta:hover { color: var(--white); }

  @media (max-width: 700px) {
    .descriptor-section { padding: 28px 16px; }
    .descriptor-related-grid { grid-template-columns: 1fr 1fr; }
  }

  /* ---------- ARCADE PLAY SECTION ---------- */
  .arcade-play-section {
    border-top: 1px solid var(--border-hairline);
    padding: 36px 24px 40px;
  }

  .arcade-play-inner {
    max-width: 760px;
    margin: 0 auto;
  }

  /* Primary play button */
  .arcade-play-primary {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--navy-mid);
    border: 1px solid rgba(99,214,214,0.25);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: var(--white);
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .arcade-play-primary:hover {
    border-color: var(--teal);
    background: var(--dark-blue);
  }

  .arcade-play-thumb {
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
  }

  .arcade-play-thumb img {
    width: 200px;
    height: 113px;
    object-fit: cover;
    display: block;
  }

  .arcade-play-primary-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .arcade-play-eyebrow {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
  }

  .arcade-play-engine-name {
    font-family: 'Ramabhadra', sans-serif;
    font-size: 22px;
    color: var(--white);
    line-height: 1.2;
  }

  .arcade-play-engine-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 2px;
  }

  .arcade-play-arrow {
    font-size: 22px;
    color: var(--teal);
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .arcade-play-primary:hover .arcade-play-arrow {
    opacity: 1;
    transform: translateX(4px);
  }

  /* Alt engines row */
  .arcade-play-alts-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 24px 0 12px;
    text-align: center;
  }

  .arcade-play-alts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .arcade-play-alt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--navy-mid);
    border: 1px solid var(--border-hairline);
    border-radius: 10px;
    padding: 12px;
    text-decoration: none;
    transition: border-color 0.15s ease;
  }

  .arcade-play-alt:hover { border-color: var(--teal); }

  .arcade-play-alt img {
    width: 160px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
  }

  .arcade-play-alt-name {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
  }

  .arcade-play-alt:hover .arcade-play-alt-name { color: var(--teal); }

  @media (max-width: 700px) {
    .arcade-play-section { padding: 28px 16px 32px; }
    .arcade-play-primary { flex-direction: column; align-items: flex-start; gap: 16px; }
    .arcade-play-thumb img { width: 100%; height: auto; }
    .arcade-play-arrow { display: none; }
    .arcade-play-alts { gap: 10px; }
    .arcade-play-alt img { width: 130px; height: 73px; }
  }

  /* ---------- OBJECTIVES (OBJ) ---------- */
  .obj-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .obj-list li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
  }

  .obj-list li::before {
    content: '→';
    color: var(--surge-green);
    font-family: 'Share Tech Mono', monospace;
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* ---------- ALIGNMENTS (ALG) ---------- */
  .alg-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .alg-cert-name {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--surge-green);
    margin-bottom: 8px;
  }

  .alg-mapping-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .alg-mapping-row {
    display: flex;
    gap: 12px;
    font-size: 13px;
    line-height: 1.55;
  }

  .alg-ref {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--teal);
    flex-shrink: 0;
    padding-top: 1px;
    min-width: 36px;
  }

  .alg-text {
    color: rgba(255,255,255,0.65);
  }

  /* ---------- CTF CALLOUT ---------- */
  .ctf-callout-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 32px;
  }

  .ctf-callout {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(204,229,12,0.06);
    border: 1px solid rgba(204,229,12,0.2);
    border-radius: 8px;
    padding: 12px 18px;
  }

  .ctf-callout-flag {
    font-size: 16px;
    color: var(--surge-green);
    flex-shrink: 0;
  }

  .ctf-callout-text {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
  }

  .ctf-callout-text strong {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--surge-green);
  }

  /* ---------- OTL TOPIC TREE ---------- */
  .otl-root-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--surge-green);
    margin: 0 0 12px;
  }

  .otl-tree,
  .otl-tree ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .otl-tree li {
    position: relative;
    padding: 4px 0 4px 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
  }

  .otl-tree li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--teal);
    font-size: 10px;
  }

  .otl-tree ul {
    margin-top: 4px;
    padding-left: 16px;
  }

  .otl-tree ul li {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    padding: 2px 0 2px 18px;
  }

  /* ---------- KEY TERMS ---------- */
  .terms-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
  }

  .term-row {
    border-left: 2px solid rgba(99,214,214,0.2);
    padding-left: 14px;
  }

  .term-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
  }

  .term-name dt {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
  }

  .term-acronym {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.05em;
    color: var(--teal);
    background: rgba(99,214,214,0.1);
    border-radius: 4px;
    padding: 2px 7px;
  }

  .term-definition {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin: 0;
  }

  /* ---------- TOPICS ---------- */
  .topics-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .topic-chip {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 5px 13px;
    border-radius: 100px;
    border: 1px solid var(--border-hairline);
    color: var(--text-muted);
    background: transparent;
  }
