/* רכיב הנגישות בגלגלי המגן: כפתור עגול צף בצד ימין למטה, בסגנון כפתורי האייקונים של האתר (שחור עם טבעת צהובה) */
.edit_icon{position:fixed !important; top:auto !important; bottom:22px; right:22px; width:56px !important; height:56px; float:none !important;
  background:#1e1e1e; border-radius:50%; display:flex !important; align-items:center; justify-content:center; z-index:3000;
  box-shadow:inset 0 0 0 1.5px rgba(255,196,0,.7), 0 10px 24px rgba(0,0,0,.35); filter:none !important;}
.edit_icon:hover{box-shadow:inset 0 0 0 2px #ffc400, 0 10px 24px rgba(0,0,0,.35);}
.edit_icon a{padding:13px !important; border-radius:50%;}
.edit_icon a:focus-visible{outline:3px solid #ffc400; outline-offset:4px;}
.edit_menu{position:fixed !important; top:auto !important; bottom:90px; right:22px; max-width:calc(100vw - 24px); z-index:3001;}
.edit_menu .visible_menu{margin-top:0 !important;}
.edit_menu .edit_menu_details{border-color:#151515 !important;}
@media (max-width:760px){
  body:has(.action-bar) .edit_icon{bottom:calc(84px + env(safe-area-inset-bottom,0px));}
  body:has(.action-bar) .edit_menu{bottom:calc(150px + env(safe-area-inset-bottom,0px));}
  .edit_icon{right:14px; width:50px !important; height:50px;}
  .edit_icon a{padding:11px !important;}
  .edit_menu{right:12px;}
}
@media print{.edit_icon,.edit_menu{display:none !important;}}

/* מונוכרום: filter על acs_body הופך אותו לבסיס של position:fixed, והאייקון ופס הפעולות נגררים לתחתית הדף.
   מעבירים את ה-filter לשורש המסמך, שעליו אין התופעה. */
#acs_body.acs--body-grayscale{-webkit-filter:none !important; filter:none !important;}
html:has(#acs_body.acs--body-grayscale){-webkit-filter:grayscale(100%); filter:grayscale(100%);}
/* הגדלה: transform:scale שובר רכיבים קבועים ויוצר גלילה לרוחב. zoom מגדיל ושומר על פריסה רספונסיבית. */
#acs_body.acs--body-zoom{-webkit-transform:none !important; transform:none !important; zoom:1.3;}

/* החלון לא גבוה מהמסך: נגלל בתוכו, כך שהכותרת וכפתור הסגירה תמיד גלויים */
.edit_menu{max-height:calc(100vh - 110px); overflow-y:auto; -webkit-overflow-scrolling:touch;}
@media (max-width:760px){
  body:has(.action-bar) .edit_menu{max-height:calc(100vh - 170px - env(safe-area-inset-bottom,0px));}
}
