/* medical.demo.avada.uz only — the sales call's short version (board AVADA-2 54fb7f5d; the list posted 2026-10-06 12:01Z):
   Results keep the list, one sitting's answers and Export PDF; the roster keeps add / assign / badges. Hidden here: the exam
   room's Wi-Fi address, the local/central switch (the demo opens on this machine's results — nginx's inline line), Reports &
   Speaking, Export CSV / JSON, Certificates (the page answers 404: snippets/exam-demo-medical-guard.conf), the roster's file
   import and badge event name. Served by nginx as /__demo/medical-trim.css (sites-available/demo.avada.uz). The engine's own
   pages are unchanged: exam-center is held (ops/boxes/release-rules.json) and its server.js is Sacred. */
#network-banner,
#view-source-toggle,
#view-source-note,
#reports-btn,
#export-csv,
#export-json,
a[href="certificates.html"],
a[href="/certificates.html"],
#importBtn,
#settingsBtn {
  display: none !important;
}

/* The engine's demo bar (#demo-nav: fixed, inline style) wraps to two rows on a phone (74–84 px at 390 and 360) while the page
   leaves it 52 px (body padding-top), so it covered the roster's and badges' titles by 22 px. Here it takes its own room: sticky
   at the top, in the page's flow, so the page starts under it at any height; 10 px under it, as 52 beside 42 left on a computer.
   Not on the Results sign-in (body.zu-welcome, a centred grid): the bar stays fixed there and covers nothing. Added 2026-10-09
   (board AVADA-2 54fb7f5d); undo: these two rules (backup /root/medical-trim.css.bak-20261009-nav). */
html body:not(.zu-welcome) { padding-top: 0 !important; }
body:not(.zu-welcome) > #demo-nav { position: sticky !important; margin-bottom: 10px; }

/* take.html's body is a centred flex row (the code card), so the sticky bar became a column beside the card (1440) or squeezed
   it to 198 px (390). There the bar takes the row's whole width, across the body's 20 px padding, and the card wraps under it.
   Added 2026-10-11 (A's handoff 13:0x); undo: these two rules (backup /root/medical-trim.css.bak-20261011-take). */
body:not(.zu-welcome):has(> .panel) { flex-wrap: wrap; align-content: flex-start; }
body:not(.zu-welcome):has(> .panel) > #demo-nav { flex: 0 0 calc(100% + 40px); margin: 0 -20px 10px; }
