    .question-bank-index-page {
      --bg: #f3f4f6;
      --panel: #ffffff;
      --panel-soft: #f8fafc;
      --panel-hover: var(--bg-hover);
      --line: #e8edf5;
      --line-dark: #d9e1ec;
      --text: #172033;
      --muted: #6b768a;
      --weak: #9aa5b5;
      --blue: #2563eb;
      --blue-dark: #1d4ed8;
      --blue-soft: #eaf1ff;
      --green: #16a34a;
      --green-soft: #e9f9ef;
      --orange: #f59e0b;
      --orange-soft: #fff7e6;
      --red: #ef4444;
      --red-soft: #fff0f0;
      --purple: #7c3aed;
      --purple-soft: #f2ecff;
      --shadow: none;
      --shadow-hover: none;
      --radius-lg: 6px;
      --radius-md: 6px;
      --radius-sm: 6px;
      --topbar-height: var(--llx-header-height);
      --sticky-gap: 12px;
    }

    body.question-bank-shell {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    body.question-bank-shell .question-bank-index-page {
      flex: 1 0 auto;
      display: flex;
      flex-direction: column;
    }

    .question-bank-index-page * {
      box-sizing: border-box;
    }

    .question-bank-index-page {
      box-sizing: border-box;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
      color: var(--text);
      font-size: 14px;
    }

    .question-bank-index-page a {
      color: inherit;
      text-decoration: none;
    }

    .question-bank-index-page button,
    .question-bank-index-page input,
    .question-bank-index-page select {
      font: inherit;
    }

    .question-bank-index-page button {
      cursor: pointer;
    }

    .question-bank-index-page .batch-type-loading-overlay {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(15, 23, 42, 0.36);
      backdrop-filter: blur(3px);
    }

    .question-bank-index-page .batch-type-loading-card {
      display: flex;
      width: min(390px, calc(100vw - 32px));
      align-items: center;
      gap: 14px;
      padding: 18px 20px;
      border: 1px solid #dbe4f2;
      border-radius: 6px;
      background: #fff;
      box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
    }

    .question-bank-index-page .batch-type-loading-card strong {
      display: block;
      color: #172033;
      font-size: 15px;
      line-height: 1.45;
    }

    .question-bank-index-page .batch-type-loading-card p {
      margin: 4px 0 0;
      color: #6b768a;
      font-size: 13px;
      line-height: 1.55;
    }

    .question-bank-index-page .batch-type-loading-spinner {
      width: 28px;
      height: 28px;
      flex: 0 0 auto;
      border: 3px solid #dbe7ff;
      border-top-color: #2563eb;
      border-radius: 50%;
      animation: question-bank-batch-type-spin 0.75s linear infinite;
    }

    @keyframes question-bank-batch-type-spin {
      to { transform: rotate(360deg); }
    }

    .question-bank-index-page .base-btn {
      border: 0;
      border-radius: 6px;
      box-shadow: none;
    }
   .question-bank-index-page .list-sticky-tools {
	  position: sticky;
	  top: calc(var(--topbar-height));
	  z-index: 18;
	  display: flex;
	  flex-direction: column;
	  gap: 10px;
	  border-bottom: 1px solid var(--bg);
	  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
	}
    .question-bank-index-page {
      flex: 1 0 auto;
      min-width: 0;
    }

    .question-bank-index-page .question-bank-layout {
      display: none;
    }

    .question-bank-index-page .question-bank-layout-show {
      display: grid;
      grid-template-columns: 270px minmax(0, 1fr);
      gap: 18px;
      align-items: start;
      min-width: 0;
    }

    .question-bank-index-page .sidebar,
    .question-bank-index-page .aside {
      position: sticky;
      top: 82px;
    }

    .question-bank-index-page .card {
      background: var(--panel);
      border: 0;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
    }

    .question-bank-index-page .sidebar {
      z-index: 20;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .question-bank-index-page .main {
      position: relative;
      z-index: 1;
      min-width: 0;
    }

    .question-bank-index-page .user-card {
      padding: 14px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .question-bank-index-page .user-profile {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .question-bank-index-page .avatar {
      width: 44px;
      height: 44px;
      border-radius: 6px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, #13265e, #1f3f91);
      color: #fff;
      font-weight: 800;
      font-size: 17px;
      box-shadow: none;
      overflow: hidden;
    }

    .question-bank-index-page .avatar img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .question-bank-index-page .user-name {
      font-weight: 800;
      margin-bottom: 3px;
    }

    .question-bank-index-page .user-role {
      color: var(--muted);
      font-size: 12px;
    }

    .question-bank-index-page .quick-create-menu {
      position: relative;
      width: 100%;
    }

    .question-bank-index-page .quick-create-menu summary {
      list-style: none;
    }

    .question-bank-index-page .quick-create-menu summary::-webkit-details-marker {
      display: none;
    }

    .question-bank-index-page .quick-create-btn {
      height: 36px;
      width: 100%;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      user-select: none;
      transition: 0.18s ease;
    }

    .question-bank-index-page .quick-create-menu[open] .quick-create-btn,
    .question-bank-index-page .quick-create-btn:hover {
      box-shadow: none;
    }

    .question-bank-index-page .quick-create-list {
      position: absolute;
      top: calc(100% + 12px);
      left: 0;
      right: 0;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: #fff;
      box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
      z-index: 36;
    }

    .question-bank-index-page .quick-create-menu[open] .quick-create-list {
      animation: quick-create-dropdown-in 0.18s ease both;
    }

    .question-bank-index-page .quick-create-list::before {
      content: "";
      position: absolute;
      top: -8px;
      left: 50%;
      width: 16px;
      height: 16px;
      background: #fff;
      border-left: 1px solid var(--line);
      border-top: 1px solid var(--line);
      transform: translateX(-50%) rotate(45deg);
    }

    @keyframes quick-create-dropdown-in {
      from {
        opacity: 0;
        transform: translateY(8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .question-bank-index-page .quick-create-item {
      width: 100%;
      height: 36px;
      padding: 0 12px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      background: transparent;
      color: #334155;
      font-size: 13px;
      font-weight: 500;
      text-align: left;
      transition: 0.18s ease;
    }

    .question-bank-index-page .quick-create-item:hover {
      background: var(--primary-soft);
      color: var(--primary-dark);
    }

    .question-bank-index-page .side-section {
      overflow: visible;
      padding: 14px;
    }

    .question-bank-index-page .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
    }

    .question-bank-index-page .section-title {
      font-size: 13px;
      font-weight: 800;
      color: #334155;
    }

    .question-bank-index-page .section-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      min-width: 0;
    }

    .question-bank-index-page .section-link {
      font-size: 12px;
      color: var(--blue);
      font-weight: 700;
    }

    .question-bank-index-page .status-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .question-bank-index-page .status-item {
      height: 36px;
      padding: 0 10px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #475569;
      transition: 0.18s ease;
    }

    .question-bank-index-page .status-item:hover {
      background: var(--panel-soft);
    }

    .question-bank-index-page .status-item.active {
      background: var(--blue-soft);
      color: var(--blue);
      font-weight: 400;
    }

    .question-bank-index-page .status-left {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .question-bank-index-page .dot-icon {
      width: 7px;
      height: 7px;
      border-radius: 99px;
      background: #cbd5e1;
    }

    .question-bank-index-page .status-item.active .dot-icon {
      background: var(--blue);
    }

    .question-bank-index-page .count {
      min-width: 26px;
      height: 20px;
      padding: 0 7px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      color: #64748b;
      background: #eef2f7;
      font-weight: 700;
    }

    .question-bank-index-page .status-item.active .count {
      color: var(--blue);
      background: #dce8ff;
    }

    .question-bank-index-page .category-search {
      position: relative;
      margin-bottom: 10px;
    }

    .question-bank-index-page .category-search input {
      width: 100%;
      height: 36px;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 0 12px 0 32px;
      outline: none;
      background: var(--panel-soft);
      color: var(--text);
      transition: 0.18s ease;
    }

    .question-bank-index-page .category-search input:focus {
      border-color: #bdd0ff;
      background: #fff;
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
    }

    .question-bank-index-page .search-icon {
      position: absolute;
      left: 11px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--weak);
      font-size: 13px;
    }

    .question-bank-index-page .tree {
      display: flex;
      flex-direction: column;
      gap: 2px;
      color: #475569;
    }

    .question-bank-index-page .tree-row {
      cursor: pointer;
      min-height: 32px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 8px;
      transition: 0.18s ease;
    }

    .question-bank-index-page .tree-row:hover {
      background: var(--panel-soft);
    }

    .question-bank-index-page .tree-row.active {
      background: var(--blue-soft);
      color: var(--blue);
      font-weight: 400;
    }

    .question-bank-index-page .tree-name {
      display: flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
    }

    .question-bank-index-page .tree-title {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .question-bank-index-page .tree-toggle {
      width: 18px;
      height: 18px;
      flex: 0 0 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      color: var(--weak);
      font-size: 13px;
      font-weight: 900;
      line-height: 1;
      transition: 0.18s ease;
    }

    .question-bank-index-page .tree-toggle:hover {
      background: #e9eef6;
      color: var(--blue);
    }

    .question-bank-index-page .tree-toggle.empty {
      visibility: hidden;
    }

    .question-bank-index-page .folder-icon {
      width: 17px;
      height: 14px;
      flex: 0 0 17px;
      position: relative;
      display: inline-block;
      border-radius: 4px;
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      box-shadow: inset 0 -1px 0 rgba(146, 64, 14, 0.14);
    }

    .question-bank-index-page .folder-icon::before {
      content: "";
      position: absolute;
      left: 2px;
      top: -4px;
      width: 8px;
      height: 5px;
      border-radius: 4px 4px 0 0;
      background: #f59e0b;
    }

    .question-bank-index-page .tree-row.active .folder-icon {
      background: linear-gradient(135deg, #60a5fa, #2563eb);
    }

    .question-bank-index-page .tree-row.active .folder-icon::before {
      background: #3b82f6;
    }

    .question-bank-index-page .tree-empty {
      padding: 18px 10px;
      color: var(--weak);
      text-align: center;
      font-size: 13px;
      line-height: 1.7;
    }

    .question-bank-index-page .main {
      display: flex;
      flex-direction: column;
      gap: 14px;
      min-width: 0;
    }

    .question-bank-index-page .toolbar {
      padding: 18px;
    }

    .question-bank-index-page .crumbs {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }

    .question-bank-index-page .crumbs strong,
    .question-bank-index-page .crumbs .strong {
      color: var(--text);
    }

    .question-bank-index-page .category-manage-menu {
      position: relative;
      flex: 0 0 auto;
    }

    .question-bank-index-page .category-manage-menu summary {
      list-style: none;
    }

    .question-bank-index-page .category-manage-menu summary::-webkit-details-marker {
      display: none;
    }

    .question-bank-index-page .category-manage-btn {
      gap: 6px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
      user-select: none;
    }

    .question-bank-index-page .section-actions .category-manage-btn {
      height: 26px;
      padding: 0 8px;
      font-size: 12px;
    }

    .question-bank-index-page .section-actions .category-manage-list {
      top: 34px;
      right: 0;
    }

    .question-bank-index-page .category-manage-menu[open] .category-manage-btn,
    .question-bank-index-page .category-manage-btn:hover {
      box-shadow: none;
    }

    .question-bank-index-page .category-manage-list {
      position: absolute;
      top: 46px;
      right: 0;
      width: 176px;
      padding: 7px;
      border: 0;
      border-radius: 6px;
      background: #fff;
      box-shadow: none;
      z-index: 35;
    }

    .question-bank-index-page .category-manage-list::before {
      content: none;
      position: absolute;
      top: -6px;
      right: 28px;
      width: 10px;
      height: 10px;
      background: #fff;
      border-left: 1px solid var(--line);
      border-top: 1px solid var(--line);
      transform: rotate(45deg);
    }

    .question-bank-index-page .category-manage-item {
      width: 100%;
      height: 34px;
      padding: 0 10px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      background: transparent;
      color: #334155;
      font-size: 12px;
      font-weight: 850;
      text-align: left;
      white-space: nowrap;
      transition: 0.18s ease;
    }

    .question-bank-index-page .category-manage-item:hover {
      background: var(--panel-soft);
      color: var(--blue);
    }

    .question-bank-index-page .category-manage-item.danger {
      color: var(--red);
    }

    .question-bank-index-page .category-manage-item.danger:hover {
      background: var(--red-soft);
      color: var(--red);
    }

    .question-bank-index-page .category-manage-note {
      padding: 8px 9px 10px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.65;
    }

    .question-bank-index-page .filter-panel {
      margin-bottom: 0px;
    }

    .question-bank-index-page .more-filter-toggle {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .question-bank-index-page .search-filter {
      display: grid;
      grid-template-columns: minmax(150px, 1fr) repeat(3, minmax(92px, 116px)) 108px 76px;
      gap: 10px;
      min-width: 0;
    }

    .question-bank-index-page .search-filter > *,
    .question-bank-index-page .more-filter-grid > * {
      min-width: 0;
    }

    .question-bank-index-page .question-bank-filter-select {
      --llx-single-select-height: 36px;
      --llx-single-select-border: var(--line);
      --llx-single-select-border-active: #9eb8ef;
      --llx-single-select-background: var(--panel-soft);
      --llx-single-select-color: #334155;
      width: 100%;
      font-size: 13px;
    }

    .question-bank-index-page .question-bank-filter-select.is-open {
      /* 必须高于 .list-sticky-tools（18），否则菜单内部再高的 z-index 也无法越过父级层叠上下文。 */
      z-index: 24;
    }

    .question-bank-index-page .question-bank-filter-select .llx-single-select-trigger:hover,
    .question-bank-index-page .question-bank-filter-select.is-open .llx-single-select-trigger,
    .question-bank-index-page .question-bank-filter-select .llx-single-select-trigger:focus-visible {
    }

    .question-bank-index-page .question-bank-filter-select .llx-single-select-options {
      font-size: 12px;
    }

    .question-bank-index-page .main-search {
      position: relative;
      min-width: 0;
    }

    .question-bank-index-page .main-search input,
    .question-bank-index-page .filter-select,
    .question-bank-index-page .knowledge-btn,
    .question-bank-index-page .filter-more-btn {
      width: 100%;
      height: 36px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: var(--panel-soft);
      color: #334155;
      outline: none;
      transition: 0.18s ease;
    }

    .question-bank-index-page .main-search input {
      min-width: 0;
      padding: 0 14px 0 36px;
    }

    .question-bank-index-page .filter-select {
      padding: 0 11px;
      appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%);
      background-position: calc(100% - 17px) 15px, calc(100% - 12px) 15px;
      background-size: 5px 5px, 5px 5px;
      background-repeat: no-repeat;
    }

    .question-bank-index-page .filter-more-btn,
    .question-bank-index-page .knowledge-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 0 12px;
      cursor: pointer;
      font-weight: 800;
      white-space: nowrap;
      user-select: none;
      border: 0;
    }

    .question-bank-index-page .filter-submit-btn {
      width: 100%;
      height: 36px;
      padding: 0 14px;
      border: 1px solid var(--blue);
      border-radius: 6px;
      font-weight: 800;
      white-space: nowrap;
    }

    .question-bank-index-page .filter-more-btn {
      color: var(--blue);
      background: var(--blue-soft);
      border-color: transparent;
    }

    .question-bank-index-page .knowledge-btn {
      border: 1px solid var(--line);
      background: var(--panel-soft);
    }

    .question-bank-index-page .filter-more-btn:hover {
      border-color: #bdd0ff;
      background-color: var(--blue-soft);
      box-shadow: none;
    }

    .question-bank-index-page .knowledge-btn:hover {
      color: var(--blue);
      border-color: #bdd0ff;
      background-color: var(--panel-soft);
      box-shadow: none;
    }

    .question-bank-index-page .more-close {
      display: none;
    }

    .question-bank-index-page .more-filter-panel {
      display: none;
      margin-top: 10px;
      padding: 12px;
      border-radius: 6px;
      border: 0;
      background: var(--panel-soft);
    }

    .question-bank-index-page .more-filter-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(96px, 1fr));
      gap: 10px;
    }

    .question-bank-index-page .filter-note {
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.6;
    }

    .question-bank-index-page .filter-note-actions {
      justify-content: flex-end;
    }

    .question-bank-index-page .filter-note strong {
      color: #334155;
    }

    .question-bank-index-page .clear-filter {
      color: var(--blue);
      font-weight: 800;
      white-space: nowrap;
    }

    .question-bank-index-page .more-filter-toggle:checked ~ .search-filter .more-open {
      display: none;
    }

    .question-bank-index-page .more-filter-toggle:checked ~ .search-filter .more-close {
      display: inline;
    }

    .question-bank-index-page .more-filter-toggle:checked ~ .more-filter-panel {
      display: block;
    }

    .question-bank-index-page .main-search input:focus,
    .question-bank-index-page .filter-select:focus {
      border-color: #bdd0ff;
      background-color: #fff;
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
    }

    .question-bank-index-page .knowledge-btn:focus-visible {
      border-color: #bdd0ff;
      background-color: var(--panel-soft);
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
    }

    .question-bank-index-page .filter-more-btn:focus-visible {
      border-color: #bdd0ff;
      background-color: var(--blue-soft);
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
    }

    .question-bank-index-page .batch-bar {
      min-height: 48px;
      padding: 10px 12px;
      border-radius: 6px;
      background: #fff;
      border: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .question-bank-index-page .batch-left {
      display: flex;
      align-items: center;
      gap: 14px;
      color: #334155;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.6;
      min-width: 0;
    }

    .question-bank-index-page .batch-check {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 400;
      color: #1f2937;
      white-space: nowrap;
      cursor: pointer;
    }

    .question-bank-index-page .batch-check input {
      width: 16px;
      height: 16px;
      accent-color: var(--blue);
      margin: 0;
    }

    .question-bank-index-page .selected-count {
      color: var(--muted);
      font-size: 14px;
      font-weight: 400;
      white-space: nowrap;
    }

    .question-bank-index-page .selected-count strong {
      color: var(--blue);
      font-weight: 400;
    }

    .question-bank-index-page .batch-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .question-bank-index-page .mini-btn {
      font-size: 14px;
      font-weight: 400;
    }

    .question-bank-index-page .mini-btn:hover {
      box-shadow: none;
    }

    .question-bank-index-page .mini-btn.primary {
      color: #fff;
    }

    .question-bank-index-page .batch-action-menu {
      position: relative;
      display: inline-flex;
    }

    .question-bank-index-page .batch-action-menu summary {
      list-style: none;
    }

    .question-bank-index-page .batch-action-menu summary::-webkit-details-marker {
      display: none;
    }

    .question-bank-index-page .batch-action-trigger {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      line-height: 1;
      white-space: nowrap;
      cursor: pointer;
      user-select: none;
    }

    .question-bank-index-page .batch-action-trigger span {
      color: #94a3b8;
      font-size: 10px;
      transition: transform 0.16s ease;
    }

    .question-bank-index-page .batch-action-menu[open] .batch-action-trigger {
      color: var(--blue);
      border-color: #cbd8f0;
      background: var(--blue-soft);
      box-shadow: none;
    }

    .question-bank-index-page .batch-action-menu[open] .batch-action-trigger span {
      color: var(--blue);
      transform: rotate(180deg);
    }

    .question-bank-index-page .batch-action-list {
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      width: 148px;
      padding: 5px;
      border: 1px solid #d7dfeb;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.13);
      z-index: 32;
    }

    .question-bank-index-page .batch-action-list::before {
      content: "";
      position: absolute;
      top: -5px;
      right: 20px;
      width: 8px;
      height: 8px;
      background: #fff;
      border-top: 1px solid #d7dfeb;
      border-left: 1px solid #d7dfeb;
      transform: rotate(45deg);
    }

    .question-bank-index-page .batch-action-item {
      position: relative;
      z-index: 1;
      width: 100%;
      min-height: 32px;
      padding: 7px 9px;
      border: 0;
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      background: transparent;
      color: #334155;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.35;
      text-align: left;
      white-space: nowrap;
      cursor: pointer;
      transition: 0.16s ease;
    }

    .question-bank-index-page .batch-action-item:hover:not(:disabled) {
      color: var(--blue);
      background: var(--blue-soft);
    }

    .question-bank-index-page .batch-action-item small {
      color: #94a3b8;
      font-size: 14px;
      font-weight: 400;
    }

    .question-bank-index-page .batch-action-item:disabled {
      color: #94a3b8;
      background: transparent;
      cursor: not-allowed;
      opacity: 1;
    }

    .question-bank-index-page .batch-action-divider {
      display: block;
      height: 1px;
      margin: 4px 5px;
      background: #e8edf4;
    }

    .question-bank-index-page .batch-action-item.danger {
      color: var(--red);
    }

    .question-bank-index-page .batch-action-item.danger:hover:not(:disabled) {
      color: var(--red);
      background: var(--red-soft);
    }

    .question-bank-index-page .mini-btn.danger {
      color: #fff;
    }

    .question-bank-index-page .list-sort-bar {
      min-height: 48px;
      padding: 10px 12px;
      border-radius: 6px;
      background: #fff;
      border: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .question-bank-index-page .sort-left {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      flex-wrap: wrap;
    }

    .question-bank-index-page .sort-label {
      color: var(--muted);
      font-size: 14px;
      font-weight: 400;
      white-space: nowrap;
    }

    .question-bank-index-page .sort-btn {
      height: 30px;
      padding: 0 12px;
      border-radius: 6px;
      background: var(--panel-soft);
      border: 0;
      color: #475569;
      font-size: 14px;
      font-weight: 400;
      white-space: nowrap;
      transition: 0.18s ease;
    }

    .question-bank-index-page .sort-btn:hover {
      color: var(--blue);
      background: #fff;
    }

    .question-bank-index-page .sort-btn.active {
      color: var(--blue);
      background: var(--blue-soft);
    }

    .question-bank-index-page .sort-right {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 400;
      white-space: nowrap;
    }

    .question-bank-index-page .sort-summary {
      color: #334155;
      font-weight: 400;
    }

    .question-bank-index-page .answer-toggle {
      height: 30px;
      padding: 0 10px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #475569;
      background: var(--panel-soft);
      border: 0;
      font-size: 14px;
      font-weight: 400;
      cursor: pointer;
      user-select: none;
    }

    .question-bank-index-page .answer-toggle input {
      width: 14px;
      height: 14px;
      margin: 0;
      accent-color: var(--blue);
    }

    .question-bank-index-page .question-list-wrap {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .question-bank-index-page .question-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .question-bank-index-page .question-card {
      --question-check-space: 30px;
      position: relative;
      padding: 16px 16px 14px;
      transition: 0.18s ease;
    }

    .question-bank-index-page .question-card:hover {
      background: var(--panel-hover);
      box-shadow: none;
    }

    .question-bank-index-page .question-check-wrap {
      position: absolute;
      left: 14px;
      top: 15px;
      z-index: 2;
      width: 28px;
      height: 28px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      background: rgba(255, 255, 255, 0.92);
      border: 0;
      box-shadow: none;
      transition: opacity 0.16s ease, background 0.16s ease, border-color 0.16s ease;
    }

    .question-bank-index-page .question-card:hover .question-check-wrap,
    .question-bank-index-page .question-card:focus-within .question-check-wrap,
    .question-bank-index-page .question-card.is-checked .question-check-wrap,
    .question-bank-index-page .question-card:has(.check:checked) .question-check-wrap {
      opacity: 1;
      pointer-events: auto;
    }

    .question-bank-index-page .question-card.is-checked .question-check-wrap,
    .question-bank-index-page .question-card:has(.check:checked) .question-check-wrap {
      background: #f5f8ff;
    }

    .question-bank-index-page .question-check-wrap:hover {
      background: #fff;
    }

    .question-bank-index-page .question-top {
      padding-left: var(--question-check-space);
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 12px;
    }

    .question-bank-index-page .question-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      row-gap: 6px;
      flex-wrap: wrap;
      flex: 1 1 auto;
      min-width: 0;
    }

    .question-bank-index-page .check {
      width: 18px;
      height: 18px;
      border-radius: 6px;
      accent-color: var(--blue);
      flex: 0 0 auto;
      margin: 0 2px 0 0;
    }

    .question-bank-index-page .tag {
      height: 24px;
      padding: 0 9px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 400;
      white-space: nowrap;
      background: #eef2f7;
      color: #68758a;
      border: 0;
    }

    .question-bank-index-page .id-tag {
      letter-spacing: 0.1px;
    }

    .question-bank-index-page .tag.purple {
      background: var(--purple-soft);
      color: var(--purple);
    }

    .question-bank-index-page .question-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 0 0 auto;
    }

    .question-bank-index-page .add-btn {
      font-size: 12px;
      box-shadow: none;
    }

    .question-bank-index-page .add-btn:hover {
      box-shadow: none;
    }

    .question-bank-index-page .add-btn.is-added,
    .question-bank-index-page .add-btn.is-added:hover {
      color: #2563eb;
      background: #eff6ff;
      border-color: #bfdbfe;
    }

    .question-bank-index-page .add-btn.is-loading {
      position: relative;
      padding-left: 32px;
      cursor: wait;
      opacity: .86;
    }

    .question-bank-index-page .add-btn.is-loading::before {
      position: absolute;
      left: 12px;
      width: 12px;
      height: 12px;
      border: 2px solid rgba(255, 255, 255, .48);
      border-top-color: #fff;
      border-radius: 50%;
      content: "";
      animation: question-basket-button-spin .7s linear infinite;
    }

    @keyframes question-basket-button-spin {
      to { transform: rotate(360deg); }
    }

    .question-bank-index-page .icon-btn {
      width: 32px;
      height: 32px;
      border-radius: 6px;
      background: var(--panel-soft);
      border: 0;
      color: #64748b;
      font-weight: 900;
    }

    .question-bank-index-page .question-body {
      padding-left: var(--question-check-space);
      cursor: pointer;
    }

    .question-bank-index-page .question-stem {
      min-height: 0;
      padding: 0;
      line-height: 1.9;
      font-size: 15px;
      color: var(--text-main);
      margin-bottom: 8px;
      transition: 0.18s ease;
    }

    .question-bank-index-page .question-stem img {
      max-width: min(100%, 360px);
      max-height: 240px;
      width: auto;
      height: auto;
      object-fit: contain;
      display: inline-block;
      vertical-align: middle;
    }

    .question-bank-index-page .question-stem p > img:only-child {
      margin: 4px 0;
    }

    .question-bank-index-page .question-stem p[data-align="center"] > img:only-child {
      margin-right: auto;
      margin-left: auto;
    }

    .question-bank-index-page .question-stem p[data-align="right"] > img:only-child {
      margin-right: 0;
      margin-left: auto;
    }

    .question-bank-index-page .question-stem p[data-align="center"] {
      text-align: center;
    }

    .question-bank-index-page .question-stem p[data-align="right"] {
      text-align: right;
    }

    .question-bank-index-page .question-stem p[data-align="justify"] {
      text-align: justify;
    }

    .question-bank-index-page .question-stem table {
      max-width: 100%;
      margin: 10px 0;
      border-collapse: collapse;
      table-layout: auto;
    }

    .question-bank-index-page .question-stem table:is([data-table-align="center"], [data-align="center"]) {
      margin-right: auto;
      margin-left: auto;
    }

    .question-bank-index-page .question-stem table:is([data-table-align="right"], [data-align="right"]) {
      margin-left: auto;
    }

    .question-bank-index-page .question-stem table td,
    .question-bank-index-page .question-stem table th {
      min-width: 48px;
      padding: 6px 9px;
      border: 1px solid #64748b;
      vertical-align: top;
    }

    .question-bank-index-page .question-stem table :is(td, th)[data-v-align="center"] {
      vertical-align: middle;
    }

    .question-bank-index-page .question-stem table :is(td, th)[data-v-align="bottom"] {
      vertical-align: bottom;
    }

    .question-bank-index-page .question-stem table[data-grid-widths-twips] td,
    .question-bank-index-page .question-stem table[data-grid-widths-twips] th {
      min-width: 0;
    }

    .question-bank-index-page .question-stem table td p,
    .question-bank-index-page .question-stem table th p {
      margin: 0;
    }

    .question-bank-index-page .question-body:hover .question-stem {
      color: var(--text-main);
    }

    .question-bank-index-page .options {
      margin-top: 6px;
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
      color: #334155;
    }

    .question-bank-index-page .answer-box {
      color: #475569;
      margin-bottom: 12px;
      display: flex;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 6px 18px;
    }

    .question-bank-index-page .answer-row {
      display: inline-flex;
      align-items: flex-start;
      flex: 0 1 auto;
      gap: 6px;
      line-height: 1.7;
      min-width: 0;
      max-width: 100%;
    }

    .question-bank-index-page .answer-row.is-block,
    .question-bank-index-page .answer-row.is-structured {
      display: block;
      flex: 1 0 100%;
    }

    .question-bank-index-page .answer-label {
      flex: 0 0 auto;
      font-weight: 800;
      color: #334155;
    }

    .question-bank-index-page .answer-content {
      min-width: 0;
      color: #475569;
      overflow-wrap: anywhere;
    }

    .question-bank-index-page .answer-row.is-block .answer-label,
    .question-bank-index-page .answer-row.is-structured .answer-label {
      display: block;
      margin-bottom: 4px;
    }

    .question-bank-index-page .answer-content > :first-child { margin-top: 0; }
    .question-bank-index-page .answer-content > :last-child { margin-bottom: 0; }

    .question-bank-index-page .question-knowledge-tags {
      padding-left: var(--question-check-space);
      margin: 0 0 12px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px 8px;
      min-width: 0;
    }

    .question-bank-index-page .question-foot {
      padding-left: var(--question-check-space);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--muted);
      font-size: 12px;
    }

    .question-bank-index-page .foot-info {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .question-bank-index-page .text-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 0 0 auto;
    }

    .question-bank-index-page .text-actions a {
      color: #64748b;
      font-weight: 500;
    }

    .question-bank-index-page .text-actions a:hover {
      color: var(--blue);
    }

    .question-bank-index-page .question-more-menu {
      position: relative;
      display: inline-flex;
      align-items: center;
    }

    .question-bank-index-page .question-more-menu summary {
      list-style: none;
    }

    .question-bank-index-page .question-more-menu summary::-webkit-details-marker {
      display: none;
    }

    .question-bank-index-page .question-more-trigger {
      height: 28px;
      padding: 0 9px;
      border-color: transparent;
      background: transparent;
      color: #64748b;
      font-weight: 500;
      cursor: pointer;
      user-select: none;
    }

    .question-bank-index-page .question-more-menu[open] .question-more-trigger,
    .question-bank-index-page .question-more-trigger:hover {
      border-color: #d7dfeb;
      background: #fff;
      color: var(--blue);
      box-shadow: none;
    }

    .question-bank-index-page .question-more-list {
      position: absolute;
      right: -5px;
      bottom: calc(100% + 4px);
      width: 120px;
      padding: 4px;
      border: 1px solid #d7dfeb;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
      z-index: 25;
    }

    .question-bank-index-page .question-more-list::after {
      content: "";
      position: absolute;
      right: 20px;
      bottom: -5px;
      width: 8px;
      height: 8px;
      background: #fff;
      border-right: 1px solid #d7dfeb;
      border-bottom: 1px solid #d7dfeb;
      transform: rotate(45deg);
    }

    .question-bank-index-page .question-more-item {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 32px;
      padding: 0 9px;
      border-radius: 5px;
      display: flex;
      align-items: center;
      background: transparent;
      color: #334155;
      font-size: 12px;
      font-weight: 500;
      text-align: left;
      white-space: nowrap;
      transition: 0.18s ease;
    }

    .question-bank-index-page .question-more-item:hover {
      background: var(--panel-soft);
      color: var(--blue);
    }

    .question-bank-index-page .question-more-item.danger {
      color: var(--red);
    }

    .question-bank-index-page .question-more-item.danger:hover {
      background: var(--red-soft);
      color: var(--red);
    }

    .question-bank-index-page .pagination {
      padding: 8px 0 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
      font-weight: 400;
    }

    .question-bank-index-page .saved-view-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .question-bank-index-page .saved-view-item {
      min-height: 34px;
      padding: 0 10px;
      display: flex;
      align-items: center;
      border-radius: 6px;
      color: #475569;
      font-size: 13px;
    }

    .question-bank-index-page .saved-view-item:hover,
    .question-bank-index-page .saved-view-item.active {
      color: var(--blue);
      background: var(--blue-soft);
    }

    .question-bank-index-page .saved-view-item.active {
      font-weight: 400;
    }

    .question-bank-index-page .saved-view-name {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .question-bank-index-page .saved-view-manage {
      position: relative;
    }

    .question-bank-index-page .saved-view-manage summary {
      list-style: none;
      cursor: pointer;
    }

    .question-bank-index-page .saved-view-manage-list {
      position: absolute;
      top: 24px;
      right: auto;
      left: 0;
      z-index: 40;
      width: min(330px, calc(100vw - 32px));
      max-height: min(420px, calc(100vh - 120px));
      overflow-y: auto;
      padding: 8px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
      box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    }

    .question-bank-index-page .saved-view-manage-item {
      min-height: 36px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) repeat(4, auto);
      align-items: center;
      gap: 4px;
    }

    .question-bank-index-page .saved-view-manage-item button {
      padding: 4px 6px;
      border-radius: 4px;
      background: var(--panel-soft);
      color: #64748b;
      font-size: 12px;
    }

    .question-bank-index-page .saved-view-manage-item button.danger {
      color: var(--red);
    }

    .question-bank-index-page .active-filter-row {
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .question-bank-index-page .active-filter-main,
    .question-bank-index-page .active-filter-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .question-bank-index-page .active-filter-label {
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .question-bank-index-page .filter-chip {
      min-height: 28px;
      padding: 0 6px 0 10px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      border-radius: 6px;
      color: var(--blue);
      background: var(--blue-soft);
      font-size: 12px;
    }

    .question-bank-index-page .filter-chip button {
      padding: 2px 4px;
      color: inherit;
      background: transparent;
    }

    .question-bank-index-page .save-view-btn {
      color: rgba(255,255,255);
      background:var(--primary);
      font-size: 12px;
    }
.question-bank-index-page .active-filter-actions .base-btn-sm{font-size: 12px;}
    .question-bank-index-page .page-size-select {
      height: 30px;
      padding: 0 8px;
      border: 1px solid var(--line);
      border-radius: 6px;
      color: #475569;
      background: var(--panel-soft);
      font-size: 13px;
      font-weight: 400;
    }

    .question-bank-index-page .page-size-single-select {
      --llx-single-select-height: 30px;
      --llx-single-select-border: var(--line);
      --llx-single-select-border-active: #9eb8ef;
      --llx-single-select-background: var(--panel-soft);
      --llx-single-select-color: #475569;
      width: 116px;
      flex: 0 0 116px;
    }

    .question-bank-index-page .page-size-single-select .llx-single-select-trigger {
      padding: 0 8px;
      font-size: 13px;
      font-weight: 400;
    }

    .question-bank-index-page .page-size-single-select .llx-single-select-options {
      font-size: 13px;
      font-weight: 400;
    }

    .question-bank-index-page .view-switch {
      display: inline-flex;
      padding: 2px;
      border-radius: 6px;
      background: var(--panel-soft);
    }

    .question-bank-index-page .view-switch button {
      height: 26px;
      padding: 0 9px;
      border-radius: 4px;
      color: #64748b;
      background: transparent;
      font-size: 14px;
      font-weight: 400;
    }

    .question-bank-index-page .view-switch button.active {
      color: var(--blue);
      background: #fff;
    }

    .question-bank-index-page .selection-scope-bar {
      padding: 8px 12px;
      color: #475569;
      background: var(--blue-soft);
      font-size: 12px;
      text-align: center;
    }

    .question-bank-index-page .selection-scope-bar button {
      margin-left: 6px;
      color: var(--blue);
      background: transparent;
      font-weight: 800;
    }

    .question-bank-index-page .compact-question-item {
      border: 1px solid transparent;
      padding-top: 14px;
      padding-bottom: 12px;
    }

    .question-bank-index-page .compact-question-item.is-checked {
      border-color: var(--blue);
    }

    .question-bank-index-page .compact-question-item .question-body {
      padding-top: 2px;
      padding-bottom: 12px;
    }

    .question-bank-index-page .compact-stem {
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      color: var(--text-main);
      line-height: 1.7;
    }

    .question-bank-index-page .pagination-summary {
      margin-left: 8px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 400;
    }

    .question-bank-index-page .page-jump {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 400;
    }

    .question-bank-index-page .page-jump input {
      width: 58px;
      height: 30px;
      border: 1px solid var(--line);
      border-radius: 6px;
      text-align: center;
      font-weight: 400;
    }

    .question-bank-index-page .page-btn {
      min-width: 34px;
      font-weight: 400;
    }

    .question-bank-index-page .page-btn:hover,
    .question-bank-index-page .page-btn.active {
      color: #fff;
      background: var(--blue);
    }

    .question-bank-index-page .aside {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .question-bank-index-page .aside-card {
      padding: 16px;
    }

    .question-bank-index-page .aside-title {
      margin: 0 0 12px;
      font-size: 16px;
      font-weight: 900;
    }

    .question-bank-index-page .info-list {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .question-bank-index-page .info-row {
      min-height: 35px;
      padding: 8px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      border-bottom: 1px dashed var(--line-dark);
    }

    .question-bank-index-page .info-row:last-child {
      border-bottom: 0;
    }

    .question-bank-index-page .info-label {
      color: var(--muted);
      font-size: 13px;
    }

    .question-bank-index-page .info-value {
      text-align: right;
      font-weight: 800;
      color: #1f2937;
    }

    .question-bank-index-page .stat-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .question-bank-index-page .stat-box {
      min-height: 72px;
      padding: 12px;
      border-radius: 6px;
      background: var(--panel-soft);
      border: 0;
    }

    .question-bank-index-page .stat-num {
      font-size: 24px;
      font-weight: 900;
      letter-spacing: -0.5px;
      color: #0f172a;
      margin-bottom: 4px;
    }

    .question-bank-index-page .stat-label {
      color: var(--muted);
      font-size: 12px;
    }

    .question-bank-index-page .tip-box {
      padding: 12px;
      border-radius: 6px;
      background: #fff7ed;
      border: 0;
      color: #9a3412;
      line-height: 1.7;
      font-size: 12px;
      font-weight: 700;
    }

    .question-bank-index-page .quick-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .question-bank-index-page .quick-item {
      padding: 11px 12px;
      border-radius: 6px;
      background: var(--panel-soft);
      border: 0;
      transition: 0.18s ease;
    }

    .question-bank-index-page .quick-item:hover {
      background: var(--panel-hover);
    }

    .question-bank-index-page .quick-title {
      font-weight: 900;
      margin-bottom: 4px;
      color: #1f2937;
    }

    .question-bank-index-page .quick-desc {
      color: var(--muted);
      font-size: 12px;
    }

    .question-bank-index-page .log-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .question-bank-index-page .log-item {
      display: flex;
      gap: 9px;
      align-items: flex-start;
      line-height: 1.6;
    }

    .question-bank-index-page .log-dot {
      width: 8px;
      height: 8px;
      border-radius: 99px;
      background: #cbd5e1;
      margin-top: 7px;
      flex: 0 0 auto;
    }

    .question-bank-index-page .log-title {
      font-weight: 800;
      color: #334155;
    }

    .question-bank-index-page .log-time {
      color: var(--weak);
      font-size: 12px;
    }

    @media (max-width: 1280px) {
    .question-bank-index-page .question-bank-layout-show {
        grid-template-columns: 250px minmax(0, 1fr);
      }

    }

    @media (max-width: 900px) {
      .question-bank-index-page .list-sticky-tools {
          top: var(--sticky-gap);
      }
    .question-bank-index-page .question-bank-layout-show {
        grid-template-columns: 1fr;
      }

    .question-bank-index-page .sidebar {
        position: static;
      }

    .question-bank-index-page .saved-view-manage-list {
        right: 0;
        left: auto;
      }

    .question-bank-index-page .search-filter,
    .question-bank-index-page .more-filter-grid {
        grid-template-columns: 1fr 1fr;
      }

    .question-bank-index-page .filter-note {
        align-items: flex-start;
        flex-direction: column;
      }

    .question-bank-index-page .batch-bar,
    .question-bank-index-page .list-sort-bar,
    .question-bank-index-page .question-top,
    .question-bank-index-page .question-foot {
        align-items: stretch;
        flex-direction: column;
      }

    .question-bank-index-page .question-actions,
    .question-bank-index-page .batch-actions,
    .question-bank-index-page .sort-right {
        justify-content: flex-start;
      }

    .question-bank-index-page .category-manage-menu,
    .question-bank-index-page .category-manage-btn {
        width: 100%;
      }

    .question-bank-index-page .category-manage-list {
        left: 0;
        right: auto;
        width: 100%;
      }

    .question-bank-index-page .category-manage-list::before {
        left: 26px;
        right: auto;
      }

    }

    @media (max-width: 560px) {
    .question-bank-index-page .search-filter,
    .question-bank-index-page .more-filter-grid {
        grid-template-columns: 1fr;
      }

    .question-bank-index-page .question-card {
        --question-check-space: 28px;
      }

    .question-bank-index-page .question-check-wrap {
        left: 10px;
        top: 13px;
      }

    .question-bank-index-page .options {
        gap: 8px 14px;
      }
    }

/* 题库筛选抽屉：只替换筛选交互，不改变现有工作台与列表布局。 */
html.llx-question-filter-open,
html.llx-question-filter-open body {
  overflow: hidden;
}

.question-bank-index-page .question-control-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.question-bank-index-page .work-status-tabs {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.question-bank-index-page .work-status-tab {
  position: relative;
  height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.question-bank-index-page .work-status-tab:hover {
  color: var(--text);
}

.question-bank-index-page .work-status-tab.active {
  color: var(--blue);
  font-weight: 500;
}

.question-bank-index-page .work-status-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--blue);
}

.question-bank-index-page .open-filter-btn {
  flex: 0 0 auto;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.question-bank-index-page .open-filter-btn:hover,
.question-bank-index-page .open-filter-btn.has-filter {
  color: var(--blue);
}

.question-bank-index-page .active-filter-row {
  min-height: 42px;
  margin-top: 0;
  padding-top: 9px;
  border-top: 0;
}

.question-bank-index-page .active-filter-row.is-empty {
  justify-content: flex-start;
}

.question-bank-index-page .filter-hint {
  color: var(--weak);
  font-size: 12px;
}

.question-bank-index-page .filter-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(15, 23, 42, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.question-bank-index-page .filter-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.question-bank-index-page .filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  width: min(600px, 100vw);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
  box-shadow: -14px 0 36px rgba(15, 23, 42, 0.14);
  transform: translateX(102%);
  transition: transform 0.22s ease;
}

.question-bank-index-page .filter-drawer.open {
  transform: translateX(0);
}

.question-bank-index-page .filter-drawer-head {
  min-height: 72px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.question-bank-index-page .filter-drawer-title {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

.question-bank-index-page .filter-drawer-subtitle {
  margin-top: 4px;
  color: var(--weak);
  font-size: 12px;
}

.question-bank-index-page .filter-drawer-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.question-bank-index-page .filter-drawer-close:hover {
  background: var(--panel-soft);
  color: var(--text);
}

.question-bank-index-page .filter-drawer-body {
  min-height: 0;
  padding: 4px 20px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.question-bank-index-page .drawer-filter-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.question-bank-index-page .drawer-filter-group:last-child {
  border-bottom: 0;
}

.question-bank-index-page .drawer-filter-title {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.question-bank-index-page .drawer-filter-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.question-bank-index-page .drawer-filter-option {
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.question-bank-index-page .drawer-filter-option:hover {
  color: var(--blue);
  border-color: #cddcff;
}

.question-bank-index-page .drawer-filter-option.active {
  color: var(--blue);
  border-color: #bfd2ff;
  background: var(--blue-soft);
  font-weight: 500;
}

.question-bank-index-page .drawer-keyword {
  position: relative;
}

.question-bank-index-page .drawer-keyword .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  z-index: 1;
  color: var(--weak);
  transform: translateY(-50%);
}

.question-bank-index-page .drawer-keyword input,
.question-bank-index-page .drawer-filter-select,
.question-bank-index-page .drawer-knowledge-btn {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.question-bank-index-page .drawer-keyword input {
  padding: 0 12px 0 36px;
}

.question-bank-index-page .drawer-filter-select {
  padding: 0 32px 0 11px;
}

.question-bank-index-page .drawer-knowledge-btn {
  padding: 0 12px;
  text-align: left;
}

.question-bank-index-page .drawer-knowledge-btn:disabled {
  cursor: not-allowed;
  color: var(--weak);
  background: var(--panel-soft);
}

.question-bank-index-page .drawer-keyword input:focus,
.question-bank-index-page .drawer-filter-select:focus,
.question-bank-index-page .drawer-knowledge-btn:focus-visible {
  border-color: #9eb8ef;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.question-bank-index-page .filter-drawer-foot {
  min-height: 68px;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.question-bank-index-page .filter-drawer-reset,
.question-bank-index-page .filter-drawer-apply {
  height: 42px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.question-bank-index-page .filter-drawer-reset {
  border: 1px solid var(--line-dark);
  background: #fff;
  color: var(--muted);
}

.question-bank-index-page .filter-drawer-apply {
  min-width: 0;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

.question-bank-index-page .filter-drawer-apply:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 680px) {
  .question-bank-index-page .question-control-row {
    gap: 12px;
  }

  .question-bank-index-page .work-status-tabs {
    gap: 18px;
  }

  .question-bank-index-page .active-filter-row {
    align-items: flex-start;
  }

  .question-bank-index-page .active-filter-actions {
    width: 100%;
  }

  .question-bank-index-page .filter-drawer-head,
  .question-bank-index-page .filter-drawer-body,
  .question-bank-index-page .filter-drawer-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.question-bank-index-page label.drawer-filter-title { display: block; }
.question-bank-index-page .drawer-filter-subtitle { margin: 6px 0 0; color: var(--text-light); font-size: 12px; }

/* 筛选抽屉沿用公共目录/知识点树，仅补充状态文字。 */
.question-bank-index-page .drawer-filter-tree-tip {
  margin: 8px 0 0;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.6;
}
