/* Interactive helicopter crew-status table — loaded only when its shortcode is present. */
.lk-heli-status {
  --lk-heli-navy: var(--navy, #0b1d2a);
  --lk-heli-red: var(--red, #d61f2c);
  --lk-heli-ink: var(--ink, #111820);
  --lk-heli-muted: var(--muted, #6d7780);
  --lk-heli-line: var(--line, #e6eaed);
  --lk-heli-soft: var(--soft, #f6f7f8);
  display: block;
  width: 100%;
  margin: 25px 0 29px;
  color: var(--lk-heli-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
}
.lk-heli-status,
.lk-heli-status * { box-sizing: border-box; }
.lk-heli-status__heading {
  margin: 0 0 15px;
  padding: 1px 0 1px 14px;
  border-left: 4px solid var(--lk-heli-red);
}
.lk-heli-status__kicker {
  display: block;
  margin: 0 0 5px;
  color: var(--lk-heli-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.lk-heli-status__title {
  margin: 0 0 7px;
  color: var(--lk-heli-navy);
  font-size: clamp(19px, 3vw, 23px);
  font-weight: 800;
  line-height: 1.25;
}
.lk-heli-status__description {
  margin: 0;
  color: var(--lk-heli-muted);
  font-size: 13px;
  line-height: 1.6;
}
.lk-heli-status__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 15px 0;
}
.lk-heli-status__stat {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--lk-heli-line);
  border-top: 2px solid var(--lk-heli-navy);
  border-radius: 3px;
  background: var(--lk-heli-soft);
}
.lk-heli-status__stat--deceased { border-top-color: var(--lk-heli-red); }
.lk-heli-status__stat strong {
  display: block;
  color: var(--lk-heli-navy);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.lk-heli-status__stat--deceased strong { color: var(--lk-heli-red); }
.lk-heli-status__stat span {
  display: block;
  margin-top: 4px;
  color: var(--lk-heli-muted);
  font-size: 11px;
  line-height: 1.4;
}
.lk-heli-status__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
}
.lk-heli-status__controls[hidden] { display: none !important; }
.lk-heli-status__controls-label {
  color: var(--lk-heli-muted);
  font-size: 11px;
  font-weight: 700;
}
.lk-heli-status__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-heli-status__filter {
  min-height: 32px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #d8dde1;
  border-radius: 3px;
  background: #fff;
  color: var(--lk-heli-navy);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.lk-heli-status__filter:hover,
.lk-heli-status__filter.is-active {
  border-color: var(--lk-heli-navy);
  background: var(--lk-heli-navy);
  color: #fff;
}
.lk-heli-status__filter:focus-visible,
.lk-heli-status__scroll:focus-visible {
  outline: 2px solid var(--lk-heli-red);
  outline-offset: 2px;
}
.lk-heli-status__scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--lk-heli-line);
  border-radius: 3px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.lk-heli-status__table {
  width: 100%;
  min-width: 560px;
  margin: 0 !important;
  padding: 0;
  border: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  color: var(--lk-heli-ink);
  font: inherit;
  font-size: 12.5px;
  line-height: 1.55;
  box-shadow: none !important;
}
.lk-heli-status__table th,
.lk-heli-status__table td {
  text-align: left;
  text-transform: none;
}
.lk-heli-status__table thead th {
  padding: 11px 13px;
  border: 0 !important;
  border-bottom: 3px solid var(--lk-heli-red) !important;
  background: var(--lk-heli-navy) !important;
  color: #fff !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: middle;
}
.lk-heli-status__table thead th:nth-child(1) { width: 31%; }
.lk-heli-status__table thead th:nth-child(2) { width: 31%; }
.lk-heli-status__table thead th:nth-child(3) { width: 38%; }
.lk-heli-status__table tbody th,
.lk-heli-status__table tbody td {
  padding: 12px 13px;
  border: 0 !important;
  border-bottom: 1px solid var(--lk-heli-line) !important;
  background: #fff;
  color: var(--lk-heli-ink);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.lk-heli-status__table tbody tr:nth-child(even) th,
.lk-heli-status__table tbody tr:nth-child(even) td { background: #f8f9fa; }
.lk-heli-status__table tbody tr:last-child th,
.lk-heli-status__table tbody tr:last-child td { border-bottom: 0 !important; }
.lk-heli-status__table tbody th.lk-heli-status__name {
  color: var(--lk-heli-navy);
  font-weight: 800;
}
.lk-heli-status__badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.lk-heli-status__badge--selamat {
  background: #e7f3eb;
  color: #176b36;
}
.lk-heli-status__badge--meninggal {
  background: #fbe8e9;
  color: #b90018;
}
.lk-heli-status__detail {
  display: block;
  margin-top: 4px;
  color: var(--lk-heli-muted);
  font-size: 10.5px;
  line-height: 1.45;
}
.lk-heli-status__note {
  margin: 11px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--lk-heli-red);
  background: var(--lk-heli-soft);
  color: #515b63;
  font-size: 11px;
  line-height: 1.65;
}
.lk-heli-status__note strong { color: var(--lk-heli-navy); }
.lk-heli-status__empty td {
  padding: 16px !important;
  color: var(--lk-heli-muted) !important;
  text-align: center !important;
}
.lk-heli-status__row[hidden],
.lk-heli-status__empty[hidden] { display: none !important; }
.lk-heli-status__visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 620px) {
  .lk-heli-status { margin: 21px 0 25px; }
  .lk-heli-status__summary { gap: 7px; }
  .lk-heli-status__stat { padding: 9px 10px; }
  .lk-heli-status__table { min-width: 540px; }
  .lk-heli-status__table thead th,
  .lk-heli-status__table tbody th,
  .lk-heli-status__table tbody td { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lk-heli-status__filter { transition: none; }
}
