:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #060809;
  color: #e8edef;
  --muted: #90a1ac;
  --line: #242d33;
  --cyan: #4fd5ec;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 27px;
  margin: 10px 0;
  letter-spacing: -0.6px;
}

h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

h3 {
  font-size: 14px;
  margin: 0 0 16px;
}

p {
  line-height: 1.65;
}

button {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 16px;
  cursor: pointer;
  color: inherit;
}

button:disabled {
  opacity: 0.5;
  cursor: wait;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.primary {
  background: #65cce1;
  border-color: #65cce1;
  color: #07141b;
  font-weight: 650;
}

.secondary {
  background: #101518;
}

.secondary:hover {
  background: #1c262c;
}

input {
  font: inherit;
  width: 100%;
  border: 1px solid #33414b;
  border-radius: 6px;
  padding: 12px;
  color: #edf6fa;
  background: #131c22;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.muted {
  color: var(--muted);
}

.fine {
  font-size: 12px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.panel {
  background: #0d1012;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.notice {
  font-size: 13px;
  color: #f8cc88;
  min-height: 20px;
}

.notice:empty {
  display: none;
}

.topbar {
  background: #0c0f11;
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1280px;
  padding: 20px 24px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f0f6f9;
  font-weight: 650;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 9px;
  font-size: 24px;
  color: var(--cyan);
  background: #10242d;
}

main {
  max-width: 1280px;
  padding: 36px 24px 16px;
  margin: 0 auto;
}

.login-panel {
  width: min(460px, 100%);
  padding: 30px;
  margin: 10vh auto 30px;
}

.login-panel form {
  margin-top: 28px;
}

.login-panel .primary {
  width: 100%;
}

.remember {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
}

.remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--cyan);
  margin-top: 2px;
}

.remember small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

pre {
  overflow: auto;
  background: #080c0f;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
  line-height: 1.7;
  font-size: 12px;
}

code {
  color: #99e5f6;
}

footer {
  text-align: center;
  padding: 24px;
}

dialog {
  background: #10161a;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: min(680px, 90vw);
}

dialog::backdrop {
  background: #000b;
}
.quick-download {
  display: block;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
}
