/* Fast4 Studio appearance control, shared by the portal and its standalone tools. */
html body button.f4-appearance-control {
    position: relative !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
}
html body button.f4-appearance-control::before {
    content: "";
    display: block !important;
    position: static !important;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    background: linear-gradient(90deg, transparent 50%, currentColor 50%);
    pointer-events: none;
}
html body button.f4-appearance-control > svg,
html body button.f4-appearance-control > span,
html body button.f4-appearance-control::after { display: none !important; }
@media (hover: hover) {
    html body button.f4-appearance-control:hover { color: #e87524 !important; }
}
html body button.f4-appearance-control:focus-visible,
html body summary.f4-account-trigger:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 2px !important;
}
html body details > summary.f4-account-trigger {
    min-height: 40px !important;
    min-width: 40px !important;
    max-width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
html body .f4-account-compact { display: none; }
@media (min-width: 851px) {
    html body summary.f4-account-trigger .portal-topbar__user-copy { display: grid !important; min-width: 0; }
    html body summary.f4-account-trigger .c-account-name { display: block !important; }
}
@media (max-width: 850px) {
    html body summary.f4-account-trigger .portal-topbar__user-copy,
    html body summary.f4-account-trigger .c-account-name { display: none !important; }
    html body summary.f4-account-trigger .f4-account-compact {
        display: inline !important;
        color: inherit;
        font-family: inherit;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 600;
    }
    html body details > summary.f4-account-trigger {
        padding-inline: 5px !important;
        width: auto !important;
    }
}
@media (forced-colors: active) {
    html body button.f4-appearance-control::before {
        forced-color-adjust: none;
        color: ButtonText;
        background: linear-gradient(90deg, ButtonFace 50%, ButtonText 50%);
    }
}
