*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(255,255,255,.86);
  background: #070910;
}

img{ max-width: 100%; display: block; }

.doc-hero{
  padding: 102px 0 42px;
}
.doc-hero-bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 15% 25%, rgba(120,200,255,.12), transparent 58%),
    radial-gradient(900px 520px at 85% 10%, rgba(70,140,255,.10), transparent 55%),
    radial-gradient(1000px 700px at 50% 110%, rgba(40,90,220,.08), transparent 55%);
  pointer-events: none;
}

.doc-hero-inner{
  max-width: 1140px;
}

.doc-hero-title{
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.96);
}

.doc-hero-lead{
  margin: 0 0 14px;
  font-size: 16.8px;
  line-height: 1.75;
  color: rgba(255,255,255,.74);
  max-width: 820px;
}

.doc-hero-note{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.60);
  max-width: 820px;
}

.doc-divider{
  padding: 10px 0 18px;
}

.doc-divider-inner{
  max-width: 1140px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  opacity: .95;
}

.doc-divider-line{
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,.14),
    transparent
  );
}

.doc-divider-label{
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}

.wm{
  padding: 12px 0 46px;
}

.wm-inner{
  max-width: 1140px;
}

.wm-controls{
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}

.wm-controls-row{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  align-items: center;
}

.wm-search{
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

.wm-search-ic{
  width: 42px;
  height: 44px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
  flex: 0 0 auto;
}

.wm-search-ic svg{
  width: 18px;
  height: 18px;
}

.wm-search-input{
  width: 100%;
  height: 44px;
  border: 0;
  outline: none;
  background: transparent;
  color: rgba(255,255,255,.90);
  font-size: 14.5px;
  padding: 0 42px 0 0;
}

.wm-search-input::placeholder{
  color: rgba(255,255,255,.45);
}

.wm-search-clear{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 0;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.60);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.wm-search-clear svg{
  width: 16px;
  height: 16px;
}

.wm-search-clear:hover{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
}

.wm-filters{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.cs{
  position: relative;
}

.cs-btn{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 0 12px;
  cursor: pointer;
}

.cs-k{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
  font-weight: 800;
}

.cs-v{
  justify-self: end;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-caret{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.55);
  border-bottom: 2px solid rgba(255,255,255,.55);
  transform: rotate(45deg);
  margin-right: 2px;
  opacity: .8;
}

.cs[aria-open="true"] .cs-btn{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

.cs-pop{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: rgba(12,14,24,.96);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 8px;
  display: none;
  z-index: 30;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.cs[aria-open="true"] .cs-pop{
  display: grid;
  gap: 4px;
}

.cs-opt{
  width: 100%;
  text-align: left;
  border: 0;
  cursor: pointer;
  padding: 10px 10px;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,.78);
  font: inherit;
  font-weight: 650;
  font-size: 13.5px;
}

.cs-opt:hover{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}

.cs-opt[aria-selected="true"]{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
}

.wm-meta{
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.wm-badges{
  display: flex;
  gap: 10px;
  align-items: center;
}

.wm-pill{
  height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.wm-pill.is-primary{
  color: rgba(170,255,220,.92);
  border-color: rgba(90,226,168,.35);
  background: rgba(90,226,168,.08);
}

.wm-pill.is-conditional{
  color: rgba(255,220,170,.92);
  border-color: rgba(255,200,120,.35);
  background: rgba(255,200,120,.08);
}

.wm-pill.is-nottyp{
  color: rgba(255,175,175,.92);
  border-color: rgba(255,120,120,.30);
  background: rgba(255,120,120,.07);
}

.wm-actions{
  display: flex;
  align-items: center;
  gap: 16px;
}

.wm-action-link{
  text-decoration: none;
  color: rgba(255,255,255,.78);
  font-weight: 750;
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding-bottom: 2px;
}

.wm-action-link:hover{
  color: rgba(255,255,255,.95);
  border-bottom-color: rgba(255,255,255,.42);
}

.wm-pages{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wm-page-btn{
  height: 44px;
  min-width: 48px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.82);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.wm-page-btn:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

.wm-page-btn.is-active{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.95);
}

.wm-page-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
}

.wm-table-wrap{
  position: relative;
}

.wm-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}

.wm-table thead th{
  text-align: left;
  padding: 14px 14px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}

.wm-table tbody td{
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: top;
  color: rgba(255,255,255,.78);
  font-size: 14.5px;
  line-height: 1.5;
}

.wm-table tbody tr:last-child td{
  border-bottom: 0;
}

.c-wallet{ width: 240px; }
.c-type{ width: 110px; }
.c-family{ width: 90px; }
.c-scripts{ width: 170px; }
.c-inputs{ width: 160px; }
.c-typical{ width: 260px; }
.c-notes{ width: auto; }

.wm-wallet{
  display: grid;
  gap: 6px;
}

.wm-wallet-name{
  font-weight: 850;
  color: rgba(255,255,255,.92);
  letter-spacing: -0.01em;
}

.wm-wallet-sub{
  font-size: 12.5px;
  color: rgba(255,255,255,.52);
}

.wm-details-btn{
  justify-self: start;
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(255,255,255,.72);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.20);
  padding-bottom: 2px;
}

.wm-details-btn:hover{
  color: rgba(255,255,255,.95);
  border-bottom-color: rgba(255,255,255,.42);
}

.wm-tag{
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.74);
  font-weight: 850;
  font-size: 12px;
  margin: 0 6px 6px 0;
  white-space: nowrap;
}

.wm-tag.is-primary{
  color: rgba(170,255,220,.92);
  border-color: rgba(90,226,168,.30);
  background: rgba(90,226,168,.08);
}

.wm-tag.is-conditional{
  color: rgba(255,220,170,.92);
  border-color: rgba(255,200,120,.30);
  background: rgba(255,200,120,.08);
}

.wm-tag.is-nottyp{
  color: rgba(255,175,175,.92);
  border-color: rgba(255,120,120,.26);
  background: rgba(255,120,120,.07);
}

.wm-io{
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-size: 12px;
  font-weight: 850;
  margin: 0 6px 6px 0;
  white-space: nowrap;
}

.wm-io.is-primary{
  color: rgba(170,255,220,.92);
  border-color: rgba(90,226,168,.30);
  background: rgba(90,226,168,.08);
}

.wm-io.is-conditional{
  color: rgba(255,220,170,.92);
  border-color: rgba(255,200,120,.30);
  background: rgba(255,200,120,.08);
}

.wm-io.is-nottyp{
  color: rgba(255,175,175,.92);
  border-color: rgba(255,120,120,.26);
  background: rgba(255,120,120,.07);
}

.wm-typ{
  display: grid;
  gap: 8px;
}

.wm-typ-line{
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.72);
  min-height: 38px; 
}

.wm-typ-ghost{
  opacity: 0;
  pointer-events: none;
}

.wm-details td{
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.wm-details-inner{
  padding: 14px 14px 16px;
  background: rgba(255,255,255,.015);
}

.wm-details-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wm-dk{
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
  font-weight: 900;
  margin-bottom: 6px;
}

.wm-dv{
  color: rgba(255,255,255,.70);
  line-height: 1.65;
  font-size: 14px;
}

.wm-empty{
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  color: rgba(255,255,255,.70);
}

.doc-after{
  padding: 54px 0 110px;
}

.doc-after-inner{
  max-width: 1140px;
}

.doc-after-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: start;
}

.doc-after-grid-2{
  grid-template-columns: 1fr 1fr;
  gap: 54px;
}

.doc-after-title{
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.92);
}

.doc-after-p{
  margin: 0 0 14px;
  font-size: 15.8px;
  line-height: 1.75;
  color: rgba(255,255,255,.72);
}

.doc-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  font-size: 15px;
}

.doc-callout{
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.7;
}

.doc-split{
  display: grid;
  gap: 14px;
  padding-top: 2px;
}

.doc-k{
  font-weight: 850;
  color: rgba(255,255,255,.90);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.doc-v{
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  font-size: 15px;
}

.doc-section-rule{
  height: 1px;
  margin: 36px 0;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,.10),
    transparent
  );
}

.doc-links{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

.doc-link{
  color: rgba(255,255,255,.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding-bottom: 2px;
}

.doc-link:hover{
  color: rgba(255,255,255,.95);
  border-bottom-color: rgba(255,255,255,.45);
}

.doc-dot{
  opacity: .55;
}

@media (max-width: 1100px){
  .wm-controls-row{
    grid-template-columns: 1fr;
  }

  .wm-filters{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-details-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px){
  .doc-hero-title{
    font-size: 34px;
  }

  .wm-meta{
    flex-direction: column;
    align-items: flex-start;
  }

  .wm-actions{
    width: 100%;
    justify-content: space-between;
  }

  .c-wallet{ width: 220px; }
  .c-scripts{ width: 160px; }
  .c-inputs{ width: 150px; }
  .c-typical{ width: 240px; }

  .doc-after-grid,
  .doc-after-grid-2{
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta{
    text-align: left;
  }
}

@media (max-width: 560px){
  .container{
    width: min(1140px, calc(100% - 32px));
  }

  .wm-filters{
    grid-template-columns: 1fr;
  }

  .wm-table thead{ display: none; }

  .wm-table, .wm-table tbody, .wm-table tr, .wm-table td{
    display: block;
    width: 100%;
  }

  .wm-table{
    border-radius: 16px;
  }

  .wm-table tbody td{
    border-bottom: 0;
    padding: 10px 14px;
  }

  .wm-row{
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding-bottom: 6px;
  }

  .wm-details td{
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .wm-details-grid{
    grid-template-columns: 1fr;
  }
}

.c-wallet{ width: 210px; }   
.c-type{ width: 96px; }      
.c-family{ width: 78px; }    
.c-scripts{ width: 150px; }  
.c-inputs{ width: 140px; }   
.c-typical{ width: 220px; }  

.wm-table thead th{ padding: 13px 12px; }
.wm-table tbody td{ padding: 13px 12px; }

.c-notes{
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.wm-tag,
.wm-io{
  margin: 0 5px 5px 0;
}

.wm-typ-line{
  padding: 9px 10px;
  min-height: 36px;
}

.wm-wallet-name{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-hero-cta{
  margin-top: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.doc-hero-cta-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.90);
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.doc-hero-cta-link:hover{
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.96);
}

.doc-hero-cta-sub{
  color: rgba(255,255,255,.58);
  font-size: 13.5px;
  line-height: 1.6;
}

@media (max-width: 820px){
  .c-wallet{ width: 200px; }
  .c-scripts{ width: 140px; }
  .c-inputs{ width: 132px; }
  .c-typical{ width: 210px; }
}
