.szmh-highlight {
    background: #fff176;
    border-radius: 3px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    cursor: pointer;
    padding: 0 2px;
    transition: filter 0.15s ease;
}

.szmh-highlight:hover {
    filter: brightness(0.96);
}

.szmh-toolbar {
    align-items: center;
    background: #111827;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    display: none;
    gap: 6px;
    left: 0;
    padding: 7px;
    position: absolute;
    top: 0;
    z-index: 999999;
}

.szmh-toolbar.is-visible {
    display: flex;
}

.szmh-toolbar::after {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #111827;
    bottom: -7px;
    content: "";
    left: 18px;
    position: absolute;
}

.szmh-toolbar button {
    background: #ffffff;
    border: 0;
    border-radius: 6px;
    color: #111827;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 8px 10px;
    white-space: nowrap;
}

.szmh-toolbar button:hover {
    background: #f3f4f6;
}

.szmh-toolbar button[data-szmh-action="all-clear"] {
    background: #fee2e2;
    color: #991b1b;
}

.szmh-toolbar button[data-szmh-action="all-clear"]:hover {
    background: #fecaca;
}
