@font-face {
  font-family: "Signal Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/font-01-9c8d15fa.woff2") format("woff2");
}
@font-face {
  font-family: "Signal Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/font-02-1f4c83db.woff2") format("woff2");
}
@font-face {
  font-family: "Signal Sans";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/font-03-2105caae.woff2") format("woff2");
}
@font-face {
  font-family: "Signal Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/font-04-162df67d.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --bg: #10130f;
  --surface: #1c2118;
  --surface2: #262b21;
  --fg: #f5f6eb;
  --muted: #aeb4a3;
  --accent: #c7fa2e;
  --accent-hover: #d6ff64;
  --accent-pressed: #b5e41d;
  --line: #34392d;
  --border: var(--line);
  --paper: #edece3;
  --ink: #181c16;
  --danger: #e8ada1;
  --success: #c7fa2e;
  --warn: #e7c68c;
  --motion-fast: 120ms;
  --motion-base: 200ms;
  --motion-slow: 320ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    14px/1.55 "Signal Sans",
    "Open Sans",
    system-ui,
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
h1,
h2,
h3,
h4 {
  font-family: "Signal Display", "Open Sans Condensed", sans-serif;
  line-height: 1.08;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.035em;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 23px;
}
p {
  margin: 0 0 16px;
}
button,
a,
input,
textarea,
select,
summary {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
}
[hidden] {
  display: none !important;
}
.lz-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 100%;
}
.lz-brand img {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}
.lz-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lz-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition:
    background var(--motion-fast),
    transform var(--motion-fast),
    box-shadow var(--motion-base);
}
.lz-btn:hover:not(:disabled),
.btn:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 0 0 22px #c7fa2e16;
}
.lz-btn:active:not(:disabled),
.btn:active:not(:disabled) {
  background: var(--accent-pressed);
  transform: translateY(1px);
}
.lz-btn.secondary,
.btn.secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.lz-btn.secondary:hover,
.btn.secondary:hover {
  background: var(--surface2);
}
.lz-btn.danger,
.btn.danger {
  color: var(--danger);
  border-color: #6c3b33;
  background: #2d1d18;
}
.lz-btn.small,
.btn.small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
}
.lz-btn.full,
.btn.full {
  width: 100%;
}
.lz-field {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
}
.lz-field > label,
label {
  color: var(--fg);
  font-size: 13px;
}
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  width: 100%;
  min-height: 46px;
  color: var(--fg);
  background: #151a12;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 14px;
  transition:
    border-color var(--motion-fast),
    box-shadow var(--motion-fast);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #77806e;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}
.lz-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  line-height: 1.6;
}
.lz-card,
.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 24px;
}
.lz-paper {
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  padding: 28px;
  overflow-wrap: anywhere;
  --muted: #59614f;
  --line: #ccd0c1;
}
.lz-muted,
.muted {
  color: var(--muted);
}
.lz-eyebrow,
.eyebrow {
  font:
    10px/1.5 "Signal Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.lz-mono {
  font-family: "Signal Mono", monospace;
}
.lz-stack {
  display: grid;
  gap: 16px;
}
.lz-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.lz-spread {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.lz-badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  line-height: 1.4;
  border-radius: 5px;
  padding: 5px 9px;
  background: #2c3425;
  color: var(--fg);
  border: 1px solid var(--line);
}
.lz-badge.success {
  color: var(--accent);
  background: #253414;
}
.lz-badge.warning {
  color: var(--warn);
  background: #372e18;
}
.lz-badge.danger {
  color: var(--danger);
  background: #39251e;
}
.lz-banner {
  border: 1px solid #4a5630;
  background: #222b18;
  border-radius: 5px;
  padding: 12px 16px;
  color: #d9e3c5;
  font-size: 12px;
}
.lz-error {
  border: 1px solid #794537;
  background: #2e1f19;
  color: #ffd0c3;
  padding: 14px;
  border-radius: 5px;
  margin: 12px 0;
}
.lz-tabs {
  display: flex;
  gap: 4px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  margin: 20px 0;
}
.lz-tabs button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 12px 16px;
  min-height: 44px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.lz-tabs button[aria-selected="true"],
.lz-tabs button.active {
  color: var(--accent);
  border-color: var(--accent);
}
.lz-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.lz-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.lz-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: lz-spin 0.8s linear infinite;
}
.lz-skeleton {
  background: linear-gradient(90deg, #20271b, #303b26, #20271b);
  background-size: 200% 100%;
  animation: lz-shimmer 1.4s linear infinite;
  border-radius: 5px;
  min-height: 24px;
}
.lz-view {
  animation: lz-enter var(--motion-base) var(--motion-ease);
}
.lz-toast-region {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1000;
  display: grid;
  gap: 8px;
  max-width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.lz-toast {
  background: var(--paper);
  color: var(--ink);
  border-left: 4px solid var(--accent);
  box-shadow: 0 12px 40px #0004;
  border-radius: 5px;
  padding: 14px 18px;
  animation: lz-enter var(--motion-base) var(--motion-ease);
}
.lz-toast.error {
  border-color: #b44330;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--fg);
  padding: 28px;
  max-width: 540px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 80px #0007;
}
dialog::backdrop {
  background: #070a07bb;
  backdrop-filter: blur(4px);
}
dialog[open] {
  animation: lz-enter var(--motion-base) var(--motion-ease);
}
table {
  border-collapse: collapse;
  width: 100%;
}
td,
th {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
tr {
  transition: background var(--motion-fast);
}
tbody tr:hover {
  background: #ffffff04;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.7 "Signal Mono",
    monospace;
}
code {
  font-family: "Signal Mono", monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
@keyframes lz-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes lz-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes lz-shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (max-width: 600px) {
  .lz-card,
  .card {
    padding: 18px;
  }
  .lz-paper {
    padding: 20px;
  }
  .lz-toast-region {
    right: 16px;
    bottom: 86px;
  }
  .lz-spread {
    align-items: flex-start;
  }
  h1 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .lz-skeleton {
    background: #293322;
  }
}
