/* Unified intelligence launcher + drawer-based route queue */
#llRouteIntelBtn,#llRouteIntelGlobalToggle{display:none!important}
#llBuildIntelToggle{transition:right .2s ease,transform .15s ease,border-color .15s ease,opacity .14s ease,visibility .14s ease}
body.ll-intel-drawer-open #llBuildIntelToggle{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateX(8px)}

#llRouteQueueLauncher{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:8px 11px;border-color:#3d6b8d;background:linear-gradient(180deg,#16354c,#11283a);color:#e8f5ff;box-shadow:0 7px 18px rgba(0,0,0,.18);font-size:11px;font-weight:950;white-space:nowrap;transition:transform .12s ease,border-color .12s ease,background .12s ease,opacity .12s ease}
#llRouteQueueLauncher:hover:not(:disabled){transform:translateY(-1px);border-color:#5c96bd;background:linear-gradient(180deg,#1a405b,#143148)}
#llRouteQueueLauncher.active{border-color:#76b7e2;background:linear-gradient(180deg,#1c4b6b,#15364f);box-shadow:0 0 0 1px rgba(118,183,226,.18),0 8px 20px rgba(0,0,0,.2)}
#llRouteQueueLauncher.locked,#llRouteQueueLauncher:disabled{opacity:.46;cursor:not-allowed;transform:none!important;box-shadow:none}
#llRouteQueueLauncher b{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#0a2030;border:1px solid #315a76;color:#c6e9ff;font-size:9px;font-weight:950}
#llRouteQueueLauncher.active b{background:#2d668d;border-color:#4f8fb9;color:#fff}

#llIntelModeTabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#llIntelModeTabs #llRouteQueueMode{appearance:none;border:0;border-radius:7px;background:transparent;color:#8296a8;padding:7px 6px;font-size:10px;font-weight:900;letter-spacing:.03em;transition:.12s ease;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}
#llIntelModeTabs #llRouteQueueMode:hover{color:#dce8f2;background:#101d28}
#llIntelModeTabs #llRouteQueueMode.active{background:#18334a;color:#dff1ff;box-shadow:inset 0 0 0 1px #365c7a}
#llIntelModeTabs #llRouteQueueMode.locked,#llIntelModeTabs #llRouteQueueMode:disabled{opacity:.42;cursor:not-allowed;background:transparent!important;color:#61707e!important;box-shadow:none!important}
#llIntelModeTabs #llRouteQueueMode b{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#10283b;color:#a8d5f7;font-size:8px;font-weight:950}
#llIntelModeTabs #llRouteQueueMode.active b{background:#285371;color:#fff}

#llRouteQueueContent[hidden]{display:none!important}
#llRouteQueueContent{display:grid;gap:9px}
.ll-route-queue-empty{display:grid;gap:5px;padding:13px;border:1px dashed #35536c;border-radius:11px;background:#0a151f}
.ll-route-queue-empty strong{font-size:13px;color:#dce9f4}.ll-route-queue-empty p{margin:0;color:#8295a6;font-size:10px;line-height:1.45}

#routeView.ll-route-queue-detached .ll-route-workspace{grid-template-columns:minmax(0,1fr)!important}
#routeView.ll-route-queue-detached .ll-route-current-step{width:100%;max-width:none}
#llRouteQueueContent .ll-route-queue-card-drawer{position:relative!important;top:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#llRouteQueueContent .ll-route-queue-card-drawer>.row{position:relative!important;top:auto!important;margin:0 0 8px!important;padding:0 0 8px!important;background:transparent!important;border-bottom:1px solid #294052!important;backdrop-filter:none!important}
#llRouteQueueContent .ll-route-queue-card-drawer>.row strong{font-size:12px}
#llRouteQueueContent .route-list{display:grid;gap:6px;margin-top:0}
#llRouteQueueContent .route-row{grid-template-columns:auto minmax(0,1fr) auto;gap:7px;padding:8px 9px;border-radius:8px}
#llRouteQueueContent .route-row strong{font-size:10px;line-height:1.25}
#llRouteQueueContent .route-row .small,#llRouteQueueContent .route-row small{font-size:9px;line-height:1.35}
#llRouteQueueContent .route-row .pill{font-size:8px;padding:2px 5px}
#llRouteQueueContent .route-dot{width:11px;height:11px}

@media(max-width:760px){
  #llRouteQueueLauncher{width:100%;justify-self:stretch}
}
@media(max-width:620px){
  #llIntelModeTabs{grid-template-columns:1fr!important;position:relative;top:auto}
  #llIntelModeTabs #llRouteQueueMode{justify-content:space-between;padding:8px 10px}
}
