/* AEGEAN MANAGEMENT INTELLIGENCE LAYER v1.0.0
   Layout additions only. Approved production selectors remain untouched. */
.mi-view-body{display:grid;gap:18px;min-width:0}
.mi-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.mi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mi-stack{display:grid;gap:10px;margin-top:14px}
.mi-row{display:grid;gap:5px;width:100%;min-height:56px;padding:10px 0;border:0;border-top:1px solid rgba(255,255,255,.16);background:transparent;color:inherit;text-align:left;cursor:pointer}
.mi-row:first-child{border-top:0}.mi-row strong{font-size:14px}.mi-row span{font-size:12px;line-height:1.45;opacity:.88}
.mi-copy{font-size:15px;line-height:1.65;margin:16px 0 0}
.mi-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.mi-status strong{font-size:18px}
.mi-link{display:inline-flex;margin-top:14px;padding:0;border:0;background:transparent;color:inherit;font-size:10px;font-weight:900;letter-spacing:.06em;cursor:pointer;text-align:left}
.mi-group{margin-top:10px}.mi-tabs{display:flex;flex-wrap:wrap;gap:9px}.mi-tabs .mi-selected{font-weight:950;text-decoration:underline;text-underline-offset:4px}
.mi-ready{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.mi-ready .authorization-card{min-height:180px}
.mi-score{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.mi-score>div{min-height:112px;padding:16px;border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column;justify-content:center;gap:8px}.mi-score strong{font-size:26px;color:var(--navy)}.mi-score span{font-size:11px;color:var(--muted);font-weight:800;line-height:1.35}
.mi-portfolio{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mi-portfolio .kpi-card{text-align:left}.mi-hotel{font-size:21px!important;line-height:1.15}
@media(max-width:1180px){.mi-summary,.mi-ready,.mi-score{grid-template-columns:repeat(2,minmax(0,1fr))}.mi-portfolio{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.mi-summary,.mi-grid,.mi-ready,.mi-score{grid-template-columns:1fr}.mi-portfolio{grid-template-columns:1fr!important}}

/* Role priority cards need their own inner inset because the locked base action-card
   intentionally has zero outer padding for the source-gate workflow. */
.mi-role-action{grid-template-columns:1fr!important}
.mi-role-action>.mi-row{padding:16px 20px 16px 28px!important}

/* Locked Aegean visual contract for Management Intelligence-only surfaces.
   Reuses the current production navy/50% blue and cyan line tokens. */
#appView #hotelView .mi-portfolio .mi-portfolio-card,
#appView #hotelView .mi-role-inline .kpi-card,
#appView #hotelView .mi-role-inline .action-card{
  background:var(--v1202-blue,rgba(6,43,89,.50))!important;
  background-color:var(--v1202-blue,rgba(6,43,89,.50))!important;
  border:2px solid var(--v1202-line,rgba(99,199,244,.58))!important;
  color:#fff!important;
  box-shadow:0 14px 32px rgba(4,31,66,.18)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
#appView #hotelView .mi-portfolio .mi-portfolio-card *,
#appView #hotelView .mi-role-inline .kpi-card *,
#appView #hotelView .mi-role-inline .action-card *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
#appView #hotelView .mi-portfolio .mi-portfolio-card{
  text-align:left!important;
}
#appView #hotelView .mi-role-inline{
  display:grid;
  gap:18px;
  margin-top:18px;
}
#appView #hotelView .mi-role-inline>.section-head{
  background:var(--v1202-blue,rgba(6,43,89,.50))!important;
  background-color:var(--v1202-blue,rgba(6,43,89,.50))!important;
  border:2px solid var(--v1202-line,rgba(99,199,244,.58))!important;
  color:#fff!important;
}
#appView #hotelView .mi-role-inline>.section-head *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Locked Portfolio surface — explicit final contract. */
#appView #hotelView #portfolioOverviewView .mi-portfolio > .mi-portfolio-card{
  -webkit-appearance:none!important;
  appearance:none!important;
  background:rgba(6,43,89,.50)!important;
  background-color:rgba(6,43,89,.50)!important;
  background-image:none!important;
  border:2px solid rgba(99,199,244,.58)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 14px 32px rgba(4,31,66,.18)!important;
  opacity:1!important;
}
#appView #hotelView #portfolioOverviewView .mi-portfolio > .mi-portfolio-card :is(.label,.value,.trend,.state,.status,span,strong,div){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
#appView #hotelView #portfolioOverviewView .mi-portfolio > .mi-portfolio-card:hover,
#appView #hotelView #portfolioOverviewView .mi-portfolio > .mi-portfolio-card:focus{
  background:rgba(6,43,89,.62)!important;
  background-color:rgba(6,43,89,.62)!important;
  border-color:rgba(99,199,244,.82)!important;
}

