body.transfer-open{overflow:hidden}body.transfer-open>header,body.transfer-open>nav,body.transfer-open>footer{display:none!important}
#transfer{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;background:#07121e;color:#edf5f6;font:1rem/1.6 system-ui;padding-top:var(--atlas-safe-top,env(safe-area-inset-top));padding-left:var(--atlas-safe-left,env(safe-area-inset-left));padding-right:var(--atlas-safe-right,env(safe-area-inset-right));box-sizing:border-box}
.flight-header{height:auto;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#101e2b;border-bottom:1px solid #304658;flex-shrink:0}.flight-header h1{font:600 1.1rem/1.4 system-ui;margin:0 auto 0 0;color:#dff5ee}.flight-header button,#transfer button,#transfer select{font:inherit;font-size:.875rem;min-height:44px;border-radius:9px;padding:8px 12px;color:#e5f2f4;background:#152a3b;border:1px solid #466172}
.flight-body{display:grid;grid-template-columns:minmax(0,1fr) 355px;flex:1;min-height:0}.flight-body.flight-no-panel{grid-template-columns:minmax(0,1fr)}.flight-scene{position:relative;min-width:0;min-height:180px;overflow:hidden}#flight-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}
.flight-hud{position:absolute;top:12px;left:12px;right:12px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 14px;pointer-events:none}.flight-hud strong,.flight-hud span{font:.8rem/1.4 ui-monospace,monospace;background:#081722ed;border:1px solid #3e5a67;padding:7px 10px;border-radius:8px;color:#bddfcf}.flight-hud span{font-family:system-ui;color:#d1e0e9}
.flight-camera{position:absolute;top:65px;right:12px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:calc(100% - 24px)}#transfer .flight-camera button{padding:6px 10px}#transfer .flight-camera select{max-width:190px;padding-right:26px}
#flight-sidebar{display:block;overflow:auto;padding:20px;border-left:1px solid #304658;background:#101d2afa;min-height:0}#flight-sidebar .eyebrow{font-size:.75rem;color:#aacbbd;letter-spacing:.1em}#flight-sidebar h2{font:600 1.35rem/1.3 system-ui;color:#eaf7ef;margin:8px 0 16px}#flight-sidebar p{font-size:1rem;color:#cfdee8;line-height:1.65}#transfer .flight-note{font-size:.8rem;line-height:1.6;color:#a8bfce}#flight-result{border-left:3px solid #b7ecd9;padding:9px 12px;background:#172e36}
#flight-sidebar details{border-top:1px solid #37515e;padding:12px 0}#flight-sidebar summary{font-size:.925rem;font-weight:600;cursor:pointer;color:#b7ecd9;padding:5px 0}#flight-sidebar details>label{display:block;font-size:.875rem;margin:14px 0 4px;color:#d5e4eb}#flight-sidebar output{display:block;color:#b7ecd9;font:600 .875rem ui-monospace,monospace}#flight-sidebar input[type=range]{width:100%;accent-color:#b7ecd9;min-height:30px}#flight-sidebar label.flight-check{display:flex;align-items:flex-start;gap:9px;line-height:1.5}.flight-check input{flex-shrink:0;margin-top:5px;accent-color:#b7ecd9}.flight-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.flight-actions button{flex:1;min-width:115px}
#flight-telemetry.metrics{margin:12px 0}#flight-telemetry.metrics div{font-size:.8rem;gap:12px;align-items:flex-start}#flight-telemetry.metrics strong{text-align:right;max-width:55%;overflow-wrap:anywhere;color:#e8f5ee}#flight-equations{font:.8rem/1.8 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#07131d;padding:12px;border-radius:8px;color:#d0e9de}#flight-sidebar a{display:block;color:#b7ecd9;margin:12px 0;font-size:.875rem;overflow-wrap:anywhere}#flight-manual{width:100%;margin-top:10px}#flight-error{color:#ffd0ab!important}
.flight-transport{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#101e2b;border-top:1px solid #304658;flex-shrink:0}.flight-transport input{flex:1;min-width:80px;accent-color:#b7ecd9}#transfer #flight-play{background:#274b42;border-color:#76a994;min-width:140px}.flight-stages{display:flex;gap:7px;overflow-x:auto;flex-wrap:nowrap;padding:8px 14px calc(10px + var(--atlas-safe-bottom,env(safe-area-inset-bottom)));margin:0;background:#0c1926;flex-shrink:0}#transfer .flight-stages button{white-space:nowrap;flex-shrink:0;font-size:.8rem}
@media(max-width:700px){.flight-header{gap:6px;flex-wrap:wrap;padding:8px 10px}.flight-header h1{font-size:1rem;order:-1;flex-basis:100%}#transfer .flight-header button{font-size:.8rem;min-height:40px;padding:7px 9px}.flight-body{display:flex;flex-direction:column}.flight-scene{flex:1;min-height:220px}#flight-sidebar{border-left:0;border-top:1px solid #304658;max-height:32dvh;padding:14px 18px;box-sizing:border-box}.flight-body.flight-no-panel .flight-scene{min-height:0}.flight-hud{top:9px;left:9px;right:9px}.flight-hud strong,.flight-hud span{font-size:.75rem}.flight-camera{top:72px;right:9px}#transfer .flight-camera select{max-width:150px;font-size:.8rem}.flight-transport{flex-wrap:wrap;padding:8px 10px;gap:7px}.flight-transport input{flex-basis:100%;min-height:22px}.flight-transport select{flex:1;min-width:130px}}
@media(max-height:480px){.flight-header{padding:5px 10px;flex-wrap:nowrap}.flight-header h1{order:0;flex-basis:auto;font-size:1rem}#transfer .flight-header button{min-height:36px}.flight-transport{padding:5px 10px;flex-wrap:nowrap}#transfer .flight-transport button,#transfer .flight-transport select,#transfer .flight-stages button{min-height:36px;font-size:.8rem}.flight-transport input{flex-basis:auto;min-height:20px}.flight-stages{padding-top:4px;padding-bottom:calc(4px + var(--atlas-safe-bottom,env(safe-area-inset-bottom)))}.flight-body{display:grid;grid-template-columns:minmax(0,1fr) 310px}.flight-scene{min-height:0}#flight-sidebar{max-height:none;padding:12px;border-left:1px solid #304658}.flight-hud{right:auto;max-width:calc(100% - 24px)}.flight-camera{top:65px;max-width:calc(100% - 18px)}#transfer .flight-camera button{min-height:36px;font-size:.75rem;padding:4px 8px}}
