@import "variable.css";
@import "tree-level.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;
  }
  
  [class^="ri-"], [class*=" ri-"] {
    font-weight: normal;
  }
  
  .link {
      text-decoration: none;
      color: var(--deep);
      font-size: 11px;
      font-weight: 600;
  }
  .link:hover {
    text-decoration: underline;
  }
  
  .logo-wrap {
      max-width:120px;
  }
  

  .text-dark {
    color:rgba(var(--bs-dark-rgb))!important;
  }
  body.sinqlo-page .app-sidebar {
    --deep: #ffffff;
    background: var(--sidebar);
    color: rgba(255, 255, 255, 0.88);
  }

  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: rgba(255, 255, 255, 0.68);
      font-weight: 400;
      
  }

  body.sinqlo-page .sidebar-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }
  
  body.sinqlo-page .sidebar-link i {
    width: 24px;
    font-size: 1.35rem;
    line-height: 1;
  }
  
  body.sinqlo-page .sidebar-link.active {
    color: #fff;
    background: rgb(var(--color-primary-rgb) / 0.45);
  }
  
  body.sinqlo-page .sidebar-nav-separator {
    height: 1px;
    margin: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.12);
  }

  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: #fff;
    background: rgb(var(--color-primary-rgb) / 0.45);
  }

  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), #059669);
  }

  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: #78159c;
    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: #78159c;
  }

  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: #78159c;
    color: #fff;
  }
  
  body.sinqlo-page .search-control {
    min-height: 44px;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    background: #f7f8fb;
  }
  
  body.sinqlo-page .filter-btn,
  body.sinqlo-page .select-pill {
    min-height: 42px;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    color: var(--deep);
    background: #fff;
    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__id {
    display: block;
    margin-top: 0.25rem;
    color: #8d94a3;
    font-size: 0.72rem;
    font-weight: 500;
  }
  
  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: 220px 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;
    }
  
    .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(16, 185, 129, 0.12);
    color: #10b981;
  }
  
  .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(16, 185, 129, 0.12);
    color: #10b981;
  }
  
  .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: -2px;
    top: -40px;
}

  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: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.28);
  }

  .binary-node.is-active .binary-node__status i {
    color: #10b981;
  }

  .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(16, 185, 129, 0.35);
    background: #ecfdf5;
    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: #621484;
  }

  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: #dcfce7 !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: #dcfce7;
    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: #dcfce7;
    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: #dcfce7;
    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), #059669) !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, #8b5cff, #ff4d9d);
}

.st-ai-gauge__chip--remain {
  color: #5b4d8a;
  background: rgba(196, 181, 253, 0.35);
  border: 1px solid rgba(139, 92, 255, 0.18);
}

.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, #6366f1, #8b5cff); }
.st-ai-gauge-stats__dot--credit { background: linear-gradient(135deg, #8b5cff, #ff4d9d); }
.st-ai-gauge-stats__dot--remain { background: linear-gradient(135deg, #ff8a52, #c4b5fd); }
.st-ai-gauge-stats__dot--held { background: linear-gradient(135deg, #ffb347, #ff8a52); }

.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, #6366f1, #8b5cff); }
.st-ai-gauge-stats__fill--credit { background: linear-gradient(90deg, #8b5cff, #ff4d9d); }
.st-ai-gauge-stats__fill--remain { background: linear-gradient(90deg, #ff8a52, #c4b5fd); }
.st-ai-gauge-stats__fill--held { background: linear-gradient(90deg, #ffb347, #ff8a52); }

.income-chart-metrics .income-metric__value {
    background: linear-gradient(120deg, #8b5cff 0%, #ff4d9d 55%, #ff8a52 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;
        }