/* The library ships its own stylesheet and owns everything inside #app. This
   is only the bar above it. */
html, body { height: 100%; margin: 0; }
body {
  display: flex; flex-direction: column;
  background: #0b1017; color: #dbe4ef;
  font: 14px/1.5 ui-sans-serif, system-ui, sans-serif;
}
#bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-bottom: 1px solid #1e2937; flex: none;
}
#brand { font-weight: 650; color: #dbe4ef; text-decoration: none; letter-spacing: -0.01em; }
#state { font: 11.5px ui-monospace, monospace; color: #64788f; }
.spacer { flex: 1; }
.btn {
  background: #131c27; border: 1px solid #24303f; color: #b8c7d9;
  border-radius: 6px; padding: 5px 12px; font: inherit; font-size: 12.5px;
  cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: #3b82f6; color: #eaf1f8; }
.btn.primary { border-color: #3b82f6; color: #7fb2ff; }
.btn[disabled] { opacity: 0.5; cursor: default; }
#app { flex: 1; min-height: 0; }
#toast {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: #131c27; border: 1px solid #3b82f6; color: #eaf1f8;
  padding: 9px 16px; border-radius: 8px; font-size: 13px;
  box-shadow: 0 6px 22px rgb(0 0 0 / 0.45);
}
#empty { display: grid; place-items: center; height: 100%; color: #64788f; }
