/* fuse – the stylesheet of the control host and the VM-host pages (wake page, errors). */
:root {
  --bg: #ffffff;
  --fg: #1d1f23;
  --muted: #5d6470;
  --accent: #0b5fff;
  --border: #d0d4da;
  --error-bg: #fdecec;
  --error-fg: #8a1414;
  --note-bg: #eef4ff;
  --note-fg: #183a7a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171b;
    --fg: #e6e8eb;
    --muted: #9aa1ab;
    --accent: #6b9dff;
    --border: #353a42;
    --error-bg: #3a1a1a;
    --error-fg: #ffb4b4;
    --note-bg: #1a2640;
    --note-fg: #c4d6ff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main { max-width: 40rem; margin: 3rem auto; padding: 0 1rem; }
h1 { font-size: 1.5rem; margin: 0 0 1.5rem; }
a { color: var(--accent); }
label { display: block; margin: 1rem 0 0.25rem; color: var(--muted); }
input, select, textarea {
  width: 100%;
  padding: 0.5rem 0.625rem;
  font: inherit;
  color: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}
button {
  margin-top: 1.25rem;
  padding: 0.5rem 1rem;
  font: inherit;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.375rem 0.5rem; border-bottom: 1px solid var(--border); text-align: left; }
.error, .note { padding: 0.75rem 1rem; border-radius: 6px; margin: 1rem 0; }
.error { background: var(--error-bg); color: var(--error-fg); }
.note { background: var(--note-bg); color: var(--note-fg); }
.muted { color: var(--muted); }
