/* مَتْنُ الْآجُرُّومِيَّةِ — reader. Reuses the Hikam reader's layout classes (hikam.css, .hk-*); only what is specific to the matn is here. Tokens only, both themes. */
.aj-entry{border-inline-start-color:var(--accent)}
.aj-ref{display:inline-block;unicode-bidi:isolate;direction:ltr;white-space:nowrap;font-family:var(--font-body);font-variant-numeric:tabular-nums;letter-spacing:.02em}
/* a masala number is «bab.masala», wider than a single hikma number */
.aj-num{min-width:3em;padding-inline:.45em;font-size:.68em}
.hk-bk-v .aj-num{min-width:0}
.hk-bk-b > .hk-verse.hk-bk-v{grid-template-columns:2.8em minmax(0,1fr)}
.aj-basmala{margin:.6em 0 0;font-family:var(--font-display);font-size:1.35rem;line-height:1.9;color:var(--accent);text-align:center}
.aj-soon,.aj-note{margin-inline:auto;text-align:center}
.aj-note{max-width:34rem}
@container hkpage (min-width: 24em){
  .hk-bk-b > .hk-verse.hk-bk-v{grid-template-columns:2.8em minmax(0,26em)}
}
@media (max-width:600px){
  .hk-bk-b > .hk-verse.hk-bk-v{grid-template-columns:2.4em minmax(0,1fr)}
  .aj-basmala{font-size:1.2rem}
}
/* the intro before the matn (000-1310): «المقدّمات» → three folds opening in place; Arabic title right, Norwegian label left */
.aj-intros{margin-bottom:12px}
.aj-intro > summary .qd-fasl-t{font-family:var(--font-display);font-size:1.1rem;line-height:1.6;min-width:0;overflow-wrap:anywhere}
.aj-intro > summary .qd-kitab-c{flex:none}
.aw-md.aj-md{padding:6px 14px 12px;font-size:1.15rem;line-height:2.05}
.aj-md .aw-h{margin:.9em 0 .3em;color:var(--accent);font-size:1.12em}
@media (max-width:600px){.aw-md.aj-md{font-size:1.08rem}.aw-md.aj-md p{text-align:start}}
.aj-md .aj-hr{border:0;border-top:1px solid var(--border);margin:14px 24px}
.aj-pending{margin:0;padding:8px 14px 12px}
