/* Primary target: 13-inch iPad, landscape Safari and standalone Home Screen. */
html{height:100%;-webkit-text-size-adjust:100%}body{margin:0;min-height:100dvh}button,select,summary,a{touch-action:manipulation}button,select{ -webkit-tap-highlight-color:transparent }header{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-top:max(4px,env(safe-area-inset-top))}.pwa-actions{display:flex;align-items:center;gap:7px;margin-left:auto}.pwa-actions button{min-width:64px;min-height:44px;border:1px solid #64778a;background:transparent;color:#fff;border-radius:6px;font-size:11px;padding:6px 9px}.pwa-actions #pwaStatus{font-size:10px;color:#e2edf5}.pwa-actions button:disabled{opacity:.5}header .next-mock-badge{margin-left:auto;margin-right:14px;font-size:9px}.pwa-dialog{width:min(520px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1px solid #bfd2df;border-radius:14px;padding:20px;color:#304b60;background:#fff}.pwa-dialog::backdrop{background:#122b4966}.pwa-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.pwa-dialog h2{font-size:20px;margin:0}.pwa-dialog p,.pwa-dialog li{font-size:14px;line-height:1.6}.pwa-dialog li{margin-bottom:9px}.pwa-dialog button{min-height:44px;min-width:64px}.unified-rail,.unified-stage,.technical-map,.next-map{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.unified-controls select{font-size:12px}.unified-controls button,.master-bar [role=tab],.unified-guide button,.unified-rail button,.unified-rail summary,.unified-guide summary{min-height:44px!important}.unified-guide button{min-width:64px}.unified-controls .jwcc-toggle{min-height:44px;display:flex;align-items:center}.unified-controls input[type=checkbox]{width:20px;height:20px}.unified-rail summary{display:flex;align-items:center}.unified-rail .raci-key summary{font-size:11px}.unified-guide .flow-walk,.unified-guide .service-nav,.unified-guide .next-transport{bottom:6px}.unified-guide{padding-bottom:54px}.unified-guide .next-caption .next-action{line-height:1.4}.unified-support>summary:before,.raci-key>summary:before{content:'▸';margin-right:6px}.unified-support[open]>summary:before,.raci-key[open]>summary:before{content:'▾'}
@media(min-width:1180px) and (orientation:landscape){body{height:100dvh;overflow:hidden;display:flex;flex-direction:column}header{min-height:50px;flex:none;box-sizing:border-box}main{flex:1;min-height:0;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.master-bar{min-height:54px;box-sizing:border-box;padding:4px 0}.master-bar [role=tab]{font-size:11px;padding:6px 9px}.unified-controls{height:108px!important}.unified-body{grid-template-columns:minmax(0,1fr) 300px;gap:10px}.unified-guide{height:202px!important}.unified-guide:has(details[open]){height:260px!important}.unified-view{padding-bottom:4px}.unified-stage>.next-titlebar{padding:7px 12px}.unified-stage>.next-titlebar h2{font-size:16px}.unified-rail .mini-raci p,.unified-rail .next-raci p{font-size:11px}.unified-rail table th,.unified-rail table td{font-size:11px!important;padding:5px!important}footer{flex:none;padding-top:4px;padding-bottom:max(4px,env(safe-area-inset-bottom));font-size:9px;min-height:22px;box-sizing:border-box}.unified-controls .providerbar{flex-basis:45%}.unified-controls .stage-controls{flex:1}.unified-controls .stage-controls select{max-width:205px}.unified-controls #providers button{min-width:65px;padding:5px 7px}.unified-controls .flow-controls{gap:8px}.unified-controls .service-controls select{min-width:220px}.unified-stage .next-map svg{touch-action:pan-x pan-y}}
@media(min-width:1180px) and (orientation:landscape) and (max-height:850px){.unified-guide{height:190px!important}.unified-controls{height:100px!important}.master-bar{min-height:48px}.unified-guide h2,.unified-guide h3{font-size:16px!important}.unified-guide .service-event-deck p{font-size:11px}}
@media(max-width:1179px){.pwa-actions #pwaStatus{max-width:100px}.next-mock-badge{display:none}.master-bar [role=tablist]{overflow-x:auto;flex-wrap:nowrap}.master-bar [role=tab]{flex:none}.unified-controls{height:auto;min-height:110px}.pwa-actions{gap:5px}.pwa-actions button{min-width:50px}.pwa-actions #pwaStatus{font-size:9px}header .brand{font-size:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(min-width:1180px) and (orientation:landscape){.unified-guide{height:230px!important}.unified-guide:has(details[open]){height:280px!important}}@media(min-width:1180px) and (orientation:landscape) and (max-height:850px){.unified-guide{height:218px!important}}
