:root {
  font:
    16px/1.5 Inter,
    system-ui,
    sans-serif;
  color: #18243c;
  background: #f4f6fa;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #101e36;
  color: #fff;
}
.top,
.navwrap,
main {
  max-width: 1200px;
  margin: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}
.top {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
}
.brand {
  font-size: 22px;
  letter-spacing: -1.4px;
  color: white;
  font-weight: 850;
  text-decoration: none;
}
.brand span {
  color: #9bb7df;
  font-size: 12px;
  letter-spacing: 1.6px;
  margin-left: 5px;
}
.divider {
  height: 24px;
  border-left: 1px solid #49556b;
}
.staff-label,
.account {
  font-size: 14px;
  color: #d5dfef;
}
.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quiet {
  background: transparent !important;
  color: white !important;
  border-color: #53647f !important;
}
.navwrap,
.tabs,
.actions,
.filters,
.heading,
.pager {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
nav {
  background: white;
  border-bottom: 1px solid #dbe1e9;
}
.navwrap a,
.tabs a {
  padding: 14px 8px;
  color: #42526b;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}
.navwrap a[aria-current="page"],
.tabs a[aria-current="page"] {
  border-color: #2759ab;
  color: #204983;
}
main {
  padding-top: 38px;
  padding-bottom: 56px;
}
h1 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.05em;
  margin: 0 0 20px;
  line-height: 1.12;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin: 0 0 15px;
}
.eyebrow {
  text-transform: uppercase;
  color: #416183;
  letter-spacing: 0.13em;
  font-weight: 700;
  font-size: 11px;
  margin: 0 0 10px;
}
.heading {
  justify-content: space-between;
  margin: 12px 0 24px;
}
.heading h1 {
  margin: 0;
}
a {
  color: #20539b;
}
.card,
.metric {
  background: white;
  border: 1px solid #d9e1ea;
  border-radius: 12px;
  padding: clamp(16px, 2.5vw, 30px);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.metric strong {
  display: block;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin-top: 6px;
}
.metric strong a {
  color: inherit;
  text-decoration: none;
}
.metric small,
td small,
.comment small {
  display: block;
  color: #536680;
}
.filters {
  align-items: end;
  margin-bottom: 22px;
}
.filters label {
  margin: 0;
}
.filters label:first-child {
  flex: 1;
  min-width: 150px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  font: inherit;
  font-weight: 400;
  margin-top: 5px;
  border: 1px solid #aebbd0;
  background: white;
  color: #18243c;
  border-radius: 6px;
  padding: 10px;
}
textarea {
  resize: vertical;
}
input[readonly] {
  background: #f2f5f9;
}
.btn,
button {
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  display: inline-block;
  border-radius: 7px;
  padding: 10px 15px;
  border: 1px solid #aebbd0;
  background: white;
  color: #223551;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover,
button:hover {
  filter: brightness(0.95);
}
.primary {
  background: #2354a1;
  color: white;
  border-color: #2354a1;
}
.scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 12px;
  color: #526079;
  font-weight: 600;
  background: #f5f7fa;
}
th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid #e4e9f1;
}
td {
  font-size: 14px;
}
td:first-child {
  min-width: 210px;
}
.article {
  font-weight: 650;
  color: #203552;
  text-decoration: none;
}
.article:hover {
  text-decoration: underline;
}
.pill {
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  color: #725718;
  background: #f9efd8;
}
.pill.live,
.notice {
  color: #235d48;
  background: #e5f3eb;
}
.pager {
  justify-content: flex-end;
  color: #55667b;
  font-size: 14px;
  margin-top: 16px;
}
.pager span {
  margin-right: auto;
}
.empty {
  padding: 22px 0;
  color: #4d6178;
}
.tabs {
  margin-bottom: 18px;
}
.alert,
.notice {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.alert {
  color: #8c2836;
  background: #fbecef;
}
.login,
.narrow {
  max-width: 620px;
  margin: 30px auto;
}
.login {
  max-width: 440px;
}
.editor {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 18px;
  align-items: start;
}
.editor aside h2:not(:first-child) {
  margin-top: 25px;
}
.actions {
  margin: 20px 0;
}
.dangerlink {
  margin-left: auto;
  color: #993541;
}
.danger {
  background: #9d3341;
  color: white;
}
.markdown,
code {
  font-family: ui-monospace, monospace;
}
.preview {
  margin-bottom: 18px;
}
.preview article,
.comment p {
  overflow-wrap: anywhere;
}
.preview pre {
  overflow: auto;
}
.comment {
  border-bottom: 1px solid #e0e6eb;
  padding: 12px 0 20px;
}
.comment h2 {
  margin: 6px 0;
}
.comment p {
  white-space: pre-wrap;
}
.comment details {
  margin-top: 12px;
}
.comment summary {
  cursor: pointer;
  color: #863542;
}
.check {
  margin-top: 10px;
}
.check input {
  width: auto;
  display: inline;
}
:focus-visible {
  outline: 3px solid #4889d5;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .top {
    gap: 8px;
  }
  .account span,
  .divider {
    display: none;
  }
  .metrics {
    gap: 6px;
  }
  .metric {
    padding: 12px 8px;
  }
  .metric strong {
    font-size: 27px;
  }
  .editor {
    grid-template-columns: 1fr;
  }
  .filters label:first-child {
    flex-basis: 100%;
  }
  .navwrap {
    gap: 7px;
  }
  .dangerlink {
    margin-left: 0;
  }
  .staff-label {
    font-size: 12px;
  }
  main {
    padding-top: 24px;
  }
}
