:root {
  color-scheme:light;
  --ink:#152c32;
  --muted:#526a70;
  --teal:#00695d;
  --edge:#d9e5e2;
  --bg:#f3f7f5;
  font:15px/1.55 Inter,"Segoe UI","Microsoft YaHei",sans-serif;
  color:var(--ink);
  background:var(--bg);
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
header {
  background:#102c30;
  color:#e4f4ef;
}
.bar,main,footer {
  width:min(1180px,calc(100% - 48px));
  margin:auto;
}
.bar {
  min-height:64px;
  display:flex;
  align-items:center;
  gap:16px;
}
.bar form {
  margin-left:auto;
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:22px;
  font-weight:800;
  letter-spacing:-.7px;
  color:inherit;
}
.brand i {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:8px;
  background:#7de6c2;
  color:#0e3c33;
  font-size:20px;
  font-style:normal;
}
.topnote {
  border-left:1px solid #52716c;
  padding-left:16px;
  font-size:13px;
  color:#b7cec9;
}
a {
  color:var(--teal);
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
}
main {
  padding:32px 0 24px;
  min-height:70vh;
}
h1,h2 {
  line-height:1.25;
  letter-spacing:-.035em;
}
h1 {
  font-size:clamp(29px,4vw,42px);
  margin:15px 0;
}
h2 {
  font-size:21px;
  margin:10px 0 18px;
}
h2 small {
  display:inline;
  font-size:13px;
  vertical-align:middle;
  letter-spacing:0;
  background:#edf4f1;
  padding:3px 8px;
  border-radius:20px;
}
.crumb,.muted,small,footer {
  color:var(--muted);
}
small {
  display:block;
  font-size:12px;
  font-weight:400;
}
nav {
  display:flex;
  gap:22px;
  border-bottom:1px solid var(--edge);
  margin:18px 0 22px;
}
nav a {
  padding:12px 2px;
  border-bottom:3px solid transparent;
  color:var(--muted);
}
nav a[aria-current] {
  border-color:var(--teal);
  color:var(--teal);
  font-weight:700;
}
.panel {
  padding:clamp(18px,3vw,28px);
  background:white;
  border:1px solid var(--edge);
  border-radius:14px;
  margin-bottom:16px;
  box-shadow:0 2px 6px #163b2f08;
  min-width:0;
}
.line,.filters,.inline {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.line {
  justify-content:space-between;
  margin-bottom:14px;
}
.line h2 {
  margin:0;
}
.grid,.fields {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));
  gap:16px;
}
.grid article {
  margin:0;
}
.fields {
  align-items:end;
}
.fields button {
  justify-self:start;
}
.filters {
  align-items:end;
  margin:16px 0;
}
.filters label {
  max-width:100%;
}
label {
  display:grid;
  gap:6px;
  font-size:13px;
  font-weight:650;
  margin-bottom:11px;
}
.filters label,.fields label {
  margin:0;
}
input,select,button,.btn {
  font:inherit;
  border-radius:7px;
}
input,select {
  width:100%;
  background:#fcfefd;
  border:1px solid #b7c9c3;
  padding:9px 11px;
  color:var(--ink);
  min-width:0;
  font-size:15px;
}
input[readonly] {
  background:#f2f5f3;
  color:var(--muted);
}
button,.btn {
  display:inline-block;
  cursor:pointer;
  background:var(--teal);
  border:1px solid var(--teal);
  color:#fff;
  font-weight:650;
  padding:8px 14px;
  font-size:14px;
  text-align:center;
}
button:hover,.btn:hover {
  filter:brightness(.92);
  text-decoration:none;
}
button.secondary {
  background:#edf4f1;
  border-color:#c3d8cf;
  color:#1c4c3e;
}
button.ghost {
  border-color:#53716e;
  color:#eef9f7;
  background:transparent;
}
button.danger {
  background:#8e333a;
  border-color:#8e333a;
}
.notice,.error {
  padding:12px 16px;
  border-radius:8px;
}
.notice {
  background:#daf3e6;
  color:#134e32;
}
.error {
  background:#fbe5e5;
  color:#862b2b;
}
.empty {
  text-align:center;
  padding:26px;
  color:var(--muted);
}
.narrow,.login {
  max-width:520px;
}
.login {
  padding:12vh 0 24px;
  min-height:72vh;
}
.login h1 {
  font-size:29px;
  margin-top:26px;
}
.login button {
  width:100%;
}
summary {
  cursor:pointer;
  font-weight:700;
  color:var(--teal);
}
details[open] summary {
  margin-bottom:16px;
}
.scroll {
  overflow-x:auto;
}
table {
  border-collapse:collapse;
  width:100%;
  font-size:14px;
}
td,th {
  text-align:left;
  padding:12px 10px;
  border-bottom:1px solid var(--edge);
}
th {
  font-size:12px;
  color:var(--muted);
  background:#f5f8f6;
  white-space:nowrap;
}
td {
  vertical-align:middle;
}
code,.key {
  font-family:"IBM Plex Mono",Consolas,monospace;
  overflow-wrap:anywhere;
}
.key {
  font-weight:650;
}
.tag,.dot {
  display:inline-block;
  background:#e9f2ee;
  color:#235d4b;
  border-radius:6px;
  padding:2px 7px;
  font-size:12px;
  white-space:nowrap;
}
.dot {
  background:#d4f4df;
}
.pager {
  display:flex;
  gap:14px;
  justify-content:flex-end;
  margin-top:18px;
  font-size:13px;
}
.narrow label {
  margin-bottom:17px;
}
hr {
  border:0;
  border-top:1px solid var(--edge);
  margin:22px 0;
}
dl {
  display:grid;
  grid-template-columns:minmax(125px,auto) 1fr;
  gap:8px 20px;
  overflow-wrap:anywhere;
}
dt {
  color:var(--muted);
}
dd {
  margin:0;
}
footer {
  font-size:12px;
  padding:16px 0 28px;
  border-top:1px solid var(--edge);
}
:focus-visible {
  outline:3px solid #2e9783;
  outline-offset:2px;
}
@media(max-width:650px) {
  .bar,main,footer {
    width:calc(100% - 24px);
  }
  .topnote {
    display:none;
  }
  .bar {
    min-height:54px;
  }
  main {
    padding-top:20px;
  }
  .filters {
    align-items:stretch;
  }
  .filters label {
    flex:1 1 125px;
  }
  .login {
    padding-top:12vh;
  }
  td,th {
    padding:10px 8px;
  }
  dl {
    grid-template-columns:1fr;
    gap:2px;
  }
  dd {
    margin-bottom:10px;
  }
  .scroll .key {
    white-space:nowrap;
  }
}
