/* Weekly Report Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.4s ease;
    overflow: hidden;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.rui-comment-box {
    position: relative;
    overflow: hidden;
}

.rui-comment-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--rui-purple);
    border-radius: 4px;
}

.rui-icon {
    background-image: var(--rui-icon-url, url('rui_dot.png'));
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.tiny-btn {
    background: #f0f0f0;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.tiny-btn:hover:not(:disabled) {
    background: #e0e0e0;
    color: var(--rui-purple);
}

.tiny-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}