/* Collapsible actions on mobile. */
@media(max-width:800px){
  #app .transaction-page-heading .transaction-mobile-actions {
    gap:0!important;
    justify-content:flex-end!important;
  }
  #app .transaction-page-heading .transaction-mobile-actions > .nexo-more-actions {
    order:1!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  #app .analytics-toolbar > .nexo-more-actions {
    grid-area:1 / 2!important;
    justify-self:end!important;
    align-self:center!important;
    z-index:3;
  }
  #app .overview-intro .dashboard-toolbar > .nexo-more-actions {
    grid-area:2 / 2!important;
    justify-self:end!important;
    align-self:center!important;
    z-index:3;
  }
  #app .nexo-more-actions {
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:0!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:visible!important;
    isolation:isolate;
  }
  #app .nexo-more-actions .nexo-more-tray {
    display:flex!important;
    flex:0 1 auto!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    overflow:hidden!important;
    width:max-content!important;
    max-width:0!important;
    visibility:hidden!important;
    opacity:0!important;
    transition:max-width .22s ease, opacity .16s ease,visibility .22s;
  }
  #app .nexo-more-actions.is-open .nexo-more-tray {
    max-width:124px!important;
    visibility:visible!important;
    opacity:1!important;
    transition:max-width .22s ease, opacity .16s ease,visibility 0s;
  }
  #app .nexo-more-actions > .nexo-more-toggle,
  #app .nexo-more-actions .nexo-more-tray > :is(button.mobile-filter-toggle,button.mobile-privacy,button.overview-privacy,button.transaction-export),
  #app .nexo-more-actions > .nexo-more-toggle:is(:hover,:active,:focus),
  #app .nexo-more-actions .nexo-more-tray > :is(button.mobile-filter-toggle,button.mobile-privacy,button.overview-privacy,button.transaction-export):is(:hover,:active,:focus,[aria-expanded="true"]) {
    position:relative!important;
    display:inline-grid!important;
    place-items:center!important;
    flex:0 0 40px!important;
    box-sizing:border-box!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    filter:none!important;
    transform:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    color:var(--text-secondary)!important;
    cursor:pointer!important;
    -webkit-tap-highlight-color:transparent;
  }
  #app .nexo-more-actions > .nexo-more-toggle {
    z-index:1;
    flex-shrink:0!important;
  }
  #app .nexo-more-actions > .nexo-more-toggle > svg,
  #app .nexo-more-actions .nexo-more-tray > button > svg.nexo-icon {
    display:block!important;
    box-sizing:content-box!important;
    width:19px!important;
    min-width:19px!important;
    height:19px!important;
    stroke-width:1.2px!important;
    margin:auto!important;
    flex:none!important;
  }
  #app .nexo-more-actions .nexo-more-tray > button > small {
    position:absolute;
    right:1px;
    top:1px;
  }
  #app .nexo-more-actions > .nexo-more-toggle:focus-visible,
  #app .nexo-more-actions .nexo-more-tray > button:focus-visible {
    outline:2px solid #90abc5!important;
    outline-offset:-2px!important;
    border-radius:9px!important;
  }
  #app .nexo-more-actions.is-open > .nexo-more-toggle {color:#ec0000!important;}
}
@media(max-width:360px){
  #app .nexo-more-actions.is-open .nexo-more-tray{max-width:114px!important;}
  #app .nexo-more-actions .nexo-more-tray > button{flex-basis:38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;}
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
  #app .nexo-more-actions .nexo-more-tray{transition:none!important;}
}

/* Test v94: measured icon centers.
   Three-dot center -> nearest icon 30px, then 50px and 70px.
   Keep the three-dot toggle at 40px; action icon slots are 20px. */
@media (max-width:800px){
  #app .nexo-more-actions .nexo-more-tray > :is(button.mobile-filter-toggle,button.mobile-privacy,button.overview-privacy,button.transaction-export),
  #app .nexo-more-actions .nexo-more-tray > :is(button.mobile-filter-toggle,button.mobile-privacy,button.overview-privacy,button.transaction-export):is(:hover,:active,:focus,[aria-expanded="true"]) {
    flex:0 0 20px!important;
    flex-basis:20px!important;
    width:20px!important;
    min-width:20px!important;
    max-width:20px!important;
    margin:0!important;
    padding:0!important;
  }
  #app .nexo-more-actions.is-open .nexo-more-tray {max-width:60px!important;}
  #app .nexo-more-actions[data-actions-for="Dashboard"].is-open .nexo-more-tray,
  #app .nexo-more-actions[data-actions-for="Visão geral"].is-open .nexo-more-tray {max-width:40px!important;}
}
@media (max-width:360px){
  #app .nexo-more-actions .nexo-more-tray > :is(button.mobile-filter-toggle,button.mobile-privacy,button.overview-privacy,button.transaction-export) {
    flex:0 0 20px!important;
    flex-basis:20px!important;
    width:20px!important;
    min-width:20px!important;
    max-width:20px!important;
  }
  #app .nexo-more-actions.is-open .nexo-more-tray{max-width:60px!important;}
  #app .nexo-more-actions[data-actions-for="Dashboard"].is-open .nexo-more-tray,
  #app .nexo-more-actions[data-actions-for="Visão geral"].is-open .nexo-more-tray {max-width:40px!important;}
}

/* Preview v95: exact icon center offsets 40/60/80px.
   Preserve 20px action slots and add 10px between tray and menu toggle. */
@media(max-width:800px){
  #app .nexo-more-actions .nexo-more-tray{
    margin-right:10px!important;
  }
  #app .nexo-more-actions > .nexo-more-toggle > svg.nexo-icon {
    width:22px!important;
    min-width:22px!important;
    height:28px!important;
    min-height:28px!important;
    max-height:28px!important;
  }
}

/* Preview v96: exactly 15px clear distance between the dots.
   1.9px radius, 18.8px centre spacing, 44px tall icon. */
@media(max-width:800px){
  #app .nexo-more-actions > .nexo-more-toggle > svg.nexo-icon {
    width:19px!important;
    min-width:19px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    overflow:visible!important;
  }
}

/* Preview v97: 3.5px clear gap between dots, +10px from the menu to each action. */
@media(max-width:800px){
  #app .nexo-more-actions .nexo-more-tray {
    margin-right:20px!important;
  }
  #app .nexo-more-actions > .nexo-more-toggle > svg.nexo-icon {
    width:19px!important;
    min-width:19px!important;
    height:19px!important;
    min-height:19px!important;
    max-height:19px!important;
  }
}

/* Preview v98: measured 30px centre-to-centre steps.
   Three dots -> nearest action 30px, second 60px, third 90px. */
@media (max-width:800px) {
  #app .nexo-more-actions .nexo-more-tray {
    margin-right:-5px!important;
  }
  #app .nexo-more-actions .nexo-more-tray > :is(button.mobile-filter-toggle,button.mobile-privacy,button.overview-privacy,button.transaction-export),
  #app .nexo-more-actions .nexo-more-tray > :is(button.mobile-filter-toggle,button.mobile-privacy,button.overview-privacy,button.transaction-export):is(:hover,:active,:focus,[aria-expanded="true"]) {
    flex:0 0 30px!important;
    flex-basis:30px!important;
    width:30px!important;
    min-width:30px!important;
    max-width:30px!important;
  }
  #app .nexo-more-actions.is-open .nexo-more-tray {
    max-width:90px!important;
  }
  #app .nexo-more-actions[data-actions-for="Dashboard"].is-open .nexo-more-tray,
  #app .nexo-more-actions[data-actions-for="Visão geral"].is-open .nexo-more-tray {
    max-width:60px!important;
  }
}
@media (max-width:360px){
  #app .nexo-more-actions .nexo-more-tray > :is(button.mobile-filter-toggle,button.mobile-privacy,button.overview-privacy,button.transaction-export) {
    flex:0 0 30px!important;
    flex-basis:30px!important;
    width:30px!important;
    min-width:30px!important;
    max-width:30px!important;
  }
  #app .nexo-more-actions.is-open .nexo-more-tray{max-width:90px!important;}
  #app .nexo-more-actions[data-actions-for="Dashboard"].is-open .nexo-more-tray,
  #app .nexo-more-actions[data-actions-for="Visão geral"].is-open .nexo-more-tray {max-width:60px!important;}
}
@media(max-width:800px){
 #app .nexo-more-toggle>.nexo-more-filter-count{position:absolute;top:0;right:0;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#b60000;color:#fff;font-size:10px;line-height:1;font-weight:500;pointer-events:none;z-index:4}
 #app .nexo-more-actions.is-open>.nexo-more-toggle>.nexo-more-filter-count{display:none}
}
