:root {
  font-family: system-ui, "Noto Sans CJK SC", sans-serif;
  color: #203b32;
  background: #f3f5f1;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
aside {
  position: fixed;
  width: 210px;
  height: 100vh;
  background: #173e32;
  color: #e7f0e8;
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.brand {
  font-size: 32px;
  font-weight: 750;
  letter-spacing: 5px;
}
aside p {
  font-size: 10px;
  letter-spacing: 2px;
}
aside a {
  color: inherit;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #416052;
}
aside small {
  margin-top: auto;
  line-height: 1.8;
  color: #bdd0c2;
}
main {
  max-width: 1400px;
  margin-left: 210px;
  padding: 38px 42px;
}
h1 {
  font-size: 36px;
  margin: 16px 0;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.7;
  color: #5b6c63;
}
.badge {
  background: #e2edce;
  color: #385125;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 12px;
}
section {
  background: white;
  padding: 24px;
  margin: 24px 0;
  border: 1px solid #dce3d9;
  border-radius: 12px;
  box-shadow: 0 4px 15px #223b3305;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
}
input,
select,
button {
  font: inherit;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #bacbc0;
  max-width: 100%;
  min-width: 0;
}
input,
select {
  width: 100%;
  background: #fff;
  color: #203b32;
}
button {
  cursor: pointer;
  background: #24674d;
  color: white;
  border-color: #24674d;
}
button.secondary {
  background: #fff;
  color: #24674d;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
input:disabled,
select:disabled {
  background: #eff1ed;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 20px 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #e0e6de;
  vertical-align: top;
}
th {
  background: #edf2e9;
  white-space: nowrap;
}
td button {
  font-size: 12px;
  margin: 3px;
}
.table-wrap {
  overflow: auto;
}
details {
  padding: 14px;
  background: #f6f8f3;
  margin: 12px 0;
  border-radius: 6px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.ok,
.error,
.warning {
  padding: 14px;
  margin: 12px 0;
  border-radius: 6px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.ok {
  background: #e7f3e7;
  color: #245938;
}
.error {
  background: #fff0ec;
  color: #9d3524;
}
.warning {
  background: #fff8e5;
  color: #785d24;
}
.ack {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 20px 0;
}
.ack input {
  width: auto;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
footer {
  font-size: 12px;
  color: #66766b;
  margin: 30px 0;
}
.version {
  border-left: 3px solid #649676;
  padding: 10px 20px;
  margin: 20px 0;
}
#message {
  position: sticky;
  top: 0;
  z-index: 1;
}
a {
  color: #24674d;
}
@media (max-width: 900px) {
  aside {
    position: static;
    width: auto;
    height: auto;
    padding: 16px;
    display: block;
  }
  aside a,
  aside p,
  aside small {
    display: none;
  }
  .brand {
    font-size: 22px;
  }
  main {
    margin: 0;
    padding: 18px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  section {
    padding: 16px;
  }
  h1 {
    font-size: 28px;
  }
}
@media (max-width: 500px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

[hidden] {
  display: none !important;
}
#login-submit {
  margin-top: 16px;
}
