:root {
  --ink: #193332;
  --green: #126951;
  --line: #ced9d3;
  --pale: #e6f1e8;
  --muted: #526660;
  color: var(--ink);
  font:
    16px/1.5 "Inter",
    system-ui,
    sans-serif;
  background: #f6f8f4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 68px;
  background: #172f2f;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 4%;
  gap: 24px;
}
.brand {
  color: inherit;
  text-decoration: none;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1.2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark {
  background: #c3ed91;
  color: #163e31;
  display: grid;
  place-items: center;
  width: 31px;
  height: 32px;
  border-radius: 6px;
  font-size: 31px;
  line-height: 1;
}
.headerlabel {
  font-size: 13px;
  color: #c5d9d0;
  padding-left: 20px;
  border-left: 1px solid #65817a;
}
button,
select,
input,
textarea {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 560;
}
button:hover:not(:disabled) {
  border-color: var(--green);
  background: var(--pale);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #36a577;
  outline-offset: 2px;
}
header button {
  margin-left: auto;
  background: #c3ed91;
  border: 0;
  color: #173e30;
}
.shell {
  max-width: 1560px;
  margin: auto;
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}
aside {
  background: #eef2ec;
  border-right: 1px solid var(--line);
  padding: 36px 20px;
}
.eyebrow,
small,
code,
pre,
.badge,
.tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.11em;
  color: var(--muted);
  font-weight: 650;
}
.domains {
  margin: 42px 0 10px;
}
aside strong {
  display: block;
  margin-top: 6px;
  font-size: 17px;
}
nav button {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  margin: 3px 0;
  padding: 10px 12px;
  font-weight: 500;
}
nav button:before {
  content: "◈";
  color: #608976;
  margin-right: 8px;
}
nav button[aria-current="true"] {
  background: #d6e7d9;
  color: #13563d;
  font-weight: 700;
}
.import {
  width: 100%;
  margin-top: 12px;
  background: transparent;
}
aside p,
.sub,
.muted {
  color: var(--muted);
}
aside p {
  font-size: 13px;
  margin-top: 24px;
}
main {
  padding: 38px clamp(22px, 4vw, 68px);
  min-width: 0;
}
.headline,
.toolbar,
.row,
.dialogtop,
.fieldline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.headline {
  justify-content: flex-start;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(32px, 4vw, 55px);
  letter-spacing: -0.055em;
  line-height: 1.15;
  margin: 11px 0 5px;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.04em;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 26px 0;
  background: white;
  overflow: hidden;
}
.stats div {
  padding: 17px 20px;
  border-right: 1px solid var(--line);
}
.stats div:last-child {
  border: 0;
}
small {
  font-size: 12px;
  color: var(--muted);
}
.stats b {
  display: block;
  font-size: 33px;
  line-height: 1.3;
  letter-spacing: -0.06em;
}
.tabs {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.tabs button {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 9px 2px;
  color: var(--muted);
}
.tabs .active {
  color: var(--green);
  box-shadow: inset 0 -3px var(--green);
}
.toolbar {
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.badge,
.tag {
  display: inline-block;
  font-size: 12px;
  background: #e5eee7;
  color: #285d46;
  padding: 3px 8px;
  border-radius: 4px;
}
.list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.item,
.change {
  padding: 16px 19px;
  border-bottom: 1px solid var(--line);
}
.item:last-child,
.change:last-child {
  border-bottom: 0;
}
.row {
  align-items: baseline;
}
.num {
  color: #6d7f76;
  font: 13px monospace;
  margin-right: 10px;
}
.action {
  font: 12px monospace;
  color: #705232;
  background: #f4efdc;
  padding: 3px 7px;
  border-radius: 3px;
}
.item p,
.change p {
  margin: 7px 0;
  font-size: 14px;
  color: var(--muted);
}
pre,
code {
  font-size: 13px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
pre {
  background: #f1f4ef;
  padding: 10px 12px;
  border-radius: 4px;
  max-height: 350px;
  overflow: auto;
}
label {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  font-size: 14px;
}
select,
input,
textarea {
  min-width: 0;
  border: 1px solid var(--line);
  background: white;
  padding: 9px;
  border-radius: 5px;
}
textarea {
  width: 100%;
  font-family: monospace;
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.controls label {
  flex: 1;
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover:not(:disabled) {
  background: #195440;
}
.muted {
  font-size: 14px;
}
.empty,
#notice:not(:empty) {
  border: 1px solid var(--line);
  padding: 13px;
  margin: 12px 0;
  background: #eff3e9;
  border-radius: 6px;
}
.change details {
  margin-top: 7px;
}
.before {
  border-left: 3px solid #ab6750;
}
.after {
  border-left: 3px solid #2c8161;
}
summary {
  cursor: pointer;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  width: min(600px, 94vw);
  max-height: 90vh;
  padding: 0;
  color: var(--ink);
}
dialog::backdrop {
  background: #172e2b88;
}
.dialogtop {
  background: #eef2ec;
  padding: 10px 18px;
}
.dialogtop button {
  font-size: 20px;
  padding: 0 9px;
}
#modal {
  padding: 22px;
}
#modal p {
  margin: 10px 0;
}
#modal .primary {
  margin-top: 15px;
}
a {
  color: var(--green);
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  header {
    padding: 0 16px;
    gap: 10px;
  }
  .headerlabel {
    display: none;
  }
  .shell {
    display: block;
  }
  aside {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
  }
  aside .eyebrow,
  aside strong,
  aside p {
    display: none;
  }
  nav {
    display: flex;
    gap: 3px;
    overflow-x: auto;
  }
  nav button {
    white-space: nowrap;
    width: auto;
  }
  .import {
    width: auto;
    margin-top: 6px;
  }
  main {
    padding: 22px 16px;
  }
  .stats div {
    padding: 10px;
  }
  .stats small {
    font-size: 10px;
  }
  .tabs {
    gap: 12px;
  }
  .item,
  .change {
    padding: 12px;
  }
  .row {
    flex-wrap: wrap;
  }
}
.diffpair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}
.diffpair > div {
  min-width: 0;
}
.diffpair pre {
  margin: 5px 0;
}
.diffpair .before {
  background: #f7efeb;
}
.diffpair .after {
  background: #eaf3ec;
}
.item details + button {
  margin-top: 11px;
}
