/* MANLOAD progressive web app: notices, skip link, accessibility settings, offline.html (assets/js/pwa.js) */
@font-face { font-family:'Inter'; font-weight:400 800; font-display:swap; src:url('../vendor/fonts/inter.woff2') format('woff2'); }
.pwa-skip { position:fixed; left:12px; top:-80px; z-index:3000; background:#f5a623; color:#071a33; font-weight:700; padding:.7rem 1.1rem; border-radius:0 0 10px 10px; text-decoration:none; } .pwa-skip:focus { top:0; color:#071a33; outline:3px solid #071a33; outline-offset:-5px; }
main:focus, .main-content:focus { outline:0; }
.pwa-live { position:fixed; left:50%; bottom:16px; transform:translateX(-50%); z-index:2500; width:min(620px,calc(100vw - 24px)); display:grid; gap:8px; pointer-events:none; }
.manload-body .pwa-live { top:78px; bottom:auto; }   /* staff pages have bars at the bottom */
.pwa-note { pointer-events:auto; display:flex; align-items:center; gap:.8rem; background:#0b2545; color:#fff; border:1px solid rgba(255,255,255,.18); border-radius:14px; padding:.75rem .9rem; box-shadow:0 12px 30px rgba(0,0,0,.35); font-size:.9rem; line-height:1.35; }
.pwa-note > span { flex:1; } .pwa-note > i { font-size:1.15rem; } .pwa-note.warn { background:#5a3c05; } .pwa-note.bad { background:#7f1d1d; } .pwa-note.good { background:#14532d; }
.pwa-note .pwa-btn { background:#f5a623; border-color:#f5a623; color:#071a33; min-height:38px; padding:.3rem .9rem; } .pwa-x { border:0; background:none; color:#fff; font-size:1.4rem; line-height:1; width:36px; height:36px; border-radius:8px; } .pwa-x:hover { background:rgba(255,255,255,.15); }
.pwa-btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; border:1px solid #b9cbe8; border-radius:10px; background:#fff; color:#0b2545; font:inherit; font-weight:600; padding:.45rem 1.1rem; text-decoration:none; cursor:pointer; white-space:nowrap; } .pwa-btn.main { background:#f5a623; border-color:#f5a623; color:#071a33; font-weight:700; } .pwa-btn[hidden] { display:none; }
.pwa-btn:focus-visible, .pwa-link:focus-visible, .pwa-x:focus-visible { outline:3px solid #38bdf8; outline-offset:2px; }
.pwa-link { border:0; background:none; color:inherit; font:inherit; font-weight:600; text-decoration:underline; padding:.4rem .3rem; min-height:40px; cursor:pointer; }
.pwa-dlg { width:min(420px,calc(100vw - 32px)); border:0; border-radius:18px; padding:1.5rem; color:#0b2545; background:#fff; box-shadow:0 24px 60px rgba(0,0,0,.4); } .pwa-dlg::backdrop { background:rgba(7,26,51,.6); }
.pwa-dlg h2 { font-size:1.3rem; font-weight:700; margin:0 0 1rem; color:#0b2545 !important; } .pwa-dlg fieldset { border:0; padding:0; margin:0 0 1rem; } .pwa-dlg legend { font-size:.85rem; font-weight:700; margin-bottom:.3rem; float:none; color:#335a8c; } .pwa-dlg label { display:flex; align-items:center; gap:.7rem; min-height:40px; font-size:1rem; cursor:pointer; } .pwa-dlg input { width:20px; height:20px; accent-color:#1f63d6; } .pwa-dlg-f { display:flex; justify-content:flex-end; gap:.6rem; }
@media print { .pwa-live, .pwa-skip, .pwa-dlg { display:none !important; } }

/* accessibility settings */
html.a11y-fs-112 { font-size:112.5%; } html.a11y-fs-125 { font-size:125%; } html.a11y-fs-150 { font-size:150%; }
html:is(.a11y-fs-125,.a11y-fs-150) .cg-ui .navbar, html:is(.a11y-fs-125,.a11y-fs-150) .cg-ui .navbar-nav { flex-wrap:wrap; }
html.a11y-links a:not(.btn):not(.cx-btn):not(.pwa-btn) { text-decoration:underline !important; }
html.a11y-space body { letter-spacing:.03em; word-spacing:.08em; line-height:1.7; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation-duration:.001s !important; animation-iteration-count:1 !important; transition-duration:.001s !important; scroll-behavior:auto !important; }
@media screen {
html.a11y-contrast :focus-visible { outline:3px solid #ffbf00 !important; outline-offset:2px; }
html.a11y-contrast[data-bs-theme=dark] .thm { --c-bg:#000; --c-card:#0a0d11; --c-up:#1b222b; --c-line:#7d8a99; --c-tx:#fff; --c-mut:#dbe3ec; --x-97a1ac:#dbe3ec; --x-8b949e:#dbe3ec; --x-7d8590:#dbe3ec; --x-adb5bd:#eef2f6; --x-2b323b:#7d8a99; --x-30363d:#7d8a99; --bs-secondary-color:#dbe3ec; }
html.a11y-contrast[data-bs-theme=light] .thm { --c-mut:#14304f; --c-line:#4a6f9f; --x-97a1ac:#14304f; --x-8b949e:#14304f; --x-7d8590:#14304f; --x-2b323b:#4a6f9f; --x-30363d:#4a6f9f; --bs-secondary-color:#14304f; }
html.a11y-contrast .pub-body, html.a11y-contrast .cg-ui:not(.thm) { --bs-body-color:#000; --bs-secondary-color:#1e293b; color:#000; }
html.a11y-contrast .pub-body .text-muted, html.a11y-contrast .pub-main small, html.a11y-contrast .cf-lbl, html.a11y-contrast .tk-gr em, html.a11y-contrast .cg-ui:not(.thm) .text-muted { color:#1e293b !important; }
html.a11y-contrast .pub-body .form-control, html.a11y-contrast .pub-body .form-select, html.a11y-contrast .pub-card { border-color:#334155 !important; }
}

/* offline.html */
.of-body { margin:0; min-height:100vh; background:#edf2fa; color:#0b2545; font-family:'Inter','Segoe UI',system-ui,sans-serif; line-height:1.5; }
.of-top { display:flex; align-items:center; justify-content:space-between; background:#071a33; color:#fff; padding:.7rem 1.2rem; } .of-top a { display:flex; align-items:center; gap:.8rem; color:#fff; text-decoration:none; font-weight:800; font-size:1.2rem; } .of-top img { background:#fff; border-radius:50%; border:2px solid #f5a623; }
.of-main { max-width:820px; margin:0 auto; padding:1.5rem 1rem 6rem; } .of-main h2 { font-size:1.15rem; margin:1.8rem 0 .8rem; }
.of-hero { background:linear-gradient(160deg,#071a33,#0b2e5c 55%,#0e6ba8); color:#fff; border-radius:18px; padding:2rem 1.6rem; } .of-hero h1 { font-size:1.7rem; line-height:1.2; margin:0 0 .5rem; } .of-hero p { margin:0 0 1.2rem; color:#dbe7ff; } .of-acts { display:flex; flex-wrap:wrap; gap:.6rem; }
.of-card { background:#fff; border-radius:16px; box-shadow:0 8px 24px rgba(11,46,92,.08); padding:1.2rem 1.3rem; margin-bottom:1rem; } .of-card > header { display:flex; flex-wrap:wrap; gap:.3rem 1rem; justify-content:space-between; align-items:baseline; } .of-card > header strong { font-size:1.15rem; } .of-card code { font-weight:700; letter-spacing:.04em; }
.of-sub { margin:.2rem 0 .9rem; color:#42597c; } .of-tk { display:flex; flex-wrap:wrap; gap:1rem 1.4rem; align-items:center; border-top:1px dashed #c9d8ef; padding:1rem 0; } .of-tk img { background:#fff; border:1px solid #dbe6f7; border-radius:12px; padding:8px; } .of-tk > div { display:grid; gap:.1rem; } .of-tk b { font-size:1.05rem; } .of-tk span { color:#42597c; font-size:.92rem; } .of-tk .of-val { color:#14532d; font-weight:600; } .of-tk.dead img { opacity:.3; } .of-tk.dead .of-val { color:#b91c1c; }
.of-card > footer { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #e1e9f5; margin-top:.8rem; padding-top:.5rem; font-size:.85rem; color:#42597c; } .of-card > footer .pwa-link { color:#b91c1c; } .of-card > .pwa-btn { margin-top:.8rem; } .of-frame { width:100%; height:70vh; border:1px solid #c9dcf4; border-radius:12px; margin-top:1rem; background:#fff; }
.of-none { background:#fff; border-radius:16px; padding:1.4rem; text-align:center; color:#42597c; } .of-pages { list-style:none; margin:0; padding:0; background:#fff; border-radius:16px; } .of-pages li { padding:.8rem 1.2rem; border-top:1px solid #e1e9f5; } .of-pages li:first-child { border:0; } .of-pages a { color:#1a57bf; font-weight:600; } .of-pages small { color:#42597c; }
