
/* v3: explicit equal toolbar cells in both reader surfaces. */
#mushaf-reader>.mushaf-reader-actions,.knight-reader>.knight-reader-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;direction:rtl!important;gap:0!important;align-items:stretch;justify-self:center;margin:0 auto!important}
#mushaf-reader>.mushaf-reader-actions>button,.knight-reader>.knight-reader-actions>button{min-width:0!important;width:100%!important;height:100%;margin:0!important;box-sizing:border-box;border-radius:0}
#mushaf-reader #mushaf-prev,.knight-reader #knight-prev{grid-column:1!important;grid-row:1!important}
#mushaf-reader #mushaf-close,.knight-reader #cancel{grid-column:2!important;grid-row:1!important}
#mushaf-reader #mushaf-next,.knight-reader #knight-next{grid-column:3!important;grid-row:1!important}
#mushaf-popup #mushaf-reader{grid-template-rows:auto minmax(0,1fr) auto auto;padding:0;row-gap:2px}
.mushaf-reader-footer{min-height:28px;font-size:13px}.mushaf-reader-footer>label{display:flex;align-items:center;justify-content:center;gap:8px;margin:0}.mushaf-reader-footer select{width:auto;min-width:80px;max-width:140px;min-height:28px;height:28px;padding:2px 6px}.mushaf-hizb-picker{max-width:320px;margin-block:10px}.mushaf-hizb-picker select{width:100%}#mushaf-hizbs>.mushaf-hizb{padding:10px;margin:8px 0}#mushaf-hizbs .mapcells{display:grid;grid-template-columns:repeat(auto-fit,minmax(42px,1fr));gap:5px}
