/* Scoped to Kokpit: no changes to family panels, mobile sheet or wall layouts. */
#kokpitPanel { scroll-margin-top: 16px; }
#kokpitPanel .kokpit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
#kokpitPanel .kokpit-form { display: grid; gap: 12px; margin-bottom: 20px; }
#kokpitPanel label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#kokpitPanel input, #kokpitPanel select { width: 100%; min-width: 0; max-width: 100%; font-size: 16px; min-height: 44px; }
#kokpitPanel button, #kokpitPanel summary { min-height: 44px; touch-action: manipulation; }
#kokpitPanel button { white-space: normal; }
#kokpitPanel .kokpit-list { list-style: none; padding: 0; margin: 10px 0 24px; }
#kokpitPanel li, #kokpitPanel .kokpit-card { border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin: 8px 0; overflow-wrap: anywhere; min-width: 0; }
#kokpitPanel .kokpit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#kokpitPanel .kokpit-empty, #kokpitPanel .kokpit-meta { color: var(--muted); }
#kokpitPanel .kokpit-badge { display: inline-block; font-weight: 700; padding: 4px 8px; border: 1px solid var(--border); border-radius: 8px; }
#kokpitPanel [data-phase="AIRBORNE"] { border-color: var(--green); }
#kokpitPanel [data-phase="APPROACH"] { border-color: var(--amber); }
#kokpitPanel [data-phase="SIGNAL_LOST"] { border-color: var(--bad); }
#kokpitPanel .err { color: var(--bad); }
#kokpitPanel :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 760px) {
  #kokpitPanel .kokpit-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #kokpitPanel .row-between { flex-wrap: wrap; gap: 8px; }
  #kokpitPanel .kokpit-actions button { flex: 1 1 100px; }
}
