.internal-comm-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    max-width: 360px;
    background: var(--panel-bg, #ffffff);
    border: 1px solid var(--panel-border, rgba(0,0,0,0.12));
    border-radius: 10px;
    box-shadow: 0 8px 22px var(--panel-shadow, rgba(0,0,0,0.12));
    z-index: 99999;
    padding: 14px 16px;
    font-size: 14px;
}

.internal-comm-toast__title {
    font-weight: 700;
    margin-bottom: 6px;
    color: inherit;
}

.internal-comm-toast__body {
    color: inherit;
    line-height: 1.4;
}

.internal-comm-toast__actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.internal-comm-btn {
    border: 1px solid var(--btn-border, rgba(0,0,0,0.2));
    background: var(--btn-bg, #f5f5f5);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.internal-comm-btn--primary {
    background: var(--brand-primary, var(--theme-primary, #2b6cb0));
    border-color: var(--brand-primary, var(--theme-primary, #2b6cb0));
    color: #fff;
}

.internal-comm-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg, rgba(0,0,0,0.42));
    z-index: 99998;
    pointer-events: auto;
}

.internal-comm-modal {
    position: fixed;
    max-width: 420px;
    width: calc(100% - 32px);
    background: var(--panel-bg, #ffffff);
    border-radius: 12px;
    padding: 16px;
    z-index: 99999;
    box-shadow: 0 10px 26px var(--panel-shadow-strong, rgba(0,0,0,0.18));
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: auto;
}

.internal-comm-modal--ready {
    opacity: 1;
    transform: translateY(0);
}

.internal-comm-modal__counter {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 12px;
    color: rgba(0,0,0,0.55);
}

.internal-comm-modal__title {
    font-weight: 700;
    margin-bottom: 6px;
    color: inherit;
}

.internal-comm-modal__body {
    color: inherit;
    line-height: 1.45;
}

.internal-comm-modal__footer {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.internal-comm-highlight-box {
    position: fixed;
    z-index: 100000;
    border: 2px solid var(--brand-primary-soft, rgba(43,108,176,0.45));
    box-shadow: 0 0 0 4px var(--brand-primary-glow, rgba(43,108,176,0.12));
    border-radius: 8px;
    pointer-events: none;
    background: transparent;
}

@media (max-width: 520px) {
    .internal-comm-toast {
        left: 12px;
        right: 12px;
        max-width: none;
    }
}
