:root {
  font:
    14px/1.55 "Inter",
    "Microsoft YaHei UI",
    "PingFang SC",
    sans-serif;
  color: #1b2d27;
  background: #f5f6f2;
  --line:#dce3da;
  --quiet:#5f7068;
  --green:#23624c;
  --deep:#193d35;
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
button,
input,
select {
  font: inherit;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
button,
select {
  cursor: pointer;
}
button:disabled {
  opacity: .5;
  cursor: default;
}
:focus-visible {
  outline: 3px solid #68a783;
  outline-offset: 2px;
}
.entry {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-wrap {
  width: min(100%, 416px);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 18px;
  white-space: nowrap;
}
.mark {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 35px;
  height: 35px;
  padding: 10px 7px;
  border-radius: 9px;
  background: #c3e6aa;
}
.mark i {
  width: 5px;
  height: 8px;
  background: #234b3e;
  border-radius: 2px;
}
.mark i:nth-child(2) {
  height: 15px;
}
.mark i:nth-child(3) {
  height: 11px;
}
.login-card {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--deep);
  border-radius: 12px;
  margin-top: 16px;
}
.login-card p,
header p,
.dialog-head p,
.hint {
  color: var(--quiet);
  font-size: 13px;
}
.login-card label {
  display: grid;
  gap: 5px;
  margin-top: 15px;
}
.login-card input {
  width: 100%;
  min-height: 42px;
}
.login-card .primary {
  width: 100%;
  margin-top: 22px;
}
input,
select {
  min-height: 36px;
  border: 1px solid #cad5ca;
  background: white;
  color: #1b2d27;
  border-radius: 6px;
  padding: 6px 10px;
}
.primary,
.secondary {
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  border-radius: 7px;
  padding: 8px 14px;
  min-height: 39px;
  font-weight: 600;
}
.primary:hover:not(:disabled) {
  background: #194f3c;
}
.secondary {
  background: white;
  color: #1b2d27;
  border-color: var(--line);
}
.link {
  padding: 3px 0;
  background: none;
  border: 0;
  color: var(--green);
  font-weight: 600;
}
.link:hover {
  text-decoration: underline;
}
.shell {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: 195px minmax(0, 1fr);
}
aside {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100dvh;
  color: #edf8ef;
  background: var(--deep);
  padding: 30px 16px 20px;
}
nav {
  margin-top: 35px;
}
nav a {
  display: block;
  color: #eef9e8;
  padding: 10px 13px;
  border-radius: 7px;
  text-decoration: none;
  background: #345b48;
  font-weight: 650;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #3b5a50;
  margin-top: auto;
  padding-top: 12px;
}
footer strong,
footer small {
  display: block;
  overflow-wrap: anywhere;
}
footer small {
  color: #b9d0c4;
}
footer button {
  flex: none;
  background: none;
  border: none;
  color: #d7e6da;
  padding: 5px;
  font-size: 12px;
}
.dashboard {
  width: 100%;
  max-width: 1550px;
  min-width: 0;
  margin: auto;
  padding: 0 clamp(16px, 4vw, 62px) 40px;
  align-self: start;
  margin-block: 0;
}
.topline {
  color: var(--quiet);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font-size: 12px;
}
.topline span {
  padding: 0 7px;
  color: #a0ab9f;
}
.dashboard header,
.panel-head,
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.dashboard header {
  padding: 24px 0;
}
.dashboard header button {
  white-space: nowrap;
}
h1 {
  font-size: clamp(28px, 3vw, 39px);
  letter-spacing: -.05em;
  line-height: 1.3;
}
h2 {
  font-size: 17px;
}
h2 small {
  color: var(--quiet);
  font-size: 12px;
  margin-left: 6px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.metric,
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.metric {
  padding: 14px 16px;
  min-width: 0;
}
.metric:first-child {
  background: #dfeeda;
  border-color: #c4d9bd;
}
.metric strong {
  display: block;
  font-size: clamp(21px, 2.4vw, 33px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.metric span,
.metric small {
  color: var(--quiet);
  font-size: 12px;
}
.panel {
  overflow: hidden;
  min-width: 0;
  margin-top: 16px;
}
.panel-head {
  padding: 15px 19px;
  border-bottom: 1px solid var(--line);
}
.panel > .hint,
.panel > ul {
  padding: 12px 19px;
}
.panel > ul {
  padding-top: 0;
  margin: 0 0 0 20px;
}
.filters,
.sample-bar,
.actions,
.pager {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.filters {
  padding: 11px 17px;
  border-bottom: 1px solid var(--line);
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 11px 15px;
  border-bottom: 1px solid #e7ede5;
}
th {
  color: var(--quiet);
  background: #f8faf7;
  font-size: 12px;
}
td small {
  display: block;
  color: var(--quiet);
  font-size: 11px;
}
.tag {
  background: #edf1ec;
  color: #44594b;
  font-size: 11px;
  border-radius: 5px;
  padding: 3px 7px;
}
.tag.good {
  background: #e9f3e8;
  color: #23624c;
}
.tag.warn {
  background: #fff1de;
  color: #985720;
}
.empty {
  text-align: center;
  padding: 25px;
  color: var(--quiet);
}
.pager:not(:empty) {
  justify-content: flex-end;
  padding: 8px 15px;
}
.pager span {
  color: var(--quiet);
  font-size: 12px;
}
dialog {
  width: min(525px, calc(100% - 24px));
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  color: inherit;
}
dialog::backdrop {
  background: #142c2580;
}
.dialog-head {
  align-items: flex-start;
}
.close {
  background: #edf2ec;
  border: 0;
  border-radius: 6px;
  font-size: 21px;
  line-height: 28px;
  width: 30px;
  flex: none;
}
.pick {
  margin: 15px 0;
  display: grid;
  position: relative;
  text-align: center;
  padding: 18px;
  gap: 5px;
  border: 1px dashed #8faa91;
  border-radius: 7px;
  background: #f6f9f3;
  cursor: pointer;
}
.pick:focus-within {
  outline: 2px solid var(--green);
}
.pick small {
  color: var(--quiet);
}
.pick input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.sample-bar {
  font-size: 12px;
  margin-bottom: 8px;
}
.sample-bar .link {
  font-size: 12px;
  margin-left: auto;
}
.actions {
  justify-content: flex-end;
  margin-top: 15px;
}
.preview-file {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.preview-file:first-child {
  margin-top: 13px;
}
.preview-file p,
.preview-file details,
.progress {
  font-size: 12px;
  color: var(--quiet);
}
.preview-file ol {
  max-height: 130px;
  overflow: auto;
  margin: 3px 0;
  padding-left: 22px;
}
.error {
  color: #8e382c;
  background: #fff0ec;
  margin: 9px 0;
  padding: 8px;
  border-radius: 5px;
}
.progress:not(:empty),
#notice:not(:empty) {
  color: var(--green);
  background: #eaf3e8;
  padding: 8px;
  border-radius: 5px;
  margin: 9px 0;
}
.sr-only {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 740px) {
  .shell {
    display: block;
  }
  aside {
    position: static;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 13px;
    padding: 11px 14px;
  }
  .brand {
    font-size: 16px;
  }
  .mark {
    width: 28px;
    height: 28px;
    padding: 7px 4px;
  }
  nav {
    margin: 0;
  }
  nav a {
    padding: 5px 8px;
    font-size: 12px;
  }
  footer {
    margin: 0 0 0 auto;
    border: 0;
    padding: 0;
  }
  footer small {
    font-size: 10px;
  }
  footer strong {
    font-size: 12px;
  }
  .topline {
    padding: 12px 0;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .dashboard header {
    padding: 16px 0;
    flex-wrap: wrap;
  }
  .metric {
    padding: 10px;
  }
  .filters input {
    max-width: 100%;
    width: 180px;
  }
  .panel-head {
    padding: 12px 14px;
  }
}
