/*
 * MyNoLimit Dashboard Module
 * Created in PY-28M2
 * Not yet connected to index.html
 */

.mynolimit-dashboard-module {
  width: 100%;
}

.mynolimit-dashboard-module-placeholder {
  display: none;
}

/* ==========================================================
   PY-28M5 Dashboard Hero Styles
   Status: prepared, not yet activated
   ========================================================== */

.mynolimit-dashboard-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;

  padding: 22px 22px 18px;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(96, 165, 250, 0.28) 0%,
      rgba(96, 165, 250, 0) 42%
    ),
    linear-gradient(
      135deg,
      #172f78 0%,
      #1f4fb8 52%,
      #2563eb 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;

  box-shadow:
    0 14px 34px rgba(30, 64, 175, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.mynolimit-dashboard-hero::after {
  content: "";
  position: absolute;
  inset: auto -42px -64px auto;

  width: 170px;
  height: 170px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.055);

  pointer-events: none;
}

.mynolimit-dashboard-hero__label {
  position: relative;
  z-index: 1;

  margin-bottom: 7px;

  color: rgba(255, 255, 255, 0.76);

  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.mynolimit-dashboard-hero__value {
  position: relative;
  z-index: 1;

  margin-bottom: 24px;

  color: #ffffff;

  font-size: clamp(32px, 8vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;

  overflow-wrap: anywhere;
}

.mynolimit-dashboard-hero__footer {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 14px;

  align-items: end;
}

.mynolimit-dashboard-hero__metric {
  display: flex;
  flex-direction: column;

  min-width: 0;
}

.mynolimit-dashboard-hero__metric--nav {
  text-align: right;
  align-items: flex-end;
}

.mynolimit-dashboard-hero__metric-label {
  margin-bottom: 4px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.mynolimit-dashboard-hero__metric-value {
  color: #ffffff;

  font-size: 24px;
  font-weight: 750;
  line-height: 1.3;

  white-space: nowrap;
}

.mynolimit-dashboard-hero__metric-value.is-positive {
  color: #a7f3d0;
}

.mynolimit-dashboard-hero__metric-value.is-negative {
  color: #fecaca;
}

/* Mobile */
@media (max-width: 640px) {
  .mynolimit-dashboard-hero {
    padding: 20px 18px 16px;
    border-radius: 20px;
  }

  .mynolimit-dashboard-hero__label {
    font-size: 13px;
  }

  .mynolimit-dashboard-hero__value {
    margin-bottom: 21px;
    font-size: clamp(30px, 9vw, 39px);
  }

  .mynolimit-dashboard-hero__footer {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 14px 10px;
  }

  .mynolimit-dashboard-hero__metric--nav {
    grid-column: 1 / -1;

    flex-direction: row;
    justify-content: flex-end;
    align-items: center;

    gap: 6px;

    padding-top: 2px;

    text-align: right;
  }

  .mynolimit-dashboard-hero__metric--nav
  .mynolimit-dashboard-hero__metric-label {
    margin-bottom: 0;
  }

  .mynolimit-dashboard-hero__metric-label {
    font-size: 10.5px;
  }

  .mynolimit-dashboard-hero__metric-value {
    font-size: 20px;
  }
}

/* Very narrow mobile screens */
@media (max-width: 370px) {
  .mynolimit-dashboard-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mynolimit-dashboard-hero__value {
    font-size: 29px;
  }

  .mynolimit-dashboard-hero__footer {
    gap: 12px 8px;
  }

  .mynolimit-dashboard-hero__metric-value {
    font-size: 13px;
  }
}

/* ==========================================================
   PY-28M6B Dashboard KPI Box Styles
   Status: prepared, not yet activated
   Contents: Total Shares + Invested Capital
   ========================================================== */

.mynolimit-dashboard-kpi-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  width: 100%;
  box-sizing: border-box;

  margin-top: 14px;
  padding: 14px;

  background:
    linear-gradient(
      135deg,
      #eef6ff 0%,
      #e4efff 100%
    );

  border: 1px solid #ccdef8;
  border-radius: 18px;

  box-shadow:
    0 8px 22px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.mynolimit-dashboard-kpi {
  display: flex;
  align-items: center;

  min-width: 0;
  padding: 10px 12px;
}

.mynolimit-dashboard-kpi + .mynolimit-dashboard-kpi {
  border-left: 1px solid rgba(37, 99, 235, 0.14);
}

.mynolimit-dashboard-kpi__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  flex: 0 0 36px;

  margin-right: 10px;

  color: #2563eb;
  background: rgba(255, 255, 255, 0.74);

  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 11px;

  box-shadow:
    0 4px 12px rgba(37, 99, 235, 0.08);
}

.mynolimit-dashboard-kpi__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.mynolimit-dashboard-kpi__content {
  display: flex;
  flex-direction: column;

  min-width: 0;
}

.mynolimit-dashboard-kpi__label {
  margin-bottom: 3px;

  color: #64748b;

  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.mynolimit-dashboard-kpi__value {
  min-width: 0;

  color: #172554;

  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile dashboard KPI box */
@media (max-width: 640px) {
  .mynolimit-dashboard-kpi-box {
    margin-top: 12px;
    padding: 9px 7px;

    border-radius: 17px;
  }

  .mynolimit-dashboard-kpi {
    padding: 9px 7px;
  }

  .mynolimit-dashboard-kpi__icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;

    margin-right: 8px;

    border-radius: 10px;
  }

  .mynolimit-dashboard-kpi__icon svg {
    width: 18px;
    height: 18px;
  }

  .mynolimit-dashboard-kpi__label {
    font-size: 9.5px;
  }

  .mynolimit-dashboard-kpi__value {
    font-size: 13.5px;
  }
}

/* Narrow phones */
@media (max-width: 370px) {
  .mynolimit-dashboard-kpi-box {
    padding-left: 5px;
    padding-right: 5px;
  }

  .mynolimit-dashboard-kpi {
    padding-left: 5px;
    padding-right: 5px;
  }

  .mynolimit-dashboard-kpi__icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;

    margin-right: 6px;
  }

  .mynolimit-dashboard-kpi__label {
    font-size: 9px;
  }

  .mynolimit-dashboard-kpi__value {
    font-size: 12.5px;
  }
}

/* ==========================================================
   PY-30C Equal KPI Font Sizes
   Total Shares / Invested Capital labels and values
   ========================================================== */

.mynolimit-dashboard-kpi__label,
.mynolimit-dashboard-kpi__value {
  font-size: 17px;
}

@media (max-width: 640px) {
  .mynolimit-dashboard-kpi__label,
  .mynolimit-dashboard-kpi__value {
    font-size: 15px;
  }
}

@media (max-width: 370px) {
  .mynolimit-dashboard-kpi__label,
  .mynolimit-dashboard-kpi__value {
    font-size: 13px;
  }
}

/* ==========================================================
   PY-31E Dashboard Quick Access Styles
   ========================================================== */

.mynolimit-dashboard-quick-access {
  margin-top: 28px;
}

.mynolimit-dashboard-quick-access__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
}

.mynolimit-dashboard-quick-access__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mynolimit-dashboard-quick-access__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 92px;
  padding: 18px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.mynolimit-dashboard-quick-access__item:hover {
  transform: translateY(-1px);
  border-color: #c7d2fe;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.mynolimit-dashboard-quick-access__item:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.mynolimit-dashboard-quick-access__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  color: #2563eb;
}

.mynolimit-dashboard-quick-access__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mynolimit-dashboard-quick-access__item-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}

.mynolimit-dashboard-quick-access__subtitle {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #64748b;
}

@media (max-width: 1100px) {
  .mynolimit-dashboard-quick-access__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mynolimit-dashboard-quick-access {
    margin-top: 24px;
  }

  .mynolimit-dashboard-quick-access__title {
    font-size: 17px;
    margin-bottom: 14px;
  }

  .mynolimit-dashboard-quick-access__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mynolimit-dashboard-quick-access__item {
    min-height: 82px;
    padding: 15px 14px;
    border-radius: 16px;
  }

  .mynolimit-dashboard-quick-access__icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 14px;
  }

  .mynolimit-dashboard-quick-access__item-title {
    font-size: 15px;
  }

  .mynolimit-dashboard-quick-access__subtitle {
    font-size: 12px;
  }
}

/* ==========================================================
   PY-33H Modular Monthly History Header
   ========================================================== */

.mynolimit-monthly-history__hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid #bfdbfe;
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #ffffff 68%,
      #f8fbff 100%
    );
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.mynolimit-monthly-history__hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

.mynolimit-monthly-history__hero-text {
  min-width: 0;
}

.mynolimit-monthly-history__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mynolimit-monthly-history__title {
  margin: 0;
  color: #0f172a;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.1;
}

.mynolimit-monthly-history__subtitle {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .mynolimit-monthly-history__hero {
    gap: 13px;
    margin-bottom: 16px;
    padding: 17px;
    border-radius: 18px;
  }

  .mynolimit-monthly-history__hero-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
  }

  .mynolimit-monthly-history__hero-icon svg {
    width: 24px;
    height: 24px;
  }

  .mynolimit-monthly-history__badge {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .mynolimit-monthly-history__title {
    font-size: 21px;
  }

  .mynolimit-monthly-history__subtitle {
    margin-top: 5px;
    font-size: 12px;
  }
}

/* ==========================================================
   PY-33I Investor Monthly History Styles
   ========================================================== */

.mynolimit-monthly-history__investor-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.7fr);
  gap: 14px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.mynolimit-monthly-history__search-wrap {
  position: relative;
  min-width: 0;
}

.mynolimit-monthly-history__search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  display: inline-flex;
  color: #64748b;
  transform: translateY(-50%);
  pointer-events: none;
}

.mynolimit-monthly-history__search-input,
.mynolimit-monthly-history__month-select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.mynolimit-monthly-history__search-input {
  padding: 0 16px 0 46px;
}

.mynolimit-monthly-history__search-input:focus,
.mynolimit-monthly-history__month-select:focus {
  border-color: #60a5fa;
  outline: 3px solid rgba(37, 99, 235, 0.12);
}

.mynolimit-monthly-history__month-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mynolimit-monthly-history__month-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mynolimit-monthly-history__month-select {
  padding: 0 14px;
}

.mynolimit-monthly-history__records-count {
  margin: 0 2px 14px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.mynolimit-monthly-history__investor-list {
  display: grid;
  gap: 15px;
}

.mynolimit-monthly-history__month-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.mynolimit-monthly-history__month-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 20px 15px;
}

.mynolimit-monthly-history__month-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mynolimit-monthly-history__month-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: #eff6ff;
  color: #2563eb;
}

.mynolimit-monthly-history__month-title {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
}

.mynolimit-monthly-history__month-subtitle {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.mynolimit-monthly-history__status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.mynolimit-monthly-history__status.is-open {
  background: #fef3c7;
  color: #b45309;
}

.mynolimit-monthly-history__status.is-closed {
  background: #dcfce7;
  color: #15803d;
}

.mynolimit-monthly-history__month-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.mynolimit-monthly-history__metric {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid #edf2f7;
}

.mynolimit-monthly-history__metric:last-child {
  border-right: 0;
}

.mynolimit-monthly-history__metric span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.mynolimit-monthly-history__metric strong {
  display: block;
  overflow: hidden;
  color: #0f172a;
  font-size: 16px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mynolimit-monthly-history__metric strong.is-positive {
  color: #16a34a;
}

.mynolimit-monthly-history__metric strong.is-negative {
  color: #dc2626;
}

.mynolimit-monthly-history__metric strong.is-pending {
  color: #b45309;
}

.mynolimit-monthly-history__details-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  background: #ffffff;
  color: #2563eb;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.mynolimit-monthly-history__details-button:hover {
  background: #f8fbff;
}

.mynolimit-monthly-history__details-chevron {
  display: inline-flex;
  font-size: 20px;
  transition: transform 0.16s ease;
}

.mynolimit-monthly-history__details-chevron.is-open {
  transform: rotate(180deg);
}

.mynolimit-monthly-history__details-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 20px;
  padding: 17px 20px 20px;
  border-top: 1px solid #edf2f7;
  background: #f8fafc;
}

.mynolimit-monthly-history__details-panel > div {
  min-width: 0;
}

.mynolimit-monthly-history__details-panel span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.mynolimit-monthly-history__details-panel strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.mynolimit-monthly-history__details-notes {
  grid-column: 1 / -1;
}

.mynolimit-monthly-history__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  text-align: center;
}

.mynolimit-monthly-history__empty-icon {
  margin-bottom: 10px;
  color: #93c5fd;
  font-size: 30px;
}

.mynolimit-monthly-history__empty span {
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
}

@media (max-width: 700px) {
  .mynolimit-monthly-history__investor-filters {
    grid-template-columns: 1fr;
    padding: 15px;
    border-radius: 18px;
  }

  .mynolimit-monthly-history__month-card {
    border-radius: 19px;
  }

  .mynolimit-monthly-history__month-card-head {
    padding: 16px 16px 13px;
  }

  .mynolimit-monthly-history__month-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mynolimit-monthly-history__metric {
    padding: 14px 16px;
    border-bottom: 1px solid #edf2f7;
  }

  .mynolimit-monthly-history__metric:nth-child(2) {
    border-right: 0;
  }

  .mynolimit-monthly-history__metric:nth-child(3),
  .mynolimit-monthly-history__metric:nth-child(4) {
    border-bottom: 0;
  }

  .mynolimit-monthly-history__metric strong {
    font-size: 15px;
  }

  .mynolimit-monthly-history__details-button {
    padding: 0 16px;
  }

  .mynolimit-monthly-history__details-panel {
    padding: 15px 16px 18px;
  }
}

/* ==========================================================
   PY-35A Monthly History Micro Animation
   ========================================================== */

.mynolimit-monthly-history__month-card {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .mynolimit-monthly-history__month-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.085);
  }
}

.mynolimit-monthly-history__details-button {
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.mynolimit-monthly-history__details-button:active {
  background: #eff6ff;
}

.mynolimit-monthly-history__details-panel {
  transform-origin: top;
  animation: mynolimit-history-details-in 160ms ease-out;
}

@keyframes mynolimit-history-details-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mynolimit-monthly-history__metric-note {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
  .mynolimit-monthly-history__month-card,
  .mynolimit-monthly-history__details-button {
    transition: none;
  }

  .mynolimit-monthly-history__details-panel {
    animation: none;
  }
}

/* ==========================================================
   PY-36D Modern Profile Styles
   ========================================================== */

.mynolimit-profile {
  padding-bottom: 110px;
}

.mynolimit-profile__hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid #bfdbfe;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #ffffff 68%,
      #f8fbff 100%
    );
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.09);
}

.mynolimit-profile__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 22px;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.mynolimit-profile__hero-content {
  min-width: 0;
  flex: 1;
}

.mynolimit-profile__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mynolimit-profile__title {
  margin: 0;
  color: #0f172a;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.15;
}

.mynolimit-profile__subtitle {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.mynolimit-profile__status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  text-transform: capitalize;
}

.mynolimit-profile__status.is-active {
  background: #dcfce7;
  color: #15803d;
}

.mynolimit-profile__status.is-pending {
  background: #fef3c7;
  color: #b45309;
}

.mynolimit-profile__status.is-neutral {
  background: #e2e8f0;
  color: #475569;
}

.mynolimit-profile__identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.mynolimit-profile__panel,
.mynolimit-profile__section,
.mynolimit-profile__settings {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 11px 29px rgba(15, 23, 42, 0.05);
}

.mynolimit-profile__panel {
  padding: 20px;
}

.mynolimit-profile__panel-heading,
.mynolimit-profile__section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mynolimit-profile__panel-heading {
  margin-bottom: 17px;
}

.mynolimit-profile__panel-heading h2,
.mynolimit-profile__section-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 850;
}

.mynolimit-profile__panel-heading p,
.mynolimit-profile__section-heading p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.mynolimit-profile__panel-icon,
.mynolimit-profile__setting-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
}

.mynolimit-profile__info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.mynolimit-profile__info-item {
  min-width: 0;
  padding: 13px;
  border-radius: 14px;
  background: #f8fafc;
}

.mynolimit-profile__info-label {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mynolimit-profile__info-value {
  display: block;
  overflow: hidden;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mynolimit-profile__section,
.mynolimit-profile__settings {
  margin-bottom: 18px;
  padding: 20px;
}

.mynolimit-profile__section-heading {
  margin-bottom: 16px;
}

.mynolimit-profile__access-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(230px, 1fr)
  );
  gap: 13px;
}

.mynolimit-profile__access-card {
  padding: 16px;
  border: 1px solid #dbe3ef;
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f8fbff 100%
    );
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .mynolimit-profile__access-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
  }
}

.mynolimit-profile__access-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mynolimit-profile__access-role,
.mynolimit-profile__access-status {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  text-transform: capitalize;
}

.mynolimit-profile__access-role {
  background: #dbeafe;
  color: #1d4ed8;
}

.mynolimit-profile__access-status {
  background: #dcfce7;
  color: #15803d;
}

.mynolimit-profile__access-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 850;
}

.mynolimit-profile__access-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.mynolimit-profile__access-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.mynolimit-profile__access-open:disabled {
  cursor: default;
  opacity: 0.5;
}

.mynolimit-profile__empty {
  padding: 22px;
  border-radius: 16px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.mynolimit-profile__settings-list {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 17px;
}

.mynolimit-profile__setting {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 70px;
  padding: 12px 15px;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color 150ms ease;
}

.mynolimit-profile__setting:last-child {
  border-bottom: 0;
}

.mynolimit-profile__setting:hover {
  background: #f8fbff;
}

.mynolimit-profile__setting-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mynolimit-profile__setting-text strong {
  font-size: 14px;
  font-weight: 850;
}

.mynolimit-profile__setting-text small {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.mynolimit-profile__setting-arrow {
  color: #94a3b8;
  font-size: 24px;
}

.mynolimit-profile__setting--logout {
  color: #b91c1c;
}

.mynolimit-profile__setting--logout
.mynolimit-profile__setting-icon {
  background: #fff1f2;
  color: #dc2626;
}

@media (max-width: 760px) {
  .mynolimit-profile__hero {
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
  }

  .mynolimit-profile__avatar {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 17px;
    font-size: 18px;
  }

  .mynolimit-profile__title {
    font-size: 21px;
  }

  .mynolimit-profile__subtitle {
    font-size: 12px;
  }

  .mynolimit-profile__status {
    position: absolute;
    margin-top: 63px;
    margin-left: 68px;
  }

  .mynolimit-profile__identity-grid {
    grid-template-columns: 1fr;
  }

  .mynolimit-profile__panel,
  .mynolimit-profile__section,
  .mynolimit-profile__settings {
    padding: 16px;
    border-radius: 19px;
  }

  .mynolimit-profile__info-grid {
    grid-template-columns: 1fr;
  }

  .mynolimit-profile__access-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mynolimit-profile__access-card,
  .mynolimit-profile__setting {
    transition: none;
  }
}

/* ==========================================================
   PY-37B Modern Investor Fund Header
   ========================================================== */

.mynolimit-fund__hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #bfdbfe;
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #ffffff 68%,
      #f8fbff 100%
    );
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.mynolimit-fund__hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

.mynolimit-fund__hero-text {
  min-width: 0;
}

.mynolimit-fund__eyebrow {
  margin-bottom: 6px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mynolimit-fund__title {
  margin: 0;
  color: #0f172a;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.12;
}

.mynolimit-fund__subtitle {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .mynolimit-fund__hero {
    gap: 13px;
    margin-bottom: 16px;
    padding: 17px;
    border-radius: 18px;
  }

  .mynolimit-fund__hero-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
  }

  .mynolimit-fund__hero-icon svg {
    width: 24px;
    height: 24px;
  }

  .mynolimit-fund__eyebrow {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .mynolimit-fund__title {
    font-size: 21px;
  }

  .mynolimit-fund__subtitle {
    margin-top: 5px;
    font-size: 12px;
  }
}

/* ==========================================================
   PY-37B3 Compact Fund Summary Card
   ========================================================== */

.mynolimit-fund__summary-card {
  min-height: 0 !important;
  height: auto !important;
  padding: 24px 22px 20px !important;
  justify-content: flex-start !important;
}

@media (max-width: 640px) {
  .mynolimit-fund__summary-card {
    min-height: 0 !important;
    height: auto !important;
    padding: 21px 18px 17px !important;
  }
}

/* ==========================================================
   PY-38C3 Dashboard Header
   ========================================================== */

.mynolimit-dashboard-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #bfdbfe;
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #ffffff 68%,
      #f8fbff 100%
    );
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.mynolimit-dashboard-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

.mynolimit-dashboard-header__text {
  min-width: 0;
}

.mynolimit-dashboard-header__eyebrow {
  margin-bottom: 6px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mynolimit-dashboard-header__title {
  margin: 0;
  color: #0f172a;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.12;
}

.mynolimit-dashboard-header__subtitle {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.mynolimit-dashboard-viewing {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.mynolimit-dashboard-viewing__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.mynolimit-dashboard-viewing__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
}

.mynolimit-dashboard-viewing__title {
  display: block;
  color: #0f172a;
  font-size: 15px;
  font-weight: 850;
}

.mynolimit-dashboard-viewing__subtitle {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.mynolimit-dashboard-viewing__select {
  display: block;
  width: 100%;
  min-height: 47px;
  padding: 0 42px 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.mynolimit-dashboard-viewing__select:hover {
  border-color: #93c5fd;
  background: #ffffff;
}

.mynolimit-dashboard-viewing__select:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
}

@media (max-width: 640px) {
  .mynolimit-dashboard-header {
    gap: 13px;
    margin-bottom: 16px;
    padding: 17px;
    border-radius: 18px;
  }

  .mynolimit-dashboard-header__icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
  }

  .mynolimit-dashboard-header__icon svg {
    width: 23px;
    height: 23px;
  }

  .mynolimit-dashboard-header__eyebrow {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .mynolimit-dashboard-header__title {
    font-size: 21px;
  }

  .mynolimit-dashboard-header__subtitle {
    margin-top: 5px;
    font-size: 12px;
  }

  .mynolimit-dashboard-viewing {
    padding: 15px;
    border-radius: 18px;
  }

  .mynolimit-dashboard-viewing__heading {
    margin-bottom: 12px;
  }

  .mynolimit-dashboard-viewing__select {
    min-height: 46px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mynolimit-dashboard-viewing__select {
    transition: none;
  }
}

/* ==========================================================
   PY-39B2 Modern Reports Header
   ========================================================== */

.mynolimit-reports-header-row {
  margin-bottom: 18px !important;
}

.mynolimit-reports-header {
  position: relative;
  display: block !important;
  width: 100%;
  min-height: 104px;
  margin: 0 !important;
  padding: 22px 22px 22px 96px !important;
  overflow: visible !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 22px !important;
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #ffffff 68%,
      #f8fbff 100%
    ) !important;
  color: #0f172a !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08) !important;
}

.mynolimit-reports-header::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  transform: translateY(-50%);
  background-color: #2563eb;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l4 4v16H6z'/%3E%3Cpath d='M14 2v5h5'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 27px 27px;
}

.mynolimit-reports-header__text {
  position: relative;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: #0f172a !important;
}

.mynolimit-reports-header__text::before {
  content: "REPORTS";
  display: block;
  margin-bottom: 6px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mynolimit-reports-header .hero-label,
.mynolimit-reports-header h1,
.mynolimit-reports-header h2 {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 27px !important;
  font-weight: 850 !important;
  line-height: 1.12 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.mynolimit-reports-header .hero-sub {
  margin: 7px 0 0 !important;
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

@media (max-width: 640px) {
  .mynolimit-reports-header-row {
    margin-bottom: 16px !important;
  }

  .mynolimit-reports-header {
    min-height: 82px;
    padding: 17px 15px 17px 78px !important;
    border-radius: 18px !important;
  }

  .mynolimit-reports-header::before {
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background-size: 23px 23px;
  }

  .mynolimit-reports-header__text::before {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .mynolimit-reports-header .hero-label,
  .mynolimit-reports-header h1,
  .mynolimit-reports-header h2 {
    font-size: 21px !important;
  }

  .mynolimit-reports-header .hero-sub {
    margin-top: 5px !important;
    font-size: 12px !important;
  }
}

/* ==========================================================
   PY-39B3 Compact Reports Header
   ========================================================== */

.mynolimit-reports-header {
  min-height: 92px !important;
  padding: 18px 20px 18px 88px !important;
}

.mynolimit-reports-header::before {
  left: 20px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-size: 25px 25px;
}

.mynolimit-reports-header .hero-label,
.mynolimit-reports-header h1,
.mynolimit-reports-header h2 {
  font-size: 25px !important;
}

@media (max-width: 900px) {
  .mynolimit-reports-header {
    min-height: 82px !important;
    padding: 15px 15px 15px 76px !important;
    border-radius: 18px !important;
  }

  .mynolimit-reports-header::before {
    left: 15px;
    width: 47px;
    height: 47px;
    border-radius: 14px;
    background-size: 22px 22px;
  }

  .mynolimit-reports-header__text::before {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .mynolimit-reports-header .hero-label,
  .mynolimit-reports-header h1,
  .mynolimit-reports-header h2 {
    font-size: 21px !important;
  }

  .mynolimit-reports-header .hero-sub {
    margin-top: 4px !important;
    font-size: 12px !important;
  }
}

/* ==========================================================
   PY-39B4F Reports Title Match
   ========================================================== */

.mynolimit-reports-header .hero-label,
.mynolimit-reports-header h1,
.mynolimit-reports-header h2 {
  font-size: 21px !important;
  font-weight: 850 !important;
  line-height: 1.12 !important;
}

@media (min-width: 641px) {
  .mynolimit-reports-header .hero-label,
  .mynolimit-reports-header h1,
  .mynolimit-reports-header h2 {
    font-size: 27px !important;
  }
}

