.nav-section { display: block; margin: 16px 8px 8px; color: #93a4b8; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cf-font-manager { padding: 0; }
.cf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.cf-toolbar h2 { margin: 0; font-size: 17px; }
.cf-count { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.cf-font-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(245px, 100%), 1fr));
  gap: 14px;
  padding: 18px 20px 20px;
}
.cf-font-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.cf-font-card-head, .cf-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cf-font-card-head h3 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.cf-font-card-head .badge { flex-shrink: 0; }
.cf-specimen {
  display: grid;
  align-content: center;
  gap: 5px;
  flex: 1;
  min-height: 118px;
  padding: 13px;
  border: 1px solid #e5edf5;
  border-radius: 8px;
  background: #f5f8fc;
  font-family: var(--cf-family), "Nirmala UI", sans-serif;
  font-size: 1.05rem;
  font-weight: var(--cf-weight);
  font-style: var(--cf-style);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.cf-specimen p { margin: 0; }
.cf-specimen-large { padding: 20px; font-size: clamp(1.1rem, 4vw, 2rem); }
.cf-card-footer { flex-wrap: wrap; }
.cf-pdf-status { font-size: 12px; color: var(--muted); }
.cf-actions { margin-left: auto; }
.cf-font-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 14px 0 0; font-size: 13px; }
.cf-font-meta dt { color: var(--muted); }
.cf-font-meta dd { margin: 0; overflow-wrap: anywhere; }
.cf-install-form { max-width: 980px; }
.cf-install-form .help { margin: 0; }
.cf-drop-zone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 22px 12px;
  border: 2px dashed #9fb3c8;
  border-radius: 10px;
  background: #f8fafc;
  text-align: center;
  cursor: pointer;
}
.cf-drop-zone:hover, .cf-drop-zone.dragover, .cf-drop-zone:focus-within {
  border-color: var(--brand);
  background: #ecf4ff;
}
.cf-drop-zone input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.cf-drop-zone img { width: 26px; height: 26px; }
.cf-drop-zone strong, .cf-drop-zone em { display: block; overflow-wrap: anywhere; }
.cf-drop-zone strong { font-size: 15px; }
.cf-drop-zone em { color: var(--muted); font-style: normal; margin-top: 4px; }
@media (min-width: 560px) {
  .cf-install-form .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .cf-toolbar, .cf-font-grid { padding: 12px; }
}
@media (max-width: 900px) {
  .nav-section { display: inline-flex; align-items: center; margin: 0 4px; color: #cbd5e1; }
}

