.ec-task-toolbox {
    position: fixed;
    z-index: 9997;
    display: inline-flex;
    width: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid rgba(119, 45, 13, 0.2);
    border-radius: 999px;
    background: linear-gradient(180deg, #c9531f 0%, #a93b12 100%);
    box-shadow: 0 12px 30px rgba(73, 31, 13, 0.28);
    color: #fff !important;
    font: 800 13px/1.1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.ec-task-toolbox span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ec-task-toolbox:hover,
.ec-task-toolbox:focus-visible {
    background: linear-gradient(180deg, #db622b 0%, #b64216 100%);
    box-shadow: 0 15px 34px rgba(73, 31, 13, 0.34);
    color: #fff !important;
    transform: translateY(-2px);
}

.ec-task-toolbox:focus-visible {
    outline: 3px solid rgba(255, 178, 117, 0.7);
    outline-offset: 3px;
}

.ec-task-toolbox svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    flex: 0 0 21px;
}

.ec-task-toolbox--public {
    right: 82px;
    bottom: 18px;
}

.ec-task-toolbox--admin {
    right: 82px;
    bottom: 18px;
}

.ec-task-toolbox--customadmin {
    right: 82px;
    bottom: 18px;
}

@media (max-width: 640px) {
    .ec-task-toolbox {
        width: 48px;
        min-height: 48px;
        padding: 0;
    }

    .ec-task-toolbox--public {
        right: 66px;
        bottom: max(10px, calc(10px + env(safe-area-inset-bottom)));
    }

    .ec-task-toolbox--admin {
        right: 66px;
        bottom: max(10px, calc(10px + env(safe-area-inset-bottom)));
    }

    .ec-task-toolbox--customadmin {
        right: 66px;
        bottom: max(10px, calc(10px + env(safe-area-inset-bottom)));
    }
}
