.tb-credit{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.55rem 1rem;margin:1.2rem auto .75rem;padding:.55rem 1rem;color:#103f38;font:600 .76rem/1.4 system-ui,sans-serif;text-align:center}
.tb-credit img,.tb-resource-brand{width:144px;height:30px;object-fit:contain;display:inline-block}
.tb-credit span{unicode-bidi:isolate}
@media print{
 @page{@bottom-center{content:"© تَثَبُّت  |  TATHABBUT";color:#103f38;font:8pt Arial,sans-serif}}
 body>.tb-credit{display:flex!important;position:static!important;break-inside:avoid;padding:1mm 0!important;margin:2mm auto 0!important;font-size:8pt!important}
 .tb-credit img,.tb-resource-brand{width:30mm;height:auto}
 .printpage .tb-resource-brand{display:block;margin:0 auto 2mm}
}
#global-nav .tb-brand-name{display:grid;line-height:1.12}
#global-nav .tb-brand-name small{font:700 9px/1.15 system-ui,sans-serif;letter-spacing:.09em;margin-top:.2rem}

/* ===== Unified Tathabbot watermark utility =====
   Usage: add a positioned element with class "tb-watermark" to any
   printable/exportable page or PDF-generating tool, e.g.:
     <div class="tb-watermark" aria-hidden="true">تَثَبُّت <span dir="ltr">TATHABBOT</span></div>
   Rules:
   - Low-opacity, non-intrusive — never place over Qur'an/Hadith text or
     any area where it could obscure primary source content.
   - Shown on screen AND in print/PDF output (so exported files carry it).
   - This marks the file as produced via the Tathabbot platform; it does
     NOT transfer ownership of third-party book/curriculum/source content
     reproduced on the page — source attributions remain as credited
     elsewhere on the page. */
.tb-watermark{position:absolute;bottom:10px;inset-inline-end:14px;font:700 12px Cairo,Inter,sans-serif;color:#1c1c1c;opacity:.16;letter-spacing:.4px;pointer-events:none;white-space:nowrap;z-index:1}
@media print{.tb-watermark{opacity:.22;color:#000}}
