/* A single compact form serves every material category. */
.material-form .form-grid:has(input[name="arabic"]) label:not(:has(input[name="arabic"])) {
  display: none !important;
}
.material-form .form-grid:has(input[name="arabic"]) label:has(input[name="arabic"]) {
  grid-column: 1 / -1;
}
.material-form .checks label.check-row:has(input[name="available"]),
.material-form .tajwid-fields {
  display: none !important;
}
.material-form .form-title>div>h2 { margin-bottom: 4px; }
.material-manager .manager-head h2 { margin-bottom: 0; }
.cover {
  container-type: inline-size;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: 44px minmax(0, 1fr) auto;
  row-gap: 4px;
  height: 196px;
  min-height: 196px;
  max-height: 196px;
}
.cover .number { grid-area: 1 / 1; }
.cover .volume {
  grid-area: 1 / 2;
  align-self: center;
  margin-left: 10px;
}
.cover > strong {
  position: relative;
  grid-area: 2 / 1 / 3 / 3;
  inset: auto;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0.08em 0.04em 0.12em;
  overflow: visible;
  overflow-wrap: anywhere;
  text-align: right;
  font-size: clamp(20px, calc(320cqi / var(--arabic-length, 1)), 48px);
  line-height: 1.3;
}
.cover i {
  position: relative;
  grid-area: 3 / 1;
  inset: auto;
  justify-self: start;
  align-self: end;
}
.aq-teacher-simple { max-width: 800px; margin: 0 auto; }
.aq-teacher-simple .aq-card { margin-bottom: 16px; }
.aq-teacher-simple .aq-progress-note { margin: 0; color: #63786f; font-size: 13px; }
.aq-teacher-simple .aq-form { max-width: 680px; }
@media(max-width:600px) {
  .aq-teacher-simple { max-width: 100%; }
}
