:root {
  color-scheme: dark;
  --bg: #101716;
  --panel: #17231c;
  --line: #2b4032;
  --text: #edf4ef;
  --muted: #a3b8aa;
  --accent: #88e2b4;
  --gold: #e9c983;
  --red: #f3a69a;
  font:
    16px/1.5 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
a,
button,
input,
select,
textarea {
  outline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #243b2b;
  color: var(--text);
  padding: 0.62rem 1rem;
  min-height: 40px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover,
.button:hover {
  background: #34513d;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #153c23;
}
.primary:hover {
  background: #a8f0c9;
}
.ghost {
  background: transparent;
}
.small {
  font-size: 0.8125rem;
}
.button.small,
button.small {
  padding: 0.4rem 0.7rem;
  min-height: 33px;
}
.danger {
  color: var(--red);
}
input,
select,
textarea {
  width: 100%;
  background: #101d14;
  border: 1px solid #405a48;
  color: var(--text);
  border-radius: 6px;
  padding: 0.7rem;
  font-size: 0.875rem;
  min-height: 42px;
}
textarea {
  min-height: 110px;
  line-height: 1.6;
  resize: vertical;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--accent);
}
.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
.sidebar {
  width: 230px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #111d15;
  border-right: 1px solid var(--line);
  padding: 26px 16px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 8px 24px;
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.brand img {
  width: 37px;
  height: 37px;
}
.brand small {
  display: block;
  font-family: monospace;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}
.nav-group {
  padding: 13px 12px 4px;
  color: #7e9e88;
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 7px;
  margin: 3px 0;
  color: #b7cdbf;
  font-size: 0.875rem;
}
.nav-link:hover {
  background: #1e3425;
}
.nav-link.active {
  background: #284733;
  color: #a3edbf;
}
.nav-footer {
  margin-top: auto;
  padding: 24px 12px 0;
  color: var(--muted);
  font-size: 0.75rem;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #121d16;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}
.breadcrumb b {
  color: var(--text);
  font-weight: 500;
}
.top-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.locale {
  width: auto;
  max-width: 115px;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.mobile-menu {
  display: none;
}
main {
  max-width: 1650px;
  padding: 34px 38px 55px;
  margin: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 1.85rem;
  letter-spacing: -0.045em;
  line-height: 1.25;
  margin-bottom: 9px;
  font-weight: 650;
}
h2 {
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 28px;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.eyebrow {
  font-family: monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 12px;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.stat.highlight {
  background: #223c2c;
  border-color: #3c624a;
}
.stat-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.875rem;
}
.stat-value {
  font-family: ui-monospace, monospace;
  font-size: 2.2rem;
  margin-top: 16px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.stat-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 26px 0 14px;
}
.section-head h2 {
  margin: 0;
}
.text-link {
  color: var(--accent);
  font-size: 0.875rem;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  min-width: 0;
}
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}
th {
  background: #1c2d21;
  color: var(--muted);
  padding: 13px 18px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
td {
  padding: 17px 18px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
tbody tr:hover {
  background: #1e3023;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 5px;
}
.coin {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}
.coin-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #294833;
  border: 1px solid #416e50;
  border-radius: 10px;
  color: #b5e7c7;
  font-weight: 700;
}
.coin-title {
  font-weight: 600;
  max-width: 260px;
  overflow-wrap: anywhere;
}
.coin-title a:hover {
  color: var(--accent);
}
.badge {
  border: 1px solid #425949;
  color: #c8d9ce;
  border-radius: 5px;
  display: inline-flex;
  padding: 3px 7px;
  font-size: 0.6875rem;
  font-weight: 550;
  white-space: nowrap;
}
.badge.early,
.badge.mainnet,
.badge.ok,
.badge.active {
  background: #21432d;
  border-color: #3c6b4c;
  color: #a4e8ba;
}
.badge.investigation,
.badge.discovery,
.badge.pending,
.badge.premium {
  background: #3a3420;
  border-color: #685a34;
  color: #e9cf91;
}
.badge.archived {
  background: #263742;
  border-color: #435f70;
  color: #bed2df;
}
.badge.scam,
.badge.invalid,
.badge.error,
.badge.blocked {
  background: #452d27;
  border-color: #744e41;
  color: #f4b8a8;
}
.score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
}
.score strong {
  font-size: 1rem;
  font-weight: 500;
  min-width: 25px;
}
.score progress {
  width: 48px;
  height: 4px;
}
.score.risk {
  color: var(--gold);
}
progress {
  appearance: none;
  border: 0;
  accent-color: var(--accent);
  border-radius: 10px;
}
progress::-webkit-progress-bar {
  background: #364d3e;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 10px;
}
.risk progress::-webkit-progress-value {
  background: var(--gold);
}
.filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 20px;
}
.filters label {
  flex: 1;
  min-width: 120px;
  font-size: 0.75rem;
  color: var(--muted);
}
.filters label.wide {
  flex: 2;
  min-width: 190px;
}
label > input,
label > select,
label > textarea {
  margin-top: 6px;
}
.field {
  display: block;
  margin-bottom: 16px;
  font-size: 0.875rem;
}
.field small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 5px;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 13px 0;
}
.check input {
  margin: 0;
}
.empty {
  border: 1px dashed #3c5944;
  border-radius: 12px;
  padding: 60px 24px;
  background: #15261a;
  text-align: center;
  color: var(--muted);
}
.empty h2 {
  color: var(--text);
}
.empty .icon {
  width: 43px;
  height: 43px;
  color: #7fbb91;
  margin-bottom: 17px;
}
.empty p {
  max-width: 500px;
  margin: 0 auto 20px;
}
.notice {
  padding: 14px 18px;
  margin: 16px 0;
  background: #1e3a28;
  border: 1px solid #416b50;
  color: #c1dfcc;
  font-size: 0.875rem;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.warning {
  background: #3a321f;
  border-color: #6b5b35;
  color: #e8d5a9;
}
.notice.error {
  background: #442c25;
  border-color: #754a3f;
  color: #f0bdaf;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stack > * + * {
  margin-top: 22px;
}
.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0;
}
.meta dt {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 5px;
}
.meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.chip {
  background: #263f2e;
  padding: 4px 8px;
  font-size: 0.75rem;
  color: #c9e2d2;
  border-radius: 5px;
}
.project-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0;
}
.score-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.score-card span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.score-card .number {
  font-family: monospace;
  font-size: 2.6rem;
  color: var(--accent);
}
.score-card .number small {
  font-size: 0.875rem;
  color: var(--muted);
}
.score-card.risk .number {
  color: var(--gold);
}
.score-card progress {
  width: 100%;
  height: 5px;
}
.timeline {
  padding: 0;
  list-style: none;
  margin: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 24px 24px;
  border-left: 1px solid #4c6d56;
  margin-left: 5px;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline time {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 5px;
}
.signal {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.signal:first-child {
  padding-top: 0;
}
.signal:last-child {
  padding-bottom: 0;
  border: 0;
}
.signal h3 {
  margin: 10px 0 7px;
  overflow-wrap: anywhere;
}
.signal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.signal p,
.file-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.9375rem;
}
.signal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}
details {
  margin-top: 12px;
}
summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 0.875rem;
}
pre {
  background: #0f1d13;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: auto;
  max-height: 400px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.8125rem;
}
.detail-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.detail-row dt {
  color: var(--muted);
}
.detail-row dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-row a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-row ul {
  padding-left: 18px;
  margin: 0;
}
.plan-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.plan-card.premium {
  background: #293820;
  border-color: #6c8757;
}
.plan-price {
  font-family: monospace;
  font-size: 2rem;
  margin: 20px 0;
}
.plan-price small {
  font-size: 0.8125rem;
  color: var(--muted);
}
.plan-card ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 2;
  margin-bottom: 24px;
}
.auth {
  max-width: 450px;
  margin: 35px auto;
}
.auth h1 {
  margin-top: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.full {
  grid-column: 1/-1;
}
.form-error {
  font-size: 0.875rem;
  color: var(--red);
  white-space: pre-wrap;
}
.json-area {
  font-family: monospace;
  min-height: 260px;
}
dialog {
  width: 670px;
  max-width: calc(100vw - 28px);
  max-height: 90dvh;
  padding: 28px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid #496a53;
  border-radius: 14px;
  box-shadow: 0 30px 90px #0008;
}
dialog::backdrop {
  background: #070e09bd;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.dialog-head h2 {
  font-size: 1.3rem;
  margin: 0;
}
.dialog-head button {
  padding: 3px 10px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 18px 0;
}
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.tabs a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.875rem;
  white-space: nowrap;
}
.tabs .active {
  color: var(--accent);
  background: #2c4934;
  border-radius: 7px;
}
.health-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.health-grid > div {
  background: #1e3223;
  border-radius: 8px;
  padding: 16px;
}
.health-grid strong {
  display: block;
  font-family: monospace;
  font-size: 1.6rem;
  margin-top: 6px;
}
.health-grid span {
  color: var(--muted);
  font-size: 0.8125rem;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
#toast {
  display: none;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 30px);
  padding: 13px 22px;
  border-radius: 9px;
  background: #ddf5e5;
  color: #143c22;
  z-index: 100;
  box-shadow: 0 10px 40px #0007;
  font-size: 0.875rem;
}
#toast.visible {
  display: block;
}
.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 8px;
}
.skip:focus {
  top: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.nowrap {
  white-space: nowrap;
}
@media (max-width: 1150px) {
  .layout {
    grid-template-columns: 200px 1fr;
  }
  .sidebar {
    width: 200px;
    padding-inline: 10px;
  }
  .brand {
    font-size: 1rem;
  }
  main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding: 18px 15px;
  }
  .stats {
    gap: 10px;
  }
  .stat-label {
    font-size: 0.8125rem;
  }
}
@media (max-width: 800px) {
  .layout {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 240px;
    box-shadow: 20px 0 60px #0008;
  }
  .sidebar.open {
    transform: none;
  }
  .mobile-menu {
    display: flex;
    padding: 6px;
  }
  .topbar {
    height: 65px;
    padding: 0 16px;
  }
  .breadcrumb > span {
    display: none;
  }
  .breadcrumb {
    font-size: 0.75rem;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions .account-label {
    display: none;
  }
  .locale {
    max-width: 72px;
    padding: 5px;
    font-size: 0.75rem;
  }
  main {
    padding: 24px 16px 45px;
  }
  .page-head {
    flex-wrap: wrap;
    margin-bottom: 22px;
  }
  h1 {
    font-size: 1.6rem;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-value {
    font-size: 1.8rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 19px;
  }
  .project-scores {
    gap: 9px;
  }
  .score-card {
    padding: 14px;
  }
  .score-card .number {
    font-size: 1.9rem;
  }
  .score-card span {
    font-size: 0.75rem;
  }
  .detail-row {
    grid-template-columns: 110px 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .health-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filters label {
    min-width: 130px;
  }
  dialog {
    padding: 20px;
  }
  .auth {
    margin: 20px auto;
  }
  .brand {
    font-size: 1.1rem;
  }
  .signal-head {
    align-items: start;
  }
}
.coin-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 9px;
}
