/* Social Media 2026-10-05 — Utah iframe recheck-2134 + near-miss-2142 + preship-2146/2149.
   1) Fit header button ≥44×44.
   2) Nested tools chrome ≥44; summary/p full-width (Δ0.7 closed).
   3) .workspace-starters / #btnNewBlank ≥44.
   4) Hand dock column — MQ uses iframe innerWidth (product-frame), NOT the outer window.
      Outer 768 → iframe ~506; outer 721 → ~459. Prior min-width:721 never matched.
      Breakpoint min-width:440 applies there; phone iframes ≤430 keep prior layout.
      (No @container backup — open phone Hand setup is often >200px and would false-trigger.)
   Load: after circuit-iframe-align-taps; account-align-fix last.
   Pair with calibration-ui-aria.js. */

/* 1 — Circuit header taps */
dialog.bl-circuit > header > button{
  min-width:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  padding-inline:12px!important;
}

/* 2 — Nested tools disclosures + helper links */
dialog.bl-circuit .bl-circuit-tools summary,
dialog.bl-circuit .bl-circuit-tools a{
  min-height:44px!important;
  min-width:44px!important;
  display:flex!important;
  align-items:center!important;
  box-sizing:border-box!important;
  padding:10px 8px!important;
  line-height:1.2!important;
  width:100%!important;
  max-width:100%!important;
}
dialog.bl-circuit .bl-circuit-tools button,
dialog.bl-circuit .bl-circuit-tools select{
  min-height:44px!important;
  box-sizing:border-box!important;
}
dialog.bl-circuit .bl-circuit-tools p{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin-inline:0!important;
}

/* 3 — Gallery welcome starters */
.workspace-starters > button,
html[data-account-embed] .workspace-starters > button,
#btnNewBlank{
  min-height:44px!important;
  height:auto!important;
  box-sizing:border-box!important;
  padding:10px 14px!important;
}

/* 4 — Hand dock column (iframe-aware MQ) */
@media (min-width:440px){
  .bl-hand-setup > div:not(.bl-hand-preview){
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .bl-hand-setup > div:not(.bl-hand-preview) > select,
  .bl-hand-setup > div:not(.bl-hand-preview) > button{
    margin:0!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
    box-sizing:border-box!important;
  }
  .bl-hand-setup > div:not(.bl-hand-preview) > button{
    min-height:60px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }
}
