.s-maeve__container {
  /* Light mode - light outer background */
  --s-bg: transparent;
  /* page - dark */
  --s-ink: #0b0f14;
  /* headings */
  /* --s-text:#202124;          body */
  --s-text: rgba(199, 191, 191, 1);
  /* body */
  --s-muted: #5f6368;
  /* secondary text */
  --s-line: #e5e7eb;
  /* dividers */
  --s-panel: #fafafa;
  /* light panels */
  --s-card: transparent;
  /* cards */
  /* --s-chip:#f6f7f8;          soft surfaces */
  --s-chip: transparent;
  --s-blue: #1a73e8;
  /* primary blue */
  --s-blue-ink: #ffffff;
  /* on primary */
  --s-primary-red: hsl(0, 100%, 50%);
  /* CTA button color */
  --s-green: #22c55e;
  /* ok icon */
  --s-radius: 20px;
  --s-shadow: 0 16px 40px rgba(255, 255, 255, .08);
  /* light shadow for dark bg */
  --s-shadow-soft: 0 8px 24px rgba(255, 255, 255, .06);
  /* --s-hero-bg-gradient:linear-gradient(180deg, #2d4a6f 0%, #1e3a5f 25%, #1a2942 50%, #0a1929 75%, #0b0f14 100%); */

  * {
    box-sizing: border-box
  }

  html,
  body {
    height: 100%
  }

  body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--s-text);
    background: var(--s-bg);
  }

  a {
    color: var(--s-blue);
    text-decoration: none
  }

  .wrap {
    max-width: 1128px;
    margin: 0 auto;
    padding: 0 20px !important
  }

  /* Header — compact like YouTube */
  .hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700
  }

  .brand .logo {
    width: 28px;
    height: 20px;
    border-radius: 4px;
    background: #ea4335;
    display: grid;
    place-items: center;
    box-shadow: var(--s-shadow-soft)
  }

  .brand .logo:after {
    content: "";
    border-left: 8px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent
  }

  .hdr .cta {
    display: flex;
    gap: 10px
  }

  .btn {
    appearance: none;
    border: 1px solid var(--s-line);
    background: #fff;
    color: var(--s-text);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer
  }

  .btn.primary {
    background: var(--s-primary-red);
    border-color: #cc3829;
    color: var(--s-blue-ink)
  }

  .btn.soft {
    background: var(--s-chip)
  }

  /* HERO */
  /* .hero-outer{background:linear-gradient(180deg, #f3f6ff 0%, #ffffff 65%);border-bottom:1px solid var(--s-line)} */
  .hero-outer {
    background: transparent;
    padding-top: 60px !important;
  }

  .hero {
    padding: 64px 0 32px;
    display: grid;
    gap: 16px;
    place-items: center;
    text-align: center
  }

  .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--s-muted);
    font-weight: 800
  }

  .kicker .dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #ea4335;
    display: inline-block
  }

  h1 {
    margin: 0;
    font-size: clamp(30px, 6vw, 56px);
    line-height: 1.06;
    color: var(--s-ink);
    letter-spacing: -.02em
  }

  .sub {
    color: var(--s-muted);
    max-width: 820px;
    margin-top: 4px
  }

  .hero .cta-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center
  }

  .micro {
    font-size: 12px;
    color: var(--s-muted)
  }

  .orline {
    margin-top: 18px
  }

  .s-cta-btn-text {
    color: #fff;
  }

  /* #hero-title{ font-size: 30px !important; } */

  /* SECTION TITLES */
  h2.title {
    font-size: clamp(26px, 5vw, 44px);
    text-align: center;
    margin: 40px 0 18px;
    color: var(--s-ink);
    letter-spacing: -.01em
  }

  /* PLAN CARDS — closer spacing/typography */
  .plans {
    display: grid;
    gap: 16px
  }

  .plan {
    background: var(--s-card);
    border: 1px solid var(--s-line);
    border-radius: 24px;
    box-shadow: var(--s-shadow);
    padding: 18px;
    display: grid;
    gap: 12px
  }

  .plan .top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--s-text)
  }

  .ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--s-chip);
    display: grid;
    place-items: center;
    font-weight: 900;
    border: 1px solid var(--s-text);
    border-radius: 50%
  }

  .meta {
    color: var(--s-muted);
    font-size: 12px
  }

  .price {
    display: flex;
    align-items: baseline;
    gap: 8px
  }

  .price .amt {
    font-size: 28px;
    font-weight: 900
  }

  .price .per {
    color: var(--s-muted);
    font-size: 12px
  }

  .restrictions {
    font-size: 12px;
    color: var(--s-muted)
  }

  .plan .cta .btn {
    padding: 12px 18px
  }

  /* Premium Lite spotlight (centered card like screenshot) */
  .lite {
    display: grid;
    place-items: center;
    margin: 48px 0 10px
  }

  .lite .card {
    width: 100%;
    max-width: 560px;
    background: var(--s-card);
    border: 1px solid var(--s-line);
    border-radius: 24px;
    box-shadow: var(--s-shadow);
    padding: 18px;
  }

  .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 800;
    font-size: 12px
  }

  .list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
  }

  .li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--s-text)
  }

  .ok {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: none;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900
  }

  .no {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e5e7eb;
    display: grid;
    place-items: center;
    color: #9ca3af;
    font-weight: 900
  }

  /* Feature rows — circle media + copy */
  .feature {
    display: grid;
    gap: 24px;
    align-items: center;
    margin: 32px 0
  }

  .feature .media {
    width: 280px;
    max-width: 45vw;
    height: 280px;
    background: conic-gradient(from 160deg, #e8f0fe, #dbeafe, #ffffff 60%);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--s-shadow-soft)
  }

  .feature .play {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--s-shadow);
    display: grid;
    place-items: center
  }

  .feature .play:after {
    content: "";
    border-left: 14px solid #202124;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 3px
  }

  .feature h3 {
    margin: 0 0 6px;
    font-size: clamp(22px, 4.5vw, 36px);
    color: var(--s-ink)
  }

  .feature p {
    color: var(--s-muted)
  }

  /* big gradient slab like Music block */
  .slab {
    background: linear-gradient(135deg, #2b2c4a, #182134 55%, #0f172a);
    color: #fff;
    border-radius: 28px;
    box-shadow: var(--s-shadow);
    padding: 32px;
    display: grid;
    gap: 10px;
    margin: 40px 0
  }

  /* Compare memberships — 3-column grid (features + Premium + Lite) */
  .compare {
    margin: 44px 0
  }

  .cmpwrap {
    border: 1px solid var(--s-line);
    border-radius: 28px;
    overflow: hidden
  }

  .cmphead {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    background: #fafafa;
    border-bottom: 1px solid var(--s-line)
  }

  .cmpcell {
    padding: 18px;
    text-align: center
  }

  .cmpcell h4 {
    margin: 0;
    color: var(--s-ink)
  }

  .planprice {
    margin-top: 4px;
    font-weight: 900
  }

  .cmprow {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    border-top: 1px solid var(--s-line)
  }

  .cmprow .cell {
    padding: 14px;
    display: flex;
    justify-content: center;
    align-items: center
  }

  .cmprow .feat {
    justify-content: flex-start
  }

  .tick {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--s-green);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900
  }

  .dash {
    color: #9ca3af
  }

  /* Ready CTA */
  .ready {
    padding: 48px 0;
    text-align: center
  }

  .ready h3 {
    margin: 0 0 8px;
    font-size: clamp(26px, 5vw, 42px);
    color: var(--s-ink)
  }

  .ready .sub {
    margin-bottom: 16px
  }

  /* FAQ large rounded container */
  .faq-outer {
    background: var(--s-bg);
    padding: 44px 20px;
  }

  .faq {
    max-width: 880px;
    margin: 0 auto;
    background: var(--s-card);
    border: 1px solid var(--s-line);
    border-radius: 28px;
    box-shadow: var(--s-shadow-soft)
  }

  .faq h3 {
    margin: 0;
    padding: 24px 24px 8px;
    font-size: clamp(24px, 5vw, 36px)
  }

  .qa {
    border-top: 1px solid var(--s-line)
  }

  .qa summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 700
  }

  .qa summary::-webkit-details-marker {
    display: none
  }

  .qa .ans {
    padding: 0 24px 18px;
    color: var(--s-muted)
  }

  /* Footer */
  .ftr {
    border-top: 1px solid var(--s-line);
    color: var(--s-muted);
    font-size: 13px;
    padding: 20px 0 32px;
    display: grid;
    gap: 8px
  }

  /* Layouts */
  @media(min-width:441px) {
    /* #hero-title{font-size: 34px !important;} */
  }

  @media(min-width:760px) {
    .plans {
      grid-template-columns: repeat(3, 1fr)
    }

    .feature {
      grid-template-columns: 1.1fr .9fr
    }

    .feature.rev {
      grid-template-columns: .9fr 1.1fr
    }

    .feature.rev .copy {
      order: 2
    }

    .feature.rev .media {
      order: 1
    }

    /* Add spacing for navbar on desktop */
    .hdr {
      padding-top: 122px
    }
  }

  @media(min-width: 768px) {
    .hero-outer {
      padding-top: 170px !important;
    }
  }
}

.page-ai-dashboard .content-body {
  --color-primary: #00e0f7;

  .button--primary:not(.button--outline) {
    color: #141414 !important;
  }

  .button--primary:not(.button--outline):hover {
    background: rgba(0, 224, 247, 0.8);
  }
}

.maeve-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 32px;

  @media (min-width: 992px) {
    padding-top: 0;
    justify-content: flex-start;
  }

  h1 {
    max-width: 75%;
    margin: 0 24px 0 0;

    @media (max-width: 400px) {
      display: none;
    }

    @media (min-width: 992px) {
      margin: 0 48px 0 0;
    }
  }

  svg {
    min-width: 200px;
    max-width: 100%;

    min-height: auto;
  }

  @media (width > 500px) {
    svg {
      min-width: 290px;
      min-height: 30px;
    }
  }

  .win-rate {
    font-size: 12px !important;

    @media (max-width: 400px) {
      margin-left: auto;
    }

    @media (width > 992px) {
      font-size: 1.2rem !important;
    }
  }

  .button {
    flex-shrink: 0;
    padding: 8px 10px;
    font-size: 12px;

    @media (min-width: 992px) {
      padding: 12px 16px;
      font-size: 14px;
    }
  }
}


/* .ai-dashboard-bg {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  img {
    width: 100%;
    opacity: 0.5;
  }

  .ai-dashboard-bg-top {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
  }
} */

.card {
  background: rgba(0, 0, 0, 0.8) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  h2 {
    margin: 0;
    font-size: 16px;

    @media (min-width: 992px) {
      font-size: 18px;
    }
  }
}

/* GRID */
.main-grid-mdb {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 100%;
}

.item-mdb {
  /* background: #e0e7ef; */
  /* border: 1px solid #b0b8c1; */
  border-radius: 8px;
  /* padding: 1rem; */
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Desktop: item1 spans 3 cols, item2 1 col, row 2: 4 items */
.item-mdb-1 {
  grid-column: 1 / span 3;
  grid-row: 1;
}

.item-mdb-2 {
  grid-column: 4 / span 1;
  grid-row: 1;
}

.item-mdb-3 {
  grid-column: 1;
  grid-row: 2;
}

.item-mdb-4 {
  grid-column: 2;
  grid-row: 2;
}

.item-mdb-5 {
  grid-column: 3;
  grid-row: 2;
}

.item-mdb-6 {
  grid-column: 4;
  grid-row: 2;
}

/* Tablet: 500px-991.98px */
@media (max-width: 991.98px) and (min-width: 500px) {
  .main-grid-mdb {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    grid-template-areas:
      "item-mdb-1 item-mdb-1"
      "item-mdb-2 subgrid";
  }

  .item-mdb-1 {
    grid-area: item-mdb-1;
  }

  .item-mdb-2 {
    grid-area: item-mdb-2;
  }

  .subgrid-mdb {
    grid-area: subgrid;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
  }

  .item-mdb-3,
  .item-mdb-4,
  .item-mdb-5,
  .item-mdb-6 {
    width: 100%;
    padding-block: 1.6rem;
    flex: 1;
  }
}

@media (max-width: 499.98px) {
  .main-grid-mdb {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .subgrid-mdb {
    order: 1;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
  }

  .subgrid-mdb>* {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: unset;
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  .item-mdb-1 {
    order: 2;
    width: 100%;
  }

  .maeve-positions {
    order: 3;
    width: 100%;
  }

  .item-mdb-2 {
    order: 4;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .main-grid-mdb {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    width: 100%;
  }

  .subgrid-mdb {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 1rem;
    grid-column: 1 / span 4;
    grid-row: 2;
  }

  .item-mdb-3 {
    grid-column: 1;
    grid-row: 1;
    padding-block: 1rem;
  }

  .item-mdb-4 {
    grid-column: 2;
    grid-row: 1;
    padding-block: 1rem;
  }

  .item-mdb-5 {
    grid-column: 3;
    grid-row: 1;
    padding-block: 1rem;
  }

  .item-mdb-6 {
    grid-column: 4;
    grid-row: 1;
    padding-block: 1rem;
  }
}

.maeve-stats {
  margin-bottom: 1rem;

  .card {
    margin-bottom: 0;
  }
}

.maeve-chart {
  position: relative;
  z-index: 10;

  @media (min-width: 992px) {
    /* flex: 0 1 73%; */
    /* width: 73%; */
  }

  @media (min-width: 1200px) {
    /* flex: 0 1 77%; */
    /* width: 77%; */
  }

  @media (min-width: 1400px) {
    /* flex: 0 1 80%; */
    /* width: 80%; */
  }

  .card-header {
    padding-top: 0;
  }

  .card-header__text {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    padding-right: 16px;

    h2 {
      margin-right: 8px;
    }
  }

  .card-header__date {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;

    .date__datepicker {
      position: relative;

      input {
        width: 200px;
        margin-left: 8px;
        padding: 6px 10px;
        color: #fff;
        text-align: center;
        background: #141414;
        border: 1px solid var(--color-border);
        border-radius: 4px;
      }
    }
  }

  .apexcharts-gridline,
  .apexcharts-xaxis-tick,
  .apexcharts-grid-borders line+line {
    stroke: #002124 !important;
  }

  .apexcharts-tooltip {
    padding: 8px 12px;
    color: #fff048;
    font-weight: 400;
    background: #141414 !important;
    border: 1px solid #fff048 !important;
  }

  .apexcharts-xcrosshairs {
    stroke: #00e0f7 !important;
  }

  .apexcharts-canvas:has(.apexcharts-active) {
    .apexcharts-series-markers-wrap.apexcharts-hidden-element-shown {
      outline: 2px solid #00e0f7;
      border-radius: 50%;
    }
  }
}

.apexcharts-text.apexcharts-yaxis-label.price {
  fill: #dfd444 !important;
  /* font-size: 2px; */
}

/* MAEVE CALCULATOR */
.label-column {
  align-self: flex-start;
  text-align: left;
  margin-bottom: 0.25rem;
}

#results.results {
  font-size: 2rem;
  font-weight: bold;
  color: #90ff00 !important;
  /* color: #ffd600 !important; */
}

.mc__footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(204, 204, 204, 0.4);
  gap: 0.8rem;

  width: 100%;

  .mc-logo {
    width: 200px;
    height: auto;
  }
}

.the-calculator {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 0.5rem !important;
  height: 490.57px;
  justify-content: space-between;
  gap: 0rem;

  .mc-heading h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .mc-form__container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .mc-top,
  .mc-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

    small {
      font-size: 9px;
      max-width: 237px;
    }

    @media (min-width: 500px) {
      justify-content: space-between;
      height: 100%;
    }

    @media (min-width: 992px) {

      /* Only mc-bottom should shrink to content height above 992px */
      &.mc-bottom {
        height: auto;
        flex: 0 0 auto;
        /* small {
          font-size: 9px;
        } */
      }
    }
  }
}

.maeve-chart {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* MAEVE CALCULATOR END */

.maeve-info__item {
  .card {
    justify-items: center;
    align-items: center;
    height: auto;
    margin: 0;
    /* padding: 16px 24px 8px; */
    padding: 8px 24px;
    border-bottom: 0;
    /* border-radius: 8px 8px 0 0 !important; */

    @media (min-width: 992px) {
      justify-items: center;
      align-items: start;
      /* align-items: center; */
      height: 100%;
      padding: 16px 24px;
      border-bottom: 1px solid var(--color-border);
      border-radius: 8px !important;
    }
  }

  +.maeve-info__item {
    /* margin-top: -1px; */

    @media (min-width: 992px) {
      margin-top: 0;
    }

    .card {
      padding: 8px 24px;
      /* border-top: 0; */
      /* border-radius: 0 !important; */

      @media (min-width: 992px) {
        padding: 16px 24px;
        border-top: 1px solid var(--color-border);
        border-radius: 8px !important;
      }
    }

    &:last-child {
      .card {
        border-bottom: 1px solid var(--color-border);
        /* border-radius: 0 0 8px 8px !important; */

        @media (min-width: 992px) {
          align-items: start;
          justify-items: center;
          /* padding: 8px 24px 16px; */
          padding: 16px 24px;
          border-radius: 8px !important;
        }
      }
    }
  }

  p {
    margin: 0;
  }

  span {
    font-size: 16px;
    /* font-size: 20px; */
    color: #fff;

    @media (min-width: 992px) {
      font-size: 20px;
      /* font-size: 24px; */
    }
  }

  .badge {
    margin-top: 10px;
  }
}

/* } */

.table-maeve-positions {
  th.wrap-header {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .table {

    thead,
    tbody {
      border-top: 1px solid var(--color-border) !important;
    }

    tr {
      &.is-sub {
        td {
          padding: 8px;
          background-color: rgba(255, 255, 255, 0.03) !important;

          &:first-child {
            padding-left: 24px;
          }

          &:last-child {
            padding-right: 24px;
          }

          &.hide-mobile {
            display: none;

            @media (min-width: 992px) {
              display: table-cell;
            }
          }
        }

        +.is-sub {
          td {
            border-top-color: transparent !important;
          }
        }

        &:has(+ tr:not(.is-sub)) {
          td {
            padding-bottom: 16px;
          }
        }
      }

      &:not(.is-sub)+.is-sub {
        td {
          padding-top: 16px;
        }
      }
    }

    th,
    td {
      padding: 19px 8px;

      &:first-child {
        padding-left: 24px;
      }

      &:last-child {
        padding-right: 24px;

        @media (min-width: 992px) {
          text-align: right;
        }
      }
    }

    th {
      white-space: nowrap;
    }

    td {
      border-top: 1px solid var(--color-border) !important;

      &.id {
        font-weight: 700;
      }

      &.parent-id {
        text-decoration: underline;
        cursor: pointer;
      }

      &.nowrap {
        white-space: nowrap;
      }

      &.text-left {
        text-align: left !important;
      }

      &.text-right {
        text-align: right !important;
      }

      .table-arrow {
        cursor: pointer;

        svg {
          width: 24px;
          height: 24px;
          fill: #fff;
          transition: transform 0.2s;
        }

        &.is-toggled {
          svg {
            transform: rotate(-180deg);
          }
        }
      }
    }

    .maeve-positions__symbol {
      display: inline-flex;
      align-items: center;
      vertical-align: middle;

      img {
        margin-right: 8px;
      }
    }
  }

  .dt-layout-row:not(.dt-layout-table) {
    padding-right: 24px;
    padding-left: 24px;
  }

  .dt-input {
    background-color: #141414 !important;
    border-color: var(--color-border) !important;
  }

  div.dt-container div.dt-layout-end>*:not(:first-child) {
    margin-left: 24px;
  }

  .dt-length label {
    margin-left: 4px;
  }

  .dt-type-date {
    text-align: left !important;
  }

  .dtr-control {
    text-align: right;

    &::before {
      border-left-color: #fff !important;
      transform: rotate(90deg);
    }
  }

  .dtr-expanded td.dtr-control::before {
    border-top-color: #fff !important;
    border-left-color: transparent !important;
    transform: rotate(180deg);
  }

  .table.dataTable>tbody>tr.child ul.dtr-details {
    display: block !important;
  }

  table.dataTable>tbody>tr.child ul.dtr-details>li {
    border-color: transparent !important;
  }

  ul.dtr-details li.dca {
    display: none;

    &:has(.table-arrow) {
      display: list-item;
    }
  }
}

.table-options {
  position: relative;

  button {
    display: flex;
    align-items: center;
    padding: 5px 12px;

    @media (min-width: 992px) {
      padding: 8px 16px;
    }

    svg {
      margin-left: 4px;
      fill: #fff;
    }
  }

  .table-options__dropdown {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    display: flex;
    padding: 16px 0;
    background: #111;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s,
      visibility 0.2s,
      transform 0.2s;

    &.is-visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    p {
      margin: 0 0 4px;
      color: #fff;
      font-weight: 700;
    }

    ul {
      margin: 0;
      padding: 0;
      list-style: none;

      li {
        display: flex;
        align-items: center;
        padding: 4px 0;
        cursor: pointer;

        input {
          cursor: pointer;
        }

        label {
          order: 1;
          padding-left: 4px;
          cursor: pointer;
        }
      }
    }

    .dropdown__col {
      padding: 0 16px;

      +.dropdown__col {
        border-left: 1px solid var(--color-border);
      }
    }
  }
}

.table-options {
  position: relative;

  button {
    display: flex;
    align-items: center;
    padding: 5px 12px;

    @media (min-width: 992px) {
      padding: 8px 16px;
    }

    svg {
      margin-left: 4px;
      fill: #fff;
    }
  }

  .table-options__dropdown {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    display: flex;
    padding: 16px 0;
    background: #111;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s,
      visibility 0.2s,
      transform 0.2s;

    &.is-visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    p {
      margin: 0 0 4px;
      color: #fff;
      font-weight: 700;
    }

    ul {
      margin: 0;
      padding: 0;
      list-style: none;

      li {
        display: flex;
        align-items: center;
        padding: 4px 0;
        cursor: pointer;

        input {
          cursor: pointer;
        }

        label {
          order: 1;
          padding-left: 4px;
          cursor: pointer;
        }
      }
    }

    .dropdown__col {
      padding: 0 16px;

      +.dropdown__col {
        border-left: 1px solid var(--color-border);
      }
    }
  }
}

.maeve-positions {
  grid-column: 1 / -1;
  width: 100%;
  /* Ensure it spans all columns on grid layouts */
}

@media (max-width: 991.98px) and (min-width: 500px) {
  .maeve-positions {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 499.98px) {
  .main-grid-mdb {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .subgrid-mdb {
    order: 1;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
  }

  .subgrid-mdb>* {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: unset;
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  .item-mdb-1 {
    order: 2;
    width: 100%;
  }

  .maeve-positions {
    order: 3;
    width: 100%;
  }

  .item-mdb-2 {
    order: 4;
    width: 100%;
  }

  .item-mdb-3,
  .item-mdb-4,
  .item-mdb-5,
  .item-mdb-6 {
    /* order: 5; */
    width: 100%;
    padding-block: 1rem;
  }
}

/* AI Dashboard section outside container - transparent variant */
.slab.dashbaord {
  background: transparent;
  box-shadow: none;
  padding: 0;
  /* margin-top: 111px; */
}

/* AI Dashboard heading outside container - matches .ready h3 style */
.dashboard-title h3,
.slab h3 {
  margin: 0 0 8px;
  font-size: clamp(26px, 5vw, 42px);
  color: #0b0f14;
  text-align: center;
}

/*here*/