/* Shared "← Last Page" return control for customer-facing subpages.
 *
 * It used to float fixed in the bottom-right corner, where it covered whatever scrolled underneath it: the Account
 * menu on phones, links and buttons on resource pages, the comment box in admin (staging QA 2026-11-20, P2-10).
 * It now sits in the page flow, right-aligned at the end of the content just above the site footer, so it can never
 * overlap anything. React pages render it there (app/floating-last-page.tsx); static and CMS pages ship it after the
 * footer and assets/script-4ca21edff723f556.js moves it into a .vip-page-endbar before the footer. The class name
 * "vip-floating-back" is kept because other stylesheets hide the control by it on full-screen practice views. */
@media screen{
 .vip-page-endbar{box-sizing:border-box;display:flex;justify-content:flex-end;width:calc(100% - 56px);max-width:1180px;margin:32px auto 24px}
 #vip-page-back.vip-floating-back{
  position:static!important;inset:auto!important;z-index:auto;
  box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;min-height:44px;margin:0!important;padding:11px 18px!important;
  border:1px solid #d91457!important;border-radius:999px!important;background:#fff!important;color:#bd0c47!important;box-shadow:none;
  font:700 14px/1.4 'Atkinson Hyperlegible Next',Arial,sans-serif!important;text-decoration:none!important;cursor:pointer;
 }
 /* Before the script has moved it (or if scripts are blocked) the control still sits in flow, centred-right. */
 body>#vip-page-back.vip-floating-back{display:flex!important;margin:24px max(16px,env(safe-area-inset-right,0px)) 24px auto!important}
 #vip-page-back.vip-floating-back:hover{background:#fff2f6!important}
 #vip-page-back.vip-floating-back:focus-visible{outline:3px solid #202b43;outline-offset:3px}
 html[data-vip-embedded="product"] .vip-page-endbar{display:none}
}
@media(max-width:760px){.vip-page-endbar{width:calc(100% - 32px);margin:24px auto 20px}#vip-page-back.vip-floating-back{font-size:13px!important;padding:10px 15px!important}}
@media print{.vip-page-endbar,#vip-page-back.vip-floating-back{display:none!important}}
