.gw-drag-ghost{z-index:10000!important;pointer-events:none!important;opacity:1!important;background-color:#14251a!important;box-shadow:0 18px 45px #0006!important;transition:none!important;will-change:transform;contain:layout paint;touch-action:none}
html[data-theme="light"] .gw-drag-ghost{background-color:#fff!important}
.gw-drag-ghost *{pointer-events:none!important}
[data-gw-drag-source]{opacity:.3!important}
[data-gw-drag-target]{outline:2px dashed var(--green,#79d36b)!important;outline-offset:3px}
body.gw-drag-active{cursor:grabbing}
body.tile-edit-mode .camera-tile{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
body:is(.tile-edit-mode,.custom-dashboard-edit) #coachHover{display:none!important}
.layout-edit-actions{display:none;position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:1200;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:16px;background:var(--panel,#14251a);box-shadow:0 8px 28px #0004;max-width:calc(100vw - 24px)}
body:is(.tile-edit-mode,.custom-dashboard-edit) .layout-edit-actions{display:flex}
.layout-edit-actions>span{color:var(--muted);font-size:.8rem;white-space:nowrap;margin-right:8px}
.layout-edit-actions>button{width:auto;min-height:42px;padding:9px 17px;white-space:nowrap}
body.custom-dashboard .basic-edit-action{display:none}
body:is(.tile-edit-mode,.custom-dashboard-edit) .shell{padding-bottom:110px}
body:is(.tile-edit-mode,.custom-dashboard-edit) #toast{bottom:calc(94px + env(safe-area-inset-bottom))}
body:not(.tile-edit-mode) .camera-size-controls{display:none!important}
@media(max-width:600px){.layout-edit-actions{bottom:max(12px,env(safe-area-inset-bottom));gap:8px}.layout-edit-actions>span{display:none}}

/* Touch scroll stays native until the shared 250ms hold activates a drag. */
[data-sort-item],
body.tile-edit-mode:not(.custom-dashboard) [data-sort-id],
body.custom-dashboard-edit [data-custom-widget],
body.tile-edit-mode .camera-tile { touch-action:pan-y pinch-zoom !important; }
