@import "variable.css?v=blue-teal-1";
@import "tree-level.css?v=tree-level-desktop-scroll-1";
@import "wallet-pages.css";
@import "st-toast.css";

body.sinqlo-page {
    color: var(--ink);
    background: var(--page);
    font-family:
      Inter,
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif;
    font-size: 15px;
  }

  body.sinqlo-page a,
  body.sinqlo-page a:hover,
  body.sinqlo-page a:focus {
    text-decoration: none !important;
  }
  
  [class^="ri-"], [class*=" ri-"] {
    font-weight: normal;
  }
  
  .link {
      text-decoration: none;
      color: var(--deep);
      font-size: 11px;
      font-weight: 600;
  }
  .link:hover {
    text-decoration: none;
  }
  
  .logo-wrap {
      max-width:120px;
  }

  body.sinqlo-page .dash-brand--logo {
    gap: 0;
    line-height: 0;
  }

  body.sinqlo-page .dash-brand__logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(160px, 100%);
    max-height: 2rem;
    object-fit: contain;
  }

  body.sinqlo-page .dash-brand__logo--dark {
    display: none;
  }

  body.sinqlo-page[data-appearance="dark"] .dash-brand__logo--light {
    display: none;
  }

  body.sinqlo-page[data-appearance="dark"] .dash-brand__logo--dark {
    display: block;
  }
  

  .text-dark {
    color:rgba(var(--bs-dark-rgb))!important;
  }
  body.sinqlo-page .app-sidebar {
    background: var(--sidebar-bg, var(--sidebar, #ffffff));
    color: var(--sidebar-link);
    border-right: 1px solid var(--sidebar-border);
  }

  body.sinqlo-page .app-sidebar .brand-mark span {
    background: var(--deep-2);
  }
  
  body.sinqlo-page .main-wrap,
  body.sinqlo-page .left-column,
  body.sinqlo-page .middle-column,
  body.sinqlo-page .right-column {
    min-width: 0;
  }

  body.sinqlo-page .main-wrap,
  body.sinqlo-page .right-column {
    background: var(--page);
  }
   
  body.sinqlo-page .brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    grid-template-columns: repeat(2, 10px);
    place-content: center;
    gap: 5px;
  }
  
  body.sinqlo-page .brand-mark span,
  body.sinqlo-page .chip-logo span {
    width: 10px;
    height: 10px;
    border-radius: 10px 10px 2px 10px;
    background: var(--deep);
  }
  
  body.sinqlo-page .sidebar-link {
    min-height: 40px;
    border-radius: 999px;
    color: var(--sidebar-link);
    font-weight: 500;
  }

  body.sinqlo-page .sidebar-link:hover {
    color: var(--sidebar-link-hover);
    background: var(--sidebar-link-hover-bg);
  }
  
  body.sinqlo-page .sidebar-link i {
    width: 24px;
    font-size: 1.35rem;
    line-height: 1;
    color: inherit;
  }
  
  body.sinqlo-page .sidebar-link.active {
    color: var(--sidebar-link-active);
    background: var(--sidebar-link-active-bg);
    font-weight: 600;
  }

  body.sinqlo-page .sidebar-link.active:hover {
    color: var(--sidebar-link-active);
    background: var(--sidebar-link-active-bg);
  }
  
  body.sinqlo-page .sidebar-nav-separator {
    height: 1px;
    margin: 0.45rem 1rem;
    background: var(--sidebar-separator);
  }

  body.sinqlo-page .sidebar-nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  body.sinqlo-page .sidebar-link--parent {
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
  }

  body.sinqlo-page .sidebar-link--parent.is-active,
  body.sinqlo-page .sidebar-nav-group.is-open > .sidebar-link--parent {
    color: var(--sidebar-link-active);
    background: var(--sidebar-link-active-bg);
    font-weight: 600;
  }

  body.sinqlo-page .sidebar-link--parent.is-active:hover,
  body.sinqlo-page .sidebar-nav-group.is-open > .sidebar-link--parent:hover {
    color: var(--sidebar-link-active);
    background: var(--sidebar-link-active-bg);
  }

  body.sinqlo-page .sidebar-submenu-caret {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
  }

  body.sinqlo-page .sidebar-nav-group.is-open .sidebar-submenu-caret {
    transform: rotate(180deg);
  }

  body.sinqlo-page .sidebar-submenu {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-left: 0.35rem;
  }

  body.sinqlo-page .sidebar-submenu[hidden] {
    display: none;
  }

  body.sinqlo-page .sidebar-sublink {
    min-height: 32px;
    padding-left: 2.35rem;
    font-size: 0.75rem;
    font-weight: 500;
  }

  body.sinqlo-page .sidebar-sublink i {
    width: 18px;
    font-size: 0.95rem;
  }
  
  body.sinqlo-page .promo-card,
  body.sinqlo-page .bank-card,
  body.sinqlo-page .panel.desgn-bg {
    color: #fff;
    background: var(--deep);
  }
  
  body.sinqlo-page .panel {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
  }

  body.sinqlo-page .panel h2,
  body.sinqlo-page .panel .designation-card__eyebrow,
  body.sinqlo-page .v2-metric-grid .panel strong,
  body.sinqlo-page .panel .income-rings-legend-item .flex-grow-1 strong,
  body.sinqlo-page .panel .d-grid.gap-3 .fw-semibold {
    color: #222;
  }

body.sinqlo-page .v2-metric-grid .panel strong {
    color: #545454;
}

    body.sinqlo-page .bank-card {
    min-height: 230px;
  }
  
  body.sinqlo-page .chip-logo {
    display: grid;
    grid-template-columns: repeat(2, 12px);
    gap: 6px;
  }
  
  body.sinqlo-page .chip-logo span {
    width: 12px;
    height: 12px;
    background: var(--mint);
  }
  
  body.sinqlo-page .bank-value,
  body.sinqlo-page .money-value,
  body.sinqlo-page .metric-value {
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.05em;
  }
  
  body.sinqlo-page .bank-value {
    color: #fff;
    font-size: clamp(1.3rem, 4vw, 1.6rem);
  }
  
  body.sinqlo-page .money-value {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
  }
  
  body.sinqlo-page .metric-value {
    color: var(--ink);
    font-size: clamp(1.2rem, 3vw, 1.4rem);
  }
  
  body.sinqlo-page .metric-value + p {
    font-size: clamp(0.7rem, 3vw, 0.8rem);
  }
  
  body.sinqlo-page .soft-box,
  body.sinqlo-page .circle-btn,
  body.sinqlo-page .metric-icon,
  body.sinqlo-page .small-icon {
    color: var(--deep);
    background: var(--mint-soft);
  }
  
  body.sinqlo-page .circle-btn,
  body.sinqlo-page .metric-icon,
  body.sinqlo-page .small-icon,
  body.sinqlo-page .avatar,
  body.sinqlo-page .invoice-icon {
    display: grid;
    place-items: center;
  }
  
  body.sinqlo-page .circle-btn {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    font-size: 1.25rem;
  }
  
  body.sinqlo-page .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: var(--gradient);
    font-weight: 800;
  }
  
  body.sinqlo-page .stat-card {
    min-height: 112px;
  }
  
  body.sinqlo-page .stat-card .metric-icon {
    width: 55px;
    height: 55px;
    flex: 0 0 auto;
    border-radius: 50%;
    font-size: 1.7rem;
  }
  
  /* Wallet quick actions: equal columns, aligned icons (single toolbar row) */
  body.sinqlo-page .quick-action-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }

  body.sinqlo-page .quick-action-strip--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  
  body.sinqlo-page .quick-action-strip__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 65px;
    min-width: 0;
    margin: 0;
    padding: 0.65rem 0.35rem;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 0;
    background: transparent;
    color: var(--deep);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  body.sinqlo-page .quick-action-strip__btn:last-child {
    border-right: 0;
  }
  
  body.sinqlo-page .quick-action-strip__btn:hover {
    background: rgba(255, 255, 255, 0.38);
  }
  
  body.sinqlo-page .quick-action-strip__btn:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: -2px;
    z-index: 1;
  }
  
  body.sinqlo-page .quick-action-strip__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 1.125rem;
    font-size: 1rem;
    line-height: 1;
  }
  
  body.sinqlo-page .quick-action-strip__icon i {
    display: block;
    font-size: inherit;
    line-height: 1;
    vertical-align: 0;
  }
  
  body.sinqlo-page .quick-action-strip__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.sinqlo-page .soft-box--quick-actions {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
  }

  body.sinqlo-page .soft-box--quick-actions .quick-action-strip__btn {
    color: var(--ink);
    border-right-color: var(--line);
  }

  body.sinqlo-page .soft-box--quick-actions .quick-action-strip__btn:hover {
    background: #f8fafc;
  }

  body.sinqlo-page .soft-box--quick-actions .quick-action-strip__btn:focus-visible {
    outline-color: var(--deep);
  }

  body.sinqlo-page .soft-box--quick-actions .quick-action-strip__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: var(--deep);
  }

  body.sinqlo-page .soft-box--quick-actions .quick-action-strip__btn:nth-child(1) .quick-action-strip__icon {
    background: linear-gradient(135deg, var(--accent-emerald), #2563eb);
  }

  body.sinqlo-page .soft-box--quick-actions .quick-action-strip__btn:nth-child(2) .quick-action-strip__icon {
    background: linear-gradient(135deg, var(--accent-sky), #0284c7);
  }

  body.sinqlo-page .soft-box--quick-actions .quick-action-strip__btn:nth-child(3) .quick-action-strip__icon {
    background: linear-gradient(135deg, var(--accent-amber), #d97706);
  }

  body.sinqlo-page .soft-box--quick-actions .quick-action-strip__btn:nth-child(4) .quick-action-strip__icon {
    background: linear-gradient(135deg, var(--deep-2), var(--deep));
  }

  body.sinqlo-page .soft-box--quick-actions .quick-action-strip__btn:nth-child(5) .quick-action-strip__icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
  }

  body.sinqlo-page .soft-box--referral {
    background: var(--deep);
    color: #fff;
  }

  body.sinqlo-page .soft-box--referral__label {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    letter-spacing: 0.06em;
  }

  body.sinqlo-page .soft-box--referral .form-control {
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--deep);
    font-size: 0.75rem;
  }

  body.sinqlo-page .soft-box--referral .form-control:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
  }

  body.sinqlo-page .soft-box--referral .btn-light {
    border: 0;
    background: #fff;
    color: var(--deep);
  }

  body.sinqlo-page .soft-box--referral .btn-light:hover {
    background: rgba(255, 255, 255, 0.88);
    color: #621484;
  }
  
  body.sinqlo-page .btn-mint {
    border: 0;
    color: var(--deep);
    background: var(--mint);
    font-weight: 400;
    font-size: 0.7rem;
  }
  
  body.sinqlo-page .btn-mint:hover {
    color: var(--deep);
    background: #a8ee88;
  }
  
  body.sinqlo-page .btn-deep {
    border: 0;
    color: #fff;
    background: var(--deep);
    font-weight: 400;
    font-size: 0.7rem;
  }
  
  body.sinqlo-page .btn-deep:hover {
    color: #fff;
    background: var(--deep);
  }
  
  body.sinqlo-page .progress {
    height: 11px;
    background: var(--mint);
  }
  
  body.sinqlo-page  .profile-info .btn {
  font-size: 0.7rem;
  }
  
  body.sinqlo-page .progress-bar {
    background: var(--deep);
  }
  
  body.sinqlo-page .muted {
    color: var(--muted);
  }
  
  body.sinqlo-page .trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 8px;
    color: #047857;
    background: var(--accent-emerald-soft);
    font-size: 0.75rem;
    font-weight: 800;
  }
  
  body.sinqlo-page .trend.down {
    color: #b64754;
    background: var(--danger-soft);
  }
  
  .v2-metric-grid .num-txt {
  font-size:0.75rem;
  }
  
  body.sinqlo-page .form-control,
  body.sinqlo-page .form-select {
    min-height: 44px;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    background-color: #f7f8fb;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 400;
  }
  
  body.sinqlo-page .form-control::placeholder {
    color: #9ca3af;
  }
  
  body.sinqlo-page .form-control:focus,
  body.sinqlo-page .form-select:focus {
    border-color: rgba(103, 58, 183, 0.38);
    background-color: #f7f8fb;
    box-shadow: 0 0 0 2px rgba(103, 58, 183, 0.12);
  }
  
  body.sinqlo-page .profile-code-row {
    display: flex;
    align-items: stretch;
    border: 1px solid #d7dce6;
    border-radius: 6px;
    background: #f1f3f7;
    overflow: hidden;
  }
  
  body.sinqlo-page .profile-code-input.form-control {
    border: 0;
    border-radius: 0;
    min-height: 36px;
    padding: 0 15px;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6f6f6f;
    box-shadow: none;
  }
  
  body.sinqlo-page .profile-code-input.form-control:focus {
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  
  body.sinqlo-page .profile-code-apply {
        border: 0;
      border-radius: 5px;
      margin: 6px;
      background: var(--deep);
      color: #fff;
      font-weight: 500;
      font-size: 0.68rem;
      padding: 0 10px;
  }
  
  body.sinqlo-page .profile-code-apply:hover,
  body.sinqlo-page .profile-code-apply:focus {
    background: var(--deep);
    color: #fff;
  }
  
  body.sinqlo-page .search-control {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--mint-soft);
  }
  
  body.sinqlo-page .filter-btn,
  body.sinqlo-page .select-pill {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--deep);
    background: var(--card);
    font-size: 0.78rem;
    font-weight: 500;
  }
  
  body.sinqlo-page .filter-btn {
    min-height: 44px;
  }
  
  body.sinqlo-page .cashflow-chart {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }
  
  body.sinqlo-page .axis {
    display: grid;
    height: 230px;
    color: var(--muted);
    font-size: 0.82rem;
  }
  
  body.sinqlo-page .bars-wrap {
    position: relative;
    min-width: 560px;
  }
  
  body.sinqlo-page .grid-lines {
    position: absolute;
    inset: 0 0 28px;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
  }
  
  body.sinqlo-page .grid-lines span {
    border-top: 1px solid var(--line);
  }
  
  body.sinqlo-page .bars {
    position: relative;
    z-index: 1;
    display: grid;
    height: 230px;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 18px;
    padding-bottom: 28px;
  }
  
  body.sinqlo-page .bar-month {
    display: grid;
    height: 180px;
    align-items: center;
    justify-items: center;
  }
  
  body.sinqlo-page .income,
  body.sinqlo-page .expense {
    width: 34px;
    border-radius: 6px;
  }
  
  body.sinqlo-page .income {
    align-self: end;
    background: var(--deep);
  }
  
  body.sinqlo-page .expense {
    align-self: start;
    background: var(--mint);
  }
  
  body.sinqlo-page .month-labels {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
  }


body.sinqlo-page .plan-a-daily-chart {
  --plan-a-chart-h: 230px;
  --plan-a-label-h: 28px;
  --plan-a-plot-h: calc(var(--plan-a-chart-h) - var(--plan-a-label-h));
  width: 100%;
  overflow: visible;
}

body.sinqlo-page .plan-a-daily-chart .axis.plan-a-daily-chart__axis,
body.sinqlo-page .plan-a-daily-chart .bars.plan-a-daily-chart__bars {
  height: var(--plan-a-chart-h);
  box-sizing: border-box;
}

body.sinqlo-page .plan-a-daily-chart .bars.plan-a-daily-chart__bars {
  padding-bottom: var(--plan-a-label-h);
}

body.sinqlo-page .plan-a-daily-chart.plan-a-daily-chart--rows-2 .axis.plan-a-daily-chart__axis {
  grid-template-rows: repeat(2, 1fr);
}

body.sinqlo-page .plan-a-daily-chart.plan-a-daily-chart--rows-2 .grid-lines.plan-a-daily-chart__grid {
  grid-template-rows: repeat(2, 1fr);
}

body.sinqlo-page .plan-a-daily-chart .bars-wrap.plan-a-daily-chart__bars-wrap {
  min-width: 0;
  width: 100%;
}

body.sinqlo-page .plan-a-daily-chart .axis.plan-a-daily-chart__axis {
  grid-template-rows: repeat(3, 1fr);
}

body.sinqlo-page .plan-a-daily-chart .grid-lines.plan-a-daily-chart__grid {
  inset: 0 0 var(--plan-a-label-h);
  grid-template-rows: repeat(3, 1fr);
}

body.sinqlo-page .plan-a-daily-chart .bars.plan-a-daily-chart__bars {
  align-items: end;
  gap: 2px;
  grid-template-columns: repeat(var(--plan-a-days, 31), minmax(0, 1fr));
  overflow: visible;
}

body.sinqlo-page .plan-a-daily-chart .bar-month.plan-a-daily-chart__bar-month {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: var(--plan-a-plot-h);
  min-width: 0;
  overflow: visible;
}

body.sinqlo-page .plan-a-daily-chart .income,
body.sinqlo-page .plan-a-daily-chart .expense {
  align-self: auto;
  flex-shrink: 0;
  width: 7px;
  min-height: 0;
  display: block;
}

body.sinqlo-page .plan-a-daily-chart .bar-month.is-today .income,
body.sinqlo-page .plan-a-daily-chart .bar-month.is-today .expense {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.2);
}

body.sinqlo-page .plan-a-daily-chart .month-labels.plan-a-daily-chart__labels {
  gap: 2px;
  font-size: 0.58rem;
  grid-template-columns: repeat(var(--plan-a-days, 31), minmax(0, 1fr));
  overflow: visible;
}

body.sinqlo-page .plan-a-daily-chart .month-labels.plan-a-daily-chart__labels span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.sinqlo-page .plan-a-daily-chart .month-labels.plan-a-daily-chart__labels .is-today-label {
  font-weight: 700;
  color: var(--text);
}


  
  body.sinqlo-page .donut {
    position: relative;
    width: 192px;
    height: 192px;
    margin: 0 auto;
    border-radius: 50%;
    background:
    conic-gradient(var(--deep) 0 60%, var(--mint) 60% 75%,
    #edf2eb 75% 87%,
    #d9dddb 87% 95%,
    #eff1ef 95% 100%);
  }
  
  
  body.sinqlo-page .donut.donut--income {
    background: conic-gradient(
      var(--deep) 0 54%,
      var(--accent-emerald) 54% 82%,
      var(--accent-sky) 82% 100%
    );
  }
  
  body.sinqlo-page .donut::after {
    content: "";
    position: absolute;
    inset: 42px;
    border-radius: inherit;
    background: #fff;
  }
  
  body.sinqlo-page .donut-center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: var(--deep);
    text-align: center;
  }
  
  body.sinqlo-page .percent {
    display: inline-block;
    min-width: 48px;
    padding: 9px 0;
    border-radius: 9px;
    background: #eef2ee;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
  }
  
  body.sinqlo-page .percent.dark {
    color: var(--deep);
    background: var(--mint-soft);
  }

  body.sinqlo-page .percent.green {
    color: #047857;
    background: var(--accent-emerald-soft);
  }

  body.sinqlo-page .income-rings-legend-item:nth-child(3) .percent,
  body.sinqlo-page .panel .d-grid.gap-3 > .d-flex:nth-child(3) .percent {
    color: #0284c7;
    background: var(--accent-sky-soft);
  }
  
  body.sinqlo-page .tabs-pill {
    width: fit-content;
    overflow: hidden;
    border-radius: 12px;
    background: var(--mint-soft);
  }
  
  body.sinqlo-page .tabs-pill .btn {
    min-width: 104px;
    border: 0;
    border-radius: 12px;
    color: var(--deep);
    font-weight: 400;
    font-size: 12px;
  }
  
  body.sinqlo-page .tabs-pill .btn.active {
    color: #fff;
    background: var(--deep);
  }
  
  body.sinqlo-page .table {
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--line);
  }
  
  body.sinqlo-page .table thead th {
    color: var(--ink);
    background: var(--mint-soft);
    font-size: 0.82rem;
    font-weight: 600;
  }
  
  body.sinqlo-page .invoice-table-card {
    overflow: hidden;
  }
  
  body.sinqlo-page .invoice-table-card .table {
    min-width: 1080px;
  }
  
  body.sinqlo-page .invoice-table-card .table thead th {
    padding-block: 18px;
    font-weight: 500;
  }
  
  body.sinqlo-page .invoice-table-card .table tbody td {
    padding-block: 15px;
    vertical-align: middle;
  }
  body.sinqlo-page .invoice-table-card .table tbody td strong {
    font-weight: 400;
  }
  
  body.sinqlo-page .invoice-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--deep);
    background: var(--mint);
    font-size: 1.2rem;
  }
  
  body.sinqlo-page .check-box {
    width: 18px;
    height: 18px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
  }
  
  body.sinqlo-page .status,
  body.sinqlo-page .status-pill {
    display: inline-flex;
    border-radius: 999px;
    font-weight: 500;
  }
  
  body.sinqlo-page .status {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  
  body.sinqlo-page .status-pill {
    min-width: 76px;
    justify-content: center;
    padding: 7px 12px;
    font-size: 0.88rem;
  }
  
  body.sinqlo-page .failed,
  body.sinqlo-page .status-overdue {
    color: var(--danger);
    background: #ffd4dc;
  }
  
  body.sinqlo-page .completed,
  body.sinqlo-page .status-pending {
    color: var(--deep);
    background: var(--mint);
  }
  
  body.sinqlo-page .status-paid {
    color: #fff;
    background: var(--deep);
  }
  
  body.sinqlo-page .status-unpaid {
    color: #3e4543;
    background: #cfd3d2;
  }
  
  body.sinqlo-page .pending {
    color: #bb9200;
    background: #fff7ce;
  }
  
  body.sinqlo-page .page-size,
  body.sinqlo-page .page-btn {
    min-width: 44px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    color: var(--deep);
    background: var(--mint-soft);
    font-weight: 700;
  }
  
  body.sinqlo-page .page-btn.active {
    color: #fff;
    background: var(--deep);
  }
  
  body.sinqlo-page .page-btn.muted-btn {
    color: #c2c8c6;
    background: #f0f1f1;
  }
  
  body.sinqlo-page .activity-item {
    position: relative;
  }
  
  body.sinqlo-page .activity-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 19px;
    top: 42px;
    bottom: -18px;
    border-left: 1px solid var(--line);
  }
  
  body.sinqlo-page .activity-item .avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    font-size: 0.78rem;
  }
  
  body.sinqlo-page .notification-menu {
    position: relative;
  }
  
  body.sinqlo-page .notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 40;
    width: min(360px, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 56px rgba(39, 55, 51, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  
  body.sinqlo-page .notification-dropdown.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  body.sinqlo-page .notification-dropdown__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eef1f6;
  }
  
  body.sinqlo-page .notification-dropdown__header h2 {
    margin: 0 0 0.2rem;
    color: var(--ink);
    font-size: 0.95rem !important;
    font-weight: 600;
    letter-spacing: 0;
  }
  
  body.sinqlo-page .notification-dropdown__header p {
    margin: 0;
    color: #8d94a3;
    font-size: 0.7rem;
  }
  
  body.sinqlo-page .notification-dropdown__header span {
    flex: 0 0 auto;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    color: var(--deep);
    background: var(--mint-soft);
    font-size: 0.65rem;
    font-weight: 600;
  }
  
  body.sinqlo-page .notification-list {
    max-height: 330px;
    overflow-y: auto;
  }
  
  body.sinqlo-page .notification-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #f0f2f6;
    background: #fff;
  }
  
  body.sinqlo-page .notification-item.unread {
    background: #fbf9ff;
  }
  
  body.sinqlo-page .notification-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    color: var(--deep);
    background: var(--mint-soft);
    font-size: 1rem;
  }
  
  body.sinqlo-page .notification-item h3 {
    margin: 0 0 0.25rem;
    color: var(--ink);
    font-size: 0.76rem !important;
    font-weight: 600;
    line-height: 1.3;
  }
  
  body.sinqlo-page .notification-item p {
    margin: 0;
    color: #747d8b;
    font-size: 0.68rem;
    line-height: 1.45;
  }
  
  body.sinqlo-page .notification-item time {
    display: block;
    margin-top: 0.35rem;
    color: #9ca3af;
    font-size: 0.64rem;
  }
  
  body.sinqlo-page .notification-view-all {
        width: 100%;
      min-height: 42px;
      border: 0;
      color: var(--deep);
      background: #f7f8fb;
      font-size: 0.72rem;
      display: block;
      font-weight: 600;
      text-align: center;
      text-decoration: none;
      padding-top: 12px;
  }
  
  body.sinqlo-page .user-menu__toggle {
    background: var(--deep);
    color: #fff;
  }
  
  body.sinqlo-page .user-menu__initials {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
  }
  
  body.sinqlo-page .user-menu-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 41;
    min-width: 232px;
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 56px rgba(39, 55, 51, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  
  body.sinqlo-page .user-menu-dropdown.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  body.sinqlo-page .user-menu-dropdown__header {
    padding: 1rem;
    border-bottom: 1px solid #eef1f6;
  }
  
  body.sinqlo-page .user-menu-dropdown__name {
    display: block;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
  }

  body.sinqlo-page .user-menu-dropdown__username {
    display: block;
    margin-top: 0.2rem;
    color: var(--deep);
    font-size: 0.75rem;
    font-weight: 600;
  }
  
  body.sinqlo-page .user-menu-dropdown__id {
    display: block;
    margin-top: 0.25rem;
    color: #8d94a3;
    font-size: 0.72rem;
    font-weight: 500;
  }

  body.sinqlo-page .dash-topbar__logout {
    color: #b91c1c;
    background: #fff;
    border: 1px solid rgb(185 28 28 / 0.18);
  }

  body.sinqlo-page .dash-topbar__logout:hover {
    color: #fff;
    background: #b91c1c;
    border-color: #b91c1c;
  }

  body.sinqlo-page .dash-topbar__logout i {
    font-size: 1.05rem;
  }
  
  body.sinqlo-page .user-menu-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f0f2f6;
    transition: background 0.12s ease;
  }
  
  body.sinqlo-page .user-menu-dropdown__item:last-child {
    border-bottom: 0;
  }
  
  body.sinqlo-page .user-menu-dropdown__item i {
    font-size: 1.1rem;
    color: var(--deep);
  }
  
  body.sinqlo-page .user-menu-dropdown__item:hover {
    background: #fbf9ff;
  }
  
  body.sinqlo-page .user-menu-dropdown__item--danger {
    color: #b91c1c;
  }
  
  body.sinqlo-page .user-menu-dropdown__item--danger i {
    color: #b91c1c;
  }
  
  body.sinqlo-page .user-menu-dropdown__item--danger:hover {
    background: #fef2f2;
  }
  
  
  
  body.sinqlo-page .deposit-stat-card h2,
  body.sinqlo-page .deposit-address-header h2,
  body.sinqlo-page .deposit-history-header h2 {
    color: var(--ink);
    font-size: 0.95rem !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  body.sinqlo-page .deposit-stat-value {
    color: var(--ink);
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
  }
  
  body.sinqlo-page .deposit-address-card,
  body.sinqlo-page .deposit-history-card {
    overflow: hidden;
  }
  
  body.sinqlo-page .deposit-address-header,
  body.sinqlo-page .deposit-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
    border-bottom: 1px solid #e7eaf0;
  }
  
  body.sinqlo-page .deposit-token-pill {
    flex: 0 0 auto;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(103, 58, 183, 0.28);
    border-radius: 999px;
    color: var(--deep);
    background: var(--mint-soft);
    font-size: 0.86rem;
    font-weight: 700;
  }
  
  body.sinqlo-page .deposit-address-body {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.35rem;
    padding: 1.35rem;
  }
  
  body.sinqlo-page .deposit-qr {
    display: grid;
    min-height: 250px;
    place-items: center;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    background: #fff;
  }
  
  body.sinqlo-page .deposit-qr-pattern {
    width: min(210px, 78%);
    aspect-ratio: 1;
    background:
      linear-gradient(90deg, #111 12px, transparent 12px 24px, #111 24px 36px, transparent 36px 48px, #111 48px 60px, transparent 60px),
      linear-gradient(#111 12px, transparent 12px 24px, #111 24px 36px, transparent 36px 48px, #111 48px 60px, transparent 60px),
      repeating-linear-gradient(45deg, #111 0 8px, transparent 8px 16px),
      repeating-linear-gradient(135deg, transparent 0 10px, #111 10px 18px, transparent 18px 28px);
    background-blend-mode: multiply;
    image-rendering: pixelated;
    opacity: 0.96;
  }
  
  body.sinqlo-page .deposit-address-content h3 {
    margin: 0 0 0.8rem;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
  }
  
  body.sinqlo-page .deposit-address-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  body.sinqlo-page .deposit-address-copy code {
    display: block;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    border: 1px solid #e7eaf0;
    border-radius: 8px;
    color: var(--ink);
    background: #f7f8fb;
    font-size: 0.92rem;
    line-height: 1.35;
    white-space: normal;
    word-break: break-all;
  }
  
  body.sinqlo-page .deposit-rules {
    display: grid;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    color: #596373;
    font-size: 0.95rem;
    line-height: 1.55;
  }
  
  body.sinqlo-page .deposit-balance-note {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(103, 58, 183, 0.24);
    border-radius: 10px;
    color: var(--deep);
    background: var(--mint-soft);
    font-size: 0.9rem;
    line-height: 1.35;
  }
  
  body.sinqlo-page .deposit-balance-note i {
    font-size: 1rem;
  }
  
  body.sinqlo-page .deposit-history-table {
    min-width: 900px;
  }
  
  body.sinqlo-page .deposit-history-table thead th {
    padding: 1rem 1.35rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  body.sinqlo-page .deposit-empty-state {
    display: grid;
    min-height: 118px;
    place-items: center;
    color: var(--ink);
    font-size: 1rem;
    text-align: center;
  }
  
  @media (max-width: 991.98px) {
    body.sinqlo-page .deposit-address-body {
      grid-template-columns: 1fr;
    }
  
    body.sinqlo-page .deposit-qr {
      min-height: 220px;
    }
  }
  
  @media (max-width: 575.98px) {
    body.sinqlo-page .deposit-address-header,
    body.sinqlo-page .deposit-history-header,
    body.sinqlo-page .deposit-address-copy {
      grid-template-columns: 1fr;
    }
  
    body.sinqlo-page .deposit-address-header,
    body.sinqlo-page .deposit-history-header {
      align-items: flex-start;
      flex-direction: column;
    }
  
    body.sinqlo-page .deposit-address-copy .btn {
      width: 100%;
    }
  }
  
   
  
  @media (min-width: 1200px) {
    body.sinqlo-page .layout-row {
      display: grid;
      grid-template-columns: 224px minmax(0, 1fr);
    }
  
    body.sinqlo-page .app-sidebar {
      position: sticky;
      top: 0;
      height: 100vh;
      overflow-y: auto;
    }
  }
   
  
   
  
  @media (min-width: 1200px) and (max-width: 1450px) {
    body.sinqlo-page .tabs-pill .btn {
      min-width: 86px;
    }
  }
  
  @media (max-width: 767.98px) {
    body.sinqlo-page .main-wrap {
      padding: 1rem !important;
    }
  
    body.sinqlo-page .tabs-pill {
      width: 100%;
    }
  
    body.sinqlo-page .tabs-pill .btn {
      flex: 1;
      min-width: auto;
    }
  }
  
  @media (max-width: 575.98px) {
    body.sinqlo-page .income,
    body.sinqlo-page .expense {
      width: 22px;
    }
  
    body.sinqlo-page .bars {
      gap: 10px;
    }
  }
  
  /* Compact density: roughly 20% smaller typography and spacing for dashboard/invoice pages */
  body.sinqlo-page {
    font-size: 12px;
  }
  
  body.sinqlo-page h1,
  body.sinqlo-page .fs-2 {
    font-size: 1.6rem !important;
  }
  
  body.sinqlo-page h2,
  body.sinqlo-page .fs-4 {
    font-size: 1.15rem !important;
  }
  
  body.sinqlo-page h3,
  body.sinqlo-page .fs-5 {
    font-size: 1rem !important;
  }
  
  body.sinqlo-page .small {
    font-size: 0.7rem !important;
  }
  
  body.sinqlo-page .p-5,
  body.sinqlo-page .p-xl-5 {
    padding: 2rem !important;
  }
  
  body.sinqlo-page .p-4 {
    padding: 1.2rem !important;
  }
  
  body.sinqlo-page .p-3 {
    padding: 0.8rem !important;
  }
  
  body.sinqlo-page .px-4 {
    padding-right: 1.2rem !important;
    padding-left: 1.2rem !important;
  }
  
  body.sinqlo-page .py-3 {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }
  
  body.sinqlo-page .mb-5 {
    margin-bottom: 2.4rem !important;
  }
  
  body.sinqlo-page .mb-4 {
    margin-bottom: 1.2rem !important;
  }
  
  body.sinqlo-page .mb-3 {
    margin-bottom: 0.8rem !important;
  }
  
  body.sinqlo-page .mt-5 {
    margin-top: 2.4rem !important;
  }
  
  body.sinqlo-page .mt-4 {
    margin-top: 1.2rem !important;
  }
  
  body.sinqlo-page .gap-4 {
    gap: 1.2rem !important;
  }
  
  body.sinqlo-page .gap-3 {
    gap: 0.8rem !important;
  }
  
  body.sinqlo-page .gap-2 {
    gap: 0.4rem !important;
  }
  
  body.sinqlo-page .row {
    --bs-gutter-x: 1.2rem;
    --bs-gutter-y: 1.2rem;
  }
  
  body.sinqlo-page .panel {
    border-radius: 16px;
  }
  
  body.sinqlo-page .brand-mark {
    width: 29px;
    height: 29px;
    grid-template-columns: repeat(2, 8px);
    gap: 4px;
  }
  
  body.sinqlo-page .brand-mark span,
  body.sinqlo-page .chip-logo span {
    width: 8px;
    height: 8px;
  }
  
  body.sinqlo-page .chip-logo {
    grid-template-columns: repeat(2, 10px);
    gap: 5px;
  }
  
  body.sinqlo-page .chip-logo span {
    width: 10px;
    height: 10px;
  }
   
  
  body.sinqlo-page .sidebar-link i {
    width: 19px;
    font-size: 1.05rem;
  }
  
  body.sinqlo-page .bank-card {
    min-height: 184px;
  }
  
  body.sinqlo-page .bank-value {
    font-size: clamp(1.05rem, 3vw, 1.28rem);
  }
   
  
  body.sinqlo-page .metric-value {
    font-size: clamp(0.95rem, 2.4vw, 1.12rem);
  }
  
  body.sinqlo-page .circle-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  
  body.sinqlo-page .avatar {
    width: 38px;
    height: 38px;
  }
  
  body.sinqlo-page .metric-icon,
  body.sinqlo-page .small-icon {
    min-width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 1rem;
  }
  
  body.sinqlo-page .stat-card {
    min-height: 90px;
  }
  
  body.sinqlo-page .stat-card .metric-icon {
    width: 51px;
    height: 51px;
    font-size: 1.35rem;
  }
  
  body.sinqlo-page .quick-action-strip__btn {
    min-height: 52px;
    min-width: 0;
    padding: 0.55rem 0.2rem;
    gap: 0.28rem;
    font-size: 0.52rem;
  }

  body.sinqlo-page .quick-action-strip--5 .quick-action-strip__btn {
    font-size: 0.5rem;
    padding: 0.5rem 0.15rem;
    text-decoration: none;
  }
  
  body.sinqlo-page .quick-action-strip__icon {
    height: 1rem;
    font-size: 0.85rem;
  }
  
  body.sinqlo-page .progress {
    height: 9px;
  }
  
  body.sinqlo-page .trend {
    gap: 3px;
    padding: 3px 6px;
    border-radius: 7px;
    font-size: 0.6rem;
  }
  
  body.sinqlo-page .search-control {
    min-height: 38px;
  }
  
  body.sinqlo-page .filter-btn,
  body.sinqlo-page .select-pill {
    min-height: 34px;
    border-radius: 10px;
  }
  
  body.sinqlo-page .filter-btn {
    min-height: 38px;
  }
  
  body.sinqlo-page .cashflow-chart {
    grid-template-columns: 30px 1fr;
    gap: 11px;
  }

body.sinqlo-page .plan-a-daily-chart .bars-wrap.plan-a-daily-chart__bars-wrap {
  min-width: 0;
}

body.sinqlo-page .plan-a-daily-chart .bar-month.plan-a-daily-chart__bar-month {
  height: 144px;
}

body.sinqlo-page .plan-a-daily-chart .income,
body.sinqlo-page .plan-a-daily-chart .expense {
  width: 6px;
}

  
  body.sinqlo-page .axis,
  body.sinqlo-page .bars {
    height: 184px;
  }
  
  body.sinqlo-page .bars-wrap {
    min-width: 448px;
  }
  
  body.sinqlo-page .grid-lines {
    inset: 0 0 22px;
  }
  
  body.sinqlo-page .bars {
    gap: 14px;
    padding-bottom: 22px;
  }
  
  body.sinqlo-page .bar-month {
    height: 144px;
  }
  
  body.sinqlo-page .income,
  body.sinqlo-page .expense {
    width: 27px;
    border-radius: 5px;
  }
  
  body.sinqlo-page .month-labels {
    gap: 14px;
    font-size: 0.65rem;
  }
  
  body.sinqlo-page .donut {
    width: 154px;
    height: 154px;
  }
  
  body.sinqlo-page .donut::after {
    inset: 34px;
  }
  
  body.sinqlo-page .percent {
    min-width: 38px;
    padding: 7px 0;
    border-radius: 7px;
    font-size: 0.65rem;
  }
  
  body.sinqlo-page .tabs-pill {
    border-radius: 10px;
  }
  
  body.sinqlo-page .tabs-pill .btn {
    min-width: 83px;
    border-radius: 10px;
  }
  
  body.sinqlo-page .table {
    font-size: 0.8rem;
  }
  
  body.sinqlo-page .table thead th {
    font-size: 0.65rem;
  }
  
  body.sinqlo-page .invoice-table-card .table {
    min-width: 864px;
  }
  
  body.sinqlo-page .invoice-table-card .table thead th {
    padding-block: 14px;
  }
  
  body.sinqlo-page .invoice-table-card .table tbody td {
    padding-block: 12px;
  }
  
  body.sinqlo-page .invoice-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
  
  body.sinqlo-page .check-box {
    width: 14px;
    height: 14px;
    border-radius: 4px;
  }
  
  body.sinqlo-page .status {
    padding: 4px 8px;
    font-size: 0.6rem;
  }
  
  body.sinqlo-page .status-pill {
    min-width: 61px;
    padding: 6px 10px;
    font-size: 0.7rem;
  }
  
  body.sinqlo-page .page-size,
  body.sinqlo-page .page-btn {
    min-width: 35px;
    height: 32px;
    border-radius: 8px;
  }
  
  body.sinqlo-page .activity-item:not(:last-child)::after {
    left: 15px;
    top: 34px;
    bottom: -14px;
  }
  
  body.sinqlo-page .activity-item .avatar {
    width: 32px;
    height: 32px;
    font-size: 0.62rem;
  }
   
   
  body.sinqlo-page .score-panel {
    background: #fff;
    border-left: 4px solid var(--accent-sky);
  }
  
  body.sinqlo-page .score-bar {
    display: grid;
    grid-template-columns: 1fr 76px;
    gap: 0.45rem;
  }
  
  body.sinqlo-page .score-bar span {
    display: block;
    height: 26px;
    border-radius: 4px;
  }
  
  body.sinqlo-page .score-bar .score-main {
    background: var(--deep);
  }
  
  body.sinqlo-page .score-bar .score-rest {
    background: var(--mint);
  }
  
  body.sinqlo-page .ring-chart {
    position: relative;
    width: min(100%, 210px);
    aspect-ratio: 1;
    margin-inline: auto;
    border-radius: 50%;
    background:
      radial-gradient(circle, #fff 0 28%, transparent 29%), conic-gradient(from 0deg, var(--deep) 0 42%, transparent 42% 100%), radial-gradient(circle, transparent 0 42%, var(--mint-soft) 43% 52%, transparent 53%), conic-gradient(from 160deg, var(--mint) 0 28%, transparent 28% 100%), radial-gradient(circle, transparent 0 58%, var(--deep-3) 59% 69%, transparent 70%), conic-gradient(from 150deg, var(--deep-2) 0 12%, transparent 12% 100%), radial-gradient(circle, transparent 0 74%, var(--cyan) 75% 86%, transparent 87%)
  }
  
  body.sinqlo-page .ring-chart::before,
  body.sinqlo-page .ring-chart::after {
    content: "";
    position: absolute;
    border-radius: 999px;
  }
  
  body.sinqlo-page .ring-chart::before {
    inset: 8%;
    border: 14px solid transparent;
    border-top-color: var(--deep);
    border-left-color: var(--deep);
    transform: rotate(-42deg);
  }
  
  body.sinqlo-page .ring-chart::after {
    inset: 26%;
    border: 12px solid transparent;
    border-left-color: var(--mint);
    border-bottom-color: var(--mint);
    transform: rotate(16deg);
  }
  
  body.sinqlo-page .line-chart {
    position: relative;
    min-width: 520px;
    height: 210px;
  }
  
  body.sinqlo-page .line-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  
  body.sinqlo-page .line-grid {
    position: absolute;
    inset: 10px 0 24px 38px;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
  }
  
  body.sinqlo-page .line-grid span {
    border-top: 1px solid var(--line);
  }
  
  body.sinqlo-page .line-axis {
    position: absolute;
    inset: 8px auto 24px 0;
    display: grid;
    width: 34px;
    color: var(--muted);
  }
  
  body.sinqlo-page .line-days {
    position: absolute;
    inset: auto 0 0 38px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    color: var(--muted);
    text-align: center;
  }
  
  
/* Fund overview: 7 monthly labels in one row (index-new.php) */
body.sinqlo-page .fund-overview-chart .line-days {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  white-space: nowrap;
  font-size: clamp(0.625rem, 1.35vw, 0.75rem);
}

body.sinqlo-page .fund-overview-chart .line-days span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
  
  body.sinqlo-page .chart-tooltip {
    position: absolute;
    top: 38px;
    left: 42%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
    font-size: 0.8rem;
    line-height: 1.45;
    z-index: 2;
  }

  body.sinqlo-page .chart-tooltip strong {
    color: var(--deep);
    font-size: 1rem;
  }

  body.sinqlo-page .fund-overview-chart .chart-tooltip {
    left: 0;
    top: 0;
    will-change: transform, opacity;
    transition:
      transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.18s ease;
  }

  body.sinqlo-page .chart-tooltip:not(.is-visible) {
    opacity: 0;
    pointer-events: none;
  }

  body.sinqlo-page .fund-overview-chart .chart-tooltip.is-visible {
    opacity: 1;
    pointer-events: none;
  }

  body.sinqlo-page .fund-overview-chart #fund-focus-guide,
  body.sinqlo-page .fund-overview-chart #fund-focus-dot {
    transition:
      x1 0.22s cubic-bezier(0.4, 0, 0.2, 1),
      x2 0.22s cubic-bezier(0.4, 0, 0.2, 1),
      cx 0.22s cubic-bezier(0.4, 0, 0.2, 1),
      cy 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body.sinqlo-page .fund-overview-chart .fund-chart-hitarea {
    cursor: crosshair;
  }

  body.sinqlo-page .fund-overview-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
  }

  body.sinqlo-page .fund-overview-chart {
    min-width: 100%;
    height: 160px;
    margin-top: 0.25rem;
  }

  body.sinqlo-page #fundDepositFill stop {
    stop-color: var(--accent-sky-soft);
  }

  body.sinqlo-page #fundWithdrawFill stop {
    stop-color: var(--deep);
  }

  body.sinqlo-page .panel:has(.fund-overview-chart) {
    --mint: var(--accent-sky);
  }

  body.sinqlo-page .fund-overview-chart .line-grid {
    inset: 8px 0 20px 38px;
  }

  body.sinqlo-page .fund-overview-chart .line-axis {
    inset: 6px auto 20px 0;
    font-size: 0.72rem;
    grid-template-rows: repeat(5, 1fr);
  }

  body.sinqlo-page .fund-overview-chart .line-days {
    inset: auto 0 0 38px;
    font-size: 0.72rem;
  }

  /* Income radial rings chart */
  body.sinqlo-page .income-rings-chart {
    position: relative;
    width: min(100%, 200px);
    height: 200px;
    margin: 0 auto 1rem;
  }

  body.sinqlo-page .income-rings-chart svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  body.sinqlo-page .income-rings-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    pointer-events: none;
    color: var(--deep);
  }

  body.sinqlo-page .income-rings-bar {
    transition: stroke-width 0.2s ease, opacity 0.2s ease;
  }

  body.sinqlo-page .income-rings-chart.is-dimmed .income-rings-bar {
    opacity: 0.35;
  }

  body.sinqlo-page .income-rings-chart.is-dimmed .income-rings-bar.is-active {
    opacity: 1;
    stroke-width: 14;
  }

  body.sinqlo-page .income-rings-tooltip {
    left: 0;
    top: 0;
    min-width: 118px;
    will-change: transform, opacity;
    transition:
      transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.18s ease;
    pointer-events: none;
  }

  body.sinqlo-page .income-rings-tooltip:not(.is-visible) {
    opacity: 0;
  }

  body.sinqlo-page .income-rings-tooltip.is-visible {
    opacity: 1;
  }

  body.sinqlo-page .income-rings-tooltip strong {
    color: var(--deep);
    font-size: 1rem;
  }

  body.sinqlo-page .income-rings-legend-item {
    cursor: pointer;
    border-radius: 10px;
    padding: 0.35rem 0.25rem;
    margin: -0.35rem -0.25rem;
    transition: background 0.18s ease;
  }

  body.sinqlo-page .income-rings-legend-item:hover,
  body.sinqlo-page .income-rings-legend-item.is-active {
    background: var(--mint-soft);
  }
  
  body.sinqlo-page .card-tile {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--mint-soft);
  }
  
  body.sinqlo-page .card-tile-brand {
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--deep);
    font-weight: 800;
  }
  
  body.sinqlo-page .mini-card-logo {
    position: relative;
    width: 34px;
    height: 20px;
  }
  
  body.sinqlo-page .mini-card-logo::before,
  body.sinqlo-page .mini-card-logo::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--mint);
  }
  
  body.sinqlo-page .mini-card-logo::before {
    left: 0;
  }
  
  body.sinqlo-page .mini-card-logo::after {
    right: 0;
    background: rgba(255, 255, 255, 0.75);
  }
  
  body.sinqlo-page .saving-mini-row {
    padding-block: 0.85rem;
    border-top: 1px solid var(--line);
  }
  
  body.sinqlo-page .activity-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: var(--deep);
    background: var(--mint);
  }
  
   
  
  @media (max-width: 991.98px) {
    body.sinqlo-page .v2-metric-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* Bottom-to-center action modal */
  body.sinqlo-drawer-open {
    overflow: hidden;
  }

body.st-resync-overlay-open {
  overflow: hidden;
}

body.sinqlo-page .st-resync-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(32, 43, 42, 0.55);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.sinqlo-page .st-resync-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

body.sinqlo-page .st-resync-overlay__panel {
  width: min(360px, 100%);
  padding: 2rem 1.75rem 1.85rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(39, 55, 51, 0.2);
}

body.sinqlo-page .st-resync-overlay__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: var(--gradient-soft);
  color: var(--deep-2);
  font-size: 1.65rem;
}

body.sinqlo-page .st-resync-overlay__icon.is-spinning i {
  animation: st-resync-spin 1s linear infinite;
}

@keyframes st-resync-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body.sinqlo-page .st-resync-overlay__title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

body.sinqlo-page .st-resync-overlay__message {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

body.sinqlo-page .st-resync-overlay__timer {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

body.sinqlo-page .st-resync-overlay__timer small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}


  
  body.sinqlo-page .sinqlo-drawer {
    position: fixed;
    inset: 0;
    z-index: 9;
    visibility: hidden;
    pointer-events: none;
  }
  
  body.sinqlo-page .sinqlo-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  
  body.sinqlo-page .sinqlo-drawer-backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    background: rgba(32, 43, 42, 0.38);
    opacity: 0;
    transition: opacity 0.28s ease;
  }
  
  body.sinqlo-page .sinqlo-drawer.is-open .sinqlo-drawer-backdrop {
    opacity: 1;
  }
  
  body.sinqlo-page .sinqlo-drawer-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: min(520px, calc(100% - 2rem));
    max-height: calc(100vh - 3rem);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 28px 80px rgba(39, 55, 51, 0.18);
    opacity: 0;
    transform: translate(-50%, calc(50vh + 100%)) scale(0.96);
    transition: opacity 0.22s ease, transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
  }
  
  body.sinqlo-page .sinqlo-drawer.is-open .sinqlo-drawer-panel {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  
  body.sinqlo-page .sinqlo-drawer-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 1.55rem 1.65rem 1.7rem;
    overflow-y: auto;
  }
  
  body.sinqlo-page .sinqlo-drawer-header {
    display: flex;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.5rem;
      padding-bottom: 0;
      border-bottom: 0;
      text-align: left;
      align-items: center;
  }
  
  body.sinqlo-page .sinqlo-drawer-heading {
    flex: 1;
    min-width: 0;
  }
  
  body.sinqlo-page .sinqlo-drawer-eyebrow {
    margin: 0.25rem 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted);
    opacity: 1;
  }
  
  body.sinqlo-page .sinqlo-drawer-title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--ink);
    line-height: 1.2;
  }
  
  body.sinqlo-page .sinqlo-drawer-close-btn {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
  }
  
  body.sinqlo-page .sinqlo-drawer-close-btn:hover {
    color: var(--deep);
    background: var(--mint-soft);
  }
  
  body.sinqlo-page .sinqlo-drawer-close-btn:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 2px;
  }
  
  body.sinqlo-page .sinqlo-drawer-form {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  body.sinqlo-page .sinqlo-drawer-field {
    margin-bottom: 1.05rem;
  }
  
  body.sinqlo-page .sinqlo-drawer-label {
    display: block;
    margin-bottom: 0.42rem;
    font-size: 0.68rem;
    font-weight: 400;
    color: #596373;
  }
  
  body.sinqlo-page .sinqlo-drawer-input-row {
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: 0.5rem;
    padding: 0 0.75rem;
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    background: #f7f8fb;
  }
  
  body.sinqlo-page .sinqlo-drawer-input-row:focus-within {
    border-color: rgba(120, 21, 156, 0.38);
    box-shadow: 0 0 0 2px rgba(120, 21, 156, 0.12);    
  }
  
  body.sinqlo-page .sinqlo-drawer-affix {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: auto;
    padding: 0;
    background: transparent;
    color: #8b93a0;
    font-weight: 400;
    font-size: 0.82rem;
  }
  
  body.sinqlo-page .sinqlo-drawer-input-row .sinqlo-drawer-input {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  
  
  body.sinqlo-page .sinqlo-drawer-input-row .sinqlo-drawer-inline-btn {
    flex: 0 0 auto;
    flex-shrink: 0;
    align-self: stretch;
    margin: 0;
    padding: 0 0.65rem;
    min-width: max-content;
    max-width: 42%;
    border: 0;
    border-radius: 4px;
    background: var(--deep);
    color: #fff;
    font-weight: 600;
    font-size: 0.68rem;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }
  
  body.sinqlo-page .sinqlo-drawer-input-row .sinqlo-drawer-inline-btn:hover {
    filter: brightness(1.05);
  }
  
  body.sinqlo-page .sinqlo-drawer-input-row .sinqlo-drawer-inline-btn:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 2px;
  }
  
  body.sinqlo-page .sinqlo-drawer-input-row .sinqlo-drawer-inline-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    filter: grayscale(0.15);
  }
  
  body.sinqlo-page .sinqlo-drawer-input,
  body.sinqlo-page select.sinqlo-drawer-input {
    width: 100%;
    min-height: 44px;
    padding: 0 0.75rem;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    background-color: #f7f8fb;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.35;
  }
  
  body.sinqlo-page .sinqlo-drawer-input:focus {
    outline: 0;
    background-color: #f7f8fb;
    box-shadow: none;
  }
  
  body.sinqlo-page .sinqlo-drawer-split {
     display: flex;
      gap: 0.5rem;
      align-items: stretch;
      background: #f7f8fb;
      border: 1px solid #e7eaf0;
      border-radius: 6px;
      padding: 0.44rem 0.75rem;
  }
  
  body.sinqlo-page .sinqlo-drawer-split .sinqlo-drawer-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    border-radius: 0;
        min-height: 30px;
        padding:0;
  }
  
  /* Input + accent button as one attached control (P2P UserID / OTP) */
  body.sinqlo-page .sinqlo-drawer-append {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    background: #f7f8fb;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }
  
  body.sinqlo-page .sinqlo-drawer-append:focus-within {
    border-color: rgba(103, 58, 183, 0.38);
    box-shadow: 0 0 0 2px rgba(103, 58, 183, 0.12);
  }
  
  body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 44px;
  }
  
  body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-input:focus {
    border-color: transparent;
    box-shadow: none;
    outline: 0;
  }
  
  body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-btn-accent {
    flex-shrink: 0;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 0;
    padding: 0 1.05rem;
    border: 0;
    border-radius: 0;
    border-left: 1px solid #e7eaf0;
    font-size: 0.72rem;
  }
  
  body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-btn-accent:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
    z-index: 2;
  }
  
  body.sinqlo-page .sinqlo-drawer-btn-secondary {
    flex: 0 0 auto;
      min-height: 30px;
      padding: 0 0.7rem;
      border: 0;
      border-radius: 5px;
      color: #fff;
      background: var(--deep);
      font-size: 0.68rem;
      font-weight: 500;
      white-space: nowrap;
  }
  
  body.sinqlo-page .sinqlo-drawer-btn-secondary:hover {
    background: var(--deep-3);
  }
  
  body.sinqlo-page .sinqlo-drawer-btn-secondary:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 2px;
  }
  
  body.sinqlo-page .sinqlo-drawer-btn-accent {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 0.75rem;
    margin: 0;
    border: 0;
    border-radius: 6px;
    background: var(--deep);
    color: #fff;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
  }
  
  body.sinqlo-page .sinqlo-drawer-btn-accent:hover {
    background: var(--deep);
    color: #fff;
  }
  
  body.sinqlo-page .sinqlo-drawer-btn-accent:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 2px;
  }
  
  body.sinqlo-page .sinqlo-drawer-input-readonly,
  body.sinqlo-page .sinqlo-drawer-input[readonly] {
    background: #f7f8fb;
    color: var(--muted);
    font-weight: 400;
    cursor: default;
  }
  
  body.sinqlo-page .sinqlo-drawer-input-readonly:focus,
  body.sinqlo-page .sinqlo-drawer-input[readonly]:focus {
    border-color: var(--line);
    box-shadow: none;
  }
  
  body.sinqlo-page .sinqlo-drawer-submit {
    width: 100%;
    margin-top: 0.35rem;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: var(--deep);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: -0.02em;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  
  body.sinqlo-page .sinqlo-drawer-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(103, 58, 183, 0.22);
  }
  
  body.sinqlo-page .sinqlo-drawer-submit:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 3px;
  }
  
  body.sinqlo-page .sinqlo-drawer-submit:active {
    transform: translateY(0);
  }
  
  @media (max-width: 575.98px) {
    body.sinqlo-page .sinqlo-drawer-panel {
      top: auto;
      bottom: 0;
      left: 0;
      width: 100%;
      max-height: calc(100vh - 1rem);
      border-right: 0;
      border-bottom: 0;
      border-left: 0;
      border-radius: 14px 14px 0 0;
      transform: translateY(100%);
    }
  
    body.sinqlo-page .sinqlo-drawer.is-open .sinqlo-drawer-panel {
      transform: translateY(0);
    }
  
    body.sinqlo-page .sinqlo-drawer-inner {
      padding: 1.1rem 1rem 1.25rem;
    }
  
    body.sinqlo-page .sinqlo-drawer-title {
      font-size: 1.15rem;
    }
  
    /*body.sinqlo-page .sinqlo-drawer-split {
      flex-direction: column;
    }*/
  
    body.sinqlo-page .sinqlo-drawer-append {
      flex-direction: column;
    }
  
    body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-input {
      border-bottom: 1px solid #e7eaf0;
      border-radius: 0;
    }
  
    body.sinqlo-page .sinqlo-drawer-append .sinqlo-drawer-btn-accent {
      width: 100%;
      border-left: 0;
      border-top: 1px solid #e7eaf0;
      border-radius: 0;
      min-height: 44px;
    }
  
    body.sinqlo-page .sinqlo-drawer-btn-secondary,
    body.sinqlo-page .sinqlo-drawer-split > .sinqlo-drawer-btn-accent {
      width: auto;
    }
  }
  
  /* Auth page */
  body.auth-page {
    min-height: 100vh;
    background: #fff;
  }
  
  body.auth-page .auth-shell {
    display: grid;
    min-height: 100vh;
    padding: 0;
  }
  
  body.auth-page .auth-card {
    display: grid;
    width: 100%;
    min-height: 100vh;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  /*
   * account.php: register-layout-form-right | register-layout-form-left */

  @media (min-width: 992px) {
    body.auth-page.register-layout-form-right .auth-visual-panel {
      order: 1;
    }
    body.auth-page.register-layout-form-right .auth-form-panel {
      order: 2;
    }
    body.auth-page.register-layout-form-left .auth-visual-panel {
      order: 2;
    }
    body.auth-page.register-layout-form-left .auth-form-panel {
      order: 1;
    }
  }

  body.auth-page .auth-form-panel,
  body.auth-page .auth-visual-panel {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 0;
  }
  
  body.auth-page .auth-form-panel {
    display: flex;
    flex-direction: column;
    border: 0;
    background: #fff;
    padding: 18px 46px;
  }
  
  body.auth-page .auth-brand {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.55rem;
    color: var(--deep);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }
  
  body.auth-page .auth-brand .brand-mark {
    width: 24px;
    height: 24px;
    grid-template-columns: repeat(2, 7px);
    gap: 3px;
  }
  
  body.auth-page .auth-brand .brand-mark span {
    width: 7px;
    height: 7px;
  }
  
  body.auth-page .auth-form-wrap {
    width: min(520px, 100%);
    margin: auto;
  }
  
  body.auth-page .auth-heading {
    margin-bottom: 1.25rem;
    text-align: center;
  }
  
  body.auth-page .auth-heading h1 {
    margin: 0 0 0.6rem;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0;
  }
  
  body.auth-page .auth-heading p {
    width: min(320px, 100%);
    margin: 0 auto;
    color: #8d94a3;
    font-size: 0.78rem;
    line-height: 1.6;
  }
  
  body.auth-page .auth-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 1.55rem;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }
  
  body.auth-page .auth-switch-btn {
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #707887;
    font-size: 0.76rem;
    font-weight: 400;
  }
  
  body.auth-page .auth-switch-btn.active {
    background: #eef1f6;
    color: var(--ink);
  }

  body.auth-page .auth-layout-section {
    margin-bottom: 1.55rem;
  }

  body.auth-page .auth-layout-label {
    margin: 0 0 0.35rem;
    color: #596373;
    font-size: 0.68rem;
    font-weight: 400;
    text-align: center;
  }

  body.auth-page .auth-layout-label .auth-layout-hint {
    color: #8d94a3;
    font-weight: 400;
  }

  body.auth-page .auth-layout-switch {
    margin-bottom: 0;
  }

  body.auth-page .auth-binary-leg-switch {
    margin-bottom: 0;
  }

  body.auth-page .auth-form {
    display: none;
  }
  
  body.auth-page .auth-form.active {
    display: block;
  }
  
  body.auth-page #signup-form.active {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
  
  body.auth-page #signup-form .auth-field-wide,
  body.auth-page #signup-form .auth-terms-check,
  body.auth-page #signup-form .auth-submit {
    grid-column: 1 / -1;
  }
  
  body.auth-page .auth-field {
    margin-bottom: 1.05rem;
  }
  
  body.auth-page .auth-field label {
    display: block;
    margin-bottom: 0.42rem;
    color: #596373;
    font-size: 0.68rem;
    font-weight: 400;
  }
  
  body.auth-page .auth-field label span {
    color: var(--deep);
  }
  
  body.auth-page .auth-field-feedback {
    margin: 0.38rem 0 0;
    min-height: 1.1rem;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #5a6575;
  }
  
  body.auth-page .auth-field-feedback:empty {
    display: none;
    min-height: 0;
    margin: 0;
  }
  
  body.auth-page .auth-field-feedback--ok {
    color: #1b6f4a;
  }
  
  body.auth-page .auth-field-feedback--error {
    color: #b42318;
  }
  
  body.auth-page .auth-input-row {
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: 0.5rem;
    padding: 0 0.75rem;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    background: #f7f8fb;
    color: #8b93a0;
  }
  
  body.auth-page .auth-input-row:focus-within {
    border-color: rgba(103, 58, 183, 0.38);
    box-shadow: 0 0 0 2px rgba(103, 58, 183, 0.12);
  }
  
  body.auth-page .auth-input-row input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 400;
  }
  
  body.auth-page .auth-input-row input::placeholder {
    color: #9ca3af;
  }
  
  body.auth-page .auth-icon-btn {
    display: grid;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #8b93a0;
    font-size: 0.95rem;
  }
  
  body.auth-page .auth-inline-btn {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 0.7rem;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: var(--deep);
    font-size: 0.68rem;
    font-weight: 500;
    white-space: nowrap;
  }
  
  body.auth-page .auth-inline-btn:hover {
    background: var(--deep-3);
  }
  
  body.auth-page .auth-form-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: -0.2rem 0 1rem;
    color: #747d8b;
    font-size: 0.68rem;
  }
  
  body.auth-page .auth-return-link {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.72rem;
  }
  
  body.auth-page .auth-return-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--deep);
    text-decoration: none;
    font-weight: 500;
  }
  
  body.auth-page .auth-form-meta a,
  body.auth-page .auth-footer a,
  body.auth-page .auth-terms-check a,
  body.auth-page .auth-return-link a {
    color: var(--deep);
    text-decoration: none;
  }
  
  body.auth-page .auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  
  body.auth-page .auth-check input {
    width: 13px;
    height: 13px;
    accent-color: var(--deep);
  }
  
  body.auth-page .auth-terms-check {
    align-items: flex-start;
    margin: -0.15rem 0 1rem;
    color: #747d8b;
    font-size: 0.68rem;
    line-height: 1.45;
  }
  
  body.auth-page .auth-terms-check input {
    margin-top: 0.15rem;
  }

  body.auth-page .auth-remember-userid {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: -0.15rem 0 0.75rem;
    color: #596373;
    font-size: 0.68rem;
    line-height: 1.45;
    cursor: pointer;
  }

  body.auth-page .auth-remember-userid input {
    margin-top: 0.15rem;
    flex-shrink: 0;
  }
  
  body.auth-page .auth-submit {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: var(--deep);
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 0.15s ease, transform 0.15s ease;
  }
  
  body.auth-page .auth-submit:hover {
    background: var(--deep);
    transform: translateY(-1px);
  }
  
  body.auth-page .auth-submit:disabled {
    opacity: 0.52;
    cursor: not-allowed;
    transform: none;
  }
  
  body.auth-page .auth-submit:disabled:hover {
    background: var(--deep);
    transform: none;
  }
  
  body.auth-page .auth-submit.auth-submit-outline {
    background: #fff;
    color: var(--deep);
    border: 1px solid rgba(103, 58, 183, 0.38);
    margin-bottom: 0.7rem;
  }
  
  body.auth-page .auth-submit.auth-submit-outline:hover {
    background: #f8f6ff;
    transform: translateY(-1px);
  }
  
  body.auth-page .auth-submit.auth-submit-outline:disabled {
    opacity: 0.55;
  }
  
  body.auth-page .auth-wallet-status {
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    background: #f0f4ff;
    border: 1px solid #dfe6ff;
  }
  
  body.auth-page .auth-wallet-status.is-hidden,
  body.auth-page .auth-wallet-gated.is-hidden {
    display: none;
  }
  
  body.auth-page .auth-post-wallet-hr {
    margin: 0.85rem 0 1rem;
    border: 0;
    border-top: 1px solid #eceff3;
    opacity: 1;
  }
  
  body.auth-page .auth-wallet-status-label {
    display: block;
    margin-bottom: 0.3rem;
    color: #647089;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  
  body.auth-page .auth-wallet-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem 0.65rem;
  }
  
  body.auth-page .auth-connected-address {
    flex: 1 1 10rem;
    display: block;
    margin: 0;
    min-width: 0;
    font-size: 0.76rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 500;
    color: var(--ink);
    word-break: break-all;
    line-height: 1.35;
  }
  
  body.auth-page .auth-disconnect-wallet {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    margin: 0;
    padding: 0.28rem 0.55rem;
    border: 1px solid #c5cee0;
    border-radius: 5px;
    background: #fff;
    color: #5a6578;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }
  
  body.auth-page .auth-disconnect-wallet:hover:not(:disabled) {
    background: #f5f7fb;
    border-color: #aeb8cc;
    color: #3d4556;
  }
  
  body.auth-page .auth-disconnect-wallet:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
  
  body.auth-page .auth-disconnect-wallet i {
    font-size: 0.85rem;
    line-height: 1;
  }
  
  body.auth-page #signup-form.active .auth-wallet-block {
    grid-column: 1 / -1;
  }
  
  body.auth-page .auth-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.35rem 0 1rem;
    color: #8d94a3;
  }
  
  body.auth-page .auth-divider span {
    height: 1px;
    flex: 1;
    background: #eceff3;
  }
  
  body.auth-page .auth-divider p {
    margin: 0;
    font-size: 0.68rem;
  }
  
  body.auth-page .auth-socials {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
  }
  
  body.auth-page .auth-socials button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: #f7f8fb;
    color: var(--ink);
    font-size: 1.1rem;
  }
  
  body.auth-page .auth-socials button:first-child {
    color: #4285f4;
  }
  
  body.auth-page .auth-socials button:nth-child(3) {
    color: #1877f2;
  }
  
  body.auth-page .auth-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
    color: #8d94a3;
    font-size: 0.66rem;
  }
  
  body.auth-page .auth-visual-panel {
    display: flex;
    min-height: 100vh;
    align-items: flex-end;
    justify-content: center;
    padding: 42px;
    color: #fff;
    background: var(--gradient);
  }
  
  body.auth-page .auth-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 64px 64px;
  }
  
  body.auth-page .auth-preview-card {
    position: absolute;
    width: 230px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    box-shadow: 0 18px 38px rgba(23, 16, 42, 0.24);
    padding: 14px;
  }
  
  body.auth-page .auth-preview-card-main {
    top: 70px;
    left: 28%;
  }
  
  body.auth-page .auth-preview-card-side {
    top: 180px;
    right: 70px;
  }
  
  body.auth-page .auth-preview-card-list {
    top: 295px;
    left: 120px;
  }
  
  body.auth-page .auth-preview-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #747d8b;
    font-size: 0.62rem;
    font-weight: 600;
  }
  
  body.auth-page .auth-preview-card strong {
    display: block;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
  }
  
  body.auth-page .auth-mini-chart {
    display: grid;
    height: 56px;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    align-items: end;
    margin-top: 0.7rem;
  }
  
  body.auth-page .auth-mini-chart span {
    border-radius: 4px;
    background: var(--deep);
  }
  
  body.auth-page .auth-mini-chart span:nth-child(1) {
    height: 42%;
  }
  
  body.auth-page .auth-mini-chart span:nth-child(2) {
    height: 72%;
    background: var(--mint);
  }
  
  body.auth-page .auth-mini-chart span:nth-child(3) {
    height: 54%;
  }
  
  body.auth-page .auth-mini-chart span:nth-child(4) {
    height: 86%;
    background: var(--mint);
  }
  
  body.auth-page .auth-mini-chart span:nth-child(5) {
    height: 62%;
  }
  
  body.auth-page .auth-donut {
    width: 58px;
    height: 58px;
    margin: 0.2rem 0 0.75rem;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 46%, transparent 47%), conic-gradient(var(--deep) 0 54%, var(--mint) 54% 82%, #e6e9ef 82% 100%);
  }
  
  body.auth-page .auth-preview-row,
  body.auth-page .auth-list-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    color: #6b7280;
    font-size: 0.64rem;
  }
  
  body.auth-page .auth-preview-row strong {
    font-size: 0.72rem;
  }
  
  body.auth-page .auth-list-line {
    justify-content: flex-start;
    margin-top: 0.65rem;
  }
  
  body.auth-page .auth-list-line span {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--mint-soft);
  }
  
  body.auth-page .auth-list-line p {
    width: 100%;
    height: 8px;
    margin: 0;
    border-radius: 999px;
    background: #e7eaf0;
  }
  
  body.auth-page .auth-visual-copy {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    margin-bottom: 44px;
    text-align: center;
  }
  
  body.auth-page .auth-visual-mark {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 1.35rem;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  }
  
  body.auth-page .auth-visual-mark .brand-mark span {
    background: #fff;
  }
  
  body.auth-page .auth-visual-copy h2 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0;
  }
  
  body.auth-page .auth-visual-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    line-height: 1.6;
  }
  
  body.auth-page .auth-progress-lines {
    position: absolute;
    right: 28px;
    bottom: 20px;
    left: 28px;
    display: grid;
    grid-template-columns: 1.25fr 0.55fr 1.25fr 1.25fr;
    gap: 7px;
  }
  
  body.auth-page .auth-progress-lines span {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
  }
  
  body.auth-page .auth-progress-lines span:first-child,
  body.auth-page .auth-progress-lines span:nth-child(2) {
    background: #fff;
  }
  
  @media (max-width: 991.98px) {
    body.auth-page .auth-card {
      grid-template-columns: 1fr;
    }
  
    body.auth-page .auth-visual-panel {
      min-height: 520px;
    }
  
    body.auth-page .auth-preview-card-main {
      left: 12%;
    }
  }
  
  @media (max-width: 575.98px) {
    body.auth-page .auth-shell {
      padding: 0;
    }
  
    body.auth-page .auth-card {
      min-height: auto;
      padding: 0;
      border-radius: 0;
    }
  
    body.auth-page .auth-form-panel {
      padding: 18px 16px 24px;
    }
  
    body.auth-page .auth-form-wrap {
      margin: 2.5rem auto;
    }
  
    body.auth-page #signup-form.active {
      display: block;
    }
  
    body.auth-page .auth-footer {
      padding-top: 0;
    }
  
    body.auth-page .auth-visual-panel {
      min-height: 440px;
      padding: 24px;
    }
  
    body.auth-page .auth-preview-card {
      width: 190px;
    }
  
    body.auth-page .auth-preview-card-main {
      top: 34px;
      left: 20px;
    }
  
    body.auth-page .auth-preview-card-side {
      top: 118px;
      right: 18px;
    }
  
    body.auth-page .auth-preview-card-list {
      display: none;
    }
  }
  .fdc_deposit-box {
    display: flex;
    gap: 19px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .fdc_deposit-qr img {
    width: 176px;
    border-radius: 14px;
    border: 1px solid #dbe1ea;
    background: #fff;
    padding: 6px;
  }
  
  .fdc_deposit-content {
    flex: 1;
    min-width: 224px;
  }
  
  .fdc_deposit-title {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 19px;
    color: #182033;
  }
  
  .fdc_deposit-address-wrap {
      display: flex;
      align-items: center;
      gap: 14px;
      background: #f4f5f9;
      border: 1px solid #d9dee8;
      border-radius: 10px;
      padding: 5px 10px;
      margin-bottom: 15px;
  }
  
  .fdc_deposit-address {
        flex: 1;
      background: transparent;
      border: 0;
      padding: 0 10px;
      font-size: 10px;
      line-height: 1.5;
      word-break: break-all;
      color: #182033;
  }
  
  .fdc_copy-btn {
    border: 0;
      background: var(--deep);
      color: #fff;
      border-radius: 7px;
      padding: 8px 18px;
      font-size: 13px;
      font-weight: 500;
      transition: 0.3s;
      white-space: nowrap;
  }
  
  .fdc_copy-btn:hover {
    background: var(--deep);
  }
  
  .fdc_deposit-info {
    padding-left: 19px;
    margin-bottom: 22px;
  }
  
  .fdc_deposit-info li {
    font-size: 12px;
    line-height: 1.8;
    color: #4b5870;
    margin-bottom: 6px;
  }
  
  .fdc_deposit-info strong {
    color: #182033;
  }
  
  .fdc_deposit-balance-box {
      display: flex;
      gap: 12px;
      background: #eef4ff;
      border: 1px solid #bfd5ff;
      border-radius: 8px;
      padding: 8px;
      align-items: center;
      margin-top: 15px;
  }
  
  .fdc_deposit-balance-icon {
    width: 33px;
    height: 33px;
    border-radius: 10px;
    background: #dce8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17.6px;
    color: #2354e6;
    flex-shrink: 0;
  }
  
  .fdc_deposit-balance-text {
    font-size: 12px;
    line-height: 1.5;
    color: #2354e6;
  }
  
  .fdc_deposit-balance-text strong {
     
    font-size: 14px;
    margin-top: 3px;
  }
  
  .fdc_value-badge {
    color: var(--deep);
  }
  
  body.sinqlo-page .wallet-scope-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 0.85rem;
  }
  
  body.sinqlo-page .wallet-scope-left .wallet-history-stat-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  
  body.sinqlo-page .wallet-scope-card {
    min-height: 92px;
  }
  
  body.sinqlo-page .wallet-scope-card-wide {
    grid-column: 1 / -1;
  }
  
  body.sinqlo-page .wallet-scope-right {
    min-width: 0;
  }
  
  body.sinqlo-page .wallet-pie-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.85rem, 2vw, 1.5rem);
    min-height: 100%;
  }
  
  body.sinqlo-page .wallet-pie-chart {
    position: relative;
    width: min(172px);
    flex: 0 0 min(172px, 48%);
    aspect-ratio: 1;
    margin: 0;
    border-radius: 50%;
    background: conic-gradient(
      var(--deep) 0 63%,
      var(--deep-3) 63% 95%,
      var(--mint) 95% 100%
    );
  }
  
  body.sinqlo-page .wallet-pie-chart::after {
    content: "";
    position: absolute;
    inset: 24%;
    border-radius: inherit;
    background: #fff;
  }
  
  body.sinqlo-page .wallet-pie-center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-content: center;
    color: var(--ink);
    line-height: 1.15;
    text-align: center;
  }
  
  body.sinqlo-page .wallet-pie-center span {
    color: var(--muted);
    font-size: 0.76rem;
  }
  
  body.sinqlo-page .wallet-pie-center strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
  }
  
  body.sinqlo-page .wallet-pie-legend {
    display: grid;
    gap: 0.65rem;
    min-width: max-content;
  }
  
  body.sinqlo-page .wallet-pie-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
  }
  
  body.sinqlo-page .wallet-pie-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  
  body.sinqlo-page .wallet-pie-dot-total,
  body.sinqlo-page .wallet-pie-dot-s0{
    background: var(--deep);
  }

  body.sinqlo-page .wallet-pie-dot-deposit,
  body.sinqlo-page .wallet-pie-dot-s1{
    background: var(--deep-3);
  }

  body.sinqlo-page .wallet-pie-dot-income,
  body.sinqlo-page .wallet-pie-dot-s2{
    background: var(--deep-2);
  }
  
  @media (max-width: 1199.98px) {
    body.sinqlo-page .wallet-scope-layout {
      grid-template-columns: 1fr;
    }
  
    body.sinqlo-page .wallet-pie-card {
      min-height: 180px;
    }
  }
  
  @media (max-width: 767.98px) {
    body.sinqlo-page .wallet-scope-left {
      grid-template-columns: 1fr;
    }
  
    body.sinqlo-page .wallet-pie-card {
      flex-direction: column;
    }
  
    body.sinqlo-page .wallet-pie-chart {
      width: 150px;
      flex-basis: 150px;
    }
  
    body.sinqlo-page .wallet-pie-legend {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  
  .fdc_explore-btn {
      background: var(--mint);
      display: inline-block;
      padding: 5px 10px;
      border-radius: 50px;
      color: var(--deep);
      text-decoration: none;
  }
  
  @media (max-width: 768px) { 
    .fdc_deposit-qr img {
      width: 100%;
      max-width: 190px;
    }
  
    
    
    .fdc_deposit-title {
      font-size: 19.2px;
    }
  
  }
  
  .mobile-menu-btn {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: var(--deep);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  }
  
  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 998;
  }
  
  @media (max-width: 1199px) {
  
    .app-sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: 280px;
      height: 100vh;
      overflow-y: auto;
      z-index: 999;
      transform: translateX(-100%);
      transition: transform 0.35s ease;
      background: var(--sidebar-bg, var(--sidebar, #ffffff));
      box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    }
  
    .app-sidebar.is-open {
      transform: translateX(0);
    }
  
    .sidebar-overlay.is-active {
      opacity: 1;
      visibility: visible;
    }
  
    .main-wrap {
      width: 100%;
    }
  
  }
  
  .page-size-select {
    min-width: 60px;
    height: 38px;
    border: 0;
    border-radius: 18px;
    background: #efe5ff;
    color: var(--deep);
    font-size: 12px;
    font-weight: 700;
    padding: 0 10px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237b3ff2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 24px;
  }
  
  .page-size-select:focus {
    box-shadow: none;
  }
  
  .notification-card {
    border-radius: 24px;
  }
  
  .notification-card-icon {
    width: 38px;
      height: 38px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
  }
  
  .notification-card-icon.success {
    background: rgba(59, 130, 246, 0.12);
    color: #00d4aa;
  }
  
  .notification-card-icon.warning {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
  }
  
  .notification-card-icon.info {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
  }
  
  .notification-card-title {
    
    font-weight: 600;
    color: #182033;
  }
  
  .notification-card-text {
    font-size: 12px;
      line-height: 1.7;
      color: #667085;
  }
  
  .notification-time {
        font-size: 12px;
      font-weight: 400;
      color: #3b3f47;
  }
  
  .notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
  }
  
  .notification-badge.success {
    background: rgba(59, 130, 246, 0.12);
    color: #00d4aa;
  }
  
  .notification-badge.pending {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
  }
  
  .notification-badge.neutral {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
  }
  
  .notification-hash {
    font-size: 14px;
    color: #667085;
    word-break: break-all;
  }
  
  @media (max-width: 768px) {
  
    .notification-card {
      border-radius: 18px;
    }
   
  }
  
  body.sinqlo-page .designation-rank-row > [class*="col-"] {
        margin-top: 0 !important;
  }

  body.sinqlo-page .designation-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.2rem;
    border: 1px solid var(--line);
    color: var(--ink);
    background: linear-gradient(160deg, var(--mint-soft) 0%, #fff 50%, #faf7ff 100%);
    box-shadow: none;
  }

  body.sinqlo-page .designation-card__eyebrow {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    color: #222;
  }

  body.sinqlo-page .designation-card__hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
  }

  .designation-card__hero .rank-panel {
    position: absolute;
    right: 0;
}

  body.sinqlo-page .designation-card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    font-size: 2.35rem;
    line-height: 1;
    color: #fff;
    background: var(--gradient);
    border: 0;
    box-shadow: 0 6px 16px rgb(var(--color-primary-rgb) / 0.2);
  }

  body.sinqlo-page .designation-card__rank {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--deep);
  }

  body.sinqlo-page .designation-card__label {
    font-size: 0.85rem;
    color: var(--muted);
  }

  body.sinqlo-page .designation-card__stats {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  body.sinqlo-page .designation-card__stats li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--muted);
  }

  body.sinqlo-page .designation-card__stats strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    text-align: right;
  }

  body.sinqlo-page .rank-qualification-card {
    display: flex;
    flex-direction: column;
  }

  body.sinqlo-page .rank-qualification-card .rank-panel {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  body.sinqlo-page .rank-panel {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
  }

  body.sinqlo-page .rank-panel__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--accent-amber);
    background: var(--accent-amber-soft);
  }

  body.sinqlo-page .rank-panel__line-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2f3c39;
  }

  body.sinqlo-page .rank-panel__line-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--deep);
  }

  body.sinqlo-page .rank-panel__foot {
    font-size: 0.7rem;
    color: #68716f;
    gap: 0.5rem;
  }

  body.sinqlo-page .rank-panel .cus-badge {
    display: inline-block;
    background: var(--accent-emerald-soft);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #047857;
  }

  .rank-panel span {
    font-size: 10px;
  }

  .rank-panel span.fs-12 {
    font-size: 12px;
  }
  
  /* -----------------------------
     Modern Tree View (HTML/CSS/JS)
     ----------------------------- */
  .tv-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px;
  }
  
  .tv-tree {
    min-width: max-content;
  }
  
  .tv-item {
    position: relative;
  }
  
  .tv-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    min-height: 48px;
    cursor: pointer;
    transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease, background 180ms ease;
    outline: none;
  }
  
  .tv-row:hover {
    border-color: color-mix(in srgb, var(--mint) 35%, var(--line));
    box-shadow: 0 18px 45px rgba(39, 55, 51, 0.06);
    transform: translateY(-1px);
  }
  
  .tv-row:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 25%, transparent);
  }
  
  .tv-row.is-selected {
    border-color: var(--mint);
    background: linear-gradient(180deg, color-mix(in srgb, var(--mint-soft) 50%, #fff) 0%, #fff 70%);
  }
  
  .tv-toggle {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
    flex-shrink: 0;
  }
  
  .tv-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    background: #fafafa;
  }
  
  .tv-chevron {
    font-size: 18px;
    transition: transform 180ms ease;
    transform: rotate(0deg);
    color: var(--muted);
  }
  
  .tv-toggle.is-expanded .tv-chevron {
    transform: rotate(90deg);
    color: var(--deep);
  }
  
  .tv-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  
  .tv-icon {
    color: var(--deep);
    font-size: 18px;
    flex-shrink: 0;
  }
  
  .tv-label-text {
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .tv-children-wrapper {
    overflow: hidden;
    max-height: 0px;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 300ms ease, opacity 200ms ease, transform 300ms ease;
  }
  
  .tv-children-wrapper.is-collapsed {
    pointer-events: none;
  }
  
  .tv-children {
    border-left: 2px solid var(--line);
    margin-left: 1rem;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .tv-children > .tv-item {
    position: relative;
  }
  
  .tv-children > .tv-item::before {
    content: "";
    position: absolute;
    left: calc(-1rem - 2px);
    top: 23px;
    width: 1rem;
    height: 2px;
    background: var(--line);
    border-radius: 2px;
  }
  
  @media (max-width: 576px) {
    .tv-row {
      padding: 10px 10px;
      border-radius: 12px;
    }
  
    .tv-children {
      margin-left: 0.75rem;
      padding-left: 0.75rem;
    }
  
    .tv-children > .tv-item::before {
      left: calc(-0.75rem - 2px);
    }
  }

  /* -----------------------------
     Binary MLM tree
     ----------------------------- */
  .binary-plan-info__body {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink);
  }

  .binary-plan-list {
    padding-left: 1.15rem;
    margin-bottom: 0;
  }

  .binary-plan-list li {
    margin-bottom: 0.35rem;
  }

  .binary-legend-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid var(--line);
    background: var(--mint-soft);
    color: var(--ink);
  }

  .binary-legend-pill--left {
    border-color: rgb(var(--color-primary-rgb) / 0.28);
    background: rgb(var(--color-primary-rgb) / 0.1);
    color: var(--deep);
  }

  .binary-legend-pill--right {
    border-color: rgb(var(--color-mid-rgb) / 0.35);
    background: rgb(var(--color-mid-rgb) / 0.12);
    color: var(--blue-dark);
  }

  .binary-legend-pill--spill {
    border-color: rgb(var(--color-cyan-rgb) / 0.35);
    background: rgb(var(--color-cyan-rgb) / 0.12);
    color: var(--blue-dark);
  }

  .binary-tree-panel {
    max-width: 100%;
    overflow-x: hidden;
  }

  @media (max-width: 575.98px) {
    .binary-stats-row .panel {
      padding: 10px !important;
    }

    .binary-stats-row .muted.small {
      font-size: 0.65rem;
      line-height: 1.25;
      margin-bottom: 4px !important;
    }

    .binary-stats-row .money-value {
      font-size: 1.05rem;
      line-height: 1.2;
    }
  }

  body.sinqlo-page .binary-tree-zoom-hint {
    white-space: nowrap;
    font-size: 0.68rem;
    font-weight: 500;
    color: #68716f;
    padding: 0 0.35rem;
  }

  .binary-tree-toolbar {
    margin-bottom: 12px;
  }

  .binary-tree-toolbar-zoom {
    display: inline-flex;
    align-items: stretch;
  }

  .binary-tree-btn-long {
    display: inline;
  }

  .binary-tree-mobile-hint {
    text-align: center;
    line-height: 1.35;
  }

  .binary-tree-body {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 420px;
    border-radius: 12px;
    border: 1px solid #e8edf5;
    background: #fafbfd;
    overflow: hidden;
  }

  .binary-tree-body.is-drawer-open .binary-tree-scroll {
    border-right: 1px solid #e8edf5;
  }

  .binary-tree-scroll {
    overflow: auto;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 480px;
    max-height: none;
    padding: 24px 20px 40px;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    cursor: grab;
  }

  .binary-tree-scroll.is-panning {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
  }

  .binary-tree-scroll.is-panning * {
    cursor: grabbing;
  }

  .binary-tree-zoom {
    transform-origin: top center;
    transition: transform 160ms ease;
    display: inline-block;
    vertical-align: top;
    padding: 8px 16px 24px;
  }

  body.sinqlo-page .binary-tree-zoom.tree2-zoom-stage {
    transform-origin: top center;
  }

  .binary-tree,
  .binary-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .binary-tree {
    display: inline-block;
    text-align: center;
  }

  .binary-tree-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 4px;
    position: relative;
    z-index: 0;
  }

  .binary-tree-links__stem {
    display: block;
    width: 2px;
    height: 22px;
    background: #d0d8e5;
    flex-shrink: 0;
  }

  .binary-tree-links__rail {
    display: none;
  }

  .binary-tree-level {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    width: 200px;
    margin: 0;
    padding: 0;
  }

  .binary-tree-branch {
    position: relative;
    padding: 26px 20px 0;
    flex: 0 0 auto;
    text-align: center;
  }

  .binary-tree-branch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    width: 2px;
    height: 24px;
    background: #d0d8e5;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .binary-tree > .binary-tree-branch::before {
    display: none;
  }

  .binary-tree-branch.is-placeholder {
    pointer-events: none;
  }

  .binary-tree-branch.is-placeholder::before {
    display: none;
  }

  .binary-node--spacer {
    visibility: hidden;
    border-color: transparent;
    box-shadow: none;
    background: transparent;
    min-height: 96px;
  }

  .binary-tree-cell {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .binary-tree-branch.is-root {
    padding: 0;
  }

  .binary-tree-branch.is-root::before {
    display: none;
  }

  .binary-node {
    position: relative;
    z-index: 2;
    width: 200px;
    margin: 0 auto;
    padding: 10px 10px 8px;
    border: 1px solid #dce3f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .binary-node.is-expandable {
    padding-right: 10px;
  }

  .binary-node.is-expandable .binary-node__top {
    padding-right: 28px;
  }

  .binary-node__top {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    min-width: 0;
  }

  .binary-node__identity {
    min-width: 0;
    flex: 1 1 auto;
  }

  .binary-node__toggle {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid #dce3f0;
    border-radius: 8px;
    background: #f5f8fc;
    color: var(--deep);
    display: grid;
    place-items: center;
    line-height: 1;
    cursor: pointer;
  }

  .binary-node__toggle i {
    font-size: 14px;
  }

  .binary-node.is-expanded .binary-node__toggle {
    background: var(--mint-soft);
    border-color: rgb(var(--color-cyan-rgb) / 0.45);
  }

  .binary-node:hover,
  .binary-node.is-selected {
    border-color: var(--deep-3);
    box-shadow: var(--shadow-lg);
  }

  .binary-node.is-highlight {
    border-color: var(--deep);
    box-shadow: 0 0 0 3px rgb(var(--color-primary-rgb) / 0.15);
  }

  .binary-node.is-dimmed {
    opacity: 0.35;
  }

  .binary-node.is-left {
    border-left: 3px solid var(--deep);
  }

  .binary-node.is-right {
    border-left: 3px solid var(--deep-3);
  }

  .binary-node.is-root {
    border-color: var(--deep);
    background: var(--gradient-soft);
  }

  .binary-node__avatar {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    background: var(--gradient);
  }

  .binary-node__name {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--ink);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .binary-node__meta {
    margin-top: 3px;
    min-width: 0;
  }

  .binary-node__id {
    display: block;
    font-size: 0.68rem;
    color: var(--muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .binary-node__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid #eef2f7;
  }

  .binary-node__status {
    position: static;
    top: auto;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    margin: 0;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: capitalize;
    white-space: nowrap;
  }

  .binary-node__status i {
    font-size: 0.72rem;
    line-height: 1;
  }

  .binary-node.is-active .binary-node__status {
    background: #eff6ff;
    color: #047857;
    border: 1px solid rgba(59, 130, 246, 0.28);
  }

  .binary-node.is-active .binary-node__status i {
    color: #00d4aa;
  }

  .binary-node.is-inactive .binary-node__status {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid rgba(180, 35, 24, 0.22);
  }

  .binary-node.is-inactive .binary-node__status i {
    color: #f04438;
  }

  .binary-node.is-inactive {
    background: #fcfcfd;
  }

  

 

  @media (max-width: 767.98px) {
    .binary-page-header h1 {
      font-size: 1.2rem;
      line-height: 1.2;
    }

    .binary-page-header .muted.small {
      font-size: 0.68rem;
    }

    body.sinqlo-page .binary-tree-panel.panel {
      padding: 10px !important;
    }

    .binary-tree-toolbar.tree2-toolbar {
      gap: 6px;
      padding: 6px 8px;
      margin-bottom: 8px;
      border-radius: 10px;
    }

    .binary-tree-toolbar .tree2-search-wrap {
      min-width: 0;
      flex: 1 1 100%;
      gap: 6px;
      padding: 0 8px;
      border-radius: 8px;
    }

    .binary-tree-toolbar .tree2-search-wrap i {
      font-size: 0.85rem;
    }

    .binary-tree-toolbar .tree2-search-wrap input {
      height: 34px;
      font-size: 16px;
      line-height: 1.2;
    }

    .binary-tree-toolbar-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      width: 100%;
    }

    .binary-tree-toolbar-actions .tree2-tool-btn {
      min-height: 34px;
      height: 34px;
      padding: 0 0.65rem;
      width: 100%;
      min-width: 0;
      font-size: 0.72rem;
    }

    .binary-tree-toolbar-actions .tree2-tool-btn--primary,
    .binary-tree-toolbar-actions .tree2-tool-btn--ghost {
      border-radius: 10px;
    }

    .binary-tree-btn-long {
      display: none;
    }

    .binary-tree-toolbar-zoom {
      display: none !important;
    }

    .binary-tree-body {
      flex-direction: column;
      min-height: 0;
      max-height: none;
    }

    .binary-tree-body.is-drawer-open {
      overflow: visible;
    }

    .binary-tree-panel {
      overflow: visible;
    }

    .binary-tree-scroll {
      flex: 1 1 auto;
      min-height: 220px;
      max-height: min(52vh, 520px);
      padding: 14px 10px 20px;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
    }

    .binary-tree-body.is-drawer-open .binary-tree-scroll {
      flex: 1 1 auto;
      min-height: 180px;
      max-height: min(38vh, 360px);
      border-right: none;
      border-bottom: 1px solid #e8edf5;
    }

    .binary-node__toggle {
      width: 32px;
      height: 32px;
    }

    .binary-node__detail-btn {
      min-height: 0;
      height: auto;
      margin-top: 0;
      padding: 2px 4px;
      gap: 4px;
      font-size: 0.6rem;
      letter-spacing: 0;
      border-radius: 6px;
    }

    .binary-node__detail-btn i {
      font-size: 0.78rem;
      line-height: 1;
    }

    .binary-node__footer {
      margin-top: 6px;
      padding-top: 6px;
      gap: 6px;
    }

    .binary-node__status {
      padding: 1px 5px;
      font-size: 0.54rem;
    }

    .binary-node__status i {
      font-size: 0.66rem;
    }

    .binary-node {
      width: 172px;
      padding: 8px 8px 6px;
    }

    .binary-node.is-expandable {
      padding-right: 8px;
    }

    .binary-node.is-expandable .binary-node__top {
      padding-right: 26px;
    }
  }

  @media (max-width: 575.98px) {
    .binary-tree-branch {
      padding: 22px 8px 0;
    }

    .binary-node {
      width: 172px;
      padding: 8px 8px 6px;
    }

    .binary-node.is-expandable {
      padding-right: 8px;
    }

    .binary-node.is-expandable .binary-node__top {
      padding-right: 26px;
    }

    .binary-node__avatar {
      width: 30px;
      height: 30px;
      font-size: 0.62rem;
    }

    .binary-node__name {
      font-size: 0.72rem;
    }

    .binary-node__id {
      font-size: 0.62rem;
    }

    .binary-tree-scroll {
      min-height: 200px;
      max-height: min(48vh, 440px);
      padding: 12px 8px 18px;
    }

    .binary-tree-body.is-drawer-open .binary-tree-scroll {
      min-height: 160px;
      max-height: min(34vh, 300px);
    }

    .binary-node__detail-btn {
      padding: 2px 3px;
      font-size: 0.56rem;
    }

    .binary-node__detail-btn i {
      font-size: 0.72rem;
    }
  }

  /* Binary tree */
  .binary-node__detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    width: auto;
    margin: 0 0 0 auto;
    padding: 2px 0 2px 4px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--deep);
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s ease, background 0.15s ease;
  }

  .binary-node__detail-btn i {
    font-size: 0.78rem;
    line-height: 1;
    opacity: 0.85;
  }

  .binary-node__detail-btn:hover {
    color: var(--deep);
    background: rgb(var(--color-primary-rgb) / 0.08);
    border-color: transparent;
  }

  .binary-node__detail-btn:active {
    background: rgb(var(--color-primary-rgb) / 0.12);
  }

  .binary-detail-drawer {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: width 240ms ease, flex-basis 240ms ease, box-shadow 240ms ease;
  }

  .binary-detail-drawer[hidden] {
    display: none;
  }

  .binary-detail-drawer.is-open {
    flex: 0 0 min(300px, 32vw);
    width: min(300px, 32vw);
    visibility: visible;
    pointer-events: auto;
    border-left: 1px solid #dce3f0;
    box-shadow: -12px 0 32px rgb(var(--color-primary-rgb) / 0.08);
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99;
    bottom: 0;
  }

  .binary-detail-drawer__hero {
    position: relative;
    flex-shrink: 0;
    padding: 14px 12px 12px;
    text-align: center;
    background: linear-gradient(165deg, var(--mint-soft) 0%, #fff 58%);
    border-bottom: 1px solid #e8edf5;
  }

  .binary-detail-drawer__hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--blue-mid) 50%, var(--blue) 100%);
  }

  .binary-detail-drawer__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 1px solid #dce3f0;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    font-size: 1rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  }

  .binary-detail-drawer__close:hover {
    color: var(--deep);
    border-color: rgb(var(--color-cyan-rgb) / 0.45);
    background: #fff;
  }

  .binary-detail-drawer__avatar {
    width: 52px;
    height: 52px;
    margin: 4px auto 8px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
    background: var(--gradient);
    box-shadow: 0 8px 18px rgb(var(--color-primary-rgb) / 0.28);
  }

  .binary-detail-drawer__name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.25;
    word-break: break-word;
  }

  .binary-detail-drawer__user {
    margin: 3px 0 10px;
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.3;
  }

  .binary-detail-drawer__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .binary-detail-status,
  .binary-detail-leg,
  .binary-detail-rank {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
  }

  .binary-detail-status {
    border: 1px solid rgba(59, 130, 246, 0.35);
    background: #eff6ff;
    color: #047857;
  }

  .binary-detail-status i {
    font-size: 0.85rem;
  }

  .binary-detail-status.is-inactive {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #64748b;
  }

  .binary-detail-leg {
    border: 1px solid #dce3f0;
    background: #fff;
    color: var(--muted);
  }

  .binary-detail-leg--left {
    border-color: rgb(var(--color-primary-rgb) / 0.28);
    background: rgb(var(--color-primary-rgb) / 0.1);
    color: var(--deep);
  }

  .binary-detail-leg--right {
    border-color: rgb(var(--color-mid-rgb) / 0.35);
    background: rgb(var(--color-mid-rgb) / 0.12);
    color: var(--blue-dark);
  }

  .binary-detail-leg--root {
    border-color: rgb(var(--color-primary-rgb) / 0.22);
    background: var(--mint-soft);
    color: var(--deep);
  }

  .binary-detail-rank {
    border: 1px solid #dce3f0;
    background: #fff;
    color: var(--ink);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .binary-detail-drawer__body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding: 12px;
    background: #fafbfd;
    -webkit-overflow-scrolling: touch;
  }

  .binary-detail-section {
    margin-bottom: 12px;
  }

  .binary-detail-section:last-child {
    margin-bottom: 0;
  }

  .binary-detail-section__title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .binary-detail-section__title i {
    font-size: 0.95rem;
    color: var(--deep);
  }

  .binary-detail-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .binary-detail-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e8edf5;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
    min-width: 0;
  }

  .binary-detail-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .binary-detail-card__icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--mint-soft);
    color: var(--deep);
    font-size: 0.9rem;
  }

  .binary-detail-card__label {
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .binary-detail-card strong {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    word-break: break-word;
  }

  .binary-detail-legs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .binary-detail-leg-col {
    border-radius: 10px;
    border: 1px solid #e8edf5;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
  }

  .binary-detail-leg-col h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 7px 8px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .binary-detail-leg-col h4 i {
    font-size: 0.9rem;
  }

  .binary-detail-leg-col--left {
    border-color: rgb(var(--color-primary-rgb) / 0.22);
  }

  .binary-detail-leg-col--left h4 {
    color: var(--deep);
    background: rgb(var(--color-primary-rgb) / 0.08);
  }

  .binary-detail-leg-col--right {
    border-color: rgb(var(--color-mid-rgb) / 0.28);
  }

  .binary-detail-leg-col--right h4 {
    color: var(--blue-dark);
    background: rgb(var(--color-mid-rgb) / 0.1);
  }

  .binary-detail-leg-col ul {
    list-style: none;
    margin: 0;
    padding: 4px 0;
  }

  .binary-detail-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 9px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .binary-detail-metric:first-child {
    border-top: none;
  }

  .binary-detail-metric span {
    color: var(--muted);
    font-weight: 500;
  }

  .binary-detail-metric strong {
    color: var(--ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
  }

  .binary-detail-view--compact {
    display: none;
  }

  .binary-detail-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .binary-detail-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .binary-detail-mini-cell {
    padding: 5px 6px;
    border-radius: 8px;
    border: 1px solid #e8edf5;
    background: #fff;
    min-width: 0;
  }

  .binary-detail-mini-cell span {
    display: block;
    font-size: 0.56rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 2px;
    line-height: 1.2;
  }

  .binary-detail-mini-cell strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    word-break: break-word;
  }

  .binary-detail-mini-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    font-size: 0.66rem;
  }

  .binary-detail-mini-table thead th {
    padding: 4px 6px;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
  }

  .binary-detail-mini-table thead th.is-left {
    color: var(--deep);
  }

  .binary-detail-mini-table thead th.is-right {
    color: var(--blue-dark);
  }

  .binary-detail-mini-table th,
  .binary-detail-mini-table td {
    padding: 4px 6px;
    text-align: right;
    border-bottom: 1px solid #f1f5f9;
  }

  .binary-detail-mini-table th:first-child,
  .binary-detail-mini-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--muted);
  }

  .binary-detail-mini-table tbody tr:last-child th,
  .binary-detail-mini-table tbody tr:last-child td {
    border-bottom: none;
  }

  .binary-detail-mini-table td {
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }

  .binary-detail-mini-table td.is-left {
    color: var(--deep);
  }

  .binary-detail-mini-table td.is-right {
    color: var(--blue-dark);
  }

  @media (min-width: 1200px) {
    .binary-detail-drawer.is-open {
      flex: 0 0 min(312px, 28vw);
      width: min(312px, 28vw);
    }
  }

  @media (max-width: 991.98px) {
    .binary-detail-drawer.is-open {
      flex: 0 0 min(280px, 36vw);
      width: min(280px, 36vw);
    }
  }

  @media (max-width: 767.98px) {
    .binary-detail-view--wide {
      display: none;
    }

    .binary-detail-view--compact {
      display: block;
    }

    .binary-detail-drawer.is-open {
      position: fixed;
      top:auto;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1040;
      width: 100%;
      max-width: 100vw;
      box-sizing: border-box;
      flex: none;
      max-height: min(78dvh, calc(100dvh - 48px));
      border-radius: 16px 16px 0 0;
      border-left: none;
      border-top: 1px solid #dce3f0;
      box-shadow: 0 -12px 40px rgb(var(--color-primary-rgb) / 0.12);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding-bottom: max(10px, env(safe-area-inset-bottom, 0));
    }

    .binary-detail-drawer__body {
      flex: 1 1 auto;
      min-height: 0;
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      padding: 6px 8px 10px;
    }

    .binary-tree-body.is-drawer-open .binary-tree-scroll {
      max-height: min(48vh, 480px);
      min-height: 160px;
    }

    .binary-detail-drawer__hero {
      display: grid;
      grid-template-columns: 36px 1fr 26px;
      grid-template-rows: auto auto auto;
      gap: 2px 8px;
      align-items: center;
      text-align: left;
      padding: 8px 8px 6px;
    }

    .binary-detail-drawer__hero::before {
      height: 2px;
    }

    .binary-detail-drawer__avatar {
      grid-row: 1 / 3;
      grid-column: 1;
      width: 36px;
      height: 36px;
      margin: 0;
      font-size: 0.72rem;
      box-shadow: 0 4px 10px rgb(var(--color-primary-rgb) / 0.2);
    }

    .binary-detail-drawer__close {
      position: static;
      grid-row: 1;
      grid-column: 3;
      width: 26px;
      height: 26px;
      font-size: 0.95rem;
      justify-self: end;
    }

    .binary-detail-drawer__name {
      grid-row: 1;
      grid-column: 2;
      font-size: 0.8rem;
      line-height: 1.2;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .binary-detail-drawer__user {
      grid-row: 2;
      grid-column: 2 / 4;
      margin: 0;
      font-size: 0.62rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .binary-detail-drawer__badges {
      grid-row: 3;
      grid-column: 1 / 4;
      justify-content: flex-start;
      margin-top: 4px;
      gap: 4px;
    }

    .binary-detail-status,
    .binary-detail-leg,
    .binary-detail-rank {
      padding: 2px 7px;
      font-size: 0.56rem;
    }

    .binary-detail-status i {
      display: none;
    }

    body.binary-detail-open {
      overflow: hidden;
    }

    body.binary-detail-open::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 1035;
      background: rgba(15, 23, 42, 0.4);
      pointer-events: none;
    }

    .binary-detail-drawer__hero {
      flex-shrink: 0;
    }
  }

  @media (max-width: 399.98px) {
    .binary-detail-mini-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 4px;
    }

    .binary-detail-mini-cell span {
      font-size: 0.52rem;
    }

    .binary-detail-mini-cell strong {
      font-size: 0.62rem;
    }

    .binary-detail-mini-table {
      font-size: 0.62rem;
    }
  }

  /* -----------------------------
     Downline page (downline.html)
     ----------------------------- */
  body.sinqlo-page .downline-filters-form {
    padding: 1rem 1.1rem;
    border: 1px solid rgb(var(--color-primary-rgb) / 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, var(--mint-soft) 100%);
  }

  body.sinqlo-page .downline-filters-form .form-label {
    margin-bottom: 0.35rem;
    color: #2f3c39;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  body.sinqlo-page .downline-filters-form .form-control,
  body.sinqlo-page .downline-filters-form .form-select,
  body.sinqlo-page .downline-filters-form .search-control {
    min-height: 42px;
    border: 1px solid rgb(var(--color-primary-rgb) / 0.14);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  body.sinqlo-page .downline-filters-form .form-control::placeholder {
    color: #8a9390;
    font-weight: 400;
  }

  body.sinqlo-page .downline-filters-form .form-control:focus,
  body.sinqlo-page .downline-filters-form .form-select:focus,
  body.sinqlo-page .downline-filters-form .search-control:focus {
    border-color: var(--deep);
    background: #fff;
    box-shadow: 0 0 0 3px rgb(var(--color-primary-rgb) / 0.12);
  }

  body.sinqlo-page .downline-filters-form .form-select {
    padding-right: 2rem;
    cursor: pointer;
  }

  body.sinqlo-page .downline-filter-actions {
    min-width: min(100%, 280px);
  }

  body.sinqlo-page .downline-filter-btn {
    min-height: 42px;
    padding: 0 1.1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
  }

  body.sinqlo-page .downline-filter-btn.btn-deep {
    border: 0;
    color: #fff;
    background: var(--deep);
    box-shadow: 0 4px 12px rgb(var(--color-primary-rgb) / 0.22);
  }

  body.sinqlo-page .downline-filter-btn.btn-deep:hover:not(:disabled) {
    color: #fff;
    background: var(--deep-2, var(--deep));
    filter: brightness(1.05);
  }

  body.sinqlo-page .downline-filter-btn.btn-outline-secondary {
    border: 1px solid rgb(var(--color-primary-rgb) / 0.22);
    color: var(--deep);
    background: #fff;
  }

  body.sinqlo-page .downline-filter-btn.btn-outline-secondary:hover:not(:disabled) {
    border-color: rgb(var(--color-primary-rgb) / 0.35);
    color: var(--deep);
    background: var(--mint-soft);
  }

  body.sinqlo-page .downline-filter-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  body.sinqlo-page .downline-leg-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.sinqlo-page .downline-leg-tabs .nav-item {
    margin: 0;
  }

  body.sinqlo-page .downline-leg-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.45rem 1rem;
    border: 1px solid rgb(var(--color-primary-rgb) / 0.16);
    border-radius: 999px;
    color: var(--deep);
    background: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  body.sinqlo-page .downline-leg-tabs .nav-link:hover:not(.active) {
    border-color: rgb(var(--color-primary-rgb) / 0.28);
    background: var(--mint-soft);
    color: var(--deep);
  }

  body.sinqlo-page .downline-leg-tabs .nav-link.active {
    border-color: var(--deep);
    color: #fff;
    background: var(--deep);
    box-shadow: 0 4px 12px rgb(var(--color-primary-rgb) / 0.2);
  }

  body.sinqlo-page .downline-leg-tabs .nav-link .badge {
    min-width: 1.5rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgb(var(--color-primary-rgb) / 0.12);
    color: var(--deep);
    font-size: 0.68rem;
    font-weight: 700;
  }

  body.sinqlo-page .downline-leg-tabs .nav-link.active .badge {
    background: rgb(255 255 255 / 0.22);
    color: #fff;
  }

  body.sinqlo-page .invoice-table-card.downline-table-card,
  body.sinqlo-page .panel.invoice-table-card:has(.downline-filters-form) {
    border-radius: 20px;
  }

  body.sinqlo-page .downline-page-table-wrap {
    border: 1px solid rgb(var(--color-primary-rgb) / 0.1);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  body.sinqlo-page .downline-leg-table.fdc_history-table thead th {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgb(var(--color-primary-rgb) / 0.1);
    background: var(--mint-soft);
    color: #2f3c39;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.sinqlo-page .downline-leg-table.fdc_history-table tbody td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eef4f8;
    font-size: 0.8rem;
    vertical-align: middle;
  }

  body.sinqlo-page .downline-leg-table.fdc_history-table tbody tr:last-child td {
    border-bottom: 0;
  }

  body.sinqlo-page .downline-leg-table.fdc_history-table tbody tr:hover {
    background: rgb(var(--color-primary-rgb) / 0.04);
  }

  body.sinqlo-page .downline-leg-badge.text-bg-success {
    background: #dbeafe !important;
    color: #047857 !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  body.sinqlo-page .downline-leg-badge.text-bg-danger {
    background: rgb(255 77 109 / 0.14) !important;
    color: #c0392b !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  body.sinqlo-page .downline-leg-table .fdc_value-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    background: rgb(var(--color-primary-rgb) / 0.08);
    color: var(--deep);
    font-size: 0.78rem;
    font-weight: 700;
  }

  @media (max-width: 767.98px) {
    body.sinqlo-page .downline-filters-form {
      padding: 0.85rem;
    }

    body.sinqlo-page .downline-filter-actions {
      width: 100%;
    }

    body.sinqlo-page .downline-filter-btn {
      flex: 1 1 calc(50% - 0.25rem);
    }

    body.sinqlo-page .downline-leg-tabs {
      width: 100%;
    }

    body.sinqlo-page .downline-leg-tabs .nav-link {
      flex: 1 1 calc(50% - 0.25rem);
      justify-content: center;
      min-height: 36px;
      padding: 0.4rem 0.65rem;
      font-size: 0.72rem;
    }
  }
  
  
  /* Booster tree 3-level binary */
  body.sinqlo-page .booster-stats-row .booster-stat-card__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
    background: var(--mint-soft);
    color: var(--deep);
  }

  body.sinqlo-page .booster-stat-card__value {
    font-size: 1.15rem;
    line-height: 1.2;
  }

  body.sinqlo-page .booster-stat-card__icon--success {
    background: #dbeafe;
    color: #15803d;
  }

  body.sinqlo-page .booster-stat-card__icon--danger {
    background: #fee2e2;
    color: #b91c1c;
  }

  body.sinqlo-page .booster-stat-card__progress {
    height: 4px;
    background: var(--mint-soft);
    border-radius: 999px;
  }

  body.sinqlo-page .booster-stat-card__progress .progress-bar {
    background: linear-gradient(90deg, var(--deep) 0%, var(--deep-2) 100%);
    border-radius: 999px;
  }

  body.sinqlo-page .booster-tree-panel {
    background: linear-gradient(165deg, #ffffff 0%, var(--mint-soft) 55%, #ffffff 100%);
    border: 1px solid rgba(120, 21, 156, 0.12);
    overflow: hidden;
  }

  body.sinqlo-page .booster-tree-panel__head {
    border-bottom: 1px solid rgba(120, 21, 156, 0.1);
    padding-bottom: 0.5rem;
  }

  body.sinqlo-page .booster-tree-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    margin: 0;
  }

  body.sinqlo-page .booster-tree {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 0.25rem 0.5rem;
  }

  body.sinqlo-page .booster-tree__level-tag {
    text-align: center;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--deep);
    opacity: 0.65;
    margin: 0 0 0.2rem;
  }

  body.sinqlo-page .booster-tree__level {
    display: grid;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem;
    position: relative;
    width: 100%;
  }

  body.sinqlo-page .booster-tree__level--0 {
    grid-template-columns: minmax(0, 140px);
    justify-items: center;
    margin-bottom: 0.1rem;
  }

  body.sinqlo-page .booster-tree__level--1 {
    grid-template-columns: repeat(2, minmax(0, 124px));
    gap: clamp(0.75rem, 6vw, 3.5rem);
    justify-content: center;
    margin-bottom: 0.1rem;
  }

  body.sinqlo-page .booster-tree__level--2 {
    grid-template-columns: repeat(4, minmax(0, 112px));
    gap: clamp(0.35rem, 2vw, 0.85rem);
    justify-content: center;
  }

  body.sinqlo-page .booster-tree__lines {
    height: 22px;
    margin: 0 auto 0.25rem;
    width: min(100%, 420px);
    background:
      linear-gradient(to bottom, rgba(120, 21, 156, 0.45) 0, rgba(120, 21, 156, 0.45) 11px, transparent 11px) center top / 2px 11px no-repeat,
      linear-gradient(rgba(120, 21, 156, 0.35), rgba(120, 21, 156, 0.35)) center 11px / min(72%, 300px) 2px no-repeat;
  }

  body.sinqlo-page .booster-tree__lines--2 {
    width: min(100%, 540px);
    background:
      linear-gradient(to bottom, rgba(120, 21, 156, 0.45) 0, rgba(120, 21, 156, 0.45) 11px, transparent 11px) 12.5% top / 2px 11px no-repeat,
      linear-gradient(to bottom, rgba(120, 21, 156, 0.45) 0, rgba(120, 21, 156, 0.45) 11px, transparent 11px) 37.5% top / 2px 11px no-repeat,
      linear-gradient(to bottom, rgba(120, 21, 156, 0.45) 0, rgba(120, 21, 156, 0.45) 11px, transparent 11px) 62.5% top / 2px 11px no-repeat,
      linear-gradient(to bottom, rgba(120, 21, 156, 0.45) 0, rgba(120, 21, 156, 0.45) 11px, transparent 11px) 87.5% top / 2px 11px no-repeat,
      linear-gradient(rgba(120, 21, 156, 0.35), rgba(120, 21, 156, 0.35)) center 11px / min(88%, 500px) 2px no-repeat;
  }

  body.sinqlo-page .booster-tree__node {
    width: 100%;
    min-height: 88px;
    padding: 0.55rem 0.45rem;
    border-radius: 12px;
    border: 1px solid var(--deep);
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  body.sinqlo-page .booster-tree__node:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }

  body.sinqlo-page .booster-tree__node.is-filled,
  body.sinqlo-page .booster-tree__node.is-achieved,
  body.sinqlo-page .booster-tree__node.is-not-achieved {
    border-color: var(--deep);
  }

  body.sinqlo-page .booster-tree__node.is-empty {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-style: dashed;
    border-color: rgba(120, 21, 156, 0.4);
  }

  body.sinqlo-page .booster-tree__node--root {
    min-height: 96px;
    border-width: 2px;
    background: linear-gradient(160deg, #ffffff 0%, var(--mint-soft) 100%);
    box-shadow: 0 8px 24px rgba(120, 21, 156, 0.12);
  }

  body.sinqlo-page .booster-tree__node-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--deep);
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }

  body.sinqlo-page .booster-tree__node-amount {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--deep);
  }

  body.sinqlo-page .booster-tree__node-label {
    font-size: clamp(0.6rem, 2.2vw, 0.68rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    line-height: 1.25;
  }

  body.sinqlo-page .booster-tree__node--root .booster-tree__node-label {
    color: var(--deep);
  }

  body.sinqlo-page .booster-tree__node-count {
    font-size: clamp(1.1rem, 3.5vw, 1.45rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
  }

  body.sinqlo-page .booster-tree__node-meta {
    font-size: 0.62rem;
    line-height: 1.2;
  }

  body.sinqlo-page .booster-tree__badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: clamp(0.55rem, 2vw, 0.62rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
  }

  body.sinqlo-page .booster-tree__badge--achieved {
    background: #dbeafe;
    color: #15803d;
  }

  body.sinqlo-page .booster-tree__badge--not-achieved {
    background: #fee2e2;
    color: #b91c1c;
  }

  body.sinqlo-page .booster-tree__badge--open {
    background: #f1f5f9;
    color: #64748b;
  }

  body.sinqlo-page .booster-tree__legend {
    justify-content: center;
  }

  body.sinqlo-page .booster-tree__chip {
    display: inline-block;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  body.sinqlo-page .booster-tree__chip--achieved {
    background: #dbeafe;
    color: #15803d;
  }

  body.sinqlo-page .booster-tree__chip--not-achieved {
    background: #fee2e2;
    color: #b91c1c;
  }

  body.sinqlo-page .booster-tree__chip--open {
    background: #f1f5f9;
    color: #64748b;
  }

  @media (min-width: 992px) {
    body.sinqlo-page .booster-tree__legend {
      justify-content: flex-end;
    }
  }

  @media (max-width: 767.98px) {
    body.sinqlo-page .booster-tree__level--1 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 280px;
      margin-left: auto;
      margin-right: auto;
      gap: 0.5rem;
    }

    body.sinqlo-page .booster-tree__level--2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 280px;
      margin-left: auto;
      margin-right: auto;
    }

    body.sinqlo-page .booster-tree__lines--2 {
      width: min(100%, 280px);
      background:
        linear-gradient(to bottom, rgba(120, 21, 156, 0.45) 0, rgba(120, 21, 156, 0.45) 11px, transparent 11px) 25% top / 2px 11px no-repeat,
        linear-gradient(to bottom, rgba(120, 21, 156, 0.45) 0, rgba(120, 21, 156, 0.45) 11px, transparent 11px) 75% top / 2px 11px no-repeat,
        linear-gradient(rgba(120, 21, 156, 0.35), rgba(120, 21, 156, 0.35)) center 11px / 72% 2px no-repeat;
    }

    body.sinqlo-page .booster-tree__node {
      min-height: 82px;
      padding: 0.5rem 0.4rem;
    }
  }

  @media (max-width: 399.98px) {
    body.sinqlo-page .booster-tree__level--1,
    body.sinqlo-page .booster-tree__level--2 {
      max-width: 100%;
    }

    body.sinqlo-page .booster-tree__chip {
      font-size: 0.62rem;
      padding: 0.22rem 0.5rem;
    }
  }

/* Old Wallet ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â 2025 investment report modal */
body.sinqlo-page .ow-report-drawer .ow-report-panel {
  width: min(920px, calc(100% - 1.5rem));
}

body.sinqlo-page .ow-report-drawer .ow-report-inner {
  padding: 1.25rem 1.35rem 1.1rem;
  gap: 0.85rem;
}

body.sinqlo-page .ow-report-header {
  margin-bottom: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

body.sinqlo-page .ow-report-member-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page);
}

body.sinqlo-page .ow-report-member-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

body.sinqlo-page .ow-report-member-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.sinqlo-page .ow-report-member-value {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

body.sinqlo-page .ow-report-member-id {
  font-size: 0.78rem;
}

body.sinqlo-page .ow-report-btn-import {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(139, 92, 255, 0.35);
  border-radius: 8px;
  background: var(--gradient-soft);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.sinqlo-page .ow-report-btn-import:hover:not(:disabled) {
  border-color: rgba(255, 77, 157, 0.45);
  background: var(--mint-soft);
}

body.sinqlo-page .ow-report-btn-import:disabled {
  opacity: 0.65;
  cursor: wait;
}

body.sinqlo-page .ow-report-eyebrow {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.sinqlo-page .ow-report-subtitle {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

body.sinqlo-page .ow-report-alert {
  border-radius: 8px;
  font-size: 0.85rem;
}

body.sinqlo-page .ow-report-summary-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

body.sinqlo-page .ow-report-summary-table {
  width: 100%;
  margin: 0;
  font-size: 0.8rem;
  table-layout: fixed;
}

body.sinqlo-page .ow-report-summary-table thead th {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--line);
  background: var(--gradient-soft);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.sinqlo-page .ow-report-summary-table tbody td {
  padding: 0.55rem 0.65rem;
  border-bottom: none;
  vertical-align: middle;
  white-space: nowrap;
}

body.sinqlo-page .ow-report-summary-val {
  display: inline-block;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.sinqlo-page .ow-report-summary-val--muted {
  color: var(--muted);
  font-weight: 500;
}

body.sinqlo-page .ow-report-summary-val--pending {
  color: #c73d7a;
}

body.sinqlo-page .ow-report-summary-formula {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  white-space: nowrap;
}

body.sinqlo-page .ow-report-table-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: auto;
  max-height: min(52vh, 420px);
  -webkit-overflow-scrolling: touch;
}

body.sinqlo-page .ow-report-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  font-size: 0.8rem;
}

body.sinqlo-page .ow-report-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--mint-soft);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.sinqlo-page .ow-report-table tbody td,
body.sinqlo-page .ow-report-table tfoot td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

body.sinqlo-page .ow-report-table tbody tr:last-child td {
  border-bottom: none;
}

body.sinqlo-page .ow-report-col-sno {
  width: 2.25rem;
  white-space: nowrap;
}

body.sinqlo-page .ow-report-col-date {
  min-width: 7.5rem;
  max-width: 9rem;
  white-space: nowrap;
}

body.sinqlo-page .ow-report-date-line {
  display: block;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.25;
}

body.sinqlo-page .ow-report-time-line {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
  margin-top: 0.1rem;
}

body.sinqlo-page .ow-report-col-id {
  min-width: 6.5rem;
}

body.sinqlo-page .ow-report-order-id {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: var(--mint-soft);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 600;
}

body.sinqlo-page .ow-report-col-num {
  white-space: nowrap;
}

body.sinqlo-page .ow-report-money {
  display: inline-block;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.sinqlo-page .ow-report-money--muted {
  color: var(--muted);
  font-weight: 500;
}

body.sinqlo-page .ow-report-money--pending {
  color: #c73d7a;
}

body.sinqlo-page .ow-report-table tfoot tr {
  background: var(--page);
}

body.sinqlo-page .ow-report-tfoot-label {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

body.sinqlo-page .ow-report-money--total {
  font-size: 0.85rem;
}

body.sinqlo-page .ow-report-empty {
  padding: 2rem 1rem !important;
  text-align: center;
  color: var(--muted);
}

body.sinqlo-page .ow-accounts-panel {
  margin-bottom: 0.5rem;
}

body.sinqlo-page .ow-accounts-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

body.sinqlo-page .ow-accounts-panel-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

body.sinqlo-page .ow-accounts-count {
  color: var(--muted);
  font-weight: 500;
}

body.sinqlo-page .ow-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  border-radius: 50%;
  line-height: 1;
}

body.sinqlo-page .ow-btn-icon i {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
}

body.sinqlo-page .ow-btn-icon--add {
  background: rgba(139, 92, 255, 0.15);
  color: #6b4ce6;
}

body.sinqlo-page .ow-btn-icon--add i {
  font-size: 1.15rem;
  font-weight: 700;
}

body.sinqlo-page .ow-btn-icon--active {
  background: rgba(32, 201, 151, 0.15);
  color: #12a877;
}

body.sinqlo-page .ow-btn-icon--remove {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

body.sinqlo-page .ow-accounts-add-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(139, 92, 255, 0.35);
  border-radius: 8px;
  background: var(--gradient-soft);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.sinqlo-page .ow-accounts-add-more:hover {
  border-color: rgba(255, 77, 157, 0.45);
  background: var(--mint-soft);
}

body.sinqlo-page .ow-accounts-table-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: auto;
  max-height: 240px;
}

body.sinqlo-page .ow-accounts-table {
  width: 100%;
  margin: 0;
  font-size: 0.8rem;
}

body.sinqlo-page .ow-accounts-table thead th {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--line);
  background: var(--mint-soft);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.sinqlo-page .ow-accounts-table tbody td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

body.sinqlo-page .ow-accounts-table tbody tr:last-child td {
  border-bottom: none;
}

body.sinqlo-page .ow-accounts-row.is-active {
  background: rgba(255, 218, 208, 0.25);
}

body.sinqlo-page .ow-accounts-id-code {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
}

body.sinqlo-page .ow-accounts-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

body.sinqlo-page .ow-accounts-badge i {
  font-size: 0.85rem;
  line-height: 1;
}

body.sinqlo-page .ow-accounts-badge--active {
  background: rgba(32, 201, 151, 0.12);
  color: #12a877;
  text-transform: uppercase;
}

body.sinqlo-page .ow-accounts-badge--muted {
  background: var(--page);
  border: 1px solid var(--line);
  color: var(--muted);
  text-transform: none;
}

body.sinqlo-page .ow-accounts-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

body.sinqlo-page .ow-accounts-inline-form {
  display: inline-block;
  margin: 0;
}

body.sinqlo-page .ow-accounts-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  padding: 0.28rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.sinqlo-page .ow-accounts-btn--active {
  border-color: rgba(32, 201, 151, 0.45);
  color: #12a877;
}

body.sinqlo-page .ow-accounts-btn--active:hover {
  background: rgba(32, 201, 151, 0.08);
}

body.sinqlo-page .ow-accounts-btn-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  padding: 0.28rem 0.65rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff5f7a 0%, #ff4d9d 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 77, 157, 0.28);
  transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

body.sinqlo-page .ow-login-add-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

body.sinqlo-page .ow-login-add-submit i {
  font-size: 1.15rem;
  line-height: 1;
}

body.sinqlo-page .ow-accounts-btn-remove:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 12px rgba(255, 77, 157, 0.38);
  transform: translateY(-1px);
}

body.sinqlo-page .ow-accounts-btn-remove:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(255, 77, 157, 0.25);
}

body.sinqlo-page .ow-add-account-form-wrap {
  display: none;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
}

body.sinqlo-page .ow-add-account-form-wrap.is-open {
  display: block;
}

body.sinqlo-page .ow-report-scope-bar {
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page);
}

body.sinqlo-page .ow-report-scope-pill {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

body.sinqlo-page .ow-report-scope-pill.is-active,
body.sinqlo-page .ow-report-scope-pill:hover {
  border-color: rgba(255, 77, 157, 0.4);
  background: var(--mint-soft);
}

body.sinqlo-page .ow-report-col-owid {
  white-space: nowrap;
}

body.sinqlo-page .ow-report-owid-tag {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: var(--mint-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  body.sinqlo-page .ow-report-summary-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.sinqlo-page .ow-report-summary-table {
    min-width: 520px;
  }

  body.sinqlo-page .ow-report-drawer .ow-report-panel {
    width: calc(100% - 1rem);
  }
}

/* Dashboard v2 ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â multi-accent color balance (CSS only) */
/* Income metric cards ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â distinct icon backgrounds */
body.sinqlo-page .v2-metric-grid .small-icon {
    width: 48px;
    height: 48px;
    min-width: 34px;
    border-radius: 14px;
    font-size: 1.35rem;
}

body.sinqlo-page .v2-metric-grid > .col-sm-6:nth-child(1) .small-icon {
  color: #fff !important;
  background: linear-gradient(135deg, var(--deep), var(--deep-2)) !important;
}

body.sinqlo-page .v2-metric-grid > .col-sm-6:nth-child(2) .small-icon {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent-emerald), #2563eb) !important;
}

body.sinqlo-page .v2-metric-grid > .col-sm-6:nth-child(3) .small-icon {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent-sky), #0284c7) !important;
}

body.sinqlo-page .v2-metric-grid > .col-sm-6:nth-child(4) .small-icon {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent-amber), #d97706) !important;
}

body.sinqlo-page .v2-layout .circle-btn {
  color: var(--deep);
  background: #f1f5f9;
}

body.sinqlo-page .rank-panel__block:first-child .progress-bar {
  background: linear-gradient(90deg, var(--accent-emerald), #14b8a6);
}

body.sinqlo-page .rank-panel__block:last-child .progress-bar {
  background: linear-gradient(90deg, var(--accent-sky), var(--deep-2));
}

body.sinqlo-page #income-rings-bars circle:nth-child(1) {
  stroke: var(--deep);
}

body.sinqlo-page #income-rings-bars circle:nth-child(2) {
  stroke: var(--accent-emerald);
}

body.sinqlo-page #income-rings-bars circle:nth-child(3) {
  stroke: var(--accent-sky);
}

body.sinqlo-page #income-rings-tracks circle:nth-child(1) {
  stroke: rgb(var(--color-primary-rgb) / 0.12);
}

body.sinqlo-page #income-rings-tracks circle:nth-child(2) {
  stroke: rgb(16 185 129 / 0.14);
}

body.sinqlo-page #income-rings-tracks circle:nth-child(3) {
  stroke: rgb(14 165 233 / 0.14);
}

body.sinqlo-page .fund-overview-chart #fund-chart-lines path:nth-child(1) {
  stroke: var(--accent-sky);
}

body.sinqlo-page .fund-overview-chart #fund-chart-lines path:nth-child(2) {
  stroke: var(--deep);
}

body.sinqlo-page .income-rings-legend-item:hover,
body.sinqlo-page .income-rings-legend-item.is-active {
  background: #f8fafc;
}

/* Dashboard v2 ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â layout, title consistency, bottom alignment */
body.sinqlo-page .main-wrap .panel:not(.bank-card):not(.promo-card):not(.desgn-bg) {
  padding: 10px !important;
}

body.sinqlo-page .main-wrap .panel.invoice-table-card.mb-4.st-table-wrap {
  padding:0 !important
}

body.sinqlo-page .v2-layout {
  align-items: stretch;
}

body.sinqlo-page .v2-layout > .col-lg-6,
body.sinqlo-page .v2-layout > .col-lg-3 {
  display: flex;
  flex-direction: column;
}

body.sinqlo-page .v2-layout > .col-lg-6 .designation-rank-row {
  margin-top: auto;
}

body.sinqlo-page .v2-layout .rank-qualification-card > h2,
body.sinqlo-page .v2-layout .designation-card > .designation-card__eyebrow {
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  color: #222;
  margin-bottom: 1rem !important;
}

body.sinqlo-page .v2-layout .panel h2,
body.sinqlo-page .v2-layout .panel .designation-card__eyebrow {
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  color: #222;
}

body.sinqlo-page .v2-layout .panel h2 {
  margin-bottom: 0 !important;
}

body.sinqlo-page .v2-layout .v2-metric-grid > .col-sm-6 {
  display: flex;
}

body.sinqlo-page .v2-layout .v2-metric-grid .panel {
  flex: 1;
  width: 100%;
}

body.sinqlo-page .v2-layout .v2-metric-grid .panel > .d-flex {
  height: 100%;
}

body.sinqlo-page .v2-layout .v2-metric-grid .d-flex.align-items-center.gap-2 {
  margin-bottom: 0 !important;
}

body.sinqlo-page .v2-layout .designation-rank-row {
  align-items: stretch;
}

body.sinqlo-page .v2-layout .designation-rank-row .panel {
  width: 100%;
  height: 100%;
}

body.sinqlo-page .v2-layout .rank-qualification-card {
  display: flex;
  flex-direction: column;
}

body.sinqlo-page .v2-layout > .v2-side-stack > .panel,
body.sinqlo-page .v2-layout .v2-wide-grid > .panel:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.sinqlo-page .v2-layout .v2-wide-grid {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

body.sinqlo-page .v2-layout .v2-wide-grid > .panel:last-child {
  margin-bottom: 0 !important;
}

body.sinqlo-page .v2-layout .v2-side-stack #income-rings-legend {
  margin-top: auto;
}

body.sinqlo-page .v2-layout .income-rings-legend-item,
body.sinqlo-page .v2-layout .panel .d-grid.gap-3 > .d-flex.align-items-center {
  align-items: center !important;
}

body.sinqlo-page .v2-layout .income-rings-legend-item > strong:last-child,
body.sinqlo-page .v2-layout .panel .d-grid.gap-3 > .d-flex > strong:last-child {
  flex-shrink: 0;
  min-width: 3.25rem;
  text-align: right;
}

body.sinqlo-page .v2-layout .income-rings-legend-item .percent {
  flex-shrink: 0;
}

/* Designation + Rank Qualification ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â matched padding & spacing */
body.sinqlo-page .v2-layout .designation-rank-row .designation-card,
body.sinqlo-page .v2-layout .designation-rank-row .rank-qualification-card {
  gap: 0;
  padding: 1.2rem !important;
}

body.sinqlo-page .v2-layout .designation-rank-row .designation-card__eyebrow,
body.sinqlo-page .v2-layout .designation-rank-row .rank-qualification-card > h2 {
  margin: 0 0 1rem !important;
  padding: 0;
}

body.sinqlo-page .v2-layout .designation-rank-row .designation-card__hero {
  margin-bottom: 0;
}

body.sinqlo-page .v2-layout .designation-rank-row .designation-card__stats {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 1rem;
}

body.sinqlo-page .v2-layout .designation-rank-row .rank-qualification-card {
  display: flex;
  flex-direction: column;
}

body.sinqlo-page .v2-layout .designation-rank-row .rank-qualification-card .rank-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  margin: 0;
  min-height: 0;
}

body.sinqlo-page .v2-layout .designation-rank-row .rank-panel__block:last-child {
  margin-top: auto;
}

body.sinqlo-page .v2-layout .panel > .d-flex.justify-content-between.mb-4,
body.sinqlo-page .v2-layout .panel > .d-flex.justify-content-between.align-items-center.mb-4 {
  margin-bottom: 1rem !important;
}

body.sinqlo-page .invoice-table-card .table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 991.98px) {
  body.sinqlo-page .v2-layout > .col-lg-6 .designation-rank-row {
    margin-top: 0;
  }

  body.sinqlo-page .v2-layout > .v2-side-stack > .panel,
  body.sinqlo-page .v2-layout .v2-wide-grid > .panel:last-child {
    flex: initial;
  }

  body.sinqlo-page .v2-layout .v2-side-stack #income-rings-legend {
    margin-top: 0;
  }


  .designation-card {
    margin-bottom: 0.8rem !important;
    height:auto !important;
  }

  body.sinqlo-page .v2-layout .designation-rank-row .designation-card__hero {
        padding-bottom: 15px;
  }
  
}


/* Plan A income gauge (dashboard) */
.st-ai-gauge {
  text-align: center;
  padding: 0.25rem 0 0.5rem;
}

.st-ai-gauge-stats.list-unstyled  {margin-top:0 !important;}

.st-ai-gauge__ring {
  --st-ai-gauge-size: 220px;
  position: relative;
  width: min(100%, var(--st-ai-gauge-size));
  max-width: var(--st-ai-gauge-size);
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--st-ai-gauge-ring, conic-gradient(from -90deg, #ebe6ff 0% 100%));
  box-shadow:
    0 0 0 1px rgba(139, 92, 255, 0.1),
    0 16px 36px rgba(139, 92, 255, 0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

@media (min-width: 992px) and (max-width: 1399px) {
  .st-ai-gauge__ring {
    --st-ai-gauge-size: 200px;
  }
}

@media (max-width: 575px) {
  .st-ai-gauge__ring {
    --st-ai-gauge-size: 240px;
  }
}

.st-ai-gauge__ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 255, 0.2) 0%, transparent 70%);
  z-index: -1;
  filter: blur(8px);
}

.st-ai-gauge__core {
  width: 58%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    inset 0 2px 10px rgba(139, 92, 255, 0.06),
    0 0 0 4px rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  text-align: center;
}

.st-ai-gauge__label {
  margin: 0 0 0.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--st-muted, #6b7280);
  line-height: 1.2;
}

.st-ai-gauge__value {
  margin: 0;
  font-size: clamp(1rem, 3.5vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--st-ink, #1a1d26);
}

.st-ai-gauge__pct {
  margin-top: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #5b4d8a;
  background: rgba(139, 92, 255, 0.12);
}

.st-ai-gauge__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.st-ai-gauge__chip--credit {
  color: #fff;
  background: linear-gradient(135deg, var(--deep-2), var(--deep));
}

.st-ai-gauge__chip--remain {
  color: var(--blue-dark);
  background: rgb(var(--color-primary-rgb) / 0.12);
  border: 1px solid rgb(var(--color-primary-rgb) / 0.2);
}

.st-ai-gauge-stats__row {
  padding: 0.4rem 0;
 
 
}

.st-ai-gauge-stats__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.st-ai-gauge-stats__dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.st-ai-gauge-stats__dot--target { background: linear-gradient(135deg, #0b5c3a, var(--deep)); }
.st-ai-gauge-stats__dot--credit { background: linear-gradient(135deg, var(--deep), var(--deep-2)); }
.st-ai-gauge-stats__dot--remain { background: linear-gradient(135deg, var(--deep-2), #93c5fd); }
.st-ai-gauge-stats__dot--held { background: linear-gradient(135deg, #f59e0b, #fbbf24); }

.st-ai-gauge-stats__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--st-ink, #1a1d26);
  text-align: left;
}

.st-ai-gauge-stats__amount {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--st-ink, #1a1d26);
  white-space: nowrap;
}

.st-ai-gauge-stats__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(139, 92, 255, 0.1);
  overflow: hidden;
}

.st-ai-gauge-stats__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 0.45s ease;
}


.st-ai-gauge-stats__fill--target { background: linear-gradient(90deg, #0b5c3a, var(--deep)); }
.st-ai-gauge-stats__fill--credit { background: linear-gradient(90deg, var(--deep), var(--deep-2)); }
.st-ai-gauge-stats__fill--remain { background: linear-gradient(90deg, var(--deep-2), #93c5fd); }
.st-ai-gauge-stats__fill--held { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.income-chart-metrics .income-metric__value {
    background: linear-gradient(120deg, var(--deep) 0%, var(--deep-2) 55%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text !important;
    color: transparent !important;
    font-weight:700 !important;
}


.fd-booster-detail-card {
          border: 1px solid var(--st-border, rgba(15, 23, 42, 0.08));
          border-radius: 12px;
          padding: 0.85rem 1rem;
          background: rgba(15, 23, 42, 0.02);
        }
        .fd-booster-detail-card__head {
          display: flex;
          flex-wrap: wrap;
          gap: 0.35rem 0.75rem;
          align-items: baseline;
        }
        .fd-booster-detail-card__id {
          font-weight: 700;
        }
        .fd-booster-detail-card__meta {
          font-size: 0.75rem;
        }
        .fd-booster-level2 {
          margin-top: 0.75rem;
          padding-top: 0.75rem;
          border-top: 1px dashed rgba(15, 23, 42, 0.12);
        }
        .fd-booster-level2__title {
          font-size: 0.75rem;
          font-weight: 700;
          letter-spacing: 0.04em;
          text-transform: uppercase;
          color: var(--st-muted, #64748b);
          margin-bottom: 0.5rem;
        }
        .fd-booster-level2__item + .fd-booster-level2__item {
          margin-top: 0.5rem;
        }
/* Dashboard — Bento layout (index.html) */

body.sinqlo-page .main-wrap--dashboard {
  padding: 0.85rem 1rem !important;
}

@media (min-width: 1200px) {
  body.sinqlo-page .main-wrap--dashboard {
    padding: 1rem 1.35rem !important;
  }
}

body.sinqlo-page .dash-page--bento {
  max-width: 1440px;
}

body.sinqlo-page .dash-footer {
  margin-top: 1rem;
  padding-top: 0.5rem;
}

/* —— Top bar —— */
body.sinqlo-page .dash-topbar--bento {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
  margin-bottom: 0.85rem;
}

body.sinqlo-page .dash-topbar__lead {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

body.sinqlo-page .dash-topbar__greeting {
  min-width: 0;
}

body.sinqlo-page .dash-topbar__eyebrow {
  margin: 0 0 0.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .dash-topbar__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}

body.sinqlo-page .dash-topbar__title span {
  color: var(--deep);
}

body.sinqlo-page .dash-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

body.sinqlo-page .dash-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  body.sinqlo-page .dash-topbar--bento {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "menu spacer actions"
      "greeting greeting greeting";
    gap: 0.45rem 0.4rem;
    align-items: center;
    margin-bottom: 0.75rem;
  }

  body.sinqlo-page .dash-topbar__lead {
    display: contents;
  }

  body.sinqlo-page .dash-topbar--bento .mobile-menu-btn {
    grid-area: menu;
  }

  body.sinqlo-page .dash-topbar__greeting {
    grid-area: greeting;
    min-width: 0;
  }

  body.sinqlo-page .dash-topbar__actions {
    grid-area: actions;
    gap: 0.3rem;
  }

  body.sinqlo-page .dash-topbar__eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.15rem;
  }

  body.sinqlo-page .dash-topbar__title {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  body.sinqlo-page .dash-topbar--bento .circle-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  body.sinqlo-page .dash-topbar__title {
    font-size: 1rem;
  }
}

body.sinqlo-page .sidebar-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  margin-bottom: 1rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
}

body.sinqlo-page .sidebar-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  outline: none;
}

body.sinqlo-page .sidebar-upgrade {
  margin-top: auto;
  padding: 1rem;
  border-radius: 14px;
  background: #f9f8f3;
  border: 1px solid #ece8df;
}

body.sinqlo-page .sidebar-upgrade p {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

body.sinqlo-page .sidebar-upgrade__btn {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

body.sinqlo-page .app-sidebar {
  display: flex;
  flex-direction: column;
}

body.sinqlo-page .sidebar-link--parent.is-active,
body.sinqlo-page .sidebar-nav-group.is-open > .sidebar-link--parent {
  position: relative;
}

body.sinqlo-page .sidebar-link--parent.is-active::before,
body.sinqlo-page .sidebar-nav-group.is-open > .sidebar-link--parent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 58%;
  border-radius: 0 4px 4px 0;
  background: var(--deep);
  transform: translateY(-50%);
}

body.sinqlo-page .dash-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0 0.35rem;
  text-decoration: none;
  color: var(--ink);
}

body.sinqlo-page .dash-brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-size: 1.1rem;
}

body.sinqlo-page .dash-brand__text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.sinqlo-page .app-sidebar--dash .dash-brand--logo {
  margin-bottom: 0.55rem;
  padding: 0 0.25rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

 

/* Dashboard sidebar v2 — compact */
body.sinqlo-page .app-sidebar--dash {
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 0.7rem 0.55rem !important;
}

body.sinqlo-page .app-sidebar--dash .dash-brand {
  margin-bottom: 0.55rem;
  padding: 0 0.25rem 0.6rem;
  border-bottom: 1px solid var(--line);
  gap: 0.5rem;
}

body.sinqlo-page .app-sidebar--dash .dash-brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 0.95rem;
}

body.sinqlo-page .app-sidebar--dash .dash-brand__text {
  font-size: 0.92rem;
}

body.sinqlo-page .app-sidebar--dash .sidebar-nav {
  gap: 0.1rem !important;
  padding-top: 0;
}

body.sinqlo-page .app-sidebar--dash .sidebar-link {
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.28rem 0.45rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .app-sidebar--dash .sidebar-link i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1;
  color: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}

body.sinqlo-page .app-sidebar--dash .sidebar-nav-separator {
  margin: 0.22rem 0.35rem;
  background: var(--line);
  opacity: 0.85;
}

body.sinqlo-page .app-sidebar--dash .sidebar-submenu {
  margin-left: 0.25rem;
  padding-left: 0.45rem;
  gap: 0.05rem;
  border-left: 1px solid var(--line);
}

body.sinqlo-page .app-sidebar--dash .sidebar-sublink {
  min-height: 30px;
  padding: 0.22rem 0.4rem;
  font-size: 0.76rem;
  font-weight: 500;
}

body.sinqlo-page .app-sidebar--dash .sidebar-sublink i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 0.85rem;
}

body.sinqlo-page .app-sidebar--dash .sidebar-submenu-caret {
  font-size: 0.95rem;
}

body.sinqlo-page .app-sidebar--dash .sidebar-nav-group {
  gap: 0.05rem;
}

body.sinqlo-page .app-sidebar--dash .sidebar-link:hover {
  color: var(--ink);
  background: rgb(var(--color-primary-rgb) / 0.06);
}

body.sinqlo-page .app-sidebar--dash .sidebar-link:hover i {
  background: rgb(var(--color-primary-rgb) / 0.1);
  color: var(--deep);
}

body.sinqlo-page .app-sidebar--dash .sidebar-link.active,
body.sinqlo-page .app-sidebar--dash .sidebar-link.active:hover {
  color: var(--deep);
  background: rgb(var(--color-primary-rgb) / 0.1);
  box-shadow: inset 0 0 0 1px rgb(var(--color-primary-rgb) / 0.12);
}

body.sinqlo-page .app-sidebar--dash .sidebar-link.active i {
  background: var(--gradient);
  color: #fff;
}

body.sinqlo-page .app-sidebar--dash .sidebar-link--parent.is-active,
body.sinqlo-page .app-sidebar--dash .sidebar-nav-group.is-open > .sidebar-link--parent,
body.sinqlo-page .app-sidebar--dash .sidebar-link--parent.is-active:hover,
body.sinqlo-page .app-sidebar--dash .sidebar-nav-group.is-open > .sidebar-link--parent:hover {
  color: var(--deep);
  background: rgb(var(--color-primary-rgb) / 0.1);
  box-shadow: inset 0 0 0 1px rgb(var(--color-primary-rgb) / 0.12);
}

body.sinqlo-page .app-sidebar--dash .sidebar-link--parent.is-active i,
body.sinqlo-page .app-sidebar--dash .sidebar-nav-group.is-open > .sidebar-link--parent i {
  background: rgb(var(--color-primary-rgb) / 0.12);
  color: var(--deep);
}

body.sinqlo-page .app-sidebar--dash .sidebar-upgrade {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgb(var(--color-primary-rgb) / 0.08) 0%, rgb(var(--color-cyan-rgb) / 0.06) 100%);
  border: 1px solid rgb(var(--color-primary-rgb) / 0.12);
}

body.sinqlo-page .app-sidebar--dash .sidebar-link--parent.is-active::before,
body.sinqlo-page .app-sidebar--dash .sidebar-nav-group.is-open > .sidebar-link--parent::before {
  display: none;
}

/* —— Bento grid —— */
body.sinqlo-page .bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: start;
}

/* Insight row — single grid row, no stretch from row-span-2 above */
body.sinqlo-page .bento-insight-row {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
}

/* Spotlight insight row — refreshed Network / Rank / Income cards */
body.sinqlo-page .bento-spotlight-row {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
}

body.sinqlo-page .bento-spotlight {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  min-height: 268px;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, #fff 0%, rgb(var(--color-primary-rgb) / 0.03) 100%);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.sinqlo-page .bento-spotlight:hover {
  border-color: rgb(var(--color-primary-rgb) / 0.28);
  box-shadow: 0 14px 32px rgb(var(--color-primary-rgb) / 0.1);
  transform: translateY(-2px);
}

body.sinqlo-page .bento-spotlight--network {
  background: linear-gradient(160deg, #fff 0%, #f0fdf9 55%, #eff6ff 100%);
}

body.sinqlo-page .bento-spotlight--rank {
  min-height: 320px;
  background: linear-gradient(160deg, #fff 0%, #fffbeb 55%, #fef3c7 100%);
}

body.sinqlo-page .bento-spotlight--income {
  background: linear-gradient(160deg, #fff 0%, #f5f3ff 55%, #ede9fe 100%);
}

body.sinqlo-page .bento-spotlight__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

body.sinqlo-page .bento-spotlight__eyebrow {
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.sinqlo-page .bento-spotlight__title {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

body.sinqlo-page .bento-spotlight__action {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.sinqlo-page .bento-spotlight__action:hover {
  background: rgb(var(--color-primary-rgb) / 0.08);
  border-color: rgb(var(--color-primary-rgb) / 0.35);
}

body.sinqlo-page .bento-spotlight__pill {
  flex-shrink: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgb(var(--color-primary-rgb) / 0.1);
  color: var(--deep);
  font-size: 0.72rem;
  font-weight: 700;
}

body.sinqlo-page .bento-spotlight__pill--amber {
  background: #fef3c7;
  color: #b45309;
}

body.sinqlo-page .bento-spotlight__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

/* Network panel */
body.sinqlo-page .net-panel__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

body.sinqlo-page .net-panel__label {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

body.sinqlo-page .net-panel__value {
  display: block;
  color: var(--ink);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

body.sinqlo-page .net-panel__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
}

body.sinqlo-page .net-panel__chip--up {
  background: #dbeafe;
  color: #15803d;
}

body.sinqlo-page .net-panel__chip--pending {
  background: #fef3c7;
  color: #b45309;
}

body.sinqlo-page .net-panel__binary-pending {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgb(254 243 199 / 0.45);
  border: 1px solid rgb(251 191 36 / 0.35);
}

body.sinqlo-page .net-panel__binary-pending-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 0.25rem;
}

body.sinqlo-page .net-panel__binary-pending-list {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--ink);
}

body.sinqlo-page .net-panel__binary-pending-list li + li {
  margin-top: 0.15rem;
}

body.sinqlo-page .net-panel__binary-activated-at {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: rgb(220 252 231 / 0.55);
  border: 1px solid rgb(34 197 94 / 0.28);
}

body.sinqlo-page .net-panel__binary-activated-at-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #15803d;
}

body.sinqlo-page .net-panel__binary-activated-at-value {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

body.sinqlo-page[data-appearance="dark"] .net-panel__binary-activated-at {
  background: rgb(34 197 94 / 0.12);
  border-color: rgb(34 197 94 / 0.24);
}

body.sinqlo-page[data-appearance="dark"] .net-panel__binary-activated-at-label {
  color: #4ade80;
}

body.sinqlo-page[data-appearance="dark"] .net-panel__chip--pending {
  background: rgb(251 191 36 / 0.16);
  color: #fbbf24;
}

body.sinqlo-page[data-appearance="dark"] .net-panel__binary-pending {
  background: rgb(251 191 36 / 0.1);
  border-color: rgb(251 191 36 / 0.22);
}

body.sinqlo-page .net-panel__split-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink);
}

body.sinqlo-page .net-panel__split-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--line);
}

body.sinqlo-page .net-panel__split-left {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

body.sinqlo-page .net-panel__split-right {
  background: linear-gradient(90deg, #93c5fd, #2563eb);
}

body.sinqlo-page .net-panel__split-labels {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.66rem;
  color: var(--muted);
}

body.sinqlo-page .net-panel__split-labels strong {
  color: var(--ink);
  font-weight: 700;
}

body.sinqlo-page .net-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sinqlo-page .net-panel__stats li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.72);
}

body.sinqlo-page .net-panel__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 8px;
  font-size: 0.82rem;
}

body.sinqlo-page .net-panel__stat-icon--sky {
  background: #e0f2fe;
  color: #0284c7;
}

body.sinqlo-page .net-panel__stat-icon--violet {
  background: #ede9fe;
  color: #7c3aed;
}

body.sinqlo-page .net-panel__stat-icon--mint {
  background: #dbeafe;
  color: #2563eb;
}

body.sinqlo-page .net-panel__stat-label {
  font-size: 0.62rem;
  color: var(--muted);
  font-weight: 600;
}

body.sinqlo-page .net-panel__stat-value {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 800;
}

/* Rank progress panel (dashboard spotlight) */
body.sinqlo-page .bento-rank {
  gap: 0.7rem;
}

body.sinqlo-page .bento-rank__hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgb(245 158 11 / 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 55%, #fef3c7 100%);
}

body.sinqlo-page .bento-rank__ring {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

body.sinqlo-page .bento-rank__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

body.sinqlo-page .bento-rank__ring-track,
body.sinqlo-page .bento-rank__ring-fill {
  fill: none;
  stroke-width: 7;
}

body.sinqlo-page .bento-rank__ring-track {
  stroke: rgb(245 158 11 / 0.18);
}

body.sinqlo-page .bento-rank__ring-fill {
  stroke: url(#rankRingGrad);
  stroke: #f59e0b;
  stroke-linecap: round;
  stroke-dasharray: 226.2;
  stroke-dashoffset: calc(226.2 - (226.2 * var(--rank-progress, 0) / 100));
  transition: stroke-dashoffset 0.6s ease;
}

body.sinqlo-page .bento-rank__ring-core {
  position: absolute;
  inset: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  border-radius: 50%;
  background: linear-gradient(160deg, #fff 0%, #fef3c7 100%);
  box-shadow: inset 0 0 0 1px rgb(245 158 11 / 0.2);
}

body.sinqlo-page .bento-rank__ring-core i {
  font-size: 0.85rem;
  color: #d97706;
  line-height: 1;
}

body.sinqlo-page .bento-rank__ring-core strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: #92400e;
  line-height: 1;
  letter-spacing: 0.02em;
}

body.sinqlo-page .bento-rank__status {
  display: inline-block;
  margin-bottom: 0.15rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgb(245 158 11 / 0.15);
  color: #b45309;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.sinqlo-page .bento-rank__name {
  display: block;
  margin: 0 0 0.2rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

body.sinqlo-page .bento-rank__bonus {
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.3;
}

body.sinqlo-page .bento-rank__bonus em {
  font-style: normal;
  font-weight: 800;
  color: #b45309;
}

body.sinqlo-page .bento-rank__next {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.3;
}

body.sinqlo-page .bento-rank__next strong {
  color: var(--ink);
  font-weight: 700;
}

body.sinqlo-page .bento-rank__path {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: start;
  gap: 0.15rem;
  padding: 0.15rem 0.1rem;
}

body.sinqlo-page .bento-rank__mile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  text-align: center;
}

body.sinqlo-page .bento-rank__mile-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

body.sinqlo-page .bento-rank__mile.is-done .bento-rank__mile-dot {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

body.sinqlo-page .bento-rank__mile.is-current .bento-rank__mile-dot {
  border-color: #f59e0b;
  background: linear-gradient(145deg, #fbbf24, #f59e0b);
  color: #fff;
  box-shadow: 0 0 0 4px rgb(245 158 11 / 0.18);
}

body.sinqlo-page .bento-rank__mile.is-next .bento-rank__mile-dot {
  border-color: #e5e7eb;
  background: #f9fafb;
  color: #9ca3af;
}

body.sinqlo-page .bento-rank__mile-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.2;
}

body.sinqlo-page .bento-rank__mile.is-current .bento-rank__mile-label {
  color: #b45309;
}

body.sinqlo-page .bento-rank__mile-line {
  position: relative;
  height: 3px;
  margin-top: 0.72rem;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

body.sinqlo-page .bento-rank__mile-line.is-done {
  background: var(--deep);
}

body.sinqlo-page .bento-rank__mile-line.is-partial > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

body.sinqlo-page .bento-rank__meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .bento-rank__meter-head strong {
  color: #b45309;
  font-weight: 800;
}

body.sinqlo-page .bento-rank__meter-bar {
  height: 8px;
  border-radius: 999px;
  background: rgb(245 158 11 / 0.14);
  overflow: hidden;
}

body.sinqlo-page .bento-rank__meter-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fcd34d, #f59e0b 55%, #d97706);
  box-shadow: 0 0 10px rgb(245 158 11 / 0.35);
}

body.sinqlo-page .bento-rank__targets {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.72);
}

body.sinqlo-page .bento-rank__targets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .bento-rank__targets-head strong {
  color: var(--ink);
  font-weight: 800;
}

body.sinqlo-page .bento-rank__target-row + .bento-rank__target-row {
  padding-top: 0.45rem;
  border-top: 1px dashed rgb(15 23 42 / 0.08);
}

body.sinqlo-page .bento-rank__target-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink);
}

body.sinqlo-page .bento-rank__target-top span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

body.sinqlo-page .bento-rank__target-top span:last-child {
  color: var(--muted);
  font-weight: 700;
}

body.sinqlo-page .bento-rank__target-foot {
  margin: 0.25rem 0 0;
  font-size: 0.64rem;
  color: var(--muted);
}

body.sinqlo-page .bento-rank__target-foot strong {
  color: #b45309;
}

body.sinqlo-page .bento-rank__meter-bar--leg {
  height: 7px;
  background: rgb(15 23 42 / 0.06);
}

body.sinqlo-page .bento-rank__meter-bar--left > span {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  box-shadow: none;
}

body.sinqlo-page .bento-rank__meter-bar--right > span {
  background: linear-gradient(90deg, #93c5fd, #2563eb);
  box-shadow: none;
}

body.sinqlo-page .bento-rank__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

body.sinqlo-page .bento-rank__stat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.8);
}

body.sinqlo-page .bento-rank__stat > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fef3c7;
  color: #d97706;
  font-size: 0.85rem;
}

body.sinqlo-page .bento-rank__stat span {
  display: block;
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.2;
}

body.sinqlo-page .bento-rank__stat strong {
  display: block;
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
}

/* Income stack panel */
body.sinqlo-page .income-panel__stack {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--line);
}

body.sinqlo-page .income-panel__seg--trading {
  background: linear-gradient(90deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .income-panel__seg--working {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

body.sinqlo-page .income-panel__seg--wallet {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

body.sinqlo-page .income-panel__seg--level {
  background: linear-gradient(90deg, #5609e1, #7c3aed);
}

body.sinqlo-page .income-panel__seg--binary {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

body.sinqlo-page .income-panel__seg--rewards {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

body.sinqlo-page .income-panel__seg--passive {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

body.sinqlo-page .income-panel__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sinqlo-page .income-panel__item {
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.72);
}

body.sinqlo-page .income-panel__item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
}

body.sinqlo-page .income-panel__item-top i {
  margin-right: 0.2rem;
  color: var(--deep);
}

body.sinqlo-page .income-panel__item-top strong {
  font-size: 0.82rem;
}

body.sinqlo-page .income-panel__item-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 0.25rem;
}

body.sinqlo-page .income-panel__item--trading .income-panel__item-bar span {
  background: linear-gradient(90deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .income-panel__item--working .income-panel__item-bar span {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

body.sinqlo-page .income-panel__item--wallet .income-panel__item-bar span {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

body.sinqlo-page .income-panel__item--level .income-panel__item-bar span {
  background: linear-gradient(90deg, #5609e1, #7c3aed);
}

body.sinqlo-page .income-panel__item--binary .income-panel__item-bar span {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

body.sinqlo-page .income-panel__item--rewards .income-panel__item-bar span {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

body.sinqlo-page .income-panel__item--passive .income-panel__item-bar span {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

body.sinqlo-page .income-panel__item-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

body.sinqlo-page .income-panel__item small {
  color: var(--muted);
  font-size: 0.62rem;
}

/* Revenue performance card */
body.sinqlo-page .bento-revenue-card {
  padding: 1.1rem 1.15rem 0.85rem;
  background: linear-gradient(180deg, #fff 0%, rgb(var(--color-primary-rgb) / 0.02) 100%);
}

body.sinqlo-page .bento-revenue-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

body.sinqlo-page .bento-revenue-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  min-width: min(100%, 480px);
}

body.sinqlo-page .bento-revenue-kpi {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.sinqlo-page .bento-revenue-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

body.sinqlo-page .bento-revenue-kpi:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgb(15 23 42 / 0.06);
}

body.sinqlo-page .bento-revenue-kpi__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  border-radius: 11px;
  font-size: 1.15rem;
}

body.sinqlo-page .bento-revenue-kpi__body {
  min-width: 0;
  flex: 1;
}

body.sinqlo-page .bento-revenue-kpi span {
  display: block;
  font-size: 0.64rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.12rem;
  letter-spacing: 0.01em;
}

body.sinqlo-page .bento-revenue-kpi strong {
  display: block;
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

body.sinqlo-page .bento-revenue-kpi__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  margin-top: 0.28rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

body.sinqlo-page .bento-revenue-kpi--credit {
  background: linear-gradient(145deg, #eff6ff 0%, #fff 55%, #f0fdf4 100%);
  border-color: rgb(16 185 129 / 0.28);
}

body.sinqlo-page .bento-revenue-kpi--credit::before {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
}

body.sinqlo-page .bento-revenue-kpi--credit .bento-revenue-kpi__icon {
  background: linear-gradient(145deg, #93c5fd, #2563eb);
  color: #fff;
  box-shadow: 0 4px 10px rgb(16 185 129 / 0.28);
}

body.sinqlo-page .bento-revenue-kpi--credit strong {
  color: var(--deep);
}

body.sinqlo-page .bento-revenue-kpi--credit .bento-revenue-kpi__hint {
  background: rgb(16 185 129 / 0.12);
  color: #047857;
}

body.sinqlo-page .bento-revenue-kpi--debit {
  background: linear-gradient(145deg, #fef2f2 0%, #fff 55%, #fff1f2 100%);
  border-color: rgb(239 68 68 / 0.28);
}

body.sinqlo-page .bento-revenue-kpi--debit::before {
  background: linear-gradient(180deg, #f87171, #dc2626);
}

body.sinqlo-page .bento-revenue-kpi--debit .bento-revenue-kpi__icon {
  background: linear-gradient(145deg, #f87171, #dc2626);
  color: #fff;
  box-shadow: 0 4px 10px rgb(239 68 68 / 0.25);
}

body.sinqlo-page .bento-revenue-kpi--debit strong {
  color: #dc2626;
}

body.sinqlo-page .bento-revenue-kpi--debit .bento-revenue-kpi__hint {
  background: rgb(239 68 68 / 0.1);
  color: #b91c1c;
}

body.sinqlo-page .bento-revenue-kpi--net {
  background: linear-gradient(145deg, #eff6ff 0%, #fff 55%, #eef2ff 100%);
  border-color: rgb(59 130 246 / 0.28);
}

body.sinqlo-page .bento-revenue-kpi--net::before {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

body.sinqlo-page .bento-revenue-kpi--net .bento-revenue-kpi__icon {
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  color: #fff;
  box-shadow: 0 4px 10px rgb(37 99 235 / 0.25);
}

body.sinqlo-page .bento-revenue-kpi--net strong {
  color: #2563eb;
}

body.sinqlo-page .bento-revenue-kpi--net .bento-revenue-kpi__hint,
body.sinqlo-page .bento-revenue-kpi__hint--up {
  background: rgb(37 99 235 / 0.1);
  color: #1d4ed8;
}

body.sinqlo-page .bento-revenue-card__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

body.sinqlo-page .bento-revenue-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .bento-revenue-legend__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}

body.sinqlo-page .bento-revenue-legend__dot--credit {
  background: var(--deep);
}

body.sinqlo-page .bento-revenue-legend__dot--debit {
  background: var(--cyan);
}

body.sinqlo-page .bento-revenue-chart {
  min-height: 300px;
  margin-top: 0.25rem;
}

body.sinqlo-page .bento-insight {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  min-height: 240px;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.sinqlo-page .bento-insight:hover {
  border-color: rgb(var(--color-primary-rgb) / 0.25);
  box-shadow: 0 12px 28px rgb(var(--color-primary-rgb) / 0.09);
  transform: translateY(-2px);
}

body.sinqlo-page .bento-insight__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

body.sinqlo-page .bento-cell {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 1rem 1.1rem;
  min-width: 0;
}

/* Top row — separate left + metrics cards, equal height */
body.sinqlo-page .bento-top-row {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0.75rem;
  align-items: stretch;
  min-width: 0;
}

body.sinqlo-page .bento-top-row > .bento-cell {
  height: 100%;
  padding: 0.65rem;
}

body.sinqlo-page .bento-left-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

body.sinqlo-page .bento-left-stack .bento-wallet {
  flex: 0 0 auto;
  min-height: 0;
}

body.sinqlo-page .bento-left-stack .bento-quick-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.sinqlo-page .bento-left-stack .bento-quick {
  flex: 1;
  align-content: stretch;
}

body.sinqlo-page .bento-left-stack .bento-quick__btn {
  min-height: 54px;
  height: 100%;
}

body.sinqlo-page .bento-cell--metrics {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
}

body.sinqlo-page .bento-cell--metrics .bento-metrics {
  flex: 1;
  height: 100%;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
}

/* Profile + withdraw refreshed pages */
body.sinqlo-page .profile-page,
body.sinqlo-page .withdraw-page {
  gap: 1rem;
  align-items: stretch;
}

body.sinqlo-page .profile-page .profile-account,
body.sinqlo-page .profile-page .profile-security,
body.sinqlo-page .profile-page .profile-credential {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.sinqlo-page .profile-page .deposit-card__head {
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

body.sinqlo-page .profile-page__row .bento-spotlight__eyebrow,
body.sinqlo-page .profile-login .bento-spotlight__eyebrow {
  color: var(--deep);
  font-weight: 700;
  opacity: 0.85;
}

body.sinqlo-page .profile-page__row .bento-cell__title,
body.sinqlo-page .profile-login .bento-cell__title {
  font-size: 1rem;
}

body.sinqlo-page .profile-page__row {
  grid-column: span 12;
  display: grid;
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
}

body.sinqlo-page .profile-page__row--split {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

body.sinqlo-page .profile-page__row--split > .profile-account {
  grid-column: span 7;
}

body.sinqlo-page .profile-page__row--split > .profile-security {
  grid-column: span 5;
}

body.sinqlo-page .profile-page__row--credentials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.sinqlo-page .profile-page__row--credentials > .profile-credential {
  grid-column: auto;
}

body.sinqlo-page .profile-page__row > .bento-cell {
  height: 100%;
}

/* Profile banner — follows the active color theme */
body.sinqlo-page .deposit-hero.profile-banner {
  border: 0;
  background: linear-gradient(135deg, var(--deep-3) 0%, var(--deep) 48%, var(--deep-2) 100%);
  box-shadow: 0 20px 44px rgb(var(--color-primary-rgb) / 0.3);
}

body.sinqlo-page .profile-banner .deposit-hero__grid {
  align-items: stretch;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem;
}

body.sinqlo-page .profile-banner__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  min-width: 0;
}

body.sinqlo-page .profile-banner .bento-spotlight__eyebrow {
  color: rgb(255 255 255 / 0.72);
  letter-spacing: 0.08em;
}

body.sinqlo-page .profile-banner .deposit-hero__title {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

body.sinqlo-page .deposit-hero__panel.profile-banner__panel {
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.12);
  backdrop-filter: blur(6px);
  box-shadow: none;
}

body.sinqlo-page .profile-banner__panel .deposit-hero__panel-label {
  color: rgb(255 255 255 / 0.8);
}

body.sinqlo-page .profile-banner__panel .deposit-hero__panel-value {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}

body.sinqlo-page .profile-banner__panel .deposit-hero__panel-hint {
  margin-bottom: 0;
  color: rgb(255 255 255 / 0.78);
}

body.sinqlo-page .profile-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

body.sinqlo-page .profile-banner__identity {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 0;
}

body.sinqlo-page .profile-banner__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  flex-shrink: 0;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.3);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.18);
}

body.sinqlo-page .profile-banner__meta {
  margin: 0.15rem 0 0;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.76rem;
}

body.sinqlo-page .profile-banner__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body.sinqlo-page .profile-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

body.sinqlo-page .profile-banner__chip i {
  color: rgb(255 255 255 / 0.9);
}

body.sinqlo-page .profile-banner__chip--soft {
  border-color: rgb(255 255 255 / 0.2);
  color: rgb(255 255 255 / 0.85);
  background: rgb(255 255 255 / 0.08);
}

body.sinqlo-page .profile-banner__bar {
  width: 100%;
  height: 8px;
  margin: 0.35rem 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.22);
  overflow: hidden;
}

body.sinqlo-page .profile-banner__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

body.sinqlo-page .profile-account__list {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

body.sinqlo-page .profile-account__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  flex: 1;
  min-height: 3.35rem;
  padding: 0.7rem 0.85rem;
}

body.sinqlo-page .profile-account__list li > div {
  min-width: 0;
}

body.sinqlo-page .profile-account__list li + li {
  border-top: 1px solid var(--line);
}

body.sinqlo-page .profile-account__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgb(var(--color-primary-rgb) / 0.1);
  color: var(--deep);
  font-size: 1rem;
  line-height: 1;
}

body.sinqlo-page .profile-account__icon i {
  display: block;
  line-height: 1;
}

body.sinqlo-page .profile-account__list li > div span {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body.sinqlo-page .profile-account__list li strong {
  display: block;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.sinqlo-page .profile-security__actions {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

body.sinqlo-page .profile-security__btn {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  flex: 1;
  width: 100%;
  min-height: 3.35rem;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.sinqlo-page .profile-security__btn + .profile-security__btn {
  border-top: 1px solid var(--line);
}

body.sinqlo-page .profile-security__btn:hover {
  background: rgb(var(--color-primary-rgb) / 0.04);
  transform: none;
}

body.sinqlo-page .profile-security__btn-copy {
  min-width: 0;
}

body.sinqlo-page .profile-security__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 11px;
  background: rgb(var(--color-primary-rgb) / 0.1);
  color: var(--deep);
  font-size: 1rem;
}

body.sinqlo-page .profile-security__btn-copy strong {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
}

body.sinqlo-page .profile-security__btn-copy small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.35;
}

body.sinqlo-page .profile-security__btn > i:last-child {
  color: var(--muted);
  font-size: 1rem;
}

body.sinqlo-page .profile-credential__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}

body.sinqlo-page .profile-credential__box {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

body.sinqlo-page .profile-credential__box code {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

body.sinqlo-page .profile-credential__box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 5.2rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
}

body.sinqlo-page .profile-credential__hint {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

body.sinqlo-page .profile-login.deposit-tx {
  padding-bottom: 0.85rem;
}

body.sinqlo-page .profile-login .deposit-tx__head {
  margin-bottom: 0.75rem;
}

body.sinqlo-page .profile-login .deposit-tx__row .profile-login__status {
  font-style: normal;
  margin: 0;
}

body.sinqlo-page .profile-login__status,
body.sinqlo-page .withdraw-history__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

body.sinqlo-page .profile-login__status--ok,
body.sinqlo-page .withdraw-history__status--ok {
  background: #eff6ff;
  color: var(--deep);
}

body.sinqlo-page .profile-login__status--pending,
body.sinqlo-page .withdraw-history__status--pending {
  background: #fffbeb;
  color: #b45309;
}

body.sinqlo-page .profile-login__status--bad,
body.sinqlo-page .withdraw-history__status--bad {
  background: #fef2f2;
  color: #dc2626;
}

body.sinqlo-page .withdraw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: stretch;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 45%, #eff6ff 100%);
  border-color: rgb(var(--color-primary-rgb) / 0.18);
}

body.sinqlo-page .withdraw-hero__title {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
}

body.sinqlo-page .withdraw-hero__sub {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

body.sinqlo-page .withdraw-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.95rem;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.06);
}

body.sinqlo-page .withdraw-hero__panel span,
body.sinqlo-page .withdraw-kpi span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
}

body.sinqlo-page .withdraw-hero__panel strong {
  color: var(--deep);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800;
  line-height: 1.1;
}

body.sinqlo-page .withdraw-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  margin-top: 0.55rem;
  border: 0;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgb(var(--color-primary-rgb) / 0.25);
}

body.sinqlo-page .withdraw-kpis {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

body.sinqlo-page .withdraw-kpi {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.55rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

body.sinqlo-page .withdraw-kpi > i {
  grid-row: span 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 11px;
  background: var(--gradient);
  color: #fff;
}

body.sinqlo-page .withdraw-kpi strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
}

body.sinqlo-page .withdraw-kpi em {
  color: var(--muted);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
}

body.sinqlo-page .withdraw-rules__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sinqlo-page .withdraw-rules__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

body.sinqlo-page .withdraw-rules__list li:first-child {
  border-top: 0;
}

body.sinqlo-page .withdraw-rules__list i {
  margin-top: 0.1rem;
  color: var(--deep);
}

body.sinqlo-page .withdraw-address__box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.15);
  border-radius: 14px;
  background: #f8fafc;
}

body.sinqlo-page .withdraw-address__box > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--deep);
  font-size: 1.1rem;
}

body.sinqlo-page .withdraw-address__box span {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
}

body.sinqlo-page .withdraw-address__box strong {
  display: block;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  overflow-wrap: anywhere;
}

body.sinqlo-page .withdraw-history__amount {
  color: var(--ink);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

body.sinqlo-page .withdraw-history__amount--up {
  color: var(--deep);
}

body.sinqlo-page .withdraw-history__amount--down {
  color: #dc2626;
}

@media (max-width: 1199.98px) {
  body.sinqlo-page .profile-page .bento-cell--span-5,
  body.sinqlo-page .profile-page .bento-cell--span-6,
  body.sinqlo-page .profile-page .bento-cell--span-7,
  body.sinqlo-page .profile-page__row--split > .profile-account,
  body.sinqlo-page .profile-page__row--split > .profile-security,
  body.sinqlo-page .withdraw-page .bento-cell--span-5,
  body.sinqlo-page .withdraw-page .bento-cell--span-7 {
    grid-column: span 12;
  }

  body.sinqlo-page .profile-page__row--credentials {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .withdraw-hero {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .withdraw-kpis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  body.sinqlo-page .profile-section-head,
  body.sinqlo-page .deposit-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.sinqlo-page .profile-banner__identity {
    flex-direction: column;
    align-items: flex-start;
  }

  body.sinqlo-page .profile-account__list li,
  body.sinqlo-page .profile-security__btn {
    flex: 0 0 auto;
    min-height: 0;
  }

  body.sinqlo-page .profile-credential__body {
    justify-content: flex-start;
  }

  body.sinqlo-page .profile-credential__box {
    flex-direction: column;
  }

  body.sinqlo-page .profile-credential__box button {
    width: 100%;
    min-width: 0;
  }

  body.sinqlo-page .profile-login .deposit-tx__row {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
}

body.sinqlo-page[data-appearance="dark"] .profile-banner__chip,
body.sinqlo-page[data-appearance="dark"] .profile-account__list,
body.sinqlo-page[data-appearance="dark"] .profile-security__actions,
body.sinqlo-page[data-appearance="dark"] .profile-security__btn,
body.sinqlo-page[data-appearance="dark"] .profile-credential__box,
body.sinqlo-page[data-appearance="dark"] .profile-credential__box code,
body.sinqlo-page[data-appearance="dark"] .withdraw-hero {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .profile-credential__box {
  background: rgb(255 255 255 / 0.03);
}

body.sinqlo-page[data-appearance="dark"] .profile-banner__chip--soft {
  background: rgb(255 255 255 / 0.04);
}

body.sinqlo-page[data-appearance="dark"] .profile-security__btn:hover {
  background: rgb(255 255 255 / 0.05);
  border-color: rgb(var(--color-primary-rgb) / 0.3);
}

body.sinqlo-page[data-appearance="dark"] .withdraw-hero__panel,
body.sinqlo-page[data-appearance="dark"] .withdraw-kpi,
body.sinqlo-page[data-appearance="dark"] .withdraw-address__box {
  background: var(--surface);
  border-color: var(--line);
}

/* Deposit page — refreshed layout */
body.sinqlo-page .deposit-page {
  gap: 1rem;
}

body.sinqlo-page .deposit-hero {
  padding: 0;
  overflow: hidden;
  border-color: rgb(var(--color-primary-rgb) / 0.22);
  background: linear-gradient(135deg, #eff6ff 0%, #fff 42%, #f0fdf4 100%);
}

body.sinqlo-page .deposit-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 1.2rem;
}

body.sinqlo-page .deposit-hero__title {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
}

body.sinqlo-page .deposit-hero__sub {
  margin: 0 0 0.75rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

body.sinqlo-page .deposit-hero__nets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body.sinqlo-page .deposit-hero__net {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.25);
  background: #fff;
  color: var(--deep);
  font-size: 0.68rem;
  font-weight: 700;
}

body.sinqlo-page .deposit-hero__net--soft {
  border-color: var(--line);
  color: var(--muted);
  background: rgb(255 255 255 / 0.8);
}

body.sinqlo-page .deposit-hero__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.2);
  background: linear-gradient(160deg, #fff 0%, #eff6ff 100%);
  box-shadow: 0 10px 24px rgb(var(--color-primary-rgb) / 0.1);
}

body.sinqlo-page .deposit-hero__panel-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .deposit-hero__panel-value {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--deep);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

body.sinqlo-page .deposit-hero__panel-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.55rem;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .deposit-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgb(var(--color-primary-rgb) / 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.sinqlo-page .deposit-hero__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgb(var(--color-primary-rgb) / 0.34);
  color: #fff;
}

body.sinqlo-page .deposit-kpi-row {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

body.sinqlo-page .deposit-kpi {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

body.sinqlo-page .deposit-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

body.sinqlo-page .deposit-kpi__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border-radius: 11px;
  font-size: 1.1rem;
  color: #fff;
}

body.sinqlo-page .deposit-kpi span {
  display: block;
  font-size: 0.64rem;
  color: var(--muted);
  font-weight: 600;
}

body.sinqlo-page .deposit-kpi strong {
  display: block;
  margin: 0.1rem 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
}

body.sinqlo-page .deposit-kpi em {
  display: block;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .deposit-kpi--credit {
  background: linear-gradient(145deg, #eff6ff 0%, #fff 60%);
  border-color: rgb(16 185 129 / 0.28);
}

body.sinqlo-page .deposit-kpi--credit::before {
  background: #00d4aa;
}

body.sinqlo-page .deposit-kpi--credit .deposit-kpi__icon {
  background: linear-gradient(145deg, #93c5fd, #2563eb);
}

body.sinqlo-page .deposit-kpi--credit strong {
  color: var(--deep);
}

body.sinqlo-page .deposit-kpi--debit {
  background: linear-gradient(145deg, #fef2f2 0%, #fff 60%);
  border-color: rgb(239 68 68 / 0.28);
}

body.sinqlo-page .deposit-kpi--debit::before {
  background: #ef4444;
}

body.sinqlo-page .deposit-kpi--debit .deposit-kpi__icon {
  background: linear-gradient(145deg, #f87171, #dc2626);
}

body.sinqlo-page .deposit-kpi--debit strong {
  color: #dc2626;
}

body.sinqlo-page .deposit-kpi--avail {
  background: linear-gradient(145deg, #eff6ff 0%, #fff 60%);
  border-color: rgb(37 99 235 / 0.28);
}

body.sinqlo-page .deposit-kpi--avail::before {
  background: #2563eb;
}

body.sinqlo-page .deposit-kpi--avail .deposit-kpi__icon {
  background: linear-gradient(145deg, #60a5fa, #2563eb);
}

body.sinqlo-page .deposit-kpi--avail strong {
  color: #2563eb;
}

body.sinqlo-page .deposit-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

body.sinqlo-page .deposit-card__pill {
  flex-shrink: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgb(var(--color-primary-rgb) / 0.1);
  color: var(--deep);
  font-size: 0.68rem;
  font-weight: 700;
}

body.sinqlo-page .deposit-breakdown__stack {
  display: flex;
  height: 14px;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--line);
}

body.sinqlo-page .deposit-breakdown__seg--credit {
  background: linear-gradient(90deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .deposit-breakdown__seg--debit {
  background: linear-gradient(90deg, #f87171, #dc2626);
}

body.sinqlo-page .deposit-breakdown__seg--avail {
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}

body.sinqlo-page .deposit-breakdown__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sinqlo-page .deposit-breakdown__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.75);
}

body.sinqlo-page .deposit-breakdown__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

body.sinqlo-page .deposit-breakdown__dot--credit {
  background: #00d4aa;
}

body.sinqlo-page .deposit-breakdown__dot--debit {
  background: #ef4444;
}

body.sinqlo-page .deposit-breakdown__dot--avail {
  background: #2563eb;
}

body.sinqlo-page .deposit-breakdown__list strong {
  display: block;
  font-size: 0.76rem;
  color: var(--ink);
}

body.sinqlo-page .deposit-breakdown__list small {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
}

body.sinqlo-page .deposit-breakdown__list em {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  color: var(--ink);
}

body.sinqlo-page .deposit-steps__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: deposit-step;
}

body.sinqlo-page .deposit-steps__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.6rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
}

body.sinqlo-page .deposit-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

body.sinqlo-page .deposit-steps__list strong {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.78rem;
  color: var(--ink);
}

body.sinqlo-page .deposit-steps__list p {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.4;
}

body.sinqlo-page .deposit-tx__head {
  align-items: center;
  margin-bottom: 0.75rem;
}

body.sinqlo-page .deposit-tx__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.22);
  background: rgb(var(--color-primary-rgb) / 0.06);
  color: var(--deep);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.sinqlo-page .deposit-tx__view-all:hover {
  background: rgb(var(--color-primary-rgb) / 0.12);
  border-color: rgb(var(--color-primary-rgb) / 0.35);
  color: var(--deep);
}

body.sinqlo-page .deposit-tx__feed {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

body.sinqlo-page .deposit-tx__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 0.75rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: background 0.15s ease;
}

body.sinqlo-page .deposit-tx__item + .deposit-tx__item {
  border-top: 1px solid var(--line);
}

body.sinqlo-page .deposit-tx__item:hover {
  background: rgb(var(--color-primary-rgb) / 0.03);
}

body.sinqlo-page .deposit-tx__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.05rem;
  border-radius: 10px;
  font-size: 1rem;
  flex-shrink: 0;
}

body.sinqlo-page .deposit-tx__item--credit .deposit-tx__icon {
  background: #eff6ff;
  color: var(--deep);
}

body.sinqlo-page .deposit-tx__item--debit .deposit-tx__icon {
  background: #fef2f2;
  color: #dc2626;
}

body.sinqlo-page .deposit-tx__body {
  min-width: 0;
}

body.sinqlo-page .deposit-tx__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

body.sinqlo-page .deposit-tx__title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

body.sinqlo-page .deposit-tx__amount-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.08rem;
  flex-shrink: 0;
  text-align: right;
}

body.sinqlo-page .deposit-tx__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

body.sinqlo-page .deposit-tx__date {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
}

body.sinqlo-page .deposit-tx__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.2;
}

body.sinqlo-page .deposit-tx__tag--ok {
  background: #eff6ff;
  color: var(--deep);
}

body.sinqlo-page .deposit-tx__hash {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

body.sinqlo-page .deposit-tx__hash code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.64rem;
  color: var(--muted);
  word-break: break-all;
}

body.sinqlo-page .deposit-tx__explore {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  min-height: 1.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 0;
  background: rgb(var(--color-primary-rgb) / 0.1);
  color: var(--deep);
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

body.sinqlo-page .deposit-tx__explore:hover {
  background: rgb(var(--color-primary-rgb) / 0.18);
  color: var(--deep);
}

body.sinqlo-page .deposit-tx__amount {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

body.sinqlo-page .deposit-tx__amount--up {
  color: var(--deep);
}

body.sinqlo-page .deposit-tx__amount--down {
  color: #dc2626;
}

body.sinqlo-page .deposit-tx__coin {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
}

body.sinqlo-page .deposit-tx__foot {
  margin: 0.65rem 0 0;
  font-size: 0.68rem;
  color: var(--muted);
}

/* Transaction ledger — clean compact row layout */
body.sinqlo-page .deposit-tx--ledger .deposit-tx__head {
  margin-bottom: 0.55rem;
}

body.sinqlo-page .deposit-tx__head-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

body.sinqlo-page .deposit-tx__search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: min(220px, 34vw);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.sinqlo-page .deposit-tx__search:focus-within {
  border-color: rgb(var(--color-primary-rgb) / 0.45);
  box-shadow: 0 0 0 3px rgb(var(--color-primary-rgb) / 0.1);
}

body.sinqlo-page .deposit-tx__search i {
  color: var(--muted);
  font-size: 0.95rem;
  flex-shrink: 0;
}

body.sinqlo-page .deposit-tx__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.15rem 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  outline: none;
}

body.sinqlo-page .deposit-tx__search input::placeholder {
  color: #94a3b8;
}

body.sinqlo-page .deposit-tx__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem 1rem;
  color: var(--muted);
  text-align: center;
}

body.sinqlo-page .deposit-tx__empty i {
  font-size: 1.35rem;
  color: rgb(var(--color-primary-rgb) / 0.45);
}

body.sinqlo-page .deposit-tx__empty p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.4;
}

body.sinqlo-page .deposit-tx__empty strong {
  color: var(--ink);
  font-weight: 700;
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__search {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__search input {
  color: var(--ink);
}

/* ===== Wallet history page ===== */
body.sinqlo-page .wallet-history-page {
  gap: 1rem;
}

body.sinqlo-page .wallet-history-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

body.sinqlo-page .wallet-history-stat__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 10px 22px rgb(16 185 129 / 0.24);
}

body.sinqlo-page .wallet-history-stat__icon--income {
  background: linear-gradient(135deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .wallet-history-stat__icon--deposit {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 10px 22px rgb(37 99 235 / 0.22);
}

body.sinqlo-page .wallet-history-stat__icon--wallet {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 10px 22px rgb(124 58 237 / 0.22);
}

body.sinqlo-page .wallet-history-stat__body {
  min-width: 0;
}

body.sinqlo-page .wallet-history-stat__label {
  margin: 0 0 0.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .wallet-history-stat__value {
  margin: 0 0 0.15rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

body.sinqlo-page .wallet-history-stat__hint {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted);
}

body.sinqlo-page .wallet-history-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  font-weight: 700;
  color: #0d6e4f;
}

body.sinqlo-page .wallet-history-flow em {
  color: var(--ink);
}

/* Statement card */
body.sinqlo-page .wallet-history-statement {
  padding: 1.1rem 1.1rem 0.9rem;
}

body.sinqlo-page .wallet-history-statement__head {
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

body.sinqlo-page .wallet-history-statement__tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

body.sinqlo-page .wallet-history-statement .tabs-pill {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgb(var(--color-primary-rgb) / 0.08);
  border: 1px solid var(--line);
  gap: 0.2rem;
}

body.sinqlo-page .wallet-history-statement .tabs-pill .btn {
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border: none;
  color: var(--muted);
  background: transparent;
}

body.sinqlo-page .wallet-history-statement .tabs-pill .btn.active {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 6px 16px rgb(var(--color-primary-rgb) / 0.3);
}

body.sinqlo-page .wallet-history-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: min(240px, 40vw);
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.sinqlo-page .wallet-history-search:focus-within {
  border-color: rgb(var(--color-primary-rgb) / 0.45);
  box-shadow: 0 0 0 3px rgb(var(--color-primary-rgb) / 0.1);
}

body.sinqlo-page .wallet-history-search i {
  color: var(--muted);
  font-size: 0.95rem;
  flex-shrink: 0;
}

body.sinqlo-page .wallet-history-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.1rem 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  outline: none;
}

body.sinqlo-page .wallet-history-search input::placeholder {
  color: #94a3b8;
}

/* Statement table — compact */
body.sinqlo-page .wallet-history-table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

body.sinqlo-page .wallet-history-statement .fdc_history-table thead th {
  padding: 0.5rem 0.75rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgb(var(--color-primary-rgb) / 0.06);
  border: none;
  white-space: nowrap;
}

body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td {
  padding: 0.48rem 0.75rem;
  font-size: 0.74rem;
  border-color: var(--line);
  vertical-align: middle;
  line-height: 1.3;
}

body.sinqlo-page .wallet-history-statement .fdc_history-table tbody tr:last-child td {
  border-bottom: 0;
}

body.sinqlo-page .wallet-history-statement .fdc_history-table tbody tr:hover {
  background: rgb(var(--color-primary-rgb) / 0.04);
}

body.sinqlo-page .wallet-history-tx {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

body.sinqlo-page .wallet-history-tx__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}

body.sinqlo-page .wallet-history-tx__icon--in {
  color: var(--deep);
  background: rgb(var(--color-primary-rgb) / 0.14);
}

body.sinqlo-page .wallet-history-tx__icon--out {
  color: #c2410c;
  background: rgba(249, 115, 22, 0.14);
}

body.sinqlo-page .wallet-history-tx strong {
  display: block;
  font-size: 0.74rem;
  color: var(--ink);
  line-height: 1.2;
}

body.sinqlo-page .wallet-history-tx__wallet {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.2;
}

body.sinqlo-page .wallet-history-statement .fdc_value-badge {
  white-space: nowrap;
  font-size: 0.72rem;
  padding: 0.18rem 0.5rem;
}

body.sinqlo-page .wallet-history-statement .st-pill,
body.sinqlo-page .wallet-history-statement .activation-status {
  font-size: 0.64rem;
  padding: 0.18rem 0.5rem;
}

body.sinqlo-page .wallet-history-statement .muted.small {
  font-size: 0.62rem;
}

body.sinqlo-page .wallet-history-statement .activation-booster {
  font-size: 0.64rem;
  padding: 0.18rem 0.5rem;
  gap: 0.2rem;
}

body.sinqlo-page .wallet-history-statement .activation-booster--on i {
  font-size: 0.78rem;
}

body.sinqlo-page .wallet-history-statement .activation-invoice-btn,
body.sinqlo-page .activation-orders .activation-invoice-btn {
  padding: 0.28rem 0.6rem;
  border-radius: 8px;
  font-size: 0.68rem;
  gap: 0.25rem;
}

body.sinqlo-page .wallet-history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2.25rem 1rem;
  color: var(--muted);
  text-align: center;
}

body.sinqlo-page .wallet-history-empty i {
  font-size: 1.5rem;
  color: rgb(var(--color-primary-rgb) / 0.45);
}

body.sinqlo-page .wallet-history-empty p {
  margin: 0;
  font-size: 0.82rem;
}

/* Pager */
body.sinqlo-page .wallet-history-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

body.sinqlo-page .wallet-history-pager__size {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--muted);
}

body.sinqlo-page .wallet-history-pager__size strong {
  color: var(--ink);
}

body.sinqlo-page .wallet-history-pager .page-size-select {
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
}

body.sinqlo-page .wallet-history-pager .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 0.5rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.sinqlo-page .wallet-history-pager .page-btn:hover:not(:disabled) {
  border-color: rgb(var(--color-primary-rgb) / 0.4);
  background: rgb(var(--color-primary-rgb) / 0.06);
}

body.sinqlo-page .wallet-history-pager .page-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .wallet-history-pager .page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.sinqlo-page[data-appearance="dark"] .wallet-history-search,
body.sinqlo-page[data-appearance="dark"] .wallet-history-pager .page-size-select,
body.sinqlo-page[data-appearance="dark"] .wallet-history-pager .page-btn {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

@media (max-width: 767.98px) {
  body.sinqlo-page .wallet-history-statement__head {
    align-items: flex-start;
  }

  body.sinqlo-page .wallet-history-statement__tools {
    width: 100%;
  }

  body.sinqlo-page .wallet-history-search {
    flex: 1;
    width: auto;
  }
}

/* ===== Network tree pages (level + binary) ===== */
body.sinqlo-page .network-tree-page {
  gap: 1rem;
}

body.sinqlo-page .network-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

body.sinqlo-page .network-stat__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 10px 22px rgb(16 185 129 / 0.24);
}

body.sinqlo-page .network-stat__icon--team {
  background: linear-gradient(135deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .network-stat__icon--active {
  background: linear-gradient(135deg, #0d9488, #22d3ee);
  box-shadow: 0 10px 22px rgb(13 148 136 / 0.22);
}

body.sinqlo-page .network-stat__icon--volume {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 10px 22px rgb(245 158 11 / 0.22);
}

body.sinqlo-page .network-stat__icon--left {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 10px 22px rgb(37 99 235 / 0.22);
}

body.sinqlo-page .network-stat__icon--right {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 10px 22px rgb(124 58 237 / 0.22);
}

body.sinqlo-page .network-stat__icon--spill {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
  box-shadow: 0 10px 22px rgb(8 145 178 / 0.22);
}

body.sinqlo-page .network-stat__body {
  min-width: 0;
}

body.sinqlo-page .network-stat__label {
  margin: 0 0 0.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .network-stat__cycle {
  font-weight: 500;
  opacity: 0.85;
}

body.sinqlo-page .network-stat__value {
  margin: 0 0 0.15rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

body.sinqlo-page .network-stat__value--sm {
  font-size: 1.2rem;
}

body.sinqlo-page .network-stat__hint {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted);
}

body.sinqlo-page .network-stat__hint strong {
  color: var(--ink);
  font-weight: 700;
}

body.sinqlo-page .network-stat__trend {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  font-weight: 700;
  color: #0d6e4f;
}

body.sinqlo-page .network-stat__trend--down {
  color: #b42318;
}

body.sinqlo-page .network-tree-panel {
  padding: 1.1rem 1.1rem 1rem;
}

body.sinqlo-page .network-tree-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

body.sinqlo-page .network-tree-panel__title {
  min-width: 0;
}

body.sinqlo-page .network-tree-panel__title .bento-spotlight__eyebrow {
  margin-bottom: 0.15rem;
}

body.sinqlo-page .network-tree-panel__title .bento-cell__title {
  margin: 0;
}

body.sinqlo-page .network-tree-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

body.sinqlo-page .network-tree-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(var(--color-primary-rgb) / 0.04);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

body.sinqlo-page .network-tree-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.sinqlo-page .network-tree-legend__dot--active {
  background: #00d4aa;
}

body.sinqlo-page .network-tree-legend__dot--inactive {
  background: #ef4444;
}

body.sinqlo-page .network-tree-legend__dot--leader {
  background: #2563eb;
}

body.sinqlo-page .network-tree-legend__dot--left {
  background: #2563eb;
}

body.sinqlo-page .network-tree-legend__dot--right {
  background: #7c3aed;
}

body.sinqlo-page .network-tree-legend__dot--spill {
  background: #0891b2;
}

body.sinqlo-page .network-tree-toolbar {
  margin-bottom: 0.75rem;
}

/* Binary tree toolbar — tight, even spacing */
body.sinqlo-page .network-tree-page .network-tree-panel {
  padding: 1rem 1.05rem 0.95rem;
}

body.sinqlo-page .network-tree-page .network-tree-panel__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

body.sinqlo-page .network-tree-page .network-tree-panel__title {
  min-width: 0;
  margin-right: 0.25rem;
}

body.sinqlo-page .network-tree-page .network-tree-legend {
  margin-left: 0;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar.tree2-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 0.7rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: static;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-search-wrap {
  flex: 0 1 240px;
  min-width: 170px;
  max-width: 260px;
  height: 38px;
  padding: 0 0.8rem;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-search-wrap input {
  height: 100%;
  font-size: 0.78rem;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar-zoom {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

body.sinqlo-page .network-tree-page .binary-tree-zoom-hint {
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  padding: 0;
  line-height: 1;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar-btns {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-tool-btn {
  min-height: 38px;
  height: 38px;
  font-size: 0.76rem;
  line-height: 1;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-tool-btn--primary,
body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-tool-btn--ghost {
  min-width: 104px;
  padding: 0 0.85rem;
  border-radius: 999px;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-zoom-group {
  height: 38px;
  align-items: stretch;
}

body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-zoom-group .tree2-tool-btn {
  min-width: 36px;
  height: 100%;
  padding: 0 0.5rem;
}

/* Hero stats spacing */
body.sinqlo-page .deposit-hero--binary .deposit-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 250px);
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
}

body.sinqlo-page .deposit-hero--binary .binary-stats-grid.binary-stats-grid--hero {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  width: 100%;
  height: 100%;
  align-content: stretch;
}

body.sinqlo-page .network-tree-canvas {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgb(var(--color-primary-rgb) / 0.03) 0%, #fff 40%);
  min-height: 420px;
  max-height: min(72vh, 680px);
  padding: 1rem 0.75rem 1.25rem;
}

body.sinqlo-page .network-tree-canvas-wrap {
  border-radius: 14px;
  overflow: hidden;
}

body.sinqlo-page .network-tree-page .binary-tree-body {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgb(var(--color-primary-rgb) / 0.03) 0%, #fff 40%);
  min-height: 420px;
}

body.sinqlo-page .network-tree-page .binary-tree-scroll {
  min-height: 420px;
  max-height: min(72vh, 680px);
  border: 0;
  background: transparent;
}

body.sinqlo-page[data-appearance="dark"] .network-tree-canvas,
body.sinqlo-page[data-appearance="dark"] .network-tree-page .binary-tree-body {
  background: linear-gradient(180deg, rgb(16 185 129 / 0.06) 0%, var(--card) 45%);
}

/* Binary tree hero — 4 cards left, panel right */
body.sinqlo-page .deposit-hero--binary .deposit-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  align-items: stretch;
  gap: 0.85rem;
}

body.sinqlo-page .deposit-hero--binary .deposit-hero__stats {
  min-width: 0;
  display: flex;
}

body.sinqlo-page .deposit-hero--binary .deposit-hero__panel {
  width: 100%;
  max-width: none;
  justify-content: center;
}

body.sinqlo-page .deposit-hero--binary .binary-stats-grid.binary-stats-grid--hero {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  width: 100%;
  height: 100%;
  align-content: stretch;
}

body.sinqlo-page .deposit-hero--binary .binary-stat {
  background: #fff;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.14);
  box-shadow: 0 4px 12px rgb(16 24 40 / 0.04);
  min-height: 78px;
  height: 100%;
}

body.sinqlo-page .binary-stats-bar {
  padding: 0.85rem 1rem;
}

body.sinqlo-page .binary-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

body.sinqlo-page .binary-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, rgb(var(--color-primary-rgb) / 0.03) 100%);
}

body.sinqlo-page .binary-stat__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
}

body.sinqlo-page .binary-stat--left .binary-stat__icon {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 8px 18px rgb(37 99 235 / 0.22);
}

body.sinqlo-page .binary-stat--right .binary-stat__icon {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 8px 18px rgb(124 58 237 / 0.22);
}

body.sinqlo-page .binary-stat--total .binary-stat__icon {
  background: linear-gradient(135deg, #3b82f6, #00d4aa);
  box-shadow: 0 8px 18px rgb(16 185 129 / 0.24);
}

body.sinqlo-page .binary-stat--spill .binary-stat__icon {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
  box-shadow: 0 8px 18px rgb(8 145 178 / 0.22);
}

body.sinqlo-page .binary-stat--volume .binary-stat__icon {
  background: linear-gradient(135deg, #ca8a04, #eab308);
  box-shadow: 0 8px 18px rgb(202 138 4 / 0.22);
}

body.sinqlo-page .binary-stat__body {
  min-width: 0;
  flex: 1;
}

body.sinqlo-page .binary-stat__label {
  margin: 0 0 0.12rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
}

body.sinqlo-page .binary-stat__value {
  margin: 0 0 0.12rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

body.sinqlo-page .binary-stat__hint {
  margin: 0;
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.2;
}

body.sinqlo-page .deposit-hero--binary .binary-stat__label,
body.sinqlo-page .deposit-hero--binary .binary-stat__value,
body.sinqlo-page .deposit-hero--binary .binary-stat__hint {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

/* Binary tree nodes — emerald polish */
body.sinqlo-page .network-tree-page .binary-node {
  border-color: var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(16 24 40 / 0.06);
}

body.sinqlo-page .network-tree-page .binary-node.is-left {
  border-left: 3px solid #2563eb;
}

body.sinqlo-page .network-tree-page .binary-node.is-right {
  border-left: 3px solid #7c3aed;
}

body.sinqlo-page .network-tree-page .binary-node.is-root {
  border-color: rgb(var(--color-primary-rgb) / 0.35);
  background: linear-gradient(135deg, rgb(var(--color-primary-rgb) / 0.08) 0%, #fff 60%);
}

body.sinqlo-page .network-tree-page .binary-node:hover,
body.sinqlo-page .network-tree-page .binary-node.is-selected {
  border-color: rgb(var(--color-primary-rgb) / 0.45);
  box-shadow: 0 8px 22px rgb(var(--color-primary-rgb) / 0.14);
}

body.sinqlo-page .network-tree-page .binary-node__toggle {
  border-color: var(--line);
  background: rgb(var(--color-primary-rgb) / 0.06);
  color: var(--deep);
}

body.sinqlo-page .network-tree-page .binary-tree-branch::before,
body.sinqlo-page .network-tree-page .binary-tree-links__stem {
  background: rgb(var(--color-primary-rgb) / 0.25);
}

@media (max-width: 991.98px) {
  body.sinqlo-page .deposit-hero--binary .binary-stats-grid.binary-stats-grid--hero,
  body.sinqlo-page .binary-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.sinqlo-page .deposit-hero--binary .deposit-hero__grid {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .deposit-hero--binary .deposit-hero__panel {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  body.sinqlo-page .deposit-hero--binary .binary-stats-grid.binary-stats-grid--hero,
  body.sinqlo-page .binary-stats-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  body.sinqlo-page .network-tree-page .bento-cell--span-3,
  body.sinqlo-page .network-tree-page .bento-cell--span-4 {
    grid-column: span 12;
  }

  body.sinqlo-page .network-tree-panel__head {
    align-items: flex-start;
  }
}

/* Level / network tree — mobile shell */
@media (max-width: 991.98px) {
  body.sinqlo-page .network-tree-page .network-tree-panel {
    padding: 0.85rem 0.8rem 0.75rem;
  }

  body.sinqlo-page .network-tree-page .network-tree-panel__head {
    gap: 0.55rem;
    margin-bottom: 0.55rem;
  }

  body.sinqlo-page .network-tree-page .network-tree-legend {
    width: 100%;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar.tree2-toolbar {
    gap: 0.5rem;
    margin-bottom: 0.55rem;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-search-wrap {
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
    height: 40px;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar-actions {
    width: 100%;
    margin-left: 0;
  }

  body.sinqlo-page .network-tree-canvas {
    min-height: 320px;
    max-height: min(68dvh, 620px);
    padding: 0.65rem 0.45rem 0.9rem;
    border-radius: 12px;
  }
}

@media (max-width: 767.98px) {
  body.sinqlo-page .network-tree-page {
    gap: 0.75rem;
    min-width: 0;
    max-width: 100%;
  }

  body.sinqlo-page .dash-page--bento.st-page,
  body.sinqlo-page .network-tree-page .bento-cell,
  body.sinqlo-page .network-tree-page .network-tree-panel,
  body.sinqlo-page .network-tree-page .network-tree-canvas,
  body.sinqlo-page .network-tree-page .tree2-zoom-stage,
  body.sinqlo-page .network-tree-page .genealogy-tree {
    min-width: 0;
    max-width: 100%;
  }

  body.sinqlo-page .main-wrap--dashboard {
    overflow-x: clip;
  }

  body.sinqlo-page .network-tree-page .network-tree-panel {
    padding: 0.75rem 0.65rem 0.65rem;
    border-radius: 14px;
    overflow: hidden;
  }

  body.sinqlo-page .network-tree-page .network-tree-panel__title .bento-cell__title {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.sinqlo-page .network-tree-legend__item {
    padding: 0.25rem 0.5rem;
    font-size: 0.62rem;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    width: 100%;
  }

  /* Keep zoom usable on Level Tree (binary tree hides it on phones) */
  body.sinqlo-page .network-tree-page .binary-tree-toolbar-zoom {
    display: flex !important;
    width: 100%;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-zoom-group {
    width: 100%;
    display: flex;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-zoom-group .tree2-tool-btn {
    flex: 1 1 0;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-tool-btn--primary,
  body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-tool-btn--ghost {
    min-width: 0;
    width: 100%;
    padding: 0 0.5rem;
    font-size: 0.7rem;
  }

  body.sinqlo-page .network-tree-page .binary-tree-zoom-hint {
    display: none;
  }

  body.sinqlo-page .network-tree-canvas {
    min-height: 280px;
    max-height: min(62dvh, 560px);
    padding: 0.5rem 0.3rem 0.75rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.sinqlo-page .deposit-hero--level .deposit-hero__panel {
    padding: 0.85rem 0.9rem;
  }

  body.sinqlo-page .deposit-hero--level .deposit-hero__cta {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }

  body.sinqlo-page .deposit-hero--binary .deposit-hero__grid,
  body.sinqlo-page .deposit-hero--binary .deposit-hero__stats,
  body.sinqlo-page .deposit-hero--binary .binary-stats-grid {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 419.98px) {
  body.sinqlo-page .network-tree-page .binary-tree-toolbar-actions {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar-zoom {
    width: 100%;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-zoom-group {
    width: 100%;
    display: flex;
  }

  body.sinqlo-page .network-tree-page .binary-tree-toolbar .tree2-zoom-group .tree2-tool-btn {
    flex: 1 1 0;
  }

  body.sinqlo-page .network-tree-canvas {
    max-height: min(58dvh, 480px);
  }
}

body.sinqlo-page .deposit-tx--ledger .deposit-tx__foot {
  margin: 0;
  font-size: 0.64rem;
}

body.sinqlo-page .deposit-tx__pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
}

body.sinqlo-page .deposit-tx__pagination {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

body.sinqlo-page .deposit-tx__page-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

body.sinqlo-page .deposit-tx__page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.sinqlo-page .deposit-tx__page-btn:hover:not(:disabled) {
  background: rgb(var(--color-primary-rgb) / 0.06);
  border-color: rgb(var(--color-primary-rgb) / 0.25);
  color: var(--deep);
}

body.sinqlo-page .deposit-tx__page-btn.is-active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}

body.sinqlo-page .deposit-tx__page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.sinqlo-page .deposit-tx__page-ellipsis {
  color: var(--muted);
  font-size: 0.72rem;
  padding: 0 0.15rem;
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__page-btn {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__page-btn.is-active {
  background: var(--gradient);
  color: #fff;
}

body.sinqlo-page .deposit-tx__feed--ledger .deposit-tx__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.5rem 0.75rem;
  align-items: center;
  padding: 0.62rem 0.85rem;
}

body.sinqlo-page .deposit-tx__feed--ledger .deposit-tx__icon {
  width: 2rem;
  height: 2rem;
  margin-top: 0;
  border-radius: 9px;
  font-size: 0.9rem;
}

body.sinqlo-page .deposit-tx__info {
  min-width: 0;
}

body.sinqlo-page .deposit-tx__feed--ledger .deposit-tx__title {
  margin: 0 0 0.1rem;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
}

body.sinqlo-page .deposit-tx__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.25;
}

body.sinqlo-page .deposit-tx__meta time {
  font-weight: 500;
}

body.sinqlo-page .deposit-tx__meta-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

body.sinqlo-page .deposit-tx__hash-link {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: var(--deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

body.sinqlo-page .deposit-tx__hash-link:hover {
  color: var(--ink);
}

body.sinqlo-page .deposit-tx__hash-link i {
  font-size: 0.68rem;
}

body.sinqlo-page .deposit-tx__end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
  text-align: right;
}

body.sinqlo-page .deposit-tx__feed--ledger .deposit-tx__amount {
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

body.sinqlo-page .deposit-tx__feed--ledger .deposit-tx__status {
  padding: 0.12rem 0.42rem;
  font-size: 0.58rem;
}

body.sinqlo-page .deposit-tx__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

body.sinqlo-page .deposit-tx__status--ok {
  background: #eff6ff;
  color: var(--deep);
}

body.sinqlo-page .deposit-tx__status--pending {
  background: #fffbeb;
  color: #b45309;
}

body.sinqlo-page .deposit-tx__status--bad {
  background: #fef2f2;
  color: #dc2626;
}

body.sinqlo-page .deposit-tx__status--muted {
  background: #f1f5f9;
  color: var(--muted);
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__status--ok {
  background: rgb(16 185 129 / 0.14);
  color: #93c5fd;
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__status--pending {
  background: rgb(251 191 36 / 0.12);
  color: #fcd34d;
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__status--bad {
  background: rgb(239 68 68 / 0.14);
  color: #fca5a5;
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__status--muted {
  background: rgb(255 255 255 / 0.06);
  color: var(--muted);
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__hash-link {
  color: #93c5fd;
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__hash-link:hover {
  color: #a7f3d0;
}

@media (max-width: 1199.98px) {
  body.sinqlo-page .deposit-hero__grid {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .deposit-kpi-row {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .deposit-breakdown,
  body.sinqlo-page .deposit-steps {
    grid-column: span 12;
  }
}

@media (max-width: 767.98px) {
  body.sinqlo-page .deposit-tx__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  body.sinqlo-page .deposit-tx__head-actions {
    width: 100%;
    justify-content: space-between;
  }

  body.sinqlo-page .deposit-tx__search {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  body.sinqlo-page .deposit-tx__view-all {
    align-self: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 575.98px) {
  body.sinqlo-page .deposit-tx__item {
    padding: 0.75rem 0.8rem;
    gap: 0.55rem 0.65rem;
  }

  body.sinqlo-page .deposit-tx__feed--ledger .deposit-tx__item {
    grid-template-columns: 1.85rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    padding: 0.58rem 0.75rem;
    gap: 0.35rem 0.55rem;
  }

  body.sinqlo-page .deposit-tx__feed--ledger .deposit-tx__icon {
    grid-row: span 2;
    align-self: center;
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.82rem;
  }

  body.sinqlo-page .deposit-tx__feed--ledger .deposit-tx__end {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.05rem;
    gap: 0.35rem;
  }

  body.sinqlo-page .deposit-tx__feed--ledger .deposit-tx__amount {
    font-size: 0.8rem;
  }

  body.sinqlo-page .deposit-tx__pager {
    flex-direction: column;
    align-items: stretch;
  }

  body.sinqlo-page .deposit-tx__pagination {
    justify-content: center;
    flex-wrap: wrap;
  }

  body.sinqlo-page .deposit-tx__row {
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
  }

  body.sinqlo-page .deposit-tx__title {
    flex: 1;
    min-width: 0;
  }

  body.sinqlo-page .deposit-tx__amount {
    font-size: 0.86rem;
  }

  body.sinqlo-page .deposit-tx__hash {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  body.sinqlo-page .deposit-tx__explore {
    justify-content: center;
  }
}

body.sinqlo-page[data-appearance="dark"] .deposit-hero {
  background: linear-gradient(135deg, rgb(16 185 129 / 0.12) 0%, var(--card) 55%);
}

body.sinqlo-page[data-appearance="dark"] .deposit-hero__panel,
body.sinqlo-page[data-appearance="dark"] .deposit-hero__net {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .deposit-kpi,
body.sinqlo-page[data-appearance="dark"] .deposit-breakdown__list li,
body.sinqlo-page[data-appearance="dark"] .deposit-steps__list li,
body.sinqlo-page[data-appearance="dark"] .deposit-tx__feed {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__item + .deposit-tx__item {
  border-top-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__item:hover {
  background: rgb(255 255 255 / 0.03);
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__tag {
  background: rgb(255 255 255 / 0.06);
  color: var(--muted);
}

body.sinqlo-page[data-appearance="dark"] .deposit-tx__tag--ok {
  background: rgb(16 185 129 / 0.14);
  color: #93c5fd;
}

body.sinqlo-page[data-appearance="dark"] .deposit-kpi--credit {
  background: linear-gradient(145deg, rgb(16 185 129 / 0.14) 0%, var(--surface) 60%);
}

body.sinqlo-page[data-appearance="dark"] .deposit-kpi--debit {
  background: linear-gradient(145deg, rgb(239 68 68 / 0.14) 0%, var(--surface) 60%);
}

body.sinqlo-page[data-appearance="dark"] .deposit-kpi--avail {
  background: linear-gradient(145deg, rgb(37 99 235 / 0.14) 0%, var(--surface) 60%);
}

/* Deposit address drawer */
body.sinqlo-page .deposit-drawer__panel {
  width: min(560px, calc(100% - 2rem));
  border-radius: 20px;
  overflow: hidden;
}

body.sinqlo-page .deposit-drawer__inner {
  padding: 0;
}

body.sinqlo-page .deposit-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #eff6ff 0%, #fff 65%, #f0fdf4 100%);
}

body.sinqlo-page .deposit-drawer__eyebrow {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.sinqlo-page .deposit-drawer__title {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

body.sinqlo-page .deposit-drawer__header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

body.sinqlo-page .deposit-drawer__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.25);
  background: #fff;
  color: var(--deep);
  font-size: 0.66rem;
  font-weight: 700;
}

body.sinqlo-page .deposit-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.sinqlo-page .deposit-drawer__close:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: rgb(var(--color-primary-rgb) / 0.25);
}

body.sinqlo-page .deposit-drawer__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.15rem 1.1rem;
}

body.sinqlo-page .deposit-drawer__label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.sinqlo-page .deposit-drawer__field {
  display: flex;
  flex-direction: column;
}

body.sinqlo-page .deposit-drawer__input-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.sinqlo-page .deposit-drawer__input-wrap:focus-within {
  border-color: rgb(var(--color-primary-rgb) / 0.45);
  box-shadow: 0 0 0 3px rgb(var(--color-primary-rgb) / 0.1);
}

body.sinqlo-page .deposit-drawer__affix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

body.sinqlo-page .deposit-drawer__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.2rem 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  outline: none;
}

body.sinqlo-page .deposit-drawer__input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

body.sinqlo-page .deposit-drawer__input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
}

body.sinqlo-page .deposit-drawer__input[readonly] {
  color: var(--muted);
  cursor: default;
}

body.sinqlo-page .deposit-drawer__hint {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

body.sinqlo-page .deposit-drawer__hint strong {
  color: var(--deep);
  font-weight: 800;
}

body.sinqlo-page .deposit-drawer__submit {
  width: 100%;
  min-height: 2.85rem;
  margin-top: 0.15rem;
  border: 0;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.sinqlo-page .deposit-drawer__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgb(var(--color-primary-rgb) / 0.28);
}

body.sinqlo-page .deposit-drawer__submit:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
}

body.sinqlo-page .deposit-drawer__submit:active {
  transform: translateY(0);
}

body.sinqlo-page .deposit-drawer__address-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

body.sinqlo-page .deposit-drawer__address-wrap .fdc_deposit-address {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.55rem;
  margin: 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  word-break: break-all;
  color: var(--ink);
}

body.sinqlo-page .deposit-drawer__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 5.5rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgb(var(--color-primary-rgb) / 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.sinqlo-page .deposit-drawer__copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgb(var(--color-primary-rgb) / 0.32);
  background: var(--gradient);
  color: #fff;
}

body.sinqlo-page .deposit-drawer__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  margin: 0;
}

body.sinqlo-page .deposit-drawer__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

body.sinqlo-page .deposit-drawer__qr img {
  width: 156px;
  height: 156px;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgb(15 23 42 / 0.06);
}

body.sinqlo-page .deposit-drawer__qr-label {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.sinqlo-page .deposit-drawer__info-title {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--ink);
}

body.sinqlo-page .deposit-drawer__rules {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sinqlo-page .deposit-drawer__rules li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.5rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.sinqlo-page .deposit-drawer__rules li + li {
  border-top: 1px solid rgb(var(--color-primary-rgb) / 0.1);
}

body.sinqlo-page .deposit-drawer__rule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 8px;
  background: transparent;
  color: var(--deep);
  font-size: 0.88rem;
}

body.sinqlo-page .deposit-drawer__rules li > div span {
  display: block;
  margin-bottom: 0.08rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body.sinqlo-page .deposit-drawer__rules li > div strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--ink);
}

body.sinqlo-page .deposit-drawer__status {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
}

body.sinqlo-page .deposit-drawer__status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0;
  border-radius: 11px;
  background: rgb(var(--color-primary-rgb) / 0.14);
  color: var(--deep);
  font-size: 1.1rem;
}

body.sinqlo-page .deposit-drawer__status-copy {
  flex: 1;
  min-width: 0;
  color: var(--deep);
}

body.sinqlo-page .deposit-drawer__scan {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--deep);
}

body.sinqlo-page .deposit-drawer__balance-line {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--muted);
}

body.sinqlo-page .deposit-drawer__balance-line strong {
  display: inline;
  margin-left: 0.2rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

body.sinqlo-page .deposit-drawer__note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.68rem;
  line-height: 1.45;
}

body.sinqlo-page .deposit-drawer__note i {
  margin-top: 0.1rem;
  font-size: 0.95rem;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  body.sinqlo-page .deposit-drawer__body {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  body.sinqlo-page .deposit-drawer__info {
    width: 100%;
  }

  body.sinqlo-page .deposit-drawer__address-wrap {
    flex-direction: column;
  }

  body.sinqlo-page .deposit-drawer__copy {
    width: 100%;
  }
}

body.sinqlo-page[data-appearance="dark"] .deposit-drawer__header {
  background: linear-gradient(135deg, rgb(16 185 129 / 0.12) 0%, var(--card) 70%);
}

body.sinqlo-page[data-appearance="dark"] .deposit-drawer__badge,
body.sinqlo-page[data-appearance="dark"] .deposit-drawer__close,
body.sinqlo-page[data-appearance="dark"] .deposit-drawer__address-wrap .fdc_deposit-address,
body.sinqlo-page[data-appearance="dark"] .deposit-drawer__input-wrap {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .deposit-drawer__input {
  color: var(--ink);
}

body.sinqlo-page[data-appearance="dark"] .deposit-drawer__rules li + li {
  border-top-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .deposit-drawer__address-wrap {
  background: var(--surface);
}

body.sinqlo-page[data-appearance="dark"] .deposit-drawer__status {
  background: linear-gradient(135deg, rgb(16 185 129 / 0.14) 0%, var(--surface) 100%);
  border-color: rgb(16 185 129 / 0.28);
}

body.sinqlo-page[data-appearance="dark"] .deposit-drawer__note {
  background: rgb(251 191 36 / 0.1);
  border-color: rgb(251 191 36 / 0.28);
  color: #fcd34d;
}

/* Deposit page — 3 stacked metric cards (legacy) */
body.sinqlo-page .bento-metrics--deposit {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

/* Deposit distribution (pie + legend) inside left stack */
body.sinqlo-page .bento-deposit-dist {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.sinqlo-page .bento-deposit-dist__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

body.sinqlo-page .bento-top-row .bento-metric {
  height: 100%;
  min-height: 0;
}

body.sinqlo-page .bento-top-row .bento-metric__foot {
  margin-top: auto;
}

body.sinqlo-page .bento-top-row .bento-metric__value {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

body.sinqlo-page .bento-quick-block {
  flex-shrink: 0;
}

body.sinqlo-page .bento-cell__head--compact {
  margin-bottom: 0.55rem;
}

body.sinqlo-page .bento-cell__head--compact .bento-cell__title {
  font-size: 0.88rem;
}

body.sinqlo-page .bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

body.sinqlo-page .bento-pill:hover {
  border-color: rgb(var(--color-primary-rgb) / 0.3);
  box-shadow: 0 8px 20px rgb(var(--color-primary-rgb) / 0.1);
  color: var(--ink);
}

body.sinqlo-page .bento-pill--primary {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 18px rgb(var(--color-primary-rgb) / 0.22);
}

body.sinqlo-page .bento-pill--primary:hover {
  color: #fff;
  box-shadow: 0 10px 22px rgb(var(--color-primary-rgb) / 0.28);
}

body.sinqlo-page .bento-cell--span-7 { grid-column: span 7; }
body.sinqlo-page .bento-cell--span-6 { grid-column: span 6; }
body.sinqlo-page .bento-cell--span-5 { grid-column: span 5; }
body.sinqlo-page .bento-cell--row-span-2 {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

body.sinqlo-page .bento-cell--row-span-2 .bento-metrics {
  flex: 0 0 auto;
  height: auto;
}

body.sinqlo-page .bento-cell--row-span-2:not(.bento-left-stack) {
  justify-content: flex-start;
  padding: 0.75rem;
}

body.sinqlo-page .bento-cell--span-4 { grid-column: span 4; }
body.sinqlo-page .bento-cell--span-8 { grid-column: span 8; }
body.sinqlo-page .bento-cell--span-12 { grid-column: span 12; }

body.sinqlo-page .bento-cell__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

body.sinqlo-page .bento-cell__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

body.sinqlo-page .bento-cell__sub {
  margin: 0.1rem 0 0;
  font-size: 0.74rem;
  color: var(--muted);
}

body.sinqlo-page .bento-link {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
}

body.sinqlo-page .bento-link:hover {
  text-decoration: underline;
}

/* Wallet hero */
body.sinqlo-page .bento-wallet {
  position: relative;
  overflow: hidden;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.08) 0%, transparent 50%),
    var(--gradient);
  box-shadow: 0 10px 24px rgb(var(--color-primary-rgb) / 0.2);
}

body.sinqlo-page .bento-wallet::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 24px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

body.sinqlo-page .bento-wallet__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

body.sinqlo-page .bento-wallet__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.sinqlo-page .bento-wallet__label {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

body.sinqlo-page .bento-wallet__value {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

body.sinqlo-page .bento-wallet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

body.sinqlo-page .bento-wallet__trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
}

body.sinqlo-page .bento-wallet__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  background: #fff;
  color: var(--deep);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

/* Game score panel (dashboard top) */
body.sinqlo-page .bento-game-panel {
  grid-column: 1 / -1;
  padding: 1rem 1.1rem 1.15rem;
}
body.sinqlo-page .bento-game-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
body.sinqlo-page .bento-game-panel__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
body.sinqlo-page .bento-game-stat {
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: color-mix(in srgb, var(--card, #fff) 92%, var(--muted, #6b7280) 8%);
}
body.sinqlo-page .bento-game-stat span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted, #6b7280);
  margin-bottom: 0.25rem;
}
body.sinqlo-page .bento-game-stat strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink, #111827);
}
body.sinqlo-page .bento-game-stat--available {
  border-color: color-mix(in srgb, var(--deep, "#3b82f6") 35%, var(--line, #e5e7eb));
  background: color-mix(in srgb, var(--deep, "#3b82f6") 10%, var(--card, #fff));
}
body.sinqlo-page .bento-game-panel__rate {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--muted, #6b7280);
}
body.sinqlo-page .bento-game-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
body.sinqlo-page .bento-game-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}
body.sinqlo-page .bento-game-form__row input[type="number"] {
  flex: 1 1 180px;
  min-width: 140px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  background: var(--card, #fff);
  color: var(--ink, #111827);
}
body.sinqlo-page .bento-game-form__hint {
  margin: 0.45rem 0 0.9rem;
  font-size: 0.78rem;
  color: var(--muted, #6b7280);
}
body.sinqlo-page .bento-game-table {
  font-size: 0.85rem;
}
body.sinqlo-page .bento-game-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted, #6b7280);
}
@media (max-width: 900px) {
  body.sinqlo-page .bento-game-panel__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  body.sinqlo-page .bento-game-panel__stats {
    grid-template-columns: 1fr;
  }
}

/* Metric tiles — reference card layout */
body.sinqlo-page .bento-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  height: auto;
  align-content: stretch;
}

body.sinqlo-page .bento-metric {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.9rem 0.95rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mint-soft);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

body.sinqlo-page .bento-metric::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  background-image: radial-gradient(rgb(148 163 184 / 0.22) 1px, transparent 1px);
  background-size: 9px 9px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

body.sinqlo-page .bento-metric > * {
  position: relative;
  z-index: 1;
}

body.sinqlo-page .bento-metric:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--color-primary-rgb) / 0.18);
  box-shadow: 0 12px 28px rgb(15 23 42 / 0.08);
}

body.sinqlo-page .bento-metric--trading {
  background: linear-gradient(145deg, #eff6ff 0%, #f7fef9 55%, #ffffff 100%);
  border-color: rgb(14 116 73 / 0.14);
}

body.sinqlo-page .bento-metric--working {
  background: linear-gradient(145deg, #f0f9ff 0%, #f8fcff 55%, #ffffff 100%);
  border-color: rgb(14 165 233 / 0.16);
}

body.sinqlo-page .bento-metric--overall {
  background: linear-gradient(145deg, #f5f3ff 0%, #faf8ff 55%, #ffffff 100%);
  border-color: rgb(124 58 237 / 0.14);
}

body.sinqlo-page .bento-metric--fd {
  background: linear-gradient(145deg, #fffbeb 0%, #fffdf5 55%, #ffffff 100%);
  border-color: rgb(245 158 11 / 0.18);
}

body.sinqlo-page .bento-metric__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  font-size: 1.15rem;
  line-height: 1;
}

body.sinqlo-page .bento-metric--trading .bento-metric__icon {
  background: linear-gradient(145deg, #dbeafe 0%, #a7f3d0 100%);
  color: #047857;
}

body.sinqlo-page .bento-metric--working .bento-metric__icon {
  background: linear-gradient(145deg, #bae6fd 0%, #7dd3fc 100%);
  color: #0369a1;
}

body.sinqlo-page .bento-metric--overall .bento-metric__icon {
  background: linear-gradient(145deg, #ddd6fe 0%, #c4b5fd 100%);
  color: #5b21b6;
}

body.sinqlo-page .bento-metric--fd .bento-metric__icon {
  background: linear-gradient(145deg, #fde68a 0%, #fcd34d 100%);
  color: #b45309;
}

body.sinqlo-page .bento-metric__delta {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #111827;
  background: #86efac;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 0;
  box-shadow: none;
}

body.sinqlo-page .bento-metric--working .bento-metric__delta {
  background: #7dd3fc;
}

body.sinqlo-page .bento-metric--overall .bento-metric__delta {
  background: #c4b5fd;
}

body.sinqlo-page .bento-metric--fd .bento-metric__delta {
  background: #fcd34d;
}

body.sinqlo-page .bento-metric__label {
  margin: 0.7rem 0 0;
  padding-right: 4.5rem;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #6b7280;
  line-height: 1.3;
}

body.sinqlo-page .bento-metric__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

body.sinqlo-page .bento-metric__value {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

body.sinqlo-page .bento-metric__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.25;
  color: #9ca3af;
  text-align: right;
  flex-shrink: 0;
}

/* Chart cell */
body.sinqlo-page .bento-segment {
  display: inline-flex;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--mint-soft);
}

body.sinqlo-page .bento-segment__btn {
  border: 0;
  border-radius: 8px;
  padding: 0.3rem 0.75rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

body.sinqlo-page .bento-segment__btn.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

/* Insight row — Network, Rank, Income */
body.sinqlo-page .bento-insight__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

body.sinqlo-page .bento-insight__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

body.sinqlo-page .bento-insight__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-emerald-soft);
  color: var(--deep);
  font-size: 1.05rem;
  flex-shrink: 0;
}

body.sinqlo-page .bento-insight__icon--rank {
  background: #fef3c7;
  color: #d97706;
}

body.sinqlo-page .bento-insight__icon--income {
  background: var(--accent-sky-soft);
  color: var(--accent-sky);
}

body.sinqlo-page .bento-insight__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

body.sinqlo-page .bento-insight__link {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--deep);
  text-decoration: none;
  white-space: nowrap;
}

body.sinqlo-page .bento-insight__link:hover {
  text-decoration: underline;
}

body.sinqlo-page .bento-insight__tag,
body.sinqlo-page .bento-insight__total {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--deep);
  background: var(--accent-emerald-soft);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Network v3 */
body.sinqlo-page .bento-network-v3 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

body.sinqlo-page .bento-network-v3__hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(var(--color-cyan-rgb) / 0.14) 0%, rgb(var(--color-primary-rgb) / 0.1) 100%);
  border: 1px solid rgb(var(--color-primary-rgb) / 0.12);
}

body.sinqlo-page .bento-network-v3__hero strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--deep);
}

body.sinqlo-page .bento-network-v3__hero span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .bento-network-v3__watermark {
  font-size: 2.5rem;
  color: rgb(var(--color-primary-rgb) / 0.15);
  line-height: 1;
}

body.sinqlo-page .bento-network-v3__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: auto;
}

body.sinqlo-page .bento-network-v3__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--mint-soft);
}

body.sinqlo-page .bento-network-v3__item-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--card);
  color: var(--deep);
  font-size: 0.95rem;
  flex-shrink: 0;
}

body.sinqlo-page .bento-network-v3__item-icon--left {
  color: var(--accent-sky);
  background: var(--accent-sky-soft);
}

body.sinqlo-page .bento-network-v3__item-icon--right {
  color: var(--deep);
  background: var(--accent-emerald-soft);
}

body.sinqlo-page .bento-network-v3__item span {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

body.sinqlo-page .bento-network-v3__item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}

/* Rank v3 */
body.sinqlo-page .bento-rank-v3 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  height: 100%;
}

body.sinqlo-page .bento-rank-v3__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(145deg, #fef3c7 0%, #fde68a 55%, #f59e0b 100%);
  border: 2px solid #fff;
  box-shadow: 0 8px 20px rgb(245 158 11 / 0.28);
  flex-shrink: 0;
}

body.sinqlo-page .bento-rank-v3__badge-tier {
  font-size: 1.15rem;
  font-weight: 900;
  color: #92400e;
  line-height: 1;
  letter-spacing: -0.02em;
}

body.sinqlo-page .bento-rank-v3__badge-pct {
  font-size: 0.68rem;
  font-weight: 800;
  color: #b45309;
}

body.sinqlo-page .bento-rank-v3__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

body.sinqlo-page .bento-rank-v3__desc {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

body.sinqlo-page .bento-rank-v3__next {
  margin: 0.35rem 0 0.45rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

body.sinqlo-page .bento-rank-v3__next strong {
  color: var(--deep);
  font-weight: 800;
}

body.sinqlo-page .bento-rank-v3__progress {
  height: 7px;
  border-radius: 999px;
  background: rgb(var(--color-primary-rgb) / 0.1);
  overflow: hidden;
}

body.sinqlo-page .bento-rank-v3__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

body.sinqlo-page .bento-rank-v3__foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
}

body.sinqlo-page .bento-rank-v3__foot-item {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: var(--mint-soft);
  border: 1px solid var(--line);
}

body.sinqlo-page .bento-rank-v3__foot-item span {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

body.sinqlo-page .bento-rank-v3__foot-item strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}

/* Income v3 */
body.sinqlo-page .bento-income-v3 {
  height: 100%;
}

body.sinqlo-page .bento-income-v3__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.sinqlo-page .bento-income-v3__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  justify-content: center;
}

body.sinqlo-page .bento-income-v3__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--mint-soft);
  border-left-width: 3px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.sinqlo-page .bento-income-v3__item--a {
  border-left-color: #00d4aa;
}

body.sinqlo-page .bento-income-v3__item--b {
  border-left-color: #0ea5e9;
}

body.sinqlo-page .bento-income-v3__item--c {
  border-left-color: #f59e0b;
}

body.sinqlo-page .bento-income-v3__item.income-rings-legend-item {
  margin: 0;
}

body.sinqlo-page .bento-income-v3__item:hover,
body.sinqlo-page .bento-income-v3__item.is-active {
  background: var(--card);
  border-color: rgb(var(--color-primary-rgb) / 0.22);
  box-shadow: 0 4px 14px rgb(var(--color-primary-rgb) / 0.06);
}

body.sinqlo-page .bento-income-v3__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

body.sinqlo-page .bento-income-v3__name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

body.sinqlo-page .bento-income-v3__amt {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

body.sinqlo-page .bento-income-v3__bar {
  height: 6px;
  border-radius: 999px;
  background: rgb(var(--color-primary-rgb) / 0.1);
  overflow: hidden;
}

body.sinqlo-page .bento-income-v3__bar span {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: var(--deep);
}

body.sinqlo-page .bento-income-v3__item--a .bento-income-v3__bar span {
  background: linear-gradient(90deg, #3b82f6 0%, var(--deep) 100%);
}

body.sinqlo-page .bento-income-v3__item--b .bento-income-v3__bar span {
  background: linear-gradient(90deg, #0ea5e9 0%, #0284c7 100%);
}

body.sinqlo-page .bento-income-v3__item--c .bento-income-v3__bar span {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

body.sinqlo-page .bento-income-v3__pct {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--muted);
}

/* Quick actions */
body.sinqlo-page .bento-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

body.sinqlo-page .bento-quick__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 54px;
  padding: 0.45rem 0.3rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

body.sinqlo-page .bento-quick__btn:hover {
  transform: translateY(-1px);
  background: var(--mint-soft);
  box-shadow:
    inset 0 0 0 1px rgb(var(--color-primary-rgb) / 0.18),
    0 8px 18px rgb(var(--color-primary-rgb) / 0.08);
  color: var(--ink);
}

body.sinqlo-page .bento-quick__btn:focus-visible {
  outline: 2px solid rgb(var(--color-primary-rgb) / 0.35);
  outline-offset: 2px;
}

body.sinqlo-page .bento-quick__btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

body.sinqlo-page .bento-quick__btn--accent {
  background: linear-gradient(135deg, rgb(var(--color-primary-rgb) / 0.1) 0%, rgb(var(--color-cyan-rgb) / 0.08) 100%);
  box-shadow: inset 0 0 0 1px rgb(var(--color-primary-rgb) / 0.16);
}

body.sinqlo-page .bento-quick__btn--accent:hover {
  background: linear-gradient(135deg, rgb(var(--color-primary-rgb) / 0.14) 0%, rgb(var(--color-cyan-rgb) / 0.12) 100%);
}

body.sinqlo-page .bento-quick__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 1.05rem;
  line-height: 1;
}

body.sinqlo-page .bento-quick__icon--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 14px rgb(var(--color-primary-rgb) / 0.28);
}

body.sinqlo-page .bento-quick__icon--sky {
  background: var(--accent-sky-soft);
  color: var(--accent-sky);
}

body.sinqlo-page .bento-quick__icon--amber {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
}

body.sinqlo-page .bento-quick__icon--teal {
  background: var(--accent-emerald-soft);
  color: var(--deep);
}

body.sinqlo-page .bento-quick__icon--gold {
  background: #fef3c7;
  color: #d97706;
}

body.sinqlo-page .bento-quick__icon--violet {
  background: #ede9fe;
  color: #7c3aed;
}

body.sinqlo-page .bento-quick__label {
  display: block;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* Activity feed */
body.sinqlo-page .bento-feed {
  display: grid;
  gap: 0.65rem;
}

body.sinqlo-page .bento-feed__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  transition: background 0.15s ease;
}

body.sinqlo-page .bento-feed__item:hover {
  background: var(--mint-soft);
}

body.sinqlo-page .bento-feed__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.1rem;
}

body.sinqlo-page .bento-feed__icon--credit {
  background: var(--accent-emerald-soft);
  color: var(--deep);
}

body.sinqlo-page .bento-feed__icon--debit {
  background: #fee2e2;
  color: var(--danger);
}

body.sinqlo-page .bento-feed__title {
  margin: 0 0 0.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

body.sinqlo-page .bento-feed__meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

body.sinqlo-page .bento-feed__amount {
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

body.sinqlo-page .bento-feed__amount--up {
  color: var(--deep);
}

body.sinqlo-page .bento-feed__amount--down {
  color: var(--danger);
}

body.sinqlo-page .bento-status {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

body.sinqlo-page .bento-status--ok {
  color: var(--deep);
  background: var(--accent-emerald-soft);
}

body.sinqlo-page .bento-status--bad {
  color: var(--danger);
  background: #fee2e2;
}

/* Chart cell */
body.sinqlo-page .bento-cell--chart .payments-credit-debit-chart__header {
  margin-bottom: 0;
}

body.sinqlo-page .bento-cell--chart .payments-credit-debit-chart__canvas {
  min-height: 280px;
}

.payments-credit-debit-chart__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.payments-credit-debit-chart__summary-card {
  min-width: 0;
  background: var(--mint-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.payments-credit-debit-chart__summary-label {
  color: var(--muted);
  font-size: 0.68rem;
  margin-bottom: 0.2rem;
}

.payments-credit-debit-chart__summary-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.payments-credit-debit-chart__summary-value--credit {
  color: var(--chart-credit);
}

.payments-credit-debit-chart__summary-value--debit {
  color: var(--chart-debit);
}

.payments-credit-debit-chart__canvas {
  min-height: 240px;
}

/* Bento dashboard — dark mode */
body.sinqlo-page[data-appearance="dark"] .bento-cell,
body.sinqlo-page[data-appearance="dark"] .bento-cell--metrics,
body.sinqlo-page[data-appearance="dark"] .bento-insight,
body.sinqlo-page[data-appearance="dark"] .bento-spotlight,
body.sinqlo-page[data-appearance="dark"] .bento-revenue-card {
  background: var(--card);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .bento-spotlight--network,
body.sinqlo-page[data-appearance="dark"] .bento-spotlight--rank,
body.sinqlo-page[data-appearance="dark"] .bento-spotlight--income {
  background: var(--card);
}

body.sinqlo-page[data-appearance="dark"] .bento-insight:hover,
body.sinqlo-page[data-appearance="dark"] .bento-spotlight:hover {
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.28);
}

body.sinqlo-page[data-appearance="dark"] .bento-cell__title,
body.sinqlo-page[data-appearance="dark"] .bento-insight__title,
body.sinqlo-page[data-appearance="dark"] .bento-spotlight__title,
body.sinqlo-page[data-appearance="dark"] .bento-metric__value,
body.sinqlo-page[data-appearance="dark"] .bento-income-v3__amt,
body.sinqlo-page[data-appearance="dark"] .bento-feed__title {
  color: var(--ink);
}

body.sinqlo-page[data-appearance="dark"] .bento-spotlight__action {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

body.sinqlo-page[data-appearance="dark"] .net-panel__stats li,
body.sinqlo-page[data-appearance="dark"] .income-panel__item,
body.sinqlo-page[data-appearance="dark"] .bento-revenue-kpi,
body.sinqlo-page[data-appearance="dark"] .bento-rank__stat,
body.sinqlo-page[data-appearance="dark"] .bento-rank__hero,
body.sinqlo-page[data-appearance="dark"] .bento-rank__targets {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .bento-rank__target-row + .bento-rank__target-row {
  border-top-color: rgb(255 255 255 / 0.08);
}

body.sinqlo-page[data-appearance="dark"] .bento-revenue-kpi--credit {
  background: linear-gradient(145deg, rgb(16 185 129 / 0.14) 0%, var(--surface) 60%);
  border-color: rgb(16 185 129 / 0.28);
}

body.sinqlo-page[data-appearance="dark"] .bento-revenue-kpi--debit {
  background: linear-gradient(145deg, rgb(239 68 68 / 0.14) 0%, var(--surface) 60%);
  border-color: rgb(239 68 68 / 0.28);
}

body.sinqlo-page[data-appearance="dark"] .bento-revenue-kpi--net {
  background: linear-gradient(145deg, rgb(37 99 235 / 0.14) 0%, var(--surface) 60%);
  border-color: rgb(37 99 235 / 0.28);
}

body.sinqlo-page[data-appearance="dark"] .bento-link,
body.sinqlo-page[data-appearance="dark"] .dash-topbar__greeting strong {
  color: var(--ink);
}

body.sinqlo-page[data-appearance="dark"] .bento-metric {
  box-shadow: none;
}

body.sinqlo-page[data-appearance="dark"] .bento-metric--trading {
  background: linear-gradient(145deg, rgb(16 185 129 / 0.14) 0%, rgb(16 185 129 / 0.06) 55%, var(--card) 100%);
  border-color: rgb(16 185 129 / 0.22);
}

body.sinqlo-page[data-appearance="dark"] .bento-metric--working {
  background: linear-gradient(145deg, rgb(56 189 248 / 0.14) 0%, rgb(56 189 248 / 0.06) 55%, var(--card) 100%);
  border-color: rgb(56 189 248 / 0.22);
}

body.sinqlo-page[data-appearance="dark"] .bento-metric--overall {
  background: linear-gradient(145deg, rgb(167 139 250 / 0.14) 0%, rgb(167 139 250 / 0.06) 55%, var(--card) 100%);
  border-color: rgb(167 139 250 / 0.22);
}

body.sinqlo-page[data-appearance="dark"] .bento-metric--fd {
  background: linear-gradient(145deg, rgb(251 191 36 / 0.14) 0%, rgb(251 191 36 / 0.06) 55%, var(--card) 100%);
  border-color: rgb(251 191 36 / 0.22);
}

body.sinqlo-page[data-appearance="dark"] .bento-metric::before {
  background-image: radial-gradient(rgb(148 163 184 / 0.14) 1px, transparent 1px);
  opacity: 0.45;
}

body.sinqlo-page[data-appearance="dark"] .bento-metric:hover {
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.28);
  border-color: rgb(var(--color-primary-rgb) / 0.25);
}

body.sinqlo-page[data-appearance="dark"] .bento-metric--trading .bento-metric__icon {
  background: linear-gradient(145deg, rgb(16 185 129 / 0.35) 0%, rgb(16 185 129 / 0.18) 100%);
  color: #93c5fd;
}

body.sinqlo-page[data-appearance="dark"] .bento-metric--working .bento-metric__icon {
  background: linear-gradient(145deg, rgb(56 189 248 / 0.35) 0%, rgb(56 189 248 / 0.18) 100%);
  color: #7dd3fc;
}

body.sinqlo-page[data-appearance="dark"] .bento-metric--overall .bento-metric__icon {
  background: linear-gradient(145deg, rgb(167 139 250 / 0.35) 0%, rgb(167 139 250 / 0.18) 100%);
  color: #c4b5fd;
}

body.sinqlo-page[data-appearance="dark"] .bento-metric--fd .bento-metric__icon {
  background: linear-gradient(145deg, rgb(251 191 36 / 0.35) 0%, rgb(251 191 36 / 0.18) 100%);
  color: #fcd34d;
}

body.sinqlo-page[data-appearance="dark"] .bento-metric__delta {
  color: #111827;
}

body.sinqlo-page[data-appearance="dark"] .bento-metric__label,
body.sinqlo-page[data-appearance="dark"] .bento-metric__meta {
  color: var(--muted);
}

body.sinqlo-page[data-appearance="dark"] .bento-quick__btn {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

body.sinqlo-page[data-appearance="dark"] .bento-quick__btn:hover {
  background: var(--surface-hover);
  box-shadow:
    inset 0 0 0 1px rgb(var(--color-primary-rgb) / 0.28),
    0 8px 18px rgb(0 0 0 / 0.22);
}

body.sinqlo-page[data-appearance="dark"] .bento-quick__btn--accent {
  background: linear-gradient(135deg, rgb(var(--color-primary-rgb) / 0.22) 0%, rgb(var(--color-cyan-rgb) / 0.14) 100%);
  box-shadow: inset 0 0 0 1px rgb(var(--color-primary-rgb) / 0.3);
}

body.sinqlo-page[data-appearance="dark"] .bento-income-v3__item {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .bento-income-v3__item:hover,
body.sinqlo-page[data-appearance="dark"] .bento-income-v3__item.is-active {
  background: var(--surface-hover);
  border-color: rgb(var(--color-primary-rgb) / 0.28);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.2);
}

body.sinqlo-page[data-appearance="dark"] .bento-income-v3__bar {
  background: rgb(255 255 255 / 0.08);
}

body.sinqlo-page[data-appearance="dark"] .bento-network-v3__hero {
  background: linear-gradient(135deg, rgb(var(--color-cyan-rgb) / 0.16) 0%, rgb(var(--color-primary-rgb) / 0.12) 100%);
  border-color: rgb(var(--color-primary-rgb) / 0.2);
}

body.sinqlo-page[data-appearance="dark"] .bento-network-v3__stat,
body.sinqlo-page[data-appearance="dark"] .bento-rank-v3__foot-item,
body.sinqlo-page[data-appearance="dark"] .bento-feed__item {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .bento-segment {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .bento-segment__btn {
  color: var(--muted);
}

body.sinqlo-page[data-appearance="dark"] .bento-segment__btn.is-active {
  background: var(--card);
  color: var(--ink);
}

body.sinqlo-page[data-appearance="dark"] .sidebar-search {
  background: var(--surface);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .sidebar-search input {
  color: var(--ink);
}

body.sinqlo-page[data-appearance="dark"] .app-sidebar--dash {
  background: var(--card);
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .app-sidebar--dash .dash-brand {
  border-color: var(--line);
}

body.sinqlo-page[data-appearance="dark"] .app-sidebar--dash .sidebar-link:hover {
  background: rgb(var(--color-primary-rgb) / 0.12);
}

body.sinqlo-page[data-appearance="dark"] .app-sidebar--dash .sidebar-link.active,
body.sinqlo-page[data-appearance="dark"] .app-sidebar--dash .sidebar-link.active:hover {
  color: #fff;
  background: rgb(var(--color-primary-rgb) / 0.28);
}

body.sinqlo-page[data-appearance="dark"] .app-sidebar--dash .sidebar-upgrade {
  background: linear-gradient(145deg, rgb(var(--color-primary-rgb) / 0.16) 0%, rgb(var(--color-cyan-rgb) / 0.1) 100%);
  border-color: rgb(var(--color-primary-rgb) / 0.2);
}

body.sinqlo-page[data-appearance="dark"] .dash-topbar--bento {
  background: var(--card);
  border-color: var(--line);
}

@media (max-width: 1199.98px) {
  body.sinqlo-page .bento-insight-row,
  body.sinqlo-page .bento-spotlight-row {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .bento-top-row {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .bento-cell--metrics .bento-metrics {
    height: auto;
    grid-template-rows: auto auto;
  }

  body.sinqlo-page .bento-top-row .bento-metric {
    height: auto;
    min-height: 0;
  }

  body.sinqlo-page .bento-left-stack .bento-quick__btn {
    height: auto;
  }

  body.sinqlo-page .bento-cell--span-5,
  body.sinqlo-page .bento-cell--span-6,
  body.sinqlo-page .bento-cell--span-7,
  body.sinqlo-page .bento-cell--span-4,
  body.sinqlo-page .bento-cell--span-8,
  body.sinqlo-page .bento-cell--row-span-2 {
    grid-column: span 12;
    grid-row: span 1;
  }

  body.sinqlo-page .bento-insight,
  body.sinqlo-page .bento-spotlight {
    min-height: 0;
  }

  body.sinqlo-page .bento-revenue-card__top {
    flex-direction: column;
  }

  body.sinqlo-page .bento-revenue-kpis {
    min-width: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.sinqlo-page .net-panel__stats {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .bento-rank-v3 {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  body.sinqlo-page .bento-rank-v3__info {
    width: 100%;
  }

  body.sinqlo-page .bento-rank-v3__foot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  body.sinqlo-page .bento-metrics {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .bento-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payments-credit-debit-chart__summary {
    grid-template-columns: 1fr;
  }

  /* Revenue performance KPIs: stack so currency values don't clip */
  body.sinqlo-page .bento-revenue-kpis {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  body.sinqlo-page .bento-revenue-kpi {
    align-items: center;
    padding: 0.6rem 0.75rem;
  }

  body.sinqlo-page .bento-revenue-kpi__body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.5rem;
  }

  body.sinqlo-page .bento-revenue-kpi span {
    margin-bottom: 0;
    flex: 1 1 auto;
  }

  body.sinqlo-page .bento-revenue-kpi strong {
    flex: 0 0 auto;
    font-size: 1.05rem;
    white-space: nowrap;
  }

  body.sinqlo-page .bento-revenue-kpi__hint {
    flex: 0 0 auto;
    margin-top: 0;
  }

  body.sinqlo-page .bento-revenue-card__toolbar {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
  }

  body.sinqlo-page .bento-revenue-chart {
    min-height: 240px;
  }
}

/* —— Rewards page —— */
body.sinqlo-page .rewards-page {
  align-items: stretch;
}

body.sinqlo-page .rewards-seg--achieved {
  background: linear-gradient(90deg, #ca8a04, #eab308);
}

body.sinqlo-page .rewards-dot--achieved {
  background: #ca8a04;
}

body.sinqlo-page .rewards-next__copy {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

body.sinqlo-page .rewards-next__bars,
body.sinqlo-page .reward-tile__progress {
  display: grid;
  gap: 0.75rem;
}

body.sinqlo-page .rewards-bar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

body.sinqlo-page .rewards-bar__head span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
}

body.sinqlo-page .rewards-bar__track {
  height: 8px;
  border-radius: 999px;
  background: rgb(var(--color-primary-rgb) / 0.08);
  overflow: hidden;
}

body.sinqlo-page .rewards-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

body.sinqlo-page .rewards-bar__fill--left {
  background: linear-gradient(90deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .rewards-bar__fill--right {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

body.sinqlo-page .rewards-bar small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--muted);
}

body.sinqlo-page .rewards-board__head {
  align-items: flex-start;
}

body.sinqlo-page .rewards-board__tools,
body.sinqlo-page .notif-inbox__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-left: auto;
}

body.sinqlo-page .rewards-search {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: min(220px, 100%);
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

body.sinqlo-page .rewards-search i {
  color: var(--muted);
  font-size: 1rem;
}

body.sinqlo-page .rewards-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.85rem;
  color: var(--ink);
}

body.sinqlo-page .rewards-tabs.tabs-pill {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(var(--color-primary-rgb) / 0.04);
}

body.sinqlo-page .rewards-tabs.tabs-pill .btn {
  border: 0;
  border-radius: 9px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
}

body.sinqlo-page .rewards-tabs.tabs-pill .btn.active {
  color: #fff;
  background: var(--color-primary, #3b82f6);
}

body.sinqlo-page .rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

body.sinqlo-page .reward-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(16 24 40 / 0.04);
  border-left-width: 3px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.sinqlo-page .reward-tile:hover {
  box-shadow: 0 10px 24px rgb(16 24 40 / 0.08);
  transform: translateY(-1px);
}

body.sinqlo-page .reward-tile--paid {
  border-left-color: #00d4aa;
}

body.sinqlo-page .reward-tile--achieved {
  border-left-color: #ca8a04;
  background: linear-gradient(180deg, rgb(234 179 8 / 0.08) 0%, #fff 55%);
}

body.sinqlo-page .reward-tile--progress {
  border-left-color: #2563eb;
}

body.sinqlo-page .reward-tile--skip {
  border-left-color: #94a3b8;
  opacity: 0.88;
}

body.sinqlo-page .reward-tile.is-focus {
  border-color: rgb(var(--color-primary-rgb) / 0.35);
  box-shadow: 0 8px 22px rgb(16 185 129 / 0.12);
}

body.sinqlo-page .reward-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

body.sinqlo-page .reward-tile__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgb(var(--color-primary-rgb) / 0.08);
  color: var(--color-primary, #3b82f6);
}

body.sinqlo-page .reward-tile--skip .reward-tile__badge {
  background: rgb(148 163 184 / 0.18);
  color: #64748b;
}

body.sinqlo-page .reward-tile--paid .reward-tile__badge {
  background: rgb(16 185 129 / 0.14);
  color: #00d4aa;
}

body.sinqlo-page .reward-tile--achieved .reward-tile__badge {
  background: rgb(234 179 8 / 0.18);
  color: #a16207;
}

body.sinqlo-page .reward-tile--progress .reward-tile__badge {
  background: rgb(37 99 235 / 0.12);
  color: #1d4ed8;
}

body.sinqlo-page .reward-tile__level {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.sinqlo-page .reward-tile__rank {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

body.sinqlo-page .reward-tile__target,
body.sinqlo-page .reward-tile__payout,
body.sinqlo-page .reward-tile__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

body.sinqlo-page .reward-tile__target strong,
body.sinqlo-page .reward-tile__payout em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

body.sinqlo-page .reward-tile__payout em {
  color: var(--color-primary, #3b82f6);
  font-size: 1rem;
}

body.sinqlo-page .reward-tile__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  font-size: 0.74rem;
}

body.sinqlo-page .reward-tile__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.65rem;
}

body.sinqlo-page .reward-tile__check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--muted);
  cursor: pointer;
}

body.sinqlo-page .reward-tile__cta {
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #00d4aa);
  box-shadow: 0 6px 14px rgb(16 185 129 / 0.22);
}

body.sinqlo-page .reward-tile__cta:hover {
  filter: brightness(1.05);
}

body.sinqlo-page .reward-tile__progress {
  margin-top: 0.45rem;
}

body.sinqlo-page .rewards-bar--compact .rewards-bar__head {
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}

body.sinqlo-page .rewards-bar--compact .rewards-bar__track {
  height: 6px;
}

body.sinqlo-page .rewards-empty {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* —— Notifications page —— */
body.sinqlo-page .notif-inbox__head {
  align-items: flex-start;
}

body.sinqlo-page .notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

body.sinqlo-page .notif-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.sinqlo-page .notif-row:hover {
  border-color: rgb(var(--color-primary-rgb) / 0.28);
  box-shadow: 0 6px 16px rgb(16 24 40 / 0.05);
}

body.sinqlo-page .notif-row.is-unread {
  background: linear-gradient(90deg, rgb(var(--color-primary-rgb) / 0.07) 0%, #fff 42%);
  border-color: rgb(var(--color-primary-rgb) / 0.22);
}

body.sinqlo-page .notif-row.is-unread .notif-row__title {
  font-weight: 800;
}

body.sinqlo-page .notif-row__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

body.sinqlo-page .notif-row__icon--success {
  background: linear-gradient(135deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .notif-row__icon--warning {
  background: linear-gradient(135deg, #c2410c, #f59e0b);
}

body.sinqlo-page .notif-row__icon--info {
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
}

body.sinqlo-page .notif-row__icon--system {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

body.sinqlo-page .notif-row__body {
  min-width: 0;
}

body.sinqlo-page .notif-row__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.2rem;
}

body.sinqlo-page .notif-row__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

body.sinqlo-page .notif-row__tag {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(var(--color-primary-rgb) / 0.05);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

body.sinqlo-page .notif-row__text {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}

body.sinqlo-page .notif-row__time {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

body.sinqlo-page .notif-row__action {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.sinqlo-page .notif-row__action:hover:not(:disabled) {
  color: var(--color-primary, #3b82f6);
  border-color: rgb(var(--color-primary-rgb) / 0.35);
}

body.sinqlo-page .notif-row__action:disabled {
  opacity: 0.45;
  cursor: default;
}

@media (max-width: 991.98px) {
  body.sinqlo-page .rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.sinqlo-page .rewards-board__tools,
  body.sinqlo-page .notif-inbox__tools {
    width: 100%;
    margin-left: 0;
    justify-content: stretch;
  }

  body.sinqlo-page .rewards-search,
  body.sinqlo-page .notif-search {
    flex: 1 1 100%;
  }
}

@media (max-width: 575.98px) {
  body.sinqlo-page .rewards-grid {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .notif-row {
    grid-template-columns: auto 1fr;
  }

  body.sinqlo-page .notif-row__action {
    grid-column: 2;
    justify-self: end;
  }
}

/* —— Notifications page (simple cards) —— */
body.sinqlo-page .notifications-page .notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.sinqlo-page .notif-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(16 24 40 / 0.04);
}

body.sinqlo-page .notif-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

body.sinqlo-page .notif-card__icon--success {
  background: linear-gradient(135deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .notif-card__icon--warning {
  background: linear-gradient(135deg, #c2410c, #f59e0b);
}

body.sinqlo-page .notif-card__icon--info {
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
}

body.sinqlo-page .notif-card__icon--system {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

body.sinqlo-page .notif-card__body {
  min-width: 0;
  flex: 1;
}

body.sinqlo-page .notif-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.25rem;
}

body.sinqlo-page .notif-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

body.sinqlo-page .notif-card__time {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

body.sinqlo-page .notif-card__text {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

/* —— FD Orders page —— */
body.sinqlo-page .fd-orders-page {
  align-items: stretch;
}

body.sinqlo-page .fd-orders-intro {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.4rem 1.45rem;
  background:
    radial-gradient(ellipse 55% 120% at 100% 0%, rgb(var(--color-primary-rgb) / 0.14) 0%, transparent 58%),
    #fff;
}

body.sinqlo-page .fd-orders-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary, #3b82f6);
}

body.sinqlo-page .fd-orders-intro__eyebrow i {
  font-size: 0.95rem;
}

body.sinqlo-page .fd-orders-intro__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}

body.sinqlo-page .fd-orders-intro__sub {
  margin: 0;
  max-width: 36rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

body.sinqlo-page .fd-orders-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.sinqlo-page .fd-order-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  height: 100%;
  min-height: 100%;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(16 24 40 / 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.sinqlo-page .fd-order-card:hover {
  box-shadow: 0 10px 22px rgb(16 24 40 / 0.07);
  transform: translateY(-1px);
}

body.sinqlo-page .fd-order-card--active {
  border-left-color: #00d4aa;
  background: linear-gradient(90deg, rgb(16 185 129 / 0.08) 0%, #fff 42%);
}

body.sinqlo-page .fd-order-card--active:hover {
  border-color: rgb(16 185 129 / 0.35);
  border-left-color: #00d4aa;
}

body.sinqlo-page .fd-order-card--matured {
  border-left-color: #2563eb;
  background: linear-gradient(90deg, rgb(37 99 235 / 0.08) 0%, #fff 42%);
}

body.sinqlo-page .fd-order-card--matured:hover {
  border-color: rgb(37 99 235 / 0.35);
  border-left-color: #2563eb;
}

body.sinqlo-page .fd-order-card--pending {
  border-left-color: #f59e0b;
  background: linear-gradient(90deg, rgb(245 158 11 / 0.1) 0%, #fff 42%);
}

body.sinqlo-page .fd-order-card--pending:hover {
  border-color: rgb(245 158 11 / 0.4);
  border-left-color: #f59e0b;
}

body.sinqlo-page .fd-order-card__index {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

body.sinqlo-page .fd-order-card--active .fd-order-card__index {
  color: #00d4aa;
  background: rgb(16 185 129 / 0.16);
}

body.sinqlo-page .fd-order-card--matured .fd-order-card__index {
  color: #1d4ed8;
  background: rgb(37 99 235 / 0.14);
}

body.sinqlo-page .fd-order-card--pending .fd-order-card__index {
  color: #b45309;
  background: rgb(245 158 11 / 0.18);
}

body.sinqlo-page .fd-order-card__body {
  min-width: 0;
  flex: 1;
}

body.sinqlo-page .fd-order-card__id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.35rem;
}

body.sinqlo-page .fd-order-card__id {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

body.sinqlo-page .fd-order-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

body.sinqlo-page .fd-order-card--active .fd-order-card__status {
  background: #00d4aa;
  box-shadow: 0 4px 10px rgb(16 185 129 / 0.28);
}

body.sinqlo-page .fd-order-card--matured .fd-order-card__status {
  background: #2563eb;
  box-shadow: 0 4px 10px rgb(37 99 235 / 0.28);
}

body.sinqlo-page .fd-order-card--pending .fd-order-card__status {
  background: #f59e0b;
  box-shadow: 0 4px 10px rgb(245 158 11 / 0.28);
}

body.sinqlo-page .fd-order-card__amount {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.sinqlo-page .fd-order-card--active .fd-order-card__amount {
  color: #00d4aa;
}

body.sinqlo-page .fd-order-card--matured .fd-order-card__amount {
  color: #1d4ed8;
}

body.sinqlo-page .fd-order-card--pending .fd-order-card__amount {
  color: #b45309;
}

body.sinqlo-page .fd-order-card__date {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  color: #475467;
  line-height: 1.35;
}

body.sinqlo-page .fd-order-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

body.sinqlo-page .fd-order-card__booster {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

body.sinqlo-page .fd-order-card__booster em {
  font-style: normal;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

body.sinqlo-page .fd-order-card--active .fd-order-card__booster em {
  color: #00d4aa;
  background: rgb(16 185 129 / 0.14);
}

body.sinqlo-page .fd-order-card--matured .fd-order-card__booster em {
  color: #1d4ed8;
  background: rgb(37 99 235 / 0.12);
}

body.sinqlo-page .fd-order-card--pending .fd-order-card__booster em {
  color: #b45309;
  background: rgb(245 158 11 / 0.16);
}

body.sinqlo-page .fd-order-card__hint {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
}

body.sinqlo-page .fd-order-card--active .fd-order-card__hint {
  color: #00d4aa;
}

body.sinqlo-page .fd-order-card--matured .fd-order-card__hint {
  color: #1d4ed8;
}

body.sinqlo-page .fd-order-card--pending .fd-order-card__hint {
  color: #b45309;
}

@media (max-width: 991.98px) {
  body.sinqlo-page .fd-orders-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.sinqlo-page .fd-orders-intro {
    padding: 1.15rem 1.1rem 1.25rem;
  }

  body.sinqlo-page .fd-orders-list {
    grid-template-columns: 1fr;
  }

  body.sinqlo-page .fd-order-card {
    padding: 0.95rem 1rem;
  }

  body.sinqlo-page .fd-order-card__amount {
    font-size: 1.15rem;
  }
}

/* —— Activation page —— */
body.sinqlo-page .activation-page {
  align-items: stretch;
}

body.sinqlo-page .activation-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem;
}

body.sinqlo-page .activation-stat__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

body.sinqlo-page .activation-stat__icon--orders {
  background: linear-gradient(135deg, #3b82f6, #00d4aa);
}

body.sinqlo-page .activation-stat__icon--amount {
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
}

body.sinqlo-page .activation-stat__icon--boost {
  background: linear-gradient(135deg, #b45309, #f59e0b);
}

body.sinqlo-page .activation-stat__label {
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

body.sinqlo-page .activation-stat__value {
  margin: 0 0 0.1rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

body.sinqlo-page .activation-stat__hint {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

body.sinqlo-page .activation-orders__head {
  align-items: center;
  margin-bottom: 1rem;
}

body.sinqlo-page .activation-orders__search {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: min(240px, 100%);
  margin-left: auto;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

body.sinqlo-page .activation-orders__search i {
  color: var(--muted);
}

body.sinqlo-page .activation-orders__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.85rem;
  color: var(--ink);
}

body.sinqlo-page .activation-orders__table-wrap {
  margin: 0 -0.15rem;
  overflow-x: auto;
}

body.sinqlo-page .activation-orders__table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
}

body.sinqlo-page .activation-orders__table thead th {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  background: rgb(var(--color-primary-rgb) / 0.03);
}

body.sinqlo-page .activation-orders__table tbody td {
  padding: 0.95rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 0.88rem;
  color: var(--ink);
}

body.sinqlo-page .activation-orders__table tbody tr:last-child td {
  border-bottom: 0;
}

body.sinqlo-page .activation-orders__table tbody tr:hover td {
  background: rgb(var(--color-primary-rgb) / 0.03);
}

body.sinqlo-page .activation-orders__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #00d4aa;
  background: rgb(16 185 129 / 0.12);
}

body.sinqlo-page .activation-orders__time {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

body.sinqlo-page .activation-amount {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #00d4aa;
  background: rgb(16 185 129 / 0.12);
  white-space: nowrap;
}

body.sinqlo-page .activation-amount__sub {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

body.sinqlo-page .activation-status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

body.sinqlo-page .activation-status--active {
  background: #00d4aa;
  box-shadow: 0 4px 10px rgb(16 185 129 / 0.25);
}

body.sinqlo-page .activation-status--pending {
  background: #f59e0b;
  box-shadow: 0 4px 10px rgb(245 158 11 / 0.25);
}

body.sinqlo-page .activation-dash {
  color: var(--muted);
  font-weight: 600;
}

body.sinqlo-page .activation-booster {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

body.sinqlo-page .activation-booster--on {
  color: #047857;
  background: rgba(59, 130, 246, 0.16);
}

body.sinqlo-page .activation-booster--on i {
  color: #2563eb;
  font-size: 0.9rem;
}

body.sinqlo-page .activation-booster--off {
  color: #9a3412;
  background: rgba(245, 158, 11, 0.14);
}

body.sinqlo-page .activation-invoice-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  box-shadow: 0 6px 14px rgb(var(--color-primary-rgb) / 0.22);
  white-space: nowrap;
}

body.sinqlo-page .activation-invoice-btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 991.98px) {
  body.sinqlo-page .activation-orders__head {
    flex-direction: column;
    align-items: stretch;
  }

  body.sinqlo-page .activation-orders__search {
    width: 100%;
    margin-left: 0;
  }
}

/* —— Activation drawer popup —— */
body.sinqlo-page .activation-drawer__panel {
  max-width: 440px;
}

body.sinqlo-page .activation-drawer__form {
  gap: 1rem;
}

body.sinqlo-page .activation-drawer__balance {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgb(var(--color-primary-rgb) / 0.1) 0%, #fff 70%);
}

body.sinqlo-page .activation-drawer__balance-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  flex-shrink: 0;
}

body.sinqlo-page .activation-drawer__balance-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

body.sinqlo-page .activation-drawer__balance-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

body.sinqlo-page .activation-drawer__balance-pill {
  margin-left: auto;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--deep);
  background: rgb(var(--color-primary-rgb) / 0.14);
}

body.sinqlo-page .activation-drawer__verify {
  display: flex;
  gap: 0.5rem;
}

body.sinqlo-page .activation-drawer__verify .activation-drawer__input,
body.sinqlo-page .activation-drawer__verify .deposit-drawer__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.9rem;
  color: var(--ink);
  outline: 0;
}

body.sinqlo-page .activation-drawer__verify .deposit-drawer__input:focus {
  border-color: rgb(var(--color-primary-rgb) / 0.45);
  box-shadow: 0 0 0 3px rgb(var(--color-primary-rgb) / 0.12);
}

body.sinqlo-page .activation-drawer__verify-btn {
  flex-shrink: 0;
  padding: 0 1rem;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.25);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--deep);
  background: rgb(var(--color-primary-rgb) / 0.08);
}

body.sinqlo-page .activation-drawer__verify-btn:hover {
  background: rgb(var(--color-primary-rgb) / 0.14);
}

body.sinqlo-page .activation-drawer__packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

body.sinqlo-page .activation-package {
  margin: 0;
  cursor: pointer;
}

body.sinqlo-page .activation-package input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.sinqlo-page .activation-package__card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 100%;
  padding: 0.9rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.sinqlo-page .activation-package__card i {
  font-size: 1.25rem;
  color: var(--deep);
  margin-bottom: 0.25rem;
}

body.sinqlo-page .activation-package__card strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

body.sinqlo-page .activation-package__card small {
  font-size: 0.72rem;
  color: var(--muted);
}

body.sinqlo-page .activation-package input:checked + .activation-package__card {
  border-color: rgb(var(--color-primary-rgb) / 0.45);
  background: linear-gradient(180deg, rgb(var(--color-primary-rgb) / 0.1) 0%, #fff 70%);
  box-shadow: 0 8px 18px rgb(16 185 129 / 0.12);
}

body.sinqlo-page .activation-package input:focus-visible + .activation-package__card {
  outline: 2px solid rgb(var(--color-primary-rgb) / 0.45);
  outline-offset: 2px;
}

body.sinqlo-page .activation-drawer__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

body.sinqlo-page .activation-drawer__chip {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
}

body.sinqlo-page .activation-drawer__chip:hover,
body.sinqlo-page .activation-drawer__chip.is-active {
  color: var(--deep);
  border-color: rgb(var(--color-primary-rgb) / 0.35);
  background: rgb(var(--color-primary-rgb) / 0.08);
}

body.sinqlo-page .activation-drawer__summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgb(16 24 40 / 0.03);
  border: 1px dashed var(--line);
}

body.sinqlo-page .activation-drawer__summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

body.sinqlo-page .activation-drawer__summary span {
  font-size: 0.82rem;
  color: var(--muted);
}

body.sinqlo-page .activation-drawer__summary strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep);
}

body.sinqlo-page .activation-drawer__summary small {
  font-size: 0.72rem;
  color: var(--muted);
}

body.sinqlo-page .activation-drawer .deposit-drawer__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}

@media (max-width: 575.98px) {
  body.sinqlo-page .activation-drawer__packages {
    grid-template-columns: 1fr;
  }
}

/* Activation orders reuse wallet-history table look */
body.sinqlo-page .activation-orders .fdc_history-table {
  min-width: 920px;
}

body.sinqlo-page .activation-orders .activation-invoice-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.6rem;
  border: 0;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  box-shadow: 0 4px 12px rgb(var(--color-primary-rgb) / 0.2);
  white-space: nowrap;
}

body.sinqlo-page .activation-orders .activation-invoice-btn:hover {
  filter: brightness(1.05);
}

/* Shared mobile hero stats: prevent long values from overflowing */
@media (max-width: 767.98px) {
  body.sinqlo-page .deposit-hero--binary .binary-stats-grid.binary-stats-grid--hero,
  body.sinqlo-page .binary-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none;
    gap: 0.5rem;
  }

  body.sinqlo-page .deposit-hero--binary .binary-stat,
  body.sinqlo-page .binary-stat {
    gap: 0.5rem;
    min-height: 70px;
    padding: 0.6rem;
    overflow: hidden;
    border-radius: 12px;
  }

  body.sinqlo-page .binary-stat__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1rem;
  }

  body.sinqlo-page .binary-stat__body {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  body.sinqlo-page .deposit-hero--binary .binary-stat__label,
  body.sinqlo-page .binary-stat__label {
    margin-bottom: 0.08rem;
    font-size: 0.62rem;
    line-height: 1.15;
  }

  body.sinqlo-page .deposit-hero--binary .binary-stat__value,
  body.sinqlo-page .binary-stat__value {
    display: block;
    max-width: 100%;
    margin-bottom: 0.08rem;
    overflow: hidden;
    font-size: clamp(0.82rem, 4.2vw, 1rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    white-space: nowrap;
    text-overflow: clip;
    font-variant-numeric: tabular-nums;
  }

  body.sinqlo-page .deposit-hero--binary .binary-stat__hint,
  body.sinqlo-page .binary-stat__hint {
    font-size: 0.56rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 359.98px) {
  body.sinqlo-page .deposit-hero--binary .binary-stat,
  body.sinqlo-page .binary-stat {
    gap: 0.4rem;
    padding: 0.5rem;
  }

  body.sinqlo-page .binary-stat__icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  body.sinqlo-page .deposit-hero--binary .binary-stat__value,
  body.sinqlo-page .binary-stat__value {
    font-size: 0.75rem;
  }

  body.sinqlo-page .main-wrap--dashboard.p-3 {
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }

  body.sinqlo-page .network-tree-page .network-tree-panel {
    padding: 0.65rem 0.5rem 0.55rem;
  }

  body.sinqlo-page .network-tree-page .network-tree-panel__title .bento-cell__title {
    font-size: 0.95rem;
  }
}

/* Downline directory */
body.sinqlo-page .downline-directory {
  min-width: 0;
  overflow: hidden;
}

body.sinqlo-page .downline-directory__head {
  gap: 1rem;
}

body.sinqlo-page .downline-directory .downline-filters-form {
  margin: 0 0 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
}

body.sinqlo-page .downline-directory .downline-filters-form .row {
  --bs-gutter-x: 0.65rem;
  --bs-gutter-y: 0.55rem;
}

body.sinqlo-page .downline-directory .downline-filters-form .form-label {
  margin-bottom: 0.2rem !important;
  font-size: 0.64rem;
  line-height: 1.15;
}

body.sinqlo-page .downline-directory .downline-filters-form .form-control,
body.sinqlo-page .downline-directory .downline-filters-form .form-select,
body.sinqlo-page .downline-directory .downline-filters-form .search-control {
  min-height: 34px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  border-radius: 8px;
  font-size: 0.72rem;
}

body.sinqlo-page .downline-directory .downline-filter-btn {
  min-height: 34px;
  padding: 0 0.8rem;
  font-size: 0.7rem;
}

body.sinqlo-page .downline-directory .downline-filter-actions {
  min-width: 0;
}

body.sinqlo-page .downline-directory .downline-tabs {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

body.sinqlo-page .downline-status--active {
  color: #047857;
  background: #dbeafe;
}

body.sinqlo-page .downline-toolbar {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

body.sinqlo-page .downline-search,
body.sinqlo-page .downline-field {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.sinqlo-page .downline-search:focus-within,
body.sinqlo-page .downline-field:focus-within {
  border-color: var(--deep);
  box-shadow: 0 0 0 3px rgb(var(--color-primary-rgb) / 0.12);
}

body.sinqlo-page .downline-search i {
  flex: 0 0 auto;
  margin-left: 0.85rem;
  color: var(--deep);
  font-size: 1rem;
}

body.sinqlo-page .downline-search input,
body.sinqlo-page .downline-field select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 0.85rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
}

body.sinqlo-page .downline-search input::placeholder {
  color: var(--muted);
}

body.sinqlo-page .downline-field {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 0.35rem 0.7rem 0.3rem;
}

body.sinqlo-page .downline-field span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

body.sinqlo-page .downline-field select {
  min-height: 25px;
  padding: 0;
  cursor: pointer;
}

body.sinqlo-page .downline-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid rgb(var(--color-primary-rgb) / 0.25);
  border-radius: 12px;
  color: var(--deep);
  background: var(--card);
  font-size: 0.76rem;
  font-weight: 700;
}

body.sinqlo-page .downline-reset:hover {
  background: var(--mint-soft);
}

body.sinqlo-page .downline-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

body.sinqlo-page .downline-tabs::-webkit-scrollbar {
  display: none;
}

body.sinqlo-page .downline-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--card);
  font-size: 0.74rem;
  font-weight: 700;
}

body.sinqlo-page .downline-tab span {
  min-width: 1.35rem;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  color: var(--deep);
  background: rgb(var(--color-primary-rgb) / 0.1);
  font-size: 0.62rem;
}

body.sinqlo-page .downline-tab:hover,
body.sinqlo-page .downline-tab.is-active {
  border-color: transparent;
  color: #fff;
  background: var(--gradient);
}

body.sinqlo-page .downline-tab.is-active span {
  color: #fff;
  background: rgb(255 255 255 / 0.2);
}

body.sinqlo-page .downline-table-wrap {
  position: relative;
  width: 100%;
  overflow-x: auto;
}

body.sinqlo-page .downline-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

body.sinqlo-page .downline-table th {
  padding: 0.72rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.sinqlo-page .downline-table td {
  padding: 0.68rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.72rem;
  vertical-align: middle;
  white-space: nowrap;
}

body.sinqlo-page .downline-table tbody tr:hover {
  background: rgb(var(--color-primary-rgb) / 0.035);
}

body.sinqlo-page .downline-member {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body.sinqlo-page .downline-member__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: var(--gradient);
  font-size: 0.66rem;
  font-weight: 800;
}

body.sinqlo-page .downline-member div {
  display: grid;
  gap: 0.1rem;
}

body.sinqlo-page .downline-member strong {
  font-size: 0.75rem;
}

body.sinqlo-page .downline-member div span,
body.sinqlo-page .downline-table td small {
  color: var(--muted);
  font-size: 0.63rem;
}

body.sinqlo-page .downline-table td time,
body.sinqlo-page .downline-table td small {
  display: block;
}

body.sinqlo-page .downline-leg,
body.sinqlo-page .downline-status {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.25rem 0.52rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 750;
}

body.sinqlo-page .downline-leg--left {
  color: #1d4ed8;
  background: #dbeafe;
}

body.sinqlo-page .downline-leg--right {
  color: #047857;
  background: #dbeafe;
}

body.sinqlo-page .downline-status--inactive {
  color: #b45309;
  background: #ffedd5;
}

body.sinqlo-page .downline-muted {
  color: var(--muted);
}

body.sinqlo-page .downline-amount {
  color: var(--deep);
  font-size: 0.72rem;
}

body.sinqlo-page .downline-empty {
  display: grid;
  place-items: center;
  gap: 0.3rem;
  min-height: 250px;
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

body.sinqlo-page .downline-empty[hidden] {
  display: none;
}

body.sinqlo-page .downline-empty i {
  color: var(--deep);
  font-size: 2rem;
}

body.sinqlo-page .downline-empty strong {
  color: var(--ink);
}

body.sinqlo-page .downline-table-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
}

body.sinqlo-page .downline-table-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

body.sinqlo-page .downline-pagination,
body.sinqlo-page .downline-pagination div {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

body.sinqlo-page .downline-pagination button {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.45rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--card);
  font-size: 0.68rem;
  font-weight: 700;
}

body.sinqlo-page .downline-pagination button:hover:not(:disabled),
body.sinqlo-page .downline-pagination button.is-active {
  border-color: transparent;
  color: #fff;
  background: var(--gradient);
}

body.sinqlo-page .downline-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

body.sinqlo-page .downline-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 0 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  user-select: none;
}

body.sinqlo-page[data-appearance="dark"] .downline-leg--left {
  color: #93c5fd;
  background: rgb(59 130 246 / 0.16);
}

body.sinqlo-page[data-appearance="dark"] .downline-leg--right {
  color: #93c5fd;
  background: rgb(16 185 129 / 0.16);
}

body.sinqlo-page[data-appearance="dark"] .downline-status--inactive {
  color: #fdba74;
  background: rgb(249 115 22 / 0.16);
}

@media (min-width: 576px) {
  body.sinqlo-page .downline-table-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  body.sinqlo-page .downline-toolbar {
    grid-template-columns: minmax(220px, 1fr) 150px 150px auto;
    align-items: center;
  }
}

/* Shared responsive hero-side panel: compact across client pages */
@media (max-width: 767.98px) {
  body.sinqlo-page .deposit-hero__panel,
  body.sinqlo-page .deposit-hero__panel.profile-banner__panel,
  body.sinqlo-page .deposit-hero--level .deposit-hero__panel {
    min-height: 0;
    gap: 0.1rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
  }

  body.sinqlo-page .deposit-hero__panel-label {
    font-size: 0.6rem;
    line-height: 1.2;
  }

  body.sinqlo-page .deposit-hero__panel-value,
  body.sinqlo-page .profile-banner__panel .deposit-hero__panel-value {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
    line-height: 1.05;
  }

  body.sinqlo-page .deposit-hero__panel-hint,
  body.sinqlo-page .profile-banner__panel .deposit-hero__panel-hint {
    gap: 0.15rem;
    margin-bottom: 0.3rem;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  body.sinqlo-page .deposit-hero .deposit-hero__cta {
    min-height: 36px;
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    font-size: 0.72rem;
    box-shadow: 0 5px 14px rgb(var(--color-primary-rgb) / 0.22);
  }
}

@media (max-width: 419.98px) {
  body.sinqlo-page .deposit-hero__panel,
  body.sinqlo-page .deposit-hero__panel.profile-banner__panel,
  body.sinqlo-page .deposit-hero--level .deposit-hero__panel {
    padding: 0.55rem 0.65rem;
  }

  body.sinqlo-page .deposit-hero__panel-value,
  body.sinqlo-page .profile-banner__panel .deposit-hero__panel-value {
    font-size: 1.3rem;
  }

  body.sinqlo-page .deposit-hero .deposit-hero__cta {
    min-height: 34px;
    font-size: 0.68rem;
  }
}

/* Profile hero: compact responsive presentation */
@media (max-width: 767.98px) {
  body.sinqlo-page .profile-banner .deposit-hero__grid {
    gap: 0.6rem;
    padding: 0.75rem;
  }

  body.sinqlo-page .profile-banner__intro {
    gap: 0.5rem;
  }

  body.sinqlo-page .profile-banner__identity {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
  }

  body.sinqlo-page .profile-banner__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    font-size: 1rem;
    box-shadow: 0 6px 14px rgb(0 0 0 / 0.14);
  }

  body.sinqlo-page .profile-banner .bento-spotlight__eyebrow {
    margin-bottom: 0.1rem;
    font-size: 0.58rem;
  }

  body.sinqlo-page .profile-banner .deposit-hero__title {
    font-size: 1rem;
    line-height: 1.15;
  }

  body.sinqlo-page .profile-banner__meta {
    margin-top: 0.1rem;
    font-size: 0.64rem;
    line-height: 1.25;
  }

  body.sinqlo-page .profile-banner__chips {
    gap: 0.3rem;
  }

  body.sinqlo-page .profile-banner__chip {
    gap: 0.2rem;
    min-width: 0;
    max-width: 100%;
    padding: 0.25rem 0.45rem;
    font-size: 0.6rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  body.sinqlo-page .deposit-hero__panel.profile-banner__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.2rem 0.5rem;
    padding: 0.55rem 0.65rem;
  }

  body.sinqlo-page .profile-banner__panel .deposit-hero__panel-value {
    justify-self: end;
    font-size: 1.2rem;
  }

  body.sinqlo-page .profile-banner__bar {
    grid-column: 1 / -1;
    height: 6px;
    margin: 0.1rem 0;
  }

  body.sinqlo-page .profile-banner__panel .deposit-hero__panel-hint {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.56rem;
  }
}

@media (max-width: 419.98px) {
  body.sinqlo-page .profile-banner .deposit-hero__grid {
    padding: 0.65rem;
  }

  body.sinqlo-page .profile-banner__identity {
    gap: 0.5rem;
  }

  body.sinqlo-page .profile-banner__avatar {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  body.sinqlo-page .profile-banner .deposit-hero__title {
    font-size: 0.92rem;
  }

  body.sinqlo-page .profile-banner__meta {
    font-size: 0.58rem;
  }
}

/* Notifications inbox: readable, compact mobile cards */
@media (max-width: 575.98px) {
  body.sinqlo-page .notifications-page,
  body.sinqlo-page .notif-inbox,
  body.sinqlo-page .notifications-page .notif-list,
  body.sinqlo-page .notif-card,
  body.sinqlo-page .notif-card__body {
    min-width: 0;
    max-width: 100%;
  }

  body.sinqlo-page .notif-inbox {
    padding: 0.75rem;
    overflow: hidden;
    border-radius: 14px;
  }

  body.sinqlo-page .notif-inbox > .deposit-card__head {
    margin-bottom: 0.65rem;
  }

  body.sinqlo-page .notifications-page .notif-list {
    gap: 0.5rem;
  }

  body.sinqlo-page .notif-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.7rem;
    border-radius: 12px;
  }

  body.sinqlo-page .notif-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1rem;
  }

  body.sinqlo-page .notif-card__head {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.1rem;
    margin-bottom: 0.2rem;
  }

  body.sinqlo-page .notif-card__title {
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  body.sinqlo-page .notif-card__time {
    font-size: 0.6rem;
    line-height: 1.2;
    white-space: normal;
  }

  body.sinqlo-page .notif-card__text {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 359.98px) {
  body.sinqlo-page .notif-inbox {
    padding: 0.65rem 0.55rem;
  }

  body.sinqlo-page .notif-card {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.5rem;
    padding: 0.6rem;
  }

  body.sinqlo-page .notif-card__icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* Wallet statement: turn the wide table into mobile transaction cards */
@media (max-width: 767.98px) {
  body.sinqlo-page .wallet-history-statement {
    min-width: 0;
    padding: 0.75rem;
    overflow: hidden;
  }

  body.sinqlo-page .wallet-history-statement__head {
    gap: 0.65rem;
    margin-bottom: 0.7rem;
  }

  body.sinqlo-page .wallet-history-statement__tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  body.sinqlo-page .wallet-history-statement .tabs-pill {
    display: flex;
    width: 100%;
  }

  body.sinqlo-page .wallet-history-statement .tabs-pill .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.5rem;
  }

  body.sinqlo-page .wallet-history-search {
    width: 100%;
    min-height: 40px;
  }

  body.sinqlo-page .wallet-history-search input {
    font-size: 16px;
  }

  body.sinqlo-page .wallet-history-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table,
  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody {
    display: block;
    width: 100%;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table thead {
    display: none;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody {
    display: grid;
    gap: 0.6rem;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    box-shadow: 0 3px 10px rgb(16 24 40 / 0.04);
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody tr[hidden] {
    display: none !important;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.45rem 0.25rem;
    border: 0;
    background: transparent;
    overflow-wrap: anywhere;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td::before {
    display: block;
    color: var(--muted);
    font-size: 0.54rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:first-child {
    grid-column: 1 / -1;
    padding: 0 0 0.6rem;
    margin-bottom: 0.1rem;
    border-bottom: 1px solid var(--line);
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(2)::before {
    content: "Date & time";
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(3)::before {
    content: "Amount";
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(4)::before {
    content: "Status";
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td:nth-child(5) {
    grid-column: 1 / -1;
    padding-top: 0.55rem;
    border-top: 1px dashed var(--line);
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td:nth-child(5)::before {
    content: "Notes";
  }

  /* Activation orders: 7-col table → mobile cards */
  body.sinqlo-page .activation-orders .fdc_history-table {
    min-width: 0;
  }

  body.sinqlo-page .activation-orders .fdc_history-table tbody td:nth-child(5)::before {
    content: "Booster 1";
  }

  body.sinqlo-page .activation-orders .fdc_history-table tbody td:nth-child(6)::before {
    content: "Booster 2";
  }

  body.sinqlo-page .activation-orders .fdc_history-table tbody td:nth-child(7) {
    grid-column: 1 / -1;
    padding-top: 0.55rem;
    border-top: 1px dashed var(--line);
  }

  body.sinqlo-page .activation-orders .fdc_history-table tbody td:nth-child(7)::before {
    content: "Invoice";
  }

  body.sinqlo-page .activation-orders .activation-invoice-btn {
    width: 100%;
    justify-content: center;
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
  }

  body.sinqlo-page .activation-orders .activation-booster {
    white-space: nowrap;
  }

  body.sinqlo-page .wallet-history-statement .fdc_value-badge,
  body.sinqlo-page .wallet-history-statement .st-pill {
    white-space: nowrap;
  }

  body.sinqlo-page .wallet-history-pager {
    justify-content: center;
    margin-top: 0.7rem;
  }

  body.sinqlo-page .wallet-history-pager__size {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 359.98px) {
  body.sinqlo-page .wallet-history-statement {
    padding: 0.65rem 0.55rem;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody tr {
    padding: 0.6rem;
  }
}

/* Wallet-history cards: denser mobile rows */
@media (max-width: 767.98px) {
  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody {
    gap: 0.45rem;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody tr {
    padding: 0.55rem 0.6rem;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td {
    gap: 0.08rem;
    padding: 0.3rem 0.2rem;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td::before {
    font-size: 0.5rem;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td:first-child {
    padding-bottom: 0.45rem;
    margin-bottom: 0;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td:nth-child(2) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.25rem;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td:nth-child(2)::before {
    flex-basis: 100%;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td:nth-child(2) br {
    display: none;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td:nth-child(5) {
    grid-column: auto;
    padding-top: 0.3rem;
    border-top: 0;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table tbody td:nth-child(5).muted.small {
    font-size: 0.6rem;
    line-height: 1.3;
  }
}

/* Mobile statements: retain real table rows with horizontal swipe */
@media (max-width: 767.98px) {
  body.sinqlo-page .wallet-history-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table,
  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody {
    display: table;
    width: 100%;
  }

  body.sinqlo-page .wallet-history-statement:not(.activation-orders) .fdc_history-table {
    min-width: 720px;
  }

  body.sinqlo-page .activation-orders .fdc_history-table {
    min-width: 920px;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table thead {
    display: table-header-group;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody {
    display: table-row-group;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody tr,
  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody tr[hidden] {
    display: table-row;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody tr[hidden] {
    display: none !important;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td,
  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:first-child,
  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(2),
  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(5),
  body.sinqlo-page .activation-orders .fdc_history-table tbody td:nth-child(7) {
    display: table-cell;
    min-width: 0;
    padding: 0.42rem 0.55rem;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    white-space: nowrap;
    vertical-align: middle;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td::before {
    content: none !important;
    display: none !important;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(2) br {
    display: none;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(2) {
    min-width: 125px;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(2) > strong,
  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(2) > .muted.small {
    display: block;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody td:nth-child(2) > .muted.small {
    margin-top: 0.1rem;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table thead th {
    padding: 0.45rem 0.55rem;
    font-size: 0.56rem;
  }

  body.sinqlo-page .wallet-history-statement .fdc_history-table tbody tr:last-child td {
    border-bottom: 0;
  }

  body.sinqlo-page .activation-orders .activation-invoice-btn {
    width: auto;
    min-height: 30px;
    padding: 0.3rem 0.6rem;
    font-size: 0.66rem;
  }
}

/* Level Chart (level-detail) */
body.sinqlo-page .hidden-row {
  display: none;
}

body.sinqlo-page .level-detail-page__grid {
  gap: 1rem;
}

body.sinqlo-page .level-detail-search-desc,
body.sinqlo-page .level-detail-chart-sub {
  margin: 0 0 1rem;
  color: var(--muted, #64748b);
  font-size: 0.875rem;
}

body.sinqlo-page .level-detail-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

body.sinqlo-page .level-detail-search-field,
body.sinqlo-page .level-detail-table-search {
  min-width: 0;
}

body.sinqlo-page .level-detail-search-btn {
  align-self: stretch;
}

body.sinqlo-page .level-detail-search-result {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

body.sinqlo-page .level-detail-search-msg {
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.9);
}

body.sinqlo-page .level-detail-search-msg--success {
  color: #2563eb;
  border-color: rgba(5, 150, 105, 0.25);
  background: rgba(5, 150, 105, 0.08);
}

body.sinqlo-page .level-detail-search-msg--warn {
  color: #ea580c;
  border-color: rgba(234, 88, 12, 0.25);
  background: rgba(234, 88, 12, 0.08);
}

body.sinqlo-page .level-detail-search-msg--info {
  color: var(--muted, #64748b);
}

body.sinqlo-page .level-detail-accordion {
  display: grid;
  gap: 0.75rem;
}

body.sinqlo-page .level-detail-level-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

body.sinqlo-page .level-detail-level-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  border: 0;
  color: var(--deep, #0f172a);
  background: transparent;
  text-align: left;
  box-shadow: none;
}

body.sinqlo-page .level-detail-level-toggle:not(.collapsed) {
  background: rgba(248, 250, 252, 0.95);
}

body.sinqlo-page .level-detail-level-toggle::after {
  display: none;
}

body.sinqlo-page .level-detail-level-body {
  padding: 0 1rem 1rem;
}

body.sinqlo-page .level-detail-toggle-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

body.sinqlo-page .level-detail-level-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

body.sinqlo-page .level-detail-level-title {
  display: block;
  font-weight: 600;
}

body.sinqlo-page .level-detail-level-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--muted, #64748b);
}

body.sinqlo-page .level-detail-toggle-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

body.sinqlo-page .level-detail-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.95);
  font-size: 1rem;
  line-height: 1;
}

body.sinqlo-page .level-detail-rank-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--deep, #0f172a);
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body.sinqlo-page .level-detail-table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

body.sinqlo-page .datatable-length,
body.sinqlo-page .datatable-footer,
body.sinqlo-page .datatable-pagination {
  display: flex;
  align-items: center;
}

body.sinqlo-page .datatable-length {
  gap: 0.5rem;
  color: var(--muted, #64748b);
  font-size: 0.875rem;
}

body.sinqlo-page .datatable-length select {
  min-width: 4.5rem;
}

body.sinqlo-page .datatable-footer {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted, #64748b);
  font-size: 0.875rem;
}

body.sinqlo-page .datatable-pagination {
  gap: 0.75rem;
}

body.sinqlo-page .level-detail-table-wrap .downline-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.sinqlo-page .level-detail-table-wrap .downline-table {
  min-width: 42rem;
}

body.sinqlo-page .level-detail-empty {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted, #64748b);
}

body.sinqlo-page .level-detail-empty i {
  font-size: 1.75rem;
  color: var(--deep, #0f172a);
}

body.sinqlo-page .level-detail-empty strong {
  color: var(--deep, #0f172a);
}

@media (max-width: 639px) {
  body.sinqlo-page .level-detail-level-toggle {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  body.sinqlo-page .level-detail-table-toolbar {
    justify-content: stretch;
  }

  body.sinqlo-page .level-detail-table-search,
  body.sinqlo-page .level-detail-table-search .form-control {
    width: 100%;
  }

  body.sinqlo-page .level-detail-search-row .level-detail-search-btn {
    width: 100%;
  }

  body.sinqlo-page .datatable-footer {
    flex-direction: column;
    align-items: stretch;
  }

  body.sinqlo-page .datatable-pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Team FD Chart — Left/Right leg tables: keep FD column on-screen (this page only) */
body.sinqlo-page .team-fd-chart-page .team-fd-leg-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

body.sinqlo-page .team-fd-chart-page .team-fd-leg-table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

body.sinqlo-page .team-fd-chart-page .team-fd-leg-table th,
body.sinqlo-page .team-fd-chart-page .team-fd-leg-table td {
  padding: 0.55rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

body.sinqlo-page .team-fd-chart-page .team-fd-col-sno {
  width: 12%;
}

body.sinqlo-page .team-fd-chart-page .team-fd-col-date {
  width: 28%;
}

body.sinqlo-page .team-fd-chart-page .team-fd-col-id {
  width: 34%;
}

body.sinqlo-page .team-fd-chart-page .team-fd-col-fd {
  width: 26%;
  position: sticky;
  right: 0;
  z-index: 2;
  text-align: right;
  background: var(--surface, #fff);
  box-shadow: -6px 0 10px -8px rgb(15 23 42 / 0.28);
}

body.sinqlo-page .team-fd-chart-page .team-fd-leg-table thead .team-fd-col-fd {
  z-index: 3;
}

body.sinqlo-page .team-fd-chart-page .team-fd-leg-table tbody tr:hover .team-fd-col-fd {
  background: color-mix(in srgb, var(--surface, #fff) 88%, rgb(var(--color-primary-rgb) / 0.12));
}

body.sinqlo-page .team-fd-chart-page .team-fd-id-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

body.sinqlo-page .team-fd-chart-page .team-fd-col-fd .downline-amount {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
  body.sinqlo-page .team-fd-chart-page .team-fd-leg-table th,
  body.sinqlo-page .team-fd-chart-page .team-fd-leg-table td {
    padding: 0.5rem 0.4rem;
    font-size: 0.68rem;
  }

  body.sinqlo-page .team-fd-chart-page .team-fd-col-sno {
    width: 14%;
  }

  body.sinqlo-page .team-fd-chart-page .team-fd-col-date {
    width: 26%;
  }

  body.sinqlo-page .team-fd-chart-page .team-fd-col-id {
    width: 30%;
  }

  body.sinqlo-page .team-fd-chart-page .team-fd-col-fd {
    width: 30%;
  }
}
