@import url("/static/font.css");
:root {
  --bg: #f5f7f8;
  --ink: #172f32;
  --muted: #748487;
  --line: #e3e9e9;
  --green: #145c4f;
  --lime: #d9edb7;
  --red: #b13737;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Rubik", Tahoma, Arial, sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  transition:
    background 0.18s,
    transform 0.18s;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #96cdbb;
  outline-offset: 3px;
}
button:hover:not(:disabled) {
  transform: translateY(-1px);
}
[hidden] {
  display: none !important;
}
aside {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 240px;
  padding: 38px 25px;
  background: #fff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
}
.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--lime);
  font-size: 28px;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
nav {
  margin-top: 65px;
  display: grid;
  gap: 10px;
}
.nav {
  text-align: right;
  padding: 15px 14px;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 18px;
}
.nav span {
  font-size: 13px;
}
.nav.active {
  color: var(--green);
  background: #edf4ef;
  font-weight: 600;
}
.aside-bottom {
  margin-top: auto;
  display: grid;
  gap: 20px;
}
.connection {
  font-size: 12px;
  color: var(--muted);
}
.connection::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: var(--muted);
  margin-left: 8px;
}
.connection.connected::before {
  background: #3ca97b;
}
main {
  margin-right: 240px;
  max-width: 1600px;
  padding: 36px 44px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 7px 0;
}
h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 12px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.9;
}
.eyebrow {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.primary,
.secondary,
.danger {
  border-radius: 10px;
  padding: 13px 21px;
  font-weight: 500;
  font-size: 13px;
}
.primary {
  background: var(--green);
  color: white;
}
.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.danger {
  color: var(--red);
  background: #fff0ef;
}
.quiet {
  background: transparent;
  color: var(--green);
  padding: 5px;
}
.wide {
  width: 100%;
  margin-top: 10px;
}
.hero {
  background: #143c37;
  border-radius: 22px;
  padding: 32px 38px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  color: #fff;
  min-height: 280px;
}
.hero h2 {
  font-size: 34px;
  line-height: 1.5;
  font-weight: 500;
  margin: 12px 0;
}
.hero p {
  color: #b3cbc3;
  font-size: 12px;
  margin: 0 0 20px;
}
.hero .primary {
  background: var(--lime);
  color: var(--ink);
}
.pill {
  display: inline-block;
  color: #bfd4ca;
  font-size: 9px;
  letter-spacing: 2px;
}
.hero-art {
  width: 260px;
  position: relative;
  display: grid;
  place-items: center;
}
.coin-art {
  width: 115px;
  height: 115px;
  background: #d5e9b1;
  color: #143c37;
  border: 7px solid #aecb88;
  border-radius: 50%;
  font-size: 72px;
  display: grid;
  place-items: center;
  transform: rotate(-18deg);
  box-shadow: 18px 18px 0 #102d29;
}
.orbit {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid #46685c;
  border-radius: 50%;
  transform: rotate(-25deg) scaleX(1.35);
}
.two {
  width: 160px;
  height: 160px;
  transform: rotate(25deg) scaleX(1.6);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 17px;
}
.section-heading h2 {
  margin: 0 0 4px;
}
.section-heading span {
  font-size: 11px;
  color: var(--muted);
}
.balance-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.balance-card,
.summary-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.balance-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.asset {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.balance-value {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 19px 0 10px;
  direction: ltr;
  text-align: right;
  overflow-wrap: anywhere;
}
.muted,
.hint {
  color: var(--muted);
  font-size: 12px;
}
.hint {
  line-height: 1.8;
  margin: 8px 0 16px;
}
.summary-card strong {
  display: block;
  font-size: 25px;
  margin-top: 14px;
}
.summary-card em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  margin-right: 6px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.two-column {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.review-card {
  background: #eef3ed;
  height: fit-content;
}
.review-card h2 {
  font-size: 27px;
  line-height: 1.6;
  margin-top: 15px;
}
.review-card p {
  color: #657b70;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 12px;
  margin: 20px 0 8px;
  font-weight: 500;
}
input,
select {
  display: block;
  width: 100%;
  border: 1px solid #dbe4e1;
  background: #fff;
  border-radius: 9px;
  padding: 13px 12px;
  color: var(--ink);
  margin-top: 9px;
  min-width: 0;
}
input:focus,
select:focus {
  outline: 2px solid #b3d4c5;
  border-color: #84b49f;
}
.input-action {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-top: 9px;
}
.input-action input {
  border: 0;
  margin: 0;
  flex: 1;
  width: 100px;
}
.input-action button {
  white-space: nowrap;
  margin: 0 10px;
}
.upload {
  display: grid;
  place-items: center;
  gap: 9px;
  padding: 25px;
  border: 1px dashed #a5c3b6;
  border-radius: 12px;
  background: #f7faf7;
  cursor: pointer;
  font-size: 24px;
}
.upload strong {
  font-size: 13px;
}
.upload span {
  font-size: 11px;
  color: var(--muted);
}
.upload input {
  font-size: 11px;
}
.permissions {
  margin-top: 25px;
}
.permission {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.badge {
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 10px;
  background: #f0f3f3;
  color: var(--muted);
}
.badge.on {
  background: #e5f2e5;
  color: #3a7853;
}
.danger-zone {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 18px;
}
.danger-zone p {
  color: var(--muted);
  font-size: 12px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 12px;
  white-space: nowrap;
}
th {
  font-weight: 500;
  color: var(--muted);
  padding: 15px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 18px 15px;
  border-bottom: 1px solid var(--line);
}
td.long {
  max-width: 220px;
  overflow-wrap: anywhere;
  white-space: normal;
  direction: ltr;
}
.empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  padding: 30px;
  margin-top: 20px;
}
.compact {
  margin: 0;
  color: var(--muted);
  grid-column: 1/-1;
}
footer {
  margin-top: 45px;
  color: var(--muted);
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 25px;
  background: #edf2ed;
}
.login-card {
  max-width: 450px;
  width: 100%;
  background: white;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.login-card p {
  color: var(--muted);
}
.login-card h1 {
  font-size: 24px;
  margin-top: 25px;
}
.login-card button {
  margin-top: 15px;
  width: 100%;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 25px;
  max-width: 450px;
  background: #173b35;
  color: white;
  padding: 18px 24px;
  border-radius: 12px;
  z-index: 10;
  line-height: 1.8;
  box-shadow: 0 10px 35px #1233;
}
#notice,
#pending:not(:empty) {
  background: #fff3db;
  padding: 16px;
  border-radius: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
dl {
  font-size: 12px;
}
dt {
  color: var(--muted);
  margin-top: 15px;
}
dd {
  margin: 5px 0;
  overflow-wrap: anywhere;
  direction: ltr;
  text-align: right;
}
@media (max-width: 1050px) {
  aside {
    width: 200px;
    padding: 30px 18px;
  }
  main {
    margin-right: 200px;
    padding: 28px 24px;
  }
  .hero-art {
    width: 170px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .two-column {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  aside {
    position: static;
    width: 100%;
    padding: 17px 20px;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 22px;
  }
  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  nav {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 3px;
  }
  .nav {
    padding: 9px 6px;
    font-size: 15px;
    gap: 4px;
  }
  .nav span {
    font-size: 10px;
  }
  .aside-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
  }
  .aside-bottom button {
    font-size: 11px;
  }
  main {
    margin: 0;
    padding: 25px 18px;
  }
  header {
    margin-bottom: 20px;
  }
  h1 {
    font-size: 24px;
  }
  .hero {
    padding: 25px;
    min-height: 260px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .hero-art {
    width: 90px;
    opacity: 0.55;
  }
  .orbit {
    width: 130px;
    height: 180px;
  }
  .coin-art {
    width: 80px;
    height: 80px;
    font-size: 48px;
  }
  .hero p {
    max-width: 200px;
  }
  .card {
    padding: 22px;
  }
  .balance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .balance-card {
    padding: 16px;
  }
  .balance-value {
    font-size: 22px;
  }
  .form-row {
    gap: 10px;
  }
  #toast {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
  .section-heading span {
    font-size: 10px;
  }
}
