:root {
  --line: #e0e6df;
  --muted: #73806f;
  --ink: #1c271e;
  --lime: #c8ff2e;
}
.page-heading {
  align-items: center;
}
.read-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 30px;
  font-size: 11px;
  white-space: nowrap;
  color: #53674b;
}
.read-badge i {
  width: 5px;
  height: 5px;
  background: #77a31b;
  border-radius: 50%;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ffffffed;
  backdrop-filter: blur(12px);
}
.top-actions .button {
  min-height: 38px;
}
.button.dark {
  background: #1b281e;
  color: #fff;
  border: 0;
}
.button.dark span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff21;
  font-size: 10px;
}
.scan-panel {
  padding: 24px;
}
.scan-panel label {
  font-size: 16px;
  letter-spacing: -0.3px;
}
.input-help {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 14px;
}
textarea {
  font:
    13px/1.6 ui-monospace,
    SFMono-Regular,
    monospace;
  width: 100%;
  resize: vertical;
  min-height: 72px;
  max-height: 180px;
  border: 1px solid #dce3d8;
  border-radius: 7px;
  padding: 13px 14px;
  background: #fafbf9;
  color: #293625;
  outline: none;
}
textarea:focus {
  border-color: #90aa56;
  box-shadow: 0 0 0 3px #c8ff2e22;
}
fieldset {
  border: 0;
  margin: 16px 0 0;
  padding: 0;
}
legend {
  font-size: 11px;
  font-weight: 600;
  color: #7b8976;
  margin-bottom: 10px;
}
.chain-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chain-option {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.scan-panel .chain-option {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
}
.chain-option:has(input:checked) {
  background: #f1f8e5;
  border-color: #a6c679;
}
.chain-option input {
  accent-color: #576e26;
  width: 13px;
  height: 13px;
  margin: 0;
}
.chain-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chain-color, #808a80);
  display: inline-block;
  flex: none;
}
.scan-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 16px;
}
.privacy-note {
  font-size: 10px;
  line-height: 1.65;
  color: #83907c;
  margin: 14px 0 0;
  max-width: 850px;
}
.button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.scan-panel:has(button:disabled) textarea {
  opacity: 0.6;
}
.scan-progress-panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px 20px;
  margin: 24px 0;
  background: #fff;
}
.scan-progress-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
}
.progress-track {
  height: 4px;
  background: #e9efdf;
  border-radius: 4px;
  overflow: hidden;
}
.progress-track i {
  display: block;
  height: 100%;
  background: #8cba2c;
  transition: width 0.25s;
}
.job-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}
.job {
  font-size: 10px;
  padding: 5px 8px;
  background: #f5f7f3;
  border-radius: 4px;
  color: #75826e;
}
.job.done {
  color: #4f702b;
  background: #edf5e2;
}
.job.failed {
  color: #9b6333;
  background: #fff2e5;
}
.job.running {
  color: #577318;
  background: #eaffb7;
}
.job button {
  border: 0;
  font: inherit;
  background: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.example-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  border: 1px solid #e0d7ee;
  background: #f5f0fb;
  color: #76628b;
  border-radius: 6px;
  font-size: 11px;
  margin: 24px 0 17px;
}
.meta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #788474;
  font-size: 11px;
  margin: 20px 0 15px;
}
.meta-line b {
  font-weight: 500;
  color: #384932;
}
.stats.discovery-stats {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 12px;
  margin: 0 0 26px;
}
.discovery-stats .stat {
  padding: 20px 22px;
  min-width: 0;
}
.discovery-stats .stat-value {
  font-size: 30px;
  letter-spacing: -1.5px;
}
.discovery-stats .stat-label {
  font-size: 11px;
}
.discovery-stats .stat-note {
  font-size: 10px;
  line-height: 1.6;
}
.stat.accent {
  background: #eaf4d8;
}
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.result-heading h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0;
}
.result-heading p {
  font-size: 11px;
  color: #829077;
  margin: 6px 0 0;
}
.filters {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: #77846e;
  border-radius: 30px;
  padding: 7px 13px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.filters button.active {
  background: #24321e;
  color: #fff;
  border-color: #24321e;
}
.tools-row {
  display: grid;
  grid-template-columns: 1fr 150px 145px;
  gap: 8px;
  margin-bottom: 14px;
}
.tools-row input,
.tools-row select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  padding: 10px 11px;
  font: inherit;
  font-size: 11px;
  color: #53644b;
}
.position-list {
  display: grid;
  gap: 10px;
}
.position-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 19px 21px;
  display: grid;
  grid-template-columns: 28px 43px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  transition: border-color 0.15s;
}
.position-card:hover {
  border-color: #a7bb8b;
}
.select-position {
  width: 16px;
  height: 16px;
  accent-color: #647f27;
  cursor: pointer;
}
.protocol-icon {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #edf1e8;
  color: #62804b;
}
.protocol-icon.lido {
  background: #e6f6ff;
  color: #1b98d2;
}
.protocol-icon.merkl {
  background: #252938;
  flex-shrink: 0;
}
.protocol-icon.aave {
  background: #ece8f8;
  color: #9180c9;
}
.protocol-icon.compound {
  background: #e3f8ee;
  color: #25a87d;
}
.position-primary {
  min-width: 0;
}
.position-title {
  font-size: 13px;
  font-weight: 600;
  color: #263320;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.position-meta {
  font-size: 10px;
  color: #7f8d76;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}
.status-pill {
  display: inline-flex;
  font-size: 9px;
  font-weight: 500;
  border-radius: 4px;
  padding: 4px 6px;
  white-space: nowrap;
}
.status-pill.ready {
  color: #4c7626;
  background: #eff7df;
}
.status-pill.waiting {
  color: #a17a31;
  background: #fff6df;
}
.status-pill.review {
  color: #777381;
  background: #f0eef5;
}
.status-pill.neutral {
  color: #728269;
  background: #f1f5ed;
}
.position-value {
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: right;
}
.position-value strong {
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
}
.position-value small {
  display: block;
  font-size: 10px;
  color: #859179;
  margin-top: 5px;
}
.position-value button {
  background: #f6f8f2;
  border: 1px solid #e2e8db;
  border-radius: 5px;
  padding: 8px 11px;
  font-size: 11px;
  cursor: pointer;
  color: #57713c;
  white-space: nowrap;
}
.position-footnote {
  font-size: 10px;
  color: #819078;
  line-height: 1.7;
  margin: 16px 0 0;
}
.note-box {
  font-size: 12px;
  line-height: 1.7;
  padding: 15px 17px;
  border-radius: 6px;
  background: #f1f5eb;
  color: #627651;
  border: 1px solid #e3eadb;
}
.note-box.warning {
  background: #fff7e8;
  color: #987342;
  border-color: #f0e1c7;
}
.warning-list {
  margin: 12px 0 20px;
  padding: 12px 17px;
  font-size: 11px;
  color: #986e3c;
  background: #fff5e7;
  border: 1px solid #efdfc6;
  border-radius: 6px;
  line-height: 1.8;
}
.warning-list p {
  margin: 0;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.coverage-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 23px;
}
.coverage-tile h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.coverage-tile p {
  font-size: 12px;
  line-height: 1.7;
  color: #7b8970;
}
.coverage-networks {
  font-size: 10px;
  line-height: 1.8;
  color: #69814e;
}
.coverage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #fff;
  margin: 20px 0;
}
.coverage-table th,
.coverage-table td {
  text-align: left;
  vertical-align: top;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}
.coverage-table th {
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: #7d8c73;
  background: #f3f6ee;
}
.coverage-table small {
  display: block;
  color: #839177;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 4px;
}
.coverage-section h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
}
.coverage-section > p {
  color: #7e8e72;
  font-size: 13px;
  line-height: 1.7;
}
.asset-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.asset-table th,
.asset-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #edf0e8;
  font-size: 12px;
}
.asset-table th {
  font-size: 10px;
  color: #87947c;
  font-weight: 500;
}
.asset-table small {
  display: block;
  font-size: 10px;
  color: #8b967f;
  margin-top: 5px;
}
.asset-table th:last-child,
.asset-table td:last-child {
  text-align: right;
}
.asset-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
}
.no-results {
  padding: 42px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.no-results h3 {
  font-size: 17px;
  margin: 0 0 10px;
}
.no-results p {
  font-size: 12px;
  line-height: 1.8;
  color: #819173;
  max-width: 500px;
  margin: 0 auto;
}
.welcome {
  padding: 47px 35px 45px;
}
.welcome h2 {
  font-size: 30px;
}
.welcome-steps {
  gap: 28px;
}
.detail-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}
.detail-top h2 {
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.6px;
}
.detail-amount {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 20px 0 8px;
}
.detail-usd {
  font-size: 13px;
  color: #829072;
}
.detail-grid {
  margin: 23px 0;
  background: #f6f8f2;
  border-radius: 6px;
  padding: 8px 16px;
}
.detail-grid > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  font-size: 11px;
  border-bottom: 1px solid #e4eadc;
}
.detail-grid > div:last-child {
  border: 0;
}
.detail-grid span {
  color: #7c8c70;
}
.detail-grid b {
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 72%;
  font-family: inherit;
}
.detail-steps {
  padding-left: 22px;
  font-size: 12px;
  color: #6e7e61;
  line-height: 1.9;
}
.detail-steps li {
  padding-left: 5px;
  margin: 7px 0;
}
.dialog-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.dialog-actions .button {
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}
.official-note {
  font-size: 10px;
  color: #8d9980;
  line-height: 1.7;
  margin-top: 12px;
}
#detail-dialog,
#plan-dialog {
  width: 590px;
  max-width: calc(100vw - 30px);
  max-height: 90vh;
  overflow: auto;
}
.plan-item {
  display: flex;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  align-items: center;
}
.plan-item > div:nth-child(2) {
  flex: 1;
}
.plan-item b {
  font-size: 12px;
  font-weight: 600;
}
.plan-item small {
  font-size: 10px;
  display: block;
  color: #87967c;
  margin-top: 5px;
}
.plan-item button {
  border: 0;
  background: none;
  font-size: 11px;
  color: #859476;
  text-decoration: underline;
  cursor: pointer;
}
.plan-total {
  margin: 18px 0;
  padding: 18px;
  background: #edf6dc;
  border-radius: 6px;
}
.plan-total p {
  font-size: 11px;
  color: #697c54;
  margin: 0 0 5px;
}
.plan-total strong {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
}
.plan-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.plan-footer h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.plan-footer p {
  font-size: 11px;
  line-height: 1.8;
  color: #87947b;
}
.clear-filter {
  border: 0;
  background: none;
  color: #597139;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}
.view-guide {
  border: 0;
  background: none;
  color: #647d49;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.privacy-details {
  font-size: 12px;
  line-height: 1.8;
  color: #748366;
}
.privacy-details h3 {
  font-size: 15px;
  color: #35472a;
  margin-top: 24px;
}
select:focus-visible,
input:focus-visible,
button:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid #8faa52;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .read-badge {
    display: none;
  }
  .stats.discovery-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .position-value {
    gap: 12px;
  }
  .position-card {
    padding: 16px;
    grid-template-columns: 20px 34px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .protocol-icon {
    width: 33px;
    height: 33px;
  }
  .position-value strong {
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .sidebar nav {
    gap: 3px;
  }
  .sidebar .nav {
    width: 32px;
  }
  .sidebar .brand {
    font-size: 24px;
  }
  .topbar {
    height: 60px;
  }
  .topbar .crumb {
    display: none;
  }
  .top-actions {
    width: 100%;
    justify-content: space-between;
  }
  .page-heading h1 {
    font-size: 31px;
    max-width: 330px;
  }
  .page-heading p:last-child {
    line-height: 1.65;
  }
  .scan-panel {
    padding: 18px;
  }
  .chain-choices {
    gap: 6px;
  }
  .scan-panel .chain-option {
    font-size: 10px;
    padding: 7px;
  }
  .chain-dot {
    width: 5px;
    height: 5px;
  }
  .privacy-note {
    font-size: 9px;
  }
  .scan-actions .button {
    font-size: 11px;
    padding: 12px;
  }
  .scan-actions .text-button {
    font-size: 10px;
  }
  .stats.discovery-stats {
    gap: 8px;
  }
  .discovery-stats .stat {
    padding: 17px;
    min-height: 120px;
  }
  .discovery-stats .stat-value {
    font-size: 26px;
  }
  .discovery-stats .stat-label {
    font-size: 10px;
  }
  .discovery-stats .stat-note {
    font-size: 9px;
  }
  .tools-row {
    grid-template-columns: 1fr 1fr;
  }
  .tools-row input {
    grid-column: 1/-1;
  }
  .filters {
    gap: 6px;
  }
  .filters button {
    font-size: 10px;
    padding: 6px 9px;
  }
  .position-card {
    grid-template-columns: 20px 32px minmax(0, 1fr);
    padding: 14px;
    gap: 8px;
  }
  .position-primary {
    grid-column: 3;
  }
  .position-value {
    grid-column: 3;
    justify-content: space-between;
    text-align: left;
    gap: 12px;
    padding-top: 5px;
  }
  .position-title {
    font-size: 12px;
    gap: 6px;
  }
  .position-meta {
    font-size: 9px;
  }
  .position-value button {
    font-size: 10px;
    padding: 6px 9px;
  }
  .status-pill {
    font-size: 8px;
  }
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .coverage-table th,
  .coverage-table td {
    padding: 12px 8px;
    font-size: 10px;
  }
  .coverage-table small {
    font-size: 9px;
  }
  .asset-table th,
  .asset-table td {
    padding: 12px 10px;
    font-size: 10px;
  }
  .asset-table small {
    font-size: 9px;
  }
  .meta-line {
    font-size: 9px;
    align-items: start;
  }
  .example-banner {
    font-size: 10px;
    gap: 10px;
  }
  .example-banner > span:last-child {
    display: none;
  }
  .welcome {
    padding: 34px 18px;
  }
  .welcome h2 {
    font-size: 24px;
  }
  .welcome-steps {
    gap: 12px;
  }
  .welcome-steps span {
    font-size: 9px;
  }
  .welcome p {
    font-size: 12px;
  }
  .result-heading h2 {
    font-size: 18px;
  }
  .result-heading p {
    font-size: 10px;
  }
  .dialog-actions {
    flex-direction: column;
  }
  .detail-grid > div {
    font-size: 10px;
    gap: 10px;
  }
  .detail-top h2 {
    font-size: 22px;
  }
  .detail-amount {
    font-size: 28px;
  }
  #detail-dialog,
  #plan-dialog {
    padding: 24px 20px;
  }
  .plan-item {
    gap: 9px;
  }
  .plan-item b {
    font-size: 11px;
  }
  .app-footer {
    align-items: start;
    gap: 20px;
  }
  .app-footer .text-button {
    font-size: 9px;
  }
  .job {
    font-size: 9px;
  }
}

.position-value {
  min-width: 0;
  max-width: 340px;
}
.position-value > div {
  min-width: 0;
}
.position-value strong {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}
.position-value button {
  flex-shrink: 0;
}
.detail-amount {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .position-value {
    grid-column: 2 / -1;
    max-width: none;
  }
}

.wallet-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  margin: 0 0 24px;
  background: #fff;
  border: 1px solid #dfe5dc;
  border-radius: 10px;
}
.wallet-summary b {
  font-size: 14px;
}
.wallet-summary p {
  margin: 5px 0 0;
  font-size: 11px;
  color: #687565;
}
.wallet-summary button {
  flex-shrink: 0;
}
.more-results {
  display: block;
  margin: 20px auto;
}
@media (max-width: 600px) {
  .wallet-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .wallet-summary button {
    width: 100%;
  }
}

/* A single, shared result summary replaces disconnected status scorecards. */
.result-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  margin: 0 0 22px;
  border: 1px solid #d9e5c9;
  border-radius: 12px;
  background: #edf5e2;
}
.result-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #4e643e;
}
.result-total {
  font-size: clamp(29px, 3.5vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -1.5px;
  overflow-wrap: anywhere;
  color: #24351c;
}
.result-total-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #637556;
}
.result-breakdown {
  display: grid;
  gap: 9px;
  flex-shrink: 0;
  font-size: 13px;
  color: #546747;
}
.result-breakdown b {
  color: #283d20;
}
.result-breakdown small {
  font-size: 10px;
  margin-top: 4px;
}
.results-toolbar {
  margin-top: 20px;
}
#result-filters button {
  font-size: 11px;
  padding: 9px 12px;
}
#result-filters span {
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
}
.result-count {
  font-size: 11px;
  color: #6e7d63;
  margin: 3px 0 12px;
}
.position-subtitle {
  font-size: 11px;
  color: #637358;
  margin-top: 5px;
}
.wallet-row-marker {
  color: #9baa8f;
  font-size: 13px;
}
.position-card {
  padding: 16px 18px;
}
.position-value strong {
  font-size: 17px;
  font-weight: 600;
}
.position-value small {
  max-width: 230px;
  overflow-wrap: anywhere;
}
.scan-details > summary {
  font-size: 12px;
  font-weight: 600;
  color: #506640;
  cursor: pointer;
}
.scan-details > summary span {
  float: right;
  font-size: 10px;
  font-weight: 400;
}
.scan-details[open] > summary {
  margin-bottom: 17px;
}
.result-warnings {
  margin-top: 20px;
  font-size: 11px;
}
.result-warnings summary {
  cursor: pointer;
  font-weight: 600;
}
@media (max-width: 760px) {
  .result-overview {
    padding: 21px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .result-total {
    font-size: 35px;
  }
  .result-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 11px;
  }
  .result-breakdown small {
    width: 100%;
  }
  .result-total-note {
    font-size: 11px;
  }
  .position-card {
    padding: 13px;
  }
  .position-value strong {
    font-size: 16px;
  }
  .position-value small {
    max-width: 190px;
  }
  #result-filters button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .scan-details > summary {
    font-size: 11px;
  }
  .scan-details > summary span {
    display: none;
  }
}
.auto-networks {
  margin: 15px 0 0;
  font-size: 12px;
  color: #536f39;
}
.auto-networks::before {
  content: "⌁";
  margin-right: 7px;
}
.position-value {
  min-width: 0;
  max-width: 320px;
}
.position-value > div {
  min-width: 0;
}
.position-value strong {
  white-space: normal;
  overflow-wrap: anywhere;
}
.position-title {
  overflow-wrap: anywhere;
}

.chain-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  flex: none;
  vertical-align: middle;
  border-radius: 50%;
  margin-right: 3px;
}
.job .chain-icon {
  width: 16px;
  height: 16px;
}
.job-error {
  display: block;
  max-width: 440px;
  line-height: 1.5;
  color: #9b6333;
  margin: 5px 0;
}
.protocol-scan-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  padding: 12px 16px;
  background: #f1f5e9;
  border: 1px solid #d9e5c6;
  border-radius: 8px;
  font-size: 12px;
  color: #526b35;
}
.protocol-scan-status button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.scan-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8cba2c;
  margin-right: 8px;
}
@media (max-width: 600px) {
  .protocol-scan-status {
    flex-direction: column;
    align-items: flex-start;
  }
}

.network-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  color: #58634e;
}
.network-list > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.earlier-findings {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #e2d8bd;
  border-radius: 8px;
  background: #fffdf5;
  font-size: 12px;
  color: #6b6149;
}
.earlier-findings summary {
  cursor: pointer;
  font-weight: 600;
}
.earlier-findings p {
  max-width: 760px;
  line-height: 1.6;
}
.earlier-list article {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #eee7d7;
}
.earlier-list article > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.earlier-list article > div:last-child {
  text-align: right;
}
.earlier-list small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}
@media (max-width: 600px) {
  .earlier-list article {
    flex-direction: column;
    gap: 5px;
  }
  .earlier-list article > div:last-child {
    text-align: left;
  }
}

.scan-issue-summary {
  margin: 12px 0;
  padding: 14px 18px;
  border: 1px solid #eadcc9;
  border-radius: 12px;
  background: #fffaf2;
  color: #715432;
  font-size: 13px;
  line-height: 1.5;
}
.scan-issue-summary p {
  margin: 6px 0;
}
.scan-issue-summary small {
  color: #776b5b;
}
.position-location {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 7px 0 3px;
  color: #34473e;
}
.position-location > span {
  color: #7a867f;
}
.has-sweep .shell {
  padding-bottom: 115px;
}
.sweep-bar {
  position: fixed;
  bottom: 20px;
  left: calc(230px + 3vw);
  right: 3vw;
  z-index: 20;
  background: #17251e;
  color: #fff;
  border: 1px solid #415044;
  border-radius: 18px;
  box-shadow: 0 12px 42px #14231f33;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sweep-bar[hidden] {
  display: none;
}
#sweep-summary {
  flex: 1;
  display: grid;
  gap: 5px;
}
#sweep-summary span,
.sweep-bar > small {
  font-size: 11px;
  color: #bdc9bf;
}
.sweep-bar .outline {
  color: #e1e7df;
  border-color: #657065;
  background: transparent;
}
.sweep-bar .lime {
  font-size: 19px;
  min-width: 120px;
}
.sweep-kicker {
  color: #537159;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin: 0 0 12px;
}
.sweep-steps {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 8px;
  margin: 22px 0;
}
.sweep-steps li {
  flex: 1;
  padding: 9px;
  border-bottom: 2px solid #e1e7e0;
  font-size: 12px;
  color: #748075;
}
.sweep-steps .active {
  color: #172b1d;
  border-color: #91bf32;
  font-weight: 700;
}
#destination-form label {
  display: block;
  font-weight: 700;
  margin: 20px 0 10px;
}
#sweep-destination {
  width: 100%;
  padding: 16px;
  border: 1px solid #bcc9bc;
  border-radius: 10px;
  font: 13px monospace;
  box-sizing: border-box;
}
#sweep-destination[aria-invalid="true"] {
  border-color: #b84330;
}
#destination-help,
.destination-networks p {
  font-size: 12px;
  line-height: 1.6;
  color: #677469;
}
#destination-error {
  color: #a23927;
  font-size: 12px;
}
.destination-networks,
.sweep-destination-card {
  padding: 18px;
  background: #f2f5ee;
  border: 1px solid #e1e7dc;
  border-radius: 12px;
  margin: 18px 0;
}
.destination-networks > div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.destination-networks span {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
}
.sweep-destination-card {
  display: grid;
  gap: 8px;
  overflow-wrap: anywhere;
}
.sweep-destination-card span,
.sweep-destination-card small {
  font-size: 12px;
  color: #627164;
}
.sweep-destination-card b {
  font: 13px monospace;
}
.sweep-route-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.receive-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 12px;
}
#plan-dialog {
  width: 760px;
}
.receive-token-summary {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #dbe6d5;
  border-radius: 13px;
  background: #f3f8ee;
}
.receive-token-summary h3 {
  font-size: 15px;
  margin: 0 0 10px;
}
.receive-token-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #e0e9db;
}
.receive-token-summary span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.receive-token-summary b {
  font-size: 15px;
  text-align: right;
}
.receive-token-summary small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  color: #5c6d56;
  margin-top: 10px;
}
.receive-token-summary p {
  font-size: 13px;
}
.receive-overview > div {
  padding: 18px;
  border: 1px solid #dfe6dc;
  border-radius: 15px;
  display: grid;
  gap: 9px;
}
.receive-overview span,
.receive-overview small {
  font-size: 12px;
  line-height: 1.5;
  color: #59695b;
}
.receive-overview strong {
  font-size: 25px;
  letter-spacing: -0.7px;
}
.receive-overview .receive-net {
  background: #edf5e8;
  border-color: #d3e3c9;
}
.receive-context {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.receive-context span {
  font-size: 11px;
  padding: 5px 9px;
  background: #f2f4ef;
  border-radius: 20px;
}
.route-state {
  display: inline-block;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 20px;
  margin-top: 9px;
  background: #f3eee2;
  color: #735625;
}
.route-state.already-there {
  background: #e8f3e0;
  color: #426039;
}
.receive-assets {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #f6f8f2;
}
.receive-assets strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.route-actions {
  padding-left: 18px;
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.8;
  color: #455648;
}
.route-evidence {
  margin-top: 12px;
  font-size: 11px;
  color: #647363;
}
.route-evidence summary {
  cursor: pointer;
}
.route-evidence span {
  display: block;
  margin-top: 8px;
}
.route-evidence code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 3px;
}
@media (max-width: 580px) {
  .receive-overview {
    grid-template-columns: 1fr;
  }
  .receive-overview strong {
    font-size: 23px;
  }
}
.sweep-route {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #e2e8e0;
}
.sweep-route > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.sweep-route b {
  font-size: 14px;
}
.sweep-route b span {
  font-weight: 400;
  font-size: 12px;
  color: #627164;
}
.sweep-route p {
  font-size: 12px;
  margin: 6px 0;
  font-weight: 600;
}
.sweep-route p span {
  margin: 0 7px;
  color: #7b9578;
}
.sweep-route small {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 11px;
  color: #687568;
  line-height: 1.5;
}
.sweep-route .route-reason {
  margin-top: 7px;
  color: #886131;
}
.sweep-route > button {
  border: 0;
  background: transparent;
  color: #687568;
  font-size: 11px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .sweep-bar {
    left: 15px;
    right: 15px;
    bottom: 12px;
    padding: 13px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .sweep-bar > small {
    width: 100%;
    text-align: right;
  }
  .sweep-bar .outline {
    font-size: 11px;
    padding: 10px;
  }
  .sweep-bar .lime {
    min-width: 90px;
  }
  #sweep-summary b {
    font-size: 13px;
  }
  #sweep-summary span {
    font-size: 10px;
  }
}

.route-checks {
  margin: 12px 0;
  padding: 12px 12px 12px 28px;
  background: #f4f6ee;
  border-radius: 10px;
  color: #4b574b;
  font-size: 12px;
  line-height: 1.5;
}
.route-checks li + li {
  margin-top: 6px;
}
