/* H10 v0.9.461 — classic two-column PHONE layout.
   Intentionally leaves desktop/tablet CSS untouched. This replaces the 459
   full-height mobile stacked workflow; no calculations or form state changed. */
.h10e.h10e--phone {
 --sidebar-width: 42vw!important;
 overflow:hidden!important;
}
.h10e.h10e--phone .h10e__workspace{
 display:flex!important;flex:1 1 auto!important;min-height:0!important;
 width:100%!important;overflow:hidden!important;
}
.h10e.h10e--phone .h10e__sidebar,
.h10e.h10e--phone .h10l__sidebar{
 flex:0 0 var(--sidebar-width)!important;width:var(--sidebar-width)!important;
 min-width:0!important;max-width:var(--sidebar-width)!important;
}
.h10e.h10e--phone .h10e__main,
.h10e.h10e--phone .h10l__main{
 flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;
}
.h10e.h10e--phone .h10l {
 position:absolute!important;inset:0!important;display:flex!important;flex-direction:row!important;
 width:100%!important;min-width:0!important;height:100%!important;
}
.h10e.h10e--phone .h10l[hidden]{display:none!important}
.h10e.h10e--phone .h10e__header {
 flex-basis:51px!important;min-height:51px!important;height:51px!important;
 padding:0 7px!important;gap:4px!important;
 grid-template-columns:minmax(0,1fr) auto!important;
}
.h10e.h10e--phone .h10e__back{display:none!important}
.h10e.h10e--phone .h10e__headline{font-size:clamp(13px,3.5vw,17px)!important;letter-spacing:-.4px!important;min-width:0!important}
.h10e.h10e--phone .h10e__headline span{padding:0 .25em!important}
.h10e.h10e--phone .h10e__headline i{height:21px!important}
.h10e.h10e--phone .h10e__head-actions{gap:3px!important;min-width:0!important}
.h10e.h10e--phone .h10e__version,.h10e.h10e--phone .h10e__training{display:none!important}
.h10e.h10e--phone .h10e__admin-lab-toggle{font-size:11px!important;padding:2px 4px!important;min-width:0!important}
.h10e.h10e--phone .h10e__icon-button{min-width:22px!important;width:22px!important;font-size:24px!important;padding:0!important}
/* Inputs: same structure as tablet, only compact typography and padding. */
.h10e.h10e--phone .h10e__sidebar-scroll,
.h10e.h10e--phone .h10l__scroll{
 flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
 padding:6px 4px 8px!important;display:block!important;
}
.h10e.h10e--phone .h10e__group,
.h10e.h10e--phone .h10l__group{margin:0 0 9px!important;border-radius:8px!important}
.h10e.h10e--phone .h10e__field,
.h10e.h10e--phone .h10l__field.h10e__field{
 height:42px!important;min-height:42px!important;max-height:42px!important;
 padding:0 5px!important;gap:2px!important;min-width:0!important;
}
.h10e.h10e--phone .h10e__field-label,
.h10e.h10e--phone .h10e__sidebar .h10e__field-label,
.h10e.h10e--phone .h10l__field .h10l__field-label,
.h10e.h10e--phone .h10l__field .h10e__field-label{
 font-size:clamp(11px,3vw,13px)!important;
 letter-spacing:-.25px!important;flex:0 1 auto!important;max-width:54%!important;
 white-space:nowrap!important;min-width:0!important;overflow:hidden!important;
}
.h10e.h10e--phone .h10e__unit{font-size:10px!important;margin-left:1px!important;padding-left:1px!important}
.h10e.h10e--phone .h10e__field-right,
.h10e.h10e--phone .h10l__field .h10e__field-right{
 min-width:0!important;flex:1 1 auto!important;gap:2px!important;justify-content:flex-end!important;
}
.h10e.h10e--phone .h10e__field-value,
.h10e.h10e--phone .h10l__field .h10l__value{
 font-size:clamp(11px,3vw,14px)!important;line-height:1!important;
 min-width:0!important;max-width:100%!important;white-space:nowrap!important;
 overflow:hidden!important;text-overflow:ellipsis!important;text-align:right!important;letter-spacing:-.3px!important;
}
.h10e.h10e--phone .h10e__field[data-row="airport"],
.h10e.h10e--phone .h10l__field[data-row="airport"]{height:48px!important;min-height:48px!important;max-height:48px!important}
.h10e.h10e--phone .h10e__field[data-row="airport"] .h10e__field-right,
.h10e.h10e--phone .h10l__field[data-row="airport"] .h10e__field-right{justify-content:flex-start!important}
.h10e.h10e--phone .h10e__field[data-row="airport"] .h10e__field-value,
.h10e.h10e--phone .h10l__field[data-row="airport"] .h10l__value{
 font-size:12px!important;max-width:calc(100% - 3px)!important;text-align:left!important;
}
.h10e.h10e--phone .h10e__field[data-row="airport"] .h10e__airport-code,
.h10e.h10e--phone .h10l__field[data-row="airport"] .h10e__airport-code{font-size:13px!important;flex:0 0 auto!important}
.h10e.h10e--phone .h10e__field[data-row="airport"] .h10e__airport-label,
.h10e.h10e--phone .h10l__field[data-row="airport"] .h10e__airport-label{
 font-size:9px!important;white-space:nowrap!important;min-width:0!important;
 text-overflow:ellipsis!important;overflow:hidden!important;
}
.h10e.h10e--phone .h10l__field .h10l__edit,
.h10e.h10e--phone .h10e__field-edit{width:15px!important;height:15px!important;flex:0 0 15px!important;font-size:10px!important}
.h10e.h10e--phone .h10e__arrow,
.h10e.h10e--phone .h10l__arrow{font-size:19px!important;flex-basis:8px!important}
.h10e.h10e--phone .h10l__mode{height:34px!important;min-height:34px!important;margin:0 0 7px!important}
.h10e.h10e--phone .h10l__mode button{font-size:11px!important}
.h10e.h10e--phone .h10e__side-actions,
.h10e.h10e--phone .h10l__footer.h10e__side-actions{
 flex:0 0 auto!important;height:auto!important;min-height:0!important;
 padding:5px 4px 6px!important;gap:4px!important;
}
.h10e.h10e--phone .h10e__action-row,
.h10e.h10e--phone .h10l__actions{gap:3px!important}
.h10e.h10e--phone .h10e__chrome,
.h10e.h10e--phone .h10l__actions button{
 font-size:clamp(11px,2.95vw,14px)!important;height:32px!important;min-height:32px!important;
 max-height:32px!important;padding:0 2px!important;
}
.h10e.h10e--phone .h10e__action-row--main .h10e__chrome,
.h10e.h10e--phone .h10l__actions--bottom button{
 height:36px!important;min-height:36px!important;max-height:36px!important;font-size:14px!important;
}
.h10e.h10e--phone .h10l__footer .h10l__actions{height:auto!important;flex-basis:auto!important}
.h10e.h10e--phone .h10l__actions--bottom{padding-top:4px!important}
.h10e.h10e--phone .h10e__tabs{height:45px!important;min-height:45px!important;flex:0 0 45px!important}
/* TAKEOFF: keep runway on the right, but stack EOSID under performances
   (inside the right results area) to avoid 2 clipped miniature boxes. */
.h10e.h10e--phone .h10e__main{padding:3px 3px 6px!important}
.h10e.h10e--phone .h10e__runway-title{height:38px!important;min-height:38px!important;flex-basis:38px!important;font-size:24px!important;padding:4px 9px!important}
.h10e.h10e--phone .h10e__runway-diagram{width:24%!important}
.h10e.h10e--phone .h10e__runway-black{width:clamp(35px,10vw,46px)!important;right:12%!important}
.h10e.h10e--phone .h10e__number{font-size:20px!important}
.h10e.h10e--phone .h10e__length{font-size:18px!important}
.h10e.h10e--phone .h10e__information{inset:0 23% 0 0!important}
.h10e.h10e--phone .h10e__top-panels{
 display:flex!important;flex-direction:column!important;
 align-items:stretch!important;gap:8px!important;
 width:100%!important;max-width:100%!important;
 padding:7px 3px 0 5px!important;
}
.h10e.h10e--phone .h10e__performance{width:100%!important;max-width:100%!important;min-width:0!important}
.h10e.h10e--phone .h10e__performance-grid{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;padding:0 4px!important}
.h10e.h10e--phone .h10e__performance-grid > *,
.h10e.h10e--phone .h10e__performance-grid > div,
.h10e.h10e--phone .h10e__performance-grid > span,
.h10e.h10e--phone .h10e__performance-grid strong{
 font-size:clamp(10px,2.6vw,12px)!important;line-height:1.05!important;
 padding:5px 1px!important;white-space:normal!important;
 overflow-wrap:anywhere!important;min-width:0!important;
}
.h10e.h10e--phone .h10e__performance-grid strong{white-space:nowrap!important;font-weight:800!important}
.h10e.h10e--phone .h10e__reverse,
.h10e.h10e--phone .h10e__mtow{margin-top:7px!important;padding:6px!important}
.h10e.h10e--phone .h10e__reverse span,
.h10e.h10e--phone .h10e__reverse small,
.h10e.h10e--phone .h10e__mtow span,
.h10e.h10e--phone .h10e__mtow strong{font-size:11px!important;line-height:1.2!important;white-space:normal!important}
.h10e.h10e--phone .h10e__eosid,
.h10e.h10e--phone .h10e__top-panels > .h10e__eosid{
 width:100%!important;max-width:100%!important;height:auto!important;
 max-height:205px!important;min-height:80px!important;
 margin:0!important;padding:7px!important;transform:none!important;
 font-size:clamp(10px,2.55vw,12px)!important;line-height:1.16!important;
 white-space:pre-wrap!important;overflow-y:auto!important;overflow-wrap:anywhere!important;
}
/* LANDING: original runway+outputs composition. Larger usable output area,
   reduced typography and compact rows; no full-screen RESULTS view. */
.h10e.h10e--phone .h10l__main{padding:3px 3px 6px!important}
.h10e.h10e--phone .h10l__rwy-title{height:36px!important;min-height:36px!important;flex-basis:36px!important;font-size:24px!important;padding:3px 11px!important}
.h10e.h10e--phone .h10l__outputs{
 top:2%!important;left:3%!important;right:auto!important;
 width:calc(100% - 54px)!important;max-width:none!important;gap:7px!important;
}
.h10e.h10e--phone .h10l__outputbox{font-size:clamp(10px,2.65vw,12px)!important;border-radius:8px!important;max-width:100%!important}
.h10e.h10e--phone .h10l__outputbox>div{
 display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;
 gap:3px!important;height:42px!important;min-height:42px!important;
 padding:5px 5px!important;white-space:normal!important;
 font-size:clamp(10px,2.65vw,12px)!important;line-height:1.05!important;
 overflow:hidden!important;
}
.h10e.h10e--phone .h10l__outputbox strong,
.h10e.h10e--phone .h10l__outputbox--eoga strong,
.h10e.h10e--phone .h10l__outputbox--eoga strong[data-land-eospeed],
.h10e.h10e--phone .h10l__outputbox--eoga strong[data-land-eograd]{
 font-size:clamp(10px,2.75vw,13px)!important;line-height:1.08!important;
 min-width:0!important;max-width:53%!important;overflow-wrap:anywhere!important;
 word-break:normal!important;white-space:normal!important;
 margin-left:auto!important;text-align:right!important;
}
.h10e.h10e--phone .h10l__flap-switch{width:100%!important;max-width:100%!important;min-width:0!important;display:flex!important}
.h10e.h10e--phone .h10l__flap-switch button{font-size:clamp(11px,2.85vw,14px)!important;min-width:0!important;padding:0 3px!important;flex:1!important;white-space:nowrap!important}
.h10e.h10e--phone .h10l__landing-notice{font-size:11px!important;padding:6px!important;line-height:1.14!important}
.h10e.h10e--phone .h10l__runway-zone{
 width:52px!important;right:0!important;top:0!important;bottom:0!important;
 --h10-rwy-center:54%!important;--h10-rwy-width:40px!important;
}
.h10e.h10e--phone .h10l__runway-len{font-size:18px!important}
.h10e.h10e--phone .h10l__runway-num{font-size:20px!important}
.h10e.h10e--phone .h10l__runway-foot{font-size:12px!important;width:51px!important;left:0!important;height:25px!important}
.h10e.h10e--phone .h10l__margin-label,
.h10e.h10e--phone .h10l__distline span{font-size:11px!important;min-width:45px!important}
.h10e.h10e--phone .h10l__runway-zone .h10l__wind-layer{display:none!important}
/* Modal dialogs: intentionally almost full-width on small screens. They should
   not be squeezed beside the sidebar. Maintain independent body scroll. */
.h10e.h10e--phone .h10e__popover,
.h10e.h10e--phone .h10e__popover.h10e__popover--wind{
 position:fixed!important;left:3vw!important;right:auto!important;top:4dvh!important;
 transform:none!important;width:94vw!important;max-width:94vw!important;
 max-height:90dvh!important;min-height:0!important;overflow:visible!important;
 z-index:110!important;
}
.h10e.h10e--phone .h10e__popover:before{display:none!important}
.h10e.h10e--phone .h10e__pop-head{padding:0 12px!important;min-height:46px!important;flex:0 0 46px!important}
.h10e.h10e--phone .h10e__pop-head strong{font-size:18px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.h10e.h10e--phone .h10e__pop-body{overflow-y:auto!important;min-height:0!important;padding:8px 10px 12px!important;max-height:calc(90dvh - 46px)!important}
.h10e.h10e--phone .h10e__airport-option .h10e__option-code{font-size:19px!important}
.h10e.h10e--phone .h10e__airport-option .h10e__option-name{font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important}
.h10e.h10e--phone .h10e__option-list{max-height:65dvh!important;overflow-y:auto!important}
.h10e.h10e--phone .h10e__option{height:auto!important;min-height:48px!important;font-size:17px!important;white-space:normal!important}
.h10e.h10e--phone .h10e__keypad{max-width:340px!important;width:100%!important;gap:7px!important}
.h10e.h10e--phone .h10e__key{height:48px!important;font-size:22px!important}
.h10e.h10e--phone .h10e__mel-modal,
.h10e.h10e--phone .h10e__cdl-modal,
.h10e.h10e--phone .h10e__ecam-modal{
 left:3vw!important;top:4dvh!important;width:94vw!important;
 min-width:0!important;max-width:94vw!important;
 min-height:0!important;height:min(90dvh,730px)!important;max-height:90dvh!important;
}
.h10e.h10e--phone .h10l__shade{position:fixed!important;inset:0!important;z-index:180!important;padding:6px!important}
.h10e.h10e--phone .h10l__popup,
.h10e.h10e--phone .h10l__popup.h10l__popup--ga-gradient{
 position:fixed!important;left:50%!important;right:auto!important;
 top:4dvh!important;transform:translateX(-50%)!important;
 width:94vw!important;max-width:540px!important;min-width:0!important;
 min-height:0!important;height:auto!important;max-height:90dvh!important;
 overflow:hidden!important;
}
.h10e.h10e--phone .h10l__popup:before{display:none!important}
.h10e.h10e--phone .h10l__popup-header{min-height:48px!important;height:48px!important;flex-basis:48px!important;gap:4px!important;padding:0 8px!important}
.h10e.h10e--phone .h10l__popup-header strong{font-size:20px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
.h10e.h10e--phone .h10l__popup-header button{min-width:53px!important;height:33px!important;padding:0 7px!important;font-size:15px!important}
.h10e.h10e--phone .h10l__popup-body{min-height:0!important;flex:1 1 auto!important;overflow-y:auto!important;padding:8px 10px 14px!important;max-height:calc(90dvh - 48px)!important}
.h10e.h10e--phone .h10l__optionlist{max-height:65dvh!important;overflow-y:auto!important}
.h10e.h10e--phone .h10l__option{font-size:18px!important;min-height:47px!important;height:auto!important;white-space:normal!important}
.h10e.h10e--phone .h10l__popup .h10e__airport-option{min-height:50px!important;padding:7px 10px!important;gap:8px!important}
.h10e.h10e--phone .h10l__popup .h10e__airport-option .h10e__option-name{font-size:13px!important;white-space:normal!important}
.h10e.h10e--phone .h10l__popup .h10e__airport-option .h10e__option-code{font-size:18px!important}
.h10e.h10e--phone .h10l__popup.h10l__popup--ga-gradient .h10l__popup-body{max-height:calc(90dvh - 48px)!important}
.h10e.h10e--phone .h10l__popup.h10l__popup--ga-gradient .h10l__numgrid--gradient button{min-height:40px!important;height:40px!important;font-size:20px!important}
/* Advisory persists from 459. The rest of the full-screen mobile workflow is removed. */
.h10e-phone-tip[hidden]{display:none!important}
.h10e-phone-tip{position:fixed;inset:0;z-index:99999;background:rgba(17,27,39,.69);display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;font-family:system-ui,-apple-system,sans-serif;color:#1c2f3c}
.h10e-phone-tip__card{width:min(100%,420px);max-height:90dvh;overflow:auto;border-radius:13px;background:#f4f6f8;padding:23px 22px;box-shadow:0 17px 52px #101820aa}
.h10e-phone-tip__card h2{font-size:19px;margin:0 0 10px;color:#243e50}
.h10e-phone-tip__card p{font-size:15px;line-height:1.52;margin:0 0 16px}
.h10e-phone-tip__remember{display:flex;align-items:center;gap:10px;font-size:14px;margin:0 0 18px;cursor:pointer}
.h10e-phone-tip__remember input{width:19px;height:19px;margin:0;accent-color:#178fbd}
.h10e-phone-tip__ok{background:linear-gradient(#56bde5,#1586b4);color:white;border:0;border-radius:8px;font:bold 16px system-ui,sans-serif;padding:12px 18px;width:100%;min-height:45px;cursor:pointer}
@media (orientation:landscape) and (max-height:600px){
 .h10e.h10e--phone{--sidebar-width:34vw!important;}
 .h10e.h10e--phone .h10e__header{height:42px!important;min-height:42px!important;flex-basis:42px!important}
 .h10e.h10e--phone .h10e__sidebar-scroll,.h10e.h10e--phone .h10l__scroll{padding:4px 5px!important}
 .h10e.h10e--phone .h10e__field,.h10e.h10e--phone .h10l__field.h10e__field{height:38px!important;min-height:38px!important;max-height:38px!important}
 .h10e.h10e--phone .h10e__tabs{height:40px!important;min-height:40px!important;flex-basis:40px!important}
 .h10e.h10e--phone .h10e__top-panels{display:grid!important;grid-template-columns:1.1fr .9fr!important;gap:8px!important}
 .h10e.h10e--phone .h10e__eosid,.h10e.h10e--phone .h10e__top-panels > .h10e__eosid{height:auto!important;max-height:225px!important}
 .h10e.h10e--phone .h10l__outputs{width:calc(100% - 80px)!important;}
 .h10e.h10e--phone .h10l__outputbox>div{height:33px!important;min-height:33px!important}
 .h10e.h10e--phone .h10l__outputs{gap:5px!important}
 .h10e.h10e--phone .h10l__flap-switch{height:31px!important;min-height:31px!important}
 .h10e.h10e--phone .h10l__canvas{overflow-y:auto!important;overscroll-behavior:contain}
 .h10e.h10e--phone .h10l__runway-zone{width:78px!important;--h10-rwy-width:55px!important}
}

/* v0.9.461: PHONE ONLY. Preserve tablet/desktop and phone landscape layouts. */
.h10e__phone-rwy-metrics{display:none!important;}
.h10e.h10e--phone .h10e__field-label,
.h10e.h10e--phone .h10e__sidebar .h10e__field-label,
.h10e.h10e--phone .h10l__field .h10l__field-label,
.h10e.h10e--phone .h10l__field .h10e__field-label{
 font-size:clamp(12px,3.35vw,14px)!important;
 letter-spacing:-.32px!important;
}
.h10e.h10e--phone .h10e__phone-rwy-metrics:not([hidden]){
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 gap:0!important;min-width:0!important;margin-top:7px!important;
 border-radius:8px!important;overflow:hidden!important;
 background:linear-gradient(#3a3b3b,#414242)!important;
 box-shadow:inset 0 1px 3px #0009,0 2px 2px #ffffff66!important;
 color:#fff!important;
}
.h10e.h10e--phone .h10e__phone-rwy-metrics > div{
 min-height:26px!important;box-sizing:border-box!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:3px!important;padding:3px 6px!important;border-bottom:1px solid #74787b!important;
 font-size:clamp(10px,2.7vw,12px)!important;line-height:1.1!important;
 white-space:nowrap!important;
}
.h10e.h10e--phone .h10e__phone-rwy-metrics > div:last-child{border-bottom:0!important;}
.h10e.h10e--phone .h10e__phone-rwy-metrics strong{
 font-size:clamp(10px,2.9vw,12px)!important;color:#4df45e!important;
 white-space:nowrap!important;text-align:right!important;
}
/* Mobile portrait: list all eight TAKEOFF outputs one below another. */
@media (orientation:portrait) and (max-width:650px){
 .h10e.h10e--phone .h10e__performance-grid,
 .h10e.h10e--phone .h10e__performance .h10e__performance-grid{
  display:flex!important;flex-direction:column!important;
  grid-template-columns:none!important;align-items:stretch!important;
  padding:2px 5px!important;
 }
 .h10e.h10e--phone .h10e__performance-grid > .h10e__perf-row{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(0,62%) minmax(0,38%)!important;
  width:100%!important;min-width:0!important;
  flex:0 0 auto!important;align-items:center!important;
  padding:6px 2px!important;gap:2px!important;
  border-bottom:1px solid #94989a!important;
 }
 .h10e.h10e--phone .h10e__performance-grid > .h10e__perf-row:nth-child(7){order:8!important;}
 .h10e.h10e--phone .h10e__performance-grid > .h10e__perf-row:nth-child(8){order:7!important;}
 .h10e.h10e--phone .h10e__performance-grid > .h10e__perf-row:nth-child(7){border-bottom:0!important;}
 .h10e.h10e--phone .h10e__performance-grid > .h10e__perf-row:nth-child(8){border-bottom:1px solid #94989a!important;}
 .h10e.h10e--phone .h10e__performance-grid > .h10e__perf-row .h10e__perf-label{
  font-size:clamp(11px,2.95vw,13px)!important;
  white-space:nowrap!important;letter-spacing:-.32px!important;
 }
 .h10e.h10e--phone .h10e__performance-grid > .h10e__perf-row:nth-child(8) .h10e__perf-label{
  text-transform:uppercase!important;
 }
 .h10e.h10e--phone .h10e__performance-grid > .h10e__perf-row strong,
 .h10e.h10e--phone.h10e--lab-projected .h10e__performance-grid > .h10e__perf-row strong{
  font-size:clamp(10px,2.9vw,12px)!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
 }
 .h10e.h10e--phone .h10e__information{inset:0 25% 0 0!important;}
 .h10e.h10e--phone .h10e__top-panels{padding-right:4px!important;}
 .h10e.h10e--phone .h10e__runway-diagram{width:26%!important;}
 .h10e.h10e--phone .h10e__reverse,.h10e.h10e--phone .h10e__mtow{margin-top:5px!important;}
 .h10e.h10e--phone .h10e__eosid{max-height:140px!important;min-height:55px!important;}
 /* On a phone, overlay guides remain on the physical runway; exact numeric
    values are also displayed in the adjacent result stack so neither ASD nor
    STOP MARGIN is clipped outside the narrow runway. */
 .h10e.h10e--phone .h10e__stop-visual:not([hidden]){display:block!important;}
 .h10e.h10e--phone .h10e__stop-visual .h10e__asd-label,
 .h10e.h10e--phone .h10e__stop-visual .h10e__stop-label{display:none!important;}
 .h10e.h10e--phone .h10e__stop-dashed{width:4px!important;}
 .h10e.h10e--phone .h10e__asd-line{height:4px!important;}
 /* LANDING: distance figures have their own compact stack beneath the main
    outputs, while LD / F-LD markers remain positioned on the runway. */
 .h10e.h10e--phone .h10l__outputbox>div{
  min-height:40px!important;height:40px!important;
 }
 .h10e.h10e--phone .h10l__mobile-placeholder{display:none!important;}
 .h10e.h10e--phone .h10l__distline span,
 .h10e.h10e--phone .h10l__margin-label{display:none!important;}
 .h10e.h10e--phone .h10l__distline{height:3px!important;}
}
/* Confine the runway guide line to the pavement on narrow screens; numerical
   ASD and MARGIN are readable in the adjacent results, not overlaid there. */
@media (orientation:portrait) and (max-width:650px){
 .h10e.h10e--phone .h10e__stop-visual .h10e__asd-line{
  left:var(--h10-stop-rwy-left)!important;
  width:var(--h10-stop-rwy-width)!important;
 }
 .h10e.h10e--phone .h10l__landing-visual .h10l__distline{
  left:calc(var(--h10-rwy-center) - var(--h10-rwy-width)/2)!important;
  width:var(--h10-rwy-width)!important;
 }
}


/* v0.9.462 — iPhone portrait: THR options, distance labels, and spacing only.
   Specific to the phone + portrait; desktop, iPad and phone landscape unchanged. */
@media (max-width:650px) and (orientation:portrait){
  /* THE ROOT CAUSE OF THE GHOST OUTPUTS: the 461 mobile flex override had
     greater/later specificity than the old sim-choosing display:none. */
  .h10e.h10e--phone.h10e--sim-choosing .h10e__performance-grid,
  .h10e.h10e--phone.h10e--sim-choosing .h10e__reverse,
  .h10e.h10e--phone.h10e--sim-choosing .h10e__mtow,
  .h10e.h10e--phone.h10e--sim-choosing .h10e__phone-rwy-metrics,
  .h10e.h10e--phone.h10e--sim-choosing .h10e__eosid{
    display:none!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__information{
    inset:0!important;width:100%!important;max-width:100%!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__top-panels{
    width:100%!important;padding:6px!important;display:block!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__top-panels>.h10e__performance{
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-inline,
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-inline-table,
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table-scroll{
    width:100%!important;max-width:100%!important;min-width:0!important;
    overflow-x:hidden!important;box-sizing:border-box!important;
  }
  /* Two compact lines per alternative: THR/V1/VR/V2 and MRG/LIM. No sideways
     scrolling, and the original clickable <tr> and source values are retained. */
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-inline .h10e__sim-table{
    display:block!important;box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    table-layout:auto!important;overflow:visible!important;
    --h10-sim-option-font-size:10px!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table thead,
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody{
    display:block!important;width:100%!important;min-width:0!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tr{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) 16px!important;
    width:100%!important;min-width:0!important;box-sizing:border-box!important;
    gap:0!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table thead th:nth-child(n+5){display:none!important;}
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table thead th{
    display:block!important;box-sizing:border-box!important;
    width:auto!important;min-width:0!important;padding:4px 0!important;
    font-size:10px!important;line-height:1.05!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody tr{
    margin:0 0 3px!important;border-radius:4px!important;overflow:hidden!important;
    border:1px solid #b6bec3!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody td{
    min-width:0!important;width:auto!important;max-width:none!important;
    box-sizing:border-box!important;padding:4px 1px!important;
    height:auto!important;min-height:25px!important;
    line-height:1.1!important;font-size:10px!important;
    white-space:nowrap!important;overflow:hidden!important;
    text-overflow:clip!important;letter-spacing:-.45px!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody td:first-child{
    font-size:10px!important;text-align:center!important;padding-left:1px!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody td:nth-child(-n+4){grid-row:1!important;}
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody td:nth-child(5){
    grid-row:2!important;grid-column:1/span 2!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    font-size:10px!important;gap:4px!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody td:nth-child(5)::before{
    content:'MRG';font-size:8px;opacity:.8;color:#f4f4f4;font-weight:600;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody td:nth-child(6){
    grid-row:2!important;grid-column:3/span 3!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    font-size:9px!important;gap:4px!important;letter-spacing:-.6px!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody td:nth-child(6)::before{
    content:'LIM';font-size:8px;opacity:.8;color:#f4f4f4;font-weight:600;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table tbody td:nth-child(7){
    grid-row:1!important;grid-column:5!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:2px 0!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-indicator{width:11px!important;height:11px!important;min-width:11px!important;}
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-chevron{display:none!important;}
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-inline-meta{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    padding:5px 2px!important;gap:1px!important;margin-bottom:5px!important;
  }
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-inline-meta>div{gap:2px!important;flex-wrap:wrap!important;}
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-inline-meta span,
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-inline-meta strong{font-size:10px!important;}
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-inline-foot{font-size:9px!important;margin-top:5px!important;}
  /* Main split view: results end before runway; runway gets real space for
     physical marker labels (not merely a second readout under the outputs). */
  .h10e.h10e--phone:not(.h10e--sim-choosing) .h10e__information{
    inset:0 41% 0 0!important;
  }
  .h10e.h10e--phone:not(.h10e--sim-choosing) .h10e__runway-diagram{
    width:42%!important;
    /* The app anchors the runway LEFT by --h10-rwy-center, not RIGHT.
       Move the pavement right within this widened zone to expose a readable
       label rail on its left, without changing centreline/INTX geometry. */
    --h10-rwy-center:76%!important;
    --h10-rwy-width:34px!important;
  }
  .h10e.h10e--phone:not(.h10e--sim-choosing) .h10e__runway-diagram .h10e__runway-black{
    right:7%!important;width:clamp(30px,8.5vw,38px)!important;
  }
  .h10e.h10e--phone:not(.h10e--sim-choosing) .h10e__top-panels{padding:6px 2px 0 3px!important;}
  .h10e.h10e--phone:not(.h10e--sim-choosing) .h10e__performance-grid>.h10e__perf-row{
    grid-template-columns:minmax(0,62%) minmax(0,38%)!important;
    padding:5px 1px!important;
  }
  .h10e.h10e--phone:not(.h10e--sim-choosing) .h10e__performance-grid>.h10e__perf-row .h10e__perf-label{
    font-size:10px!important;letter-spacing:-.55px!important;
  }
  .h10e.h10e--phone:not(.h10e--sim-choosing) .h10e__performance-grid>.h10e__perf-row strong{
    font-size:10px!important;letter-spacing:-.45px!important;
  }
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__asd-label,
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__stop-label{
    display:block!important;box-sizing:border-box!important;
    width:44px!important;min-width:0!important;max-width:44px!important;
    padding:0!important;
    color:#39f44f!important;background:transparent!important;
    text-align:right!important;
    font:800 9px/1.04 Arial,sans-serif!important;
    text-shadow:0 1px 1px #1118!important;
  }
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__asd-label{
    left:calc(var(--h10-stop-rwy-left) - 46px)!important;
    transform:translateY(-42%)!important;
  }
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__stop-label{
    left:calc(var(--h10-stop-rwy-left) - 46px)!important;
    transform:translateY(-42%)!important;
  }
  .h10e.h10e--phone .h10e__stop-visual .h10e__asd-label span,
  .h10e.h10e--phone .h10e__stop-visual .h10e__asd-label strong,
  .h10e.h10e--phone .h10e__stop-visual .h10e__stop-label span,
  .h10e.h10e--phone .h10e__stop-visual .h10e__stop-label strong{
    display:block!important;white-space:nowrap!important;
    font:inherit!important;
  }
  /* Mobile landing: result boxes no longer fill the whole canvas. This leaves
     a label rail before the runway so LD/F-LD/MARGIN display at their marks. */
  .h10e.h10e--phone .h10l__outputs{
    width:calc(100% - 98px)!important;max-width:calc(100% - 98px)!important;
    left:5px!important;gap:5px!important;
  }
  .h10e.h10e--phone .h10l__runway-zone{
    width:96px!important;right:0!important;
    --h10-rwy-center:68%!important;--h10-rwy-width:38px!important;
  }
  .h10e.h10e--phone .h10l__runway{width:38px!important;}
  .h10e.h10e--phone .h10l__outputbox>div{
    padding:4px 3px!important;gap:1px!important;
    min-height:34px!important;height:34px!important;
    font-size:10px!important;letter-spacing:-.45px!important;
  }
  .h10e.h10e--phone .h10l__outputbox strong,
  .h10e.h10e--phone .h10l__outputbox--eoga strong[data-land-eograd],
  .h10e.h10e--phone .h10l__outputbox--eoga strong[data-land-eospeed]{
    font-size:10px!important;line-height:1!important;letter-spacing:-.4px!important;
    max-width:55%!important;min-width:0!important;
  }
  .h10e.h10e--phone .h10l__flap-switch button{font-size:10px!important;padding:0 1px!important;}
  .h10e.h10e--phone .h10l__distline span{
    display:block!important;box-sizing:border-box!important;
    width:43px!important;max-width:43px!important;
    white-space:normal!important;overflow:visible!important;
    font:800 9px/1.02 Arial,sans-serif!important;
    text-align:right!important;padding-right:2px!important;
  }
  .h10e.h10e--phone .h10l__distline span em,
  .h10e.h10e--phone .h10l__distline span b{
    display:block!important;font:inherit!important;white-space:nowrap!important;
  }
  .h10e.h10e--phone .h10l__margin-label{
    display:flex!important;flex-direction:column!important;
    left:2px!important; /* take the runway's left-side text rail */
    min-width:0!important;width:42px!important;max-width:42px!important;
    text-align:right!important;padding:0!important;
    background:transparent!important;
    font:800 9px/1.02 Arial,sans-serif!important;
  }
  .h10e.h10e--phone .h10l__margin-label strong{font:inherit!important;white-space:nowrap!important;}
  .h10e.h10e--phone .h10l__landing-visual .h10l__distline{
    left:calc(var(--h10-rwy-center) - var(--h10-rwy-width)/2 - 10px)!important;
    width:calc(var(--h10-rwy-width) + 12px)!important;
  }
  /* Remove nested scroll areas in this compact THR selection only. */
  .h10e.h10e--phone.h10e--sim-choosing .h10e__sim-table-scroll::-webkit-scrollbar{display:none!important;}
}


/* v0.9.463 · PHONE PORTRAIT ONLY — runway margin guides and LANDING action labels.
   Keep the original right-side runway and source geometry. Neither the desktop
   layout nor performance calculations are changed. The v462 labels are already
   located to the LEFT of the pavement. Their vertical guide/cap was still
   generated to its right, where it was clipped by the narrow runway zone. */
@media (max-width:650px) and (orientation:portrait) {
  /* TAKEOFF: paint the dotted STOP MARGIN reference in the left-side marker rail.
     The app provides top and height from runway geometry; we only change X. */
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__stop-dashed{
    left:calc(var(--h10-stop-rwy-left) - 7px)!important;
    width:4px!important;
    background:repeating-linear-gradient(to bottom,#39ef4c 0 5px,transparent 5px 10px)!important;
    z-index:8!important;
  }
  /* The tablet's broken-up pseudo-column is for a RIGHT-hand label. On phones
     the label is already LEFT of the guide, so render the continuous dashes. */
  .h10e.h10e--phone .h10e__stop-visual .h10e__stop-dashed::before,
  .h10e.h10e--phone .h10e__stop-visual .h10e__stop-dashed::after{display:none!important;}
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__stop-topline{
    left:calc(var(--h10-stop-rwy-left) - 8px)!important;
    width:14px!important;height:4px!important;z-index:9!important;
  }
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__stop-label{
    left:calc(var(--h10-stop-rwy-left) - 55px)!important;
    width:45px!important;max-width:45px!important;
    padding:0!important;text-align:right!important;
    white-space:normal!important;
  }
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__stop-label>span{
    display:block!important;white-space:normal!important;
    overflow-wrap:normal!important;word-break:normal!important;
    text-align:right!important;line-height:1.04!important;
  }
  /* ASD's horizontal line remains tied to its calculated location on the
     runway; the label sits before it, never behind the output panel. */
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__asd-line{
    left:calc(var(--h10-stop-rwy-left) - 3px)!important;
    width:calc(var(--h10-stop-rwy-width) + 5px)!important;
    height:4px!important;z-index:9!important;
  }
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__asd-label{
    left:calc(var(--h10-stop-rwy-left) - 55px)!important;
    width:45px!important;max-width:45px!important;text-align:right!important;
  }
  /* LANDING: the standard geometry draws MARGIN on the runway's RIGHT side.
     Its 96px phone zone is clipped there. Move the vertical dashed column and
     LDA top cap to the LEFT rail, immediately beside the numeric label. */
  .h10e.h10e--phone .h10l__landing-visual:not([hidden]) .h10l__margin-dashes{
    left:calc(var(--h10-rwy-center) - var(--h10-rwy-width)/2 - 1px)!important;
    width:4px!important;
    background:repeating-linear-gradient(to bottom,#37ef4b 0 5px,transparent 5px 10px)!important;
    z-index:8!important;
  }
  .h10e.h10e--phone .h10l__landing-visual:not([hidden]) .h10l__margin-top{
    left:calc(var(--h10-rwy-center) - var(--h10-rwy-width)/2 - 4px)!important;
    width:14px!important;height:4px!important;z-index:9!important;
  }
  .h10e.h10e--phone .h10l__landing-visual:not([hidden]) .h10l__margin-label{
    left:0!important;width:40px!important;max-width:40px!important;
    text-align:right!important;pointer-events:none!important;
  }
  /* Preserve negative margin red coding (the base QRH styles use dark red). */
  .h10e.h10e--phone .h10l__landing-visual[data-negative="true"] .h10l__margin-dashes{
    background:repeating-linear-gradient(to bottom,#b40031 0 6px,transparent 6px 10px)!important;
  }
  /* LANDING: stop the ECAM count expanding outside its one-third button. The
     full label and counter stay on the same baseline, centered, no ellipsis. */
  .h10e.h10e--phone.h10e--landing .h10l__sidebar .h10l__footer .h10l__actions:not(.h10l__actions--bottom){
    display:flex!important;width:100%!important;min-width:0!important;
    gap:3px!important;padding:0!important;box-sizing:border-box!important;
  }
  .h10e.h10e--phone.h10e--landing .h10l__sidebar .h10l__footer .h10l__actions:not(.h10l__actions--bottom)>button{
    flex:1 1 0!important;min-width:0!important;width:0!important;
    padding:0 1px!important;overflow:hidden!important;box-sizing:border-box!important;
    font-size:clamp(10px,2.7vw,12px)!important;
    font-weight:700!important;letter-spacing:-.35px!important;
  }
  .h10e.h10e--phone.h10e--landing .h10l__sidebar .h10l__footer .h10l__actions:not(.h10l__actions--bottom)>button>.h10l__chrome-label{
    max-width:100%!important;min-width:0!important;overflow:hidden!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex-wrap:nowrap!important;white-space:nowrap!important;
    font:inherit!important;letter-spacing:inherit!important;transform:none!important;
  }
  .h10e.h10e--phone.h10e--landing .h10l__sidebar .h10l__footer .h10l__actions:not(.h10l__actions--bottom)>button>.h10l__chrome-label>span{
    flex:0 0 auto!important;margin:0 0 0 2px!important;
    padding:0!important;font:inherit!important;letter-spacing:inherit!important;
  }
}

@media (max-width:360px) and (orientation:portrait){
  .h10e.h10e--phone.h10e--landing .h10l__sidebar .h10l__footer .h10l__actions:not(.h10l__actions--bottom)>button{
    font-size:9px!important;
  }
}

/* v0.9.465 · PHONE PORTRAIT ONLY: right-justify the TWO text rows in
   TAKEOFF ASD and LANDING MARGIN against the same right edge as their
   numeric value. No positional / vertical geometry changes. */
@media (max-width:650px) and (orientation:portrait) {
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__asd-label {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    text-align:right!important;
  }
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__asd-label > .h10e__asd-label-head,
  .h10e.h10e--phone .h10e__stop-visual:not([hidden]) .h10e__asd-label > .h10e__asd-label-value {
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin-left:auto!important;
    text-align:right!important;
  }
  .h10e.h10e--phone .h10l__landing-visual:not([hidden]) .h10l__margin-label {
    align-items:flex-end!important;
    justify-content:center!important;
    text-align:right!important;
  }
  .h10e.h10e--phone .h10l__landing-visual:not([hidden]) .h10l__margin-label > span,
  .h10e.h10e--phone .h10l__landing-visual:not([hidden]) .h10l__margin-label > strong {
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin-left:auto!important;
    text-align:right!important;
  }
}

/* v0.9.594 · Keep the My Flight page distinct even under phone-only !important
   workspace rules. Restore the return control when a real module is open. */
.h10e.h10e--phone.h10e--myflight > .h10e__workspace,
.h10e.h10e--phone.h10e--myflight > .h10e__tabs,
.h10e.h10e--phone.h10e--myflight > .h10e__tool-toast{display:none!important;}
@media(max-width:650px){
 .h10e:not(.h10e--myflight) > .h10e__header{grid-template-columns:auto minmax(0,1fr) auto!important;}
 .h10e:not(.h10e--myflight) > .h10e__header .h10e__back{display:flex!important;font-size:15px!important;min-width:79px!important;gap:3px!important;}
 .h10e:not(.h10e--myflight) > .h10e__header .h10e__back span{font-size:27px!important;}
 .h10e:not(.h10e--myflight) > .h10e__header .h10e__headline{font-size:clamp(11px,2.6vw,14px)!important;min-width:0;overflow:hidden;}
}

/* v0.9.665 — eQRH on portrait phones: mobile TAKEOFF workspace rule
   previously overrode eqrh.css (same specificity, later stylesheet).
   Only hide the workspace while eQRH is active; restore it via existing
   phone rules as soon as eQRH closes. */
.h10e.h10e--phone.h10e--eqrh > .h10e__workspace { display:none!important; }
.h10e.h10e--phone.h10e--eqrh:not(.h10e--myflight) > .h10q:not([hidden]) { display:flex!important; }

/* v0.9.670: never show eQRH behind My Flight on portrait phones. */
.h10e.h10e--phone.h10e--myflight > .h10q{display:none!important}
.h10e.h10e--phone.h10e--myflight > .h10f:not([hidden]){display:block!important;flex:1 1 auto!important;min-height:0!important}
