:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #e7e9ed;
  background: #0b0d10;
  font-synthesis: none;
  --surface: #111419;
  --raised: #171b21;
  --border: #252a32;
  --muted: #858d9b;
  --green: #8dd9b5;
  --amber: #dbb374;
  --red: #f29a9a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 13px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
small {
  font-size: 11px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -1px;
}
h2 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 14px;
  font-weight: 550;
}
p {
  line-height: 1.7;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
#sidebar {
  width: 232px;
  background: #101217;
  border-right: 1px solid var(--border);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 28px 16px;
  z-index: 20;
}
.wordmark {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
.wordmark small {
  display: block;
  color: #667080;
  font-size: 8px;
  letter-spacing: 1.6px;
  margin-top: 6px;
}
.brand-symbol {
  width: 34px;
  height: 34px;
  border: 1px solid #3b454c;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: -0.6px;
  background: #1a2226;
  color: #b5d7c7;
}
.workspace-label {
  margin: 30px 12px 20px;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #727b88;
  display: flex;
  gap: 12px;
  align-items: center;
}
.env-dot,
.live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  display: inline-block;
  border-radius: 50%;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #596370;
  margin: 19px 12px 7px;
}
.nav-item {
  padding: 11px 13px;
  border-radius: 7px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #9098a6;
  font-weight: 450;
}
.nav-item:hover {
  background: #191d24;
  color: #e7e9ed;
}
.nav-item.active {
  color: #a9dcc6;
  background: #1c2926;
}
.nav-icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-item .count {
  margin-left: auto;
  background: #263a33;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 9px;
}
.sidebar-footer {
  margin-top: auto;
  padding: 22px 9px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  color: #a5aebb;
  font-size: 11px;
}
.sidebar-footer small {
  display: block;
  margin-top: 5px;
  color: #667080;
}
.shield-mark {
  color: var(--green);
  font-size: 24px;
}
.workspace {
  margin-left: 232px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: #0d1014;
}
.breadcrumb {
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb span {
  padding: 0 12px;
  color: #424a57;
}
.breadcrumb strong {
  color: #c6ccd6;
  font-weight: 450;
}
.topbar-right {
  display: flex;
  gap: 22px;
  align-items: center;
}
.pause-pill {
  font-size: 10px;
  color: var(--amber);
  border: 1px solid #59462a;
  background: #211c15;
  border-radius: 5px;
  padding: 7px 10px;
}
.user-button {
  background: none;
  border: none;
  color: #cad0d8;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
}
.user-button > .muted {
  font-size: 10px;
  margin-left: 6px;
}
.avatar {
  height: 28px;
  width: 28px;
  background: #262c34;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
}
.icon-button.mobile-menu {
  display: none;
}
main {
  padding: 34px 36px;
  min-height: calc(100vh - 124px);
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.heading-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}
.button,
.primary,
.secondary,
.icon-button {
  border: 1px solid #353c46;
  border-radius: 6px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1b2027;
  color: #dce1e8;
  font-size: 11px;
  font-weight: 550;
}
.primary {
  background: #b1ddc9;
  color: #13271f;
  border-color: #b1ddc9;
}
.secondary {
  background: #12161c;
}
.icon-button {
  background: transparent;
  padding: 8px;
}
.button:hover,
.secondary:hover {
  background: #242b33;
}
.primary:hover {
  background: #c4e7d7;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}
.card-header {
  padding: 21px 23px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.card-header p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.card-body {
  padding: 23px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.metric {
  padding: 21px;
}
.metric-label {
  color: #9ca5b3;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.metric-number {
  font-size: 27px;
  letter-spacing: -0.9px;
  margin: 20px 0 13px;
  line-height: 1.1;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.metric-number small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 5px;
}
.metric-foot {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.metric-icon {
  color: #647082;
}
.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.grid-half {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  background: #20252d;
  color: #abb4c1;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25px;
  white-space: nowrap;
}
.badge.green {
  color: var(--green);
  background: #1b2a24;
}
.badge.amber {
  color: var(--amber);
  background: #2b241a;
}
.badge.red {
  color: var(--red);
  background: #2c1e22;
}
.badge.neutral {
  color: #909baa;
  background: #1d232c;
}
.section-gap {
  margin-bottom: 22px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
}
th {
  font-weight: 450;
  color: #7d8797;
  font-size: 10px;
  letter-spacing: 0.15px;
  background: #13171d;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #20252d;
  color: #bdc5d1;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #151a21;
}
td.mono,
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1px;
}
.asset-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.asset-icon {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #21352e;
  color: #9acfb6;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 650;
}
.cell-sub {
  display: block;
  font-size: 9px;
  color: #737f90;
  margin-top: 5px;
}
.amount {
  font-variant-numeric: tabular-nums;
  color: #d9e1e8;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
input,
select {
  background: #0e1217;
  color: #cbd3df;
  border: 1px solid #303741;
  border-radius: 5px;
  padding: 10px 11px;
  font-size: 11px;
  min-width: 0;
}
select {
  padding-right: 22px;
}
.filters input {
  max-width: 150px;
}
.pagination {
  padding: 14px 21px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.pagination div {
  display: flex;
  gap: 8px;
}
.empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.empty strong {
  display: block;
  color: #c9d0db;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
}
.notice {
  padding: 13px 16px;
  background: #1d1a15;
  border: 1px solid #443825;
  border-radius: 6px;
  color: #c7ac81;
  line-height: 1.7;
  font-size: 11px;
  margin-bottom: 22px;
}
.notice.info {
  background: #151d21;
  border-color: #2b3a43;
  color: #9fb4c1;
}
.status-list {
  display: grid;
  gap: 0;
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #20252d;
  color: #a9b4c3;
  font-size: 11px;
}
.status-row:first-child {
  padding-top: 0;
}
.status-row:last-child {
  padding-bottom: 0;
  border: 0;
}
.status-name {
  display: flex;
  gap: 11px;
  align-items: center;
}
.network-mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: #20252d;
  border-radius: 6px;
  font-size: 9px;
  color: #aeb8c6;
}
.row-end {
  display: flex;
  gap: 12px;
  align-items: center;
}
.chart {
  width: 100%;
  height: 190px;
  display: block;
  margin-top: 15px;
}
.chart-grid {
  stroke: #252b34;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.chart-label {
  fill: #707b8c;
  font-size: 10px;
}
.chart-line {
  fill: none;
  stroke: #8dd9b5;
  stroke-width: 2;
}
.chart-point {
  fill: #111419;
  stroke: #8dd9b5;
  stroke-width: 2;
}
.chart-summary {
  display: flex;
  gap: 25px;
  margin-top: 15px;
}
.chart-summary strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
}
.chart-summary small {
  color: var(--muted);
}
.chart-select {
  padding: 6px 9px;
  font-size: 10px;
}
.link {
  color: #a8c9ba;
  font-size: 10px;
}
.chart-legend {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
}
.route-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 26px 22px;
  gap: 12px;
}
.route-node {
  border: 1px solid #303741;
  border-radius: 7px;
  padding: 15px 10px;
  position: relative;
  background: #151a20;
  min-width: 0;
}
.route-node:not(:last-child):after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 39px;
  color: #697585;
  background: #111419;
  z-index: 1;
}
.route-node .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.route-node strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 13px 0 6px;
}
.route-node small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.route-node.contract {
  border-style: dashed;
}
.settlement-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.65fr);
  gap: 22px;
  margin-bottom: 22px;
}
.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.form-group label {
  color: #9ea9b8;
  font-size: 11px;
}
.amount-input {
  display: flex;
  align-items: center;
  background: #0e1217;
  border: 1px solid #303741;
  border-radius: 6px;
}
.amount-input input {
  width: 100%;
  font-size: 23px;
  padding: 17px 14px;
  background: none;
  border: 0;
  font-variant-numeric: tabular-nums;
}
.amount-input span {
  color: var(--muted);
  padding-right: 14px;
  font-size: 11px;
}
.form-help {
  font-size: 10px;
  color: #7c8798;
  line-height: 1.7;
}
.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.actions button {
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}
.execution-button {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 25px;
}
.fact dt {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 8px;
}
.fact dd {
  margin: 0;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.fact.wide {
  grid-column: 1/-1;
}
.constraints {
  padding-left: 17px;
  color: #a9977c;
  font-size: 10px;
  line-height: 2;
}
.progress-track {
  height: 5px;
  border-radius: 4px;
  background: #262e38;
  overflow: hidden;
  margin-top: 10px;
}
.progress-track span {
  display: block;
  height: 100%;
  background: #789c8b;
  border-radius: 4px;
}
.timeline {
  display: flex;
  overflow: auto;
  padding: 24px;
  gap: 6px;
}
.timeline-step {
  min-width: 105px;
  font-size: 8px;
  color: #6d7888;
  line-height: 1.6;
  position: relative;
}
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #3e4958;
  background: #171d25;
  margin-bottom: 12px;
}
.timeline-step:not(:last-child):after {
  content: '';
  height: 1px;
  background: #333c48;
  position: absolute;
  top: 6px;
  left: 15px;
  right: 4px;
}
.timeline-step.done {
  color: #aacdbb;
}
.timeline-step.done .timeline-dot {
  background: #90c9af;
  border-color: #90c9af;
}
.timeline-step.current .timeline-dot {
  border: 2px solid var(--amber);
}
.provider-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.provider-logo {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.7px;
}
.security-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #8aa495;
  padding: 14px 20px;
  background: #131c18;
  border: 1px solid #26372d;
  border-radius: 6px;
  margin-bottom: 22px;
}
.workspace-footer {
  border-top: 1px solid var(--border);
  height: 48px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5f6c7c;
  font-size: 9px;
}
.error-message {
  color: var(--red);
  font-size: 11px;
  min-height: 18px;
  margin: 10px 0;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-context {
  padding: 54px 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #11161a;
  border-right: 1px solid var(--border);
}
.login-context h1 {
  font-size: 43px;
  line-height: 1.22;
  letter-spacing: -1.6px;
  margin: 24px 0;
}
.login-context p {
  font-size: 13px;
  color: #8793a2;
  max-width: 340px;
}
.login-context small {
  color: #5f6a77;
  font-size: 10px;
}
.security-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #9eb5a9;
  margin-top: 34px;
}
.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}
.login-form-panel form {
  width: 100%;
  max-width: 350px;
}
.login-form-panel h2 {
  font-size: 27px;
  margin: 18px 0 10px;
}
.login-form-panel p.muted {
  margin-bottom: 32px;
  font-size: 12px;
}
.login-form-panel label {
  display: grid;
  gap: 10px;
  font-size: 11px;
  color: #a0abba;
  margin-bottom: 21px;
}
.login-form-panel input {
  height: 44px;
}
.login-form-panel .primary {
  width: 100%;
  justify-content: space-between;
  padding: 13px 16px;
  font-size: 12px;
}
.text-button {
  background: none;
  border: 0;
  color: #8ca899;
  padding: 16px 0;
  font-size: 10px;
}
.login-security {
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 22px;
  color: #8a94a1;
  font-size: 10px;
  line-height: 2;
}
.login-security span {
  color: #576373;
}
#toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  padding: 14px 20px;
  background: #232d29;
  border: 1px solid #3d5649;
  border-radius: 7px;
  color: #c7e0d3;
  z-index: 100;
  max-width: 420px;
  font-size: 12px;
}
.loading {
  padding: 50px;
  color: var(--muted);
  font-size: 12px;
}
.wrap {
  overflow-wrap: anywhere;
  white-space: normal;
}
.safety-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.balance-card .card-body {
  display: grid;
  gap: 15px;
}
.no-data {
  color: #69778a;
}
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.caption {
  color: var(--muted);
  font-size: 10px;
  margin-top: 12px;
  line-height: 1.7;
}
.money {
  font-variant-numeric: tabular-nums;
}
.quote-age {
  color: var(--amber);
  font-size: 10px;
}
.history-entry {
  margin-bottom: 20px;
}
.history-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 23px;
  color: var(--muted);
  font-size: 10px;
}
.history-meta strong {
  color: #c9d4df;
}
.status-warning {
  color: var(--amber);
}
@media (min-width: 1600px) {
  main {
    padding: 40px 50px;
  }
  .metrics {
    gap: 22px;
  }
  .metric {
    padding: 25px;
  }
}
@media (max-width: 1150px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-two,
  .settlement-grid {
    grid-template-columns: 1fr;
  }
  .network-grid,
  .balance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  main {
    padding: 27px;
  }
  .topbar {
    padding: 0 27px;
  }
  .route-flow {
    gap: 8px;
    padding: 20px 16px;
  }
  .route-node {
    padding: 12px 8px;
  }
  .route-node strong {
    font-size: 10px;
  }
}
@media (max-width: 800px) {
  #sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  #sidebar.open {
    transform: none;
    box-shadow: 20px 0 50px #0008;
  }
  .workspace {
    margin-left: 0;
  }
  .icon-button.mobile-menu {
    display: inline-flex;
  }
  .topbar {
    gap: 12px;
    padding: 0 18px;
    height: 66px;
  }
  .breadcrumb {
    margin-right: auto;
  }
  .topbar-right {
    gap: 9px;
  }
  .user-button > span:not(.avatar) {
    display: none;
  }
  .pause-pill {
    font-size: 8px;
    padding: 6px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-tools {
    display: none;
  }
  main {
    padding: 24px 18px;
  }
  .grid-half,
  .provider-cards {
    grid-template-columns: 1fr;
  }
  .route-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .route-node:nth-child(3):after {
    display: none;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-context {
    padding: 28px;
    border-bottom: 1px solid var(--border);
    border-right: 0;
    min-height: 180px;
  }
  .login-context > div:nth-child(2),
  .login-context > small {
    display: none;
  }
  .login-form-panel {
    padding: 45px 25px;
    align-items: flex-start;
  }
  .workspace-footer {
    padding: 0 18px;
  }
  .login-context {
    min-height: auto;
  }
  .network-grid,
  .balance-grid {
    grid-template-columns: 1fr;
  }
  .metric-number {
    font-size: 22px;
  }
  .metric {
    padding: 17px;
  }
  .metric-label {
    font-size: 10px;
  }
  .filters {
    padding: 15px;
    gap: 8px;
  }
  .filters select,
  .filters input {
    max-width: 140px;
  }
  .card-header,
  .card-body {
    padding: 18px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
}

.sidebar-close {
  display: none;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: #0009;
  z-index: 19;
  border: 0;
}
@media (max-width: 800px) {
  .sidebar-close {
    display: block;
    margin-bottom: 14px;
    font-size: 10px;
  }
}
