/* Tajweed restore UI · 20261022TJ */
.tj-rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.5rem;
  margin: 0.35rem 0 0.85rem;
}
.tj-rule-tile {
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 0.75rem;
  padding: 0.35rem 0.55rem;
  background: rgba(13, 79, 60, 0.08);
}
.tj-rule-tile summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent, #c9a84c);
  font-size: 0.92rem;
}
.tj-rule-tile p {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0.4rem 0 0.2rem;
}
.tj-lmr-mode.active {
  background: #1e7d5e !important;
  color: #fff !important;
}
details.clarity-embed-fold[open] .clarity-embed-body {
  min-height: 200px;
}

.tj-lesson-pick-label{display:block;font-size:.82rem;font-weight:700;margin:.25rem 0 .2rem;opacity:.9}
.tj-lesson-pick{
  width:100%;max-width:100%;box-sizing:border-box;
  padding:.45rem .65rem;border-radius:.65rem;
  border:1px solid rgba(201,168,76,.4);
  background:rgba(0,0,0,.25);color:inherit;font-size:.9rem
}
.tj-video-frame{margin-top:.45rem}
.tj-practice-links a{margin-inline-end:.15rem}
.tj-path-stages{padding:.55rem .7rem;border-radius:.75rem;border:1px solid rgba(201,168,76,.25);background:rgba(13,79,60,.08)}
