/* Executive Dashboard - isolated admin surface */
.exec-dashboard{
  margin:0 0 28px;
  padding:20px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:
    linear-gradient(135deg,rgba(108,92,231,.16),rgba(0,184,148,.08) 42%,rgba(116,185,255,.08)),
    rgba(11,14,20,.82);
  box-shadow:0 18px 60px rgba(0,0,0,.35);
  overflow:hidden;
}
.exec-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(19,23,32,.76);
}
.exec-eyebrow{
  margin:0 0 6px;
  color:#55efc4;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.exec-hero h3{
  margin:0;
  font-size:26px;
  line-height:1.1;
}
.exec-subtitle{
  max-width:760px;
  margin:8px 0 0;
  color:var(--text2);
  font-size:14px;
}
.exec-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.exec-select,.exec-date,.exec-refresh{
  min-height:40px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:rgba(26,31,46,.95);
  color:var(--text);
  font:inherit;
  font-weight:700;
}
.exec-select{padding:0 12px;min-width:130px}
.exec-date{padding:0 10px;min-width:145px}
.exec-date.hidden{display:none}
.exec-refresh{
  padding:0 16px;
  cursor:pointer;
  background:linear-gradient(135deg,#00b894,#74b9ff);
  color:#061016;
}
.exec-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin:14px 2px 16px;
  color:var(--text3);
  font-size:12px;
  flex-wrap:wrap;
}
.exec-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:12px;
}
.exec-kpi{
  min-height:126px;
  padding:16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(19,23,32,.82);
  position:relative;
  overflow:hidden;
}
.exec-kpi:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:var(--kpi-color,#55efc4);
}
.exec-kpi-label{
  color:var(--text2);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.exec-kpi-value{
  margin-top:8px;
  font-size:28px;
  font-weight:800;
  line-height:1.1;
}
.exec-kpi-foot{
  margin-top:10px;
  color:var(--text3);
  font-size:12px;
}
.exec-section-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
.exec-section-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.exec-panel{
  min-width:0;
  padding:16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(19,23,32,.82);
  box-shadow:0 10px 36px rgba(0,0,0,.22);
}
.exec-panel-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
}
.exec-panel-head h4{
  margin:0;
  font-size:15px;
}
.exec-panel-head span{
  color:var(--text3);
  font-size:11px;
  white-space:nowrap;
}
.exec-chart{min-height:260px}
.exec-chart.small{min-height:225px}
.exec-provider-list,.exec-alert-list,.exec-log-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.exec-provider,.exec-alert,.exec-log{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
  background:rgba(26,31,46,.74);
}
.exec-provider-main,.exec-log-main{min-width:0}
.exec-provider-title,.exec-log-title{
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.exec-provider-sub,.exec-log-sub{
  margin-top:2px;
  color:var(--text3);
  font-size:11px;
}
.exec-status{
  flex:0 0 auto;
  padding:4px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
}
.exec-status.online{background:rgba(0,184,148,.16);color:#55efc4}
.exec-status.offline{background:rgba(255,107,107,.16);color:#ff7675}
.exec-alert{
  align-items:flex-start;
  justify-content:flex-start;
  border-left:3px solid var(--alert-color,#74b9ff);
}
.exec-alert strong{display:block;font-size:13px}
.exec-alert span{display:block;color:var(--text2);font-size:12px;margin-top:2px}
.exec-alert.danger{--alert-color:#ff6b6b}
.exec-alert.warning{--alert-color:#fdcb6e}
.exec-alert.info{--alert-color:#74b9ff}
.exec-alert.muted{--alert-color:#8b95a5}
.skeleton{
  background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.11),rgba(255,255,255,.05));
  background-size:220% 100%;
  animation:execSkeleton 1.4s ease-in-out infinite;
}
@keyframes execSkeleton{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media (max-width:1100px){
  .exec-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .exec-section-grid,.exec-section-grid.three{grid-template-columns:1fr}
}
@media (max-width:640px){
  .exec-dashboard{padding:12px;border-radius:14px}
  .exec-hero{flex-direction:column;padding:14px}
  .exec-hero h3{font-size:22px}
  .exec-actions,.exec-select,.exec-date,.exec-refresh{width:100%}
  .exec-kpi-grid{grid-template-columns:1fr}
  .exec-panel-head{flex-direction:column}
  .exec-panel-head span{white-space:normal}
}
