
/* Keep the swipe card and all actions inside the available phone screen. */
#ib119Setup{height:100vh;height:100dvh;padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto}
#ib119Setup .ib120-shell{height:100%;min-height:0;box-sizing:border-box;padding:0;display:flex;flex-direction:column;gap:8px;position:relative}
#ib119Setup .ib120-shell>*{flex-shrink:0;margin:0}
#ib119Setup .ib120-top{gap:8px;margin:0}
#ib119Setup .ib120-top strong{font-size:13px}
#ib119Setup .ib120-shell>p{font-size:13px;line-height:1.4;text-align:center}
#ib119Setup .ib120-shell>details>summary{min-height:44px;padding:11px 38px 11px 12px!important;font-size:14px;line-height:20px;box-sizing:border-box}
#ib119Setup #ib119Card{flex:1 1 auto;min-height:140px;max-height:44vh;max-height:44dvh;width:100%;margin:0;padding:18px 16px;box-sizing:border-box}
#ib119Setup #ib119Card h3{font-size:clamp(23px,5vw,30px);line-height:1.15;margin:10px 0}
#ib119Setup #ib119Card>div{font-size:13px;line-height:1.4}
#ib119Setup #ib119Card p{font-size:14px;line-height:1.4;margin:6px 0}
#ib119Setup .ib119-actions{margin:0;gap:8px}
#ib119Setup .ib119-actions button,#ib119Setup #ib119Start,#ib119Setup .ib120-top button{min-height:44px;padding:10px 12px;line-height:22px;box-sizing:border-box}
#ib119Setup #ib119Start{margin-top:0;font-size:15px}
#ib119Setup .ib120-review{margin:0}
/* Expanded options and the picked-exercise list use the card area, not a longer page. */
#ib119Setup .ib120-shell:has(>details[open])>#ib119Card,#ib119Setup .ib120-shell:has(>details[open])>.ib119-actions,#ib119Setup .ib120-shell:has(>details[open])>p{display:none}
#ib119Setup .ib120-shell>details[open]{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;border-radius:12px}
#ib119Setup .ib120-shell>details[open]>summary{position:sticky;top:0;z-index:2;margin-bottom:12px}
#ib119Setup .ib120-shell>details[open] .grid3{margin:8px 0}
#ib119Setup .ib120-review #ib119Selected{padding:0 8px}
#ib119Setup .ib120-review #ib119Estimate{font-size:13px;line-height:1.4;padding:0 8px}
@media(max-height:620px){#ib119Setup{padding:8px;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom))}#ib119Setup .ib120-shell{gap:6px}#ib119Setup .ib120-shell>p{display:none}#ib119Setup #ib119Card{min-height:120px;padding:10px 12px}#ib119Setup #ib119Card h3{font-size:23px;margin:6px 0}#ib119Setup #ib119Card>div{font-size:12px}#ib119Setup #ib119Card p{margin:4px 0}}
