/* Phone-size screens (13 Nov 2026): nothing may be wider than the screen. The top bar keeps every button (the long
   labels go and it scrolls sideways if it still does not fit); heading buttons wrap onto a second line. */
@media (max-width:700px){
  html.clarity .topbar{gap:6px}
  html.clarity .topbar .breadcrumb{display:none}
  html.clarity .topbar-right{flex:1 1 auto;min-width:0;justify-content:flex-start;gap:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  html.clarity .topbar-right::-webkit-scrollbar{display:none}
  html.clarity .topbar-right>*{flex:none}
  html.clarity .topbar-right :is(.fy-label,.top-divider,.session-user,.company-avatar){display:none!important}
  html.clarity .look-switch button{font-size:0;gap:0;padding:0 8px}
  html.clarity .look-switch svg{width:16px;height:16px}
  html.clarity .topbar-right .text-button{font-size:12px;padding:0 6px;white-space:nowrap}
  html.clarity .page-heading{flex-wrap:wrap;gap:10px;min-width:0}
  html.clarity :is(.page-heading .heading-actions,.ow-heading-actions){flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;min-width:0;max-width:100%}
}
