@font-face {
  font-family: Instrument;
  src: url("/assets/InstrumentSans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font:
    100%/1.5 Instrument,
    system-ui,
    sans-serif;
  color: #171719;
  background: #f5f5f7;
  --red: #a22222;
  --line: #dadadd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  border: 1px solid transparent;
  background: #19191b;
  color: white;
  border-radius: 0.65rem;
  padding: 0.65rem 1rem;
  font-weight: 650;
  cursor: pointer;
}
button:hover {
  background: #38383b;
}
button:disabled {
  opacity: 0.55;
}
button.quiet,
#tabs button {
  background: white;
  color: #232326;
  border-color: var(--line);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b12d30;
  outline-offset: 3px;
}
.login {
  width: min(26rem, calc(100% - 2rem));
  margin: clamp(2rem, 16vh, 10rem) auto;
  padding: 2rem;
  border: 1px solid var(--line);
  background: white;
  border-radius: 1.25rem;
}
.wordmark {
  display: inline-block;
  letter-spacing: -0.065em;
  font-weight: 800;
  font-size: 1.55rem;
}
.login h1 {
  margin: 2.5rem 0 1rem;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.055em;
  line-height: 1.07;
  margin: 0.35rem 0;
}
h2 {
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  margin: 1.8rem 0 0.65rem;
}
h3 {
  font-size: 1rem;
  margin: 1rem 0 0.2rem;
}
p {
  margin: 0.65rem 0;
}
small,
label {
  font-size: 0.9rem;
}
small {
  display: block;
  color: #54545d;
  overflow-wrap: anywhere;
}
label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.62rem 0.7rem;
  color: #19191b;
  background: white;
  border: 1px solid #a8a8ad;
  border-radius: 0.45rem;
}
textarea {
  min-height: 5rem;
}
form {
  display: grid;
  gap: 1rem;
}
form button {
  justify-self: start;
}
[hidden] {
  display: none !important;
}
.shell {
  display: grid;
  grid-template-columns: 14.5rem minmax(0, 1fr);
  min-height: 100vh;
}
.shell aside {
  padding: 2rem 1.25rem;
  background: #19191b;
  color: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.shell aside nav,
.shell #controls {
  display: grid;
  gap: 0.3rem;
}
.shell aside button {
  text-align: left;
  background: transparent;
  color: #ddd;
  border: 0;
}
.shell aside button[aria-current="page"] {
  background: #3b393d;
  color: white;
  box-shadow: inset 3px 0 #ff6464;
}
.shell #controls {
  margin-top: auto;
}
.shell main {
  width: 100%;
  max-width: 100rem;
  padding: clamp(1rem, 4vw, 4rem);
}
header,
.actions,
.row,
#tabs,
.filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
header {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}
#env {
  font-size: 0.9rem;
  color: #505058;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.8rem;
}
.metrics article,
.review,
.card,
.empty {
  border: 1px solid var(--line);
  background: white;
  border-radius: 0.9rem;
  padding: 1.15rem;
}
.metrics h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: 0;
}
.metrics strong {
  font-size: 2.6rem;
  letter-spacing: -0.06em;
}
.review {
  margin: 1rem 0;
}
.review h2 {
  margin: 0.25rem 0;
}
.review form {
  margin: 1rem 0;
}
.review > button {
  margin-top: 1rem;
}
.filters {
  align-items: end;
  margin-bottom: 1rem;
}
.filters label:first-child {
  flex: 1;
  min-width: 15rem;
}
.scroll {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}
table {
  border-collapse: collapse;
  width: 100%;
}
td,
th {
  vertical-align: top;
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid #ededee;
}
th {
  font-size: 0.88rem;
  background: #eeeef1;
}
.actions {
  margin: 0.5rem 0;
}
.actions button {
  padding: 0.35rem 0.6rem;
  font-size: 0.9rem;
}
#notice:empty {
  margin: 0;
}
#notice:not(:empty) {
  padding: 0.6rem 0;
  color: var(--red);
}
#view {
  margin-top: 1.35rem;
}
#panel .card,
#tabs {
  margin: 0.8rem 0;
}
#panel label {
  min-width: 9rem;
  flex: 1;
}
#tabs .selected {
  background: #19191b;
  color: white;
}
.row {
  align-items: end;
}
details {
  margin: 0.8rem 0;
}
summary {
  cursor: pointer;
}
input[type="checkbox"] {
  width: auto;
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .shell aside {
    padding: 0.9rem;
    gap: 0.65rem;
  }
  .shell aside nav,
  .shell #controls {
    display: flex;
    flex-wrap: wrap;
  }
  .shell aside nav button,
  .shell #controls button {
    font-size: 0.9rem;
    padding: 0.35rem 0.6rem;
  }
  .shell main {
    padding: 1rem;
  }
  .login {
    margin-top: 12vh;
  }
  .filters label {
    width: 100%;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
