:root {
  color-scheme: light;
  --surface: #fff;
  --text: #202124;
  --ink: #17191b;
  --muted: #626870;
  --line: #dce0e4;
  --input-line: #cbd0d6;
  --wash: #f6f7f8;
  --sidebar: #fafafa;
  --hover: #f0f1f2;
  --selected: #e9ebee;
  --on-ink: #fff;
  --primary-hover: #383b3f;
  --link: #0969da;
  --danger: #b42318;
  --error-wash: #fff3f1;
  --error-line: #efc3bd;
  --open: #1a7f37;
  --closed: #8250df;
  --shadow: #10182026;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --surface: #171819;
  --text: #eceeef;
  --ink: #f0f1f2;
  --muted: #a4a9b0;
  --line: #373a3e;
  --input-line: #51565d;
  --wash: #202224;
  --sidebar: #1b1c1e;
  --hover: #292c30;
  --selected: #34383e;
  --on-ink: #171819;
  --primary-hover: #d2d5d9;
  --link: #8abdff;
  --danger: #ff9c94;
  --error-wash: #332223;
  --error-line: #774640;
  --open: #71cb86;
  --closed: #b79aff;
  --shadow: #0008;
}
:root {
  color: var(--text);
  background: var(--surface);
}
dialog {
  color: var(--text);
  background: var(--surface);
}
input[type='checkbox'],
progress {
  accent-color: var(--ink);
}
.startup {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 12vh;
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Helvetica,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--surface);
}
.startup-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.startup-brand svg {
  width: 34px;
  height: 34px;
  color: var(--ink);
}
.startup-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.startup-indicator {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: startup-pulse 1.4s ease-in-out infinite;
}
.startup:not([aria-busy='true']) .startup-indicator {
  display: none;
}
#startup-retry {
  margin-top: 18px;
  padding: 7px 14px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
#startup-retry[hidden] {
  display: none;
}
@keyframes startup-pulse {
  50% {
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .startup-indicator {
    animation: none;
  }
}
input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 100px var(--wash) inset;
}
.theme-switch {
  display: flex;
  gap: 2px;
  border: 0;
  padding: 8px 0 0;
  margin: 0;
}
.theme-switch button {
  flex: 1;
  padding: 4px 6px;
  font-size: 12px;
  min-height: 32px;
  color: var(--muted);
}
.theme-switch button[aria-pressed='true'] {
  background: var(--selected);
  color: var(--text);
}
:root[data-theme='dark'] .logo img,
:root[data-theme='dark'] .landing-logo img {
  filter: invert(1);
}
