:root {
  --green: #25b887;
  --green-dark: #209f74;
  --text: #333;
  --muted: #999;
  --line: #e5e5e5;
  --link: #2c74c4;
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f1f1f1;
  color: var(--text);
  font: 14px/1.5 "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #bb3543;
}

.page {
  min-height: 100vh;
}

.site-header {
  display: flex;
  align-items: center;
  min-width: 1180px;
  height: 80px;
  padding: 0 max(20px, calc((100% - var(--page-width)) / 2));
  background: var(--green);
  color: #d6f8e4;
}

.brand {
  display: flex;
  align-items: center;
  width: 200px;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 176px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.brand strong {
  display: none;
}

.main-nav {
  display: flex;
  align-items: stretch;
  height: 80px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 12px;
  color: #d6f8e4;
  font-size: 16px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  text-decoration: none;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  border-left: 8px solid transparent;
}

.sub-nav {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 max(20px, calc((100% - var(--page-width)) / 2));
  overflow-x: auto;
  background: #fff;
  box-shadow: 0 2px 5px #d9dfdc;
  scrollbar-width: none;
}

.sub-nav::-webkit-scrollbar {
  display: none;
}

.sub-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 40px;
  color: #666;
  white-space: nowrap;
}

.sub-nav a:hover,
.sub-nav a.active {
  color: var(--green);
}

.content {
  width: min(var(--page-width), calc(100% - 40px));
  min-height: 390px;
  margin: 20px auto;
  padding: 0;
  clear: both;
}

.report-title {
  display: block;
  min-height: 60px;
  padding: 18px 24px;
  border: 1px solid #e7e7e7;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.content h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin: 0;
  padding: 0 24px;
  border-right: 1px solid #e7e7e7;
  border-left: 1px solid #e7e7e7;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

.check-dot {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.report-table {
  width: 100%;
  border: 1px solid #e7e7e7;
  border-top: 0;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}

.report-table th,
.report-table td {
  height: 48px;
  padding: 0 16px;
  border: 0;
  color: #666;
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
}

.report-table th {
  height: 44px;
  background: #f7f7f7;
  color: #666;
  font-weight: 400;
}

.report-table th:first-child,
.report-table td:first-child {
  width: 18%;
  padding-left: 24px;
}

.report-table th:nth-child(2),
.report-table td:nth-child(2) {
  width: 11%;
}

.report-table th:nth-child(3),
.report-table td:nth-child(3) {
  width: 17%;
}

.report-table th:nth-child(4),
.report-table td:nth-child(4) {
  width: 24%;
}

.report-table td {
  border-bottom: 1px solid #eee;
}

.report-table td a {
  color: var(--link);
}

.report-table td a:hover {
  color: #bb3543;
  text-decoration: underline;
}

.actions {
  white-space: nowrap;
}

.actions a {
  display: inline-block;
  margin-right: 16px;
}

.actions a:last-child {
  margin-right: 0;
}

.footer {
  min-height: 80px;
  padding: 16px 20px 10px;
  background: #fff;
  color: #a8a8a8;
  font-size: 12px;
  line-height: 24px;
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .page {
    width: 100%;
    min-height: 100vh;
    padding: 10px 20px 0;
  }

  .site-header {
    height: 80px;
    min-width: 0;
    padding: 0 20px;
    border-radius: 12px 12px 0 0;
  }

  .brand {
    width: 200px;
  }

  .brand img {
    width: 176px;
    height: 52px;
  }

  .main-nav {
    height: 80px;
    flex: 1 1 auto;
    overflow-x: auto;
  }

  .main-nav a {
    padding: 0 12px;
    font-size: 16px;
  }

  .sub-nav {
    height: 50px;
    min-width: 0;
    padding: 0 20px;
  }

  .sub-nav a {
    margin-right: 40px;
  }

  .content {
    width: 100%;
    min-height: 390px;
    margin: 20px auto 0;
    overflow-x: auto;
    background: #fff;
  }

  .report-table {
    width: 820px;
    min-width: 820px;
  }

  .report-title,
  .content h2 {
    min-width: 0;
    width: 100%;
  }

  .report-title {
    min-height: 60px;
    padding: 18px 24px;
    font-size: 16px;
    line-height: 24px;
    overflow-wrap: anywhere;
  }

  .content h2 {
    min-height: 46px;
    padding: 0 24px;
  }

  .footer {
    min-width: 0;
    min-height: 80px;
    margin-top: 280px;
    padding: 16px 20px 10px;
    text-align: right;
  }
}
