/**
 * FLAITOPS Aircraft Explorer — layout fiel à referência (dark pro).
 */
body.pro-aircraft-active #workspaceProfessionalOverview,
body.pro-aircraft-active #workspaceProfessionalOverview.is-mounted,
body.pro-aircraft-active #workspaceProfessionalOverview .pro-ov--homepage,
body.pro-aircraft-active #workspaceProfessionalOverview .hp-shell{
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
body.pro-aircraft-active .workspace-desk-scroll{
  position:relative;
  min-height:0;
  overflow:hidden !important;
}
#workspaceAircraftRoot.ac-hub{
  display:none;
  flex-direction:column;
  min-height:0;
  overflow:auto;
  background:#07131D;
  color:#F3F6F8;
  padding:1rem 1.15rem 1.2rem;
}
body.pro-aircraft-active #workspaceAircraftRoot.ac-hub{
  position:absolute;
  inset:0;
  z-index:50;
  display:flex;
  pointer-events:auto;
}
#workspaceAircraftRoot[hidden]{display:none!important}

.ac-hub-head{flex:0 0 auto;margin:0 0 .85rem}
.ac-hub-title{
  margin:0;
  font-size:1.5rem;
  font-weight:700;
  letter-spacing:-.02em;
  color:#F3F6F8;
  line-height:1.15;
}
.ac-hub-lead{
  margin:.28rem 0 0;
  font-size:.8125rem;
  color:#9BAFBC;
  line-height:1.35;
}

.ac-hub-grid{
  flex:1 1 auto;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(220px,280px) minmax(0,1fr) minmax(260px,350px);
  grid-template-rows:minmax(0,1fr) auto;
  gap:.85rem;
}

.ac-col-list,
.ac-col-main,
.ac-col-config,
.ac-col-liveries{
  min-width:0;
  min-height:0;
  border:1px solid #243B4A;
  border-radius:14px;
  background:#0D1D2B;
}
.ac-col-list{
  grid-row:1 / 2;
  display:flex;
  flex-direction:column;
  padding:.75rem;
  gap:.55rem;
}
.ac-col-main{
  grid-row:1 / 2;
  display:flex;
  flex-direction:column;
  padding:.75rem;
  gap:.55rem;
}
.ac-col-config{
  grid-row:1 / 2;
  display:flex;
  flex-direction:column;
  gap:.65rem;
  padding:.75rem;
  overflow:auto;
}
.ac-col-liveries{
  grid-column:1 / -1;
  padding:.7rem .8rem .85rem;
}

.ac-search{
  display:flex;
  align-items:center;
  gap:.4rem;
  padding:.48rem .7rem;
  border-radius:999px;
  border:1px solid #243B4A;
  background:#122638;
}
.ac-search .material-symbols-rounded{font-size:1.05rem;color:#9BAFBC}
.ac-search input{
  flex:1;
  min-width:0;
  border:0;
  background:transparent;
  color:#F3F6F8;
  font:inherit;
  font-size:.78rem;
  outline:none;
}
.ac-makers,
.ac-alliance{
  display:flex;
  flex-wrap:wrap;
  gap:.28rem;
}
.ac-filter{
  border:1px solid #243B4A;
  background:#122638;
  color:#9BAFBC;
  border-radius:999px;
  padding:.28rem .62rem;
  font-size:.68rem;
  font-weight:650;
  cursor:pointer;
}
.ac-filter.is-on{
  background:#103D23;
  border-color:#39E600;
  color:#F3F6F8;
}
.ac-ac-list{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:.35rem;
  scrollbar-width:thin;
}
.ac-ac-card{
  display:flex;
  align-items:center;
  gap:.55rem;
  width:100%;
  text-align:left;
  border:1px solid #243B4A;
  background:#122638;
  border-radius:12px;
  padding:.45rem .55rem;
  color:#F3F6F8;
  cursor:pointer;
  transition:border-color .18s ease, background .18s ease;
}
.ac-ac-card:hover{border-color:rgba(57,230,0,.35)}
.ac-ac-card.is-active{
  background:#103D23;
  border-color:#39E600;
}
.ac-ac-thumb{
  flex:0 0 auto;
  width:4.6rem;
  height:1.7rem;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.ac-ac-thumb img{max-width:100%;max-height:100%;object-fit:contain}
.ac-ac-copy{display:grid;gap:.08rem;min-width:0}
.ac-ac-copy strong{font-size:.82rem;font-weight:700;line-height:1.15}
.ac-ac-copy em{font-style:normal;font-size:.62rem;color:#9BAFBC;line-height:1.2}

.ac-hero-card{
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:.55rem .7rem;
  border:1px solid #243B4A;
  border-radius:12px;
  background:#122638;
}
.ac-hero-brand{
  flex:0 0 auto;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.12em;
  color:#9BAFBC;
  padding:.35rem .5rem;
  border:1px solid #243B4A;
  border-radius:8px;
}
.ac-hero-copy h2{
  margin:0;
  font-size:1.05rem;
  font-weight:700;
  line-height:1.15;
}
.ac-hero-copy p{
  margin:.15rem 0 0;
  font-size:.72rem;
  color:#9BAFBC;
}
.ac-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:.15rem .7rem;
  border-bottom:1px solid #243B4A;
  padding:0 .1rem;
}
.ac-tab{
  border:0;
  background:transparent;
  color:#9BAFBC;
  font-size:.75rem;
  font-weight:650;
  padding:.45rem 0;
  cursor:pointer;
  border-bottom:2px solid transparent;
  margin-bottom:-1px;
}
.ac-tab.is-on{
  color:#39E600;
  border-bottom-color:#39E600;
}
.ac-main-body{
  flex:1 1 auto;
  min-height:280px;
  display:flex;
}
.ac-stage{
  position:relative;
  flex:1;
  min-height:320px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid #243B4A;
  background:linear-gradient(180deg,#8ec8ea 0%,#b9daf0 48%,#d7eaf6 100%);
  cursor:grab;
  touch-action:none;
}
.ac-stage.is-night{
  background:linear-gradient(180deg,#0b1724 0%,#152536 55%,#1c3348 100%);
}
.ac-stage-sky{position:absolute;inset:0;pointer-events:none}
.ac-stage.is-night .ac-stage-sky{
  background:radial-gradient(circle at 70% 18%,rgba(255,255,255,.12),transparent 28%);
}
.ac-stage-plane{
  position:absolute;
  inset:12% 8% 18%;
  display:grid;
  place-items:center;
  transform:scale(var(--ac-scale,1)) rotate(var(--ac-rot,-8deg));
  transition:transform .18s ease;
  pointer-events:none;
}
.ac-stage-plane img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  filter:drop-shadow(0 18px 28px rgba(7,19,29,.28));
}
.ac-stage.is-night .ac-stage-plane img{
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.45)) brightness(.92) saturate(.9);
}
.ac-stage-badge{
  position:absolute;
  left:.7rem;
  top:.7rem;
  z-index:2;
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.02em;
  color:rgba(7,19,29,.78);
  background:rgba(255,255,255,.72);
  border-radius:999px;
  padding:.22rem .55rem;
}
.ac-stage.is-night .ac-stage-badge{
  color:#F3F6F8;
  background:rgba(7,19,29,.62);
}
.ac-stage-tools{
  position:absolute;
  top:.65rem;
  right:.65rem;
  z-index:2;
  display:flex;
  gap:.28rem;
}
.ac-stage-tools button,
.ac-dock-group button{
  width:2rem;
  height:2rem;
  border-radius:10px;
  border:1px solid rgba(7,19,29,.18);
  background:rgba(13,29,43,.72);
  color:#F3F6F8;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.ac-stage-tools button.is-on{border-color:#39E600;color:#39E600}
.ac-stage-tools .material-symbols-rounded,
.ac-dock-group .material-symbols-rounded{font-size:1.05rem}
.ac-stage-dock{
  position:absolute;
  left:50%;
  bottom:.7rem;
  transform:translateX(-50%);
  z-index:2;
  display:flex;
  gap:.4rem;
}
.ac-dock-group{
  display:inline-flex;
  align-items:center;
  gap:.2rem;
  padding:.2rem .35rem;
  border-radius:999px;
  background:rgba(13,29,43,.78);
  border:1px solid rgba(255,255,255,.08);
  color:#F3F6F8;
  font-size:.68rem;
  font-weight:700;
}

.ac-panel-note{
  flex:1;
  padding:1rem;
  border:1px solid #243B4A;
  border-radius:12px;
  background:#122638;
}
.ac-panel-note h3{margin:0 0 .45rem;font-size:.95rem}
.ac-panel-note p,.ac-panel-note li{margin:0;color:#9BAFBC;font-size:.78rem;line-height:1.45}
.ac-panel-note ul{margin:.4rem 0 0;padding-left:1rem}
.ac-panel-note button{
  border:0;background:none;color:#39E600;cursor:pointer;font:inherit;padding:0;
}

.ac-config-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.5rem;
}
.ac-config-head h3{margin:0;font-size:.9rem;font-weight:700}
.ac-interactive{
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#9BAFBC;
  border:1px solid #243B4A;
  border-radius:999px;
  padding:.18rem .45rem;
}
.ac-interactive.is-live{
  color:#39E600;
  border-color:rgba(57,230,0,.45);
  background:rgba(16,61,35,.45);
}
.ac-livery-select{display:grid;gap:.28rem}
.ac-livery-select > span{font-size:.68rem;color:#9BAFBC;font-weight:650}
.ac-livery-current{
  display:flex;
  align-items:center;
  gap:.5rem;
  width:100%;
  text-align:left;
  border:1px solid #243B4A;
  background:#122638;
  color:#F3F6F8;
  border-radius:12px;
  padding:.45rem .55rem;
  cursor:pointer;
}
.ac-livery-current img{width:2.6rem;height:1.1rem;object-fit:contain}
.ac-ctrl{display:grid;gap:.28rem}
.ac-ctrl.is-disabled{opacity:.55}
.ac-ctrl-label{
  display:flex;
  align-items:center;
  gap:.35rem;
  font-size:.72rem;
  font-weight:650;
  color:#F3F6F8;
}
.ac-ctrl-label .material-symbols-rounded{font-size:1rem;color:#9BAFBC}
.ac-ctrl-opts{display:flex;flex-wrap:wrap;gap:.25rem}
.ac-chip{
  border:1px solid #243B4A;
  background:#122638;
  color:#9BAFBC;
  border-radius:999px;
  padding:.22rem .5rem;
  font-size:.66rem;
  font-weight:700;
  cursor:pointer;
}
.ac-chip.is-on{
  background:#103D23;
  border-color:#39E600;
  color:#F3F6F8;
}
.ac-chip:disabled{cursor:not-allowed}
.ac-tech{
  margin-top:.2rem;
  padding-top:.55rem;
  border-top:1px solid #243B4A;
}
.ac-tech h4{margin:0 0 .25rem;font-size:.82rem}
.ac-tech-note{margin:0 0 .45rem;font-size:.62rem;color:#9BAFBC;line-height:1.35}
.ac-tech dl{margin:0;display:grid;gap:.28rem}
.ac-tech dl > div{
  display:flex;
  justify-content:space-between;
  gap:.7rem;
  padding:.28rem 0;
  border-bottom:1px solid rgba(36,59,74,.55);
  font-size:.72rem;
}
.ac-tech dt{color:#9BAFBC}
.ac-tech dd{margin:0;color:#F3F6F8;font-weight:650;text-align:right}

.ac-liv-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.7rem;
  flex-wrap:wrap;
  margin-bottom:.55rem;
}
.ac-liv-head h3{margin:0;font-size:.88rem}
.ac-liv-rail{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:.35rem;
  align-items:center;
}
.ac-liv-nav{
  width:2rem;height:2rem;border-radius:999px;
  border:1px solid #243B4A;background:#122638;color:#F3F6F8;
  display:grid;place-items:center;cursor:pointer;
}
.ac-liv-track{
  display:flex;
  gap:.45rem;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:.1rem .1rem .25rem;
  scrollbar-width:none;
}
.ac-liv-track::-webkit-scrollbar{display:none}
.ac-liv-card{
  flex:0 0 auto;
  width:9.5rem;
  scroll-snap-align:start;
  display:grid;
  gap:.28rem;
  border:1px solid #243B4A;
  background:#122638;
  border-radius:12px;
  padding:.4rem;
  color:#F3F6F8;
  cursor:pointer;
  text-align:left;
}
.ac-liv-card.is-active{
  background:#103D23;
  border-color:#39E600;
}
.ac-liv-thumb{
  height:2.4rem;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.ac-liv-thumb img{max-width:100%;max-height:100%;object-fit:contain}
.ac-liv-copy{display:grid;gap:.05rem}
.ac-liv-copy strong{font-size:.68rem;line-height:1.15}
.ac-liv-copy em{font-style:normal;font-size:.58rem;color:#9BAFBC}

.ac-empty{
  margin:.4rem;
  font-size:.75rem;
  color:#9BAFBC;
}

@media (max-width:1180px){
  .ac-hub-grid{
    grid-template-columns:minmax(200px,240px) minmax(0,1fr);
    grid-template-rows:auto auto auto;
  }
  .ac-col-config{grid-column:1 / -1;grid-row:2}
  .ac-col-liveries{grid-row:3}
}
@media (max-width:820px){
  .ac-hub-grid{grid-template-columns:1fr}
  .ac-col-list,
  .ac-col-main,
  .ac-col-config,
  .ac-col-liveries{grid-column:1}
  .ac-main-body{min-height:240px}
  .ac-stage{min-height:240px}
}
@media (prefers-reduced-motion:reduce){
  .ac-stage-plane,
  .ac-ac-card{transition:none}
}
