:root {
  --nav: #102c2c;
  --green: #147d68;
  --light: #e9f4ef;
  --ink: #203533;
  --muted: #7c8d89;
  --line: #e6ece9;
  --bg: #f5f7f6;
  --gold: #b18b41;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.6 "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #56bba1;
  outline-offset: 3px;
}
a {
  color: var(--green);
  text-decoration: none;
}
button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  padding: 9px 16px;
  color: var(--ink);
  transition: 0.15s;
}
button:hover {
  background: #f0f7f3;
}
button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
button.primary:hover {
  background: #106652;
}
button.link {
  padding: 3px 6px;
  color: var(--green);
  border: 0;
  background: none;
}
button.danger {
  color: #ac5544;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dbe4df;
  border-radius: 7px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  outline-color: #63ad98;
}
label {
  display: block;
  font-size: 12px;
  color: #647a73;
  margin-bottom: 6px;
}
input[type="checkbox"] {
  width: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.8px;
  font-weight: 600;
}
h2 {
  font-size: 17px;
  font-weight: 600;
}
h3 {
  font-size: 14px;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 11px;
}
.num {
  font-family: "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}
.app {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--nav);
  color: #b1c6bf;
  display: flex;
  flex-direction: column;
  padding: 30px 18px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font:
    700 22px "Segoe UI",
    sans-serif;
  color: #fff;
  letter-spacing: 2px;
  padding: 0 14px 30px;
}
.brand em {
  font-style: normal;
  color: #86ceb2;
}
.brand small {
  display: block;
  letter-spacing: 3px;
  font: 10px "Segoe UI";
  color: #82a79a;
  margin-top: 6px;
}
.org {
  border: 1px solid #33504a;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 25px;
  color: #eff6f2;
}
.org small {
  color: #8cac9e;
}
.section-label {
  font-size: 10px;
  color: #668a7e;
  letter-spacing: 2px;
  padding: 15px 14px 8px;
}
.navbutton {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #a7bfb6;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  margin: 3px 0;
}
.navbutton .glyph {
  width: 20px;
  font: 18px "Segoe UI";
  text-align: center;
}
.navbutton.active {
  color: white;
  background: #235044;
}
.navbutton:hover {
  background: #1c4039;
  color: white;
}
.navbutton .count {
  margin-left: auto;
  font-size: 10px;
  background: #45675a;
  color: #d6e9df;
  padding: 0 7px;
  border-radius: 5px;
}
.sidefoot {
  margin-top: auto;
  padding: 20px 12px 0;
  border-top: 1px solid #2a4940;
  font-size: 11px;
  color: #8aa99c;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e9f1ed;
  color: #49826b;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar.dark {
  background: #315347;
  color: #d9e9de;
}
.main {
  min-width: 0;
}
.topbar {
  height: 76px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
}
.topbar .right {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
}
.statusdot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #409d7c;
  border-radius: 50%;
  margin-right: 7px;
}
.tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 5px;
  color: #27765c;
  background: #edf6f0;
}
.tag.amber {
  background: #fbf4e6;
  color: #a27a31;
}
.tag.blue {
  background: #edf2fa;
  color: #52749f;
}
.tag.red {
  background: #faefeb;
  color: #b0604b;
}
.tag.gray {
  background: #f0f2f1;
  color: #86928c;
}
.content {
  padding: 29px 34px 36px;
  max-width: 1800px;
  margin: auto;
}
.pagehead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.pagehead p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.grid {
  display: grid;
  gap: 20px;
}
.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.split {
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.pad {
  padding: 23px;
}
.metric {
  padding: 22px 24px;
}
.metric .number {
  font-size: 31px;
  margin: 12px 0 6px;
  font-weight: 600;
}
.metric .number small {
  font: 12px "Microsoft YaHei";
  margin-left: 6px;
}
.metric .bottom {
  font-size: 11px;
  color: var(--muted);
}
.up {
  color: #27926d;
}
.metric .mini-icon {
  float: right;
  color: #72a991;
  background: #f1f7f3;
  border-radius: 6px;
  padding: 4px 9px;
}
.cardhead {
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mt {
  margin-top: 20px;
}
.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tabs button {
  border: 0;
  border-radius: 0;
  padding: 12px 0;
  background: none;
  color: #82928a;
}
.tabs button.selected {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  font-weight: 600;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 23px;
  border-bottom: 1px solid var(--line);
}
.toolbar input {
  max-width: 280px;
}
.toolbar select {
  max-width: 160px;
}
.tablewrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  font-size: 12px;
}
th {
  text-align: left;
  font-weight: 400;
  color: #8b9b94;
  background: #fafcfb;
  padding: 13px 22px;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #eff3f0;
}
td .sub {
  font-size: 10px;
  color: #8c9b94;
  display: block;
  margin-top: 3px;
}
tbody tr:hover {
  background: #fcfefd;
}
.customer {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer {
  padding: 17px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.footer button {
  padding: 4px 10px;
}
.callout {
  background: #eef5f0;
  border: 1px solid #dcebe1;
  border-radius: 7px;
  padding: 13px 16px;
  font-size: 12px;
  color: #58776a;
}
.callout.amber {
  background: #fcf7ec;
  border-color: #f1e7cf;
  color: #94743a;
}
.field {
  margin-bottom: 18px;
}
.field strong {
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
}
.amountfield {
  padding: 16px;
  background: #f6f9f7;
  border-radius: 9px;
  border: 1px solid var(--line);
}
.amountfield input {
  font: 30px "Segoe UI";
  border: 0;
  background: none;
  padding: 8px 0;
  width: 70%;
}
.amountfield .coin {
  font-size: 18px;
  font-weight: 600;
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  font-size: 12px;
}
.kv strong {
  font-weight: 500;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 15px 0;
}
.bigvalue {
  font: 600 36px "Segoe UI";
  color: var(--green);
  margin: 12px 0;
}
.profit {
  background: #f0f6f1;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 17px 0;
}
.profit .value {
  font: 600 25px "Segoe UI";
  color: var(--green);
}
.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.quick button {
  text-align: left;
  border: 0;
  background: #f5f8f6;
  padding: 17px;
}
.quick button span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.todo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.todo .info {
  flex: 1;
  font-size: 12px;
}
.todo:last-child {
  border: 0;
}
.circle {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbf1dd;
  color: #aa8442;
  border-radius: 50%;
  font-size: 11px;
}
.chart {
  height: 176px;
  position: relative;
  margin-top: 20px;
}
.chart svg {
  width: 100%;
  height: 145px;
}
.chartlabels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9aaba1;
}
.legend {
  font-size: 11px;
  color: #7b9186;
  display: flex;
  gap: 18px;
}
.legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21866b;
  margin-right: 5px;
}
.legend i.gold {
  background: #c8ad70;
}
.context {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  border: 1px solid #dfebe4;
  border-left: 3px solid var(--green);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.context .meta {
  flex: 1;
}
.context select {
  width: 230px;
}
.context .sub {
  font-size: 11px;
  color: #82958a;
}
.note {
  font-size: 11px;
  color: #91a097;
  margin-top: 14px;
}
.asset {
  padding: 22px;
}
.asset .currency {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.coinicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6f1;
  color: #337c5d;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 16px;
}
.asset .balance {
  font: 600 28px "Segoe UI";
  margin: 22px 0 10px;
}
.steps {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 11px;
  color: #8a9b91;
}
.steps b {
  color: var(--green);
}
.stepnum {
  background: #e5f2e9;
  padding: 3px 7px;
  border-radius: 50%;
  margin-right: 6px;
  color: var(--green);
}
.upload {
  padding: 24px;
  border: 1px dashed #bfd2c4;
  background: #fbfdfb;
  text-align: center;
  border-radius: 8px;
  color: #7b9585;
}
.timeline {
  padding-left: 20px;
  border-left: 1px solid #dce8e0;
}
.timeline p {
  position: relative;
  padding-bottom: 22px;
  font-size: 12px;
}
.timeline p:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: #75a88a;
  border-radius: 50%;
  left: -24px;
  top: 7px;
}
.timeline small {
  display: block;
}
.modalback {
  position: fixed;
  inset: 0;
  background: #0f292b66;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  background: #fff;
  border-radius: 13px;
  width: 600px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 24px 100px #0b302b30;
}
.modal.wide {
  width: 760px;
}
.modalbody {
  padding: 24px;
}
.modalhead {
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modalfoot {
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.error {
  font-size: 12px;
  color: #b65e49;
  min-height: 20px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #173f34;
  color: #fff;
  padding: 13px 24px;
  border-radius: 8px;
  z-index: 30;
  box-shadow: 0 5px 25px #102c2c22;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 50px;
}
.detailhero {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 26px;
}
.detailhero .avatar {
  width: 55px;
  height: 55px;
  font-size: 20px;
}
.template {
  padding: 23px;
}
.template .number {
  font: 600 26px "Segoe UI";
  margin: 20px 0;
}
.template .pairs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.template .pairs span {
  font: 11px "Segoe UI";
  background: #f3f7f4;
  padding: 4px 8px;
  border-radius: 5px;
}
.bar {
  height: 5px;
  background: #edf4ef;
  border-radius: 4px;
  overflow: hidden;
}
.bar span {
  height: 100%;
  background: #76ac8a;
  display: block;
}
.viewbadge {
  font-size: 10px;
  border: 1px solid #e3eae4;
  color: #8b9b90;
  padding: 3px 8px;
  border-radius: 5px;
}
.mobilemenu {
  display: none;
}
.prototypefooter {
  text-align: center;
  color: #9aaba0;
  font-size: 10px;
  letter-spacing: 0.6px;
  margin-top: 26px;
}
.result {
  padding: 30px;
  text-align: center;
}
.result .check {
  font-size: 40px;
  color: var(--green);
  margin-bottom: 10px;
}
@media (min-width: 1600px) {
  .content {
    padding: 36px 48px;
  }
  .topbar {
    padding: 0 48px;
  }
}
@media (max-width: 1150px) {
  .app {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .content {
    padding: 24px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .four {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .app {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 14px;
    display: block;
  }
  .brand {
    padding: 0 8px 10px;
    font-size: 18px;
  }
  .org,
  .section-label,
  .sidefoot {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
  }
  .navbutton {
    min-width: max-content;
    width: auto;
    padding: 8px 12px;
    font-size: 12px;
  }
  .navbutton .glyph,
  .navbutton .count {
    display: none;
  }
  .topbar {
    height: 60px;
    padding: 0 18px;
  }
  .topbar .right {
    gap: 10px;
  }
  .topbar .right .hide {
    display: none;
  }
  .content {
    padding: 20px 15px;
  }
  .pagehead {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  h1 {
    font-size: 23px;
  }
  .two,
  .four {
    grid-template-columns: 1fr;
  }
  .metric .number {
    font-size: 27px;
  }
  .context {
    flex-wrap: wrap;
  }
  .context select {
    width: 100%;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .quick {
    grid-template-columns: repeat(2, 1fr);
  }
  .modalback {
    padding: 10px;
  }
  .grid {
    gap: 14px;
  }
  .tabs {
    gap: 18px;
    overflow: auto;
  }
  .tabs button {
    white-space: nowrap;
  }
}
