/* By KVC Technology, at the foot of every school portal page (the owner,
   2026-10-23: "at the bottom corner of everything watermark by KVC Technology";
   BusOps work log item 130). templates/portal/_kvc_mark.html draws it.

   ON SCREEN the page keeps a strip at its foot, and the mark sits in that strip,
   bottom right: never over the page's words or controls, at any width. Linked
   after each page's own styles, so this padding is the one that holds.
   ON PAPER it is a line in the page's bottom margin instead (Chromium draws page
   margin boxes; a browser that does not prints the page without it), so it can
   never start a page of its own. */
@media screen {
  body {
    position: relative;
    padding-bottom: 3rem;
  }
  .kvc-mark {
    position: absolute;
    right: 1rem;
    bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .375rem;
    font: 11px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #475569;                    /* 6.9:1 on the portal's #f0f4f8 */
    pointer-events: none;
    user-select: none;
  }
  .kvc-mark img {
    display: block;
    width: auto;
    height: 20px;
  }
}

@media print {
  .kvc-mark { display: none; }
  @page {
    @bottom-left {
      content: "by KVC Technology";
      font: 7pt -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      color: #555;                     /* 7.5:1 on white */
    }
  }
}
