
    body {
      background-color: #050811;
      color: #e2e8f0;
      font-family: Inter, -apple-system, sans-serif;
    }
    .font-mono { font-family: 'JetBrains Mono', monospace; }
    .glow-header {
      text-shadow: 0 0 30px rgba(244, 63, 94, 0.35);
    }
    .glass-card {
      background: linear-gradient(145deg, rgba(17, 24, 39, 0.8) 0%, rgba(11, 15, 23, 0.95) 100%);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .evidence-card {
      height: 420px;
      min-height: 420px;
      max-height: 420px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-sizing: border-box;
      max-width: 100%;
      overflow: hidden;
      background: rgba(10, 14, 23, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 0.75rem;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
      box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
    }
    .evidence-card:hover {
      border-color: rgba(56, 189, 248, 0.45);
      transform: translateY(-3px);
      box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.12);
    }
    .evidence-card .card-img-wrap {
      height: 180px;
      min-height: 180px;
      max-height: 180px;
      flex-shrink: 0;
      width: 100%;
      position: relative;
      background: rgba(0, 0, 0, 0.6);
      overflow: hidden;
      cursor: pointer;
    }
    .evidence-card .card-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      opacity: 0.88;
      transition: transform 0.35s ease, opacity 0.3s ease;
    }
    .evidence-card:hover .card-img-wrap img {
      opacity: 1;
      transform: scale(1.04);
    }
    .evidence-card .card-body {
      padding: 1.125rem 1.25rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 0;
      box-sizing: border-box;
    }
    .card-title {
      font-family: Inter, -apple-system, sans-serif;
      font-size: 15px;
      font-weight: 700;
      color: #f1f5f9;
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      word-break: break-word;
      transition: none;
    }
    .evidence-card:hover .card-title {
      color: #38bdf8;
    }
    .card-source {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.05em;
      color: #38bdf8;
      margin-top: 0.5rem;
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .card-footer {
      padding-top: 0.75rem;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
    }
    .category-badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: 6px;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      max-width: 175px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      letter-spacing: 0.02em;
    }
    .badge-refusal,
    .evidence-card.cat-canned .category-badge {
      background: rgba(225, 29, 72, 0.22);
      border: 1px solid rgba(244, 63, 94, 0.5);
      color: #fda4af;
    }
    .badge-closed,
    .evidence-card.cat-closed .category-badge {
      background: rgba(100, 116, 139, 0.25);
      border: 1px solid rgba(148, 163, 184, 0.45);
      color: #cbd5e1;
    }
    .badge-theft {
      background: rgba(217, 119, 6, 0.22);
      border: 1px solid rgba(245, 158, 11, 0.5);
      color: #fcd34d;
    }
    .badge-staff,
    .evidence-card.cat-staff .category-badge {
      background: rgba(2, 132, 199, 0.22);
      border: 1px solid rgba(56, 189, 248, 0.5);
      color: #7dd3fc;
    }
    .badge-highvalue,
    .evidence-card.cat-highvalue .category-badge {
      background: rgba(147, 51, 234, 0.22);
      border: 1px solid rgba(168, 85, 247, 0.5);
      color: #d8b4fe;
    }
    .filter-btn, .filter-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 9999px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 500;
      color: #94a3b8;
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.1);
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      white-space: nowrap;
    }
    .filter-btn:hover, .filter-chip:hover {
      color: #f1f5f9;
      background: rgba(30, 41, 59, 0.85);
      border-color: rgba(255, 255, 255, 0.22);
    }
    .filter-btn.active, .filter-chip.active {
      color: #38bdf8;
      background: rgba(56, 189, 248, 0.15);
      border-color: #38bdf8;
      box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
      font-weight: 600;
    }
    .chip-dot {
      width: 7px;
      height: 7px;
      border-radius: 9999px;
      display: inline-block;
      flex-shrink: 0;
    }
    .dot-all { background: #38bdf8; }
    .dot-red { background: #f43f5e; box-shadow: 0 0 6px rgba(244, 63, 94, 0.6); }
    .dot-gray { background: #94a3b8; box-shadow: 0 0 6px rgba(148, 163, 184, 0.6); }
    .dot-amber { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.6); }
    .dot-blue { background: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.6); }
    .dot-purple { background: #c084fc; box-shadow: 0 0 6px rgba(192, 132, 252, 0.6); }

    .chip-count {
      font-size: 11px;
      opacity: 0.75;
      padding: 1px 6px;
      border-radius: 9999px;
      background: rgba(0, 0, 0, 0.35);
    }
    #lightbox-modal {
      background-color: rgba(5, 7, 10, 0.92);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }
    #lightbox-modal .modal-dialog {
      max-width: 92vw;
      max-height: 96vh;
      width: 1020px;
      background: #090d16;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(56, 189, 248, 0.08);
      display: flex;
      flex-direction: column;
    }
    #lightbox-modal #modal-img {
      max-height: 85vh;
      max-width: 100%;
      object-fit: contain;
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    }
    .modal-btn {
      height: 42px;
      min-height: 42px;
      padding: 0 20px;
      border-radius: 8px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s ease;
      box-sizing: border-box;
    }
    .modal-btn-primary {
      background: rgba(8, 145, 178, 0.2);
      border: 1px solid rgba(56, 189, 248, 0.4);
      color: #38bdf8;
    }
    .modal-btn-primary:hover {
      background: rgba(8, 145, 178, 0.35);
      border-color: #38bdf8;
      color: #e0f2fe;
    }
    .modal-btn-secondary {
      background: rgba(30, 41, 59, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #cbd5e1;
    }
    .modal-btn-secondary:hover {
      background: rgba(51, 65, 85, 0.9);
      border-color: rgba(255, 255, 255, 0.25);
      color: #ffffff;
    }
    @media (max-width: 640px) {
      .modal-footer-btns {
        flex-direction: column !important;
        width: 100%;
      }
      .modal-btn {
        width: 100% !important;
      }
    }
  
.evidence-card { color: #e2e8f0; }
.evidence-card .card-title { color: #e2e8f0; }
.evidence-card .card-footer a { color: #9edbea; }

body.min-h-screen .evidence-card :is(.card-title, .card-footer a) { transition: none; }
