/* INFOTECH 3.10AB — FixtureBuilder AVA click-safe + export flow fix */
body.fixture-builder-page .builder-action-rail,
body .builder-action-rail{
  display:none!important;
  pointer-events:none!important;
}

body.fixture-builder-page .builder-main-content,
.builder-main-content{
  padding-bottom:42px!important;
}

/* Dock is not clickable as a full rectangle. */
body.fixture-builder-page .infotech-support-float,
body .infotech-support-float{
  pointer-events:none!important;
  width:auto!important;
  height:auto!important;
  max-width:none!important;
  overflow:visible!important;
  z-index:8600!important;
}

/* Only visible/intentional support elements receive clicks. */
body.fixture-builder-page .infotech-support-float .support-card,
body.fixture-builder-page .infotech-support-float .support-mascot-btn,
body.fixture-builder-page .infotech-support-float .support-actions a,
body .infotech-support-float .support-card,
body .infotech-support-float .support-mascot-btn,
body .infotech-support-float .support-actions a{
  pointer-events:auto!important;
}

/* Typing bubble is visual only, so it cannot steal export/table clicks. */
body.fixture-builder-page .infotech-support-float .support-bubble,
body .infotech-support-float .support-bubble{
  pointer-events:none!important;
}

/* Smaller hitbox: close to the visible dog, not a giant invisible square. */
body.fixture-builder-page .infotech-support-float .support-mascot-btn,
body .infotech-support-float .support-mascot-btn{
  width:142px!important;
  height:142px!important;
  border-radius:28px!important;
  overflow:visible!important;
  transform:none!important;
}

body.fixture-builder-page .infotech-support-float .support-mascot-btn video,
body .infotech-support-float .support-mascot-btn video{
  object-fit:contain!important;
  object-position:center center!important;
  transform:scale(1.02)!important;
}

body.fixture-builder-page .infotech-support-float .support-mascot-btn img,
body .infotech-support-float .support-mascot-btn img{
  object-fit:contain!important;
  object-position:center center!important;
}

body.fixture-builder-page .infotech-support-float .support-card,
body .infotech-support-float .support-card{
  right:0!important;
  bottom:150px!important;
  width:min(300px,calc(100vw - 28px))!important;
}

body.fixture-builder-page .infotech-support-float .support-bubble,
body .infotech-support-float .support-bubble{
  max-width:min(320px,calc(100vw - 28px))!important;
}

@media(min-width:901px){
  body.fixture-builder-page .infotech-support-float,
  body .infotech-support-float{
    right:14px!important;
    bottom:14px!important;
  }
}

@media(max-width:900px){
  body.fixture-builder-page .infotech-support-float,
  body .infotech-support-float{
    right:8px!important;
    bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
  }

  body.fixture-builder-page .infotech-support-float .support-mascot-btn,
  body .infotech-support-float .support-mascot-btn{
    width:86px!important;
    height:86px!important;
    border-radius:20px!important;
  }

  body.fixture-builder-page .infotech-support-float .support-card,
  body .infotech-support-float .support-card{
    bottom:94px!important;
    width:min(286px,calc(100vw - 18px))!important;
  }

  body.fixture-builder-page .infotech-support-float .support-bubble,
  body .infotech-support-float .support-bubble{
    max-width:min(286px,calc(100vw - 18px))!important;
  }
}

/* Closed card must not remain as an invisible click layer. */
body.fixture-builder-page .infotech-support-float:not(.open) .support-card,
body .infotech-support-float:not(.open) .support-card{
  pointer-events:none!important;
}
