:root {
  font: 16px/1.6 "Inter","PingFang SC","Microsoft YaHei",sans-serif;
  color: #182b37;
  background: #f6f8fa;
  --blue: #175698;
  --line: #d9e0e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

header {
  background: #183549;
  color: white;
}

.bar, main {
  max-width: 1080px;
  margin: auto;
  padding: 16px 24px;
}

.bar, .line, nav, .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bar a, .bar .link {
  color: white;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
}

.brand b {
  font-size: 16px;
  margin-left: 6px;
}

main {
  padding-top: 32px;
  padding-bottom: 60px;
}

h1 {
  font-size: 30px;
  line-height: 1.3;
}

h2 {
  font-size: 21px;
}

h3 {
  font-size: 16px;
}

small {
  color: #657988;
}

section {
  margin: 22px 0;
}

.panel, fieldset, .table, .empty {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel, fieldset, .empty {
  padding: 22px;
}

.table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

th, td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

th {
  background: #eaf0f4;
}

tr:last-child td {
  border: 0;
}

a, .link {
  color: var(--blue);
  text-decoration: none;
}

a:hover, .link:hover {
  text-decoration: underline;
}

button, .button {
  font: inherit;
  font-weight: 600;
  background: var(--blue);
  color: white;
  border: 0;
  border-radius: 5px;
  padding: 8px 15px;
  cursor: pointer;
}

.secondary {
  background: #e4edf4;
  color: #164a78;
}

.link {
  padding: 0;
  background: none;
}

.danger, [role=alert] {
  color: #9d2c36;
}

.danger {
  background: #fdebed;
}

label {
  display: block;
  margin-bottom: 14px;
}

.form, .login {
  max-width: 520px;
}

.login {
  margin: 8vh auto;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
}

input:not([type=checkbox]), textarea, select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px;
  border: 1px solid #9aaab5;
  border-radius: 4px;
  font: inherit;
  background: white;
  color: inherit;
}

textarea {
  resize: vertical;
  font-family: monospace;
}

fieldset {
  margin: 12px 0;
}

legend {
  font-weight: 600;
}

.status {
  background: #dcebf7;
  border-radius: 4px;
  padding: 3px 10px;
}

.actions {
  justify-content: flex-start;
}

code {
  overflow-wrap: anywhere;
}

.demo-banner {
  padding: .65rem 1rem;
  background: #ffe480;
  color: #332500;
  text-align: center;
  font-weight: 700;
}
