html body .aa-header .aa-my-chart {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid #c7c1b4;
    border-radius: 3px;
    background: transparent;
    color: #222222 !important;
    font-family: var(--aa-sans);
    font-size: 11.68px;
    font-weight: 600;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: border-color .18s ease, background-color .18s ease;
}

html body .aa-header .aa-my-chart::before {
    content: "";
    flex: none;
    width: 11px;
    height: 11px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: radial-gradient(circle, currentColor 0 1.5px, transparent 2px);
}

html body .aa-header .aa-my-chart:hover,
html body .aa-header .aa-my-chart[aria-current="page"] {
    border-color: #222222;
    background: #ffffff;
}

@media (min-width: 961px) {
    html body .aa-header .aa-my-chart {
        grid-area: 1 / 3 !important;
    }
}

@media (max-width: 960px) {
    html body .aa-header .aa-header-inner {
        grid-template-columns: 1fr auto auto !important;
        column-gap: 10px !important;
    }

    html body .aa-header .aa-my-chart {
        min-height: 44px;
        padding: 0 13px;
    }
}

@media (max-width: 420px) {
    html body .aa-header .aa-my-chart {
        padding: 0 11px;
        letter-spacing: .07em;
    }

    html body .aa-header .aa-my-chart::before {
        display: none;
    }
}

/* Too narrow for the label beside the brand and menu: keep the accessible name, show the mark only. */
@media (max-width: 364px) {
    html body .aa-header .aa-my-chart {
        width: 44px;
        padding: 0;
        justify-content: center;
        gap: 0;
        font-size: 0;
        letter-spacing: 0;
    }

    html body .aa-header .aa-my-chart::before {
        display: block;
        width: 16px;
        height: 16px;
        background: radial-gradient(circle, currentColor 0 2px, transparent 2.5px);
    }
}

@media print {
    html body .aa-header .aa-my-chart {
        display: none;
    }
}
