/* FlipForge Guided Mode desktop layout fix v1
 * Presentation only. Keeps the larger customer readability scale intact while
 * preventing the fixed guide from covering primary workspace content.
 */

/* Search-first private-beta lock.
 * Guided Mode remains available as the contextual side panel, but the legacy
 * first-run welcome modal may not cover or lock the customer workspace after
 * sign-in. A direct Discover link must expose the card-entry workflow
 * immediately instead of forcing onboarding instructions first.
 */
.ff-guide-modal-backdrop {
  display: none !important;
}

body.ff-guide-modal-open {
  overflow: auto !important;
}

@media (min-width: 1480px) {
  body:has(.ff-guide-panel) #main-content {
    padding-right: 414px;
  }

  body:has(.ff-guide-panel) .ff-guide-panel {
    width: 360px;
    max-height: calc(100vh - 116px);
    overflow: auto;
  }
}

@media (min-width: 1180px) and (max-width: 1479px) {
  body:has(.ff-guide-panel) .ff-guide-panel {
    width: min(330px, calc(100vw - 28px));
    max-height: calc(100vh - 104px);
    overflow: auto;
  }
}
