@import url("/assets/fonts.css");
@media (max-width: 760px) {
  .app-top > .brand {
    max-width: 42%;
    white-space: normal;
    line-height: 1.3;
  }
  .app-top > .row {
    max-width: 58%;
    gap: 3px;
  }
  .app-top .subtle {
    max-width: 74px;
    font-size: 9px;
  }
  .app-top .avatar {
    display: none;
  }
  .queue h3 {
    min-width: 90px;
    font-size: 13px;
  }
  .main-content > .grid[style] {
    grid-template-columns: 1fr !important;
  }
}
a.button {
  display: inline-flex;
  padding: 11px 21px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5b97d66;
  font-size: 12px;
  letter-spacing: 0.3px;
}
html[lang="zh-CN"] .hero h1 {
  font-size: 54px;
  max-width: 600px;
}
.hero-copy > small {
  display: block;
  margin-top: 25px;
  font-size: 10px;
}
.hero-copy {
  max-width: 600px;
}
.app-top .brand span {
  font-size: 11px;
  margin: 0;
  vertical-align: baseline;
  letter-spacing: 1px;
}
.brand > span {
  font-size: 26px;
}
@media (max-width: 760px) {
  html[lang="zh-CN"] .hero h1 {
    font-size: 40px;
  }
  .app-top .brand {
    font-size: 10px;
  }
  .app-top .brand span {
    display: none;
  }
  .app-top {
    gap: 8px;
  }
  .app-top .row {
    gap: 6px;
  }
  .app-top .subtle {
    font-size: 10px;
    padding: 7px;
  }
}
:root {
  color-scheme: dark;
  --bg: #10191c;
  --panel: #172125;
  --line: #344044;
  --gold: #eac88b;
  --muted: #9ca8a9;
  --text: #eef0eb;
  --green: #76bcaa;
  --red: #e39b8b;
  --orange: #e7bd7a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.6 "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 5px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #202b2f;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 5px;
  transition: 0.18s;
}
button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.primary {
  background: linear-gradient(105deg, #f4d99f, #dba75f);
  border-color: #edcb8c;
  color: #25251f;
  font-weight: 600;
}
.primary:hover {
  color: #000;
  background: #f5d79c;
}
.subtle {
  background: transparent;
}
.danger {
  color: var(--red);
}
input,
select,
textarea {
  background: #111a1e;
  border: 1px solid #3b4649;
  border-radius: 4px;
  color: var(--text);
  padding: 10px;
  width: 100%;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}
input[type="checkbox"] {
  width: auto;
  accent-color: var(--gold);
}
input[type="range"] {
  accent-color: var(--gold);
}
label {
  display: grid;
  gap: 7px;
  color: #bac3c2;
  font-size: 12px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -1px;
}
h2 {
  font-size: 21px;
  font-weight: 500;
}
h3 {
  font-size: 15px;
  font-weight: 500;
}
p {
  color: var(--muted);
}
small,
.muted {
  color: var(--muted);
  font-size: 12px;
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.grid {
  display: grid;
  gap: 20px;
}
.two {
  grid-template-columns: 1fr 1fr;
}
.three {
  grid-template-columns: repeat(3, 1fr);
}
.four {
  grid-template-columns: repeat(4, 1fr);
}
.panel {
  padding: 24px;
  background: linear-gradient(135deg, #1c292cdd, #152024ef);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.panel.gold {
  border-color: #8b7750;
}
.metric strong {
  font-size: 29px;
  font-weight: 400;
  display: block;
  letter-spacing: -1px;
  margin: 10px 0;
}
.metric small {
  display: block;
}
.tag {
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid #51615855;
  border-radius: 4px;
  background: #76bcaa13;
  color: var(--green);
  font-size: 11px;
  white-space: nowrap;
}
.tag.warn {
  color: var(--orange);
  background: #e7bd7a15;
}
.tag.bad {
  color: var(--red);
  background: #e39b8b15;
}
.tag.neutral {
  color: var(--muted);
}
.gold-text {
  color: var(--gold);
}
.positive {
  color: var(--green);
}
.negative {
  color: var(--red);
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  color: var(--muted);
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.toolbar input {
  max-width: 270px;
}
.toolbar select {
  width: auto;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-weight: 400;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px 12px;
  border-bottom: 1px solid #33404466;
}
tbody tr:hover {
  background: #eac88b07;
}
tr.clickable {
  cursor: pointer;
}
.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.chart {
  width: 100%;
  height: 235px;
  display: block;
}
.chart text {
  fill: #9ba7a6;
  font-size: 10px;
}
.chart .gridline {
  stroke: #62727230;
  stroke-dasharray: 3 5;
}
.legend {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 6px;
}
.lang {
  position: relative;
}
.lang > button {
  border: 0;
  background: transparent;
  font-size: 18px;
  padding: 5px 10px;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: 40px;
  width: 150px;
  z-index: 50;
  background: #203033;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 6px;
  animation: menu 0.18s;
}
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
}
.hidden {
  display: none !important;
}
.public-nav {
  height: 86px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid #ffffff20;
  position: relative;
  z-index: 4;
}
.brand {
  font-size: 21px;
  letter-spacing: 5px;
  font-weight: 300;
  white-space: nowrap;
}
.brand span {
  color: var(--gold);
  font-size: 30px;
  vertical-align: middle;
  margin-right: 12px;
}
.public-nav nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 1.2px;
}
.active {
  color: var(--gold) !important;
}
.public {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 90% 5%, #dfc49c28, transparent 45%), #172024;
}
.hero {
  padding: 95px 7% 110px;
  min-height: 650px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 580px;
}
.hero h1 {
  font-size: 68px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -2px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  font-size: 16px;
  max-width: 450px;
}
.hero-art {
  position: absolute;
  right: -1%;
  top: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  mask-image: linear-gradient(90deg, transparent, #000 25%);
  animation: float 12s ease-in-out infinite;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #172024, transparent 70%),
    linear-gradient(0deg, #172024, transparent 20%);
  pointer-events: none;
}
.hero .row {
  margin-top: 28px;
}
.public-section {
  padding: 65px 7%;
  position: relative;
}
.public-section h2 {
  font-size: 33px;
  font-weight: 300;
}
.feature-number {
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 26px;
}
.feature-card {
  min-height: 220px;
}
.feature-card:hover {
  border-color: #9a845a;
  transform: translateY(-2px);
  transition: 0.2s;
}
.public-footer {
  margin: 30px 7% 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.public-footer .icp,
.app-foot a {
  color: inherit;
  text-decoration: none;
}
.public-footer .icp:hover,
.app-foot a:hover {
  text-decoration: underline;
}
.form-card {
  max-width: 700px;
  margin: 45px auto 80px;
}
.steps {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}
.step {
  flex: 1;
  border-top: 2px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
  font-size: 11px;
}
.step.active {
  border-color: var(--gold);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.full {
  grid-column: 1/-1;
}
.app-shell {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 23px 14px;
  border-right: 1px solid var(--line);
  background: #111a1de8;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.sidebar .brand {
  padding: 0 10px 30px;
}
.sidebar a.menu {
  padding: 12px 13px;
  margin: 3px 0;
  border: 1px solid transparent;
  color: #a6b0b0;
  display: flex;
  gap: 13px;
  font-size: 12px;
  border-radius: 4px;
}
.sidebar a.menu.active {
  background: #eac88b0c;
  border-color: #8b775066;
}
.sidebar a.menu:hover {
  background: #ffffff06;
}
.sidebar .bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.app-top {
  height: 65px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: #151f22ee;
}
.app-top .brand {
  font-size: 12px;
  letter-spacing: 1px;
}
.avatar {
  display: grid;
  place-items: center;
  border: 1px solid #c5a97877;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: var(--gold);
  font-size: 11px;
}
.main-content {
  padding: 32px;
  max-width: 1800px;
  margin: auto;
  animation: enter 0.22s;
}
.page-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.page-head h1 {
  margin-bottom: 8px;
}
.page-head p {
  margin: 0;
  font-size: 12px;
}
.app-foot {
  padding: 25px 32px;
  color: #829190;
  font-size: 10px;
}
.queue-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}
.queue {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.queue button {
  text-align: left;
  padding: 17px;
  background: transparent;
}
.queue button.selected {
  border-color: var(--gold);
  background: #eac88b0b;
}
.queue button small {
  display: block;
  margin-top: 8px;
}
.heat {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
}
.heat button {
  min-height: 58px;
  background: #76bcaa1c;
  border-color: #76bcaa33;
  font-size: 10px;
}
.heat button.hot {
  background: #e39b8b22;
  border-color: #e39b8b55;
}
.heat button.warm {
  background: #e7bd7a22;
  border-color: #e7bd7a55;
}
.upload-zone {
  padding: 45px;
  text-align: center;
  border: 1px dashed #8c7c5d;
  border-radius: 7px;
  background: #eac88b05;
}
.upload-zone.drag {
  border-color: var(--gold);
  background: #eac88b16;
}
.upload-zone .upload-icon {
  font-size: 35px;
  color: var(--gold);
}
.upload-zone input {
  max-width: 320px;
  margin: 15px auto;
  display: block;
}
.timeline {
  border-left: 1px solid #8f7f5c;
  padding-left: 24px;
  margin-left: 8px;
}
.timeline > div {
  padding: 0 0 25px;
  position: relative;
}
.timeline > div:before {
  content: "";
  position: absolute;
  left: -29px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  padding: 13px 22px;
  background: #2b3c3e;
  border: 1px solid #8b7750;
  border-radius: 6px;
  z-index: 100;
  display: none;
  box-shadow: 0 10px 40px #0006;
}
dialog {
  color: var(--text);
  background: #19272a;
  border: 1px solid #85734f;
  border-radius: 9px;
  padding: 30px;
  max-width: min(850px, 93vw);
  max-height: 88vh;
  width: 700px;
}
dialog::backdrop {
  background: #061014c9;
  backdrop-filter: blur(5px);
}
dialog h2 {
  margin-right: 35px;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 12px;
}
.stack {
  display: grid;
  gap: 17px;
}
.note {
  border-left: 2px solid var(--gold);
  padding: 12px 16px;
  background: #eac88b08;
  color: var(--muted);
  font-size: 12px;
}
.error {
  color: var(--red);
  font-size: 12px;
}
.progress {
  height: 4px;
  background: var(--line);
  margin: 16px 0;
}
.progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
}
.watermark {
  position: fixed;
  bottom: 6px;
  right: 12px;
  opacity: 0.18;
  font-size: 10px;
  pointer-events: none;
  z-index: 30;
}
@keyframes float {
  50% {
    transform: translateY(-8px) scale(1.015);
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes menu {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 1100px) {
  .four {
    grid-template-columns: 1fr 1fr;
  }
  .app-shell {
    grid-template-columns: 175px 1fr;
  }
  .sidebar {
    padding: 20px 8px;
  }
  .main-content {
    padding: 24px;
  }
  .queue-layout {
    grid-template-columns: 210px 1fr;
  }
  .hero h1 {
    font-size: 52px;
  }
  .public-nav {
    gap: 16px;
  }
  .public-nav nav {
    gap: 18px;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 12px;
  }
  .sidebar .brand {
    padding: 0 10px 10px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
  }
  .sidebar a.menu {
    white-space: nowrap;
    padding: 8px;
  }
  .sidebar .bottom {
    display: none;
  }
  .app-top {
    padding: 0 16px;
  }
  .main-content {
    padding: 20px 14px;
  }
  .two,
  .three,
  .queue-layout {
    grid-template-columns: 1fr;
  }
  .queue {
    flex-direction: row;
    overflow: auto;
  }
  .queue button {
    min-width: 180px;
  }
  .public-nav {
    height: auto;
    padding: 18px;
    flex-wrap: wrap;
  }
  .public-nav nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin: 0;
  }
  .public-nav .primary {
    margin-left: auto;
  }
  .hero {
    padding: 65px 24px;
    min-height: 620px;
    align-items: flex-end;
  }
  .hero-art {
    width: 100%;
    height: 65%;
    opacity: 0.55;
    mask-image: linear-gradient(0deg, transparent, #000 30%);
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero p {
    font-size: 14px;
  }
  .public-section {
    padding: 40px 22px;
  }
  .hero .row {
    flex-wrap: wrap;
  }
  .page-head {
    flex-direction: column;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    margin: 30px 15px;
  }
  .public-footer {
    flex-wrap: wrap;
    gap: 20px;
  }
  .heat {
    grid-template-columns: repeat(4, 1fr);
  }
  .metric strong {
    font-size: 24px;
  }
  .panel {
    padding: 18px;
  }
}
@media (max-width: 760px) {
  .sidebar .bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: auto;
    margin-top: 8px;
    padding-top: 8px;
  }
  .sidebar .bottom a.menu {
    padding: 6px;
    margin: 0;
    white-space: nowrap;
    font-size: 10px;
  }
  .sidebar .bottom button {
    padding: 6px;
    white-space: nowrap;
    font-size: 10px;
  }
  .lang > button {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}
th[data-sort] {
  cursor: pointer;
}
th[data-sort]:hover {
  color: var(--gold);
}
.heat button.natural {
  background: #6aa7d622;
  border-color: #79afd26b;
  color: #a6cce7;
}
.heat button.unknown {
  background: #8a92961a;
  border-color: #8a929633;
  color: #9ba6a9;
}
