* {
  box-sizing: border-box;
}

/* Source-observed cryptos spot transaction-record surface. */
.crypto-transaction-record-page {
  padding: 16px 20px 20px;
  overflow: hidden;
  border-radius: 0;
}

.crypto-transaction-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.crypto-transaction-search {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
}

.crypto-transaction-search label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: #606266;
  font-size: 14px;
  white-space: nowrap;
}

.crypto-transaction-search input,
.crypto-transaction-search select {
  width: 150px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  outline: 0;
  background: #fff;
  color: #606266;
  font: inherit;
  letter-spacing: 0;
}

.crypto-transaction-search select {
  width: 130px;
}

.crypto-transaction-search input:focus,
.crypto-transaction-search select:focus {
  border-color: #409eff;
}

.crypto-transaction-search .primary,
.crypto-transaction-refresh {
  height: 32px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
}

.crypto-transaction-search .primary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
}

.crypto-transaction-search .primary span {
  font-size: 16px;
  line-height: 1;
}

.crypto-transaction-refresh {
  flex: 0 0 32px;
  width: 32px;
  padding: 0;
  border-color: #dcdfe6;
  border-radius: 50%;
  background: #fff;
  color: #909399;
  font-size: 19px;
}

.crypto-transaction-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #ebeef5;
}

.crypto-transaction-table {
  width: 100%;
  min-width: 1210px;
  table-layout: fixed;
  border-collapse: collapse;
}

.crypto-transaction-table th,
.crypto-transaction-table td {
  height: 48px;
  padding: 8px 6px;
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
  overflow: hidden;
  color: #606266;
  font-size: 13px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-transaction-table th {
  height: 42px;
  background: #050505;
  color: #fff;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
}

.crypto-transaction-table th:last-child,
.crypto-transaction-table td:last-child {
  width: 96px;
  border-right: 0;
}

.crypto-transaction-table tbody tr:nth-child(even) td {
  background: #fafafa;
}

.crypto-transaction-setting {
  padding: 0;
  border: 0;
  background: transparent;
  color: #409eff;
}

.crypto-transaction-cancel {
  height: 30px;
  padding: 0 12px;
  border: 1px solid #f56c6c;
  border-radius: 4px;
  background: #f56c6c;
  color: #fff;
}

.crypto-transaction-pagination {
  justify-content: flex-end;
  min-width: 0;
  margin-top: 14px;
  color: #606266;
}

.crypto-transaction-pagination select,
.crypto-transaction-pagination input {
  height: 30px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  background: #fff;
  color: #606266;
}

.crypto-transaction-pagination select {
  padding: 0 24px 0 8px;
}

.crypto-transaction-pagination input {
  width: 48px;
  margin-left: 5px;
  padding: 0 5px;
  text-align: center;
}

.crypto-transaction-pagination .pagination-more {
  color: #909399;
}

@media (max-width: 900px) {
  body:has(.crypto-transaction-record-page),
  body:has(.crypto-transaction-record-page) .admin-shell {
    max-width: 100vw;
    overflow-x: hidden;
  }

  body:has(.crypto-transaction-record-page) .admin-sidebar {
    left: 0;
    display: block;
    width: 230px;
  }

  body:has(.crypto-transaction-record-page) .admin-content {
    min-width: 0;
    max-width: 100vw;
    padding: 104px 0 25px 230px;
  }

  .crypto-transaction-record-page {
    padding: 14px 0 18px;
  }

  .crypto-transaction-toolbar {
    padding: 0 12px;
  }

  .crypto-transaction-search {
    min-width: 620px;
  }

  .crypto-transaction-pagination {
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    padding: 0 12px;
  }
}

/* Dedicated source-shaped 股票 / 行情管理 view. */
.stock-quotation-page {
  min-width: 0;
  max-width: 100%;
  padding: 30px;
  overflow: hidden;
  color: #303133;
  font: 14px/1.5 "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

.stock-quotation-region-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.stock-quotation-regions {
  display: flex;
  gap: 42px;
  width: 100%;
  max-width: 100%;
  height: 40px;
  margin-bottom: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid #e4e7ed;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.stock-quotation-regions button {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #303133;
  cursor: pointer;
  font: inherit;
}

.stock-quotation-regions button.active {
  border-bottom-color: #356ced;
  color: #356ced;
  font-weight: 500;
}

.stock-quotation-region-scroll {
  display: none;
}

.stock-quotation-search {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, max-content);
  gap: 30px;
  align-items: center;
  min-height: 44px;
  margin-bottom: 14px;
  padding: 7px 18px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.stock-quotation-search.is-hidden {
  display: none;
}

.stock-quotation-search label,
.stock-quotation-search > div {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.stock-quotation-search input,
.stock-quotation-pagination select,
.stock-quotation-pagination input,
.stock-quotation-dialog input,
.stock-quotation-dialog select,
.stock-quotation-rollback-dialog input {
  min-width: 0;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font: inherit;
}

.stock-quotation-search input {
  width: 191px;
  font-size: 12px;
}

.stock-quotation-search button {
  height: 28px;
  padding: 0 15px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  background: #fff;
  color: #606266;
  cursor: pointer;
  font: inherit;
}

.stock-quotation-search button.primary {
  border-color: #1c4efa;
  background: #1c4efa;
  color: #fff;
}

.stock-quotation-tools {
  display: flex;
  gap: 12px;
  min-height: 36px;
  margin: 0 0 12px;
}

.stock-quotation-tools button,
.stock-quotation-record-refresh {
  display: inline-grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #dfe4ed;
  border-radius: 50%;
  background: #fff;
  color: #7d8796;
  cursor: pointer;
  font-size: 17px;
}

.stock-quotation-tools button:hover,
.stock-quotation-tools button:focus-visible,
.stock-quotation-record-refresh:hover,
.stock-quotation-record-refresh:focus-visible {
  border-color: #356ced;
  color: #356ced;
}

.stock-quotation-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.stock-quotation-table-scroll table {
  width: 100%;
  min-width: 820px;
  table-layout: fixed;
  font-size: 12px;
}

.stock-quotation-table-scroll th,
.stock-quotation-table-scroll td {
  height: 49px;
  padding: 9px 14px;
  border: 1px solid #ebeef5;
  white-space: nowrap;
}

.stock-quotation-table-scroll th {
  height: 40px;
  background: #050505;
  color: #fff;
  font-weight: 700;
}

.stock-quotation-table-scroll tbody tr:nth-child(even) td {
  background: #fafafa;
}

.stock-quotation-table-scroll th:last-child,
.stock-quotation-table-scroll td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  width: 110px;
  background: #fff;
  box-shadow: -6px 0 10px -10px rgba(0, 0, 0, 0.45);
}

.stock-quotation-table-scroll tbody tr:nth-child(even) td:last-child {
  background: #fafafa;
}

.stock-quotation-table-scroll th:last-child {
  z-index: 3;
  background: #050505;
}

.crypto-quotation-page .stock-quotation-table-scroll th:last-child,
.crypto-quotation-page .stock-quotation-table-scroll td:last-child {
  width: 190px;
}

.stock-quotation-row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.stock-quotation-table-scroll td button,
.stock-quotation-record-scroll td button {
  min-width: 54px;
  height: 30px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #1c4efa;
  border-radius: 3px;
  background: #1c4efa;
  color: #fff;
  cursor: pointer;
}

.stock-quotation-table-scroll td button.danger {
  border-color: #f56c6c;
  background: #f56c6c;
}

.stock-quotation-pagination {
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: max-content;
  margin-top: 18px;
  overflow-x: auto;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.stock-quotation-pagination label,
.stock-quotation-pagination form {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.stock-quotation-pagination select {
  width: 92px;
}

.stock-quotation-pagination input {
  width: 54px;
  text-align: center;
}

.stock-quotation-pagination button {
  height: 28px;
  min-width: 30px;
}

.stock-quotation-dialog-backdrop {
  z-index: 1400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12px;
  overflow-y: auto;
}

.stock-quotation-dialog {
  width: min(700px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  overscroll-behavior: contain;
}

.stock-quotation-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 10px;
}

.stock-quotation-dialog > header h2 {
  margin: 0;
  color: #303133;
  font-size: 18px;
  font-weight: 400;
}

.stock-quotation-dialog > header button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #909399;
  cursor: pointer;
  font-size: 22px;
}

.stock-quotation-dialog-body {
  padding: 30px 20px 4px;
}

.stock-quotation-dialog-body > label,
.stock-quotation-point-fields > label {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: #606266;
}

.stock-quotation-dialog label[hidden],
.stock-quotation-point-fields[hidden] {
  display: none !important;
}

.stock-quotation-dialog input,
.stock-quotation-dialog select {
  width: 100%;
  height: 40px;
}

.stock-quotation-dialog label small {
  color: #606266;
  font-size: 14px;
}

.stock-quotation-dialog label small b {
  font-weight: 400;
}

.stock-quotation-point-fields {
  display: grid;
}

.stock-quotation-stepper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: -8px 0 20px;
}

.stock-quotation-stepper button {
  min-width: 92px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  cursor: pointer;
}

.stock-quotation-stepper button:hover,
.stock-quotation-stepper button:focus-visible {
  border-color: #409eff;
  color: #409eff;
}

.stock-quotation-alert,
.stock-quotation-success {
  margin: 0 0 14px;
  color: #67c23a;
}

.stock-quotation-alert {
  padding: 8px 12px;
  border: 1px solid #f5dab1;
  border-radius: 3px;
  background: #fdf6ec;
  color: #e6a23c;
}

.stock-quotation-preview {
  margin: 0 0 26px;
}

.stock-quotation-preview h3 {
  margin: 0 0 6px;
  color: #606266;
  font-size: 14px;
  font-weight: 400;
}

.stock-quotation-preview-scroll,
.stock-quotation-record-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.stock-quotation-preview table {
  min-width: 420px;
  table-layout: fixed;
}

.stock-quotation-preview th,
.stock-quotation-record-scroll th {
  background: #26343b;
  color: #fff;
}

.stock-quotation-preview th,
.stock-quotation-preview td {
  height: 48px;
  padding: 10px 14px;
}

.stock-quotation-preview td.adjusted {
  color: #f56c6c;
}

.stock-quotation-record-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid #e4e7ed;
}

.stock-quotation-record-heading nav {
  display: flex;
  gap: 22px;
}

.stock-quotation-record-heading nav button {
  height: 40px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #606266;
  cursor: pointer;
}

.stock-quotation-record-heading nav button.active {
  border-bottom-color: #356ced;
  color: #356ced;
}

.stock-quotation-record-refresh {
  margin-bottom: 6px;
}

.stock-quotation-record-scroll table {
  width: max-content;
  min-width: 1680px;
  font-size: 12px;
}

.stock-quotation-record-scroll th,
.stock-quotation-record-scroll td {
  min-width: 112px;
  height: 52px;
  padding: 9px 12px;
  white-space: nowrap;
}

.stock-quotation-record-scroll th:nth-child(2),
.stock-quotation-record-scroll th:nth-child(3),
.stock-quotation-record-scroll td:nth-child(2),
.stock-quotation-record-scroll td:nth-child(3) {
  min-width: 154px;
}

.stock-quotation-record-pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
}

.stock-quotation-record-pagination button {
  min-width: 30px;
  height: 28px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  background: #fff;
}

.stock-quotation-record-total {
  margin: 10px 0 0;
  text-align: right;
  color: #909399;
}

.stock-quotation-dialog form > footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px 20px 20px;
}

.stock-quotation-dialog form > footer button,
.stock-quotation-rollback-dialog footer button,
.stock-quotation-lock-dialog footer button {
  min-width: 70px;
  height: 34px;
  padding: 0 15px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  cursor: pointer;
}

.stock-quotation-dialog form > footer button.secondary,
.stock-quotation-rollback-dialog footer button.secondary,
.stock-quotation-lock-dialog footer button.secondary {
  border-color: #dcdfe6;
  background: #fff;
  color: #606266;
}

.stock-quotation-dialog button:disabled,
.stock-quotation-rollback-dialog button:disabled,
.stock-quotation-lock-dialog button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.stock-quotation-rollback-layer {
  position: fixed;
  inset: 0;
  z-index: 1410;
  display: grid;
  padding: 16px;
  place-items: center;
  background: rgba(0, 0, 0, 0.36);
}

.stock-quotation-rollback-dialog {
  width: min(430px, calc(100vw - 32px));
  padding: 22px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.stock-quotation-rollback-dialog h3 {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 400;
}

.stock-quotation-rollback-dialog label {
  display: grid;
  gap: 10px;
}

.stock-quotation-rollback-dialog input {
  width: 100%;
  height: 38px;
}

.stock-quotation-rollback-dialog footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}

.stock-quotation-lock-backdrop {
  z-index: 1420;
  display: grid;
  padding: 16px;
  place-items: center;
}

.stock-quotation-lock-dialog {
  width: min(420px, calc(100vw - 32px));
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
}

.stock-quotation-lock-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 10px;
}

.stock-quotation-lock-dialog > header h2 {
  margin: 0;
  color: #303133;
  font-size: 18px;
  font-weight: 400;
}

.stock-quotation-lock-dialog > header button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #909399;
  cursor: pointer;
  font-size: 22px;
}

.stock-quotation-lock-content {
  padding: 10px 20px 8px;
  color: #606266;
  line-height: 1.65;
}

.stock-quotation-lock-content p {
  margin: 0 0 10px;
}

.stock-quotation-lock-content .warning {
  color: #f56c6c;
}

.stock-quotation-lock-dialog > footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px 20px 20px;
}

@media (max-width: 900px) {
  .stock-quotation-page {
    width: 100%;
    max-width: 100%;
    padding: 22px 20px;
  }

  .stock-quotation-region-nav {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
  }

  .stock-quotation-region-scroll {
    display: inline-grid;
    width: 24px;
    height: 40px;
    padding: 0 !important;
    place-items: center;
    border: 0;
    background: transparent;
    color: #909399;
    cursor: pointer;
    font-size: 20px;
  }

  .stock-quotation-regions {
    gap: 40px;
    scrollbar-width: none;
  }

  .stock-quotation-regions::-webkit-scrollbar {
    display: none;
  }

  .stock-quotation-search {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .stock-quotation-pagination {
    justify-content: flex-start;
  }

  .crypto-quotation-page .stock-quotation-table-scroll th:last-child,
  .crypto-quotation-page .stock-quotation-table-scroll td:last-child {
    position: static;
    width: 190px;
    box-shadow: none;
  }
}

@media (max-width: 600px) {
  body:has(.stock-quotation-page),
  body:has(.stock-quotation-page) .admin-shell {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .stock-quotation-page {
    padding: 12px;
  }

  .stock-quotation-search {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    padding: 10px 0;
  }

  .stock-quotation-search label {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
  }

  .stock-quotation-search input {
    width: 100%;
  }

  .stock-quotation-search > div {
    justify-content: flex-end;
  }

  .stock-quotation-table-scroll table {
    min-width: 760px;
  }

  .stock-quotation-dialog-backdrop {
    align-items: flex-start;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .stock-quotation-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    margin: 0 auto;
  }

  .stock-quotation-dialog-body {
    padding: 22px 8px 4px;
  }

  .stock-quotation-dialog > header,
  .stock-quotation-dialog form > footer {
    padding-right: 12px;
    padding-left: 12px;
  }

  .stock-quotation-preview-scroll,
  .stock-quotation-record-scroll {
    overflow-x: auto;
  }

  .stock-quotation-record-heading {
    align-items: center;
  }

  .stock-quotation-record-scroll table {
    min-width: 1580px;
  }

  .stock-quotation-lock-backdrop {
    align-items: center;
    padding: 12px;
  }

  .stock-quotation-lock-dialog {
    width: calc(100vw - 24px);
  }

  .stock-quotation-stepper button {
    flex: 1 1 120px;
  }
}

/* Source-shaped stock perpetual configuration surface. */
body:has(.stock-perpetual-page),
body:has(.stock-perpetual-page) .admin-shell,
body:has(.stock-perpetual-page) .admin-content {
  max-width: 100vw;
  overflow-x: hidden;
}

.admin-panel.stock-perpetual-page {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  color: #606266;
  font-size: 14px;
}

.stock-perpetual-regions {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  border-bottom: 1px solid #e4e7ed;
  scrollbar-width: thin;
}

.stock-perpetual-regions button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #606266;
  cursor: pointer;
  font: inherit;
}

.stock-perpetual-regions button.active {
  border-bottom-color: #409eff;
  color: #409eff;
}

.stock-perpetual-search {
  display: grid;
  grid-template-columns: minmax(280px, 520px) auto;
  gap: 18px 24px;
  align-items: center;
  margin-bottom: 18px;
}

.stock-perpetual-search.is-hidden {
  display: none;
}

.stock-perpetual-search label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.stock-perpetual-search input,
.stock-perpetual-pagination input,
.stock-perpetual-pagination select,
.stock-perpetual-leverage-pagination input,
.stock-perpetual-leverage-pagination select,
.stock-perpetual-dialog input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font: inherit;
}

.stock-perpetual-search-actions,
.stock-perpetual-tools,
.stock-perpetual-tools > div,
.stock-perpetual-actions,
.stock-perpetual-leverage-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.stock-perpetual-search button,
.stock-perpetual-tools button,
.stock-perpetual-actions button,
.stock-perpetual-leverage-tools button,
.stock-perpetual-dialog footer button {
  min-width: 70px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.stock-perpetual-search button.secondary,
.stock-perpetual-tools button,
.stock-perpetual-actions button,
.stock-perpetual-dialog footer button.secondary {
  border-color: #dcdfe6;
  background: #fff;
  color: #409eff;
}

.stock-perpetual-dialog footer button.danger,
.stock-perpetual-leverage-table-scroll button.danger {
  border-color: #f56c6c;
  color: #f56c6c;
}

.stock-perpetual-search button:disabled,
.stock-perpetual-tools button:disabled,
.stock-perpetual-actions button:disabled,
.stock-perpetual-dialog button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.stock-perpetual-tools {
  justify-content: space-between;
  margin-bottom: 14px;
}

.stock-perpetual-tools > div button,
.stock-perpetual-leverage-tools button:last-child {
  min-width: 36px;
  padding: 0;
}

.stock-perpetual-loading {
  margin: 10px 0;
  color: #909399;
}

.stock-perpetual-table-scroll,
.stock-perpetual-leverage-table-scroll {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  border-top: 1px solid #ebeef5;
}

.stock-perpetual-page [data-stock-perpetual-table] {
  width: 100%;
  min-width: 1180px;
  table-layout: fixed;
}

.stock-perpetual-page [data-stock-perpetual-table] th,
.stock-perpetual-page [data-stock-perpetual-table] td,
.stock-perpetual-leverage-table-scroll th,
.stock-perpetual-leverage-table-scroll td {
  min-width: 0;
  padding: 15px 16px;
  border-bottom: 1px solid #ebeef5;
  background: #fff;
  color: #606266;
  white-space: nowrap;
}

.stock-perpetual-page [data-stock-perpetual-table] th,
.stock-perpetual-leverage-table-scroll th {
  background: #050505;
  color: #fff;
  font-weight: 500;
  white-space: normal;
}

.stock-perpetual-page [data-stock-perpetual-table] th:nth-child(1),
.stock-perpetual-page [data-stock-perpetual-table] th:nth-child(2),
.stock-perpetual-page [data-stock-perpetual-table] th:nth-child(3) {
  width: 120px;
}

.stock-perpetual-page [data-stock-perpetual-table] th:nth-child(4),
.stock-perpetual-page [data-stock-perpetual-table] th:nth-child(5),
.stock-perpetual-page [data-stock-perpetual-table] th:nth-child(7),
.stock-perpetual-page [data-stock-perpetual-table] th:nth-child(8) {
  width: 110px;
}

.stock-perpetual-page [data-stock-perpetual-table] th:nth-child(6) {
  width: 150px;
}

.stock-perpetual-page [data-stock-perpetual-table] th:last-child,
.stock-perpetual-page [data-stock-perpetual-table] td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  width: 180px;
  min-width: 180px;
  padding-right: 8px;
  padding-left: 8px;
  box-shadow: -6px 0 8px rgba(15, 23, 42, 0.06);
}

.stock-perpetual-page [data-stock-perpetual-table] th:last-child {
  z-index: 3;
  background: #050505;
}

.stock-perpetual-actions {
  justify-content: center;
}

.stock-perpetual-actions button,
.stock-perpetual-leverage-table-scroll button {
  min-width: 0;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #409eff;
  cursor: pointer;
  font-size: 12px;
}

.pagination.stock-perpetual-pagination,
.pagination.stock-perpetual-leverage-pagination {
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  white-space: nowrap;
}

.stock-perpetual-pagination label,
.stock-perpetual-pagination form,
.stock-perpetual-leverage-pagination label,
.stock-perpetual-leverage-pagination form {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: center;
}

.stock-perpetual-pagination select,
.stock-perpetual-leverage-pagination select {
  width: 96px;
}

.stock-perpetual-pagination input,
.stock-perpetual-leverage-pagination input {
  width: 56px;
}

.modal-backdrop.stock-perpetual-dialog-backdrop {
  z-index: 1400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px;
  overflow-x: hidden;
  overflow-y: auto;
}

.stock-perpetual-dialog {
  position: relative;
  box-sizing: border-box;
  width: min(820px, calc(100vw - 24px));
  max-width: 100%;
  max-height: calc(100dvh - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px;
}

.stock-perpetual-leverage-dialog {
  width: min(720px, calc(100vw - 24px));
}

.stock-perpetual-dialog > header {
  position: sticky;
  top: -22px;
  z-index: 4;
  margin: -22px -22px 20px;
  padding: 18px 22px;
  border-bottom: 1px solid #ebeef5;
  background: #fff;
}

.stock-perpetual-dialog h3 {
  margin: 0;
  color: #303133;
  font-size: 18px;
  font-weight: 400;
}

.stock-perpetual-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.stock-perpetual-edit-grid label,
.stock-perpetual-leverage-prompt label {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  margin: 0;
}

.stock-perpetual-edit-grid label > span:first-child,
.stock-perpetual-leverage-prompt label > span:first-child {
  text-align: right;
}

.stock-perpetual-edit-grid label b {
  margin-left: 4px;
  color: #f56c6c;
  font-weight: 400;
}

.stock-perpetual-unit-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.stock-perpetual-unit-input input {
  border-radius: 4px 0 0 4px;
}

.stock-perpetual-unit-input > b {
  display: grid;
  min-width: 38px;
  min-height: 36px;
  place-items: center;
  border: 1px solid #dcdfe6;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #f5f7fa;
  color: #909399;
}

.stock-perpetual-dialog input:disabled {
  background: #f5f7fa;
  color: #a8abb2;
}

.stock-perpetual-formula,
.stock-perpetual-hint {
  grid-column: 1 / -1;
  margin: 0;
  color: #909399;
  line-height: 1.6;
}

.stock-perpetual-formula {
  color: #606266;
}

.stock-perpetual-dialog > form > .form-error {
  margin: 16px 0 0;
}

.stock-perpetual-dialog footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}

.stock-perpetual-leverage-tools {
  justify-content: space-between;
  margin-bottom: 14px;
}

.stock-perpetual-leverage-table-scroll table {
  width: 100%;
  min-width: 420px;
  table-layout: fixed;
}

.stock-perpetual-leverage-table-scroll th:last-child,
.stock-perpetual-leverage-table-scroll td:last-child {
  width: 180px;
  text-align: center;
}

.stock-perpetual-leverage-table-scroll td:last-child button + button {
  margin-left: 8px;
}

.stock-perpetual-nested-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  box-sizing: border-box;
  padding: 12px;
  place-items: center;
  overflow: auto;
  background: rgba(0, 0, 0, 0.35);
}

.stock-perpetual-leverage-prompt,
.stock-perpetual-leverage-confirm {
  box-sizing: border-box;
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 22px;
}

.stock-perpetual-leverage-confirm > form > p {
  margin: 18px 0 28px;
  color: #606266;
}

@media (max-width: 900px) {
  .stock-perpetual-regions {
    gap: 22px;
  }

  .stock-perpetual-search {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .stock-perpetual-search-actions {
    justify-content: flex-end;
  }

  .pagination.stock-perpetual-pagination,
  .pagination.stock-perpetual-leverage-pagination {
    justify-content: flex-start;
  }

  .stock-perpetual-edit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .admin-panel.stock-perpetual-page {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    margin-right: 8px;
    margin-left: 8px;
    padding: 12px;
  }

  .stock-perpetual-regions {
    margin-bottom: 16px;
    scrollbar-width: none;
  }

  .stock-perpetual-regions::-webkit-scrollbar {
    display: none;
  }

  .stock-perpetual-search label,
  .stock-perpetual-edit-grid label,
  .stock-perpetual-leverage-prompt label {
    grid-template-columns: minmax(0, 1fr);
  }

  .stock-perpetual-search label > span,
  .stock-perpetual-edit-grid label > span:first-child,
  .stock-perpetual-leverage-prompt label > span:first-child {
    text-align: left;
  }

  .stock-perpetual-search-actions {
    justify-content: flex-start;
  }

  .stock-perpetual-dialog,
  .stock-perpetual-leverage-prompt,
  .stock-perpetual-leverage-confirm {
    padding: 16px;
  }

  .stock-perpetual-dialog > header {
    top: -16px;
    margin: -16px -16px 16px;
    padding: 14px 16px;
  }

  .stock-perpetual-dialog footer {
    flex-wrap: wrap;
  }

  .stock-perpetual-table-scroll,
  .stock-perpetual-leverage-table-scroll,
  .stock-perpetual-regions,
  .pagination.stock-perpetual-pagination,
  .pagination.stock-perpetual-leverage-pagination {
    max-width: 100%;
    overflow-x: auto;
  }
}

body {
  margin: 0;
  color: #0c0c0f;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  background: #fff;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.brand,
.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 26px;
  height: 18px;
  display: inline-block;
  border-radius: 0 0 26px 26px;
  border-bottom: 8px solid #1d63ff;
  transform: rotate(4deg);
}

.public-nav {
  height: 68px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  max-width: 100%;
  box-sizing: border-box;
}

.public-nav nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.public-nav button {
  border: 0;
  background: transparent;
  color: #161616;
  padding: 8px;
}

.public-nav [data-nav-active="true"] {
  color: #161616;
  background: transparent;
  border-radius: 0;
  font-weight: 400;
}

.public-nav-menu {
  position: relative;
}

.nav-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: min(240px, calc(100vw - 32px));
  transform: translate(-50%, -6px);
  padding: 10px;
  border: 1px solid #eceff5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 0s;
}

.nav-menu.open .nav-dropdown {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-menu.open > .nav-trigger::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-trigger:focus-visible,
.nav-dropdown-item:focus-visible {
  outline: 2px solid #1d78ff;
  outline-offset: 2px;
}

.nav-dropdown-item {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  text-align: left;
  border-radius: 7px;
}

.nav-dropdown-item.has-source-icon {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}

.nav-dropdown-item.has-source-icon span {
  grid-column: 2;
}

.nav-dropdown-item.no-description {
  min-height: 44px;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus {
  background: #f4f7ff;
}

.nav-dropdown-item strong {
  font-size: 14px;
  font-weight: 700;
  color: #101828;
}

.nav-dropdown-item span {
  font-size: 12px;
  line-height: 1.35;
  color: #667085;
}

.nav-dropdown-item span em {
  display: block;
  font-style: normal;
}

.nav-dropdown-icon {
  position: relative;
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #050505;
}

.nav-dropdown-icon.us-stock::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0 3px, #fff 3px 4px, transparent 4px 7px, #fff 7px 8px, transparent 8px 11px, #fff 11px 12px, transparent 12px),
    linear-gradient(135deg, transparent 0 48%, #fff 49% 55%, transparent 56%),
    #050505;
}

.nav-dropdown-icon.forex::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #050505;
  border-radius: 999px;
}

.nav-dropdown-icon.forex::after {
  content: "$";
  position: absolute;
  color: #050505;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.nav-dropdown-icon.etf::before {
  content: "ETF";
  color: #050505;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.nav-dropdown-icon.cryptos::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #050505;
}

.nav-dropdown-icon.cryptos::after {
  content: "B";
  position: absolute;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.nav-dropdown-icon.financial-services::before {
  content: "";
  width: 19px;
  height: 16px;
  border: 2px solid #050505;
  border-top: 0;
  border-radius: 3px;
  transform: skewX(-12deg);
}

.nav-dropdown-icon.financial-services::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #050505;
  border-left: 0;
  border-bottom: 0;
  transform: translate(-2px, -1px) rotate(45deg);
}

.nav-dropdown-icon.block-trade::before {
  content: "Z";
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 3px;
  background: #050505;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.nav-dropdown-icon.intraday-trading::before {
  content: "";
  width: 18px;
  height: 14px;
  clip-path: polygon(0 70%, 24% 50%, 40% 64%, 66% 22%, 100% 36%, 100% 100%, 0 100%);
  background: #050505;
}

.nav-dropdown-icon.intraday-trading::after {
  content: "";
  position: absolute;
  width: 18px;
  border-top: 2px solid #050505;
  transform: translateY(6px);
}

.nav-dropdown-icon.etf-placement::before {
  content: "SALE";
  color: #050505;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.nav-dropdown-icon.ai-smart-trading::before {
  content: "";
  width: 18px;
  height: 14px;
  border-radius: 2px;
  background:
    radial-gradient(circle at 26% 50%, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle at 74% 50%, #fff 0 2px, transparent 2.5px),
    linear-gradient(#fff 0 0) 50% 74% / 8px 2px no-repeat,
    #050505;
}

.nav-dropdown-icon.ai-smart-trading::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 8px;
  height: 5px;
  border-top: 2px solid #050505;
  border-left: 2px solid #050505;
  transform: rotate(45deg);
}

.nav-dropdown-icon.ai-financial-management::before {
  content: "";
  width: 17px;
  height: 13px;
  border: 2px solid #050505;
  border-radius: 2px;
}

.nav-dropdown-icon.ai-financial-management::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 7px;
  height: 5px;
  border-right: 2px solid #050505;
  border-bottom: 2px solid #050505;
}

.nav-dropdown-icon.fund-management::before {
  content: "";
  width: 17px;
  height: 17px;
  clip-path: polygon(50% 0, 62% 24%, 88% 18%, 82% 44%, 100% 50%, 82% 58%, 88% 84%, 62% 78%, 50% 100%, 38% 78%, 12% 84%, 18% 58%, 0 50%, 18% 44%, 12% 18%, 38% 24%);
  background: #050505;
}

.nav-dropdown-icon.smart-pool::before {
  content: "";
  width: 18px;
  height: 14px;
  border-left: 2px solid #050505;
  border-bottom: 2px solid #050505;
  transform: skewX(-16deg);
}

.nav-dropdown-icon.smart-pool::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 8px;
  border-top: 2px solid #050505;
  border-right: 2px solid #050505;
  transform: translate(2px, -2px) rotate(20deg);
}

.nav-dropdown-icon.fund-records::before {
  content: "";
  width: 17px;
  height: 15px;
  border-radius: 7px 7px 6px 6px;
  background: #050505;
  clip-path: polygon(23% 20%, 77% 20%, 90% 40%, 86% 100%, 14% 100%, 10% 40%);
}

.nav-dropdown-icon.fund-records::after {
  content: "$";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.nav-dropdown-icon.account-center::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #050505;
}

.nav-dropdown-icon.account-center::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 12px;
  border-radius: 999px 999px 5px 5px;
  background:
    radial-gradient(circle at 50% 30%, #fff 0 3px, transparent 3.5px),
    radial-gradient(ellipse at 50% 92%, #fff 0 5px, transparent 5.5px);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.nav-actions .outline {
  border: 1px solid #222;
  border-radius: 8px;
}

.source-nav-avatar,
.source-nav-bell,
.source-nav-globe,
.source-nav-theme {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
}

.source-mobile-top-actions {
  display: none;
}

.source-nav-avatar {
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 35% 25%, #64b5ff 0 20%, #7c3aed 42%, #161a2b 100%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.source-nav-avatar span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.26);
}

.source-user-menu .source-nav-avatar {
  margin: 0;
}

.source-user-menu .source-user-dropdown {
  left: auto;
  right: 0;
  width: min(230px, calc(100vw - 32px));
  transform: translateY(-6px);
}

.source-user-menu.open .source-user-dropdown {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown,
  .nav-trigger::after {
    transition: none;
  }
}

.source-user-summary {
  display: grid;
  gap: 3px;
  padding: 8px 12px 10px;
  border-bottom: 1px solid #eef1f6;
}

.source-user-summary strong {
  overflow: hidden;
  color: #101828;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-user-summary span {
  color: #667085;
  font-size: 12px;
  line-height: 1.25;
}

.source-user-menu .nav-dropdown-item {
  min-height: 42px;
  align-content: center;
}

.source-user-menu .source-user-quick-item {
  min-height: 36px;
  background: #050505;
}

.source-user-menu .source-user-quick-item strong {
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.source-user-menu .source-user-quick-item:hover,
.source-user-menu .source-user-quick-item:focus {
  background: #111827;
}

.source-nav-bell::before {
  content: "";
  width: 18px;
  height: 20px;
  border-radius: 10px 10px 6px 6px;
  background: #050505;
  box-shadow: inset 0 7px 0 rgba(255, 255, 255, 0.08);
}

.source-nav-bell::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: #050505;
}

.source-nav-bell b {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff5c73;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
}

.source-nav-globe::before {
  content: "";
  width: 23px;
  height: 23px;
  border: 2px solid #111;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 44%, #111 45% 55%, transparent 56%),
    linear-gradient(0deg, transparent 44%, #111 45% 55%, transparent 56%);
}

.source-nav-globe::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 23px;
  border-left: 1.5px solid #111;
  border-right: 1.5px solid #111;
  border-radius: 50%;
}

.source-nav-theme::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #050505;
  box-shadow: inset -7px 0 0 #fff, 0 0 0 1px #111;
}

.mobile-tabbar {
  display: none;
}

.icon-button {
  font-size: 26px;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 520px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #fff4fb, transparent 35%), linear-gradient(115deg, #fff3fb, #e8fff7 75%);
}

.hero-copy {
  padding: 80px 0 70px 70px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 30px;
  font-size: 72px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-metrics {
  display: flex;
  gap: 60px;
  margin-bottom: 40px;
}

.hero-metrics span {
  display: grid;
  gap: 8px;
  color: #7f8d8e;
  font-size: 24px;
}

.hero-metrics strong {
  font-size: 42px;
  background: linear-gradient(90deg, #111, #12c9c0, #8957ff);
  -webkit-background-clip: text;
  color: transparent;
}

.market-search input {
  width: min(520px, 100%);
  height: 58px;
  border: 1px solid #777;
  border-radius: 29px;
  padding: 0 34px;
  background: rgba(255, 255, 255, 0.36);
  font-size: 20px;
}

.session-pill {
  width: fit-content;
  margin-top: 20px;
  border-radius: 999px;
  padding: 10px 16px;
  color: #075e52;
  background: rgba(0, 194, 168, 0.13);
}

.ice-visual {
  position: relative;
  min-height: 560px;
}

.ice-visual::before {
  content: "";
  position: absolute;
  inset: 70px -120px auto auto;
  width: 680px;
  height: 300px;
  border-top: 5px solid rgba(197, 146, 37, 0.55);
  border-radius: 50%;
  transform: rotate(-14deg);
  box-shadow: 0 15px 0 rgba(197, 146, 37, 0.45), 0 30px 0 rgba(197, 146, 37, 0.33), 0 45px 0 rgba(197, 146, 37, 0.23);
}

.ice-visual span {
  position: absolute;
  top: 150px;
  right: 90px;
  width: 250px;
  height: 250px;
  display: grid;
  place-items: center;
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(168, 225, 255, 0.45));
  color: #d59c19;
  font-size: 150px;
  font-weight: 800;
  box-shadow: inset 18px 20px 38px rgba(255, 255, 255, 0.8), 0 30px 80px rgba(57, 83, 110, 0.25);
  transform: rotate(6deg);
}

.rainbow-strip {
  height: 88px;
  background: linear-gradient(90deg, #ff5b97, #ff8a4d, #ffe100);
}

.market-band,
.smart-card,
.news-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 24px;
}

.market-band h2,
.smart-card h2,
.news-section h2 {
  margin: 0 0 46px;
  font-size: 32px;
  font-weight: 500;
}

.promo-carousel {
  display: grid;
  grid-template-columns: 44px repeat(4, 1fr) 44px;
  gap: 18px;
  align-items: center;
}

.promo-carousel div {
  min-height: 58px;
  padding: 12px;
  color: #fff;
  border-radius: 6px;
  background: linear-gradient(135deg, #02060d, #172742);
  font-size: 12px;
}

.promo-carousel button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  color: #c9ced6;
  background: #f0f2f7;
  font-size: 28px;
}

.smart-card article {
  max-width: 840px;
  margin: 0 auto;
  padding: 54px 110px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
}

.smart-card h3 {
  font-size: 24px;
}

.smart-card p,
.news-section p,
.public-footer p {
  color: #85898f;
  line-height: 1.75;
}

.source-home-investors {
  max-width: 840px;
  margin: 18px auto 0;
  padding: 22px 0 0;
}

.source-home-investors h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.source-home-investors ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-home-investors li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #fff;
}

.source-home-investors li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #111827;
  background: #f1f5f9;
  font-weight: 700;
}

.source-home-investors strong,
.source-home-investors small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-home-investors small {
  margin-top: 3px;
  color: #85898f;
}

.source-home-investors b {
  color: #16a263;
  font-variant-numeric: tabular-nums;
}

.user-content-list {
  max-width: 1180px;
  margin: 28px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.user-content-list article {
  min-height: 112px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.user-content-list strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  margin-bottom: 8px;
}

.user-content-list p {
  color: #64748b;
  line-height: 1.5;
}

.source-home-partners {
  width: 100%;
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
}

.source-home-partners .section-title {
  margin-bottom: 14px;
}

.source-home-partners .section-title h2 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 600;
}

.source-home-verified {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #166534;
  background: #f0fdf4;
  font-size: 14px;
  font-weight: 600;
}

.source-home-partners > article {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(180px, 0.8fr) minmax(220px, 1fr);
  align-items: center;
  gap: 14px 24px;
  min-width: 0;
  min-height: 96px;
  padding: 20px 22px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.source-home-partners > article strong,
.source-home-partners > article p,
.source-home-partners > article small {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.source-home-partners > article strong {
  color: #0f172a;
  font-size: 17px;
}

.source-home-partners > article p,
.source-home-partners > article small {
  color: #64748b;
  line-height: 1.5;
}

.site-notice-strip {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
}

.site-notice-strip > strong {
  color: #1d4ed8;
}

.site-notice-strip > strong span {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  border-radius: 12px;
  color: #fff;
  background: #2563eb;
  font-size: 13px;
}

.site-notice-strip article {
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.18);
}

.site-notice-strip article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.site-notice-strip b {
  color: #0f172a;
}

.site-notice-strip p {
  margin: 6px 0 0;
  color: #475569;
}

.source-popup-news {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: auto repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.source-popup-news > strong {
  color: #111827;
  white-space: nowrap;
}

.source-popup-news article {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f8fafc;
}

.source-popup-news b,
.source-popup-news p {
  overflow-wrap: anywhere;
}

.source-popup-news p {
  margin: 4px 0 0;
  color: #4b5563;
}

@media (max-width: 640px) {
  .source-popup-news {
    grid-template-columns: minmax(0, 1fr);
  }

  .source-popup-news > strong {
    white-space: normal;
  }
}

.avatar-gallery {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.avatar-gallery h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.avatar-gallery > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.avatar-gallery article {
  min-height: 130px;
  padding: 16px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #f8fafc;
}

.avatar-gallery article.selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.avatar-gallery span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #2563eb;
  font-weight: 700;
}

.avatar-gallery strong,
.avatar-gallery small {
  display: block;
  margin-top: 8px;
}

.avatar-gallery small {
  color: #64748b;
  word-break: break-all;
}

.profile-current-avatar {
  margin: -6px 0 14px;
  color: #64748b;
  font-size: 13px;
}

.avatar-gallery button {
  margin-top: 12px;
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #111827;
  cursor: pointer;
}

.avatar-gallery article.selected button {
  background: #2563eb;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title button {
  border: 0;
  background: transparent;
  font-size: 18px;
}

.news-section ol {
  margin: 0;
  padding-left: 30px;
  border-left: 2px solid #d8e0d2;
}

.news-section li {
  margin: 0 0 18px;
  padding-left: 14px;
}

.news-section time {
  color: #9ca3af;
}

.public-footer {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 50px 24px 80px;
  display: grid;
  grid-template-columns: 150px 150px 150px 130px 160px minmax(360px, 1fr);
  gap: 20px;
  border-top: 1px solid #eee;
}

.public-footer h3 {
  margin: 0 0 22px;
}

.public-footer button {
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  padding: 12px 16px;
  background: #fff;
  margin: 4px;
}

.source-footer-contact {
  color: #85898f;
  display: grid;
  grid-template-columns: repeat(2, minmax(172px, 1fr));
  gap: 10px 14px;
  align-content: start;
  justify-items: stretch;
}

.source-footer-contact p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  text-align: center;
}

.source-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 172px;
  min-height: 72px;
  color: #000;
  line-height: 1.45;
  text-align: center;
}

.source-download-icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: #000;
}

.source-download-ios::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 18px;
  height: 18px;
  background: currentColor;
  border-radius: 48% 48% 52% 52%;
}

.source-download-ios::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 1px;
  width: 9px;
  height: 12px;
  background: currentColor;
  border-radius: 9px 0 9px 0;
  transform: rotate(28deg);
}

.source-download-android::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 18px;
  height: 15px;
  background: currentColor;
  border-radius: 5px 5px 3px 3px;
  box-shadow: -6px 3px 0 -4px currentColor, 6px 3px 0 -4px currentColor;
}

.source-download-android::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 12px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  transform: skewX(-16deg);
}

.public-footer .source-footer-text-link {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #85898f;
  line-height: 1.75;
  text-align: left;
}

.chat-bubble {
  position: fixed;
  right: 34px;
  bottom: 28px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #168dff;
  color: #fff;
  box-shadow: 0 8px 24px rgba(22, 141, 255, 0.35);
}

.chat-bubble > span[aria-hidden="true"] {
  position: relative;
  display: grid;
  width: 34px;
  height: 25px;
  place-items: center;
  padding-bottom: 7px;
  border-radius: 13px;
  background: #fff;
  color: #168dff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.chat-bubble > span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: -3px;
  width: 9px;
  height: 9px;
  background: #fff;
  transform: rotate(34deg) skew(-12deg);
}

.support-widget {
  position: fixed;
  right: 34px;
  bottom: 28px;
  z-index: 20;
}

body:has([data-source-spot-page]) .support-widget {
  right: 594px;
}

body:has([data-source-contract-page]) .support-widget {
  right: clamp(150px, 12vw, 190px);
  bottom: clamp(210px, 28vh, 290px);
}

.support-widget .chat-bubble {
  position: static;
}

.support-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: none;
  width: 260px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.18);
}

.support-widget:hover .support-panel,
.support-widget:focus-within .support-panel {
  display: grid;
  gap: 10px;
}

.support-panel p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  background: #f8fafc;
}

@media (max-width: 640px) {
  .support-widget {
    right: 16px;
    bottom: 84px;
    z-index: 31;
  }

  .support-widget .chat-bubble {
    width: 52px;
    height: 52px;
  }

  .support-widget .support-panel {
    bottom: 62px;
    width: min(260px, calc(100vw - 32px));
  }

  body:has([data-source-spot-page]) .support-widget {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    justify-content: flex-end;
    margin: 18px 12px 84px;
    z-index: 1;
  }

  body:has([data-source-contract-page]) .support-widget {
    right: 16px;
    bottom: 84px;
  }
}

.support-panel small {
  color: #64748b;
}

.support-panel b {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.signin-layout {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 45% 55%;
}

.signin-visual {
  position: relative;
  overflow: hidden;
  padding: 120px 50px;
  color: #fff;
  background: #121212;
}

.signin-visual h1 {
  text-align: center;
  font-size: 44px;
  font-weight: 500;
}

.phone-card {
  width: 380px;
  height: 500px;
  margin: 70px auto 0;
  padding: 34px 28px;
  border: 3px solid #ddd;
  border-radius: 42px;
  background: #101114;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}

.source-login-trade-panel {
  overflow: hidden;
}

.login-panel-header {
  display: grid;
  grid-template-columns: auto auto auto 1fr auto auto;
  gap: 9px;
  align-items: center;
  color: #f7f9fb;
}

.login-panel-back,
.login-panel-caret,
.login-panel-share {
  color: #d9dde7;
  font-size: 18px;
  line-height: 1;
}

.login-panel-star {
  justify-self: end;
  color: #ffbd2d;
  font-size: 18px;
}

.login-panel-tabs {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  border-bottom: 1px solid #22262d;
  color: #8f95a1;
  font-size: 12px;
}

.login-panel-tabs span {
  position: relative;
  padding-bottom: 10px;
}

.login-panel-tabs .active {
  color: #fff;
}

.login-panel-tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #fff;
}

.login-panel-market {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 18px;
  align-items: end;
  margin-top: 12px;
}

.login-panel-market b {
  display: block;
  color: #18b95a;
  font-size: 32px;
  line-height: 1.1;
}

.login-panel-market small {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 11px;
}

.login-panel-market dl {
  display: grid;
  gap: 3px;
  margin: 0;
  font-size: 9px;
  color: #8f95a1;
}

.login-panel-market dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.login-panel-market dt,
.login-panel-market dd {
  margin: 0;
}

.login-panel-market dd {
  color: #d8dde5;
}

.login-panel-badges,
.login-panel-timeframes {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-panel-badges {
  margin-top: 12px;
}

.login-panel-badges span {
  padding: 3px 7px;
  border-radius: 8px;
  background: #2a170d;
  color: #f59e0b;
  font-size: 9px;
}

.login-panel-timeframes {
  margin-top: 14px;
  color: #b7bdc8;
  font-size: 10px;
}

.login-panel-timeframes span {
  white-space: nowrap;
}

.login-panel-timeframes .active {
  padding: 6px 8px;
  border-radius: 4px;
  background: #2b2d33;
  color: #fff;
}

.login-panel-tools {
  margin-left: auto;
}

.login-panel-chart {
  position: relative;
  height: 210px;
  margin-top: 16px;
  overflow: hidden;
  border-top: 1px solid #20242a;
  background:
    linear-gradient(90deg, transparent 0 19%, rgba(255, 255, 255, 0.05) 19.5% 20%, transparent 20.5% 39%, rgba(255, 255, 255, 0.05) 39.5% 40%, transparent 40.5% 59%, rgba(255, 255, 255, 0.05) 59.5% 60%, transparent 60.5% 79%, rgba(255, 255, 255, 0.05) 79.5% 80%, transparent 80.5%),
    linear-gradient(0deg, transparent 0 24%, rgba(255, 255, 255, 0.05) 24.5% 25%, transparent 25.5% 49%, rgba(255, 255, 255, 0.05) 49.5% 50%, transparent 50.5% 74%, rgba(255, 255, 255, 0.05) 74.5% 75%, transparent 75.5%);
}

.login-panel-chart .ma {
  position: absolute;
  top: 8px;
  z-index: 2;
  font-size: 9px;
}

.login-panel-chart .ma-7 {
  left: 0;
  color: #e5e7eb;
}

.login-panel-chart .ma-30 {
  left: 78px;
  color: #facc15;
}

.login-candle {
  position: absolute;
  bottom: 28px;
  width: 12px;
  height: var(--h);
  border-radius: 2px;
  background: #16a34a;
  box-shadow: 0 -24px 0 -5px #16a34a, 0 20px 0 -5px #16a34a;
}

.login-candle::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -20px;
  bottom: -16px;
  width: 2px;
  background: #16a34a;
}

.login-candle:nth-of-type(even) {
  background: #ef4444;
  box-shadow: 0 -18px 0 -5px #ef4444, 0 16px 0 -5px #ef4444;
}

.login-candle:nth-of-type(even)::before {
  background: #ef4444;
}

.candle-1 {
  left: 172px;
}

.candle-2 {
  left: 194px;
}

.candle-3 {
  left: 216px;
}

.candle-4 {
  left: 238px;
}

.candle-5 {
  left: 260px;
}

.candle-6 {
  left: 282px;
}

.candle-7 {
  left: 304px;
}

.login-panel-chart em {
  position: absolute;
  right: 0;
  bottom: 82px;
  padding: 4px 6px;
  border-radius: 3px;
  background: #2d3238;
  color: #fff;
  font-size: 10px;
  font-style: normal;
}

.signin-visual aside {
  position: absolute;
  left: 18%;
  bottom: 18%;
  width: 520px;
  padding: 28px;
  border-radius: 10px;
  background: #26282a;
}

.signin-form {
  padding: 110px 90px;
}

.signin-form h1 {
  margin: 0 0 48px;
  font-size: 44px;
}

.signin-form form,
.laptop-login form {
  display: grid;
  gap: 24px;
}

.signin-form label {
  display: grid;
  gap: 14px;
}

.signin-form input {
  height: 54px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  padding: 0 18px;
}

.source-password-field {
  position: relative;
  display: block;
}

.source-password-field input {
  width: 100%;
  padding-right: 52px;
}

.source-password-field button {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.source-password-field button::before {
  content: "";
  position: absolute;
  inset: 7px 4px;
  border: 2px solid #c6cbd3;
  border-radius: 50% / 65%;
}

.source-password-field button::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c6cbd3;
  box-shadow: -8px 6px 0 1px #fff, -9px 6px 0 2px #c6cbd3;
  transform: rotate(-35deg);
}

.source-password-field button.visible::after {
  left: 12px;
  top: 12px;
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.inline-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.inline-input button {
  min-height: 54px;
  border: 1px solid #111;
  border-radius: 6px;
  padding: 0 14px;
  background: #111;
  color: #fff;
  white-space: nowrap;
}

.link-right {
  justify-self: end;
  border: 0;
  background: transparent;
}

.primary-black {
  height: 58px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #000;
  font-size: 18px;
}

.form-error {
  margin: 0;
  color: #e11d48;
}

.shell-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 13px;
  line-height: 1.5;
}

.text-action {
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

:root[data-theme="dark"] body {
  background: #111827;
  color: #f8fafc;
}

:root[data-theme="dark"] .public-nav,
:root[data-theme="dark"] .signin-form,
:root[data-theme="dark"] .home-section,
:root[data-theme="dark"] .asset-page,
:root[data-theme="dark"] .trade-shell {
  background: #111827;
  color: #f8fafc;
}

.assets-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.assets-page header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 36px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #164e63);
}

.assets-page header p {
  margin: 0 0 8px;
  color: #a7f3d0;
}

.asset-conversion {
  margin-top: 10px !important;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82) !important;
}

.assets-page header h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
}

.asset-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.asset-actions button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  padding: 12px 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.asset-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.asset-kpis article,
.asset-forms form,
.asset-table {
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.order-detail-panel {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.order-detail-panel header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0 0 16px;
  padding: 0;
  color: #111827;
  background: transparent;
}

.order-detail-panel header p,
.order-detail-panel header h2 {
  margin: 0;
  color: #111827;
}

.order-detail-panel header button {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 12px;
  background: #fff;
}

.order-detail-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.order-detail-panel dl div {
  min-width: 0;
}

.order-detail-panel dt {
  color: #64748b;
  font-size: 13px;
}

.order-detail-panel dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-weight: 700;
}

.asset-kpis span {
  display: block;
  color: #6b7280;
  margin-bottom: 10px;
}

.invest-page,
.subscribe-page,
.charity-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.charity-page {
  color: #050505;
}

.invest-page header,
.subscribe-page header,
.charity-page header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.source-ipo-route-header {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: start !important;
  margin-bottom: 72px !important;
}

.source-ipo-route-header p {
  margin: 0;
  color: #111827;
  font-size: 15px;
}

.source-ipo-market-select {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}

.source-ipo-market-select span {
  width: 9px;
  height: 9px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg) translateY(-3px);
}

.invest-page header button,
.source-etf-news .section-title button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
}

.business-products,
.loan-partner-list,
.subscribe-products,
.charity-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 18px;
  min-width: 0;
}

.source-charity-hero {
  position: relative;
  min-height: 316px;
  margin-bottom: 74px;
  border-radius: 8px;
}

.source-charity-hero-image {
  position: relative;
  min-height: 316px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(42, 28, 13, .42), rgba(38, 57, 48, .2)),
    radial-gradient(circle at 16% 64%, #9f6e34 0 7%, transparent 7.6%),
    radial-gradient(circle at 26% 58%, #cf6b45 0 6%, transparent 6.6%),
    radial-gradient(circle at 41% 56%, #e6b469 0 6%, transparent 6.8%),
    radial-gradient(circle at 72% 40%, #246f72 0 10%, transparent 10.5%),
    linear-gradient(135deg, #304f35 0%, #6f8d5c 40%, #bca46a 100%);
  background-blend-mode: multiply, normal, normal, normal, normal, normal;
  overflow: hidden;
}

.source-charity-hero-image::before,
.source-charity-hero-image::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  transform: rotate(-32deg);
}

.source-charity-hero-image::before {
  right: 128px;
  top: 42px;
  width: 34px;
  height: 112px;
  box-shadow: -280px 64px 0 rgba(255, 255, 255, .34), -224px 88px 0 rgba(255, 255, 255, .28), -70px 26px 0 rgba(255, 255, 255, .36);
}

.source-charity-hero-image::after {
  right: 88px;
  top: 58px;
  width: 26px;
  height: 92px;
  opacity: .7;
}

.charity-donation-ticker {
  display: flex;
  position: absolute;
  right: 88px;
  bottom: -34px;
  left: 88px;
  gap: 10px;
  overflow: hidden;
  min-height: 58px;
  margin: 0;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(8px);
  color: #111827;
  white-space: nowrap;
}

.charity-donation-ticker span {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  padding: 10px 14px;
  min-width: max-content;
}

.charity-donation-ticker b {
  color: #111827;
  font-weight: 500;
}

.charity-donation-ticker i {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111827;
}

.charity-donation-ticker i::before,
.charity-donation-ticker i::after {
  position: absolute;
  content: "";
  background: #fff;
}

.charity-donation-ticker i::before {
  left: 6px;
  top: 7px;
  width: 5px;
  height: 8px;
  border-radius: 1px;
}

.charity-donation-ticker i::after {
  left: 12px;
  top: 5px;
  width: 4px;
  height: 12px;
  transform: skewY(-18deg);
}

.charity-mission {
  margin: 18px 0;
  padding: 42px 40px 36px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.charity-mission > div:first-child {
  margin-bottom: 30px;
  text-align: center;
}

.charity-mission p {
  margin: 0;
  color: #667085;
}

.charity-mission h2 {
  margin: 4px 0 0;
  font-size: 18px;
}

.charity-mission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.charity-mission-grid article {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  text-align: center;
}

.charity-mission-grid h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.charity-mission-grid article b {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #050505;
}

.charity-mission-grid article b::before,
.charity-mission-grid article b::after {
  position: absolute;
  content: "";
  border: 2px solid #fff;
}

.charity-mission-grid article b::before {
  inset: 13px;
  border-radius: 50%;
}

.charity-mission-grid article b::after {
  left: 24px;
  top: 9px;
  width: 0;
  height: 34px;
  border-width: 0 0 0 2px;
}

.charity-mission-grid article[data-charity-mission-icon="vulnerable"] b::before {
  inset: 12px 17px;
  border-radius: 10px;
}

.charity-mission-grid article[data-charity-mission-icon="earth"] b::before {
  inset: 14px 9px;
  border-radius: 14px;
}

.charity-mission-grid article[data-charity-mission-icon="humanitarian"] b::before {
  inset: 15px 11px;
  border-radius: 16px 16px 4px 16px;
}

.loan-partner-list {
  margin: 0 0 18px;
}

.ai-concept-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.ai-security-questionnaire {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.ai-concept-list article,
.ai-security-questionnaire article {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.ai-security-questionnaire h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.ai-security-questionnaire form {
  display: grid;
  gap: 10px;
}

.ai-security-questionnaire select {
  min-height: 42px;
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
}

.ai-concept-list strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
}

.ai-concept-list p {
  margin: 0;
  color: #667085;
  overflow-wrap: anywhere;
}

.source-business-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.source-business-kpis article,
.source-business-rules {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.source-business-kpis span,
.source-endpoint-note {
  color: #6b7280;
  font-size: 13px;
}

.source-business-kpis strong {
  display: block;
  margin-top: 6px;
  color: #111827;
  font-size: 20px;
}

.source-endpoint-note {
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
}

.source-business-tabs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-width: 0;
}

.source-business-rules {
  margin: 18px 0;
}

.source-business-rules h2,
.source-business-rules p {
  margin: 0;
}

.source-business-rules p {
  margin-top: 8px;
  color: #6b7280;
}

.source-loan-main {
  background: #fff;
}

.source-loan-page {
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.source-loan-mobile-header {
  display: none;
}

.source-loan-hero {
  display: grid;
  grid-template-columns: minmax(0, 47.3%) minmax(420px, 1fr);
  min-height: 586px;
  border-bottom: 1px solid #e5e7eb;
}

.source-loan-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 58px 9.3vw 70px 4.5vw;
  background: #101010;
  color: #fff;
}

.source-loan-breadcrumb {
  margin: 0 0 4px;
  color: transparent;
  font-size: 1px;
}

.source-loan-left h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 32px;
  line-height: 1.18;
}

.source-loan-left small {
  max-width: 500px;
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
}

.source-loan-metrics {
  display: grid;
  gap: 0;
  max-width: 554px;
  margin-top: 92px;
  padding: 22px 0 18px;
  border-radius: 8px;
  background: #fff;
  color: #111827;
}

.source-loan-metrics p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
}

.source-loan-metrics span {
  color: #8a8f98;
  font-weight: 700;
}

.source-loan-metrics strong {
  justify-self: end;
  font-size: 14px;
}

.source-loan-metrics p:last-child strong,
.source-loan-flags {
  color: #00df64;
}

.source-loan-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 554px;
  margin-top: 18px;
  font-size: 12px;
}

.source-loan-flags span::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  border-radius: 5px;
  background: rgba(0, 223, 100, 0.16);
  color: #00df64;
}

.source-loan-right {
  --source-loan-content-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 64px clamp(28px, 4.5vw, 72px) 48px;
  background: #fff;
}

.source-loan-right > * {
  width: min(100%, var(--source-loan-content-width));
  box-sizing: border-box;
}

.source-loan-amount-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 96px;
  margin-bottom: 16px;
}

.source-loan-amount-band article {
  position: relative;
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 20px 24px 20px 76px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
}

.source-loan-amount-band article:first-child {
  background: #5bcc8e;
}

.source-loan-amount-band article:last-child {
  color: #000;
  border-color: #d9f0e3;
  background: #f4fbf7;
}

.source-loan-amount-band article::before {
  content: ">";
  position: absolute;
  left: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  transform: translateY(-50%);
}

.source-loan-amount-band article:last-child::before {
  background: #5bcc8e;
}

.source-loan-amount-band span {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.source-loan-amount-band strong {
  font-size: 14px;
}

.source-loan-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}

.source-loan-actions button {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 48px;
  background: #111;
  color: #fff;
  font-weight: 800;
}

.source-loan-actions button::after {
  content: ">";
  position: absolute;
  right: 20px;
  top: 50%;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
}

.source-loan-form-card {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.source-loan-form-card.loan-partner-list > article {
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.source-loan-product-heading,
.source-loan-product-limits {
  display: none !important;
}

.source-loan-sr-product {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.source-loan-amount-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  color: #000;
  font-weight: 700;
}

.source-loan-amount-input span {
  font-size: 18px;
}

.source-loan-amount-input input {
  width: 100%;
  height: 48px;
  min-width: 0;
  border: 1px solid #d9dfe8;
  border-radius: 10px;
  padding: 0 92px 0 12px;
  background: #fff;
  font-weight: 700;
}

.source-loan-amount-input b {
  justify-self: end;
  margin-top: -52px;
  padding-right: 12px;
  align-self: center;
  color: #000;
}

.source-loan-amount-input b::before {
  content: "T";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  border-radius: 50%;
  background: #31aa7b;
  color: #fff;
  font-size: 18px;
}

.source-loan-term-group {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  border: 0;
  padding: 0;
}

.source-loan-term-group legend {
  margin-bottom: 4px;
  color: #000;
  font-size: 18px;
  font-weight: 800;
}

.source-loan-term-group div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.source-loan-term-group button {
  min-height: 48px;
  border: 1px solid #d9dfe8;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-size: 17px;
  font-weight: 800;
}

.source-loan-term-group button.active {
  border-color: #000;
  background: #000;
  color: #fff;
}

.source-loan-agreement {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 28px 0 18px;
  color: #888;
  font-size: 12px;
  line-height: 1.6;
}

.source-loan-agreement input {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.source-loan-agreement span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.source-loan-agreement em {
  color: #000;
  font-style: normal;
  font-weight: 800;
  text-decoration: underline;
}

.source-loan-form-card .primary-black {
  width: 100%;
  min-height: 52px;
  border-radius: 6px;
}

.source-loan-page .business-order-list {
  max-width: 1128px;
  margin: 42px auto;
}

.source-block-main {
  background: #fff;
}

.source-block-page {
  max-width: 1114px;
  min-height: 772px;
  margin: 0 auto;
  padding: 28px 0 48px;
  background: #fff;
}

.source-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 26px;
}

.source-block-header h1 {
  margin: 0;
  color: #000;
  font-size: 24px;
  line-height: 1.25;
}

.source-block-header button {
  min-width: 96px;
  min-height: 40px;
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 14px;
}

.source-block-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.source-block-grid.business-products {
  margin: 0;
}

.source-block-card {
  display: grid;
  gap: 18px;
  min-height: 170px;
  padding: 22px 20px 20px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  background: #fff;
}

.source-block-card-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 38px;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.source-block-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 0 42%, #b7c1ce 42% 47%, transparent 47%),
    #e5e5e5;
}

.source-block-card h2 {
  margin: 0;
  color: #000;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.source-block-card small {
  display: block;
  margin-bottom: 5px;
  color: #8a8f98;
  font-size: 14px;
  text-transform: none;
}

.source-block-chart {
  position: relative;
  width: 34px;
  height: 42px;
  color: #4ea75d;
}

.source-block-chart::before,
.source-block-chart::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 9px;
  height: 24px;
  background: currentColor;
  box-shadow: 0 -8px 0 -5px currentColor, 0 8px 0 -5px currentColor;
}

.source-block-chart::before {
  left: 6px;
}

.source-block-chart::after {
  right: 6px;
  height: 20px;
}

.source-block-card-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 16px;
  align-items: end;
}

.source-block-card-bottom p {
  margin: 0;
}

.source-block-card-bottom span {
  display: block;
  margin-bottom: 8px;
  color: #8a8f98;
  font-size: 13px;
}

.source-block-card-bottom strong {
  color: #000;
  font-size: 16px;
}

.source-block-card-bottom form {
  display: block;
}

.source-block-card-bottom button {
  width: 58px;
  min-height: 38px;
  border-radius: 5px;
  padding: 0;
  font-size: 14px;
}

.source-block-loaded {
  margin: 26px 0 0;
  color: #8a8f98;
  text-align: center;
}

.source-business-hidden-orders {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.source-block-footer {
  border-top: 1px solid #e5e7eb;
}

.source-fund-main {
  background: #f7f7f8;
}

.source-fund-page {
  position: relative;
  max-width: none;
  min-height: 1120px;
  margin: 0;
  padding: 0 0 46px;
  color: #000;
  background: #f7f7f8;
}

.source-wealth-title-order {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(#111 0 0) 13px 14px / 18px 2px no-repeat,
    linear-gradient(#111 0 0) 13px 21px / 18px 2px no-repeat,
    linear-gradient(#111 0 0) 13px 28px / 18px 2px no-repeat,
    #fff;
  box-shadow: inset 0 0 0 1px #d9dee8;
}

.source-fund-page > .source-wealth-title-order {
  position: absolute;
  top: 18px;
  right: max(18px, calc((100vw - 1030px) / 2));
  display: none;
}

.source-fund-hero {
  display: grid;
  grid-template-columns: 318px minmax(0, 640px);
  gap: 0;
  align-items: start;
  max-width: 1030px;
  margin: 0 0 0 30px;
  padding: 30px 0 16px;
}

.source-fund-hero header {
  padding-top: 36px;
}

.source-fund-hero h1 {
  margin: 0;
  color: #000;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

.source-fund-summary {
  min-width: 0;
}

.source-fund-escrow {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 126px;
  padding: 28px 12px;
  border-radius: 11px;
  background: #cef253;
}

.source-fund-escrow span,
.source-fund-metrics span {
  color: #000;
  font-size: 14px;
  font-weight: 800;
}

.source-fund-escrow strong,
.source-fund-metrics strong {
  color: #000;
  font-size: 18px;
  font-weight: 500;
}

.source-fund-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 20px 14px 18px;
}

.source-fund-metrics p {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
}

.source-fund-metrics span {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.source-fund-orders-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 148px;
  min-height: 48px;
  margin-left: 0;
  border: 0;
  border-radius: 24px;
  padding: 0 18px 0 12px;
  background: #486bf5;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.source-fund-orders-button i {
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.source-fund-orders-button i::before,
.source-fund-orders-button i::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 13px;
  height: 3px;
  border-radius: 99px;
  background: #fff;
  transform-origin: left center;
}

.source-fund-orders-button i::before {
  top: 9px;
  transform: rotate(28deg);
}

.source-fund-orders-button i::after {
  top: 17px;
  transform: rotate(-28deg);
}

.source-fund-message {
  max-width: 640px;
  margin: 0 0 14px 348px;
}

.source-fund-products {
  display: grid;
  gap: 8px;
  max-width: 640px;
  margin: 0 0 0 348px;
}

.source-fund-product {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 132px;
  gap: 16px;
  align-items: center;
  min-height: 102px;
  border-radius: 6px;
  padding: 18px 16px;
  background: #fff;
}

.source-fund-icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b7280, #9ca3af);
}

.source-fund-icon.telegram {
  position: relative;
  background: #29aee9;
}

.source-fund-icon.telegram::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  width: 23px;
  height: 18px;
  background: #fff;
  clip-path: polygon(0 45%, 100% 0, 70% 100%, 42% 64%, 24% 84%);
}

.source-fund-icon.alert {
  position: relative;
  border-radius: 4px;
  background: #222934;
}

.source-fund-icon.alert::before {
  content: "A";
  position: absolute;
  inset: 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-weight: 900;
}

.source-fund-icon.document {
  border-radius: 0;
  background:
    linear-gradient(#e5e7eb 0 16%, transparent 16% 100%),
    repeating-linear-gradient(0deg, #cbd5e1 0 2px, transparent 2px 8px),
    #fff;
  box-shadow: inset 0 0 0 1px #d1d5db;
}

.source-fund-product-copy {
  min-width: 0;
}

.source-fund-product h2 {
  margin: 0 0 6px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.source-fund-product p {
  margin: 0 0 4px;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.source-fund-yield {
  position: absolute;
  top: 0;
  right: 0;
  width: max-content;
  max-width: 220px;
  border-radius: 0 6px 0 6px;
  padding: 6px 9px;
  background: #59d094;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.source-fund-product form,
.source-fund-product > .primary-black {
  justify-self: end;
}

.source-fund-product button {
  min-width: 66px;
  min-height: 32px;
  border-radius: 5px;
  padding: 0 16px;
  font-size: 14px;
}

.source-wealth-detail-main,
.source-wealth-history-main,
.source-wealth-success-main {
  min-height: 100vh;
  background: #f7f7f8;
}

.source-wealth-detail-page,
.source-wealth-history-page,
.source-wealth-order-details,
.source-wealth-success-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 16px 72px;
  color: #111827;
}

.source-wealth-mobile-title {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-bottom: 18px;
}

.source-wealth-mobile-title > button:first-child {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 22px;
}

.source-wealth-mobile-title strong {
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.source-wealth-detail-card,
.source-wealth-history-row,
.source-wealth-interest-row {
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.source-wealth-detail-card h1,
.source-wealth-detail-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.35;
}

.source-wealth-detail-card > strong {
  display: block;
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.source-wealth-amount-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  margin-bottom: 14px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  padding: 0 10px;
  background: #f8fafc;
}

.source-wealth-amount-input input {
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  font-size: 16px;
}

.source-wealth-amount-input button {
  min-width: 44px;
  min-height: 36px;
  border: 0;
  border-radius: 18px;
  background: #111827;
  color: #fff;
}

.source-wealth-detail-card dl,
.source-wealth-history-row dl {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.source-wealth-detail-card dl div,
.source-wealth-history-row dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.source-wealth-detail-card dt,
.source-wealth-history-row dt {
  color: #667085;
  font-size: 13px;
}

.source-wealth-detail-card dd,
.source-wealth-history-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.source-wealth-buy-button {
  width: 100%;
  min-height: 46px;
  border-radius: 23px;
}

.source-wealth-confirm {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.38);
  padding: 18px;
}

.source-wealth-confirm-card {
  width: min(560px, 100%);
  border-radius: 18px 18px 8px 8px;
  padding: 22px 24px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.24);
}

.source-wealth-confirm-card h2 {
  margin: 0 0 14px;
  text-align: center;
}

.source-wealth-confirm-card > strong {
  display: block;
  margin-bottom: 18px;
  font-size: 28px;
  text-align: center;
}

.source-wealth-confirm-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.source-wealth-confirm-card form button {
  min-height: 44px;
  border-radius: 22px;
}

.source-wealth-history-tabs {
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.source-wealth-history-list {
  display: grid;
  gap: 12px;
}

.source-wealth-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.source-wealth-history-row button {
  min-width: 82px;
  min-height: 40px;
  border: 0;
  border-radius: 20px;
  background: #eef4ff;
  color: #1f5cff;
  font-weight: 700;
}

.source-wealth-history-buy-row {
  grid-template-columns: minmax(0, 1fr);
}

.source-wealth-history-redeemed-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.source-wealth-history-product {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.source-wealth-history-product h2 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.source-wealth-history-product p {
  margin: 2px 0;
  color: #667085;
  font-size: 12px;
}

.source-wealth-history-profit {
  min-width: 92px;
  text-align: center;
}

.source-wealth-history-profit strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.source-wealth-history-profit span {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 12px;
}

.source-wealth-interest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.source-wealth-interest-row > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.source-wealth-interest-row h2 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.source-wealth-interest-row time {
  color: #667085;
  font-size: 12px;
}

.source-wealth-interest-row strong {
  font-size: 18px;
  white-space: nowrap;
}

.source-wealth-interest-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: inset 0 0 0 6px #dcfce7;
}

.source-wealth-interest-icon.negative {
  background: #ef4444;
  box-shadow: inset 0 0 0 6px #fee2e2;
}

.source-wealth-success-page {
  display: grid;
  place-items: center;
  gap: 16px;
  min-height: 520px;
  text-align: center;
}

.source-wealth-success-page span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 44%, #fff 45% 55%, transparent 56%) 25px 15px / 28px 36px no-repeat,
    #22c55e;
}

.source-wealth-success-page h1 {
  margin: 0;
  font-size: 24px;
}

.tradeGreen {
  color: #10b981;
}

.tradeRed {
  color: #ef4444;
}

.source-fund-loaded {
  max-width: 640px;
  margin: 18px auto 0;
  color: #98a2b3;
  font-size: 13px;
  text-align: center;
}

.source-fund-footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding-left: max(24px, calc((100vw - 1160px) / 2));
  padding-right: max(24px, calc((100vw - 1160px) / 2));
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.source-pool-hero h1 {
  line-height: 1.2;
}

.source-pool-escrow {
  background: #87e3c6;
}

.source-pool-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  flex: 0 0 48px;
}

.source-pool-return {
  max-width: 240px;
  font-size: 11px;
  white-space: nowrap;
}

.source-pool-product h2 {
  font-weight: 500;
}

.source-pool-product p {
  font-weight: 600;
}

.source-etf-main {
  background: #fff;
}

.source-etf-page {
  max-width: 1114px;
  margin: 0 auto;
  padding: 42px 0 52px;
  color: #0f172a;
}

.source-etf-title {
  margin: 0 0 58px;
}

.source-etf-title h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}

.source-etf-title span {
  margin: 0 18px;
  color: #374151;
}

.source-etf-section h2,
.source-etf-potential h2,
.source-etf-news-list h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
}

.source-etf-hot {
  display: grid;
  gap: 34px;
}

.source-etf-hot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.source-etf-hot-grid article,
.source-etf-board > article,
.source-etf-large-chart {
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
}

.source-etf-hot-grid article {
  display: grid;
  gap: 6px;
  min-height: 168px;
  padding: 18px 18px 14px;
}

.source-etf-hot-grid strong,
.source-etf-potential strong {
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-etf-hot-grid span,
.source-etf-potential span,
.source-etf-large-chart span {
  overflow: hidden;
  color: #6b7280;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-etf-hot-grid b,
.source-etf-potential b {
  color: #111827;
  font-size: 17px;
}

.source-etf-hot-grid em,
.source-etf-potential em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.source-etf-hot-grid .up em,
.source-etf-potential .up em {
  color: #1fbf69;
}

.source-etf-hot-grid .down em,
.source-etf-potential .down em {
  color: #f0525f;
}

.source-etf-sparkline {
  width: 100%;
  height: 32px;
}

.source-etf-sparkline path {
  fill: none;
  stroke: #ff4d57;
  stroke-width: 2;
}

.source-etf-hot-grid .up .source-etf-sparkline path {
  stroke: #28b765;
}

.source-etf-large-chart {
  min-height: 405px;
  padding: 22px 24px;
}

.source-etf-large-chart strong,
.source-etf-large-chart span {
  display: block;
}

.source-etf-large-chart svg {
  display: block;
  width: 100%;
  height: 310px;
  margin-top: 22px;
}

.source-etf-large-chart path {
  fill: none;
  stroke: #52c47f;
  stroke-width: 3;
}

.source-etf-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 46px 0 56px;
}

.source-etf-board > article {
  display: grid;
  grid-template-rows: auto minmax(230px, 1fr);
  min-height: 285px;
  padding: 20px 24px;
  box-shadow: none;
}

.source-etf-board header,
.source-etf-news-list header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 14px;
}

.source-etf-board h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.source-etf-board button,
.source-etf-news-list button {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 12px;
}

.source-etf-empty {
  display: grid;
  place-items: center;
}

.source-etf-subscribe-card {
  display: grid;
  align-self: center;
  gap: 12px;
  padding-top: 18px;
}

.source-etf-subscribe-card strong {
  font-size: 18px;
}

.source-etf-subscribe-card > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.source-etf-subscribe-card span,
.source-etf-subscribe-card dt,
.source-etf-order-summary span {
  color: #6b7280;
  font-size: 12px;
}

.source-etf-subscribe-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.source-etf-subscribe-card dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.source-etf-subscribe-card form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
}

.source-etf-subscribe-card input {
  min-height: 40px;
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  padding: 0 10px;
}

.source-etf-subscribe-card button.primary-black {
  min-width: 126px;
  min-height: 40px;
  border: 1px solid #050505;
  border-radius: 4px;
  background: #050505;
  color: #fff;
  font-size: 14px;
}

.source-etf-order-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
  border: 1px solid #edf0f5;
  border-radius: 6px;
  padding: 18px;
  text-align: center;
}

.source-etf-order-summary p {
  margin: 0;
}

.source-etf-order-summary strong {
  display: block;
  margin-top: 8px;
}

.source-etf-order-no,
.source-etf-history-list {
  align-self: center;
  justify-self: center;
  margin: 0;
  color: #6b7280;
}

.source-etf-history-list {
  display: grid;
  width: 100%;
  gap: 8px;
}

.source-etf-history-list p {
  display: grid;
  grid-template-columns: minmax(120px, 1.2fr) minmax(100px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  border-bottom: 1px solid #edf0f5;
  padding: 10px 0;
  font-size: 12px;
}

.source-etf-history-list strong,
.source-etf-history-list b {
  color: #111827;
}

.source-etf-history-list em {
  border-radius: 999px;
  background: #eef2f7;
  padding: 4px 8px;
  color: #4b5563;
  font-style: normal;
  text-transform: capitalize;
}

.source-etf-history-list {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 20px 0 0;
  list-style: none;
}

.source-etf-history-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f5;
  padding-bottom: 8px;
}

.source-etf-potential {
  display: grid;
  gap: 18px;
  margin: 0 0 54px;
}

.source-etf-potential header p {
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.source-etf-potential > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.source-etf-potential article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  border: 1px solid #d6f4dc;
  border-radius: 8px;
  padding: 13px 16px;
  background: #f0fff1;
}

.source-etf-potential article.down {
  border-color: #ffd8dc;
  background: #fff1f2;
}

.source-etf-potential b,
.source-etf-potential em {
  justify-self: end;
}

.source-etf-news-list {
  display: grid;
  gap: 18px;
}

.source-etf-news-list header {
  border-bottom: 0;
  padding-bottom: 0;
}

.source-etf-news-list ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 0 0 14px;
  list-style: none;
  border-left: 2px solid #1b7a21;
}

.source-etf-news-list li {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid #edf0f5;
  padding: 12px 0 12px 18px;
}

.source-etf-news-list li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 18px;
  width: 8px;
  height: 8px;
  border: 2px solid #111827;
  border-radius: 50%;
  background: #a4d64a;
}

.source-etf-news-list time {
  color: #6b7280;
  font-size: 13px;
}

.source-etf-news-list p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.source-etf-footer {
  border-top: 1px solid #e5e7eb;
}

.source-ai-main {
  background: #fff;
  min-height: 100vh;
}

.source-ai-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 0 72px;
  color: #101828;
}

.source-ai-title {
  text-align: center;
  margin-bottom: 28px;
}

.source-ai-title h1 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}

.source-ai-title p {
  max-width: 980px;
  margin: 0 auto;
  color: #687386;
  font-size: 13px;
  line-height: 1.7;
}

.source-ai-hero {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(115deg, #111935 0%, #121a34 62%, #111827 100%);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.source-ai-hero > div:first-child {
  padding: 34px 38px 0;
  color: #fff;
}

.source-ai-hero span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.source-ai-hero strong {
  display: block;
  margin-top: 24px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
}

.source-ai-hero > b {
  position: absolute;
  top: 36px;
  right: 36px;
  color: #23d18b;
  font-size: 18px;
}

.source-ai-hero svg {
  position: absolute;
  left: 70px;
  right: 70px;
  bottom: 22px;
  width: calc(100% - 140px);
  height: 210px;
}

.source-ai-hero path {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.source-ai-hero .delivered {
  stroke: #12d696;
}

.source-ai-hero .income {
  stroke: #8ab624;
}

.source-ai-legend {
  position: absolute;
  left: 70px;
  top: 134px;
  display: flex;
  gap: 34px;
}

.source-ai-legend span {
  color: #1dd28c;
  font-size: 11px;
}

.source-ai-legend span + span {
  color: #8ab624;
}

.source-ai-contract {
  margin-top: 34px;
}

.source-ai-contract > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.source-ai-contract h2,
.source-ai-popular h2,
.source-ai-about h2,
.source-ai-revenue h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.source-ai-contract header button,
.source-ai-view-more {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #222b3a;
  font-size: 13px;
}

.source-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.source-ai-grid article {
  position: relative;
  min-height: 186px;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  padding: 24px 26px 22px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.04);
}

.source-ai-grid form {
  position: absolute;
  top: 0;
  right: 0;
}

.source-ai-grid form button {
  min-width: 94px;
  min-height: 34px;
  border: 0;
  border-radius: 0 8px 0 8px;
  background: #12d696;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.source-ai-grid form button.stop {
  background: #ff6074;
}

.source-ai-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 96px;
}

.source-ai-avatar {
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, #ffe3ce 0 18%, transparent 19%),
    radial-gradient(circle at 50% 92%, #243449 0 42%, transparent 43%),
    linear-gradient(135deg, #eef4ff, #fff);
  border: 1px solid #dce3ef;
  vertical-align: middle;
}

.source-ai-card-head strong {
  font-size: 17px;
  line-height: 1.25;
}

.source-ai-name-mobile {
  display: none;
}

.source-ai-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 16px;
  align-items: end;
  margin-top: 28px;
}

.source-ai-card-body p {
  margin: 0;
}

.source-ai-card-body span,
.source-ai-grid dt {
  display: block;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 500;
}

.source-ai-revenue th {
  background: #fff !important;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 500;
}

.source-ai-card-body b {
  display: block;
  margin-top: 10px;
  color: #10bd78;
  font-size: 20px;
}

.source-ai-card-body svg {
  width: 100%;
  height: 56px;
}

.source-ai-card-body path {
  fill: none;
  stroke: #7bc68f;
  stroke-width: 4;
  stroke-linecap: round;
}

.source-ai-grid dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.source-ai-grid dd {
  margin: 7px 0 0;
  color: #243044;
  font-size: 12px;
  font-weight: 700;
}

.source-ai-view-more {
  display: block;
  margin: 34px auto 0;
  padding: 0 18px;
}

.source-ai-popular,
.source-ai-about,
.source-ai-revenue {
  margin-top: 34px;
}

.source-ai-popular {
  border: 1px solid #e5e8ee;
  border-radius: 6px;
  padding: 18px 24px 34px;
}

.source-ai-popular h2 {
  margin-bottom: 22px;
}

.source-ai-popular div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: #283347;
  font-size: 13px;
}

.source-ai-about {
  text-align: center;
}

.source-ai-about > p {
  max-width: 880px;
  margin: 18px auto 24px;
  color: #7e8796;
  font-size: 13px;
  line-height: 1.7;
}

.source-ai-code {
  overflow: hidden;
  border: 1px solid #e8ebf0;
  border-radius: 6px;
  background: #111;
  text-align: left;
}

.source-ai-code > div {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 12px;
  background: #f4f5f6;
  color: #4c5564;
  font-size: 10px;
}

.source-ai-code span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.source-ai-code span:nth-child(1) {
  background: #ff5f57;
}

.source-ai-code span:nth-child(2) {
  background: #febc2e;
}

.source-ai-code span:nth-child(3) {
  background: #28c840;
}

.source-ai-code b {
  flex: 1;
  text-align: center;
  font-weight: 700;
}

.source-ai-code em {
  font-style: normal;
}

.source-ai-code pre {
  margin: 0;
  padding: 26px 30px 34px;
  color: #f4f7fb;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.source-ai-revenue {
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  padding: 28px 26px;
}

.source-ai-revenue h2 {
  margin-bottom: 28px;
}

.source-ai-revenue table {
  width: 100%;
  border-collapse: collapse;
}

.source-ai-revenue th,
.source-ai-revenue td {
  height: 56px;
  border-bottom: 1px solid #eef1f5;
  text-align: left;
  font-size: 13px;
}

.source-ai-revenue th:last-child,
.source-ai-revenue td:last-child {
  text-align: right;
}

.source-ai-revenue td:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.source-ai-footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding-left: max(24px, calc((100vw - 1160px) / 2));
  padding-right: max(24px, calc((100vw - 1160px) / 2));
  margin-top: 0;
  border-top: 1px solid #e5e7eb;
}

.source-ai-financial-main {
  background: #fff;
  min-height: 100vh;
}

.source-ai-financial-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 0 70px;
  color: #111827;
}

.source-ai-financial-hero {
  position: relative;
  min-height: 326px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 27%, rgba(27, 220, 164, 0.42) 0 2.5%, transparent 2.7%),
    radial-gradient(circle at 90% 53%, rgba(126, 231, 255, 0.35) 0 1.8%, transparent 2%),
    radial-gradient(circle at 70% 44%, rgba(247, 181, 72, 0.25) 0 2.2%, transparent 2.4%),
    linear-gradient(112deg, #657bed 0%, #6a6cdf 44%, #7b4bab 100%);
  box-shadow: 0 18px 44px rgba(93, 80, 180, 0.18);
}

.source-ai-financial-hero > div {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 56px 48px;
  color: #fff;
}

.source-ai-financial-hero h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0;
}

.source-ai-financial-hero p {
  margin: 28px 0 46px;
  font-size: 16px;
  font-weight: 700;
}

.source-ai-financial-hero button {
  width: min(690px, 100%);
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.source-ai-financial-hero > i {
  position: absolute;
  right: 80px;
  top: 72px;
  width: 210px;
  height: 160px;
  transform: rotate(-17deg);
  border-radius: 18px;
  background:
    radial-gradient(circle at 69% 38%, #f8ba45 0 17%, #26334a 17.5% 18.5%, transparent 19%),
    radial-gradient(circle at 68% 39%, transparent 0 26%, rgba(45, 223, 151, 0.92) 27% 36%, transparent 36.8%),
    radial-gradient(circle at 32% 60%, rgba(68, 160, 190, 0.85) 0 9%, transparent 9.8%),
    linear-gradient(135deg, #29344d, #111827);
  box-shadow: 0 22px 42px rgba(17, 24, 39, 0.28);
}

.source-ai-financial-hero > i::before,
.source-ai-financial-hero > i::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(45, 223, 151, 0.35);
  box-shadow:
    -90px 12px 0 rgba(255, 214, 102, 0.48),
    72px 70px 0 rgba(103, 232, 249, 0.38),
    -34px 108px 0 rgba(255, 255, 255, 0.24);
}

.source-ai-financial-hero > i::before {
  left: -54px;
  top: -24px;
  width: 28px;
  height: 28px;
}

.source-ai-financial-hero > i::after {
  right: -34px;
  top: 78px;
  width: 22px;
  height: 22px;
}

.source-ai-financial-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1.18fr;
  gap: 18px;
  margin: 38px 0 30px;
}

.source-ai-financial-tabs button {
  min-height: 46px;
  border: 1px solid #d9dce3;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 15px;
}

.source-ai-financial-tabs button.active {
  background: #050505;
  color: #fff;
}

.source-ai-financial-tabs button.holdings {
  border-color: #4269ea;
  background: #4269ea;
  color: #fff;
  font-weight: 700;
}

.source-ai-financial-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.source-ai-financial-promos article {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  border-radius: 10px;
  padding: 22px 26px;
  background:
    radial-gradient(circle at 82% 67%, rgba(16, 232, 178, 0.22) 0 11%, transparent 11.8%),
    linear-gradient(112deg, #073c9d, #102b77 54%, #0a1631);
  color: #fff;
}

.source-ai-financial-promos article:nth-child(2) {
  background:
    radial-gradient(circle at 85% 61%, rgba(16, 232, 178, 0.18) 0 12%, transparent 12.8%),
    linear-gradient(112deg, #171534, #32205f 54%, #0b1026);
}

.source-ai-financial-promos strong {
  display: block;
  position: relative;
  z-index: 1;
  color: #10e8b2;
  font-size: 28px;
  line-height: 1.15;
}

.source-ai-financial-promos span {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 26px;
  line-height: 1.18;
}

.source-ai-financial-promos i {
  position: absolute;
  right: 36px;
  bottom: 18px;
  width: 130px;
  height: 110px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(74, 222, 128, 0.9) 0 24%, transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.03));
  box-shadow: inset -18px -16px 0 rgba(19, 25, 52, 0.26), 0 18px 34px rgba(0, 0, 0, 0.2);
  transform: rotate(-12deg);
}

.source-ai-financial-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 26px;
}

.source-ai-financial-products article {
  border: 1px solid #e1e5ec;
  border-radius: 8px;
  padding: 28px 28px 24px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.source-ai-financial-products header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}

.source-ai-financial-products h2 {
  margin: 0;
  flex: 1;
  font-size: 22px;
  line-height: 1.25;
}

.source-ai-financial-products header span {
  border-radius: 4px;
  padding: 5px 9px;
  background: #0fc972;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.source-ai-financial-products header span + span {
  background: #1f8bff;
}

.source-ai-financial-return {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: end;
  gap: 18px;
  min-height: 82px;
  border-bottom: 1px solid #e8ebf0;
  padding-bottom: 20px;
}

.source-ai-financial-return p {
  margin: 0;
}

.source-ai-financial-return span,
.source-ai-financial-products dt {
  display: block;
  color: #8b95a5;
  font-size: 13px;
}

.source-ai-financial-return strong {
  display: block;
  margin-top: 14px;
  color: #10b76e;
  font-size: 26px;
  line-height: 1;
}

.source-ai-financial-return svg {
  width: 100%;
  height: 58px;
}

.source-ai-financial-return path {
  fill: none;
  stroke: #8ae04f;
  stroke-width: 5;
  stroke-linecap: round;
}

.source-ai-financial-products dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 22px;
}

.source-ai-financial-products dd {
  margin: 12px 0 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.source-ai-financial-products form button {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  font-size: 15px;
}

.source-ai-financial-amount input {
  min-height: 44px;
}

.source-ai-financial-products article > p {
  margin: 14px 0 0;
  color: #a1a8b3;
  text-align: center;
  font-size: 12px;
}

.source-ai-financial-order-state {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.source-ai-financial-footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding-left: max(24px, calc((100vw - 1160px) / 2));
  padding-right: max(24px, calc((100vw - 1160px) / 2));
  margin-top: 0;
  border-top: 1px solid #e5e7eb;
}

.source-etf-news {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.source-etf-news .section-title {
  margin: 0;
}

.source-etf-news ol {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-etf-news li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  color: #111827;
}

.source-etf-news time {
  color: #6b7280;
  font-size: 12px;
  white-space: nowrap;
}

.source-etf-news p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.business-products article,
.loan-partner-list article,
.subscribe-products article,
.charity-projects article {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.charity-projects {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  margin: 34px 0;
}

.charity-projects article {
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: end;
  min-height: 270px;
  padding: 28px;
}

.charity-projects article > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  grid-column: 1 / -1;
  gap: 18px;
  align-items: start;
}

.charity-projects article > div:first-child small,
.charity-projects article > div:first-child h2,
.charity-projects article > div:first-child p {
  grid-column: 1 / 2;
}

.source-charity-project-media {
  grid-column: 2 / 3;
  grid-row: 1 / span 3;
  width: 136px;
  aspect-ratio: 1;
  justify-self: end;
  margin: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, #f1c8aa 0 13%, transparent 13.5%),
    linear-gradient(145deg, transparent 0 46%, #1f2937 46% 54%, transparent 54%),
    radial-gradient(circle at 50% 56%, #f4f8ff 0 28%, transparent 29%),
    linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.source-charity-project-progress {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  align-self: end;
}

.source-charity-project-progress span {
  color: #111827;
  font-size: 14px;
}

.source-charity-project-progress b {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #eef1f5;
  overflow: hidden;
}

.source-charity-project-progress b::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--source-charity-progress, 30%);
  content: "";
  border-radius: inherit;
  background: #050505;
}

.charity-projects article > button {
  grid-column: 1 / -1;
  min-height: 38px;
  border-radius: 999px;
}

.business-products small,
.loan-partner-list small,
.subscribe-products small,
.charity-projects small {
  color: #2563eb;
  text-transform: uppercase;
}

.business-products h2,
.business-products p,
.loan-partner-list h2,
.loan-partner-list p,
.subscribe-products h2,
.subscribe-products p,
.charity-projects h2,
.charity-projects p {
  margin: 0;
  overflow-wrap: anywhere;
}

.business-products dl,
.loan-partner-list dl,
.subscribe-products dl,
.charity-projects dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.business-products dt,
.loan-partner-list dt,
.subscribe-products dt,
.charity-projects dt {
  color: #6b7280;
  font-size: 12px;
}

.business-products dd,
.loan-partner-list dd,
.subscribe-products dd,
.charity-projects dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.business-products form,
.loan-partner-list form,
.subscribe-products form,
.charity-projects form {
  display: grid;
  gap: 10px;
}

.business-products input,
.loan-partner-list input,
.subscribe-products input,
.charity-projects input {
  height: 42px;
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  padding: 0 12px;
}

.subscription-window {
  color: #6b7280;
  font-size: 13px;
}

.source-ipo-tabs,
.source-ipo-summary,
.charity-source-kpis {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.source-ipo-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.source-ico-page {
  background: #f6f7fb;
  color: #111827;
}

.source-ico-hero {
  display: grid;
  min-height: 220px;
  align-items: end;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(14, 19, 31, 0.88)),
    radial-gradient(circle at 78% 26%, rgba(59, 130, 246, 0.45), transparent 28%),
    radial-gradient(circle at 26% 72%, rgba(16, 185, 129, 0.32), transparent 34%);
  color: #fff;
}

.source-ico-hero span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #dbeafe;
  font-size: 13px;
}

.source-ico-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.source-ico-hero p {
  margin: 12px 0 0;
  color: #c7d2fe;
  font-size: 18px;
}

.source-ico-tabs {
  display: flex;
  gap: 10px;
  margin: 18px 0;
  overflow-x: auto;
}

.source-ico-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-weight: 700;
  white-space: nowrap;
}

.source-ico-tabs button[aria-selected="true"] {
  background: #111827;
  color: #fff;
}

.source-ico-products,
.source-ico-market {
  padding: 18px;
  margin-bottom: 18px;
  background: #fff;
}

.source-ico-products .section-title span,
.source-ico-product-grid article span,
.source-ico-product-grid article p,
.source-ico-product-grid article small {
  color: #6b7280;
}

.source-ico-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.source-ico-product-grid article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.source-ico-product-grid article div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.source-ico-product-grid meter {
  width: 100%;
  height: 8px;
}

.source-ico-market table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.source-ico-market th,
.source-ico-market td {
  padding: 13px 10px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.source-ico-market th {
  color: #6b7280;
  font-weight: 700;
}

.source-ico-market .up {
  color: #16a34a;
}

.source-ico-market .down {
  color: #dc2626;
}

.source-news-index-page {
  min-height: 100vh;
  padding-bottom: 56px;
  background: #f6f7fb;
  color: #111827;
}

.source-news-disclaimer,
.source-news-list,
.source-news-more {
  width: min(960px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.source-news-disclaimer {
  margin-top: 28px;
  padding: 28px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.source-news-disclaimer span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #246bfe;
  font-size: 13px;
  font-weight: 700;
}

.source-news-disclaimer h1 {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.source-news-disclaimer p {
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
}

.source-news-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.source-news-list article {
  padding: 20px 22px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.source-news-list time {
  display: block;
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.5;
}

.source-news-list h2 {
  margin: 8px 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.source-news-list p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
}

.source-news-more {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: #246bfe;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.source-ipo-hot {
  min-width: 0;
  margin: 22px 0 28px;
  padding: 18px 22px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.source-ipo-hot > div {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.source-ipo-hot strong {
  font-size: 16px;
}

.source-ipo-hot span {
  color: #667085;
  font-size: 12px;
}

.source-ipo-hot svg {
  display: block;
  width: 100%;
  min-height: 230px;
}

.source-ipo-mobile-tabs,
.source-ipo-mobile-tabs button {
  display: none;
}

.source-ipo-tabs span,
.source-ipo-tabs button {
  border: 1px solid #d9dfe8;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  background: #fff;
}

.source-ipo-tabs button {
  cursor: pointer;
}

.source-ipo-tabs button.active {
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: inset 0 -2px 0 #2563eb;
}

.source-ipo-summary,
.charity-source-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.charity-source-kpis {
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(180px, .65fr));
  align-items: stretch;
  margin: 0 0 34px;
}

.charity-source-kpis article {
  min-height: 182px;
}

.charity-source-kpis article:not(.source-charity-donut) {
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 4px;
  border: 0;
}

.charity-source-kpis article:not(.source-charity-donut) strong {
  order: 0;
  margin: 0;
  color: #050505;
  font-size: 28px;
}

.charity-source-kpis article:not(.source-charity-donut) span {
  order: 1;
  color: #667085;
}

.source-charity-donut {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.source-charity-donut > div {
  width: 176px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#8a7416 0 82%, #168a48 82% 100%);
  position: relative;
}

.source-charity-donut > div::after {
  position: absolute;
  inset: 48px;
  content: "";
  border-radius: 50%;
  background: #fff;
}

.source-charity-donut dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.source-charity-donut dt {
  color: #111827;
  font-size: 14px;
}

.source-charity-donut dd {
  margin: 4px 0 0;
  color: #050505;
  font-size: 24px;
  font-weight: 800;
}

.source-charity-donut i {
  display: inline-block;
  width: 28px;
  height: 12px;
  margin-right: 8px;
  border-radius: 2px;
  background: #8a7416;
  vertical-align: -1px;
}

.source-charity-donut dl div:nth-child(3) i {
  background: #168a48;
}

.source-ipo-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 28px;
}

.source-ipo-board article,
.source-ipo-prospectus {
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.source-ipo-board article {
  display: grid;
  gap: 10px;
  min-height: 260px;
}

.source-ipo-board div,
.source-ipo-prospectus {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.source-ipo-board span,
.source-ipo-prospectus span {
  color: #111827;
  font-weight: 700;
}

.source-ipo-board button,
.ghost-button {
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  background: #fff;
  color: #2563eb;
  cursor: pointer;
  font-weight: 700;
  padding: 8px 10px;
}

.source-ipo-board p,
.source-ipo-prospectus p {
  margin: 0;
  color: #6b7280;
  overflow-wrap: anywhere;
}

.source-ipo-subscription-card > article {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 0;
  border: 0;
}

.source-ipo-subscription-card strong,
.source-ipo-subscription-card small {
  display: block;
}

.source-ipo-subscription-card small {
  color: #667085;
}

.source-ipo-subscription-card dl,
.source-ipo-order-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.source-ipo-order-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 14px;
  border: 1px solid #edf0f5;
  border-radius: 6px;
}

.source-ipo-subscription-card dt,
.source-ipo-order-card dt {
  color: #667085;
  font-size: 12px;
}

.source-ipo-subscription-card dd,
.source-ipo-order-card dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.source-ipo-subscription-card form {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(150px, 2fr);
  gap: 10px;
}

.source-ipo-subscription-card input {
  min-height: 40px;
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  padding: 0 10px;
}

.source-ipo-product-list {
  display: grid;
  gap: 8px;
  max-height: 238px;
  overflow: auto;
  padding-right: 2px;
}

.source-ipo-product-list button {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(70px, 0.8fr) minmax(56px, auto);
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  color: #111827;
  text-align: left;
}

.source-ipo-product-list strong,
.source-ipo-product-list small,
.source-ipo-product-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-ipo-product-list span {
  justify-self: end;
  color: #2563eb;
  font-weight: 700;
}

.source-ipo-history-card h2 {
  margin: 0;
  font-size: 0;
}

.source-ipo-history-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.source-ipo-history-card th,
.source-ipo-history-card td {
  padding: 8px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
}

.source-empty-copy {
  align-self: center;
  justify-self: center;
  color: #8a94a6;
}

.source-ipo-detail-products,
.source-ipo-detail-orders {
  display: none;
}

.source-ipo-route-hidden {
  display: none;
}

.source-ipo-prospectus {
  margin: 18px 0;
}

.source-ipo-prospectus dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.source-ipo-prospectus dt {
  color: #6b7280;
  font-size: 12px;
}

.source-ipo-prospectus dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.source-ipo-potential-stocks,
.source-ipo-news {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  min-width: 0;
}

.source-ipo-potential-stocks .section-title {
  align-items: flex-end;
}

.source-ipo-potential-stocks .section-title p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.source-ipo-potential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.source-ipo-potential-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.source-ipo-potential-grid strong,
.source-ipo-potential-grid span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-ipo-potential-grid span {
  color: #6b7280;
  font-size: 13px;
}

.source-ipo-potential-grid b,
.source-ipo-potential-grid em {
  justify-self: end;
  font-style: normal;
  font-weight: 700;
}

.source-ipo-potential-grid .up em {
  color: #16a263;
}

.source-ipo-potential-grid .down em {
  color: #e85265;
}

.source-ipo-news-type {
  width: max-content;
  border-bottom: 2px solid #111827;
  padding-bottom: 6px;
  font-weight: 700;
}

.source-ipo-news ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-ipo-news li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid #edf0f4;
  padding: 0 0 10px;
}

.source-ipo-news time {
  color: #6b7280;
  font-size: 13px;
}

.source-ipo-news p {
  margin: 0;
  overflow-wrap: anywhere;
}

.charity-donation-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 18px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
}

.charity-donation-panel span {
  color: #2563eb;
  font-weight: 700;
}

.charity-donation-panel strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 20px;
}

.charity-donation-panel p {
  margin: 8px 0 0;
  color: #6b7280;
}

.charity-donation-panel form {
  display: grid;
  gap: 12px;
}

.charity-donation-panel label {
  display: grid;
  gap: 6px;
  color: #4b5563;
  font-weight: 700;
}

.charity-donation-panel input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
  font-weight: 400;
}

.charity-donation-amount-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.charity-donation-amount-field b {
  color: #111827;
  font-size: 13px;
}

.charity-donation-panel form > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.asset-message.warning {
  border-color: #fecaca;
  background: #fff1f2;
  color: #be123c;
}

.source-ipo-summary article,
.charity-source-kpis article {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.source-ipo-summary span,
.charity-source-kpis span {
  display: block;
  color: #6b7280;
  font-size: 13px;
}

.source-ipo-summary strong,
.charity-source-kpis strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.charity-source-kpis .source-charity-donut {
  border: 0;
  padding: 0;
  background: transparent;
}

.charity-source-kpis .source-charity-donut span,
.charity-source-kpis .source-charity-donut strong {
  margin: 0;
}

.asset-kpis strong {
  font-size: 24px;
}

.asset-table {
  margin-top: 24px;
  overflow-x: auto;
}

.asset-message {
  margin: 18px 0 0;
  padding: 12px 16px;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  color: #166534;
  background: #f0fdf4;
}

.asset-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.asset-forms form {
  display: grid;
  gap: 14px;
}

.asset-forms h2 {
  margin: 0;
}

.asset-forms label {
  display: grid;
  gap: 8px;
  color: #4b5563;
}

.asset-forms input,
.asset-forms select {
  min-height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
}

.deposit-address-list {
  display: grid;
  gap: 8px;
}

.deposit-address-list p {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
}

.deposit-address-list strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  color: #111827;
}

.deposit-address-list small {
  justify-self: end;
  color: #6b7280;
}

.asset-table h2 {
  margin: 0 0 18px;
}

.source-asset-records-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 22px;
}

.source-asset-records-page {
  max-width: 1180px;
}

.source-asset-mobile-top {
  display: none;
}

.source-asset-records-page header {
  align-items: flex-start;
  margin-bottom: 40px;
  padding: 0;
  border-radius: 0;
  color: #050505;
  background: transparent;
}

.source-asset-records-page header h1 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.25;
}

.source-asset-records-page .asset-table {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow-x: visible;
}

.source-asset-records-page table {
  overflow: hidden;
  border: 1px solid #d9dce3;
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.source-asset-records-page th {
  padding: 14px 24px;
  color: #8b95a1;
  background: #f5f5f5;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
}

.source-asset-records-page td {
  border: 0;
  color: #606a78;
  text-align: center;
}

.source-asset-records-page tbody tr + tr td {
  border-top: 1px solid #eef0f3;
}

.source-asset-change-link {
  min-height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #8b95a1;
}

.source-asset-record-total {
  align-self: end;
  margin-bottom: 2px;
  color: #667085;
  font-size: 14px;
}

.source-asset-record-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}

.source-asset-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-asset-category-tabs button {
  min-width: 154px;
  min-height: 40px;
  border: 1px solid #d9dce3;
  border-radius: 999px;
  padding: 0 28px 0 22px;
  color: #0c0c0f;
  background: #fff;
  font-weight: 700;
  position: relative;
}

.source-asset-category-tabs button span {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #b5bcc6;
  transform: translateY(-35%);
}

.source-asset-category-tabs button.active {
  border-color: #d9dce3;
  color: #0c0c0f;
  background: #fff;
}

.source-asset-type-filter {
  min-width: 68px;
  min-height: 40px;
  border: 1px solid #d9dce3;
  border-radius: 999px;
  padding: 0 20px;
  background: #fff;
  color: #0c0c0f;
  font-weight: 700;
}

.source-asset-search {
  display: none;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.source-asset-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 14px 0 42px;
  background: #ffffff;
}

.source-asset-search::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin-left: 14px;
  border: 1.8px solid #7c8797;
  border-radius: 50%;
  box-sizing: border-box;
}

.source-asset-search::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.8px;
  margin-left: 27px;
  margin-top: 14px;
  background: #7c8797;
  transform: rotate(45deg);
}

.source-asset-filter-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(135deg, transparent 0 42%, #0c0c0f 42% 52%, transparent 52%) 1px 1px / 18px 18px no-repeat,
    linear-gradient(45deg, transparent 0 42%, #0c0c0f 42% 52%, transparent 52%) 1px 1px / 18px 18px no-repeat;
  clip-path: polygon(4% 8%, 96% 8%, 61% 47%, 61% 88%, 40% 96%, 40% 47%);
}

.source-empty-state {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 236px;
  color: #8b95a1;
}

.source-empty-state span {
  width: 140px;
  height: 106px;
  opacity: .72;
  background: url("data:image/svg+xml,%3Csvg width='140' height='106' viewBox='0 0 140 106' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M70 23L124 4L94 35L70 23Z' fill='%23f8f8f8' stroke='%23969ba1' stroke-width='1.5'/%3E%3Cpath d='M70 23L82 55L94 35M70 23L100 25' stroke='%23969ba1' stroke-width='1.5'/%3E%3Cpath d='M54 46H84V68H54V46Z' fill='white' stroke='%23b8bdc2' stroke-width='1.5'/%3E%3Cpath d='M42 61H98V96H42V61Z' fill='%23f7f7f7' stroke='%23b8bdc2' stroke-width='1.5'/%3E%3Cpath d='M52 74H88M57 85H83' stroke='%23a7adb3' stroke-width='1.5'/%3E%3Cpath d='M28 97H112' stroke='%23969ba1' stroke-width='1.5'/%3E%3Ccircle cx='91' cy='54' r='7' fill='%23dbe8c1' stroke='%2397ad72' stroke-width='1.2'/%3E%3Cpath d='M88 54.2L90.3 56.5L94.5 51.8' stroke='%237ea24f' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M24 51C23 48 24 45 27 44M35 39C36 36 39 35 42 36M39 50C42 49 45 50 47 52' stroke='%23c2c6ca' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.source-empty-state p {
  margin: 0;
}

.source-record-main {
  background: #fff;
}

.source-record-page {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 44px;
}

.source-record-page > h1 {
  margin: 0 0 34px;
  color: #000;
  font-size: 30px;
  line-height: 1.25;
}

.source-record-card {
  min-height: 420px;
  padding: 36px 40px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
}

.source-record-card-tabs {
  padding: 0 0 18px;
  border-bottom: 1px solid #dedede;
  gap: 22px;
}

.source-record-card-tabs button {
  min-height: 26px;
  padding: 0;
  border-bottom: 0;
  color: #8b929d;
  font-size: 15px;
  font-weight: 400;
}

.source-record-card-tabs button.active {
  color: #000;
  font-weight: 700;
}

.source-record-card .source-empty-state {
  min-height: 292px;
}

.source-record-table {
  margin-top: 28px;
}

.source-record-table table {
  overflow: hidden;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  border-collapse: separate;
  border-spacing: 0;
}

.source-record-table th {
  padding: 14px 18px;
  background: #f5f5f5;
  color: #8b95a1;
  font-size: 14px;
  font-weight: 400;
}

.source-record-table td {
  border-color: #edf0f4;
  color: #606a78;
}

.source-record-mobile-top {
  display: none;
}

.source-record-footer {
  margin-top: 130px;
  background: #fff;
}

.markets-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.market-overview-page {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 0 64px;
}

.market-overview-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: none;
}

.market-overview-tabs::-webkit-scrollbar {
  display: none;
}

.market-overview-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  padding: 10px 0 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.market-overview-tabs button.active {
  box-shadow: inset 0 -3px 0 #000000;
  color: #000000;
  font-weight: 700;
}

.market-overview-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
}

.market-overview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #111827;
  font-weight: 800;
}

.market-overview-title small {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.market-overview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.market-overview-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  border: 1px solid #eef2f7;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  padding: 14px 16px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.09);
}

.market-overview-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.market-overview-list i {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  color: #000000;
}

.market-overview-empty {
  grid-column: 1 / -1;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  color: #6b7280;
  padding: 22px;
  text-align: center;
}

.add-favorite-button {
  justify-self: center;
  min-width: 194px;
  border: 0;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
}

.market-message {
  justify-self: center;
  margin: -8px 0 0;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.add-favorite-button {
  width: 100%;
  min-height: 48px;
  border: 1px solid #111827;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.markets-page .section-title h1 {
  margin: 0;
  font-size: 36px;
}

.market-plate-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.market-plate-tabs button,
.market-plate-tabs span {
  border: 1px solid #d9e0ec;
  border-radius: 6px;
  background: #ffffff;
  color: #243044;
  min-height: 34px;
  padding: 0 12px;
  font-size: 14px;
}

.market-plate-tabs span {
  display: inline-flex;
  align-items: center;
  color: #7b8798;
}

.market-live-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 8px 0 0;
  color: #7b8798;
  font-size: 12px;
  line-height: 1.4;
}

.market-live-status span {
  white-space: nowrap;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.source-trade-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 380px);
  align-items: start;
  gap: 20px;
}

.source-contract-price-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-top: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
  font-size: 13px;
}

.source-contract-price-strip strong {
  color: #111827;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.source-contract-shell {
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 390px);
}

.source-contract-chart {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(210px, 260px);
  align-items: stretch;
  gap: 0;
}

.source-contract-orderbook-panel {
  min-width: 0;
  padding: 14px 0 0 14px;
  background: #fff;
}

.source-kline-placeholder {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(148, 163, 184, 0.16) 45px 46px);
}

.source-kline-placeholder div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
}

.source-kline-placeholder strong {
  font-size: 28px;
  color: #111827;
}

.source-kline-placeholder p {
  max-width: 520px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.source-contract-kline {
  align-content: stretch;
  grid-template-rows: auto minmax(330px, 1fr);
  padding: 0;
  overflow: hidden;
}

.source-contract-kline-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid #e5e7eb;
  color: #0f172a;
  font-size: 12px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

.source-contract-kline-toolbar strong {
  flex: 0 0 auto;
  color: #111827;
  font-size: 14px;
}

.source-contract-kline-toolbar button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #0f172a;
  font: inherit;
}

.source-contract-kline-toolbar span {
  flex: 0 0 auto;
  margin-left: auto;
  color: #64748b;
}

.source-contract-chart-grid {
  position: relative;
  min-height: 330px;
  padding: 30px 64px 88px 44px;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 42px, #e5e7eb 43px 44px),
    repeating-linear-gradient(90deg, transparent 0 84px, #f1f5f9 85px 86px);
}

.source-contract-chart-grid i {
  position: absolute;
  left: 16%;
  right: 14%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, #ef4444, #22c55e 48%, #ef4444);
  transform: skewY(-8deg);
}

.source-contract-chart-grid b {
  position: absolute;
  inset: 30px 64px 88px 44px;
  border-left: 1px solid #cfd8e3;
  border-bottom: 1px solid #cfd8e3;
}

.source-contract-chart-tools {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34px;
  border-right: 1px solid #edf1f7;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 15px;
  padding-top: 50px;
  background: rgba(255, 255, 255, 0.72);
}

.source-contract-chart-tools span {
  position: relative;
  width: 20px;
  height: 20px;
  border: 0;
  color: #7c8798;
  transform: none;
  opacity: 0.85;
}

.source-contract-chart-tools span::before,
.source-contract-chart-tools span::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.source-contract-chart-tools span:nth-child(1)::before {
  left: 2px;
  right: 2px;
  top: 9px;
  border-top: 2px solid currentColor;
}

.source-contract-chart-tools span:nth-child(1)::after {
  left: 9px;
  top: 2px;
  bottom: 2px;
  border-left: 2px solid currentColor;
}

.source-contract-chart-tools span:nth-child(2)::before {
  left: 3px;
  top: 15px;
  width: 17px;
  border-top: 2px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.source-contract-chart-tools span:nth-child(2)::after {
  left: 4px;
  top: 5px;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.source-contract-chart-tools span:nth-child(3)::before {
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.source-contract-chart-tools span:nth-child(3)::after {
  right: 1px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.source-contract-chart-tools span:nth-child(4)::before {
  left: 2px;
  top: 5px;
  width: 16px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.source-contract-chart-tools span:nth-child(4)::after {
  left: 2px;
  top: 9px;
  width: 16px;
  border-top: 2px solid currentColor;
}

.source-contract-chart-tools span:nth-child(5)::before {
  inset: 3px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.source-contract-chart-tools span:nth-child(5)::after {
  left: 9px;
  top: 1px;
  bottom: 1px;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.source-contract-chart-tools span:nth-child(6)::before {
  left: 3px;
  top: 6px;
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.source-contract-chart-tools span:nth-child(6)::after {
  left: 6px;
  top: 1px;
  width: 8px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.source-contract-chart-tools span:nth-child(7)::before {
  left: 5px;
  right: 5px;
  bottom: 2px;
  height: 13px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.source-contract-chart-tools span:nth-child(7)::after {
  left: 3px;
  right: 3px;
  top: 3px;
  border-top: 2px solid currentColor;
  box-shadow: 5px -3px 0 -1px currentColor, 9px -3px 0 -1px currentColor;
}

.source-contract-ma-row {
  position: absolute;
  left: 46px;
  top: 10px;
  right: 72px;
  display: flex;
  gap: 14px;
  overflow: hidden;
  color: #7c8798;
  font-size: 10px;
  white-space: nowrap;
}

.source-contract-ma-row span:nth-child(1),
.source-contract-volume-pane span {
  color: #f59e0b;
}

.source-contract-ma-row span:nth-child(2) {
  color: #8b5cf6;
}

.source-contract-ma-row span:nth-child(3) {
  color: #2563eb;
}

.source-contract-ma-row span:nth-child(4) {
  color: #e11d48;
}

.source-contract-price-scale {
  position: absolute;
  top: 44px;
  right: 8px;
  bottom: 100px;
  display: grid !important;
  align-content: space-between;
  gap: 0 !important;
  color: #7c8798;
  font-size: 10px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.source-contract-volume-pane {
  position: absolute;
  left: 44px;
  right: 64px;
  bottom: 0;
  height: 82px;
  border-top: 1px solid #d8dee8;
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 18px 10px 8px;
  background:
    repeating-linear-gradient(0deg, transparent 0 25px, #eef2f7 26px 27px),
    rgba(255, 255, 255, 0.5);
}

.source-contract-volume-pane span {
  position: absolute;
  left: 10px;
  top: 5px;
  font-size: 10px;
}

.source-contract-volume-pane em {
  flex: 1 1 0;
  min-width: 4px;
  max-width: 16px;
  height: 18px;
  background: #22c55e;
  font-style: normal;
}

.source-contract-volume-pane em:nth-of-type(2n) {
  height: 34px;
  background: #ef476f;
}

.source-contract-volume-pane em:nth-of-type(3n) {
  height: 52px;
}

.source-contract-ticket {
  gap: 12px;
}

.source-trade-ticket.source-contract-ticket {
  border: 1px solid #e2e7ef;
  border-radius: 6px;
  padding: 14px 24px 20px;
}

.source-contract-ticket label:not(.source-contract-stop):not(.source-contract-volume-row) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 42px;
  border: 1px solid #dce2eb;
  border-radius: 4px;
  background: #fff;
  padding: 0 14px;
  color: #606a78;
}

.source-contract-ticket label:not(.source-contract-stop):not(.source-contract-volume-row) input,
.source-contract-ticket label:not(.source-contract-stop):not(.source-contract-volume-row) select {
  min-height: 40px;
  border: 0;
  background: transparent;
  text-align: right;
  color: #111827;
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.source-contract-ticket .source-order-type-trigger,
.source-contract-ticket .source-market-price-row {
  min-height: 42px;
  border-color: #dce2eb;
  border-radius: 4px;
  background: #fbfcfe;
}

.source-contract-ticket .source-balance-row {
  min-height: 22px;
  color: #606a78;
  font-size: 13px;
  line-height: 1.25;
}

.source-contract-ticket .source-balance-row b {
  color: #435064;
  font-weight: 700;
  text-align: right;
}

.source-contract-ticket .source-contract-percent-buttons {
  gap: 8px;
  margin-bottom: 0;
}

.source-contract-ticket .source-contract-percent-buttons button {
  min-height: 34px;
  border-color: #dce2eb;
  border-radius: 4px;
  color: #8a94a6;
  background: #fff;
  font-size: 13px;
}

.source-contract-ticket .source-contract-percent-buttons button.active,
.source-contract-ticket .source-contract-percent-buttons button[aria-pressed="true"] {
  border-color: #22a853;
  color: #22a853;
  background: #f0fbf5;
}

.source-contract-ticket .primary-black {
  background: #22a853;
}

.source-contract-ticket .sell-submit {
  background: #e85265;
}

.source-contract-volume-row {
  display: grid;
  gap: 0;
}

.source-contract-volume-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.source-contract-volume-stepper {
  min-height: 44px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  overflow: hidden;
  border: 1px solid #dce2eb;
  border-radius: 6px;
  background: #fff;
}

.source-contract-volume-stepper button {
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: #fff;
  color: #000;
  font-size: 0;
  font-weight: 800;
  line-height: 1;
}

.source-contract-volume-stepper button::before {
  content: attr(aria-label);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.source-contract-volume-stepper button[data-contract-volume-step="-1"]::before {
  content: "-";
}

.source-contract-volume-stepper button[data-contract-volume-step="1"]::before {
  content: "+";
}

.source-contract-volume-stepper input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-left: 1px solid #eef2f7;
  border-right: 1px solid #eef2f7;
  border-radius: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.source-contract-price-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #dce2eb;
  border-radius: 4px;
}

.source-contract-price-types button {
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #606266;
}

.source-contract-price-types button + button {
  border-left: 1px solid #dce2eb;
}

.source-contract-price-types button.active {
  background: #111827;
  color: #fff;
}

.source-contract-cancel-order {
  min-width: 68px;
  min-height: 32px;
  border: 1px solid #e85265;
  border-radius: 4px;
  background: #fff;
  color: #e85265;
  cursor: pointer;
}

.source-contract-cancel-order:disabled {
  cursor: wait;
  opacity: 0.6;
}

.source-contract-stop {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px !important;
  min-height: 44px;
  cursor: pointer;
  color: #374151;
}

.source-contract-stop input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.source-contract-stop i {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #cfd5dd;
  transition: background 160ms ease;
}

.source-contract-stop i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
  transition: transform 160ms ease;
}

.source-contract-stop input:checked + i {
  background: #22a853;
}

.source-contract-stop input:checked + i::after {
  transform: translateX(18px);
}

.source-contract-stop-fields {
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
}

.source-contract-stop-fields.open {
  display: grid;
}

.source-contract-stop-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 1.2fr);
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #dce2eb;
  border-radius: 4px;
  background: #fbfcfe;
  color: #606a78;
  font-size: 13px;
}

.source-contract-stop-field input {
  min-width: 0;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #111827;
  text-align: right;
  font: inherit;
}

.source-contract-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.source-delivery-ticket h3 {
  margin: 0;
  color: #606a78;
  font-size: 14px;
  line-height: 1.4;
}

.source-delivery-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dce2eb;
  border-radius: 4px;
}

.source-delivery-options button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid #dce2eb;
  border-bottom: 1px solid #dce2eb;
  border-radius: 0;
  background: #fff;
  color: #6b7280;
  font-size: 13px;
}

.source-delivery-options button:nth-child(2n) {
  border-right: 0;
}

.source-delivery-options button.active {
  background: #f0fbf5;
  color: #22a853;
  font-weight: 700;
}

.source-delivery-options p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 10px;
  text-align: center;
  color: #9ca3af;
}

.source-delivery-amount {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 8px !important;
  min-height: 42px;
  border: 1px solid #dce2eb;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
}

.source-delivery-amount input {
  min-width: 0;
  min-height: 40px;
  border: 0 !important;
  background: transparent;
  color: #111827;
}

.source-delivery-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.source-contract-records .asset-table table {
  min-width: 860px;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}

.source-contract-records .asset-table h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
}

.source-contract-records .asset-table th,
.source-contract-records .asset-table td {
  height: 48px;
  padding: 8px 10px;
  border-color: #edf1f6;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.source-contract-records .asset-table th {
  background: #050505;
  color: #fff;
  font-weight: 600;
}

.source-contract-records .asset-table td {
  color: #606a78;
  font-variant-numeric: tabular-nums;
}

.source-contract-records .asset-table tbody tr:nth-child(even) td {
  background: #fafafa;
}

.contract-page,
.source-contract-shell,
.source-contract-records,
.source-contract-records .asset-table {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.source-contract-records .asset-table {
  overflow-x: auto;
}

.source-contract-market-strip {
  min-height: 78px;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(260px, max-content) minmax(160px, 220px) minmax(420px, 1fr);
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.source-contract-symbol strong,
.source-contract-symbol small,
.source-contract-price strong,
.source-contract-price span {
  display: block;
}

.source-contract-symbol strong {
  position: relative;
  display: inline-block;
  padding-right: 26px;
  color: #000;
  font-size: 28px;
  white-space: nowrap;
}

.source-contract-symbol strong::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #8a94a6;
  transform: translateY(-35%);
}

.source-contract-symbol small {
  margin-top: 6px;
}

.source-contract-price strong {
  color: #27a85b;
  font-size: 32px;
}

.source-contract-price span {
  margin-top: 4px;
  color: #16a263;
}

.source-contract-market-strip dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.source-contract-market-strip dt {
  color: #8a94a6;
  font-size: 12px;
}

.source-contract-market-strip dd {
  margin: 8px 0 0;
  color: #111827;
  font-weight: 700;
  font-size: 13px;
}

.source-hidden-contract-price-strip {
  display: none;
}

.source-contract-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.source-contract-mode-tabs button {
  min-height: 56px;
  border: 0;
  border-right: 1px solid #e5e7eb;
  background: #fff;
  color: #9ca3af;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
}

.source-contract-mode-tabs button:last-child {
  border-right: 0;
}

.source-contract-mode-tabs button.active {
  background: #f8fafc;
  color: #000;
}

.source-contract-leverage {
  position: relative;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #8a94a6;
}

.source-contract-leverage select {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  text-align: right;
}

.source-contract-order-trigger {
  width: 100%;
}

.source-spot-page {
  max-width: none;
  padding: 0 16px 80px;
}

.source-spot-market-strip {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(260px, max-content) minmax(140px, 180px) minmax(420px, 1fr) auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.source-sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.source-spot-symbol strong,
.source-spot-symbol small,
.source-spot-price strong,
.source-spot-price span {
  display: block;
}

.source-spot-symbol strong {
  position: relative;
  display: inline-block;
  padding-right: 26px;
  color: #000;
  font-size: 28px;
  white-space: nowrap;
}

.source-spot-symbol strong::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #8a94a6;
  transform: translateY(-35%);
}

.source-symbol-selector {
  position: relative;
  display: inline-block;
  min-width: 78px;
  margin: 0;
}

.source-mobile-symbol-pair,
.source-mobile-change-badge,
.source-mobile-spot-actions {
  display: none;
}

.source-symbol-selector select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 36px;
  opacity: 0;
  cursor: pointer;
}

.source-spot-symbol small {
  margin-top: 6px;
}

.source-spot-price strong {
  color: #27a85b;
  font-size: 32px;
}

.source-spot-price span {
  margin-top: 4px;
  color: #16a263;
}

.source-spot-market-strip dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.source-spot-market-strip dt {
  color: #8a94a6;
  font-size: 12px;
}

.source-spot-market-strip dd {
  margin: 8px 0 0;
  color: #111827;
  font-weight: 700;
  font-size: 13px;
}

.source-spot-market-strip button {
  border: 0;
  background: transparent;
  color: #111827;
}

.source-market-live-marker,
.source-hidden-openview {
  display: none;
}

.source-spot-mobile-plates {
  display: none;
}

.source-spot-toolbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #e5e7eb;
  color: #0f172a;
}

.source-spot-toolbar button {
  border: 0;
  background: transparent;
  color: #0f172a;
  font: inherit;
  cursor: pointer;
  transition: color 120ms ease, opacity 120ms ease;
}

.source-spot-toolbar button:hover,
.source-spot-toolbar button:focus-visible {
  color: #1d78ff;
  outline: 0;
}

.source-spot-toolbar button:disabled {
  cursor: progress;
  opacity: 0.5;
}

.source-spot-toolbar button.active {
  color: #1d78ff;
  font-weight: 700;
}

.source-trade-dashboard {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 560px;
  min-height: 620px;
}

.source-mobile-trade-tabs {
  display: none;
}

.source-spot-chart {
  min-height: 620px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.source-chart-tools {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 20px;
  padding-top: 20px;
  border-right: 1px solid #e5e7eb;
}

.source-chart-tools button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #7a8799;
  cursor: pointer;
}

.source-chart-tools button:hover,
.source-chart-tools button:focus-visible,
.source-chart-tools button.active,
.source-chart-tools button[aria-pressed="true"] {
  color: #1d78ff;
  background: #eaf2ff;
  outline: 0;
}

.source-chart-tools button:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(29, 120, 255, 0.36);
}

.source-chart-tools button:disabled {
  cursor: not-allowed;
  opacity: 0.32;
}

.source-chart-tools button[data-tooltip] {
  position: relative;
}

.source-chart-tools button[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 8;
  left: calc(100% + 9px);
  top: 50%;
  width: max-content;
  max-width: 180px;
  padding: 6px 8px;
  border: 1px solid #dbe3ee;
  border-radius: 4px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translate(4px, -50%);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.source-chart-tools button[data-tooltip]:hover::after,
.source-chart-tools button[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.source-chart-tools span {
  position: relative;
  width: 22px;
  height: 22px;
  border: 0;
  color: #7a8799;
}

.source-chart-tools span::before,
.source-chart-tools span::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.source-chart-tools button:nth-child(1) span::before {
  left: 2px;
  right: 2px;
  top: 10px;
  border-top: 2px solid currentColor;
}

.source-chart-tools button:nth-child(1) span::after {
  left: 10px;
  top: 2px;
  bottom: 2px;
  border-left: 2px solid currentColor;
}

.source-chart-tools button:nth-child(2) span::before {
  left: 4px;
  top: 16px;
  width: 18px;
  border-top: 2px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.source-chart-tools button:nth-child(2) span::after {
  left: 5px;
  top: 6px;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.source-chart-tools button:nth-child(3) span::before {
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.source-chart-tools button:nth-child(3) span::after {
  right: 1px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.source-chart-tools button:nth-child(4) span::before {
  left: 2px;
  top: 5px;
  width: 18px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.source-chart-tools button:nth-child(4) span::after {
  left: 2px;
  top: 10px;
  width: 18px;
  border-top: 2px solid currentColor;
}

.source-chart-tools button:nth-child(5) span::before {
  inset: 3px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.source-chart-tools button:nth-child(5) span::after {
  left: 10px;
  top: 1px;
  bottom: 1px;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.source-chart-tools button:nth-child(6) span::before {
  left: 3px;
  top: 10px;
  width: 17px;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.source-chart-tools button:nth-child(6) span::after {
  left: 3px;
  top: 10px;
  width: 17px;
  border-top: 2px solid currentColor;
  transform: rotate(-45deg);
}

.source-chart-tools button:nth-child(7) span::before {
  left: 5px;
  right: 5px;
  bottom: 2px;
  height: 14px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.source-chart-tools button:nth-child(7) span::after {
  left: 3px;
  right: 3px;
  top: 3px;
  border-top: 2px solid currentColor;
  box-shadow: 5px -3px 0 -1px currentColor, 9px -3px 0 -1px currentColor;
}

.source-chart-grid {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #fff;
}

.source-spot-chart-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 360px;
  background: #fff;
}

.source-spot-chart-canvas canvas {
  display: block;
}

.source-spot-chart-canvas.is-drawing,
.source-spot-chart-canvas.is-drawing canvas {
  cursor: crosshair;
}

.source-chart-tool-status {
  position: absolute;
  z-index: 6;
  left: 12px;
  bottom: 12px;
  max-width: min(420px, calc(100% - 24px));
  padding: 7px 10px;
  border: 1px solid #dbe7f7;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  color: #334155;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.source-chart-tool-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.source-chart-feed-label {
  display: none;
}

.source-chart-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.source-spot-ma-row {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 112px;
  z-index: 2;
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 22px;
  color: #94a3b8;
  font-size: 11px;
}

.source-spot-ma-row span:nth-child(1),
.source-spot-volume-pane span {
  color: #f2b52b;
}

.source-spot-ma-row span:nth-child(2) {
  color: #8d5cf6;
}

.source-spot-ma-row span:nth-child(3) {
  color: #1d78ff;
}

.source-spot-ma-row span:nth-child(4) {
  color: #f2478a;
}

.source-spot-price-scale {
  position: absolute;
  top: 64px;
  right: 10px;
  bottom: 126px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 11px;
  text-align: right;
}

.source-spot-chart-lines {
  position: absolute;
  left: 0;
  right: 92px;
  top: 56px;
  bottom: 124px;
  z-index: 1;
  width: calc(100% - 92px);
  height: calc(100% - 180px);
  pointer-events: none;
}

.source-spot-chart-lines polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.source-spot-line-main {
  stroke: #f2b52b;
  stroke-width: 2;
}

.source-spot-line-fast {
  stroke: #1d78ff;
  stroke-width: 1.5;
}

.source-spot-line-slow {
  stroke: #f2478a;
  stroke-width: 1.5;
}

.source-spot-current-price {
  position: absolute;
  top: 183px;
  right: 86px;
  z-index: 3;
  padding: 4px 7px;
  border-radius: 3px;
  background: #1d78ff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.source-spot-current-price::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: min(620px, 62vw);
  border-top: 1px dashed #e85265;
}

.source-chart-grid i {
  position: absolute;
  left: 44%;
  top: 47%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1d78ff;
  box-shadow: 16px 0 0 #1d78ff, 32px -4px 0 #1d78ff;
}

.source-chart-grid b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 124px;
  height: 1px;
  background: #cfd8e3;
}

.source-spot-volume-pane {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 124px;
  padding: 16px 14px 20px;
  border-top: 1px solid #d9e2ee;
  background:
    repeating-linear-gradient(90deg, transparent 0 78px, #edf2f7 79px 80px),
    linear-gradient(#fff, #fbfdff);
}

.source-spot-volume-pane span {
  position: absolute;
  top: 10px;
  left: 14px;
  z-index: 2;
  font-size: 11px;
}

.source-spot-volume-pane em {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 38px;
  margin: 46px 12px 0 0;
  vertical-align: bottom;
  background: #22a853;
}

.source-spot-volume-pane em:nth-of-type(2n) {
  height: 68px;
  background: #e85265;
}

.source-spot-volume-pane em:nth-of-type(3n) {
  height: 52px;
}

.source-trade-orderbook,
.source-trade-ticket {
  min-width: 0;
}

.source-trade-dashboard .source-trade-shell {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(260px, 300px);
  gap: 0;
  align-items: start;
}

.source-trade-orderbook {
  padding: 14px 10px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.source-trade-ticket {
  border: 0;
  border-left: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 22px 10px;
}

.source-trade-tabs,
.source-side-tabs,
.source-percent-buttons {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.source-trade-tabs button,
.source-side-tabs button,
.source-percent-buttons button {
  min-width: 0;
  min-height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font: inherit;
  overflow-wrap: anywhere;
}

.source-trade-tabs .active,
.source-side-tabs .active {
  border-color: #22a853;
  color: #fff;
  background: #22a853;
}

.source-spot-page .source-trade-orderbook .source-trade-tabs {
  display: none;
}

.source-spot-page .source-trade-orderbook .source-trade-tabs button {
  min-height: 30px;
  width: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
}

.source-spot-page .source-trade-orderbook .source-trade-tabs button.active {
  border-bottom: 2px solid #111827;
  color: #111827;
  background: transparent;
  font-weight: 600;
}

.source-depth-switches {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 24px;
  margin: 0 0 10px;
}

.source-depth-switches button {
  display: grid;
  grid-template-columns: 7px 7px;
  grid-template-rows: 7px 7px;
  gap: 3px;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.source-depth-switches button::before,
.source-depth-switches button::after,
.source-depth-switches button span {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  background: #93979d;
}

.source-depth-switches button::before {
  background: #20a861;
}

.source-depth-switches button::after {
  background: #e85265;
}

.source-depth-switches button span:nth-child(1) {
  background: #20a861;
}

.source-depth-switches button span:nth-child(2) {
  background: #e85265;
}

.source-depth-switches button:nth-child(2)::before,
.source-depth-switches button:nth-child(2) span:nth-child(1) {
  background: #e85265;
}

.source-depth-switches button:nth-child(2)::after,
.source-depth-switches button:nth-child(2) span:nth-child(2) {
  background: #b5b8be;
}

.source-depth-switches button:nth-child(3)::before,
.source-depth-switches button:nth-child(3) span:nth-child(1) {
  background: #20a861;
}

.source-depth-switches button:nth-child(3)::after,
.source-depth-switches button:nth-child(3) span:nth-child(2) {
  background: #b5b8be;
}

.source-depth-switches button.active {
  outline: 1px solid #d1d5db;
  outline-offset: 3px;
}

.source-trade-orderbook[data-depth-mode="asks"] [data-source-depth-row="bid"],
.source-trade-orderbook[data-depth-mode="bids"] [data-source-depth-row="ask"] {
  display: none;
}

.source-spot-page .source-percent-buttons {
  gap: 8px;
}

.source-spot-page .source-percent-buttons button {
  min-height: 40px;
  border-color: #e0e4ea;
  border-radius: 4px;
  background: #fff;
  color: #8a94a6;
  font-size: 13px;
}

.source-order-type-native {
  display: none;
}

.source-order-type-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f9fafb;
  color: #111827;
  font: inherit;
  text-align: left;
}

.source-order-type-trigger b {
  color: #6b7280;
  font-weight: 400;
}

.source-side-tabs .sell-active,
.source-trade-ticket .sell-submit {
  border-color: #e85265;
  background: #e85265;
}

.source-spot-page .source-trade-ticket .primary-black {
  background: #22a853;
}

.source-spot-page .source-trade-ticket .sell-submit {
  background: #e85265;
}

.source-trade-depth-head,
.source-trade-orderbook p,
.source-balance-row,
.source-market-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
  align-items: center;
  gap: 12px;
}

.source-trade-depth-head {
  color: #8a94a6;
  font-size: 13px;
}

.source-trade-orderbook p {
  margin: 7px 0;
  font-variant-numeric: tabular-nums;
}

.source-trade-orderbook p b {
  text-align: right;
}

.source-trade-orderbook .ask span {
  color: #e85265;
}

.source-trade-orderbook .bid span {
  color: #16a263;
}

.source-last-price {
  display: block;
  margin: 14px 0;
  font-size: 28px;
  line-height: 1.1;
}

.source-balance-row {
  margin: 0;
  color: #6b7280;
}

.source-openview-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.source-openview-row b {
  color: #111827;
  font-weight: 700;
}

.source-openview-row.source-hidden-openview {
  display: none;
}

.source-hide-other-symbols {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0 22px;
  color: #8a94a6;
  font-size: 14px;
}

.source-hide-other-symbols input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.source-empty-records {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-top: 1px solid #e5e7eb;
  color: #8a94a6;
}

.source-empty-illustration {
  position: relative;
  width: 82px;
  height: 60px;
}

.source-empty-illustration::before {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 6px;
  width: 50px;
  height: 32px;
  border: 2px solid #111827;
  border-radius: 4px;
  background:
    linear-gradient(8deg, transparent 48%, #111827 49% 51%, transparent 52%) 8px 12px / 40px 12px no-repeat,
    #fff;
}

.source-empty-illustration::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #050505;
  box-shadow: -52px 30px 0 -9px #fff, -52px 30px 0 -7px #111827;
}

.source-market-price-row {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #6b7280;
  background: #f9fafb;
}

.source-market-price-row b {
  color: #111827;
  font-weight: 600;
}

.source-balance-row b,
.source-market-price-row b {
  justify-self: end;
}

.source-trade-records {
  display: grid;
  gap: 14px;
}

.source-record-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  min-width: 0;
  padding: 14px 0 4px;
}

.source-record-tabs button {
  min-height: 34px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-weight: 600;
}

.source-record-tabs button.active {
  border-color: #111827;
  color: #111827;
}

.source-price-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.source-price-picker {
  width: min(576px, calc(100vw - 40px));
  min-height: 312px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.22);
}

.source-price-picker header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 12px;
}

.source-price-picker h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.source-price-picker header button {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
}

.source-price-picker header button:first-child {
  justify-self: start;
  color: #9ca3af;
}

.source-price-picker header button:last-child {
  justify-self: end;
}

.source-price-picker-options {
  display: grid;
  gap: 20px;
  padding: 76px 24px 32px;
  text-align: center;
}

.source-price-picker-options button {
  min-height: 28px;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 18px;
}

.source-price-picker-options button.active {
  color: #9ca3af;
}

.source-record-tabs label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #6b7280;
}

.source-account-center .source-account-tabs {
  margin: 0 0 18px;
}

.source-account-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-account-summary small,
.source-empty-note {
  display: block;
  margin-top: 8px;
  color: #6b7280;
}

.source-account-main {
  background: #fafafa;
}

.source-escrow-orders-page {
  width: min(980px, calc(100% - 40px));
  min-height: 70vh;
  margin: 0 auto;
  padding: 38px 0 72px;
}

.source-escrow-orders-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.source-escrow-orders-header > button {
  width: 44px;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 21px;
}

.source-escrow-orders-header p,
.source-escrow-orders-header h1 {
  margin: 0;
}

.source-escrow-orders-header p {
  color: #667085;
  font-size: 13px;
}

.source-escrow-orders-header h1 {
  margin-top: 3px;
  color: #111827;
  font-size: 28px;
}

.source-escrow-orders-list {
  display: grid;
  gap: 12px;
}

.source-escrow-order {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(320px, 1.5fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 18px 20px;
  background: #fff;
}

.source-escrow-order-heading {
  display: grid;
  justify-items: start;
  gap: 5px;
  min-width: 0;
}

.source-escrow-order-heading strong,
.source-escrow-order-heading small {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.source-escrow-order-heading small,
.source-escrow-order dt {
  color: #667085;
  font-size: 12px;
}

.source-escrow-order dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.source-escrow-order dl div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.source-escrow-order dd {
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.source-escrow-order > button {
  min-width: 92px;
  min-height: 42px;
}

@media (max-width: 820px) {
  .source-escrow-order {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .source-escrow-order dl {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .source-escrow-orders-page {
    width: auto;
    padding: 16px 12px 86px;
  }

  .source-escrow-orders-header h1 {
    font-size: 22px;
  }

  .source-escrow-order {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .source-escrow-order dl {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
  }

  .source-escrow-order > button {
    width: 100%;
  }
}

.source-account-center {
  max-width: none;
  margin: 0;
  padding: 10px 30px 18px;
  display: grid;
  grid-template-columns: 260px minmax(0, 672px);
  gap: 72px;
  align-items: start;
}

.source-account-title {
  margin: 44px 0 0;
  color: #000;
  font-size: 38px;
  font-weight: 500;
}

.source-account-content {
  display: grid;
  gap: 12px;
}

.source-account-card {
  border: 1px solid #ececec;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.source-account-overview {
  min-height: 315px;
  padding: 16px 22px;
  position: relative;
  overflow: hidden;
}

.source-account-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.source-account-tabs button {
  min-height: 34px;
  color: #444;
  font-size: 14px;
  font-weight: 400;
}

.source-account-tabs button.active {
  border-bottom-width: 3px;
}

.source-account-total {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.source-account-total span {
  color: #000;
  font-size: 13px;
  font-weight: 700;
}

.source-account-total strong,
.source-account-total b {
  color: #000;
  font-size: 18px;
  font-weight: 700;
}

.source-account-shield {
  position: absolute;
  left: 50%;
  top: 185px;
  width: 92px;
  height: 92px;
  transform: translateX(-50%) rotate(-18deg);
  border-radius: 50% 50% 48% 48%;
  background: linear-gradient(135deg, #d9ecff 0%, #3579ff 45%, #102bc2 100%);
  box-shadow: -12px 8px 0 rgba(53, 121, 255, 0.22), 14px 11px 0 rgba(16, 43, 194, 0.18);
  clip-path: polygon(50% 0, 96% 17%, 82% 78%, 50% 100%, 18% 78%, 4% 17%);
}

.source-account-shield span {
  position: absolute;
  left: 35px;
  top: 22px;
  width: 22px;
  height: 42px;
  border: solid #fff;
  border-width: 0 9px 9px 0;
  transform: rotate(38deg);
}

.source-account-fiat-card {
  min-height: 194px;
  padding: 18px 20px;
}

.source-account-fiat-card > .source-empty-note {
  margin-top: 32px;
  text-align: center;
}

.source-account-fiat-card h2 {
  margin: 0 0 24px;
  font-size: 19px;
}

.source-account-fiat-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.source-account-fiat-row strong,
.source-account-fiat-row small {
  display: block;
  color: #000;
}

.source-account-flag {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: repeating-linear-gradient(180deg, #c41e3a 0 5px, #fff 5px 10px);
  border: 1px solid #e5e7eb;
}

.source-account-flag span {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: #29458f;
}

.source-account-fiat-actions {
  display: flex;
  gap: 12px;
}

.source-account-fiat-actions button,
.source-account-table td button {
  min-width: 84px;
  min-height: 34px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  background: #fff;
  color: #000;
}

.source-account-fiat-actions button:first-child {
  border-color: #000;
  background: #000;
  color: #fff;
}

.source-account-table {
  display: none;
}

.source-account-footer {
  margin-top: 0;
  background: #fff;
}

.source-account-footer,
.source-assets-footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding-left: max(24px, calc((100vw - 1160px) / 2));
  padding-right: max(24px, calc((100vw - 1160px) / 2));
}

.source-finance-form .source-single-form {
  max-width: 760px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 14px;
}

.source-finance-form .source-single-form label,
.source-my-grid button {
  display: grid;
  gap: 8px;
}

.source-finance-form .source-single-form input,
.source-finance-form .source-single-form select {
  min-height: 42px;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 12px;
}

.source-finance-form .source-single-form button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #111827;
  color: #fff;
}

.source-money-main {
  background: #fff;
}

.source-money-page {
  max-width: 1180px;
}

.source-money-method-page {
  max-width: 640px;
  margin: 0 auto;
}

.source-money-method-card {
  background: #fff;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.source-money-method-card h1 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 650;
}

.source-money-method-card p {
  margin: 0 0 22px;
  color: #697386;
}

.source-money-method-options {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.source-money-method-options button {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  padding: 15px 16px;
  text-align: left;
  font-size: 15px;
  color: #111827;
}

.source-money-method-options button.active {
  border-color: #111827;
  box-shadow: inset 3px 0 0 #111827;
}

.source-money-method-confirm {
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 650;
}

.source-money-heading {
  max-width: 540px;
  margin: 44px auto 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.source-money-heading h1 {
  margin: 0;
  color: #000;
  font-size: 30px;
}

.source-money-heading button {
  border: 0;
  background: transparent;
  color: #000;
  font: inherit;
}

.source-money-mobile-top {
  display: none;
}

.source-finance-form .source-single-form.source-deposit-form,
.source-finance-form .source-single-form.source-withdraw-form {
  max-width: 540px;
  margin: 0 auto;
  padding: 36px 38px;
  border-color: #dedede;
  border-radius: 8px;
  box-shadow: none;
}

.source-deposit-form h2 {
  margin: 0;
  text-align: center;
  font-size: 16px;
}

.source-money-help {
  margin: 0 0 28px !important;
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

.source-qr-box {
  width: 230px;
  height: 230px;
  margin: 0 auto 12px;
  position: relative;
  background:
    linear-gradient(90deg, #000 10px, transparent 10px 20px, #000 20px 30px, transparent 30px 42px, #000 42px 52px, transparent 52px 64px, #000 64px 76px, transparent 76px 88px, #000 88px 100px, transparent 100px 112px, #000 112px 122px, transparent 122px 134px, #000 134px 146px, transparent 146px 158px, #000 158px 170px, transparent 170px 182px, #000 182px 194px, transparent 194px 206px, #000 206px 218px, transparent 218px),
    linear-gradient(#000 10px, transparent 10px 20px, #000 20px 30px, transparent 30px 42px, #000 42px 52px, transparent 52px 64px, #000 64px 76px, transparent 76px 88px, #000 88px 100px, transparent 100px 112px, #000 112px 122px, transparent 122px 134px, #000 134px 146px, transparent 146px 158px, #000 158px 170px, transparent 170px 182px, #000 182px 194px, transparent 194px 206px, #000 206px 218px, transparent 218px);
  background-blend-mode: difference;
}

.source-qr-box span {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 9px solid #000;
  background: #fff;
  box-shadow: inset 0 0 0 10px #fff, inset 0 0 0 19px #000;
}

.source-qr-box span:nth-child(1) {
  left: 9px;
  top: 9px;
}

.source-qr-box span:nth-child(2) {
  right: 9px;
  top: 9px;
}

.source-qr-box span:nth-child(3) {
  left: 9px;
  bottom: 9px;
}

.source-qr-box i {
  position: absolute;
  inset: 80px;
  background: #fff;
  border: 12px solid #000;
}

.source-token-input,
.source-copy-input,
.source-paste-input,
.source-amount-input {
  min-height: 42px;
  display: grid;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
}

.source-token-input {
  grid-template-columns: 34px minmax(0, 1fr);
  padding-left: 12px;
}

.source-token-input b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f7931a;
  color: #fff;
  font-size: 15px;
}

.source-token-input input,
.source-copy-input input,
.source-paste-input input,
.source-amount-input input {
  min-width: 0;
  min-height: 40px !important;
  border: 0 !important;
}

.source-copy-input {
  grid-template-columns: minmax(0, 1fr) 34px;
}

.source-copy-input em {
  width: 18px;
  height: 18px;
  justify-self: center;
  position: relative;
}

.source-copy-input em::before,
.source-copy-input em::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 12px;
  border: 1px solid #c9cfd8;
  border-radius: 2px;
  background: #fff;
}

.source-copy-input em::before {
  right: 3px;
  top: 2px;
}

.source-copy-input em::after {
  left: 3px;
  bottom: 2px;
  background: #f7f8fa;
}

.source-copy-input em,
.source-paste-input em,
.source-amount-input em,
.source-amount-input button {
  font-style: normal;
  color: #111827;
}

.source-paste-input {
  grid-template-columns: minmax(0, 1fr) 56px;
}

.source-paste-input button {
  width: auto;
  min-width: 0;
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #000 !important;
  font: inherit;
}

.source-amount-input {
  grid-template-columns: minmax(0, 1fr) 38px 34px;
}

.source-amount-input button {
  width: auto;
  min-width: 0;
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #000 !important;
}

.source-upload-card {
  position: relative;
  min-height: 286px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: #f9fbff;
  overflow: hidden;
}

.source-upload-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(#477fdc 0 0) left top / 40px 4px no-repeat,
    linear-gradient(#477fdc 0 0) left top / 4px 40px no-repeat,
    linear-gradient(#477fdc 0 0) right top / 40px 4px no-repeat,
    linear-gradient(#477fdc 0 0) right top / 4px 40px no-repeat,
    linear-gradient(#477fdc 0 0) left bottom / 40px 4px no-repeat,
    linear-gradient(#477fdc 0 0) left bottom / 4px 40px no-repeat,
    linear-gradient(#477fdc 0 0) right bottom / 40px 4px no-repeat,
    linear-gradient(#477fdc 0 0) right bottom / 4px 40px no-repeat;
}

.source-upload-card input {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

.source-upload-card i {
  width: 70%;
  height: 58%;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 50%, transparent 0 18px, #c9f1ff 19px 25px, transparent 26px),
    linear-gradient(#eaf2ff 0 0) 70% 35% / 34% 10px no-repeat,
    linear-gradient(#eaf2ff 0 0) 70% 52% / 34% 10px no-repeat,
    linear-gradient(#eaf2ff 0 0) 70% 69% / 34% 10px no-repeat,
    #fff;
  box-shadow: 0 22px 48px rgba(61, 121, 219, 0.16);
}

.source-withdraw-row {
  display: flex;
  justify-content: space-between;
  color: #8b929d;
}

.source-withdraw-label,
.source-withdraw-fee,
.source-withdraw-instructions {
  color: #8b929d;
}

.source-withdraw-receivable {
  margin: -8px 0 4px !important;
  color: #8b929d;
  font-size: 24px;
  font-weight: 700;
}

.source-withdraw-receivable strong {
  color: #000;
}

.source-withdraw-instructions {
  display: grid;
  gap: 8px;
  color: #000;
}

.source-withdraw-instructions span {
  color: #8b929d;
}

.source-money-footer {
  border-top: 1px solid #eee;
}

.source-my-page {
  max-width: 1180px;
  padding-top: 34px;
}

.source-my-overview {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.source-my-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  background:
    radial-gradient(circle at 35% 28%, #77d1ff 0 18%, transparent 19%),
    linear-gradient(135deg, #8d70c7 0%, #2354b8 48%, #141827 100%);
}

.source-my-profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 86px;
}

.source-my-profile article,
.source-my-assets {
  display: grid;
  gap: 8px;
}

.source-my-profile span,
.source-my-assets span {
  color: #8d939c;
  font-size: 24px;
}

.source-my-profile strong,
.source-my-assets strong {
  color: #000;
  font-size: 26px;
  font-weight: 500;
}

.source-my-score {
  color: #00d58b !important;
}

.source-my-assets {
  padding-top: 2px;
}

.source-my-assets .asset-actions {
  margin-top: 36px;
}

.source-my-assets .asset-actions button,
.source-my-verify-card button {
  min-width: 96px;
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #000;
}

.source-my-verify-card {
  min-height: 330px;
  margin-top: 42px;
  padding: 24px 20px;
  border: 1px solid #d9d9d9;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
}

.source-my-verify-card h1,
.source-my-verify-card h2 {
  margin: 0 0 20px;
  color: #000;
}

.source-my-verify-card h1 {
  font-size: 27px;
  line-height: 1.25;
}

.source-my-verify-card h2 {
  margin-top: 26px;
  font-size: 26px;
}

.source-my-verify-card p {
  margin: 0 0 14px;
  color: #000;
  line-height: 1.55;
}

.source-my-verify-card button {
  margin-top: 14px;
}

.source-my-verify-art {
  position: relative;
  min-height: 230px;
}

.source-my-verify-card-shape {
  position: absolute;
  inset: 36px 92px 18px 104px;
  border: 2px solid #2c2c2c;
  border-radius: 5px;
  transform: rotate(-10deg);
  background: #fff;
}

.source-my-verify-card-shape::before,
.source-my-verify-card-shape::after {
  content: "";
  position: absolute;
  border: 2px solid #2c2c2c;
}

.source-my-verify-card-shape::before {
  left: 20px;
  top: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.source-my-verify-card-shape::after {
  left: 18px;
  bottom: 22px;
  width: 88px;
  height: 48px;
  border-radius: 45% 45% 8px 8px;
}

.source-my-verify-card-shape span {
  position: absolute;
  right: -64px;
  bottom: -12px;
  width: 74px;
  height: 16px;
  border: 2px solid #2c2c2c;
  border-radius: 16px;
  transform: rotate(-28deg);
  background: #fff;
}

.source-my-verify-check {
  position: absolute;
  right: 120px;
  top: 32px;
  width: 42px;
  height: 42px;
  border: 2px solid #2c2c2c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #b8ff39;
  color: #000;
}

.source-my-verify-check::before {
  content: "";
  width: 18px;
  height: 9px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(-45deg) translateY(-1px);
}

.source-my-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.source-my-grid button {
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  background: #fff;
  text-align: left;
}

.source-my-grid strong {
  font-size: 16px;
  color: #111827;
}

.source-my-grid span {
  color: #6b7280;
}

.source-my-footer {
  margin-top: 18px;
}

.source-my-mobile-panel {
  display: none;
}

.market-list {
  display: grid;
  gap: 12px;
}

.market-list article,
.trade-ticket {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.market-list article {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 140px 100px;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
}

.market-list article.active {
  border-color: #111827;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.market-list span {
  display: block;
  margin-top: 4px;
  color: #6b7280;
}

.market-list b {
  text-align: right;
}

.market-list em {
  color: #059669;
  font-style: normal;
  text-align: right;
}

.trade-ticket {
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 24px;
}

.trade-ticket h2 {
  margin: 0;
}

.trade-ticket label {
  display: grid;
  gap: 8px;
  color: #4b5563;
}

.trade-ticket input,
.trade-ticket select {
  min-height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #3f68f2 0 31%, #fff 31% 100%);
}

.login-language {
  position: absolute;
  top: 130px;
  left: 26%;
  padding: 12px 18px;
  border-radius: 8px;
  color: #1387e6;
  background: #eaf8ff;
  font-size: 20px;
}

.laptop-login {
  width: min(900px, 70vw);
  min-height: 520px;
  padding: 95px 120px;
  border: 20px solid #070707;
  border-bottom-width: 46px;
  border-radius: 24px 24px 10px 10px;
  background: #fff;
  box-shadow: -36px 42px 0 rgba(0, 0, 0, 0.16);
}

.laptop-login input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 58px;
  border: 0;
  border-radius: 29px;
  padding: 0 26px;
  background: #f1f3f8;
  font-size: 20px;
}

.laptop-login button {
  width: 100%;
  min-width: 0;
  height: 58px;
  border: 0;
  border-radius: 29px;
  color: #fff;
  background: #2851ff;
  font-size: 20px;
  font-weight: 700;
}

.admin-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background: #f1f4f5;
}

.admin-top {
  position: fixed;
  inset: 0 0 auto 230px;
  height: 100px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 284px;
  grid-template-rows: 50px 50px;
  align-items: center;
  gap: 0;
  padding: 0 14px;
  z-index: 20;
  color: #fff;
  background: #050505;
  border-bottom: 1px solid #242424;
}

.admin-mobile-brand {
  display: none;
}

.admin-logo {
  width: 210px;
  font-size: 24px;
}

.admin-top nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: visible;
}

.admin-top-primary {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.admin-top-secondary {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}

.admin-top .hamburger {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.admin-top button {
  border: 0;
  color: #fff;
  background: transparent;
  white-space: nowrap;
}

.hamburger {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  font-size: 22px;
  color: #bfc5cf !important;
}

.admin-top-item {
  position: relative;
}

.top-trigger {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: #d8dbe1 !important;
  font-size: 15px;
}

.top-trigger:hover,
.admin-top-item.active .top-trigger {
  color: #fff !important;
}

.top-trigger b {
  min-width: 26px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: #ff6b7a;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14);
}

.top-trigger small {
  color: #aeb4bf;
  font-size: 14px;
}

.top-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  position: relative;
  opacity: 0.9;
}

.top-icon.chart::before {
  content: "";
  position: absolute;
  inset: 2px 10px 2px 1px;
  border-left: 2px solid currentColor;
  box-shadow: 5px 4px 0 currentColor, 10px -2px 0 currentColor;
}

.top-icon.doc::before,
.top-icon.list::before,
.top-icon.gear::before,
.top-icon.menu::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid currentColor;
  border-radius: 1px;
}

.top-icon.list::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 3px;
  top: 5px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor;
}

.top-icon.gear::before {
  border-radius: 50%;
}

.top-dropdown {
  position: absolute;
  top: 32px;
  left: -12px;
  display: none;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 8px 0;
  z-index: 40;
  background: #050505;
  border: 1px solid #262626;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
}

.admin-top-item:hover .top-dropdown,
.admin-top-item:focus-within .top-dropdown {
  display: block;
}

.top-dropdown-row button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: #d1d5db;
  text-align: left;
  font-size: 13px;
}

.top-dropdown-row.group > button {
  color: #8d96a4;
  cursor: default;
}

.top-dropdown-row button:not(:disabled):hover {
  color: #fff;
  background: #1b1b1b;
}

.top-dropdown-row b {
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  color: #fff;
  background: #ff6b7a;
  font-size: 11px;
}

.top-dropdown-row.depth-2 button {
  padding-left: 28px;
}

.top-dropdown-row.depth-3 button {
  padding-left: 42px;
}

.admin-top-tools {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.menu-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-search {
  width: 200px;
  height: 40px;
  border: 0;
  border-radius: 4px;
  padding: 0 42px 0 22px;
  color: #9aa3b2;
  background: #fff;
}

.menu-search-wrap > span {
  position: absolute;
  right: 14px;
  color: #c2c8d2;
  font-size: 24px;
}

.menu-search-results {
  position: absolute;
  top: 58px;
  right: 0;
  width: 320px;
  max-height: 330px;
  overflow-y: auto;
  padding: 8px 0;
  z-index: 50;
  border: 1px solid #dce1ea;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.menu-search-results button {
  width: 100%;
  display: grid;
  gap: 2px;
  padding: 9px 14px;
  color: #1f2937;
  text-align: left;
}

.menu-search-results button:hover {
  background: #f3f6fb;
}

.menu-search-results small {
  color: #94a3b8;
  font-size: 11px;
}

.root-user {
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.root-user-wrap {
  position: relative;
}

.root-avatar {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #050505;
  background: #fff;
  font-size: 24px;
}

.root-user-menu {
  position: absolute;
  top: 58px;
  right: 0;
  display: none;
  min-width: 150px;
  padding: 6px 0;
  z-index: 45;
  border: 1px solid #262626;
  background: #050505;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
}

.root-user-wrap.open .root-user-menu,
.root-user-wrap:hover .root-user-menu {
  display: block;
}

.root-user-menu button {
  width: 100%;
  padding: 9px 14px;
  color: #d1d5db;
  text-align: left;
}

.root-user-menu button:hover {
  color: #fff;
  background: #1b1b1b;
}

.notice-button {
  display: none;
}

.admin-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 230px;
  overflow-y: auto;
  padding: 8px 0;
  z-index: 21;
  background: #060606;
}

.admin-sidebar-brand {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.side-item,
.side-child {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: #cbd0da;
  background: transparent;
  text-align: left;
}

.side-item {
  padding: 0 22px;
  font-size: 16px;
}

.side-child {
  padding: 0 22px 0 44px;
  font-size: 14px;
}

.side-item b {
  min-width: 26px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: #ff6d83;
  font-size: 12px;
}

.side-item small {
  margin-left: auto;
}

.admin-content {
  padding: 100px 15px 25px 245px;
}

.admin-workspace-tab {
  height: 40px;
  display: flex;
  align-items: stretch;
  margin: 0 -15px 2px;
  padding: 0 15px;
  border-bottom: 1px solid #d8dde6;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.admin-workspace-tab .tab-title {
  height: 40px;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border-bottom-width: 2px;
}

.sidebar-collapsed .admin-sidebar {
  width: 64px;
}

.sidebar-collapsed .admin-top {
  left: 64px;
}

.sidebar-collapsed .side-item {
  justify-content: center;
  padding: 0 8px;
}

.sidebar-collapsed .side-child,
.sidebar-collapsed .admin-sidebar-brand strong,
.sidebar-collapsed .side-item span,
.sidebar-collapsed .side-item small {
  display: none;
}

.sidebar-collapsed .admin-content {
  padding-left: 79px;
}

.admin-panel {
  margin-bottom: 30px;
  padding: 20px;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.panel-heading {
  display: flex;
  gap: 24px;
  align-items: center;
}

.panel-heading h2,
.admin-panel h2 {
  margin: 0 0 24px;
  color: #303133;
  font-size: 16px;
  font-weight: 500;
}

.panel-heading button,
.role-filter button,
.table-actions button,
td button,
.role-dialog footer button {
  border: 0;
  border-radius: 4px;
  padding: 10px 18px;
  color: #fff;
  background: #2257ff;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 350px));
  gap: 20px;
  max-width: none;
}

.stat-card {
  min-height: 160px;
  overflow: hidden;
  border-radius: 4px;
}

.stat-card p,
.stat-card footer {
  margin: 0;
  padding: 16px;
  color: rgba(255, 255, 255, 0.95);
}

.stat-card p {
  display: flex;
  justify-content: space-between;
}

.stat-card strong {
  display: block;
  padding: 12px 16px 28px;
  color: #fff;
  font-size: 26px;
  font-weight: 500;
}

.stat-card footer {
  color: #000;
  background: rgba(255, 255, 255, 0.6);
}

.report-page .stat-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  margin-bottom: 20px;
}

.report-page .stat-card {
  min-height: 135px;
}

.report-page .stat-card strong {
  font-size: 22px;
  word-break: break-all;
}

.finance-center-page {
  display: grid;
  gap: 20px;
}

.finance-center-kpis,
.finance-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 16px;
}

.finance-kpi,
.finance-module-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-height: 118px;
  border: 1px solid #e6ebf2;
  border-radius: 4px;
  padding: 18px;
  text-align: left;
  background: #fff;
}

.finance-kpi {
  border: 0;
  color: #fff;
}

.finance-kpi strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 24px;
  font-weight: 500;
}

.finance-kpi small {
  color: rgba(255, 255, 255, 0.88);
}

.finance-module-card strong {
  color: #ff6d83;
  font-size: 28px;
  font-weight: 600;
}

.finance-module-card span,
.finance-recent h3 {
  color: #303133;
  font-size: 16px;
  font-weight: 600;
}

.finance-module-card small,
.finance-module-card em {
  color: #64748b;
  font-style: normal;
}

.finance-recent {
  overflow-x: auto;
}

.business-page .business-grid,
.subscribe-admin-page .subscribe-grid,
.robot-page .robot-grid,
.charity-admin-page .charity-grid,
.risk-control-page .risk-control-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr);
  gap: 20px;
}

.risk-summary {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid #e6ebf2;
  background: #fff;
  border-radius: 6px;
}

.risk-summary h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.risk-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
}

.risk-summary div:last-child {
  border-bottom: 0;
}

.exchange-rate-page .news-editor,
.market-trade-time-page .news-editor,
.suspension-page .news-editor {
  margin: 16px 0;
}

.pink {
  background: #eb879d;
}

.blue {
  background: #83bdf0;
}

.purple {
  background: #7488ee;
}

.green {
  background: #78d0c5;
}

.peach {
  background: #eca890;
}

.pink footer {
  background: #fde5e9;
}

.blue footer {
  background: #e4f3ff;
}

.purple footer {
  background: #e1e6ff;
}

.green footer {
  background: #dcfbf7;
}

.peach footer {
  background: #fde8df;
}

.dashboard-reminders {
  min-height: 255px;
}

.dashboard-reminders h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid #ebeef5;
}

.reminders {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
  padding: 58px 40px 36px;
}

.reminders button {
  min-height: 98px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  border: 0;
  color: #b8c2ff;
  background: transparent;
  font-size: 18px;
}

.pill,
.reminders b {
  border-radius: 999px;
  padding: 2px 8px;
  color: #fff;
  background: #ff7d91;
}

.reminder-icon {
  width: 42px;
  height: 42px;
  display: block;
  position: relative;
  color: #2257ff;
}

.database-down,
.database-up {
  border: 4px solid currentColor;
  border-radius: 50% / 22%;
}

.database-down::before,
.database-up::before {
  content: "";
  position: absolute;
  inset: 10px -4px auto;
  height: 18px;
  border-top: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
}

.database-down::after,
.database-up::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  border-right: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
}

.database-down::after {
  transform: rotate(45deg);
}

.database-up::after {
  transform: rotate(225deg);
}

.star-fill,
.star-outline {
  clip-path: polygon(50% 0, 61% 34%, 97% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 3% 35%, 39% 34%);
  background: currentColor;
}

.star-outline {
  background: transparent;
  clip-path: none;
}

.star-outline::before {
  content: "☆";
  position: absolute;
  inset: -9px 0 0;
  color: currentColor;
  font-size: 54px;
  line-height: 42px;
}

.sound-btn {
  border: 0;
  color: #168dff;
  background: transparent;
  font-size: 18px;
  line-height: 28px;
  text-decoration: underline;
  cursor: pointer;
}

.sound-gate {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: start center;
  padding-top: 25vh;
  background: transparent;
  pointer-events: none;
}

.sound-dialog {
  width: min(292px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  pointer-events: auto;
}

.sound-dialog-header {
  min-height: 18px;
}

.sound-dialog-body {
  padding: 0 0 24px;
  text-align: center;
}

.sound-gate .sound-btn {
  padding: 0;
}

.sound-locked .admin-content,
.sound-locked .admin-sidebar,
.sound-locked .admin-top {
  pointer-events: none;
  user-select: none;
}

.tab-title {
  width: fit-content;
  padding: 0 0 14px;
  color: #2257ff;
  border-bottom: 3px solid #2257ff;
  margin-bottom: 28px;
}

.role-filter {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.role-filter label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.role-filter input,
.role-filter select,
.pagination input {
  height: 38px;
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  padding: 0 12px;
}

.all-filling-report-page,
.agent-filling-report-page,
.user-income-report-page {
  min-width: 0;
  overflow-x: hidden;
}

.all-filling-report-page .table-scroll,
.agent-filling-report-page .table-scroll,
.user-income-report-page .table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 0 0 18px;
  overflow-x: auto;
  border: 1px solid #e3e8f0;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.all-filling-report-page .table-scroll table {
  min-width: 1460px;
}

.agent-filling-report-page .table-scroll table {
  min-width: 1720px;
}

.user-income-report-page .table-scroll table {
  min-width: 1980px;
}

.all-filling-report-page th,
.all-filling-report-page td,
.agent-filling-report-page th,
.agent-filling-report-page td,
.user-income-report-page th,
.user-income-report-page td {
  padding: 12px 14px;
  white-space: nowrap;
  font-size: 13px;
}

.all-filling-report-page th,
.agent-filling-report-page th,
.user-income-report-page th {
  border: 1px solid #d6dde8;
  color: #fff;
  background: #050505;
}

.all-filling-report-page .role-filter input:focus-visible,
.agent-filling-report-page .role-filter input:focus-visible,
.user-income-report-page .role-filter input:focus-visible,
.all-filling-report-page button:focus-visible,
.agent-filling-report-page button:focus-visible,
.user-income-report-page button:focus-visible {
  outline: 2px solid #2257ff;
  outline-offset: 2px;
}

.report-range-actions {
  align-items: flex-end;
  gap: 28px;
  overflow-x: auto;
}

.report-range-actions button {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #303846;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.report-range-actions button:hover,
.report-range-actions button.active {
  border-bottom-color: #2257ff;
  color: #2257ff;
  background: transparent;
}

.agent-filling-report-page [data-action="agent-filling-report-clear"] {
  border: 1px solid #d7dde7;
  color: #606a78;
  background: #fff;
}

@media (max-width: 900px) {
  .all-filling-report-page,
  .agent-filling-report-page,
  .user-income-report-page {
    padding: 16px;
  }

  .all-filling-report-page .role-filter,
  .agent-filling-report-page .role-filter,
  .user-income-report-page .role-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }

  .all-filling-report-page .role-filter label,
  .agent-filling-report-page .role-filter label,
  .user-income-report-page .role-filter label {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    min-width: 0;
  }

  .all-filling-report-page .role-filter input,
  .agent-filling-report-page .role-filter input,
  .user-income-report-page .role-filter input {
    width: 100%;
    min-width: 0;
  }

  .all-filling-report-page .role-filter button,
  .agent-filling-report-page .role-filter button,
  .user-income-report-page .role-filter button {
    min-height: 44px;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .all-filling-report-page,
  .agent-filling-report-page,
  .user-income-report-page {
    padding: 12px;
  }

  .all-filling-report-page .role-filter,
  .agent-filling-report-page .role-filter,
  .user-income-report-page .role-filter {
    grid-template-columns: 1fr;
  }

  .all-filling-report-page .role-filter label,
  .agent-filling-report-page .role-filter label,
  .user-income-report-page .role-filter label {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .all-filling-report-page .role-filter button,
  .agent-filling-report-page .role-filter button,
  .user-income-report-page .role-filter button {
    width: 100%;
  }

  .report-range-actions {
    gap: 20px;
  }
}

.source-table-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 8px 0 12px;
}

.source-table-tools button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #d9dfe8;
  background: #fff;
  color: #606266;
  line-height: 1;
}

.source-add-button {
  min-width: 72px;
  height: 32px;
  margin: 0 0 10px;
  border: 1px solid #587df6;
  border-radius: 3px;
  background: #587df6;
  color: #fff;
  font-weight: 500;
}

.plate-type-page {
  min-width: 0;
  overflow-x: hidden;
}

.plate-type-page .table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.plate-type-page .table-scroll table {
  min-width: 640px;
}

.ai-concept-page {
  min-width: 0;
  overflow-x: hidden;
}

.ai-concept-page .table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.ai-concept-page .table-scroll table {
  min-width: 980px;
}

.ai-concept-page button:focus-visible,
.ai-concept-page input:focus-visible,
.ai-concept-page select:focus-visible {
  outline: 2px solid #2257ff;
  outline-offset: 2px;
}

/* securityQuestionOption/config: source is read-only; contain its six-column table. */
.ai-security-option-page {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.ai-security-option-page .ai-security-option-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #e3e8f0;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.ai-security-option-page .ai-security-option-table-scroll table {
  width: 100%;
  min-width: 920px;
  margin: 0;
}

.ai-security-option-page .ai-security-option-table-scroll th,
.ai-security-option-page .ai-security-option-table-scroll td {
  padding: 12px 14px;
  white-space: nowrap;
}

.ai-security-option-page .ai-security-option-table-scroll:focus-visible,
.ai-security-option-page button:focus-visible,
.ai-security-option-page input:focus-visible,
.ai-security-option-page select:focus-visible {
  outline: 2px solid #2257ff;
  outline-offset: 2px;
}

/* AIFinancial/config: keep the source-shaped 17-column table inside its panel. */
.ai-financial-product-page {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.ai-financial-product-page .ai-financial-product-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #e3e8f0;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.ai-financial-product-page .ai-financial-product-table-scroll table {
  width: 100%;
  min-width: 2380px;
  margin: 0;
}

.ai-financial-product-page .ai-financial-product-table-scroll th,
.ai-financial-product-page .ai-financial-product-table-scroll td {
  padding: 12px 14px;
  white-space: nowrap;
}

.ai-financial-product-page .ai-financial-product-table-scroll:focus-visible,
.ai-financial-product-page button:focus-visible,
.ai-financial-product-page input:focus-visible,
.ai-financial-product-page select:focus-visible {
  outline: 2px solid #2257ff;
  outline-offset: 2px;
}

/* AISecurityQuestion/config: source is read-only; contain its five-column table. */
.ai-security-question-page {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.ai-security-question-page .ai-security-question-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #e3e8f0;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.ai-security-question-page .ai-security-question-table-scroll table {
  width: 100%;
  min-width: 760px;
  margin: 0;
}

.ai-security-question-page .ai-security-question-table-scroll th,
.ai-security-question-page .ai-security-question-table-scroll td {
  padding: 12px 14px;
  white-space: nowrap;
}

.ai-security-question-page .ai-security-question-table-scroll:focus-visible,
.ai-security-question-page button:focus-visible,
.ai-security-question-page input:focus-visible,
.ai-security-question-page select:focus-visible {
  outline: 2px solid #2257ff;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .ai-security-option-page {
    padding: 16px;
  }

  .ai-security-option-page .role-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
  }

  .ai-security-option-page .role-filter label {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 6px;
  }

  .ai-security-option-page .role-filter input,
  .ai-security-option-page .role-filter select,
  .ai-security-option-page .role-filter button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    touch-action: manipulation;
  }

  .ai-security-question-page {
    padding: 16px;
  }

  .ai-security-question-page .role-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
  }

  .ai-security-question-page .role-filter label {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 6px;
  }

  .ai-security-question-page .role-filter input,
  .ai-security-question-page .role-filter select,
  .ai-security-question-page .role-filter button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    touch-action: manipulation;
  }

  .ai-financial-product-page {
    padding: 16px;
  }

  .ai-financial-product-page .role-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .ai-financial-product-page .role-filter label {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 6px;
  }

  .ai-financial-product-page .role-filter input {
    width: 100%;
    min-width: 0;
  }

  .ai-financial-product-page .role-filter button,
  .ai-financial-product-page .source-add-button,
  .ai-financial-product-page .source-table-tools button,
  .ai-financial-product-page .ai-financial-product-table-scroll td button {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }

  .ai-financial-product-page .role-dialog {
    width: min(100% - 32px, 720px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }
}

@media (max-width: 520px) {
  .ai-security-option-page {
    padding: 12px;
  }

  .ai-security-option-page .role-filter {
    grid-template-columns: 1fr;
  }

  .ai-security-question-page {
    padding: 12px;
  }

  .ai-security-question-page .role-filter {
    grid-template-columns: 1fr;
  }

  .ai-financial-product-page {
    padding: 12px;
  }

  .ai-financial-product-page .role-filter {
    grid-template-columns: 1fr 1fr;
  }

  .ai-financial-product-page .role-filter label {
    grid-column: 1 / -1;
  }

  .ai-financial-product-page .role-filter button,
  .ai-financial-product-page .source-add-button {
    width: 100%;
  }

  .ai-financial-product-page .role-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
}

.plate-type-page button:focus-visible,
.plate-type-page input:focus-visible,
.plate-type-page select:focus-visible {
  outline: 2px solid #2257ff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .plate-type-page {
    padding: 16px;
  }

  .plate-type-page .role-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .plate-type-page .role-filter label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
  }

  .plate-type-page .role-filter input {
    width: 100%;
    min-width: 0;
  }

  .ai-concept-page {
    padding: 16px;
  }

  .ai-concept-page .role-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ai-concept-page .role-filter label {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    min-width: 0;
  }

  .ai-concept-page .role-filter input,
  .ai-concept-page .role-filter button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .plate-type-page {
    padding: 12px;
  }

  .plate-type-page .role-filter {
    grid-template-columns: 1fr 1fr;
  }

  .plate-type-page .role-filter label {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .plate-type-page .role-filter button {
    width: 100%;
    min-height: 44px;
  }

  .plate-type-page .source-add-button {
    min-height: 44px;
  }

  .source-plate-type-dialog {
    width: min(100% - 24px, 520px);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .ai-concept-page {
    padding: 12px;
  }

  .ai-concept-page .role-filter {
    grid-template-columns: 1fr;
  }

  .ai-concept-page .source-add-button {
    min-height: 44px;
  }

  .ai-concept-page .role-dialog {
    width: min(100% - 24px, 520px);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }
}

.source-tabs {
  display: flex;
  gap: 28px;
  margin: 10px 0 18px;
  border-bottom: 1px solid #d9dfe8;
}

.source-tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  padding: 10px 8px 9px;
}

.source-tab.active {
  border-bottom-color: #2257ff;
  color: #2257ff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.source-stock-order-page {
  min-width: 0;
  overflow-x: hidden;
  color: #606266;
  font-size: 14px;
}

@media (min-width: 901px) {
  .source-stock-order-page {
    padding-bottom: 47px;
  }
}

.stock-region-nav {
  display: block;
  max-width: 100%;
}

.stock-region-tabs {
  display: flex;
  gap: 34px;
  max-width: 100%;
  margin: 0 0 16px;
  overflow-x: auto;
  border-bottom: 1px solid #dfe4ed;
  scrollbar-width: thin;
}

.stock-region-scroll {
  display: none;
}

.stock-region-tabs button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #303846;
  cursor: pointer;
  font-size: 14px;
}

.stock-region-tabs button.active {
  border-bottom-color: #356ced;
  color: #356ced;
}

.exchange-apply-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 18px;
  align-items: start;
  margin-bottom: 27px;
}

.source-stock-order-page .exchange-apply-search {
  display: grid;
  grid-template-columns: 254px 256px 229px;
  gap: 18px 28px;
  width: 823px;
  max-width: 100%;
  margin: 0;
  padding-left: 20px;
}

.source-stock-order-page .exchange-apply-search label {
  display: grid;
  grid-template-columns: max-content minmax(120px, 1fr);
  gap: 10px;
  min-width: 0;
  color: #606266;
  font-size: 14px;
}

.source-stock-order-page .exchange-apply-search > label:nth-child(3) {
  transform: translateX(28px);
}

.source-stock-order-page .exchange-apply-search > label:nth-child(3) {
  grid-template-columns: 28px minmax(120px, 1fr);
  gap: 0;
}

.source-stock-order-page .exchange-apply-search > label:nth-child(2) {
  gap: 14px;
}

.source-stock-order-page .exchange-apply-search > label:nth-child(4) {
  width: 269px;
  transform: translateX(-15px);
}

.source-stock-order-page .exchange-apply-search > button[type="submit"] {
  width: 73px;
  transform: translateX(-18px);
}

.source-stock-order-page .exchange-apply-search input,
.source-stock-order-page .exchange-apply-search select {
  width: 100%;
  min-width: 0;
}

.source-stock-order-page .exchange-apply-search > button {
  justify-self: start;
  height: 38px;
  padding: 0 18px;
  background: #356ced;
  font-size: 12px;
}

.exchange-apply-refresh {
  display: inline-grid;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid #dfe4ed;
  border-radius: 50%;
  background: #fff;
  color: #667085;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.exchange-apply-refresh:hover,
.exchange-apply-refresh:focus-visible {
  border-color: #2257ff;
  color: #2257ff;
}

.exchange-apply-table-scroll,
.exchange-apply-detail-dialog .table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.source-stock-order-page .exchange-apply-table {
  min-width: 1680px;
  table-layout: auto;
}

.crypto-spot-sell-order-page .exchange-apply-table {
  min-width: 1450px;
}

.crypto-spot-buy-order-page .exchange-apply-table {
  min-width: 1650px;
}

.ai-investment-config-page .exchange-apply-table {
  min-width: 1780px;
  table-layout: auto;
}

.ai-investment-config-page .exchange-apply-table th:last-child,
.ai-investment-config-page .exchange-apply-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 120px;
}

.ai-investment-config-page .exchange-apply-table th:last-child {
  z-index: 3;
  background: #050505;
}

.ai-investment-config-page .exchange-apply-table td:last-child {
  background: #fff;
}

.source-config-thumb {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 3px;
  background: #f2f4f7;
}

.source-ai-investment-config-dialog {
  width: min(920px, calc(100vw - 32px));
}

.source-ai-investment-config-dialog .dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.source-ai-investment-limit-dialog {
  width: min(520px, calc(100vw - 32px));
}

.source-ai-investment-limit-dialog textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
}

.crypto-spot-order-page .exchange-apply-table th:last-child,
.crypto-spot-order-page .exchange-apply-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 76px;
}

.crypto-spot-order-page .exchange-apply-table th:last-child {
  z-index: 3;
  background: #050505;
}

.crypto-spot-order-page .exchange-apply-table td:last-child {
  background: #fff;
}

.stock-buy-order-page .exchange-apply-table {
  min-width: 1730px;
  table-layout: fixed;
}

.stock-buy-order-page .exchange-apply-table th,
.stock-buy-order-page .exchange-apply-table td {
  width: 80px;
}

.stock-buy-order-page .exchange-apply-table th:nth-child(2),
.stock-buy-order-page .exchange-apply-table td:nth-child(2) {
  width: 160px;
}

.stock-buy-order-page .exchange-apply-table th:nth-child(3),
.stock-buy-order-page .exchange-apply-table td:nth-child(3) {
  width: 120px;
}

.stock-buy-order-page .exchange-apply-table th:nth-child(5),
.stock-buy-order-page .exchange-apply-table td:nth-child(5) {
  width: 100px;
}

.stock-buy-order-page .exchange-apply-table th:last-child,
.stock-buy-order-page .exchange-apply-table td:last-child {
  position: sticky;
  right: 0;
  width: 230px;
  min-width: 230px;
  max-width: 230px;
  z-index: 2;
}

.stock-buy-order-page .exchange-apply-table th:last-child {
  z-index: 3;
  background: #050505;
}

.stock-buy-order-page .exchange-apply-table td:last-child {
  background: #fff;
}

.source-stock-order-page .exchange-apply-table th,
.source-stock-order-page .exchange-apply-table td,
.exchange-apply-detail-dialog th,
.exchange-apply-detail-dialog td {
  padding: 13px 10px;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.35;
}

.stock-buy-order-page .exchange-apply-table th {
  height: 63px;
  padding: 8px 10px;
  white-space: normal;
}

.stock-buy-order-page .exchange-apply-table td {
  height: 44px;
  padding: 5px 10px;
}

.source-stock-order-page [data-exchange-apply-detail] {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #356ced;
  font-size: 12px;
  line-height: 18px;
}

.source-stock-order-page .exchange-apply-table th {
  color: #f5f7fa;
  background: #050505;
  font-size: 12px;
  font-weight: 700;
}

.exchange-apply-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.exchange-apply-actions button {
  margin: 0;
  padding: 7px 10px;
  font-size: 12px;
}

.stock-buy-order-page .exchange-apply-actions [data-exchange-apply-fill] {
  width: 98px;
  height: 33px;
}

.stock-buy-order-page .exchange-apply-actions [data-exchange-apply-cancel] {
  width: 74px;
  height: 33px;
}

.exchange-apply-pagination {
  flex-wrap: wrap;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}

.exchange-apply-pagination select {
  height: 36px;
  border: 1px solid #e3e7ef;
  border-radius: 4px;
  background: #fff;
  color: #6b7280;
}

.exchange-apply-pagination form,
.exchange-apply-pagination label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.exchange-apply-pagination input {
  width: 58px;
  padding: 0 6px;
  text-align: center;
}

.exchange-apply-detail-backdrop {
  z-index: 1600;
  padding: 20px;
}

.exchange-apply-detail-dialog {
  width: min(1200px, calc(100vw - 40px));
  max-width: 100%;
}

.exchange-apply-detail-dialog h3 {
  margin: 0;
  color: #303133;
  font-size: 18px;
  font-weight: 500;
}

.exchange-apply-detail-dialog table {
  min-width: 920px;
  margin-top: 18px;
}

.exchange-apply-detail-dialog footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.exchange-apply-detail-dialog footer button {
  min-width: 64px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: #2257ff;
  color: #fff;
  cursor: pointer;
}

.exchange-apply-action-backdrop {
  z-index: 1650;
  padding: 10px;
}

.exchange-apply-action-dialog {
  width: min(520px, calc(100vw - 20px));
  max-width: 100%;
}

.exchange-apply-cancel-dialog {
  width: min(420px, calc(100vw - 20px));
  max-width: 100%;
}

.exchange-apply-action-dialog h3,
.exchange-apply-cancel-dialog h3 {
  margin: 0 0 22px;
  color: #303133;
  font-size: 18px;
  font-weight: 500;
}

.exchange-apply-cancel-dialog > p {
  margin: 8px 0 24px;
  color: #606266;
  font-size: 14px;
}

.exchange-apply-action-dialog input[readonly] {
  height: auto;
  padding: 0;
  border: 0;
  color: #f56c6c;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.exchange-apply-action-dialog footer button,
.exchange-apply-cancel-dialog footer button {
  min-width: 70px;
}

.exchange-apply-action-dialog footer button.secondary,
.exchange-apply-cancel-dialog footer button.secondary {
  border: 1px solid #dcdfe6;
  color: #606266;
  background: #fff;
}

.exchange-apply-action-dialog button:disabled,
.exchange-apply-cancel-dialog button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.stock-perpetual-entrust-page {
  min-width: 0;
  padding-bottom: 52px;
}

.stock-entrust-region-tabs {
  gap: 34px;
  margin-bottom: 14px;
  scrollbar-width: thin;
}

.stock-entrust-search {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr)) auto auto;
  gap: 14px 18px;
  align-items: end;
  width: 100%;
  margin: 0 0 22px;
}

.stock-entrust-search[hidden] {
  display: none !important;
}

.source-stock-order-page .stock-entrust-search label {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  color: #606266;
  font-size: 14px;
  transform: none;
}

.source-stock-order-page .stock-entrust-search input,
.source-stock-order-page .stock-entrust-search select {
  width: 100%;
  min-width: 0;
  height: 36px;
}

.source-stock-order-page .stock-entrust-search > button {
  height: 36px;
  padding: 0 17px;
  transform: none;
}

.stock-entrust-symbol-filter {
  grid-template-columns: minmax(0, 1fr) !important;
}

.stock-entrust-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid #dfe5ee;
}

.stock-entrust-list-toolbar .sub-tabs {
  flex: 1 1 auto;
  margin: 0;
  border-bottom: 0;
}

.stock-entrust-list-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding-bottom: 7px;
}

.stock-entrust-list-actions .icon-button {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #dfe4ed;
  border-radius: 50%;
  background: #fff;
  color: #667085;
  font-size: 18px;
}

.stock-entrust-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.block-trade-record-page .block-trade-record-table-scroll:focus-visible {
  outline: 2px solid #2257ff;
  outline-offset: 2px;
}

.block-trade-record-page .block-trade-record-table {
  min-width: 1430px;
}

.block-trade-record-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 3px;
  color: #475467;
  background: #f2f4f7;
  font-weight: 600;
}

.block-trade-record-status.status-created {
  color: #067647;
  background: #ecfdf3;
}

.block-trade-record-status.status-canceled {
  color: #b42318;
  background: #fef3f2;
}

.source-stock-order-page .stock-entrust-table {
  min-width: 1880px;
  table-layout: auto;
}

.source-stock-order-page .stock-entrust-table th,
.source-stock-order-page .stock-entrust-table td {
  height: 44px;
  padding: 8px 12px;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.35;
}

.source-stock-order-page .stock-entrust-table th {
  color: #f5f7fa;
  background: #050505;
  font-weight: 700;
}

.source-stock-order-page .stock-entrust-table th:last-child,
.source-stock-order-page .stock-entrust-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  width: 205px;
  min-width: 205px;
  max-width: 205px;
}

.source-stock-order-page .stock-entrust-table th:last-child {
  z-index: 3;
  background: #050505;
}

.source-stock-order-page .stock-entrust-table td:last-child {
  background: #fff;
}

.stock-perpetual-entrust-page .exchange-apply-actions button {
  min-height: 32px;
  padding: 0 10px;
}

.stock-entrust-pagination {
  flex-wrap: nowrap;
  justify-content: center;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}

.stock-entrust-pagination select {
  height: 36px;
  border: 1px solid #e3e7ef;
  border-radius: 4px;
  background: #fff;
  color: #6b7280;
}

.stock-entrust-pagination form,
.stock-entrust-pagination label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-entrust-pagination input {
  width: 58px;
  padding: 0 6px;
  text-align: center;
}

@media (max-width: 1100px) {
  .stock-entrust-search {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  .stock-perpetual-entrust-page {
    padding: 14px 10px 30px;
  }

  .stock-entrust-region-tabs {
    gap: 24px;
  }

  .stock-entrust-search {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .block-trade-record-page .block-trade-record-search input,
  .block-trade-record-page .block-trade-record-search select,
  .block-trade-record-page .block-trade-record-search > button,
  .block-trade-record-page .block-trade-record-toolbar button,
  .block-trade-record-page .block-trade-record-pagination button,
  .block-trade-record-page .block-trade-record-pagination select,
  .block-trade-record-page .block-trade-record-pagination input {
    min-height: 44px;
  }

  .block-trade-record-page .block-trade-record-search > button {
    width: auto;
    min-width: 78px;
    justify-self: start;
    padding-inline: 14px;
  }

  .block-trade-record-page .block-trade-record-table th:first-child,
  .block-trade-record-page .block-trade-record-table td:first-child,
  .block-trade-record-page .block-trade-record-table th:nth-child(2),
  .block-trade-record-page .block-trade-record-table td:nth-child(2),
  .block-trade-record-page .block-trade-record-table th:last-child,
  .block-trade-record-page .block-trade-record-table td:last-child {
    width: 99px;
    min-width: 99px;
    max-width: 99px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .source-stock-order-page .stock-entrust-search label {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .stock-entrust-list-toolbar {
    align-items: flex-end;
  }

  .stock-entrust-list-toolbar .sub-tabs {
    gap: 18px;
    overflow-x: auto;
  }

  .stock-entrust-pagination {
    justify-content: flex-start;
  }
}

@media (max-width: 1000px) {
  .source-stock-order-page .exchange-apply-search {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  .stock-region-tabs {
    gap: 24px;
  }

  .exchange-apply-toolbar {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .source-stock-order-page .exchange-apply-search {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .source-stock-order-page .exchange-apply-search label {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .exchange-apply-pagination {
    justify-content: flex-start;
  }

  .exchange-apply-detail-backdrop {
    padding: 10px;
  }

  .exchange-apply-detail-dialog {
    width: calc(100vw - 20px);
    padding: 18px 14px;
  }

  .exchange-apply-action-dialog,
  .exchange-apply-cancel-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 18px 14px;
  }

  .crypto-spot-order-page .exchange-apply-search input,
  .crypto-spot-order-page .exchange-apply-search select,
  .crypto-spot-order-page .exchange-apply-search > button[type="submit"] {
    min-height: 40px;
    height: 40px;
  }

  .crypto-spot-order-page .exchange-apply-refresh {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }
}

.source-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.source-filter-pills button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d9e0ec;
  border-radius: 6px;
  background: #fff;
  color: #4b5563;
}

.source-filter-pills button.active {
  border-color: #2257ff;
  color: #2257ff;
  background: #eef4ff;
}

.news-editor {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f8fafc;
}

.role-create {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f8fafc;
}

.news-editor label:nth-child(2) {
  flex: 1;
  min-width: 320px;
}

.news-editor label:nth-child(2) input {
  width: 100%;
}

.finance-page table {
  min-width: 1180px;
}

.address-cell,
.document-cell {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.identity-page table {
  min-width: 1260px;
}

.user-page table {
  min-width: 1380px;
}

.recommend-page table {
  min-width: 1220px;
}

.balance-adjust-page table {
  min-width: 1420px;
}

.withdraw-address-page table {
  min-width: 1380px;
}

.system-user-page table {
  min-width: 1360px;
}

.menu-page table {
  min-width: 1380px;
}

.customer-service-page table {
  min-width: 1180px;
}

.banner-page table {
  min-width: 1420px;
}

.user-content-page table {
  min-width: 1260px;
}

.site-notice-page table {
  min-width: 1320px;
}

.avatar-page table {
  min-width: 1120px;
}

.withdraw-limit-page table {
  min-width: 1320px;
}

.third-withdraw-page table {
  min-width: 1480px;
}

.recharge-address-page table {
  min-width: 1380px;
}

.bank-pay-page table {
  min-width: 1360px;
}

.bank-pay-order-page table {
  min-width: 1520px;
}

.trade-page table {
  min-width: 1420px;
}

.contract-position-page table {
  min-width: 2180px;
}

.contract-entrust-page table {
  min-width: 1880px;
}

.delivery-contract-page table {
  min-width: 1880px;
}

.market-variety-page table {
  min-width: 1320px;
}

.perpetual-config-page table {
  min-width: 1240px;
}

.delivery-config-page table {
  min-width: 960px;
}

.contract-position-table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.contract-position-page [data-contract-current-table] {
  min-width: 2280px;
}

.contract-position-page [data-contract-history-table] {
  min-width: 2060px;
}

.contract-position-filter.is-hidden {
  display: none;
}

.contract-history-tabs {
  display: flex;
  gap: 24px;
  min-height: 42px;
  margin: -8px 0 18px;
  border-bottom: 1px solid #e4e7ed;
}

.contract-history-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  color: #606266;
  cursor: pointer;
}

.contract-history-tabs button.active {
  color: #2257ff;
}

.contract-history-tabs button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #2257ff;
}

.contract-position-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 38px 0 14px;
}

.contract-market-adjust {
  display: flex;
  align-items: end;
  gap: 10px;
}

.contract-market-adjust label {
  display: grid;
  gap: 8px;
  color: #303133;
}

.contract-market-adjust select {
  width: 240px;
  height: 36px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
}

.contract-market-adjust button,
.contract-position-actions button,
.contract-market-records button {
  min-height: 32px;
  border: 0;
  border-radius: 4px;
  padding: 0 13px;
  background: #2257ff;
  color: #fff;
  cursor: pointer;
}

.contract-position-actions {
  display: flex;
  gap: 8px;
}

.contract-table-tools {
  display: flex;
  gap: 8px;
}

.contract-table-tools button {
  width: 36px;
  height: 36px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  cursor: pointer;
  font-size: 20px;
}

.contract-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #356ced;
  cursor: pointer;
  font: inherit;
}

.contract-remaining,
.profit-positive {
  color: #16a34a;
}

.profit-negative,
.contract-warning {
  color: #f56c6c;
}

.contract-position-feedback,
.contract-market-alert {
  margin: 0 0 14px;
  color: #e6a23c;
}

.contract-position-page [data-contract-current-table] th:last-child,
.contract-position-page [data-contract-current-table] td:last-child {
  position: sticky;
  right: 0;
  z-index: 1;
  background: #fff;
  box-shadow: -8px 0 12px rgba(15, 23, 42, 0.06);
}

.contract-position-page [data-contract-current-table] th:last-child {
  background: #f8fafc;
}

.contract-position-pagination {
  flex-wrap: wrap;
  max-width: 100%;
}

.contract-position-pagination form,
.contract-position-pagination label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contract-position-pagination input {
  width: 58px;
  text-align: center;
}

.contract-action-backdrop,
.contract-market-backdrop {
  z-index: 1700;
  padding: 10px;
}

.contract-pips-dialog,
.contract-close-dialog,
.contract-username-dialog {
  width: min(440px, calc(100vw - 20px));
}

.contract-pips-dialog h3,
.contract-close-dialog h3,
.contract-username-dialog h3,
.contract-market-dialog h3,
.contract-market-rollback-dialog h3 {
  margin: 0 0 20px;
  color: #303133;
  font-size: 18px;
  font-weight: 500;
}

.contract-pips-dialog > form > p,
.contract-close-dialog > p,
.contract-username-dialog > p {
  margin: 8px 0 14px;
  color: #606266;
}

.contract-pips-dialog > form > .contract-warning {
  color: #f56c6c;
  font-size: 12px;
}

.contract-pips-dialog footer,
.contract-close-dialog footer,
.contract-username-dialog footer,
.contract-market-dialog footer,
.contract-market-rollback-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.contract-pips-dialog footer button,
.contract-close-dialog footer button,
.contract-username-dialog footer button,
.contract-market-dialog footer button,
.contract-market-rollback-dialog footer button {
  min-width: 70px;
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  background: #2257ff;
  color: #fff;
  cursor: pointer;
}

.contract-pips-dialog footer button.secondary,
.contract-close-dialog footer button.secondary,
.contract-market-dialog footer button.secondary,
.contract-market-rollback-dialog footer button.secondary {
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #606266;
}

.contract-market-dialog {
  width: min(700px, calc(100vw - 20px));
  max-height: calc(100vh - 24px);
}

.contract-market-dialog select,
.contract-market-dialog input,
.contract-market-rollback-dialog input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
}

.contract-market-dialog [hidden] {
  display: none !important;
}

.contract-market-dialog small {
  color: #909399;
}

.contract-point-steppers {
  display: flex;
  gap: 8px;
  margin: -4px 0 14px;
}

.contract-market-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid #ebeef5;
}

.contract-market-preview div {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
}

.contract-market-preview span,
.contract-market-preview strong {
  display: block;
  overflow-wrap: anywhere;
}

.contract-market-preview span {
  margin-bottom: 6px;
  color: #909399;
  font-size: 12px;
}

.contract-market-record-tabs {
  margin-top: 24px;
}

.contract-market-records table {
  min-width: 720px;
}

.contract-market-records {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.contract-market-rollback-dialog {
  position: fixed;
  z-index: 1800;
  width: min(440px, calc(100vw - 20px));
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.24);
}

@media (max-width: 700px) {
  .contract-position-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .contract-market-adjust {
    align-items: stretch;
    flex-direction: column;
  }

  .contract-market-adjust select {
    width: 100%;
  }

  .contract-table-tools {
    justify-content: flex-end;
  }

  .contract-position-filter {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .contract-position-filter label,
  .contract-position-filter input,
  .contract-position-filter select {
    width: 100%;
  }

  .contract-market-dialog {
    padding: 18px 14px;
  }

  .contract-market-preview {
    grid-template-columns: 1fr 1fr;
  }

  .contract-position-pagination {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

.contract-entrust-table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.source-crypto-entrust-page {
  min-width: 0;
  overflow: hidden;
  color: #606266;
}

.source-crypto-entrust-toolbar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.source-crypto-entrust-filter {
  flex: 1 1 auto;
  min-width: 0;
  gap: 14px 18px;
}

.source-crypto-entrust-filter label {
  gap: 8px;
  white-space: nowrap;
}

.source-crypto-entrust-filter input,
.source-crypto-entrust-filter select {
  width: 168px;
  min-width: 0;
}

.source-crypto-entrust-tool-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.source-crypto-entrust-tool-buttons button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dcdfe6;
  border-radius: 50%;
  background: #fff;
  color: #606266;
  cursor: pointer;
  font-size: 18px;
}

.source-crypto-entrust-state-tabs {
  margin-top: 4px;
}

.source-crypto-entrust-table-scroll {
  max-width: 100%;
  border: 1px solid #ebeef5;
}

.contract-entrust-page.source-crypto-entrust-page table {
  min-width: 1110px;
}

.source-crypto-entrust-page th,
.source-crypto-entrust-page td {
  padding: 12px 10px;
  white-space: nowrap;
}

.source-crypto-entrust-pagination {
  flex-wrap: nowrap;
  justify-content: flex-end;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  white-space: nowrap;
}

.source-crypto-entrust-size select,
.source-crypto-entrust-go input {
  height: 36px;
  border: 1px solid #e3e7ef;
  border-radius: 4px;
  background: #fff;
}

.source-crypto-entrust-size select {
  padding: 0 10px;
}

.source-crypto-entrust-go {
  display: flex;
  gap: 7px;
  align-items: center;
}

.source-crypto-entrust-go input {
  width: 52px;
  padding: 0 5px;
  text-align: center;
}

.crypto-contract-entrust-cancel-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 20px;
}

.crypto-contract-entrust-cancel-dialog h3,
.crypto-contract-entrust-cancel-dialog p {
  margin: 0;
}

.crypto-contract-entrust-cancel-dialog > p {
  padding: 22px 0 4px;
}

.crypto-contract-entrust-cancel-dialog footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}

@media (max-width: 992px) {
  .source-crypto-entrust-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .source-crypto-entrust-tool-buttons {
    justify-content: flex-end;
  }

  .source-crypto-entrust-pagination {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .source-crypto-entrust-page {
    padding: 14px;
  }

  .source-crypto-entrust-filter {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .source-crypto-entrust-filter label {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .source-crypto-entrust-filter input,
  .source-crypto-entrust-filter select {
    width: 100%;
  }

  .source-crypto-entrust-state-tabs {
    gap: 16px;
  }
}

.market-tabs,
.sub-tabs {
  display: flex;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid #dfe5ee;
  margin: 0 0 18px;
  overflow-x: auto;
}

.market-tabs button,
.sub-tabs button {
  position: relative;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #111827;
  white-space: nowrap;
}

.market-tabs button.active,
.sub-tabs button.active {
  color: #2257ff;
}

.market-tabs button.active::after,
.sub-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #2257ff;
}

.market-tabs b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  margin-left: 4px;
  border-radius: 999px;
  color: #fff;
  background: #ff6b85;
  font-size: 12px;
}

.contract-market-adjust {
  margin-top: 44px;
}

.market-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.market-summary article {
  padding: 14px;
  border: 1px solid #e6ebf2;
  border-radius: 6px;
  background: #fff;
}

.market-summary span,
.market-summary small {
  display: block;
  color: #6b7280;
}

.market-summary strong {
  display: block;
  margin: 6px 0;
  font-size: 24px;
}

.market-page table {
  min-width: 1080px;
}

.otc-page table {
  min-width: 1480px;
}

.otc-trade-page table {
  min-width: 1920px;
}

.otc-completed-page table {
  min-width: 2200px;
}

.otc-page th {
  white-space: nowrap;
  word-break: keep-all;
}

.otc-page {
  min-width: 0;
  overflow-x: hidden;
}

.otc-page .table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.otc-page button:focus-visible,
.otc-page input:focus-visible,
.otc-page select:focus-visible {
  outline: 2px solid #356ced;
  outline-offset: 2px;
}

.otc-page .role-filter input,
.otc-page .role-filter select,
.otc-page .role-filter button {
  min-height: 36px;
}

.otc-page .source-table-toolbar,
.otc-page .source-table-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.otc-page .source-table-toolbar {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.otc-page .source-table-stats {
  gap: 8px 16px;
}

.otc-page .source-table-toolbar > button {
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #2257ff;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 900px) {
  .otc-page .role-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .otc-page .role-filter {
    grid-template-columns: minmax(0, 1fr);
  }

  .otc-page .role-filter label,
  .otc-page .role-filter input,
  .otc-page .role-filter select,
  .otc-page .role-filter button {
    width: 100%;
    min-width: 0;
  }

  .otc-page .source-table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .otc-page .source-table-stats {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .otc-page .source-table-toolbar > button {
    width: 100%;
  }
}

.c2c-page table {
  min-width: 1580px;
}

.news-page table {
  min-width: 1180px;
}

.module-page table {
  min-width: 1180px;
}

.user-page td:last-child {
  white-space: nowrap;
}

.recommend-page td:last-child {
  white-space: nowrap;
}

.balance-adjust-page td:last-child {
  white-space: nowrap;
}

.withdraw-address-page td:last-child {
  white-space: nowrap;
}

.system-user-page td:last-child {
  white-space: nowrap;
}

.menu-page td:last-child {
  white-space: nowrap;
}

.customer-service-page td:last-child {
  white-space: nowrap;
}

.banner-page td:last-child {
  white-space: nowrap;
}

.user-content-page td:last-child {
  white-space: nowrap;
}

.site-notice-page td:last-child {
  white-space: nowrap;
}

.avatar-page td:last-child {
  white-space: nowrap;
}

.withdraw-limit-page td:last-child {
  white-space: nowrap;
}

.third-withdraw-page td:last-child {
  white-space: nowrap;
}

.recharge-address-page td:last-child {
  white-space: nowrap;
}

.bank-pay-page td:last-child {
  white-space: nowrap;
}

.bank-pay-order-page td:last-child {
  white-space: nowrap;
}

.trade-page td:last-child {
  white-space: nowrap;
}

.contract-position-page td:last-child {
  white-space: nowrap;
}

.contract-entrust-page td:last-child {
  white-space: nowrap;
}

.delivery-contract-page td:last-child {
  white-space: nowrap;
}

.market-variety-page td:last-child {
  white-space: nowrap;
}

.perpetual-config-page td:last-child {
  white-space: nowrap;
}

.delivery-config-page td:last-child {
  white-space: nowrap;
}

.market-page td:last-child {
  white-space: nowrap;
}

.otc-page td:last-child {
  white-space: nowrap;
}

.c2c-page td:last-child {
  white-space: nowrap;
}

.news-page td:last-child {
  white-space: nowrap;
}

.finance-manual {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.balance-adjust-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.withdraw-address-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.system-user-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.menu-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.customer-service-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.banner-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.user-content-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.site-notice-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.avatar-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.withdraw-limit-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.third-withdraw-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.recharge-address-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.bank-pay-create {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #f8fafc;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-width: 68px;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  color: #fff;
  background: #64748b;
}

.status-pill.pending {
  background: #f59e0b;
}

.status-pill.approved {
  background: #16a34a;
}

.status-pill.rejected {
  background: #ef4444;
}

.status-pill.enabled,
.status-pill.normal {
  background: #16a34a;
}

.status-pill.disabled,
.status-pill.high {
  background: #ef4444;
}

.status-pill.watch {
  background: #f59e0b;
}

.status-pill.increase {
  background: #16a34a;
}

.status-pill.decrease {
  background: #ef4444;
}

.status-pill.open {
  background: #2563eb;
}

.status-pill.partial {
  background: #7c3aed;
}

.status-pill.filled {
  background: #16a34a;
}

.status-pill.running,
.status-pill.settled,
.status-pill.closed,
.status-pill.filled {
  background: #16a34a;
}

.status-pill.canceled,
.status-pill.liquidated {
  background: #64748b;
}

.status-pill.submitted {
  background: #2563eb;
}

.status-pill.published {
  background: #16a34a;
}

.status-pill.hidden {
  background: #64748b;
}

.user-detail-panel,
.recommend-detail-panel,
.trade-detail-panel,
.market-detail-panel,
.otc-detail-panel,
.c2c-detail-panel,
.third-withdraw-detail-panel,
.bank-pay-order-detail-panel,
.news-detail-panel,
.tip-detail-panel,
.module-detail-panel {
  margin-top: 22px;
  border: 1px solid #d8e0ee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.detail-header h3 {
  margin: 0 0 4px;
  color: #111827;
}

.detail-header p {
  margin: 0;
  color: #64748b;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  padding: 18px 20px;
  background: #f8fafc;
}

.detail-grid div {
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
}

.detail-grid span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 12px;
}

.detail-grid strong {
  color: #111827;
  font-size: 15px;
}

.detail-lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 20px 20px;
}

.detail-lists.one-column {
  grid-template-columns: 1fr;
}

.detail-lists section {
  min-width: 0;
}

.detail-lists h4 {
  margin: 0 0 10px;
  color: #111827;
}

.detail-lists h4 b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  border-radius: 999px;
  color: #fff;
  background: #7c8cff;
  font-size: 12px;
}

.detail-lists p {
  margin: 0 0 8px;
  padding: 9px 10px;
  border-radius: 4px;
  background: #f8fafc;
  color: #475569;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-desc {
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-edit-form {
  display: grid;
  grid-template-columns: 1.2fr 2fr repeat(3, 150px) auto;
  gap: 12px;
  align-items: end;
  padding: 18px 20px 20px;
}

.module-edit-form {
  grid-template-columns: 1fr 180px 1.5fr 140px auto;
}

.recommend-edit-form {
  grid-template-columns: 1fr auto;
}

.market-edit-form {
  grid-template-columns: 1.2fr 150px 130px 130px 130px auto;
}

.detail-edit-form label {
  display: grid;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
}

.detail-edit-form input,
.detail-edit-form select {
  height: 38px;
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  padding: 0 12px;
  color: #111827;
}

.permissions-page table {
  min-width: 920px;
}

.permissions-dialog form {
  display: grid;
  gap: 14px;
}

.role-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
}

.role-edit-grid label {
  display: grid;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
}

.role-edit-grid input {
  height: 38px;
  border: 1px solid #d9dfe8;
  border-radius: 4px;
  padding: 0 12px;
}

.notice-button {
  position: relative;
  padding-right: 16px;
}

.notice-button b {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  border-radius: 999px;
  color: #fff;
  background: #f26069;
  font-size: 12px;
}

.notice-grid {
  display: grid;
  gap: 24px;
}

.notice-page .notice-grid {
  grid-template-columns: 1fr;
}

.notice-page table {
  min-width: 980px;
}

.notice-grid h2 {
  color: #111827;
}

.table-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.danger {
  background: #f26069 !important;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding: 18px;
  color: #fff;
  background: #050505;
}

td {
  padding: 18px;
  border: 1px solid #e9edf3;
  text-align: center;
  color: #606a78;
}

td button {
  margin: 0 6px;
  padding: 8px 16px;
}

.pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
  color: #6b7280;
}

.pagination button,
.pagination input {
  min-width: 40px;
  height: 36px;
  border: 1px solid #e3e7ef;
  border-radius: 4px;
  background: #fff;
}

.pagination .active {
  color: #fff;
  background: #2257ff;
}

.c2c-appeal-pagination {
  flex-wrap: wrap;
}

.c2c-appeal-search.is-hidden {
  display: none;
}

.c2c-appeal-search {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: center;
  margin-bottom: 14px;
}

.c2c-appeal-search > label {
  display: grid;
  grid-template-columns: minmax(125px, 1.55fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-width: 0;
  text-align: right;
}

.c2c-appeal-search > label input,
.c2c-appeal-search > label select {
  width: 100%;
  min-width: 0;
  height: 29px;
  padding: 0 10px;
}

.c2c-appeal-search-actions {
  display: flex;
  grid-column: 2;
  justify-content: center;
  gap: 18px;
}

.c2c-appeal-search-actions button {
  height: 29px;
  padding: 0 16px;
}

.c2c-appeal-table-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  min-height: 32px;
  margin: 0 0 12px;
}

.c2c-appeal-tool-button {
  display: inline-grid;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #dfe4ed;
  border-radius: 50%;
  background: #fff;
  color: #7d8796;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.c2c-appeal-tool-button:hover,
.c2c-appeal-tool-button:focus-visible {
  border-color: #2257ff;
  color: #2257ff;
}

.c2c-appeal-pagination select {
  height: 36px;
  border: 1px solid #e3e7ef;
  border-radius: 4px;
  background: #fff;
  color: #6b7280;
}

.c2c-appeal-pagination form,
.c2c-appeal-pagination label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c2c-appeal-pagination input {
  width: 58px;
  padding: 0 6px;
  text-align: center;
}

.c2c-appeal-page .table-scroll table {
  min-width: 1120px;
  table-layout: auto;
}

.c2c-appeal-page th,
.c2c-appeal-page td {
  padding: 13px 9px;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

.c2c-appeal-page [data-action="c2c-appeal-clear"] {
  border: 1px solid #d9dfe8;
  background: #fff;
  color: #606a78;
}

.c2c-appeal-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}

.c2c-appeal-confirm-box {
  width: min(420px, calc(100vw - 40px));
  padding: 20px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.c2c-appeal-confirm-box h3 {
  margin: 0 0 18px;
  color: #303133;
  font-size: 18px;
  font-weight: 400;
}

.c2c-appeal-confirm-box p {
  margin: 0;
  color: #606266;
  font-size: 14px;
  line-height: 1.5;
}

.c2c-appeal-confirm-box .c2c-appeal-confirm-error:not([hidden]) {
  margin-top: 10px;
  color: #f56c6c;
}

.c2c-appeal-confirm-box footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
}

.c2c-appeal-confirm-box button {
  min-width: 56px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  cursor: pointer;
}

.c2c-appeal-confirm-box button.primary {
  border-color: #409eff;
  background: #409eff;
  color: #fff;
}

.c2c-appeal-confirm-box button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 640px) {
  .c2c-appeal-search {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .c2c-appeal-search > label {
    grid-template-columns: minmax(0, 86px) minmax(0, 1fr);
    text-align: left;
  }

  .c2c-appeal-search-actions {
    grid-column: 1;
    justify-content: flex-start;
    padding-left: 96px;
  }

  .c2c-appeal-pagination {
    justify-content: flex-start;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
}

.role-dialog {
  width: min(860px, calc(100vw - 40px));
  max-height: 86vh;
  overflow: auto;
  padding: 24px;
  border-radius: 6px;
  background: #fff;
}

.role-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.role-dialog header button {
  border: 0;
  background: transparent;
  font-size: 26px;
}

.role-dialog label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.role-dialog input {
  min-height: 36px;
  border: 1px solid #dce2eb;
  border-radius: 4px;
  padding: 0 10px;
}

.source-basic-user-dialog {
  width: min(1120px, calc(100vw - 40px));
  max-height: 92vh;
  padding: 0;
  border-radius: 2px;
}

.source-basic-user-dialog header {
  min-height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid #edf0f5;
}

.source-basic-user-dialog header h3 {
  margin: 0;
  color: #303133;
  font-size: 18px;
  font-weight: 500;
}

.source-basic-user-fields {
  display: grid;
  gap: 18px;
  padding: 24px 32px 0;
}

.source-basic-user-dialog label {
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0;
  color: #606266;
  font-size: 14px;
}

.source-basic-user-dialog label > span {
  text-align: right;
}

.source-basic-user-dialog label b {
  color: #f56c6c;
}

.source-basic-user-dialog input,
.source-basic-user-dialog select,
.source-basic-user-dialog textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 15px;
  color: #606266;
  background: #fff;
  font-size: 14px;
}

.source-basic-user-dialog textarea {
  min-height: 128px;
  padding: 10px 15px;
  resize: vertical;
}

.source-dialog-hint {
  margin: 16px 32px 0 198px;
  color: #008000;
  font-size: 14px;
}

.source-basic-user-dialog .form-error {
  margin: 16px 32px 0 198px;
  color: #d93025;
}

.source-basic-user-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 32px 24px;
}

.source-basic-user-dialog footer button {
  min-width: 72px;
  min-height: 36px;
  border: 1px solid #1c4efa;
  border-radius: 3px;
  padding: 0 16px;
  color: #fff;
  background: #1c4efa;
}

.source-basic-user-dialog footer button.secondary {
  color: #606266;
  border-color: #dcdfe6;
  background: #fff;
}

.permission-tree {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 16px;
  max-height: 360px;
  overflow: auto;
  padding: 16px;
  border: 1px solid #e5e7eb;
}

.permission-tree label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #5c6675;
}

.permission-tree .checked {
  color: #2257ff;
}

.stock-delivery-page {
  min-width: 0;
  overflow: hidden;
  color: #606266;
  font-size: 14px;
}

.stock-delivery-region-tabs,
.stock-delivery-state-tabs {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid #e4e7ed;
  scrollbar-width: thin;
}

.stock-delivery-region-tabs {
  margin-bottom: 22px;
}

.stock-delivery-state-tabs {
  margin: 0;
}

.stock-delivery-region-tabs button,
.stock-delivery-state-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #606266;
  cursor: pointer;
  font: inherit;
}

.stock-delivery-region-tabs button.active,
.stock-delivery-state-tabs button.active {
  border-bottom-color: #409eff;
  color: #409eff;
}

.stock-delivery-toolbar {
  min-width: 0;
  margin-bottom: 18px;
}

.stock-delivery-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 18px 22px;
  min-width: 0;
}

.stock-delivery-filter.is-hidden {
  display: none;
}

.stock-delivery-filter label {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  text-align: right;
}

.stock-delivery-filter input,
.stock-delivery-filter select,
.stock-delivery-pagination select,
.stock-delivery-pagination input,
.stock-delivery-dialog input,
.stock-delivery-dialog select {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font: inherit;
}

.stock-delivery-filter > button {
  justify-self: end;
  min-width: 70px;
  height: 36px;
  padding: 0 18px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  cursor: pointer;
}

.stock-delivery-table-tools {
  position: relative;
  display: flex;
  gap: 8px;
}

.stock-delivery-state-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  margin-bottom: 18px;
}

.stock-delivery-table-tools > button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #dcdfe6;
  border-radius: 50%;
  background: #fff;
  color: #606266;
  cursor: pointer;
  font-size: 18px;
}

.stock-delivery-table-tools > button:hover {
  border-color: #409eff;
  color: #409eff;
}

.stock-delivery-column-menu {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 8px 14px;
  width: min(390px, calc(100vw - 36px));
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31, 41, 55, 0.16);
}

.stock-delivery-column-menu label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.stock-delivery-column-menu input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.stock-delivery-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.stock-delivery-page [data-stock-delivery-table] {
  width: max-content;
  min-width: 2180px;
}

.stock-delivery-page [data-stock-delivery-column="profitControl"] {
  min-width: 300px;
  max-width: 360px;
  white-space: normal;
}

.stock-delivery-page [data-stock-delivery-column="operation"] {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 310px;
  background: #fff;
  white-space: nowrap;
}

.stock-delivery-page thead [data-stock-delivery-column="operation"] {
  z-index: 3;
  background: #050505;
}

.stock-delivery-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.stock-delivery-actions button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #fff;
  color: #409eff;
  cursor: pointer;
  white-space: nowrap;
}

.stock-delivery-positive,
.stock-delivery-role-member,
.stock-delivery-state-submitted {
  color: #67c23a;
}

.stock-delivery-negative,
.stock-delivery-state-canceled {
  color: #f56c6c;
}

.stock-delivery-role-guest,
.stock-delivery-role-test,
.stock-delivery-state-created {
  color: #e6a23c;
}

.stock-delivery-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
}

.stock-delivery-pagination label,
.stock-delivery-pagination form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stock-delivery-pagination select {
  width: 96px;
}

.stock-delivery-pagination input {
  width: 56px;
}

.stock-delivery-dialog-backdrop {
  padding: 16px;
}

.stock-delivery-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 22px;
}

.stock-delivery-dialog h3 {
  margin: 0 0 22px;
  color: #303133;
  font-size: 18px;
  font-weight: 400;
}

.stock-delivery-dialog label {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  margin: 0;
}

.stock-delivery-dialog footer button {
  min-width: 70px;
  height: 34px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  cursor: pointer;
}

.stock-delivery-dialog footer button.secondary {
  border-color: #dcdfe6;
  background: #fff;
  color: #606266;
}

.stock-delivery-dialog footer button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.stock-delivery-ratio-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
}

.stock-delivery-ratio-input input {
  border-radius: 4px 0 0 4px;
}

.stock-delivery-ratio-input b {
  display: grid;
  place-items: center;
  border: 1px solid #dcdfe6;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #f5f7fa;
  font-weight: 400;
}

.stock-profit-control-page {
  min-width: 0;
  overflow: hidden;
  color: #606266;
  font-size: 14px;
}

.stock-profit-control-regions {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid #e4e7ed;
  scrollbar-width: thin;
}

.stock-profit-control-regions button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #606266;
  cursor: pointer;
  font: inherit;
}

.stock-profit-control-regions button.active {
  border-bottom-color: #409eff;
  color: #409eff;
}

.stock-profit-control-search {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  min-width: 0;
  margin-bottom: 18px;
}

.stock-profit-control-search.is-hidden {
  display: none;
}

.stock-profit-control-search label {
  display: flex;
  gap: 10px;
  align-items: center;
}

.stock-profit-control-search input,
.stock-profit-control-pagination select,
.stock-profit-control-pagination input,
.stock-profit-control-dialog input,
.stock-profit-control-dialog select,
.stock-profit-control-dialog textarea {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font: inherit;
}

.stock-profit-control-search input {
  width: 230px;
}

.stock-profit-control-search button,
.stock-profit-control-tools button {
  min-width: 70px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  cursor: pointer;
}

.stock-profit-control-search button.secondary,
.stock-profit-control-tools button:not(.primary) {
  border-color: #dcdfe6;
  background: #fff;
  color: #606266;
}

.stock-profit-control-tools,
.stock-profit-control-tools > div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.stock-profit-control-primary-tools {
  flex-wrap: wrap;
}

.crypto-profit-global-control {
  position: relative;
}

.crypto-profit-global-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  display: flex;
  gap: 10px;
  align-items: center;
  width: 298px;
  min-height: 53px;
  padding: 12px;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgb(0 0 0 / 10%);
}

.crypto-profit-global-popover::before {
  position: absolute;
  top: -6px;
  left: 34px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #ebeef5;
  border-left: 1px solid #ebeef5;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.crypto-profit-global-popover select {
  min-width: 0;
  height: 28px;
  flex: 1 1 auto;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
}

.crypto-profit-global-popover button {
  min-width: 58px;
  height: 28px;
  padding: 0 10px;
}

.crypto-profit-global-popover .form-error {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin: 4px 0 0;
  padding: 6px 10px;
  background: #fff;
}

.stock-profit-control-tools {
  justify-content: space-between;
  margin-bottom: 14px;
}

.stock-profit-control-tools > div:last-child button {
  min-width: 36px;
  padding: 0;
}

.stock-profit-control-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.stock-profit-control-page [data-stock-profit-control-table] {
  width: 100%;
  min-width: 1100px;
  table-layout: fixed;
}

.stock-profit-control-page [data-stock-profit-control-table] th,
.stock-profit-control-page [data-stock-profit-control-table] td {
  min-width: 0;
  padding: 15px 10px;
  white-space: nowrap;
}

.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(1),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(1) { width: 120px; }
.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(2),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(2) { width: 125px; }
.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(3),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(3) { width: 105px; }
.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(4),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(4) { width: 115px; }
.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(5),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(5) { width: 105px; }
.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(6),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(6),
.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(7),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(7) { width: 135px; }
.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(8),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(8) { width: 110px; }

.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(2),
.stock-profit-control-page [data-stock-profit-control-table] th:nth-child(8),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(2),
.stock-profit-control-page [data-stock-profit-control-table] td:nth-child(8) {
  white-space: normal;
}

.stock-profit-control-page [data-stock-profit-control-table] th:last-child,
.stock-profit-control-page [data-stock-profit-control-table] td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  width: 150px;
  min-width: 150px;
  background: #fff;
}

.stock-profit-control-page [data-stock-profit-control-table] th:last-child {
  z-index: 3;
  background: #050505;
}

.stock-profit-control-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.stock-profit-control-actions button {
  min-height: 30px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #409eff;
  background: #fff;
  color: #409eff;
}

.stock-profit-control-pagination {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}

.stock-profit-control-pagination label,
.stock-profit-control-pagination form {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.stock-profit-control-pagination select {
  width: 96px;
  height: 36px;
}

.stock-profit-control-pagination input {
  width: 56px;
  height: 36px;
}

.stock-profit-control-dialog-backdrop {
  padding: 16px;
}

.stock-profit-control-dialog,
.stock-profit-control-delete-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 22px;
}

.crypto-profit-control-page .stock-profit-control-dialog {
  width: min(640px, calc(100vw - 32px));
}

.stock-profit-control-dialog h3,
.stock-profit-control-delete-dialog h3 {
  margin: 0 0 22px;
  color: #303133;
  font-size: 18px;
  font-weight: 400;
}

.stock-profit-control-dialog label {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.stock-profit-control-dialog label > span {
  padding-top: 9px;
  text-align: right;
}

.stock-profit-control-dialog label b {
  margin-left: 4px;
  color: #f56c6c;
  font-weight: 400;
}

.stock-profit-control-dialog textarea {
  min-height: 150px;
  padding-top: 9px;
  resize: vertical;
}

.stock-profit-control-batch-note {
  margin: 0 0 20px;
  color: green;
  line-height: 1.7;
}

.stock-profit-control-user-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.stock-profit-control-user-row > label:first-child {
  min-width: 0;
}

.stock-profit-control-dialog input:disabled {
  background: #f5f7fa;
  color: #a8abb2;
}

.stock-profit-control-dialog label small {
  grid-column: 2;
  margin-top: -6px;
  color: #909399;
}

.stock-profit-control-dialog .stock-profit-control-all {
  display: flex;
  grid-template-columns: none;
  gap: 6px;
  align-items: center;
  margin-top: 1px;
}

.stock-profit-control-dialog .stock-profit-control-all input {
  width: 16px;
  min-height: 16px;
  margin: 9px 0 0;
  padding: 0;
}

.stock-profit-control-dialog .stock-profit-control-all span {
  padding-top: 9px;
  text-align: left;
  white-space: nowrap;
}

.stock-profit-control-note {
  margin: 20px 0;
  color: green;
  line-height: 1.6;
}

.stock-profit-control-dialog footer,
.stock-profit-control-delete-dialog footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.stock-profit-control-dialog footer button,
.stock-profit-control-delete-dialog footer button {
  min-width: 70px;
  height: 34px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  cursor: pointer;
}

.stock-profit-control-dialog footer button.secondary,
.stock-profit-control-delete-dialog footer button.secondary {
  border-color: #dcdfe6;
  background: #fff;
  color: #606266;
}

.stock-profit-control-delete-dialog > p {
  margin: 18px 0 28px;
  color: #606266;
  line-height: 1.7;
}

.stock-market-variety-page {
  min-width: 0;
  overflow: hidden;
  color: #606266;
  font-size: 14px;
  border-radius: 0;
  box-shadow: none;
}

.stock-market-variety-regions {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid #e4e7ed;
  scrollbar-width: thin;
}

.stock-market-variety-regions button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #606266;
  cursor: pointer;
  font: inherit;
}

.stock-market-variety-regions button.active {
  border-bottom-color: #409eff;
  color: #409eff;
}

.stock-market-variety-search {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(260px, 1fr) minmax(260px, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  margin-bottom: 18px;
}

.stock-market-variety-search.is-hidden,
.stock-market-variety-commodity-fields.is-hidden {
  display: none;
}

.stock-market-variety-search label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.stock-market-variety-search input,
.stock-market-variety-search select,
.stock-market-variety-pagination select,
.stock-market-variety-pagination input,
.stock-market-variety-dialog input,
.stock-market-variety-dialog select {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font: inherit;
}

.stock-market-variety-search-actions,
.stock-market-variety-tools,
.stock-market-variety-tools > div,
.stock-market-variety-actions {
  gap: 8px;
  justify-content: center;
  display: flex;
  align-items: center;
}

.stock-market-variety-search button,
.stock-market-variety-tools button,
.stock-market-variety-actions button {
  min-width: 70px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  cursor: pointer;
}

.stock-market-variety-actions button {
  min-width: 0;
  height: 30px;
  padding: 0 8px;
  font-size: 12px;
  white-space: nowrap;
}

.stock-market-variety-search button.secondary,
.stock-market-variety-tools button:not(.primary),
.stock-market-variety-actions button {
  border-color: #dcdfe6;
  background: #fff;
  color: #409eff;
}

.stock-market-variety-tools {
  justify-content: space-between;
  margin-bottom: 14px;
}

.stock-market-variety-tools > div:last-child button {
  min-width: 36px;
  padding: 0;
}

.stock-market-variety-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  border-top: 1px solid #ebeef5;
}

.stock-market-variety-page [data-stock-market-variety-table] {
  width: 100%;
  min-width: 1120px;
  table-layout: fixed;
}

.stock-market-variety-page [data-stock-market-variety-table] th,
.stock-market-variety-page [data-stock-market-variety-table] td {
  min-width: 0;
  padding: 15px 16px;
  border-bottom: 1px solid #ebeef5;
  background: #fff;
  color: #606266;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stock-market-variety-page [data-stock-market-variety-table] th {
  background: #050505;
  color: #fff;
  font-weight: 500;
  white-space: normal;
}

.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(1),
.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(2),
.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(3) {
  width: 100px;
}

.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(4) {
  width: 72px;
}

.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(5),
.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(7),
.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(9),
.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(10) {
  width: 90px;
}

.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(6),
.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(8) {
  width: 105px;
}

.stock-market-variety-page [data-stock-market-variety-table] th:nth-child(8),
.stock-market-variety-page [data-stock-market-variety-table] td:nth-child(8) {
  min-width: 0;
}

.stock-market-variety-page [data-stock-market-variety-table] th:last-child,
.stock-market-variety-page [data-stock-market-variety-table] td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  width: 210px;
  min-width: 210px;
  box-shadow: -6px 0 8px rgba(15, 23, 42, 0.04);
  padding-right: 8px;
  padding-left: 8px;
}

.crypto-market-variety-page [data-stock-market-variety-table] {
  min-width: 1240px;
}

.crypto-market-variety-page [data-stock-market-variety-table] th:last-child,
.crypto-market-variety-page [data-stock-market-variety-table] td:last-child {
  width: 260px;
  min-width: 260px;
}

.stock-market-variety-page [data-stock-market-variety-table] th:last-child {
  z-index: 3;
  background: #050505;
}

.stock-market-variety-pagination {
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.stock-market-variety-pagination label,
.stock-market-variety-pagination form {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.stock-market-variety-pagination select {
  width: 96px;
  height: 36px;
}

.stock-market-variety-pagination input {
  width: 56px;
  height: 36px;
}

.stock-market-variety-dialog-backdrop {
  padding: 16px;
}

.stock-market-variety-dialog,
.stock-market-variety-confirm {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 22px;
}

.stock-market-variety-dialog h3,
.stock-market-variety-confirm h3 {
  margin: 0 0 22px;
  color: #303133;
  font-size: 18px;
  font-weight: 400;
}

.stock-market-variety-dialog label {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.stock-market-variety-dialog label > span {
  text-align: right;
}

.stock-market-variety-dialog label b {
  margin-left: 4px;
  color: #f56c6c;
  font-weight: 400;
}

.stock-market-variety-dialog input:disabled,
.stock-market-variety-dialog select:disabled {
  background: #f5f7fa;
  color: #a8abb2;
  cursor: not-allowed;
}

.stock-market-variety-dialog footer,
.stock-market-variety-confirm footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.stock-market-variety-dialog footer button,
.stock-market-variety-confirm footer button {
  min-width: 70px;
  height: 34px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  cursor: pointer;
}

.stock-market-variety-dialog footer button.secondary,
.stock-market-variety-confirm footer button.secondary {
  border-color: #dcdfe6;
  background: #fff;
  color: #606266;
}

.stock-market-variety-confirm > p {
  margin: 18px 0 28px;
  color: #606266;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .stock-delivery-filter {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
  }

  .stock-market-variety-search {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .stock-market-variety-search-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .crypto-market-variety-page [data-stock-market-variety-table] th:last-child,
  .crypto-market-variety-page [data-stock-market-variety-table] td:last-child {
    position: static;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .stock-delivery-page {
    min-width: 0;
    max-width: calc(100% - 32px);
  }

  .stock-delivery-region-tabs,
  .stock-delivery-state-tabs,
  .stock-delivery-table-scroll,
  .stock-delivery-pagination {
    width: 100%;
    max-width: 100%;
  }

}

@media (max-width: 600px) {
  .stock-delivery-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .stock-delivery-region-tabs,
  .stock-delivery-state-tabs {
    gap: 22px;
  }

  .stock-delivery-filter {
    grid-template-columns: minmax(0, 1fr);
  }

  .stock-delivery-state-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .stock-delivery-filter label {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .stock-delivery-filter > button {
    justify-self: end;
  }

  .stock-delivery-table-tools {
    justify-self: end;
  }

  .stock-delivery-column-menu {
    grid-template-columns: minmax(0, 1fr);
  }

  .stock-delivery-pagination {
    justify-content: flex-start;
  }

  .stock-delivery-page [data-stock-delivery-column="operation"] {
    position: static;
  }

  .stock-delivery-dialog {
    padding: 18px;
  }

  .stock-delivery-dialog label {
    grid-template-columns: minmax(0, 1fr);
  }

  .stock-profit-control-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .stock-profit-control-regions {
    gap: 22px;
  }

  .stock-profit-control-search {
    align-items: stretch;
  }

  .stock-profit-control-search label {
    width: 100%;
  }

  .stock-profit-control-search input {
    flex: 1 1 auto;
    width: auto;
  }

  .stock-profit-control-tools {
    align-items: flex-start;
  }

  .stock-profit-control-tools > div:first-child {
    flex-wrap: wrap;
  }

  .stock-profit-control-user-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .stock-profit-control-dialog .stock-profit-control-all {
    display: flex;
    flex-direction: row;
    gap: 6px;
    width: max-content;
    margin-top: -8px;
  }

  .crypto-profit-global-popover {
    right: 0;
    left: auto;
    width: min(298px, calc(100vw - 32px));
  }

  .crypto-profit-global-popover::before {
    right: 34px;
    left: auto;
  }

  .stock-profit-control-dialog label,
  .stock-profit-control-dialog .stock-profit-control-all {
    grid-template-columns: minmax(0, 1fr);
  }

  .stock-profit-control-dialog label > span {
    padding-top: 0;
    text-align: left;
  }

  .stock-profit-control-dialog label small {
    grid-column: 1;
  }

  .stock-profit-control-note {
    margin-left: 0;
  }

  .stock-profit-control-page [data-stock-profit-control-table] th:last-child,
  .stock-profit-control-page [data-stock-profit-control-table] td:last-child {
    position: static;
  }

  .stock-profit-control-table-scroll {
    overflow-x: hidden;
  }

  .stock-profit-control-page [data-stock-profit-control-table] {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .stock-profit-control-page [data-stock-profit-control-table] th:nth-child(n + 2):nth-child(-n + 8),
  .stock-profit-control-page [data-stock-profit-control-table] td:nth-child(n + 2):nth-child(-n + 8) {
    display: none;
  }

  .stock-profit-control-page [data-stock-profit-control-table] th:first-child,
  .stock-profit-control-page [data-stock-profit-control-table] td:first-child,
  .stock-profit-control-page [data-stock-profit-control-table] th:last-child,
  .stock-profit-control-page [data-stock-profit-control-table] td:last-child {
    width: 50%;
    min-width: 0;
  }

  .stock-market-variety-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .stock-market-variety-regions {
    gap: 22px;
  }

  .stock-market-variety-search {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .stock-market-variety-search-actions {
    grid-column: 1;
  }

  .stock-market-variety-tools {
    align-items: flex-start;
  }

  .stock-market-variety-dialog label {
    grid-template-columns: minmax(0, 1fr);
  }

  .stock-market-variety-dialog label > span {
    text-align: left;
  }

  .block-trade-config-page [data-stock-market-variety-table] {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .block-trade-config-page [data-stock-market-variety-table] th:nth-child(n + 2):nth-child(-n + 8),
  .block-trade-config-page [data-stock-market-variety-table] td:nth-child(n + 2):nth-child(-n + 8) {
    display: none;
  }

  .block-trade-config-page [data-stock-market-variety-table] th:first-child,
  .block-trade-config-page [data-stock-market-variety-table] td:first-child {
    width: 32%;
    padding-right: 8px;
    padding-left: 8px;
  }

  .block-trade-config-page [data-stock-market-variety-table] th:last-child,
  .block-trade-config-page [data-stock-market-variety-table] td:last-child {
    position: static;
    width: 68%;
    min-width: 0;
    padding-right: 4px;
    padding-left: 4px;
    overflow: visible;
    box-shadow: none;
  }

  .block-trade-config-page .stock-market-variety-actions {
    justify-content: flex-end;
    min-width: 0;
  }

  .block-trade-config-page .stock-market-variety-actions button {
    min-height: 36px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .block-trade-config-page .stock-market-variety-search button,
  .block-trade-config-page .stock-market-variety-tools button,
  .block-trade-config-page .stock-market-variety-pagination button,
  .block-trade-config-page .stock-market-variety-regions button {
    min-height: 44px;
  }

}

.source-home-mobile-grid,
.source-home-mobile-invite,
.source-home-mobile-market,
.source-home-rankings {
  display: none;
}

.source-home-partners article {
  min-height: 96px;
}

.source-invite-page {
  display: grid;
  gap: 18px;
}

.source-invite-hero {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background: #111827;
}

.source-invite-hero p,
.source-invite-hero h1 {
  margin: 0;
}

.source-invite-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.source-invite-hero h1 {
  font-size: 28px;
  line-height: 1.2;
}

.source-invite-hero button,
.source-invite-link button {
  width: max-content;
  border: 0;
  border-radius: 4px;
  background: #2257ff;
  color: #fff;
  min-height: 38px;
  padding: 0 18px;
  font-weight: 800;
}

.source-invite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.source-invite-grid article,
.source-invite-link,
.source-invite-table {
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.source-invite-grid span,
.source-invite-link span {
  display: block;
  color: #7a8494;
  font-size: 13px;
  margin-bottom: 8px;
}

.source-invite-grid strong {
  color: #111827;
  font-size: 22px;
}

.source-invite-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}

.source-invite-link span {
  grid-column: 1 / -1;
}

.source-invite-link code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111827;
}

.source-invite-table {
  overflow-x: auto;
}

.source-invite-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.source-invite-table th,
.source-invite-table td {
  border-bottom: 1px solid #edf1f7;
  padding: 12px 10px;
  text-align: left;
  white-space: nowrap;
}

.source-promote-page {
  display: grid;
  gap: 18px;
}

.source-promote-rules,
.source-promote-link,
.source-promote-table {
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.source-promote-rules {
  display: grid;
  gap: 8px;
}

.source-promote-rules h1,
.source-promote-rules p {
  margin: 0;
}

.source-promote-rules h1 {
  color: #111827;
  font-size: 26px;
}

.source-promote-rules p {
  color: #536070;
}

.source-promote-rules strong {
  color: #2257ff;
}

.source-promote-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.source-promote-stats article {
  display: grid;
  gap: 8px;
  min-height: 96px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.source-promote-stats span,
.source-promote-link span {
  color: #7a8494;
  font-size: 13px;
}

.source-promote-stats strong {
  color: #111827;
  font-size: 24px;
  overflow-wrap: anywhere;
}

.source-promote-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
  gap: 12px;
  align-items: center;
}

.source-promote-link div {
  display: grid;
  gap: 4px;
}

.source-promote-link code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111827;
}

.source-promote-link button,
.source-promote-table .section-title button {
  border: 0;
  border-radius: 4px;
  background: #2257ff;
  color: #fff;
  min-height: 38px;
  padding: 0 16px;
  font-weight: 800;
}

.source-promote-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  overflow-x: auto;
}

.source-promote-tabs button {
  border: 1px solid #d8e0ec;
  border-radius: 4px;
  background: #fff;
  color: #536070;
  min-height: 34px;
  padding: 0 14px;
  white-space: nowrap;
}

.source-promote-tabs button[aria-selected="true"] {
  border-color: #2257ff;
  background: #eef3ff;
  color: #2257ff;
  font-weight: 800;
}

.source-promote-table {
  overflow-x: auto;
}

.source-promote-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.source-promote-table th,
.source-promote-table td {
  border-bottom: 1px solid #edf1f7;
  padding: 12px 10px;
  text-align: left;
  white-space: nowrap;
}

.source-identity-auth {
  max-width: 980px;
}

.source-identity-mobile-top {
  display: none;
}

.source-payment-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 16px;
}

.source-payment-toolbar button {
  border: 0;
  border-radius: 4px;
  background: #2257ff;
  color: #fff;
  min-height: 40px;
  padding: 0 18px;
  font-weight: 700;
}

.source-payment-mobile-top,
.source-payment-mobile-empty,
.source-payment-mobile-add {
  display: none;
}

.source-safe-form-page {
  max-width: 980px;
}

.source-safe-form-page .source-single-form {
  max-width: 720px;
}

.source-safe-form-mobile-top {
  display: none;
}

.source-mobile-password-field {
  position: relative;
  display: block;
}

.source-mobile-password-field i {
  display: none;
}

.source-verification-targets,
.source-reset-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 4px;
}

.source-verification-targets span,
.source-reset-options span {
  border: 1px solid #dfe5ef;
  border-radius: 4px;
  background: #f8fafc;
  color: #4b5563;
  padding: 8px 10px;
}

.source-code-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.source-code-input button {
  white-space: nowrap;
}

.source-safe-form-page button[aria-busy="true"],
.source-safe-form-page button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.source-safe-mobile-top,
.source-safe-mobile-panel {
  display: none;
}

.source-form-hint {
  color: #6b7280;
  font-size: 13px;
}

.source-identity-form {
  max-width: 720px;
}

.source-country-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  border: 1px solid #dfe5ef;
  border-radius: 4px;
  padding: 0 12px;
  background: #f8fafc;
}

.source-id-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.source-id-upload-grid article {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.source-id-upload-grid span {
  color: #5f6b7a;
  font-size: 13px;
}

.source-id-upload-grid label {
  display: grid;
  place-items: center;
  min-height: 128px;
  border: 1px dashed #b9c2d2;
  border-radius: 6px;
  color: #6b7280;
  background: #fbfcff;
  text-align: center;
}

.source-id-upload-tile::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d5dbe6;
  border-radius: 50%;
  color: #9aa3af;
  font-size: 24px;
  line-height: 1;
}

.source-id-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  padding: 0;
}

.source-id-photo-example {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 6px;
  background: #f8fafc;
  color: #5d6878;
}

.source-id-photo-example button {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #1d63ff;
  padding: 0;
}

.role-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .public-nav {
    height: auto;
    padding: 14px 20px;
    gap: 18px;
    flex-wrap: wrap;
  }

  .public-nav nav {
    gap: 10px 14px;
    flex-wrap: wrap;
  }

  .public-nav button {
    padding: 6px;
  }
}

@media (max-width: 900px) {
  html,
  body,
  #app,
  .public-main {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 66px;
  }

  .public-nav {
    height: 47px;
    padding: 0 17px;
    gap: 0;
    overflow: hidden;
    border-bottom: 0;
    box-shadow: none;
    background: #11151a;
  }

  .public-nav .brand {
    color: #fff;
  }

  .public-nav nav {
    display: none;
  }

  .nav-menu {
    position: static;
  }

  .nav-dropdown {
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
  }

  .nav-actions {
    display: none;
  }

  .source-mobile-top-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .source-mobile-top-actions button {
    position: relative;
    min-width: 32px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0;
  }

  .source-mobile-bell::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 12px;
    width: 14px;
    height: 17px;
    border: 2px solid currentColor;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    border-bottom: 0;
  }

  .source-mobile-bell::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 29px;
    width: 16px;
    border-top: 2px solid currentColor;
    box-shadow: 6px 4px 0 -4px currentColor;
  }

  .source-mobile-bell b {
    position: absolute;
    right: 0;
    top: 4px;
    z-index: 1;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #f43f5e;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
  }

  .source-mobile-menu::before,
  .source-mobile-menu::after {
    content: "";
    position: absolute;
    left: 7px;
    width: 18px;
    border-top: 2px solid currentColor;
  }

  .source-mobile-menu::before {
    top: 15px;
    box-shadow: 0 6px 0 currentColor;
  }

  .source-mobile-menu::after {
    top: 27px;
  }

  .mobile-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 58px;
    padding: 6px 8px 8px;
    border-top: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
  }

  .mobile-tabbar button {
    min-width: 0;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 12px;
    line-height: 1.2;
    padding: 8px 4px;
    white-space: nowrap;
  }

  .mobile-tabbar [data-nav-active="true"] {
    color: #1d63ff;
    background: #eef4ff;
    border-radius: 8px;
    font-weight: 700;
  }

  .hero,
  .signin-layout {
    grid-template-columns: 1fr;
  }

  .public-main {
    background: #f6f7fb;
  }

  .source-home-partners {
    width: auto;
    margin: 12px 14px 0;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
  }

  .source-home-partners .section-title h2 {
    font-size: 20px;
  }

  .source-home-partners > article {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    min-height: 0;
    padding: 14px;
    box-shadow: none;
  }

  .source-spot-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
    padding-right: 0;
    padding-left: 0;
  }

  .source-spot-market-strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 10px 12px;
    min-width: 0;
    padding: 0 12px;
  }

  .source-spot-market-strip dl {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }

  .source-spot-market-strip dl div,
  .source-spot-market-strip dt,
  .source-spot-market-strip dd,
  .market-live-status {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .source-spot-market-strip .market-live-status {
    grid-column: 1 / -1;
  }

  .source-trade-dashboard {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .source-spot-chart,
  .source-chart-grid {
    min-height: 360px;
  }

  .source-spot-chart {
    border-right: 0;
  }

  .source-trade-dashboard .source-trade-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 8px;
    min-width: 0;
    padding: 0 8px;
  }

  body:has([data-source-spot-page]) .support-widget {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    justify-content: flex-end;
    margin: 18px 12px 84px;
    z-index: 1;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    padding: 24px 18px 18px;
  }

  .hero h1 {
    order: 1;
    font-size: 42px;
  }

  .hero-metrics {
    order: 2;
  }

  .hero .market-search {
    display: block;
    order: 0;
    margin: 0 0 18px;
  }

  .hero .market-search input {
    height: 38px;
    border-color: #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
  }

  .hero .session-pill {
    display: none;
  }

  .source-home-mobile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 8px;
    padding: 14px 14px 8px;
    background: #fff;
  }

  .source-home-mobile-grid button {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #171b22;
    font-size: 12px;
    line-height: 1.2;
  }

  .source-home-mobile-grid b {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: #111827;
    font-size: 12px;
  }

  .source-home-mobile-grid span {
    max-width: 72px;
    min-height: 28px;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .source-home-mobile-invite {
    display: grid;
    gap: 4px;
    margin: 10px 14px;
    padding: 14px 16px;
    border-radius: 8px;
    color: #fff;
    background: #111827;
    cursor: pointer;
  }

  .source-home-mobile-invite strong {
    font-size: 16px;
  }

  .source-home-mobile-invite span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
  }

  .source-home-mobile-market {
    display: grid;
    gap: 12px;
    padding: 10px 14px 4px;
  }

  .source-home-mobile-market .section-title {
    margin: 0;
  }

  .source-home-mobile-market .section-title h2 {
    font-size: 18px;
  }

  .source-home-mobile-market .section-title button {
    border: 0;
    background: transparent;
    color: #5b6575;
    font-size: 12px;
  }

  .source-invite-page {
    gap: 12px;
    padding: 0 14px 86px;
  }

  .source-invite-hero {
    padding: 18px;
  }

  .source-invite-hero h1 {
    font-size: 20px;
  }

  .source-invite-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .source-invite-grid article,
  .source-invite-link,
  .source-invite-table {
    padding: 14px;
  }

  .source-invite-grid strong {
    font-size: 18px;
  }

  .source-invite-link {
    grid-template-columns: 1fr;
  }

  .source-invite-link button {
    width: 100%;
  }

  .source-promote-page {
    gap: 12px;
    padding: 0 14px 86px;
  }

  .source-promote-rules,
  .source-promote-link,
  .source-promote-table {
    padding: 14px;
  }

  .source-promote-rules h1 {
    font-size: 20px;
  }

  .source-promote-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .source-promote-stats article {
    min-height: 76px;
    padding: 14px;
  }

  .source-promote-stats strong {
    font-size: 18px;
  }

  .source-promote-link {
    grid-template-columns: 1fr;
  }

  .source-promote-link button,
  .source-promote-table .section-title button {
    width: 100%;
  }

  .source-home-heatmap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    min-height: 160px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
  }

  .source-home-heatmap article {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: 10px 8px;
    color: #fff;
  }

  .source-home-heatmap article.up {
    background: #11a66a;
  }

  .source-home-heatmap article.down {
    background: #d84242;
  }

  .source-home-heatmap strong,
  .source-home-heatmap span,
  .source-home-heatmap b,
  .source-home-heatmap em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .source-home-heatmap strong {
    font-size: 13px;
  }

  .source-home-heatmap span,
  .source-home-heatmap em {
    font-size: 11px;
    opacity: 0.88;
  }

  .source-home-hot-stocks {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .source-home-hot-stocks li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
  }

  .source-home-hot-stocks li > span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #111827;
    font-size: 12px;
  }

  .source-home-hot-stocks strong,
  .source-home-hot-stocks small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .source-home-hot-stocks small {
    grid-column: 2;
    color: #7b8494;
    font-size: 11px;
  }

  .source-home-hot-stocks b {
    grid-column: 3;
    grid-row: 1 / span 2;
    font-size: 12px;
  }

  .source-home-hot-stocks em {
    grid-column: 4;
    grid-row: 1 / span 2;
    font-size: 12px;
    font-style: normal;
  }

  .source-home-hot-stocks em.up {
    color: #11a66a;
  }

  .source-home-hot-stocks em.down {
    color: #d84242;
  }

  .source-home-rankings {
    display: block;
    padding: 0 18px 22px;
  }

  .source-home-rankings .section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .source-home-rankings .section-title h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
  }

  .source-home-rankings .section-title button {
    border: 0;
    background: transparent;
    color: #6f7a8a;
    font-weight: 700;
  }

  .source-home-rankings-head,
  .source-home-rankings li {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 78px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .source-home-rankings-head {
    margin-bottom: 8px;
    color: #9099a8;
    font-size: 12px;
  }

  .source-home-rankings ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .source-home-rankings li {
    padding: 10px 0;
    border-bottom: 1px solid #edf1f6;
  }

  .source-home-rankings strong,
  .source-home-rankings small,
  .source-home-rankings b,
  .source-home-rankings em {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .source-home-rankings strong {
    color: #111827;
    font-size: 14px;
  }

  .source-home-rankings small {
    color: #8b95a5;
    font-size: 11px;
  }

  .source-home-rankings b {
    color: #111827;
    font-size: 13px;
    text-align: right;
  }

  .source-home-rankings em {
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    text-align: right;
  }

  .source-home-rankings em.up {
    color: #138f61;
  }

  .source-home-rankings em.down {
    color: #d94848;
  }

  .source-home-mini-chart {
    width: 76px;
    height: 28px;
    border-radius: 5px;
    background:
      linear-gradient(135deg, transparent 0 18%, currentColor 18% 22%, transparent 22% 40%, currentColor 40% 44%, transparent 44% 62%, currentColor 62% 66%, transparent 66%),
      linear-gradient(#f4f7fb, #f4f7fb);
    color: #21a873;
  }

  .source-home-mini-chart.down {
    color: #d94848;
  }

  .invest-page,
  .source-business-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .source-asset-records-page {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 0;
    background: #fff;
  }

  body:has(.source-asset-records-page) .public-nav,
  body:has(.source-asset-records-page) .mobile-tabbar {
    display: none;
  }

  .source-asset-mobile-top {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: 46px;
    margin: 0 calc(50% - 50vw);
    padding: 0 0;
    background: #171a1f;
    color: #fff;
  }

  .source-asset-mobile-top button {
    position: relative;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
  }

  .source-asset-mobile-top button::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateY(-50%) rotate(45deg);
  }

  .source-asset-mobile-top strong {
    justify-self: center;
    font-size: 17px;
  }

  .source-asset-records-page > header {
    display: none;
  }

  .source-asset-records-page .asset-table {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: #fff;
  }

  .source-asset-records-header {
    display: grid;
    gap: 0;
    margin: 0;
  }

  .source-asset-record-filters {
    display: block;
  }

  .source-asset-category-tabs {
    display: block;
    padding: 0;
    border-bottom: 1px solid #eef0f3;
  }

  .source-asset-category-tabs button {
    width: 100%;
    min-height: 49px;
    border: 0;
    border-radius: 0;
    padding: 0 32px 0 18px;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
  }

  .source-asset-category-tabs button:not(.active) {
    display: none;
  }

  .source-asset-type-filter {
    display: none;
  }

  .source-asset-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 323px) 32px;
    column-gap: 8px;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px 14px;
    background: #f5f5f5;
    box-sizing: border-box;
  }

  .source-asset-search input {
    min-height: 40px;
    border-color: #dce0e6;
    border-radius: 5px;
    font-size: 14px;
  }

  .source-asset-filter-icon {
    justify-self: end;
  }

  .source-asset-records-page table,
  .source-asset-records-page thead,
  .source-asset-records-page tbody,
  .source-asset-records-page tr,
  .source-asset-records-page td {
    display: block;
    min-width: 0 !important;
    min-width: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
  }

  .source-asset-records-page thead {
    display: none;
  }

  .source-asset-records-page td {
    border: 0;
  }

  .source-asset-records-page td[colspan] {
    width: 100%;
    padding: 0;
  }

  .source-asset-records-page tbody tr {
    border: 0;
  }

  .source-empty-state {
    align-content: start;
    min-height: 220px;
    padding-top: 20px;
  }

  .source-empty-state span {
    width: 124px;
    height: 92px;
  }

  .source-assets-footer {
    display: none;
  }

  .source-record-main {
    background: #fff;
  }

  .source-record-page {
    max-width: none;
    padding: 0;
    background: #fff;
  }

  .source-record-page > h1 {
    display: none;
  }

  .source-record-mobile-top {
    height: 47px;
    margin: 0 -12px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    background: #11151a;
    color: #fff;
  }

  .source-record-mobile-top button {
    width: 42px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 20px;
    text-align: left;
  }

  .source-record-mobile-top strong {
    justify-self: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
  }

  .source-record-card {
    min-height: calc(100dvh - 47px);
    margin: 0 -12px;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .source-record-card-tabs {
    height: 45px;
    padding: 0 0 0 16px;
    display: flex;
    flex-wrap: nowrap;
    gap: 26px;
    overflow-x: auto;
    border-bottom: 0;
    background: #f3f4f6;
  }

  .source-record-card-tabs button {
    flex: 0 0 auto;
    min-height: 45px;
    border-bottom: 3px solid transparent;
    color: #1f2937;
    font-size: 16px;
    font-weight: 400;
  }

  .source-record-card-tabs button.active {
    border-bottom-color: #000;
    color: #000;
    font-weight: 400;
  }

  .source-account-change-page .source-record-card-tabs {
    grid-template-columns: 48px minmax(96px, 1fr) minmax(96px, 1fr) minmax(96px, 1fr);
    display: grid;
    gap: 0;
    padding-left: 0;
    overflow: visible;
  }

  .source-account-change-page .source-record-card-tabs button {
    justify-self: center;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
  }

  .source-record-card .source-empty-state {
    min-height: 210px;
    padding-top: 18px;
  }

  .source-record-table {
    margin: 22px 12px 0;
    overflow-x: auto;
  }

  .source-record-table table {
    min-width: 640px;
  }

  .source-record-footer {
    display: none;
  }

  .invest-page header {
    min-width: 0;
  }

  .source-loan-main {
    padding-bottom: 72px;
    background: #f5f6fa;
  }

  .source-loan-page {
    background: #f5f6fa;
  }

  .source-loan-mobile-header {
    display: block;
    padding: 24px 12px 12px;
  }

  .source-loan-mobile-header p,
  .source-loan-mobile-header small {
    color: #111827;
  }

  .source-loan-mobile-header h1 {
    margin: 18px 0 22px;
    color: #05070a;
    font-size: 32px;
    line-height: 1.25;
  }

  .source-loan-hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    border-bottom: 0;
  }

  .source-loan-left {
    padding: 28px 18px;
  }

  .source-loan-left .source-loan-breadcrumb,
  .source-loan-left h1,
  .source-loan-left > small {
    display: none;
  }

  .source-loan-metrics {
    max-width: none;
    margin-top: 0;
    padding: 12px 0;
  }

  .source-loan-metrics p {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 9px 12px;
  }

  .source-loan-flags {
    justify-content: flex-start;
    max-width: none;
    margin-top: 14px;
  }

  .source-loan-right {
    padding: 18px 12px 22px;
  }

  .source-loan-amount-band {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #fff;
  }

  .source-loan-amount-band article {
    min-height: 76px;
    padding: 16px 18px 16px 64px;
  }

  .source-loan-amount-band article:first-child {
    border-color: transparent;
  }

  .source-loan-actions {
    gap: 10px;
    margin-bottom: 18px;
  }

  .source-loan-actions button {
    min-height: 46px;
  }

  .source-loan-form-card {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .source-loan-form-card.loan-partner-list > article {
    gap: 18px;
    padding: 18px 16px;
  }

  .source-loan-amount-input {
    font-size: 16px;
  }

  .source-loan-term-group div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .source-loan-agreement {
    margin: 22px 0 16px;
  }

  .source-loan-form-card .primary-black {
    min-height: 46px;
  }

  .source-loan-page .business-order-list {
    margin: 24px 12px;
  }

  .source-loan-footer {
    display: none;
  }

  .source-block-main {
    padding-bottom: 72px;
    background: #fff;
  }

  .source-block-page {
    max-width: none;
    min-height: 0;
    padding: 22px 12px 28px;
  }

  .source-block-header {
    margin-bottom: 18px;
  }

  .source-block-header h1 {
    font-size: 24px;
  }

  .source-block-header button {
    min-width: 92px;
    min-height: 40px;
  }

  .source-block-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .source-block-card {
    min-height: 164px;
    padding: 18px 16px;
  }

  .source-block-card-top {
    grid-template-columns: 48px minmax(0, 1fr) 34px;
  }

  .source-block-card-bottom {
    grid-template-columns: minmax(0, 1fr) 62px;
  }

  .source-block-card-bottom button {
    width: 62px;
    min-height: 44px;
  }

  .source-block-loaded {
    margin-top: 22px;
  }

  .source-block-footer {
    display: none;
  }

  .source-etf-main {
    padding-bottom: 72px;
  }

  .source-etf-page {
    max-width: none;
    min-width: 0;
    padding: 22px 12px 28px;
  }

  .source-etf-title {
    margin-bottom: 28px;
  }

  .source-etf-title h1 {
    font-size: 18px;
  }

  .source-etf-section h2,
  .source-etf-potential h2,
  .source-etf-news-list h2 {
    font-size: 24px;
  }

  .source-etf-hot {
    gap: 20px;
  }

  .source-etf-hot-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .source-etf-hot-grid::-webkit-scrollbar {
    display: none;
  }

  .source-etf-hot-grid article {
    flex: 0 0 172px;
  }

  .source-etf-large-chart {
    min-height: 270px;
    padding: 18px 16px;
  }

  .source-etf-large-chart svg {
    height: 190px;
  }

  .source-etf-board {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 28px 0 36px;
  }

  .source-etf-board > article {
    min-height: 252px;
    padding: 18px 16px;
  }

  .source-etf-board button,
  .source-etf-news-list button,
  .source-etf-subscribe-card button {
    min-height: 44px;
  }

  .source-etf-subscribe-card dl,
  .source-etf-order-summary {
    grid-template-columns: 1fr;
  }

  .source-etf-subscribe-card form {
    grid-template-columns: 1fr;
  }

  .source-etf-subscribe-card > div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-etf-history-list p {
    grid-template-columns: 1fr auto;
  }

  .source-etf-subscribe-card input {
    min-height: 42px;
  }

  .source-etf-potential {
    margin-bottom: 34px;
  }

  .source-etf-potential > div {
    grid-template-columns: 1fr;
  }

  .source-etf-news-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .source-etf-footer {
    display: none;
  }

  .source-ai-main {
    padding-bottom: 72px;
  }

  .source-ai-page {
    max-width: none;
    min-width: 0;
    padding: 24px 12px 28px;
    overflow-x: clip;
  }

  .source-ai-title {
    margin-bottom: 22px;
    text-align: center;
  }

  .source-ai-title h1 {
    font-size: 22px;
  }

  .source-ai-title p {
    font-size: 12px;
  }

  .source-ai-hero {
    min-height: 236px;
  }

  .source-ai-hero > div:first-child {
    padding: 24px 20px 0;
  }

  .source-ai-hero strong {
    font-size: 30px;
  }

  .source-ai-hero > b {
    top: 26px;
    right: 20px;
    font-size: 14px;
  }

  .source-ai-hero svg {
    left: 20px;
    right: 20px;
    bottom: 14px;
    width: calc(100% - 40px);
    height: 142px;
  }

  .source-ai-legend {
    left: 22px;
    top: 104px;
    gap: 18px;
  }

  .source-ai-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .source-ai-grid article {
    min-height: 176px;
    padding: 22px 16px 18px;
  }

  .source-ai-card-head strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .source-ai-name-desktop {
    display: none;
  }

  .source-ai-name-mobile {
    display: inline;
  }

  .source-ai-grid form button {
    min-width: 104px;
    min-height: 40px;
  }

  .source-ai-card-body {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 10px;
  }

  .source-ai-grid dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .source-ai-contract header button,
  .source-ai-view-more,
  .source-ai-popular button {
    min-height: 44px;
  }

  .source-ai-popular,
  .source-ai-about,
  .source-ai-revenue {
    margin-top: 28px;
  }

  .source-ai-code {
    max-width: 100%;
  }

  .source-ai-code > div {
    overflow: hidden;
  }

  .source-ai-code b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .source-ai-code pre {
    padding: 18px 16px 22px;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .source-ai-revenue {
    padding: 20px 16px;
    overflow-x: auto;
  }

  .source-ai-revenue table {
    min-width: 560px;
  }

  .source-ai-footer {
    display: none;
  }

  .source-fund-main {
    padding-bottom: 72px;
  }

  body:has([data-source-fund-layout]) .mobile-tabbar,
  body:has([data-source-smart-pool-layout]) .mobile-tabbar,
  body:has([data-source-wealth-buy-details]) .mobile-tabbar,
  body:has([data-source-wealth-order-history]) .mobile-tabbar,
  body:has([data-source-wealth-order-details]) .mobile-tabbar,
  body:has([data-source-wealth-success]) .mobile-tabbar,
  body:has(.source-loan-page) .mobile-tabbar,
  body:has(.source-block-page) .mobile-tabbar,
  body:has(.source-etf-page) .mobile-tabbar {
    display: none;
  }

  .source-fund-page {
    min-height: auto;
    padding-bottom: 28px;
    overflow-x: clip;
  }

  .source-fund-hero {
    grid-template-columns: 1fr;
    max-width: none;
    padding: 28px 24px 14px;
  }

  .source-fund-hero header {
    padding-top: 0;
  }

  .source-fund-hero h1 {
    margin-bottom: 22px;
    font-size: 34px;
    line-height: 1.18;
  }

  .source-fund-escrow {
    min-height: 104px;
    border-radius: 10px;
    padding: 22px 14px;
  }

  .source-fund-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0 18px;
  }

  .source-fund-metrics p {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 38px;
  }

  .source-fund-metrics strong {
    font-size: 16px;
  }

  .source-fund-orders-button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    margin: 2px 0 0;
  }

  .source-fund-products {
    max-width: none;
    margin: 0 24px;
  }

  .source-fund-message {
    max-width: none;
    margin: 0 24px 14px;
  }

  .source-fund-product {
    grid-template-columns: 50px minmax(0, 1fr) 66px;
    gap: 12px;
    min-height: 104px;
    padding: 34px 14px 14px;
  }

  .source-fund-icon {
    width: 46px;
    height: 46px;
  }

  .source-fund-yield {
    left: auto;
    right: 0;
    max-width: min(72vw, 184px);
    font-size: 10px;
    white-space: normal;
  }

  .source-fund-product form,
  .source-fund-product > .primary-black {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: 66px;
  }

  .source-fund-product button {
    width: 66px;
    min-height: 44px;
    padding: 0 12px;
  }

  .source-fund-loaded {
    max-width: none;
    margin: 18px 24px 0;
  }

  .source-fund-footer {
    display: none;
  }

  .source-pool-hero h1 {
    margin-bottom: 26px;
  }

  .source-pool-product {
    min-height: 118px;
  }

  .source-pool-icon {
    width: 46px;
    height: 46px;
  }

  .source-ai-financial-main {
    padding-bottom: 88px;
    overscroll-behavior-y: contain;
  }

  .source-ai-financial-page {
    max-width: none;
    min-width: 0;
    padding: 22px 12px 28px;
    overflow-x: clip;
  }

  .source-ai-financial-hero {
    min-height: 258px;
    border-radius: 14px;
  }

  .source-ai-financial-hero > div {
    max-width: none;
    padding: 26px 22px 28px;
  }

  .source-ai-financial-hero h1 {
    font-size: 25px;
    line-height: 1.28;
  }

  .source-ai-financial-hero p {
    margin: 22px 0 34px;
  }

  .source-ai-financial-hero button {
    min-height: 48px;
    touch-action: manipulation;
  }

  .source-ai-financial-hero > i {
    right: 18px;
    top: 118px;
    width: 118px;
    height: 92px;
    opacity: 0.85;
  }

  .source-ai-financial-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0 20px;
  }

  .source-ai-financial-tabs button {
    min-height: 46px;
    touch-action: manipulation;
  }

  .source-ai-financial-promos {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }

  .source-ai-financial-promos article {
    min-height: 136px;
    padding: 20px 18px;
  }

  .source-ai-financial-promos strong {
    font-size: 23px;
  }

  .source-ai-financial-promos span {
    font-size: 20px;
  }

  .source-ai-financial-promos i {
    right: 18px;
    width: 92px;
    height: 80px;
    opacity: 0.9;
  }

  .source-ai-financial-products {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .source-ai-financial-products article {
    padding: 22px 16px 20px;
  }

  .source-ai-financial-products header {
    flex-wrap: wrap;
  }

  .source-ai-financial-products h2 {
    flex-basis: 100%;
    font-size: 20px;
  }

  .source-ai-financial-return {
    grid-template-columns: minmax(0, 1fr) 120px;
  }

  .source-ai-financial-products dl {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .source-ai-financial-products form button {
    min-height: 46px;
    touch-action: manipulation;
  }

  .source-ai-financial-footer {
    display: none;
  }

  .source-etf-news li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-metrics,
  .promo-carousel,
  .public-footer,
  .stat-grid,
  .asset-kpis,
  .asset-forms,
  .source-my-grid,
  .ai-concept-list,
  .ai-security-questionnaire,
  .loan-partner-list,
  .business-products,
  .subscribe-products,
  .charity-projects,
  .charity-mission-grid,
  .source-ipo-tabs,
  .source-ipo-summary,
  .source-ipo-board,
  .source-ipo-potential-grid,
  .source-ipo-prospectus dl,
  .charity-donation-panel,
  .charity-source-kpis,
  .business-page .business-grid,
  .subscribe-admin-page .subscribe-grid,
  .robot-page .robot-grid,
  .charity-admin-page .charity-grid,
  .risk-control-page .risk-control-grid,
  .finance-center-kpis,
  .finance-module-grid,
  .reminders,
  .permission-tree {
    grid-template-columns: 1fr;
  }

  .assets-page header {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-my-overview {
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }

  .source-account-center {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .source-account-title {
    display: none;
  }

  .source-account-content {
    gap: 10px;
  }

  .source-account-overview {
    min-height: 308px;
    padding: 12px 16px;
  }

  .source-account-tabs {
    gap: 14px;
  }

  .source-business-tabs {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .source-business-tabs::-webkit-scrollbar {
    display: none;
  }

  .source-business-tabs span {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .source-ipo-route-header {
    display: none !important;
  }

  .source-ipo-market-select {
    grid-column: 1;
    justify-self: start;
    min-height: 30px;
    font-size: 15px;
  }

  .subscribe-page > .source-ipo-tabs,
  .subscribe-page > .source-ipo-tabs [data-ipo-section] {
    display: none;
  }

  .source-ipo-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    margin: 14px 0 18px;
    padding: 14px 8px 12px;
    border: 1px solid #eef1f5;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .04);
  }

  .source-ipo-mobile-tabs button {
    display: grid;
    grid-template-rows: 30px auto;
    justify-items: center;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 58px;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    padding: 0 4px;
    text-align: center;
    white-space: normal;
  }

  .source-ipo-mobile-tabs button b {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #050505;
  }

  .source-ipo-mobile-tabs button b::before,
  .source-ipo-mobile-tabs button b::after {
    position: absolute;
    content: "";
    background: #fff;
  }

  .source-ipo-mobile-tabs button b::before {
    top: 8px;
    left: 8px;
    width: 12px;
    height: 2px;
    box-shadow: 0 5px 0 #fff, 0 10px 0 #fff;
  }

  .source-ipo-mobile-tabs button b::after {
    right: 7px;
    bottom: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
  }

  .source-ipo-mobile-tabs button.active {
    color: #111827;
  }

  .source-ipo-potential-grid article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .source-ipo-news li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .charity-page {
    padding: 0 16px 80px;
  }

  .charity-page > header {
    display: none;
  }

  .source-charity-hero {
    width: calc(100% + 32px);
    min-height: 190px;
    margin: 0 -16px 58px;
    border-radius: 0;
  }

  .source-charity-hero-image {
    min-height: 190px;
    border-radius: 0;
  }

  .charity-donation-ticker {
    right: 16px;
    bottom: -24px;
    left: 16px;
    min-height: 46px;
    padding: 0 12px;
  }

  .charity-donation-ticker span {
    gap: 22px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .charity-donation-ticker i {
    width: 20px;
    height: 20px;
  }

  .charity-source-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 16px 8px;
    margin-bottom: 28px;
  }

  .charity-source-kpis .source-charity-donut {
    grid-column: 1 / -1;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 18px;
    min-height: 168px;
    border: 0;
    padding: 0;
  }

  .source-charity-donut > div {
    width: 112px;
  }

  .source-charity-donut > div::after {
    inset: 34px;
  }

  .source-charity-donut dl {
    gap: 10px;
  }

  .source-charity-donut dt {
    font-size: 12px;
  }

  .source-charity-donut dd {
    font-size: 20px;
  }

  .charity-source-kpis article:not(.source-charity-donut) {
    min-height: 64px;
    align-content: start;
  }

  .charity-source-kpis article:not(.source-charity-donut) strong {
    font-size: 24px;
  }

  .charity-mission {
    margin: 22px 0;
    padding: 28px 14px 26px;
    border: 0;
  }

  .charity-mission h2 {
    font-size: 14px;
  }

  .charity-mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .charity-mission-grid article {
    padding: 0;
  }

  .charity-mission-grid article b {
    width: 48px;
    height: 48px;
  }

  .charity-mission-grid h3 {
    font-size: 16px;
  }

  .charity-mission-grid p {
    font-size: 12px;
    line-height: 1.42;
  }

  .charity-projects {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 22px 0;
  }

  .charity-projects article {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
  }

  .charity-projects article > div:first-child {
    grid-template-columns: minmax(0, 1fr) 98px;
  }

  .source-charity-project-media {
    width: 84px;
  }

  .charity-projects article h2 {
    font-size: 16px;
  }

  .charity-donation-list {
    overflow-x: visible;
  }

  .charity-donation-list h2 {
    font-size: 20px;
  }

  .charity-donation-list table {
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 8px;
  }

  .charity-donation-list th,
  .charity-donation-list td {
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .charity-donation-list th {
    padding: 14px 8px;
    background: #f8f8f8;
    color: #a3a3a3;
    font-size: 12px;
  }

  .charity-donation-list td {
    padding: 12px 8px;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
    font-size: 12px;
  }

  .charity-donation-list td:first-child {
    border-left: 1px solid #edf0f4;
    border-radius: 6px 0 0 6px;
  }

  .charity-donation-list td:last-child {
    border-right: 1px solid #edf0f4;
    border-radius: 0 6px 6px 0;
  }

  .source-account-tabs button {
    min-height: 34px;
    padding: 0;
    text-align: left;
    white-space: normal;
  }

  .source-account-shield {
    top: 178px;
  }

  .source-account-fiat-card {
    min-height: 188px;
    padding: 18px 12px;
  }

  .source-account-fiat-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .source-account-fiat-actions {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .source-account-footer {
    display: none;
  }

  .source-my-assets {
    grid-column: 1 / -1;
    padding-top: 10px;
  }

  .source-my-profile {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .source-my-profile span,
  .source-my-assets span {
    font-size: 18px;
  }

  .source-my-profile strong,
  .source-my-assets strong {
    font-size: 22px;
  }

  .source-my-verify-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .source-my-verify-card h1 {
    font-size: 23px;
  }

  .source-my-verify-card h2 {
    font-size: 22px;
  }

  .source-my-verify-art {
    min-height: 170px;
    margin-top: 14px;
  }

  .source-my-verify-card-shape {
    inset: 22px 92px 18px 112px;
  }

  .source-my-verify-check {
    right: 114px;
    top: 16px;
  }

  .assets-page header h1 {
    font-size: 30px;
  }

  .market-layout,
  .market-list article {
    grid-template-columns: 1fr;
  }

  .market-overview-page {
    width: 100%;
    padding: 12px 0 30px;
  }

  .market-overview-tabs {
    max-width: 100%;
    padding-right: 4px;
    padding-left: 4px;
  }

  .market-overview-list button {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .market-overview-list small {
    grid-column: 1 / 2;
  }

  .market-overview-list b {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .market-overview-list em {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .market-list b,
  .market-list em {
    text-align: left;
  }

  .ice-visual {
    min-height: 300px;
  }

  .signin-visual {
    min-height: 520px;
  }

  .signin-form {
    padding: 50px 24px;
  }

  .inline-input {
    grid-template-columns: 1fr;
  }

  .inline-input button {
    width: 100%;
  }

  .laptop-login {
    width: calc(100vw - 40px);
    padding: 70px 28px;
  }

  .admin-top nav,
  .admin-sidebar {
    display: none;
  }

  .admin-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-logo {
    width: auto;
  }

  .menu-search {
    width: 160px;
  }
}

@media (max-width: 640px) {
  body:has([data-source-money-method-page]) .public-nav,
  body:has([data-source-deposit-page]) .public-nav,
  body:has([data-source-withdrawal-page]) .public-nav,
  body:has([data-source-money-method-page]) .mobile-tabbar,
  body:has([data-source-deposit-page]) .mobile-tabbar,
  body:has([data-source-withdrawal-page]) .mobile-tabbar {
    display: none;
  }

  body:has([data-source-money-method-page]),
  body:has([data-source-deposit-page]),
  body:has([data-source-withdrawal-page]) {
    padding-bottom: 0;
    background: #f7f7f7;
  }

  .markets-page,
  .assets-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .assets-page.source-asset-records-page {
    padding-right: 0;
    padding-left: 0;
  }

  .source-money-main {
    background: #f7f7f7;
  }

  .source-money-page {
    max-width: none;
    padding-top: 0;
  }

  .source-money-method-page {
    max-width: none;
    padding-top: 0;
  }

  .source-money-method-card {
    padding: 22px 18px;
    box-shadow: none;
  }

  .source-money-mobile-top {
    height: 47px;
    margin: 0 -12px 28px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    background: #11151a;
    color: #fff;
  }

  .source-money-mobile-top button {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
  }

  .source-money-mobile-top strong {
    justify-self: center;
    font-size: 18px;
  }

  .source-money-heading {
    display: none;
  }

  .source-finance-form .source-single-form.source-deposit-form,
  .source-finance-form .source-single-form.source-withdraw-form {
    max-width: none;
    padding: 16px 16px 20px;
    border: 0;
    border-radius: 4px;
  }

  .source-qr-box {
    width: 180px;
    height: 180px;
  }

  .source-upload-card {
    min-height: 205px;
  }

  .source-withdraw-instructions {
    font-size: 13px;
    line-height: 1.5;
  }

  .source-money-footer {
    display: none;
  }

  .source-my-page {
    padding-top: 26px;
    background: #f7f7f7;
  }

  .source-my-page > .source-my-overview,
  .source-my-page > .source-my-verify-card,
  .source-my-page > .source-my-grid,
  .source-my-footer {
    display: none;
  }

  .source-my-mobile-panel {
    display: grid;
    gap: 14px;
  }

  .public-nav[data-source-mobile-child-page="identityAuth"],
  .mobile-tabbar[data-source-mobile-child-page="identityAuth"] {
    display: none;
  }

  .source-identity-main {
    max-width: 100vw;
    padding: 0;
    background: #fff;
    overflow-x: clip;
  }

  .source-identity-auth {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0 15px 34px;
    background: #fff;
    overflow-x: clip;
  }

  .source-identity-auth > header {
    display: none;
  }

  .source-identity-mobile-top {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    height: 47px;
    margin: 0 -15px 20px;
    background: #161a1f;
    color: #fff;
  }

  .source-identity-mobile-top button {
    position: relative;
    width: 46px;
    height: 47px;
    border: 0;
    background: transparent;
  }

  .source-identity-mobile-top button::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 17px;
    width: 10px;
    height: 10px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
  }

  .source-identity-mobile-top strong {
    grid-column: 2;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
  }

  .source-identity-form {
    width: 100%;
    max-width: none;
    min-width: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: #fff;
    overflow-x: clip;
  }

  .source-identity-form label {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
    color: #000;
    font-size: 14px;
  }

  .source-identity-form input:not([type="file"]) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 12px;
    color: #111827;
  }

  .source-identity-form input[type="file"] {
    width: 1px;
    height: 1px;
    min-height: 0;
  }

  .source-country-field {
    min-height: 42px;
    border-color: #ddd;
    border-radius: 5px;
    background: #fff;
  }

  .source-country-field span::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 10px;
    margin-right: 6px;
    border-top: 3px solid #0f8f3d;
    border-bottom: 3px solid #111;
    background: #fff;
    box-shadow: inset 0 -3px 0 #e0272f;
    vertical-align: -1px;
  }

  .source-country-field::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #9aa3af;
    border-bottom: 2px solid #9aa3af;
    transform: rotate(45deg);
  }

  .source-id-upload-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
  }

  .source-id-upload-grid article {
    display: flex;
    flex-direction: column-reverse;
    gap: 9px;
    align-items: center;
  }

  .source-id-upload-grid span {
    color: #8c929d;
    font-size: 13px;
    text-align: center;
    line-height: 1.25;
  }

  .source-id-upload-grid label {
    position: relative;
    min-height: 0;
    width: min(84px, 100%);
    aspect-ratio: 1;
    height: auto;
    border: 0;
    border-radius: 0;
    background: #f5f6f8;
  }

  .source-id-upload-tile::before {
    width: 24px;
    height: 20px;
    border: 0;
    border-radius: 4px;
    background: #cfd4db;
    color: transparent;
  }

  .source-id-upload-tile::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid #f5f6f8;
    border-radius: 50%;
    background: transparent;
  }

  .source-id-photo-example {
    gap: 12px;
    margin-top: 0;
  }

  .source-id-photo-example strong {
    color: #000;
    font-size: 14px;
  }

  .source-id-example-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: center;
    margin: 0;
  }

  .source-id-example-grid i {
    position: relative;
    display: block;
    height: 72px;
    background: #f4f5f7;
  }

  .source-id-example-grid i::before,
  .source-id-example-grid i::after {
    content: "";
    position: absolute;
  }

  .source-id-example-grid i[data-source-id-example="front"]::before,
  .source-id-example-grid i[data-source-id-example="back"]::before {
    left: 12px;
    top: 24px;
    width: 55px;
    height: 24px;
    border-radius: 4px;
    background: #ffd3ad;
  }

  .source-id-example-grid i[data-source-id-example="front"]::after {
    right: 12px;
    top: 31px;
    width: 15px;
    height: 15px;
    border-radius: 50% 50% 4px 4px;
    background: #596a7a;
  }

  .source-id-example-grid i[data-source-id-example="back"]::after {
    left: 24px;
    top: 31px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #d1ab82;
  }

  .source-id-example-grid i[data-source-id-example="handheld"]::before {
    left: 20px;
    top: 10px;
    width: 42px;
    height: 42px;
    border-radius: 50% 50% 45% 45%;
    background: #8392a1;
  }

  .source-id-example-grid i[data-source-id-example="handheld"]::after {
    left: 18px;
    bottom: 8px;
    width: 48px;
    height: 26px;
    border-radius: 24px 24px 4px 4px;
    background: #ffc99d;
  }

  .source-id-photo-example p {
    color: #8c929d;
    font-size: 14px;
    line-height: 1.45;
  }

  .source-id-photo-example button {
    display: inline;
    width: max-content;
    min-height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000;
    padding: 0;
    text-decoration: underline;
  }

  .source-identity-form > button[type="submit"] {
    width: 100%;
    min-height: 46px;
    margin-top: 16px;
    border: 0;
    border-radius: 4px;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
  }

  .public-nav[data-source-mobile-child-page="safeCenter"],
  .mobile-tabbar[data-source-mobile-child-page="safeCenter"] {
    display: none;
  }

  .source-safe-center {
    max-width: none;
    min-height: calc(100vh - 48px);
    margin: 0;
    padding: 0 0 112px;
    background: #f6f6f6;
  }

  .source-safe-center:not(.source-safe-form-page) > header,
  .source-safe-center:not(.source-safe-form-page) > .security-status-table {
    display: none;
  }

  .source-safe-mobile-top {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    height: 47px;
    background: #161a1f;
    color: #fff;
  }

  .source-safe-mobile-top button {
    position: relative;
    width: 46px;
    height: 47px;
    border: 0;
    background: transparent;
  }

  .source-safe-mobile-top button::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 17px;
    width: 10px;
    height: 10px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
  }

  .source-safe-mobile-top strong {
    grid-column: 2;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
  }

  .source-safe-mobile-panel {
    display: block;
    padding: 30px 12px 0;
    color: #000;
  }

  .source-safe-mobile-panel h1,
  .source-safe-mobile-panel h2,
  .source-safe-mobile-panel p {
    margin: 0;
  }

  .source-safe-mobile-panel h1 {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
  }

  .source-safe-mobile-panel h2 {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
  }

  .source-safe-mobile-panel > p {
    max-width: 348px;
    margin-top: 6px;
    color: #8b929c;
    font-size: 12px;
    line-height: 1.45;
  }

  .source-safe-mobile-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
  }

  .source-safe-mobile-cards button {
    position: relative;
    display: grid;
    align-content: end;
    justify-items: start;
    min-height: 101px;
    border: 0;
    border-radius: 0;
    padding: 18px 36px 18px 22px;
    background: #fff;
    color: #000;
    box-shadow: none;
    text-align: left;
  }

  .source-safe-mobile-cards b {
    position: relative;
    width: 31px;
    height: 31px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #e9edf2;
  }

  .source-safe-mobile-cards b::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9aa3af;
  }

  .source-safe-mobile-cards b::after {
    content: "!";
    position: absolute;
    right: -10px;
    bottom: -4px;
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f4c327;
    color: #5c4a00;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
  }

  .source-safe-mobile-cards [data-source-safe-mobile-status="bound"] b::after {
    content: "";
    background: #22c55e;
  }

  .source-safe-mobile-cards span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
  }

  .source-safe-mobile-cards i,
  .source-safe-mobile-actions i {
    position: absolute;
    right: 24px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #9aa3af;
    border-right: 2px solid #9aa3af;
    transform: translateY(-50%) rotate(45deg);
  }

  .source-safe-mobile-actions {
    margin: 45px -12px 0;
    background: #fff;
  }

  .source-safe-mobile-actions button {
    position: relative;
    display: block;
    width: 100%;
    min-height: 49px;
    border: 0;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 0;
    padding: 0 56px 0 17px;
    background: #fff;
    color: #000;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
  }

  .public-nav[data-source-mobile-child-page="safeForm"],
  .mobile-tabbar[data-source-mobile-child-page="safeForm"] {
    display: none;
  }

  .source-safe-form-page {
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0 15px 34px;
    background: #fff;
  }

  .source-safe-form-page header {
    display: none;
  }

  .source-safe-form-mobile-top {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    height: 47px;
    margin: 0 -15px 42px;
    background: #161a1f;
    color: #fff;
  }

  .source-safe-form-mobile-top button {
    position: relative;
    width: 46px;
    height: 47px;
    border: 0;
    background: transparent;
  }

  .source-safe-form-mobile-top button::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 17px;
    width: 10px;
    height: 10px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
  }

  .source-safe-form-mobile-top strong {
    overflow: hidden;
    color: #fff;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
  }

  .source-safe-form-page .source-single-form {
    max-width: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: #fff;
  }

  .source-safe-form-page .source-single-form label {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 14px;
    color: #000;
    font-size: 14px;
  }

  .source-safe-form-page .source-single-form input:not([type="file"]) {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 12px;
    color: #111827;
    font-size: 14px;
  }

  .source-safe-form-page .source-single-form input[type="file"] {
    width: 1px;
    height: 1px;
    min-height: 0;
  }

  .source-mobile-password-field input:not([type="file"]) {
    padding-right: 48px !important;
  }

  .source-mobile-password-field i {
    position: absolute;
    right: 14px;
    top: 50%;
    display: block;
    width: 21px;
    height: 14px;
    border: 2px solid #cbd1d8;
    border-radius: 50%;
    transform: translateY(-50%) rotate(-15deg);
    pointer-events: none;
  }

  .source-mobile-password-field i::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cbd1d8;
  }

  .source-mobile-password-field i::after {
    content: "";
    position: absolute;
    left: -3px;
    top: 5px;
    width: 27px;
    height: 2px;
    border-radius: 2px;
    background: #cbd1d8;
    transform: rotate(-37deg);
  }

  .source-safe-form-page .source-single-form small,
  .source-safe-form-page .source-form-hint {
    margin-top: -7px;
    color: #8a929d;
    font-size: 13px;
    line-height: 1.35;
  }

  .source-safe-form-page .source-single-form > button[type="submit"] {
    width: 100%;
    min-height: 46px;
    margin-top: 2px;
    border: 0;
    border-radius: 4px;
    background: #000;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
  }

  .source-safe-form-page .source-verification-targets,
  .source-safe-form-page .source-reset-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 20px 0 22px;
  }

  .source-safe-form-page .source-verification-targets span,
  .source-safe-form-page .source-reset-options span {
    position: relative;
    min-height: 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000;
    padding: 0 0 0 31px;
    font-size: 14px;
  }

  .source-safe-form-page .source-verification-targets span::before,
  .source-safe-form-page .source-reset-options span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    border: 1px solid #a5abb3;
    border-radius: 50%;
    background: #fff;
  }

  .source-safe-form-page .source-verification-targets span:first-child::after,
  .source-safe-form-page .source-reset-options span:first-child::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000;
  }

  .source-safe-form-page .source-code-input {
    grid-template-columns: minmax(0, 1fr) minmax(128px, 151px);
    gap: 18px;
  }

  .source-safe-form-page .source-code-input button {
    min-height: 43px;
    border: 0;
    border-radius: 4px;
    background: #000;
    color: #fff;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: normal;
  }

  .source-safe-form-page .source-manual-reset-form > p:first-of-type {
    margin: 0 0 20px;
    color: #000;
    font-size: 14px;
  }

  body:has(.source-safe-form-page) .support-widget {
    bottom: 92px;
  }

  .public-nav[data-source-mobile-child-page="paymentMethod"],
  .mobile-tabbar[data-source-mobile-child-page="paymentMethod"] {
    display: none;
  }

  .source-payment-method {
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0 15px 96px;
    background: #fff;
  }

  .source-payment-method > header {
    display: none;
  }

  .source-payment-mobile-top {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    height: 47px;
    margin: 0 -15px;
    background: #161a1f;
    color: #fff;
  }

  .source-payment-mobile-top button {
    position: relative;
    width: 46px;
    height: 47px;
    border: 0;
    background: transparent;
  }

  .source-payment-mobile-top button::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 17px;
    width: 10px;
    height: 10px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
  }

  .source-payment-mobile-top strong {
    grid-column: 2;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
  }

  .source-payment-method[data-source-payment-method-count="0"] .source-payment-toolbar,
  .source-payment-method[data-source-payment-method-count="0"] .source-payment-table {
    display: none;
  }

  .source-payment-method[data-source-payment-method-count="0"] .source-payment-mobile-empty {
    display: block;
    min-height: calc(100vh - 144px);
  }

  .source-payment-mobile-add {
    position: fixed;
    left: 15px;
    right: 15px;
    bottom: 24px;
    z-index: 12;
    display: block;
    min-height: 47px;
    border: 0;
    border-radius: 3px;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
  }

  .source-payment-method:not([data-source-payment-method-count="0"]) {
    background: #f6f7fb;
  }

  .source-payment-method:not([data-source-payment-method-count="0"]) .source-payment-toolbar {
    display: none;
  }

  .source-payment-method:not([data-source-payment-method-count="0"]) .source-payment-table {
    margin-top: 16px;
    overflow-x: auto;
  }

  .source-payment-method:not([data-source-payment-method-count="0"]) .source-payment-table table {
    min-width: 620px;
  }

  .source-my-mobile-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px;
  }

  .source-my-mobile-user strong,
  .source-my-mobile-user small {
    display: block;
  }

  .source-my-mobile-user small {
    margin-top: 4px;
    color: #000;
    font-weight: 700;
  }

  .source-my-mobile-balance,
  .source-my-mobile-shortcuts,
  .source-my-mobile-list {
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 10px rgba(15, 23, 42, 0.08);
  }

  .source-my-mobile-balance {
    position: relative;
    display: grid;
    gap: 12px;
    min-height: 84px;
    padding: 16px 128px 16px 12px;
  }

  .source-my-mobile-balance span {
    color: #000;
  }

  .source-my-mobile-balance strong {
    font-size: 18px;
    color: #000;
  }

  .source-my-mobile-balance small {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 500;
  }

  .source-my-mobile-balance button,
  .source-my-mobile-actions button,
  .source-my-mobile-logout {
    border: 0;
    border-radius: 18px;
    background: #000;
    color: #fff;
  }

  .source-my-mobile-balance button {
    position: absolute;
    right: 10px;
    top: 28px;
    min-width: 106px;
    min-height: 32px;
  }

  .source-my-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .source-my-mobile-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    border-radius: 4px;
    font-weight: 700;
  }

  .source-my-mobile-actions b {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #b8ff39;
    color: #000;
    flex: 0 0 auto;
  }

  .source-my-mobile-actions b::before,
  .source-my-mobile-actions b::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
  }

  .source-my-mobile-actions b[data-source-my-action-icon="deposit"]::before {
    left: 5px;
    top: 11px;
    width: 12px;
    border-top: 2px solid currentColor;
    transform: rotate(-35deg);
  }

  .source-my-mobile-actions b[data-source-my-action-icon="deposit"]::after {
    left: 5px;
    top: 6px;
    width: 7px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }

  .source-my-mobile-actions b[data-source-my-action-icon="withdrawal"]::before {
    left: 5px;
    top: 9px;
    width: 12px;
    border-top: 2px solid currentColor;
    transform: rotate(-35deg);
  }

  .source-my-mobile-actions b[data-source-my-action-icon="withdrawal"]::after {
    right: 5px;
    bottom: 6px;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
  }

  .source-my-mobile-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 10px;
  }

  .source-my-mobile-shortcuts button {
    display: grid;
    place-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #000;
    min-width: 0;
  }

  .source-my-mobile-shortcuts b {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #000;
    color: #b8ff39;
    font-size: 0;
  }

  .source-my-mobile-shortcuts b::before,
  .source-my-mobile-shortcuts b::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
  }

  .source-my-mobile-shortcuts b[data-source-my-icon="security"]::before {
    width: 18px;
    height: 20px;
    border: 3px solid #b8ff39;
    border-top-width: 6px;
    border-radius: 9px 9px 7px 7px;
    clip-path: polygon(50% 0, 100% 20%, 92% 74%, 50% 100%, 8% 74%, 0 20%);
  }

  .source-my-mobile-shortcuts b[data-source-my-icon="security"]::after {
    width: 8px;
    height: 4px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg) translateY(1px);
  }

  .source-my-mobile-shortcuts b[data-source-my-icon="password"]::before {
    width: 17px;
    height: 14px;
    bottom: 8px;
    border: 3px solid #b8ff39;
    border-radius: 4px;
    background: #b8ff39;
  }

  .source-my-mobile-shortcuts b[data-source-my-icon="password"]::after {
    width: 14px;
    height: 13px;
    top: 8px;
    border: 3px solid #b8ff39;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
  }

  .source-my-mobile-shortcuts b[data-source-my-icon="record"]::before {
    width: 18px;
    height: 20px;
    border-radius: 3px;
    background: #b8ff39;
  }

  .source-my-mobile-shortcuts b[data-source-my-icon="record"]::after {
    width: 10px;
    height: 8px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    box-shadow: 0 4px 0 -2px #000;
  }

  .source-my-mobile-shortcuts b[data-source-my-icon="invite"]::before {
    width: 20px;
    height: 16px;
    border-radius: 4px;
    background: #b8ff39;
  }

  .source-my-mobile-shortcuts b[data-source-my-icon="invite"]::after {
    width: 9px;
    height: 9px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg) translateY(-1px);
  }

  .source-my-mobile-shortcuts span {
    max-width: 74px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .source-my-mobile-panel h3 {
    margin: 4px 4px 2px;
    color: #8d939c;
    font-size: 16px;
    font-weight: 500;
  }

  .source-my-mobile-list {
    display: grid;
    overflow: hidden;
  }

  .source-my-mobile-list button {
    min-height: 54px;
    padding: 0 14px;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    text-align: left;
  }

  .source-my-mobile-list b {
    position: relative;
    width: 22px;
    height: 22px;
    justify-self: center;
    color: #9ca3af;
  }

  .source-my-mobile-list b::before,
  .source-my-mobile-list b::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
  }

  .source-my-mobile-list span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .source-my-mobile-list .source-row-chevron {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    justify-self: end;
    color: #9ca3af;
    font-style: normal;
  }

  .source-my-mobile-list .source-row-chevron::before {
    content: "";
    position: absolute;
    inset: 1px 2px 1px 0;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    box-sizing: border-box;
  }

  .source-my-mobile-list b[data-source-my-list-icon="language"]::before {
    inset: 3px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .source-my-mobile-list b[data-source-my-list-icon="language"]::after {
    left: 4px;
    right: 4px;
    top: 10px;
    border-top: 2px solid currentColor;
    box-shadow: 0 -5px 0 -1px currentColor, 0 5px 0 -1px currentColor;
  }

  .source-my-mobile-list b[data-source-my-list-icon="service"]::before {
    inset: 4px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .source-my-mobile-list b[data-source-my-list-icon="service"]::after {
    left: 6px;
    bottom: 4px;
    width: 10px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-radius: 0 0 0 5px;
  }

  .source-my-mobile-list b[data-source-my-list-icon="theme"]::before {
    left: 4px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
  }

  .source-my-mobile-list b[data-source-my-list-icon="theme"]::after {
    right: 2px;
    top: 2px;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }

  .source-my-mobile-list b[data-source-my-list-icon="identity"]::before {
    left: 4px;
    top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 9px 0 3px currentColor;
  }

  .source-my-mobile-list b[data-source-my-list-icon="identity"]::after {
    right: 3px;
    bottom: 3px;
    width: 9px;
    height: 5px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
  }

  .source-my-mobile-list b[data-source-my-list-icon="payment"]::before {
    left: 3px;
    top: 6px;
    width: 17px;
    height: 13px;
    border-radius: 2px;
    background: currentColor;
  }

  .source-my-mobile-list b[data-source-my-list-icon="payment"]::after {
    left: 5px;
    top: 4px;
    width: 10px;
    height: 4px;
    border-radius: 2px 2px 0 0;
    border: 2px solid currentColor;
  }

  .source-my-mobile-list b[data-source-my-list-icon="help"]::before,
  .source-my-mobile-list b[data-source-my-list-icon="about"]::before {
    inset: 4px;
    border-radius: 50%;
    background: currentColor;
  }

  .source-my-mobile-list b[data-source-my-list-icon="help"]::after {
    left: 10px;
    top: 7px;
    width: 3px;
    height: 9px;
    border-radius: 2px;
    background: #fff;
  }

  .source-my-mobile-list b[data-source-my-list-icon="whitepaper"]::before {
    left: 5px;
    top: 3px;
    width: 13px;
    height: 17px;
    border-radius: 2px;
    background: currentColor;
  }

  .source-my-mobile-list b[data-source-my-list-icon="whitepaper"]::after {
    left: 8px;
    top: 8px;
    width: 7px;
    height: 5px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }

  .source-my-mobile-list b[data-source-my-list-icon="about"]::after {
    left: 10px;
    top: 7px;
    width: 3px;
    height: 9px;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 -3px 0 -1px #fff;
  }

  .source-my-mobile-list button:last-child {
    border-bottom: 0;
  }

  .source-my-mobile-list em,
  .source-my-mobile-list i {
    color: #9ca3af;
    font-style: normal;
  }

  .source-my-mobile-logout {
    min-height: 40px;
    margin: 10px 0 22px;
    font-weight: 700;
  }

  .source-trade-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .source-trade-orderbook,
  .source-trade-ticket,
  .asset-table {
    padding: 14px;
  }

  .source-trade-tabs {
    grid-auto-flow: row;
  }

  .source-side-tabs,
  .source-percent-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
  }

  .source-last-price {
    font-size: 24px;
  }

  .source-spot-page {
    padding: 0 0 80px;
  }

  .source-spot-market-strip {
    min-height: 58px;
    padding: 0 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    background: #fff;
  }

  .source-spot-symbol strong {
    display: none;
  }

  .source-spot-symbol small {
    display: none;
  }

  .source-spot-symbol {
    min-width: 0;
  }

  .source-symbol-selector {
    min-width: 0;
  }

  .source-mobile-symbol-pair {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    padding-right: 16px;
    color: #000;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
  }

  .source-mobile-symbol-pair::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 12px;
    border-top: 2px solid #111827;
    border-bottom: 2px solid #111827;
    transform: translateY(-50%);
  }

  .source-mobile-symbol-pair::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    border-top: 2px solid #111827;
    transform: translateY(-50%);
  }

  .source-mobile-change-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 7px;
    border-radius: 3px;
    background: #e8fff1;
    color: #16a263;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
  }

  .source-mobile-spot-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
  }

  .source-mobile-spot-actions button {
    position: relative;
    width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }

  .source-mobile-spot-actions button:first-child {
    background: #d6d7d9;
  }

  .source-mobile-spot-actions button:first-child::before,
  .source-mobile-spot-actions button:first-child::after {
    content: "";
    position: absolute;
    left: 9px;
    width: 12px;
    height: 2px;
    background: #fff;
  }

  .source-mobile-spot-actions button:first-child::before {
    top: 11px;
    transform: rotate(35deg);
  }

  .source-mobile-spot-actions button:first-child::after {
    top: 17px;
    transform: rotate(-35deg);
  }

  .source-mobile-spot-actions button:nth-child(2) span,
  .source-mobile-spot-actions button:nth-child(2)::before,
  .source-mobile-spot-actions button:nth-child(2)::after {
    content: "";
    position: absolute;
    bottom: 6px;
    width: 5px;
    background: #c9cacc;
  }

  .source-mobile-spot-actions button:nth-child(2)::before {
    left: 6px;
    height: 18px;
  }

  .source-mobile-spot-actions button:nth-child(2) span {
    left: 13px;
    height: 24px;
  }

  .source-mobile-spot-actions button:nth-child(2)::after {
    left: 20px;
    height: 14px;
  }

  .source-mobile-spot-actions button:nth-child(3) {
    display: grid;
    grid-template-columns: repeat(3, 5px);
    gap: 3px;
    place-content: center;
  }

  .source-mobile-spot-actions button:nth-child(3)::before,
  .source-mobile-spot-actions button:nth-child(3)::after,
  .source-mobile-spot-actions button:nth-child(3) span {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d3d4d6;
  }

  .source-contract-market-strip {
    min-height: 58px;
    max-width: 100%;
    padding: 0 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    background: #fff;
  }

  .source-contract-symbol strong {
    display: inline-block;
    font-size: 20px;
  }

  .source-contract-symbol small {
    display: inline;
    margin-left: 0;
    color: #111827;
    font-size: 13px;
  }

  .source-contract-price strong {
    font-size: 24px;
  }

  .source-contract-price span {
    font-size: 13px;
  }

  .source-contract-market-strip dl {
    display: none;
  }

  .source-contract-chart {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .source-contract-orderbook-panel {
    padding: 0;
  }

  .source-contract-kline {
    grid-template-rows: auto minmax(170px, 1fr);
  }

  .source-contract-chart-grid {
    min-height: 170px;
    padding: 24px 42px 56px 30px;
  }

  .source-contract-chart-grid b {
    inset: 24px 42px 56px 30px;
  }

  .source-contract-chart-tools {
    width: 26px;
    gap: 10px;
    padding-top: 42px;
  }

  .source-contract-chart-tools span {
    width: 10px;
    height: 10px;
  }

  .source-contract-ma-row {
    left: 32px;
    right: 46px;
    gap: 8px;
    font-size: 9px;
  }

  .source-contract-price-scale {
    right: 4px;
    bottom: 64px;
    font-size: 9px;
  }

  .source-contract-volume-pane {
    left: 30px;
    right: 42px;
    height: 52px;
    gap: 4px;
    padding: 14px 6px 6px;
  }

  .source-contract-volume-pane em:nth-of-type(n+8) {
    display: none;
  }

  .source-spot-price,
  .source-spot-market-strip dl {
    display: none;
  }

  .source-spot-toolbar,
  .source-spot-chart {
    display: none;
  }

  .source-spot-mobile-plates {
    display: none;
  }

  .source-trade-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 10px 0;
    background: #f5f5f5;
  }

  .source-mobile-trade-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 10px 8px 0;
    background: #fff;
  }

  .source-mobile-trade-tabs button {
    min-height: 34px;
    border: 0;
    background: transparent;
    color: #8b929d;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
  }

  .source-mobile-trade-tabs .active {
    color: #000;
    font-weight: 700;
  }

  .source-trade-dashboard .source-trade-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 8px;
    padding: 0 8px;
    background: #fff;
  }

  .source-spot-page .source-trade-orderbook .source-trade-tabs {
    display: none;
  }

  .source-trade-dashboard .source-trade-orderbook,
  .source-trade-dashboard .source-trade-ticket {
    padding: 10px 0;
    border: 0;
  }

  .source-trade-dashboard .source-trade-orderbook {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
  }

  .source-trade-depth-head,
  .source-trade-orderbook p {
    gap: 6px;
  }

  .source-trade-orderbook p {
    margin: 6px 0;
    font-size: 12px;
  }

  .source-trade-orderbook [data-source-depth-row][data-source-depth-index="5"],
  .source-trade-orderbook [data-source-depth-row][data-source-depth-index="6"],
  .source-trade-orderbook [data-source-depth-row][data-source-depth-index="7"],
  .source-trade-orderbook [data-source-depth-row][data-source-depth-index="8"],
  .source-trade-orderbook [data-source-depth-row][data-source-depth-index="9"] {
    display: none;
  }

  .source-trade-dashboard .source-side-tabs {
    grid-auto-flow: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10px;
  }

  .source-trade-ticket label {
    gap: 5px;
    font-size: 14px;
  }

  .source-openview-row {
    display: none;
  }

  .source-trade-ticket .source-market-price-row,
  .source-trade-ticket input,
  .source-trade-ticket select,
  .source-trade-ticket button {
    min-height: 40px;
  }

  .source-trade-ticket .primary-black {
    min-height: 40px;
  }

  .source-trade-records {
    padding: 8px 12px 0;
    background: #fff;
    max-width: 100%;
    min-width: 0;
  }

  .source-trade-records .source-record-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 14px 0 10px;
  }

  .source-trade-records .source-record-tabs button {
    width: 100%;
    min-width: 0;
    padding: 0 4px;
    font-size: 15px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contract-page {
    overflow-x: hidden;
  }

  .asset-table {
    max-width: 100%;
    overflow-x: auto;
  }

  .asset-table table {
    min-width: 720px;
  }

  .asset-actions {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .order-detail-panel {
    padding: 14px;
  }

  .order-detail-panel header,
  .order-detail-panel dl {
    grid-template-columns: 1fr;
  }

  .order-detail-panel header {
    display: grid;
    align-items: start;
  }

  .source-asset-records-header {
    display: grid;
    gap: 0;
  }

  .source-asset-search {
    width: 100%;
  }
}

@media (max-width: 900px) {
  body:has(.admin-shell) {
    padding-bottom: 0;
  }

  .admin-top,
  .sidebar-collapsed .admin-top {
    inset: 0 0 auto 0;
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    grid-template-rows: 56px 48px;
    grid-template-areas:
      "brand tools"
      "hamburger nav";
    gap: 0;
    width: 100vw;
    min-height: 104px;
    padding: 0 8px;
    overflow: hidden;
  }

  .admin-mobile-brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding-left: 12px;
    color: #fff;
    font-size: 18px;
  }

  .admin-mobile-brand strong {
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
  }

  .admin-top .hamburger {
    grid-area: hamburger;
    justify-self: start;
    margin-left: 4px;
  }

  .admin-top nav {
    display: none;
  }

  .admin-top .admin-top-primary {
    grid-area: nav;
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    align-self: stretch;
    min-width: 0;
    padding-left: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .admin-top .admin-top-primary::-webkit-scrollbar {
    display: none;
  }

  .admin-top .admin-top-secondary {
    display: none;
  }

  .admin-top-item {
    flex: 0 0 auto;
  }

  .admin-top-tools {
    grid-area: tools;
    align-self: stretch;
    min-width: 0;
    margin: 0;
    padding-left: 8px;
  }

  .menu-search-wrap {
    width: 100%;
  }

  .menu-search {
    width: 100%;
    height: 40px;
    padding-right: 34px;
    padding-left: 14px;
  }

  .menu-search-wrap > span {
    right: 10px;
    font-size: 20px;
  }

  .root-user-wrap {
    position: fixed;
    top: 56px;
    left: 64px;
    z-index: 31;
  }

  .root-user {
    height: 48px;
  }

  .root-avatar {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .admin-sidebar,
  body:has(.source-stock-order-page) .admin-sidebar {
    top: 0;
    left: -230px;
    display: block;
  }

  .admin-content,
  body:has(.source-stock-order-page) .admin-content {
    min-width: 0;
    max-width: 100vw;
    padding: 104px 10px 25px;
  }

  body:has(.source-stock-order-page),
  body:has(.source-stock-order-page) .admin-shell {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .source-stock-order-page {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
    padding: 12px 20px 16px;
  }

  .admin-workspace-tab {
    height: 36px;
    margin: 0 -10px 5px;
    padding: 0 8px;
  }

  .admin-workspace-tab .tab-title {
    height: 36px;
  }

  .source-stock-order-page .stock-region-tabs,
  .source-stock-order-page .exchange-apply-table-scroll,
  .source-stock-order-page .exchange-apply-pagination {
    width: 100%;
    max-width: 100%;
  }

  .source-stock-order-page .exchange-apply-search {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 274px;
    max-width: 100%;
    padding-left: 0;
  }

  .source-stock-order-page .exchange-apply-search label {
    grid-template-columns: 62px minmax(0, 1fr);
    text-align: right;
  }

  .source-stock-order-page .exchange-apply-search > label:nth-child(3) {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    transform: none;
  }

  .source-stock-order-page .exchange-apply-search > label:nth-child(2) {
    gap: 10px;
  }

  .source-stock-order-page .exchange-apply-search > label:nth-child(4) {
    width: auto;
    transform: none;
  }

  .source-stock-order-page .exchange-apply-search > button[type="submit"] {
    width: 72px;
    height: 34px;
    transform: none;
  }

  .source-stock-order-page .exchange-apply-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 6px;
  }

  .source-stock-order-page .stock-region-nav {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    align-items: stretch;
    max-width: 100%;
  }

  .source-stock-order-page .stock-region-tabs {
    gap: 40px;
    margin-bottom: 16px;
    scrollbar-width: none;
  }

  .source-stock-order-page .stock-region-tabs::-webkit-scrollbar {
    display: none;
  }

  .source-stock-order-page .stock-region-scroll {
    display: inline-grid;
    min-width: 20px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: #98a2b3;
    font-size: 18px;
  }

  .source-stock-order-page .stock-region-scroll.previous {
    justify-content: start;
  }

  .source-stock-order-page .stock-region-scroll.next {
    justify-content: end;
  }

  .source-stock-order-page .exchange-apply-pagination {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
  }
}

/* Keep the dedicated quotation surface above later shared admin primitives. */
.admin-panel.stock-quotation-page {
  padding: 30px;
  overflow: hidden;
}

.modal-backdrop.stock-quotation-dialog-backdrop {
  z-index: 1400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12px;
  overflow-y: auto;
}

.pagination.stock-quotation-pagination {
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: max-content;
  margin-top: 18px;
  overflow-x: auto;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .pagination.stock-quotation-pagination {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .admin-panel.stock-quotation-page {
    padding: 12px;
  }

  .modal-backdrop.stock-quotation-dialog-backdrop {
    align-items: flex-start;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

/* Final specificity guard for the stock perpetual dialogs after shared primitives. */
.role-dialog.stock-perpetual-dialog {
  box-sizing: border-box;
  width: min(820px, calc(100vw - 24px));
  max-width: 100%;
  max-height: calc(100dvh - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px;
}

.role-dialog.stock-perpetual-leverage-dialog {
  width: min(720px, calc(100vw - 24px));
}

.role-dialog.stock-perpetual-leverage-prompt,
.role-dialog.stock-perpetual-leverage-confirm {
  box-sizing: border-box;
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 22px;
}

.stock-perpetual-leverage-table-scroll button.danger,
.stock-perpetual-leverage-confirm button.danger {
  border-color: #f56c6c;
  background: #f56c6c !important;
  color: #fff;
}

@media (max-width: 600px) {
  .role-dialog.stock-perpetual-dialog,
  .role-dialog.stock-perpetual-leverage-prompt,
  .role-dialog.stock-perpetual-leverage-confirm {
    padding: 16px;
  }
}

/* Source-parity stock delivery contract configuration. */
.admin-panel.stock-delivery-config-page {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  background: #fff;
}

.stock-delivery-config-regions {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 32px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid #dfe5ee;
  scrollbar-width: thin;
  white-space: nowrap;
}

.stock-delivery-config-regions button {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1f2937;
  font-size: 14px;
  font-weight: 400;
}

.stock-delivery-config-regions button.active {
  color: #2457ff;
}

.stock-delivery-config-regions button.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #2457ff;
  content: "";
}

.stock-delivery-config-search,
.stock-delivery-parameter-search {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  min-width: 0;
  padding: 15px 14px 10px;
}

.stock-delivery-config-search.is-hidden,
.stock-delivery-parameter-search.is-hidden {
  display: none;
}

.stock-delivery-config-search label,
.stock-delivery-parameter-search label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #4b5563;
  font-size: 14px;
  white-space: nowrap;
}

.stock-delivery-config-search input,
.stock-delivery-parameter-search input {
  box-sizing: border-box;
  width: 196px;
  height: 30px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #d8dfeb;
  border-radius: 4px;
  outline: 0;
  color: #344054;
}

.stock-delivery-config-search input:focus,
.stock-delivery-parameter-search input:focus,
.stock-delivery-parameter-editor input:focus,
.stock-delivery-parameter-editor select:focus,
.stock-delivery-parameter-delete input:focus {
  border-color: #2457ff;
  box-shadow: 0 0 0 1px #2457ff;
}

.stock-delivery-config-search > div,
.stock-delivery-parameter-search > div,
.stock-delivery-config-tools > div,
.stock-delivery-parameter-tools > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stock-delivery-config-search button,
.stock-delivery-parameter-search button,
.stock-delivery-parameter-tools > button,
.stock-delivery-config-page [data-stock-delivery-parameter-open],
.stock-delivery-parameter-actions button {
  min-height: 30px;
  padding: 0 16px;
  border: 1px solid #2457ff;
  border-radius: 4px;
  background: #2457ff;
  color: #fff;
  font-size: 13px;
}

.stock-delivery-config-search button.secondary,
.stock-delivery-parameter-search button.secondary {
  border-color: #8dd8ff;
  background: #effaff;
  color: #0ea5e9;
}

.stock-delivery-config-tools,
.stock-delivery-parameter-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 2px;
}

.stock-delivery-config-tools > div > button,
.stock-delivery-parameter-tools > div > button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #d8dfeb;
  border-radius: 50%;
  background: #fff;
  color: #667085;
  font-size: 16px;
}

.stock-delivery-config-loading {
  margin: 0 0 8px;
  color: #667085;
  font-size: 13px;
}

.stock-delivery-config-table-scroll,
.stock-delivery-parameter-table-scroll {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid #e1e7ef;
}

.stock-delivery-config-page [data-stock-delivery-config-table] {
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.stock-delivery-config-page [data-stock-delivery-config-table] th,
.stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] th {
  height: 40px;
  padding: 0 12px;
  border-right: 1px solid #e1e7ef;
  background: #030303;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.stock-delivery-config-page [data-stock-delivery-config-table] td,
.stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] td {
  height: 42px;
  padding: 0 12px;
  border-top: 1px solid #e1e7ef;
  border-right: 1px solid #e1e7ef;
  background: #fff;
  color: #475467;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.stock-delivery-config-page [data-stock-delivery-config-table] tbody tr:nth-child(even) td,
.stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] tbody tr:nth-child(even) td {
  background: #fafafa;
}

.stock-delivery-config-page [data-stock-delivery-config-table] th:last-child,
.stock-delivery-config-page [data-stock-delivery-config-table] td:last-child,
.stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] th:last-child,
.stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] td:last-child {
  width: 220px;
  border-right: 0;
}

.stock-delivery-parameter-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stock-delivery-parameter-actions button {
  min-height: 28px;
  padding: 0 12px;
}

.stock-delivery-parameter-actions button.danger,
.stock-delivery-parameter-delete button.danger {
  border-color: #f56c6c;
  background: #f56c6c;
}

.pagination.stock-delivery-config-pagination,
.pagination.stock-delivery-parameter-pagination {
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
  min-width: max-content;
  margin-top: 18px;
  overflow-x: auto;
  white-space: nowrap;
}

.stock-delivery-config-pagination select,
.stock-delivery-config-pagination input,
.stock-delivery-parameter-pagination select,
.stock-delivery-parameter-pagination input {
  box-sizing: border-box;
  height: 30px;
  border: 1px solid #d8dfeb;
  border-radius: 4px;
  background: #fff;
}

.stock-delivery-config-pagination input,
.stock-delivery-parameter-pagination input {
  width: 48px;
  margin: 0 5px;
  text-align: center;
}

.modal-backdrop.stock-delivery-config-dialog-backdrop {
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px;
  overflow: hidden;
}

.role-dialog.stock-delivery-parameter-dialog {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(1200px, calc(100vw - 24px));
  max-width: 100%;
  max-height: calc(100dvh - 24px);
  padding: 0 22px 20px;
  overflow: hidden;
  background: #fff;
}

.stock-delivery-parameter-dialog > header,
.stock-delivery-parameter-editor > header,
.stock-delivery-parameter-delete > header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid #e5e7eb;
}

.stock-delivery-parameter-dialog > header h3,
.stock-delivery-parameter-editor > header h3,
.stock-delivery-parameter-delete > header h3 {
  margin: 0;
  color: #303133;
  font-size: 18px;
  font-weight: 400;
}

.stock-delivery-parameter-dialog > header p {
  margin: 4px 0 0;
  color: #98a2b3;
  font-size: 12px;
}

.stock-delivery-parameter-dialog > header button,
.stock-delivery-parameter-editor > header button,
.stock-delivery-parameter-delete > header button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #98a2b3;
  font-size: 20px;
}

.stock-delivery-parameter-dialog .stock-delivery-parameter-table-scroll {
  flex: 1 1 auto;
  min-height: 180px;
  max-height: 52dvh;
  overflow: auto;
}

.stock-delivery-config-nested-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px;
  overflow: hidden;
  background: rgb(0 0 0 / 42%);
}

.role-dialog.stock-delivery-parameter-editor {
  box-sizing: border-box;
  width: min(800px, calc(100vw - 24px));
  max-width: 100%;
  max-height: calc(100dvh - 24px);
  padding: 0 20px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
}

.stock-delivery-parameter-editor > form {
  padding-top: 22px;
}

.stock-delivery-parameter-intro {
  width: min(540px, calc(100% - 120px));
  margin: 0 0 30px 110px;
  color: #12b76a;
  font-size: 14px;
}

.stock-delivery-parameter-form-fields {
  display: grid;
  gap: 20px;
}

.stock-delivery-parameter-form-fields > label {
  display: grid;
  grid-template-columns: 100px minmax(0, 550px);
  align-items: center;
  gap: 10px;
  color: #606266;
  font-size: 14px;
}

.stock-delivery-parameter-form-fields > label > span:first-child {
  text-align: right;
}

.stock-delivery-parameter-form-fields label b,
.stock-delivery-parameter-delete label b {
  margin-right: 4px;
  color: #f56c6c;
  font-weight: 400;
}

.stock-delivery-parameter-form-fields input,
.stock-delivery-parameter-form-fields select,
.stock-delivery-parameter-delete input {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid #d8dfeb;
  border-radius: 4px;
  outline: 0;
  background: #fff;
  color: #344054;
}

.stock-delivery-parameter-form-fields select:disabled {
  background: #f5f7fa;
  color: #b8c0cc;
}

.stock-delivery-parameter-time,
.stock-delivery-parameter-range,
.stock-delivery-parameter-suffix {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stock-delivery-parameter-time input {
  flex: 1 1 auto;
}

.stock-delivery-parameter-time select {
  flex: 0 0 80px;
}

.stock-delivery-parameter-range input {
  flex: 1 1 0;
}

.stock-delivery-parameter-range i,
.stock-delivery-parameter-suffix i {
  display: grid;
  flex: 0 0 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  background: #f5f7fa;
  color: #909399;
  font-style: normal;
}

.stock-delivery-cardinality-control {
  display: grid;
  gap: 8px;
}

.stock-delivery-cardinality-control small {
  width: fit-content;
  padding: 2px 4px;
  background: #fff2d6;
  color: #f59e0b;
  font-size: 12px;
}

.stock-delivery-parameter-editor .form-error,
.stock-delivery-parameter-delete .form-error {
  margin: 16px 0 0 110px;
}

.stock-delivery-parameter-editor footer,
.stock-delivery-parameter-delete footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 28px 0 18px;
}

.stock-delivery-parameter-editor footer button,
.stock-delivery-parameter-delete footer button {
  min-width: 70px;
  min-height: 40px;
  border: 1px solid #2457ff;
  border-radius: 4px;
  background: #2457ff;
  color: #fff;
}

.stock-delivery-parameter-editor footer button.secondary,
.stock-delivery-parameter-delete footer button.secondary {
  border-color: #d8dfeb;
  background: #fff;
  color: #606266;
}

.role-dialog.stock-delivery-parameter-delete {
  box-sizing: border-box;
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0 22px;
  overflow: auto;
  background: #fff;
}

.stock-delivery-parameter-delete > form > p {
  margin: 22px 0;
  color: #475467;
}

.stock-delivery-parameter-delete label {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #606266;
  font-size: 14px;
}

.stock-delivery-parameter-delete label > span {
  text-align: right;
}

.stock-delivery-config-page button:disabled,
.stock-delivery-parameter-dialog button:disabled,
.stock-delivery-parameter-editor button:disabled,
.stock-delivery-parameter-delete button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 900px) {
  .admin-panel.stock-delivery-config-page {
    padding: 20px;
  }

  .stock-delivery-config-regions {
    gap: 38px;
  }

  .stock-delivery-config-search,
  .stock-delivery-parameter-search {
    align-items: flex-start;
  }

  .pagination.stock-delivery-config-pagination,
  .pagination.stock-delivery-parameter-pagination {
    justify-content: flex-start;
  }

  .role-dialog.stock-delivery-parameter-dialog {
    padding: 0 20px 18px;
  }

  .stock-delivery-parameter-dialog .stock-delivery-parameter-table-scroll {
    max-height: 50dvh;
  }
}

@media (max-width: 600px) {
  .admin-panel.stock-delivery-config-page {
    padding: 12px 20px 20px;
  }

  .stock-delivery-config-regions {
    gap: 38px;
  }

  .stock-delivery-config-search,
  .stock-delivery-parameter-search {
    display: grid;
    gap: 14px;
    padding: 14px 5px;
  }

  .stock-delivery-config-search label,
  .stock-delivery-parameter-search label {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    width: 100%;
  }

  .stock-delivery-config-search input,
  .stock-delivery-parameter-search input {
    width: 100%;
  }

  .stock-delivery-config-search > div,
  .stock-delivery-parameter-search > div {
    display: grid;
    justify-content: start;
    margin-left: 5px;
  }

  .stock-delivery-config-tools,
  .stock-delivery-parameter-tools {
    align-items: flex-end;
  }

  .stock-delivery-config-page [data-stock-delivery-config-table] {
    min-width: 790px;
  }

  .stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] {
    min-width: 900px;
  }

  .stock-delivery-config-page [data-stock-delivery-config-table] th:last-child,
  .stock-delivery-config-page [data-stock-delivery-config-table] td:last-child,
  .stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] th:last-child,
  .stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    width: 210px;
    box-shadow: -8px 0 12px -12px rgb(15 23 42 / 45%);
  }

  .stock-delivery-config-page [data-stock-delivery-config-table] thead th:last-child,
  .stock-delivery-parameter-dialog [data-stock-delivery-parameter-table] thead th:last-child {
    z-index: 3;
    background: #030303;
  }

  .modal-backdrop.stock-delivery-config-dialog-backdrop,
  .stock-delivery-config-nested-backdrop {
    align-items: flex-start;
    padding: 6px;
  }

  .role-dialog.stock-delivery-parameter-dialog,
  .role-dialog.stock-delivery-parameter-editor,
  .role-dialog.stock-delivery-parameter-delete {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
  }

  .role-dialog.stock-delivery-parameter-dialog {
    padding: 0 10px 12px;
  }

  .role-dialog.stock-delivery-parameter-editor,
  .role-dialog.stock-delivery-parameter-delete {
    padding: 0 14px;
  }

  .stock-delivery-parameter-dialog .stock-delivery-parameter-table-scroll {
    max-height: 46dvh;
  }

  .stock-delivery-parameter-intro {
    width: 100%;
    margin: 0 0 22px;
  }

  .stock-delivery-parameter-form-fields > label,
  .stock-delivery-parameter-delete label {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .stock-delivery-parameter-form-fields > label > span:first-child,
  .stock-delivery-parameter-delete label > span {
    text-align: left;
  }

  .stock-delivery-parameter-editor .form-error,
  .stock-delivery-parameter-delete .form-error {
    margin-left: 0;
  }

  .stock-delivery-cardinality-control small {
    width: auto;
    line-height: 1.5;
  }

  .stock-delivery-parameter-time select {
    flex-basis: 72px;
  }

  .stock-delivery-parameter-range {
    gap: 6px;
  }

  .stock-delivery-parameter-range i,
  .stock-delivery-parameter-suffix i {
    flex-basis: 34px;
  }
}

@media (min-width: 901px) {
  .crypto-transaction-table {
    min-width: 100%;
  }
}

@media (max-width: 900px) {
  .crypto-transaction-table {
    min-width: 1210px;
  }

  .admin-shell.source-fixed-contract-sidebar {
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .admin-shell.source-fixed-contract-sidebar .admin-sidebar {
    top: 0;
    left: 0;
    display: block;
    width: 230px;
  }

  .admin-shell.source-fixed-contract-sidebar .admin-content {
    min-width: 0;
    max-width: none;
    padding: 104px 10px 25px 245px;
  }

  .admin-shell.source-fixed-contract-sidebar .contract-position-page {
    min-width: 0;
  }
}

.source-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.source-toolbar .primary {
  background: #1c4efa;
  color: #fff;
  border-color: #1c4efa;
}

.table-thumb {
  width: 64px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
}

.source-avatar-page table {
  min-width: 760px;
}

.source-avatar-thumb {
  width: 72px;
  height: 44px;
  display: inline-block;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
}

.source-avatar-dialog {
  width: min(500px, calc(100vw - 24px));
}

.source-avatar-dialog header h3 {
  font-size: 18px;
  font-weight: 400;
}

.source-avatar-dialog label {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
}

.source-avatar-dialog label span:first-child {
  text-align: right;
}

.source-avatar-dialog label b {
  color: #f56c6c;
  font-weight: 400;
}

.source-avatar-dialog select,
.source-avatar-dialog input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
}

.source-upload-box {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: #8c939d;
  font-size: 42px;
  line-height: 1;
}

.source-upload-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.source-avatar-upload-row {
  align-items: start;
}

.source-system-parameters-page {
  min-width: 940px;
}

.source-system-parameter-form {
  width: min(900px, calc(100vw - 320px));
  margin: 0 0 0 100px;
}

.source-system-parameter-form label {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 0 0 22px;
  color: #606266;
  font-size: 14px;
}

.source-system-parameter-form label > span:first-child {
  min-height: 28px;
  line-height: 28px;
  text-align: right;
}

.source-system-parameter-form input,
.source-system-parameter-form select,
.source-system-parameter-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
}

.source-system-parameter-form input,
.source-system-parameter-form select {
  height: 40px;
  padding: 0 12px;
}

.source-system-parameter-form textarea {
  min-height: 84px;
  padding: 8px 12px;
  resize: vertical;
}

.source-system-parameter-form > button {
  margin-left: 0;
  padding: 12px 20px;
  border-color: #1c4efa;
  background: #1c4efa;
  color: #fff;
}

.source-time-range {
  grid-template-columns: 360px minmax(0, 1fr) 24px minmax(0, 1fr) !important;
  align-items: center !important;
}

.source-time-range i {
  font-style: normal;
  color: #606266;
  line-height: 40px;
  text-align: center;
}

.source-system-parameter-confirm {
  width: min(500px, calc(100vw - 24px));
}

.root-system-parameters-page {
  min-width: 940px;
}

.root-system-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.root-system-actions button {
  min-height: 28px;
  padding: 6px 18px;
  border: 0;
  border-radius: 2px;
  background: #c7d7ff;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.source-root-system-table-wrap {
  overflow-x: auto;
}

.source-root-system-table {
  min-width: 760px;
  border-collapse: collapse;
}

.source-root-system-table thead th {
  background: #bfbfbf;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.source-root-system-table td {
  height: 48px;
  border-color: #f1f3f8;
  color: #606266;
  text-align: center;
  vertical-align: middle;
}

.source-root-system-table td:first-child {
  width: 36%;
}

.source-root-system-table td:nth-child(2) {
  width: 34%;
}

.source-root-system-dialog {
  width: min(430px, calc(100vw - 24px));
}

.source-root-system-dialog h3 {
  font-size: 18px;
  font-weight: 500;
}

.source-root-system-action-message {
  margin: 8px 0 18px;
  color: #606266;
  font-size: 15px;
}

.source-menu-page {
  min-width: 960px;
}

.source-menu-toolbar {
  margin: 18px 0 22px;
}

.source-menu-toolbar button {
  min-height: 40px;
  padding: 10px 22px;
  border: 0;
  border-radius: 4px;
  background: #1f5cff;
  color: #fff;
  font-size: 14px;
}

.source-menu-table-wrap {
  overflow-x: auto;
}

.source-menu-table {
  min-width: 980px;
  border-collapse: collapse;
}

.source-menu-table th {
  background: #f5f7fa;
  color: #909399;
  font-weight: 600;
  text-align: center;
}

.source-menu-table td {
  height: 48px;
  border-color: #ebeef5;
  color: #606266;
  text-align: center;
  vertical-align: middle;
}

.source-menu-table td:first-child {
  text-align: left;
}

.source-menu-name {
  display: inline-block;
  min-width: 0;
}

.source-menu-dialog {
  width: min(560px, calc(100vw - 24px));
}

.source-menu-dialog label {
  grid-template-columns: 110px minmax(0, 1fr);
}

.source-role-page {
  min-width: 920px;
}

.source-role-dialog {
  width: min(720px, calc(100vw - 24px));
}

.source-role-dialog form {
  gap: 16px;
}

.source-role-field {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.source-role-field span,
.source-role-auth-label {
  color: #606266;
  font-size: 14px;
}

.source-role-field.required span::before {
  content: "*";
  margin-right: 4px;
  color: #f56c6c;
}

.source-role-auth-label {
  margin-top: 2px;
}

.source-role-dialog .permission-tree {
  max-height: 46vh;
  overflow: auto;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  padding: 10px 12px;
}

.source-customer-service-page {
  min-width: 980px;
}

.source-customer-service-table {
  min-width: 1040px;
}

.source-customer-service-table select {
  min-width: 180px;
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  background: #1f5cff;
  color: #fff;
  padding: 0 14px;
}

.source-customer-service-dialog {
  width: min(720px, calc(100vw - 24px));
}

.source-customer-service-dialog textarea {
  min-height: 64px;
  resize: vertical;
}

.source-role-field.textarea-row {
  align-items: start;
}

.source-system-user-page {
  min-width: 940px;
}

.source-system-user-table {
  min-width: 920px;
}

.source-system-user-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.source-system-user-dialog {
  width: min(620px, calc(100vw - 24px));
}

.source-system-user-dialog textarea {
  min-height: 64px;
  resize: vertical;
}

.source-system-user-dialog .source-radio-row {
  align-items: center;
}

.source-system-user-dialog .source-radio-row label {
  width: auto;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

@media (max-width: 560px) {
  .source-avatar-dialog label {
    grid-template-columns: 1fr;
  }

  .source-avatar-dialog label span:first-child {
    text-align: left;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .source-record-page {
    max-width: none;
    padding: 30px 12px 64px;
    background: #fff;
  }

  .source-record-page > h1 {
    display: block;
    margin: 0 0 24px;
  }

  .source-record-mobile-top {
    display: none;
  }

  .source-record-card {
    min-height: 380px;
    margin: 0;
    padding: 30px 34px;
    border: 1px solid #dedede;
    border-radius: 8px;
  }

  .source-record-card-tabs {
    height: auto;
    padding: 0 0 18px;
    gap: 22px;
    border-bottom: 1px solid #dedede;
    background: #fff;
  }

  .source-record-card-tabs button {
    min-height: 28px;
    border-bottom: 0;
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .root-system-parameters-page {
    min-width: 0;
  }

  .source-menu-page {
    min-width: 0;
  }

  .source-role-page {
    min-width: 0;
  }

  .source-customer-service-page {
    min-width: 0;
  }

  .source-system-user-page {
    min-width: 0;
  }

  .source-role-field {
    grid-template-columns: 1fr;
  }

  .source-system-parameters-page {
    min-width: 0;
  }

  .source-system-parameter-form {
    width: 100%;
    margin-left: 0;
  }

  .source-system-parameter-form label,
  .source-time-range {
    grid-template-columns: 1fr !important;
  }

  .source-system-parameter-form label > span:first-child {
    text-align: left;
  }

  .source-time-range i {
    text-align: left;
  }
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.36);
  padding: 20px;
}

.modal-content {
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.modal-content h3 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.3;
}

.modal-content label {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.modal-content input {
  min-width: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

@media (max-width: 520px) {
  .modal-content label {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .source-fund-page > .source-wealth-title-order {
    top: 14px;
    right: 12px;
    display: block;
  }

  .source-wealth-detail-page,
  .source-wealth-history-page,
  .source-wealth-order-details,
  .source-wealth-success-page {
    max-width: none;
    padding: 14px 12px 86px;
  }

  .source-wealth-detail-card,
  .source-wealth-history-row {
    padding: 16px;
  }

  .source-wealth-detail-card dl div,
  .source-wealth-history-row dl div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .source-wealth-history-row {
    grid-template-columns: 1fr;
  }

  .source-wealth-history-row button {
    width: 100%;
  }

  .source-wealth-history-redeemed-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .source-wealth-history-profit {
    text-align: left;
  }

  .source-wealth-interest-row {
    align-items: flex-start;
  }

  .source-wealth-interest-row strong {
    max-width: 42%;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: right;
  }

  .source-wealth-confirm {
    padding: 10px;
  }

  .source-wealth-confirm-card {
    padding: 18px 16px;
  }

  .source-wealth-confirm-card form {
    gap: 10px;
  }
}

/* Shared usability guardrails. These do not alter route or business contracts. */
:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(29, 99, 255, 0.42);
  outline-offset: 2px;
}

.app-render-error,
.public-render-error {
  width: min(560px, calc(100% - 32px));
  margin: 48px auto;
  padding: 24px;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.app-render-error button,
.public-render-error button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: #1d63ff;
  color: #fff;
  font-weight: 700;
}

.public-footer .source-footer-text-link,
.source-footer-contact {
  color: #5f6672;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .public-footer {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .public-footer > .source-footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero {
    min-width: 0;
    min-height: auto;
  }

  .hero-copy,
  .hero-copy > *,
  .hero .market-search,
  .hero .market-search input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-metrics {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hero-metrics span,
  .hero-metrics strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .source-mobile-top-actions button,
  .mobile-tabbar button,
  .source-home-mobile-grid button {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }

  .support-widget,
  body:has([data-source-spot-page]) .support-widget,
  body:has([data-source-contract-page]) .support-widget {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    margin: 18px 14px 76px;
  }

  .support-widget .support-panel {
    right: 0;
    bottom: 72px;
  }

  .laptop-login,
  .laptop-login form,
  .laptop-login input,
  .laptop-login button {
    min-width: 0;
    max-width: 100%;
  }

  .login-language {
    top: 18px;
    right: 18px;
    left: auto;
    font-size: 16px;
  }

  body:has(.crypto-transaction-record-page) .admin-sidebar {
    display: none;
    width: 0;
  }

  body:has(.crypto-transaction-record-page) .admin-content {
    width: 100%;
    max-width: 100vw;
    padding: 104px 0 25px;
  }

  .crypto-transaction-toolbar {
    align-items: stretch;
  }

  .crypto-transaction-search {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics strong {
    font-size: 34px;
  }

  .source-footer-contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .source-download-button {
    width: 100%;
    min-width: 0;
    margin: 4px 0 !important;
  }

  .laptop-login {
    width: calc(100vw - 24px);
    padding: 58px 16px 48px;
    border-width: 12px;
    border-bottom-width: 28px;
    border-radius: 16px 16px 8px 8px;
    box-shadow: -12px 16px 0 rgba(0, 0, 0, 0.14);
  }
}

/* Charity routes: responsive containment and keyboard/touch usability. */
.charity-page,
.charity-admin-page,
.charity-admin-page .charity-grid,
.charity-admin-page .charity-grid > section {
  min-width: 0;
  max-width: 100%;
}

.charity-admin-page {
  overflow-x: hidden;
}

.charity-admin-page .charity-grid > section {
  overflow: hidden;
  border: 1px solid #e6ebf2;
  border-radius: 6px;
  padding: 18px;
  background: #fff;
}

.charity-admin-page table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.charity-admin-page table > thead,
.charity-admin-page table > tbody {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.charity-admin-page .charity-grid > section:first-child table > thead,
.charity-admin-page .charity-grid > section:first-child table > tbody {
  min-width: 860px;
}

.charity-admin-page .charity-grid > section:nth-child(2) table > thead,
.charity-admin-page .charity-grid > section:nth-child(2) table > tbody {
  min-width: 1080px;
}

.charity-admin-page td:last-child {
  white-space: nowrap;
}

.charity-admin-page td button + button {
  margin-left: 6px;
}

.charity-page :where(button, input, select):focus-visible,
.charity-admin-page :where(button, input, select):focus-visible {
  outline: 3px solid rgba(29, 99, 255, 0.52);
  outline-offset: 2px;
}

.charity-projects article > button,
.charity-donation-panel input,
.charity-donation-panel button {
  min-height: 44px;
  touch-action: manipulation;
}

.charity-donation-list {
  width: 100%;
  max-width: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.charity-donation-panel {
  position: fixed;
  z-index: 1200;
  top: 50%;
  left: 50%;
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 28px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.52), 0 24px 60px rgba(15, 23, 42, 0.24);
  transform: translate(-50%, -50%);
  overscroll-behavior: contain;
}

.charity-donation-panel > div {
  padding-bottom: 18px;
  border-bottom: 1px solid #eceff3;
}

.charity-donation-panel form {
  gap: 18px;
}

.charity-donation-panel form > div,
.charity-donation-panel form > div > button {
  width: 100%;
}

@media (max-width: 900px) {
  .charity-admin-page .charity-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .charity-admin-page .role-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
  }

  .charity-admin-page .role-filter label {
    display: grid;
    min-width: 0;
    gap: 6px;
  }

  .charity-admin-page .role-filter input,
  .charity-admin-page .role-filter select,
  .charity-donation-panel input,
  .charity-donation-panel button,
  .charity-admin-page .role-filter button,
  .charity-admin-page td button,
  .charity-page [data-charity-open-donation] {
    min-width: 0;
    min-height: 44px;
    touch-action: manipulation;
  }

  .charity-admin-page .role-filter button,
  .charity-admin-page td button,
  .charity-page [data-charity-open-donation],
  .charity-donation-panel button {
    min-width: 44px;
  }

  .charity-admin-page .role-filter input,
  .charity-admin-page .role-filter select {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .charity-admin-page {
    padding: 12px;
  }

  .charity-admin-page .charity-grid > section {
    padding: 14px;
  }

  .charity-admin-page .role-filter {
    grid-template-columns: minmax(0, 1fr);
  }

  .charity-admin-page .role-filter button {
    width: 100%;
  }

  .charity-donation-panel {
    inset: auto 0 0;
    width: 100%;
    max-height: min(78dvh, 680px);
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
    transform: none;
  }

  .charity-donation-panel strong {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
