    /* Glossary-specific styles */
    .glossary-card {
      background: var(--surface-color, #fff);
      border: 1px solid rgba(0,0,0,.08);
      border-radius: 10px;
      padding: 18px 20px;
      margin-bottom: 14px;
      transition: box-shadow .2s, border-color .2s;
    }
    .glossary-card:hover {
      box-shadow: 0 4px 16px rgba(0,0,0,.07);
      border-color: rgba(232,125,28,.25);
    }
    .glossary-card .gc-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 6px;
    }
    .glossary-card .gc-key {
      font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
      font-size: .82rem;
      background: rgba(232,125,28,.1);
      color: #e87d1c;
      padding: 2px 8px;
      border-radius: 4px;
      white-space: nowrap;
    }
    .glossary-card .gc-name {
      font-weight: 600;
      font-size: 1.02rem;
      color: var(--heading-color, #2c4964);
    }
    .glossary-card .gc-tooltip {
      font-size: .88rem;
      color: #6c757d;
      margin-bottom: 4px;
      font-style: italic;
    }
    .glossary-card .gc-desc {
      font-size: .92rem;
      color: var(--default-color, #444);
      line-height: 1.55;
    }
    .glossary-card .gc-img {
      width: 80px;
      height: 80px;
      flex-shrink: 0;
      margin-right: 8px;
    }
    .glossary-card .gc-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .bar-pattern-card .gc-header {
      flex-wrap: nowrap;
    }
    .bar-pattern-card {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
    .bar-pattern-card .gc-body {
      flex: 1;
    }

    /* Preset strategy cards */
    .preset-card {
      background: var(--surface-color, #fff);
      border: 1px solid rgba(0,0,0,.08);
      border-radius: 12px;
      padding: 22px 24px;
      margin-bottom: 16px;
      transition: box-shadow .2s;
    }
    .preset-card:hover {
      box-shadow: 0 4px 20px rgba(0,0,0,.08);
    }
    .preset-card h5 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--heading-color, #2c4964);
      margin-bottom: 6px;
    }
    .preset-card .preset-desc {
      font-size: .92rem;
      color: var(--default-color, #444);
      margin-bottom: 12px;
      line-height: 1.5;
    }
    .preset-conditions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .preset-cond-badge {
      font-size: .78rem;
      font-family: 'SFMono-Regular', Consolas, monospace;
      background: #f0f4f8;
      border: 1px solid #e2e8f0;
      border-radius: 5px;
      padding: 3px 9px;
      color: #475569;
    }

    /* Exchange & Industry badges */
    .badge-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }
    .badge-list .badge-item {
      background: linear-gradient(135deg, #eff6ff, #dbeafe);
      color: #1d4ed8;
      font-size: .88rem;
      font-weight: 500;
      padding: 6px 14px;
      border-radius: 6px;
      border: 1px solid rgba(29,78,216,.12);
    }
    .badge-list .badge-item.exchange {
      background: linear-gradient(135deg, #fef3c7, #fde68a);
      color: #92400e;
      border-color: rgba(146,64,14,.12);
    }

    /* Section count badge */
    .section-count {
      font-size: .82rem;
      font-weight: 500;
      background: rgba(232,125,28,.12);
      color: #e87d1c;
      padding: 2px 10px;
      border-radius: 12px;
      margin-left: 8px;
      vertical-align: middle;
    }

    /* Search/filter bar */
    .glossary-search {
      position: sticky;
      top: 0;
      z-index: 10;
      background: var(--surface-color, #fff);
      padding: 12px 0;
      margin-bottom: 16px;
    }
    .glossary-search input {
      width: 100%;
      padding: 10px 16px 10px 40px;
      border: 1px solid #dee2e6;
      border-radius: 8px;
      font-size: .92rem;
      outline: none;
      transition: border-color .2s;
      background: var(--surface-color, #fff);
      color: var(--default-color, #444);
    }
    .glossary-search input:focus {
      border-color: #e87d1c;
    }
    .glossary-search .search-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: #adb5bd;
      font-size: 1rem;
    }

    .glossary-loading {
      text-align: center;
      padding: 40px 20px;
      color: #6c757d;
    }
    .glossary-loading .spinner-border {
      width: 2rem;
      height: 2rem;
      margin-bottom: 12px;
    }

    /* Suggested Questions */
    .sq-intro {
      font-size: .92rem;
      color: #6c757d;
      margin-bottom: 18px;
      line-height: 1.5;
    }
    .sq-category {
      margin-bottom: 28px;
    }
    .sq-cat-header {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--heading-color, #2c4964);
      margin-bottom: 4px;
    }
    .sq-cat-desc {
      font-size: .88rem;
      color: #6c757d;
      margin-bottom: 14px;
    }
    .sq-card {
      background: var(--surface-color, #fff);
      border: 1px solid rgba(0,0,0,.08);
      border-radius: 10px;
      padding: 16px 20px;
      margin-bottom: 10px;
      transition: box-shadow .2s, border-color .2s;
    }
    .sq-card:hover {
      box-shadow: 0 3px 14px rgba(0,0,0,.06);
      border-color: rgba(34,197,94,.25);
    }
    .sq-card-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 4px;
    }
    .sq-branch {
      font-size: .72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .5px;
      padding: 2px 8px;
      border-radius: 4px;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .sq-branch-simple { background: #dcfce7; color: #166534; }
    .sq-branch-complex { background: #f3e8ff; color: #6b21a8; }
    .sq-branch-filter { background: #dbeafe; color: #1e40af; }
    .sq-branch-query { background: #fef9c3; color: #854d0e; }
    .sq-text {
      font-weight: 600;
      font-size: .95rem;
      color: var(--heading-color, #2c4964);
    }
    .sq-desc {
      font-size: .86rem;
      color: var(--default-color, #444);
      line-height: 1.5;
      margin-bottom: 6px;
      padding-left: 2px;
    }
    .sq-placeholders {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 6px;
    }
    .sq-ph-badge {
      font-size: .78rem;
      background: #f0f4f8;
      border: 1px solid #e2e8f0;
      border-radius: 5px;
      padding: 2px 9px;
      color: #475569;
    }

    .tab-glossary.active {
      background: linear-gradient(135deg, #e87d1c, #f5a623) !important;
      color: #fff !important;
    }
