#iphoneInstallTools{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto;flex:none}
body.traxio-ui-ready #iphoneInstallTools .theme-toggle{margin-left:0;width:44px;min-height:44px}
#iphoneInstallButton{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 10px;border:1px solid #90e0d488;border-radius:9px;background:#eaf8f2;color:#006d70;font-family:inherit;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer}
#iphoneInstallButton svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#authScreen #iphoneInstallTools{margin:0 0 16px;justify-content:flex-end}
#authScreen #iphoneInstallTools .theme-toggle{color:#006d70;background:#eaf8f2;border:1px solid #90e0d488;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;padding:8px}
#iphoneInstallDialog{box-sizing:border-box;width:min(470px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #7ad6c6;border-radius:20px;padding:24px;background:#043744;color:#effbf8;font:17px/1.5 system-ui,sans-serif;box-shadow:0 22px 80px #001b2ca6}
#iphoneInstallDialog::backdrop{background:#001823bb}
.iphone-install-heading{display:flex;align-items:center;gap:13px}.iphone-install-heading img{border-radius:13px;flex:none}
#iphoneInstallDialog h2{font-size:23px;line-height:1.2;margin:0;color:#d4f566}.iphone-install-heading p{font-size:14px;margin:7px 0 0}
#iphoneInstallDialog li{padding:6px 0 10px 4px}#iphoneInstallDialog ol{padding-left:24px}#iphoneInstallDialog .iphone-install-note{font-size:14px;color:#c9e2dc}
.iphone-install-actions{display:flex;flex-wrap:wrap;gap:10px}.iphone-install-actions button{min-height:46px;flex:1 1 160px;font-size:16px}
#iphoneInstallStatus{font-size:14px}#iphoneInstallStatus input{box-sizing:border-box;width:100%;font-size:16px;margin-top:8px}
@media(max-width:650px){
 body.iphone-install-available.traxio-ui-ready>header{gap:4px;padding-left:6px;padding-right:6px}
 body.iphone-install-available .header-brand .brand-crop{width:110px}
 body.iphone-install-available #accountToggle{width:40px;min-width:40px;min-height:44px;justify-content:center;padding:4px}
 body.iphone-install-available #accountToggle #authIdentity,body.iphone-install-available #accountToggle>span:last-child{display:none}
 body.iphone-install-available #accountToggle .account-avatar{width:26px;height:26px;display:grid}
 body.iphone-install-available .mobile-nav-toggle{width:40px;min-width:40px;padding:5px}
 #iphoneInstallTools{gap:4px}header #iphoneInstallButton>span{display:none}header #iphoneInstallButton{width:44px;padding:8px}
 #iphoneInstallDialog{padding:20px}
}
body.iphone-pwa-standalone.traxio-ui-ready{--header-h:calc(62px + env(safe-area-inset-top))}
body.iphone-pwa-standalone.traxio-ui-ready>header{padding-top:calc(5px + env(safe-area-inset-top))}
body.iphone-pwa-standalone.traxio-ui-ready>main{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
/* The installed iPhone shares one safe header boundary across all five pages.
   Keep this stylesheet after the shell: its mobile padding previously erased the safe inset. */
body.iphone-pwa-standalone.traxio-ui-ready[data-screen]{
 --iphone-safe-top:env(safe-area-inset-top,0px);
 --iphone-safe-bottom:env(safe-area-inset-bottom,0px);
 --header-h:calc(62px + var(--iphone-safe-top));
 -webkit-text-size-adjust:100%;
}
body.iphone-pwa-standalone.traxio-ui-ready[data-screen]>header{
 box-sizing:border-box;height:var(--header-h);padding:calc(5px + var(--iphone-safe-top)) max(8px,env(safe-area-inset-right)) 5px max(8px,env(safe-area-inset-left));
 background:#032f3d;isolation:isolate;backdrop-filter:none;-webkit-backdrop-filter:none;
}
body.iphone-pwa-standalone.traxio-ui-ready[data-screen]>main{top:var(--header-h);padding-bottom:calc(16px + var(--iphone-safe-bottom))}
body.iphone-pwa-standalone.traxio-ui-ready[data-screen]>nav.tabs{top:var(--header-h);padding-bottom:max(12px,var(--iphone-safe-bottom))}
body.iphone-pwa-standalone.traxio-ui-ready #authScreen{padding-top:calc(35px + var(--iphone-safe-top));padding-bottom:calc(35px + var(--iphone-safe-bottom))}
body.iphone-pwa-standalone.traxio-ui-ready dialog{max-height:calc(100dvh - var(--iphone-safe-top) - var(--iphone-safe-bottom) - 24px);margin-top:calc(var(--iphone-safe-top) + 12px);margin-bottom:calc(var(--iphone-safe-bottom) + 12px)}
@media(max-width:650px){
 body.iphone-pwa-standalone.traxio-ui-ready[data-screen]>header{gap:5px}
 body.iphone-pwa-standalone .header-brand{min-width:80px;flex-basis:110px}
 body.iphone-pwa-standalone.traxio-ui-ready .header-brand .brand-crop{width:100%;max-width:110px}
 body.iphone-pwa-standalone.traxio-ui-ready #accountToggle{max-width:88px}
 body.iphone-pwa-standalone.traxio-ui-ready #authIdentity{max-width:34px}
}
