:root {
  font-family: Inter, "Microsoft YaHei UI", "PingFang SC", sans-serif;
  color: #172c3e;
  background: #f3f6f8;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 1px solid #cbd7df;
  background: white;
  color: #21445e;
  border-radius: 6px;
  padding: 9px 14px;
  min-height: 38px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button:hover,
.button:hover {
  border-color: #168a9e;
  color: #08788a;
}
button.primary {
  background: #087e91;
  color: white;
  border-color: #087e91;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid #df9d2e;
  outline-offset: 2px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #c4d1db;
  border-radius: 5px;
  padding: 9px;
  background: white;
  color: #172c3e;
}
input[type="checkbox"] {
  width: auto;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
}
small,
.muted {
  color: #637887;
  font-weight: 400;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 25px;
  margin-bottom: 8px;
}
h2 {
  font-size: 19px;
}
h3 {
  font-size: 15px;
}
.shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #102b3e;
  color: #d9e8ed;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.brand {
  font-size: 18px;
  font-weight: 750;
  padding: 0 10px;
}
.brand small {
  display: block;
  color: #8eb1bf;
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-top: 5px;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav button {
  justify-content: flex-start;
  background: transparent;
  color: #b8cdd5;
  border: 0;
  padding: 12px;
}
.nav button.active {
  color: white;
  background: #1c5362;
}
.account {
  margin-top: auto;
  padding: 10px;
  color: #b8cdd5;
  overflow-wrap: anywhere;
}
.account button {
  margin-top: 12px;
}
.main {
  min-width: 0;
}
.top {
  height: 65px;
  background: white;
  border-bottom: 1px solid #e0e8ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  color: #5b7280;
}
.content {
  max-width: 1360px;
  margin: auto;
  padding: 32px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 24px;
}
.page-head p {
  margin: 0;
  color: #6b7f8b;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: white;
  border: 1px solid #dce6eb;
  border-radius: 8px;
  padding: 22px;
  min-width: 0;
}
.card p {
  color: #647b89;
  line-height: 1.65;
}
.appcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.appcard h2,
.appcard p {
  margin: 0;
}
.appcard button {
  align-self: flex-start;
  margin-top: 8px;
}
.eyebrow {
  font-size: 12px;
  color: #16899b;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.section {
  margin-top: 24px;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.spread {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 14px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid #edf1f3;
  vertical-align: top;
  overflow-wrap: anywhere;
}
th {
  color: #738893;
  font-size: 12px;
  font-weight: 600;
}
td button.link {
  border: 0;
  padding: 0;
  min-height: 0;
  color: #087e91;
  background: none;
  text-align: left;
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  background: #e7f2f3;
  color: #177282;
  font-size: 12px;
  white-space: nowrap;
}
.badge.warn {
  background: #fff4df;
  color: #865a0a;
}
.badge.error {
  background: #fbe9e6;
  color: #a13d34;
}
.empty {
  padding: 25px 0;
  color: #728792;
}
.file-group {
  border: 1px solid #e0e8ec;
  border-radius: 6px;
  padding: 14px;
}
.file-group h3 {
  margin-bottom: 7px;
}
.file-group input {
  margin-top: 8px;
}
.file-list {
  font-size: 13px;
  color: #536c7b;
  overflow-wrap: anywhere;
  padding-left: 20px;
}
.ticket {
  border-left: 3px solid #acd6dc;
  padding-left: 16px;
}
.error-text {
  color: #a33830;
  overflow-wrap: anywhere;
}
.success {
  color: #087c6c;
}
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #edf3f5;
}
.login {
  width: min(100%, 420px);
  padding: 34px;
}
.login h1 {
  margin-top: 24px;
}
.notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #173c4c;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  max-width: min(460px, 90vw);
  display: none;
  z-index: 5;
  overflow-wrap: anywhere;
}
.notice.show {
  display: block;
}
progress {
  width: 100%;
  height: 14px;
}
.subnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.subnav button.active {
  background: #e1f1f2;
  border-color: #89cbd2;
  color: #086e7e;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.detail-list div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-list span {
  display: block;
  color: #738893;
  font-size: 12px;
  margin-bottom: 5px;
}
details {
  border-top: 1px solid #e3ebee;
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hidden {
  display: none !important;
}
@media (max-width: 750px) {
  .shell {
    display: block;
  }
  .sidebar {
    padding: 14px;
    gap: 12px;
  }
  .brand small {
    display: none;
  }
  .nav {
    display: flex;
  }
  .nav button {
    flex: 1;
    justify-content: center;
  }
  .account {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .account button {
    margin: 0;
  }
  .top {
    height: auto;
    padding: 12px 18px;
  }
  .content {
    padding: 22px 16px;
  }
  .grid,
  .fields,
  .detail-list {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 750px) {
  .table-wrap table {
    min-width: 650px;
  }
}
