.drone-altitude-legend{position:absolute;z-index:7;width:300px;box-sizing:border-box;display:grid;grid-template-columns:122px minmax(0,1fr);align-items:center;gap:8px;padding:3px 10px 3px 6px;border:1px solid #ffffff50;border-radius:6px;background:#17313df2;color:#f5f8fa;box-shadow:0 1px 5px #10263126;pointer-events:auto;font:10px/1.3 'Open Sans',system-ui,sans-serif}
.drone-altitude-legend[hidden]{display:none}.drone-altitude-legend strong{display:block;font-size:10px;font-weight:600;margin:0;max-width:92px}
.drone-altitude-legend summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:36px;padding:0 4px;cursor:pointer;border-radius:3px}.drone-altitude-legend summary::-webkit-details-marker{display:none}.drone-altitude-legend summary:focus-visible{outline:2px solid #ffce47;outline-offset:1px}.drone-altitude-legend summary b{font-size:12px;font-weight:400;color:#c2d2d8}
.drone-altitude-legend details p{position:absolute;bottom:calc(100% + 6px);left:0;right:0;margin:0;padding:12px;border:1px solid #ffffff50;border-radius:6px;background:#17313d;color:#f5f8fa;font-size:12px;line-height:1.5;box-shadow:0 2px 8px #10263126}
.drone-altitude-legend__bar{height:4px;border-radius:2px}.drone-altitude-legend__values{display:flex;justify-content:space-between;gap:6px;margin-top:3px;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:860px),(max-height:560px){
 .public-drone-history .public-history-panel.flight-inspector{animation-name:flight-sheet-enter}
 @keyframes flight-sheet-enter{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
 .drone-altitude-legend{grid-template-columns:112px minmax(0,1fr);gap:6px}
}
@media(prefers-reduced-motion:reduce){.public-drone-history .public-history-panel.flight-inspector,.flight-inspector.is-expanded .flight-inspector-body{animation:none}.flight-inspector button{transition:none}}

.map-shell[data-drone-view="2d"] .drone-altitude-legend small{display:none}
