/* AetherA Platform Frontend V0.9.4
 * Additive layer only.
 * SAFE2 / SAFE5 remain untouched.
 */

.a94-panel{
  margin-top:16px;
  padding:18px;
  border:1px solid #203754;
  border-radius:14px;
  background:linear-gradient(180deg,#0d2037,#0a1729);
}

.a94-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.a94-title{
  font-size:19px;
  font-weight:850;
}

.a94-sub{
  margin-top:4px;
  color:#9db0c5;
  font-size:12px;
}

.a94-badge{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border:1px solid #1c765b;
  border-radius:999px;
  color:#43e2a8;
  font-size:11px;
}

.a94-lock{
  border-color:#8a692c;
  color:#ffc75f;
}

.a94-stats{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:15px;
}

.a94-stat{
  padding:13px;
  border:1px solid #203754;
  border-radius:11px;
  background:#09192b;
}

.a94-stat small{
  display:block;
  color:#8ea6bf;
  font-size:10px;
}

.a94-stat strong{
  display:block;
  margin-top:6px;
  font-size:19px;
}

.a94-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:15px;
}

.a94-btn{
  padding:11px 12px;
  border:1px solid #34577e;
  border-radius:9px;
  background:#102a47;
  color:#fff;
  cursor:pointer;
  text-align:left;
}

.a94-btn:hover{
  border-color:#29d4ff;
}

.a94-btn small{
  display:block;
  margin-top:4px;
  color:#9db0c5;
}

.a94-cycle{
  margin-top:14px;
}

.a94-cycle label{
  display:block;
  margin-bottom:5px;
  color:#9db0c5;
  font-size:11px;
}

.a94-cycle input{
  width:100%;
  max-width:480px;
  padding:10px;
  border:1px solid #2a4666;
  border-radius:8px;
  background:#081522;
  color:#fff;
}

.a94-result{
  margin-top:14px;
  border:1px solid #203754;
  border-radius:10px;
  overflow:hidden;
}

.a94-result-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  background:#0d2037;
}

.a94-result-body{
  padding:12px;
  overflow:auto;
}

.a94-result pre{
  margin:0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
  color:#d9e9f8;
}

.a94-ok{
  color:#43e2a8;
}

.a94-error{
  color:#ff7272;
}

.a94-module-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:14px;
}

.a94-module{
  padding:9px 10px;
  border:1px solid #1a3049;
  border-radius:9px;
  background:#091827;
}

.a94-module b{
  display:block;
  font-size:12px;
}

.a94-module small{
  color:#8ea6bf;
  font-size:10px;
}

.a94-toolbar{
  margin-top:12px;
}

@media(max-width:1100px){
  .a94-stats,
  .a94-actions,
  .a94-module-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .a94-stats,
  .a94-actions,
  .a94-module-list{
    grid-template-columns:1fr;
  }
}

/* V094 functional enhancement for SAFE2 status cards */

#a92ModuleView .a92-card[data-a94-info]{
  cursor:pointer;
  transition:
    transform .12s ease,
    border-color .12s ease,
    background .12s ease;
}

#a92ModuleView .a92-card[data-a94-info]:hover{
  transform:translateY(-2px);
  border-color:#29d4ff;
  background:#0d2741;
}

#a92ModuleView .a92-card[data-a94-info]:focus{
  outline:2px solid #29d4ff;
  outline-offset:2px;
}

#a92ModuleView .a92-pill[data-a92-module]{
  cursor:pointer;
  transition:
    border-color .12s ease,
    background .12s ease;
}

#a92ModuleView .a92-pill[data-a92-module]:hover{
  border-color:#29d4ff;
  background:#102a47;
}

.a94-module-detail{
  margin-top:16px;
}
