/* Quiriz /templates/ — layers on /blog/blog.css. Only template-specific bits. */

.tmpl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 22px 0 8px;
}
.tmpl-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1f2a44;
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #1f2a44;
  transition: background .15s ease, transform .05s ease;
}
.tmpl-download:hover { background: #2b3a5e; }
.tmpl-download:active { transform: translateY(1px); }
.tmpl-download .fmt {
  font-weight: 500;
  font-size: .82rem;
  opacity: .75;
}
.tmpl-note {
  font-size: .9rem;
  color: #6b7280;
}

.tmpl-inside {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 18px 0 8px;
}
.sheet-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}
.sheet-name {
  font-weight: 700;
  color: #1f2a44;
  margin: 0 0 6px;
  font-size: 1.02rem;
}
.sheet-cols {
  margin: 0;
  color: #4b5563;
  font-size: .92rem;
  line-height: 1.5;
}

/* hub grid reuses .post-card from blog.css; add a small template tag colour */
.tmpl-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1f2a44;
  background: #eef1f7;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

@media (prefers-color-scheme: dark) {
  .sheet-card { background: #141922; border-color: #2a3342; }
  .sheet-name { color: #e6ebf4; }
  .sheet-cols { color: #a9b4c4; }
  .tmpl-tag { color: #cdd6e6; background: #1c2432; }
  .tmpl-note { color: #98a2b3; }
}
