[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #182b2a;
  background: #f6f8f6;
  font:
    16px/1.5 'Source Sans 3',
    system-ui,
    sans-serif;
}
a {
  color: #12563f;
}
code {
  font: 0.85em/1.4 ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
code.wrap {
  display: block;
  max-width: 28rem;
  white-space: pre-wrap;
  word-break: break-all;
}
h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}
h3 {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
}
.top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid #cbd7d1;
}
.top #who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.tag {
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 0.25rem;
  background: #135b42;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}
.narrow {
  max-width: 440px;
  margin: 3rem auto;
  padding: 0 1.25rem;
}
.shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: calc(100vh - 57px);
}
.shell > nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 0.75rem;
  background: #eef3f0;
  border-right: 1px solid #cbd7d1;
}
.shell > nav button {
  margin: 0;
  padding: 0.55rem 0.75rem;
  background: none;
  color: #182b2a;
  font-weight: 500;
  text-align: left;
}
.shell > nav button:hover {
  background: #dfe9e3;
}
.shell > nav button[aria-current='page'] {
  background: #135b42;
  color: #fff;
}
.shell > main {
  padding: 1.75rem 2rem 4rem;
  max-width: 1300px;
}
.card {
  padding: 1.25rem 1.4rem;
  margin: 0 0 1.25rem;
  background: #fff;
  border: 1px solid #cbd7d1;
  border-radius: 0.5rem;
}
.card h2 {
  margin-top: 0;
}
.narrow-card {
  max-width: 440px;
}
label {
  display: block;
  margin: 0.8rem 0 0.25rem;
  font-weight: 600;
  font-size: 0.92rem;
}
input {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #869b92;
  border-radius: 0.3rem;
  background: #fff;
  font: inherit;
}
input:focus-visible,
button:focus-visible {
  outline: 3px solid #7fb89f;
  outline-offset: 1px;
}
button {
  padding: 0.55rem 1rem;
  margin-top: 0.9rem;
  border: 0;
  border-radius: 0.3rem;
  background: #135b42;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button:hover {
  background: #0e4834;
}
button:disabled {
  opacity: 0.6;
  cursor: progress;
}
button.quiet {
  background: #fff;
  color: #135b42;
  border: 1px solid #9cb3a8;
}
button.quiet:hover {
  background: #eef3f0;
}
button.small {
  margin: 0;
  padding: 0.3rem 0.65rem;
  font-size: 0.85rem;
}
.top button.quiet {
  margin: 0;
  padding: 0.35rem 0.8rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
}
.row > label {
  flex: 0 1 11rem;
}
.row > label.grow {
  flex: 1 1 16rem;
}
.row > input {
  flex: 1 1 20rem;
}
.row > button {
  margin: 0;
}
.inline .row label {
  margin-top: 0.4rem;
}
.secret {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.4rem;
  background: #fff8e6;
  border: 1px solid #e3c67a;
}
.secret label {
  margin-top: 0;
}
.secret input {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
.search {
  max-width: 420px;
  margin-bottom: 1rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.stat {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #cbd7d1;
  border-radius: 0.5rem;
}
.stat span {
  display: block;
  color: #4c625a;
  font-size: 0.82rem;
}
.stat strong {
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #cbd7d1;
  border-radius: 0.5rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th,
td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #e3ebe6;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
td.wrap {
  min-width: 10rem;
  white-space: normal;
}
th {
  background: #f1f5f2;
  color: #3d544b;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.sub {
  color: #5a6f67;
  font-size: 0.8rem;
}
.actions {
  display: flex;
  gap: 0.4rem;
  white-space: nowrap;
}
.pill {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.pill.ok {
  background: #dcefe4;
  color: #135b42;
}
.pill.off {
  background: #f6dede;
  color: #8a1f1f;
}
.error-text {
  max-width: 26rem;
  color: #8a1f1f;
  white-space: pre-wrap;
  word-break: break-word;
}
.review ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.review li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid #e3ebe6;
}
.status:empty {
  display: none;
}
.status {
  margin: 0.9rem 0 0;
  padding: 0.6rem 0.8rem;
  border-radius: 0.3rem;
  background: #eef3f0;
}
.status.error {
  background: #fbe9e9;
  color: #8a1f1f;
}
.status.ok {
  background: #dcefe4;
  color: #0e4834;
}
.banner {
  margin: 0 0 1.25rem;
}
.hint,
.empty {
  color: #4c625a;
  font-size: 0.9rem;
}
dialog {
  width: min(420px, 92vw);
  padding: 1.4rem;
  border: 1px solid #cbd7d1;
  border-radius: 0.5rem;
}
dialog::backdrop {
  background: rgb(24 43 42 / 0.4);
}
dialog h2 {
  margin-top: 0;
}
@media (max-width: 760px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .shell > nav {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid #cbd7d1;
  }
  .shell > main {
    padding: 1.25rem;
  }
}
