/*
 * SkyHub Portal CSS Split: responsive.css
 * Source: assets/css/aop-app.css lines 7580-9037
 * Purpose: Responsive app-width recovery, late compatibility fixes and v0.12.2.7.x corrective CSS layers.
 * Phase: v0.12.2.9 Architecture Stabilisation Phase 2 — CSS split only.
 */

/* v0.12.2.7 — portal container alignment + action drawer/workspace hotfix */
.aop-app{
  --aop-workspace-width: 1480px;
  --aop-page-gutter: clamp(16px, 2.1vw, 34px);
}
.aop-main{
  padding: 0 var(--aop-page-gutter) 48px !important;
}
.aop-topbar,
.aop-content{
  width: min(100%, var(--aop-workspace-width));
  margin-left: auto;
  margin-right: auto;
}
.aop-topbar{
  margin-top: 0 !important;
}
.aop-content{
  padding: 24px 0 0 !important;
}
.aop-module > .aop-hero,
.aop-module > .aop-stat-grid,
.aop-module > .aop-toolbar,
.aop-module > .aop-panel,
.aop-module > .aop-two-col,
.aop-module > .aop-three-col,
.aop-module > .aop-portal-tabs,
.aop-module > .aop-admin-portal-finance,
.aop-module > .aop-document-pack-toolbar,
.aop-module > .aop-notification-list,
.aop-module > .aop-float-live-note,
.aop-module > .aop-staff-workspace-shell,
.aop-module > .aop-staffops-control-strip{
  width: 100%;
  max-width: var(--aop-workspace-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.aop-module > .aop-stat-grid,
.aop-module > .aop-toolbar,
.aop-module > .aop-panel,
.aop-module > .aop-two-col,
.aop-module > .aop-three-col,
.aop-module > .aop-admin-portal-finance,
.aop-module > .aop-staff-workspace-shell{
  box-sizing: border-box;
}
.aop-table-wrap{max-width:100%;}
.aop-panel-head p{margin:.25rem 0 0;color:#64748b;line-height:1.45;}

/* Focused action panels replace permanent death-scroll admin forms. */
.aop-admin-list-top{margin-bottom:14px!important;}
.aop-action-drawer-launch{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border:1px solid rgba(31,169,208,.16)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(238,251,255,.86))!important;
  padding:18px 20px!important;
}
.aop-action-drawer-launch .aop-eyebrow{color:#0793b6!important;margin-bottom:4px;}
.aop-action-drawer-launch h2{margin:0 0 4px!important;}
.aop-action-drawer-launch p{margin:0;color:#64748b;max-width:760px;line-height:1.45;}
.aop-action-drawer-launch .aop-btn{white-space:nowrap;}
.aop-sr-only{
  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;
}
.aop-record-modal .aop-record-dialog{
  width:min(1180px, calc(100vw - 42px))!important;
}
.aop-record-modal-body .aop-sectioned-form,
.aop-record-modal-body .aop-form.aop-panel{
  box-shadow:none!important;
  border:0!important;
  padding:0!important;
  background:transparent!important;
}
.aop-record-modal-body .aop-sectioned-form > .aop-panel-head:first-child{display:none;}
.aop-record-modal-body .aop-form-section{
  background:#fff;
  border:1px solid #dce8f0;
  border-radius:18px;
  padding:16px;
  margin-bottom:14px;
}
.aop-record-modal-body .aop-form-actions{
  position:sticky;
  bottom:0;
  z-index:2;
  background:linear-gradient(180deg,rgba(255,255,255,.72),#fff 34%);
  padding-top:14px;
  margin-top:8px;
}

/* Staff support queue: queue first, update only when selected. */
.aop-support-queue-board{display:grid;gap:14px;}
.aop-support-ticket-list{display:grid;gap:12px;}
.aop-support-ticket-row{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.8fr) auto;
  align-items:center;
  gap:16px;
  padding:15px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:20px;
  background:linear-gradient(135deg,#fff,#f8fcff);
  box-shadow:0 12px 30px rgba(15,23,42,.045);
}
.aop-support-ticket-row h3{margin:3px 0 5px;font-size:16px;color:#0f172a;}
.aop-support-ticket-row p{margin:0;color:#64748b;line-height:1.45;}
.aop-support-ticket-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.aop-support-ticket-meta span{display:grid;gap:3px;padding:10px;border-radius:14px;background:#f6fbff;border:1px solid #dce8f0;}
.aop-support-ticket-meta small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:900;}
.aop-support-ticket-meta strong{font-size:12px;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.aop-support-ticket-row .aop-row-actions{justify-content:flex-end;}

/* Customer support page: route selection should feel intentional. */
.aop-support-layout{grid-template-columns:minmax(0,1fr) minmax(360px,440px)!important;align-items:start;}
.aop-support-form{position:sticky;top:98px;}
.aop-support-form.has-selected-route{border-color:rgba(31,169,208,.28);box-shadow:0 18px 44px rgba(31,169,208,.10);}
.aop-support-layout .aop-support-route-list button{
  width:100%;
  text-align:left;
  min-height:74px;
}
.aop-support-layout .aop-support-note{background:#f6fbff;border:1px solid #e1edf5;}

/* Order workspace: lock draft processes and reduce the nested-card feel. */
.aop-order-workspace-app{
  border:1px solid #d8e8ef!important;
  background:linear-gradient(180deg,#f8fcff,#fff 32%)!important;
}
.aop-order-workspace-app.is-draft-locked{
  border-color:#fed7aa!important;
  background:linear-gradient(180deg,#fff8ed,#fff 34%)!important;
}
.aop-draft-process-lock{
  border-color:#fed7aa!important;
  background:linear-gradient(135deg,#fffaf2,#fff)!important;
}
.aop-draft-process-lock p{max-width:900px;color:#475569!important;line-height:1.55;}
.aop-workspace-stage-tabs.is-readonly{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;}
.aop-workspace-stage-tabs.is-readonly .aop-staffops-process-tab{cursor:default;opacity:.82;}
.aop-workspace-process-command{align-items:stretch;}
.aop-workspace-context-actions{display:grid;align-content:start;gap:8px;}
.aop-staff-process-card,
.aop-staff-order-section{box-shadow:0 10px 26px rgba(15,23,42,.045)!important;}
.aop-shipping-chain,
.aop-shipping-doc-chain,
.aop-staffops-shipping-chain{max-width:100%;}

/* Profile pages: deliberate grid, customer-safe module chips only. */
.aop-profile-grid,
.aop-airline-profile-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr) minmax(280px,.75fr);
  gap:18px!important;
  align-items:stretch!important;
}
.aop-profile-main-card{grid-column:span 1!important;}
.aop-profile-grid .aop-panel,
.aop-airline-profile-grid .aop-panel{margin:0!important;}
.aop-module-chip-list{gap:8px!important;}
.aop-module-chip-list span{font-size:11px!important;}
.aop-profile-link-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));}
.aop-profile-link-grid a{min-height:66px;}

/* Settings / Setup as readiness console rather than duplicated sidebar. */
.aop-readiness-list.is-console{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;}
.aop-readiness-list.is-console>div{position:relative;padding:16px 16px 16px 44px;border-radius:18px;}
.aop-readiness-list.is-console>div::before{content:"";position:absolute;left:16px;top:18px;width:14px;height:14px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.12);}
.aop-readiness-list.is-console>div.is-good::before{background:#10b981;box-shadow:0 0 0 5px rgba(16,185,129,.12);}
.aop-readiness-list.is-console>div strong{display:block;margin-bottom:4px;}

/* Float statement empty archive should not look like a dead page. */
.aop-customer-float-statements.is-archive .aop-empty{
  display:grid;
  gap:8px;
  min-height:160px;
  place-content:center;
  text-align:center;
  border:1px dashed rgba(31,169,208,.28);
  border-radius:20px;
  background:linear-gradient(135deg,#f8fcff,#fff);
}

@media(max-width:1180px){
  .aop-support-ticket-row{grid-template-columns:1fr;}
  .aop-support-ticket-row .aop-row-actions{justify-content:flex-start;}
  .aop-support-layout{grid-template-columns:1fr!important;}
  .aop-support-form{position:relative;top:auto;}
  .aop-profile-grid,.aop-airline-profile-grid{grid-template-columns:1fr 1fr;}
  .aop-profile-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .aop-workspace-stage-tabs.is-readonly{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .aop-main{padding-left:14px!important;padding-right:14px!important;}
  .aop-action-drawer-launch{display:grid;}
  .aop-action-drawer-launch .aop-btn{width:100%;}
  .aop-profile-grid,.aop-airline-profile-grid,.aop-readiness-list.is-console{grid-template-columns:1fr!important;}
  .aop-profile-link-grid{grid-template-columns:1fr;}
  .aop-record-modal .aop-record-dialog{width:calc(100vw - 20px)!important;}
}

/* v0.12.2.7.1 — Customer Profile + Support Page Polish */
.aop-support-polished-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(430px,.85fr)!important;
  gap:22px!important;
  align-items:start!important;
}
.aop-support-routes-panel,
.aop-support-polished-layout .aop-support-form{
  min-height:auto!important;
}
.aop-support-polished-layout .aop-support-form{
  position:sticky;
  top:98px;
  padding:24px!important;
}
.aop-support-polished-layout .aop-panel-head{
  margin-bottom:16px;
}
.aop-support-polished-layout .aop-panel-head p{
  max-width:680px;
}
.aop-support-polished-layout .aop-support-route-list{
  display:grid!important;
  gap:12px!important;
}
.aop-support-polished-layout .aop-support-route-list button{
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:center!important;
  width:100%!important;
  min-height:82px!important;
  text-align:left!important;
  padding:16px 54px 16px 16px!important;
  border:1px solid rgba(17,31,70,.10)!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#fff,#f8fcff)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.045)!important;
  cursor:pointer!important;
}
.aop-support-polished-layout .aop-support-route-list button:hover,
.aop-support-polished-layout .aop-support-route-list button.is-selected{
  transform:translateY(-2px);
  border-color:rgba(31,169,208,.42)!important;
  box-shadow:0 18px 42px rgba(15,23,42,.08)!important;
}
.aop-support-polished-layout .aop-support-route-list button.is-selected{
  background:linear-gradient(135deg,#ecfbff,#fff)!important;
}
.aop-support-route-icon{
  width:40px;
  height:40px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:#e9f8fd;
  color:#0d7899;
  font-size:12px;
  font-weight:950;
  letter-spacing:.06em;
}
.aop-support-polished-layout .aop-support-route-list button.is-selected .aop-support-route-icon{
  background:#101936;
  color:#fff;
}
.aop-support-polished-layout .aop-support-route-list button strong{
  display:block;
  margin:0 0 4px;
  color:#101936;
  font-size:15px;
}
.aop-support-polished-layout .aop-support-route-list button small{
  display:block;
  color:#617089;
  line-height:1.45;
}
.aop-support-polished-layout .aop-context-pill{
  min-height:42px;
  background:linear-gradient(135deg,#e9f8fd,#f6fbff);
}
.aop-support-polished-layout .aop-support-note{
  display:grid;
  gap:4px;
  margin-top:16px;
  padding:16px 18px;
  border-radius:18px;
  background:#f6fbff;
  border:1px solid #e1edf5;
  color:#64748b;
}
.aop-support-polished-layout textarea{
  min-height:150px;
}

.aop-profile-page-grid,
.aop-airline-profile-page{
  display:grid;
  gap:18px;
  margin-top:18px;
}
.aop-profile-page-grid{
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr) minmax(280px,.75fr);
  align-items:stretch;
}
.aop-profile-page-grid .aop-panel,
.aop-airline-profile-page .aop-panel{
  margin:0!important;
}
.aop-profile-main-card{
  grid-column:span 1!important;
}
.aop-profile-account-card,
.aop-profile-defaults-card,
.aop-profile-modules-card,
.aop-profile-readiness-card{
  min-height:100%;
}
.aop-profile-modules-card{
  grid-column:span 2;
}
.aop-profile-account-summary{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.aop-profile-account-card .aop-customer-logo{
  width:86px!important;
  height:86px!important;
  border-radius:22px!important;
}
.aop-profile-defaults-card .aop-preference-label{
  margin-top:16px;
}
.aop-profile-photo-form input[type="file"]{
  width:100%;
  border:1px dashed rgba(15,23,42,.18);
  background:#f8fcff;
  border-radius:14px;
  padding:10px;
}
.aop-profile-photo-form small{
  display:block;
  color:#64748b;
  line-height:1.45;
}
.aop-profile-page-grid + .aop-panel,
.aop-airline-profile-page + .aop-panel{
  margin-top:18px!important;
}

.aop-airline-top-row{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);
  gap:18px;
  align-items:stretch;
}
.aop-airline-info-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.aop-airline-commercial-row,
.aop-airline-export-row{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);
  gap:18px;
  align-items:stretch;
}
.aop-airline-profile-hero{
  min-height:230px;
}
.aop-airline-profile-hero .aop-customer-logo{
  width:clamp(150px,12vw,190px)!important;
  height:clamp(150px,12vw,190px)!important;
}
.aop-airline-snapshot-card .aop-mini-metrics.is-stacked{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.aop-airline-info-row > .aop-panel,
.aop-airline-commercial-row > .aop-panel,
.aop-airline-export-row > .aop-panel{
  min-height:100%;
}
.aop-airline-access-card .aop-module-chip-list,
.aop-profile-modules-card .aop-module-chip-list{
  margin-top:12px;
}
.aop-airline-export-row > .aop-panel:first-child{
  max-width:none!important;
}
.aop-profile-link-grid{
  margin-top:12px!important;
}

@media(max-width:1180px){
  .aop-support-polished-layout,
  .aop-airline-top-row,
  .aop-airline-commercial-row,
  .aop-airline-export-row{
    grid-template-columns:1fr!important;
  }
  .aop-support-polished-layout .aop-support-form{
    position:relative;
    top:auto;
  }
  .aop-profile-page-grid,
  .aop-airline-info-row{
    grid-template-columns:1fr 1fr!important;
  }
  .aop-profile-modules-card{
    grid-column:span 1;
  }
}
@media(max-width:760px){
  .aop-support-polished-layout .aop-support-route-list button{
    grid-template-columns:1fr!important;
    padding-right:16px!important;
  }
  .aop-support-route-icon{
    width:34px;
    height:34px;
  }
  .aop-profile-page-grid,
  .aop-airline-info-row{
    grid-template-columns:1fr!important;
  }
  .aop-profile-account-summary{
    grid-template-columns:1fr;
  }
  .aop-airline-profile-hero{
    min-height:auto;
  }
}


/* v0.12.2.7.2 — Responsive App Width + Utility Page Polish
   Recover app-width behaviour after the v0.12.2.7 fixed-width regression.
   Keep alignment, but do not force portal pages into a narrow centred website container. */
.aop-app{
  --aop-workspace-width: 100%;
  --aop-page-gutter: clamp(18px, 1.7vw, 34px);
}
.aop-main{
  padding: 0 var(--aop-page-gutter) 52px !important;
}
.aop-topbar,
.aop-content{
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.aop-module > .aop-hero,
.aop-module > .aop-stat-grid,
.aop-module > .aop-toolbar,
.aop-module > .aop-panel,
.aop-module > .aop-two-col,
.aop-module > .aop-three-col,
.aop-module > .aop-portal-tabs,
.aop-module > .aop-admin-portal-finance,
.aop-module > .aop-admin-data-intelligence,
.aop-module > .aop-document-pack-toolbar,
.aop-module > .aop-notification-list,
.aop-module > .aop-float-live-note,
.aop-module > .aop-staff-workspace-shell,
.aop-module > .aop-staffops-control-strip{
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.aop-content{
  padding-top: 24px !important;
}

/* Float Statements archive recovery */
.aop-module-statements .aop-customer-float-statements.aop-panel,
.aop-module-statements .aop-released-statement-archive-grid{
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.aop-module-statements .aop-released-statement-archive-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
.aop-module-statements .aop-released-statement-card.is-summary{
  width: 100%;
  max-width: none;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(135deg, #fff, #f8fcff);
  border: 1px solid rgba(31,169,208,.18);
  box-shadow: 0 14px 34px rgba(15,23,42,.07);
}
.aop-module-statements .aop-released-statement-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
.aop-module-statements .aop-released-statement-head h3{
  margin: 0 0 5px;
  font-size: 18px;
  letter-spacing: -.03em;
}
.aop-module-statements .aop-released-statement-head p{
  margin: 0;
  color:#64748b;
  line-height:1.45;
}
.aop-module-statements .aop-released-statement-head > strong{
  display:grid;
  gap:4px;
  justify-items:end;
  color:#0d7899;
  font-size:18px;
  white-space:nowrap;
}
.aop-module-statements .aop-released-statement-head > strong small{
  display:block;
  color:#64748b;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.aop-module-statements .aop-float-statement-summary.is-portal{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.aop-module-statements .aop-float-statement-summary.is-portal > div{
  min-width:0;
  border:1px solid #dce8f0;
  background:#f8fcff;
  border-radius:15px;
  padding:12px;
}
.aop-module-statements .aop-float-statement-summary.is-portal span{
  display:block;
  margin-bottom:6px;
  color:#64748b;
  font-size:10px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.aop-module-statements .aop-float-statement-summary.is-portal strong{
  color:#0f172a;
  font-size:15px;
}
.aop-module-statements .aop-released-statement-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
}
.aop-module-statements .aop-released-statement-actions .aop-btn-primary{
  min-width:150px;
}
.aop-module-statements .aop-released-statement-actions .aop-btn-ghost{
  margin-left:auto;
}
.aop-module-statements .aop-customer-float-statements.is-archive .aop-panel-head{
  align-items:flex-start;
}
.aop-module-statements .aop-customer-float-statements.is-archive .aop-panel-head > div{
  min-width:0;
}

/* Settings / Setup utility polish */
.aop-module-staff-setup .aop-readiness-console .aop-panel-head{
  align-items:flex-start;
}
.aop-module-staff-setup .aop-readiness-list.is-console{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.aop-module-staff-setup .aop-readiness-list.is-console>div{
  padding:14px 14px 14px 42px;
  min-height:74px;
}
.aop-module-staff-setup .aop-readiness-list.is-console>div span{
  display:block;
  border:1px solid #dce8f0;
  background:#f8fcff;
  border-radius:14px;
  padding:8px 10px;
  color:#64748b;
  font-size:12px;
  line-height:1.35;
}
.aop-module-staff-setup .aop-quick-links{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
.aop-module-staff-setup .aop-quick-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(31,169,208,.18);
  background:linear-gradient(135deg,#f8fcff,#fff);
  border-radius:16px;
  padding:14px 16px;
  min-height:58px;
  box-shadow:0 10px 24px rgba(15,23,42,.045);
}
.aop-module-staff-setup .aop-quick-links a strong{
  color:#101936;
  font-size:13px;
}
.aop-module-staff-setup .aop-quick-links a small{
  color:#0d7899;
  font-size:10px;
  font-weight:950;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.aop-module-staff-setup .aop-quick-links a:hover{
  transform:translateY(-1px);
  border-color:rgba(31,169,208,.36);
}
.aop-module-staff-setup .aop-panel .aop-btn-secondary[href*="aop-dashboard"]{
  background:#f8fcff;
  color:#0d7899;
  box-shadow:none;
}

/* Data Intelligence layout recovery */
.aop-module-staff-data-intelligence .aop-admin-data-intelligence{
  grid-template-columns:minmax(0,1.55fr) minmax(360px,.75fr);
  align-items:start;
}
.aop-module-staff-data-intelligence .aop-admin-data-intelligence .aop-form.aop-panel{
  padding:20px;
}
.aop-module-staff-data-intelligence .aop-admin-data-intelligence .aop-form-grid.two{
  gap:13px;
}
.aop-module-staff-data-intelligence .aop-admin-data-intelligence textarea{
  min-height:96px;
}
.aop-module-staff-data-intelligence .aop-readiness-list{
  gap:10px;
}
.aop-module-staff-data-intelligence .aop-readiness-list>div{
  padding:13px;
}
.aop-module-staff-data-intelligence .aop-readiness-list>div span{
  line-height:1.35;
}
.aop-module-staff-data-intelligence .aop-dl{
  grid-template-columns:120px minmax(0,1fr);
  gap:10px 16px;
}
.aop-module-staff-data-intelligence .aop-di-future-panel{
  background:rgba(255,255,255,.72);
}
.aop-module-staff-data-intelligence .aop-di-future-panel .aop-mini-card{
  background:#f8fcff;
  box-shadow:none;
}

/* Support Queue layout recovery */
.aop-module-staff-support .aop-staffops-control-strip{
  padding:12px 14px;
  grid-template-columns:minmax(240px,1fr) repeat(3,minmax(180px,240px));
  gap:12px;
}
.aop-module-staff-support .aop-staffops-control-strip > div{
  opacity:.78;
}
.aop-module-staff-support .aop-staffops-control-strip .aop-eyebrow{
  display:none;
}
.aop-module-staff-support .aop-staffops-control-strip > a{
  min-height:58px;
}
.aop-module-staff-support .aop-support-queue-board{
  gap:12px;
}
.aop-module-staff-support .aop-support-ticket-list{
  gap:10px;
}
.aop-module-staff-support .aop-support-ticket-row{
  grid-template-columns:minmax(260px,1fr) minmax(310px,.85fr) auto;
  padding:14px;
  align-items:center;
}
.aop-module-staff-support .aop-support-ticket-row h3{
  margin:2px 0 4px;
}
.aop-module-staff-support .aop-support-ticket-meta span{
  background:#f8fcff;
}
.aop-module-staff-support .aop-row-actions .aop-chip{
  background:#f1f5f9;
  color:#64748b;
}
.aop-module-staff-support .aop-row-actions .aop-btn-ghost{
  opacity:.72;
  box-shadow:none;
}
.aop-module-staff-support .aop-row-actions .aop-btn-ghost:hover{
  opacity:1;
}

@media (min-width: 1700px){
  .aop-module-staff-data-intelligence .aop-admin-data-intelligence{
    grid-template-columns:minmax(0,1.7fr) minmax(420px,.7fr);
  }
}
@media (max-width: 1180px){
  .aop-module-staff-data-intelligence .aop-admin-data-intelligence,
  .aop-module-staff-support .aop-staffops-control-strip{
    grid-template-columns:1fr !important;
  }
  .aop-module-staff-setup .aop-readiness-list.is-console,
  .aop-module-staff-setup .aop-quick-links{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .aop-module-staff-support .aop-support-ticket-row{
    grid-template-columns:1fr;
  }
  .aop-module-staff-support .aop-support-ticket-row .aop-row-actions{
    justify-content:flex-start;
  }
}
@media (max-width: 760px){
  .aop-app{
    --aop-page-gutter: 14px;
  }
  .aop-module-statements .aop-released-statement-head{
    display:grid;
  }
  .aop-module-statements .aop-released-statement-head > strong{
    justify-items:start;
  }
  .aop-module-statements .aop-float-statement-summary.is-portal,
  .aop-module-staff-setup .aop-readiness-list.is-console,
  .aop-module-staff-setup .aop-quick-links,
  .aop-module-staff-data-intelligence .aop-dl{
    grid-template-columns:1fr !important;
  }
  .aop-module-statements .aop-released-statement-actions .aop-btn,
  .aop-module-statements .aop-released-statement-actions .aop-btn-ghost{
    width:100%;
    margin-left:0;
  }
}

/* v0.12.2.7.3 — portal-side record edit recovery */
.aop-page-record-cards{
  margin-top:18px;
  margin-bottom:18px;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
.aop-page-record-cards .aop-stat{
  min-height:92px;
}
.aop-record-control-panel .aop-panel-head,
.aop-support-queue-board .aop-panel-head{
  align-items:center;
}
.aop-record-filterbar{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(150px,220px) minmax(150px,220px) auto auto;
  align-items:end;
  gap:10px;
  margin:12px 0 14px;
  padding:12px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:18px;
  background:linear-gradient(180deg,#fbfdff 0%,#f4f9fd 100%);
}
.aop-record-filterbar .aop-inline-search,
.aop-record-filterbar select{
  width:100%;
  min-height:40px;
}
.aop-record-table-wrap{
  border:1px solid rgba(148,163,184,.24);
  border-radius:18px;
  overflow:auto;
}
.aop-record-table-wrap .aop-table th{
  position:sticky;
  top:0;
  z-index:2;
}
.aop-record-admin-table td:last-child,
.aop-record-admin-table th:last-child{
  text-align:right;
  white-space:nowrap;
}
.aop-record-admin-table .aop-btn-small{
  min-height:34px;
  padding-inline:14px;
}
.aop-record-modal-body .aop-sectioned-form{
  display:grid;
  gap:14px;
}
.aop-record-modal-body .aop-form-section{
  background:#fff;
}
.aop-record-modal-body .aop-form-actions{
  position:sticky;
  bottom:0;
  z-index:5;
  margin:8px -4px -4px;
  padding:14px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:18px;
  background:rgba(255,255,255,.96);
  box-shadow:0 -10px 24px rgba(15,23,42,.06);
}
.aop-record-modal-body .aop-form-actions .aop-btn-primary{
  min-width:180px;
}
.aop-support-ticket-row .aop-row-actions .aop-btn-primary{
  min-width:120px;
}
@media (max-width:900px){
  .aop-record-filterbar{grid-template-columns:1fr;}
  .aop-record-filterbar .aop-btn{width:100%;justify-content:center;}
}


/* v0.12.2.7.4 — modal action bar recovery for catalogue/supplier setup popups */
.aop-portal-tabs button{
  appearance:none;
  border:1px solid rgba(20,32,72,.12)!important;
  border-radius:15px!important;
  background:#fff!important;
  color:#17213e!important;
  padding:10px 16px!important;
  font:inherit;
  font-weight:850!important;
  line-height:1!important;
  cursor:pointer;
  box-shadow:none!important;
}
.aop-portal-tabs button:hover,
.aop-portal-tabs button:focus-visible{
  border-color:rgba(31,169,208,.38)!important;
  background:#eefaff!important;
  color:#075f79!important;
  outline:none;
}
.aop-record-modal .aop-record-dialog{
  position:relative!important;
  max-height:min(92vh,980px)!important;
  display:flex!important;
  flex-direction:column!important;
}
.aop-record-modal-body{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:auto!important;
  padding-bottom:104px!important;
}
.aop-record-modal-body .aop-sectioned-form,
.aop-record-modal-body .aop-form.aop-panel{
  position:static!important;
}
.aop-record-modal-body .aop-form-actions{
  position:absolute!important;
  left:22px!important;
  right:22px!important;
  bottom:16px!important;
  z-index:20!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
  padding:14px 16px!important;
  border:1px solid rgba(148,163,184,.24)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 -14px 34px rgba(15,23,42,.12)!important;
  backdrop-filter:blur(10px);
}
.aop-record-modal-body .aop-form-actions .aop-btn-secondary{
  background:#eef8fb!important;
  color:#0b5570!important;
  border-color:rgba(31,169,208,.18)!important;
  box-shadow:none!important;
}
.aop-record-modal-body .aop-form-section{
  padding:14px!important;
  margin-bottom:12px!important;
}
.aop-record-modal-body textarea[rows="4"]{min-height:104px!important;}
.aop-record-modal-body textarea[rows="3"]{min-height:88px!important;}
@media(max-width:720px){
  .aop-record-modal-body{padding-bottom:122px!important;}
  .aop-record-modal-body .aop-form-actions{left:14px!important;right:14px!important;bottom:12px!important;display:grid!important;}
  .aop-record-modal-body .aop-form-actions .aop-btn{width:100%!important;justify-content:center!important;}
}


/* v0.12.2.7.5 — Finance & Float layout polish */
.aop-module-staff-finance .aop-page-record-cards .aop-stat:nth-child(4){
  background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(248,252,255,.72))!important;
  box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
}
.aop-module-staff-finance .aop-admin-portal-finance{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr)!important;
  gap:18px!important;
  align-items:stretch!important;
  margin-top:14px!important;
  margin-bottom:16px!important;
}
.aop-module-staff-finance .aop-admin-portal-finance .aop-panel{
  min-height:0!important;
}
.aop-module-staff-finance .aop-action-drawer-launch.is-finance{
  min-height:116px;
  padding:16px 18px!important;
}
.aop-module-staff-finance .aop-action-drawer-launch.is-finance p{
  max-width:760px;
}
.aop-module-staff-finance .aop-admin-portal-finance .aop-action-list{
  display:grid;
  gap:10px;
}
.aop-module-staff-finance .aop-admin-portal-finance .aop-action-list a{
  min-height:58px;
  border-radius:18px;
  background:linear-gradient(135deg,#fff,#f8fcff);
}
.aop-module-staff-finance .aop-finance-records-panel{
  margin-top:10px!important;
}
.aop-module-staff-finance .aop-float-filterbar{
  grid-template-columns:minmax(260px,1fr) minmax(130px,170px) minmax(150px,190px) minmax(140px,180px) auto auto;
}
.aop-module-staff-finance .aop-record-table-wrap{
  max-height:min(68vh,760px);
  scrollbar-gutter:stable;
}
.aop-module-staff-finance .aop-record-admin-table td,
.aop-module-staff-finance .aop-record-admin-table th{
  vertical-align:middle;
}
.aop-module-staff-finance .aop-float-type-cell{
  max-width:360px;
}
.aop-module-staff-finance .aop-float-type-cell strong{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.35;
}
.aop-module-staff-finance .aop-money-credit,
.aop-module-staff-finance .aop-money-debit{
  white-space:nowrap;
  font-weight:900;
}
.aop-module-staff-finance .aop-record-admin-table .aop-chip{
  min-width:44px;
  justify-content:center;
}
.aop-module-staff-finance .aop-record-admin-table .aop-btn-small{
  min-width:76px;
}
@media(max-width:1180px){
  .aop-module-staff-finance .aop-admin-portal-finance,
  .aop-module-staff-finance .aop-float-filterbar{
    grid-template-columns:1fr!important;
  }
  .aop-module-staff-finance .aop-float-filterbar .aop-btn{
    width:100%;
    justify-content:center;
  }
}


/* v0.12.2.7.6 — Customer Dashboard Layout Polish */
.aop-module-dashboard .aop-data-context-card{
  display:none!important;
}
.aop-module-dashboard .aop-dashboard-command-stats{
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: clamp(12px, 1.1vw, 18px);
}
.aop-module-dashboard .aop-customer-command-grid{
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: clamp(12px, 1vw, 18px);
  margin: 14px 0 18px;
}
.aop-module-dashboard .aop-command-tile{
  min-height: 104px;
  padding: 16px 18px;
}
.aop-module-dashboard .aop-dashboard-lower-grid{
  display:grid!important;
  grid-template-columns: minmax(760px, 1fr) minmax(360px, 430px)!important;
  gap: clamp(18px, 1.6vw, 26px)!important;
  align-items:start;
  margin-top: 16px!important;
}
.aop-module-dashboard .aop-dashboard-recent-orders{
  min-width:0;
}
.aop-module-dashboard .aop-dashboard-recent-orders .aop-table-wrap{
  max-height: none;
}
.aop-module-dashboard .aop-dashboard-recent-orders .aop-table{
  min-width: 860px;
}
.aop-module-dashboard .aop-action-board-panel{
  width:100%;
  max-width: 430px;
  justify-self: stretch;
  box-shadow: 0 18px 46px rgba(15,23,42,.14);
}
.aop-module-dashboard .aop-action-board-panel .aop-action-list{
  gap: 10px;
}
.aop-module-dashboard .aop-action-board-panel .aop-action-list a{
  padding: 13px 14px;
}
.aop-module-dashboard .aop-action-board-panel .aop-action-list small{
  font-size: 12px!important;
  line-height: 1.35!important;
}
.aop-module-dashboard .aop-action-board-panel .aop-mini-list button{
  min-height: 32px;
}
@media (min-width: 1700px){
  .aop-module-dashboard .aop-dashboard-lower-grid{
    grid-template-columns: minmax(880px, 1fr) minmax(390px, 450px)!important;
  }
  .aop-module-dashboard .aop-action-board-panel{
    max-width:450px;
  }
}
@media (max-width: 1220px){
  .aop-module-dashboard .aop-dashboard-command-stats,
  .aop-module-dashboard .aop-customer-command-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aop-module-dashboard .aop-dashboard-lower-grid{
    grid-template-columns: 1fr!important;
  }
  .aop-module-dashboard .aop-action-board-panel{
    max-width:none;
  }
}
@media (max-width: 720px){
  .aop-module-dashboard .aop-dashboard-command-stats,
  .aop-module-dashboard .aop-customer-command-grid{
    grid-template-columns: 1fr;
  }
}


/* v0.12.2.7.6.1 — Dashboard Grid Correction Hotfix
   Dashboard-only correction after wide-screen recovery: keep the debug strip removed,
   but make the dashboard internals feel like one command centre rather than floating blocks. */
.aop-module-dashboard .aop-customer-command-grid{
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(10px, .9vw, 14px) !important;
  margin: 14px 0 14px !important;
  padding: clamp(10px, .9vw, 14px) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.54) !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  box-shadow: 0 16px 38px rgba(15,23,42,.06) !important;
}
.aop-module-dashboard .aop-command-tile{
  min-height: 92px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}
.aop-module-dashboard .aop-command-tile span{
  width: 28px !important;
  height: 28px !important;
  border-radius: 10px !important;
}
.aop-module-dashboard .aop-command-tile small{
  max-width: 48rem;
  font-size: 12px !important;
  line-height: 1.38 !important;
}
.aop-module-dashboard .aop-dashboard-lower-grid{
  display: grid !important;
  grid-template-columns: minmax(0, 2.25fr) minmax(340px, .82fr) !important;
  gap: clamp(18px, 1.25vw, 24px) !important;
  align-items: start !important;
  width: min(100%, 1480px) !important;
  max-width: 1480px !important;
  margin: 12px auto 0 !important;
}
.aop-module-dashboard .aop-dashboard-recent-orders{
  width: 100% !important;
  min-width: 0 !important;
}
.aop-module-dashboard .aop-dashboard-recent-orders .aop-table-wrap{
  max-height: none !important;
  overflow-x: auto !important;
}
.aop-module-dashboard .aop-dashboard-recent-orders .aop-table{
  min-width: 760px !important;
}
.aop-module-dashboard .aop-action-board-panel{
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
}
.aop-module-dashboard .aop-action-board-panel .aop-panel-head{
  margin-bottom: 10px !important;
}
.aop-module-dashboard .aop-action-board-panel .aop-action-list a{
  padding: 12px 13px !important;
}
.aop-module-dashboard .aop-action-board-panel .aop-mini-list button{
  min-height: 30px !important;
}
@media (min-width: 1700px){
  .aop-module-dashboard .aop-dashboard-lower-grid{
    grid-template-columns: minmax(0, 2.35fr) minmax(360px, .85fr) !important;
    width: min(100%, 1520px) !important;
    max-width: 1520px !important;
  }
}
@media (max-width: 1280px){
  .aop-module-dashboard .aop-dashboard-lower-grid{
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, .8fr) !important;
  }
}
@media (max-width: 1040px){
  .aop-module-dashboard .aop-dashboard-command-stats,
  .aop-module-dashboard .aop-customer-command-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .aop-module-dashboard .aop-dashboard-lower-grid{
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 680px){
  .aop-module-dashboard .aop-dashboard-command-stats,
  .aop-module-dashboard .aop-customer-command-grid{
    grid-template-columns: 1fr !important;
  }
}


/* v0.12.2.7.6.2 — Dashboard Lower Board Responsive Width Fix
   Corrects the v0.12.2.7.6.1 recovery where Recent Orders + Customer Actions were grouped
   correctly but still constrained inside a centred/narrow inner wrapper. Keep the relationship,
   but let the lower dashboard board use the same responsive app width as the hero/stats/actions. */
.aop-module-dashboard .aop-dashboard-lower-grid{
  width: 100% !important;
  max-width: none !important;
  margin: 12px 0 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 26vw, 440px) !important;
  gap: clamp(18px, 1.25vw, 24px) !important;
  align-items: start !important;
}
.aop-module-dashboard .aop-dashboard-recent-orders{
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}
.aop-module-dashboard .aop-action-board-panel{
  width: 100% !important;
  max-width: 440px !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}
.aop-module-dashboard .aop-dashboard-recent-orders .aop-table-wrap{
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
}
@media (min-width: 1800px){
  .aop-module-dashboard .aop-dashboard-lower-grid{
    grid-template-columns: minmax(0, 1fr) 450px !important;
  }
  .aop-module-dashboard .aop-action-board-panel{
    max-width: 450px !important;
  }
}
@media (max-width: 1180px){
  .aop-module-dashboard .aop-dashboard-lower-grid{
    grid-template-columns: 1fr !important;
  }
  .aop-module-dashboard .aop-action-board-panel{
    max-width: none !important;
  }
}


/* v0.12.2.7.6.3 — Portal Admin Edit Routing + Responsive Form Polish
   Narrow recovery patch: record edit routing is handled in PHP/JS; CSS below focuses on modal contrast,
   filter control consistency, flexible portal cards and staff finance/data-intelligence responsiveness. */
.aop-record-modal .aop-record-dialog{
  width:min(1360px, calc(100vw - 42px))!important;
}
.aop-record-modal-body{
  background:linear-gradient(180deg,#f4f8fc 0%,#eef5f9 100%)!important;
}
.aop-record-modal-body .aop-form-section{
  background:linear-gradient(180deg,#f7f9fc 0%,#f1f6fa 100%)!important;
  border:1px solid rgba(148,163,184,.32)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84),0 10px 24px rgba(15,23,42,.045)!important;
  padding:18px!important;
  margin-bottom:14px!important;
}
.aop-record-modal-body .aop-form-section h3{
  color:#101936!important;
  margin-bottom:14px!important;
}
.aop-record-modal-body .aop-form-section label,
.aop-record-modal-body .aop-form label,
.aop-module-staff-finance .aop-finance-customer-filter label{
  display:grid!important;
  gap:7px!important;
  min-width:0!important;
  color:#17213e!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.aop-record-modal-body input,
.aop-record-modal-body select,
.aop-record-modal-body textarea,
.aop-record-filterbar .aop-inline-search,
.aop-record-filterbar select,
.aop-module-staff-finance .aop-finance-customer-filter select{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  min-height:42px!important;
  border:1px solid rgba(148,163,184,.34)!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0f172a!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.035)!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  font-weight:650!important;
}
.aop-record-modal-body textarea{
  line-height:1.45!important;
  resize:vertical!important;
}
.aop-record-modal-body .aop-form-grid,
.aop-record-modal-body .aop-form-grid.two,
.aop-record-modal-body .aop-form-grid.three,
.aop-record-modal-body .aop-form-grid.four{
  display:grid!important;
  gap:14px 16px!important;
  align-items:start!important;
}
.aop-record-modal-body .aop-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.aop-record-modal-body .aop-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.aop-record-modal-body .aop-form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.aop-record-modal-body .aop-form-actions{
  background:rgba(255,255,255,.98)!important;
  border-color:rgba(148,163,184,.34)!important;
}
.aop-module-staff-finance > .aop-admin-portal-finance,
.aop-module-staff-data-intelligence > .aop-admin-data-intelligence,
.aop-module-profile > .aop-profile-page-grid,
.aop-module-airline-profile > .aop-airline-profile-page,
.aop-module-support > .aop-support-polished-layout{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
.aop-module-staff-finance .aop-admin-portal-finance{
  grid-template-columns:minmax(0,1fr) minmax(300px,420px)!important;
  align-items:stretch!important;
}
.aop-module-staff-finance .aop-action-drawer-launch.is-finance{
  width:100%!important;
  min-width:0!important;
  justify-self:stretch!important;
}
.aop-module-staff-finance .aop-customer-balance-selector{
  min-width:0!important;
}
.aop-module-staff-finance .aop-finance-customer-filter{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:end!important;
  margin-top:12px!important;
}
.aop-module-staff-finance .aop-finance-customer-filter-actions{
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
  justify-content:flex-end!important;
}
.aop-module-staff-finance .aop-selected-balance-card{
  display:grid!important;
  gap:4px!important;
  margin-top:12px!important;
  padding:13px 14px!important;
  border-radius:16px!important;
  border:1px solid rgba(31,169,208,.22)!important;
  background:linear-gradient(135deg,#eefaff,#fff)!important;
}
.aop-module-staff-finance .aop-selected-balance-card span{
  color:#087fa3!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
.aop-module-staff-finance .aop-selected-balance-card strong{color:#0f172a!important;}
.aop-module-staff-finance .aop-selected-balance-card small{color:#64748b!important;}
.aop-record-filterbar select,
.aop-module-staff-finance .aop-float-filterbar select{
  appearance:auto!important;
  padding:0 12px!important;
}
.aop-record-filterbar .aop-inline-search,
.aop-record-filterbar select{
  min-height:44px!important;
}
.aop-module-staff-data-intelligence .aop-admin-data-intelligence{
  grid-template-columns:minmax(0,1fr) minmax(340px,520px)!important;
  gap:22px!important;
}
.aop-module-staff-data-intelligence .aop-admin-data-intelligence > .aop-form,
.aop-module-staff-data-intelligence .aop-admin-data-intelligence > .aop-panel{
  width:100%!important;
  min-width:0!important;
}
.aop-module-staff-data-intelligence > .aop-panel,
.aop-module-staff-data-intelligence .aop-di-future-panel{
  margin-top:22px!important;
}
.aop-module-airline-profile .aop-airline-top-row,
.aop-module-airline-profile .aop-airline-info-row,
.aop-module-airline-profile .aop-airline-commercial-row,
.aop-module-airline-profile .aop-airline-export-row{
  width:100%!important;
  min-width:0!important;
}
.aop-module-airline-profile .aop-airline-info-row{
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important;
}
.aop-module-airline-profile .aop-airline-top-row,
.aop-module-airline-profile .aop-airline-commercial-row,
.aop-module-airline-profile .aop-airline-export-row{
  grid-template-columns:minmax(0,1fr) minmax(320px,.52fr)!important;
}
.aop-module-airline-profile .aop-panel,
.aop-module-profile .aop-panel,
.aop-module-support .aop-panel{
  min-width:0!important;
}
.aop-module-profile .aop-profile-page-grid{
  grid-template-columns:minmax(360px,1.2fr) minmax(320px,.85fr) minmax(300px,.75fr)!important;
  align-items:stretch!important;
}
.aop-module-profile .aop-profile-modules-card{
  grid-column:span 2!important;
}
.aop-module-support .aop-support-polished-layout{
  grid-template-columns:minmax(0,1fr) clamp(360px,28vw,460px)!important;
  gap:clamp(18px,2vw,30px)!important;
  align-items:start!important;
}
.aop-module-support .aop-support-routes-panel,
.aop-module-support .aop-support-form{
  width:100%!important;
  min-width:0!important;
}
@media(max-width:1180px){
  .aop-record-modal-body .aop-form-grid.three,
  .aop-record-modal-body .aop-form-grid.four{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .aop-module-staff-finance .aop-admin-portal-finance,
  .aop-module-staff-data-intelligence .aop-admin-data-intelligence,
  .aop-module-airline-profile .aop-airline-top-row,
  .aop-module-airline-profile .aop-airline-commercial-row,
  .aop-module-airline-profile .aop-airline-export-row,
  .aop-module-support .aop-support-polished-layout{
    grid-template-columns:1fr!important;
  }
  .aop-module-profile .aop-profile-page-grid{
    grid-template-columns:1fr 1fr!important;
  }
  .aop-module-profile .aop-profile-modules-card{
    grid-column:span 1!important;
  }
}
@media(max-width:760px){
  .aop-record-modal .aop-record-dialog{width:calc(100vw - 18px)!important;}
  .aop-record-modal-body .aop-form-grid,
  .aop-record-modal-body .aop-form-grid.two,
  .aop-record-modal-body .aop-form-grid.three,
  .aop-record-modal-body .aop-form-grid.four,
  .aop-module-staff-finance .aop-finance-customer-filter,
  .aop-module-profile .aop-profile-page-grid,
  .aop-module-airline-profile .aop-airline-info-row{
    grid-template-columns:1fr!important;
  }
  .aop-module-staff-finance .aop-finance-customer-filter-actions{
    justify-content:stretch!important;
    display:grid!important;
    grid-template-columns:1fr!important;
  }
}
.aop-record-modal-body .aop-customer-checkbox-grid label,
.aop-record-modal-body .aop-module-checkbox-grid label{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  font-size:12px!important;
  font-weight:750!important;
}
.aop-record-modal-body .aop-customer-checkbox-grid input,
.aop-record-modal-body .aop-module-checkbox-grid input{
  width:auto!important;
  min-height:0!important;
  box-shadow:none!important;
}
