/* The landing page's stylesheet (the build puts the parts into one file). */
/* The colours: the page's (.stvtf, also inside <stv-map>) and the landing page's (:root). */
:root,
.stvtf {
  --bg: #15171a;
  --panel: #1e2125;
  --line: #2c3036;
  --text: #d8dadd;
  --dim: #8a9099;
  --red: #d0453f;
  --blue: #4f8fc0;
  --red-soft: #d0453f33;
  --blue-soft: #4f8fc033;
  --red-40: #d0453f66;
  /* What went well, what wants attention, what is going wrong. */
  --good: #7cc47f;
  --attention: #e0a040;
  --alert: #ff6b5a;
  --gold: #ffd166;
  /* The pen and marker, and what a room bar says. */
  --pen: #ffd23f;
  /* The dark of the bars and backdrops over the map, and as see-through. */
  --shade: #0b0c0e;
  --shade-95: #0b0c0ef2;
  --shade-90: #0b0c0ee6;
  --shade-80: #0b0c0ecc;
}
/* The landing page: one form to paste a connect string into. */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.45 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 16px;
}
main {
  width: min(560px, 100%);
}
h1 {
  margin: 0 0 4px;
  font-size: 22px;
}
p {
  margin: 0 0 16px;
  color: var(--dim);
}
form {
  display: flex;
  gap: 8px;
}
input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
}
input:focus {
  outline: 2px solid var(--blue);
  outline-offset: -1px;
}
button {
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.error {
  margin-top: 12px;
  color: var(--attention);
}
.error:empty {
  display: none;
}
code {
  color: var(--text);
}
/* The upload: its file, how far it is, and the way to sign in. */
.or {
  margin-top: 24px;
}
p[hidden] {
  display: none;
}
input[type="file"] {
  padding: 8px;
}
progress {
  width: 100%;
  margin-top: 12px;
  accent-color: var(--blue);
}
.signin {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.signin[hidden] {
  display: none;
}
form[hidden] {
  display: none;
}
#mumble table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
}
#mumble th,
#mumble td {
  padding: 6px 8px 6px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
#mumble code {
  font-size: 12px;
  overflow-wrap: anywhere;
  white-space: normal;
  user-select: all;
}
#mumble a {
  color: var(--blue);
}
.logo {
  display: block;
  margin-bottom: 16px;
  border-radius: 12px;
}
h2 {
  margin: 28px 0 6px;
  font-size: 15px;
}
.mine {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mine a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.mine b {
  display: inline-block;
  min-width: 56px;
  color: var(--dim);
  font-weight: 600;
}
