      .subject-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius);
      padding: 18px 18px;
      transition: all .2s;
      cursor: pointer;
      height: 100%;
      text-decoration: none;
      color: var(--dark);
      display: block;
    }
    .subject-card:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(37,99,235,.1); transform: translateY(-4px); color: var(--dark); }
    .subject-icon {
      width: 46px; height: 46px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem; margin-bottom: 12px;
    }
    .subject-card h5 { font-weight: 800; font-size: .95rem; margin-bottom: 4px; }
    .subject-card p { font-size: .82rem; color: var(--muted); margin: 0; }

    .badge-required { font-size: .7rem; font-weight: 700; background: #fef3c7; color: #92400e; border-radius: 50px; padding: 2px 10px; }
    .badge-profile  { font-size: .7rem; font-weight: 700; background: #eff6ff; color: #1d4ed8; border-radius: 50px; padding: 2px 10px; }

   
    .test-item {
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      background: #fff;
      padding: 12px 14px;
      display: flex;
      gap: 12px;
      justify-content: space-between;
      align-items: center;
      transition: .15s;
      text-decoration: none;
      color: var(--dark);
      margin: 0px 5px;
    }
    .test-item:hover { border-color: var(--primary); background: #fbfdff; transform: translateY(-1px); }
    .test-meta { color: var(--muted); font-size: 14px; }
    .pill {
      font-size: .72rem; font-weight: 700;
      border-radius: 50px; padding: 4px 10px;
      border: 1px solid #e2e8f0;
      background: #f8fafc;
      color: #334155;
      white-space: nowrap;
    }
    .pill.time { border-color: #dbeafe; background: #eff6ff; color: #1d4ed8; }
    .pill.q { border-color: #dcfce7; background: #f0fdf4; color: #166534; }