
/* Stronger altitude palette with readable text surfaces. */
body{background:linear-gradient(180deg,#bde4fa 0%,#e6f4fc 25%,#f5eef0 49%,#efc1b5 73%,#df8875 100%);color:#203e56}
header .header-info p{color:#344f63;font-size:13px}
.header-info{flex-wrap:wrap;gap:12px 18px}
.header-info nav{display:flex;gap:18px;align-items:center}
.header-info nav a{font-size:14px;font-weight:600;color:#204f70;text-underline-offset:4px;min-height:32px;display:inline-flex;align-items:center}
.seg button{color:#38586e}.seg button[aria-pressed=true]{color:#174d70}
.field label,.suffix{color:#304f65}.input-helper{color:#205a81;font-size:13px}
.resulttitle{color:#294e69}.interval-heading,.graphic-stat>small{color:#38596f}
.elevation-intervals li,.interval-altitude small,.interval-note{color:#36556c}
.interval-heading{font-size:11px}.elevation-intervals li{font-size:13px}
.graphic-stats{grid-template-columns:1fr;align-items:start;margin-top:24px;padding:20px 0 8px}
.fact-stat{width:100%;max-width:380px;margin:0 auto;text-align:center;align-self:start}
.fact-stat>small{font-size:11px;font-weight:600;margin-bottom:8px}
.fact-stat p{font-size:14px;color:#294e69;line-height:1.6}
.fact-stat a{font-size:12px;color:#205a81;min-height:30px}
.difference{text-align:center;padding:12px 8px 16px;border-top:1px solid #a7c8dc;color:#294e69}
.difference>span{display:block;font-size:12px;font-weight:600;line-height:1.5}
.difference strong{display:block;font-family:Geneva,Verdana,Arial,sans-serif;font-weight:500;font-size:27px;line-height:1.6;color:#174f76}
.difference small{font-size:12px;line-height:1.5}
.uses p,.uses .uses-note,.method p,.method details,.faq p{color:#4e3433;font-size:14px;line-height:1.8}
.uses h2,.method h2,.faq h2,.faq h3{color:#602d26}
.method h2{font-size:15px}.faq h3{font-size:16px}
.method a,.faq a{color:#692b20}footer{color:#582b24;font-size:12px}
.lede,.sources span{color:#304e65}.content-card{background:#fffffff2}.accuracy{background:#fff9f6f2}
.contact,.contact p,.contact-note{color:#4e3433}.back-link{color:#204f70}
@media(max-width:760px){
.header-info{gap:8px}.header-info p{flex-basis:100%;font-size:12px}
.header-info nav a{font-size:14px;min-height:36px}
.resulttitle{font-size:15px}.resulttitle strong{font-size:16px}
.difference{padding:10px 8px}.difference strong{font-size:25px}
.graphic-stats{padding-top:16px;margin-top:16px}.fact-stat p{font-size:14px}
.graphic-stat>small{font-size:11px}.fact-stat a{font-size:12px}
}

/* Compact summary and calculator spacing. */
.difference{display:flex;align-items:baseline;justify-content:center;gap:8px;padding:10px 0;white-space:nowrap}
.difference>span{display:inline;font-size:12px;line-height:1.4}
.difference strong{display:inline;font-size:22px;line-height:1.4}
@media(min-width:761px){
 .inputs{padding-top:26px;padding-bottom:26px}
 .starting-head{margin-bottom:18px}
 .mode{margin-bottom:20px}
 .mode button{padding-top:14px;padding-bottom:14px}
 .divider{margin:22px 0}
 .targethead{margin-bottom:16px}
 .resultcontent{padding-top:26px}
 .graphic-stats{margin-top:14px;padding-top:14px}
}
@media(min-width:761px) and (max-width:1050px){.difference{gap:6px}.difference>span{font-size:11px}.difference strong{font-size:19px}}
@media(max-width:760px){.difference{padding:9px 0}.difference strong{font-size:23px}.graphic-stats{margin-top:10px;padding-top:12px}}

/* Intro and fixed-assumption altitude reference. */
.calculator-intro{max-width:1050px;margin:0 0 22px;color:#304f65;font-size:14px;line-height:1.7}
#calculator{scroll-margin-top:20px}
.altitude-reference{margin-top:28px;padding:26px 28px;background:#fffaf7e8;border:1px solid #caa99e;border-radius:16px;color:#4e3433}
.reference-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}
.reference-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;margin:0 0 8px;color:#794b3f}
.altitude-reference h2{font-size:22px;line-height:1.3;letter-spacing:-.3px;margin:0;color:#602d26}
.reference-heading>a{font-size:13px;white-space:nowrap}
.altitude-reference a{color:#692b20;text-underline-offset:4px}
#reference-assumptions,#reference-note,.reference-source{font-size:14px;line-height:1.7;margin:12px 0}
.reference-table-wrap{margin:20px 0 14px}
.reference-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.reference-table th,.reference-table td{padding:12px 14px;border-bottom:1px solid #ddc6bc;text-align:right}
.reference-table th:first-child{text-align:left}
.reference-table thead th{font-size:12px;color:#6d493e;background:#f3e6df;font-weight:600}
.reference-table tbody th{font-weight:600;color:#493b35}
.reference-table tbody tr:last-child>*{border-bottom:0}
.reference-table button{border:1px solid #98b8cb;border-radius:7px;background:#eef6fb;padding:9px 12px;color:#204f70;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap;min-height:40px}
.reference-table button:hover{background:#dbeef9;border-color:#5c8da9}
.reference-table button:focus-visible{outline:3px solid #277ba9;outline-offset:3px}
.reference-source{margin-bottom:0}
@media(max-width:760px){
 .calculator-intro{font-size:13px;line-height:1.65;margin-bottom:18px}
 .altitude-reference{padding:20px 14px;margin-top:22px}
 .reference-heading{align-items:flex-start;flex-direction:column;gap:10px}
 .altitude-reference h2{font-size:20px}
 .reference-table{font-size:12px}
 .reference-table th,.reference-table td{padding:11px 5px}
 .reference-table thead th{font-size:11px}
 .reference-table button{font-size:11px;padding:8px 6px;min-height:44px;white-space:normal;line-height:1.3}
 .reference-table button span{display:none}
 #reference-assumptions,#reference-note{font-size:13px}
}
