/* Fresh-eyes fix batch (design partner 22:58Z, mb_N70f4NWii7). */
/* F1: phone pop-ups. The sticky button bar is opaque (a short fade above it), and a focused or scrolled-to field stops
   above the bar, so the last field can always scroll fully clear of it. */
@media (max-width:760px){
  html:not(#_) .pcm .scroll { scroll-padding-bottom:132px; }
  html:not(#_) .pcm .scroll .act { bottom:0; background:rgb(11 19 28); }
  html:not(#_) .pcm .scroll .act::before { content:""; position:absolute; left:0; right:0; top:-24px; height:24px; pointer-events:none;
    background:linear-gradient(180deg, rgb(11 19 28 / 0), rgb(11 19 28)); }
  html:not(#_) .pcm .one { padding-bottom:24px; }
}
/* F2: Careers team pills on phone stay one scroll row; the row ends past the last pill and fades at the right edge. */
@media (max-width:760px){
  html .pg-careers .team-chips { padding-inline-end:44px; -webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 36px), transparent);
    mask-image:linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
}
/* F12: advisor names keep two lines, so every affiliation line starts at the same height. */
@media (min-width:761px){
  .pg-company .adv b { display:block; min-height:2lh; }
}
/* F8: phone titles take the column's full width, balanced, so they break into the fewest even lines. */
@media (max-width:760px){
  html:not(#_) :is(.pg-owners, .pg-careers) :is(h1, h2), html.home:not(#_) :is(.s-tray, .s-building, #compute, #buildings) :is(h1, h2) { max-width:none !important; text-wrap:balance; }
}
/* F9: on a laptop or wider the fold sits on the team cards' top edges (48 px of card shows), so it never cuts a face. */
@media (min-width:761px){
  html:not(#_):not(#__) .pg-company section:has(> .wrap > .team-hint) { margin-top:-48px !important; --tm-fold:48px; }
}

/* Batch 3 (design partner mb_yAVULTmt9o): phone pop-up action row pinned to the sheet's foot again (R15d-2's -20 px),
   and its fade shows only while a field sits under the row (modals.js sets .under), so a form that fits shows whole. */
@media (max-width:760px){
  html:not(#_):not(#__) .pcm .scroll .act { bottom:-20px; }
  html:not(#_):not(#__) .pcm .scroll .act:not(.under)::before { opacity:0; }
}

/* Next batch (design partner mb_pNIv4_hEtr): Owners hero lead drops its last sentence on phone; Capital Eleven 1.3x everywhere. */
@media (max-width:760px){ html:not(#_) .nb-desk { display:none; } }
html:not(#_) img[alt="Capital Eleven"] { scale:1.3; }
