
.quizflow-library{max-width:1100px;margin:32px auto;padding:28px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;font-family:inherit}
.quizflow-library-head span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#64748b}
.quizflow-library-head h2{margin:6px 0;font-size:28px;color:#0f172a}.quizflow-library-head p{color:#64748b}

/* ===== Live card grid: [quizflow_domain_quizzes] / [quizflow_practice_quizzes] / [quizflow_full_mocks] =====
   Pulls each visitor's real best score / attempt count from the database — this is what replaces a
   hand-built, static homepage section with one that always reflects real data. Colors are set as CSS
   variables so a theme can override them (e.g. to match a cream/serif marketing site) without editing
   this file — see the --qfc-* variables below. */
.quizflow-library{
  --qfc-bg:#fff; --qfc-border:#E7E2D2; --qfc-ink:#17170F; --qfc-muted:#8C8C7A;
  --qfc-icon-bg:#F1F1EC; --qfc-tag-bg:#FBF0E1; --qfc-tag-ink:#C97A1A;
  --qfc-score:#1F3D2B; --qfc-btn-filled-bg:#1F3D2B; --qfc-btn-filled-ink:#fff;
}
.quizflow-card-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:24px}
.quizflow-card{display:flex;flex-direction:column;gap:10px;background:var(--qfc-bg);border:1px solid var(--qfc-border);border-radius:16px;padding:18px;text-decoration:none;color:inherit;transition:box-shadow .15s,transform .15s}
.quizflow-card:hover{box-shadow:0 10px 28px rgba(23,23,15,.10);transform:translateY(-2px)}
.qfc-top{display:flex;justify-content:space-between;align-items:flex-start}
.qfc-icon{width:36px;height:36px;border-radius:10px;background:var(--qfc-icon-bg);color:var(--qfc-ink);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}
.qfc-tag{font-size:10px;font-weight:800;color:var(--qfc-tag-ink);background:var(--qfc-tag-bg);padding:4px 9px;border-radius:99px;letter-spacing:.02em}
.qfc-name{font-size:15px;font-weight:700;color:var(--qfc-ink);line-height:1.25;min-height:38px}
.qfc-status{font-size:12.5px}
.qfc-status.has-score{color:var(--qfc-score);font-weight:600}
.qfc-status.no-score{color:var(--qfc-muted)}
.qfc-btn{display:block;text-align:center;font-size:13px;font-weight:700;padding:10px;border-radius:9px;margin-top:auto}
.qfc-btn-outline{background:#fff;color:var(--qfc-ink);border:1px solid var(--qfc-border)}
.qfc-btn-filled{background:var(--qfc-btn-filled-bg);color:var(--qfc-btn-filled-ink)}
@media(max-width:1000px){.quizflow-card-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.quizflow-card-grid{grid-template-columns:repeat(2,1fr)}}
