* {
  box-sizing: border-box;
}
:root {
  color-scheme: dark;
  font-family:
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: #091416;
  color: #e1eeee;
  font-synthesis: none;
}
body {
  margin: 0;
  padding: env(safe-area-inset-top) 0 calc(90px + env(safe-area-inset-bottom));
  background:
    linear-gradient(90deg, #25383b22 1px, transparent 1px),
    linear-gradient(#25383b22 1px, transparent 1px), #091416;
  background-size: 32px 32px;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  touch-action: manipulation;
  min-height: 44px;
  padding: 11px 15px;
  color: #d8e8e6;
  background: #15272a;
  border: 1px solid #3a5257;
  border-radius: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #9bf6bc;
  outline-offset: 3px;
}
button:active {
  background: #2a4244;
}
a {
  color: #a7f5c4;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -0.8px;
  font-weight: 650;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
}
h3 {
  font-size: 17px;
  line-height: 1.35;
}
p {
  line-height: 1.6;
}
.masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 18px;
  border-bottom: 1px solid #33484d;
  max-width: 760px;
  margin: auto;
}
.masthead strong {
  font:
    600 16px Consolas,
    monospace;
  letter-spacing: 1.6px;
}
.masthead .micro {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 1.7px;
}
.brand-mark {
  border: 1px solid #8bd3ac;
  width: 38px;
  height: 39px;
  font:
    700 27px Consolas,
    monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #b9f3cb;
  clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 0 100%);
}
.brand-mark span {
  font: 12px Consolas;
  position: absolute;
  right: 1px;
  top: 0;
}
.icon-button {
  font-size: 27px;
  background: none;
  border: 1px solid #2a4144;
  min-width: 44px;
  padding: 0;
  line-height: 1;
}
.masthead .icon-button {
  margin-left: auto;
}
.connection {
  max-width: 760px;
  margin: auto;
  padding: 11px 20px;
  background: #101f21;
  font:
    11px/1.5 Consolas,
    monospace;
  letter-spacing: 0.35px;
  color: #9fe5b5;
  border-bottom: 1px solid #253a3e;
}
.connection.offline {
  color: #e6c783;
}
.connection::before {
  content: "■";
  font-size: 8px;
  margin-right: 9px;
}
#notice {
  max-width: 720px;
  margin: 12px auto;
  padding: 14px 20px;
  color: #f3d89d;
  border: 1px solid #806b3f;
  background: #292519;
}
main {
  max-width: 760px;
  margin: auto;
  padding: 26px 20px;
}
.micro {
  font:
    10px/1.5 Consolas,
    monospace;
  letter-spacing: 1.4px;
  color: #8badaf;
}
.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #a0dfb6;
  font:
    11px Consolas,
    monospace;
  letter-spacing: 1.5px;
}
.hero {
  margin-bottom: 25px;
}
.hero p {
  margin-top: 12px;
  color: #a1b8bc;
  font-size: 14px;
}
.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-line .count {
  font:
    12px Consolas,
    monospace;
  color: #b4cec7;
}
.section-label {
  border-top: 1px solid #324a4e;
  padding-top: 20px;
  margin: 24px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.primary {
  background: #b5ebc3;
  color: #10281d;
  border-color: #b5ebc3;
  font-weight: 650;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}
.primary:active {
  background: #8ccc9e;
}
.full {
  width: 100%;
}
.muted {
  color: #98afb4;
}
.small {
  font-size: 12px;
}
.body-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
  font-size: 14px;
}
.panel {
  background: #102124;
  border: 1px solid #30484d;
  padding: 18px;
  margin: 12px 0;
  position: relative;
}
.panel::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 20px;
  height: 2px;
  background: #8ac4b0;
}
.panel > p,
.panel > button {
  margin-top: 12px;
}
.panel .meta {
  font:
    10px/1.6 Consolas,
    monospace;
  color: #92b1b3;
  overflow-wrap: anywhere;
}
.panel.warning {
  border-color: #6b603c;
}
.panel.warning::before {
  background: #dac487;
}
.panel.outgoing {
  margin-left: 18px;
  background: #172b29;
}
.panel details,
.panel pre {
  margin-top: 14px;
}
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.row > button {
  flex: 1;
}
.empty {
  border: 1px dashed #395257;
  padding: 24px 18px;
  color: #a5bcbf;
  line-height: 1.7;
  margin: 18px 0;
}
.empty strong {
  color: #e1eeee;
  display: block;
  margin-bottom: 8px;
}
.chip {
  display: inline-block;
  background: #19332c;
  color: #b8e3c6;
  padding: 5px 8px;
  font:
    10px Consolas,
    monospace;
  letter-spacing: 0.5px;
}
.chip.pending {
  background: #382f1e;
  color: #ebd395;
}
.material {
  background: #102124;
  border: 1px solid #2c4347;
  margin: 10px 0;
}
.material summary {
  padding: 16px;
  cursor: pointer;
  min-height: 52px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.material summary small {
  display: block;
  color: #92b1b3;
  font:
    10px/1.6 Consolas,
    monospace;
  margin-top: 4px;
}
.material .body {
  padding: 0 16px 18px;
}
.material .body > button {
  margin-top: 16px;
}
.material pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.65 Consolas,
    monospace;
  color: #c6dcd8;
  max-height: 60vh;
  overflow: auto;
}
.toolbar {
  display: flex;
  gap: 10px;
  margin: 18px 0;
  align-items: center;
}
.toolbar select {
  flex: 1;
  min-width: 0;
}
.toolbar input {
  min-width: 0;
  width: 100%;
}
nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
  background: #0e1b1ef5;
  border-top: 1px solid #48615d;
  backdrop-filter: blur(14px);
  z-index: 5;
}
nav[hidden] {
  display: none;
}
nav button {
  min-height: 53px;
  background: transparent;
  border: 0;
  font-size: 11px;
  padding: 6px 0;
  color: #91a8ae;
}
nav button span {
  display: block;
  font:
    10px Consolas,
    monospace;
  margin-bottom: 5px;
  opacity: 0.7;
}
nav button[aria-current="page"] {
  color: #cbefce;
  background: #20362f;
  border-top: 2px solid #b5ebc3;
}
label {
  display: block;
  color: #acc3c6;
  font-size: 12px;
  margin: 16px 0;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  background: #091719;
  border: 1px solid #3b565b;
  color: #e6eeee;
  border-radius: 0;
  padding: 12px;
  max-width: 100%;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
dialog {
  background: #102023;
  color: #e1eeee;
  border: 1px solid #547368;
  padding: 22px;
  width: calc(100% - 24px);
  max-width: 600px;
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #020a0de6;
}
dialog p {
  margin: 12px 0;
}
.pair-input {
  font:
    19px Consolas,
    monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.login-art {
  font:
    11px/1.65 Consolas,
    monospace;
  color: #699a91;
  padding: 20px 0;
  border-top: 1px solid #324c4c;
  border-bottom: 1px solid #324c4c;
  margin: 24px 0;
}
.login-art strong {
  font-size: 16px;
  color: #c7e6c8;
}
.footer-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.footer-actions button {
  flex: 1;
  font-size: 12px;
}
.timeline-item {
  border-left: 1px solid #476663;
  padding: 0 0 21px 17px;
  margin-left: 4px;
  position: relative;
}
.timeline-item::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: 3px;
  left: -4px;
  background: #96c4ac;
}
.timeline-item.error::before {
  background: #ddb26c;
}
.timeline-item .meta {
  font:
    10px Consolas,
    monospace;
  color: #93b0b3;
  margin-bottom: 8px;
}
.timeline-item summary {
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.timeline-item pre {
  font:
    11px/1.6 Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #12262a;
  padding: 12px;
  max-height: 60vh;
  overflow: auto;
}
.timeline-item button {
  font-size: 12px;
}
#draft-status.error {
  color: #e5c088;
}
.case-question {
  border-left: 2px solid #c5dab0;
  padding-left: 14px;
  margin: 20px 0;
  color: #d6e5d7;
}
.pending-note {
  border-color: #685d3d;
}
.branch-warning {
  color: #dec68f;
}
.status-time {
  margin-top: 12px;
  font:
    10px/1.6 Consolas,
    monospace;
  color: #8aa8a9;
}
.loading-text {
  padding: 35px 0;
  color: #9eb6b8;
}
.search-count {
  margin-bottom: 15px;
  font-size: 12px;
  color: #9eb6b8;
}
@media (min-width: 650px) {
  main {
    padding: 32px;
  }
  .masthead {
    padding-left: 32px;
    padding-right: 32px;
  }
  h1 {
    font-size: 34px;
  }
  .panel {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
