/* Mobile finishing layer. Safe areas, readable controls, and a coherent module rhythm. */
.m497-resume,.m497-field{display:none}.pt497-focus-bar{display:none}
.pt497-collapse{display:none}html[data-mobile-visor] .pt497-expand{display:none}html[data-mobile-visor] .pt497-collapse{display:inline}
@media(max-width:1400px){
 :root{--m390-head-height:calc(60px + env(safe-area-inset-top));--m497-gutter:18px}
 html{scroll-padding-top:calc(var(--m390-head-height) + 14px)}
 body{overscroll-behavior-y:contain}
 .main{padding-inline:max(var(--m497-gutter),env(safe-area-inset-left)) max(var(--m497-gutter),env(safe-area-inset-right));padding-bottom:26px}
 .main>.topbar{top:0;height:var(--m390-head-height);min-height:var(--m390-head-height);margin-inline:calc(-1 * var(--m497-gutter));padding:env(safe-area-inset-top) var(--m497-gutter) 0;gap:8px;background:#f3f4eef5}
 .main>.topbar{display:flex;flex-wrap:nowrap;width:auto}.topbar-start{min-width:0;flex:1;width:auto;gap:10px;justify-content:flex-start}.topbar .mobile-brand{max-width:168px;justify-content:flex-start}.topbar .mobile-menu{flex:none;min-height:44px;min-width:44px}
 .m390-nav{gap:5px;padding-top:6px;box-shadow:0 -8px 32px #143b2a0a}.m390-nav a{font-size:10px;letter-spacing:.01em;border-radius:14px}.m390-nav a[aria-current]{background:#e8eddf;color:#173f30}
 .content{min-width:0}.content :is(input:not([type=range]),select,textarea){font-size:16px}.content button:not([hidden]),.content summary{min-height:44px;touch-action:manipulation}.content input[type=range]{min-height:44px;touch-action:pan-y}
 .content :is(button,a,summary):focus-visible{outline:3px solid #b48d47;outline-offset:3px}
 .content img{max-width:100%}.content :is(figure,fieldset){min-width:0}.content table{max-width:100%}
 .content :is(h1,h2,h3){text-wrap:balance}.content :is(p,li){line-height:1.7}
 .content details>div:not([class]),.content details>ol:not([class]){padding-inline:18px}
 .fl431-modules{border:0;background:transparent;padding:2px 0 12px;gap:5px;border-bottom:1px solid #d3dccb;border-radius:0;margin-bottom:20px;box-shadow:none}
 .fl431-modules>a{border:0;min-height:62px;padding:8px 2px;border-radius:12px;background:transparent;box-shadow:none}.fl431-modules>a[aria-current]{background:#e5eadb}.fl431-modules strong{font-size:10px}
 .module436-hero{padding:26px 23px;margin-top:12px;border-radius:22px}.module436-hero h1{font-size:34px;margin:16px 0}.module436-hero p{font-size:14px;line-height:1.7}.module436-hero>span{font-size:9px;letter-spacing:.14em}
 .module436-grid{gap:16px}.module436-tile{border-radius:19px;box-shadow:0 8px 26px #233c2807}.module436-tile>div{padding:22px}.module436-tile h2{font-size:25px;margin:10px 0}.module436-tile p{font-size:14px;margin-bottom:16px}.module436-tile>div>span{font-size:9px;letter-spacing:.12em}
 .module436-hub .formation480-cover,.module436-hub .module436-tile:first-child .formation480-cover{height:210px;object-fit:cover}.module436-hub .module436-tile:first-child .formation480-cover{object-fit:contain;background:#dfd9ce}
 .m390-home{padding-top:0}.m390-home-head{position:sticky;top:0;z-index:35;min-height:calc(68px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);background:#f3f4eef5;backdrop-filter:blur(14px);gap:10px;margin-bottom:8px}.m390-home-head .flightlab-wordmark strong{font-size:25px}.m390-home-head .flightlab-symbol{width:30px!important;height:30px!important}.m390-home-head .m390-search-icon{margin-left:auto;border:0;background:transparent}
 .pwa497-home-menu{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #cbd5c1;border-radius:12px;background:#fffdf5;color:#2a4c39}.pwa497-home-menu svg{width:21px;height:21px}
 .m390-home .m390-hero{padding:28px 24px;margin:8px 0 18px;background:linear-gradient(90deg,#14382eed 0%,#173d30db 60%,#173d3066),url('./assets/ball-flight-editorial-768.webp') center/cover;border:0;box-shadow:0 12px 36px #173c271a}
 .m390-hero h1{font-size:42px;line-height:1.06;letter-spacing:-.045em;margin:20px 0 18px}.m390-hero p{font-size:14px;line-height:1.75;color:#e2e8d6}.m390-hero .m390-eyebrow{font-size:9px;letter-spacing:.12em}.m390-hero .m390-progress{font-size:10px}
 .m497-hero-link{display:flex;align-items:center;gap:16px;min-height:48px;margin-top:20px;color:#f0d093;font-size:14px;font-weight:700;text-decoration:none}.m497-hero-link svg{width:21px;height:21px}
 .m497-resume{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 4px 22px;color:#294c3c;text-decoration:none}.m497-resume small{display:block;font-size:9px;letter-spacing:.12em;color:#8b7247;margin-bottom:7px}.m497-resume strong{font-size:15px}.m497-resume svg{width:24px;height:24px}
 .m497-field{display:block;margin:22px 0}.m497-field header>span{font-size:9px;font-weight:750;letter-spacing:.13em;color:#8b7247}.m497-field h2{margin:8px 0 16px}.m497-field>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.m497-field a{display:grid;gap:8px;padding:18px 16px;background:#e8eddf;border:1px solid #d3dcc6;border-radius:16px;color:#244b39;text-decoration:none;min-height:130px;box-sizing:border-box}.m497-field a:nth-child(2),.m497-field a:nth-child(3){background:#f0ecdf;border-color:#e2dcca}.m497-field a>span{font:400 19px Georgia,serif;color:#9b8150}.m497-field strong{font-size:15px;line-height:1.35}.m497-field small{font-size:11px;line-height:1.5;color:#65705b}
 .m390-home-footer{flex-wrap:wrap;align-items:center}.m390-home-footer a{min-height:44px;display:flex;align-items:center}.m390-explore{padding-top:4px}.m390-filter{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.m390-filter button{flex:none;scroll-snap-align:start}.m390-results>a{border-radius:15px;padding:20px 16px}
 .pt420-page .pt452-workspace{--m497-stage-height:clamp(500px,70svh,640px)}.pt420-page .pt452-workspace .pt420-stage{height:var(--m497-stage-height)}
 .pt452-popovers .pt452-panel{max-height:calc(var(--m497-stage-height) - 292px)}.pt452-panel-body{min-height:0}.pt452-panel-body .pt448-aim>h3,.pt452-panel-body .pt448-aim>.pt447-hint{display:none}
 .pt452-camera .pt452-icon,.pt452-workspace .pt452-camera .pt495-center-face{width:44px;height:44px;min-height:44px}.pt452-camera{gap:3px;top:10px;right:10px}
 .pt452-workspace .pt420-model-tag{top:66px;left:14px}.pt452-workspace .pt420-phase{top:98px;left:14px}.pt452-workspace .pt452-popovers{top:112px;max-height:calc(100% - 292px)}.pt452-panel-body{max-height:none}.pt452-panel>header .pt452-icon{min-height:44px;width:44px;height:44px}.pt452-panel-body .pt420-control>span{font-size:13px}.pt452-panel-body .pt420-control small{font-size:12px}
 .pt452-tools{grid-template-columns:repeat(7,minmax(44px,1fr));gap:2px;padding:4px;left:7px;right:7px;overflow-x:auto;overscroll-behavior-x:contain}.pt452-tools .pt452-icon{min-width:0;padding:6px}.pt452-workspace .pt452-playback{bottom:8px;left:8px;right:8px}.pt452-timeline input{min-height:32px!important}
 .pt494-outcome{padding:14px 16px 28px;min-height:86px}.pt494-outcome-copy>span{font-size:12px}.pt494-outcome-copy strong{font-size:17px}
 .pt497-focus-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#fffdf5;border-bottom:1px solid #d8dfcd}.pt497-focus-bar>span{font-size:11px;color:#69765f}.pt497-focus-bar button{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 13px;border:1px solid #bac8ae;border-radius:10px;background:#eff2e6;color:#31523c;font:650 12px system-ui}
 .pt492-aim-summary{top:132px}
 .an-card.is-selected{bottom:var(--m390-nav-height)}
 .chart-modal{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);max-width:100vw}
 .flightlab-access{max-height:100dvh}.flightlab-access .access-entry{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
/* Expand without changing physical parameters, camera state, or moving the canvas. */
html[data-mobile-visor] body{overflow:hidden}
html[data-mobile-visor] .pt420-page .pt452-workspace{--m497-stage-height:max(420px,calc(100dvh - 154px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));position:fixed;inset:0;z-index:110;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#f4f5eb;box-sizing:border-box;border:0;border-radius:0;overflow:auto}
html[data-mobile-visor] .pt452-workspace .pt447-viewer{border-radius:0}
html[data-mobile-visor] .pt497-focus-bar{display:flex;position:sticky;top:0;z-index:7;min-height:60px;box-sizing:border-box}
html[data-mobile-visor] .pt420-page .pt452-workspace .pt420-stage{height:var(--m497-stage-height);min-height:420px}
html[data-mobile-visor] .pt452-workspace :is(.pt434-view-legend,.pt447-live){display:none}
html[data-mobile-visor] .m390-nav{display:none}
@media(max-width:370px){.main{--m497-gutter:14px}.pt452-tools{grid-template-columns:repeat(7,minmax(44px,1fr));gap:1px;left:4px;right:4px;padding:3px}.pt452-tools .pt452-icon{padding:4px}.m390-home-head .flightlab-wordmark strong{font-size:23px}.m390-home-head .flightlab-symbol{width:27px!important}.m390-home-head{gap:6px}}
@media(max-height:500px) and (min-width:540px){html[data-mobile-visor] .pt420-page .pt452-workspace .pt420-stage{min-height:300px;height:calc(100dvh - 60px)}html[data-mobile-visor] .pt494-outcome{display:none}.pt452-tools{left:auto;right:10px;top:65px;bottom:auto;width:194px;grid-template-columns:repeat(4,minmax(0,1fr))}.pt452-workspace .pt452-popovers{max-height:calc(100% - 164px);width:calc(100% - 240px);top:64px}.pt452-workspace .pt420-phase{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.module436-tile,.m390-nav a{transition:none}}
@media(max-width:760px) and (min-height:501px){
 /* Keep the putter visible above an open dial instead of covering it. */
 .pt420-page .pt452-workspace:has(.pt452-panel:not([hidden])){--m497-stage-height:max(620px,70svh);--m497-panel-height:clamp(250px,33svh,278px)}
 html[data-mobile-visor] .pt420-page .pt452-workspace:has(.pt452-panel:not([hidden])){--m497-stage-height:max(620px,calc(100dvh - 154px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}
 .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])) #putter-3d-canvas,.pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])) .pt425-directions{height:calc(var(--m497-stage-height) - var(--m497-panel-height) - 190px);bottom:auto}
 .pt452-workspace:has(.pt452-panel:not([hidden])) .pt452-popovers{top:auto;bottom:179px;max-height:var(--m497-panel-height)}
 .pt452-workspace:has(.pt452-panel:not([hidden])) .pt452-panel{max-height:var(--m497-panel-height)}
 .pt452-workspace:has(.pt452-panel:not([hidden])) :is(.pt434-face-badge,.pt429-distance-badge,.pt420-phase){display:none}
}

@media(max-width:760px){.pt452-panel-body .pt420-control{padding:5px 0 3px}.pt452-panel-body .pt420-control small{font-size:11px;line-height:1.3}.pt452-panel-body input[type=range]{margin-top:3px}}
@media(max-height:500px) and (min-width:540px){
 .pt452-camera .pt495-center-face>span{display:none}.pt452-workspace .pt452-camera .pt495-center-face{width:44px;padding:10px}
 .pt452-workspace .pt452-tools{display:flex;top:auto;left:10px;right:10px;bottom:76px;width:auto;overflow-x:auto;gap:4px;padding:5px}.pt452-tools .pt452-icon{width:44px;min-width:44px;height:44px;padding:8px}
 .pt452-workspace .pt452-popovers{left:auto;right:10px;top:62px;width:45%;max-height:175px}.pt452-popovers .pt452-panel{max-height:175px}.pt452-panel-body{min-height:0}
 .pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])) #putter-3d-canvas,.pt452-workspace .pt420-stage:has(.pt452-panel:not([hidden])) .pt425-directions{width:50%;height:calc(100% - 139px);bottom:auto}
 .pt452-workspace:has(.pt452-panel:not([hidden])) :is(.pt434-face-badge,.pt429-distance-badge){display:none}
 html[data-mobile-visor] .pt494-outcome{display:flex;min-height:44px;padding:8px 16px;align-items:center}.pt494-outcome-copy{display:flex;align-items:baseline;gap:6px 12px}html[data-mobile-visor] .pt494-outcome>small{display:none}
 html[data-mobile-visor] .pt497-focus-bar{min-height:52px;padding:4px 14px}
 html[data-mobile-visor] .pt420-page .pt452-workspace .pt420-stage{height:calc(100dvh - 96px);min-height:330px}
}
@media(max-width:760px) and (pointer:coarse){body:has(textarea:focus,input[type=text]:focus,input[type=email]:focus,input[type=search]:focus) .m390-nav{visibility:hidden}.content :is(textarea,input){scroll-margin-block:90px}}

@media(max-height:500px) and (min-width:540px){.pt452-workspace .pt452-popovers{top:60px;max-height:132px}.pt452-popovers .pt452-panel{max-height:132px}.pt452-panel>header{padding-block:0}.pt452-panel-body .pt420-control{padding-block:0}html[data-mobile-visor] .pt494-outcome{position:sticky;top:52px;z-index:8}}
