/* Flight Ops Cockpit — AvPlan import review panel (3.1.23). Theme tokens only; responsive.css stays last. */
body.ir-open { overflow: hidden; }
.ir-host { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ir-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 12, .62); }
.ir-panel { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column;
  background: var(--card, #fff); color: var(--ink, #111); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; }
.ir-head { padding: 16px 18px 10px; border-bottom: 1px solid var(--line); }
.ir-head h2 { margin: 2px 0 4px; font-size: 20px; }
.ir-list { overflow-y: auto; padding: 10px 18px; display: grid; gap: 10px; -webkit-overflow-scrolling: touch; }
.ir-item { border: 1px solid var(--line); border-left: 4px solid var(--bad, #b33); border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; }
.ir-item.done { border-left-color: var(--ok, #228a57); opacity: .72; }
.ir-where { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ir-msg { font-size: 14px; line-height: 1.35; }
.ir-crop { border: 1px solid var(--line); border-radius: 6px; background: #fff; min-height: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ir-crop img { display: block; width: 100%; min-width: 640px; height: auto; }
.ir-crop .mini { display: block; padding: 8px; color: var(--muted); }
.ir-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.ir-edit { display: grid; gap: 3px; font-size: 11px; font-weight: 800; letter-spacing: .05em; color: var(--muted); }
.ir-edit input { width: 130px; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; padding: 8px 10px; }
.ir-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ir-foot .btn[disabled] { opacity: .55; }
body.night-mode .ir-panel { background: #0d1115; color: #e8e8e8; border-color: #2b3034; }
body.night-mode .ir-item, body.night-mode .ir-head, body.night-mode .ir-foot { border-color: #2b3034; }
@media (max-width: 699px) {
  .ir-host { padding: 0; align-items: stretch; }
  .ir-panel { max-height: 100vh; border-radius: 0; }
  .ir-actions > * { flex: 1 1 auto; }
  .ir-edit input { width: 100%; }
}
