/*******************************************/
/*  ariato css                             */
/*  https://github.com/BaseSecrete/ariato  */
/*******************************************/

.active-analytics {
  --color-info-100: oklch(92% 0.04 269);
  --color-info-200: oklch(85% 0.06 269);
  --color-info-400: oklch(52% 0.1 269);
  --color-info-500: oklch(42% 0.2 269);
  --color-info-600: oklch(35% 0.2 269);
  --color-info-700: oklch(25% 0.2 269);

  --color-danger-20: oklch(94% 0.04 29);
  --color-danger-200: oklch(85% 0.06 29);
  --color-danger-500: oklch(42% 0.2 29);
  --color-danger-600: oklch(35% 0.2 29);

  --color-success-500: oklch(42% 0.2 149);

  --color-grey-00: oklch(100% 0.01 269);
  --color-grey-20: oklch(99% 0.01 269);
  --color-grey-35: oklch(97% 0.01 269);
  --color-grey-50: oklch(94% 0.01 269);
  --color-grey-100: oklch(92% 0.01 269);
  --color-grey-200: oklch(85% 0.01 269);
  --color-grey-300: oklch(57% 0.01 269);
  --color-grey-400: oklch(52% 0.01 269);
  --color-grey-500: oklch(42% 0.01 269);
  --color-grey-600: oklch(35% 0.01 269);
  --color-grey-700: oklch(25% 0.01 269);

  --color-shadow: oklch(20% 0.01 269 / 0.02);
}

@media (prefers-color-scheme: dark) {
  .active-analytics {
    --color-info-100: oklch(28% 0.07 269);
    --color-info-200: oklch(41% 0.09 269);
    --color-info-400: oklch(72% 0.09 269);
    --color-info-500: oklch(84% 0.09 260);
    --color-info-600: oklch(87% 0.07 269);
    --color-info-700: oklch(92% 0.04 269);

    --color-danger-20: oklch(23% 0.07 29);
    --color-danger-200: oklch(41% 0.09 29);
    --color-danger-500: oklch(84% 0.09 29);
    --color-danger-600: oklch(87% 0.07 29);

    --color-success-500: oklch(84% 0.09 149);

    --color-grey-00: oklch(16% 0.01 269);
    --color-grey-20: oklch(19% 0.01 269);
    --color-grey-35: oklch(21% 0.01 269);
    --color-grey-50: oklch(22% 0.01 269);
    --color-grey-100: oklch(28% 0.01 269);
    --color-grey-200: oklch(41% 0.01 269);
    --color-grey-300: oklch(64% 0.01 269);
    --color-grey-400: oklch(72% 0.01 269);
    --color-grey-500: oklch(84% 0.01 269);
    --color-grey-600: oklch(87% 0.01 269);
    --color-grey-700: oklch(92% 0.01 269);

    --color-shadow: oklch(10% 0.01 269 / .03);
  }
}

.active-analytics body {
  background: var(--color-grey-20);
  color: var(--color-grey-500);
}

.active-analytics :focus {
  outline: 2px solid var(--color-info-200);
}

/* design_tokens/font.css */
.active-analytics {
  --font-sans:  system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 
  --base-font-size: 15px;
  --font-weight-400: 400;
  --font-weight-700: 700;
  --ratio: 1.2;
  --font-size-30: calc(var(--base-font-size) / var(--ratio) / var(--ratio)); /* -2 */
  --font-size-40: calc(var(--base-font-size) / var(--ratio)); /* -1 */
  --font-size-50: var(--base-font-size);
  --font-size-60: calc(var(--base-font-size) * var(--ratio)); /* +1 */
  --font-size-70: calc(var(--base-font-size) * var(--ratio) * var(--ratio)); /* +2 */
  --font-size-80: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio)); /* +4 */
  --font-size-90: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio)); /* +5 */
  --font-size-100: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio)); /* +6 */
  --font-size-110: calc(var(--base-font-size) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio)); /* +7 */
}

.active-analytics,
.active-analytics body {
  font-size: var(--base-font-size);
}

.active-analytics body {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-400);
  line-height: var(--space-3x);
}

/* design_tokens/shadow.css */
.active-analytics {
  --box-shadow-s: 
    0 1px 1px 0 var(--color-shadow),
    0 1px 2px 0 var(--color-shadow);
  --box-shadow-l: 
    0 0px 2px 0 var(--color-shadow),
    0 1px 2px 0 var(--color-shadow),
    0 2px 4px -1px var(--color-shadow),
    0 4px 8px -2px var(--color-shadow),
    0 8px 16px -4px var(--color-shadow),
    0 16px 32px -8px var(--color-shadow);
  --box-inset-shadow-s: 0 1px 1px 0 var(--color-shadow) inset;  
  --box-inset-shadow-m: 0 1px 1px 0px var(--color-shadow) inset,
      0 2px 2px 1px var(--color-shadow) inset;
  --text-shadow-s: 0 1px 1px var(--color-shadow);
}

/* design_tokens/shape.css */
.active-analytics {
  --border-radius-s: calc(var(--space) * 0.25);
  --border-radius-m: var(--space-1-2);
}

/* design_tokens/space.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.active-analytics {
  --space: 0.5rem;
  --space-1-4: calc(var(--space) / 4);
  --space-1-2: calc(var(--space) / 2);
  --space-2x: calc(var(--space) * 2);
  --space-3x: calc(var(--space) * 3);
  --space-4x: calc(var(--space) * 4);
  --space-5x: calc(var(--space) * 5);
  --space-6x: calc(var(--space) * 6);
  --space-7x: calc(var(--space) * 7);
}

/* elements */

/* text */
.active-analytics ::-moz-selection {
  background: var(--color-info-100);
  text-shadow: none;
}

.active-analytics ::selection {
  background: var(--color-info-100);
  text-shadow: none;
}

.active-analytics p {
  margin: 0;
  padding: calc(var(--space) - 2px) 0 calc(var(--space-2x) + 2px);
}

.active-analytics p.is-large {
  font-size: var(--font-size-70);
  line-height: var(--space-4x);
  padding: var(--space) 0 var(--space-2x);
}

.active-analytics p + :not(p) {
  margin-top: var(--space-3x);
}

.active-analytics h1,
.active-analytics .is-h1 {
  display: inline-block;
  margin: 0;
  padding: calc(var(--space-2x) + 2px) 0 calc(var(--space) - 2px);
  color: var(--color-grey-700);
  font-size: var(--font-size-110);
  font-weight: 700;
  letter-spacing: -0.05rem;
  line-height: var(--space-7x);
  text-transform: none;
}

.active-analytics h2,
.active-analytics .is-h2 {
  margin: 0;
  padding: calc(var(--space) + 1px) 0 calc(var(--space-2x) - 1px);
  color: var(--color-grey-700);
  font-size: var(--font-size-100);
  font-weight: 700;
  letter-spacing: -0.05rem;
  line-height: var(--space-6x);
  text-transform: none;
}

.active-analytics * + h2,
.active-analytics * + .is-h2  {
  margin-top: var(--space-3x);
}

.active-analytics h3,
.active-analytics .is-h3 {
  margin: 0;
  padding: calc(var(--space) - 3px) 0 calc(var(--space-2x) + 3px);
  color: var(--color-grey-700);
  font-size: var(--font-size-60);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--space-3x);
  text-transform: none; 
}

.active-analytics small {
  font-size: var(--font-size-30);
  font-weight: 400;
  text-transform: none;
  color: var(--color-grey-400);
}

/**** BUTTONS *****/
.active-analytics button,
.active-analytics input[type="submit"],
.active-analytics input[type="button"],
.active-analytics input[type="reset"],
.active-analytics [role="button"],
.active-analytics :any-link[role="button"]  {
  /* Display */
  display: inline-flex;
  width: auto;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  align-self: start;
  transition: 0.2s all ease-in-out;
  background-color: transparent;
  min-height: var(--space-5x);
  margin: 0;
  padding: var(--space) calc(var(--space) * 2);
  border: none;
  border-radius: var(--border-radius-s, 0);
  box-shadow: 0 0 0 1px var(--color-grey-200) inset,
    var(--box-shadow-s);
  outline: 0;
  color: var(--color-grey-700);
  font: inherit;
  font-family: inherit;
  font-size: var(--font-size-40);
  font-weight: 700;
  letter-spacing: 0.05rem;
  line-height: var(--space-3x);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: var(--text-shadow-s);
}

.active-analytics button:hover,
.active-analytics input[type="submit"]:hover,
.active-analytics input[type="button"]:hover,
.active-analytics input[type="reset"]:hover,
.active-analytics [role="button"]:hover,
.active-analytics :any-link[role="button"]:hover,
.active-analytics button:active,
.active-analytics input[type="submit"]:active,
.active-analytics input[type="button"]:active,
.active-analytics input[type="reset"]:active,
[role="button"]:active,
:any-link[role="button"]:active {
  color: var(--color-grey-700);
  box-shadow: 0 0 0 1px var(--color-grey-300) inset, 
    var(--box-shadow-s);
}

.active-analytics button:focus,
.active-analytics input[type="submit"]:focus,
.active-analytics input[type="button"]:focus,
.active-analytics input[type="reset"]:focus,
.active-analytics [role="button"]:focus,
.active-analytics :any-link[role="button"]:focus {
  outline: 2px solid var(--color-info-200);
  border: 0;
  color: var(--color-grey-700);
  z-index: 1;
}

.active-analytics button[aria-expanded="true"],
.active-analytics button[type="reset"][aria-expanded="true"],
.active-analytics input[type="submit"][aria-expanded="true"],
.active-analytics input[type="button"][aria-expanded="true"],
.active-analytics input[type="reset"][aria-expanded="true"],
.active-analytics [role="button"][aria-expanded="true"],
.active-analytics :any-link[role="button"][aria-expanded="true"] {
  background: var(--color-grey-100);
  color: var(--color-grey-600);
  box-shadow: 0 0 0 1px var(--color-grey-200) inset,
    var(--box-inset-shadow-m);
}

.active-analytics button[type="reset"],
.active-analytics input[type="reset"],
.active-analytics button.is-reset,
.active-analytics input[type="submit"].is-reset,
.active-analytics input[type="button"].is-reset,
.active-analytics [role="button"].is-reset,
.active-analytics :any-link[role="button"].is-reset {
  color: var(--color-danger-500);
}

.active-analytics button[type="reset"]:hover,
.active-analytics input[type="reset"]:hover,  
.active-analytics button[type="reset"]:hover,
.active-analytics input[type="reset"]:hover,
.active-analytics button.is-reset:hover,
.active-analytics input[type="submit"].is-reset:hover,
.active-analytics input[type="button"].is-reset:hover,
.active-analytics [role="button"].is-reset:hover,
.active-analytics :any-link[role="button"].is-reset:hover,
.active-analytics button[type="reset"]:active,
.active-analytics input[type="reset"]:active,
.active-analytics button.is-reset:active,
.active-analytics input[type="submit"].is-reset:active,
.active-analytics input[type="button"].is-reset:active,
.active-analytics [role="button"].is-reset:active,
.active-analytics :any-link[role="button"].is-reset:active {
  background: var(--color-danger-500);
  color: var(--color-danger-20);
  box-shadow: 0 0 0 1px var(--color-danger-600) inset, 
    var(--box-shadow-s);
}

.active-analytics button[type="reset"]:focus,
.active-analytics input[type="reset"]:focus,
.active-analytics button.is-reset:focus,
.active-analytics input[type="submit"].is-reset:focus,
.active-analytics input[type="button"].is-reset:focus,
.active-analytics [role="button"].is-reset:focus,
.active-analytics :any-link[role="button"].is-reset:focus {
  background: var(--color-danger-500);
  color: var(--color-danger-20);
  outline: 2px solid var(--color-danger-200);
}

.active-analytics button.is-link,
.active-analytics button[type="reset"].is-link,
.active-analytics input[type="submit"].is-link,
.active-analytics input[type="button"].is-link,
.active-analytics input[type="reset"].is-link,
.active-analytics [role="button"].is-link,
.active-analytics :any-link[role="button"].is-link {
  background: transparent;
  color: var(--color-grey-500);
  text-decoration: underline;
  border-color: transparent;
  box-shadow: none !important;
}

.active-analytics button.is-link:hover,
.active-analytics button[type="reset"].is-link:hover,
.active-analytics input[type="submit"].is-link:hover,
.active-analytics input[type="button"].is-link:hover,
.active-analytics input[type="reset"].is-link:hover,
.active-analytics [role="button"].is-link:hover,
.active-analytics :any-link[role="button"].is-link:hover,
.active-analytics button.is-link:active,
.active-analytics button[type="reset"].is-link:active,
.active-analytics input[type="submit"].is-link:active,
.active-analytics input[type="button"].is-link:active,
.active-analytics input[type="reset"].is-link:active,
.active-analytics [role="button"].is-link:active,
.active-analytics :any-link[role="button"].is-link:active {
  background: transparent;
  color: var(--color-grey-700);
  box-shadow: none;
}
  
.active-analytics button.is-link:focus,
.active-analytics button[type="reset"].is-link:focus,
.active-analytics input[type="submit"].is-link:focus,
.active-analytics input[type="button"].is-link:focus,
.active-analytics input[type="reset"].is-link:focus,
.active-analytics [role="button"].is-link:focus,
.active-analytics :any-link[role="button"].is-link:focus {
  color: var(--color-grey-700);
}

/* FORMS */
.active-analytics form {
  overflow: visible;
}

.active-analytics form > * + * {
  margin-top: var(--space-3x, 1em);
}

.active-analytics form *[hidden] {
  margin: 0;
}

.active-analytics label {
  display: block;
  line-height: var(--space-3x);
  padding: 0;
  text-align: left;
  text-transform: uppercase;
  font-size: var(--font-size-30);
  font-weight: 400;
  letter-spacing: 0.1rem;
  color: var(--color-grey-500);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.active-analytics input {
  display: block;
  width: 100%;
  background-color: var(--color-grey-00);
  min-height: var(--space-5x);
  padding: calc(var(--space) - 1px) calc(var(--space-2x) - 1px);
  margin: 0;
  border: 1px solid var(--color-grey-50);
  border-radius: var(--border-radius-s, 0);
  outline: 0 none;
  box-shadow: var(--box-inset-shadow-s);
  color: var(--color-grey-600);
  font-family: inherit;
  font-size: var(--base-font-size);
  line-height: var(--space-3x);
}

.active-analytics input:focus{
  outline: 0 none;
  border-color: var(--color-info-400);
  box-shadow: 
    0 0 0 2px var(--color-info-200),
    var(--box-shadow-s);
}

.active-analytics label + input {
  margin-top: 0;
}

.active-analytics ::placeholder {
  color: var(--color-grey-300);
}

.active-analytics a:any-link {
  color: var(--color-info-500);
  text-decoration: underline;
}

.active-analytics a:any-link:hover {
  color: var(--color-info-600);
}

.active-analytics a:any-link > * + * {
  margin-left: var(--space);
  text-decoration: none;
}

.active-analytics a:any-link[target="_blank"] { 
  padding-right: 16px;
  position: relative;
  display: inline-block;
}

/* Arrow to signify external links */
.active-analytics a:any-link[target="_blank"]::after,
.active-analytics a:any-link[target="_blank"]::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
}

.active-analytics a:any-link[target="_blank"]::before {
  background: currentColor;
  transform: rotate(-45deg);
  top: 50%;
  height: 2px;
  width: 12px;
}

.active-analytics a:any-link[target="_blank"]::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid;
  border-top: 2px solid;
  top: calc(50% - 5px);
}

.active-analytics table {
  width: 100%;
  padding: 0;
  border-spacing: 0;
}

.active-analytics th {
  text-transform: uppercase;
  font-weight: var(--font-weight-700);
  font-size: calc(var(--base-font-size) / var(--ratio) / var(--ratio));
  letter-spacing: 0.03em;
  transform: translateY(2px);
  padding: 12px 24px;
  text-align: left;
  color: var(--color-grey-500);
}

.active-analytics tbody tr {
  box-shadow: 0 -1px 0 0 var(--color-grey-50) inset;
}

.active-analytics tbody tr:hover {
  background: var(--color-grey-50);
}

.active-analytics td {
  color: var(--color-grey-500);
  padding: 12px 24px;
}

/* components/breadcrumb.css */

.active-analytics .breadcrumb ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.active-analytics .breadcrumb li {
  display: inline;
}

.active-analytics .breadcrumb li + li::before {
  content: '';
  display: inline-block;
  margin: 0 var(--space);
  transform: rotate(20deg);
  border-right: 1px solid var(--color-grey-400);
  height: 0.75em;
}

.active-analytics .breadcrumb li:last-child {
  color: var(--color-grey-700);
  font-weight: var(--font-weight-700);
}

/* components/dialog.css */

.active-analytics .dialog-backdrop {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: oklch(from var(--color-grey-300) l c h / .7);
  z-index: var(--z-40, 90);
  animation: backdrop 0.1s cubic-bezier(0.165, 0.840, 0.440, 1.000);
  display: flex;
  align-items: center;
  justify-content: center;
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  .active-analytics .dialog-backdrop {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: oklch(from var(--color-grey-300) l c h / .7);
  }
}

/* Modale */

.active-analytics [role="dialog"] {
  position: relative;
  padding: var(--space-3x);
  background-color: var(--color-grey-20);
  border: 1px solid var(--color-grey-35);
  border-radius: var(--border-radius-m, 0);
  min-width: 480px;
  max-width: 100%;
  max-height: 100vh;
  overflow-y: auto;
  animation: modale 0.5s cubic-bezier(0.165, 0.840, 0.440, 1.000);
}
  
.active-analytics [role="dialog"] > header {
  width: calc(100% + var(--space-6x));
  display: flex;
  align-items: center;
  border-radius: var(--border-radius-m, 0) var(--border-radius-m, 0) 0 0;
  margin: calc(var(--space-3x) * -1) calc(var(--space-3x) * -1) calc(var(--space-3x) * 1);
  padding: calc(var(--space) * 1.5 - 1px) calc(var(--space-3x)  - 1px) calc(var(--space) * 1.5 - 1px);
  border-bottom: 1px solid var(--color-grey-50);
  color: var(--color-grey-500);
}

.active-analytics [role="dialog"] > header button {
  margin-left: auto;
}

.active-analytics [role="dialog"] > footer {
  background: var(--color-grey-50);
  width: calc(100% + var(--space-6x));
  border-radius: 0 0 var(--border-radius-m, 0) var(--border-radius-m, 0);
  margin: var(--space-3x) calc(var(--space-3x) * -1) calc(var(--space-3x) * -1);
  padding: calc(var(--space) * 1.5 - 1px) calc(var(--space-3x)  - 1px) calc(var(--space) * 1.5 - 1px);
  border-top: 1px solid var(--color-grey-50);
}

@media screen and (min-width: 640px) {
  .active-analytics [role="dialog"] {
    min-width: 640px;
    min-height: auto;
    box-shadow: var(--box-shadow-l);
    background-color: var(--color-grey-20);
  }
}

@keyframes modale {
  0% {
    top: -48px;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}

@keyframes backdrop {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* components/grid_auto.css */

.active-analytics .grid-auto {
  --gap: var(--space-3x);
  --col-min-width: calc(var(--space) * 38);
  display: grid;
  grid-gap: var(--gap, 0);
  grid-template-columns: repeat(auto-fit, minmax(var(--col-min-width), 1fr));
  width: 100%;
  padding: 0;
}

.active-analytics .grid-auto > * {
  list-style-type: none;
  margin: 0;
}

.active-analytics .grid-auto * + *,
.active-analytics .grid-auto * + .card {
  margin-top: 0;
}

.active-analytics .grid-auto + * {
  margin-top: var(--space-3x);
}

/* components/group.css */

.active-analytics [role="group"] {
  display: flex;
  align-items: flex-end;
  border-radius: var(--border-radius-s, 0);
  border-radius: 4px;
  max-width: 100%;
}

.active-analytics [role="group"] > * {
  border-radius: 0;
  margin: auto 0 0;
}

.active-analytics [role="group"] > *:first-child {
  border-radius: var(--border-radius-s, 0) 0 0 var(--border-radius-s, 0);
}

.active-analytics [role="group"] > *:last-child {
  border-radius: 0 var(--border-radius-s, 0) var(--border-radius-s, 0) 0;
}

.active-analytics [role="group"] > .input {
  margin: auto var(--space) 0 0;
}

.active-analytics [role="group"] > .input:last-child {
  margin: auto 0 0 0;
}   

.active-analytics [role="group"]  > label {
  margin: 0;
}

.active-analytics [role="group"].is-block {
  width: 100%;
}

.active-analytics [role="group"].is-block  > * {
  flex: 1;
}

/* components/card.css */
.active-analytics .card {
  background: var(--color-grey-20);
  border: 0;
  border-radius: var(--border-radius-s, 0);
  box-shadow: 0 0 0 1px inset var(--color-grey-50), var(--box-shadow-s);
  padding: var(--space-3x);
  list-style-type: none;
  position: relative;
  overflow: visible;
}

.active-analytics .card > header {
  display: flex;
  align-items: center;
  min-height: var(--space-6x);
  width: calc(100% + var(--space-6x));
  border-radius: var(--border-radius-m, 0) var(--border-radius-m, 0) 0 0; 
  padding: var(--space) var(--space-3x);
  margin: calc(var(--space-3x) * -1) calc(var(--space-3x) * -1) calc(var(--space-3x) * 1);
  box-shadow: 0 1px 0 0 var(--color-grey-50);
  color: var(--color-grey-500);
}

.active-analytics .card > header > * {
  margin: 0 var(--space-1-2);
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--font-size-50);
  line-height: var(--space-3x);
}

.active-analytics .card > footer {
  background: var(--color-grey-50);
  box-shadow: 0 -1px 0 0 var(--color-grey-100);
  border-radius: 0 0 var(--border-radius-m, 0) var(--border-radius-m, 0);
  margin: var(--space-3x) calc(var(--space-3x) * -1) calc(var(--space-3x) * -1);
  padding: var(--space-2x) calc(var(--space-3x)  - 1px);
  width: calc(100% + var(--space-6x));
}

/* components/menu.css */

.active-analytics [role="menu"] {
  text-align: left;
  color: var(--color-grey-500);
  position: relative;
  list-style-type: none;
  margin: 0;
  padding: 6px 0 18px;
  text-transform: none;
  font-size: var(--font-size-50);
  letter-spacing: 0.03em;
}

.active-analytics li[role="menuitem"] {
  display: flex;
  flex-direction: column;
}

.active-analytics a[role="menuitem"]:not(.button) {
  padding: 0 24px;
  margin: 0;
  font-size: inherit;
  text-decoration: none;
  color: var(--color-grey-700);
  display: flex;
  align-items: center;
}

.active-analytics a[role="menuitem"]:not(.button):hover {
  color: var(--color-grey-700);
}

.active-analytics a[role="menuitem"]:not(.button)[aria-current="true"] {
  background: var(--color-grey-100);
  color: var(--color-info-700);
}

.active-analytics .menubutton {
  position: relative;
  display: inline-block;
}

.active-analytics .menubutton > button,
.active-analytics .menubutton > input[type="submit"],
.active-analytics .menubutton > input[type="button"],
.active-analytics .menubutton > input[type="reset"],
.active-analytics .menubutton > [role="button"],
.active-analytics .menubutton > :any-link[role="button"] {
  position: relative;
  margin: 0;
  padding-right: var(--space-4x);
}

.active-analytics .menubutton > button:after {
  content: "";
  position: absolute;
  right: var(--space-2x);
  top: calc(50% - 2px);
  width: var(--space-1-2);
  height: var(--space-1-2);
  border-bottom: 1px solid var(--color-grey-300);
  border-right: 1px solid var(--color-grey-300);
  transform: rotate(45deg);
  transition: all 0.2s ease;
}

.active-analytics .menubutton > button[aria-expanded="true"]:after {
  transform: rotate(225deg);
  top: calc(50% - 1px);
  border-color: var(--color-grey-500);
}

.active-analytics .menubutton > [role="menu"] {
  display: none;
  position: absolute;
  z-index: 1000;
  top: var(--space-7x);
  left: 0;
  margin: 0;
  padding: var(--space, 0) 0;
  border-radius: var(--border-radius-m, 0);
  width: auto;
  background: var(--color-grey-00);
  box-shadow: var(--box-shadow-l);
  border: 1px solid var(--color-grey-50);
}

.active-analytics .menubutton > [role="menu"]:after,
.active-analytics .menubutton > [role="menu"]:before {
  bottom: 100%;
  left: var(--space-3x);
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
    
.active-analytics .menubutton > [role="menu"]:after {
  border-color: transparent;
  border-bottom-color: var(--color-grey-00);
  border-width: 6px;
  margin-left: -6px;
}

.active-analytics .menubutton > [role="menu"]:before {
  border-color: transparent;
  border-bottom-color: var(--color-grey-50);
  border-width: 8px;
  margin-left: -8px;
}

.active-analytics .menubutton > [role="menu"] [role="menuitem"] {
  display: block;
  padding: 0px 16px;
  background: var(--color-grey-00);
}

.active-analytics .menubutton > [role="menu"] [role="menuitem"]:hover,
.active-analytics .menubutton > [role="menu"] [role="menuitem"]:focus {
  background: var(--color-grey-50);
  color: var(--color-grey-700);
}

.active-analytics *[hidden=true] { 
  display: none; 
}