/* /panel UI - Dark + Orange */
.byehu-panel-wrap{
  padding: 36px 16px;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(255,122,26,.18), transparent 60%),
    radial-gradient(900px 600px at 80% 10%, rgba(0,160,255,.12), transparent 55%),
    linear-gradient(180deg, #070709, #0b0b0d 30%, #070709);
  color:#e9e9ef;
  min-height: calc(100vh - 80px);
}
.byehu-panel-card{
  max-width: 1060px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}
.byehu-panel-app{max-width:1180px;margin:0 auto}
.byehu-panel-topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
  margin-bottom: 14px;
}
.byehu-panel-brand{display:flex; align-items:center; gap:12px}
.byehu-title{letter-spacing:.8px}
.byehu-sub{color:#ff7a1a;letter-spacing:2.2px;font-size:11px;margin-top:2px}
.byehu-panel-muted{opacity:.7}
.byehu-panel-error{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,80,80,.35);
  background: rgba(255,80,80,.12);
}
.byehu-panel-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.byehu-panel-form label{display:flex;flex-direction:column;gap:6px;font-weight:700}
.byehu-panel-actions{display:flex; gap:10px; align-items:center}
.byehu-panel-filters{display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:12px}
.byehu-input{
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color:#e9e9ef;
  padding: 0 12px;
  outline:none;
}
.byehu-input::placeholder{color: rgba(233,233,239,.45)}
.byehu-select{
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color:#e9e9ef;
  padding: 0 10px;
  outline:none;
  min-width: 180px;
}
.byehu-textarea{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color:#e9e9ef;
  padding: 10px 12px;
  outline:none;
  width:100%;
  min-height: 90px;
}
.byehu-btn{
  height:44px;
  border-radius: 999px;
  padding: 0 16px;
  border:1px solid rgba(255,122,26,.35);
  background: rgba(255,122,26,.10);
  color:#e9e9ef;
  cursor:pointer;
  font-weight: 750;
  text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center;
}
.byehu-btn.primary{background: linear-gradient(180deg, #ff8d2f, #ff7a1a);border-color: rgba(255,122,26,.75);color:#111;}
.byehu-btn.ghost{border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.08);}
.byehu-table{width:100%;border-collapse:collapse}
.byehu-tablewrap{overflow:auto}
.byehu-table th{
  text-align:left;
  padding: 12px 10px;
  font-size: 12px;
  color: rgba(233,233,239,.75);
  border-bottom:1px solid rgba(255,255,255,.10);
  white-space:nowrap;
  background: rgba(0,0,0,.18);
}
.byehu-table td{
  padding: 12px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  vertical-align: middle;
  white-space:nowrap;
}
.byehu-muted{opacity:.7}
.mono{font-variant-numeric: tabular-nums; font-feature-settings:"tnum" 1}
.byehu-chip{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;font-weight:800;font-size:12px;border:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.04);}
.byehu-chip.blue{background: rgba(31,111,255,.16); border-color: rgba(31,111,255,.28)}
.byehu-chip.orange{background: rgba(255,138,31,.16); border-color: rgba(255,138,31,.28)}
.byehu-chip.green{background: rgba(25,180,90,.16); border-color: rgba(25,180,90,.28)}
.byehu-mini-link{color:#ffb07a;text-decoration:none;font-weight:800;margin-left:10px}
.byehu-mini-link.danger{color:#ff6b6b}
.byehu-modal{
  position:fixed; inset:0;
  background: rgba(0,0,0,.55);
  display:flex; align-items:flex-start; justify-content:center;
  padding: 6vh 16px;
  z-index: 9999;
}
.byehu-modal-card{
  width: min(720px, 100%);
  background: rgba(20,20,26,.96);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.65);
  padding: 16px;
}
.byehu-modal-head{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px}
.byehu-mini-btn{
  width:36px;height:36px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#e9e9ef; cursor:pointer;
}
.byehu-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px}
.byehu-grid label{display:flex; flex-direction:column; gap:6px; font-weight:700}
.byehu-modal-actions{display:flex; gap:10px; justify-content:flex-end; margin-top:12px}
@media(max-width: 760px){.byehu-grid{grid-template-columns:1fr}}
