.im-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.im-upload__input {
    display: none;
}

.im-upload__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    background: #0f766e;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    width: fit-content;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
    box-shadow: 0 10px 24px rgba(15,118,110,.18);
}

    .im-upload__label:hover {
        background: #0b5e57;
        transform: translateY(-1px);
    }

.im-upload__meta {
    font-size: 14px;
    color: #6b7280;
}

.im-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    gap: 14px;
}

.im-gallery-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 10px;
    background: #fff;
}

    .im-gallery-card img {
        display: block;
        width: 100%;
        height: 130px;
        object-fit: cover;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
    }

.im-gallery-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 14px;
    color: #374151;
}

.im-dyn-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

@media (max-width: 768px) {
    .im-dyn-grid {
        grid-template-columns: 1fr;
    }
}
.im-dynamic-box {
    margin-top: 10px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f8fafc;
}

.im-dyn-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 768px) {
    .im-dyn-grid {
        grid-template-columns: 1fr;
    }
}