:root {
  --ink: #172d31;
  --deep: #102b31;
  --sub: #5b6c6c;
  --paper: #f5f5ef;
  --line: #d6dbd2;
  --orange: #cf6537;
  --mint: #c4dac1;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  color: var(--ink);
  font:
    15px/1.5 "Helvetica Neue",
    Arial,
    sans-serif;
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #25695d;
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
.button {
  border: 1px solid var(--line);
  background: #fffef8;
  padding: 0.65rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 550;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.accent {
  background: #e69a67;
  color: #173035;
  border: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 27px/1 var(--serif);
  letter-spacing: 2px;
}
.mark {
  display: inline-block;
  position: relative;
  width: 28px;
  height: 28px;
  transform: rotate(45deg);
  border: 1.6px solid currentColor;
}
.mark:before,
.mark:after {
  content: "";
  position: absolute;
  border: 1px solid currentColor;
  inset: 4px;
}
.mark:after {
  inset: 9px;
  background: currentColor;
}
small,
.eyebrow,
.meta,
th {
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.08em;
}
.eyebrow,
th {
  text-transform: uppercase;
}
.eyebrow {
  color: var(--sub);
}
.brand small {
  display: block;
  letter-spacing: 0.15em;
  font-size: 8px;
  margin-top: 5px;
}
.loginpage {
  min-height: 100svh;
  padding: clamp(22px, 4vw, 65px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
}
.loginpage > header,
.top,
.split,
.dialog-head,
.section-title,
.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.loginbox {
  align-self: center;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  width: min(1080px, 100%);
  margin: auto;
  box-shadow: 0 14px 45px #18333012;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fffef9;
}
.atlas {
  background: radial-gradient(ellipse at 50% 45%, #245052, #112f34 70%);
  color: #ebf0df;
  padding: 38px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 530px;
}
.atlas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}
.atlas > *:not(canvas) {
  position: relative;
}
.atlas h2 {
  font: normal clamp(36px, 4vw, 62px)/1 var(--serif);
  letter-spacing: -0.05em;
  margin: 0;
}
.atlas .eyebrow,
.dark .eyebrow,
aside .eyebrow {
  color: #acc5be;
}
.atlasfooter {
  margin-top: 14px;
  border-top: 1px solid #638480;
  padding-top: 12px;
  color: #bed3cb;
}
.loginform {
  padding: clamp(30px, 5vw, 75px);
  align-self: center;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font: normal clamp(38px, 5vw, 64px)/1.04 var(--serif);
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}
h2 {
  font: normal 28px/1.15 var(--serif);
  letter-spacing: -0.03em;
}
h3 {
  font: normal 21px/1.25 var(--serif);
  margin-bottom: 8px;
}
.loginform h1 {
  font-size: 46px;
  margin-top: 20px;
}
.sub {
  color: var(--sub);
}
label[hidden] {
  display: none;
}
label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0;
}
input,
textarea,
select {
  background: #fffef9;
  border: 1px solid #c5cfc6;
  padding: 10px 12px;
  border-radius: 4px;
  width: 100%;
  min-width: 0;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #80a89a;
  outline-offset: 2px;
}
.pass {
  display: flex;
}
.pass input {
  border-radius: 4px 0 0 4px;
}
.pass button {
  border-left: 0;
  border-radius: 0 4px 4px 0;
  font-size: 12px;
}
details {
  margin: 18px 0;
}
summary {
  cursor: pointer;
  font-size: 14px;
}
.wide {
  width: 100%;
}
.loginpage footer {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
}
aside {
  background: var(--deep);
  color: #e7eee2;
  padding: 33px 18px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  position: sticky;
  top: 0;
  height: 100vh;
}
aside .brand {
  padding: 0 9px;
}
nav {
  display: grid;
  gap: 5px;
}
nav a {
  color: #ced8d3;
  text-decoration: none;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 4px;
  font-size: 14px;
}
nav a.active {
  background: #2b494c;
  color: #fff;
  border-left: 3px solid #e9a378;
  padding-left: 9px;
}
nav a:hover {
  background: #254349;
}
.symbol {
  font: 18px/1 var(--mono);
  width: 21px;
  text-align: center;
  color: #a9c1b6;
}
.sidefoot {
  margin-top: auto;
  border-top: 1px solid #426064;
  padding-top: 16px;
}
.sidefoot button {
  background: none;
  border: none;
  color: #dce6de;
}
.top {
  padding: 16px 4vw;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--sub);
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77a98a;
  margin-right: 7px;
}
.content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 34px 4vw 60px;
}
.heading {
  margin-bottom: 26px;
}
.hero {
  background: var(--deep);
  padding: 28px 32px;
  border-radius: 8px;
  color: #f3f3e9;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 1fr;
  align-items: center;
  overflow: hidden;
  margin: 24px 0;
}
.hero h2 {
  font-size: 46px;
  margin: 12px 0 3px;
}
.hero a {
  color: #d5e6cd;
}
.hero canvas {
  width: 100%;
  height: 170px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.stat,
.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffef8;
}
.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}
.stat b {
  font: normal 32px var(--serif);
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(245px, 1fr);
  gap: 20px;
}
.panel {
  padding: 20px 22px;
  margin-bottom: 18px;
}
.section-title {
  margin-bottom: 6px;
}
.section-title h2 {
  font-size: 23px;
  margin: 0;
}
.row {
  display: block;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  overflow-wrap: anywhere;
}
.row:first-of-type {
  margin-top: 14px;
}
.row:hover h3,
.card:hover h3 {
  color: #437d69;
}
.row h3 {
  margin: 4px 0;
  font-size: 19px;
}
.meta {
  color: var(--sub);
  letter-spacing: 0;
}
.pill {
  display: inline-block;
  padding: 3px 8px;
  background: #e6eddf;
  color: #47654f;
  border-radius: 4px;
  font: 11px var(--mono);
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.toolbar input {
  flex: 2;
  min-width: 180px;
}
.toolbar select {
  flex: 1;
  min-width: 100px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 16px;
}
.card {
  display: block;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}
.card h3 {
  font-size: 24px;
}
.avatar {
  width: 42px;
  height: 42px;
  background: #e0e7db;
  color: #436153;
  display: grid;
  place-items: center;
  font: 18px var(--serif);
  border-radius: 50%;
  margin-bottom: 16px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.detail h1 {
  font-size: clamp(30px, 3.8vw, 50px);
  margin-top: 12px;
}
.copy {
  white-space: pre-line;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.filterform,
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pair label {
  margin: 6px 0;
}
.mini {
  padding: 5px 10px;
  font-size: 12px;
}
dt {
  font: 12px var(--mono);
  color: var(--sub);
  margin-top: 11px;
}
dd {
  margin: 2px 0;
  overflow-wrap: anywhere;
}
.empty {
  color: var(--sub);
  padding: 16px 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 350px;
  overflow: auto;
  font: 12px/1.55 var(--mono);
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: min(600px, 95vw);
  max-height: 88svh;
  padding: 24px;
}
dialog::backdrop {
  background: #0e262a88;
}
.dialog-head h2 {
  margin: 0;
}
.dialog-head button {
  border: 0;
  background: none;
  font-size: 24px;
}
#notice {
  position: fixed;
  z-index: 10;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: var(--deep);
  color: white;
  border-radius: 6px;
  max-width: min(600px, 90vw);
}
.error {
  color: #993e2b;
  white-space: pre-wrap;
}
.top small {
  letter-spacing: 0;
}
.minor {
  font-size: 13px;
}
.textlink {
  font-size: 13px;
}
.mobile {
  display: none;
}
.back {
  display: inline-block;
  margin-bottom: 16px;
}
.event {
  border-left: 2px solid #80a18d;
  padding: 0 0 15px 16px;
}
.event p {
  margin: 5px 0;
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 185px 1fr;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    grid-template-columns: 1.5fr 1fr;
  }
  .content {
    padding: 26px 22px;
  }
  .atlas {
    padding: 25px;
  }
  .loginform {
    padding: 32px;
  }
}
@media (max-width: 640px) {
  .shell {
    display: block;
  }
  aside {
    position: static;
    height: auto;
    padding: 14px 16px;
    gap: 10px;
  }
  aside .brand {
    font-size: 20px;
  }
  .mark {
    width: 22px;
    height: 22px;
  }
  .mobile {
    display: block;
  }
  aside nav,
  aside .sidefoot {
    display: none;
  }
  aside.open nav,
  aside.open .sidefoot {
    display: grid;
  }
  aside > div:first-child {
    display: flex;
    justify-content: space-between;
  }
  .top {
    padding: 10px 18px;
  }
  .content {
    padding: 22px 15px;
  }
  .hero {
    padding: 18px;
    grid-template-columns: 1.7fr 1fr;
  }
  .hero h2 {
    font-size: 34px;
  }
  .loginpage {
    padding: 17px;
    gap: 18px;
  }
  .loginbox {
    display: flex;
    flex-direction: column;
  }
  .atlas {
    min-height: 170px;
  }
  .atlas h2 {
    font-size: 34px;
  }
  .atlasfooter {
    display: none;
  }
  .loginform {
    width: 100%;
    padding: 25px;
  }
  .loginform h1 {
    font-size: 34px;
  }
  .stat {
    padding: 12px;
  }
  .heading {
    align-items: flex-start;
  }
  .pair {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 16px;
  }
  .hero canvas {
    height: 120px;
  }
  .eyebrow {
    font-size: 10px;
  }
}

.source-preview {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  margin: 12px 0;
}
