/* The free first witness on milestoneteachers.com (/inquiry-room/try/, server/inquiry-room/page.ts).
   The room is the product's one-witness demo build, unchanged (its own closing line and "Get it on TpT" link end the
   hearing). The site adds one thing: the way back to the page when the room is open full screen (and room for it). */
.ir-free-back {
  position: fixed; top: 10px; right: 12px; z-index: 40; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; color: #f5dfa8; font: 700 0.875rem/1 "Atkinson Hyperlegible", system-ui, sans-serif; text-decoration: none;
  background: rgba(11, 22, 38, 0.92); box-shadow: 0 0 0 1px rgba(216, 180, 109, 0.75) inset, 0 10px 24px -12px rgba(0, 0, 0, 0.9);
}
.ir-free-back:hover { background: rgba(32, 44, 64, 0.96); }
.ir-free-back:focus-visible { outline: 3px solid #46c8b4; outline-offset: 3px; }
/* inside the page's frame the page itself is the way back */
.ir-embed .ir-free-back { display: none; }
/* full screen from 900 px (where the back link sits top right): the room's top bar ends before it, so the room's own
   "Written questions" badge stays in view instead of under the link */
@media (min-width: 900px) {
  .ir-free:not(.ir-embed) .topbar { padding-right: 264px; }
}
/* narrow screens: in the page's flow under the room, not over it */
@media (max-width: 899px) {
  .ir-free-back { position: static; display: flex; justify-content: center; margin: 8px 16px 24px; }
}
