* {
  box-sizing: border-box;
}
:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: #1b2534;
  background: #f7f8fa;
  font-synthesis: none;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible {
  outline: 2px solid #7588f8;
  outline-offset: 4px;
}
.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid #e9ecf1;
  display: flex;
  flex-direction: column;
  padding: 32px 20px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  font-size: 30px;
  letter-spacing: -1.8px;
  font-weight: 750;
}
.brand-mark {
  background: #273b40;
  color: #d2ece4;
  border-radius: 10px;
  width: 31px;
  height: 34px;
  text-align: center;
  font-size: 29px;
  line-height: 29px;
  font-family: Georgia, serif;
  letter-spacing: -2px;
}
.brand-dot {
  color: #82a795;
}
.workspace {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #e8ebef;
  border-radius: 9px;
  padding: 12px 10px;
  margin: 34px 0 30px;
  font-size: 12px;
  font-weight: 600;
}
.workspace-avatar {
  width: 29px;
  height: 29px;
  border-radius: 7px;
  background: #eef1ed;
  color: #627467;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 17px;
}
.workspace small {
  display: block;
  color: #9299a5;
  font-size: 10px;
  font-weight: 400;
  margin-top: 4px;
}
.workspace-arrow {
  margin-left: auto;
  color: #9299a5;
}
.nav-label {
  font-size: 10px;
  color: #9aa2ad;
  letter-spacing: 1.2px;
  padding-left: 14px;
  margin: 0 0 12px;
}
nav {
  display: grid;
  gap: 7px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 12px;
  color: #7c8692;
  transition: background 0.15s;
}
nav a span {
  font-size: 17px;
  width: 18px;
  text-align: center;
  line-height: 16px;
  color: #a0a8b3;
}
nav a:hover {
  background: #f6f7f9;
}
nav a.active {
  background: #edf3ef;
  color: #365c49;
  font-weight: 600;
}
nav a.active span {
  color: #668873;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf0f3;
  padding: 22px 12px 0;
  font-size: 10px;
  color: #8f97a3;
}
.small-dot,
.footer-indicator {
  width: 5px;
  height: 5px;
  background: #83a690;
  border-radius: 50%;
  display: inline-block;
}
.version {
  margin-left: auto;
  color: #b1b8c0;
}
.workspace-main {
  margin-left: 232px;
  min-height: 100vh;
  width: calc(100% - 232px);
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 76px;
  padding: 0 48px;
  border-bottom: 1px solid #e9ecf1;
  background: #ffffffb0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.breadcrumb {
  color: #9da5af;
}
.slash {
  color: #c5cbd2;
  margin: 0 14px;
}
.topbar-caption {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #a3aab4;
}
main {
  max-width: 1192px;
  width: 100%;
  padding: 48px 58px 30px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.9px;
  color: #97a19b;
  margin: 0 0 13px;
}
h1 {
  font-size: 26px;
  letter-spacing: -0.6px;
  font-weight: 600;
  margin: 0 0 10px;
}
.page-heading p:not(.eyebrow) {
  font-size: 11px;
  color: #949da8;
  margin: 0;
}
.health-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #e3e9e5;
  background: #fff;
  border-radius: 5px;
  color: #84938c;
  font-size: 9px;
}
.health-badge span {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #a9b0ba;
}
.health-badge.ok span {
  background: #79a68b;
}
.health-badge.error {
  color: #b27b55;
}
.health-badge.error span {
  background: #c39468;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  padding: 21px 23px 20px;
}
.stat-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8993a1;
  font-size: 10px;
}
.stat-icon {
  font-size: 15px;
  color: #a5b0bd;
}
.stat-card strong {
  font-size: 26px;
  font-weight: 500;
  color: #c6cdd5;
  display: block;
  line-height: 38px;
  margin: 13px 0 9px;
}
.stat-card strong.service-value {
  font-size: 20px;
  letter-spacing: -0.5px;
  color: #53715e;
  font-weight: 500;
}
.stat-card p {
  font-size: 9px;
  color: #a5adb7;
  margin: 0;
}
.main-panel {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 11px;
  margin-top: 25px;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f4;
  padding: 19px 24px;
}
.panel-heading h2 {
  font-size: 11px;
  font-weight: 500;
  margin: 0;
  color: #596574;
}
.panel-tag {
  color: #9aa5af;
  font-size: 8px;
  background: #f6f8f9;
  padding: 4px 7px;
  border-radius: 4px;
}
.empty-state {
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px;
  text-align: center;
}
.empty-illustration {
  position: relative;
  width: 120px;
  height: 98px;
  margin: 0 0 18px;
}
.empty-tile {
  position: absolute;
  width: 62px;
  height: 66px;
  border-radius: 13px;
  border: 1px solid #dbe6de;
}
.tile-back {
  left: 22px;
  top: 7px;
  transform: rotate(-12deg);
  background: #f1f5f1;
}
.tile-front {
  left: 38px;
  top: 21px;
  transform: rotate(8deg);
  background: linear-gradient(135deg, #fafcf9, #edf3ec);
  box-shadow: 0 4px 8px #254e2c05;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 43px;
  color: #7c9c84;
}
.tile-front span {
  color: #afc0ab;
  font-size: 34px;
  margin-left: 1px;
}
.spark {
  position: absolute;
  color: #bfd0c2;
  font-size: 15px;
  font-weight: 300;
}
.spark-one {
  right: 0;
  top: 14px;
}
.spark-two {
  left: 5px;
  bottom: 8px;
  font-size: 11px;
}
.empty-state h3 {
  font-size: 15px;
  letter-spacing: 0.3px;
  color: #4f5f57;
  font-weight: 500;
  margin: 0 0 12px;
}
.empty-state p {
  font-size: 10px;
  line-height: 1.8;
  color: #a1a9b2;
  margin: 0;
}
.coming-soon {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  border: 1px solid #e5ebe6;
  background: #fcfdfb;
  border-radius: 5px;
  padding: 9px 13px;
  font-size: 9px;
  color: #87988b;
  margin-top: 24px;
}
.coming-soon > span {
  color: #b1beb3;
}
.panel-footer {
  background: #fcfdfc;
  border-top: 1px solid #eff2ef;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 13px;
  color: #a1aca5;
  font-size: 8px;
}
.footer-indicator {
  background: #adbdaf;
  width: 4px;
  height: 4px;
}
.footer-divider {
  padding: 0 3px;
  color: #c5cec7;
}
.next-note {
  display: flex;
  gap: 9px;
  justify-content: center;
  font-size: 9px;
  color: #a3acb6;
  padding-top: 23px;
}
.next-note span {
  color: #b7c1ba;
}
.page-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 25px 48px;
  font-size: 8px;
  color: #abb3be;
  letter-spacing: 0.3px;
}
.page-footer code {
  font-size: 8px;
  color: #919dab;
  margin-left: 4px;
}
@media (min-width: 1500px) {
  main {
    padding-top: 65px;
  }
  .empty-state {
    min-height: 380px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 190px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .workspace-main {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
  main {
    padding: 35px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .topbar-caption {
    display: none;
  }
  .page-footer {
    padding: 25px;
  }
  .stat-card {
    padding: 18px;
  }
  .stat-grid {
    gap: 12px;
  }
}
@media (max-width: 620px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 14px 18px;
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #e9ecf1;
    gap: 20px;
  }
  .brand {
    font-size: 24px;
    padding: 0;
  }
  .brand-mark {
    width: 25px;
    height: 28px;
    font-size: 24px;
    line-height: 24px;
    border-radius: 7px;
  }
  .workspace,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    gap: 3px;
    margin-left: auto;
  }
  nav a {
    padding: 8px;
    font-size: 11px;
  }
  nav a span {
    display: none;
  }
  body {
    flex-direction: column;
  }
  .workspace-main {
    width: 100%;
    margin: 0;
    min-height: calc(100vh - 62px);
  }
  .topbar {
    height: 53px;
    padding: 0 20px;
  }
  main {
    padding: 30px 18px 20px;
  }
  .page-heading {
    gap: 10px;
    margin-bottom: 25px;
  }
  .eyebrow {
    font-size: 7px;
  }
  h1 {
    font-size: 23px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 10px;
  }
  .health-badge {
    white-space: nowrap;
    font-size: 8px;
  }
  .stat-grid {
    gap: 8px;
  }
  .stat-card {
    padding: 14px 12px;
  }
  .stat-card > div {
    font-size: 9px;
  }
  .stat-icon {
    display: none;
  }
  .stat-card strong {
    font-size: 22px;
    margin-top: 8px;
  }
  .stat-card strong.service-value {
    font-size: 15px;
  }
  .stat-card p {
    font-size: 8px;
    line-height: 1.6;
  }
  .empty-state {
    padding: 32px 18px;
    min-height: 300px;
  }
  .panel-heading {
    padding: 16px 18px;
  }
  .empty-state h3 {
    font-size: 14px;
  }
  .empty-state p {
    font-size: 9px;
  }
  .page-footer {
    padding: 20px;
  }
}
