/* IsmaPrep — shared, compact footer system */
:root{--footer-ink:#203b2e;--footer-muted:#718078;--footer-line:#e1e9e2;--footer-green:#236b50}
.app-footer,.quiz-page-footer,.site-subfooter,.support-site-footer,.legal-footer,.foot{
  width:100%!important;max-width:1180px!important;min-width:0!important;box-sizing:border-box!important;
  margin:24px auto 12px!important;padding:18px 22px!important;
  border:1px solid var(--footer-line)!important;border-top:2px solid #b8cdbd!important;
  border-radius:14px!important;background:linear-gradient(180deg,#fff 0%,#f8faf8 100%)!important;
  color:var(--footer-muted)!important;font-size:13px!important;line-height:1.65!important;
  text-align:inherit!important;overflow:visible!important;float:none!important;clear:both!important
}
.app-footer{display:grid!important;grid-template-columns:minmax(150px,.8fr) minmax(150px,.8fr) minmax(0,2fr)!important;align-items:center!important;gap:14px 22px!important}
.app-footer-parent,.app-footer-product{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.app-footer-parent>a,.site-subfooter .footer-branding>a,.foot .footer-branding>a{font-size:17px!important;font-weight:800!important;color:var(--footer-ink)!important;text-decoration:none!important}
.app-footer-parent small,.app-footer-product small{font-size:11px!important;color:var(--footer-muted)!important}
.app-footer-product strong{font-size:13px!important;color:var(--footer-ink)!important}
.app-footer-links,.footer-nav,.quiz-footer-links,.legal-footer>span:last-child{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;
  gap:7px 9px!important;min-width:0!important;margin:0!important;padding:0!important
}
.app-footer-links a,.footer-nav a,.quiz-footer-links a,.legal-footer>span:last-child a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  max-width:100%!important;min-width:0!important;padding:7px 11px!important;
  border:1px solid #e1e9e2!important;border-radius:8px!important;background:#fff!important;
  color:#315b45!important;font-size:12px!important;font-weight:650!important;line-height:1.45!important;
  text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important
}
.app-footer-links a:hover,.footer-nav a:hover,.quiz-footer-links a:hover,.legal-footer>span:last-child a:hover{background:#edf5ef!important;border-color:#c9dccd!important;color:#174f39!important}
.site-subfooter,.foot{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:12px 22px!important}
.footer-branding{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;min-width:180px!important}
.footer-branding span{font-size:11px!important;color:var(--footer-muted)!important}
.footer-branding strong{font-size:12px!important;color:var(--footer-ink)!important}
.site-subfooter .footer-nav,.foot .footer-nav{justify-content:flex-end!important}
.support-site-footer{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:10px 18px!important}
.support-site-footer>span{font-size:12px!important;color:var(--footer-muted)!important}
.support-site-footer nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:7px 9px!important}
.support-site-footer nav a{padding:6px 10px!important;border:1px solid #e1e9e2!important;border-radius:8px!important;background:#fff!important;color:#315b45!important;text-decoration:none!important;font-size:12px!important;font-weight:650!important}
.legal-footer{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:10px 18px!important}
.legal-footer>span:first-child{font-size:12px!important;color:var(--footer-muted)!important;line-height:1.7!important}
.legal-footer>span:first-child a{font-weight:800!important;color:var(--footer-ink)!important;text-decoration:none!important}
.quiz-page-footer{max-width:1180px!important;margin:22px auto 10px!important;padding:14px 18px!important;text-align:center!important;direction:rtl!important}
.quiz-page-footer .quiz-footer-links{justify-content:center!important}
.quiz-footer-meta{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:4px 12px!important;margin:8px auto 0!important;font-size:11px!important;color:var(--footer-muted)!important;direction:ltr!important}
.quiz-footer-meta a{color:var(--footer-green)!important;font-weight:800!important;text-decoration:none!important}
.lp-footer{max-width:1220px!important;margin:0 auto!important;padding:26px 30px 16px!important;border-top:1px solid var(--footer-line)!important;color:var(--footer-muted)!important;font-size:12px!important}
.lp-footer-main{gap:22px!important;padding-bottom:18px!important}
.lp-footer-group{gap:7px!important}
.lp-footer-group h3{margin:0 0 3px!important;font-size:12px!important}
.lp-footer-group a{font-size:12px!important;line-height:1.6!important}
.lp-footer-identity>p{margin-bottom:10px!important}
.lp-studio-link{min-width:0!important}
.lp-footer-bottom{gap:8px 14px!important;padding-top:11px!important;font-size:10px!important}
@media(max-width:760px){
 .app-footer{grid-template-columns:1fr 1fr!important;gap:10px!important;padding:14px 12px!important}
 .app-footer-links{grid-column:1/-1!important;justify-content:flex-start!important}
 .site-subfooter,.foot,.support-site-footer,.legal-footer{justify-content:center!important;text-align:center!important;padding:14px 12px!important;margin:18px auto 10px!important}
 .footer-branding{align-items:center!important;min-width:0!important;width:100%!important}
 .site-subfooter .footer-nav,.foot .footer-nav{justify-content:center!important}
 .legal-footer>span:first-child{width:100%!important;text-align:center!important}
 .quiz-page-footer{width:calc(100% - 20px)!important;padding:12px 10px!important}
 .quiz-footer-links,.support-site-footer nav{gap:6px!important}
 .lp-footer{padding:22px 18px 14px!important}
 .lp-footer-main{grid-template-columns:1fr 1fr!important;gap:16px!important}
 .lp-footer-identity{grid-column:1/-1!important}
 .lp-footer-bottom{align-items:center!important;flex-direction:column!important;text-align:center!important}
}
/* Compact portal footer: preserve attribution without a tall empty band */
footer.foot{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:8px 18px!important;width:calc(100% - 32px)!important;max-width:1120px!important;margin:14px auto 8px!important;padding:10px 14px!important;border:1px solid #e1e9e2!important;border-top:2px solid #b8cdbd!important;border-radius:12px!important;background:#f8faf8!important;text-align:center!important}
footer.foot .footer-branding{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:4px 10px!important;min-width:0!important;width:100%!important}
footer.foot .footer-branding>a{display:inline-flex!important;align-items:center!important;padding:5px 9px!important;border:1px solid #e1e9e2!important;border-radius:7px!important;background:#fff!important;font-size:13px!important}
footer.foot .footer-branding>span,footer.foot .footer-branding>strong{font-size:10px!important;line-height:1.4!important}
footer.foot .footer-nav{justify-content:center!important;gap:6px!important}
footer.foot .footer-nav a{padding:5px 9px!important;font-size:11px!important}
@media(max-width:420px){.app-footer{grid-template-columns:1fr!important}.app-footer-links{grid-column:auto!important}.app-footer-parent,.app-footer-product{align-items:center!important;text-align:center!important}footer.foot{width:calc(100% - 20px)!important;padding:9px 8px!important}footer.foot .footer-branding{gap:4px 7px!important}}