/* Scoped calculator layout; all flight controls retain their original IDs. */
.trip-calculator-page{background:#f3f6fa;color:#142c42}
.trip-calculator-page main{max-width:1120px;margin:0 auto;padding:36px 28px 64px}
.trip-calculator-page main>.eyebrow{font-size:11px;letter-spacing:.14em;color:#627b91;margin:0 0 10px}
.trip-calculator-page h1{font-family:'DM Sans',system-ui,sans-serif;font-size:clamp(28px,3.5vw,42px);font-weight:600;line-height:1.15;letter-spacing:-.045em;margin:0 0 12px}
.trip-calculator-page main>h1+p{font-size:15px;color:#60758a;margin:0 0 28px;line-height:1.6}
.trip-calculator-page .trip-card{border:1px solid #d9e3ec;border-radius:16px;background:#fff;padding:28px;margin:0 0 24px;box-shadow:0 4px 20px #18334e04}
.trip-calculator-page .trip-section-group,.trip-calculator-page .trip-fuel-scope{display:block;min-width:0;margin:0 0 26px;padding:0 0 26px;border:0;border-bottom:1px solid #e4ebf1;border-radius:0;background:transparent}
.trip-calculator-page fieldset>legend{display:flex;align-items:center;gap:10px;width:100%;font-size:16px;font-weight:650;letter-spacing:-.015em;color:#193a56;margin:0 0 18px;padding:0}
.trip-calculator-page legend>span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:7px;background:#edf3f9;color:#5c7893;font-size:11px;letter-spacing:.04em}
.trip-calculator-page .trip-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px;align-items:start}
.trip-calculator-page .trip-route-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.trip-calculator-page label{font-size:12px;line-height:1.5;font-weight:600;color:#456078;gap:7px;min-width:0}
.trip-calculator-page input,.trip-calculator-page select{font-size:16px;color:#18364f;background:#fbfcfe;border:1px solid #ccd8e4;border-radius:8px;min-height:46px;padding:11px 12px;box-shadow:none}
.trip-calculator-page input::placeholder{color:#8394a4;font-size:14px;font-weight:400}
.trip-calculator-page input:focus,.trip-calculator-page select:focus{border-color:#306cd0;background:white}
.trip-calculator-page .trip-via{padding:0;margin:0;border:0;gap:12px}
.trip-calculator-page #trip-via-stops{gap:14px}
.trip-calculator-page #trip-add-stop{font-size:12px;min-height:38px;padding:8px 12px;background:#f2f6fb;border-color:#dbe5ee;color:#335c7d}
.trip-calculator-page #trip-via-stops>label button{font-size:12px;min-height:46px;background:#f3f6f9;color:#5e7387;border:1px solid #dbe4ec}
.trip-calculator-page .trip-preset-note{margin:0;font-size:11px;line-height:1.65;color:#708295}
.trip-calculator-page .trip-fuel-scope{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px}
.trip-calculator-page .trip-fuel-scope small{font-size:11px;line-height:1.65;color:#708295}
.trip-calculator-page .trip-round{display:flex;align-items:center;font-size:13px;gap:9px}
.trip-calculator-page input[type=checkbox]{min-height:0;width:18px;height:18px;accent-color:#145dcb}
.trip-calculator-page .trip-actions{padding-top:20px;margin:20px 0 16px!important;border-top:1px solid #e4ebf1;gap:10px}
.trip-calculator-page .trip-actions button{min-height:46px;padding:12px 18px;font-size:13px;font-weight:600;border-radius:8px;background:#145dcb;color:#fff}
.trip-calculator-page #find-fuel{background:#edf3fa;color:#254f78;border:1px solid #d4e1ee}
.trip-calculator-page #trip>small{display:block;font-size:11px;line-height:1.7;color:#708295;max-width:850px}
.trip-calculator-page [hidden]{display:none!important}
@media(max-width:700px){.trip-calculator-page main{padding:26px 16px 40px}.trip-calculator-page .trip-card{padding:20px 16px;border-radius:12px}.trip-calculator-page .trip-grid,.trip-calculator-page .trip-fuel-scope{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.trip-calculator-page .trip-section-group,.trip-calculator-page .trip-fuel-scope{margin-bottom:22px;padding-bottom:22px}.trip-calculator-page #trip-via-stops{grid-template-columns:1fr}.trip-calculator-page .trip-actions button{flex:1 1 auto}}
@media(max-width:440px){.trip-calculator-page .trip-grid,.trip-calculator-page .trip-fuel-scope{grid-template-columns:1fr}.trip-calculator-page .trip-actions button{width:100%}}

#trip-reverse-route{min-height:44px;margin:0 8px 8px 0;padding:10px 16px;border:1px solid #bdcbd6;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer}#trip-reverse-route:hover{background:rgba(128,148,165,.12)}#trip-reverse-route:focus-visible{outline:2px solid currentColor;outline-offset:3px}#trip-reverse-route span{margin-right:5px}

#fuel-search-progress{margin:18px 0;padding:22px;border:1px solid #3e896d;border-radius:14px;background:#0c2430;color:#ecf8ff;text-align:left}#fuel-search-progress[hidden]{display:none!important}#fuel-search-progress h2{font:800 27px/1.2 system-ui;color:#eff9ff;margin:0 0 14px}#fuel-search-progress p{color:#bdd4dc;line-height:1.5;font-size:14px}#fuel-search-progress .fuel-progress-percent{display:block;font:800 40px/1.3 system-ui;color:#63e6a6;font-variant-numeric:tabular-nums}.fuel-progress-track{height:20px;border-radius:10px;background:#173d39;border:1px solid #459975;overflow:hidden;margin:12px 0}.fuel-progress-track span{height:100%;display:block;width:0;background:#53d996;border-radius:9px;transition:width .3s ease}@media(prefers-reduced-motion:reduce){.fuel-progress-track span{transition:none}}
