#transport-editor{position:fixed;z-index:50;right:12px;top:66px;width:min(305px,92vw);max-height:calc(100dvh - 80px);overflow:auto;padding:14px 16px;color:#314e52;background:#fff8e9;border:2px solid #bca685;border-radius:16px;box-shadow:0 5px 18px #173a4240;font:600 13px/1.35 system-ui,sans-serif}
#transport-editor[hidden],#transport-editor [hidden]{display:none!important}
#transport-editor .call{display:flex;align-items:center;gap:7px;margin:6px 0}#transport-editor .call b{background:#d5e9de;color:#215654;padding:4px 8px;border-radius:50%}#transport-editor .call select{min-width:0}#transport-editor .next{background:#286567;color:white;width:100%;margin:6px 0}#transport-editor .tip{font-weight:500;margin:8px 0;color:#496364}#transport-editor details{border-top:1px solid #dbcdb6;padding-top:8px;margin-top:6px}#transport-editor summary{cursor:pointer}#transport-editor h2{margin:0;color:#36585b;font:700 22px Georgia,serif}#transport-editor small{font-size:9px;letter-spacing:.15em}#transport-editor header,#transport-editor footer,#transport-editor .pair,#transport-editor .tabs,#transport-editor .chartnav{display:flex;gap:6px;align-items:center;margin:5px 0}#transport-editor header,#transport-editor .chartnav{justify-content:space-between}
#transport-editor button,#transport-editor select,#transport-editor input{box-sizing:border-box;border:1px solid #c7b99f;background:#fffdf7;color:#314e52;border-radius:8px;padding:6px 8px;font:inherit}#transport-editor button{cursor:pointer}#transport-editor button:disabled{opacity:.45;cursor:default}#transport-editor button[aria-pressed=true],#transport-editor [data-i=save]{background:#286567;color:white}
#transport-editor .tabs button,#transport-editor .pair button{flex:1}#transport-editor label{display:grid;gap:2px;margin:6px 0}#transport-editor input,#transport-editor select{width:100%}#transport-editor .chartnav{border-top:1px solid #dbcdb6;padding-top:8px;font-size:11px}#transport-editor [role=status]{padding:8px;background:#f4ead5;border-radius:6px;min-height:24px}#transport-editor footer{justify-content:flex-end;position:sticky;bottom:-1px;background:#fff8e9;padding:6px 0 2px;z-index:1;border-top:1px solid #d9c8ae}#transport-editor .pair label{min-width:0;flex:1}#transport-editor [data-i=clearance]{font-size:12px;margin-bottom:0}#transport-editor [data-blocked=true]{background:#fce1dc;color:#762c26;border-left:3px solid #b54337}
body.transport-editing #hud,body.transport-editing #labels,body.transport-editing #run-touch,body.transport-editing .topbar{visibility:hidden}#transport-editor{touch-action:manipulation}body.transport-editing #world{touch-action:none;cursor:crosshair}
@media(max-height:600px),(max-width:650px){#transport-editor{top:6px;right:5px;width:min(220px,48vw);padding:8px;max-height:calc(100dvh - 14px);font-size:11px}}

