/* PSPH Payroll strip: cross-promo for payroll-system-philippines.com.
   Shown on /, /excel-file-to-bir-dat-format/ and Classic registered.php.
   Floats at the bottom of the window; js/psph-strip.js pads the page so it never covers the last content.
   Names avoid "ad", "banner", "promo" and "728x90" so ad blockers don't hide it. */
.psph-strip {
  /* z-index 2: above the fixed top bar (1), below every w3 modal (3+) and the date picker (5). */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2;
  display: block; margin: 0; padding: 0 8px; text-align: center; box-sizing: border-box;
  pointer-events: none; /* only the card itself takes clicks */
}
.psph-strip[hidden] { display: none !important; }
.psph-strip__inner {
  position: relative; display: inline-block; max-width: 100%; box-sizing: border-box;
  padding: 6px 8px 8px; background: #fff; border-radius: 10px 10px 0 0;
  box-shadow: 0 -2px 14px rgba(16, 43, 41, .22); pointer-events: auto;
}
/* The root page's HTML5 UP template styles every <p> large; these must win. */
.psph-strip p.psph-strip__by { margin: 0 26px 4px 0 !important; padding: 0 !important; font: 12px/1.4 "Segoe UI", system-ui, sans-serif !important; color: #6b7a77 !important; text-align: left; letter-spacing: normal; text-transform: none; }
.psph-strip__link { display: block; line-height: 0; border: 0; text-decoration: none; }
.psph-strip__link img { display: block; max-width: 100%; height: auto; margin: 0; border: 0; border-radius: 4px; box-shadow: none; }
.psph-strip__close {
  position: absolute; top: 4px; right: 6px; width: 22px; height: 20px; margin: 0; padding: 0;
  border: 0; border-radius: 4px; background: transparent; color: #6b7a77;
  font: 18px/20px system-ui, sans-serif; cursor: pointer; box-shadow: none; min-width: 0;
}
.psph-strip__close:hover, .psph-strip__close:focus-visible { background: #e7ecea; color: #102b29; }
@media print { .psph-strip { display: none !important; } }
