/* Pendidikan Islam (Darjah 5) — tema subjek: krim, hijau pastel, toska lembut.
   Gaya asas dari _core/css/style.css; hanya warna/aksen & tipografi Arab diubah. */

:root {
  --sky: #f6fbf4;        /* latar krim-hijau lembut */
  --green: #3fa86b;      /* hijau tenang */
  --green-d: #2f8f56;
  --blue: #3d8b7d;       /* toska lembut untuk tajuk */
  --paper: #fffdf6;
}

/* skrip Arab — jelas & besar (huruf tajwid, teks hadis) */
.qsub,
.opt .oe,
.mitem .oe,
.chip .oe,
.passage {
  font-family: "Traditional Arabic", "Scheherazade New", "Amiri", "Noto Naskh Arabic",
               "Segoe UI Historic", serif;
}

/* kad petikan (hadis/teks) — neutral; teks Arab dibalut dir=rtl dalam kandungan */
.passage {
  direction: ltr;
  text-align: left;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  line-height: 1.9;
  background: #fff8e4;
  border-color: #f0dfae;
}

/* pilihan teks panjang (transliterasi & istilah) — elak limpahan */
.opt .ot, .mitem .ot, .chip .ct {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* kotak taip jawapan (input) — sasaran sentuh besar, huruf jelas */
.typeinput {
  font-size: 1.4rem;
  min-height: 60px;
  border-color: #cfe4d6;
  background: #ffffff;
  color: var(--ink);
}

/* label rajah abstrak (proses umrah / plan lantai masjid) */
.labelarea {
  background: linear-gradient(#f6fbf4, #eef7ff);
  border-color: #cfe4d6;
}
.slot.lbl { border-color: #b9d4ef; }
.slot.lbl .bt { font-size: .78rem; }

/* grid bina kad adab */
.buildarea + .tray .chip { min-width: 120px; max-width: 200px; }
.buildarea + .tray .chip .oe {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
