/* DREV dock launcher. Floats solely on the corporate landing page in bottom right corner. */
#drev-dock.dock-fab-hidden,
body:not(.business-first) #drev-dock,
body:not(.business-first) #drev-fab {
  opacity: 0 !important;
  pointer-events: none !important;
  display: none !important;
}

#drev-fab {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 9001;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 16px 6px 8px;
  color: #e9fbff;
  border: 1px solid rgba(85, 208, 255, .45);
  border-radius: 9999px;
  background: rgba(3, 18, 36, 0.88);
  box-shadow: 0 14px 36px rgba(0,0,0,.56), 0 0 0 1px rgba(0,223,255,.12), inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
body.business-first #drev-fab.is-visible { display: flex; }
#drev-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(0,0,0,.65), 0 0 24px rgba(0,209,255,.24), inset 0 1px 0 rgba(255,255,255,.19); }
#drev-fab.is-dragging { cursor: grabbing; transition: none; }
#drev-fab:focus-visible { outline: 2px solid #76e8ff; outline-offset: 3px; }
.drev-fab-mark { display:block; flex:none; width:34px; height:34px; overflow:hidden; border:1px solid rgba(190,237,255,.48); border-radius:10px; background:#252525; box-shadow:inset 0 0 13px rgba(112,226,255,.14),0 0 0 1px rgba(0,0,0,.35); }
.drev-fab-mark img { display:block; width:35px; height:auto; transform:translateY(-1px); }
.drev-fab-label { display:grid; gap:2px; color:#f3fbff; font-family:'Orbitron',system-ui,sans-serif; letter-spacing:.5px; line-height:1; text-align:left; white-space:nowrap; }
.drev-fab-label b { font-size:9.5px; font-weight:900; }
.drev-fab-label small { color:#93dff0; font-size:6.5px; font-weight:800; letter-spacing:1.05px; white-space:nowrap; }

#drev-fab-menu {
  position: fixed;
  z-index: 9000;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  min-width: 140px;
  padding: 9px;
  border: 1px solid rgba(85,208,255,.34);
  border-radius: 14px;
  background: rgba(3,15,31,.94);
  box-shadow: 0 18px 42px rgba(0,0,0,.62), 0 0 22px rgba(0,188,255,.12);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(7px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .18s ease, transform .18s ease;
}
#drev-fab-menu.open { opacity:1; pointer-events:auto; transform:none; }
#drev-fab-menu button { min-height:38px; padding:0 9px; border:1px solid rgba(109,217,255,.22); border-radius:9px; color:#dff8ff; background:rgba(255,255,255,.045); font:750 9px/1.1 'Orbitron',system-ui,sans-serif; letter-spacing:.5px; cursor:pointer; }
#drev-fab-menu button:hover { border-color:rgba(121,230,255,.6); background:rgba(0,193,255,.13); }
#drev-fab-menu .drev-fab-exit { color:#ffd0d0; border-color:rgba(255,129,129,.35); background:rgba(214,47,47,.11); }
#drev-fab-menu .drev-fab-exit:hover { background:rgba(214,47,47,.22); border-color:rgba(255,156,156,.7); }

@media (max-width:700px) { #drev-fab { right:14px; bottom:calc(16px + env(safe-area-inset-bottom)); min-height:44px; padding: 5px 12px 5px 7px; } .drev-fab-mark { width:30px; height:30px; } .drev-fab-mark img { width:31px; } .drev-fab-label b { font-size:8.5px; } #drev-fab-menu { min-width:192px; } }
/* Phone: collapse to icon-only — label hidden */
@media (max-width:480px) { #drev-fab { bottom:calc(14px + env(safe-area-inset-bottom)); min-height:42px; padding:0 8px 0 6px; gap:0; } .drev-fab-label { display:none; } }
