/* Professional polish: small global fixes from the front-end review. */

/* Headings focused by script (for screen readers after navigation) do not need a visible box. */
[tabindex="-1"]:focus { outline:none; }

/* Ask Rapha: on desktop the launcher is just the avatar; its label slides out on hover or focus,
   so it covers less content. Phones already show the avatar only. */
@media (min-width:861px) {
  .rapha-launcher { padding:6px; gap:0; transition:padding .2s ease, gap .2s ease; }
  .rapha-launcher .rapha-launcher-label { max-width:0; overflow:hidden; white-space:nowrap; opacity:0; transition:max-width .25s ease, opacity .2s ease; }
  .rapha-launcher:hover, .rapha-launcher:focus-visible { padding:6px 20px 6px 6px; gap:10px; }
  .rapha-launcher:hover .rapha-launcher-label, .rapha-launcher:focus-visible .rapha-launcher-label { max-width:140px; opacity:1; }
}
@media (prefers-reduced-motion: reduce) { .rapha-launcher, .rapha-launcher .rapha-launcher-label { transition:none; } }

/* Room at the bottom of every page so the last content scrolls clear of the floating buttons. */
.layout { padding-bottom:140px; }
@media (max-width:860px) { .layout { padding-bottom:calc(200px + env(safe-area-inset-bottom)) !important; } }
