* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  color-scheme: light;
}
body {
  --ink: #162b40;
  --blue: #175aa4;
  --muted: #516478;
  --line: #dbe3e9;
  --paper: #f6f8fa;
  margin: 0;
  color: var(--ink);
  font:
    1rem/1.5 "Segoe UI",
    Arial,
    sans-serif;
  background: var(--paper);
}
button,
input,
select {
  font: inherit;
}
button,
summary,
input[type="checkbox"] {
  cursor: pointer;
}
button,
a,
summary,
input {
  touch-action: manipulation;
}
button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  font-weight: 600;
}
button:hover {
  background: #edf3f8;
}
button:focus-visible,
summary:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #e99524;
  outline-offset: 3px;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
.skip,
.sr {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
}
.skip:focus {
  z-index: 20;
  top: 8px;
  left: 16px;
  background: white;
  width: auto;
  height: auto;
  clip-path: none;
  padding: 8px;
}
header {
  height: 65px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #102739;
  color: #fff;
  border-bottom: 3px solid #203f54;
}
.brand,
.headmeta,
.buttons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand {
  font-size: 1.38rem;
  letter-spacing: -0.045em;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: #102d42;
  background: #8edcd9;
  border-radius: 8px;
  font: 1.6rem/1 Arial;
  transform: none;
}
.brand-library {
  color: #b5c7d3;
  font-weight: 400;
}
.headmeta {
  gap: 1rem;
}
.headdiv {
  height: 19px;
  border-left: 1px solid #476170;
}
.simmode {
  font-size: 0.87rem;
  color: #d1dfe6;
}
.neutral {
  border-color: #456071;
  background: #20394b;
  color: #fff;
  font-size: 0.9rem;
}
.neutral:hover {
  background: #304f63;
}
.layout {
  display: grid;
  grid-template-columns: 249px minmax(0, 1fr);
  min-height: calc(100vh - 65px);
}
#sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 2rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.eyebrow,
.hero-kicker,
.overline,
.mini {
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}
.side-heading {
  margin: 0 0.7rem 1.2rem;
  color: #66798b;
}
#tree {
  font-size: 0.9rem;
}
#tree details > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.42rem 0;
  list-style: none;
  font-weight: 620;
  line-height: 1.35;
}
summary::-webkit-details-marker {
  display: none;
}
#tree summary:before,
.step summary:after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid;
  border-bottom: 1.6px solid;
  transform: rotate(-45deg);
  flex: 0 0 auto;
  margin: 0 4px;
}
#tree details[open] > summary:before {
  transform: translateY(-2px) rotate(45deg);
}
.tree-indent {
  margin-left: 0.48rem;
  border-left: 1px solid #d8e3ea;
  padding-left: 0.62rem;
}
#tree .group {
  color: #485e72;
}
#tree .plane-node {
  color: var(--blue);
}
.tree-leaf {
  display: block;
  width: 100%;
  border: 0;
  text-align: left;
  background: transparent;
  font-size: 0.86rem;
  padding: 0.42rem 0.5rem;
  color: #586b7c;
  font-weight: 450;
  line-height: 1.4;
}
.tree-leaf.current {
  background: #e4f2f3;
  color: #075e64;
  font-weight: 700;
  border-left: 3px solid #198484;
  border-radius: 0 5px 5px 0;
}
.side-foot {
  margin: 2rem 0.6rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 0.2rem;
  font-size: 0.8rem;
}
.side-foot b {
  font-size: 0.87rem;
}
.mobileTree {
  display: none;
}
main {
  min-width: 0;
  padding: 1.35rem clamp(20px, 3vw, 62px) 1rem;
  max-width: 1710px;
  width: 100%;
  margin: auto;
  align-self: start;
}
.crumb {
  display: flex;
  gap: 0.7rem;
  color: #5b6f81;
  font-size: 0.84rem;
  align-items: center;
  margin: 0 0 1rem;
}
.crumb span {
  color: #a1b1bd;
}
.crumb strong {
  font-weight: 600;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  background: #10364b;
  color: #fff;
  min-height: 196px;
  display: flex;
  align-items: center;
}
.hero-photo,
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
}
.hero-photo {
  left: 33%;
  background: url("./takeoff.jpg") center 51% / cover no-repeat;
}
.hero-shade {
  background: linear-gradient(
    90deg,
    #0e3146 5%,
    #113b51 31%,
    rgba(17, 58, 81, 0.94) 39%,
    rgba(17, 57, 79, 0.25) 66%,
    rgba(12, 37, 54, 0.05) 98%
  );
}
.hero-text {
  padding: 1.4rem 2rem;
  text-shadow: 0 1px 6px #102d4055;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a0dddc;
  font-size: 0.74rem;
}
.bar {
  width: 22px;
  border-top: 2px solid #8fdad6;
}
.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
  margin: 0.4rem 0 0.27rem;
}
.hero p {
  margin: 0 0 0.65rem;
  font-size: 1.14rem;
}
.hero-meta {
  font-size: 0.82rem;
  color: #d7e6ed;
}
.hero-meta span {
  margin: 0 0.3rem;
  color: #8dc7c6;
}
#tabs {
  display: flex;
  gap: 1.7rem;
  border-bottom: 1px solid #ccd7df;
  overflow: auto;
  margin: 0.48rem 0 1.6rem;
  scrollbar-width: thin;
}
#tabs button {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0.86rem 0.04rem 0.72rem;
  color: #546577;
  white-space: nowrap;
  font-weight: 560;
  font-size: 0.94rem;
}
#tabs button.active {
  color: #08636b;
  border-color: #167d80;
}
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(228px, 28%);
  gap: 1.35rem;
  align-items: start;
}
.overline,
.mini {
  color: #087177;
}
.overline {
  display: flex;
  align-items: center;
  gap: 9px;
}
.overline i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #738c98;
}
.section-title {
  font-size: clamp(1.75rem, 2.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.044em;
  margin: 0.52rem 0 0.55rem;
}
.summary {
  color: #4d6173;
  margin: 0 0 1.15rem;
  max-width: 83ch;
  line-height: 1.57;
}
.box,
.step,
.source-list,
.localref,
.quick-entry,
.checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.toolrow,
.spread,
.step summary,
.checkrow,
.ref-title {
  display: flex;
  align-items: center;
}
.spread,
.toolrow {
  justify-content: space-between;
  gap: 0.5rem;
}
.toolrow {
  margin: 1.35rem 0 0.65rem;
}
.toolrow h3,
.ref-title h3,
.box h3,
.checklist h3,
.source-list h3,
.localref h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.textbtn {
  background: transparent;
  color: #146c72;
  border: none;
  padding: 0.3rem 0;
  font-size: 0.87rem;
}
.textbtn:hover {
  background: transparent;
  text-decoration: underline;
}
.steps {
  display: grid;
  gap: 0.52rem;
}
.step {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.step > input,
.checkrow input,
.quick-rows input {
  accent-color: #137679;
  width: 19px;
  height: 19px;
  flex: none;
}
.step > input {
  margin: 1.03rem 0 0 0.85rem;
}
.step details {
  flex: 1;
  min-width: 0;
}
.step summary {
  gap: 0.6rem;
  list-style: none;
  padding: 0.8rem 0.85rem;
  min-height: 50px;
}
.step summary:after {
  margin-left: auto;
  transform: rotate(45deg);
  color: #667f8b;
}
.step details[open] summary:after {
  transform: rotate(225deg);
}
.step-title {
  font-weight: 670;
  overflow-wrap: anywhere;
}
.kind {
  font-size: 0.72rem;
  border: 1px solid #b9d4d2;
  border-radius: 4px;
  padding: 0.08rem 0.34rem;
  color: #255c5d;
  background: #f0f7f6;
  letter-spacing: 0.025em;
  white-space: normal;
}
.step-details {
  padding: 0 1rem 0.95rem 0.85rem;
}
.step-details dl {
  margin: 0.12rem 0 0;
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.35rem 0.7rem;
  font-size: 0.95rem;
}
.step-details dt {
  font-size: 0.83rem;
  font-weight: 650;
  color: #506978;
}
.step-details dd {
  margin: 0;
}
.step.done .step-title {
  color: #326967;
}
.step.done {
  border-color: #b8d9d3;
}
.right {
  display: grid;
  gap: 0.9rem;
}
.box,
.localref,
.source-list,
.checklist {
  padding: 1.05rem;
}
.box p,
.localref p,
.checklist p,
.source-list p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.5rem 0;
}
.ref-title {
  gap: 0.5rem;
  color: #1d4657;
}
.picture {
  border: 0;
  padding: 0;
  margin: 0.8rem 0 0.35rem;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #1d3544;
  border-radius: 6px;
}
.picture img {
  object-fit: cover;
  width: 100%;
  height: 132px;
  display: block;
}
.small {
  font-size: 0.82rem;
  color: var(--muted);
}
.progress-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #566c79;
  margin: 0.65rem 0 0.3rem;
}
.progressbar {
  width: 100%;
  height: 6px;
  background: #e0e9ed;
  border-radius: 10px;
  overflow: hidden;
}
.progressbar i {
  display: block;
  height: 100%;
  background: #158486;
}
.micro {
  font-size: 0.8rem;
  color: var(--muted);
}
.right .box.scope {
  background: #edf4f5;
  border-color: #d0e0e2;
}
.scope a,
.localref a,
.source-list a,
.box a,
.checklist a,
.guidecard a {
  font-size: 0.91rem;
}
.phase-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 1.1rem 0;
}
.primary {
  background: #156c73;
  border-color: #156c73;
  color: white;
}
.primary:hover {
  background: #09545a;
}
.checklist,
.localref {
  margin-top: 1rem;
}
.checkrow {
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  align-items: flex-start;
}
.checkrow input {
  margin-top: 3px;
}
.checkrow span {
  flex: 1;
}
.checkrow b {
  display: block;
}
.checkrow:last-child {
  border: 0;
}
.source-list {
  margin: 0.8rem 0;
}
.source-list ul,
.localref ul {
  padding-left: 1.15rem;
  margin: 0.55rem 0 0.1rem;
}
.source-list li,
.localref li {
  margin: 0.3rem 0;
}
.links {
  display: grid;
  gap: 0.3rem;
}
.guide-photo {
  width: 100%;
  border-radius: 7px;
}
.quick-entry {
  margin: 0.5rem 0;
  padding: 0.62rem 0.9rem;
}
.quick-entry summary {
  cursor: pointer;
  font-weight: 650;
}
.quick-entry a {
  font-size: 0.9rem;
}
.quick-rows {
  display: grid;
}
.quick-rows label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.quick-rows input {
  margin-top: 0.15rem;
}
.quick-rows label:last-child {
  border: 0;
}
.quick-control {
  font-weight: 650;
}
.quick-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}
.guidecard h3 {
  margin: 0.1rem 0;
}
.guidecard p {
  margin: 0.5rem 0;
}
.guidecard {
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.photo-map {
  position: relative;
  max-width: 850px;
  margin: 1rem 0;
}
.photo-map img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 99px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid white;
  box-shadow: 0 1px 5px #1e3546;
  color: #fff;
  background: #086770;
  font-size: 0.86rem;
}
.pin[aria-pressed="true"] {
  background: #934c17;
}
.pin:hover {
  background: #104e56;
}
.guide-overlay {
  max-width: 850px;
  padding: 0.85rem 1rem;
  background: #e9f3f3;
  border-left: 3px solid #148588;
}
.guide-overlay b {
  margin-right: 0.5rem;
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.map-layout .quick-index {
  grid-template-columns: 1fr;
}
footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  color: #677b88;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}
dialog {
  max-width: 410px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  padding: 1.5rem;
}
dialog h2 {
  margin: 0;
}
dialog::backdrop {
  background: #182c4099;
}
.buttons {
  justify-content: flex-end;
  margin-top: 1rem;
}
@media (min-width: 1550px) {
  .layout {
    grid-template-columns: 285px minmax(0, 1fr);
  }
  .hero {
    min-height: 235px;
  }
}
@media (max-width: 1150px) {
  .layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  main {
    padding: 1.2rem;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr) 212px;
    gap: 0.85rem;
  }
  #sidebar {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
  .step summary {
    flex-wrap: wrap;
  }
  .step summary:after {
    margin-left: auto;
  }
  .step-details dl {
    grid-template-columns: 1fr;
  }
  .step-details dd + dt {
    margin-top: 0.2rem;
  }
}
@media (max-width: 930px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .right {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
  .map-layout .quick-index {
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  }
}
@media (max-width: 700px) {
  header {
    height: 56px;
    padding: 0 1rem;
  }
  .headmeta {
    gap: 0.45rem;
  }
  .simmode,
  .headdiv {
    display: none;
  }
  .mobileTree {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    text-align: left;
    font-size: 0.9rem;
    padding: 0.62rem 1rem;
  }
  .layout {
    display: block;
  }
  #sidebar {
    display: none;
    padding: 1rem;
    max-height: 62vh;
    overflow: auto;
    border-bottom: 1px solid var(--line);
  }
  #sidebar.shown {
    display: flex;
  }
  main {
    padding: 0.85rem 1rem;
  }
  .hero {
    min-height: 162px;
  }
  .hero-text {
    padding: 1rem;
  }
  .hero-shade {
    background: linear-gradient(
      90deg,
      #10354a 0%,
      #10354ae8 40%,
      #12354b33 100%
    );
  }
  #tabs {
    gap: 1rem;
    margin-bottom: 1.1rem;
  }
  #tabs button {
    font-size: 0.85rem;
  }
  #tabs .icon {
    width: 16px;
  }
  .right {
    grid-template-columns: 1fr;
  }
  .crumb {
    font-size: 0.79rem;
  }
  .step-details dl {
    display: block;
  }
  .step-details dd {
    margin: 0.1rem 0 0.4rem;
  }
  .hero-meta {
    font-size: 0.78rem;
  }
  .toolrow {
    margin-top: 1rem;
  }
  .kind {
    font-size: 0.7rem;
  }
  .map-layout {
    gap: 0.3rem;
  }
  .side-foot {
    display: none;
  }
  .section-title {
    font-size: 1.8rem;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media print {
  header,
  #sidebar,
  .mobileTree,
  .hero,
  #tabs,
  .right,
  .crumb,
  footer,
  .buttons,
  .phase-nav,
  .toolrow button,
  .noprint,
  .textbtn {
    display: none !important;
  }
  .layout,
  main,
  .grid {
    display: block !important;
    padding: 0 !important;
    background: white;
  }
  .quick-entry,
  .step,
  .box {
    break-inside: avoid;
  }
  .quick-entry summary {
    font-size: 1.1rem;
  }
  .quick-index {
    display: block;
  }
  .section-title {
    font-size: 1.6rem;
  }
}
.tree-indent {
  margin-left: 0.3rem;
  padding-left: 0.44rem;
}
.flowtools {
  margin: 0;
  gap: 1rem;
}
.scrolltable {
  overflow: auto;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}
.scrolltable table {
  border-collapse: collapse;
  width: 100%;
  min-width: 800px;
  text-align: left;
}
.scrolltable th,
.scrolltable td {
  border-bottom: 1px solid var(--line);
  padding: 0.55rem;
  vertical-align: top;
  font-size: 0.9rem;
}
.scrolltable th {
  background: #eaf1f4;
}
.scrolltable td:first-child {
  white-space: nowrap;
}
.scrolltable input {
  accent-color: #16777c;
}
.wide-table {
  grid-template-columns: minmax(0, 1fr);
}
.wide-table .right {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.fma-example {
  margin: 0.75rem 0;
  padding: 0.85rem;
  background: #172b39;
  color: #eaf2f2;
  border-radius: 7px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.fma-example div {
  border-right: 1px solid #5b717b;
  padding: 0 0.5rem;
}
.fma-example div:last-child {
  border: 0;
}
.fma-example span {
  display: block;
  font-size: 0.75rem;
  color: #c5d7e0;
}
.fma-example b {
  font:
    600 1.02rem/1.6 Consolas,
    monospace;
  color: #92e3b7;
}
.phase-visual {
  margin: 1rem 0;
}
.phase-visual h3 {
  font-size: 1rem;
  margin: 0;
}
.phase-visual p {
  margin: 0.4rem 0;
}
.diagram-links {
  font-size: 0.88rem;
}
@media (max-width: 700px) {
  .hero-photo {
    left: 0;
  }
  .hero-shade {
    background: linear-gradient(
      90deg,
      #10354af7 0%,
      #10354acd 48%,
      #12354b55 100%
    );
  }
  .flowtools {
    gap: 0.7rem;
  }
  #tabs {
    gap: 0.7rem;
  }
  #tabs button {
    font-size: 0.82rem;
    gap: 0.25rem;
  }
}
#aircraft-select {
  margin: 0 0.5rem 1.15rem;
  width: calc(100% - 1rem);
  color: var(--ink);
  border: 1px solid #bdcbd5;
  border-radius: 6px;
  background-color: #f8fbfc;
  padding: 0.55rem 0.4rem;
  font:
    600 0.93rem/1.35 "Segoe UI",
    Arial,
    sans-serif;
}
#sidebar .side-heading {
  margin-bottom: 0.45rem;
}
.plane-link {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  color: var(--blue);
  padding: 0.43rem 0.65rem;
  font-size: 0.9rem;
}
.trainer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
  align-items: center;
  gap: 1.3rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 1rem;
  margin: 1rem 0;
}
.trainer-panel .photo-map {
  margin: 0;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
}
.trainer-panel img {
  max-height: 410px;
  width: auto;
  max-width: 100%;
  height: auto;
}
.trainer-panel ol {
  padding-left: 1.4rem;
}
.trainer-panel li {
  margin: 0.5rem 0;
  font-size: 0.92rem;
}
.trainer-panel li::marker {
  font-weight: 700;
  color: var(--blue);
}
.static-pin {
  width: 25px;
  height: 25px;
  font-size: 0.78rem;
  pointer-events: none;
}
@media (max-width: 800px) {
  .trainer-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
.brand {
  color: white;
  text-decoration: none;
}
#library-home {
  max-width: 1336px;
  padding: clamp(18px, 3vw, 42px) clamp(16px, 4vw, 60px);
}
.home-hero {
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: clamp(230px, 24vw, 340px);
  border-radius: 12px;
  color: white;
  background: #102739 url("./cockpit.jpg") center 46% / cover;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(9, 27, 43, 0.97) 5%,
    rgba(12, 34, 52, 0.88) 37%,
    rgba(12, 34, 52, 0.16) 86%
  );
}
.home-intro {
  padding: clamp(24px, 4vw, 58px);
  max-width: 560px;
}
.home-intro .eyebrow {
  color: #a0e8df;
}
.home-intro h1 {
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 0.65rem 0 0.9rem;
  color: white;
}
.home-intro p {
  margin: 0;
  color: #e0eaf0;
  font-size: 1.06rem;
  max-width: 410px;
}
#fleet-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.035em;
  margin: 1.9rem 0 1rem;
}
.home-fleet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.aircraft-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  text-decoration: none;
}
.aircraft-card:hover,
.resume-flight:hover {
  border-color: #468388;
  box-shadow: 0 3px 13px #18374612;
}
.aircraft-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2.55;
  object-fit: cover;
  background: #d8e1e6;
}
.card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.25rem 0.85rem;
}
.card-copy h3 {
  font-size: 1.32rem;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 0;
}
.card-copy p {
  font-size: 0.9rem;
  margin: 0.25rem 0 1rem;
  color: var(--muted);
}
.card-count,
.resume-flight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.card-count {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.81rem;
  color: #48616c;
}
.card-count b,
.resume-flight b {
  font-size: 1.25rem;
  color: #216567;
}
.resume-flight {
  margin-top: 1rem;
  padding: 0.8rem 1.25rem;
  background: #e7f4f2;
  border: 1px solid #bedad7;
  border-radius: 8px;
  color: #143e49;
  text-decoration: none;
}
.resume-flight small {
  display: block;
  color: #365e67;
}
.home-credits {
  margin: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 850px) {
  .home-fleet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .home-fleet {
    grid-template-columns: 1fr;
  }
  .home-hero::before {
    background: linear-gradient(90deg, #0c2234ef, #0c2234ad);
  }
}
[hidden] {
  display: none !important;
}
.emergency-links {
  padding-left: 1.35rem;
}
.emergency-links li {
  margin: 0.65rem 0;
}
.emergency-links small {
  color: var(--muted);
  white-space: nowrap;
}
.reference-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.reference-cards .box {
  margin: 0;
}
.reference-cards ul {
  font-size: 0.85rem;
  padding-left: 1.1rem;
}
#descent-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}
#descent-inputs label {
  display: grid;
  font-size: 0.88rem;
  font-weight: 600;
  gap: 4px;
}
#descent-inputs input {
  border: 1px solid #8497a5;
  padding: 0.45rem;
  border-radius: 4px;
  max-width: 11rem;
}
#descent-result {
  display: block;
  padding: 0.75rem;
  background: #e5f2f0;
  color: #204c52;
}
.alternate-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #dac89e;
  border-radius: 6px;
  background: #fff8e9;
}
.limits-table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.8rem 0;
  font-size: 0.91rem;
}
.limits-table :is(td, th) {
  text-align: left;
  padding: 0.3rem 0.45rem;
  border-bottom: 1px solid var(--line);
}
.limits-table thead {
  background: #edf4f5;
}
.limits-table :is(th, td):last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
