.performance-panel{margin:24px 0;padding:24px;background:#05090d;color:#f7f8fa;border:1px solid #34404d;border-radius:20px;scroll-margin-top:20px}.performance-panel[hidden]{display:none}.performance-header,.performance-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.performance-header h2{margin:0}.performance-controls{justify-content:center;margin:22px 0}.performance-toggle{display:flex;padding:4px;background:#1c232b;border-radius:30px;gap:4px}.performance-panel button{font:inherit;font-size:16px;cursor:pointer}.performance-toggle button{border:0;border-radius:26px;padding:12px 22px;color:#c4cbd3;background:transparent}.performance-toggle button[aria-pressed=true]{background:#56616e;color:white}.performance-dial{max-width:480px;margin:auto;position:relative;color:#f7f8fa}.performance-dial svg{width:100%;display:block}.performance-digital{font-size:clamp(80px,20vw,150px);font-variant-numeric:tabular-nums;text-align:center;line-height:1.05;margin-top:-85px;position:relative}.performance-unit{text-align:center;color:#b2bac3;font-size:22px}.performance-panel[data-mode=digital] .performance-dial svg{display:none}.performance-panel[data-mode=digital] .performance-digital{margin-top:50px}.performance-threshold{text-align:center;font-size:20px;min-height:30px;margin:22px 0;color:#aab4c0}.threshold-reached .performance-dial,.threshold-reached .performance-threshold{color:#41e48d}.performance-compass{width:160px;margin:16px auto 0}.performance-degrees{text-align:center;font-size:38px;font-variant-numeric:tabular-nums}.performance-bearing-label{text-align:center;color:#bcc7d2;font-size:14px;margin:8px 0 24px}.performance-panel .resource-actions{justify-content:center}.performance-panel .performance-note{font-size:14px;color:#bcc7d2;max-width:650px;margin:20px auto 0;text-align:center}.performance-panel #performance-status{text-align:center;min-height:24px}.performance-panel button:focus-visible{outline:3px solid #77baff;outline-offset:3px}@media(max-width:480px){.performance-panel{padding:18px 10px}.performance-toggle button{padding:10px 16px}.performance-digital{margin-top:-65px}}

.performance-bearing{display:flex;align-items:center;justify-content:center;gap:clamp(20px,6vw,55px);max-width:520px;margin:28px auto 0}.performance-bearing .performance-compass{display:block;flex:0 0 auto;width:clamp(115px,33vw,160px);margin:0}.performance-bearing .performance-degrees{font-size:clamp(48px,13vw,76px);font-weight:800;line-height:1.1;letter-spacing:-.025em;color:#fff;min-width:3.3em;text-align:center}
.performance-stage{position:relative;isolation:isolate;overflow:hidden;border-radius:16px;padding-top:30px;padding-bottom:35px}.performance-stage>.performance-dial,.performance-stage>.performance-unit,.performance-stage>.performance-bearing,.performance-stage>.performance-bearing-label{position:relative;z-index:1;text-shadow:0 2px 10px #000,0 0 14px #000}.virtual-runway{position:absolute;inset:0;z-index:0;pointer-events:none;background:#08121b}.virtual-runway svg{width:100%;height:100%;opacity:.32}.virtual-runway:not(.has-runway) #roll-runway-geometry,.virtual-runway:not(.has-fix) #roll-ownship,.virtual-runway:not(.has-fix) #roll-accuracy-circle{visibility:hidden}.virtual-runway-caption{position:absolute;bottom:8px;left:8px;right:8px;text-align:center;color:#b3cadb;font-size:12px;letter-spacing:.02em}.runway-roll-controls{border-top:1px solid #34404d;margin-top:25px;padding-top:20px}.runway-roll-controls h3{font-size:22px}.runway-select-fields{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.runway-select-fields label{display:grid;gap:6px;flex:1 1 150px}.runway-select-fields input,.runway-select-fields select{width:100%;background:#15212d;color:white;border:1px solid #607183;border-radius:9px;padding:12px;font:inherit;min-height:48px}.roll-readings{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.roll-readings div{padding:14px;border:1px solid #34404d;border-radius:12px}.roll-readings span{display:block;font-size:14px;color:#aebfcd}.roll-readings strong{display:block;font-size:19px;margin-top:10px}.runway-roll-controls #roll-status{min-height:44px;color:#c2d7e6}.roll-history{margin-top:24px}.roll-history summary{cursor:pointer;font-size:17px}.roll-history article{padding:14px 0;border-bottom:1px solid #34404d}.roll-history article svg{display:block;width:100%;max-width:500px;margin:10px 0}.roll-history button{margin:6px}.runway-roll-controls #roll-review{border:1px solid #607183;padding:16px;border-radius:12px;margin-top:18px}.runway-roll-controls #roll-end{width:100%}.performance-panel button:disabled{opacity:.45;cursor:default}@media(max-width:480px){.roll-readings{grid-template-columns:1fr}.performance-stage{margin:0 -2px}.roll-readings strong{font-size:20px}}

/* Moving runway is temporarily hidden; retain recorder references. */
.performance-stage .virtual-runway{display:none}.performance-stage{background:transparent;padding-top:0;padding-bottom:0}

.performance-location{text-align:center;margin:10px auto 26px;max-width:650px}.performance-location p{margin:8px 0;font-size:20px;color:#eef5fa;line-height:1.4;overflow-wrap:anywhere}.performance-location #performance-town{font-weight:700}.performance-location .performance-location-source{font-size:13px;color:#aebfcd}

.performance-speed-cluster{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;max-width:700px;margin:auto;gap:16px}.roll-visible .performance-speed-cluster{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.performance-speed-block{min-width:0}.performance-roll-live{text-align:center;min-width:0;border-left:1px solid #34404d;padding:12px 8px;color:#f7f8fa}.performance-roll-live[hidden]{display:none}.performance-roll-live>span{display:block;font-size:14px;color:#b2bac3}.performance-roll-live strong{display:block;font-size:clamp(40px,10vw,80px);line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.035em;margin:12px 0}.performance-roll-live p{font-size:14px;color:#77baff;margin:12px 0}.roll-visible .performance-digital{font-size:clamp(56px,14vw,110px)}.roll-visible .performance-bearing{margin-top:16px;gap:20px}.roll-visible .performance-bearing .performance-compass{width:90px}.roll-visible .performance-bearing .performance-degrees{font-size:44px}.roll-visible .performance-unit{font-size:16px;margin:8px 0}.performance-panel[data-mode=digital].roll-visible .performance-digital{margin-top:12px}.roll-visible .performance-stage{scroll-margin-top:12px}@media(max-width:480px){.roll-visible .performance-digital{margin-top:-32px}.performance-roll-live{padding:8px 4px}.performance-roll-live strong{font-size:clamp(36px,10vw,48px)}}

/* The speed highlight also applies inside the armed roll cluster. */
.performance-panel.threshold-reached #performance-value{color:#41e48d}

/* GPS elevation shares the existing compass row on both online and offline pages. */
.performance-bearing{max-width:760px;gap:clamp(12px,3vw,28px);flex-wrap:wrap}.performance-altitude{min-width:150px;text-align:center;padding:12px 16px;border-left:1px solid #34404d;color:#f7f8fa}.performance-altitude>span{display:block;font-size:12px;letter-spacing:.09em;color:#b2bac3}.performance-altitude strong{font-size:clamp(32px,7vw,56px);font-weight:800;line-height:1.4;font-variant-numeric:tabular-nums}.performance-altitude small{font-size:14px;margin-left:7px;color:#b2bac3}.performance-altitude p{font-size:12px;color:#aebfcd;margin:3px 0;max-width:230px}.performance-panel.threshold-reached .performance-altitude{color:#f7f8fa}@media(max-width:560px){.performance-altitude{flex-basis:100%;border-left:0;border-top:1px solid #34404d;padding:12px 0}.performance-altitude p{margin:3px auto}}

/* Elevation above the compass, with distinct highlighter readings. */
.performance-bearing .performance-altitude{flex-basis:100%;border-left:0;border-top:0;border-bottom:1px solid #34404d;padding:12px 0;margin-bottom:4px}
.performance-altitude strong{color:#f4ff00}
.performance-altitude p{margin:3px auto}
.performance-bearing .performance-degrees{color:#00ffff}
.flight-instrument-deck{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 76px;gap:12px;align-items:center;width:100%;grid-column:1/-1}.flight-speed{min-width:0}.flight-speed .performance-digital{font-size:clamp(40px,9vw,76px);margin-top:-35px}.flight-speed .performance-unit{font-size:15px}.flight-speed .performance-dial{max-width:300px}.flight-attitude{text-align:center;min-width:0}.flight-attitude svg{width:100%;max-width:260px;opacity:.4}.flight-attitude.tilt-valid svg{opacity:1}.instrument-title{display:block;color:#b2bac3;font-size:11px;letter-spacing:.05em;text-align:center}.flight-attitude p,#attitude-status{font-size:11px;color:#bcc7d2}.flight-attitude button{padding:7px 9px;border:1px solid #56616e;border-radius:8px;background:#1c232b;color:white;font-size:12px;margin:3px}.flight-vsi{text-align:center;border-left:1px solid #34404d;padding-left:6px}.vsi-tape{position:relative;height:240px;margin:12px 0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 23px,#526172 24px,transparent 25px);border-right:2px solid #718398}.vsi-tick{position:absolute;left:0;font-size:10px;color:#d9e3ec;transform:translateY(-50%);z-index:1}.t0{top:0}.t1{top:25%}.t2{top:50%}.t3{top:75%}.t4{top:100%}#vsi-pointer{position:absolute;right:-3px;color:#00ffff;transform:translateY(-50%);font-size:18px;z-index:2}#vsi-fill{position:absolute;right:3px;width:10px;background:#00ffff66}.flight-vsi strong{display:block;font-size:18px;color:#00ffff;font-variant-numeric:tabular-nums;margin-top:10px}.flight-vsi #vsi-altitude{color:#f4ff00;font-size:16px}.flight-vsi small{font-size:9px;color:#b2bac3}.flight-vsi #vsi-status{display:block;font-size:10px;color:#aebfcd;margin:8px 0}.roll-visible .performance-speed-cluster{grid-template-columns:1fr}.performance-panel[data-mode=digital] .flight-speed .performance-digital{margin-top:20px}@media(max-width:560px){.flight-instrument-deck{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 62px;gap:5px}.flight-speed .performance-digital{font-size:40px;margin-top:-20px}.vsi-tape{height:200px}.flight-vsi strong{font-size:16px}.flight-attitude button{font-size:11px;padding:7px 5px}.instrument-title{font-size:9px}}

/* 100 ft/min scale: 21 evenly spaced ticks, labels remain readable on phones. */
.vsi-tape{height:360px;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(5% - 1px),#526172 calc(5% - 1px),#526172 5%)}
@media(max-width:560px){.vsi-tape{height:300px}.vsi-tick{font-size:9px}}
