@charset "UTF-8";
:root {
  --paper: #f5f6f3;
  --white: #fff;
  --ink: #162b3c;
  --muted: #72808a;
  --line: #dfe5e4;
  --jade: #237a68;
  --jade-light: #e9f4ef;
  --red: #a83e38;
  --radius: 10px;
  font-family:
    'Microsoft YaHei UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-size: 14px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #80b7a9;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--jade);
  box-shadow: 0 0 0 3px #237a6814;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.6px;
  line-height: 1.4;
}
h2 {
  font-size: 17px;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  font-weight: 600;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--jade);
  font-weight: 700;
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.mono {
  font-family: 'Cascadia Code', 'Consolas', monospace;
  font-size: 12px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  background: var(--jade);
  color: white;
  width: 39px;
  height: 39px;
  font-family: 'STKaiti', 'KaiTi', serif;
  font-size: 25px;
  border-radius: 3px;
}
.boot-state {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 25vh 24px;
}
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
}
.sidebar {
  background: #152b3b;
  color: #d5dfe5;
  padding: 31px 20px 22px;
  position: fixed;
  width: 224px;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 8px 35px;
}
.brand strong {
  display: block;
  color: #fff;
  font-size: 17px;
  letter-spacing: 1px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.8px;
  opacity: 0.6;
}
.nav-caption {
  color: #7f96a6;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 0 14px 11px;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav a {
  display: flex;
  gap: 13px;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 13px;
  align-items: center;
}
.nav a:hover {
  background: #ffffff09;
}
.nav a.active {
  background: #2c615c;
  color: #fff;
}
.nav-icon {
  font-size: 16px;
  width: 19px;
  text-align: center;
  opacity: 0.8;
}
.sidebar-foot {
  margin-top: auto;
  padding: 24px 12px 0;
  border-top: 1px solid #ffffff17;
  font-size: 11px;
  color: #8fa4b2;
}
.connection {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #82b49d;
  display: inline-block;
}
.main-wrap {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 77px;
  background: #ffffffc9;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.breadcrumb {
  font-size: 12px;
  color: #7d8991;
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb strong {
  color: #314550;
  font-weight: 500;
}
.account-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  border-radius: 50%;
  background: #e8eeeb;
  color: #345f55;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}
.user-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.topbar .btn {
  font-size: 11px;
  padding: 5px 10px;
}
.mobile-menu {
  display: none;
}
.content {
  max-width: 1540px;
  margin: auto;
  padding: 34px 40px 40px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 27px;
}
.page-head .eyebrow {
  margin-bottom: 8px;
}
.page-head p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.page-meta {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-head {
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel-head p {
  margin-top: 4px;
}
.panel-body {
  padding: 24px;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-title:before {
  content: '';
  width: 3px;
  height: 17px;
  background: var(--jade);
  border-radius: 2px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  position: relative;
  overflow: hidden;
}
.stat-label {
  font-size: 12px;
  color: #687984;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-label span:last-child {
  font-size: 16px;
  color: #a6b8b4;
}
.stat-value {
  font-family: 'Bahnschrift', 'DIN Alternate', 'Consolas', sans-serif;
  font-size: 34px;
  line-height: 1.4;
  margin: 9px 0 6px;
  letter-spacing: -1px;
}
.stat-note {
  font-size: 10px;
  color: #8b979e;
}
.stat-accent {
  border-top: 3px solid var(--jade);
  padding-top: 21px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 22px;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  padding: 18px 23px;
  border-bottom: 1px solid var(--line);
}
.toolbar .field {
  margin: 0;
  min-width: 145px;
}
.toolbar input {
  min-width: 220px;
}
.toolbar .btn {
  min-height: 38px;
}
.btn {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 15px;
  background: #fff;
  color: #334c58;
  font-size: 12px;
  line-height: 1.7;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn:hover {
  background: #f4f7f5;
}
.btn.primary {
  background: var(--jade);
  border-color: var(--jade);
  color: #fff;
}
.btn.primary:hover {
  background: #1c6657;
}
.btn.danger {
  color: var(--red);
  border-color: #ecd4d1;
}
.btn.link {
  padding: 3px 7px;
  border: 0;
  background: none;
  color: var(--jade);
  font-size: 11px;
}
.btn.link.danger {
  color: var(--red);
}
.actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
  font-size: 12px;
  color: #536771;
}
.field label {
  font-weight: 500;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dbe2df;
  border-radius: 5px;
  background: #fff;
  padding: 9px 11px;
  color: var(--ink);
  min-height: 40px;
}
textarea {
  resize: vertical;
}
input::placeholder {
  color: #a3afb3;
  font-size: 12px;
}
.field small {
  font-size: 11px;
  color: var(--muted);
}
.field input[type='checkbox'] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--jade);
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 7px 0 13px;
  color: #536771;
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  white-space: nowrap;
  font-size: 12px;
}
th {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #7e8d94;
  font-weight: 500;
  background: #fafbf9;
  padding: 13px 23px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 23px;
  border-bottom: 1px solid #edf0ed;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfdfb;
}
.cell-main {
  font-weight: 500;
  color: #28404e;
}
.cell-sub {
  font-size: 10px;
  color: #89969d;
  margin-top: 3px;
}
.badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  background: #edf1f2;
  color: #667986;
  white-space: nowrap;
}
.badge.good {
  background: var(--jade-light);
  color: #2d7966;
}
.badge.bad {
  background: #f9edeb;
  color: #a45349;
}
.badge.warn {
  background: #fbf4e6;
  color: #9a792f;
}
.empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 12px;
}
.empty-symbol {
  font-size: 28px;
  opacity: 0.4;
  margin-bottom: 10px;
}
.error-state {
  border: 1px solid #edd7d3;
  background: #fff8f6;
  padding: 22px;
  border-radius: 8px;
  color: #914d43;
}
.error-state p {
  font-size: 12px;
  margin: 6px 0 14px;
}
.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 23px;
  border-top: 1px solid var(--line);
  color: #8b969c;
  font-size: 11px;
  gap: 15px;
}
.pager .actions {
  gap: 12px;
}
.loading {
  padding: 60px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid #dfe8e3;
  border-top-color: var(--jade);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 10px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.note {
  border: 1px solid #dce9e2;
  background: #f3f8f5;
  color: #5d766b;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 11px;
  line-height: 1.9;
}
.note.warn {
  background: #fcf8ed;
  border-color: #e9e1ca;
  color: #897547;
}
.notice-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 22px;
  border: 1px solid #dce6df;
  border-radius: 8px;
  background: #edf4ee;
  font-size: 11px;
  color: #54745e;
  margin-top: 5px;
}
.footnote {
  display: flex;
  justify-content: space-between;
  color: #a0aaad;
  font-size: 10px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.4px;
  gap: 20px;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  height: 140px;
  gap: 13px;
  padding: 15px 0 26px;
}
.bar-item {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  height: 100%;
  align-items: flex-end;
}
.bar {
  width: 100%;
  max-width: 38px;
  background: #82ac9e;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  position: relative;
}
.bar-label {
  position: absolute;
  bottom: -24px;
  color: #97a1a6;
  font-size: 9px;
  white-space: nowrap;
}
.bar-count {
  position: absolute;
  top: -19px;
  font-size: 10px;
  color: #577b6c;
}
.definition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
  margin-top: 24px;
}
.definition dt {
  font-size: 10px;
  color: #81908f;
  margin-bottom: 5px;
}
.definition dd {
  margin: 0;
  font-size: 13px;
}
.subscription {
  background: #1b3541;
  color: #ecf4ef;
  border-radius: 9px;
  padding: 29px;
  position: relative;
  overflow: hidden;
}
.subscription:after {
  content: '侠';
  position: absolute;
  right: 20px;
  top: -18px;
  font-family: 'KaiTi', serif;
  font-size: 180px;
  color: #ffffff04;
  pointer-events: none;
}
.subscription .eyebrow {
  color: #a4c6b6;
}
.subscription h2 {
  font-size: 24px;
  margin: 14px 0 5px;
  position: relative;
}
.subscription .muted {
  color: #9bb0b5;
}
.subscription .definition dt {
  color: #9bb0b5;
}
.subscription .definition dd {
  color: #eef6f1;
}
.subscription .badge {
  margin-top: 15px;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
}
.auth-art {
  background: #17303f;
  color: #e1ece8;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 58px 11%;
  overflow: hidden;
}
.auth-art .brand {
  padding: 0;
}
.auth-art h1 {
  font-family: 'STSong', 'SimSun', serif;
  font-weight: 400;
  font-size: 44px;
  letter-spacing: 4px;
  line-height: 1.6;
  margin-top: auto;
  padding-top: 80px;
}
.auth-art > p {
  color: #97aea9;
  font-size: 12px;
  line-height: 2.2;
  max-width: 340px;
  margin: 22px 0 auto;
}
.auth-art .line-art {
  position: absolute;
  right: -160px;
  bottom: -100px;
  width: 550px;
  height: 550px;
  border: 1px solid #ffffff0b;
  border-radius: 50%;
  box-shadow:
    0 0 0 55px #ffffff03,
    0 0 0 110px #ffffff02;
  pointer-events: none;
}
.auth-caption {
  font-size: 10px;
  color: #829c9f;
  letter-spacing: 2px;
  margin-top: 60px;
}
.auth-form-area {
  display: grid;
  place-items: center;
  padding: 50px 35px;
}
.auth-card {
  width: 100%;
  max-width: 365px;
}
.auth-card h2 {
  font-size: 27px;
}
.auth-card > p {
  font-size: 12px;
  color: var(--muted);
  margin: 9px 0 30px;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 27px;
}
.auth-tabs button {
  border: 0;
  background: none;
  padding: 12px 24px;
  color: #85928d;
  font-size: 12px;
  border-bottom: 2px solid transparent;
}
.auth-tabs button.active {
  border-color: var(--jade);
  color: var(--jade);
  font-weight: 600;
}
.auth-card .btn.primary {
  width: 100%;
  padding: 11px;
  margin-top: 9px;
}
.auth-note {
  margin-top: 24px;
  color: #8d999d;
  font-size: 10px;
}
.inline-error {
  font-size: 11px;
  color: var(--red);
  min-height: 20px;
  line-height: 1.8;
  margin-bottom: 5px;
}
.toasts {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 100;
  display: grid;
  gap: 10px;
  max-width: 420px;
}
.toast {
  background: #19392f;
  color: #fff;
  border-radius: 7px;
  padding: 14px 18px;
  box-shadow: 0 8px 30px #132f2826;
  font-size: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  animation: enter 0.18s ease;
}
.toast.error {
  background: #713d38;
}
.toast button {
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  opacity: 0.7;
  font-size: 15px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  width: calc(100% - 32px);
  max-width: 540px;
  box-shadow: 0 30px 120px #0e262a38;
  color: var(--ink);
}
dialog::backdrop {
  background: #10293668;
  backdrop-filter: blur(2px);
}
.modal-head {
  padding: 21px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h2 {
  font-size: 18px;
}
.modal-body {
  padding: 24px 25px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 17px 25px;
  background: #f8faf7;
  border-top: 1px solid var(--line);
}
.secret-list {
  max-height: 220px;
  overflow: auto;
  background: #f5f7f3;
  padding: 15px;
  border-radius: 6px;
  margin: 17px 0;
  font-family: 'Consolas', monospace;
  font-size: 11px;
  line-height: 2;
  user-select: all;
}
.section-gap {
  margin-top: 22px;
}
.limit-copy {
  color: #97a8a2;
  font-size: 10px;
  margin-top: 18px;
}
.w-full {
  width: 100%;
}
.auth-status {
  margin-bottom: 15px;
}
.fade-in {
  animation: enter 0.25s ease;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .content {
    padding-top: 42px;
  }
  .stats {
    gap: 22px;
  }
  .stat {
    padding: 28px;
  }
  .stat-accent {
    padding-top: 26px;
  }
}
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 194px minmax(0, 1fr);
  }
  .sidebar {
    width: 194px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .topbar {
    padding: 0 25px;
  }
  .content {
    padding: 28px 25px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .stat-accent {
    padding-top: 16px;
  }
  .stat-value {
    font-size: 28px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .page-meta {
    display: none;
  }
  th,
  td {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .sidebar {
    z-index: 30;
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 225px;
    box-shadow: 15px 0 50px #17303f29;
  }
  .sidebar.open {
    transform: none;
  }
  .main-wrap {
    width: 100%;
  }
  .topbar {
    height: 65px;
    padding: 0 18px;
    gap: 8px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    font-size: 18px;
    color: var(--ink);
  }
  .mobile-menu span {
    font-size: 13px;
  }
  .user-name {
    max-width: 90px;
  }
  .content {
    padding: 25px 17px;
  }
  .page-head {
    margin-bottom: 22px;
  }
  h1 {
    font-size: 25px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat {
    padding: 17px;
  }
  .stat-accent {
    padding-top: 15px;
  }
  .stat-value {
    font-size: 30px;
  }
  .stat-label {
    font-size: 11px;
  }
  .panel-head {
    padding: 18px;
  }
  .panel-body {
    padding: 19px;
  }
  .toolbar {
    padding: 15px 17px;
  }
  .toolbar .field {
    flex: 1;
  }
  .toolbar input {
    min-width: 130px;
  }
  .pager {
    padding: 14px 17px;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-art {
    padding: 25px 28px;
    min-height: auto;
  }
  .auth-art h1 {
    font-size: 25px;
    letter-spacing: 2px;
    padding-top: 30px;
  }
  .auth-art > p {
    font-size: 11px;
    margin: 12px 0 0;
    max-width: 100%;
  }
  .auth-art .brand {
    padding: 0;
  }
  .auth-art .brand small {
    display: none;
  }
  .auth-caption {
    display: none;
  }
  .auth-form-area {
    padding: 35px 27px;
  }
  .auth-card {
    max-width: 430px;
  }
  .auth-card h2 {
    font-size: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .footnote span:last-child {
    display: none;
  }
  .toasts {
    left: 17px;
    right: 17px;
    bottom: 17px;
    max-width: none;
  }
  .page-head .btn {
    padding: 7px 11px;
  }
  .subscription {
    padding: 24px;
  }
  .definition {
    gap: 18px;
  }
  .notice-strip {
    align-items: flex-start;
  }
  .account-menu {
    gap: 8px;
  }
  .topbar .btn {
    padding: 5px 8px;
  }
  .topbar .avatar {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
