.obd2-tool .search-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 1.5rem;
    border-radius: .75rem;
    margin-bottom: 1.5rem;
  }
  .obd2-tool .search-box { display: flex; gap: 10px; margin-bottom: 1rem; }
  .obd2-tool .search-box input {
    flex: 1;
    padding: .8rem 1rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    font-size: 1rem;
    background: var(--ink);
    color: var(--ink2);
  }
  .obd2-tool .search-box input::placeholder { color: var(--dim); }
  .obd2-tool .search-box input:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(59,130,246,.25); }

  .obd2-tool .filter-tags { display: flex; gap: 8px; flex-wrap: wrap; }
  .obd2-tool .tag {
    padding: .4rem .8rem;
    background: var(--surface2);
    color: var(--ink2);
    border-radius: 20px;
    font-size: .85rem;
    cursor: pointer;
    border: 1px solid var(--line);
    transition: .2s;
  }
  .obd2-tool .tag:hover, .obd2-tool .tag.active { background: var(--signal); color: #fff; border-color: var(--signal); }

  .obd2-tool .stats-bar {
    margin-bottom: 1rem;
    font-size: .9rem;
    color: var(--dim);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .obd2-tool .table-container {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: .75rem;
    overflow-x: auto;
    min-height: 400px;
  }
  .obd2-tool table { width: 100%; border-collapse: collapse; text-align: left; }
  .obd2-tool th, .obd2-tool td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .obd2-tool th { background-color: var(--surface2); color: var(--ink2); position: sticky; top: 0; }
  .obd2-tool tbody tr:hover { background-color: var(--surface2); }

  .obd2-tool .code-badge { font-weight: 700; padding: .2rem .5rem; border-radius: .375rem; background: rgba(59,130,246,.12); color: var(--signal); font-family: var(--mono); }
  .obd2-tool .severity-low { color: #4ade80; font-weight: 700; }
  .obd2-tool .severity-medium { color: var(--amber); font-weight: 700; }
  .obd2-tool .severity-high { color: var(--rose); font-weight: 700; }

  .obd2-tool .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 1.5rem; align-items: center; flex-wrap: wrap; }
  .obd2-tool .pagination button {
    padding: .5rem 1rem;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink2);
    border-radius: .5rem;
    cursor: pointer;
  }
  .obd2-tool .pagination button:hover:not(:disabled) { border-color: var(--signal); color: var(--signal); }
  .obd2-tool .pagination button:disabled { opacity: .5; cursor: not-allowed; }
  .obd2-tool .pagination button.active { background: var(--signal); color: #fff; border-color: var(--signal); }
  
  
   /* Modal Styles */
        .modal-backdrop {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.6); z-index: 1000; justify-content: center; align-items: center; padding: 1rem;
        }
        .modal-backdrop.open { display: flex; }
        .modal-card {
            background: #254374; width: 100%; max-width: 800px; max-height: 90vh; border-radius: 8px;
            overflow-y: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.2); animation: fadeIn 0.2s ease-out;
        }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        
        .modal-header { padding: 1.25rem 1.5rem; background: #f9f9f9;color: #0e0e0e; display: flex; justify-content: space-between; align-items: center; }
        .modal-header h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 10px; }
        .close-btn { background: none; border: none; color: #000000; font-size: 1.5rem; cursor: pointer; }
        
        .modal-body { padding: 1.5rem; }
        .detail-section { margin-bottom: 1.25rem; }
        .detail-section h3 { font-size: 1.05rem; color: var(--secondary-color); border-bottom: 2px solid var(--border-color); padding-bottom: 0.3rem; margin-bottom: 0.6rem; }
        .detail-list { list-style-type: square; padding-left: 1.2rem; font-size: 0.95rem; }
        .detail-list li { margin-bottom: 0.3rem; }
        
        .fix-steps { list-style-type: none; counter-reset: step-counter; padding-left: 0; }
        .fix-steps li { position: relative; padding-left: 2.2rem; margin-bottom: 0.75rem; font-size: 0.95rem; }
        .fix-steps li::before {
            counter-increment: step-counter; content: counter(step-counter);
            position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem;
            background: var(--primary-color); color: white; border-radius: 50%;
            text-align: center; font-size: 0.85rem; font-weight: bold; line-height: 1.5rem;
        }

        footer { text-align: center; padding: 2rem; color: #666; font-size: 0.9rem; }