:root {
  color-scheme: dark;
  --bg: #101917;
  --panel: #18231f;
  --raised: #1e2c26;
  --line: #37463d;
  --ink: #f3f1e8;
  --soft: #b6c4b8;
  --lime: #c7f5a7;
  --emerald: #82cdb3;
  --alert: #ffbeab;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.52 var(--sans);
  min-height: 100vh;
}
a {
  color: var(--lime);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  font-weight: 600;
  cursor: pointer;
  padding: 0.64rem 1rem;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--ink);
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  line-height: 1.35;
}
button:hover,
.button:hover {
  border-color: var(--emerald);
}
button.primary,
.button.primary {
  color: #132115;
  background: var(--lime);
  border-color: var(--lime);
}
button.primary:hover,
.button.primary:hover {
  background: #def9c9;
}
button.danger {
  color: var(--alert);
}
button.text {
  background: transparent;
  border-color: transparent;
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.3rem;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 20;
  background: var(--bg);
  padding: 0.5rem;
}
.skip:focus {
  left: 8px;
}
.top {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 10px clamp(16px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 0.09em;
}
.mark {
  width: 34px;
  height: 34px;
  border: 1px solid #8fa396;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 22px var(--mono);
  letter-spacing: -5px;
  padding-right: 4px;
}
.mark span {
  font-size: 17px;
  color: var(--lime);
}
.brand-product {
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--soft);
  border-left: 1px solid var(--line);
  padding-left: 0.7rem;
  font-weight: 400;
}
#account {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 13px;
}
#account span {
  overflow-wrap: anywhere;
}
#notice:not(:empty) {
  background: #283c2d;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 10px clamp(16px, 4.5vw, 72px);
}
#notice.error {
  color: var(--alert);
  background: #382824;
}
#layout {
  width: min(1480px, 100%);
  margin: 0 auto;
}
main {
  min-width: 0;
  outline: 0;
}
.welcome {
  min-height: calc(100vh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 8vw, 140px);
  align-items: center;
  padding: clamp(52px, 9vw, 135px) clamp(22px, 6vw, 94px);
  background: radial-gradient(ellipse at 7% 24%, #23392b 0%, transparent 55%);
}
.overline {
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 1rem;
}
h1,
h2,
h3,
p {
  margin: 0 0 1rem;
}
h1 {
  font: normal clamp(42px, 5.4vw, 84px)/1.04 var(--serif);
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
h1 em {
  color: var(--lime);
  font-weight: normal;
}
h2 {
  font-size: clamp(21px, 2.1vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  font-weight: 520;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--soft);
  max-width: 40em;
}
.welcome-copy {
  max-width: 660px;
}
.welcome-copy details {
  max-width: 480px;
  margin-top: 2rem;
}
.diagram {
  display: block;
  width: min(100%, 420px);
  margin: 1rem 0;
  background: #172423;
  border-radius: 8px;
  padding: 12px;
}
.auth {
  background: #ebece2;
  color: #1d3027;
  border: 1px solid #c9cec4;
  border-radius: 9px;
  padding: clamp(22px, 3.2vw, 42px);
  box-shadow: 0 20px 50px #07120e38;
  --ink: #1d3027;
  --line: #bbc4b9;
  --soft: #46574d;
  --raised: #e0e5da;
  --lime: #456b39;
  --emerald: #47725a;
}
.auth .primary {
  color: #f4f4e9;
  background: #244a36;
  border-color: #244a36;
}
.auth .primary:hover {
  background: #305a42;
  color: white;
}
.auth .actions .primary {
  flex: 1;
}
.auth input {
  color-scheme: light;
  color: #16251b;
  background: #f8f9f2;
  border-color: #b6c0b4;
}
.auth h2 {
  font: normal 32px/1.05 var(--serif);
  letter-spacing: -0.035em;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  margin-bottom: 1.3rem;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  padding: 0.6rem 0;
  font-size: 13px;
  color: var(--soft);
}
.tabs button[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.help,
.muted,
small {
  color: var(--soft);
}
.help,
small {
  font-size: 13px;
}
.help {
  margin: 0.3rem 0 0.8rem;
}
.stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}
section.stack h2,
.stack h3,
.stack p,
.stack .help {
  margin: 0;
}
.field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  font-size: 14px;
  font-weight: 580;
}
.field small {
  font-weight: 400;
}
input,
select,
textarea {
  min-width: 0;
  width: 100%;
  background: #101a16;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 400;
  padding: 0.65rem 0.75rem;
  line-height: 1.45;
}
input[type="file"] {
  font-size: 13px;
}
textarea {
  resize: vertical;
  min-height: 96px;
}
.check {
  display: flex;
  gap: 0.62rem;
  align-items: flex-start;
  font-size: 14px;
  cursor: pointer;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--lime);
}
.actions,
.filters,
.badges,
.head-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}
.work {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 65px);
  padding: clamp(24px, 3.5vw, 58px) clamp(18px, 4.5vw, 70px);
}
#nav {
  align-self: start;
  display: grid;
  gap: 2px;
  position: sticky;
  top: 24px;
}
#nav a {
  color: var(--soft);
  font-size: 14px;
  font-weight: 540;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 11px;
}
#nav .nav-symbol {
  font: 16px var(--mono);
  width: 18px;
  color: #98bba5;
  line-height: 1;
}
#nav a:hover,
#nav a[aria-current="page"] {
  color: var(--lime);
  background: #24342b;
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 22px;
}
.page-head h1 {
  font-size: clamp(38px, 4vw, 61px);
  margin: 0;
}
.page-head p {
  margin: 0 0 0.45rem;
}
.page-head .lead {
  font-size: 15px;
  margin: 0.4rem 0 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.grid > .wide {
  grid-column: 1/-1;
}
.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: clamp(16px, 2vw, 27px);
  margin: 0;
}
.panel + .panel,
.table-wrap + .panel {
  margin-top: 16px;
}
.grid > .panel,
.grid > .panel + .panel {
  margin: 0;
}
.panel h2 {
  font-size: 22px;
}
.intro {
  background: linear-gradient(115deg, #233e2c, #1b2b22);
  padding: clamp(20px, 3.5vw, 44px);
  margin-bottom: 18px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}
.metric {
  background: var(--panel);
  padding: 18px;
  display: grid;
  gap: 0.3rem;
}
.metric strong {
  font: normal 32px/1.1 var(--serif);
  color: var(--lime);
}
.metric span,
.meta {
  font: 12px/1.45 var(--mono);
  color: var(--soft);
  overflow-wrap: anywhere;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  text-align: left;
}
th {
  background: var(--raised);
  font-weight: 550;
  font-size: 12px;
  color: var(--soft);
}
td,
th {
  padding: 10px 12px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  max-width: 25rem;
}
tr:last-child td {
  border-bottom: 0;
}
td button {
  font-size: 12px;
  padding: 0.35rem 0.6rem;
}
.item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
}
.item:first-child {
  border-top: 0;
}
.item h3,
.item p {
  margin: 0;
}
.badge {
  font: 11px/1.4 var(--mono);
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--soft);
  display: inline-block;
}
.badge.good {
  color: var(--lime);
  border-color: #526d4a;
}
.badge.warn {
  color: var(--alert);
  border-color: #735747;
}
fieldset {
  margin: 0;
  border: 1px solid var(--line);
  padding: 16px;
  min-width: 0;
  border-radius: 5px;
}
legend {
  color: var(--emerald);
  font-size: 13px;
  font-weight: 600;
  padding: 0 0.4rem;
}
details {
  min-width: 0;
}
summary {
  font-weight: 580;
  cursor: pointer;
  color: var(--emerald);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.6 var(--mono);
  background: #0e1813;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 4px;
  max-height: 380px;
  overflow: auto;
  margin: 0;
  color: var(--ink);
  user-select: text;
}
.dialog-credential {
  font: 14px/1.7 var(--mono);
  user-select: all;
}
dialog {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  width: min(630px, 94vw);
  max-height: 85vh;
  overflow: auto;
}
dialog::backdrop {
  background: #040b08ca;
}
dialog form[method="dialog"] {
  margin-top: 20px;
}
.line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.lines {
  display: grid;
  gap: 0.7rem;
}
dl {
  margin: 0;
}
dt {
  color: var(--soft);
  font-size: 13px;
}
dd {
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.steps button {
  font-size: 12px;
  padding: 0.4rem 0.65rem;
  color: var(--soft);
}
.steps button[aria-current="step"] {
  color: var(--lime);
  border-color: var(--lime);
}
.preview {
  position: sticky;
  top: 1rem;
}
.empty {
  padding: 12px 0;
  color: var(--soft);
}
.recipient-page {
  max-width: 940px;
  margin: auto;
  padding: clamp(24px, 5vw, 72px) clamp(16px, 4vw, 60px);
}
.filters {
  align-items: flex-end;
  margin-bottom: 14px;
}
.filters .field {
  flex: 1 1 130px;
}
input[readonly] {
  font: 12px/1.5 var(--mono);
}
@media (max-width: 900px) {
  .welcome {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    padding: 54px 26px;
  }
  .work {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .preview {
    position: static;
  }
  #nav a {
    padding: 9px 6px;
  }
}
@media (max-width: 680px) {
  .top {
    min-height: 62px;
  }
  .welcome {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 18px;
    gap: 20px;
  }
  .welcome-copy details {
    margin: 0 0 1rem;
  }
  .auth {
    max-width: 100%;
  }
  .work {
    display: block;
    padding: 13px 16px 35px;
  }
  .work #nav {
    display: flex;
    overflow: auto;
    position: static;
    gap: 4px;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--line);
    margin: 0 0 22px;
  }
  .work #nav a {
    white-space: nowrap;
    padding: 8px;
    font-size: 13px;
  }
  .work #nav .nav-symbol {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-head {
    margin-bottom: 15px;
    padding-bottom: 14px;
  }
  .brand-product {
    font-size: 13px;
  }
  #account span {
    display: none;
  }
  .top .brand {
    font-size: 14px;
  }
  .recipient-page {
    padding: 26px 16px;
  }
  .panel {
    padding: 15px;
  }
  .actions button {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a,
  input,
  select,
  textarea {
    transition:
      background-color 0.14s,
      color 0.14s,
      border-color 0.14s;
  }
}

.guide-link {
  margin: 1rem 0 0;
  font-size: 14px;
}
.guide-shell {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 86px) clamp(18px, 4.5vw, 68px);
  display: grid;
  grid-template-columns: 210px minmax(0, 740px);
  gap: clamp(20px, 5vw, 70px);
}
.guide-shell nav {
  align-self: start;
  position: sticky;
  top: 24px;
  display: grid;
  gap: 0.7rem;
}
.guide-shell nav a {
  font-size: 14px;
  color: var(--soft);
}
.guide-shell article {
  min-width: 0;
}
.guide-shell article h1 {
  font-size: clamp(42px, 4.5vw, 64px);
}
.guide-shell article h2 {
  margin: 2.4rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  scroll-margin: 1rem;
}
.guide-shell article p,
.guide-shell article li {
  color: #d2ddd3;
}
.guide-shell article p,
.guide-shell article ol,
.guide-shell article pre,
.guide-shell article .table-wrap {
  margin-bottom: 1rem;
}
.guide-shell article li + li {
  margin-top: 0.6rem;
}
@media (max-width: 760px) {
  .guide-shell {
    display: block;
  }
  .guide-shell nav {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
  }
}
