/* Only the pressure/temperature/wind calculator: no other tool inherits this layout. */
.fd-pressure-page .calc-card .card-title,
.fd-pressure-page .airport-heading-row h2 { color:#165b9e;font-size:22px;line-height:1.3; }
.fd-pressure-page .search-wrap { max-width:none; }
.fd-pressure-page .search-wrap :is(.input,.calc-btn) { min-height:52px;font-size:18px; }
.fd-pressure-page .wx-reading-pills .pill { color:#2c6397;font-size:15px; }
.fd-pressure-page .wx-reading-pills .pill b { color:#164f88;font-size:17px; }
.fd-pressure-page #altitudeForm {
  display:flex;
  flex-direction:column;
  gap:22px;
  color:#175b9d;
}
.fd-pressure-page #altitudeForm > * { min-width:0; }
.fd-pressure-page #altitudeForm fieldset {
  margin:0;
  padding:0;
  border:0;
  min-inline-size:0;
}
.fd-pressure-page #altitudeForm legend {
  float:none;
  width:100%;
  margin:0 0 18px;
  padding:0;
  color:#165b9e;
  font:900 22px/1.3 Nunito,Arial,sans-serif;
}
.fd-pressure-page .pw-input-grid,
.fd-pressure-page .pw-wind-input-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
  gap:18px;
}
.fd-pressure-page #altitudeForm label {
  margin:0 0 8px;
  color:#1a5c9b;
  font-size:1rem;
  font-weight:800;
}
.fd-pressure-page #altitudeForm :is(.pw-input-grid,.pw-wind-input-grid) :is(.input,.select-styled) {
  width:100%;
  max-width:none!important;
  min-height:52px;
  box-sizing:border-box;
  padding:11px 14px;
  border:1px solid #bad3ed;
  border-radius:13px;
  background:#f6faff;
  color:#164c82;
  font-size:18px;
  font-weight:700;
  line-height:1.3;
}
.fd-pressure-page .pw-altitude-results {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:18px;
}
.fd-pressure-page #altitudeForm .pw-altitude-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  margin:0;
  padding:22px;
  border:1px solid #bed5ee;
  border-radius:20px;
  background:linear-gradient(140deg,#fff 45%,#f0f7ff);
  box-shadow:0 6px 20px rgba(20,77,135,.05);
  color:#155a9e;
}
.fd-pressure-page .pw-result-heading {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  min-height:38px;
}
.fd-pressure-page #altitudeForm .pw-result-heading :is(label,h3) {
  margin:0;
  color:#175b9d;
  font:900 19px/1.3 Nunito,Arial,sans-serif;
}
.fd-pressure-page .pw-result-code {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:34px;
  padding:2px 6px;
  border-radius:9px;
  background:#e3f0ff;
  color:#095eaf;
  font-size:1rem;
  font-weight:1000;
}
.fd-pressure-page .pw-result-value {
  display:flex;
  align-items:baseline;
  gap:12px;
  min-width:0;
  min-height:60px;
  margin:10px 0 6px;
}
.fd-pressure-page #altitudeForm :is(#pa_result,#da_result) {
  display:block;
  width:100%;
  min-width:0;
  max-width:none;
  min-height:54px;
  height:auto;
  margin:0;
  box-sizing:border-box;
  font:900 clamp(34px,2.6vw,44px)/1.15 Nunito,Arial,sans-serif;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.035em;
  color:#145c9f;
  text-align:left;
}
.fd-pressure-page :is(#pa_result,#da_result) { padding:6px 0; }
.fd-pressure-page .pw-result-unit {
  flex:0 0 auto;
  color:#3c74a9;
  font-size:20px;
  font-weight:800;
}
.fd-pressure-page .pw-result-description {
  margin:0 0 14px;
  color:#2d669c;
  font-size:16px;
  font-weight:800;
}
.fd-pressure-page #altitudeForm .pw-altitude-card .formula {
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid #d8e6f5;
  color:#52769a;
  font-size:14px;
  line-height:1.6;
}
.fd-pressure-page #altitudeForm .pw-wind-section {
  padding-top:26px;
  border-top:1px solid #d6e4f3;
}
.fd-pressure-page .pw-section-intro {
  margin:-7px 0 20px;
  color:#52769a;
  font-size:1rem;
  line-height:1.5;
}
.fd-pressure-page .pw-wind-input-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.fd-pressure-page .wind-row { align-items:center; }
.fd-pressure-page .wind-row > .input { flex:1;min-width:0; }
.fd-pressure-page #altitudeForm .pw-vrb-toggle {
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:50px;
  max-width:100%;
  margin:0 0 18px;
  padding:10px 14px;
  box-sizing:border-box;
  border:1px solid #c2d5e9;
  border-radius:13px;
  background:#f7faff;
  cursor:pointer;
  user-select:none;
}
.fd-pressure-page #vrb_checkbox { position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0; }
.fd-pressure-page .pw-vrb-track { position:relative;display:inline-block;flex:0 0 42px;width:42px;height:24px;border-radius:14px;background:#b2c2d4;transition:background .15s; }
.fd-pressure-page .pw-vrb-track::after { content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(18,52,91,.2);transition:transform .15s; }
.fd-pressure-page .pw-vrb-label { color:#255a8d;font-size:16px;line-height:1.3; }
.fd-pressure-page .pw-vrb-label small { margin-left:4px;font-size:12px;color:#617e9e;font-weight:800; }
.fd-pressure-page .pw-vrb-state { min-width:70px;margin-left:6px;text-align:right;color:#647b95;font-size:14px;font-weight:900; }
.fd-pressure-page .pw-vrb-on { display:none; }
.fd-pressure-page #vrb_checkbox:checked + .pw-vrb-track { background:#1764ac; }
.fd-pressure-page #vrb_checkbox:checked + .pw-vrb-track::after { transform:translateX(18px); }
.fd-pressure-page #vrb_checkbox:checked ~ .pw-vrb-state .pw-vrb-off { display:none; }
.fd-pressure-page #vrb_checkbox:checked ~ .pw-vrb-state .pw-vrb-on { display:inline;color:#155da0; }
.fd-pressure-page #altitudeForm .pw-vrb-toggle:has(#vrb_checkbox:checked) { border-color:#5c9bd4;background:#e8f3ff; }
.fd-pressure-page #vrb_checkbox:focus-visible + .pw-vrb-track { outline:3px solid #73ace2;outline-offset:3px; }
.fd-pressure-page #wind_dir:disabled { background:#edf1f6;color:#70849b;opacity:.8; }
.fd-pressure-page .pw-wind-results { display:grid;grid-template-columns:minmax(0,1fr);gap:28px;margin-top:24px; }
.fd-pressure-page .pw-wind-results .wind-graphic-container { min-width:0;width:100%;max-width:680px;margin:0 auto;padding:18px;box-sizing:border-box;background:#f3f8fe;border:1px solid #d8e7f7;border-radius:20px; }
.fd-pressure-page .pw-wind-results #wind_svg { display:block;width:100%;max-width:none;height:380px;aspect-ratio:auto;max-height:none;margin:0 auto;padding:0;border:0;background:transparent; }
.fd-pressure-page .pw-wind-results #wind-components { width:100%;max-width:960px;margin:0 auto;padding:0;border:0;background:transparent;color:#195c9c;font-size:16px;line-height:1.5;box-shadow:none; }
.fd-pressure-page .pw-component-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.fd-pressure-page .pw-component-card { padding:22px 24px;border:1px solid #c9ddf2;border-radius:18px;background:#f1f7ff;min-width:0; }
.fd-pressure-page .pw-component-card h3 { margin:0 0 12px;color:#195c9c;font-size:18px;line-height:1.35; }
.fd-pressure-page .pw-component-value { color:#104d89;font-size:34px;line-height:1.15;font-weight:800;font-variant-numeric:tabular-nums; }
.fd-pressure-page .pw-component-value small { font-size:18px;font-weight:600; }
.fd-pressure-page .pw-component-card p { margin:8px 0 0;font-size:15px;color:#47739b; }
.fd-pressure-page .pw-wind-formula { margin-top:18px;padding:0 4px;color:#47739b;font-size:15px;line-height:1.6; }
.fd-pressure-page .pw-wind-formula strong { display:block;color:#195c9c;margin-bottom:4px; }
.fd-pressure-page .pw-wind-formula p { margin:5px 0 0; }
@media(max-width:480px) { .fd-pressure-page .pw-component-grid { gap:10px; }.fd-pressure-page .pw-component-card { padding:16px 14px; }.fd-pressure-page .pw-component-card h3 { font-size:16px;min-height:44px; }.fd-pressure-page .pw-component-value { font-size:29px; } }
.fd-pressure-page #altitudeForm > .calc-btn--xl { align-self:flex-start;min-height:54px;padding:14px 28px;font-size:1.1rem; }
@media(max-width:1000px) {
  .fd-pressure-page .pw-wind-input-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:680px) {
  .fd-pressure-page .pw-input-grid,
  .fd-pressure-page .pw-altitude-results,
  .fd-pressure-page .pw-wind-input-grid,
  .fd-pressure-page .pw-wind-results { grid-template-columns:minmax(0,1fr); }
  .fd-pressure-page #altitudeForm { gap:22px; }
  .fd-pressure-page .pw-result-value { min-height:54px; }
  .fd-pressure-page #altitudeForm :is(#pa_result,#da_result) { min-height:50px;font-size:34px; }
  .fd-pressure-page #altitudeForm > .calc-btn--xl { align-self:stretch;text-align:center; }
}

/* Published runway shortcuts with an editable designator, matching the apps. */
.fd-pressure-page .pw-runway-options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.fd-pressure-page .pw-runway-options .calc-btn{min-height:40px;padding:8px 14px;font-size:1rem;flex:1}
.fd-pressure-page .pw-runway-options [aria-pressed="true"]{background:#1265b2!important;color:white!important;border-color:#1265b2!important}
.fd-pressure-page .pw-runway-entry{display:flex;align-items:center;gap:8px}
.fd-pressure-page .pw-runway-entry .input{width:100%;min-width:0;text-transform:uppercase}
.fd-pressure-page .pw-adjust{width:36px;height:36px;min-width:36px;padding:0;display:grid;place-items:center;border:1px solid #c3d9ef;border-radius:8px;background:#eef5fc;color:#135dac;font-size:18px;font-weight:700;cursor:pointer}
.fd-pressure-page .pw-adjust:focus-visible{outline:3px solid #84b3e1;outline-offset:2px}
.fd-pressure-page .pw-manual-runway,.fd-pressure-page .pw-diagram-scale{color:#50749a;font-size:.875rem;line-height:1.45;margin:10px 0}
.fd-pressure-page .pw-diagram-scale{text-align:center}

.fd-pressure-page .pw-runway-options [data-pw-runway][aria-pressed="false"]{background:#eef5fc!important;color:#135dac!important;border-color:#c3d9ef!important;box-shadow:none!important}
