:root{
  --bg:#0b1020;
  --card:#111a33;
  --muted:#93a4c7;
  --text:#eaf0ff;
  --line:rgba(255,255,255,.10);
  --btn:#4f7cff;
  --danger:#ff5b6b;
}
*{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(1000px 600px at 10% 0%, rgba(79,124,255,.25), transparent 55%),
              radial-gradient(900px 500px at 90% 10%, rgba(255,91,107,.16), transparent 55%),
              var(--bg);
  color:var(--text);
}
.top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 18px 10px;
  gap:14px;
}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.logo{
  width:44px;height:44px;border-radius:12px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.10);
  border:1px solid var(--line);
  font-weight:900;
  letter-spacing:.06em;
  font-size:11px;
}
.name{font-size:16px;font-weight:800;line-height:1.1}
.tag{font-size:12px;color:var(--muted);margin-top:3px;max-width:70ch}
.actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.wrap{padding:12px 18px 24px;display:flex;justify-content:center}
.card{
  width:min(980px, 100%);
  background:rgba(17,26,51,.76);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  backdrop-filter: blur(6px);
}
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}
.field{display:flex;flex-direction:column;gap:6px;min-width:180px}
.field span{font-size:12px;color:var(--muted)}
input,select{
  width:100%;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
input:focus,select:focus{border-color:rgba(79,124,255,.7)}
.btn{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:var(--btn);
  color:white;
  font-weight:800;
  cursor:pointer;
}
.btn.ghost{background:transparent}
.btn.danger{background:var(--danger)}
.btn:disabled{opacity:.45;cursor:not-allowed}
.errors{margin-top:10px;color:#ffd6d6;font-size:13px;min-height:18px}
.outWrap{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.results{
  white-space:pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:13px;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  min-height:140px;
}
.results.empty{color:var(--muted);font-family:inherit}
.hint{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
