:root {
  font: 16px/1.45 system-ui, sans-serif;
  color-scheme: dark;
  color: #e7ebf3;
  background: #2e3440;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
#welcome {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 16px;
}
form {
  width: min(100%, 360px);
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid #505762;
  border-radius: 10px;
  background: #3b4252;
}
h1 { margin: 0 0 8px; font-size: 1.5rem; }
input, button {
  padding: 9px 12px;
  font: inherit;
  border-radius: 6px;
  border: 1px solid #737b8a;
}
a { color: #70d6e5; }
input { background: #222730; color: inherit; }
button { background: #35bed3; color: #111; border-color: transparent; cursor: pointer; }
button:disabled { opacity: 0.6; cursor: wait; }
:focus-visible { outline: 2px solid #35bed3; outline-offset: 2px; }
#status { margin: 0; }
#status:empty { display: none; }
/* eframe positions a one-pixel IME input at the egui caret. */
body > input { padding: 0; pointer-events: none; }
/* After editing, eframe leaves the last caret position on the input. */
body > input:not(:focus) { top: 0 !important; left: 0 !important; }
#workspace {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  outline: 0;
}
