/* Dal Moro's · dock dei controlli flottanti (Q-10/Q-11/Q-12) · unico per tutti i domini e formati */
html:root body:not(#dm-dock-x){--dmd-r:max(24px,env(safe-area-inset-right,0px));--dmd-b:calc(24px + env(safe-area-inset-bottom,0px));--dmd-gap:10px;--dmd-s:44px;--dmd-c:60px}
html:root body:not(#dm-dock-x):has(#dm-format-switch){--dmd-b:calc(92px + env(safe-area-inset-bottom,0px))}
html:root body:not(#dm-dock-x) a.dmwa-launch.dmwa-launch,html:root body:not(#dm-dock-x) a.dmp-reopen.dmp-reopen,html:root body:not(#dm-dock-x) button.dm-back-top.dm-back-top{position:fixed!important;left:auto!important;right:var(--dmd-r)!important;transform:none!important;translate:none!important;margin:0!important}
html:root body:not(#dm-dock-x) a.dmwa-launch.dmwa-launch{bottom:var(--dmd-b)!important;width:auto!important;min-width:0!important;max-width:240px!important;height:var(--dmd-c)!important;min-height:var(--dmd-c)!important;border-radius:30px!important}
html:root body:not(#dm-dock-x) a.dmwa-launch.dmwa-launch:hover,html:root body:not(#dm-dock-x) a.dmwa-launch.dmwa-launch:focus-visible,html:root body:not(#dm-dock-x) a.dmp-reopen.dmp-reopen:hover,html:root body:not(#dm-dock-x) a.dmp-reopen.dmp-reopen:focus-visible{transform:none!important}
html:root body:not(#dm-dock-x) a.dmp-reopen.dmp-reopen{bottom:calc(var(--dmd-b) + var(--dmd-c) + var(--dmd-gap))!important;width:var(--dmd-s)!important;min-width:var(--dmd-s)!important;max-width:var(--dmd-s)!important;height:var(--dmd-s)!important;min-height:var(--dmd-s)!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;grid-template-columns:none!important;grid-template-rows:none!important;font-size:0!important;gap:0!important}
html:root body:not(#dm-dock-x) a.dmp-reopen.dmp-reopen::before,html:root body:not(#dm-dock-x) a.dmp-reopen.dmp-reopen::after{display:none!important}
html:root body:not(#dm-dock-x) button.dm-back-top.dm-back-top{bottom:calc(var(--dmd-b) + var(--dmd-c) + var(--dmd-s) + var(--dmd-gap)*2)!important;width:52px!important;height:52px!important}
@media (max-width:1024px){
html:root body:not(#dm-dock-x){--dmd-r:max(12px,env(safe-area-inset-right,0px));--dmd-b:calc(22px + env(safe-area-inset-bottom,0px));--dmd-gap:8px;--dmd-s:44px;--dmd-c:44px}
html:root body:not(#dm-dock-x):has(#dm-format-switch){--dmd-b:calc(80px + env(safe-area-inset-bottom,0px))}
html:root body:not(#dm-dock-x) a.dmwa-launch.dmwa-launch{width:44px!important;max-width:44px!important;padding:0!important;border-radius:50%!important;justify-content:center!important;gap:0!important}
html:root body:not(#dm-dock-x) a.dmwa-launch.dmwa-launch>span,html:root body:not(#dm-dock-x) a.dmwa-launch.dmwa-launch::before{display:none!important}
html:root body:not(#dm-dock-x) a.dmwa-launch.dmwa-launch>svg{width:24px!important;height:24px!important;flex:0 0 24px!important;margin:0!important}
html:root body:not(#dm-dock-x) a.dmp-reopen.dmp-reopen,html:root body:not(#dm-dock-x) button.dm-back-top.dm-back-top{margin-right:0!important}
html:root body:not(#dm-dock-x) button.dm-back-top.dm-back-top{width:44px!important;height:44px!important}
}
@media (prefers-reduced-motion:reduce){html:root body:not(#dm-dock-x) a.dmwa-launch,html:root body:not(#dm-dock-x) a.dmp-reopen{transition:none!important}}

/* contrasto: fuori dal Restaurant il dock usa carta crema e icona rossa del marchio (#ed0020), leggibile su giallo e su rosso */
html:root body:not(#dm-dock-x):not(.dm-format-restaurant) a.dmwa-launch.dmwa-launch,html:root body:not(#dm-dock-x):not(.dm-format-restaurant) a.dmp-reopen.dmp-reopen{background:#fff9eb!important;color:#ed0020!important;border:1px solid rgba(23,61,50,.14)!important;box-shadow:0 6px 20px rgba(23,61,50,.18)!important}
html:root body:not(#dm-dock-x):not(.dm-format-restaurant) a.dmwa-launch.dmwa-launch svg{color:#ed0020!important}
@media (min-width:1025px){html:root body:not(#dm-dock-x):not(.dm-format-restaurant) a.dmwa-launch.dmwa-launch{color:#173d32!important}}