:root {
  font-family: system-ui, sans-serif;
  color: #172033;
  background: #f5f6fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #101b2f;
  color: white;
  padding: 20px 5%;
}
header a {
  color: #ddd;
}
header button {
  margin-left: auto;
}
a {
  color: #a92324;
}
main {
  max-width: 1380px;
  margin: auto;
  padding: 32px;
}
h1 {
  font-size: 36px;
  margin: 8px 0;
}
h2 {
  font-size: 21px;
}
p {
  line-height: 1.5;
  color: #536178;
}
.eyebrow {
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 700;
}
.heading,
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.button,
button {
  border: 1px solid #c6ccd6;
  background: white;
  color: #172033;
  padding: 12px 17px;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
input,
select {
  font: inherit;
  border: 1px solid #b8c0cd;
  border-radius: 7px;
  padding: 12px;
  background: white;
  max-width: 100%;
}
label {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
#search {
  flex: 1;
  min-width: 200px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.stats article {
  background: white;
  border: 1px solid #dce1ea;
  padding: 24px;
  border-radius: 12px;
}
.stats strong {
  font-size: 30px;
  display: block;
  margin-bottom: 8px;
}
.layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  margin: 24px 0;
}
.layout > section,
details {
  background: white;
  border: 1px solid #dce1ea;
  border-radius: 12px;
  padding: 24px;
}
.worker {
  width: 100%;
  text-align: left;
  display: block;
  margin: 9px 0;
}
.worker[aria-pressed="true"] {
  border-color: #b72629;
  background: #fff1f1;
}
.document {
  padding: 16px 0;
  border-bottom: 1px solid #e1e5ed;
  overflow-wrap: anywhere;
}
.document small {
  display: block;
  color: #536178;
  margin-top: 6px;
}
#notice {
  padding: 16px;
  border: 1px solid #dce1ea;
  background: white;
  border-radius: 10px;
}
#test-badge {
  background: #ffe5a6;
  padding: 8px 12px;
  border-radius: 8px;
}
dialog {
  border: 0;
  border-radius: 14px;
  width: min(520px, 95vw);
  padding: 28px;
}
dialog::backdrop {
  background: #101b2f99;
}
footer {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: #536178;
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  main {
    padding: 18px;
  }
  .stats {
    gap: 8px;
  }
  .stats article {
    padding: 14px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 28px;
  }
  header {
    gap: 12px;
    flex-wrap: wrap;
  }
}
