:root {
  color-scheme: light;
  --canvas: #f3f5f2;
  --paper: #fff;
  --ink: #202923;
  --muted: #58645c;
  --line: #d3dcd3;
  --accent: #226d45;
  --danger: #ab352d;
  --radius: 10px;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  min-height: 44px;
  padding: 9px 17px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  color: var(--ink);
  background: #e5ebe4;
}
button:active:not(:disabled) {
  transform: scale(0.97);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
.primary {
  background: var(--accent);
  color: white;
}
.quiet {
  background: transparent;
  color: var(--muted);
}
.danger {
  background: #f9e9e6;
  color: var(--danger);
}
:focus-visible {
  outline: 3px solid #599c71;
  outline-offset: 3px;
}
header {
  max-width: 840px;
  margin: auto;
  padding: 24px 24px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
}
.dot {
  color: var(--accent);
}
#connection {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
#connection.online {
  color: var(--accent);
}
main {
  max-width: 800px;
  padding: 32px 24px max(28px, env(safe-area-inset-bottom));
  margin: auto;
}
h1 {
  font-size: 30px;
  margin: 0 0 20px;
  font-weight: 650;
}
h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-heading h1 {
  margin-bottom: 0;
}
.section-heading + label {
  margin-top: 24px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0 8px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 12px;
  border-radius: var(--radius);
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
select {
  margin-top: 10px;
  max-width: 100%;
}
.directory {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  line-height: 1.5;
  min-height: 18px;
  margin: 10px 0 24px;
}
.execution {
  background: var(--paper);
  padding: 20px;
  border-radius: var(--radius);
  min-height: 210px;
}
.muted,
.footnote {
  color: var(--muted);
  font-size: 13px;
}
#observed:empty,
#warning:empty,
#notice:empty {
  display: none;
}
#notice {
  font-size: 14px;
  color: var(--muted);
}
.error {
  color: var(--danger);
  overflow-wrap: anywhere;
}
pre {
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 18px 0 0;
  max-height: 42dvh;
  overflow: auto;
}
#compose {
  margin-top: 24px;
}
.send-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
}
#delivery {
  color: var(--muted);
  font-size: 13px;
}
details {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 16px;
}
summary {
  cursor: pointer;
  min-height: 44px;
  font-size: 14px;
}
ol {
  padding: 0;
  list-style: none;
}
li {
  font-size: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
li span {
  display: block;
  color: var(--muted);
}
.footnote {
  margin-top: 20px;
}
.eyebrow {
  font-size: 14px;
  color: var(--accent);
  margin-top: 36px;
}
#login {
  max-width: 460px;
  margin: 0 auto;
}
#login-form button {
  width: 100%;
  margin-top: 18px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
}
.skip:focus {
  top: 12px;
  background: white;
  z-index: 2;
  padding: 8px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  header {
    padding: 18px 18px 14px;
  }
  main {
    padding: 24px 16px max(24px, env(safe-area-inset-bottom));
  }
  .execution {
    padding: 16px;
  }
  h1 {
    font-size: 27px;
  }
  #connection {
    font-size: 12px;
  }
  .send-row {
    align-items: flex-start;
  }
  #delivery {
    max-width: 65%;
  }
}
@media (hover: hover) {
  button:not(:disabled):hover {
    filter: brightness(0.94);
  }
}
@media (prefers-reduced-motion: reduce) {
  button:active:not(:disabled) {
    transform: none;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  display: block;
  border-radius: 8px;
}
@media (max-width: 480px) {
  header {
    gap: 10px;
  }
  .brand img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  #logout {
    padding-inline: 12px;
  }
}
