:root{
  --bg:#070b14;
  --card:#0b1220;
  --card2:#0f1a31;
  --text:#e8eefc;
  --muted:#9fb0d5;
  --line:#1b2a4e;
  --accent:#5aa7ff;
  --danger:#ff5a6b;
  --ok:#31d17a;
  --warn:#ffcc66;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --r:14px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 10% 0%, rgba(90,167,255,.18), transparent 60%),
              radial-gradient(900px 700px at 90% 10%, rgba(49,209,122,.12), transparent 55%),
              var(--bg);
  color:var(--text);
}
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .95em;
  background: rgba(255,255,255,.06);
  padding: .12rem .35rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
}
.top{
  position: sticky;
  top: 0;
  z-index: 10;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding: 14px 16px;
  background: rgba(7,11,20,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand{display:flex;align-items:center;gap:12px}
.logo{
  width:40px;height:40px;border-radius:12px;
  display:grid;place-items:center;
  background: linear-gradient(145deg, rgba(90,167,255,.35), rgba(49,209,122,.22));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  font-weight:800;
}
.title{font-size:1.05rem;font-weight:700}
.subtitle{font-size:.92rem;color:var(--muted)}
.wrap{max-width:860px;margin: 18px auto 40px;padding: 0 14px}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow);
  margin: 14px 0;
}
h2{margin:0 0 10px;font-size:1.05rem}
.muted{color:var(--muted)}
.small{font-size:.9rem}
.row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.field{display:block;flex:1;min-width:240px}
.label{font-size:.85rem;color:var(--muted);margin: 0 0 6px}
input{
  width:100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(11,18,32,.55);
  color:var(--text);
  outline:none;
}
input:focus{border-color: rgba(90,167,255,.55); box-shadow: 0 0 0 3px rgba(90,167,255,.12)}
.btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(90,167,255,.26), rgba(90,167,255,.14));
  color: var(--text);
  padding: 11px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight:650;
}
.btn:hover{border-color: rgba(255,255,255,.22)}
.btn:disabled{opacity:.45; cursor:not-allowed}
.btn.secondary{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
}
.btn.danger{
  background: linear-gradient(180deg, rgba(255,90,107,.24), rgba(255,90,107,.12));
  border-color: rgba(255,90,107,.25);
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-size:.92rem;
}
.queue{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.item{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(11,18,32,.4);
  border-radius: 14px;
  padding: 12px;
}
.itemTop{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.name{font-weight:650}
.meta{color:var(--muted);font-size:.9rem;margin-top:4px}
.bar{
  height:10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  overflow:hidden;
  margin-top: 10px;
}
.bar > div{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(90,167,255,.9), rgba(49,209,122,.85));
}
.tag{
  font-size:.86rem;
  padding: 4px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--muted);
}
.tag.ok{border-color: rgba(49,209,122,.3); color: rgba(49,209,122,.95)}
.tag.err{border-color: rgba(255,90,107,.35); color: rgba(255,90,107,.95)}
.tag.warn{border-color: rgba(255,204,102,.35); color: rgba(255,204,102,.95)}
.footer{padding-top:6px}


