:root {
  --bg: #f7f7f2;
  --panel: #fffefa;
  --green: #264c40;
  --green-light: #edf3ee;
  --text: #28342e;
  --muted: #7c837c;
  --line: #e6e8df;
  --orange: #b47c34;
  --shadow: 0 12px 48px #22372a12;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
a {
  color: var(--green);
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #6b927b;
  outline-offset: 3px;
}
button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 15px;
  background: var(--panel);
  color: var(--text);
  white-space: nowrap;
}
button:hover {
  background: #f1f3ed;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: #365f4e;
}
.text-button {
  padding: 3px 0;
  background: none;
  border: 0;
  color: var(--green);
  font-size: 13px;
}
.text-button:hover {
  background: none;
  color: #59806b;
}
.danger {
  color: #ac5747;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 222px;
  background: #f0f2e9;
  border-right: 1px solid var(--line);
  padding: 33px 19px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 14px 39px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
}
.brand-sub {
  display: block;
  letter-spacing: 1.5px;
  font-size: 10px;
  font-weight: 400;
  color: #788374;
  margin-top: -2px;
}
.brand-mark {
  display: block;
  width: 35px;
  height: 39px;
  border: 3px solid #6f9478;
  border-radius: 9px 9px 3px 3px;
  position: relative;
  overflow: hidden;
  background: #f8edd5;
  flex-shrink: 0;
}
.brand-mark:before {
  content: "";
  position: absolute;
  inset: 0 14px;
  border-left: 3px solid #6f9478;
}
.brand-mark:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  border-top: 3px solid #6f9478;
}
.brand-mark i {
  position: absolute;
  width: 21px;
  height: 60px;
  top: -7px;
  left: 15px;
  background: #ddbf70aa;
  transform: rotate(35deg);
}
.app-label {
  font-size: 11px;
  color: #859080;
  margin: 0 13px 9px;
}
.app-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff88;
  padding: 10px;
  border: 1px solid #dfe5d7;
  border-radius: 9px;
  margin-bottom: 27px;
}
.app-dot {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #dae6d6;
  color: #45634a;
  text-align: center;
  line-height: 30px;
  font-size: 13px;
}
.app-switch small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
}
.chevron {
  margin-left: auto;
  color: var(--muted);
}
nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 7px;
  border-radius: 7px;
  padding: 10px 15px;
  color: #6a776b;
  font-size: 13px;
}
nav a svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
nav a:hover {
  background: #e7ecdf;
}
nav a.active {
  background: var(--green);
  color: #fff;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 11px;
  color: #74806f;
  padding: 18px 10px 0;
  border-top: 1px solid #dee4d7;
}
.sidebar-bottom > span:last-child {
  display: block;
  font-size: 10px;
  color: #97a08f;
  margin-top: 4px;
}
.demo-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #89a281;
  vertical-align: middle;
}
.workspace {
  margin-left: 222px;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: #fffefa80;
  font-size: 12px;
  color: #7b867b;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.slash {
  padding: 0 13px;
  color: #c1c7b9;
}
.environment {
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid #ddd7c2;
  color: #9c8449;
  border-radius: 5px;
}
.avatar {
  width: 29px;
  height: 29px;
  background: #e4eadf;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #668064;
  font-size: 11px;
}
main {
  padding: 37px 42px 12px;
  max-width: 1600px;
  margin: auto;
  min-height: calc(100vh - 120px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
h1 {
  font-size: 25px;
  font-weight: 560;
  letter-spacing: 0.4px;
  margin: 0 0 5px;
}
h2 {
  font-size: 15px;
  font-weight: 550;
  margin: 0;
}
h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 15px;
}
.subtitle {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.date {
  font-size: 12px;
  color: #8b9387;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 27px;
}
.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 20px 22px;
}
.metric-head {
  display: flex;
  justify-content: space-between;
  color: #7f877b;
  font-size: 12px;
}
.metric-icon {
  color: #92a18c;
}
.metric-number {
  font-family: ui-rounded, "SF Pro Rounded", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.35;
  margin: 11px 0 7px;
  letter-spacing: -1px;
}
.metric-number small {
  font-size: 11px;
  color: #92998e;
  margin-left: 6px;
  font-weight: 400;
  letter-spacing: 0;
}
.metric-note {
  font-size: 10px;
  color: #8c9686;
}
.metric-note b {
  color: #648369;
  font-weight: 500;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 23px;
  overflow: hidden;
}
.panel-head {
  padding: 20px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.panel-head .subtitle {
  margin-top: 3px;
}
.panel-body {
  padding: 22px 24px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
th {
  background: #fafbf6;
  color: #8a9385;
  font-size: 11px;
  font-weight: 400;
  padding: 13px 23px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 23px;
  border-bottom: 1px solid #eef0e8;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #fcfdf8;
}
.mono {
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: 0.1px;
  color: #65775f;
}
.subcell {
  display: block;
  color: #929a8b;
  font-size: 10px;
  margin-top: 2px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 5px;
  background: #eef4ec;
  color: #608061;
}
.badge.amber {
  background: #faf1df;
  color: #ad8749;
}
.badge.gray {
  background: #f0f1ec;
  color: #919787;
}
.badge.blue {
  background: #edf2f5;
  color: #688894;
}
.badge.red {
  background: #f8ece7;
  color: #b47a67;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.platform {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
  color: #7d8978;
}
.toolbar {
  padding: 16px 23px;
  display: flex;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.toolbar input {
  max-width: 300px;
  flex: 1;
}
.toolbar select {
  min-width: 125px;
}
.count {
  margin-left: auto;
  font-size: 11px;
  color: #91998b;
}
input,
select,
textarea {
  background: #fffefa;
  border: 1px solid #dde3d6;
  border-radius: 7px;
  color: var(--text);
  padding: 9px 11px;
  min-width: 0;
}
input::placeholder {
  color: #a0a696;
}
input[type="number"] {
  width: 100%;
}
textarea {
  resize: vertical;
  min-height: 88px;
  width: 100%;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.tabs button {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0 1px 12px;
  color: #87907f;
  font-size: 12px;
}
.tabs button.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
.empty {
  text-align: center;
  padding: 40px;
  color: #929b8c;
  font-size: 12px;
}
.panel-foot {
  padding: 12px 23px;
  border-top: 1px solid var(--line);
  color: #969e8f;
  font-size: 10px;
}
.policy-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  font-size: 12px;
}
.policy-list > span:nth-child(odd) {
  color: #7a8674;
}
.policy-list strong {
  font-weight: 450;
}
.note-box {
  background: #f2f5ec;
  color: #78846d;
  padding: 13px 16px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.8;
}
.timeline {
  display: grid;
  gap: 17px;
}
.event {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 7px;
  background: #a4b497;
  flex-shrink: 0;
}
.event-title {
  font-size: 12px;
}
.event-time {
  font-size: 10px;
  color: #929b88;
  margin-top: 3px;
}
.distribution {
  display: flex;
  gap: 20px;
  margin: 10px 0 20px;
}
.distribution > div {
  flex: 1;
}
.distribution strong {
  font-size: 25px;
  font-weight: 500;
}
.distribution small {
  display: block;
  color: #8b9582;
  font-size: 11px;
}
.bar {
  height: 7px;
  display: flex;
  gap: 4px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.bar span {
  background: #789278;
}
.bar span:nth-child(2) {
  background: #c1cbb1;
}
.bar span:nth-child(3) {
  background: #e0d3ac;
}
.legend {
  display: flex;
  gap: 16px;
  color: #8e9883;
  font-size: 10px;
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #789278;
  border-radius: 1px;
  margin-right: 5px;
}
.legend span:nth-child(2):before {
  background: #c1cbb1;
}
.legend span:nth-child(3):before {
  background: #e0d3ac;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #75816e;
  font-size: 12px;
}
.field.full {
  grid-column: 1/-1;
}
.field small {
  font-size: 10px;
  color: #9ba38f;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 22px;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.info-grid dt {
  font-size: 11px;
  color: #929b88;
  margin-bottom: 5px;
}
.info-grid dd {
  font-size: 13px;
  margin: 0;
}
.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.product-row:last-child {
  border: 0;
}
.product-title {
  font-size: 13px;
}
.product-sub {
  font-size: 11px;
  color: #939b89;
  margin-top: 2px;
}
.product-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #edf3e9;
  color: #6e8968;
  margin-right: 13px;
}
.product-left {
  display: flex;
  align-items: center;
}
footer {
  padding: 12px 42px 24px;
  color: #a1a793;
  font-size: 10px;
  max-width: 1600px;
  margin: auto;
}
dialog {
  border: 1px solid #e0e5d9;
  border-radius: 15px;
  padding: 0;
  width: min(570px, calc(100vw - 32px));
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow);
  max-height: 90vh;
}
dialog::backdrop {
  background: #1b30255e;
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 23px 27px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 17px;
}
.close {
  border: 0;
  font-size: 23px;
  line-height: 1;
  padding: 3px 6px;
  color: #8f9987;
  background: none;
}
.dialog-body {
  padding: 24px 27px;
}
.dialog-body .note-box {
  margin-top: 20px;
}
.generated {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  min-height: 130px;
  margin-top: 17px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  background: var(--green);
  padding: 12px 22px;
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 12px;
  z-index: 10;
}
.toast[hidden] {
  display: none;
}
.stack-gap {
  margin-top: 20px;
}
.official-link {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 12px;
}
main:focus {
  outline: none;
}
.quantity {
  font-variant-numeric: tabular-nums;
}
.card-title-row {
  display: flex;
  gap: 15px;
  align-items: center;
}
.app-large-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: #dde7d7;
  color: #5e805a;
  display: grid;
  place-items: center;
  font-size: 23px;
}
.fine {
  font-size: 11px;
  color: #8d9881;
}
.chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.row-actions {
  display: flex;
  gap: 14px;
}
@media (min-width: 1550px) {
  main {
    padding-top: 45px;
  }
  .metrics {
    gap: 24px;
  }
  .metric {
    padding: 25px;
  }
  .topbar {
    padding: 0 max(42px, calc((100vw - 1550px) / 2));
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 192px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .workspace {
    margin-left: 192px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 28px 25px 10px;
  }
  .metric {
    padding: 16px;
  }
  .metrics {
    gap: 12px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  td,
  th {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 21px;
    margin: 0 7px 14px;
  }
  .brand-mark {
    width: 28px;
    height: 30px;
  }
  .brand-sub,
  .app-label,
  .app-switch,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  nav a {
    white-space: nowrap;
    padding: 7px 10px;
    font-size: 12px;
    margin: 0;
  }
  nav a svg {
    display: none;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 55px;
    padding: 0 19px;
  }
  main {
    padding: 24px 17px 10px;
    min-height: 70vh;
  }
  .page-heading {
    margin-bottom: 21px;
    align-items: flex-start;
  }
  h1 {
    font-size: 22px;
  }
  .subtitle {
    font-size: 11px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric-number {
    font-size: 28px;
  }
  .date {
    display: none;
  }
  .grid-two {
    gap: 0;
  }
  .form-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .panel-head,
  .panel-body,
  .toolbar {
    padding: 16px;
  }
  .toolbar input {
    max-width: none;
    flex-basis: 100%;
  }
  .toolbar select {
    flex: 1;
    min-width: 0;
  }
  .count {
    margin-left: 0;
  }
  .toast {
    left: 50%;
    max-width: 90vw;
    white-space: nowrap;
  }
  footer {
    padding: 12px 17px 22px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-head {
    padding: 19px 20px;
  }
}
[hidden] {
  display: none !important;
}
#login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 25px;
}
.login-card {
  width: min(360px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 35px;
}
.login-brand {
  font-size: 14px;
  color: #77906c;
  letter-spacing: 4px;
}
.login-card h1 {
  margin: 7px 0 27px;
}
.login-card .field {
  margin-bottom: 17px;
}
.login-card button.primary {
  width: 100%;
}
.form-error {
  font-size: 12px;
  color: #ae6957;
  min-height: 20px;
}
.sidebar-bottom .text-button {
  margin-left: 12px;
}
.toolbar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 15px;
}
.panel-foot button {
  font-size: 11px;
  padding: 5px 10px;
  margin-right: 8px;
}
.form-actions .fine {
  margin-right: auto;
}
.app-switch {
  width: 100%;
  color: var(--green);
}
.generated {
  margin-top: 18px;
}
.row-actions {
  gap: 10px;
}
