/* FICON-X AIRPORT OPERATIONS — MAP FIRST V1 */
/* Visual layout only. No operational logic changes. */

@media (min-width: 1000px) {

  html, body {
    height: 100%;
    overflow: hidden;
  }

  .shell {
    grid-template-columns: 180px minmax(0, 1fr) !important;
  }

  .shell > aside {
    padding: 12px 8px;
    background: #081827;
    border-right: 1px solid #294b64;
  }

  .shell > aside button {
    font-size: 13px !important;
    text-align: left !important;
    padding: 14px 12px !important;
    border-radius: 9px;
  }

  #ipadBtn::before,
  #iphoneBtn::before,
  #fcNavButton::before {
    display: none !important;
  }

  .workspace {
    padding: 0 !important;
    background: #071522;
  }

  #command {
    height: 100%;
    position: relative;
  }

  #command > .heading {
    position: absolute;
    z-index: 15;
    top: 12px;
    left: 16px;
    right: 16px;
    width: auto;
    padding: 10px 14px;
    background: #081a2bd9;
    border: 1px solid #315572;
    border-radius: 10px;
    backdrop-filter: blur(12px);
    pointer-events: auto;
  }

  #command > .layout {
    display: block !important;
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  #command > .layout > div:first-child {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  #command .mapframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    border: 0;
    border-radius: 0;
    margin: 0 !important;
    overflow: hidden;
  }

  #command #geoMap {
    height: 100% !important;
    min-height: 0 !important;
  }

  #command .statrow {
    position: absolute;
    left: 16px;
    bottom: 16px;
    right: 340px;
    z-index: 12;
    display: flex;
    gap: 8px;
    pointer-events: none;
  }

  #command .stat {
    background: #081a2be8;
    border: 1px solid #365e7b;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    pointer-events: auto;
  }

  #command > .layout > div:last-child {
    position: absolute;
    z-index: 20;
    top: 90px;
    right: 12px;
    bottom: 12px;
    width: 310px;
    max-width: 35%;
    overflow-y: auto;
    background: #081a2be8;
    border: 1px solid #355b77;
    border-radius: 12px;
    padding: 10px;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 36px #0008;
  }

  #command .panel {
    background: #10273a;
    border: 1px solid #31536d;
    border-radius: 9px;
    padding: 12px;
    margin-bottom: 9px;
  }

  #command .geo-layer {
    top: 95px;
    left: 12px;
    right: auto;
    max-width: calc(100% - 350px);
    background: #091c2de8;
    border-radius: 9px;
    backdrop-filter: blur(10px);
  }

  #command .geo-banner {
    bottom: 100px;
    left: 14px;
  }

}

@media (max-width: 999px) {
  /* Preserve existing tablet and mobile behavior initially. */
}


/* FICON_HIDE_LEGACY_SCHEMATIC_WARNING_V1
   Hide the obsolete schematic warning only.
   Preserve live map status and operational warnings.
*/
#command .disclaimer {
    display: none !important;
}
