.acpfc .acpfc-workspace{display:block}.acpfc .acpfc-map-common{position:relative;top:auto;margin-bottom:18px}.acpfc .acpfc-workspace .acpfc-stage{height:480px;aspect-ratio:auto}.acpfc .acpfc-map-wrap{display:flex;flex-direction:column}.acpfc .acpfc-hud{position:static;width:auto;max-width:none;display:flex;flex-wrap:wrap;gap:12px;padding:12px;background:#10273a;order:2;border-radius:0 0 10px 10px}.acpfc .acpfc-hud>div{min-width:110px;flex:1}.acpfc .acpfc-hud span{display:block}.acpfc .acpfc-stage{order:1}.acpfc .acpfc-legend{position:static;order:3;align-self:flex-end;margin:7px}.acpfc .acpfc-workspace .acpfc-ui-grid,.acpfc .acpfc-workspace .acpfc-leg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.acpfc-v8-section{margin:24px 0}.acpfc-v8-section h2{font-size:21px;margin:0 0 10px}.acpfc-v8-section>p,.acpfc-v8-section details p,.acpfc-compare-upload>p{color:#b9cedf;font-size:13px;line-height:1.6}.acpfc-budget{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:13px 0 20px}.acpfc-budget span{display:block;font-size:12px;color:#a9c5d6}.acpfc-budget b{font-size:23px;color:#edf7ff;display:block;font-variant-numeric:tabular-nums}.acpfc-budget-track{height:8px;background:#19364a;border-radius:5px;overflow:hidden;margin-top:10px}.acpfc-budget-track i{display:block;height:100%;background:#62c4e9}.acpfc-budget-track i.thermal{background:#65d6a3}.acpfc-budget-track i.attempt{background:#f0b36d}.acpfc-budget-track i.enroute{background:#67b6e9}.acpfc-ui-card .acpfc-budget{display:block}.acpfc-ui-card .acpfc-budget>div{margin-top:10px}.acpfc-ui-card .acpfc-budget b{font-size:17px}.acpfc-takeaways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-left:24px}.acpfc-takeaways li{padding:12px;background:#112c42;border-radius:10px;line-height:1.6}.acpfc-takeaways p{font-size:13px;color:#bfd6e5}.acpfc-story-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.acpfc-story-tools span{color:#a9eee4;font-size:13px}.acpfc-quality-warning{padding:14px;background:#342b1d;border-left:4px solid #ecc875;border-radius:8px;line-height:1.6}.acpfc-v8-sources,.acpfc-compare-upload,.acpfc-v8-phases{padding:16px;border:1px solid #345169;border-radius:11px;margin:15px 0}.acpfc-v8-sources summary,.acpfc-compare-upload summary,.acpfc-v8-phases summary{cursor:pointer;font-weight:700;color:#9ce8e0}.acpfc-compare-upload label{display:inline-flex;align-items:center;gap:10px;margin:8px}.acpfc-compare-upload input{max-width:260px}.acpfc .acpfc-table-wrap table{min-width:0;width:100%;table-layout:auto}.acpfc .acpfc-v8-section table td{white-space:normal;vertical-align:top;line-height:1.5}.acpfc .acpfc-v8-section table button{display:block;margin-top:8px}.acpfc .acpfc-profile-chart svg{height:300px}.acpfc-alt-bands>div{display:flex;align-items:center;gap:16px;margin:10px 0;font-size:13px}.acpfc-alt-bands span{min-width:165px}.acpfc-alt-bands meter{flex:1;max-width:700px;height:24px}.acpfc-alt-bands b{min-width:80px}.acpfc-v8-strategy{padding:24px;background:linear-gradient(120deg,#164956,#11273f);border:1px solid #62b8b7;border-radius:14px;margin-top:24px}.acpfc-v8-strategy a{display:inline-flex;margin-top:10px;text-decoration:none}.acpfc-v8-section button,.acpfc-story-tools button,.acpfc-takeaways button{min-height:38px;border:1px solid #4e91a4;background:#153f53;color:#e0f9f6;border-radius:8px;padding:8px 12px;cursor:pointer;font:inherit;font-size:12px}.acpfc-ui-card time{color:#94dfdc;font-size:12px}.acpfc [hidden]{display:none!important}
@media(max-width:1000px){.acpfc .acpfc-workspace .acpfc-ui-grid,.acpfc .acpfc-workspace .acpfc-leg-grid,.acpfc-takeaways{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.acpfc .acpfc-workspace .acpfc-stage{height:340px}.acpfc .acpfc-workspace .acpfc-ui-grid,.acpfc .acpfc-workspace .acpfc-leg-grid,.acpfc-takeaways{grid-template-columns:1fr}.acpfc .acpfc-hud{gap:8px}.acpfc .acpfc-hud>div{min-width:90px}.acpfc-budget{gap:7px}.acpfc-budget b{font-size:18px}.acpfc-budget span{font-size:10px}.acpfc .acpfc-profile-chart svg{height:220px}.acpfc .acpfc-table-wrap{overflow-x:auto}.acpfc-alt-bands>div{gap:6px}.acpfc-alt-bands span{min-width:120px}.acpfc-alt-bands b{min-width:60px}}
.acpfc .acpfc-map-common.has-height .acpfc-stage{height:clamp(220px,33vh,330px)}
.acpfc #acpfc-height-dock .acpfc-profile-chart{margin-top:8px;padding:4px 10px;background:#10273a;border:1px solid #345169;border-radius:9px}
.acpfc #acpfc-height-dock svg{height:150px;width:100%;cursor:crosshair}
.acpfc #acpfc-height-dock .acpfc-chart-legend{font-size:10px;margin:0 0 4px}
.acpfc dialog.acpfc-replay-window{box-sizing:border-box;width:min(1450px,96vw);max-width:96vw;max-height:96dvh;margin:auto;padding:14px;border:1px solid #67bfc6;border-radius:14px;color:#e8f4ff;background:#071523;box-shadow:0 20px 80px #000a;overscroll-behavior:contain;overflow:auto}
.acpfc dialog.acpfc-replay-window::backdrop{background:#020914d9;backdrop-filter:blur(3px)}
.acpfc .acpfc-replay-window>header{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:0 0 8px;padding-bottom:8px;border-bottom:1px solid #345169;position:sticky;top:-14px;background:#071523;z-index:2}
.acpfc .acpfc-replay-window>header h2{font-size:16px;margin:0;max-width:36%}
.acpfc .acpfc-window-tools{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.acpfc .acpfc-window-tools button,.acpfc .acpfc-window-tools select{font:inherit;font-size:12px;border:1px solid #4e91a4;border-radius:8px;padding:8px;color:#e0f9f6;background:#153f53;cursor:pointer}
.acpfc .acpfc-window-tools button:disabled{opacity:.45;cursor:default}
.acpfc .acpfc-window-body{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:16px;align-items:start}
.acpfc .acpfc-window-body>div{min-width:0}
.acpfc .acpfc-window-detail{overflow:auto;max-height:calc(91dvh - 70px);padding:0 8px 12px 0;line-height:1.65;font-size:13px;overscroll-behavior:contain}
.acpfc .acpfc-window-detail h3{font-size:19px;margin:4px 0 12px;color:#abeee5}
.acpfc .acpfc-window-detail h4{font-size:14px;margin:16px 0 4px}
.acpfc .acpfc-replay-window .acpfc-map-common{margin:0}
.acpfc .acpfc-replay-window .acpfc-map-common>h2,.acpfc .acpfc-replay-window .acpfc-map-help{display:none}
.acpfc .acpfc-replay-window .acpfc-map-common.has-height .acpfc-stage{height:clamp(190px,34dvh,380px)}
.acpfc .acpfc-replay-window .acpfc-viewbar{margin:0 0 6px;padding:0}
.acpfc .acpfc-replay-window .acpfc-hud{padding:7px;gap:5px}
.acpfc .acpfc-replay-window .acpfc-hud>div{min-width:75px}
.acpfc .acpfc-replay-window .acpfc-hud strong{font-size:12px}
.acpfc .acpfc-replay-window .acpfc-player{padding:6px;margin-top:5px}
.acpfc .acpfc-replay-window .acpfc-replay-context{display:none}
.acpfc .acpfc-replay-window #acpfc-height-dock svg{height:130px}
.acpfc .acpfc-replay-window .acpfc-legend{font-size:10px;margin:3px}
.acpfc .acpfc-replay-window .acpfc-stage canvas{touch-action:none}
.acpfc .acpfc-v8-phases tr:focus-within,.acpfc #acpfc-thermal-rows tr:focus-within{outline:2px solid #69d5dd;outline-offset:-2px}
@media(max-width:800px){.acpfc .acpfc-window-body{grid-template-columns:1fr}.acpfc .acpfc-window-detail{max-height:none;padding:0 4px}.acpfc .acpfc-replay-window>header{align-items:flex-start}.acpfc .acpfc-replay-window>header h2{max-width:40%;font-size:13px}.acpfc .acpfc-window-tools button,.acpfc .acpfc-window-tools select{font-size:11px;padding:6px}.acpfc .acpfc-replay-window .acpfc-map-common.has-height .acpfc-stage{height:clamp(180px,30dvh,260px)}.acpfc .acpfc-replay-window #acpfc-height-dock svg{height:110px}.acpfc #acpfc-height-dock svg{height:130px}}

.acpfc-performance-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.acpfc-performance-form label{display:grid;gap:6px;flex:1 1 220px}.acpfc-performance-form select,.acpfc-performance-form input{width:100%;padding:10px;background:#10293b;color:#eff8ff;border:1px solid #52728a;border-radius:7px}.acpfc-polar{max-width:760px;margin:20px auto}.acpfc-polar svg{width:100%;height:auto;display:block}.acpfc-polar figcaption{text-align:center;line-height:1.5}.acpfc-performance-detail h4{margin-top:12px}.acpfc-performance-detail p{line-height:1.6}
