
/* STLBEAST Main V437 — Admin command palette, health ribbons, and GUI polish */

.stlb437-admin-search-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
}

.stlb437-admin-search{
  flex:1;
  min-height:48px;
  border-radius:17px;
  border:1px solid rgba(103,232,249,.20);
  background:linear-gradient(180deg,rgba(7,17,32,.92),rgba(3,7,16,.94));
  color:#fff;
  padding:0 15px;
  font-weight:850;
  outline:none;
  box-shadow:0 14px 40px rgba(0,0,0,.18);
}

.stlb437-admin-search:focus{
  border-color:rgba(103,232,249,.46);
  box-shadow:0 0 0 4px rgba(14,165,233,.12),0 18px 48px rgba(0,0,0,.22);
}

.stlb437-mini-ribbon{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.stlb437-ribbon-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(103,232,249,.16);
  background:rgba(255,255,255,.045);
  color:#d8e7f7;
  font-size:.8rem;
  font-weight:950;
}

.stlb437-ribbon-pill.good{border-color:rgba(34,197,94,.28);color:#bbf7d0;background:rgba(22,101,52,.16)}
.stlb437-ribbon-pill.warn{border-color:rgba(251,191,36,.30);color:#fde68a;background:rgba(113,63,18,.18)}
.stlb437-ribbon-pill.bad{border-color:rgba(248,113,113,.30);color:#fecaca;background:rgba(127,29,29,.18)}

.stlb437-command-button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:8px 11px;
  border-radius:13px;
  color:#fff;
  background:linear-gradient(135deg,rgba(14,165,233,.88),rgba(124,58,237,.84));
  border:1px solid rgba(125,211,252,.25);
  font-weight:950;
  cursor:pointer;
}

.stlb437-command-button span{
  display:inline-grid;
  place-items:center;
  min-width:34px;
  height:24px;
  padding:0 6px;
  border-radius:8px;
  color:#06111f;
  background:#dff9ff;
  font-size:.74rem;
  font-weight:1000;
}

.stlb437-palette{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}

.stlb437-palette.is-open{
  display:block;
}

.stlb437-palette-backdrop{
  position:absolute;
  inset:0;
  background:rgba(1,4,11,.74);
  backdrop-filter:blur(10px);
}

.stlb437-palette-modal{
  position:relative;
  width:min(760px,calc(100vw - 28px));
  margin:9vh auto 0;
  border-radius:26px;
  border:1px solid rgba(103,232,249,.22);
  background:
    radial-gradient(circle at 20% 0%,rgba(14,165,233,.16),transparent 32%),
    linear-gradient(180deg,rgba(9,18,34,.98),rgba(3,7,16,.99));
  box-shadow:0 34px 120px rgba(0,0,0,.62);
  padding:16px;
  color:#eaf6ff;
}

.stlb437-palette-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:3px 4px 12px;
}

.stlb437-palette-head b{
  color:#fff;
  font-size:1.05rem;
}

.stlb437-palette-head button{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(103,232,249,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:1.35rem;
  cursor:pointer;
}

#stlb437-palette-input{
  width:100%;
  min-height:54px;
  border-radius:18px;
  border:1px solid rgba(103,232,249,.22);
  background:#071120;
  color:#fff;
  font-weight:900;
  padding:0 15px;
  outline:none;
}

.stlb437-palette-results{
  display:grid;
  gap:8px;
  margin-top:12px;
  max-height:52vh;
  overflow:auto;
}

.stlb437-palette-results a{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr) auto;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(103,232,249,.12);
  background:rgba(255,255,255,.045);
  text-decoration:none;
}

.stlb437-palette-results a:hover{
  border-color:rgba(103,232,249,.36);
  background:rgba(14,165,233,.10);
}

.stlb437-palette-results b{
  color:#fff;
}

.stlb437-palette-results span{
  color:#a8bdd7;
  font-size:.86rem;
}

.stlb437-palette-results em{
  color:#67e8f9;
  font-style:normal;
  font-weight:1000;
}

.stlb437-palette-help{
  margin:12px 4px 0;
  color:#93a8c2;
  font-size:.84rem;
}

.stlb437-palette-help kbd{
  display:inline-grid;
  place-items:center;
  min-width:24px;
  height:22px;
  padding:0 6px;
  border-radius:7px;
  color:#eaf6ff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(103,232,249,.14);
}

.stlb437-empty{
  padding:14px;
  color:#a8bdd7;
}

.stlb437-density-compact .stlb428-panel{
  margin-bottom:12px;
}

.stlb437-density-compact .stlb436-command-tile{
  min-height:112px;
}

@media(max-width:760px){
  .stlb437-admin-search-row{
    display:grid;
  }
  .stlb437-palette-modal{
    margin-top:4vh;
  }
  .stlb437-palette-results a{
    grid-template-columns:1fr;
    gap:5px;
  }
}
