/* RKT Coder tour: floating help button, menu, Ask panel, popover tweaks. */
#rkt-tour-fab {
  position: fixed; right: 20px; bottom: 56px; z-index: 100000;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: #5b5bd6; color: #fff; font: 600 20px/44px system-ui, sans-serif;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
#rkt-tour-fab:hover { background: #4747c2; }
#rkt-tour-menu {
  position: fixed; right: 20px; bottom: 108px; z-index: 100000; display: none;
  min-width: 260px; padding: 6px; border-radius: 10px; background: #1f1f23; border: 1px solid #3a3a40;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}
#rkt-tour-menu.open { display: block; }
#rkt-tour-menu button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 6px;
  background: transparent; color: #eee; font: 14px system-ui, sans-serif; cursor: pointer;
}
#rkt-tour-menu button:hover { background: #2e2e35; }

.rkt-ask {
  position: fixed; right: 20px; bottom: 108px; z-index: 100001; display: none; flex-direction: column;
  width: 380px; max-width: calc(100vw - 40px); height: 480px; max-height: calc(100vh - 140px);
  border-radius: 12px; background: #1b1b1f; border: 1px solid #3a3a40; color: #eee;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45); font: 14px/1.45 system-ui, sans-serif;
}
.rkt-ask.open { display: flex; }
.rkt-ask-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #333; font-weight: 600; }
.rkt-ask-close { background: none; border: 0; color: #aaa; font-size: 22px; cursor: pointer; }
.rkt-ask-log { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.rkt-msg { padding: 8px 11px; border-radius: 10px; max-width: 90%; word-wrap: break-word; }
.rkt-me { align-self: flex-end; background: #5b5bd6; color: #fff; }
.rkt-bot { align-self: flex-start; background: #2a2a31; }
.rkt-msg code { background: rgba(255, 255, 255, .1); padding: 0 4px; border-radius: 4px; }
.rkt-ask-foot { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #333; }
.rkt-ask-foot textarea { flex: 1; resize: none; background: #111114; color: #eee; border: 1px solid #3a3a40; border-radius: 8px; padding: 8px; font: inherit; }
.rkt-ask-send { background: #5b5bd6; color: #fff; border: 0; border-radius: 8px; padding: 0 16px; cursor: pointer; font-weight: 600; }
.rkt-ask-send:disabled { opacity: .5; cursor: default; }

.driver-popover.rkt-tour-popover { max-width: 360px; font-family: system-ui, sans-serif; }
.driver-popover.rkt-tour-popover .driver-popover-title { font-size: 16px; }
.driver-popover.rkt-tour-popover .driver-popover-description { font-size: 14px; line-height: 1.5; }
.driver-popover.rkt-tour-popover code { background: #eee; padding: 0 4px; border-radius: 4px; }
